@pi-archimedes/ask 1.3.0 → 1.3.2

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/index.ts +4 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-archimedes/ask",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "type": "module",
5
5
  "keywords": [
6
6
  "pi-package"
@@ -11,7 +11,7 @@
11
11
  ],
12
12
  "main": "./src/index.ts",
13
13
  "dependencies": {
14
- "@pi-archimedes/core": "1.3.0"
14
+ "@pi-archimedes/core": "1.3.2"
15
15
  },
16
16
  "peerDependencies": {
17
17
  "@earendil-works/pi-coding-agent": ">=0.1.0",
package/src/index.ts CHANGED
@@ -284,7 +284,10 @@ export function registerAsk(pi: ExtensionAPI) {
284
284
  parameters: AskParamsSchema,
285
285
 
286
286
  async execute(_toolCallId, params: AskParams, _signal, _onUpdate, ctx) {
287
- // Headless mode (subagent) — send question to parent via socket, await response on same socket
287
+ // DEPRECATED: Socket-based headless mode.
288
+ // The fork-based subagent child (child.ts) now uses an IPC ask tool (ipc-ask-tool.ts)
289
+ // that communicates directly via process.send()/process.on('message').
290
+ // This socket-based path is kept for backward compatibility during transition.
288
291
  if (!ctx.hasUI) {
289
292
  const requestId = randomUUID();
290
293
  const socketPath = process.env.PI_SUBAGENT_SOCKET;