Capture Current File as Issue/Note — from the editor context menu; includes the
current selection as a fenced code block and a relative-path source line.
New Private Note — quick note stored only in the service's SQLite (never pushed to GitHub).
Open in GitHub / Open Private Note — click any item.
Auto-refresh on an interval (issueCapture.refreshIntervalSeconds, default 300s).
Setup
Mint a token on the service (CT116):
cd issue-capture && npm run token create "my-laptop"
Copy the printed ic_… token — it is shown only once.
Point the extension at the service — set issueCapture.serviceUrl
(default http://192.168.86.116:8090; use your go.capture URL off-LAN).
Store the token — run Issue Capture: Set API Token and paste it.
It is kept in vscode.SecretStorage, never in settings.
Build / install locally
cd issue-capture/vscode-extension
npm install
npm run compile # tsc -> dist/
# then press F5 in VS Code to launch an Extension Development Host, or:
npx @vscode/vsce package # produces a .vsix you can Install from VSIX…
Auth model
The extension sends its token as Authorization: Bearer <token>. The service
validates the SHA-256 hash against its api_tokens table. The portal widget's
shared X-Capture-Secret also works as a master credential. Private-notes and
issue endpoints require auth; the repo list is readable without it on the LAN.