- Build a proposal-ready yet extensible VS Code extension POC for an AI desktop application workflow.
- Keep the implementation runnable in standard VS Code while assuming API-level compatibility with a future VSCodium fork.
- Repository shape uses a lightweight
npm workspacesmonorepo. - Primary demo scenario is a Markdown workbench rendered through
CustomTextEditorProvider. - Demo balances visual presentation with implementation quality rather than being mock-only.
- Data source combines Markdown frontmatter with a same-name sidecar YAML file.
- No real LLM calls, Electron shell customization, or fork-specific patches are included in this POC.
- Git commit messages should use Conventional Commits.
- Root repo contains
AGENTS.md,spec.md,README.md,package.json,tsconfig.base.json, and VS Code launch/tasks settings. - Extension package lives in
extensions/markdown-workbench. - Demo content lives in
demo-workspace. - Core extension pieces include:
- typed constants and message contracts
- Markdown frontmatter parser
- sidecar YAML parser/loader
- payload builder for webview rendering
- command routing for mock actions
- custom document surface provider
- metadata side view provider
project-brief.mdcan be reopened withAI Desktop Surface.- The surface renders a hero block, tags, Markdown body, metadata cards, action buttons, and related document links.
- Actions currently support copy-to-clipboard, mock notification, and open-related-document flows.
fallback-only.mddemonstrates the no-sidecar fallback path.- Metadata side panel updates from the active document payload.
npm installnpm run compilenpm run lintnpm run testnpm run package:vsix
- VSIX output path:
extensions/markdown-workbench/markdown-workbench-0.1.0.vsix - Git repository has been initialized locally.
- Extension manifest does not yet define a real
repositoryfield. - No
LICENSEfile has been chosen yet. - No integration with other extensions or true YAML write-back has been implemented.