/**
 * Built-in markdown body templates for each canonical entity type.
 *
 * Shared between:
 *   - `src/core/schema-registry.ts` — server-side default-body lookup
 *   - `web/src/lib/components/layout/Sidebar.svelte` — New Entry picker
 *
 * Previously the Sidebar shipped its own copy of this map, which drifted
 * from the server version (e.g. `deck:` was briefly slides-renderer
 * markup on the frontend while the server had a renderer-agnostic
 * outline). Keeping one source avoids that trap.
 *
 * Pure data, no runtime deps — safe to import from the web bundle via
 * the `@core/entity-body-templates` alias.
 */
export const BUILTIN_BODY_TEMPLATES = {
    // CRM
    person: '## Bio\n\n## Notes\n\n',
    organization: '## Profile\n\n## Notes\n\n',
    position: '## Responsibilities\n\n## Requirements\n\n## Notes\n\n',
    deal: '## Opportunity\n\n## Scope\n\n## Notes\n\n',
    // PM
    project: '## Overview\n\n## Deliverables\n\n## Notes\n\n',
    event: '## Summary\n\n## Notes\n\n## Action Items\n\n',
    task: '## Description\n\n## Notes\n\n',
    deliverable: '## Overview\n\n## Scope\n\n## Notes\n\n',
    // KM — authored
    document: '## Overview\n\n## Details\n\n',
    deck: '## Outline\n\n## Slides\n\n## Speaker Notes\n\n',
    artifact: `{
  "schemaVersion": 1,
  "artifactId": "untitled-artifact",
  "title": "Untitled artifact",
  "kind": "custom",
  "viewport": { "width": 1440, "height": 900, "mode": "fixed" },
  "display": { "fullscreenFit": "contain", "background": "neutral" },
  "entrypoint": "index.html",
  "files": {
    "index.html": "",
    "styles.css": "html, body { margin: 0; background: transparent; }"
  }
}
`,
    publication: '## Content\n\n## Distribution\n\n## Notes\n\n',
    'case-study': '## Objective\n\n## Solution\n\n## Outcome\n\n## Team\n\n',
    service: '## Overview\n\n## Steps\n\n## Best Practices\n\n**Do:**\n-\n\n**Don\'t:**\n-\n\n## Notes\n\n',
    // skill: the body IS the prompt content the agent loads at runtime. The
    // four-section scaffold mirrors Anthropic's recommended SKILL.md shape
    // (when to trigger, how to run, hard constraints, reference material)
    // minus the redundant h1 (title lives in frontmatter name).
    skill: '## When to use\n- Trigger conditions\n- Scope boundaries\n\n## Workflow\n1. Step one\n2. Step two\n3. Step three\n\n## Rules\n- Hard requirements\n- Constraints\n- Anti-patterns\n\n## References\n- File paths\n- Examples\n- Templates\n',
    // Capture
    reference: '## Description\n\n## Notes\n\n',
    // dataset body is CSV, not markdown. Start a picker-created dataset with a
    // 3×3 grid (header row + three empty rows) so there's a usable shape to edit
    // immediately. The header row IS the column list — there's no separate
    // schema. The empty `,,` rows survive the grid's skipEmptyLines parse.
    dataset: 'Column 1,Column 2,Column 3\n,,\n,,\n,,\n',
};
/**
 * Look up the default body template for a canonical type.
 * Returns null when the type has no template (e.g. `note`).
 */
export function getBuiltinBodyTemplate(entityType) {
    return BUILTIN_BODY_TEMPLATES[entityType] ?? null;
}
//# sourceMappingURL=entity-body-templates.js.map