viepilot 2.22.0 → 2.23.0

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/CHANGELOG.md CHANGED
@@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [2.23.0] - 2026-04-18
11
+
12
+ ### Added
13
+ - **ENH-059**: AskUserQuestion ToolSearch preload — all vp-* skills and workflow files on Claude Code adapter now instruct the model to call `ToolSearch { query: "select:AskUserQuestion" }` before the first interactive prompt, preventing deferred-tool fallback to text menus
14
+ - 5 SKILL.md files updated: `vp-request`, `vp-evolve`, `vp-auto`, `vp-brainstorm`, `vp-crystallize`
15
+ - 3 workflow files updated: `workflows/request.md`, `workflows/evolve.md`, `workflows/autonomous.md`
16
+ - `vp-auto/SKILL.md` now has a full AUQ adapter compatibility section
17
+
18
+ ## [2.22.1] - 2026-04-18
19
+
20
+ ### Fixed
21
+ - **BUG-015**: `copilot` adapter missing from `bin/viepilot.cjs` CLI — `TARGETS` array and `printHelp()` text now include `copilot`; `viepilot --list-targets` shows GitHub Copilot; `viepilot install --target copilot` no longer fails with "Unknown target"
22
+
10
23
  ## [2.22.0] - 2026-04-18
11
24
 
12
25
  ### Added
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  **Autonomous Vibe Coding Framework / Bộ khung phát triển tự động có kiểm soát**
4
4
 
5
- [![Version](https://img.shields.io/badge/version-2.22.0-blue.svg)](CHANGELOG.md)
5
+ [![Version](https://img.shields.io/badge/version-2.23.0-blue.svg)](CHANGELOG.md)
6
6
  [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
7
7
  [![Skills](https://img.shields.io/badge/skills-17-purple.svg)](#skills-reference)
8
8
  [![Workflows](https://img.shields.io/badge/workflows-13-orange.svg)](#workflows)
package/bin/viepilot.cjs CHANGED
@@ -23,6 +23,7 @@ const TARGETS = [
23
23
  { id: 'cursor-ide', label: 'Cursor IDE' },
24
24
  { id: 'antigravity', label: adapterMap['antigravity'].name },
25
25
  { id: 'codex', label: adapterMap['codex'].name },
26
+ { id: 'copilot', label: adapterMap['copilot'].name },
26
27
  ];
27
28
 
28
29
  function printHelp() {
@@ -36,14 +37,14 @@ Usage:
36
37
  viepilot --list-targets
37
38
 
38
39
  Install options:
39
- --target <id|id,id|all> Target profile(s): claude-code (mirrors vp-* to ~/.claude/skills), cursor-agent, cursor-ide, antigravity, codex
40
+ --target <id|id,id|all> Target profile(s): claude-code, cursor-agent, cursor-ide, antigravity, codex, copilot
40
41
  --yes Non-interactive mode (skip confirmations)
41
42
  --dry-run Print actions only (Node installer; no bash)
42
43
  --list-targets Print supported targets and exit
43
44
  --help Show help
44
45
 
45
46
  Uninstall options:
46
- --target <id|id,id|all> Remove assets (claude-code: ~/.claude/skills/vp-*; cursor-*: ~/.cursor/skills/vp-*; antigravity: ~/.antigravity/skills/vp-*; codex: ~/.codex/skills/vp-*)
47
+ --target <id|id,id|all> Remove assets (claude-code: ~/.claude/skills/vp-*; cursor-*: ~/.cursor/skills/vp-*; antigravity: ~/.antigravity/skills/vp-*; codex: ~/.codex/skills/vp-*; copilot: ~/.config/gh-copilot/skills/vp-*)
47
48
  --yes Non-interactive mode (skip confirmations)
48
49
  --dry-run Print actions only, do not remove files
49
50
  `);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "viepilot",
3
- "version": "2.22.0",
3
+ "version": "2.23.0",
4
4
  "description": "**Autonomous Vibe Coding Framework / Bộ khung phát triển tự động có kiểm soát**",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -242,6 +242,22 @@ At any control point, offer:
242
242
  Display progress summary on stop.
243
243
  </process>
244
244
 
245
+ ## Adapter Compatibility
246
+
247
+ ### AskUserQuestion Tool (ENH-059)
248
+ Control-point prompts use `AskUserQuestion` on Claude Code (terminal).
249
+
250
+ | Adapter | Interactive Prompts | Notes |
251
+ |---------|---------------------|-------|
252
+ | Claude Code (terminal) | ✅ `AskUserQuestion` — **REQUIRED** at control points | Preload schema via ToolSearch first |
253
+ | Cursor / Codex / Copilot / Antigravity | ❌ Text fallback | Plain numbered list |
254
+
255
+ **Claude Code (terminal) — AUQ preload required (ENH-059):**
256
+ Before the first interactive prompt, call `ToolSearch` with `query: "select:AskUserQuestion"` to load the deferred tool schema. Only after `ToolSearch` succeeds can `AskUserQuestion` be invoked. If `ToolSearch` returns an error, fall back to plain-text numbered list for that session.
257
+
258
+ **Prompts using AskUserQuestion in this skill:**
259
+ - Control point decisions (retry / skip / rollback / stop — Step 7)
260
+
245
261
  <success_criteria>
246
262
  - [ ] Phases executed in dependency order
247
263
  - [ ] Tasks tracked with git tags
@@ -135,7 +135,10 @@ This skill uses adapter-aware interactive prompts. Behavior depends on your adap
135
135
  | Antigravity (native agent) | ❌ Text fallback | Artifact model, no raw tool calls |
136
136
  | GitHub Copilot | ✅ `/skill-name` in Chat | Via `.agent.md` custom agent; AUQ not available — text fallback |
137
137
 
138
- When `AskUserQuestion` is not available, the skill automatically falls back to
138
+ **Claude Code (terminal) AUQ preload required (ENH-059):**
139
+ Before the first interactive prompt, call `ToolSearch` with `query: "select:AskUserQuestion"` to load the deferred tool schema. Only after `ToolSearch` succeeds can `AskUserQuestion` be invoked. If `ToolSearch` returns an error, fall back to plain-text numbered list for that session.
140
+
141
+ When `AskUserQuestion` is not available on other adapters, the skill automatically falls back to
139
142
  plain-text numbered list prompts — no configuration required.
140
143
 
141
144
  **Prompts using AskUserQuestion in this skill:**
@@ -291,7 +291,10 @@ This skill uses adapter-aware interactive prompts. Behavior depends on your adap
291
291
  | Antigravity (native agent) | ❌ Text fallback | Artifact model, no raw tool calls |
292
292
  | GitHub Copilot | ✅ `/skill-name` in Chat | Via `.agent.md` custom agent; AUQ not available — text fallback |
293
293
 
294
- When `AskUserQuestion` is not available, the skill automatically falls back to
294
+ **Claude Code (terminal) AUQ preload required (ENH-059):**
295
+ Before the first interactive prompt, call `ToolSearch` with `query: "select:AskUserQuestion"` to load the deferred tool schema. Only after `ToolSearch` succeeds can `AskUserQuestion` be invoked. If `ToolSearch` returns an error, fall back to plain-text numbered list for that session.
296
+
297
+ When `AskUserQuestion` is not available on other adapters, the skill automatically falls back to
295
298
  plain-text numbered list prompts — no configuration required.
296
299
 
297
300
  **Prompts using AskUserQuestion in this skill:**
@@ -204,7 +204,8 @@ Next action: /vp-auto --from {new_phase}
204
204
  | Antigravity (native agent) | ❌ Text fallback | Artifact model, no raw tool calls |
205
205
  | GitHub Copilot | ✅ `/skill-name` in Chat | Via `.agent.md` custom agent; AUQ not available — text fallback |
206
206
 
207
- **Claude Code (terminal):** Always call `AskUserQuestion` first. Only fall back to the plain-text menu if the tool returns an error or is unavailable.
207
+ **Claude Code (terminal) AUQ preload required (ENH-059):**
208
+ Before the first interactive prompt, call `ToolSearch` with `query: "select:AskUserQuestion"` to load the deferred tool schema. Only after `ToolSearch` succeeds can `AskUserQuestion` be invoked. If `ToolSearch` returns an error, fall back to plain-text numbered list for that session.
208
209
 
209
210
  **Prompts using AskUserQuestion in this skill:**
210
211
  - Evolve mode selection (Step 2 — Add Feature / New Milestone / Refactor)
@@ -293,7 +293,10 @@ This skill uses adapter-aware interactive prompts. Behavior depends on your adap
293
293
  | Antigravity (native agent) | ❌ Text fallback | Artifact model, no raw tool calls |
294
294
  | GitHub Copilot | ✅ `/skill-name` in Chat | Via `.agent.md` custom agent; AUQ not available — text fallback |
295
295
 
296
- When `AskUserQuestion` is not available, the skill automatically falls back to
296
+ **Claude Code (terminal) AUQ preload required (ENH-059):**
297
+ Before the first interactive prompt, call `ToolSearch` with `query: "select:AskUserQuestion"` to load the deferred tool schema. Only after `ToolSearch` succeeds can `AskUserQuestion` be invoked. If `ToolSearch` returns an error, fall back to plain-text numbered list for that session.
298
+
299
+ When `AskUserQuestion` is not available on other adapters, the skill automatically falls back to
297
300
  plain-text numbered list prompts — no configuration required.
298
301
 
299
302
  **Prompts using AskUserQuestion in this skill:**
@@ -39,6 +39,8 @@ See `agents/` directory for full agent specifications.
39
39
 
40
40
  <process>
41
41
 
42
+ > **AUQ preload — Claude Code adapter (ENH-059):** At session start, before any interactive prompt, call `ToolSearch` with `query: "select:AskUserQuestion"` to load the deferred schema. Required on Claude Code (terminal). Skip only if `ToolSearch` returns an error → use text fallback for that session.
43
+
42
44
  <step name="initialize">
43
45
  ## 1. Initialize
44
46
 
@@ -26,6 +26,8 @@ Upgrade or expand the project: add features, start a new milestone, or refactor.
26
26
 
27
27
  <process>
28
28
 
29
+ > **AUQ preload — Claude Code adapter (ENH-059):** At session start, before any interactive prompt, call `ToolSearch` with `query: "select:AskUserQuestion"` to load the deferred schema. Required on Claude Code (terminal). Skip only if `ToolSearch` returns an error → use text fallback for that session.
30
+
29
31
  <step name="detect_state">
30
32
  ## 1. Detect Current State
31
33
 
@@ -26,6 +26,8 @@ Create and manage project requests: bugs, features, enhancements, tech debt, and
26
26
 
27
27
  <process>
28
28
 
29
+ > **AUQ preload — Claude Code adapter (ENH-059):** At session start, before any interactive prompt, call `ToolSearch` with `query: "select:AskUserQuestion"` to load the deferred schema. Required on Claude Code (terminal). Skip only if `ToolSearch` returns an error → use text fallback for that session.
30
+
29
31
  <step name="init">
30
32
  ## 1. Initialize
31
33