@emiliosp/pi-maestro 0.17.0 → 0.18.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.
Files changed (1879) hide show
  1. package/ADR.md +6 -4
  2. package/CHANGELOG.md +7 -0
  3. package/README.md +12 -8
  4. package/ROADMAP.md +175 -162
  5. package/TECH_STACK.md +1 -2
  6. package/agents/builder.md +0 -11
  7. package/agents/simplifier.md +0 -11
  8. package/agents/verifier.md +0 -11
  9. package/docs/configuration.md +9 -10
  10. package/docs/subagent-integration.md +28 -27
  11. package/docs/workflow.md +8 -4
  12. package/extensions/maestro.ts +1 -1
  13. package/package.json +8 -16
  14. package/src/config/schema.ts +0 -6
  15. package/src/delegation/{SubSession.ts → SubSessionManager.ts} +5 -5
  16. package/src/delegation/executeTask.ts +27 -9
  17. package/src/maestro/checks/assertEnvironment.ts +6 -113
  18. package/src/maestro/instructions/getMaestroInstructions.ts +2 -1
  19. package/src/tools/child/record-builder-handoff.ts +28 -30
  20. package/src/tools/child/record-simplifier-handoff.ts +33 -35
  21. package/src/tools/child/record-verifier-handoff.ts +37 -39
  22. package/src/tools/main/run-builder.ts +9 -28
  23. package/src/tools/main/run-simplifier.ts +8 -26
  24. package/src/tools/main/run-verifier.ts +9 -27
  25. package/src/tools/utils/executeRoleTask.ts +57 -0
  26. package/extensions/maestro-subagent.ts +0 -16
  27. package/node_modules/@js-temporal/polyfill/CHANGELOG.md +0 -453
  28. package/node_modules/@js-temporal/polyfill/LICENSE +0 -13
  29. package/node_modules/@js-temporal/polyfill/README.md +0 -90
  30. package/node_modules/@js-temporal/polyfill/dist/index.cjs +0 -2
  31. package/node_modules/@js-temporal/polyfill/dist/index.cjs.map +0 -1
  32. package/node_modules/@js-temporal/polyfill/dist/index.esm.js +0 -2
  33. package/node_modules/@js-temporal/polyfill/dist/index.esm.js.map +0 -1
  34. package/node_modules/@js-temporal/polyfill/dist/index.umd.js +0 -2
  35. package/node_modules/@js-temporal/polyfill/dist/index.umd.js.map +0 -1
  36. package/node_modules/@js-temporal/polyfill/index.d.cts +0 -1215
  37. package/node_modules/@js-temporal/polyfill/index.d.ts +0 -1215
  38. package/node_modules/@js-temporal/polyfill/lib/assert.ts +0 -8
  39. package/node_modules/@js-temporal/polyfill/lib/bigintmath.ts +0 -39
  40. package/node_modules/@js-temporal/polyfill/lib/calendar.ts +0 -2424
  41. package/node_modules/@js-temporal/polyfill/lib/debug.ts +0 -7
  42. package/node_modules/@js-temporal/polyfill/lib/duration.ts +0 -438
  43. package/node_modules/@js-temporal/polyfill/lib/durationformat.d.ts +0 -93
  44. package/node_modules/@js-temporal/polyfill/lib/ecmascript.ts +0 -4973
  45. package/node_modules/@js-temporal/polyfill/lib/index.ts +0 -34
  46. package/node_modules/@js-temporal/polyfill/lib/init.ts +0 -43
  47. package/node_modules/@js-temporal/polyfill/lib/instant.ts +0 -138
  48. package/node_modules/@js-temporal/polyfill/lib/internaltypes.d.ts +0 -242
  49. package/node_modules/@js-temporal/polyfill/lib/intl.ts +0 -758
  50. package/node_modules/@js-temporal/polyfill/lib/intrinsicclass.ts +0 -162
  51. package/node_modules/@js-temporal/polyfill/lib/legacydate.ts +0 -17
  52. package/node_modules/@js-temporal/polyfill/lib/math.ts +0 -96
  53. package/node_modules/@js-temporal/polyfill/lib/now.ts +0 -48
  54. package/node_modules/@js-temporal/polyfill/lib/plaindate.ts +0 -212
  55. package/node_modules/@js-temporal/polyfill/lib/plaindatetime.ts +0 -274
  56. package/node_modules/@js-temporal/polyfill/lib/plainmonthday.ts +0 -110
  57. package/node_modules/@js-temporal/polyfill/lib/plaintime.ts +0 -154
  58. package/node_modules/@js-temporal/polyfill/lib/plainyearmonth.ts +0 -157
  59. package/node_modules/@js-temporal/polyfill/lib/regex.ts +0 -59
  60. package/node_modules/@js-temporal/polyfill/lib/slots.ts +0 -341
  61. package/node_modules/@js-temporal/polyfill/lib/temporal.ts +0 -10
  62. package/node_modules/@js-temporal/polyfill/lib/timeduration.ts +0 -149
  63. package/node_modules/@js-temporal/polyfill/lib/zoneddatetime.ts +0 -492
  64. package/node_modules/@js-temporal/polyfill/package.json +0 -143
  65. package/node_modules/acorn/CHANGELOG.md +0 -998
  66. package/node_modules/acorn/LICENSE +0 -21
  67. package/node_modules/acorn/README.md +0 -309
  68. package/node_modules/acorn/bin/acorn +0 -4
  69. package/node_modules/acorn/dist/acorn.d.mts +0 -897
  70. package/node_modules/acorn/dist/acorn.d.ts +0 -897
  71. package/node_modules/acorn/dist/acorn.js +0 -6342
  72. package/node_modules/acorn/dist/acorn.mjs +0 -6313
  73. package/node_modules/acorn/dist/bin.js +0 -90
  74. package/node_modules/acorn/package.json +0 -50
  75. package/node_modules/jiti/LICENSE +0 -21
  76. package/node_modules/jiti/README.md +0 -258
  77. package/node_modules/jiti/dist/babel.cjs +0 -257
  78. package/node_modules/jiti/dist/jiti.cjs +0 -1
  79. package/node_modules/jiti/lib/jiti-cli.mjs +0 -34
  80. package/node_modules/jiti/lib/jiti-hooks.mjs +0 -124
  81. package/node_modules/jiti/lib/jiti-native.mjs +0 -121
  82. package/node_modules/jiti/lib/jiti-register.d.mts +0 -1
  83. package/node_modules/jiti/lib/jiti-register.mjs +0 -4
  84. package/node_modules/jiti/lib/jiti-static.mjs +0 -23
  85. package/node_modules/jiti/lib/jiti.cjs +0 -30
  86. package/node_modules/jiti/lib/jiti.d.cts +0 -8
  87. package/node_modules/jiti/lib/jiti.d.mts +0 -8
  88. package/node_modules/jiti/lib/jiti.mjs +0 -29
  89. package/node_modules/jiti/lib/types.d.ts +0 -420
  90. package/node_modules/jiti/package.json +0 -146
  91. package/node_modules/jsbi/LICENSE +0 -176
  92. package/node_modules/jsbi/README.md +0 -173
  93. package/node_modules/jsbi/dist/jsbi-cjs.js +0 -2
  94. package/node_modules/jsbi/dist/jsbi-cjs.js.map +0 -1
  95. package/node_modules/jsbi/dist/jsbi-umd.js +0 -2
  96. package/node_modules/jsbi/dist/jsbi-umd.js.map +0 -1
  97. package/node_modules/jsbi/dist/jsbi.mjs +0 -2
  98. package/node_modules/jsbi/dist/jsbi.mjs.map +0 -1
  99. package/node_modules/jsbi/jsbi.d.ts +0 -43
  100. package/node_modules/jsbi/package.json +0 -35
  101. package/node_modules/pi-subagents/CHANGELOG.md +0 -3081
  102. package/node_modules/pi-subagents/LICENSE +0 -21
  103. package/node_modules/pi-subagents/README.md +0 -129
  104. package/node_modules/pi-subagents/agents/claude-code-writer.md +0 -16
  105. package/node_modules/pi-subagents/agents/claude-code.md +0 -15
  106. package/node_modules/pi-subagents/agents/codex-exec-writer.md +0 -16
  107. package/node_modules/pi-subagents/agents/codex-exec.md +0 -15
  108. package/node_modules/pi-subagents/agents/cursor-agent-writer.md +0 -15
  109. package/node_modules/pi-subagents/agents/cursor-agent.md +0 -14
  110. package/node_modules/pi-subagents/agents/delegate.md +0 -14
  111. package/node_modules/pi-subagents/agents/evidence-auditor.md +0 -35
  112. package/node_modules/pi-subagents/agents/oracle.md +0 -68
  113. package/node_modules/pi-subagents/agents/researcher.md +0 -59
  114. package/node_modules/pi-subagents/agents/reviewer.md +0 -48
  115. package/node_modules/pi-subagents/agents/scout.md +0 -47
  116. package/node_modules/pi-subagents/agents/worker.md +0 -43
  117. package/node_modules/pi-subagents/async-retention-discovery-worker.mjs +0 -180
  118. package/node_modules/pi-subagents/docs/agents.md +0 -627
  119. package/node_modules/pi-subagents/docs/configuration.md +0 -756
  120. package/node_modules/pi-subagents/docs/extension-api.md +0 -661
  121. package/node_modules/pi-subagents/docs/missions.md +0 -162
  122. package/node_modules/pi-subagents/docs/models.md +0 -253
  123. package/node_modules/pi-subagents/docs/observability.md +0 -335
  124. package/node_modules/pi-subagents/docs/standalone-background.md +0 -59
  125. package/node_modules/pi-subagents/docs/tool-reference.md +0 -558
  126. package/node_modules/pi-subagents/docs/watchdog.md +0 -187
  127. package/node_modules/pi-subagents/docs/workflows.md +0 -577
  128. package/node_modules/pi-subagents/index.d.ts +0 -3
  129. package/node_modules/pi-subagents/index.d.ts.map +0 -1
  130. package/node_modules/pi-subagents/index.js +0 -15
  131. package/node_modules/pi-subagents/index.js.map +0 -1
  132. package/node_modules/pi-subagents/inspector-runner.mjs +0 -11
  133. package/node_modules/pi-subagents/install.mjs +0 -93
  134. package/node_modules/pi-subagents/node_modules/yaml/LICENSE +0 -13
  135. package/node_modules/pi-subagents/node_modules/yaml/README.md +0 -172
  136. package/node_modules/pi-subagents/node_modules/yaml/bin.mjs +0 -11
  137. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/compose-collection.js +0 -88
  138. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/compose-doc.js +0 -43
  139. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/compose-node.js +0 -109
  140. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/compose-scalar.js +0 -86
  141. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/composer.js +0 -217
  142. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/resolve-block-map.js +0 -115
  143. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +0 -198
  144. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +0 -49
  145. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/resolve-end.js +0 -37
  146. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +0 -207
  147. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +0 -223
  148. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/resolve-props.js +0 -146
  149. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/util-contains-newline.js +0 -34
  150. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +0 -26
  151. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +0 -15
  152. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/util-map-includes.js +0 -13
  153. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/doc/Document.js +0 -335
  154. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/doc/anchors.js +0 -71
  155. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/doc/applyReviver.js +0 -55
  156. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/doc/createNode.js +0 -88
  157. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/doc/directives.js +0 -176
  158. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/errors.js +0 -57
  159. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/index.js +0 -17
  160. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/log.js +0 -11
  161. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/nodes/Alias.js +0 -114
  162. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/nodes/Collection.js +0 -147
  163. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/nodes/Node.js +0 -38
  164. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/nodes/Pair.js +0 -36
  165. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/nodes/Scalar.js +0 -24
  166. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/nodes/YAMLMap.js +0 -144
  167. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +0 -113
  168. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +0 -63
  169. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/nodes/identity.js +0 -36
  170. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/nodes/toJS.js +0 -37
  171. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/parse/cst-scalar.js +0 -214
  172. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/parse/cst-stringify.js +0 -61
  173. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/parse/cst-visit.js +0 -97
  174. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/parse/cst.js +0 -98
  175. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/parse/lexer.js +0 -717
  176. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/parse/line-counter.js +0 -39
  177. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/parse/parser.js +0 -967
  178. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/public-api.js +0 -102
  179. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/Schema.js +0 -37
  180. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/common/map.js +0 -17
  181. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/common/null.js +0 -15
  182. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/common/seq.js +0 -17
  183. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/common/string.js +0 -14
  184. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/core/bool.js +0 -19
  185. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/core/float.js +0 -43
  186. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/core/int.js +0 -38
  187. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/core/schema.js +0 -23
  188. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/json/schema.js +0 -62
  189. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/tags.js +0 -96
  190. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +0 -58
  191. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +0 -26
  192. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +0 -46
  193. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +0 -71
  194. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +0 -64
  195. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +0 -74
  196. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +0 -78
  197. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +0 -39
  198. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +0 -93
  199. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +0 -101
  200. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +0 -146
  201. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/stringify/stringify.js +0 -129
  202. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +0 -153
  203. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/stringify/stringifyComment.js +0 -20
  204. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +0 -85
  205. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +0 -24
  206. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/stringify/stringifyPair.js +0 -150
  207. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/stringify/stringifyString.js +0 -336
  208. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/util.js +0 -11
  209. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/visit.js +0 -233
  210. package/node_modules/pi-subagents/node_modules/yaml/browser/index.js +0 -5
  211. package/node_modules/pi-subagents/node_modules/yaml/browser/package.json +0 -3
  212. package/node_modules/pi-subagents/node_modules/yaml/dist/cli.d.ts +0 -8
  213. package/node_modules/pi-subagents/node_modules/yaml/dist/cli.mjs +0 -201
  214. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/compose-collection.d.ts +0 -11
  215. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/compose-collection.js +0 -90
  216. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/compose-doc.d.ts +0 -7
  217. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/compose-doc.js +0 -45
  218. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/compose-node.d.ts +0 -29
  219. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/compose-node.js +0 -112
  220. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/compose-scalar.d.ts +0 -5
  221. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/compose-scalar.js +0 -88
  222. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/composer.d.ts +0 -63
  223. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/composer.js +0 -222
  224. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-block-map.d.ts +0 -6
  225. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-block-map.js +0 -117
  226. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts +0 -11
  227. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-block-scalar.js +0 -200
  228. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-block-seq.d.ts +0 -6
  229. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-block-seq.js +0 -51
  230. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-end.d.ts +0 -6
  231. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-end.js +0 -39
  232. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-flow-collection.d.ts +0 -7
  233. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-flow-collection.js +0 -209
  234. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-flow-scalar.d.ts +0 -10
  235. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-flow-scalar.js +0 -225
  236. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-props.d.ts +0 -23
  237. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-props.js +0 -148
  238. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/util-contains-newline.d.ts +0 -2
  239. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/util-contains-newline.js +0 -36
  240. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/util-empty-scalar-position.d.ts +0 -2
  241. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/util-empty-scalar-position.js +0 -28
  242. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts +0 -3
  243. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/util-flow-indent-check.js +0 -17
  244. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/util-map-includes.d.ts +0 -4
  245. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/util-map-includes.js +0 -15
  246. package/node_modules/pi-subagents/node_modules/yaml/dist/doc/Document.d.ts +0 -141
  247. package/node_modules/pi-subagents/node_modules/yaml/dist/doc/Document.js +0 -337
  248. package/node_modules/pi-subagents/node_modules/yaml/dist/doc/anchors.d.ts +0 -24
  249. package/node_modules/pi-subagents/node_modules/yaml/dist/doc/anchors.js +0 -76
  250. package/node_modules/pi-subagents/node_modules/yaml/dist/doc/applyReviver.d.ts +0 -9
  251. package/node_modules/pi-subagents/node_modules/yaml/dist/doc/applyReviver.js +0 -57
  252. package/node_modules/pi-subagents/node_modules/yaml/dist/doc/createNode.d.ts +0 -17
  253. package/node_modules/pi-subagents/node_modules/yaml/dist/doc/createNode.js +0 -90
  254. package/node_modules/pi-subagents/node_modules/yaml/dist/doc/directives.d.ts +0 -49
  255. package/node_modules/pi-subagents/node_modules/yaml/dist/doc/directives.js +0 -178
  256. package/node_modules/pi-subagents/node_modules/yaml/dist/errors.d.ts +0 -21
  257. package/node_modules/pi-subagents/node_modules/yaml/dist/errors.js +0 -62
  258. package/node_modules/pi-subagents/node_modules/yaml/dist/index.d.ts +0 -25
  259. package/node_modules/pi-subagents/node_modules/yaml/dist/index.js +0 -50
  260. package/node_modules/pi-subagents/node_modules/yaml/dist/log.d.ts +0 -3
  261. package/node_modules/pi-subagents/node_modules/yaml/dist/log.js +0 -19
  262. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/Alias.d.ts +0 -29
  263. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/Alias.js +0 -116
  264. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/Collection.d.ts +0 -73
  265. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/Collection.js +0 -151
  266. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/Node.d.ts +0 -53
  267. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/Node.js +0 -40
  268. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/Pair.d.ts +0 -22
  269. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/Pair.js +0 -39
  270. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/Scalar.d.ts +0 -43
  271. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/Scalar.js +0 -27
  272. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/YAMLMap.d.ts +0 -53
  273. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/YAMLMap.js +0 -147
  274. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/YAMLSeq.d.ts +0 -60
  275. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/YAMLSeq.js +0 -115
  276. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts +0 -4
  277. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/addPairToJSMap.js +0 -65
  278. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/identity.d.ts +0 -23
  279. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/identity.js +0 -53
  280. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/toJS.d.ts +0 -29
  281. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/toJS.js +0 -39
  282. package/node_modules/pi-subagents/node_modules/yaml/dist/options.d.ts +0 -350
  283. package/node_modules/pi-subagents/node_modules/yaml/dist/parse/cst-scalar.d.ts +0 -64
  284. package/node_modules/pi-subagents/node_modules/yaml/dist/parse/cst-scalar.js +0 -218
  285. package/node_modules/pi-subagents/node_modules/yaml/dist/parse/cst-stringify.d.ts +0 -8
  286. package/node_modules/pi-subagents/node_modules/yaml/dist/parse/cst-stringify.js +0 -63
  287. package/node_modules/pi-subagents/node_modules/yaml/dist/parse/cst-visit.d.ts +0 -39
  288. package/node_modules/pi-subagents/node_modules/yaml/dist/parse/cst-visit.js +0 -99
  289. package/node_modules/pi-subagents/node_modules/yaml/dist/parse/cst.d.ts +0 -109
  290. package/node_modules/pi-subagents/node_modules/yaml/dist/parse/cst.js +0 -112
  291. package/node_modules/pi-subagents/node_modules/yaml/dist/parse/lexer.d.ts +0 -87
  292. package/node_modules/pi-subagents/node_modules/yaml/dist/parse/lexer.js +0 -719
  293. package/node_modules/pi-subagents/node_modules/yaml/dist/parse/line-counter.d.ts +0 -22
  294. package/node_modules/pi-subagents/node_modules/yaml/dist/parse/line-counter.js +0 -41
  295. package/node_modules/pi-subagents/node_modules/yaml/dist/parse/parser.d.ts +0 -84
  296. package/node_modules/pi-subagents/node_modules/yaml/dist/parse/parser.js +0 -972
  297. package/node_modules/pi-subagents/node_modules/yaml/dist/public-api.d.ts +0 -44
  298. package/node_modules/pi-subagents/node_modules/yaml/dist/public-api.js +0 -107
  299. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/Schema.d.ts +0 -17
  300. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/Schema.js +0 -39
  301. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/common/map.d.ts +0 -2
  302. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/common/map.js +0 -19
  303. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/common/null.d.ts +0 -4
  304. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/common/null.js +0 -17
  305. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/common/seq.d.ts +0 -2
  306. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/common/seq.js +0 -19
  307. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/common/string.d.ts +0 -2
  308. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/common/string.js +0 -16
  309. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/core/bool.d.ts +0 -4
  310. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/core/bool.js +0 -21
  311. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/core/float.d.ts +0 -4
  312. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/core/float.js +0 -47
  313. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/core/int.d.ts +0 -4
  314. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/core/int.js +0 -42
  315. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/core/schema.d.ts +0 -1
  316. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/core/schema.js +0 -25
  317. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/json/schema.d.ts +0 -2
  318. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/json/schema.js +0 -64
  319. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/json-schema.d.ts +0 -69
  320. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/tags.d.ts +0 -48
  321. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/tags.js +0 -99
  322. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/types.d.ts +0 -92
  323. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts +0 -2
  324. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/binary.js +0 -70
  325. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts +0 -7
  326. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/bool.js +0 -29
  327. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts +0 -4
  328. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/float.js +0 -50
  329. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts +0 -5
  330. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/int.js +0 -76
  331. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts +0 -9
  332. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/merge.js +0 -68
  333. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts +0 -22
  334. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/omap.js +0 -77
  335. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts +0 -10
  336. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +0 -82
  337. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts +0 -1
  338. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/schema.js +0 -41
  339. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts +0 -28
  340. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/set.js +0 -96
  341. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts +0 -6
  342. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +0 -105
  343. package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/foldFlowLines.d.ts +0 -34
  344. package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/foldFlowLines.js +0 -151
  345. package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringify.d.ts +0 -21
  346. package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringify.js +0 -132
  347. package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringifyCollection.d.ts +0 -17
  348. package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringifyCollection.js +0 -155
  349. package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringifyComment.d.ts +0 -10
  350. package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringifyComment.js +0 -24
  351. package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringifyDocument.d.ts +0 -4
  352. package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringifyDocument.js +0 -87
  353. package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringifyNumber.d.ts +0 -2
  354. package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringifyNumber.js +0 -26
  355. package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringifyPair.d.ts +0 -3
  356. package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringifyPair.js +0 -152
  357. package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringifyString.d.ts +0 -9
  358. package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringifyString.js +0 -338
  359. package/node_modules/pi-subagents/node_modules/yaml/dist/test-events.d.ts +0 -4
  360. package/node_modules/pi-subagents/node_modules/yaml/dist/test-events.js +0 -134
  361. package/node_modules/pi-subagents/node_modules/yaml/dist/util.d.ts +0 -16
  362. package/node_modules/pi-subagents/node_modules/yaml/dist/util.js +0 -28
  363. package/node_modules/pi-subagents/node_modules/yaml/dist/visit.d.ts +0 -102
  364. package/node_modules/pi-subagents/node_modules/yaml/dist/visit.js +0 -236
  365. package/node_modules/pi-subagents/node_modules/yaml/package.json +0 -97
  366. package/node_modules/pi-subagents/node_modules/yaml/util.js +0 -2
  367. package/node_modules/pi-subagents/package.json +0 -138
  368. package/node_modules/pi-subagents/prompts/council.md +0 -63
  369. package/node_modules/pi-subagents/prompts/gather-context-and-clarify.md +0 -13
  370. package/node_modules/pi-subagents/prompts/parallel-cleanup.md +0 -59
  371. package/node_modules/pi-subagents/prompts/parallel-research.md +0 -50
  372. package/node_modules/pi-subagents/prompts/parallel-review.md +0 -58
  373. package/node_modules/pi-subagents/prompts/review-loop.md +0 -47
  374. package/node_modules/pi-subagents/runner-peer-loader.mjs +0 -21
  375. package/node_modules/pi-subagents/runner-peer-preload.mjs +0 -30
  376. package/node_modules/pi-subagents/skills/council-mode/SKILL.md +0 -59
  377. package/node_modules/pi-subagents/skills/council-mode/references/pass-contracts.md +0 -150
  378. package/node_modules/pi-subagents/skills/pi-subagents/SKILL.md +0 -123
  379. package/node_modules/pi-subagents/skills/pi-subagents/references/constraints-and-recipes.md +0 -74
  380. package/node_modules/pi-subagents/skills/pi-subagents/references/execution-controls.md +0 -561
  381. package/node_modules/pi-subagents/skills/pi-subagents/references/management-authoring-rpc.md +0 -165
  382. package/node_modules/pi-subagents/skills/pi-subagents/references/multi-lane-orchestration.md +0 -61
  383. package/node_modules/pi-subagents/skills/pi-subagents/references/prompting-and-roles.md +0 -297
  384. package/node_modules/pi-subagents/skills/pi-subagents/references/review-and-validation.md +0 -73
  385. package/node_modules/pi-subagents/src/agents/advertised-agent-prompt.d.ts +0 -14
  386. package/node_modules/pi-subagents/src/agents/advertised-agent-prompt.d.ts.map +0 -1
  387. package/node_modules/pi-subagents/src/agents/advertised-agent-prompt.js +0 -69
  388. package/node_modules/pi-subagents/src/agents/advertised-agent-prompt.js.map +0 -1
  389. package/node_modules/pi-subagents/src/agents/agent-management.d.ts +0 -28
  390. package/node_modules/pi-subagents/src/agents/agent-management.d.ts.map +0 -1
  391. package/node_modules/pi-subagents/src/agents/agent-management.js +0 -1522
  392. package/node_modules/pi-subagents/src/agents/agent-management.js.map +0 -1
  393. package/node_modules/pi-subagents/src/agents/agent-memory.d.ts +0 -49
  394. package/node_modules/pi-subagents/src/agents/agent-memory.d.ts.map +0 -1
  395. package/node_modules/pi-subagents/src/agents/agent-memory.js +0 -349
  396. package/node_modules/pi-subagents/src/agents/agent-memory.js.map +0 -1
  397. package/node_modules/pi-subagents/src/agents/agent-refinements.d.ts +0 -100
  398. package/node_modules/pi-subagents/src/agents/agent-refinements.d.ts.map +0 -1
  399. package/node_modules/pi-subagents/src/agents/agent-refinements.js +0 -569
  400. package/node_modules/pi-subagents/src/agents/agent-refinements.js.map +0 -1
  401. package/node_modules/pi-subagents/src/agents/agent-scope.d.ts +0 -4
  402. package/node_modules/pi-subagents/src/agents/agent-scope.d.ts.map +0 -1
  403. package/node_modules/pi-subagents/src/agents/agent-scope.js +0 -9
  404. package/node_modules/pi-subagents/src/agents/agent-scope.js.map +0 -1
  405. package/node_modules/pi-subagents/src/agents/agent-selection.d.ts +0 -3
  406. package/node_modules/pi-subagents/src/agents/agent-selection.d.ts.map +0 -1
  407. package/node_modules/pi-subagents/src/agents/agent-selection.js +0 -23
  408. package/node_modules/pi-subagents/src/agents/agent-selection.js.map +0 -1
  409. package/node_modules/pi-subagents/src/agents/agent-serializer.d.ts +0 -8
  410. package/node_modules/pi-subagents/src/agents/agent-serializer.d.ts.map +0 -1
  411. package/node_modules/pi-subagents/src/agents/agent-serializer.js +0 -206
  412. package/node_modules/pi-subagents/src/agents/agent-serializer.js.map +0 -1
  413. package/node_modules/pi-subagents/src/agents/agents.d.ts +0 -344
  414. package/node_modules/pi-subagents/src/agents/agents.d.ts.map +0 -1
  415. package/node_modules/pi-subagents/src/agents/agents.js +0 -2748
  416. package/node_modules/pi-subagents/src/agents/agents.js.map +0 -1
  417. package/node_modules/pi-subagents/src/agents/builtin-names.d.ts +0 -2
  418. package/node_modules/pi-subagents/src/agents/builtin-names.d.ts.map +0 -1
  419. package/node_modules/pi-subagents/src/agents/builtin-names.js +0 -17
  420. package/node_modules/pi-subagents/src/agents/builtin-names.js.map +0 -1
  421. package/node_modules/pi-subagents/src/agents/chain-serializer.d.ts +0 -7
  422. package/node_modules/pi-subagents/src/agents/chain-serializer.d.ts.map +0 -1
  423. package/node_modules/pi-subagents/src/agents/chain-serializer.js +0 -319
  424. package/node_modules/pi-subagents/src/agents/chain-serializer.js.map +0 -1
  425. package/node_modules/pi-subagents/src/agents/frontmatter.d.ts +0 -16
  426. package/node_modules/pi-subagents/src/agents/frontmatter.d.ts.map +0 -1
  427. package/node_modules/pi-subagents/src/agents/frontmatter.js +0 -142
  428. package/node_modules/pi-subagents/src/agents/frontmatter.js.map +0 -1
  429. package/node_modules/pi-subagents/src/agents/global-npm-root.d.ts +0 -7
  430. package/node_modules/pi-subagents/src/agents/global-npm-root.d.ts.map +0 -1
  431. package/node_modules/pi-subagents/src/agents/global-npm-root.js +0 -58
  432. package/node_modules/pi-subagents/src/agents/global-npm-root.js.map +0 -1
  433. package/node_modules/pi-subagents/src/agents/identity.d.ts +0 -8
  434. package/node_modules/pi-subagents/src/agents/identity.d.ts.map +0 -1
  435. package/node_modules/pi-subagents/src/agents/identity.js +0 -30
  436. package/node_modules/pi-subagents/src/agents/identity.js.map +0 -1
  437. package/node_modules/pi-subagents/src/agents/proactive-skills.d.ts +0 -36
  438. package/node_modules/pi-subagents/src/agents/proactive-skills.d.ts.map +0 -1
  439. package/node_modules/pi-subagents/src/agents/proactive-skills.js +0 -156
  440. package/node_modules/pi-subagents/src/agents/proactive-skills.js.map +0 -1
  441. package/node_modules/pi-subagents/src/agents/runtime-agent-events.d.ts +0 -27
  442. package/node_modules/pi-subagents/src/agents/runtime-agent-events.d.ts.map +0 -1
  443. package/node_modules/pi-subagents/src/agents/runtime-agent-events.js +0 -53
  444. package/node_modules/pi-subagents/src/agents/runtime-agent-events.js.map +0 -1
  445. package/node_modules/pi-subagents/src/agents/runtime-agent-registry.d.ts +0 -64
  446. package/node_modules/pi-subagents/src/agents/runtime-agent-registry.d.ts.map +0 -1
  447. package/node_modules/pi-subagents/src/agents/runtime-agent-registry.js +0 -395
  448. package/node_modules/pi-subagents/src/agents/runtime-agent-registry.js.map +0 -1
  449. package/node_modules/pi-subagents/src/agents/skills.d.ts +0 -35
  450. package/node_modules/pi-subagents/src/agents/skills.d.ts.map +0 -1
  451. package/node_modules/pi-subagents/src/agents/skills.js +0 -718
  452. package/node_modules/pi-subagents/src/agents/skills.js.map +0 -1
  453. package/node_modules/pi-subagents/src/api/agents.d.ts +0 -5
  454. package/node_modules/pi-subagents/src/api/agents.d.ts.map +0 -1
  455. package/node_modules/pi-subagents/src/api/agents.js +0 -3
  456. package/node_modules/pi-subagents/src/api/agents.js.map +0 -1
  457. package/node_modules/pi-subagents/src/api/background-work.d.ts +0 -39
  458. package/node_modules/pi-subagents/src/api/background-work.d.ts.map +0 -1
  459. package/node_modules/pi-subagents/src/api/background-work.js +0 -165
  460. package/node_modules/pi-subagents/src/api/background-work.js.map +0 -1
  461. package/node_modules/pi-subagents/src/api/capability-ceiling.d.ts +0 -2
  462. package/node_modules/pi-subagents/src/api/capability-ceiling.d.ts.map +0 -1
  463. package/node_modules/pi-subagents/src/api/capability-ceiling.js +0 -2
  464. package/node_modules/pi-subagents/src/api/capability-ceiling.js.map +0 -1
  465. package/node_modules/pi-subagents/src/api/child-tool-plan.d.ts +0 -2
  466. package/node_modules/pi-subagents/src/api/child-tool-plan.d.ts.map +0 -1
  467. package/node_modules/pi-subagents/src/api/child-tool-plan.js +0 -2
  468. package/node_modules/pi-subagents/src/api/child-tool-plan.js.map +0 -1
  469. package/node_modules/pi-subagents/src/api/control-channel.d.ts +0 -2
  470. package/node_modules/pi-subagents/src/api/control-channel.d.ts.map +0 -1
  471. package/node_modules/pi-subagents/src/api/control-channel.js +0 -2
  472. package/node_modules/pi-subagents/src/api/control-channel.js.map +0 -1
  473. package/node_modules/pi-subagents/src/api/delegation.d.ts +0 -113
  474. package/node_modules/pi-subagents/src/api/delegation.d.ts.map +0 -1
  475. package/node_modules/pi-subagents/src/api/delegation.js +0 -9
  476. package/node_modules/pi-subagents/src/api/delegation.js.map +0 -1
  477. package/node_modules/pi-subagents/src/api/external-job-provider.d.ts +0 -58
  478. package/node_modules/pi-subagents/src/api/external-job-provider.d.ts.map +0 -1
  479. package/node_modules/pi-subagents/src/api/external-job-provider.js +0 -140
  480. package/node_modules/pi-subagents/src/api/external-job-provider.js.map +0 -1
  481. package/node_modules/pi-subagents/src/api/external-runs.d.ts +0 -48
  482. package/node_modules/pi-subagents/src/api/external-runs.d.ts.map +0 -1
  483. package/node_modules/pi-subagents/src/api/external-runs.js +0 -246
  484. package/node_modules/pi-subagents/src/api/external-runs.js.map +0 -1
  485. package/node_modules/pi-subagents/src/api/inspectors.d.ts +0 -21
  486. package/node_modules/pi-subagents/src/api/inspectors.d.ts.map +0 -1
  487. package/node_modules/pi-subagents/src/api/inspectors.js +0 -12
  488. package/node_modules/pi-subagents/src/api/inspectors.js.map +0 -1
  489. package/node_modules/pi-subagents/src/api/intercom-bridge.d.ts +0 -2
  490. package/node_modules/pi-subagents/src/api/intercom-bridge.d.ts.map +0 -1
  491. package/node_modules/pi-subagents/src/api/intercom-bridge.js +0 -2
  492. package/node_modules/pi-subagents/src/api/intercom-bridge.js.map +0 -1
  493. package/node_modules/pi-subagents/src/api/preflight.d.ts +0 -179
  494. package/node_modules/pi-subagents/src/api/preflight.d.ts.map +0 -1
  495. package/node_modules/pi-subagents/src/api/preflight.js +0 -410
  496. package/node_modules/pi-subagents/src/api/preflight.js.map +0 -1
  497. package/node_modules/pi-subagents/src/api/project-panes.d.ts +0 -8
  498. package/node_modules/pi-subagents/src/api/project-panes.d.ts.map +0 -1
  499. package/node_modules/pi-subagents/src/api/project-panes.js +0 -8
  500. package/node_modules/pi-subagents/src/api/project-panes.js.map +0 -1
  501. package/node_modules/pi-subagents/src/api/required-child-extensions.d.ts +0 -2
  502. package/node_modules/pi-subagents/src/api/required-child-extensions.d.ts.map +0 -1
  503. package/node_modules/pi-subagents/src/api/required-child-extensions.js +0 -2
  504. package/node_modules/pi-subagents/src/api/required-child-extensions.js.map +0 -1
  505. package/node_modules/pi-subagents/src/api/shared-types.d.ts +0 -2
  506. package/node_modules/pi-subagents/src/api/shared-types.d.ts.map +0 -1
  507. package/node_modules/pi-subagents/src/api/shared-types.js +0 -2
  508. package/node_modules/pi-subagents/src/api/shared-types.js.map +0 -1
  509. package/node_modules/pi-subagents/src/api/workflow-resources.d.ts +0 -3
  510. package/node_modules/pi-subagents/src/api/workflow-resources.d.ts.map +0 -1
  511. package/node_modules/pi-subagents/src/api/workflow-resources.js +0 -2
  512. package/node_modules/pi-subagents/src/api/workflow-resources.js.map +0 -1
  513. package/node_modules/pi-subagents/src/extension/active-runs-prompt.d.ts +0 -8
  514. package/node_modules/pi-subagents/src/extension/active-runs-prompt.d.ts.map +0 -1
  515. package/node_modules/pi-subagents/src/extension/active-runs-prompt.js +0 -30
  516. package/node_modules/pi-subagents/src/extension/active-runs-prompt.js.map +0 -1
  517. package/node_modules/pi-subagents/src/extension/config.d.ts +0 -8
  518. package/node_modules/pi-subagents/src/extension/config.d.ts.map +0 -1
  519. package/node_modules/pi-subagents/src/extension/config.js +0 -283
  520. package/node_modules/pi-subagents/src/extension/config.js.map +0 -1
  521. package/node_modules/pi-subagents/src/extension/control-notices.d.ts +0 -19
  522. package/node_modules/pi-subagents/src/extension/control-notices.d.ts.map +0 -1
  523. package/node_modules/pi-subagents/src/extension/control-notices.js +0 -30
  524. package/node_modules/pi-subagents/src/extension/control-notices.js.map +0 -1
  525. package/node_modules/pi-subagents/src/extension/declaration-pinning.d.ts +0 -19
  526. package/node_modules/pi-subagents/src/extension/declaration-pinning.d.ts.map +0 -1
  527. package/node_modules/pi-subagents/src/extension/declaration-pinning.js +0 -154
  528. package/node_modules/pi-subagents/src/extension/declaration-pinning.js.map +0 -1
  529. package/node_modules/pi-subagents/src/extension/doctor.d.ts +0 -35
  530. package/node_modules/pi-subagents/src/extension/doctor.d.ts.map +0 -1
  531. package/node_modules/pi-subagents/src/extension/doctor.js +0 -226
  532. package/node_modules/pi-subagents/src/extension/doctor.js.map +0 -1
  533. package/node_modules/pi-subagents/src/extension/fanout-child.d.ts +0 -7
  534. package/node_modules/pi-subagents/src/extension/fanout-child.d.ts.map +0 -1
  535. package/node_modules/pi-subagents/src/extension/fanout-child.js +0 -278
  536. package/node_modules/pi-subagents/src/extension/fanout-child.js.map +0 -1
  537. package/node_modules/pi-subagents/src/extension/herdr-pi-bridge.d.ts +0 -17
  538. package/node_modules/pi-subagents/src/extension/herdr-pi-bridge.d.ts.map +0 -1
  539. package/node_modules/pi-subagents/src/extension/herdr-pi-bridge.js +0 -245
  540. package/node_modules/pi-subagents/src/extension/herdr-pi-bridge.js.map +0 -1
  541. package/node_modules/pi-subagents/src/extension/index.d.ts +0 -19
  542. package/node_modules/pi-subagents/src/extension/index.d.ts.map +0 -1
  543. package/node_modules/pi-subagents/src/extension/index.js +0 -1093
  544. package/node_modules/pi-subagents/src/extension/index.js.map +0 -1
  545. package/node_modules/pi-subagents/src/extension/public-execution.d.ts +0 -71
  546. package/node_modules/pi-subagents/src/extension/public-execution.d.ts.map +0 -1
  547. package/node_modules/pi-subagents/src/extension/public-execution.js +0 -212
  548. package/node_modules/pi-subagents/src/extension/public-execution.js.map +0 -1
  549. package/node_modules/pi-subagents/src/extension/reply-workflow-script.d.ts +0 -12
  550. package/node_modules/pi-subagents/src/extension/reply-workflow-script.d.ts.map +0 -1
  551. package/node_modules/pi-subagents/src/extension/reply-workflow-script.js +0 -70
  552. package/node_modules/pi-subagents/src/extension/reply-workflow-script.js.map +0 -1
  553. package/node_modules/pi-subagents/src/extension/rpc.d.ts +0 -85
  554. package/node_modules/pi-subagents/src/extension/rpc.d.ts.map +0 -1
  555. package/node_modules/pi-subagents/src/extension/rpc.js +0 -726
  556. package/node_modules/pi-subagents/src/extension/rpc.js.map +0 -1
  557. package/node_modules/pi-subagents/src/extension/schemas.d.ts +0 -275
  558. package/node_modules/pi-subagents/src/extension/schemas.d.ts.map +0 -1
  559. package/node_modules/pi-subagents/src/extension/schemas.js +0 -311
  560. package/node_modules/pi-subagents/src/extension/schemas.js.map +0 -1
  561. package/node_modules/pi-subagents/src/extension/steering-notices.d.ts +0 -15
  562. package/node_modules/pi-subagents/src/extension/steering-notices.d.ts.map +0 -1
  563. package/node_modules/pi-subagents/src/extension/steering-notices.js +0 -23
  564. package/node_modules/pi-subagents/src/extension/steering-notices.js.map +0 -1
  565. package/node_modules/pi-subagents/src/extension/subagent-guide.d.ts +0 -5
  566. package/node_modules/pi-subagents/src/extension/subagent-guide.d.ts.map +0 -1
  567. package/node_modules/pi-subagents/src/extension/subagent-guide.js +0 -116
  568. package/node_modules/pi-subagents/src/extension/subagent-guide.js.map +0 -1
  569. package/node_modules/pi-subagents/src/extension/subagent-options.d.ts +0 -8
  570. package/node_modules/pi-subagents/src/extension/subagent-options.d.ts.map +0 -1
  571. package/node_modules/pi-subagents/src/extension/subagent-options.js +0 -52
  572. package/node_modules/pi-subagents/src/extension/subagent-options.js.map +0 -1
  573. package/node_modules/pi-subagents/src/extension/tool-activation.d.ts +0 -7
  574. package/node_modules/pi-subagents/src/extension/tool-activation.d.ts.map +0 -1
  575. package/node_modules/pi-subagents/src/extension/tool-activation.js +0 -135
  576. package/node_modules/pi-subagents/src/extension/tool-activation.js.map +0 -1
  577. package/node_modules/pi-subagents/src/extension/tool-description.d.ts +0 -20
  578. package/node_modules/pi-subagents/src/extension/tool-description.d.ts.map +0 -1
  579. package/node_modules/pi-subagents/src/extension/tool-description.js +0 -170
  580. package/node_modules/pi-subagents/src/extension/tool-description.js.map +0 -1
  581. package/node_modules/pi-subagents/src/extension/tool-result.d.ts +0 -10
  582. package/node_modules/pi-subagents/src/extension/tool-result.d.ts.map +0 -1
  583. package/node_modules/pi-subagents/src/extension/tool-result.js +0 -17
  584. package/node_modules/pi-subagents/src/extension/tool-result.js.map +0 -1
  585. package/node_modules/pi-subagents/src/extension/upgrade-notice.d.ts +0 -7
  586. package/node_modules/pi-subagents/src/extension/upgrade-notice.d.ts.map +0 -1
  587. package/node_modules/pi-subagents/src/extension/upgrade-notice.js +0 -37
  588. package/node_modules/pi-subagents/src/extension/upgrade-notice.js.map +0 -1
  589. package/node_modules/pi-subagents/src/inspectors/actions.d.ts +0 -25
  590. package/node_modules/pi-subagents/src/inspectors/actions.d.ts.map +0 -1
  591. package/node_modules/pi-subagents/src/inspectors/actions.js +0 -183
  592. package/node_modules/pi-subagents/src/inspectors/actions.js.map +0 -1
  593. package/node_modules/pi-subagents/src/inspectors/ghostty/actions.d.ts +0 -12
  594. package/node_modules/pi-subagents/src/inspectors/ghostty/actions.d.ts.map +0 -1
  595. package/node_modules/pi-subagents/src/inspectors/ghostty/actions.js +0 -63
  596. package/node_modules/pi-subagents/src/inspectors/ghostty/actions.js.map +0 -1
  597. package/node_modules/pi-subagents/src/inspectors/ghostty/plugin.d.ts +0 -8
  598. package/node_modules/pi-subagents/src/inspectors/ghostty/plugin.d.ts.map +0 -1
  599. package/node_modules/pi-subagents/src/inspectors/ghostty/plugin.js +0 -24
  600. package/node_modules/pi-subagents/src/inspectors/ghostty/plugin.js.map +0 -1
  601. package/node_modules/pi-subagents/src/inspectors/herdr/actions.d.ts +0 -26
  602. package/node_modules/pi-subagents/src/inspectors/herdr/actions.d.ts.map +0 -1
  603. package/node_modules/pi-subagents/src/inspectors/herdr/actions.js +0 -134
  604. package/node_modules/pi-subagents/src/inspectors/herdr/actions.js.map +0 -1
  605. package/node_modules/pi-subagents/src/inspectors/herdr/client.d.ts +0 -42
  606. package/node_modules/pi-subagents/src/inspectors/herdr/client.d.ts.map +0 -1
  607. package/node_modules/pi-subagents/src/inspectors/herdr/client.js +0 -130
  608. package/node_modules/pi-subagents/src/inspectors/herdr/client.js.map +0 -1
  609. package/node_modules/pi-subagents/src/inspectors/herdr/focus.d.ts +0 -25
  610. package/node_modules/pi-subagents/src/inspectors/herdr/focus.d.ts.map +0 -1
  611. package/node_modules/pi-subagents/src/inspectors/herdr/focus.js +0 -50
  612. package/node_modules/pi-subagents/src/inspectors/herdr/focus.js.map +0 -1
  613. package/node_modules/pi-subagents/src/inspectors/herdr/plugin.d.ts +0 -7
  614. package/node_modules/pi-subagents/src/inspectors/herdr/plugin.d.ts.map +0 -1
  615. package/node_modules/pi-subagents/src/inspectors/herdr/plugin.js +0 -15
  616. package/node_modules/pi-subagents/src/inspectors/herdr/plugin.js.map +0 -1
  617. package/node_modules/pi-subagents/src/inspectors/herdr/project-panes.d.ts +0 -137
  618. package/node_modules/pi-subagents/src/inspectors/herdr/project-panes.d.ts.map +0 -1
  619. package/node_modules/pi-subagents/src/inspectors/herdr/project-panes.js +0 -608
  620. package/node_modules/pi-subagents/src/inspectors/herdr/project-panes.js.map +0 -1
  621. package/node_modules/pi-subagents/src/inspectors/inspector-runner.d.ts +0 -24
  622. package/node_modules/pi-subagents/src/inspectors/inspector-runner.d.ts.map +0 -1
  623. package/node_modules/pi-subagents/src/inspectors/inspector-runner.js +0 -162
  624. package/node_modules/pi-subagents/src/inspectors/inspector-runner.js.map +0 -1
  625. package/node_modules/pi-subagents/src/inspectors/plugins.d.ts +0 -9
  626. package/node_modules/pi-subagents/src/inspectors/plugins.d.ts.map +0 -1
  627. package/node_modules/pi-subagents/src/inspectors/plugins.js +0 -83
  628. package/node_modules/pi-subagents/src/inspectors/plugins.js.map +0 -1
  629. package/node_modules/pi-subagents/src/inspectors/session-roots-codec.d.ts +0 -16
  630. package/node_modules/pi-subagents/src/inspectors/session-roots-codec.d.ts.map +0 -1
  631. package/node_modules/pi-subagents/src/inspectors/session-roots-codec.js +0 -33
  632. package/node_modules/pi-subagents/src/inspectors/session-roots-codec.js.map +0 -1
  633. package/node_modules/pi-subagents/src/inspectors/shell-command.d.ts +0 -2
  634. package/node_modules/pi-subagents/src/inspectors/shell-command.d.ts.map +0 -1
  635. package/node_modules/pi-subagents/src/inspectors/shell-command.js +0 -17
  636. package/node_modules/pi-subagents/src/inspectors/shell-command.js.map +0 -1
  637. package/node_modules/pi-subagents/src/inspectors/tmux/actions.d.ts +0 -26
  638. package/node_modules/pi-subagents/src/inspectors/tmux/actions.d.ts.map +0 -1
  639. package/node_modules/pi-subagents/src/inspectors/tmux/actions.js +0 -182
  640. package/node_modules/pi-subagents/src/inspectors/tmux/actions.js.map +0 -1
  641. package/node_modules/pi-subagents/src/inspectors/tmux/client.d.ts +0 -28
  642. package/node_modules/pi-subagents/src/inspectors/tmux/client.d.ts.map +0 -1
  643. package/node_modules/pi-subagents/src/inspectors/tmux/client.js +0 -65
  644. package/node_modules/pi-subagents/src/inspectors/tmux/client.js.map +0 -1
  645. package/node_modules/pi-subagents/src/inspectors/tmux/plugin.d.ts +0 -8
  646. package/node_modules/pi-subagents/src/inspectors/tmux/plugin.d.ts.map +0 -1
  647. package/node_modules/pi-subagents/src/inspectors/tmux/plugin.js +0 -15
  648. package/node_modules/pi-subagents/src/inspectors/tmux/plugin.js.map +0 -1
  649. package/node_modules/pi-subagents/src/inspectors/types.d.ts +0 -49
  650. package/node_modules/pi-subagents/src/inspectors/types.d.ts.map +0 -1
  651. package/node_modules/pi-subagents/src/inspectors/types.js +0 -2
  652. package/node_modules/pi-subagents/src/inspectors/types.js.map +0 -1
  653. package/node_modules/pi-subagents/src/integrations/herdr-status.d.ts +0 -48
  654. package/node_modules/pi-subagents/src/integrations/herdr-status.d.ts.map +0 -1
  655. package/node_modules/pi-subagents/src/integrations/herdr-status.js +0 -351
  656. package/node_modules/pi-subagents/src/integrations/herdr-status.js.map +0 -1
  657. package/node_modules/pi-subagents/src/integrations/pi-web-session-liveness.d.ts +0 -20
  658. package/node_modules/pi-subagents/src/integrations/pi-web-session-liveness.d.ts.map +0 -1
  659. package/node_modules/pi-subagents/src/integrations/pi-web-session-liveness.js +0 -54
  660. package/node_modules/pi-subagents/src/integrations/pi-web-session-liveness.js.map +0 -1
  661. package/node_modules/pi-subagents/src/integrations/program-status.d.ts +0 -31
  662. package/node_modules/pi-subagents/src/integrations/program-status.d.ts.map +0 -1
  663. package/node_modules/pi-subagents/src/integrations/program-status.js +0 -189
  664. package/node_modules/pi-subagents/src/integrations/program-status.js.map +0 -1
  665. package/node_modules/pi-subagents/src/intercom/intercom-bridge.d.ts +0 -59
  666. package/node_modules/pi-subagents/src/intercom/intercom-bridge.d.ts.map +0 -1
  667. package/node_modules/pi-subagents/src/intercom/intercom-bridge.js +0 -194
  668. package/node_modules/pi-subagents/src/intercom/intercom-bridge.js.map +0 -1
  669. package/node_modules/pi-subagents/src/intercom/native-supervisor-channel.d.ts +0 -80
  670. package/node_modules/pi-subagents/src/intercom/native-supervisor-channel.d.ts.map +0 -1
  671. package/node_modules/pi-subagents/src/intercom/native-supervisor-channel.js +0 -992
  672. package/node_modules/pi-subagents/src/intercom/native-supervisor-channel.js.map +0 -1
  673. package/node_modules/pi-subagents/src/intercom/result-intercom.d.ts +0 -36
  674. package/node_modules/pi-subagents/src/intercom/result-intercom.d.ts.map +0 -1
  675. package/node_modules/pi-subagents/src/intercom/result-intercom.js +0 -373
  676. package/node_modules/pi-subagents/src/intercom/result-intercom.js.map +0 -1
  677. package/node_modules/pi-subagents/src/intercom/supervisor-ui.d.ts +0 -30
  678. package/node_modules/pi-subagents/src/intercom/supervisor-ui.d.ts.map +0 -1
  679. package/node_modules/pi-subagents/src/intercom/supervisor-ui.js +0 -50
  680. package/node_modules/pi-subagents/src/intercom/supervisor-ui.js.map +0 -1
  681. package/node_modules/pi-subagents/src/missions/actions.d.ts +0 -55
  682. package/node_modules/pi-subagents/src/missions/actions.d.ts.map +0 -1
  683. package/node_modules/pi-subagents/src/missions/actions.js +0 -396
  684. package/node_modules/pi-subagents/src/missions/actions.js.map +0 -1
  685. package/node_modules/pi-subagents/src/missions/goal-driver.d.ts +0 -17
  686. package/node_modules/pi-subagents/src/missions/goal-driver.d.ts.map +0 -1
  687. package/node_modules/pi-subagents/src/missions/goal-driver.js +0 -172
  688. package/node_modules/pi-subagents/src/missions/goal-driver.js.map +0 -1
  689. package/node_modules/pi-subagents/src/missions/lifecycle.d.ts +0 -40
  690. package/node_modules/pi-subagents/src/missions/lifecycle.d.ts.map +0 -1
  691. package/node_modules/pi-subagents/src/missions/lifecycle.js +0 -352
  692. package/node_modules/pi-subagents/src/missions/lifecycle.js.map +0 -1
  693. package/node_modules/pi-subagents/src/missions/store.d.ts +0 -22
  694. package/node_modules/pi-subagents/src/missions/store.d.ts.map +0 -1
  695. package/node_modules/pi-subagents/src/missions/store.js +0 -605
  696. package/node_modules/pi-subagents/src/missions/store.js.map +0 -1
  697. package/node_modules/pi-subagents/src/missions/types.d.ts +0 -168
  698. package/node_modules/pi-subagents/src/missions/types.d.ts.map +0 -1
  699. package/node_modules/pi-subagents/src/missions/types.js +0 -10
  700. package/node_modules/pi-subagents/src/missions/types.js.map +0 -1
  701. package/node_modules/pi-subagents/src/missions/workflow-state.d.ts +0 -15
  702. package/node_modules/pi-subagents/src/missions/workflow-state.d.ts.map +0 -1
  703. package/node_modules/pi-subagents/src/missions/workflow-state.js +0 -274
  704. package/node_modules/pi-subagents/src/missions/workflow-state.js.map +0 -1
  705. package/node_modules/pi-subagents/src/policy/authority.d.ts +0 -10
  706. package/node_modules/pi-subagents/src/policy/authority.d.ts.map +0 -1
  707. package/node_modules/pi-subagents/src/policy/authority.js +0 -42
  708. package/node_modules/pi-subagents/src/policy/authority.js.map +0 -1
  709. package/node_modules/pi-subagents/src/profiles/profiles.d.ts +0 -135
  710. package/node_modules/pi-subagents/src/profiles/profiles.d.ts.map +0 -1
  711. package/node_modules/pi-subagents/src/profiles/profiles.js +0 -527
  712. package/node_modules/pi-subagents/src/profiles/profiles.js.map +0 -1
  713. package/node_modules/pi-subagents/src/runs/background/active-async-capacity.d.ts +0 -115
  714. package/node_modules/pi-subagents/src/runs/background/active-async-capacity.d.ts.map +0 -1
  715. package/node_modules/pi-subagents/src/runs/background/active-async-capacity.js +0 -512
  716. package/node_modules/pi-subagents/src/runs/background/active-async-capacity.js.map +0 -1
  717. package/node_modules/pi-subagents/src/runs/background/active-run-index.d.ts +0 -13
  718. package/node_modules/pi-subagents/src/runs/background/active-run-index.d.ts.map +0 -1
  719. package/node_modules/pi-subagents/src/runs/background/active-run-index.js +0 -158
  720. package/node_modules/pi-subagents/src/runs/background/active-run-index.js.map +0 -1
  721. package/node_modules/pi-subagents/src/runs/background/async-execution.d.ts +0 -298
  722. package/node_modules/pi-subagents/src/runs/background/async-execution.d.ts.map +0 -1
  723. package/node_modules/pi-subagents/src/runs/background/async-execution.js +0 -2125
  724. package/node_modules/pi-subagents/src/runs/background/async-execution.js.map +0 -1
  725. package/node_modules/pi-subagents/src/runs/background/async-job-tracker.d.ts +0 -33
  726. package/node_modules/pi-subagents/src/runs/background/async-job-tracker.d.ts.map +0 -1
  727. package/node_modules/pi-subagents/src/runs/background/async-job-tracker.js +0 -908
  728. package/node_modules/pi-subagents/src/runs/background/async-job-tracker.js.map +0 -1
  729. package/node_modules/pi-subagents/src/runs/background/async-resume.d.ts +0 -59
  730. package/node_modules/pi-subagents/src/runs/background/async-resume.d.ts.map +0 -1
  731. package/node_modules/pi-subagents/src/runs/background/async-resume.js +0 -678
  732. package/node_modules/pi-subagents/src/runs/background/async-resume.js.map +0 -1
  733. package/node_modules/pi-subagents/src/runs/background/async-retention.d.ts +0 -45
  734. package/node_modules/pi-subagents/src/runs/background/async-retention.d.ts.map +0 -1
  735. package/node_modules/pi-subagents/src/runs/background/async-retention.js +0 -916
  736. package/node_modules/pi-subagents/src/runs/background/async-retention.js.map +0 -1
  737. package/node_modules/pi-subagents/src/runs/background/async-status-snapshot.d.ts +0 -10
  738. package/node_modules/pi-subagents/src/runs/background/async-status-snapshot.d.ts.map +0 -1
  739. package/node_modules/pi-subagents/src/runs/background/async-status-snapshot.js +0 -25
  740. package/node_modules/pi-subagents/src/runs/background/async-status-snapshot.js.map +0 -1
  741. package/node_modules/pi-subagents/src/runs/background/async-status.d.ts +0 -170
  742. package/node_modules/pi-subagents/src/runs/background/async-status.d.ts.map +0 -1
  743. package/node_modules/pi-subagents/src/runs/background/async-status.js +0 -674
  744. package/node_modules/pi-subagents/src/runs/background/async-status.js.map +0 -1
  745. package/node_modules/pi-subagents/src/runs/background/auto-drain.d.ts +0 -17
  746. package/node_modules/pi-subagents/src/runs/background/auto-drain.d.ts.map +0 -1
  747. package/node_modules/pi-subagents/src/runs/background/auto-drain.js +0 -73
  748. package/node_modules/pi-subagents/src/runs/background/auto-drain.js.map +0 -1
  749. package/node_modules/pi-subagents/src/runs/background/await-async-run.d.ts +0 -27
  750. package/node_modules/pi-subagents/src/runs/background/await-async-run.d.ts.map +0 -1
  751. package/node_modules/pi-subagents/src/runs/background/await-async-run.js +0 -88
  752. package/node_modules/pi-subagents/src/runs/background/await-async-run.js.map +0 -1
  753. package/node_modules/pi-subagents/src/runs/background/binary-bootstrap.d.ts +0 -9
  754. package/node_modules/pi-subagents/src/runs/background/binary-bootstrap.d.ts.map +0 -1
  755. package/node_modules/pi-subagents/src/runs/background/binary-bootstrap.js +0 -70
  756. package/node_modules/pi-subagents/src/runs/background/binary-bootstrap.js.map +0 -1
  757. package/node_modules/pi-subagents/src/runs/background/calendar-schedule.d.ts +0 -27
  758. package/node_modules/pi-subagents/src/runs/background/calendar-schedule.d.ts.map +0 -1
  759. package/node_modules/pi-subagents/src/runs/background/calendar-schedule.js +0 -94
  760. package/node_modules/pi-subagents/src/runs/background/calendar-schedule.js.map +0 -1
  761. package/node_modules/pi-subagents/src/runs/background/chain-append.d.ts +0 -35
  762. package/node_modules/pi-subagents/src/runs/background/chain-append.d.ts.map +0 -1
  763. package/node_modules/pi-subagents/src/runs/background/chain-append.js +0 -300
  764. package/node_modules/pi-subagents/src/runs/background/chain-append.js.map +0 -1
  765. package/node_modules/pi-subagents/src/runs/background/chain-root-attachment.d.ts +0 -52
  766. package/node_modules/pi-subagents/src/runs/background/chain-root-attachment.d.ts.map +0 -1
  767. package/node_modules/pi-subagents/src/runs/background/chain-root-attachment.js +0 -187
  768. package/node_modules/pi-subagents/src/runs/background/chain-root-attachment.js.map +0 -1
  769. package/node_modules/pi-subagents/src/runs/background/completion-batcher.d.ts +0 -52
  770. package/node_modules/pi-subagents/src/runs/background/completion-batcher.d.ts.map +0 -1
  771. package/node_modules/pi-subagents/src/runs/background/completion-batcher.js +0 -120
  772. package/node_modules/pi-subagents/src/runs/background/completion-batcher.js.map +0 -1
  773. package/node_modules/pi-subagents/src/runs/background/completion-dedupe.d.ts +0 -14
  774. package/node_modules/pi-subagents/src/runs/background/completion-dedupe.d.ts.map +0 -1
  775. package/node_modules/pi-subagents/src/runs/background/completion-dedupe.js +0 -49
  776. package/node_modules/pi-subagents/src/runs/background/completion-dedupe.js.map +0 -1
  777. package/node_modules/pi-subagents/src/runs/background/completion-replay.d.ts +0 -48
  778. package/node_modules/pi-subagents/src/runs/background/completion-replay.d.ts.map +0 -1
  779. package/node_modules/pi-subagents/src/runs/background/completion-replay.js +0 -267
  780. package/node_modules/pi-subagents/src/runs/background/completion-replay.js.map +0 -1
  781. package/node_modules/pi-subagents/src/runs/background/control-channel.d.ts +0 -171
  782. package/node_modules/pi-subagents/src/runs/background/control-channel.d.ts.map +0 -1
  783. package/node_modules/pi-subagents/src/runs/background/control-channel.js +0 -611
  784. package/node_modules/pi-subagents/src/runs/background/control-channel.js.map +0 -1
  785. package/node_modules/pi-subagents/src/runs/background/fleet-view.d.ts +0 -64
  786. package/node_modules/pi-subagents/src/runs/background/fleet-view.d.ts.map +0 -1
  787. package/node_modules/pi-subagents/src/runs/background/fleet-view.js +0 -667
  788. package/node_modules/pi-subagents/src/runs/background/fleet-view.js.map +0 -1
  789. package/node_modules/pi-subagents/src/runs/background/index-segment.d.ts +0 -16
  790. package/node_modules/pi-subagents/src/runs/background/index-segment.d.ts.map +0 -1
  791. package/node_modules/pi-subagents/src/runs/background/index-segment.js +0 -59
  792. package/node_modules/pi-subagents/src/runs/background/index-segment.js.map +0 -1
  793. package/node_modules/pi-subagents/src/runs/background/inspect-rpc.d.ts +0 -60
  794. package/node_modules/pi-subagents/src/runs/background/inspect-rpc.d.ts.map +0 -1
  795. package/node_modules/pi-subagents/src/runs/background/inspect-rpc.js +0 -406
  796. package/node_modules/pi-subagents/src/runs/background/inspect-rpc.js.map +0 -1
  797. package/node_modules/pi-subagents/src/runs/background/notify.d.ts +0 -192
  798. package/node_modules/pi-subagents/src/runs/background/notify.d.ts.map +0 -1
  799. package/node_modules/pi-subagents/src/runs/background/notify.js +0 -897
  800. package/node_modules/pi-subagents/src/runs/background/notify.js.map +0 -1
  801. package/node_modules/pi-subagents/src/runs/background/owned-process-tree.d.ts +0 -11
  802. package/node_modules/pi-subagents/src/runs/background/owned-process-tree.d.ts.map +0 -1
  803. package/node_modules/pi-subagents/src/runs/background/owned-process-tree.js +0 -117
  804. package/node_modules/pi-subagents/src/runs/background/owned-process-tree.js.map +0 -1
  805. package/node_modules/pi-subagents/src/runs/background/parallel-groups.d.ts +0 -4
  806. package/node_modules/pi-subagents/src/runs/background/parallel-groups.d.ts.map +0 -1
  807. package/node_modules/pi-subagents/src/runs/background/parallel-groups.js +0 -47
  808. package/node_modules/pi-subagents/src/runs/background/parallel-groups.js.map +0 -1
  809. package/node_modules/pi-subagents/src/runs/background/pid-namespace.d.ts +0 -3
  810. package/node_modules/pi-subagents/src/runs/background/pid-namespace.d.ts.map +0 -1
  811. package/node_modules/pi-subagents/src/runs/background/pid-namespace.js +0 -20
  812. package/node_modules/pi-subagents/src/runs/background/pid-namespace.js.map +0 -1
  813. package/node_modules/pi-subagents/src/runs/background/process-terminal-candidate.d.ts +0 -18
  814. package/node_modules/pi-subagents/src/runs/background/process-terminal-candidate.d.ts.map +0 -1
  815. package/node_modules/pi-subagents/src/runs/background/process-terminal-candidate.js +0 -97
  816. package/node_modules/pi-subagents/src/runs/background/process-terminal-candidate.js.map +0 -1
  817. package/node_modules/pi-subagents/src/runs/background/process-terminal.d.ts +0 -22
  818. package/node_modules/pi-subagents/src/runs/background/process-terminal.d.ts.map +0 -1
  819. package/node_modules/pi-subagents/src/runs/background/process-terminal.js +0 -228
  820. package/node_modules/pi-subagents/src/runs/background/process-terminal.js.map +0 -1
  821. package/node_modules/pi-subagents/src/runs/background/result-delivery-ownership.d.ts +0 -11
  822. package/node_modules/pi-subagents/src/runs/background/result-delivery-ownership.d.ts.map +0 -1
  823. package/node_modules/pi-subagents/src/runs/background/result-delivery-ownership.js +0 -37
  824. package/node_modules/pi-subagents/src/runs/background/result-delivery-ownership.js.map +0 -1
  825. package/node_modules/pi-subagents/src/runs/background/result-files.d.ts +0 -62
  826. package/node_modules/pi-subagents/src/runs/background/result-files.d.ts.map +0 -1
  827. package/node_modules/pi-subagents/src/runs/background/result-files.js +0 -626
  828. package/node_modules/pi-subagents/src/runs/background/result-files.js.map +0 -1
  829. package/node_modules/pi-subagents/src/runs/background/result-watcher.d.ts +0 -91
  830. package/node_modules/pi-subagents/src/runs/background/result-watcher.d.ts.map +0 -1
  831. package/node_modules/pi-subagents/src/runs/background/result-watcher.js +0 -797
  832. package/node_modules/pi-subagents/src/runs/background/result-watcher.js.map +0 -1
  833. package/node_modules/pi-subagents/src/runs/background/resume-guidance.d.ts +0 -5
  834. package/node_modules/pi-subagents/src/runs/background/resume-guidance.d.ts.map +0 -1
  835. package/node_modules/pi-subagents/src/runs/background/resume-guidance.js +0 -57
  836. package/node_modules/pi-subagents/src/runs/background/resume-guidance.js.map +0 -1
  837. package/node_modules/pi-subagents/src/runs/background/retained-children.d.ts +0 -25
  838. package/node_modules/pi-subagents/src/runs/background/retained-children.d.ts.map +0 -1
  839. package/node_modules/pi-subagents/src/runs/background/retained-children.js +0 -129
  840. package/node_modules/pi-subagents/src/runs/background/retained-children.js.map +0 -1
  841. package/node_modules/pi-subagents/src/runs/background/retained-nested-route-tracker.d.ts +0 -13
  842. package/node_modules/pi-subagents/src/runs/background/retained-nested-route-tracker.d.ts.map +0 -1
  843. package/node_modules/pi-subagents/src/runs/background/retained-nested-route-tracker.js +0 -91
  844. package/node_modules/pi-subagents/src/runs/background/retained-nested-route-tracker.js.map +0 -1
  845. package/node_modules/pi-subagents/src/runs/background/run-child-session.d.ts +0 -127
  846. package/node_modules/pi-subagents/src/runs/background/run-child-session.d.ts.map +0 -1
  847. package/node_modules/pi-subagents/src/runs/background/run-child-session.js +0 -626
  848. package/node_modules/pi-subagents/src/runs/background/run-child-session.js.map +0 -1
  849. package/node_modules/pi-subagents/src/runs/background/run-id-query.d.ts +0 -4
  850. package/node_modules/pi-subagents/src/runs/background/run-id-query.d.ts.map +0 -1
  851. package/node_modules/pi-subagents/src/runs/background/run-id-query.js +0 -7
  852. package/node_modules/pi-subagents/src/runs/background/run-id-query.js.map +0 -1
  853. package/node_modules/pi-subagents/src/runs/background/run-id-resolver.d.ts +0 -23
  854. package/node_modules/pi-subagents/src/runs/background/run-id-resolver.d.ts.map +0 -1
  855. package/node_modules/pi-subagents/src/runs/background/run-id-resolver.js +0 -173
  856. package/node_modules/pi-subagents/src/runs/background/run-id-resolver.js.map +0 -1
  857. package/node_modules/pi-subagents/src/runs/background/run-status.d.ts +0 -26
  858. package/node_modules/pi-subagents/src/runs/background/run-status.d.ts.map +0 -1
  859. package/node_modules/pi-subagents/src/runs/background/run-status.js +0 -843
  860. package/node_modules/pi-subagents/src/runs/background/run-status.js.map +0 -1
  861. package/node_modules/pi-subagents/src/runs/background/runner-aliases.d.ts +0 -18
  862. package/node_modules/pi-subagents/src/runs/background/runner-aliases.d.ts.map +0 -1
  863. package/node_modules/pi-subagents/src/runs/background/runner-aliases.js +0 -160
  864. package/node_modules/pi-subagents/src/runs/background/runner-aliases.js.map +0 -1
  865. package/node_modules/pi-subagents/src/runs/background/runner-child-launch.d.ts +0 -25
  866. package/node_modules/pi-subagents/src/runs/background/runner-child-launch.d.ts.map +0 -1
  867. package/node_modules/pi-subagents/src/runs/background/runner-child-launch.js +0 -71
  868. package/node_modules/pi-subagents/src/runs/background/runner-child-launch.js.map +0 -1
  869. package/node_modules/pi-subagents/src/runs/background/runner-child-sessions.d.ts +0 -7
  870. package/node_modules/pi-subagents/src/runs/background/runner-child-sessions.d.ts.map +0 -1
  871. package/node_modules/pi-subagents/src/runs/background/runner-child-sessions.js +0 -35
  872. package/node_modules/pi-subagents/src/runs/background/runner-child-sessions.js.map +0 -1
  873. package/node_modules/pi-subagents/src/runs/background/runner-http-dispatcher.d.ts +0 -46
  874. package/node_modules/pi-subagents/src/runs/background/runner-http-dispatcher.d.ts.map +0 -1
  875. package/node_modules/pi-subagents/src/runs/background/runner-http-dispatcher.js +0 -116
  876. package/node_modules/pi-subagents/src/runs/background/runner-http-dispatcher.js.map +0 -1
  877. package/node_modules/pi-subagents/src/runs/background/runner-startup-failure.d.ts +0 -14
  878. package/node_modules/pi-subagents/src/runs/background/runner-startup-failure.d.ts.map +0 -1
  879. package/node_modules/pi-subagents/src/runs/background/runner-startup-failure.js +0 -47
  880. package/node_modules/pi-subagents/src/runs/background/runner-startup-failure.js.map +0 -1
  881. package/node_modules/pi-subagents/src/runs/background/scheduled-runs.d.ts +0 -128
  882. package/node_modules/pi-subagents/src/runs/background/scheduled-runs.d.ts.map +0 -1
  883. package/node_modules/pi-subagents/src/runs/background/scheduled-runs.js +0 -1266
  884. package/node_modules/pi-subagents/src/runs/background/scheduled-runs.js.map +0 -1
  885. package/node_modules/pi-subagents/src/runs/background/stale-run-reconciler.d.ts +0 -38
  886. package/node_modules/pi-subagents/src/runs/background/stale-run-reconciler.d.ts.map +0 -1
  887. package/node_modules/pi-subagents/src/runs/background/stale-run-reconciler.js +0 -421
  888. package/node_modules/pi-subagents/src/runs/background/stale-run-reconciler.js.map +0 -1
  889. package/node_modules/pi-subagents/src/runs/background/steering.d.ts +0 -52
  890. package/node_modules/pi-subagents/src/runs/background/steering.d.ts.map +0 -1
  891. package/node_modules/pi-subagents/src/runs/background/steering.js +0 -247
  892. package/node_modules/pi-subagents/src/runs/background/steering.js.map +0 -1
  893. package/node_modules/pi-subagents/src/runs/background/subagent-runner-bootstrap.d.ts +0 -14
  894. package/node_modules/pi-subagents/src/runs/background/subagent-runner-bootstrap.d.ts.map +0 -1
  895. package/node_modules/pi-subagents/src/runs/background/subagent-runner-bootstrap.js +0 -281
  896. package/node_modules/pi-subagents/src/runs/background/subagent-runner-bootstrap.js.map +0 -1
  897. package/node_modules/pi-subagents/src/runs/background/subagent-runner.d.ts +0 -205
  898. package/node_modules/pi-subagents/src/runs/background/subagent-runner.d.ts.map +0 -1
  899. package/node_modules/pi-subagents/src/runs/background/subagent-runner.js +0 -4919
  900. package/node_modules/pi-subagents/src/runs/background/subagent-runner.js.map +0 -1
  901. package/node_modules/pi-subagents/src/runs/background/subagent-wait.d.ts +0 -124
  902. package/node_modules/pi-subagents/src/runs/background/subagent-wait.d.ts.map +0 -1
  903. package/node_modules/pi-subagents/src/runs/background/subagent-wait.js +0 -749
  904. package/node_modules/pi-subagents/src/runs/background/subagent-wait.js.map +0 -1
  905. package/node_modules/pi-subagents/src/runs/background/terminal-run-index.d.ts +0 -9
  906. package/node_modules/pi-subagents/src/runs/background/terminal-run-index.d.ts.map +0 -1
  907. package/node_modules/pi-subagents/src/runs/background/terminal-run-index.js +0 -169
  908. package/node_modules/pi-subagents/src/runs/background/terminal-run-index.js.map +0 -1
  909. package/node_modules/pi-subagents/src/runs/background/top-level-async.d.ts +0 -8
  910. package/node_modules/pi-subagents/src/runs/background/top-level-async.d.ts.map +0 -1
  911. package/node_modules/pi-subagents/src/runs/background/top-level-async.js +0 -6
  912. package/node_modules/pi-subagents/src/runs/background/top-level-async.js.map +0 -1
  913. package/node_modules/pi-subagents/src/runs/background/wait-completions.d.ts +0 -29
  914. package/node_modules/pi-subagents/src/runs/background/wait-completions.d.ts.map +0 -1
  915. package/node_modules/pi-subagents/src/runs/background/wait-completions.js +0 -265
  916. package/node_modules/pi-subagents/src/runs/background/wait-completions.js.map +0 -1
  917. package/node_modules/pi-subagents/src/runs/background/wait-config.d.ts +0 -9
  918. package/node_modules/pi-subagents/src/runs/background/wait-config.d.ts.map +0 -1
  919. package/node_modules/pi-subagents/src/runs/background/wait-config.js +0 -47
  920. package/node_modules/pi-subagents/src/runs/background/wait-config.js.map +0 -1
  921. package/node_modules/pi-subagents/src/runs/background/wait-subscriptions.d.ts +0 -27
  922. package/node_modules/pi-subagents/src/runs/background/wait-subscriptions.d.ts.map +0 -1
  923. package/node_modules/pi-subagents/src/runs/background/wait-subscriptions.js +0 -337
  924. package/node_modules/pi-subagents/src/runs/background/wait-subscriptions.js.map +0 -1
  925. package/node_modules/pi-subagents/src/runs/background/wait-tool.d.ts +0 -7
  926. package/node_modules/pi-subagents/src/runs/background/wait-tool.d.ts.map +0 -1
  927. package/node_modules/pi-subagents/src/runs/background/wait-tool.js +0 -49
  928. package/node_modules/pi-subagents/src/runs/background/wait-tool.js.map +0 -1
  929. package/node_modules/pi-subagents/src/runs/background/workflow-terminal-proof.d.ts +0 -31
  930. package/node_modules/pi-subagents/src/runs/background/workflow-terminal-proof.d.ts.map +0 -1
  931. package/node_modules/pi-subagents/src/runs/background/workflow-terminal-proof.js +0 -90
  932. package/node_modules/pi-subagents/src/runs/background/workflow-terminal-proof.js.map +0 -1
  933. package/node_modules/pi-subagents/src/runs/foreground/async-dismiss-action.d.ts +0 -7
  934. package/node_modules/pi-subagents/src/runs/foreground/async-dismiss-action.d.ts.map +0 -1
  935. package/node_modules/pi-subagents/src/runs/foreground/async-dismiss-action.js +0 -82
  936. package/node_modules/pi-subagents/src/runs/foreground/async-dismiss-action.js.map +0 -1
  937. package/node_modules/pi-subagents/src/runs/foreground/async-steering-action.d.ts +0 -32
  938. package/node_modules/pi-subagents/src/runs/foreground/async-steering-action.d.ts.map +0 -1
  939. package/node_modules/pi-subagents/src/runs/foreground/async-steering-action.js +0 -270
  940. package/node_modules/pi-subagents/src/runs/foreground/async-steering-action.js.map +0 -1
  941. package/node_modules/pi-subagents/src/runs/foreground/async-stop-action.d.ts +0 -13
  942. package/node_modules/pi-subagents/src/runs/foreground/async-stop-action.d.ts.map +0 -1
  943. package/node_modules/pi-subagents/src/runs/foreground/async-stop-action.js +0 -210
  944. package/node_modules/pi-subagents/src/runs/foreground/async-stop-action.js.map +0 -1
  945. package/node_modules/pi-subagents/src/runs/foreground/command-action.d.ts +0 -13
  946. package/node_modules/pi-subagents/src/runs/foreground/command-action.d.ts.map +0 -1
  947. package/node_modules/pi-subagents/src/runs/foreground/command-action.js +0 -38
  948. package/node_modules/pi-subagents/src/runs/foreground/command-action.js.map +0 -1
  949. package/node_modules/pi-subagents/src/runs/foreground/execution.d.ts +0 -11
  950. package/node_modules/pi-subagents/src/runs/foreground/execution.d.ts.map +0 -1
  951. package/node_modules/pi-subagents/src/runs/foreground/execution.js +0 -2181
  952. package/node_modules/pi-subagents/src/runs/foreground/execution.js.map +0 -1
  953. package/node_modules/pi-subagents/src/runs/foreground/foreground-control.d.ts +0 -25
  954. package/node_modules/pi-subagents/src/runs/foreground/foreground-control.d.ts.map +0 -1
  955. package/node_modules/pi-subagents/src/runs/foreground/foreground-control.js +0 -139
  956. package/node_modules/pi-subagents/src/runs/foreground/foreground-control.js.map +0 -1
  957. package/node_modules/pi-subagents/src/runs/foreground/foreground-history.d.ts +0 -12
  958. package/node_modules/pi-subagents/src/runs/foreground/foreground-history.d.ts.map +0 -1
  959. package/node_modules/pi-subagents/src/runs/foreground/foreground-history.js +0 -166
  960. package/node_modules/pi-subagents/src/runs/foreground/foreground-history.js.map +0 -1
  961. package/node_modules/pi-subagents/src/runs/foreground/prompt-audit.d.ts +0 -33
  962. package/node_modules/pi-subagents/src/runs/foreground/prompt-audit.d.ts.map +0 -1
  963. package/node_modules/pi-subagents/src/runs/foreground/prompt-audit.js +0 -139
  964. package/node_modules/pi-subagents/src/runs/foreground/prompt-audit.js.map +0 -1
  965. package/node_modules/pi-subagents/src/runs/foreground/subagent-executor.d.ts +0 -303
  966. package/node_modules/pi-subagents/src/runs/foreground/subagent-executor.d.ts.map +0 -1
  967. package/node_modules/pi-subagents/src/runs/foreground/subagent-executor.js +0 -7629
  968. package/node_modules/pi-subagents/src/runs/foreground/subagent-executor.js.map +0 -1
  969. package/node_modules/pi-subagents/src/runs/foreground/workflow-detach-reconcile.d.ts +0 -16
  970. package/node_modules/pi-subagents/src/runs/foreground/workflow-detach-reconcile.d.ts.map +0 -1
  971. package/node_modules/pi-subagents/src/runs/foreground/workflow-detach-reconcile.js +0 -284
  972. package/node_modules/pi-subagents/src/runs/foreground/workflow-detach-reconcile.js.map +0 -1
  973. package/node_modules/pi-subagents/src/runs/foreground/workflow-foreground-steering.d.ts +0 -44
  974. package/node_modules/pi-subagents/src/runs/foreground/workflow-foreground-steering.d.ts.map +0 -1
  975. package/node_modules/pi-subagents/src/runs/foreground/workflow-foreground-steering.js +0 -149
  976. package/node_modules/pi-subagents/src/runs/foreground/workflow-foreground-steering.js.map +0 -1
  977. package/node_modules/pi-subagents/src/runs/shared/abort-recovery.d.ts +0 -27
  978. package/node_modules/pi-subagents/src/runs/shared/abort-recovery.d.ts.map +0 -1
  979. package/node_modules/pi-subagents/src/runs/shared/abort-recovery.js +0 -109
  980. package/node_modules/pi-subagents/src/runs/shared/abort-recovery.js.map +0 -1
  981. package/node_modules/pi-subagents/src/runs/shared/acceptance.d.ts +0 -145
  982. package/node_modules/pi-subagents/src/runs/shared/acceptance.d.ts.map +0 -1
  983. package/node_modules/pi-subagents/src/runs/shared/acceptance.js +0 -1617
  984. package/node_modules/pi-subagents/src/runs/shared/acceptance.js.map +0 -1
  985. package/node_modules/pi-subagents/src/runs/shared/agent-contract.d.ts +0 -6
  986. package/node_modules/pi-subagents/src/runs/shared/agent-contract.d.ts.map +0 -1
  987. package/node_modules/pi-subagents/src/runs/shared/agent-contract.js +0 -36
  988. package/node_modules/pi-subagents/src/runs/shared/agent-contract.js.map +0 -1
  989. package/node_modules/pi-subagents/src/runs/shared/async-status-projection.d.ts +0 -97
  990. package/node_modules/pi-subagents/src/runs/shared/async-status-projection.d.ts.map +0 -1
  991. package/node_modules/pi-subagents/src/runs/shared/async-status-projection.js +0 -545
  992. package/node_modules/pi-subagents/src/runs/shared/async-status-projection.js.map +0 -1
  993. package/node_modules/pi-subagents/src/runs/shared/background-process-options.d.ts +0 -5
  994. package/node_modules/pi-subagents/src/runs/shared/background-process-options.d.ts.map +0 -1
  995. package/node_modules/pi-subagents/src/runs/shared/background-process-options.js +0 -7
  996. package/node_modules/pi-subagents/src/runs/shared/background-process-options.js.map +0 -1
  997. package/node_modules/pi-subagents/src/runs/shared/capability-ceiling.d.ts +0 -58
  998. package/node_modules/pi-subagents/src/runs/shared/capability-ceiling.d.ts.map +0 -1
  999. package/node_modules/pi-subagents/src/runs/shared/capability-ceiling.js +0 -179
  1000. package/node_modules/pi-subagents/src/runs/shared/capability-ceiling.js.map +0 -1
  1001. package/node_modules/pi-subagents/src/runs/shared/chain-outputs.d.ts +0 -19
  1002. package/node_modules/pi-subagents/src/runs/shared/chain-outputs.d.ts.map +0 -1
  1003. package/node_modules/pi-subagents/src/runs/shared/chain-outputs.js +0 -105
  1004. package/node_modules/pi-subagents/src/runs/shared/chain-outputs.js.map +0 -1
  1005. package/node_modules/pi-subagents/src/runs/shared/child-commands.d.ts +0 -28
  1006. package/node_modules/pi-subagents/src/runs/shared/child-commands.d.ts.map +0 -1
  1007. package/node_modules/pi-subagents/src/runs/shared/child-commands.js +0 -250
  1008. package/node_modules/pi-subagents/src/runs/shared/child-commands.js.map +0 -1
  1009. package/node_modules/pi-subagents/src/runs/shared/child-hooks.d.ts +0 -32
  1010. package/node_modules/pi-subagents/src/runs/shared/child-hooks.d.ts.map +0 -1
  1011. package/node_modules/pi-subagents/src/runs/shared/child-hooks.js +0 -174
  1012. package/node_modules/pi-subagents/src/runs/shared/child-hooks.js.map +0 -1
  1013. package/node_modules/pi-subagents/src/runs/shared/child-identity.d.ts +0 -24
  1014. package/node_modules/pi-subagents/src/runs/shared/child-identity.d.ts.map +0 -1
  1015. package/node_modules/pi-subagents/src/runs/shared/child-identity.js +0 -41
  1016. package/node_modules/pi-subagents/src/runs/shared/child-identity.js.map +0 -1
  1017. package/node_modules/pi-subagents/src/runs/shared/child-launch-plan.d.ts +0 -71
  1018. package/node_modules/pi-subagents/src/runs/shared/child-launch-plan.d.ts.map +0 -1
  1019. package/node_modules/pi-subagents/src/runs/shared/child-launch-plan.js +0 -89
  1020. package/node_modules/pi-subagents/src/runs/shared/child-launch-plan.js.map +0 -1
  1021. package/node_modules/pi-subagents/src/runs/shared/child-launch.d.ts +0 -118
  1022. package/node_modules/pi-subagents/src/runs/shared/child-launch.d.ts.map +0 -1
  1023. package/node_modules/pi-subagents/src/runs/shared/child-launch.js +0 -248
  1024. package/node_modules/pi-subagents/src/runs/shared/child-launch.js.map +0 -1
  1025. package/node_modules/pi-subagents/src/runs/shared/child-lifecycle.d.ts +0 -14
  1026. package/node_modules/pi-subagents/src/runs/shared/child-lifecycle.d.ts.map +0 -1
  1027. package/node_modules/pi-subagents/src/runs/shared/child-lifecycle.js +0 -23
  1028. package/node_modules/pi-subagents/src/runs/shared/child-lifecycle.js.map +0 -1
  1029. package/node_modules/pi-subagents/src/runs/shared/child-runtime-config.d.ts +0 -106
  1030. package/node_modules/pi-subagents/src/runs/shared/child-runtime-config.d.ts.map +0 -1
  1031. package/node_modules/pi-subagents/src/runs/shared/child-runtime-config.js +0 -39
  1032. package/node_modules/pi-subagents/src/runs/shared/child-runtime-config.js.map +0 -1
  1033. package/node_modules/pi-subagents/src/runs/shared/child-session.d.ts +0 -172
  1034. package/node_modules/pi-subagents/src/runs/shared/child-session.d.ts.map +0 -1
  1035. package/node_modules/pi-subagents/src/runs/shared/child-session.js +0 -589
  1036. package/node_modules/pi-subagents/src/runs/shared/child-session.js.map +0 -1
  1037. package/node_modules/pi-subagents/src/runs/shared/child-tool-plan.d.ts +0 -77
  1038. package/node_modules/pi-subagents/src/runs/shared/child-tool-plan.d.ts.map +0 -1
  1039. package/node_modules/pi-subagents/src/runs/shared/child-tool-plan.js +0 -386
  1040. package/node_modules/pi-subagents/src/runs/shared/child-tool-plan.js.map +0 -1
  1041. package/node_modules/pi-subagents/src/runs/shared/claude-code-adapter.d.ts +0 -81
  1042. package/node_modules/pi-subagents/src/runs/shared/claude-code-adapter.d.ts.map +0 -1
  1043. package/node_modules/pi-subagents/src/runs/shared/claude-code-adapter.js +0 -256
  1044. package/node_modules/pi-subagents/src/runs/shared/claude-code-adapter.js.map +0 -1
  1045. package/node_modules/pi-subagents/src/runs/shared/codex-exec-adapter.d.ts +0 -26
  1046. package/node_modules/pi-subagents/src/runs/shared/codex-exec-adapter.d.ts.map +0 -1
  1047. package/node_modules/pi-subagents/src/runs/shared/codex-exec-adapter.js +0 -128
  1048. package/node_modules/pi-subagents/src/runs/shared/codex-exec-adapter.js.map +0 -1
  1049. package/node_modules/pi-subagents/src/runs/shared/context-mode.d.ts +0 -13
  1050. package/node_modules/pi-subagents/src/runs/shared/context-mode.d.ts.map +0 -1
  1051. package/node_modules/pi-subagents/src/runs/shared/context-mode.js +0 -39
  1052. package/node_modules/pi-subagents/src/runs/shared/context-mode.js.map +0 -1
  1053. package/node_modules/pi-subagents/src/runs/shared/cursor-agent-adapter.d.ts +0 -27
  1054. package/node_modules/pi-subagents/src/runs/shared/cursor-agent-adapter.d.ts.map +0 -1
  1055. package/node_modules/pi-subagents/src/runs/shared/cursor-agent-adapter.js +0 -100
  1056. package/node_modules/pi-subagents/src/runs/shared/cursor-agent-adapter.js.map +0 -1
  1057. package/node_modules/pi-subagents/src/runs/shared/dynamic-fanout.d.ts +0 -50
  1058. package/node_modules/pi-subagents/src/runs/shared/dynamic-fanout.d.ts.map +0 -1
  1059. package/node_modules/pi-subagents/src/runs/shared/dynamic-fanout.js +0 -274
  1060. package/node_modules/pi-subagents/src/runs/shared/dynamic-fanout.js.map +0 -1
  1061. package/node_modules/pi-subagents/src/runs/shared/effective-system-prompt.d.ts +0 -18
  1062. package/node_modules/pi-subagents/src/runs/shared/effective-system-prompt.d.ts.map +0 -1
  1063. package/node_modules/pi-subagents/src/runs/shared/effective-system-prompt.js +0 -24
  1064. package/node_modules/pi-subagents/src/runs/shared/effective-system-prompt.js.map +0 -1
  1065. package/node_modules/pi-subagents/src/runs/shared/extension-bindings.d.ts +0 -17
  1066. package/node_modules/pi-subagents/src/runs/shared/extension-bindings.d.ts.map +0 -1
  1067. package/node_modules/pi-subagents/src/runs/shared/extension-bindings.js +0 -83
  1068. package/node_modules/pi-subagents/src/runs/shared/extension-bindings.js.map +0 -1
  1069. package/node_modules/pi-subagents/src/runs/shared/external-cli-contract.d.ts +0 -30
  1070. package/node_modules/pi-subagents/src/runs/shared/external-cli-contract.d.ts.map +0 -1
  1071. package/node_modules/pi-subagents/src/runs/shared/external-cli-contract.js +0 -146
  1072. package/node_modules/pi-subagents/src/runs/shared/external-cli-contract.js.map +0 -1
  1073. package/node_modules/pi-subagents/src/runs/shared/external-cli-preflight.d.ts +0 -42
  1074. package/node_modules/pi-subagents/src/runs/shared/external-cli-preflight.d.ts.map +0 -1
  1075. package/node_modules/pi-subagents/src/runs/shared/external-cli-preflight.js +0 -160
  1076. package/node_modules/pi-subagents/src/runs/shared/external-cli-preflight.js.map +0 -1
  1077. package/node_modules/pi-subagents/src/runs/shared/external-cli-runner.d.ts +0 -66
  1078. package/node_modules/pi-subagents/src/runs/shared/external-cli-runner.d.ts.map +0 -1
  1079. package/node_modules/pi-subagents/src/runs/shared/external-cli-runner.js +0 -426
  1080. package/node_modules/pi-subagents/src/runs/shared/external-cli-runner.js.map +0 -1
  1081. package/node_modules/pi-subagents/src/runs/shared/external-job-bridge.d.ts +0 -25
  1082. package/node_modules/pi-subagents/src/runs/shared/external-job-bridge.d.ts.map +0 -1
  1083. package/node_modules/pi-subagents/src/runs/shared/external-job-bridge.js +0 -487
  1084. package/node_modules/pi-subagents/src/runs/shared/external-job-bridge.js.map +0 -1
  1085. package/node_modules/pi-subagents/src/runs/shared/external-job-runner.d.ts +0 -45
  1086. package/node_modules/pi-subagents/src/runs/shared/external-job-runner.d.ts.map +0 -1
  1087. package/node_modules/pi-subagents/src/runs/shared/external-job-runner.js +0 -353
  1088. package/node_modules/pi-subagents/src/runs/shared/external-job-runner.js.map +0 -1
  1089. package/node_modules/pi-subagents/src/runs/shared/fast-mode-extension.d.ts +0 -4
  1090. package/node_modules/pi-subagents/src/runs/shared/fast-mode-extension.d.ts.map +0 -1
  1091. package/node_modules/pi-subagents/src/runs/shared/fast-mode-extension.js +0 -9
  1092. package/node_modules/pi-subagents/src/runs/shared/fast-mode-extension.js.map +0 -1
  1093. package/node_modules/pi-subagents/src/runs/shared/git-environment.d.ts +0 -3
  1094. package/node_modules/pi-subagents/src/runs/shared/git-environment.d.ts.map +0 -1
  1095. package/node_modules/pi-subagents/src/runs/shared/git-environment.js +0 -28
  1096. package/node_modules/pi-subagents/src/runs/shared/git-environment.js.map +0 -1
  1097. package/node_modules/pi-subagents/src/runs/shared/herdr-connection.d.ts +0 -71
  1098. package/node_modules/pi-subagents/src/runs/shared/herdr-connection.d.ts.map +0 -1
  1099. package/node_modules/pi-subagents/src/runs/shared/herdr-connection.js +0 -258
  1100. package/node_modules/pi-subagents/src/runs/shared/herdr-connection.js.map +0 -1
  1101. package/node_modules/pi-subagents/src/runs/shared/herdr-external-adapters.d.ts +0 -148
  1102. package/node_modules/pi-subagents/src/runs/shared/herdr-external-adapters.d.ts.map +0 -1
  1103. package/node_modules/pi-subagents/src/runs/shared/herdr-external-adapters.js +0 -405
  1104. package/node_modules/pi-subagents/src/runs/shared/herdr-external-adapters.js.map +0 -1
  1105. package/node_modules/pi-subagents/src/runs/shared/herdr-machine.d.ts +0 -48
  1106. package/node_modules/pi-subagents/src/runs/shared/herdr-machine.d.ts.map +0 -1
  1107. package/node_modules/pi-subagents/src/runs/shared/herdr-machine.js +0 -247
  1108. package/node_modules/pi-subagents/src/runs/shared/herdr-machine.js.map +0 -1
  1109. package/node_modules/pi-subagents/src/runs/shared/herdr-pi-protocol.d.ts +0 -22
  1110. package/node_modules/pi-subagents/src/runs/shared/herdr-pi-protocol.d.ts.map +0 -1
  1111. package/node_modules/pi-subagents/src/runs/shared/herdr-pi-protocol.js +0 -58
  1112. package/node_modules/pi-subagents/src/runs/shared/herdr-pi-protocol.js.map +0 -1
  1113. package/node_modules/pi-subagents/src/runs/shared/herdr-placed-run.d.ts +0 -268
  1114. package/node_modules/pi-subagents/src/runs/shared/herdr-placed-run.d.ts.map +0 -1
  1115. package/node_modules/pi-subagents/src/runs/shared/herdr-placed-run.js +0 -720
  1116. package/node_modules/pi-subagents/src/runs/shared/herdr-placed-run.js.map +0 -1
  1117. package/node_modules/pi-subagents/src/runs/shared/host-step-status.d.ts +0 -34
  1118. package/node_modules/pi-subagents/src/runs/shared/host-step-status.d.ts.map +0 -1
  1119. package/node_modules/pi-subagents/src/runs/shared/host-step-status.js +0 -245
  1120. package/node_modules/pi-subagents/src/runs/shared/host-step-status.js.map +0 -1
  1121. package/node_modules/pi-subagents/src/runs/shared/lane-metadata.d.ts +0 -24
  1122. package/node_modules/pi-subagents/src/runs/shared/lane-metadata.d.ts.map +0 -1
  1123. package/node_modules/pi-subagents/src/runs/shared/lane-metadata.js +0 -127
  1124. package/node_modules/pi-subagents/src/runs/shared/lane-metadata.js.map +0 -1
  1125. package/node_modules/pi-subagents/src/runs/shared/launch-cwd.d.ts +0 -2
  1126. package/node_modules/pi-subagents/src/runs/shared/launch-cwd.d.ts.map +0 -1
  1127. package/node_modules/pi-subagents/src/runs/shared/launch-cwd.js +0 -17
  1128. package/node_modules/pi-subagents/src/runs/shared/launch-cwd.js.map +0 -1
  1129. package/node_modules/pi-subagents/src/runs/shared/long-running-guard.d.ts +0 -33
  1130. package/node_modules/pi-subagents/src/runs/shared/long-running-guard.d.ts.map +0 -1
  1131. package/node_modules/pi-subagents/src/runs/shared/long-running-guard.js +0 -199
  1132. package/node_modules/pi-subagents/src/runs/shared/long-running-guard.js.map +0 -1
  1133. package/node_modules/pi-subagents/src/runs/shared/mcp-config-sources.d.ts +0 -34
  1134. package/node_modules/pi-subagents/src/runs/shared/mcp-config-sources.d.ts.map +0 -1
  1135. package/node_modules/pi-subagents/src/runs/shared/mcp-config-sources.js +0 -419
  1136. package/node_modules/pi-subagents/src/runs/shared/mcp-config-sources.js.map +0 -1
  1137. package/node_modules/pi-subagents/src/runs/shared/mcp-direct-tool-allowlist.d.ts +0 -87
  1138. package/node_modules/pi-subagents/src/runs/shared/mcp-direct-tool-allowlist.d.ts.map +0 -1
  1139. package/node_modules/pi-subagents/src/runs/shared/mcp-direct-tool-allowlist.js +0 -478
  1140. package/node_modules/pi-subagents/src/runs/shared/mcp-direct-tool-allowlist.js.map +0 -1
  1141. package/node_modules/pi-subagents/src/runs/shared/mcp-direct-tool-grant.d.ts +0 -43
  1142. package/node_modules/pi-subagents/src/runs/shared/mcp-direct-tool-grant.d.ts.map +0 -1
  1143. package/node_modules/pi-subagents/src/runs/shared/mcp-direct-tool-grant.js +0 -160
  1144. package/node_modules/pi-subagents/src/runs/shared/mcp-direct-tool-grant.js.map +0 -1
  1145. package/node_modules/pi-subagents/src/runs/shared/model-resolution-diagnostic.d.ts +0 -34
  1146. package/node_modules/pi-subagents/src/runs/shared/model-resolution-diagnostic.d.ts.map +0 -1
  1147. package/node_modules/pi-subagents/src/runs/shared/model-resolution-diagnostic.js +0 -92
  1148. package/node_modules/pi-subagents/src/runs/shared/model-resolution-diagnostic.js.map +0 -1
  1149. package/node_modules/pi-subagents/src/runs/shared/model-resolution.d.ts +0 -106
  1150. package/node_modules/pi-subagents/src/runs/shared/model-resolution.d.ts.map +0 -1
  1151. package/node_modules/pi-subagents/src/runs/shared/model-resolution.js +0 -405
  1152. package/node_modules/pi-subagents/src/runs/shared/model-resolution.js.map +0 -1
  1153. package/node_modules/pi-subagents/src/runs/shared/model-scope.d.ts +0 -69
  1154. package/node_modules/pi-subagents/src/runs/shared/model-scope.d.ts.map +0 -1
  1155. package/node_modules/pi-subagents/src/runs/shared/model-scope.js +0 -172
  1156. package/node_modules/pi-subagents/src/runs/shared/model-scope.js.map +0 -1
  1157. package/node_modules/pi-subagents/src/runs/shared/mutation-evidence.d.ts +0 -19
  1158. package/node_modules/pi-subagents/src/runs/shared/mutation-evidence.d.ts.map +0 -1
  1159. package/node_modules/pi-subagents/src/runs/shared/mutation-evidence.js +0 -199
  1160. package/node_modules/pi-subagents/src/runs/shared/mutation-evidence.js.map +0 -1
  1161. package/node_modules/pi-subagents/src/runs/shared/nested-events.d.ts +0 -136
  1162. package/node_modules/pi-subagents/src/runs/shared/nested-events.d.ts.map +0 -1
  1163. package/node_modules/pi-subagents/src/runs/shared/nested-events.js +0 -1060
  1164. package/node_modules/pi-subagents/src/runs/shared/nested-events.js.map +0 -1
  1165. package/node_modules/pi-subagents/src/runs/shared/nested-path.d.ts +0 -9
  1166. package/node_modules/pi-subagents/src/runs/shared/nested-path.d.ts.map +0 -1
  1167. package/node_modules/pi-subagents/src/runs/shared/nested-path.js +0 -35
  1168. package/node_modules/pi-subagents/src/runs/shared/nested-path.js.map +0 -1
  1169. package/node_modules/pi-subagents/src/runs/shared/nested-render.d.ts +0 -21
  1170. package/node_modules/pi-subagents/src/runs/shared/nested-render.d.ts.map +0 -1
  1171. package/node_modules/pi-subagents/src/runs/shared/nested-render.js +0 -116
  1172. package/node_modules/pi-subagents/src/runs/shared/nested-render.js.map +0 -1
  1173. package/node_modules/pi-subagents/src/runs/shared/orca-progress-tabs.d.ts +0 -33
  1174. package/node_modules/pi-subagents/src/runs/shared/orca-progress-tabs.d.ts.map +0 -1
  1175. package/node_modules/pi-subagents/src/runs/shared/orca-progress-tabs.js +0 -527
  1176. package/node_modules/pi-subagents/src/runs/shared/orca-progress-tabs.js.map +0 -1
  1177. package/node_modules/pi-subagents/src/runs/shared/parallel-handoff.d.ts +0 -79
  1178. package/node_modules/pi-subagents/src/runs/shared/parallel-handoff.d.ts.map +0 -1
  1179. package/node_modules/pi-subagents/src/runs/shared/parallel-handoff.js +0 -780
  1180. package/node_modules/pi-subagents/src/runs/shared/parallel-handoff.js.map +0 -1
  1181. package/node_modules/pi-subagents/src/runs/shared/parallel-utils.d.ts +0 -170
  1182. package/node_modules/pi-subagents/src/runs/shared/parallel-utils.d.ts.map +0 -1
  1183. package/node_modules/pi-subagents/src/runs/shared/parallel-utils.js +0 -126
  1184. package/node_modules/pi-subagents/src/runs/shared/parallel-utils.js.map +0 -1
  1185. package/node_modules/pi-subagents/src/runs/shared/partial-output.d.ts +0 -25
  1186. package/node_modules/pi-subagents/src/runs/shared/partial-output.d.ts.map +0 -1
  1187. package/node_modules/pi-subagents/src/runs/shared/partial-output.js +0 -36
  1188. package/node_modules/pi-subagents/src/runs/shared/partial-output.js.map +0 -1
  1189. package/node_modules/pi-subagents/src/runs/shared/permissions.d.ts +0 -13
  1190. package/node_modules/pi-subagents/src/runs/shared/permissions.d.ts.map +0 -1
  1191. package/node_modules/pi-subagents/src/runs/shared/permissions.js +0 -93
  1192. package/node_modules/pi-subagents/src/runs/shared/permissions.js.map +0 -1
  1193. package/node_modules/pi-subagents/src/runs/shared/pi-spawn.d.ts +0 -28
  1194. package/node_modules/pi-subagents/src/runs/shared/pi-spawn.d.ts.map +0 -1
  1195. package/node_modules/pi-subagents/src/runs/shared/pi-spawn.js +0 -156
  1196. package/node_modules/pi-subagents/src/runs/shared/pi-spawn.js.map +0 -1
  1197. package/node_modules/pi-subagents/src/runs/shared/process-signal.d.ts +0 -16
  1198. package/node_modules/pi-subagents/src/runs/shared/process-signal.d.ts.map +0 -1
  1199. package/node_modules/pi-subagents/src/runs/shared/process-signal.js +0 -22
  1200. package/node_modules/pi-subagents/src/runs/shared/process-signal.js.map +0 -1
  1201. package/node_modules/pi-subagents/src/runs/shared/readonly-drain-observation.d.ts +0 -26
  1202. package/node_modules/pi-subagents/src/runs/shared/readonly-drain-observation.d.ts.map +0 -1
  1203. package/node_modules/pi-subagents/src/runs/shared/readonly-drain-observation.js +0 -51
  1204. package/node_modules/pi-subagents/src/runs/shared/readonly-drain-observation.js.map +0 -1
  1205. package/node_modules/pi-subagents/src/runs/shared/run-fanout-budget.d.ts +0 -15
  1206. package/node_modules/pi-subagents/src/runs/shared/run-fanout-budget.d.ts.map +0 -1
  1207. package/node_modules/pi-subagents/src/runs/shared/run-fanout-budget.js +0 -259
  1208. package/node_modules/pi-subagents/src/runs/shared/run-fanout-budget.js.map +0 -1
  1209. package/node_modules/pi-subagents/src/runs/shared/runner-launcher.d.ts +0 -12
  1210. package/node_modules/pi-subagents/src/runs/shared/runner-launcher.d.ts.map +0 -1
  1211. package/node_modules/pi-subagents/src/runs/shared/runner-launcher.js +0 -25
  1212. package/node_modules/pi-subagents/src/runs/shared/runner-launcher.js.map +0 -1
  1213. package/node_modules/pi-subagents/src/runs/shared/runtime-acknowledged-extensions.d.ts +0 -8
  1214. package/node_modules/pi-subagents/src/runs/shared/runtime-acknowledged-extensions.d.ts.map +0 -1
  1215. package/node_modules/pi-subagents/src/runs/shared/runtime-acknowledged-extensions.js +0 -45
  1216. package/node_modules/pi-subagents/src/runs/shared/runtime-acknowledged-extensions.js.map +0 -1
  1217. package/node_modules/pi-subagents/src/runs/shared/session-lease.d.ts +0 -70
  1218. package/node_modules/pi-subagents/src/runs/shared/session-lease.d.ts.map +0 -1
  1219. package/node_modules/pi-subagents/src/runs/shared/session-lease.js +0 -251
  1220. package/node_modules/pi-subagents/src/runs/shared/session-lease.js.map +0 -1
  1221. package/node_modules/pi-subagents/src/runs/shared/single-output.d.ts +0 -91
  1222. package/node_modules/pi-subagents/src/runs/shared/single-output.d.ts.map +0 -1
  1223. package/node_modules/pi-subagents/src/runs/shared/single-output.js +0 -350
  1224. package/node_modules/pi-subagents/src/runs/shared/single-output.js.map +0 -1
  1225. package/node_modules/pi-subagents/src/runs/shared/spawn-budget.d.ts +0 -21
  1226. package/node_modules/pi-subagents/src/runs/shared/spawn-budget.d.ts.map +0 -1
  1227. package/node_modules/pi-subagents/src/runs/shared/spawn-budget.js +0 -94
  1228. package/node_modules/pi-subagents/src/runs/shared/spawn-budget.js.map +0 -1
  1229. package/node_modules/pi-subagents/src/runs/shared/structured-output.d.ts +0 -66
  1230. package/node_modules/pi-subagents/src/runs/shared/structured-output.d.ts.map +0 -1
  1231. package/node_modules/pi-subagents/src/runs/shared/structured-output.js +0 -483
  1232. package/node_modules/pi-subagents/src/runs/shared/structured-output.js.map +0 -1
  1233. package/node_modules/pi-subagents/src/runs/shared/subagent-control.d.ts +0 -50
  1234. package/node_modules/pi-subagents/src/runs/shared/subagent-control.d.ts.map +0 -1
  1235. package/node_modules/pi-subagents/src/runs/shared/subagent-control.js +0 -247
  1236. package/node_modules/pi-subagents/src/runs/shared/subagent-control.js.map +0 -1
  1237. package/node_modules/pi-subagents/src/runs/shared/subagent-prompt-runtime.d.ts +0 -64
  1238. package/node_modules/pi-subagents/src/runs/shared/subagent-prompt-runtime.d.ts.map +0 -1
  1239. package/node_modules/pi-subagents/src/runs/shared/subagent-prompt-runtime.js +0 -681
  1240. package/node_modules/pi-subagents/src/runs/shared/subagent-prompt-runtime.js.map +0 -1
  1241. package/node_modules/pi-subagents/src/runs/shared/tool-availability.d.ts +0 -17
  1242. package/node_modules/pi-subagents/src/runs/shared/tool-availability.d.ts.map +0 -1
  1243. package/node_modules/pi-subagents/src/runs/shared/tool-availability.js +0 -30
  1244. package/node_modules/pi-subagents/src/runs/shared/tool-availability.js.map +0 -1
  1245. package/node_modules/pi-subagents/src/runs/shared/tool-budget.d.ts +0 -22
  1246. package/node_modules/pi-subagents/src/runs/shared/tool-budget.d.ts.map +0 -1
  1247. package/node_modules/pi-subagents/src/runs/shared/tool-budget.js +0 -79
  1248. package/node_modules/pi-subagents/src/runs/shared/tool-budget.js.map +0 -1
  1249. package/node_modules/pi-subagents/src/runs/shared/tool-timeout.d.ts +0 -32
  1250. package/node_modules/pi-subagents/src/runs/shared/tool-timeout.d.ts.map +0 -1
  1251. package/node_modules/pi-subagents/src/runs/shared/tool-timeout.js +0 -74
  1252. package/node_modules/pi-subagents/src/runs/shared/tool-timeout.js.map +0 -1
  1253. package/node_modules/pi-subagents/src/runs/shared/usage-budget.d.ts +0 -8
  1254. package/node_modules/pi-subagents/src/runs/shared/usage-budget.d.ts.map +0 -1
  1255. package/node_modules/pi-subagents/src/runs/shared/usage-budget.js +0 -75
  1256. package/node_modules/pi-subagents/src/runs/shared/usage-budget.js.map +0 -1
  1257. package/node_modules/pi-subagents/src/runs/shared/usage-reconciliation.d.ts +0 -9
  1258. package/node_modules/pi-subagents/src/runs/shared/usage-reconciliation.d.ts.map +0 -1
  1259. package/node_modules/pi-subagents/src/runs/shared/usage-reconciliation.js +0 -72
  1260. package/node_modules/pi-subagents/src/runs/shared/usage-reconciliation.js.map +0 -1
  1261. package/node_modules/pi-subagents/src/runs/shared/workflow-async-child-guidance.d.ts +0 -4
  1262. package/node_modules/pi-subagents/src/runs/shared/workflow-async-child-guidance.d.ts.map +0 -1
  1263. package/node_modules/pi-subagents/src/runs/shared/workflow-async-child-guidance.js +0 -18
  1264. package/node_modules/pi-subagents/src/runs/shared/workflow-async-child-guidance.js.map +0 -1
  1265. package/node_modules/pi-subagents/src/runs/shared/workflow-graph.d.ts +0 -32
  1266. package/node_modules/pi-subagents/src/runs/shared/workflow-graph.d.ts.map +0 -1
  1267. package/node_modules/pi-subagents/src/runs/shared/workflow-graph.js +0 -222
  1268. package/node_modules/pi-subagents/src/runs/shared/workflow-graph.js.map +0 -1
  1269. package/node_modules/pi-subagents/src/runs/shared/worktree-cleanup-apply.d.ts +0 -37
  1270. package/node_modules/pi-subagents/src/runs/shared/worktree-cleanup-apply.d.ts.map +0 -1
  1271. package/node_modules/pi-subagents/src/runs/shared/worktree-cleanup-apply.js +0 -179
  1272. package/node_modules/pi-subagents/src/runs/shared/worktree-cleanup-apply.js.map +0 -1
  1273. package/node_modules/pi-subagents/src/runs/shared/worktree-cleanup-plan.d.ts +0 -85
  1274. package/node_modules/pi-subagents/src/runs/shared/worktree-cleanup-plan.d.ts.map +0 -1
  1275. package/node_modules/pi-subagents/src/runs/shared/worktree-cleanup-plan.js +0 -804
  1276. package/node_modules/pi-subagents/src/runs/shared/worktree-cleanup-plan.js.map +0 -1
  1277. package/node_modules/pi-subagents/src/runs/shared/worktree-lock.d.ts +0 -6
  1278. package/node_modules/pi-subagents/src/runs/shared/worktree-lock.d.ts.map +0 -1
  1279. package/node_modules/pi-subagents/src/runs/shared/worktree-lock.js +0 -41
  1280. package/node_modules/pi-subagents/src/runs/shared/worktree-lock.js.map +0 -1
  1281. package/node_modules/pi-subagents/src/runs/shared/worktree-setup-command.d.ts +0 -39
  1282. package/node_modules/pi-subagents/src/runs/shared/worktree-setup-command.d.ts.map +0 -1
  1283. package/node_modules/pi-subagents/src/runs/shared/worktree-setup-command.js +0 -201
  1284. package/node_modules/pi-subagents/src/runs/shared/worktree-setup-command.js.map +0 -1
  1285. package/node_modules/pi-subagents/src/runs/shared/worktree.d.ts +0 -182
  1286. package/node_modules/pi-subagents/src/runs/shared/worktree.d.ts.map +0 -1
  1287. package/node_modules/pi-subagents/src/runs/shared/worktree.js +0 -1347
  1288. package/node_modules/pi-subagents/src/runs/shared/worktree.js.map +0 -1
  1289. package/node_modules/pi-subagents/src/shared/accessible-dir.d.ts +0 -12
  1290. package/node_modules/pi-subagents/src/shared/accessible-dir.d.ts.map +0 -1
  1291. package/node_modules/pi-subagents/src/shared/accessible-dir.js +0 -37
  1292. package/node_modules/pi-subagents/src/shared/accessible-dir.js.map +0 -1
  1293. package/node_modules/pi-subagents/src/shared/agent-stream-options.d.ts +0 -6
  1294. package/node_modules/pi-subagents/src/shared/agent-stream-options.d.ts.map +0 -1
  1295. package/node_modules/pi-subagents/src/shared/agent-stream-options.js +0 -4
  1296. package/node_modules/pi-subagents/src/shared/agent-stream-options.js.map +0 -1
  1297. package/node_modules/pi-subagents/src/shared/artifacts.d.ts +0 -23
  1298. package/node_modules/pi-subagents/src/shared/artifacts.d.ts.map +0 -1
  1299. package/node_modules/pi-subagents/src/shared/artifacts.js +0 -273
  1300. package/node_modules/pi-subagents/src/shared/artifacts.js.map +0 -1
  1301. package/node_modules/pi-subagents/src/shared/atomic-json.d.ts +0 -20
  1302. package/node_modules/pi-subagents/src/shared/atomic-json.d.ts.map +0 -1
  1303. package/node_modules/pi-subagents/src/shared/atomic-json.js +0 -62
  1304. package/node_modules/pi-subagents/src/shared/atomic-json.js.map +0 -1
  1305. package/node_modules/pi-subagents/src/shared/capacity-resilient-json.d.ts +0 -27
  1306. package/node_modules/pi-subagents/src/shared/capacity-resilient-json.d.ts.map +0 -1
  1307. package/node_modules/pi-subagents/src/shared/capacity-resilient-json.js +0 -87
  1308. package/node_modules/pi-subagents/src/shared/capacity-resilient-json.js.map +0 -1
  1309. package/node_modules/pi-subagents/src/shared/child-cache-retention.d.ts +0 -30
  1310. package/node_modules/pi-subagents/src/shared/child-cache-retention.d.ts.map +0 -1
  1311. package/node_modules/pi-subagents/src/shared/child-cache-retention.js +0 -41
  1312. package/node_modules/pi-subagents/src/shared/child-cache-retention.js.map +0 -1
  1313. package/node_modules/pi-subagents/src/shared/child-session-name.d.ts +0 -9
  1314. package/node_modules/pi-subagents/src/shared/child-session-name.d.ts.map +0 -1
  1315. package/node_modules/pi-subagents/src/shared/child-session-name.js +0 -41
  1316. package/node_modules/pi-subagents/src/shared/child-session-name.js.map +0 -1
  1317. package/node_modules/pi-subagents/src/shared/child-transcript.d.ts +0 -38
  1318. package/node_modules/pi-subagents/src/shared/child-transcript.d.ts.map +0 -1
  1319. package/node_modules/pi-subagents/src/shared/child-transcript.js +0 -226
  1320. package/node_modules/pi-subagents/src/shared/child-transcript.js.map +0 -1
  1321. package/node_modules/pi-subagents/src/shared/completion-owner.d.ts +0 -3
  1322. package/node_modules/pi-subagents/src/shared/completion-owner.d.ts.map +0 -1
  1323. package/node_modules/pi-subagents/src/shared/completion-owner.js +0 -9
  1324. package/node_modules/pi-subagents/src/shared/completion-owner.js.map +0 -1
  1325. package/node_modules/pi-subagents/src/shared/disabled-features.d.ts +0 -92
  1326. package/node_modules/pi-subagents/src/shared/disabled-features.d.ts.map +0 -1
  1327. package/node_modules/pi-subagents/src/shared/disabled-features.js +0 -113
  1328. package/node_modules/pi-subagents/src/shared/disabled-features.js.map +0 -1
  1329. package/node_modules/pi-subagents/src/shared/display-text.d.ts +0 -6
  1330. package/node_modules/pi-subagents/src/shared/display-text.d.ts.map +0 -1
  1331. package/node_modules/pi-subagents/src/shared/display-text.js +0 -155
  1332. package/node_modules/pi-subagents/src/shared/display-text.js.map +0 -1
  1333. package/node_modules/pi-subagents/src/shared/edit-distance.d.ts +0 -5
  1334. package/node_modules/pi-subagents/src/shared/edit-distance.d.ts.map +0 -1
  1335. package/node_modules/pi-subagents/src/shared/edit-distance.js +0 -33
  1336. package/node_modules/pi-subagents/src/shared/edit-distance.js.map +0 -1
  1337. package/node_modules/pi-subagents/src/shared/extension-context.d.ts +0 -22
  1338. package/node_modules/pi-subagents/src/shared/extension-context.d.ts.map +0 -1
  1339. package/node_modules/pi-subagents/src/shared/extension-context.js +0 -40
  1340. package/node_modules/pi-subagents/src/shared/extension-context.js.map +0 -1
  1341. package/node_modules/pi-subagents/src/shared/file-coalescer.d.ts +0 -12
  1342. package/node_modules/pi-subagents/src/shared/file-coalescer.d.ts.map +0 -1
  1343. package/node_modules/pi-subagents/src/shared/file-coalescer.js +0 -35
  1344. package/node_modules/pi-subagents/src/shared/file-coalescer.js.map +0 -1
  1345. package/node_modules/pi-subagents/src/shared/file-lease.d.ts +0 -5
  1346. package/node_modules/pi-subagents/src/shared/file-lease.d.ts.map +0 -1
  1347. package/node_modules/pi-subagents/src/shared/file-lease.js +0 -101
  1348. package/node_modules/pi-subagents/src/shared/file-lease.js.map +0 -1
  1349. package/node_modules/pi-subagents/src/shared/file-system-retry.d.ts +0 -32
  1350. package/node_modules/pi-subagents/src/shared/file-system-retry.d.ts.map +0 -1
  1351. package/node_modules/pi-subagents/src/shared/file-system-retry.js +0 -85
  1352. package/node_modules/pi-subagents/src/shared/file-system-retry.js.map +0 -1
  1353. package/node_modules/pi-subagents/src/shared/fork-context.d.ts +0 -63
  1354. package/node_modules/pi-subagents/src/shared/fork-context.d.ts.map +0 -1
  1355. package/node_modules/pi-subagents/src/shared/fork-context.js +0 -176
  1356. package/node_modules/pi-subagents/src/shared/fork-context.js.map +0 -1
  1357. package/node_modules/pi-subagents/src/shared/fork-session-cwd.d.ts +0 -3
  1358. package/node_modules/pi-subagents/src/shared/fork-session-cwd.d.ts.map +0 -1
  1359. package/node_modules/pi-subagents/src/shared/fork-session-cwd.js +0 -24
  1360. package/node_modules/pi-subagents/src/shared/fork-session-cwd.js.map +0 -1
  1361. package/node_modules/pi-subagents/src/shared/formatters.d.ts +0 -36
  1362. package/node_modules/pi-subagents/src/shared/formatters.d.ts.map +0 -1
  1363. package/node_modules/pi-subagents/src/shared/formatters.js +0 -138
  1364. package/node_modules/pi-subagents/src/shared/formatters.js.map +0 -1
  1365. package/node_modules/pi-subagents/src/shared/jsonl-writer.d.ts +0 -21
  1366. package/node_modules/pi-subagents/src/shared/jsonl-writer.d.ts.map +0 -1
  1367. package/node_modules/pi-subagents/src/shared/jsonl-writer.js +0 -68
  1368. package/node_modules/pi-subagents/src/shared/jsonl-writer.js.map +0 -1
  1369. package/node_modules/pi-subagents/src/shared/launch-contract.d.ts +0 -64
  1370. package/node_modules/pi-subagents/src/shared/launch-contract.d.ts.map +0 -1
  1371. package/node_modules/pi-subagents/src/shared/launch-contract.js +0 -140
  1372. package/node_modules/pi-subagents/src/shared/launch-contract.js.map +0 -1
  1373. package/node_modules/pi-subagents/src/shared/model-info.d.ts +0 -56
  1374. package/node_modules/pi-subagents/src/shared/model-info.d.ts.map +0 -1
  1375. package/node_modules/pi-subagents/src/shared/model-info.js +0 -104
  1376. package/node_modules/pi-subagents/src/shared/model-info.js.map +0 -1
  1377. package/node_modules/pi-subagents/src/shared/model-response-aliases.d.ts +0 -2
  1378. package/node_modules/pi-subagents/src/shared/model-response-aliases.d.ts.map +0 -1
  1379. package/node_modules/pi-subagents/src/shared/model-response-aliases.js +0 -16
  1380. package/node_modules/pi-subagents/src/shared/model-response-aliases.js.map +0 -1
  1381. package/node_modules/pi-subagents/src/shared/node-executable.d.ts +0 -2
  1382. package/node_modules/pi-subagents/src/shared/node-executable.d.ts.map +0 -1
  1383. package/node_modules/pi-subagents/src/shared/node-executable.js +0 -21
  1384. package/node_modules/pi-subagents/src/shared/node-executable.js.map +0 -1
  1385. package/node_modules/pi-subagents/src/shared/opencode-session-headers.d.ts +0 -13
  1386. package/node_modules/pi-subagents/src/shared/opencode-session-headers.d.ts.map +0 -1
  1387. package/node_modules/pi-subagents/src/shared/opencode-session-headers.js +0 -27
  1388. package/node_modules/pi-subagents/src/shared/opencode-session-headers.js.map +0 -1
  1389. package/node_modules/pi-subagents/src/shared/package-version.d.ts +0 -3
  1390. package/node_modules/pi-subagents/src/shared/package-version.d.ts.map +0 -1
  1391. package/node_modules/pi-subagents/src/shared/package-version.js +0 -15
  1392. package/node_modules/pi-subagents/src/shared/package-version.js.map +0 -1
  1393. package/node_modules/pi-subagents/src/shared/parent-wake.d.ts +0 -24
  1394. package/node_modules/pi-subagents/src/shared/parent-wake.d.ts.map +0 -1
  1395. package/node_modules/pi-subagents/src/shared/parent-wake.js +0 -71
  1396. package/node_modules/pi-subagents/src/shared/parent-wake.js.map +0 -1
  1397. package/node_modules/pi-subagents/src/shared/prompt-resources.d.ts +0 -6
  1398. package/node_modules/pi-subagents/src/shared/prompt-resources.d.ts.map +0 -1
  1399. package/node_modules/pi-subagents/src/shared/prompt-resources.js +0 -11
  1400. package/node_modules/pi-subagents/src/shared/prompt-resources.js.map +0 -1
  1401. package/node_modules/pi-subagents/src/shared/pruned-fork.d.ts +0 -35
  1402. package/node_modules/pi-subagents/src/shared/pruned-fork.d.ts.map +0 -1
  1403. package/node_modules/pi-subagents/src/shared/pruned-fork.js +0 -435
  1404. package/node_modules/pi-subagents/src/shared/pruned-fork.js.map +0 -1
  1405. package/node_modules/pi-subagents/src/shared/required-child-extensions.d.ts +0 -35
  1406. package/node_modules/pi-subagents/src/shared/required-child-extensions.d.ts.map +0 -1
  1407. package/node_modules/pi-subagents/src/shared/required-child-extensions.js +0 -106
  1408. package/node_modules/pi-subagents/src/shared/required-child-extensions.js.map +0 -1
  1409. package/node_modules/pi-subagents/src/shared/runtime-module-path.d.ts +0 -11
  1410. package/node_modules/pi-subagents/src/shared/runtime-module-path.d.ts.map +0 -1
  1411. package/node_modules/pi-subagents/src/shared/runtime-module-path.js +0 -17
  1412. package/node_modules/pi-subagents/src/shared/runtime-module-path.js.map +0 -1
  1413. package/node_modules/pi-subagents/src/shared/session-file-trust.d.ts +0 -2
  1414. package/node_modules/pi-subagents/src/shared/session-file-trust.d.ts.map +0 -1
  1415. package/node_modules/pi-subagents/src/shared/session-file-trust.js +0 -21
  1416. package/node_modules/pi-subagents/src/shared/session-file-trust.js.map +0 -1
  1417. package/node_modules/pi-subagents/src/shared/session-identity.d.ts +0 -7
  1418. package/node_modules/pi-subagents/src/shared/session-identity.d.ts.map +0 -1
  1419. package/node_modules/pi-subagents/src/shared/session-identity.js +0 -7
  1420. package/node_modules/pi-subagents/src/shared/session-identity.js.map +0 -1
  1421. package/node_modules/pi-subagents/src/shared/session-tokens.d.ts +0 -3
  1422. package/node_modules/pi-subagents/src/shared/session-tokens.d.ts.map +0 -1
  1423. package/node_modules/pi-subagents/src/shared/session-tokens.js +0 -59
  1424. package/node_modules/pi-subagents/src/shared/session-tokens.js.map +0 -1
  1425. package/node_modules/pi-subagents/src/shared/settings-file-lease.d.ts +0 -5
  1426. package/node_modules/pi-subagents/src/shared/settings-file-lease.d.ts.map +0 -1
  1427. package/node_modules/pi-subagents/src/shared/settings-file-lease.js +0 -39
  1428. package/node_modules/pi-subagents/src/shared/settings-file-lease.js.map +0 -1
  1429. package/node_modules/pi-subagents/src/shared/settings.d.ts +0 -147
  1430. package/node_modules/pi-subagents/src/shared/settings.d.ts.map +0 -1
  1431. package/node_modules/pi-subagents/src/shared/settings.js +0 -248
  1432. package/node_modules/pi-subagents/src/shared/settings.js.map +0 -1
  1433. package/node_modules/pi-subagents/src/shared/shortcuts.d.ts +0 -2
  1434. package/node_modules/pi-subagents/src/shared/shortcuts.d.ts.map +0 -1
  1435. package/node_modules/pi-subagents/src/shared/shortcuts.js +0 -18
  1436. package/node_modules/pi-subagents/src/shared/shortcuts.js.map +0 -1
  1437. package/node_modules/pi-subagents/src/shared/status-format.d.ts +0 -10
  1438. package/node_modules/pi-subagents/src/shared/status-format.d.ts.map +0 -1
  1439. package/node_modules/pi-subagents/src/shared/status-format.js +0 -61
  1440. package/node_modules/pi-subagents/src/shared/status-format.js.map +0 -1
  1441. package/node_modules/pi-subagents/src/shared/thinking-ceiling.d.ts +0 -14
  1442. package/node_modules/pi-subagents/src/shared/thinking-ceiling.d.ts.map +0 -1
  1443. package/node_modules/pi-subagents/src/shared/thinking-ceiling.js +0 -38
  1444. package/node_modules/pi-subagents/src/shared/thinking-ceiling.js.map +0 -1
  1445. package/node_modules/pi-subagents/src/shared/types.d.ts +0 -2748
  1446. package/node_modules/pi-subagents/src/shared/types.d.ts.map +0 -1
  1447. package/node_modules/pi-subagents/src/shared/types.js +0 -270
  1448. package/node_modules/pi-subagents/src/shared/types.js.map +0 -1
  1449. package/node_modules/pi-subagents/src/shared/utf8.d.ts +0 -6
  1450. package/node_modules/pi-subagents/src/shared/utf8.d.ts.map +0 -1
  1451. package/node_modules/pi-subagents/src/shared/utf8.js +0 -13
  1452. package/node_modules/pi-subagents/src/shared/utf8.js.map +0 -1
  1453. package/node_modules/pi-subagents/src/shared/utils.d.ts +0 -73
  1454. package/node_modules/pi-subagents/src/shared/utils.d.ts.map +0 -1
  1455. package/node_modules/pi-subagents/src/shared/utils.js +0 -596
  1456. package/node_modules/pi-subagents/src/shared/utils.js.map +0 -1
  1457. package/node_modules/pi-subagents/src/shared/watch-strategy.d.ts +0 -3
  1458. package/node_modules/pi-subagents/src/shared/watch-strategy.d.ts.map +0 -1
  1459. package/node_modules/pi-subagents/src/shared/watch-strategy.js +0 -6
  1460. package/node_modules/pi-subagents/src/shared/watch-strategy.js.map +0 -1
  1461. package/node_modules/pi-subagents/src/shared/workflow-child-permit.d.ts +0 -59
  1462. package/node_modules/pi-subagents/src/shared/workflow-child-permit.d.ts.map +0 -1
  1463. package/node_modules/pi-subagents/src/shared/workflow-child-permit.js +0 -160
  1464. package/node_modules/pi-subagents/src/shared/workflow-child-permit.js.map +0 -1
  1465. package/node_modules/pi-subagents/src/slash/delegation-adapters.d.ts +0 -153
  1466. package/node_modules/pi-subagents/src/slash/delegation-adapters.d.ts.map +0 -1
  1467. package/node_modules/pi-subagents/src/slash/delegation-adapters.js +0 -310
  1468. package/node_modules/pi-subagents/src/slash/delegation-adapters.js.map +0 -1
  1469. package/node_modules/pi-subagents/src/slash/delegation-json.d.ts +0 -11
  1470. package/node_modules/pi-subagents/src/slash/delegation-json.d.ts.map +0 -1
  1471. package/node_modules/pi-subagents/src/slash/delegation-json.js +0 -118
  1472. package/node_modules/pi-subagents/src/slash/delegation-json.js.map +0 -1
  1473. package/node_modules/pi-subagents/src/slash/delegation-request.d.ts +0 -13
  1474. package/node_modules/pi-subagents/src/slash/delegation-request.d.ts.map +0 -1
  1475. package/node_modules/pi-subagents/src/slash/delegation-request.js +0 -175
  1476. package/node_modules/pi-subagents/src/slash/delegation-request.js.map +0 -1
  1477. package/node_modules/pi-subagents/src/slash/prompt-template-bridge.d.ts +0 -27
  1478. package/node_modules/pi-subagents/src/slash/prompt-template-bridge.d.ts.map +0 -1
  1479. package/node_modules/pi-subagents/src/slash/prompt-template-bridge.js +0 -393
  1480. package/node_modules/pi-subagents/src/slash/prompt-template-bridge.js.map +0 -1
  1481. package/node_modules/pi-subagents/src/slash/prompt-workflows.d.ts +0 -22
  1482. package/node_modules/pi-subagents/src/slash/prompt-workflows.d.ts.map +0 -1
  1483. package/node_modules/pi-subagents/src/slash/prompt-workflows.js +0 -275
  1484. package/node_modules/pi-subagents/src/slash/prompt-workflows.js.map +0 -1
  1485. package/node_modules/pi-subagents/src/slash/selector.d.ts +0 -48
  1486. package/node_modules/pi-subagents/src/slash/selector.d.ts.map +0 -1
  1487. package/node_modules/pi-subagents/src/slash/selector.js +0 -118
  1488. package/node_modules/pi-subagents/src/slash/selector.js.map +0 -1
  1489. package/node_modules/pi-subagents/src/slash/slash-bridge.d.ts +0 -31
  1490. package/node_modules/pi-subagents/src/slash/slash-bridge.d.ts.map +0 -1
  1491. package/node_modules/pi-subagents/src/slash/slash-bridge.js +0 -133
  1492. package/node_modules/pi-subagents/src/slash/slash-bridge.js.map +0 -1
  1493. package/node_modules/pi-subagents/src/slash/slash-commands.d.ts +0 -11
  1494. package/node_modules/pi-subagents/src/slash/slash-commands.d.ts.map +0 -1
  1495. package/node_modules/pi-subagents/src/slash/slash-commands.js +0 -1060
  1496. package/node_modules/pi-subagents/src/slash/slash-commands.js.map +0 -1
  1497. package/node_modules/pi-subagents/src/slash/slash-live-state.d.ts +0 -22
  1498. package/node_modules/pi-subagents/src/slash/slash-live-state.d.ts.map +0 -1
  1499. package/node_modules/pi-subagents/src/slash/slash-live-state.js +0 -264
  1500. package/node_modules/pi-subagents/src/slash/slash-live-state.js.map +0 -1
  1501. package/node_modules/pi-subagents/src/slash/subagent-cost.d.ts +0 -30
  1502. package/node_modules/pi-subagents/src/slash/subagent-cost.d.ts.map +0 -1
  1503. package/node_modules/pi-subagents/src/slash/subagent-cost.js +0 -311
  1504. package/node_modules/pi-subagents/src/slash/subagent-cost.js.map +0 -1
  1505. package/node_modules/pi-subagents/src/slash/subagents-admin.d.ts +0 -3
  1506. package/node_modules/pi-subagents/src/slash/subagents-admin.d.ts.map +0 -1
  1507. package/node_modules/pi-subagents/src/slash/subagents-admin.js +0 -455
  1508. package/node_modules/pi-subagents/src/slash/subagents-admin.js.map +0 -1
  1509. package/node_modules/pi-subagents/src/tui/fleet-status.d.ts +0 -93
  1510. package/node_modules/pi-subagents/src/tui/fleet-status.d.ts.map +0 -1
  1511. package/node_modules/pi-subagents/src/tui/fleet-status.js +0 -1133
  1512. package/node_modules/pi-subagents/src/tui/fleet-status.js.map +0 -1
  1513. package/node_modules/pi-subagents/src/tui/fleet-transcript.d.ts +0 -52
  1514. package/node_modules/pi-subagents/src/tui/fleet-transcript.d.ts.map +0 -1
  1515. package/node_modules/pi-subagents/src/tui/fleet-transcript.js +0 -502
  1516. package/node_modules/pi-subagents/src/tui/fleet-transcript.js.map +0 -1
  1517. package/node_modules/pi-subagents/src/tui/fleet.d.ts +0 -169
  1518. package/node_modules/pi-subagents/src/tui/fleet.d.ts.map +0 -1
  1519. package/node_modules/pi-subagents/src/tui/fleet.js +0 -1432
  1520. package/node_modules/pi-subagents/src/tui/fleet.js.map +0 -1
  1521. package/node_modules/pi-subagents/src/tui/render-helpers.d.ts +0 -24
  1522. package/node_modules/pi-subagents/src/tui/render-helpers.d.ts.map +0 -1
  1523. package/node_modules/pi-subagents/src/tui/render-helpers.js +0 -101
  1524. package/node_modules/pi-subagents/src/tui/render-helpers.js.map +0 -1
  1525. package/node_modules/pi-subagents/src/tui/render.d.ts +0 -61
  1526. package/node_modules/pi-subagents/src/tui/render.d.ts.map +0 -1
  1527. package/node_modules/pi-subagents/src/tui/render.js +0 -3677
  1528. package/node_modules/pi-subagents/src/tui/render.js.map +0 -1
  1529. package/node_modules/pi-subagents/src/tui/running-tone.d.ts +0 -11
  1530. package/node_modules/pi-subagents/src/tui/running-tone.d.ts.map +0 -1
  1531. package/node_modules/pi-subagents/src/tui/running-tone.js +0 -23
  1532. package/node_modules/pi-subagents/src/tui/running-tone.js.map +0 -1
  1533. package/node_modules/pi-subagents/src/tui/subagent-messages.d.ts +0 -23
  1534. package/node_modules/pi-subagents/src/tui/subagent-messages.d.ts.map +0 -1
  1535. package/node_modules/pi-subagents/src/tui/subagent-messages.js +0 -270
  1536. package/node_modules/pi-subagents/src/tui/subagent-messages.js.map +0 -1
  1537. package/node_modules/pi-subagents/src/watchdog/change-signature.d.ts +0 -8
  1538. package/node_modules/pi-subagents/src/watchdog/change-signature.d.ts.map +0 -1
  1539. package/node_modules/pi-subagents/src/watchdog/change-signature.js +0 -244
  1540. package/node_modules/pi-subagents/src/watchdog/change-signature.js.map +0 -1
  1541. package/node_modules/pi-subagents/src/watchdog/child-status.d.ts +0 -54
  1542. package/node_modules/pi-subagents/src/watchdog/child-status.d.ts.map +0 -1
  1543. package/node_modules/pi-subagents/src/watchdog/child-status.js +0 -188
  1544. package/node_modules/pi-subagents/src/watchdog/child-status.js.map +0 -1
  1545. package/node_modules/pi-subagents/src/watchdog/diff-tool.d.ts +0 -26
  1546. package/node_modules/pi-subagents/src/watchdog/diff-tool.d.ts.map +0 -1
  1547. package/node_modules/pi-subagents/src/watchdog/diff-tool.js +0 -99
  1548. package/node_modules/pi-subagents/src/watchdog/diff-tool.js.map +0 -1
  1549. package/node_modules/pi-subagents/src/watchdog/emission-guard.d.ts +0 -37
  1550. package/node_modules/pi-subagents/src/watchdog/emission-guard.d.ts.map +0 -1
  1551. package/node_modules/pi-subagents/src/watchdog/emission-guard.js +0 -98
  1552. package/node_modules/pi-subagents/src/watchdog/emission-guard.js.map +0 -1
  1553. package/node_modules/pi-subagents/src/watchdog/guidance.d.ts +0 -4
  1554. package/node_modules/pi-subagents/src/watchdog/guidance.d.ts.map +0 -1
  1555. package/node_modules/pi-subagents/src/watchdog/guidance.js +0 -20
  1556. package/node_modules/pi-subagents/src/watchdog/guidance.js.map +0 -1
  1557. package/node_modules/pi-subagents/src/watchdog/lsp-diagnostics.d.ts +0 -18
  1558. package/node_modules/pi-subagents/src/watchdog/lsp-diagnostics.d.ts.map +0 -1
  1559. package/node_modules/pi-subagents/src/watchdog/lsp-diagnostics.js +0 -490
  1560. package/node_modules/pi-subagents/src/watchdog/lsp-diagnostics.js.map +0 -1
  1561. package/node_modules/pi-subagents/src/watchdog/model-selection.d.ts +0 -25
  1562. package/node_modules/pi-subagents/src/watchdog/model-selection.d.ts.map +0 -1
  1563. package/node_modules/pi-subagents/src/watchdog/model-selection.js +0 -168
  1564. package/node_modules/pi-subagents/src/watchdog/model-selection.js.map +0 -1
  1565. package/node_modules/pi-subagents/src/watchdog/permission-arbiter.d.ts +0 -21
  1566. package/node_modules/pi-subagents/src/watchdog/permission-arbiter.d.ts.map +0 -1
  1567. package/node_modules/pi-subagents/src/watchdog/permission-arbiter.js +0 -136
  1568. package/node_modules/pi-subagents/src/watchdog/permission-arbiter.js.map +0 -1
  1569. package/node_modules/pi-subagents/src/watchdog/register-child.d.ts +0 -14
  1570. package/node_modules/pi-subagents/src/watchdog/register-child.d.ts.map +0 -1
  1571. package/node_modules/pi-subagents/src/watchdog/register-child.js +0 -129
  1572. package/node_modules/pi-subagents/src/watchdog/register-child.js.map +0 -1
  1573. package/node_modules/pi-subagents/src/watchdog/register-main.d.ts +0 -10
  1574. package/node_modules/pi-subagents/src/watchdog/register-main.d.ts.map +0 -1
  1575. package/node_modules/pi-subagents/src/watchdog/register-main.js +0 -400
  1576. package/node_modules/pi-subagents/src/watchdog/register-main.js.map +0 -1
  1577. package/node_modules/pi-subagents/src/watchdog/render.d.ts +0 -4
  1578. package/node_modules/pi-subagents/src/watchdog/render.d.ts.map +0 -1
  1579. package/node_modules/pi-subagents/src/watchdog/render.js +0 -34
  1580. package/node_modules/pi-subagents/src/watchdog/render.js.map +0 -1
  1581. package/node_modules/pi-subagents/src/watchdog/review.d.ts +0 -37
  1582. package/node_modules/pi-subagents/src/watchdog/review.d.ts.map +0 -1
  1583. package/node_modules/pi-subagents/src/watchdog/review.js +0 -320
  1584. package/node_modules/pi-subagents/src/watchdog/review.js.map +0 -1
  1585. package/node_modules/pi-subagents/src/watchdog/rules.d.ts +0 -22
  1586. package/node_modules/pi-subagents/src/watchdog/rules.d.ts.map +0 -1
  1587. package/node_modules/pi-subagents/src/watchdog/rules.js +0 -59
  1588. package/node_modules/pi-subagents/src/watchdog/rules.js.map +0 -1
  1589. package/node_modules/pi-subagents/src/watchdog/runtime.d.ts +0 -196
  1590. package/node_modules/pi-subagents/src/watchdog/runtime.d.ts.map +0 -1
  1591. package/node_modules/pi-subagents/src/watchdog/runtime.js +0 -867
  1592. package/node_modules/pi-subagents/src/watchdog/runtime.js.map +0 -1
  1593. package/node_modules/pi-subagents/src/watchdog/scope.d.ts +0 -15
  1594. package/node_modules/pi-subagents/src/watchdog/scope.d.ts.map +0 -1
  1595. package/node_modules/pi-subagents/src/watchdog/scope.js +0 -45
  1596. package/node_modules/pi-subagents/src/watchdog/scope.js.map +0 -1
  1597. package/node_modules/pi-subagents/src/watchdog/settings.d.ts +0 -30
  1598. package/node_modules/pi-subagents/src/watchdog/settings.d.ts.map +0 -1
  1599. package/node_modules/pi-subagents/src/watchdog/settings.js +0 -481
  1600. package/node_modules/pi-subagents/src/watchdog/settings.js.map +0 -1
  1601. package/node_modules/pi-subagents/src/watchdog/tool-actions.d.ts +0 -18
  1602. package/node_modules/pi-subagents/src/watchdog/tool-actions.d.ts.map +0 -1
  1603. package/node_modules/pi-subagents/src/watchdog/tool-actions.js +0 -151
  1604. package/node_modules/pi-subagents/src/watchdog/tool-actions.js.map +0 -1
  1605. package/node_modules/pi-subagents/src/watchdog/turn-delta.d.ts +0 -16
  1606. package/node_modules/pi-subagents/src/watchdog/turn-delta.d.ts.map +0 -1
  1607. package/node_modules/pi-subagents/src/watchdog/turn-delta.js +0 -189
  1608. package/node_modules/pi-subagents/src/watchdog/turn-delta.js.map +0 -1
  1609. package/node_modules/pi-subagents/src/watchdog/types.d.ts +0 -142
  1610. package/node_modules/pi-subagents/src/watchdog/types.d.ts.map +0 -1
  1611. package/node_modules/pi-subagents/src/watchdog/types.js +0 -28
  1612. package/node_modules/pi-subagents/src/watchdog/types.js.map +0 -1
  1613. package/node_modules/pi-subagents/src/watchdog/warning-format.d.ts +0 -8
  1614. package/node_modules/pi-subagents/src/watchdog/warning-format.d.ts.map +0 -1
  1615. package/node_modules/pi-subagents/src/watchdog/warning-format.js +0 -60
  1616. package/node_modules/pi-subagents/src/watchdog/warning-format.js.map +0 -1
  1617. package/node_modules/pi-subagents/src/workflows/chat-progress.d.ts +0 -38
  1618. package/node_modules/pi-subagents/src/workflows/chat-progress.d.ts.map +0 -1
  1619. package/node_modules/pi-subagents/src/workflows/chat-progress.js +0 -130
  1620. package/node_modules/pi-subagents/src/workflows/chat-progress.js.map +0 -1
  1621. package/node_modules/pi-subagents/src/workflows/host-command.d.ts +0 -31
  1622. package/node_modules/pi-subagents/src/workflows/host-command.d.ts.map +0 -1
  1623. package/node_modules/pi-subagents/src/workflows/host-command.js +0 -228
  1624. package/node_modules/pi-subagents/src/workflows/host-command.js.map +0 -1
  1625. package/node_modules/pi-subagents/src/workflows/scripted-workflow.d.ts +0 -205
  1626. package/node_modules/pi-subagents/src/workflows/scripted-workflow.d.ts.map +0 -1
  1627. package/node_modules/pi-subagents/src/workflows/scripted-workflow.js +0 -2730
  1628. package/node_modules/pi-subagents/src/workflows/scripted-workflow.js.map +0 -1
  1629. package/node_modules/pi-subagents/src/workflows/structured-workflow-scripts.d.ts +0 -10
  1630. package/node_modules/pi-subagents/src/workflows/structured-workflow-scripts.d.ts.map +0 -1
  1631. package/node_modules/pi-subagents/src/workflows/structured-workflow-scripts.js +0 -166
  1632. package/node_modules/pi-subagents/src/workflows/structured-workflow-scripts.js.map +0 -1
  1633. package/node_modules/pi-subagents/src/workflows/workflow-checklist.d.ts +0 -128
  1634. package/node_modules/pi-subagents/src/workflows/workflow-checklist.d.ts.map +0 -1
  1635. package/node_modules/pi-subagents/src/workflows/workflow-checklist.js +0 -315
  1636. package/node_modules/pi-subagents/src/workflows/workflow-checklist.js.map +0 -1
  1637. package/node_modules/pi-subagents/src/workflows/workflow-child-summary.d.ts +0 -20
  1638. package/node_modules/pi-subagents/src/workflows/workflow-child-summary.d.ts.map +0 -1
  1639. package/node_modules/pi-subagents/src/workflows/workflow-child-summary.js +0 -179
  1640. package/node_modules/pi-subagents/src/workflows/workflow-child-summary.js.map +0 -1
  1641. package/node_modules/pi-subagents/src/workflows/workflow-preflight.d.ts +0 -59
  1642. package/node_modules/pi-subagents/src/workflows/workflow-preflight.d.ts.map +0 -1
  1643. package/node_modules/pi-subagents/src/workflows/workflow-preflight.js +0 -289
  1644. package/node_modules/pi-subagents/src/workflows/workflow-preflight.js.map +0 -1
  1645. package/node_modules/pi-subagents/src/workflows/workflow-receipt.d.ts +0 -35
  1646. package/node_modules/pi-subagents/src/workflows/workflow-receipt.d.ts.map +0 -1
  1647. package/node_modules/pi-subagents/src/workflows/workflow-receipt.js +0 -455
  1648. package/node_modules/pi-subagents/src/workflows/workflow-receipt.js.map +0 -1
  1649. package/node_modules/pi-subagents/src/workflows/workflow-resources.d.ts +0 -56
  1650. package/node_modules/pi-subagents/src/workflows/workflow-resources.d.ts.map +0 -1
  1651. package/node_modules/pi-subagents/src/workflows/workflow-resources.js +0 -272
  1652. package/node_modules/pi-subagents/src/workflows/workflow-resources.js.map +0 -1
  1653. package/node_modules/pi-subagents/src/workflows/workflow-reuse.d.ts +0 -51
  1654. package/node_modules/pi-subagents/src/workflows/workflow-reuse.d.ts.map +0 -1
  1655. package/node_modules/pi-subagents/src/workflows/workflow-reuse.js +0 -103
  1656. package/node_modules/pi-subagents/src/workflows/workflow-reuse.js.map +0 -1
  1657. package/node_modules/pi-subagents/src/workflows/workflow-revival.d.ts +0 -32
  1658. package/node_modules/pi-subagents/src/workflows/workflow-revival.d.ts.map +0 -1
  1659. package/node_modules/pi-subagents/src/workflows/workflow-revival.js +0 -111
  1660. package/node_modules/pi-subagents/src/workflows/workflow-revival.js.map +0 -1
  1661. package/node_modules/pi-subagents/src/workflows/workflow-settlement.d.ts +0 -85
  1662. package/node_modules/pi-subagents/src/workflows/workflow-settlement.d.ts.map +0 -1
  1663. package/node_modules/pi-subagents/src/workflows/workflow-settlement.js +0 -204
  1664. package/node_modules/pi-subagents/src/workflows/workflow-settlement.js.map +0 -1
  1665. package/node_modules/undici/LICENSE +0 -21
  1666. package/node_modules/undici/README.md +0 -797
  1667. package/node_modules/undici/docs/docs/api/Agent.md +0 -291
  1668. package/node_modules/undici/docs/docs/api/BalancedPool.md +0 -297
  1669. package/node_modules/undici/docs/docs/api/CacheStorage.md +0 -188
  1670. package/node_modules/undici/docs/docs/api/CacheStore.md +0 -360
  1671. package/node_modules/undici/docs/docs/api/Client.md +0 -533
  1672. package/node_modules/undici/docs/docs/api/ClientStats.md +0 -93
  1673. package/node_modules/undici/docs/docs/api/Connector.md +0 -198
  1674. package/node_modules/undici/docs/docs/api/ContentType.md +0 -97
  1675. package/node_modules/undici/docs/docs/api/Cookies.md +0 -179
  1676. package/node_modules/undici/docs/docs/api/Debug.md +0 -78
  1677. package/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +0 -515
  1678. package/node_modules/undici/docs/docs/api/Dispatcher.md +0 -827
  1679. package/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +0 -171
  1680. package/node_modules/undici/docs/docs/api/Errors.md +0 -524
  1681. package/node_modules/undici/docs/docs/api/EventSource.md +0 -358
  1682. package/node_modules/undici/docs/docs/api/Fetch.md +0 -711
  1683. package/node_modules/undici/docs/docs/api/GlobalInstallation.md +0 -121
  1684. package/node_modules/undici/docs/docs/api/H2CClient.md +0 -385
  1685. package/node_modules/undici/docs/docs/api/Interceptors.md +0 -418
  1686. package/node_modules/undici/docs/docs/api/MockAgent.md +0 -622
  1687. package/node_modules/undici/docs/docs/api/MockCallHistory.md +0 -371
  1688. package/node_modules/undici/docs/docs/api/MockCallHistoryLog.md +0 -206
  1689. package/node_modules/undici/docs/docs/api/MockClient.md +0 -199
  1690. package/node_modules/undici/docs/docs/api/MockErrors.md +0 -63
  1691. package/node_modules/undici/docs/docs/api/MockPool.md +0 -618
  1692. package/node_modules/undici/docs/docs/api/Pool.md +0 -279
  1693. package/node_modules/undici/docs/docs/api/PoolStats.md +0 -141
  1694. package/node_modules/undici/docs/docs/api/ProxyAgent.md +0 -248
  1695. package/node_modules/undici/docs/docs/api/RedirectHandler.md +0 -276
  1696. package/node_modules/undici/docs/docs/api/RetryAgent.md +0 -136
  1697. package/node_modules/undici/docs/docs/api/RetryHandler.md +0 -200
  1698. package/node_modules/undici/docs/docs/api/RoundRobinPool.md +0 -239
  1699. package/node_modules/undici/docs/docs/api/SnapshotAgent.md +0 -361
  1700. package/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +0 -256
  1701. package/node_modules/undici/docs/docs/api/Util.md +0 -82
  1702. package/node_modules/undici/docs/docs/api/WebSocket.md +0 -536
  1703. package/node_modules/undici/docs/docs/api/api-lifecycle.md +0 -159
  1704. package/node_modules/undici/docs/docs/best-practices/client-certificate.md +0 -66
  1705. package/node_modules/undici/docs/docs/best-practices/crawling.md +0 -60
  1706. package/node_modules/undici/docs/docs/best-practices/migrating-from-v7-to-v8.md +0 -233
  1707. package/node_modules/undici/docs/docs/best-practices/mocking-request.md +0 -192
  1708. package/node_modules/undici/docs/docs/best-practices/proxy.md +0 -129
  1709. package/node_modules/undici/docs/docs/best-practices/undici-vs-builtin-fetch.md +0 -226
  1710. package/node_modules/undici/docs/docs/best-practices/writing-tests.md +0 -65
  1711. package/node_modules/undici/docs/docs/getting-started.md +0 -281
  1712. package/node_modules/undici/docs/docs/index.md +0 -784
  1713. package/node_modules/undici/docs/docs/site.json +0 -125
  1714. package/node_modules/undici/docs/docs/type-map.json +0 -79
  1715. package/node_modules/undici/index-fetch.js +0 -65
  1716. package/node_modules/undici/index.d.ts +0 -3
  1717. package/node_modules/undici/index.js +0 -236
  1718. package/node_modules/undici/lib/api/abort-signal.js +0 -59
  1719. package/node_modules/undici/lib/api/api-connect.js +0 -112
  1720. package/node_modules/undici/lib/api/api-pipeline.js +0 -265
  1721. package/node_modules/undici/lib/api/api-request.js +0 -244
  1722. package/node_modules/undici/lib/api/api-stream.js +0 -270
  1723. package/node_modules/undici/lib/api/api-upgrade.js +0 -121
  1724. package/node_modules/undici/lib/api/index.js +0 -7
  1725. package/node_modules/undici/lib/api/readable.js +0 -616
  1726. package/node_modules/undici/lib/cache/memory-cache-store.js +0 -279
  1727. package/node_modules/undici/lib/cache/sqlite-cache-store.js +0 -469
  1728. package/node_modules/undici/lib/core/connect.js +0 -192
  1729. package/node_modules/undici/lib/core/constants.js +0 -120
  1730. package/node_modules/undici/lib/core/diagnostics.js +0 -227
  1731. package/node_modules/undici/lib/core/errors.js +0 -497
  1732. package/node_modules/undici/lib/core/request.js +0 -546
  1733. package/node_modules/undici/lib/core/socks5-client.js +0 -422
  1734. package/node_modules/undici/lib/core/socks5-utils.js +0 -212
  1735. package/node_modules/undici/lib/core/symbols.js +0 -79
  1736. package/node_modules/undici/lib/core/tree.js +0 -160
  1737. package/node_modules/undici/lib/core/util.js +0 -1049
  1738. package/node_modules/undici/lib/dispatcher/agent.js +0 -177
  1739. package/node_modules/undici/lib/dispatcher/balanced-pool.js +0 -217
  1740. package/node_modules/undici/lib/dispatcher/client-h1.js +0 -1801
  1741. package/node_modules/undici/lib/dispatcher/client-h2.js +0 -1781
  1742. package/node_modules/undici/lib/dispatcher/client.js +0 -741
  1743. package/node_modules/undici/lib/dispatcher/dispatcher-base.js +0 -197
  1744. package/node_modules/undici/lib/dispatcher/dispatcher.js +0 -58
  1745. package/node_modules/undici/lib/dispatcher/dispatcher1-wrapper.js +0 -110
  1746. package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +0 -175
  1747. package/node_modules/undici/lib/dispatcher/fixed-queue.js +0 -135
  1748. package/node_modules/undici/lib/dispatcher/h2c-client.js +0 -51
  1749. package/node_modules/undici/lib/dispatcher/pool-base.js +0 -232
  1750. package/node_modules/undici/lib/dispatcher/pool.js +0 -143
  1751. package/node_modules/undici/lib/dispatcher/proxy-agent.js +0 -395
  1752. package/node_modules/undici/lib/dispatcher/retry-agent.js +0 -38
  1753. package/node_modules/undici/lib/dispatcher/round-robin-pool.js +0 -159
  1754. package/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +0 -350
  1755. package/node_modules/undici/lib/encoding/index.js +0 -33
  1756. package/node_modules/undici/lib/global.js +0 -82
  1757. package/node_modules/undici/lib/handler/cache-handler.js +0 -818
  1758. package/node_modules/undici/lib/handler/cache-revalidation-handler.js +0 -134
  1759. package/node_modules/undici/lib/handler/decorator-handler.js +0 -72
  1760. package/node_modules/undici/lib/handler/deduplication-handler.js +0 -466
  1761. package/node_modules/undici/lib/handler/redirect-handler.js +0 -238
  1762. package/node_modules/undici/lib/handler/retry-handler.js +0 -594
  1763. package/node_modules/undici/lib/interceptor/cache.js +0 -671
  1764. package/node_modules/undici/lib/interceptor/decompress.js +0 -394
  1765. package/node_modules/undici/lib/interceptor/deduplicate.js +0 -118
  1766. package/node_modules/undici/lib/interceptor/dns.js +0 -582
  1767. package/node_modules/undici/lib/interceptor/dump.js +0 -99
  1768. package/node_modules/undici/lib/interceptor/redirect.js +0 -21
  1769. package/node_modules/undici/lib/interceptor/response-error.js +0 -95
  1770. package/node_modules/undici/lib/interceptor/retry.js +0 -19
  1771. package/node_modules/undici/lib/llhttp/constants.d.ts +0 -195
  1772. package/node_modules/undici/lib/llhttp/constants.js +0 -531
  1773. package/node_modules/undici/lib/llhttp/llhttp-wasm.js +0 -15
  1774. package/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +0 -15
  1775. package/node_modules/undici/lib/llhttp/utils.d.ts +0 -2
  1776. package/node_modules/undici/lib/llhttp/utils.js +0 -12
  1777. package/node_modules/undici/lib/mock/mock-agent.js +0 -244
  1778. package/node_modules/undici/lib/mock/mock-call-history.js +0 -248
  1779. package/node_modules/undici/lib/mock/mock-client.js +0 -68
  1780. package/node_modules/undici/lib/mock/mock-errors.js +0 -29
  1781. package/node_modules/undici/lib/mock/mock-interceptor.js +0 -227
  1782. package/node_modules/undici/lib/mock/mock-pool.js +0 -68
  1783. package/node_modules/undici/lib/mock/mock-symbols.js +0 -32
  1784. package/node_modules/undici/lib/mock/mock-utils.js +0 -720
  1785. package/node_modules/undici/lib/mock/pending-interceptors-formatter.js +0 -43
  1786. package/node_modules/undici/lib/mock/snapshot-agent.js +0 -371
  1787. package/node_modules/undici/lib/mock/snapshot-recorder.js +0 -623
  1788. package/node_modules/undici/lib/mock/snapshot-utils.js +0 -158
  1789. package/node_modules/undici/lib/util/cache.js +0 -758
  1790. package/node_modules/undici/lib/util/date.js +0 -670
  1791. package/node_modules/undici/lib/util/runtime-features.js +0 -93
  1792. package/node_modules/undici/lib/util/stats.js +0 -32
  1793. package/node_modules/undici/lib/util/timers.js +0 -425
  1794. package/node_modules/undici/lib/web/cache/cache.js +0 -862
  1795. package/node_modules/undici/lib/web/cache/cachestorage.js +0 -152
  1796. package/node_modules/undici/lib/web/cache/util.js +0 -45
  1797. package/node_modules/undici/lib/web/cookies/constants.js +0 -12
  1798. package/node_modules/undici/lib/web/cookies/index.js +0 -199
  1799. package/node_modules/undici/lib/web/cookies/parse.js +0 -318
  1800. package/node_modules/undici/lib/web/cookies/util.js +0 -352
  1801. package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +0 -521
  1802. package/node_modules/undici/lib/web/eventsource/eventsource.js +0 -500
  1803. package/node_modules/undici/lib/web/eventsource/util.js +0 -60
  1804. package/node_modules/undici/lib/web/fetch/LICENSE +0 -21
  1805. package/node_modules/undici/lib/web/fetch/body.js +0 -547
  1806. package/node_modules/undici/lib/web/fetch/constants.js +0 -131
  1807. package/node_modules/undici/lib/web/fetch/data-url.js +0 -596
  1808. package/node_modules/undici/lib/web/fetch/formdata-parser.js +0 -586
  1809. package/node_modules/undici/lib/web/fetch/formdata.js +0 -278
  1810. package/node_modules/undici/lib/web/fetch/global.js +0 -40
  1811. package/node_modules/undici/lib/web/fetch/headers.js +0 -719
  1812. package/node_modules/undici/lib/web/fetch/index.js +0 -2432
  1813. package/node_modules/undici/lib/web/fetch/request.js +0 -1144
  1814. package/node_modules/undici/lib/web/fetch/response.js +0 -639
  1815. package/node_modules/undici/lib/web/fetch/util.js +0 -1530
  1816. package/node_modules/undici/lib/web/infra/index.js +0 -229
  1817. package/node_modules/undici/lib/web/subresource-integrity/Readme.md +0 -9
  1818. package/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +0 -307
  1819. package/node_modules/undici/lib/web/webidl/index.js +0 -1004
  1820. package/node_modules/undici/lib/web/websocket/connection.js +0 -329
  1821. package/node_modules/undici/lib/web/websocket/constants.js +0 -126
  1822. package/node_modules/undici/lib/web/websocket/events.js +0 -331
  1823. package/node_modules/undici/lib/web/websocket/frame.js +0 -127
  1824. package/node_modules/undici/lib/web/websocket/permessage-deflate.js +0 -105
  1825. package/node_modules/undici/lib/web/websocket/receiver.js +0 -507
  1826. package/node_modules/undici/lib/web/websocket/sender.js +0 -109
  1827. package/node_modules/undici/lib/web/websocket/stream/websocketerror.js +0 -104
  1828. package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +0 -496
  1829. package/node_modules/undici/lib/web/websocket/util.js +0 -347
  1830. package/node_modules/undici/lib/web/websocket/websocket.js +0 -780
  1831. package/node_modules/undici/package.json +0 -152
  1832. package/node_modules/undici/scripts/strip-comments.js +0 -10
  1833. package/node_modules/undici/types/README.md +0 -6
  1834. package/node_modules/undici/types/agent.d.ts +0 -30
  1835. package/node_modules/undici/types/api.d.ts +0 -43
  1836. package/node_modules/undici/types/balanced-pool.d.ts +0 -30
  1837. package/node_modules/undici/types/cache-interceptor.d.ts +0 -179
  1838. package/node_modules/undici/types/cache.d.ts +0 -36
  1839. package/node_modules/undici/types/client-stats.d.ts +0 -15
  1840. package/node_modules/undici/types/client.d.ts +0 -184
  1841. package/node_modules/undici/types/connector.d.ts +0 -37
  1842. package/node_modules/undici/types/content-type.d.ts +0 -21
  1843. package/node_modules/undici/types/cookies.d.ts +0 -30
  1844. package/node_modules/undici/types/diagnostics-channel.d.ts +0 -74
  1845. package/node_modules/undici/types/dispatcher.d.ts +0 -253
  1846. package/node_modules/undici/types/dispatcher1-wrapper.d.ts +0 -7
  1847. package/node_modules/undici/types/env-http-proxy-agent.d.ts +0 -22
  1848. package/node_modules/undici/types/errors.d.ts +0 -187
  1849. package/node_modules/undici/types/eventsource.d.ts +0 -66
  1850. package/node_modules/undici/types/fetch.d.ts +0 -235
  1851. package/node_modules/undici/types/formdata.d.ts +0 -108
  1852. package/node_modules/undici/types/global-dispatcher.d.ts +0 -9
  1853. package/node_modules/undici/types/global-origin.d.ts +0 -7
  1854. package/node_modules/undici/types/h2c-client.d.ts +0 -73
  1855. package/node_modules/undici/types/handlers.d.ts +0 -16
  1856. package/node_modules/undici/types/header.d.ts +0 -165
  1857. package/node_modules/undici/types/index.d.ts +0 -93
  1858. package/node_modules/undici/types/interceptors.d.ts +0 -82
  1859. package/node_modules/undici/types/mock-agent.d.ts +0 -69
  1860. package/node_modules/undici/types/mock-call-history.d.ts +0 -111
  1861. package/node_modules/undici/types/mock-client.d.ts +0 -27
  1862. package/node_modules/undici/types/mock-errors.d.ts +0 -12
  1863. package/node_modules/undici/types/mock-interceptor.d.ts +0 -98
  1864. package/node_modules/undici/types/mock-pool.d.ts +0 -27
  1865. package/node_modules/undici/types/patch.d.ts +0 -29
  1866. package/node_modules/undici/types/pool-stats.d.ts +0 -19
  1867. package/node_modules/undici/types/pool.d.ts +0 -39
  1868. package/node_modules/undici/types/proxy-agent.d.ts +0 -36
  1869. package/node_modules/undici/types/readable.d.ts +0 -68
  1870. package/node_modules/undici/types/retry-agent.d.ts +0 -8
  1871. package/node_modules/undici/types/retry-handler.d.ts +0 -125
  1872. package/node_modules/undici/types/round-robin-pool.d.ts +0 -39
  1873. package/node_modules/undici/types/snapshot-agent.d.ts +0 -113
  1874. package/node_modules/undici/types/socks5-proxy-agent.d.ts +0 -27
  1875. package/node_modules/undici/types/util.d.ts +0 -18
  1876. package/node_modules/undici/types/utility.d.ts +0 -7
  1877. package/node_modules/undici/types/webidl.d.ts +0 -346
  1878. package/node_modules/undici/types/websocket.d.ts +0 -188
  1879. package/src/tools/utils/pi-subagent-delegation.ts +0 -121
@@ -1,661 +0,0 @@
1
- # Extension and integration APIs
2
-
3
- Public seams for other Pi extensions and host integrations: the in-process RPC, the structured delegation API, launch preflight, capability ceilings, the background-work provider contract, and the Herdr integration.
4
-
5
- ## Trusted workflow resources
6
-
7
- Loaded trusted TypeScript extensions can import `registerWorkflowResource` from `pi-subagents/workflow-resources`. This subpath does not load the main extension and exposes no resolver or permit constructor. Its exported types are `RegisterWorkflowResourceInput`, `WorkflowResourceDefinition`, and `WorkflowResourceRegistration`:
8
-
9
- ```typescript
10
- registerWorkflowResource({
11
- sessionId: string,
12
- definition: {
13
- name: string,
14
- version: number,
15
- resolve(args: Readonly<Record<string, unknown>>):
16
- | { script: string; hostCommands?: readonly { key: string; command: string }[] }
17
- | { error: string },
18
- },
19
- }): { dispose(): void }
20
- ```
21
-
22
- Names are case-sensitive, at most 128 characters, and match `[A-Za-z0-9][A-Za-z0-9._-]*`; use an extension prefix. Versions are positive safe integers. Registration throws for invalid input, protected builtins (`review`, `run-ci`, `parallel`, and `chain` and `tasks`, which back the tool's structured inputs), or duplicate names within the same session. Different sessions may register the same name. Dispose before replacement; there is no silent overwrite.
23
-
24
- Register in `session_start` using **`ctx.sessionManager.getSessionId()`**, not the session file path or a tool argument. Dispose in `session_shutdown`. New/resumed/forked sessions and reloads need registration from the replacement runtime's `session_start`; do not retain old `pi`/`ctx` references. The extension owns cleanup, not an automatic registration lifecycle manager. Disposal is idempotent and cannot remove a newer replacement. Missing cleanup can cause a duplicate-registration failure on reload.
25
-
26
- `resolve` must do synchronous, bounded validation and string construction, without I/O, SDK calls, timers or process work. Core deep-copies plain JSON args: at most 16 KiB encoded, nesting depth 8, 16 fields per object, 64 items per array, finite numbers, and nonempty strings of at most 16 KiB. The extension must additionally reject unsupported fields and validate resource-specific semantics. Throws, promises/thenables and malformed expansions fail before authority is issued; errors are bounded to 4096 characters.
27
-
28
- Host grants bind **exact key/trimmed-command pairs**, not independent sets of keys and commands. At most 32 grants are accepted, with unique safe workflow keys and nonempty commands bounded to 16 KiB without NUL. Omitted grants give no host authority. Core snapshots the expansion and grants at resolution. Disposing stops future lookup, but already-admitted workflows retain captured grants, even after replacement. Use existing stop/deadline controls for cancellation; this does not promise survival of host shutdown or durable named scheduling. Existing child admission and capability ceilings still apply.
29
-
30
- ### Mixed child and finite host example
31
-
32
- This extension owns two fixed commands; `scripts/finite-check.mjs` must be an existing trusted finite helper in the workflow cwd. It runs a reviewer first, then a check. No command or flags come from free-form public args.
33
-
34
- ```typescript
35
- import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
36
- import { registerWorkflowResource } from "pi-subagents/workflow-resources";
37
-
38
- export default function (pi: ExtensionAPI) {
39
- let registration: { dispose(): void } | undefined;
40
- pi.on("session_start", (_event, ctx) => {
41
- registration?.dispose();
42
- registration = registerWorkflowResource({
43
- sessionId: ctx.sessionManager.getSessionId(),
44
- definition: {
45
- name: "acme.review-check",
46
- version: 1,
47
- resolve(args) {
48
- if (Object.keys(args).some(k => k !== "task" && k !== "check"))
49
- return { error: "Only task and check are supported." };
50
- if (typeof args.task !== "string" || !args.task.trim() || args.task.length > 4000)
51
- return { error: "task must contain 1–4000 characters." };
52
- if (args.check !== "quick" && args.check !== "full")
53
- return { error: "check must be quick or full." };
54
- const command = args.check === "quick"
55
- ? "node ./scripts/finite-check.mjs --mode quick"
56
- : "node ./scripts/finite-check.mjs --mode full";
57
- const host = { kind: "command", command, timeoutMs: 120000 };
58
- return {
59
- hostCommands: [{ key: "check", command }],
60
- script: `
61
- const review = await runs.run("review", {
62
- agent: "reviewer", task: ${JSON.stringify(args.task)}
63
- });
64
- if (!review.ok) throw new Error("Review child failed");
65
- const check = await runs.host("check", ${JSON.stringify(host)});
66
- return { review: review.output, check };
67
- `,
68
- };
69
- },
70
- },
71
- });
72
- });
73
- pi.on("session_shutdown", () => {
74
- registration?.dispose();
75
- registration = undefined;
76
- });
77
- }
78
- ```
79
-
80
- Invoke through the public `subagent` tool (use `async: false` for foreground):
81
-
82
- ```json
83
- {
84
- "workflow": "acme.review-check",
85
- "args": { "task": "Review the current change; return findings only.", "check": "quick" },
86
- "async": true
87
- }
88
- ```
89
-
90
- The parent evaluates child findings and ordinary command logs/status/terminal receipts; child success is not approval or proof of a clean review. The timeout above bounds the host command, not the whole workflow.
91
-
92
- **Trust boundary:** this API composes already-loaded trusted code; it is neither authentication nor a sandbox. Session IDs scope lookup, not authorization between malicious extensions. Core owns opaque permits and provenance; caller-supplied issuer/trust/permit metadata cannot grant authority. Raw public scripts and script paths do not gain host authority, and registration is not an arbitrary-command entry point for public args.
93
-
94
- The existing shell runner uses workflow cwd and inherited environment. Exact matching does not pin PATH resolution, executable bytes, repository helpers, or credentials. Those remain operator/extension trust responsibilities. `JSON.stringify` embeds data in JavaScript source; **it is not shell escaping**. Keep commands fixed as above, or validate strictly bounded numeric/hex tokens before binding known positions; never concatenate arbitrary task text or flags into shell commands. No new runner, cwd confinement, CI/merge policy, or SDK lifecycle framework is provided.
95
-
96
- ## In-process event-bus RPC
97
-
98
- Other Pi extensions can use the in-process event-bus RPC instead of scraping slash output or calling internal modules. Listen for `subagents:rpc:v1:ready`, send requests on `subagents:rpc:v1:request`, and read replies from `subagents:rpc:v1:reply:<requestId>`.
99
-
100
- ```typescript
101
- const requestId = crypto.randomUUID();
102
- pi.events.on(`subagents:rpc:v1:reply:${requestId}`, (reply) => {
103
- // { version: 1, requestId, success: true, data } or
104
- // { version: 1, requestId, success: false, error: { code, message } }
105
- });
106
- pi.events.emit("subagents:rpc:v1:request", {
107
- version: 1,
108
- requestId,
109
- method: "spawn",
110
- params: {
111
- script: `return runs.run("main", { agent: "reviewer", task: "Review the current diff" })`,
112
- context: "fresh"
113
- }
114
- });
115
- ```
116
-
117
- The RPC methods are `ping`, `status`, `manage`, `spawn`, `steer`, `interrupt`, `stop`, `resume`, and `cost`. `status`, `manage`, `steer`, `interrupt`, and `resume` reuse normal package-owned actions.
118
-
119
- Method notes:
120
-
121
- - `manage` exposes a narrow schedule-only allowlist: `schedule.list`, `schedule.show`, `schedule.history`, `schedule.pause`, `schedule.resume`, `schedule.run`, and `schedule.delete`. All actions except `schedule.list` require `id`. Mission, agent, config, worktree, and arbitrary management actions are rejected before executor dispatch. `ping.capabilities.managementActions` advertises the exact allowlist.
122
- - `spawn` accepts structured single-child execution (`agent`, `task?`), inline script text as `script`, or `workflow` with a script path (containing `/`, such as `"./ci/sweep.js"`) or a named workflow resource. `workflow: true` is rejected because RPC requests have no assistant reply to read a block from; the removed `workflowScript` and `workflowScriptPath` fields are rejected with errors naming `script` and `workflow`. Spawn is async-only: omit `async` or set `async: true`, omit `clarify`, and do not pass management `action` values. Relative script paths resolve against the request `cwd`. It goes through the same executor as the `subagent` tool, so agent discovery, validation, session attribution, configured spawn caps, child-safety depth, artifacts, and async status all behave the same.
123
- - `steer` requires an async run `id` (plus optional child `index`) and a non-empty `message`; its reply preserves the normal acknowledged-delivery result. Optional `mode` values are `steer` (default), `follow_up`, and `auto`, and receipts include `deliveryStatus: "delivered" | "queued"`. RPC steering disables the direct tool's pause-and-revive recovery in every mode so an extension keeps authority over the exact child it spawned; `ping.capabilities.nonRecoveringSteer` advertises this guarantee.
124
- - `resume` requires a run target and non-empty `message`. It delegates to the existing revival path, which validates current-session ownership, persisted session/recovery metadata, stopped/live state, capability ceilings, and the exclusive session lease before returning the new async run details. Callers may request a `file-only` output path for the revived result without overriding its model, tools, or budgets. `ping.capabilities.resume` advertises this seam.
125
- - `cost` returns the same parent-plus-child accounting `/subagent-cost` renders, as data: `{ version: 1, parent, children, childTotal, total, unresolvedAsyncChildren }`, where each usage is `{ input, output, cacheRead, cacheWrite, cost, turns }` and each child carries `label`, `agent`, `runId`, `usage`, and `sessionFile` when known. It is read-only and walks the current session branch plus existing run artifacts, so request it on your own turn boundaries (for example after `agent_settled` or an async completion wake), not on a timer. `unresolvedAsyncChildren` counts async children whose metadata could not be read; treat `childTotal` as a lower bound when it is non-zero, exactly as documented for `/subagent-cost` in [observability.md](observability.md). `ping.capabilities.cost` advertises `{ version: 1 }`.
126
- - `stop` accepts current-session running or queued async runs and whole paused runs. Paused runs are sealed only with exact observed native runner-terminal proof; missing or unknown proof returns an error even if a stop request was persisted. A successful reply's `state: "stopping"` acknowledges the stop operation for the exact run, not its current lifecycle or retirement. Read status and process-terminal evidence to establish termination. Child-scoped stop remains limited to pending or running children of eligible runs; already-terminal targets are rejected.
127
- - `status` keeps targeted and rich requests on the executor-backed path. A request with no `id`, `runId`, `dir`, `index`, `view`, or `lines` may use the restored in-memory projections and a short summary; when the live state is missing, stale, session-mismatched, or not restored, it falls back to normal executor status. Status `view`, `lines`, and `index` are forwarded for targeted transcript/fleet requests. Successful replies retain `text`, `details`, `fleet`, and `asyncSnapshot`; the short summary intentionally omits canonical filesystem details, wait subscriptions, and budget annotations.
128
-
129
- Capability advertisements on `ping`:
130
-
131
- - `events.asyncComplete` — exact process-local completion correlation after RPC `spawn`.
132
- - `managementActions` — exact schedule management actions accepted by RPC `manage`.
133
- - `launchResolvedExtensions` — the optional launch-resolved extension projection in status details.
134
- - `runtimeAcknowledgedExtensions` — the optional child-runtime acknowledgement projection and event name.
135
- - `processTerminalProof` — the process-terminal proof status (see [observability.md](observability.md#process-terminal-proof)).
136
- - `nonRecoveringSteer` — RPC steering never pauses-and-revives.
137
- - `resume` — the revival seam described above.
138
- - `statusProjection: { version: 1, untargeted: "in-memory-when-ready", targeted: "executor" }` — untargeted status may use restored bounded projections; targeted or rich status remains executor-backed.
139
- - `fleetStatus: { version: 1 }` — successful `status` replies additionally include `data.fleet`.
140
- - `cost: { version: 1 }` — the `cost` method is available and returns the versioned report shape above.
141
-
142
- Structured delegation progress updates carry `runId` as soon as foreground execution allocates it, so a caller can retain the package-owned revival target even if its own tool turn is interrupted before the terminal response. Foreground `details.results[]` rows also include a numeric `index` that is unique within the run and stable across partial progress snapshots and the final result; use `(runId, index)` instead of row position to correlate single, counted parallel, and chain children.
143
-
144
- ### Direct async launch correlation
145
-
146
- Direct async runs retain their originating `toolCallId` in status and result
147
- artifacts. After a lost RPC spawn reply, request `status` with
148
- `id: "rpc-spawn-<original-requestId>"`. The raw request UUID is not a run ID.
149
- Default targeted replies expose the resolved `runId` and retained `toolCallId`
150
- in `data.details`; older artifacts can omit the latter.
151
-
152
- Lookup uses the existing run indexes and retained artifacts. Terminal indexing
153
- keeps the alias after result delivery while the run's status is retained.
154
- Correlation is not idempotent spawn: multiple runs with one alias are ambiguous, and missing or
155
- expired evidence never proves that execution did not start. Do not redispatch
156
- on that basis.
157
-
158
- ### Fleet status DTO
159
-
160
- When `ping.capabilities.fleetStatus` is `{ version: 1 }`, successful `status` replies include `data.fleet`: `{ version: 1, entries, totalActive, omitted }`.
161
-
162
- Entries are bounded, current-session public display records with an opaque reconciliation `key`, resolved `agent`, optional `role`, `model`, `effort`, caller-facing `goal`, safe `startedAt`, and `{ input, output, total }` tokens. `totalActive` and `omitted` preserve overflow information beyond the bounded entry window.
163
-
164
- The DTO intentionally never exposes run, async, or tool IDs. Clients must ignore unknown fields and fall back to status text when the capability is absent.
165
-
166
- `data.asyncSnapshot` is a separate bounded projection included on successful status replies when available. Its `runs[].id` contains the async run id; unlike the fleet DTO, it is not an opaque display key. Fleet keys remain opaque and must not be interpreted as run or async identifiers.
167
-
168
- ### Scope
169
-
170
- `pi.events` is in-process only. It does not reach separate Pi processes or child subagents; use the file lifecycle artifacts or `pi-intercom` for cross-process coordination.
171
-
172
- ## Runtime agent registration from independent extensions
173
-
174
- An independently installed Pi extension can register an agent with the installed `pi-subagents` owner through the process-local `pi-subagents:runtime-agent-register:v1` event. Emit after extension setup, such as during `session_start`. Event delivery is synchronous, so the owner writes the result onto the request before `emit()` returns.
175
-
176
- ```typescript
177
- const request: {
178
- version: 1;
179
- name: string;
180
- definition: {
181
- description: string;
182
- systemPrompt: string;
183
- tools?: readonly string[];
184
- };
185
- result?:
186
- | { ok: true; registration: { dispose(): void } }
187
- | { ok: false; error: Error };
188
- } = {
189
- version: 1,
190
- name: "runtime-probe-agent",
191
- definition: {
192
- description: "Agent registered by an independent extension",
193
- systemPrompt: "Return the words runtime probe.",
194
- tools: [],
195
- },
196
- };
197
-
198
- pi.events.emit("pi-subagents:runtime-agent-register:v1", request);
199
- if (!request.result) throw new Error("pi-subagents is not installed or not ready");
200
- if (!request.result.ok) throw request.result.error;
201
- const registration = request.result.registration;
202
- // Call registration.dispose() during your extension cleanup.
203
- ```
204
-
205
- If `pi-subagents` is a resolvable dependency of the consumer package, `pi-subagents/agents` exports `RUNTIME_AGENT_REGISTER_EVENT`, the request/result types, and `registerAgentViaEvents()` for the same contract. A separately installed Pi package is not automatically a Node dependency of another package. In that case, use the event contract directly instead of a runtime import. A type-only development dependency is optional.
206
-
207
- A registered agent follows the operator's subagent model settings like any other agent: `subagents.defaultModel`, `defaultProvider`, and `defaultThinking` fill a definition that omits `model` or `thinking`, and the `model`, `defaultProvider`, `fast`, and `thinking` fields of `agentOverrides.<name>` win over the definition. Every other definition field stays extension-owned, and other override fields are ignored for runtime agents. Set `model` in the definition only when the agent must not follow operator model settings; `model: "inherit"` selects the parent session model explicitly.
208
-
209
- The installed owner applies the existing runtime-agent validation, collision checks, limits, runtime source metadata, and cleanup. If more than one owner listens, the first handler that writes `request.result` wins. Unsupported versions, malformed requests, and registration failures return `{ ok: false, error }`. No result means no compatible owner handled the event.
210
-
211
- This contract is process-local. It does not register agents in child sessions or other Pi processes, and it does not change package discovery or package resolution.
212
-
213
- ## External jobs in FleetView
214
-
215
- Use `pi-subagents/external-runs` to publish display-only current-session jobs owned by another extension:
216
-
217
- ```ts
218
- import {
219
- registerExternalRun,
220
- updateExternalRun,
221
- unregisterExternalRun,
222
- } from "pi-subagents/external-runs";
223
-
224
- registerExternalRun({
225
- id: "dependency-review",
226
- sessionId: ctx.sessionManager.getSessionId(),
227
- source: "interactive-shell",
228
- label: "Dependency review",
229
- state: "running",
230
- startedAt: Date.now(),
231
- currentAction: "Inspecting package metadata",
232
- });
233
-
234
- updateExternalRun(ctx.sessionManager.getSessionId(), "dependency-review", {
235
- state: "completed",
236
- updatedAt: Date.now(),
237
- endedAt: Date.now(),
238
- preview: "No dependency blockers found.",
239
- reportPath: "/tmp/dependency-review.md",
240
- });
241
-
242
- unregisterExternalRun(ctx.sessionManager.getSessionId(), "dependency-review");
243
- ```
244
-
245
- The API validates and caches bounded display fields when the caller registers or updates a job. FleetView reads that cache only. It does not poll caller code. `snapshotExternalRuns(sessionId)` and `listExternalRuns(sessionId)` return bounded current-session snapshots. Snapshots filter the session-qualified cache key before inspecting record fields; API-written records avoid repeated normalization through module-private provenance, while records replaced or mutated through the process-local registry are validated on demand. By default, malformed records for the requested session throw with the validation error. Display-only Fleet callers can pass `{ ignoreMalformed: true, onMalformedRecord }` to remove bad records and keep rendering with a programmatic diagnostic.
246
-
247
- External jobs are observational. The caller owns execution, persistence, cancellation, and result delivery. FleetView does not expose stop, steer, resume, cancel, or inspector controls for them. Supplied report and transcript paths are shown as bounded text only; FleetView does not read arbitrary external paths.
248
-
249
- ## Launch contract preflight
250
-
251
- Use `pi-subagents/preflight` when an extension needs to inspect the resolved child launch contract before deciding whether to run anything:
252
-
253
- ```ts
254
- import { resolveSubagentLaunchContract } from "pi-subagents/preflight";
255
-
256
- const result = await resolveSubagentLaunchContract({
257
- agent: "reviewer",
258
- task: "Review the current diff.",
259
- context: "fresh",
260
- cwd: ctx.cwd,
261
- sessionRoot: "/tmp/my-extension-preflight-session-root",
262
- availableModels: ctx.modelRegistry.getAvailable(),
263
- });
264
-
265
- if (!result.ok) {
266
- // missing_agent, ambiguous_agent, missing_skill, denied_required_tool,
267
- // invalid_artifact_dir, invalid_cwd, unsupported_mode, restricted_agent,
268
- // thinking_ceiling, model_scope, invalid_extension_bindings, or invalid_intercom_bridge
269
- throw new Error(result.message);
270
- }
271
-
272
- console.log(result.contract.digest, result.contract.tools.effectiveAllowlist);
273
- ```
274
-
275
- Preflight covers ordinary single-agent launch resolution:
276
-
277
- - Selected agent identity and shadowed candidates.
278
- - A parsed-definition digest, including system prompt and launch-affecting model, tool, skill, extension, output, and memory fields. Runtime overlays such as the Intercom bridge never change it.
279
- - Fresh/fork context, effective model and thinking, skill and tool resolution, direct MCP selections, runtime/configured extensions. Pass your extension's `pi` as `runtimeSnapshotHost` so `mcp:` selections resolve against Pi's built-in MCP the way a launch does. Without it, preflight cannot see built-in MCP and resolves `mcp:` selections through pi-mcp-adapter's configuration, as before.
280
- - Model scope allow lists accept the reserved tokens `inherit` and `scoped`; `scoped` expands to the caller-supplied `scopedModelIds` snapshot, degrading to `inherit` when it is omitted. Callers whose `modelScope.allow` uses `scoped` must pass `scopedModelIds` (the session's `/scoped-models` snapshot) alongside `parentModel`, otherwise preflight resolves it as `inherit` and may reject models the actual launch allows.
281
- - Pass `projectTrusted: ctx.isProjectTrusted()` to match a session that declined project trust. With `false`, project agents and project subagent settings are ignored and an explicit `agentScope: "project"` returns `restricted_agent`. It defaults to `true`.
282
- - The resolved Intercom bridge state (`intercomBridge.mode` and `intercomBridge.active`). An active bridge appends the bridge instruction to the child prompt and adds `contact_supervisor` to a declared tool list, exactly as execution does.
283
- - Artifact/session paths, async lifecycle/status/result/event/process-terminal paths, package/lifecycle versions, capability-ceiling audit data, and stable digests.
284
-
285
- `launchContractDigest` is the canonical digest of the caller task, effective system prompt (including an active bridge instruction), model candidates, effective tools/extensions/MCP (including inherited capability ceilings and the bridge tool), output binding, and structured-output schema that ordinary foreground and async execution report in results/status/events and metadata. Preflight and each execution path that reports the digest assemble it through one shared binding, so equal inputs produce equal digests.
286
-
287
- Bridge inputs:
288
-
289
- - `intercomBridge` replaces the global `intercomBridge` config for this launch, with the same semantics as the `subagent` tool and delegation overrides. Pass the same value to the launch you compare against. Preflight reads the global config from disk on each call while the running extension keeps the config it loaded at startup, so pass the override when the digest must not depend on that file.
290
- - The default bridge instruction never names the parent session, so most hosts need no further input. When the configured `instructionFile` interpolates `{orchestratorTarget}`, preflight reports a `host_required` diagnostic unless the host supplies a non-empty `orchestratorTarget`; the executor derives that target with `resolveIntercomSessionTarget` from `pi-subagents/intercom-bridge`, given the parent session name and id.
291
-
292
- Boundaries:
293
-
294
- - Runtime acceptance prose and output-task annotations are intentionally excluded because side-effect-free preflight does not resolve those host/runtime augmentations; the launch and task digests make that boundary explicit.
295
- - Raw prompts are not exposed in public contract output.
296
- - It is side-effect-free for launch state: it does not create child sessions, temp prompt files, structured-output runtimes, tool-diagnostic files, or run artifacts.
297
- - Some host-owned facts, such as exact fork snapshots, nested async roots, and live model registries, can only be proven by the Pi host; those appear as `host_required` diagnostics instead of silently pretending to be exact.
298
- - Preflight reads the extension config, so `defaultSubagentContext: "fresh"` or `"fork"` affects omitted context in the same way as execution. Explicit `context` still wins.
299
-
300
- ## Structured delegation API
301
-
302
- Other Pi extensions can ask `pi-subagents` to run one configured foreground leaf agent through the structured delegation API. It uses the established `prompt-template:subagent:*` event family and the same executor as the `subagent` tool; it does not add another launcher.
303
-
304
- ```ts
305
- import {
306
- SUBAGENT_DELEGATION_REQUEST_EVENT,
307
- SUBAGENT_DELEGATION_RESPONSE_EVENT,
308
- type SubagentDelegationRequest,
309
- type SubagentDelegationResponse,
310
- } from "pi-subagents/delegation";
311
-
312
- const request: SubagentDelegationRequest = {
313
- requestId: crypto.randomUUID(),
314
- ownerRunId: workflowRunId,
315
- nodeId: "review-accuracy",
316
- agent: "reviewer",
317
- task: "Review the supplied evidence.",
318
- context: "fresh",
319
- cwd: ctx.cwd,
320
- thinking: "high",
321
- result: {
322
- kind: "structured",
323
- schema: {
324
- type: "object",
325
- properties: { verdict: { type: "string" } },
326
- required: ["verdict"],
327
- additionalProperties: false,
328
- },
329
- },
330
- };
331
-
332
- const unsubscribe = pi.events.on(SUBAGENT_DELEGATION_RESPONSE_EVENT, (payload) => {
333
- const response = payload as SubagentDelegationResponse;
334
- if (response.requestId !== request.requestId) return;
335
- if (response.ownerRunId !== request.ownerRunId || response.nodeId !== request.nodeId) return;
336
- unsubscribe();
337
- // Inspect response.status, response.result, response.usage, model, and thinking.
338
- });
339
- pi.events.emit(SUBAGENT_DELEGATION_REQUEST_EVENT, request);
340
- ```
341
-
342
- Identity:
343
-
344
- - `ownerRunId` plus `nodeId` is the active logical identity; `requestId` identifies one attempt.
345
- - A second active attempt for the same logical node receives `duplicate_node` without disturbing the original.
346
- - Started, update, response, and cancellation payloads carry the full tuple. Cancellation affects only an exact tuple, including cancel-before-start races.
347
- - Each attempt emits at most one terminal response.
348
-
349
- Results:
350
-
351
- - Result mode is explicit. Text remains literal even when it looks like JSON. Structured mode returns the separately captured, schema-validated JSON value.
352
- - Terminal usage reports input, output, cache-read, cache-write, cost, turns, tool calls, and duration alongside the effective model and thinking level when known. Native child totals are reconciled per attempt from post-prompt session messages: complete persisted fields replace live aggregates, while incomplete fields retain them.
353
-
354
- Live update events are bounded progress snapshots, not patches, so consumers should replace the prior snapshot rather than merge it as a delta. Structured delegation coalesces heartbeats whose delegation-visible progress and recent output are unchanged; a duration-only heartbeat therefore does not produce another update. The terminal response remains authoritative for the complete result, error, and final usage details.
355
-
356
- Bounds:
357
-
358
- - Schemas are capped at 64 KiB; tasks and returned text/structured values are capped at 1 MiB, with smaller bounds on identity/configuration strings and a maximum `timeoutMs` of 2,147,483,647.
359
- - Structured delegation accepts `toolBudget: { hard: 0, block: "*" }` to block the first tool call and run a zero-tool leaf; ordinary model-facing/configured budgets keep their existing minimum of one.
360
- - `intercomBridge` optionally replaces the global bridge config for one delegation, for example `{ mode: "off" }` when no supervisor session will answer the child. Pass the same value to `resolveSubagentLaunchContract` to compare `launchContractDigest` against the terminal response.
361
- - The foreground bridge retains up to 8,192 exact pending-cancellation and settled-attempt identities per extension context. If either history fills, it fails closed with `unavailable_context` for later starts rather than evicting identity facts; lifecycle reset clears the bounded history.
362
-
363
- Constraints:
364
-
365
- - Delegation requires an active extension context. Emit requests from a supported event callback or queued application step, not by recursively invoking the `subagent` tool inside another tool's `tool_call` hook.
366
- - The caller selects a configured agent, but agent discovery and effective tools remain package-owned. A request cannot grant arbitrary tools, and tool restrictions are not an operating-system sandbox.
367
- - The detached RPC remains async-only; this API is foreground-only.
368
-
369
- Unversioned prompt-template payloads with `requestId`, `agent`, `task`, `context`, `model`, and `cwd` are rejected as legacy direct delegation. New integrations must use the structured owned-leaf request above. `pi-subagents/delegation` is the canonical contract for extension integrations.
370
-
371
- ## Capability ceilings
372
-
373
- Parent extensions can enforce an out-of-band, session-scoped capability ceiling without adding a model-visible field to `subagent`:
374
-
375
- ```ts
376
- import { registerSubagentCapabilityCeiling } from "pi-subagents/capability-ceiling";
377
-
378
- const restriction = registerSubagentCapabilityCeiling({
379
- sessionId: ctx.sessionManager.getSessionId(),
380
- source: "plan-mode",
381
- ceiling: {
382
- allowedAgents: ["plan-scout", "plan-researcher", "plan-reviewer"],
383
- allowedTools: ["read", "grep", "find", "ls"],
384
- denyExtensions: true,
385
- },
386
- });
387
- // restriction.update(...) replaces this provider's policy atomically.
388
- // restriction.dispose() removes only this provider's registration.
389
- ```
390
-
391
- Semantics:
392
-
393
- - Active registrations intersect their `allowedTools` and `allowedAgents` sets and OR `denyExtensions`.
394
- - An explicit empty list means no caller-facing tools or launchable agents for that field; an omitted list does not restrict names.
395
- - `allowedAgents` entries are canonical agent names and are case-sensitive.
396
- - Launching a non-allowlisted agent fails before spawn, and `{ action: "list" }` keeps restricted agents visible in a separate non-executable section instead of silently hiding them.
397
- - The resolved snapshot is propagated monotonically to nested and async children and is retained for recovery.
398
- - `structured_output` may remain as a package-owned internal protocol tool when an output schema requires it; it is not a caller capability.
399
- - A denied lazy-skill `read` requirement fails before spawn rather than widening the ceiling.
400
-
401
- `denyExtensions` suppresses ambient, configured, and MCP provider extensions while retaining the package runtime needed for child protocol enforcement. This is a same-process policy boundary, not a sandbox against malicious code already running in the parent process.
402
-
403
- Schedules created while a ceiling is active are rejected until durable schedule persistence is available; unrestricted schedules remain subject to any policy active when they fire. Public status exposes bounded audit counts and sources, never full extension paths.
404
-
405
- ## Background-work provider API
406
-
407
- Other Pi extensions can make their current-session jobs visible to `bg_wait` through the process-local provider contract:
408
-
409
- ```ts
410
- import { registerBackgroundWorkProvider } from "pi-subagents/background-work";
411
-
412
- const dispose = registerBackgroundWorkProvider({
413
- name: "my-background-extension",
414
- wakeChannels: ["my-extension:job-finished"],
415
- listActiveWork: (context) => jobs
416
- .filter((job) => job.status === "running" && (!context || job.ownerSessionId === context.sessionId))
417
- .map((job) => ({ id: job.id, sessionId: job.ownerSessionId })),
418
- reconcile: ({ sessionId, nowMs }) => reconcileJobs(sessionId, nowMs),
419
- });
420
- ```
421
-
422
- Semantics:
423
-
424
- - Each item needs a stable provider-local ID and the exact Pi session ID that owns it. `bg_wait` captures those identities rather than a count, so one job finishing while another starts still satisfies first-completion waits without losing the replacement.
425
- - `listActiveWork` receives an optional `{ sessionId, nowMs }` context during snapshots. Providers can use `sessionId` to avoid scanning unrelated work; existing zero-argument `() => items` providers continue to work, and returned items are still validated and filtered to the exact requested session.
426
- - It filters snapshots to the active session, fails closed if a provider disappears while its work is tracked, and surfaces malformed snapshots or provider errors with provider context.
427
- - Wake channels only shorten polling; validated snapshots remain authoritative.
428
- - Providers share a registry through `Symbol.for("pi-subagents.background-work.v1")`, allowing independently loaded extension modules to meet in one Pi process.
429
- - Registration is reload-safe: a new provider with the same name replaces the old callback, and the old disposer cannot remove the replacement. Call the disposer during extension shutdown when possible.
430
-
431
- Children do not gain provider tools or extensions automatically. Add `bg_wait` to the child agent's `tools` allowlist and load each provider through `extensions` or `subagentOnlyExtensions`. The parent's effective `waitTool` setting reaches every child through its typed runtime config; `PI_SUBAGENT_WAIT_TOOL_ENABLED` keeps precedence in the parent.
432
-
433
- Local foreground children never load the parent's ambient extensions: they share the parent's process, and loading them would start a second copy of every ambient extension, including this one, inside it. They do inherit the providers the parent's extensions registered, so a provider extension's models resolve in a local foreground child. Pane-native remote foreground children instead use the remote machine's provider discovery and configuration. Agents that need MCP tools (`mcpDirectTools`, or MCP tools from an ambient adapter such as pi-mcp-adapter) must run as background children (`async: true`), which load the ambient extensions inside the detached runner process unless the agent sets `extensions` or the capability ceiling denies extensions.
434
-
435
- ## External job provider bridge
436
-
437
- Extensions that own long-running advisor jobs can register a process-local provider for `runner.type: external-job` agents:
438
-
439
- ```ts
440
- import { registerExternalJobProvider } from "pi-subagents/external-job-provider";
441
-
442
- const dispose = registerExternalJobProvider({
443
- name: "surf-oracle",
444
- start: ({ prompt, promptDigest, cwd, runId, stepIndex, agent, options }) => startSurfJob({ prompt, promptDigest, cwd, runId, stepIndex, agent, options }),
445
- followUp: ({ prompt, parentProviderJobId, requestId, requestDigest, options }) => followUpSurfJob({ prompt, parentProviderJobId, requestId, requestDigest, options }),
446
- status: (providerJobId) => getSurfJobStatus(providerJobId),
447
- result: (providerJobId) => getSurfJobResult(providerJobId),
448
- reattach: (providerJobId) => reattachSurfJob(providerJobId),
449
- });
450
- ```
451
-
452
- The provider returns handles with `providerJobId`, `state`, optional `handleUrl`/`conversationUrl`, optional `failureCode`/`failureMessage`, and optional `blockingJobId` for capacity conflicts. `result` can also return `output` and/or `artifactPath`.
453
-
454
- `followUp(input)` is optional. When it is present, a completed external-job run can be continued with `subagent({ action: "resume", id: "<run>", message: "..." })`. Pi sends the completed parent provider job id plus a stable `requestId` and `requestDigest`. The provider must continue that parent conversation or fail closed. It must not open a fresh thread when the parent conversation is missing.
455
-
456
- The async runner process does not import provider internals. It writes operation requests into its async run directory. The Pi process of the session that launched the run services those requests against the registered provider and writes operation responses. A child session services the external-job runs it launches. Register the provider in that child too, for example through the child agent's `extensions`. If the provider is not registered, the bridge fails closed with an actionable error. If a run is recovered after provider job metadata exists, the runner calls `reattach` and `result`; it does not call `start` or `follow-up` again.
457
-
458
- ## Inspect integration
459
-
460
- Inspect is the portable command and action surface for an existing async run. The public actions are:
461
-
462
- ```ts
463
- subagent({ action: "inspector.command", id: "<run-id>", options: { index: 0 } })
464
- subagent({ action: "inspector.open", id: "<run-id>", options: { index: 0, focus: true } })
465
- subagent({ action: "inspector.status", id: "<run-id>", options: { index: 0 } })
466
- subagent({ action: "inspector.close", id: "<run-id>", options: { index: 0 } })
467
- ```
468
-
469
- `inspector.command` returns a standalone runner command without contacting a host or writing a binding. `inspector.open` selects an available built-in or externally registered inspector plugin. `status` and `close` select the plugin that owns the run binding and report clearly when that plugin does not support the requested lifecycle action. Without an available plugin, `open` fails closed with an actionable message; ordinary launches remain headless. Closing an inspector never stops the run.
470
-
471
- ### Register an external inspector
472
-
473
- A loaded Pi extension can add an inspector through the synchronous
474
- `pi-subagents:inspector-register:v1` event. This lets terminal integrations use
475
- Fleet's existing Enter/H actions without modifying pi-subagents. Registration
476
- adds no runner, tool, or configuration option.
477
-
478
- ```ts
479
- import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
480
- import type { InspectorRegistration, InspectorRegistrationRequest } from "pi-subagents/inspectors";
481
- import { myInspector } from "./my-inspector.ts"; // Your InspectorPlugin implementation.
482
-
483
- export default function (pi: ExtensionAPI) {
484
- let registration: InspectorRegistration | undefined;
485
- pi.on("session_start", () => {
486
- registration?.dispose();
487
- const request: InspectorRegistrationRequest = { version: 1, plugin: myInspector };
488
- pi.events.emit("pi-subagents:inspector-register:v1", request);
489
- if (!request.result) throw new Error("pi-subagents inspector registration is unavailable.");
490
- if (!request.result.ok) throw request.result.error;
491
- registration = request.result.registration;
492
- });
493
- pi.on("session_shutdown", () => registration?.dispose());
494
- }
495
- ```
496
-
497
- `pi-subagents/inspectors` exports the event name as `INSPECTOR_REGISTER_EVENT`,
498
- the request and registration types, and the existing `InspectorPlugin`,
499
- `InspectorContext`, `InspectorLaunch`, `InspectorParams`, and `InspectorTarget`
500
- types. When pi-subagents is a resolvable dependency, `registerInspector(pi, plugin)`
501
- emits the same request and returns the registration or throws. Independently
502
- installed extensions can use the event directly; type-only imports need only a
503
- development dependency and create no runtime module dependency.
504
-
505
- An `InspectorPlugin` supplies:
506
-
507
- - `name`: 1–128 letters, digits, dots, underscores, or hyphens, starting with a letter or digit.
508
- - `available(context)`: whether this terminal host can open an inspector; may be async.
509
- - `open(context, launch, params)`: open the supplied inspector command and return an `AgentToolResult<Details>`, like the built-in plugins. `launch.executable` and `launch.argv` carry the existing runner, target, trusted session roots, and steer/stop permission flags. Preserve these arguments and respect `params.focus`.
510
- - `owns(context)`: synchronously check whether the provider owns an inspector binding for this target.
511
- - Optional `status(context)` and `close(context)`: inspect or close that binding, returning the same result type. Closing an inspector must not stop the subagent.
512
-
513
- The existing dispatcher tries Herdr, then Ghostty, then tmux, then external providers in
514
- registration order. Names are case-sensitive; duplicate names and the built-in
515
- names `herdr`, `ghostty`, and `tmux` are rejected. A selected provider's failure is not
516
- retried through another provider. Status/close use the first provider whose
517
- `owns` returns true; unavailable lifecycle methods remain explicit errors.
518
- Providers own their pane bindings and must verify ownership before closing one.
519
-
520
- Registrations belong to the pi-subagents runtimes listening on the Pi event bus,
521
- not the consumer module; they survive runtime replacement, are isolated from
522
- child runtimes and other Pi instances, and are cleared when the last owner shuts
523
- down or reloads. Disposal is idempotent, removes callbacks without closing panes,
524
- and takes effect even while Fleet is open because it resolves providers per
525
- action. Providers receive the current action context, so do not capture a stale
526
- session context; dispose before re-registering on session changes. Unsupported
527
- versions and malformed plugins return `{ ok: false, error }`, and the first owner
528
- to fill `result` handles the request.
529
-
530
- This is a trusted-code integration, not a sandbox. Registration does not change
531
- run resolution, child-safe restrictions, authority policy, or supervisor routing.
532
-
533
- ### Herdr inspector plugin
534
-
535
- The bundled Herdr inspector plugin supports Herdr 0.7.5+. It opens a raw dashboard pane, not the child session and not a literal attach. It reads lifecycle, status, output, and mission artifacts; steer and stop continue through pi-subagents' existing control inbox. Use `focus` only with `inspector.open`; Herdr 0.7.5 cannot focus an arbitrary existing raw pane id.
536
-
537
- ### Ghostty inspector plugin
538
-
539
- Ghostty 1.3+ on macOS is the second bundled open-only plugin, using Ghostty's preview AppleScript API. It splits the focused terminal and launches the read-only inspector command; status and close are unavailable because it writes no binding. Ghostty Automation permission is required.
540
-
541
- ## Herdr integration
542
-
543
- When Pi runs inside [Herdr](https://herdr.dev), pi-subagents automatically reports active async-run counts through Herdr pane metadata.
544
-
545
- - The bridge is enabled only when Herdr supplies `HERDR_ENV=1` and `HERDR_PANE_ID`; outside Herdr it registers no listeners or timers.
546
- - It restores current-session active runs after `/reload` or `/resume`, refreshes metadata while work is active, and clears it on completion or shutdown.
547
- - The bridge emits `herdr:busy` while async work remains and never raises `herdr:blocked`, because a child's attention request goes to the parent agent, not the user. Herdr's Pi integration does not consume `herdr:busy` yet, so the pane's dot follows the parent's own turn and the metadata label shows the active work.
548
- - The owning Pi session is the only publisher for its own pane metadata. When an active workflow has an explicit bounded `label`, the newest active label appears in the summary and compact `title-suffix`; overlapping completion restores the previous active label. Raw task and goal prompts never enter Herdr metadata. Without a label, one active run uses its agent name and two or more use the active-run count. Attention adds `⚠`, and the suffix is cleared when active work reaches zero.
549
-
550
- To show the reported label in the expanded Agent sidebar, include `state_text` or `$summary` in its row layout:
551
-
552
- ```toml
553
- [ui.sidebar.agents]
554
- rows = [
555
- ["state_icon", "workspace", "tab"],
556
- ["agent", "state_text"],
557
- ]
558
- ```
559
-
560
- ### Project panes
561
-
562
- For substantial work in another codebase, Herdr 0.7.5+ can open a project-owned Pi pane rooted in that repository:
563
-
564
- ```ts
565
- subagent({ action: "project.open", cwd: "/path/to/repo", message: "Own the auth refresh mission for this project." })
566
- subagent({ action: "project.status", cwd: "/path/to/repo" })
567
- subagent({ action: "project.close", cwd: "/path/to/repo" })
568
- ```
569
-
570
- A project pane runs its own Pi session in the target directory, so subagents launched from that pane use that project's config, agents, skills, files, git state, and missions. The parent session keeps coordination authority, but it does not own or control the subagents inside the peer pane. Existing headless runs are not moved into the pane. Pane bindings live under `<projectRoot>/.pi/subagents/project-panes/herdr.json` and are only a local pointer to the Herdr pane.
571
-
572
- Other Pi extensions should use the versioned public TypeScript surface instead of invoking the model-facing tool or importing inspector internals:
573
-
574
- ```ts
575
- import {
576
- PROJECT_PANES_API_VERSION,
577
- openProjectPane,
578
- getProjectPaneStatus,
579
- focusProjectPane,
580
- closeProjectPane,
581
- } from "pi-subagents/project-panes";
582
-
583
- const opened = await openProjectPane({ cwd: "/path/to/repo", focus: false });
584
- const status = await getProjectPaneStatus({ cwd: "/path/to/repo" });
585
- const focused = await focusProjectPane({ cwd: "/path/to/repo" });
586
- const closed = await closeProjectPane({ cwd: "/path/to/repo", requireIdle: true });
587
- ```
588
-
589
- The API returns discriminated structured results with canonical project root, binding path, pane identity, bounded Herdr runtime fields, stable error codes, and `PROJECT_PANES_API_VERSION: 1`.
590
-
591
- - Close fails closed unless the saved pane id is still verified for that project and Herdr explicitly reports `agent_status: "idle"`. `requireIdle` is retained for callers that already pass it, but it cannot weaken that rule.
592
- - Focus uses the saved pane id, asks Herdr for its `tab_id` or `workspace_id`, and then calls the matching Herdr focus command.
593
- - The API reports `trust: "human-verification-required"`. It never bypasses or claims to attest Pi's project-trust prompt.
594
-
595
- ## Host session lifetime and completion wakes
596
-
597
- A host that embeds this extension owns whether completion wakes can be delivered at all.
598
-
599
- Ordinary async and foreground completion wakes use `registerSubagentNotify` and `sendCompletion`. They listen for completion events and deliver through `pi.sendMessage(..., { triggerTurn })`. When the parent is idle, every pi-subagents notice that should start a turn (completions, supervisor asks, control and steering notices, wait subscriptions) is instead appended without a turn, followed by one user message, `PARENT_WAKE_TEXT` from `src/shared/parent-wake.ts`, sent with `pi.sendUserMessage`. Pi runs `before_agent_start` only for prompts, so this keeps extension-set system prompt sections in the woken run. A busy parent still gets the notice as a steering message. After the user aborts a parent run in a host with a UI, these notices are only appended, with no turn and no wake message, until the next parent run starts. Session shutdown stops the result watcher and disposes this completion notifier. `createWaitSubscriptionManager` is separate: it is the explicit non-blocking `bg_wait` subscription path for work without native notification, not the ordinary completion wake path.
600
-
601
- Each completion notice is a custom message with `customType: "subagent-notify"`. Its `content` is the text the model reads. Pi does not send `details` to the model, so hosts can use it to match a notice to its runs by id without parsing the text. `details.runs` has one entry per finished run, in the order of the notice. A grouped notice has several entries. Each entry has `agent` and `status` (`completed`, `failed`, `paused` or `stopped`). When known, an entry also has these fields:
602
-
603
- - `runId`: the finished run's id. For a workflow it equals `workflowRunId`.
604
- - `workflowRunId`: set only for workflows.
605
- - `childRuns`: `{ runId, workflowKey?, agent?, status }` for each workflow, chain or parallel child.
606
- - `childOutputs`: the per-child saved output paths of a workflow.
607
- - `source`, `durationMs`, `asyncDir`, `workflowReceiptPath`, `handoffPath`, and `sessionLabel` with `sessionValue` (a session file, share URL or share error).
608
-
609
- Entries can also carry other values the notice text is built from, such as `scheduleOrigin` and `watchdogBlockers`. The output previews are only in `content`.
610
-
611
- Detached children do not stop when the session does. They are the host process's children, not the session's, so the run keeps going, completes, and notifies nobody. What is lost is the notification, not the work.
612
-
613
- This matters because "is the parent busy?" is the wrong idle signal. A parent that launches a detached run and hands control back — which is what the async launch output tells it to do — is not prompting, streaming, compacting, or running a shell command. A host that reaps sessions on those signals alone will dispose exactly the session that was waiting to be woken.
614
-
615
- When pi-subagents runs inside a compatible pi-web host, it discovers the versioned `Symbol.for("@agegr/pi-web/session-liveness/v1")` registry and registers one provider for the current session. The provider reports live `queued`/`running` async jobs, active nested descendants (including foreground routes retained after their direct parent settles), foreground controls that still have a scheduling owner or active child, async runs that ended but whose result has not reached the parent (including a rejected send waiting for retry), completion notifications until Pi starts the wake message (`message_start`), even when Pi queued it behind the current turn or past `agent_settled`, and a wake prompt sent to an idle parent until its run starts (`agent_start`). Accepted wakes remain owned by the same Pi session manager and session UUID across extension reloads, until they start. Independent session managers never share this ownership, and changing the UUID on an existing manager discards the old session's wakes. A wake message Pi discards without starting keeps the session live until the session shuts down for a reason other than reload. A wake prompt whose run has not started 10 seconds later, while the parent is idle, no longer keeps the session live: an input handler consumed it or it failed, and its notices are already in the session. Retained terminal history, future schedules, and wait subscriptions do not make a session live by themselves. The registration is replaced on session changes and released during runtime shutdown or reload; other hosts remain unaffected.
616
-
617
- If your host reclaims idle sessions, keep a session alive while it still has live detached work:
618
-
619
- - Read run state from the status files under the async run directory rather than from event traffic. A long, quiet workflow sends almost nothing to the parent, so recent-activity heuristics conclude the wrong thing.
620
- - Treat `queued` and `running` as live, matching `isActiveAsyncState`. An interrupted run that is `paused` is finalized. A workflow that paused because a child used `contact_supervisor` still has a live child; keep that parent session until reconcile writes `complete` or `failed`.
621
- - Do not treat `lastUpdate` as a heartbeat. The runner advances it in memory every second but only rewrites `status.json` when the activity classification changes, so a live run inside one long quiet tool call leaves a stale file behind. Judging liveness by file age will reap exactly the run you meant to protect.
622
- - Prefer the recorded runner `pid`, which stays true through a silent tool call and goes false when the runner dies. Keep file age only as a fallback for runs that record no pid, and give it a wide window.
623
- - Match `sessionId` in `status.json` against both forms. It is resolved as `getSessionFile() ?? getSessionId()`, so it is normally the parent's session *file path*, but a session that is not persisted records a bare session id instead.
624
-
625
- The symptom when this is missed is quiet and easy to misattribute: subagents appear never to report back, which looks like a fault in this extension rather than in the host that disposed the listener.
626
-
627
- ## Component screens over RPC
628
-
629
- `/subagents-fleet`, `/subagents-stop` and the `/subagents` model and thinking pickers draw a `ctx.ui.custom()` component in the TUI. In every other mode they fall back to text or `ctx.ui.select`, because stock Pi RPC defines `custom()` as a no-op. A host that runs Pi in RPC mode and renders `custom()` components itself, such as pi-web, can set `PI_SUBAGENTS_COMPONENT_UI=1` in Pi's environment to get the component screens.
630
-
631
- ## Runtime files
632
-
633
- The main runtime files in this repository:
634
-
635
- | File | Purpose |
636
- |------|---------|
637
- | `src/extension/index.ts` | Extension registration, tool registration, message/render wiring. |
638
- | `src/integrations/pi-web-session-liveness.ts` | Optional pi-web idle-eviction liveness bridge. |
639
- | `src/agents/agents.ts` | Agent and chain discovery, frontmatter parsing. |
640
- | `src/runs/foreground/subagent-executor.ts` | Main execution routing for single, parallel, chain, management, status, interrupt, and doctor actions. |
641
- | `src/runs/foreground/execution.ts` | Core foreground `runSync` handling: drives one in-process child session per attempt. |
642
- | `src/runs/shared/child-session.ts` | In-process child session factory (`createAgentSession` behind an injectable seam) and the shared model runtime; used by both launch paths. |
643
- | `src/runs/shared/child-launch.ts` | Builds the tool plan, typed child runtime config, and session launch for a child in either host process. |
644
- | `src/runs/shared/child-tool-plan.ts` | Tool, MCP, and extension resolution for a child launch. |
645
- | `src/runs/shared/child-runtime-config.ts` | `ChildRuntimeConfig`: everything the child-side hooks need. |
646
- | `src/runs/shared/child-hooks.ts` | The inline hook extensions every child gets (prompt runtime, fast mode, fanout). |
647
- | `src/runs/background/subagent-runner.ts` | Detached async runner; hosts background child sessions in its own process. |
648
- | `src/runs/background/run-child-session.ts` | Drives one background child session and mirrors its events into the run artifacts. |
649
- | `src/runs/background/runner-aliases.ts` | Aliases the host peer packages to the installed pi package for the runner (`JITI_ALIAS`). |
650
- | `src/runs/background/async-execution.ts` | Background launch support. |
651
- | `src/runs/background/async-status.ts` | Status discovery and formatting for async runs. |
652
- | `src/workflows/scripted-workflow.ts` / `src/runs/foreground/subagent-executor.ts` | Scripted workflow orchestration and child launch routing. |
653
- | `src/shared/settings.ts` | Chain behavior, instructions, and config helpers. |
654
- | `src/runs/shared/worktree.ts` | Git worktree isolation. |
655
- | `src/intercom/intercom-bridge.ts` | Runtime intercom bridge instructions and diagnostics. |
656
- | `src/extension/schemas.ts` / `src/shared/types.ts` | Tool schemas, shared types, and event constants. |
657
- | `test/unit/` / `test/integration/` | Unit and loader-based integration tests. |
658
-
659
- ### Published package vs source checkout
660
-
661
- The npm tarball ships TypeScript compiler output with the same file layout and a compiled `index.js` entry. A Git checkout continues to run `index.ts` directly, so local extension development does not require a build step. Run `npm run pack:pkg` to build and pack the same artifact published to npm.