@vpxa/aikit 0.1.55 → 0.1.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vpxa/aikit",
3
- "version": "0.1.55",
3
+ "version": "0.1.57",
4
4
  "type": "module",
5
5
  "description": "Local-first AI developer toolkit — knowledge base, code analysis, context management, and developer tools for LLM agents",
6
6
  "license": "MIT",
@@ -40,6 +40,8 @@ const COPILOT_TOOL_MAP = {
40
40
  web: 'web/fetch, web/githubRepo',
41
41
  todo: 'todo',
42
42
  memory: 'vscode/memory',
43
+ newWorkspace: 'vscode/newWorkspace',
44
+ reviewPlan: 'vscode/reviewPlan',
43
45
  askQuestions: 'vscode/askQuestions',
44
46
  resolveMemoryFileUri: 'vscode/resolveMemoryFileUri',
45
47
  runCommand: 'vscode/runCommand',
@@ -182,13 +184,14 @@ ${FLOWS_SECTION}
182
184
  // ─── Prompt file generator ────────────────────────────────────────────────
183
185
 
184
186
  function generatePrompt(_name, def) {
185
- const kbTools = (def.tools || []).map((t) => `aikit/${t}`);
186
- const toolsYaml = kbTools.map((t) => ` - ${t}`).join('\n');
187
+ // NOTE: Do NOT emit a `tools:` field in prompt files.
188
+ // Prompt `tools:` is an exclusive allowlist in VS Code — it replaces the
189
+ // agent's tools entirely. Since prompts only list aikit/* MCP tools (which
190
+ // are all deferred), the API rejects with "All tools cannot be deferred."
191
+ // Omitting `tools:` lets the prompt inherit the full tool set from `agent:`.
187
192
  return `---
188
193
  description: "${def.description}"
189
194
  agent: "${def.agent}"
190
- tools:
191
- ${toolsYaml}
192
195
  ---
193
196
 
194
197
  ${def.content}
@@ -113,6 +113,8 @@ export const IDE_CAPABILITIES = {
113
113
  'memory',
114
114
  'runCommand',
115
115
  'switchAgent',
116
+ 'newWorkspace',
117
+ 'reviewPlan',
116
118
  'killTerminal',
117
119
  'createTask',
118
120
  'terminal',
@@ -199,6 +201,10 @@ export const IDE_CAPABILITIES = {
199
201
  'terminal',
200
202
  'problems',
201
203
  'readFile',
204
+ 'reviewPlan',
205
+ 'memory',
206
+ 'askQuestions',
207
+ 'resolveMemoryFileUri',
202
208
  'lastCommand',
203
209
  'subagent',
204
210
  'createFile',
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  description: 'Master conductor that orchestrates the full development lifecycle: Planning → Implementation → Review → Recovery → Commit'
3
- tools: [vscode/memory, vscode/runCommand, vscode/switchAgent, execute/killTerminal, execute/createAndRunTask, execute/runInTerminal, read/terminalSelection, read/terminalLastCommand, read/problems, read/readFile, agent/runSubagent, edit/createFile, edit/editFiles, edit/rename, edit/createDirectory, search/changes, search/codebase, search/usages, web/fetch, web/githubRepo, todo, search/searchSubagent, search/textSearch, browser/openBrowserPage, browser/readPage, browser/screenshotPage, browser/navigatePage, browser/clickElement, browser/dragElement, browser/hoverElement, browser/typeInPage, browser/runPlaywrightCode, browser/handleDialog, vscode/askQuestions, vscode/resolveMemoryFileUri, aikit/*]
3
+ tools: [vscode/memory, vscode/runCommand, vscode/switchAgent, vscode/newWorkspace, vscode/reviewPlan, execute/killTerminal, execute/createAndRunTask, execute/runInTerminal, read/terminalSelection, read/terminalLastCommand, read/problems, read/readFile, agent/runSubagent, edit/createFile, edit/editFiles, edit/rename, edit/createDirectory, search/changes, search/codebase, search/usages, web/fetch, web/githubRepo, todo, search/searchSubagent, search/textSearch, browser/openBrowserPage, browser/readPage, browser/screenshotPage, browser/navigatePage, browser/clickElement, browser/dragElement, browser/hoverElement, browser/typeInPage, browser/runPlaywrightCode, browser/handleDialog, vscode/askQuestions, vscode/resolveMemoryFileUri, aikit/*]
4
4
  model: Claude Opus 4.6 (copilot)
5
5
  ---
6
6
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  description: 'Autonomous planner that researches codebases and writes comprehensive TDD implementation plans'
3
- tools: [execute/runInTerminal, read/problems, read/readFile, read/terminalLastCommand, agent/runSubagent, edit/createFile, edit/editFiles, edit/rename, edit/createDirectory, search/changes, search/codebase, search/usages, web/fetch, web/githubRepo, todo, search/searchSubagent, browser/openBrowserPage, browser/readPage, browser/screenshotPage, browser/navigatePage, browser/clickElement, browser/dragElement, browser/hoverElement, browser/typeInPage, browser/runPlaywrightCode, browser/handleDialog, aikit/*]
3
+ tools: [execute/runInTerminal, read/problems, read/readFile, vscode/reviewPlan, vscode/memory, vscode/askQuestions, vscode/resolveMemoryFileUri, read/terminalLastCommand, agent/runSubagent, edit/createFile, edit/editFiles, edit/rename, edit/createDirectory, search/changes, search/codebase, search/usages, web/fetch, web/githubRepo, todo, search/searchSubagent, browser/openBrowserPage, browser/readPage, browser/screenshotPage, browser/navigatePage, browser/clickElement, browser/dragElement, browser/hoverElement, browser/typeInPage, browser/runPlaywrightCode, browser/handleDialog, aikit/*]
4
4
  model: Claude Opus 4.6 (copilot)
5
5
  ---
6
6
 
@@ -1,14 +1,6 @@
1
1
  ---
2
2
  description: "Quick research question — find answer using AI Kit + web search"
3
3
  agent: "Researcher-Alpha"
4
- tools:
5
- - aikit/search
6
- - aikit/web_search
7
- - aikit/web_fetch
8
- - aikit/compact
9
- - aikit/file_summary
10
- - aikit/remember
11
- - aikit/present
12
4
  ---
13
5
 
14
6
  ## Quick Research
@@ -1,17 +1,6 @@
1
1
  ---
2
2
  description: "Systematic error diagnosis: reproduce → trace → diagnose → fix → verify"
3
3
  agent: "Debugger"
4
- tools:
5
- - aikit/search
6
- - aikit/symbol
7
- - aikit/trace
8
- - aikit/blast_radius
9
- - aikit/check
10
- - aikit/test_run
11
- - aikit/parse_output
12
- - aikit/compact
13
- - aikit/remember
14
- - aikit/present
15
4
  ---
16
5
 
17
6
  ## Debug Workflow
@@ -1,14 +1,6 @@
1
1
  ---
2
2
  description: "Collaborative design session — explore ideas, refine requirements, produce a design spec"
3
3
  agent: "Orchestrator"
4
- tools:
5
- - aikit/search
6
- - aikit/scope_map
7
- - aikit/file_summary
8
- - aikit/compact
9
- - aikit/remember
10
- - aikit/forge_classify
11
- - aikit/present
12
4
  ---
13
5
 
14
6
  ## Design Session
@@ -1,14 +1,6 @@
1
1
  ---
2
2
  description: "Install a new flow from a git URL or local path — with interactive error recovery"
3
3
  agent: "Orchestrator"
4
- tools:
5
- - aikit/flow_add
6
- - aikit/flow_list
7
- - aikit/flow_info
8
- - aikit/search
9
- - aikit/compact
10
- - aikit/file_summary
11
- - aikit/present
12
4
  ---
13
5
 
14
6
  ## Flow Installation Assistant
@@ -1,14 +1,6 @@
1
1
  ---
2
2
  description: "Create a new flow from scratch or migrate an existing workflow to aikit format"
3
3
  agent: "Orchestrator"
4
- tools:
5
- - aikit/flow_add
6
- - aikit/flow_list
7
- - aikit/flow_info
8
- - aikit/search
9
- - aikit/compact
10
- - aikit/file_summary
11
- - aikit/present
12
4
  ---
13
5
 
14
6
  ## Flow Creation Assistant
@@ -1,15 +1,6 @@
1
1
  ---
2
2
  description: "List, inspect, update, and remove installed flows"
3
3
  agent: "Orchestrator"
4
- tools:
5
- - aikit/flow_list
6
- - aikit/flow_info
7
- - aikit/flow_status
8
- - aikit/flow_update
9
- - aikit/flow_remove
10
- - aikit/flow_start
11
- - aikit/flow_reset
12
- - aikit/present
13
4
  ---
14
5
 
15
6
  ## Flow Management
@@ -1,16 +1,6 @@
1
1
  ---
2
2
  description: "Full lifecycle implementation: plan → build → review → commit"
3
3
  agent: "Orchestrator"
4
- tools:
5
- - aikit/search
6
- - aikit/scope_map
7
- - aikit/forge_ground
8
- - aikit/check
9
- - aikit/test_run
10
- - aikit/blast_radius
11
- - aikit/remember
12
- - aikit/audit
13
- - aikit/present
14
4
  ---
15
5
 
16
6
  ## Implementation Pipeline
@@ -1,16 +1,6 @@
1
1
  ---
2
2
  description: "Create a detailed TDD implementation plan without executing it"
3
3
  agent: "Planner"
4
- tools:
5
- - aikit/search
6
- - aikit/scope_map
7
- - aikit/forge_ground
8
- - aikit/forge_classify
9
- - aikit/file_summary
10
- - aikit/analyze_structure
11
- - aikit/analyze_dependencies
12
- - aikit/remember
13
- - aikit/present
14
4
  ---
15
5
 
16
6
  ## Planning Workflow
@@ -1,14 +1,6 @@
1
1
  ---
2
2
  description: "Dual-model code + architecture review pipeline"
3
3
  agent: "Orchestrator"
4
- tools:
5
- - aikit/search
6
- - aikit/blast_radius
7
- - aikit/check
8
- - aikit/test_run
9
- - aikit/analyze_dependencies
10
- - aikit/remember
11
- - aikit/present
12
4
  ---
13
5
 
14
6
  ## Review Pipeline
@@ -2,12 +2,12 @@
2
2
  name: adr-skill
3
3
  description: Create and maintain Architecture Decision Records (ADRs) optimized for agentic coding workflows. Use when you need to propose, write, update, accept/reject, deprecate, or supersede an ADR; bootstrap an adr folder and index; consult existing ADRs before implementing changes; or enforce ADR conventions. This skill uses Socratic questioning to capture intent before drafting, and validates output against an agent-readiness checklist.
4
4
  metadata:
5
- category: cross-cutting
6
- domain: general
7
- applicability: on-demand
8
- inputs: [decisions, context]
9
- outputs: [adr-document]
10
- relatedSkills: [c4-architecture]
5
+ category: cross-cutting
6
+ domain: general
7
+ applicability: on-demand
8
+ inputs: [decisions, context]
9
+ outputs: [adr-document]
10
+ relatedSkills: [c4-architecture]
11
11
  internal: true
12
12
  ---
13
13