AgentContextKit v0.2.2
AgentContextKit v0.2.2 release. See highlights and detailed notes below.
Install / upgrade
npm install --global @cynrath/agent-context-kit@0.2.2
npx --yes @cynrath/agent-context-kit@0.2.2 --version[0.2.2] - 2026-08-27
VS Code Marketplace correctness hotfix — extension is now feature-complete and contract-tested.
Fixed
- VS Code tree views (
extensions/vscode/src/extension.ts,services/ackitWorkspace.ts): register realTreeDataProviderforackit.readiness,ackit.findings,ackit.graph,ackit.tasks,ackit.policy,ackit.optimize(previously no providers, manifest claimed 3 views). - Readiness tree (
ackit.readiness): realscoreRepositoryinputs, overall + 6 categories, deductions/evidence, N/A handling, tooltip, refresh on change, loading/error/empty states. - Findings tree + Problems (
ackit.findings): realscanRepositoryfindings, severity grouping, correctvscode.DiagnosticSeveritymapping (critical/high→Error, medium→Warning, low→Information), safevscode.Uri.joinPath+isInsideRoot, invalid line/col clamped, repository-level findings skipped, atomicDiagnosticCollectionrefresh, click to open file. - Instruction Graph (
ackit.graph+ACKit: Instructions for Current File): usesbuildInstructionGraph+resolveEffectiveStackwith active editor, workspace folder check, ordered effective stack, provenance, provider/scope, conflicts/shadowing. - Optimize (
ACKit: Optimize): realanalyzeOptimizevia SDK (exposed asanalyzeOptimizewithAbortSignal, typed errors, noprocess.exit), QuickPick with severity/priority, token-waste, evidence, remediation, preview diff, dry-run fencing. - Diagnostics (
ACKit: Diagnostics): realloadAckitConfig+TaskStore+ policy summary as JSON (config health, tasks, policy), no node-count placeholder, no auto-upload. - Watch (
onDidCreate+onDidChange+onDidDelete): one debounced 400ms coalesced refresh, ignores.git/node_modules/dist/.ackit,AbortControllercancels in-flight, lazysetTimeout(refreshAll, 800)avoids blockingonStartupFinished. - Multi-root (
getRoots,getRootForActiveEditor): usesworkspace.getWorkspaceFolder(activeEditor)else first root, per-root snapshots,onDidChangeWorkspaceFoldersrefresh, tests coverworkspaceFolders?.[0]anti-pattern. - Test harness (
extensions/vscode/src/test/runTest.ts,src/test/suite/*,tsconfig.test.json): replaces brokenout/test/runTest.js, unit tests for tree/severity/path/multi-root/debounce/error, Electron integration via@vscode/test-electron(11 checks: activate, activity container, readiness, findings, Problems, current-file, graph, optimize, diagnostics, refresh create/change/delete, no crash). - Offline-egress (
scripts/check-offline-egress.mjsnow includesextensions/vscode/src/**, rejectsfetchremote,httpclient, telemetry, remote fonts). - Icon (
extensions/vscode/images/icon.png): replaced 68-byte 1×1 placeholder with 256×256 PNG (26KB, square, transparent background, crisp), contract testtests/contract/vscode-icon.test.ts(width==height==256, >1KB). - Marketplace README (
extensions/vscode/README.md): rewritten to match implemented UI (Readiness, Findings/Problems, Graph, current-file, Optimize, Diagnostics, Tasks/Policy, offline guarantee, version 0.2.2, links, no false claims). - CI (
.github/workflows/ci.yml): new dedicatedextensionjob (Ubuntu, xvfb) — manifest contract, typecheck, lint, build, unit, Electron,vsce ls,vsce package --no-dependencies, VSIX audit (<2MB), icon dimensions, offline-egress.
Changed
- SDK (
src/index.ts): expose minimal stableanalyzeOptimize(AnalyzeOptionswithsignal?: AbortSignal,AbortError<200ms, typed errors, noprocess.exit) for VS Code;tests/contract/api-surfaceallowlist updated. - Extension manifest (
extensions/vscode/package.json):version 0.2.1 → 0.2.2,displayNameremainsACKit Toolkit, addackit.tasks/ackit.policy/ackit.optimizeviews, addackit.showReadiness/ackit.openFinding/ackit.instructionsForCurrentFilecommands,activationEvents: onStartupFinishedretained with debounced lazy refresh.
Security
- No new network calls in extension or SDK; offline-first preserved, VS Code host networking is host behavior.
Distribution
- npm: @cynrath/agent-context-kit@0.2.2
- Node >= 22
- npm/npx distribution via OIDC Trusted Publishing + provenance
- legacy .NET/NuGet line unchanged