For production type safety, see Type safety in the SDK Reference. That page documents
npx agentmark generate-types, which produces AgentmarkTypes from your prompt schemas and feeds into createAgentMarkClient<AgentmarkTypes>(). That’s the pipeline AgentMark actually uses at runtime.This page is a supplement for editor-level hints on raw .mdx files opened outside an AgentMark project (e.g. via the vscode-mdx extension). TemplateDX itself does not evaluate TypeScript types — comments are stripped at bundle time per bundler.ts:150.Editor setup for standalone .mdx files
If you’re editing .mdx files outside an AgentMark project and want props autocomplete from your editor, add JSDoc @typedef comments:
hello.mdx
Custom filters and tags (editor-level)
To get autocomplete for custom filters and tags you’ve registered, create atypes/global.d.ts: