Share Markdown for human + agent review, right from your editor. Publish a
local .md to Draftmark, then read and answer reviewer
comments as native VS Code comment threads — without leaving your editor. Runs
in VS Code and its forks (Cursor, Windsurf, VSCodium).
Built on the @draftmark-app/client
API client.
- Share Current File → creates a Draftmark doc, writes a
.draftmark.jsonmapping (shared with thedmCLI), and shows a status-bar indicator. - Publish Update → pushes local edits as a new version (no-ops if unchanged).
- Inline comments → reviewer comments render as VS Code comment threads on their anchored lines. Reply, resolve, dismiss, and reopen in place; agent authors get a 🤖 badge.
- Anchor-drift reconciliation → when the file diverges from the reviewed version, comments re-anchor by a unique snippet match; anything ambiguous goes to a Detached Comments panel instead of onto a wrong line.
- Polling + notifications → optional background polling toasts you about new comments and reviews across your shared docs.
- A Draftmark account API key (
acct_…). Get one viadm loginor your account settings, then run Draftmark: Sign In (stored in VS Code SecretStorage).
| Command | What it does |
|---|---|
Draftmark: Sign In / Sign Out |
Store / clear your account API key |
Draftmark: Share Current File |
Publish the active .md to Draftmark |
Draftmark: Publish Update |
Push local changes as a new version |
Draftmark: Open in Browser |
Open the shared doc |
Draftmark: Show Comments / Refresh Comments |
Reload reviewer comments |
draftmark.baseUrl— API base (defaulthttps://draftmark.app/api/v1).draftmark.pollIntervalSeconds— poll cadence for new activity (default60,0disables; minimum effective interval 15s).
npm install
npm run build # esbuild → dist/extension.js
npm run watch # rebuild on change
npm run typecheck # tsc --noEmitPress F5 ("Run Extension") to launch an Extension Development Host.
Publishing to the Marketplace requires a publisher; the manifest currently uses a
draftmarkplaceholder.
MIT © Rumbo Labs