@fyeeme/pi-ask-user 2.0.2 → 2.0.3

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
@@ -2,6 +2,13 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [2.0.3] - 2026-10-01
6
+
7
+ ### Changed
8
+
9
+ - The `ask` tool now registers with pi 0.99 `exposure: "model-only"`: declared to the model, unreachable from codemode scripts and nested tool execution. No `outputSchema` is declared — model-only tools have no programmatic consumer of structured results. Model-facing dialog behavior is unchanged.
10
+ - Peer dependency floor raised to `@earendil-works/pi-coding-agent >= 0.99.0`; dev toolchain pinned to 0.99.2.
11
+
5
12
  ## [2.0.2] - 2026-09-09
6
13
 
7
14
  ### Fixed
package/index.ts CHANGED
@@ -200,6 +200,10 @@ export default function ompAskExtension(pi: ExtensionAPI): void {
200
200
  name: "ask",
201
201
  label: "Ask",
202
202
  description: ASK_DESCRIPTION,
203
+ // pi 0.99: model-only — declared to the model, unreachable from codemode
204
+ // scripts / nested tool execution (spec: ask-user-exposure). No
205
+ // outputSchema: model-only tools have no programmatic consumer.
206
+ exposure: "model-only",
203
207
  promptSnippet: "Ask the user a clarifying question",
204
208
  promptGuidelines: [
205
209
  "Use ask only after exhausting repo conventions, configs, and docs; reserve it for decisions whose options have materially different tradeoffs.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fyeeme/pi-ask-user",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "oh-my-pi's `ask` tool migrated to a pi extension — tabbed multi-question dialog with a Submit review page, inactivity countdown, RPC degradation, and headless hiding.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -46,13 +46,13 @@
46
46
  "typecheck": "tsc"
47
47
  },
48
48
  "peerDependencies": {
49
- "@earendil-works/pi-coding-agent": ">=0.84.1",
50
- "@earendil-works/pi-tui": ">=0.84.1",
49
+ "@earendil-works/pi-coding-agent": ">=0.99.0",
50
+ "@earendil-works/pi-tui": ">=0.99.0",
51
51
  "typebox": ">=1.0.0"
52
52
  },
53
53
  "devDependencies": {
54
- "@earendil-works/pi-coding-agent": "0.84.1",
55
- "@earendil-works/pi-tui": "0.84.1",
54
+ "@earendil-works/pi-coding-agent": "0.99.2",
55
+ "@earendil-works/pi-tui": "0.99.2",
56
56
  "@types/node": "22.19.19",
57
57
  "typebox": "1.1.38",
58
58
  "typescript": "5.9.3",