pi-ext bugabingas pi extensions
owned by bugabinga
README Source History Refs Compare Notes Search fix: migrate to Pi 0.87.0 1076a6e0b0ed53c0174895d8aa72afb0bcb35b4b
Oliver Jan Krylow <oliver@bugabinga.net > · 21 Sep 2026
SSH signature · not checked
Browse files Compare with HEAD
Bump all earendil Pi packages to 0.87.0.
Emit test turn boundaries through emitBoundary with the new required
entry IDs, drop the stale os-notifier agent_settled cast, wrap
emitBoundary in the sandbox harness, map older compaction entries to
zero context messages in decay retention accounting, and keep fixture
images unprocessed in the masks image test.
Changed files (8) extensions/angel/__tests__/harness.test.ts Modified 1 1 import { createRequire }
from "node:module" ;
2 2 import { pathToFileURL }
from "node:url" ;
3 3 import { stripVTControlCharacters }
from "node:util" ;
4 - import { fauxAssistantMessage, fauxToolCall }
from "@earendil-works/pi-ai" ;
5 - import { convertToLlm, initTheme }
from "@earendil-works/pi-coding-agent" ;
5 + type AssistantMessage,
6 + fauxAssistantMessage,
8 + type ToolResultMessage,
9 + }
from "@earendil-works/pi-ai" ;
11 + type BoundaryContextPreview,
13 + type ExtensionRunner,
15 + }
from "@earendil-works/pi-coding-agent" ;
6 16 import type { KeybindingsManager }
from "@earendil-works/pi-tui" ;
84 + const BOUNDARY_CONTEXT
: BoundaryContextPreview = {
86 + contextMessages: [],
88 + pendingMessages: [],
92 + function emitTurnEnd (
93 + runner
: ExtensionRunner ,
96 + message
: AssistantMessage ;
97 + toolResults
: ToolResultMessage [];
100 + return runner.
emitBoundary (
104 + messageEntryId:
`message-${ event .turnIndex}` ,
105 + toolResultEntryIds:
event .toolResults.
map (
106 + (_, index)
=> `tool-result-${ event .turnIndex}-${index}` ,
108 + outcome:
"completed" ,
110 + ()
=> BOUNDARY_CONTEXT,
74 114 function theme () {
76 116 fg : (_style
: string , text
: string )
=> text,
390 430 extensionFactories : [
createAngelExtension (deps)],
392 432 const runner
= testSession.session.extensionRunner;
393 - await runner.
emit ({
433 + await emitTurnEnd (runner, {
394 434 type:
"turn_end" ,
396 436 message:
assistantCall (
"bash" ,
"private-first" , { command:
"check" }),
397 437 toolResults: [
toolResult (
"bash" ,
"private-first" )],
399 - await runner.
emit ({
439 + await emitTurnEnd (runner, {
400 440 type:
"turn_end" ,
402 442 message:
fauxAssistantMessage ([
434 474 for (
let index
= 0 ; index
< 6 ; index
++ ) {
435 475 const firstA
= `${index}-first-a` ;
436 476 const firstB
= `${index}-first-b` ;
437 - await runner.
emit ({
477 + await emitTurnEnd (runner, {
438 478 type:
"turn_end" ,
439 479 turnIndex: index
* 2 ,
440 480 message:
fauxAssistantMessage ([
450 490 const repeatA
= `${index}-repeat-a` ;
451 491 const repeatB
= `${index}-repeat-b` ;
452 - await runner.
emit ({
492 + await emitTurnEnd (runner, {
453 493 type:
"turn_end" ,
454 494 turnIndex: index
* 2 + 1 ,
455 495 message:
fauxAssistantMessage ([
496 536 extensionFactories : [
createAngelExtension (deps)],
498 538 const runner
= testSession.session.extensionRunner;
499 - await runner.
emit ({
539 + await emitTurnEnd (runner, {
500 540 type:
"turn_end" ,
502 542 message:
fauxAssistantMessage ([
510 550 toolResult (
"angel" ,
"angel-error" ),
513 - await runner.
emit ({
553 + await emitTurnEnd (runner, {
514 554 type:
"turn_end" ,
516 556 message:
assistantCall (
"bash" ,
"cancel-again" , { command:
"long task" }),
537 577 for (
const toolName
of [
"read" ,
"edit" ,
"write" ,
"grep" ,
"find" ,
"ls" ]) {
538 578 const arguments_
= { target:
`same-${toolName}` };
539 - await runner.
emit ({
579 + await emitTurnEnd (runner, {
540 580 type:
"turn_end" ,
542 582 message:
assistantCall (toolName,
`${toolName}-first` , arguments_),
543 583 toolResults: [
toolResult (toolName,
`${toolName}-first` )],
545 - await runner.
emit ({
585 + await emitTurnEnd (runner, {
546 586 type:
"turn_end" ,
548 588 message:
assistantCall (toolName,
`${toolName}-repeat` , arguments_),
575 615 const runner
= testSession.session.extensionRunner;
576 - await runner.
emit ({
616 + await emitTurnEnd (runner, {
577 617 type:
"turn_end" ,
579 619 message:
assistantCall (
"read" ,
"override-first" , { target:
"same" }),
580 620 toolResults: [
toolResult (
"read" ,
"override-first" )],
582 - await runner.
emit ({
622 + await emitTurnEnd (runner, {
583 623 type:
"turn_end" ,
585 625 message:
assistantCall (
"read" ,
"override-repeat" , { target:
"same" }),
611 651 const runner
= testSession.session.extensionRunner;
613 - await runner.
emit ({
653 + await emitTurnEnd (runner, {
614 654 type:
"turn_end" ,
616 656 message:
assistantCall (
"opaque_tool" ,
"opaque-first" , {
622 662 expect (deps.runConsultation).not.
toHaveBeenCalled ();
624 - await runner.
emit ({
664 + await emitTurnEnd (runner, {
625 665 type:
"turn_end" ,
627 667 message:
assistantCall (
"opaque_tool" ,
"opaque-repeat" , {
698 738 isError : boolean,
740 + emitTurnEnd (runner, {
701 741 type:
"turn_end" ,
703 743 message:
assistantCall (
"bash" , id, { command }),
773 + emitTurnEnd (runner, {
734 774 type:
"turn_end" ,
736 776 message:
assistantCall (
"bash" , id, { command }),
751 791 extensionFactories : [
createAngelExtension (deps)],
753 793 const runner
= testSession.session.extensionRunner;
754 - await runner.
emit ({
794 + await emitTurnEnd (runner, {
755 795 type:
"turn_end" ,
757 797 message:
assistantCall (
"bash" ,
"first" , { command:
"check" }),
758 798 toolResults: [
toolResult (
"bash" ,
"first" )],
760 - await runner.
emit ({
800 + await emitTurnEnd (runner, {
761 801 type:
"turn_end" ,
763 803 message:
fauxAssistantMessage ([
772 812 expect (deps.runConsultation).not.
toHaveBeenCalled ();
773 - await runner.
emit ({
813 + await emitTurnEnd (runner, {
774 814 type:
"turn_end" ,
776 816 message:
assistantCall (
"bash" ,
"new-first" , { command:
"check" }),
777 817 toolResults: [
toolResult (
"bash" ,
"new-first" )],
779 819 expect (deps.runConsultation).not.
toHaveBeenCalled ();
780 - await runner.
emit ({
820 + await emitTurnEnd (runner, {
781 821 type:
"turn_end" ,
783 823 message:
assistantCall (
"bash" ,
"new-repeat" , { command:
"check" }),
792 832 extensionFactories : [
createAngelExtension (deps)],
794 834 const runner
= testSession.session.extensionRunner;
795 - await runner.
emit ({
835 + await emitTurnEnd (runner, {
796 836 type:
"turn_end" ,
798 838 message:
assistantCall (
"bash" ,
"old-task" , { command:
"check" }),
803 843 text :
"A different task" ,
804 844 source :
"interactive" ,
806 - await runner.
emit ({
846 + await emitTurnEnd (runner, {
807 847 type:
"turn_end" ,
809 849 message:
assistantCall (
"bash" ,
"new-task" , { command:
"check" }),
892 932 text :
"Replace the old task" ,
893 933 source :
"interactive" ,
895 - await runner.
emit ({
935 + await emitTurnEnd (runner, {
896 936 type:
"turn_end" ,
898 938 message:
assistantCall (
"bash" ,
"stale" , { command:
"check" }),
899 939 toolResults: [
toolResult (
"bash" ,
"stale" )],
901 - await runner.
emit ({
941 + await emitTurnEnd (runner, {
902 942 type:
"turn_end" ,
904 944 message:
assistantCall (
"bash" ,
"current" , { command:
"check" }),
916 956 const runner
= testSession.session.extensionRunner;
917 957 for (
let turnIndex
= 0 ; turnIndex
< 2 ; turnIndex
++ ) {
918 - await runner.
emit ({
958 + await emitTurnEnd (runner, {
919 959 type:
"turn_end" ,
921 961 message:
fauxAssistantMessage (
"no structured call" ),
935 975 const runner
= testSession.session.extensionRunner;
936 976 for (
let turnIndex
= 0 ; turnIndex
< 2 ; turnIndex
++ ) {
937 977 const id
= `unavailable-${turnIndex}` ;
938 - await runner.
emit ({
978 + await emitTurnEnd (runner, {
939 979 type:
"turn_end" ,
941 981 message:
assistantCall (
"bash" , id, { command:
"check" }),
959 999 extensionFactories : [
createAngelExtension (deps)],
961 1001 const runner
= testSession.session.extensionRunner;
962 - await runner.
emit ({
1002 + await emitTurnEnd (runner, {
963 1003 type:
"turn_end" ,
965 1005 message:
fauxAssistantMessage ([
1008 1048 mode :
"print" as const ,
1011 - await runner.
emit ({
1051 + await emitTurnEnd (runner, {
1012 1052 type:
"turn_end" ,
1014 1054 message:
assistantCall (
"bash" ,
"before-toggle" , { command:
"check" }),
1017 1057 await command?.
handler (
"off" , context);
1018 1058 await command?.
handler (
"on" , context);
1019 - await runner.
emit ({
1059 + await emitTurnEnd (runner, {
1020 1060 type:
"turn_end" ,
1022 1062 message:
assistantCall (
"bash" ,
"after-toggle" , { command:
"check" }),
1023 1063 toolResults: [
toolResult (
"bash" ,
"after-toggle" )],
1025 1065 expect (deps.runConsultation).not.
toHaveBeenCalled ();
1026 - await runner.
emit ({
1066 + await emitTurnEnd (runner, {
1027 1067 type:
"turn_end" ,
1029 1069 message:
assistantCall (
"bash" ,
"after-toggle-repeat" , {
1115 1155 extensionFactories : [
createAngelExtension (deps)],
1117 1157 const runner
= testSession.session.extensionRunner;
1118 - await runner.
emit ({
1158 + await emitTurnEnd (runner, {
1119 1159 type:
"turn_end" ,
1121 1161 message:
assistantCall (
"bash" ,
"disable-first" , { command:
"check" }),
1122 1162 toolResults: [
toolResult (
"bash" ,
"disable-first" )],
1124 - const pending
= runner.
emit ({
1164 + const pending
= emitTurnEnd (runner, {
1125 1165 type:
"turn_end" ,
1127 1167 message:
assistantCall (
"bash" ,
"disable-repeat" , { command:
"check" }),
1157 1197 extensionFactories : [
createAngelExtension (deps)],
1159 1199 const runner
= testSession.session.extensionRunner;
1160 - await runner.
emit ({
1200 + await emitTurnEnd (runner, {
1161 1201 type:
"turn_end" ,
1163 1203 message:
assistantCall (
"bash" ,
"cancel-first" , { command:
"check" }),
1164 1204 toolResults: [
toolResult (
"bash" ,
"cancel-first" )],
1166 - await runner.
emit ({
1206 + await emitTurnEnd (runner, {
1167 1207 type:
"turn_end" ,
1169 1209 message:
assistantCall (
"bash" ,
"cancel-repeat" , { command:
"check" }),
1196 1236 finishAuth
= resolve;
1199 - await runner.
emit ({
1239 + await emitTurnEnd (runner, {
1200 1240 type:
"turn_end" ,
1202 1242 message:
assistantCall (
"bash" ,
"failed-first" , { command:
"check" }),
1203 1243 toolResults: [
toolResult (
"bash" ,
"failed-first" )],
1205 - const pending
= runner.
emit ({
1245 + const pending
= emitTurnEnd (runner, {
1206 1246 type:
"turn_end" ,
1208 1248 message:
assistantCall (
"bash" ,
"failed-repeat" , { command:
"check" }),
1230 1270 extensionFactories : [
createAngelExtension (deps)],
1232 1272 const runner
= testSession.session.extensionRunner;
1233 - await runner.
emit ({
1273 + await emitTurnEnd (runner, {
1234 1274 type:
"turn_end" ,
1236 1276 message:
assistantCall (
"bash" ,
"failed-first" , { command:
"check" }),
1237 1277 toolResults: [
toolResult (
"bash" ,
"failed-first" )],
1239 - const pending
= runner.
emit ({
1279 + const pending
= emitTurnEnd (runner, {
1240 1280 type:
"turn_end" ,
1242 1282 message:
assistantCall (
"bash" ,
"failed-repeat" , { command:
"check" }),
1272 1312 extensionFactories : [
createAngelExtension (deps)],
1274 1314 const runner
= testSession.session.extensionRunner;
1275 - await runner.
emit ({
1315 + await emitTurnEnd (runner, {
1276 1316 type:
"turn_end" ,
1278 1318 message:
assistantCall (
"bash" ,
"failed-first" , { command:
"check" }),
1279 1319 toolResults: [
toolResult (
"bash" ,
"failed-first" )],
1281 - const pending
= runner.
emit ({
1321 + const pending
= emitTurnEnd (runner, {
1282 1322 type:
"turn_end" ,
1284 1324 message:
assistantCall (
"bash" ,
"failed-repeat" , { command:
"check" }),
extensions/decay/__tests__/retention.test.ts Modified 123 123 return event .branchEntries
125 - .
flatMap (sessionEntryToContextMessages);
125 + .
flatMap ((entry)
=> 126 + entry.
type === "compaction" ? []
: sessionEntryToContextMessages (entry),
128 130 function settleAndCompare (
212 214 expect (result.suffix).
toEqual ([newest]);
215 - it (
"includes an older compaction summary when the later boundary precedes it" ,
async ()
=> {
217 + it (
"drops an older compaction summary when the later boundary precedes it" ,
async ()
=> {
216 218 const manager
= SessionManager.
inMemory ();
217 219 for (
let index
= 1 ; index
<= 4 ; index
++ )
218 220 manager.
appendMessage (
user (
8_000 ,
`turn-${index}` ));
235 237 const result
= settleAndCompare (manager, secondEvent);
237 239 result.suffix.
some ((message)
=> message.role
=== "compactionSummary" ),
241 - it (
"moves a repeated-compaction boundary across the previous checkpoint" ,
async ()
=> {
243 + it (
"cuts before a repeated-compaction checkpoint and drops the older summary" ,
async ()
=> {
242 244 const manager
= SessionManager.
inMemory ();
243 245 for (
let index
= 1 ; index
<= 4 ; index
++ )
244 246 manager.
appendMessage (
user (
8_000 ,
`turn-${index}` ));
257 259 const olderCompactionIndex
= secondEvent.branchEntries.
findIndex (
258 260 (entry)
=> entry.
type === "compaction" ,
260 - expect (boundaryIndex).
toBeGreaterThan (olderCompactionIndex);
262 + expect (boundaryIndex).
toBeLessThan (olderCompactionIndex);
262 264 const result
= settleAndCompare (manager, secondEvent);
263 265 expect (result.estimated).
toBe (
24_000 );
extensions/decay/core.ts Modified 332 332 (entry)
=> entry.
id === event .preparation.firstKeptEntryId,
334 334 if (boundaryIndex
< 0 )
return undefined ;
335 - return event .branchEntries
336 - .
slice (boundaryIndex)
337 - .
flatMap (sessionEntryToContextMessages)
338 - .
reduce ((total, message)
=> total
+ estimateTokens (message),
0 );
336 + event .branchEntries
337 + .
slice (boundaryIndex)
340 + .
flatMap ((entry)
=> 341 + entry.
type === "compaction" ? []
: sessionEntryToContextMessages (entry),
343 + .
reduce ((total, message)
=> total
+ estimateTokens (message),
0 )
341 347 export function findPreviousDecayDetails (
extensions/masks/__tests__/harness.test.ts Modified 65 65 context ().modelRegistry.
find (
"openai" , name).reasoning
= true ;
67 67 t.session.settingsManager.
setRetryEnabled (
false );
69 + t.session.settingsManager.
setImageAutoResize (
false );
68 70 const requests
: Request []
= [];
69 71 t.session.agent.
streamFn = async (model
: any , ctx
: any , options
: any )
=> {
965 967 mimeType:
"image/png" ,
966 - data:
"fixture-image" ,
968 + data:
"Zml4dHVyZS1pbWFnZQ==" ,
968 970 const requests
= await queuedSession (
async (_request, index)
=> {
969 971 if (index
=== 0 ) {
extensions/os-notifier/index.ts Modified 510 510 awaitingInput
= false ;
514 - const onAgentSettled
= pi.on
as unknown as (
515 - event
: "agent_settled" ,
516 - handler : (event
: unknown , ctx
: ExtensionContext )
=> Promise <
void >
| void ,
518 - onAgentSettled (
"agent_settled" ,
async (_event, ctx)
=> {
513 + pi.
on (
"agent_settled" ,
async (_event, ctx)
=> {
519 514 const shouldNotify
= eligibility.
settle ();
520 515 if (shouldNotify
&& lastAgentEnd
&& ! focus.
isFocused ()) {
521 516 const notification
= agentDoneNotification (lastAgentEnd, {
package-lock.json Modified 13 13 "devDependencies" : {
14 - "@earendil-works/pi-agent-core" :
"0.86.0" ,
15 - "@earendil-works/pi-ai" :
"0.86.0" ,
16 - "@earendil-works/pi-client" :
"0.86.0" ,
17 - "@earendil-works/pi-coding-agent" :
"0.86.0" ,
18 - "@earendil-works/pi-protocol" :
"0.86.0" ,
19 - "@earendil-works/pi-server" :
"0.86.0" ,
20 - "@earendil-works/pi-telemetry" :
"0.86.0" ,
21 - "@earendil-works/pi-tui" :
"0.86.0" ,
14 + "@earendil-works/pi-agent-core" :
"0.87.0" ,
15 + "@earendil-works/pi-ai" :
"0.87.0" ,
16 + "@earendil-works/pi-client" :
"0.87.0" ,
17 + "@earendil-works/pi-coding-agent" :
"0.87.0" ,
18 + "@earendil-works/pi-protocol" :
"0.87.0" ,
19 + "@earendil-works/pi-server" :
"0.87.0" ,
20 + "@earendil-works/pi-telemetry" :
"0.87.0" ,
21 + "@earendil-works/pi-tui" :
"0.87.0" ,
22 22 "@playwright/test" :
"^1.61.0" ,
23 23 "@vitest/coverage-istanbul" :
"^4.1.11" ,
24 24 "typescript" :
"^6.0.3" ,
1406 1406 "license" :
"MIT" 1408 1408 "node_modules/@earendil-works/chord" : {
1409 - "version" :
"0.86.0" ,
1410 - "resolved" :
"https://registry.npmjs.org/@earendil-works/chord/-/chord-0.86.0.tgz" ,
1411 - "integrity" :
"sha512-7EQVCDLLw9GcUpenFZp2zqgkUEmqex/g20ujmgtrkKu//mYhdwHLVM68HCSR4kXPTaP+fiPQp2o/Y3uju6vQ1A==" ,
1409 + "version" :
"0.87.0" ,
1410 + "resolved" :
"https://registry.npmjs.org/@earendil-works/chord/-/chord-0.87.0.tgz" ,
1411 + "integrity" :
"sha512-t8QOTf0GTHrsDSfcdtXuA9RCkh6mnR4l25N0SM/sgH7Ih25jH4tGXNbkGs9MWpV5xTu9MRPj4A7Zn1UEwQm9+g==" ,
1412 1412 "license" :
"MIT" ,
1413 1413 "dependencies" : {
1414 1414 "esbuild" :
"0.28.2" 1420 1420 "node_modules/@earendil-works/pi-agent-core" : {
1421 - "version" :
"0.86.0" ,
1422 - "resolved" :
"https://registry.npmjs.org/@earendil-works/pi-agent-core/-/pi-agent-core-0.86.0.tgz" ,
1423 - "integrity" :
"sha512-0nGRbPeR2Sx+TXCP+xTNeCoZDegRXshQ9ROWE+wc1XR2l6bARgbelkjiiFwVVJRslbwQa5Hmo/r2JXfAqqkK+A==" ,
1421 + "version" :
"0.87.0" ,
1422 + "resolved" :
"https://registry.npmjs.org/@earendil-works/pi-agent-core/-/pi-agent-core-0.87.0.tgz" ,
1423 + "integrity" :
"sha512-c5b2FMdJ7C++HBa6AyBmusdf96gdgRqpF7J+UCq2yVGB28UETJvJ190HkgDWUaLPnOQQPbanjKMAm/TgRmFE2w==" ,
1424 1424 "license" :
"MIT" ,
1425 1425 "dependencies" : {
1426 - "@earendil-works/chord" :
"^0.86.0" ,
1427 - "@earendil-works/pi-ai" :
"^0.86.0" ,
1428 - "@earendil-works/pi-telemetry" :
"^0.86.0" ,
1426 + "@earendil-works/chord" :
"^0.87.0" ,
1427 + "@earendil-works/pi-ai" :
"^0.87.0" ,
1428 + "@earendil-works/pi-telemetry" :
"^0.87.0" ,
1429 1429 "diff" :
"8.0.4" ,
1430 1430 "ignore" :
"7.0.8" ,
1431 1431 "typebox" :
"1.3.27" ,
1438 1438 "node_modules/@earendil-works/pi-ai" : {
1439 - "version" :
"0.86.0" ,
1440 - "resolved" :
"https://registry.npmjs.org/@earendil-works/pi-ai/-/pi-ai-0.86.0.tgz" ,
1441 - "integrity" :
"sha512-7jc4tNTBiJrfg+2/nra6JPz2d3OGiGHDKrSVHpnfvsMgMy0uy4noGb7WidDNcqSEAK1S0kcRRTmpYAK66ZlTSw==" ,
1439 + "version" :
"0.87.0" ,
1440 + "resolved" :
"https://registry.npmjs.org/@earendil-works/pi-ai/-/pi-ai-0.87.0.tgz" ,
1441 + "integrity" :
"sha512-lbRm+EMY6Jx3l+HLpbqbm9Yrhkc5u7EffLk2id+zJQEoBuR5I+tijGiZU8zlnuuCclmQOgH0PVjL9PLbeqJ9MQ==" ,
1442 1442 "license" :
"MIT" ,
1443 1443 "dependencies" : {
1444 1444 "@anthropic-ai/sdk" :
"0.124.0" ,
1445 1445 "@aws-sdk/client-bedrock-runtime" :
"3.1127.0" ,
1446 - "@earendil-works/pi-telemetry" :
"^0.86.0" ,
1446 + "@earendil-works/pi-telemetry" :
"^0.87.0" ,
1447 1447 "@google/genai" :
"2.21.0" ,
1448 1448 "@smithy/node-http-handler" :
"4.12.1" ,
1449 1449 "http-proxy-agent" :
"9.1.0" ,
1462 1462 "node_modules/@earendil-works/pi-client" : {
1463 - "version" :
"0.86.0" ,
1464 - "resolved" :
"https://registry.npmjs.org/@earendil-works/pi-client/-/pi-client-0.86.0.tgz" ,
1465 - "integrity" :
"sha512-XWTiH82aBjurHHR5mRT44e60xCmXAP2O8vX/ynskYlkr+AO9NhxYjnMLbsyZ6NG1BlETMdEY3iE24tBCqO6YkQ==" ,
1463 + "version" :
"0.87.0" ,
1464 + "resolved" :
"https://registry.npmjs.org/@earendil-works/pi-client/-/pi-client-0.87.0.tgz" ,
1465 + "integrity" :
"sha512-SzlKFULcz3VchpfVizd9fTxaFHxhIe/Dpn9CDHthqRzUx6Sym2tWwlveqdjD4V81yid+r7VEziZuHYYqNt4+kA==" ,
1467 1467 "license" :
"MIT" ,
1468 1468 "dependencies" : {
1469 - "@earendil-works/chord" :
"^0.86.0" ,
1470 - "@earendil-works/pi-protocol" :
"^0.86.0" 1469 + "@earendil-works/chord" :
"^0.87.0" ,
1470 + "@earendil-works/pi-protocol" :
"^0.87.0" 1473 1473 "node" :
">=22.19.0" 1476 1476 "node_modules/@earendil-works/pi-coding-agent" : {
1477 - "version" :
"0.86.0" ,
1478 - "resolved" :
"https://registry.npmjs.org/@earendil-works/pi-coding-agent/-/pi-coding-agent-0.86.0.tgz" ,
1479 - "integrity" :
"sha512-tzLh/10bPQZbA9shvA8TALT4eSNCifJaDq672MPXHldsvZ9t9lQ8J5Z9CD1d7UZVzG4l85XUZWo6ZCCNhBULxw==" ,
1477 + "version" :
"0.87.0" ,
1478 + "resolved" :
"https://registry.npmjs.org/@earendil-works/pi-coding-agent/-/pi-coding-agent-0.87.0.tgz" ,
1479 + "integrity" :
"sha512-S9JJVGHya/h0e0M+zwPTB6RkPe7PmLLqfBUTssFYW5mxAti6oZEILn4jvaUImENRC3U9RwXAB6H4gw8xj2J0GQ==" ,
1480 1480 "hasShrinkwrap" :
true ,
1481 1481 "license" :
"MIT" ,
1482 1482 "dependencies" : {
1483 - "@earendil-works/chord" :
"^0.86.0" ,
1484 - "@earendil-works/pi-agent-core" :
"^0.86.0" ,
1485 - "@earendil-works/pi-ai" :
"^0.86.0" ,
1486 - "@earendil-works/pi-tui" :
"^0.86.0" ,
1483 + "@earendil-works/chord" :
"^0.87.0" ,
1484 + "@earendil-works/pi-agent-core" :
"^0.87.0" ,
1485 + "@earendil-works/pi-ai" :
"^0.87.0" ,
1486 + "@earendil-works/pi-tui" :
"^0.87.0" ,
1487 1487 "@silvia-odwyer/photon-node" :
"0.3.4" ,
1488 1488 "chalk" :
"6.0.0" ,
1489 1489 "cross-spawn" :
"7.0.6" ,
1881 1881 "node_modules/@earendil-works/pi-coding-agent/node_modules/@earendil-works/chord" : {
1882 - "version" :
"0.86.0" ,
1883 - "resolved" :
"https://registry.npmjs.org/@earendil-works/chord/-/chord-0.86.0.tgz" ,
1882 + "version" :
"0.87.0" ,
1883 + "resolved" :
"https://registry.npmjs.org/@earendil-works/chord/-/chord-0.87.0.tgz" ,
1884 1884 "license" :
"MIT" ,
1885 1885 "dependencies" : {
1886 1886 "esbuild" :
"0.28.2" 1892 1892 "node_modules/@earendil-works/pi-coding-agent/node_modules/@earendil-works/pi-agent-core" : {
1893 - "version" :
"0.86.0" ,
1894 - "resolved" :
"https://registry.npmjs.org/@earendil-works/pi-agent-core/-/pi-agent-core-0.86.0.tgz" ,
1893 + "version" :
"0.87.0" ,
1894 + "resolved" :
"https://registry.npmjs.org/@earendil-works/pi-agent-core/-/pi-agent-core-0.87.0.tgz" ,
1895 1895 "license" :
"MIT" ,
1896 1896 "dependencies" : {
1897 - "@earendil-works/chord" :
"^0.86.0" ,
1898 - "@earendil-works/pi-ai" :
"^0.86.0" ,
1899 - "@earendil-works/pi-telemetry" :
"^0.86.0" ,
1897 + "@earendil-works/chord" :
"^0.87.0" ,
1898 + "@earendil-works/pi-ai" :
"^0.87.0" ,
1899 + "@earendil-works/pi-telemetry" :
"^0.87.0" ,
1900 1900 "diff" :
"8.0.4" ,
1901 1901 "ignore" :
"7.0.8" ,
1902 1902 "typebox" :
"1.3.27" ,
1909 1909 "node_modules/@earendil-works/pi-coding-agent/node_modules/@earendil-works/pi-ai" : {
1910 - "version" :
"0.86.0" ,
1911 - "resolved" :
"https://registry.npmjs.org/@earendil-works/pi-ai/-/pi-ai-0.86.0.tgz" ,
1910 + "version" :
"0.87.0" ,
1911 + "resolved" :
"https://registry.npmjs.org/@earendil-works/pi-ai/-/pi-ai-0.87.0.tgz" ,
1912 1912 "license" :
"MIT" ,
1913 1913 "dependencies" : {
1914 1914 "@anthropic-ai/sdk" :
"0.124.0" ,
1915 1915 "@aws-sdk/client-bedrock-runtime" :
"3.1127.0" ,
1916 - "@earendil-works/pi-telemetry" :
"^0.86.0" ,
1916 + "@earendil-works/pi-telemetry" :
"^0.87.0" ,
1917 1917 "@google/genai" :
"2.21.0" ,
1918 1918 "@smithy/node-http-handler" :
"4.12.1" ,
1919 1919 "http-proxy-agent" :
"9.1.0" ,
1955 1955 "node_modules/@earendil-works/pi-coding-agent/node_modules/@earendil-works/pi-telemetry" : {
1956 - "version" :
"0.86.0" ,
1957 - "resolved" :
"https://registry.npmjs.org/@earendil-works/pi-telemetry/-/pi-telemetry-0.86.0.tgz" ,
1956 + "version" :
"0.87.0" ,
1957 + "resolved" :
"https://registry.npmjs.org/@earendil-works/pi-telemetry/-/pi-telemetry-0.87.0.tgz" ,
1958 1958 "license" :
"MIT" ,
1960 1960 "node" :
">=22.19.0" 1963 1963 "node_modules/@earendil-works/pi-coding-agent/node_modules/@earendil-works/pi-tui" : {
1964 - "version" :
"0.86.0" ,
1965 - "resolved" :
"https://registry.npmjs.org/@earendil-works/pi-tui/-/pi-tui-0.86.0.tgz" ,
1964 + "version" :
"0.87.0" ,
1965 + "resolved" :
"https://registry.npmjs.org/@earendil-works/pi-tui/-/pi-tui-0.87.0.tgz" ,
1966 1966 "license" :
"MIT" ,
1967 1967 "dependencies" : {
1968 1968 "get-east-asian-width" :
"1.6.0" ,
3377 3377 "node_modules/@earendil-works/pi-protocol" : {
3378 - "version" :
"0.86.0" ,
3379 - "resolved" :
"https://registry.npmjs.org/@earendil-works/pi-protocol/-/pi-protocol-0.86.0.tgz" ,
3380 - "integrity" :
"sha512-NxpcK099q7TnaNGlywCOLhhIfbLCHOjTcEmIomp86qPlbf/jS98hDONc11OkRII16nQU22DW+RfMnyrfOQnfiA==" ,
3378 + "version" :
"0.87.0" ,
3379 + "resolved" :
"https://registry.npmjs.org/@earendil-works/pi-protocol/-/pi-protocol-0.87.0.tgz" ,
3380 + "integrity" :
"sha512-H6tL0BGj5RbvwPQq7YnaGSudASvmPbHBP3FVqeIIJa91hURB6DdKCmITQkJwQz8nR/bc4B/r2tZXgzlVTBYOrQ==" ,
3382 3382 "license" :
"MIT" ,
3383 3383 "dependencies" : {
3384 - "@earendil-works/chord" :
"^0.86.0" ,
3384 + "@earendil-works/chord" :
"^0.87.0" ,
3385 3385 "typebox" :
"1.3.27" 3391 3391 "node_modules/@earendil-works/pi-server" : {
3392 - "version" :
"0.86.0" ,
3393 - "resolved" :
"https://registry.npmjs.org/@earendil-works/pi-server/-/pi-server-0.86.0.tgz" ,
3394 - "integrity" :
"sha512-FfPVV37CQPzdAmTHH5+ekzbyB4U8CEtWnR0d9FIUhDkWszHjr0+ZQT2GBU+YgK+eubLjlRR1GLm3eRgrFBMYDg==" ,
3392 + "version" :
"0.87.0" ,
3393 + "resolved" :
"https://registry.npmjs.org/@earendil-works/pi-server/-/pi-server-0.87.0.tgz" ,
3394 + "integrity" :
"sha512-hnxO8xe1iUIvPiPiVmj/UkfVTeOHPam2b62FuvB4OJRqhqDCVRPec+KJZST70c9rb+v1QTQnbimeNop5Ji5N5A==" ,
3396 3396 "license" :
"MIT" ,
3397 3397 "dependencies" : {
3398 - "@earendil-works/chord" :
"^0.86.0" ,
3399 - "@earendil-works/pi-agent-core" :
"^0.86.0" ,
3400 - "@earendil-works/pi-protocol" :
"^0.86.0" 3398 + "@earendil-works/chord" :
"^0.87.0" ,
3399 + "@earendil-works/pi-agent-core" :
"^0.87.0" ,
3400 + "@earendil-works/pi-protocol" :
"^0.87.0" 3403 3403 "node" :
">=22.19.0" 3406 3406 "node_modules/@earendil-works/pi-telemetry" : {
3407 - "version" :
"0.86.0" ,
3408 - "resolved" :
"https://registry.npmjs.org/@earendil-works/pi-telemetry/-/pi-telemetry-0.86.0.tgz" ,
3409 - "integrity" :
"sha512-vbKNbFpFe6BgeL+N5/EKsZzGa9I2X+pz2icibNNA8JxTlVk2UHup5DXSKYl4yMG5VlXz5aWq4CBJCqb3pRO4fg==" ,
3407 + "version" :
"0.87.0" ,
3408 + "resolved" :
"https://registry.npmjs.org/@earendil-works/pi-telemetry/-/pi-telemetry-0.87.0.tgz" ,
3409 + "integrity" :
"sha512-IEUMnV6mgHyOMfAxa4CKXoBKKfHM8KxNjbXWM4Bps/iLJcFMf8hQsEZ+95VnVTc7C0cU77Rmdxt773C35jb5AA==" ,
3410 3410 "license" :
"MIT" ,
3412 3412 "node" :
">=22.19.0" 3415 3415 "node_modules/@earendil-works/pi-tui" : {
3416 - "version" :
"0.86.0" ,
3417 - "resolved" :
"https://registry.npmjs.org/@earendil-works/pi-tui/-/pi-tui-0.86.0.tgz" ,
3418 - "integrity" :
"sha512-R68axQIwP3yxMJH9Sz8QnzD/4emRiSIsj+k2ahxlJUUJR84bN7YBFul+ZuBvy8Qn+Er4NIoBLTGpPf/4iHMKVA==" ,
3416 + "version" :
"0.87.0" ,
3417 + "resolved" :
"https://registry.npmjs.org/@earendil-works/pi-tui/-/pi-tui-0.87.0.tgz" ,
3418 + "integrity" :
"sha512-7gTC0XOgQfVWg4yGxwHINBpCnGl9p4KEC7PXIc8gAwc/cyxSW4VuFQrp+r1YD3oM+rBkoepKwAt6w6+VJ7BCaw==" ,
3419 3419 "license" :
"MIT" ,
3420 3420 "dependencies" : {
3421 3421 "get-east-asian-width" :
"1.6.0" ,
14 14 "typecheck" :
"tsc --noEmit" 16 16 "devDependencies" : {
17 - "@earendil-works/pi-agent-core" :
"0.86.0" ,
18 - "@earendil-works/pi-ai" :
"0.86.0" ,
19 - "@earendil-works/pi-client" :
"0.86.0" ,
20 - "@earendil-works/pi-coding-agent" :
"0.86.0" ,
21 - "@earendil-works/pi-protocol" :
"0.86.0" ,
22 - "@earendil-works/pi-server" :
"0.86.0" ,
23 - "@earendil-works/pi-telemetry" :
"0.86.0" ,
24 - "@earendil-works/pi-tui" :
"0.86.0" ,
17 + "@earendil-works/pi-agent-core" :
"0.87.0" ,
18 + "@earendil-works/pi-ai" :
"0.87.0" ,
19 + "@earendil-works/pi-client" :
"0.87.0" ,
20 + "@earendil-works/pi-coding-agent" :
"0.87.0" ,
21 + "@earendil-works/pi-protocol" :
"0.87.0" ,
22 + "@earendil-works/pi-server" :
"0.87.0" ,
23 + "@earendil-works/pi-telemetry" :
"0.87.0" ,
24 + "@earendil-works/pi-tui" :
"0.87.0" ,
25 25 "@playwright/test" :
"^1.61.0" ,
26 26 "@vitest/coverage-istanbul" :
"^4.1.11" ,
27 27 "typescript" :
"^6.0.3" ,
145 145 extensionRunner.
emit = (
... args
: unknown [])
=> 146 146 withProcessEnv (session.env, ()
=> emit (
... args));
148 + const emitBoundary
= extensionRunner?.emitBoundary?.
bind (extensionRunner);
149 + if (emitBoundary) {
150 + extensionRunner.
emitBoundary = (
... args
: unknown [])
=> 151 + withProcessEnv (session.env, ()
=> emitBoundary (
... args));
149 154 for (
const extension
of extensionRunner?.extensions
?? []) {
150 155 for (
const command
of extension.commands?.
values ?.()
?? []) {