@juanbenjumea/pi-agy 0.7.6 → 0.7.8

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.
@@ -0,0 +1,558 @@
1
+ import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
2
+ import { Type } from "@sinclair/typebox";
3
+ import { stat } from "node:fs/promises";
4
+ import * as path from "node:path";
5
+
6
+ import {
7
+ checkAgyUsage,
8
+ findAgyQuotaEntries,
9
+ formatAgyUsage,
10
+ inspectAgyAgents,
11
+ isAgyQuotaExhausted,
12
+ normalizeAgyAgentName,
13
+ resolveAgyModelAlias,
14
+ resolveAgyModelId,
15
+ type AgyModel,
16
+ } from "./lib/cli.js";
17
+ import {
18
+ buildAgyContextFromEntries,
19
+ effectiveResumeContextMode,
20
+ type AgyContextMode,
21
+ } from "./lib/context.js";
22
+ import { describePreRunDirt } from "./lib/postflight.js";
23
+ import { buildAcceptEditsConfirm } from "./lib/confirm.js";
24
+ import { DEFAULT_TIMEOUT_MS, MAX_TIMEOUT_MS } from "./lib/command-args.js";
25
+ import {
26
+ executeAgyTask,
27
+ validateAgyExecutionOptions,
28
+ type AgyMode,
29
+ } from "./lib/execute.js";
30
+ import { describeWhen, truncate } from "./lib/output.js";
31
+ import { BackgroundTaskRunner, summarizeTaskPrompt } from "./lib/background.js";
32
+ import { renderAgyCall, renderAgyResult } from "./lib/render.js";
33
+ import { getHistory, getSession } from "./lib/sessions.js";
34
+
35
+ async function resolveToolDir(cwd: string, dir?: string): Promise<string> {
36
+ const resolved = dir ? path.resolve(cwd, dir) : cwd;
37
+ if (dir) {
38
+ try {
39
+ const info = await stat(resolved);
40
+ if (!info.isDirectory()) throw new Error(`Working directory is not a directory: ${resolved}`);
41
+ } catch (error) {
42
+ if ((error as NodeJS.ErrnoException).code === "ENOENT") {
43
+ throw new Error(`Working directory does not exist: ${resolved}`);
44
+ }
45
+ throw error;
46
+ }
47
+ }
48
+ return resolved;
49
+ }
50
+
51
+ export function resolveAgyMode(mode?: AgyMode): AgyMode {
52
+ return mode ?? "accept-edits";
53
+ }
54
+
55
+ const backgroundRunner = new BackgroundTaskRunner();
56
+
57
+ export function getBackgroundRunner(): BackgroundTaskRunner {
58
+ return backgroundRunner;
59
+ }
60
+
61
+ export function registerAgyTools(pi: ExtensionAPI): void {
62
+ pi.registerTool({
63
+ name: "agy_execute",
64
+ label: "Antigravity CLI",
65
+ description:
66
+ "Run a task through the Antigravity CLI (agy) only when the user explicitly asks to use agy.",
67
+ promptSnippet: "Use only when the user explicitly requests agy delegation",
68
+ promptGuidelines: [
69
+ "Call agy_execute only when the user explicitly asks to use agy; never delegate autonomously based on perceived benefit.",
70
+ "Use flash-medium by default; choose flash-low for trivial work and higher-cost models only when the task warrants them or the user requests them.",
71
+ "Keep context=none unless prior discussion is needed; prefer digest output and continue only genuinely unfinished work.",
72
+ "Use background=true only for long runs, then collect or cancel the task; select custom agents only when requested.",
73
+ "After edits, inspect the diff and run the project check. Never delegate irreversible production changes.",
74
+ ],
75
+ parameters: Type.Object({
76
+ prompt: Type.String({
77
+ description: "The task instruction for agy.",
78
+ minLength: 1,
79
+ }),
80
+ model: Type.Optional(
81
+ Type.Union(
82
+ [
83
+ Type.Literal("flash-low"),
84
+ Type.Literal("flash-medium"),
85
+ Type.Literal("flash-high"),
86
+ Type.Literal("pro-low"),
87
+ Type.Literal("pro-high"),
88
+ Type.Literal("sonnet"),
89
+ Type.Literal("opus"),
90
+ Type.Literal("gpt-oss"),
91
+ ],
92
+ { description: "Model alias. Defaults to 'flash-medium'.", default: "flash-medium" },
93
+ ),
94
+ ),
95
+ effort: Type.Optional(
96
+ Type.Union([Type.Literal("low"), Type.Literal("medium"), Type.Literal("high")], {
97
+ description:
98
+ "Reasoning effort passed to agy (--effort). Optional; mostly useful for sonnet/opus/gpt-oss since Gemini aliases encode effort in the model id.",
99
+ }),
100
+ ),
101
+ agent: Type.Optional(
102
+ Type.String({
103
+ description: "Configured custom agy agent name. Use agy_agents to discover names.",
104
+ minLength: 1,
105
+ maxLength: 128,
106
+ }),
107
+ ),
108
+ tier: Type.Optional(
109
+ Type.Union(
110
+ [Type.Literal("flash"), Type.Literal("flash-lo"), Type.Literal("pro")],
111
+ { description: "Legacy Gemini tier. Ignored when model is set." },
112
+ ),
113
+ ),
114
+ mode: Type.Optional(
115
+ Type.Union(
116
+ [Type.Literal("accept-edits"), Type.Literal("plan"), Type.Literal("sandbox")],
117
+ { description: "'accept-edits' (default), 'plan', or 'sandbox'.", default: "accept-edits" },
118
+ ),
119
+ ),
120
+ dir: Type.Optional(
121
+ Type.String({
122
+ description: "Working directory. Defaults to current project root.",
123
+ }),
124
+ ),
125
+ digest: Type.Optional(
126
+ Type.Boolean({
127
+ description:
128
+ "Request compact digests instead of full output. Defaults on for plan/sandbox and off for accept-edits.",
129
+ }),
130
+ ),
131
+ context: Type.Optional(
132
+ Type.Union(
133
+ [Type.Literal("none"), Type.Literal("summary"), Type.Literal("recent")],
134
+ {
135
+ description:
136
+ "Optional bounded Pi conversation handoff. Defaults to none; excludes system prompts, thinking, tool arguments, tool results, images, and custom messages.",
137
+ default: "none",
138
+ },
139
+ ),
140
+ ),
141
+ timeout_ms: Type.Optional(
142
+ Type.Number({
143
+ description: "Timeout in milliseconds (default 300000 = 5m, max 600000).",
144
+ minimum: 1000,
145
+ maximum: MAX_TIMEOUT_MS,
146
+ }),
147
+ ),
148
+ conversation_id: Type.Optional(
149
+ Type.String({
150
+ description: "Resume a previous agy conversation by ID.",
151
+ }),
152
+ ),
153
+ continue: Type.Optional(
154
+ Type.Boolean({
155
+ description: "Continue the most recent agy conversation for this workspace.",
156
+ }),
157
+ ),
158
+ new_session: Type.Optional(
159
+ Type.Boolean({
160
+ description:
161
+ "Force a fresh agy conversation (default when no conversation_id/continue). Explicit false resumes the last recorded conversation for the directory.",
162
+ }),
163
+ ),
164
+ stream: Type.Optional(
165
+ Type.Boolean({
166
+ description: "Stream agy progress via stream-json (default true).",
167
+ default: true,
168
+ }),
169
+ ),
170
+ background: Type.Optional(
171
+ Type.Boolean({
172
+ description:
173
+ "Return immediately with a task handle instead of waiting; poll with agy_tasks status and collect the result. The run keeps its timeout_ms deadline; cancel via agy_tasks.",
174
+ default: false,
175
+ }),
176
+ ),
177
+ }),
178
+
179
+ async execute(_toolCallId, params, signal, onUpdate, ctx) {
180
+ const cwd = params.dir ? path.resolve(ctx.cwd, params.dir) : ctx.cwd;
181
+ const abortSignal = signal ?? new AbortController().signal;
182
+ const timeoutMs = Math.min(params.timeout_ms ?? DEFAULT_TIMEOUT_MS, MAX_TIMEOUT_MS);
183
+ const mode = resolveAgyMode(params.mode);
184
+ const model = params.model as AgyModel | undefined;
185
+ const contextMode = (params.context ?? "none") as AgyContextMode;
186
+ let agent = normalizeAgyAgentName(params.agent);
187
+ if (!agent && params.conversation_id) {
188
+ agent = (await getHistory(cwd)).find(
189
+ (entry) => entry.conversation_id === params.conversation_id,
190
+ )?.agent;
191
+ } else if (!agent && (params.continue || params.new_session === false)) {
192
+ const storedAgent = (await getSession(cwd))?.last_agent;
193
+ try {
194
+ agent = normalizeAgyAgentName(storedAgent);
195
+ } catch {
196
+ // Ignore malformed legacy session metadata.
197
+ }
198
+ }
199
+ const isResume = Boolean(
200
+ params.conversation_id || params.continue || params.new_session === false,
201
+ );
202
+ const effectiveContextMode = effectiveResumeContextMode(contextMode, isResume);
203
+ const contextText =
204
+ effectiveContextMode === "none"
205
+ ? undefined
206
+ : buildAgyContextFromEntries(
207
+ ctx.sessionManager.buildContextEntries(),
208
+ effectiveContextMode,
209
+ );
210
+ const executionOptions = {
211
+ prompt: params.prompt,
212
+ model,
213
+ tier: params.tier,
214
+ effort: params.effort,
215
+ agent,
216
+ mode,
217
+ dir: cwd,
218
+ digest: params.digest,
219
+ timeout_ms: timeoutMs,
220
+ conversation_id: params.conversation_id,
221
+ continue: params.continue,
222
+ new_session: params.new_session,
223
+ stream: params.stream ?? true,
224
+ context: effectiveContextMode,
225
+ context_text: contextText,
226
+ };
227
+ validateAgyExecutionOptions(executionOptions);
228
+
229
+ if (mode === "accept-edits") {
230
+ if (!ctx.hasUI) {
231
+ throw new Error("accept-edits requires interactive confirmation");
232
+ }
233
+ const requestedModel = resolveAgyModelAlias(model, params.tier);
234
+ const modelLabel = requestedModel
235
+ ? `${requestedModel} (${resolveAgyModelId(model, params.tier)})`
236
+ : "configured default (fallback flash-medium)";
237
+ const dirt = await describePreRunDirt(cwd, abortSignal).catch(() => null);
238
+ const { title, body } = buildAcceptEditsConfirm({
239
+ modelLabel,
240
+ agent,
241
+ cwd,
242
+ prompt: params.prompt,
243
+ contextMode: effectiveContextMode,
244
+ contextText,
245
+ dirt,
246
+ });
247
+ const approved = await ctx.ui.confirm(title, body);
248
+ if (!approved) throw new Error("agy accept-edits cancelled by user");
249
+ }
250
+
251
+ if (params.background) {
252
+ const runner = getBackgroundRunner();
253
+ const handle = runner.start({
254
+ dir: cwd,
255
+ summary: summarizeTaskPrompt(params.prompt),
256
+ model,
257
+ agent,
258
+ timeoutMs,
259
+ run: ({ onProgress, signal }) =>
260
+ executeAgyTask(executionOptions, signal, (progress) => onProgress(progress)).then(
261
+ (result) => ({
262
+ text: result.text,
263
+ conversationId: result.details.conversation_id,
264
+ details: result.details,
265
+ }),
266
+ ),
267
+ });
268
+ return {
269
+ content: [
270
+ {
271
+ type: "text",
272
+ text:
273
+ `started background task ${handle} (${mode}, ${model ?? "default model"}, timeout ${Math.round(timeoutMs / 1000)}s). ` +
274
+ `Poll with agy_tasks status, collect the result with agy_tasks collect.`,
275
+ },
276
+ ],
277
+ details: { handle, mode, model, dir: cwd, timeout_ms: timeoutMs },
278
+ };
279
+ }
280
+
281
+ const result = await executeAgyTask(
282
+ executionOptions,
283
+ abortSignal,
284
+ (progress) => {
285
+ onUpdate?.({ content: [{ type: "text", text: progress }], details: {} });
286
+ },
287
+ );
288
+
289
+ return {
290
+ content: [{ type: "text", text: truncate(result.text || "(empty response)") }],
291
+ details: result.details,
292
+ };
293
+ },
294
+
295
+ renderCall(args, theme) {
296
+ return renderAgyCall(args, theme);
297
+ },
298
+
299
+ renderResult(result, options, theme, context) {
300
+ return renderAgyResult(result, options, theme, context);
301
+ },
302
+ });
303
+
304
+ pi.registerTool({
305
+ name: "agy_agents",
306
+ label: "Antigravity Agents",
307
+ description:
308
+ "List configured custom agy agents without spending a model turn. Use the returned name as agy_execute agent.",
309
+ promptSnippet: "Discover configured custom agy agents before selecting one",
310
+ parameters: Type.Object({
311
+ dir: Type.Optional(
312
+ Type.String({
313
+ description: "Working directory used for the agy CLI check. Defaults to current project root.",
314
+ }),
315
+ ),
316
+ }),
317
+
318
+ async execute(_toolCallId, params, signal, _onUpdate, ctx) {
319
+ const cwd = await resolveToolDir(ctx.cwd, params.dir);
320
+ const agents = await inspectAgyAgents(cwd, signal);
321
+ const text = agents.length
322
+ ? `configured agy agents:\n${agents.map((agent) => `- ${agent}`).join("\n")}`
323
+ : "No custom agy agents are configured.";
324
+ return {
325
+ content: [{ type: "text", text }],
326
+ details: { cwd, agents },
327
+ };
328
+ },
329
+ });
330
+
331
+ pi.registerTool({
332
+ name: "agy_history",
333
+ label: "Antigravity Conversations",
334
+ description:
335
+ "List recorded agy conversations for a working directory (most recent first) with ids, models, ages, and task summaries — find a conversation_id to resume with agy_execute. Read-only; no model turn is spent.",
336
+ promptSnippet: "List recorded agy conversations before resuming one",
337
+ parameters: Type.Object({
338
+ dir: Type.Optional(
339
+ Type.String({
340
+ description: "Working directory. Defaults to current project root.",
341
+ }),
342
+ ),
343
+ limit: Type.Optional(
344
+ Type.Number({
345
+ description: "Maximum conversations to list (default 10).",
346
+ minimum: 1,
347
+ maximum: 10,
348
+ default: 10,
349
+ }),
350
+ ),
351
+ }),
352
+
353
+ async execute(_toolCallId, params, _signal, _onUpdate, ctx) {
354
+ const cwd = params.dir ? path.resolve(ctx.cwd, params.dir) : ctx.cwd;
355
+ const history = await getHistory(cwd);
356
+ const limited = history.slice(0, params.limit ?? 10);
357
+ if (limited.length === 0) {
358
+ return {
359
+ content: [{
360
+ type: "text",
361
+ text: `No agy conversations are recorded for ${cwd} yet. They are recorded automatically when agy_execute completes or is interrupted with a conversation id.`,
362
+ }],
363
+ details: { dir: cwd, conversations: [] },
364
+ };
365
+ }
366
+ const lines = limited.map((entry, index) => {
367
+ const model = entry.model ?? "unknown model";
368
+ const agent = entry.agent ? ` · agent ${entry.agent}` : "";
369
+ const summary = entry.summary ? ` · ${entry.summary}` : "";
370
+ return `${index + 1}. ${entry.conversation_id} · ${model}${agent} · ${describeWhen(entry.updated_at)}${summary}`;
371
+ });
372
+ const text =
373
+ `agy conversations for ${cwd} (most recent first):\n${lines.join("\n")}\n\n` +
374
+ "Resume with agy_execute conversation_id=<id>, or continue=true for the most recent; recorded agents are restored automatically.";
375
+ return {
376
+ content: [{ type: "text", text }],
377
+ details: { dir: cwd, conversations: limited },
378
+ };
379
+ },
380
+ });
381
+
382
+ pi.registerTool({
383
+ name: "agy_tasks",
384
+ label: "Antigravity Background Tasks",
385
+ description:
386
+ "List, poll, collect, or cancel background agy tasks started with agy_execute background=true. Collecting returns the terminal result and frees the record.",
387
+ promptSnippet: "Poll background agy tasks and collect finished results",
388
+ parameters: Type.Object({
389
+ action: Type.Union(
390
+ [
391
+ Type.Literal("list"),
392
+ Type.Literal("status"),
393
+ Type.Literal("collect"),
394
+ Type.Literal("cancel"),
395
+ ],
396
+ { description: "Task action (default list).", default: "list" },
397
+ ),
398
+ handle: Type.Optional(
399
+ Type.String({
400
+ description: "Task handle from agy_execute (required for status, collect, cancel).",
401
+ }),
402
+ ),
403
+ dir: Type.Optional(
404
+ Type.String({
405
+ description: "Filter listed tasks to a working directory. Defaults to current project root.",
406
+ }),
407
+ ),
408
+ }),
409
+
410
+ async execute(_toolCallId, params, _signal, _onUpdate, ctx) {
411
+ const runner = getBackgroundRunner();
412
+ const action = params.action ?? "list";
413
+ // List/status carry summaries only: full response text and execution
414
+ // details stay behind collect, so polling never bloats the transcript.
415
+ const summarize = (task: {
416
+ handle: string; dir: string; summary: string; model?: string; agent?: string;
417
+ state: string; startedAt: number; updatedAt: number; progress: string[];
418
+ error?: string; conversationId?: string;
419
+ }) => ({
420
+ handle: task.handle,
421
+ dir: task.dir,
422
+ summary: task.summary,
423
+ model: task.model,
424
+ agent: task.agent,
425
+ state: task.state,
426
+ startedAt: task.startedAt,
427
+ updatedAt: task.updatedAt,
428
+ progressTail: task.progress.slice(-3),
429
+ error: task.error,
430
+ conversationId: task.conversationId,
431
+ });
432
+ if (action === "list") {
433
+ const cwd = await resolveToolDir(ctx.cwd, params.dir);
434
+ const tasks = runner.list(cwd);
435
+ if (tasks.length === 0) {
436
+ return {
437
+ content: [{ type: "text", text: `No background agy tasks for ${cwd}.` }],
438
+ details: { dir: cwd, tasks: [] },
439
+ };
440
+ }
441
+ const lines = tasks.map((task) => {
442
+ const age = describeWhen(new Date(task.startedAt).toISOString());
443
+ const latest = task.state === "running" && task.progress.length > 0
444
+ ? ` · latest: ${task.progress[task.progress.length - 1]}`
445
+ : "";
446
+ return `${task.handle} · ${task.state}${task.model ? ` · ${task.model}` : ""} · ${age} · ${task.summary}${latest}`;
447
+ });
448
+ return {
449
+ content: [{ type: "text", text: `background agy tasks for ${cwd}:\n${lines.join("\n")}` }],
450
+ details: { dir: cwd, tasks: tasks.map(summarize) },
451
+ };
452
+ }
453
+ if (!params.handle) throw new Error(`agy_tasks ${action} requires a handle`);
454
+ if (action === "status") {
455
+ const task = runner.get(params.handle);
456
+ if (!task) throw new Error(`unknown background task '${params.handle}'`);
457
+ const elapsed = `${Math.round((Date.now() - task.startedAt) / 1000)}s`;
458
+ const progress = task.progress.length ? `\nrecent progress:\n${task.progress.slice(-5).join("\n")}` : "";
459
+ const outcome = task.state === "running"
460
+ ? ""
461
+ : task.state === "done"
462
+ ? `\nresult: ${truncate(task.text ?? "(empty response)")}`
463
+ : `\n${task.state}${task.error ? `: ${task.error}` : ""}`;
464
+ const conversation = task.conversationId ? `\nconversation: ${task.conversationId}` : "";
465
+ return {
466
+ content: [{
467
+ type: "text",
468
+ text: `${task.handle} · ${task.state} · elapsed ${elapsed} · ${task.summary}${progress}${outcome}${conversation}`,
469
+ }],
470
+ details: { task: summarize(task) },
471
+ };
472
+ }
473
+ if (action === "collect") {
474
+ const task = runner.collect(params.handle);
475
+ const body = task.state === "done"
476
+ ? truncate(task.text ?? "(empty response)")
477
+ : `${task.state}${task.error ? `: ${task.error}` : ""}`;
478
+ const conversation = task.conversationId ? `\nconversation: ${task.conversationId}` : "";
479
+ return {
480
+ content: [{ type: "text", text: `${task.handle} · ${task.state}\n${body}${conversation}` }],
481
+ details: { task },
482
+ };
483
+ }
484
+ const cancelled = runner.cancel(params.handle);
485
+ if (!cancelled) {
486
+ const task = runner.get(params.handle);
487
+ if (!task) throw new Error(`unknown background task '${params.handle}'`);
488
+ return {
489
+ content: [{ type: "text", text: `${task.handle} is already ${task.state}; nothing to cancel.` }],
490
+ details: { task },
491
+ };
492
+ }
493
+ return {
494
+ content: [{ type: "text", text: `${params.handle} cancellation requested; poll status for settlement.` }],
495
+ details: { handle: params.handle, cancelled: true },
496
+ };
497
+ },
498
+ });
499
+
500
+ pi.registerTool({
501
+ name: "agy_usage",
502
+ label: "Antigravity Quota",
503
+ description:
504
+ "Read the current model-specific Antigravity quota and reset information without spending a model turn.",
505
+ promptSnippet: "Inspect Antigravity model quotas before choosing a model",
506
+ parameters: Type.Object({
507
+ model: Type.Optional(
508
+ Type.Union(
509
+ [
510
+ Type.Literal("flash-low"),
511
+ Type.Literal("flash-medium"),
512
+ Type.Literal("flash-high"),
513
+ Type.Literal("pro-low"),
514
+ Type.Literal("pro-high"),
515
+ Type.Literal("sonnet"),
516
+ Type.Literal("opus"),
517
+ Type.Literal("gpt-oss"),
518
+ ],
519
+ { description: "Optional model alias to place first in the report." },
520
+ ),
521
+ ),
522
+ dir: Type.Optional(
523
+ Type.String({
524
+ description: "Working directory used for the agy CLI check. Defaults to current project root.",
525
+ }),
526
+ ),
527
+ }),
528
+
529
+ async execute(_toolCallId, params, signal, _onUpdate, ctx) {
530
+ const cwd = await resolveToolDir(ctx.cwd, params.dir);
531
+ const quota = await checkAgyUsage(cwd, signal);
532
+ const selectedModel = params.model ? resolveAgyModelId(params.model) : undefined;
533
+ const selectedEntries = selectedModel ? findAgyQuotaEntries(quota, selectedModel) : [];
534
+ const quotaStatus = selectedModel
535
+ ? selectedEntries.length === 0
536
+ ? "unknown"
537
+ : selectedEntries.some((entry) => isAgyQuotaExhausted(entry))
538
+ ? "exhausted"
539
+ : "available"
540
+ : undefined;
541
+ const quotaReport =
542
+ formatAgyUsage(quota, selectedModel) ??
543
+ "agy quota information is unavailable in this CLI version or account configuration";
544
+ const report = quotaStatus
545
+ ? `selected model ${selectedModel}: ${quotaStatus}\n\n${quotaReport}`
546
+ : quotaReport;
547
+ return {
548
+ content: [{ type: "text", text: report }],
549
+ details: {
550
+ cwd,
551
+ selected_model: selectedModel,
552
+ quota_status: quotaStatus,
553
+ quota,
554
+ },
555
+ };
556
+ },
557
+ });
558
+ }
package/package.json CHANGED
@@ -1,18 +1,22 @@
1
1
  {
2
2
  "name": "@juanbenjumea/pi-agy",
3
- "version": "0.7.6",
4
- "description": "Reliable Antigravity delegation for Pi — quota-aware runs, resumable tasks, repo verification, cancellation, and trustworthy diff summaries.",
3
+ "version": "0.7.8",
4
+ "description": "Antigravity (agy) provider and delegation for Pi — /model picker, background tasks, loopback MCP tool bridge, quota awareness, and repo verification.",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "author": "Juan Benjumea",
8
8
  "keywords": [
9
9
  "pi-package",
10
10
  "pi-extension",
11
+ "pi-provider",
11
12
  "pi-skill",
12
13
  "agy",
13
14
  "antigravity",
14
15
  "gemini",
16
+ "claude",
15
17
  "google-ai",
18
+ "mcp",
19
+ "mcp-server",
16
20
  "cli"
17
21
  ],
18
22
  "repository": {
@@ -51,9 +55,9 @@
51
55
  "@sinclair/typebox": "*"
52
56
  },
53
57
  "devDependencies": {
54
- "@earendil-works/pi-ai": "^0.86.1",
55
- "@earendil-works/pi-coding-agent": "^0.86.1",
56
- "@earendil-works/pi-tui": "^0.86.1",
58
+ "@earendil-works/pi-ai": "^0.87.1",
59
+ "@earendil-works/pi-coding-agent": "^0.87.1",
60
+ "@earendil-works/pi-tui": "^0.87.1",
57
61
  "@sinclair/typebox": "^0.34.41",
58
62
  "@types/node": "^22.20.4",
59
63
  "typescript": "^5.0.0"