@emiliosp/pi-maestro 0.16.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 (1884) hide show
  1. package/ADR.md +6 -4
  2. package/CHANGELOG.md +18 -0
  3. package/README.md +14 -10
  4. package/ROADMAP.md +207 -147
  5. package/TECH_STACK.md +1 -2
  6. package/agents/builder.md +8 -19
  7. package/agents/simplifier.md +0 -11
  8. package/agents/verifier.md +12 -23
  9. package/docs/configuration.md +9 -10
  10. package/docs/glossary.md +5 -3
  11. package/docs/subagent-integration.md +28 -27
  12. package/docs/workflow.md +48 -36
  13. package/extensions/maestro.ts +1 -1
  14. package/package.json +8 -16
  15. package/src/config/schema.ts +0 -6
  16. package/src/delegation/SubSessionManager.ts +102 -0
  17. package/src/delegation/TaskExecutionError.ts +20 -0
  18. package/src/delegation/createChildServices.ts +110 -0
  19. package/src/delegation/executeTask.ts +56 -0
  20. package/src/delegation/readTaskResult.ts +27 -0
  21. package/src/maestro/checks/assertEnvironment.ts +6 -113
  22. package/src/maestro/instructions/getMaestroInstructions.ts +15 -12
  23. package/src/tools/child/record-builder-handoff.ts +28 -30
  24. package/src/tools/child/record-simplifier-handoff.ts +33 -35
  25. package/src/tools/child/record-verifier-handoff.ts +37 -39
  26. package/src/tools/main/run-builder.ts +9 -28
  27. package/src/tools/main/run-simplifier.ts +8 -26
  28. package/src/tools/main/run-verifier.ts +9 -27
  29. package/src/tools/utils/executeRoleTask.ts +57 -0
  30. package/templates/spec.md +23 -11
  31. package/extensions/maestro-subagent.ts +0 -16
  32. package/node_modules/@js-temporal/polyfill/CHANGELOG.md +0 -453
  33. package/node_modules/@js-temporal/polyfill/LICENSE +0 -13
  34. package/node_modules/@js-temporal/polyfill/README.md +0 -90
  35. package/node_modules/@js-temporal/polyfill/dist/index.cjs +0 -2
  36. package/node_modules/@js-temporal/polyfill/dist/index.cjs.map +0 -1
  37. package/node_modules/@js-temporal/polyfill/dist/index.esm.js +0 -2
  38. package/node_modules/@js-temporal/polyfill/dist/index.esm.js.map +0 -1
  39. package/node_modules/@js-temporal/polyfill/dist/index.umd.js +0 -2
  40. package/node_modules/@js-temporal/polyfill/dist/index.umd.js.map +0 -1
  41. package/node_modules/@js-temporal/polyfill/index.d.cts +0 -1215
  42. package/node_modules/@js-temporal/polyfill/index.d.ts +0 -1215
  43. package/node_modules/@js-temporal/polyfill/lib/assert.ts +0 -8
  44. package/node_modules/@js-temporal/polyfill/lib/bigintmath.ts +0 -39
  45. package/node_modules/@js-temporal/polyfill/lib/calendar.ts +0 -2424
  46. package/node_modules/@js-temporal/polyfill/lib/debug.ts +0 -7
  47. package/node_modules/@js-temporal/polyfill/lib/duration.ts +0 -438
  48. package/node_modules/@js-temporal/polyfill/lib/durationformat.d.ts +0 -93
  49. package/node_modules/@js-temporal/polyfill/lib/ecmascript.ts +0 -4973
  50. package/node_modules/@js-temporal/polyfill/lib/index.ts +0 -34
  51. package/node_modules/@js-temporal/polyfill/lib/init.ts +0 -43
  52. package/node_modules/@js-temporal/polyfill/lib/instant.ts +0 -138
  53. package/node_modules/@js-temporal/polyfill/lib/internaltypes.d.ts +0 -242
  54. package/node_modules/@js-temporal/polyfill/lib/intl.ts +0 -758
  55. package/node_modules/@js-temporal/polyfill/lib/intrinsicclass.ts +0 -162
  56. package/node_modules/@js-temporal/polyfill/lib/legacydate.ts +0 -17
  57. package/node_modules/@js-temporal/polyfill/lib/math.ts +0 -96
  58. package/node_modules/@js-temporal/polyfill/lib/now.ts +0 -48
  59. package/node_modules/@js-temporal/polyfill/lib/plaindate.ts +0 -212
  60. package/node_modules/@js-temporal/polyfill/lib/plaindatetime.ts +0 -274
  61. package/node_modules/@js-temporal/polyfill/lib/plainmonthday.ts +0 -110
  62. package/node_modules/@js-temporal/polyfill/lib/plaintime.ts +0 -154
  63. package/node_modules/@js-temporal/polyfill/lib/plainyearmonth.ts +0 -157
  64. package/node_modules/@js-temporal/polyfill/lib/regex.ts +0 -59
  65. package/node_modules/@js-temporal/polyfill/lib/slots.ts +0 -341
  66. package/node_modules/@js-temporal/polyfill/lib/temporal.ts +0 -10
  67. package/node_modules/@js-temporal/polyfill/lib/timeduration.ts +0 -149
  68. package/node_modules/@js-temporal/polyfill/lib/zoneddatetime.ts +0 -492
  69. package/node_modules/@js-temporal/polyfill/package.json +0 -143
  70. package/node_modules/acorn/CHANGELOG.md +0 -998
  71. package/node_modules/acorn/LICENSE +0 -21
  72. package/node_modules/acorn/README.md +0 -309
  73. package/node_modules/acorn/bin/acorn +0 -4
  74. package/node_modules/acorn/dist/acorn.d.mts +0 -897
  75. package/node_modules/acorn/dist/acorn.d.ts +0 -897
  76. package/node_modules/acorn/dist/acorn.js +0 -6342
  77. package/node_modules/acorn/dist/acorn.mjs +0 -6313
  78. package/node_modules/acorn/dist/bin.js +0 -90
  79. package/node_modules/acorn/package.json +0 -50
  80. package/node_modules/jiti/LICENSE +0 -21
  81. package/node_modules/jiti/README.md +0 -258
  82. package/node_modules/jiti/dist/babel.cjs +0 -257
  83. package/node_modules/jiti/dist/jiti.cjs +0 -1
  84. package/node_modules/jiti/lib/jiti-cli.mjs +0 -34
  85. package/node_modules/jiti/lib/jiti-hooks.mjs +0 -124
  86. package/node_modules/jiti/lib/jiti-native.mjs +0 -121
  87. package/node_modules/jiti/lib/jiti-register.d.mts +0 -1
  88. package/node_modules/jiti/lib/jiti-register.mjs +0 -4
  89. package/node_modules/jiti/lib/jiti-static.mjs +0 -23
  90. package/node_modules/jiti/lib/jiti.cjs +0 -30
  91. package/node_modules/jiti/lib/jiti.d.cts +0 -8
  92. package/node_modules/jiti/lib/jiti.d.mts +0 -8
  93. package/node_modules/jiti/lib/jiti.mjs +0 -29
  94. package/node_modules/jiti/lib/types.d.ts +0 -420
  95. package/node_modules/jiti/package.json +0 -146
  96. package/node_modules/jsbi/LICENSE +0 -176
  97. package/node_modules/jsbi/README.md +0 -173
  98. package/node_modules/jsbi/dist/jsbi-cjs.js +0 -2
  99. package/node_modules/jsbi/dist/jsbi-cjs.js.map +0 -1
  100. package/node_modules/jsbi/dist/jsbi-umd.js +0 -2
  101. package/node_modules/jsbi/dist/jsbi-umd.js.map +0 -1
  102. package/node_modules/jsbi/dist/jsbi.mjs +0 -2
  103. package/node_modules/jsbi/dist/jsbi.mjs.map +0 -1
  104. package/node_modules/jsbi/jsbi.d.ts +0 -43
  105. package/node_modules/jsbi/package.json +0 -35
  106. package/node_modules/pi-subagents/CHANGELOG.md +0 -3081
  107. package/node_modules/pi-subagents/LICENSE +0 -21
  108. package/node_modules/pi-subagents/README.md +0 -129
  109. package/node_modules/pi-subagents/agents/claude-code-writer.md +0 -16
  110. package/node_modules/pi-subagents/agents/claude-code.md +0 -15
  111. package/node_modules/pi-subagents/agents/codex-exec-writer.md +0 -16
  112. package/node_modules/pi-subagents/agents/codex-exec.md +0 -15
  113. package/node_modules/pi-subagents/agents/cursor-agent-writer.md +0 -15
  114. package/node_modules/pi-subagents/agents/cursor-agent.md +0 -14
  115. package/node_modules/pi-subagents/agents/delegate.md +0 -14
  116. package/node_modules/pi-subagents/agents/evidence-auditor.md +0 -35
  117. package/node_modules/pi-subagents/agents/oracle.md +0 -68
  118. package/node_modules/pi-subagents/agents/researcher.md +0 -59
  119. package/node_modules/pi-subagents/agents/reviewer.md +0 -48
  120. package/node_modules/pi-subagents/agents/scout.md +0 -47
  121. package/node_modules/pi-subagents/agents/worker.md +0 -43
  122. package/node_modules/pi-subagents/async-retention-discovery-worker.mjs +0 -180
  123. package/node_modules/pi-subagents/docs/agents.md +0 -627
  124. package/node_modules/pi-subagents/docs/configuration.md +0 -756
  125. package/node_modules/pi-subagents/docs/extension-api.md +0 -661
  126. package/node_modules/pi-subagents/docs/missions.md +0 -162
  127. package/node_modules/pi-subagents/docs/models.md +0 -253
  128. package/node_modules/pi-subagents/docs/observability.md +0 -335
  129. package/node_modules/pi-subagents/docs/standalone-background.md +0 -59
  130. package/node_modules/pi-subagents/docs/tool-reference.md +0 -558
  131. package/node_modules/pi-subagents/docs/watchdog.md +0 -187
  132. package/node_modules/pi-subagents/docs/workflows.md +0 -577
  133. package/node_modules/pi-subagents/index.d.ts +0 -3
  134. package/node_modules/pi-subagents/index.d.ts.map +0 -1
  135. package/node_modules/pi-subagents/index.js +0 -15
  136. package/node_modules/pi-subagents/index.js.map +0 -1
  137. package/node_modules/pi-subagents/inspector-runner.mjs +0 -11
  138. package/node_modules/pi-subagents/install.mjs +0 -93
  139. package/node_modules/pi-subagents/node_modules/yaml/LICENSE +0 -13
  140. package/node_modules/pi-subagents/node_modules/yaml/README.md +0 -172
  141. package/node_modules/pi-subagents/node_modules/yaml/bin.mjs +0 -11
  142. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/compose-collection.js +0 -88
  143. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/compose-doc.js +0 -43
  144. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/compose-node.js +0 -109
  145. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/compose-scalar.js +0 -86
  146. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/composer.js +0 -217
  147. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/resolve-block-map.js +0 -115
  148. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +0 -198
  149. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +0 -49
  150. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/resolve-end.js +0 -37
  151. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +0 -207
  152. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +0 -223
  153. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/resolve-props.js +0 -146
  154. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/util-contains-newline.js +0 -34
  155. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +0 -26
  156. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +0 -15
  157. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/util-map-includes.js +0 -13
  158. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/doc/Document.js +0 -335
  159. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/doc/anchors.js +0 -71
  160. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/doc/applyReviver.js +0 -55
  161. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/doc/createNode.js +0 -88
  162. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/doc/directives.js +0 -176
  163. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/errors.js +0 -57
  164. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/index.js +0 -17
  165. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/log.js +0 -11
  166. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/nodes/Alias.js +0 -114
  167. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/nodes/Collection.js +0 -147
  168. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/nodes/Node.js +0 -38
  169. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/nodes/Pair.js +0 -36
  170. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/nodes/Scalar.js +0 -24
  171. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/nodes/YAMLMap.js +0 -144
  172. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +0 -113
  173. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +0 -63
  174. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/nodes/identity.js +0 -36
  175. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/nodes/toJS.js +0 -37
  176. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/parse/cst-scalar.js +0 -214
  177. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/parse/cst-stringify.js +0 -61
  178. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/parse/cst-visit.js +0 -97
  179. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/parse/cst.js +0 -98
  180. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/parse/lexer.js +0 -717
  181. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/parse/line-counter.js +0 -39
  182. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/parse/parser.js +0 -967
  183. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/public-api.js +0 -102
  184. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/Schema.js +0 -37
  185. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/common/map.js +0 -17
  186. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/common/null.js +0 -15
  187. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/common/seq.js +0 -17
  188. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/common/string.js +0 -14
  189. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/core/bool.js +0 -19
  190. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/core/float.js +0 -43
  191. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/core/int.js +0 -38
  192. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/core/schema.js +0 -23
  193. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/json/schema.js +0 -62
  194. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/tags.js +0 -96
  195. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +0 -58
  196. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +0 -26
  197. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +0 -46
  198. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +0 -71
  199. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +0 -64
  200. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +0 -74
  201. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +0 -78
  202. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +0 -39
  203. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +0 -93
  204. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +0 -101
  205. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +0 -146
  206. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/stringify/stringify.js +0 -129
  207. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +0 -153
  208. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/stringify/stringifyComment.js +0 -20
  209. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +0 -85
  210. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +0 -24
  211. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/stringify/stringifyPair.js +0 -150
  212. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/stringify/stringifyString.js +0 -336
  213. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/util.js +0 -11
  214. package/node_modules/pi-subagents/node_modules/yaml/browser/dist/visit.js +0 -233
  215. package/node_modules/pi-subagents/node_modules/yaml/browser/index.js +0 -5
  216. package/node_modules/pi-subagents/node_modules/yaml/browser/package.json +0 -3
  217. package/node_modules/pi-subagents/node_modules/yaml/dist/cli.d.ts +0 -8
  218. package/node_modules/pi-subagents/node_modules/yaml/dist/cli.mjs +0 -201
  219. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/compose-collection.d.ts +0 -11
  220. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/compose-collection.js +0 -90
  221. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/compose-doc.d.ts +0 -7
  222. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/compose-doc.js +0 -45
  223. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/compose-node.d.ts +0 -29
  224. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/compose-node.js +0 -112
  225. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/compose-scalar.d.ts +0 -5
  226. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/compose-scalar.js +0 -88
  227. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/composer.d.ts +0 -63
  228. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/composer.js +0 -222
  229. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-block-map.d.ts +0 -6
  230. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-block-map.js +0 -117
  231. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts +0 -11
  232. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-block-scalar.js +0 -200
  233. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-block-seq.d.ts +0 -6
  234. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-block-seq.js +0 -51
  235. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-end.d.ts +0 -6
  236. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-end.js +0 -39
  237. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-flow-collection.d.ts +0 -7
  238. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-flow-collection.js +0 -209
  239. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-flow-scalar.d.ts +0 -10
  240. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-flow-scalar.js +0 -225
  241. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-props.d.ts +0 -23
  242. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-props.js +0 -148
  243. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/util-contains-newline.d.ts +0 -2
  244. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/util-contains-newline.js +0 -36
  245. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/util-empty-scalar-position.d.ts +0 -2
  246. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/util-empty-scalar-position.js +0 -28
  247. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts +0 -3
  248. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/util-flow-indent-check.js +0 -17
  249. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/util-map-includes.d.ts +0 -4
  250. package/node_modules/pi-subagents/node_modules/yaml/dist/compose/util-map-includes.js +0 -15
  251. package/node_modules/pi-subagents/node_modules/yaml/dist/doc/Document.d.ts +0 -141
  252. package/node_modules/pi-subagents/node_modules/yaml/dist/doc/Document.js +0 -337
  253. package/node_modules/pi-subagents/node_modules/yaml/dist/doc/anchors.d.ts +0 -24
  254. package/node_modules/pi-subagents/node_modules/yaml/dist/doc/anchors.js +0 -76
  255. package/node_modules/pi-subagents/node_modules/yaml/dist/doc/applyReviver.d.ts +0 -9
  256. package/node_modules/pi-subagents/node_modules/yaml/dist/doc/applyReviver.js +0 -57
  257. package/node_modules/pi-subagents/node_modules/yaml/dist/doc/createNode.d.ts +0 -17
  258. package/node_modules/pi-subagents/node_modules/yaml/dist/doc/createNode.js +0 -90
  259. package/node_modules/pi-subagents/node_modules/yaml/dist/doc/directives.d.ts +0 -49
  260. package/node_modules/pi-subagents/node_modules/yaml/dist/doc/directives.js +0 -178
  261. package/node_modules/pi-subagents/node_modules/yaml/dist/errors.d.ts +0 -21
  262. package/node_modules/pi-subagents/node_modules/yaml/dist/errors.js +0 -62
  263. package/node_modules/pi-subagents/node_modules/yaml/dist/index.d.ts +0 -25
  264. package/node_modules/pi-subagents/node_modules/yaml/dist/index.js +0 -50
  265. package/node_modules/pi-subagents/node_modules/yaml/dist/log.d.ts +0 -3
  266. package/node_modules/pi-subagents/node_modules/yaml/dist/log.js +0 -19
  267. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/Alias.d.ts +0 -29
  268. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/Alias.js +0 -116
  269. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/Collection.d.ts +0 -73
  270. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/Collection.js +0 -151
  271. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/Node.d.ts +0 -53
  272. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/Node.js +0 -40
  273. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/Pair.d.ts +0 -22
  274. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/Pair.js +0 -39
  275. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/Scalar.d.ts +0 -43
  276. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/Scalar.js +0 -27
  277. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/YAMLMap.d.ts +0 -53
  278. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/YAMLMap.js +0 -147
  279. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/YAMLSeq.d.ts +0 -60
  280. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/YAMLSeq.js +0 -115
  281. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts +0 -4
  282. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/addPairToJSMap.js +0 -65
  283. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/identity.d.ts +0 -23
  284. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/identity.js +0 -53
  285. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/toJS.d.ts +0 -29
  286. package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/toJS.js +0 -39
  287. package/node_modules/pi-subagents/node_modules/yaml/dist/options.d.ts +0 -350
  288. package/node_modules/pi-subagents/node_modules/yaml/dist/parse/cst-scalar.d.ts +0 -64
  289. package/node_modules/pi-subagents/node_modules/yaml/dist/parse/cst-scalar.js +0 -218
  290. package/node_modules/pi-subagents/node_modules/yaml/dist/parse/cst-stringify.d.ts +0 -8
  291. package/node_modules/pi-subagents/node_modules/yaml/dist/parse/cst-stringify.js +0 -63
  292. package/node_modules/pi-subagents/node_modules/yaml/dist/parse/cst-visit.d.ts +0 -39
  293. package/node_modules/pi-subagents/node_modules/yaml/dist/parse/cst-visit.js +0 -99
  294. package/node_modules/pi-subagents/node_modules/yaml/dist/parse/cst.d.ts +0 -109
  295. package/node_modules/pi-subagents/node_modules/yaml/dist/parse/cst.js +0 -112
  296. package/node_modules/pi-subagents/node_modules/yaml/dist/parse/lexer.d.ts +0 -87
  297. package/node_modules/pi-subagents/node_modules/yaml/dist/parse/lexer.js +0 -719
  298. package/node_modules/pi-subagents/node_modules/yaml/dist/parse/line-counter.d.ts +0 -22
  299. package/node_modules/pi-subagents/node_modules/yaml/dist/parse/line-counter.js +0 -41
  300. package/node_modules/pi-subagents/node_modules/yaml/dist/parse/parser.d.ts +0 -84
  301. package/node_modules/pi-subagents/node_modules/yaml/dist/parse/parser.js +0 -972
  302. package/node_modules/pi-subagents/node_modules/yaml/dist/public-api.d.ts +0 -44
  303. package/node_modules/pi-subagents/node_modules/yaml/dist/public-api.js +0 -107
  304. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/Schema.d.ts +0 -17
  305. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/Schema.js +0 -39
  306. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/common/map.d.ts +0 -2
  307. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/common/map.js +0 -19
  308. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/common/null.d.ts +0 -4
  309. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/common/null.js +0 -17
  310. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/common/seq.d.ts +0 -2
  311. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/common/seq.js +0 -19
  312. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/common/string.d.ts +0 -2
  313. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/common/string.js +0 -16
  314. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/core/bool.d.ts +0 -4
  315. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/core/bool.js +0 -21
  316. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/core/float.d.ts +0 -4
  317. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/core/float.js +0 -47
  318. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/core/int.d.ts +0 -4
  319. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/core/int.js +0 -42
  320. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/core/schema.d.ts +0 -1
  321. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/core/schema.js +0 -25
  322. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/json/schema.d.ts +0 -2
  323. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/json/schema.js +0 -64
  324. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/json-schema.d.ts +0 -69
  325. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/tags.d.ts +0 -48
  326. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/tags.js +0 -99
  327. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/types.d.ts +0 -92
  328. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts +0 -2
  329. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/binary.js +0 -70
  330. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts +0 -7
  331. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/bool.js +0 -29
  332. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts +0 -4
  333. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/float.js +0 -50
  334. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts +0 -5
  335. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/int.js +0 -76
  336. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts +0 -9
  337. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/merge.js +0 -68
  338. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts +0 -22
  339. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/omap.js +0 -77
  340. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts +0 -10
  341. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +0 -82
  342. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts +0 -1
  343. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/schema.js +0 -41
  344. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts +0 -28
  345. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/set.js +0 -96
  346. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts +0 -6
  347. package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +0 -105
  348. package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/foldFlowLines.d.ts +0 -34
  349. package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/foldFlowLines.js +0 -151
  350. package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringify.d.ts +0 -21
  351. package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringify.js +0 -132
  352. package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringifyCollection.d.ts +0 -17
  353. package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringifyCollection.js +0 -155
  354. package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringifyComment.d.ts +0 -10
  355. package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringifyComment.js +0 -24
  356. package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringifyDocument.d.ts +0 -4
  357. package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringifyDocument.js +0 -87
  358. package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringifyNumber.d.ts +0 -2
  359. package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringifyNumber.js +0 -26
  360. package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringifyPair.d.ts +0 -3
  361. package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringifyPair.js +0 -152
  362. package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringifyString.d.ts +0 -9
  363. package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringifyString.js +0 -338
  364. package/node_modules/pi-subagents/node_modules/yaml/dist/test-events.d.ts +0 -4
  365. package/node_modules/pi-subagents/node_modules/yaml/dist/test-events.js +0 -134
  366. package/node_modules/pi-subagents/node_modules/yaml/dist/util.d.ts +0 -16
  367. package/node_modules/pi-subagents/node_modules/yaml/dist/util.js +0 -28
  368. package/node_modules/pi-subagents/node_modules/yaml/dist/visit.d.ts +0 -102
  369. package/node_modules/pi-subagents/node_modules/yaml/dist/visit.js +0 -236
  370. package/node_modules/pi-subagents/node_modules/yaml/package.json +0 -97
  371. package/node_modules/pi-subagents/node_modules/yaml/util.js +0 -2
  372. package/node_modules/pi-subagents/package.json +0 -138
  373. package/node_modules/pi-subagents/prompts/council.md +0 -63
  374. package/node_modules/pi-subagents/prompts/gather-context-and-clarify.md +0 -13
  375. package/node_modules/pi-subagents/prompts/parallel-cleanup.md +0 -59
  376. package/node_modules/pi-subagents/prompts/parallel-research.md +0 -50
  377. package/node_modules/pi-subagents/prompts/parallel-review.md +0 -58
  378. package/node_modules/pi-subagents/prompts/review-loop.md +0 -47
  379. package/node_modules/pi-subagents/runner-peer-loader.mjs +0 -21
  380. package/node_modules/pi-subagents/runner-peer-preload.mjs +0 -30
  381. package/node_modules/pi-subagents/skills/council-mode/SKILL.md +0 -59
  382. package/node_modules/pi-subagents/skills/council-mode/references/pass-contracts.md +0 -150
  383. package/node_modules/pi-subagents/skills/pi-subagents/SKILL.md +0 -123
  384. package/node_modules/pi-subagents/skills/pi-subagents/references/constraints-and-recipes.md +0 -74
  385. package/node_modules/pi-subagents/skills/pi-subagents/references/execution-controls.md +0 -561
  386. package/node_modules/pi-subagents/skills/pi-subagents/references/management-authoring-rpc.md +0 -165
  387. package/node_modules/pi-subagents/skills/pi-subagents/references/multi-lane-orchestration.md +0 -61
  388. package/node_modules/pi-subagents/skills/pi-subagents/references/prompting-and-roles.md +0 -297
  389. package/node_modules/pi-subagents/skills/pi-subagents/references/review-and-validation.md +0 -73
  390. package/node_modules/pi-subagents/src/agents/advertised-agent-prompt.d.ts +0 -14
  391. package/node_modules/pi-subagents/src/agents/advertised-agent-prompt.d.ts.map +0 -1
  392. package/node_modules/pi-subagents/src/agents/advertised-agent-prompt.js +0 -69
  393. package/node_modules/pi-subagents/src/agents/advertised-agent-prompt.js.map +0 -1
  394. package/node_modules/pi-subagents/src/agents/agent-management.d.ts +0 -28
  395. package/node_modules/pi-subagents/src/agents/agent-management.d.ts.map +0 -1
  396. package/node_modules/pi-subagents/src/agents/agent-management.js +0 -1522
  397. package/node_modules/pi-subagents/src/agents/agent-management.js.map +0 -1
  398. package/node_modules/pi-subagents/src/agents/agent-memory.d.ts +0 -49
  399. package/node_modules/pi-subagents/src/agents/agent-memory.d.ts.map +0 -1
  400. package/node_modules/pi-subagents/src/agents/agent-memory.js +0 -349
  401. package/node_modules/pi-subagents/src/agents/agent-memory.js.map +0 -1
  402. package/node_modules/pi-subagents/src/agents/agent-refinements.d.ts +0 -100
  403. package/node_modules/pi-subagents/src/agents/agent-refinements.d.ts.map +0 -1
  404. package/node_modules/pi-subagents/src/agents/agent-refinements.js +0 -569
  405. package/node_modules/pi-subagents/src/agents/agent-refinements.js.map +0 -1
  406. package/node_modules/pi-subagents/src/agents/agent-scope.d.ts +0 -4
  407. package/node_modules/pi-subagents/src/agents/agent-scope.d.ts.map +0 -1
  408. package/node_modules/pi-subagents/src/agents/agent-scope.js +0 -9
  409. package/node_modules/pi-subagents/src/agents/agent-scope.js.map +0 -1
  410. package/node_modules/pi-subagents/src/agents/agent-selection.d.ts +0 -3
  411. package/node_modules/pi-subagents/src/agents/agent-selection.d.ts.map +0 -1
  412. package/node_modules/pi-subagents/src/agents/agent-selection.js +0 -23
  413. package/node_modules/pi-subagents/src/agents/agent-selection.js.map +0 -1
  414. package/node_modules/pi-subagents/src/agents/agent-serializer.d.ts +0 -8
  415. package/node_modules/pi-subagents/src/agents/agent-serializer.d.ts.map +0 -1
  416. package/node_modules/pi-subagents/src/agents/agent-serializer.js +0 -206
  417. package/node_modules/pi-subagents/src/agents/agent-serializer.js.map +0 -1
  418. package/node_modules/pi-subagents/src/agents/agents.d.ts +0 -344
  419. package/node_modules/pi-subagents/src/agents/agents.d.ts.map +0 -1
  420. package/node_modules/pi-subagents/src/agents/agents.js +0 -2748
  421. package/node_modules/pi-subagents/src/agents/agents.js.map +0 -1
  422. package/node_modules/pi-subagents/src/agents/builtin-names.d.ts +0 -2
  423. package/node_modules/pi-subagents/src/agents/builtin-names.d.ts.map +0 -1
  424. package/node_modules/pi-subagents/src/agents/builtin-names.js +0 -17
  425. package/node_modules/pi-subagents/src/agents/builtin-names.js.map +0 -1
  426. package/node_modules/pi-subagents/src/agents/chain-serializer.d.ts +0 -7
  427. package/node_modules/pi-subagents/src/agents/chain-serializer.d.ts.map +0 -1
  428. package/node_modules/pi-subagents/src/agents/chain-serializer.js +0 -319
  429. package/node_modules/pi-subagents/src/agents/chain-serializer.js.map +0 -1
  430. package/node_modules/pi-subagents/src/agents/frontmatter.d.ts +0 -16
  431. package/node_modules/pi-subagents/src/agents/frontmatter.d.ts.map +0 -1
  432. package/node_modules/pi-subagents/src/agents/frontmatter.js +0 -142
  433. package/node_modules/pi-subagents/src/agents/frontmatter.js.map +0 -1
  434. package/node_modules/pi-subagents/src/agents/global-npm-root.d.ts +0 -7
  435. package/node_modules/pi-subagents/src/agents/global-npm-root.d.ts.map +0 -1
  436. package/node_modules/pi-subagents/src/agents/global-npm-root.js +0 -58
  437. package/node_modules/pi-subagents/src/agents/global-npm-root.js.map +0 -1
  438. package/node_modules/pi-subagents/src/agents/identity.d.ts +0 -8
  439. package/node_modules/pi-subagents/src/agents/identity.d.ts.map +0 -1
  440. package/node_modules/pi-subagents/src/agents/identity.js +0 -30
  441. package/node_modules/pi-subagents/src/agents/identity.js.map +0 -1
  442. package/node_modules/pi-subagents/src/agents/proactive-skills.d.ts +0 -36
  443. package/node_modules/pi-subagents/src/agents/proactive-skills.d.ts.map +0 -1
  444. package/node_modules/pi-subagents/src/agents/proactive-skills.js +0 -156
  445. package/node_modules/pi-subagents/src/agents/proactive-skills.js.map +0 -1
  446. package/node_modules/pi-subagents/src/agents/runtime-agent-events.d.ts +0 -27
  447. package/node_modules/pi-subagents/src/agents/runtime-agent-events.d.ts.map +0 -1
  448. package/node_modules/pi-subagents/src/agents/runtime-agent-events.js +0 -53
  449. package/node_modules/pi-subagents/src/agents/runtime-agent-events.js.map +0 -1
  450. package/node_modules/pi-subagents/src/agents/runtime-agent-registry.d.ts +0 -64
  451. package/node_modules/pi-subagents/src/agents/runtime-agent-registry.d.ts.map +0 -1
  452. package/node_modules/pi-subagents/src/agents/runtime-agent-registry.js +0 -395
  453. package/node_modules/pi-subagents/src/agents/runtime-agent-registry.js.map +0 -1
  454. package/node_modules/pi-subagents/src/agents/skills.d.ts +0 -35
  455. package/node_modules/pi-subagents/src/agents/skills.d.ts.map +0 -1
  456. package/node_modules/pi-subagents/src/agents/skills.js +0 -718
  457. package/node_modules/pi-subagents/src/agents/skills.js.map +0 -1
  458. package/node_modules/pi-subagents/src/api/agents.d.ts +0 -5
  459. package/node_modules/pi-subagents/src/api/agents.d.ts.map +0 -1
  460. package/node_modules/pi-subagents/src/api/agents.js +0 -3
  461. package/node_modules/pi-subagents/src/api/agents.js.map +0 -1
  462. package/node_modules/pi-subagents/src/api/background-work.d.ts +0 -39
  463. package/node_modules/pi-subagents/src/api/background-work.d.ts.map +0 -1
  464. package/node_modules/pi-subagents/src/api/background-work.js +0 -165
  465. package/node_modules/pi-subagents/src/api/background-work.js.map +0 -1
  466. package/node_modules/pi-subagents/src/api/capability-ceiling.d.ts +0 -2
  467. package/node_modules/pi-subagents/src/api/capability-ceiling.d.ts.map +0 -1
  468. package/node_modules/pi-subagents/src/api/capability-ceiling.js +0 -2
  469. package/node_modules/pi-subagents/src/api/capability-ceiling.js.map +0 -1
  470. package/node_modules/pi-subagents/src/api/child-tool-plan.d.ts +0 -2
  471. package/node_modules/pi-subagents/src/api/child-tool-plan.d.ts.map +0 -1
  472. package/node_modules/pi-subagents/src/api/child-tool-plan.js +0 -2
  473. package/node_modules/pi-subagents/src/api/child-tool-plan.js.map +0 -1
  474. package/node_modules/pi-subagents/src/api/control-channel.d.ts +0 -2
  475. package/node_modules/pi-subagents/src/api/control-channel.d.ts.map +0 -1
  476. package/node_modules/pi-subagents/src/api/control-channel.js +0 -2
  477. package/node_modules/pi-subagents/src/api/control-channel.js.map +0 -1
  478. package/node_modules/pi-subagents/src/api/delegation.d.ts +0 -113
  479. package/node_modules/pi-subagents/src/api/delegation.d.ts.map +0 -1
  480. package/node_modules/pi-subagents/src/api/delegation.js +0 -9
  481. package/node_modules/pi-subagents/src/api/delegation.js.map +0 -1
  482. package/node_modules/pi-subagents/src/api/external-job-provider.d.ts +0 -58
  483. package/node_modules/pi-subagents/src/api/external-job-provider.d.ts.map +0 -1
  484. package/node_modules/pi-subagents/src/api/external-job-provider.js +0 -140
  485. package/node_modules/pi-subagents/src/api/external-job-provider.js.map +0 -1
  486. package/node_modules/pi-subagents/src/api/external-runs.d.ts +0 -48
  487. package/node_modules/pi-subagents/src/api/external-runs.d.ts.map +0 -1
  488. package/node_modules/pi-subagents/src/api/external-runs.js +0 -246
  489. package/node_modules/pi-subagents/src/api/external-runs.js.map +0 -1
  490. package/node_modules/pi-subagents/src/api/inspectors.d.ts +0 -21
  491. package/node_modules/pi-subagents/src/api/inspectors.d.ts.map +0 -1
  492. package/node_modules/pi-subagents/src/api/inspectors.js +0 -12
  493. package/node_modules/pi-subagents/src/api/inspectors.js.map +0 -1
  494. package/node_modules/pi-subagents/src/api/intercom-bridge.d.ts +0 -2
  495. package/node_modules/pi-subagents/src/api/intercom-bridge.d.ts.map +0 -1
  496. package/node_modules/pi-subagents/src/api/intercom-bridge.js +0 -2
  497. package/node_modules/pi-subagents/src/api/intercom-bridge.js.map +0 -1
  498. package/node_modules/pi-subagents/src/api/preflight.d.ts +0 -179
  499. package/node_modules/pi-subagents/src/api/preflight.d.ts.map +0 -1
  500. package/node_modules/pi-subagents/src/api/preflight.js +0 -410
  501. package/node_modules/pi-subagents/src/api/preflight.js.map +0 -1
  502. package/node_modules/pi-subagents/src/api/project-panes.d.ts +0 -8
  503. package/node_modules/pi-subagents/src/api/project-panes.d.ts.map +0 -1
  504. package/node_modules/pi-subagents/src/api/project-panes.js +0 -8
  505. package/node_modules/pi-subagents/src/api/project-panes.js.map +0 -1
  506. package/node_modules/pi-subagents/src/api/required-child-extensions.d.ts +0 -2
  507. package/node_modules/pi-subagents/src/api/required-child-extensions.d.ts.map +0 -1
  508. package/node_modules/pi-subagents/src/api/required-child-extensions.js +0 -2
  509. package/node_modules/pi-subagents/src/api/required-child-extensions.js.map +0 -1
  510. package/node_modules/pi-subagents/src/api/shared-types.d.ts +0 -2
  511. package/node_modules/pi-subagents/src/api/shared-types.d.ts.map +0 -1
  512. package/node_modules/pi-subagents/src/api/shared-types.js +0 -2
  513. package/node_modules/pi-subagents/src/api/shared-types.js.map +0 -1
  514. package/node_modules/pi-subagents/src/api/workflow-resources.d.ts +0 -3
  515. package/node_modules/pi-subagents/src/api/workflow-resources.d.ts.map +0 -1
  516. package/node_modules/pi-subagents/src/api/workflow-resources.js +0 -2
  517. package/node_modules/pi-subagents/src/api/workflow-resources.js.map +0 -1
  518. package/node_modules/pi-subagents/src/extension/active-runs-prompt.d.ts +0 -8
  519. package/node_modules/pi-subagents/src/extension/active-runs-prompt.d.ts.map +0 -1
  520. package/node_modules/pi-subagents/src/extension/active-runs-prompt.js +0 -30
  521. package/node_modules/pi-subagents/src/extension/active-runs-prompt.js.map +0 -1
  522. package/node_modules/pi-subagents/src/extension/config.d.ts +0 -8
  523. package/node_modules/pi-subagents/src/extension/config.d.ts.map +0 -1
  524. package/node_modules/pi-subagents/src/extension/config.js +0 -283
  525. package/node_modules/pi-subagents/src/extension/config.js.map +0 -1
  526. package/node_modules/pi-subagents/src/extension/control-notices.d.ts +0 -19
  527. package/node_modules/pi-subagents/src/extension/control-notices.d.ts.map +0 -1
  528. package/node_modules/pi-subagents/src/extension/control-notices.js +0 -30
  529. package/node_modules/pi-subagents/src/extension/control-notices.js.map +0 -1
  530. package/node_modules/pi-subagents/src/extension/declaration-pinning.d.ts +0 -19
  531. package/node_modules/pi-subagents/src/extension/declaration-pinning.d.ts.map +0 -1
  532. package/node_modules/pi-subagents/src/extension/declaration-pinning.js +0 -154
  533. package/node_modules/pi-subagents/src/extension/declaration-pinning.js.map +0 -1
  534. package/node_modules/pi-subagents/src/extension/doctor.d.ts +0 -35
  535. package/node_modules/pi-subagents/src/extension/doctor.d.ts.map +0 -1
  536. package/node_modules/pi-subagents/src/extension/doctor.js +0 -226
  537. package/node_modules/pi-subagents/src/extension/doctor.js.map +0 -1
  538. package/node_modules/pi-subagents/src/extension/fanout-child.d.ts +0 -7
  539. package/node_modules/pi-subagents/src/extension/fanout-child.d.ts.map +0 -1
  540. package/node_modules/pi-subagents/src/extension/fanout-child.js +0 -278
  541. package/node_modules/pi-subagents/src/extension/fanout-child.js.map +0 -1
  542. package/node_modules/pi-subagents/src/extension/herdr-pi-bridge.d.ts +0 -17
  543. package/node_modules/pi-subagents/src/extension/herdr-pi-bridge.d.ts.map +0 -1
  544. package/node_modules/pi-subagents/src/extension/herdr-pi-bridge.js +0 -245
  545. package/node_modules/pi-subagents/src/extension/herdr-pi-bridge.js.map +0 -1
  546. package/node_modules/pi-subagents/src/extension/index.d.ts +0 -19
  547. package/node_modules/pi-subagents/src/extension/index.d.ts.map +0 -1
  548. package/node_modules/pi-subagents/src/extension/index.js +0 -1093
  549. package/node_modules/pi-subagents/src/extension/index.js.map +0 -1
  550. package/node_modules/pi-subagents/src/extension/public-execution.d.ts +0 -71
  551. package/node_modules/pi-subagents/src/extension/public-execution.d.ts.map +0 -1
  552. package/node_modules/pi-subagents/src/extension/public-execution.js +0 -212
  553. package/node_modules/pi-subagents/src/extension/public-execution.js.map +0 -1
  554. package/node_modules/pi-subagents/src/extension/reply-workflow-script.d.ts +0 -12
  555. package/node_modules/pi-subagents/src/extension/reply-workflow-script.d.ts.map +0 -1
  556. package/node_modules/pi-subagents/src/extension/reply-workflow-script.js +0 -70
  557. package/node_modules/pi-subagents/src/extension/reply-workflow-script.js.map +0 -1
  558. package/node_modules/pi-subagents/src/extension/rpc.d.ts +0 -85
  559. package/node_modules/pi-subagents/src/extension/rpc.d.ts.map +0 -1
  560. package/node_modules/pi-subagents/src/extension/rpc.js +0 -726
  561. package/node_modules/pi-subagents/src/extension/rpc.js.map +0 -1
  562. package/node_modules/pi-subagents/src/extension/schemas.d.ts +0 -275
  563. package/node_modules/pi-subagents/src/extension/schemas.d.ts.map +0 -1
  564. package/node_modules/pi-subagents/src/extension/schemas.js +0 -311
  565. package/node_modules/pi-subagents/src/extension/schemas.js.map +0 -1
  566. package/node_modules/pi-subagents/src/extension/steering-notices.d.ts +0 -15
  567. package/node_modules/pi-subagents/src/extension/steering-notices.d.ts.map +0 -1
  568. package/node_modules/pi-subagents/src/extension/steering-notices.js +0 -23
  569. package/node_modules/pi-subagents/src/extension/steering-notices.js.map +0 -1
  570. package/node_modules/pi-subagents/src/extension/subagent-guide.d.ts +0 -5
  571. package/node_modules/pi-subagents/src/extension/subagent-guide.d.ts.map +0 -1
  572. package/node_modules/pi-subagents/src/extension/subagent-guide.js +0 -116
  573. package/node_modules/pi-subagents/src/extension/subagent-guide.js.map +0 -1
  574. package/node_modules/pi-subagents/src/extension/subagent-options.d.ts +0 -8
  575. package/node_modules/pi-subagents/src/extension/subagent-options.d.ts.map +0 -1
  576. package/node_modules/pi-subagents/src/extension/subagent-options.js +0 -52
  577. package/node_modules/pi-subagents/src/extension/subagent-options.js.map +0 -1
  578. package/node_modules/pi-subagents/src/extension/tool-activation.d.ts +0 -7
  579. package/node_modules/pi-subagents/src/extension/tool-activation.d.ts.map +0 -1
  580. package/node_modules/pi-subagents/src/extension/tool-activation.js +0 -135
  581. package/node_modules/pi-subagents/src/extension/tool-activation.js.map +0 -1
  582. package/node_modules/pi-subagents/src/extension/tool-description.d.ts +0 -20
  583. package/node_modules/pi-subagents/src/extension/tool-description.d.ts.map +0 -1
  584. package/node_modules/pi-subagents/src/extension/tool-description.js +0 -170
  585. package/node_modules/pi-subagents/src/extension/tool-description.js.map +0 -1
  586. package/node_modules/pi-subagents/src/extension/tool-result.d.ts +0 -10
  587. package/node_modules/pi-subagents/src/extension/tool-result.d.ts.map +0 -1
  588. package/node_modules/pi-subagents/src/extension/tool-result.js +0 -17
  589. package/node_modules/pi-subagents/src/extension/tool-result.js.map +0 -1
  590. package/node_modules/pi-subagents/src/extension/upgrade-notice.d.ts +0 -7
  591. package/node_modules/pi-subagents/src/extension/upgrade-notice.d.ts.map +0 -1
  592. package/node_modules/pi-subagents/src/extension/upgrade-notice.js +0 -37
  593. package/node_modules/pi-subagents/src/extension/upgrade-notice.js.map +0 -1
  594. package/node_modules/pi-subagents/src/inspectors/actions.d.ts +0 -25
  595. package/node_modules/pi-subagents/src/inspectors/actions.d.ts.map +0 -1
  596. package/node_modules/pi-subagents/src/inspectors/actions.js +0 -183
  597. package/node_modules/pi-subagents/src/inspectors/actions.js.map +0 -1
  598. package/node_modules/pi-subagents/src/inspectors/ghostty/actions.d.ts +0 -12
  599. package/node_modules/pi-subagents/src/inspectors/ghostty/actions.d.ts.map +0 -1
  600. package/node_modules/pi-subagents/src/inspectors/ghostty/actions.js +0 -63
  601. package/node_modules/pi-subagents/src/inspectors/ghostty/actions.js.map +0 -1
  602. package/node_modules/pi-subagents/src/inspectors/ghostty/plugin.d.ts +0 -8
  603. package/node_modules/pi-subagents/src/inspectors/ghostty/plugin.d.ts.map +0 -1
  604. package/node_modules/pi-subagents/src/inspectors/ghostty/plugin.js +0 -24
  605. package/node_modules/pi-subagents/src/inspectors/ghostty/plugin.js.map +0 -1
  606. package/node_modules/pi-subagents/src/inspectors/herdr/actions.d.ts +0 -26
  607. package/node_modules/pi-subagents/src/inspectors/herdr/actions.d.ts.map +0 -1
  608. package/node_modules/pi-subagents/src/inspectors/herdr/actions.js +0 -134
  609. package/node_modules/pi-subagents/src/inspectors/herdr/actions.js.map +0 -1
  610. package/node_modules/pi-subagents/src/inspectors/herdr/client.d.ts +0 -42
  611. package/node_modules/pi-subagents/src/inspectors/herdr/client.d.ts.map +0 -1
  612. package/node_modules/pi-subagents/src/inspectors/herdr/client.js +0 -130
  613. package/node_modules/pi-subagents/src/inspectors/herdr/client.js.map +0 -1
  614. package/node_modules/pi-subagents/src/inspectors/herdr/focus.d.ts +0 -25
  615. package/node_modules/pi-subagents/src/inspectors/herdr/focus.d.ts.map +0 -1
  616. package/node_modules/pi-subagents/src/inspectors/herdr/focus.js +0 -50
  617. package/node_modules/pi-subagents/src/inspectors/herdr/focus.js.map +0 -1
  618. package/node_modules/pi-subagents/src/inspectors/herdr/plugin.d.ts +0 -7
  619. package/node_modules/pi-subagents/src/inspectors/herdr/plugin.d.ts.map +0 -1
  620. package/node_modules/pi-subagents/src/inspectors/herdr/plugin.js +0 -15
  621. package/node_modules/pi-subagents/src/inspectors/herdr/plugin.js.map +0 -1
  622. package/node_modules/pi-subagents/src/inspectors/herdr/project-panes.d.ts +0 -137
  623. package/node_modules/pi-subagents/src/inspectors/herdr/project-panes.d.ts.map +0 -1
  624. package/node_modules/pi-subagents/src/inspectors/herdr/project-panes.js +0 -608
  625. package/node_modules/pi-subagents/src/inspectors/herdr/project-panes.js.map +0 -1
  626. package/node_modules/pi-subagents/src/inspectors/inspector-runner.d.ts +0 -24
  627. package/node_modules/pi-subagents/src/inspectors/inspector-runner.d.ts.map +0 -1
  628. package/node_modules/pi-subagents/src/inspectors/inspector-runner.js +0 -162
  629. package/node_modules/pi-subagents/src/inspectors/inspector-runner.js.map +0 -1
  630. package/node_modules/pi-subagents/src/inspectors/plugins.d.ts +0 -9
  631. package/node_modules/pi-subagents/src/inspectors/plugins.d.ts.map +0 -1
  632. package/node_modules/pi-subagents/src/inspectors/plugins.js +0 -83
  633. package/node_modules/pi-subagents/src/inspectors/plugins.js.map +0 -1
  634. package/node_modules/pi-subagents/src/inspectors/session-roots-codec.d.ts +0 -16
  635. package/node_modules/pi-subagents/src/inspectors/session-roots-codec.d.ts.map +0 -1
  636. package/node_modules/pi-subagents/src/inspectors/session-roots-codec.js +0 -33
  637. package/node_modules/pi-subagents/src/inspectors/session-roots-codec.js.map +0 -1
  638. package/node_modules/pi-subagents/src/inspectors/shell-command.d.ts +0 -2
  639. package/node_modules/pi-subagents/src/inspectors/shell-command.d.ts.map +0 -1
  640. package/node_modules/pi-subagents/src/inspectors/shell-command.js +0 -17
  641. package/node_modules/pi-subagents/src/inspectors/shell-command.js.map +0 -1
  642. package/node_modules/pi-subagents/src/inspectors/tmux/actions.d.ts +0 -26
  643. package/node_modules/pi-subagents/src/inspectors/tmux/actions.d.ts.map +0 -1
  644. package/node_modules/pi-subagents/src/inspectors/tmux/actions.js +0 -182
  645. package/node_modules/pi-subagents/src/inspectors/tmux/actions.js.map +0 -1
  646. package/node_modules/pi-subagents/src/inspectors/tmux/client.d.ts +0 -28
  647. package/node_modules/pi-subagents/src/inspectors/tmux/client.d.ts.map +0 -1
  648. package/node_modules/pi-subagents/src/inspectors/tmux/client.js +0 -65
  649. package/node_modules/pi-subagents/src/inspectors/tmux/client.js.map +0 -1
  650. package/node_modules/pi-subagents/src/inspectors/tmux/plugin.d.ts +0 -8
  651. package/node_modules/pi-subagents/src/inspectors/tmux/plugin.d.ts.map +0 -1
  652. package/node_modules/pi-subagents/src/inspectors/tmux/plugin.js +0 -15
  653. package/node_modules/pi-subagents/src/inspectors/tmux/plugin.js.map +0 -1
  654. package/node_modules/pi-subagents/src/inspectors/types.d.ts +0 -49
  655. package/node_modules/pi-subagents/src/inspectors/types.d.ts.map +0 -1
  656. package/node_modules/pi-subagents/src/inspectors/types.js +0 -2
  657. package/node_modules/pi-subagents/src/inspectors/types.js.map +0 -1
  658. package/node_modules/pi-subagents/src/integrations/herdr-status.d.ts +0 -48
  659. package/node_modules/pi-subagents/src/integrations/herdr-status.d.ts.map +0 -1
  660. package/node_modules/pi-subagents/src/integrations/herdr-status.js +0 -351
  661. package/node_modules/pi-subagents/src/integrations/herdr-status.js.map +0 -1
  662. package/node_modules/pi-subagents/src/integrations/pi-web-session-liveness.d.ts +0 -20
  663. package/node_modules/pi-subagents/src/integrations/pi-web-session-liveness.d.ts.map +0 -1
  664. package/node_modules/pi-subagents/src/integrations/pi-web-session-liveness.js +0 -54
  665. package/node_modules/pi-subagents/src/integrations/pi-web-session-liveness.js.map +0 -1
  666. package/node_modules/pi-subagents/src/integrations/program-status.d.ts +0 -31
  667. package/node_modules/pi-subagents/src/integrations/program-status.d.ts.map +0 -1
  668. package/node_modules/pi-subagents/src/integrations/program-status.js +0 -189
  669. package/node_modules/pi-subagents/src/integrations/program-status.js.map +0 -1
  670. package/node_modules/pi-subagents/src/intercom/intercom-bridge.d.ts +0 -59
  671. package/node_modules/pi-subagents/src/intercom/intercom-bridge.d.ts.map +0 -1
  672. package/node_modules/pi-subagents/src/intercom/intercom-bridge.js +0 -194
  673. package/node_modules/pi-subagents/src/intercom/intercom-bridge.js.map +0 -1
  674. package/node_modules/pi-subagents/src/intercom/native-supervisor-channel.d.ts +0 -80
  675. package/node_modules/pi-subagents/src/intercom/native-supervisor-channel.d.ts.map +0 -1
  676. package/node_modules/pi-subagents/src/intercom/native-supervisor-channel.js +0 -992
  677. package/node_modules/pi-subagents/src/intercom/native-supervisor-channel.js.map +0 -1
  678. package/node_modules/pi-subagents/src/intercom/result-intercom.d.ts +0 -36
  679. package/node_modules/pi-subagents/src/intercom/result-intercom.d.ts.map +0 -1
  680. package/node_modules/pi-subagents/src/intercom/result-intercom.js +0 -373
  681. package/node_modules/pi-subagents/src/intercom/result-intercom.js.map +0 -1
  682. package/node_modules/pi-subagents/src/intercom/supervisor-ui.d.ts +0 -30
  683. package/node_modules/pi-subagents/src/intercom/supervisor-ui.d.ts.map +0 -1
  684. package/node_modules/pi-subagents/src/intercom/supervisor-ui.js +0 -50
  685. package/node_modules/pi-subagents/src/intercom/supervisor-ui.js.map +0 -1
  686. package/node_modules/pi-subagents/src/missions/actions.d.ts +0 -55
  687. package/node_modules/pi-subagents/src/missions/actions.d.ts.map +0 -1
  688. package/node_modules/pi-subagents/src/missions/actions.js +0 -396
  689. package/node_modules/pi-subagents/src/missions/actions.js.map +0 -1
  690. package/node_modules/pi-subagents/src/missions/goal-driver.d.ts +0 -17
  691. package/node_modules/pi-subagents/src/missions/goal-driver.d.ts.map +0 -1
  692. package/node_modules/pi-subagents/src/missions/goal-driver.js +0 -172
  693. package/node_modules/pi-subagents/src/missions/goal-driver.js.map +0 -1
  694. package/node_modules/pi-subagents/src/missions/lifecycle.d.ts +0 -40
  695. package/node_modules/pi-subagents/src/missions/lifecycle.d.ts.map +0 -1
  696. package/node_modules/pi-subagents/src/missions/lifecycle.js +0 -352
  697. package/node_modules/pi-subagents/src/missions/lifecycle.js.map +0 -1
  698. package/node_modules/pi-subagents/src/missions/store.d.ts +0 -22
  699. package/node_modules/pi-subagents/src/missions/store.d.ts.map +0 -1
  700. package/node_modules/pi-subagents/src/missions/store.js +0 -605
  701. package/node_modules/pi-subagents/src/missions/store.js.map +0 -1
  702. package/node_modules/pi-subagents/src/missions/types.d.ts +0 -168
  703. package/node_modules/pi-subagents/src/missions/types.d.ts.map +0 -1
  704. package/node_modules/pi-subagents/src/missions/types.js +0 -10
  705. package/node_modules/pi-subagents/src/missions/types.js.map +0 -1
  706. package/node_modules/pi-subagents/src/missions/workflow-state.d.ts +0 -15
  707. package/node_modules/pi-subagents/src/missions/workflow-state.d.ts.map +0 -1
  708. package/node_modules/pi-subagents/src/missions/workflow-state.js +0 -274
  709. package/node_modules/pi-subagents/src/missions/workflow-state.js.map +0 -1
  710. package/node_modules/pi-subagents/src/policy/authority.d.ts +0 -10
  711. package/node_modules/pi-subagents/src/policy/authority.d.ts.map +0 -1
  712. package/node_modules/pi-subagents/src/policy/authority.js +0 -42
  713. package/node_modules/pi-subagents/src/policy/authority.js.map +0 -1
  714. package/node_modules/pi-subagents/src/profiles/profiles.d.ts +0 -135
  715. package/node_modules/pi-subagents/src/profiles/profiles.d.ts.map +0 -1
  716. package/node_modules/pi-subagents/src/profiles/profiles.js +0 -527
  717. package/node_modules/pi-subagents/src/profiles/profiles.js.map +0 -1
  718. package/node_modules/pi-subagents/src/runs/background/active-async-capacity.d.ts +0 -115
  719. package/node_modules/pi-subagents/src/runs/background/active-async-capacity.d.ts.map +0 -1
  720. package/node_modules/pi-subagents/src/runs/background/active-async-capacity.js +0 -512
  721. package/node_modules/pi-subagents/src/runs/background/active-async-capacity.js.map +0 -1
  722. package/node_modules/pi-subagents/src/runs/background/active-run-index.d.ts +0 -13
  723. package/node_modules/pi-subagents/src/runs/background/active-run-index.d.ts.map +0 -1
  724. package/node_modules/pi-subagents/src/runs/background/active-run-index.js +0 -158
  725. package/node_modules/pi-subagents/src/runs/background/active-run-index.js.map +0 -1
  726. package/node_modules/pi-subagents/src/runs/background/async-execution.d.ts +0 -298
  727. package/node_modules/pi-subagents/src/runs/background/async-execution.d.ts.map +0 -1
  728. package/node_modules/pi-subagents/src/runs/background/async-execution.js +0 -2125
  729. package/node_modules/pi-subagents/src/runs/background/async-execution.js.map +0 -1
  730. package/node_modules/pi-subagents/src/runs/background/async-job-tracker.d.ts +0 -33
  731. package/node_modules/pi-subagents/src/runs/background/async-job-tracker.d.ts.map +0 -1
  732. package/node_modules/pi-subagents/src/runs/background/async-job-tracker.js +0 -908
  733. package/node_modules/pi-subagents/src/runs/background/async-job-tracker.js.map +0 -1
  734. package/node_modules/pi-subagents/src/runs/background/async-resume.d.ts +0 -59
  735. package/node_modules/pi-subagents/src/runs/background/async-resume.d.ts.map +0 -1
  736. package/node_modules/pi-subagents/src/runs/background/async-resume.js +0 -678
  737. package/node_modules/pi-subagents/src/runs/background/async-resume.js.map +0 -1
  738. package/node_modules/pi-subagents/src/runs/background/async-retention.d.ts +0 -45
  739. package/node_modules/pi-subagents/src/runs/background/async-retention.d.ts.map +0 -1
  740. package/node_modules/pi-subagents/src/runs/background/async-retention.js +0 -916
  741. package/node_modules/pi-subagents/src/runs/background/async-retention.js.map +0 -1
  742. package/node_modules/pi-subagents/src/runs/background/async-status-snapshot.d.ts +0 -10
  743. package/node_modules/pi-subagents/src/runs/background/async-status-snapshot.d.ts.map +0 -1
  744. package/node_modules/pi-subagents/src/runs/background/async-status-snapshot.js +0 -25
  745. package/node_modules/pi-subagents/src/runs/background/async-status-snapshot.js.map +0 -1
  746. package/node_modules/pi-subagents/src/runs/background/async-status.d.ts +0 -170
  747. package/node_modules/pi-subagents/src/runs/background/async-status.d.ts.map +0 -1
  748. package/node_modules/pi-subagents/src/runs/background/async-status.js +0 -674
  749. package/node_modules/pi-subagents/src/runs/background/async-status.js.map +0 -1
  750. package/node_modules/pi-subagents/src/runs/background/auto-drain.d.ts +0 -17
  751. package/node_modules/pi-subagents/src/runs/background/auto-drain.d.ts.map +0 -1
  752. package/node_modules/pi-subagents/src/runs/background/auto-drain.js +0 -73
  753. package/node_modules/pi-subagents/src/runs/background/auto-drain.js.map +0 -1
  754. package/node_modules/pi-subagents/src/runs/background/await-async-run.d.ts +0 -27
  755. package/node_modules/pi-subagents/src/runs/background/await-async-run.d.ts.map +0 -1
  756. package/node_modules/pi-subagents/src/runs/background/await-async-run.js +0 -88
  757. package/node_modules/pi-subagents/src/runs/background/await-async-run.js.map +0 -1
  758. package/node_modules/pi-subagents/src/runs/background/binary-bootstrap.d.ts +0 -9
  759. package/node_modules/pi-subagents/src/runs/background/binary-bootstrap.d.ts.map +0 -1
  760. package/node_modules/pi-subagents/src/runs/background/binary-bootstrap.js +0 -70
  761. package/node_modules/pi-subagents/src/runs/background/binary-bootstrap.js.map +0 -1
  762. package/node_modules/pi-subagents/src/runs/background/calendar-schedule.d.ts +0 -27
  763. package/node_modules/pi-subagents/src/runs/background/calendar-schedule.d.ts.map +0 -1
  764. package/node_modules/pi-subagents/src/runs/background/calendar-schedule.js +0 -94
  765. package/node_modules/pi-subagents/src/runs/background/calendar-schedule.js.map +0 -1
  766. package/node_modules/pi-subagents/src/runs/background/chain-append.d.ts +0 -35
  767. package/node_modules/pi-subagents/src/runs/background/chain-append.d.ts.map +0 -1
  768. package/node_modules/pi-subagents/src/runs/background/chain-append.js +0 -300
  769. package/node_modules/pi-subagents/src/runs/background/chain-append.js.map +0 -1
  770. package/node_modules/pi-subagents/src/runs/background/chain-root-attachment.d.ts +0 -52
  771. package/node_modules/pi-subagents/src/runs/background/chain-root-attachment.d.ts.map +0 -1
  772. package/node_modules/pi-subagents/src/runs/background/chain-root-attachment.js +0 -187
  773. package/node_modules/pi-subagents/src/runs/background/chain-root-attachment.js.map +0 -1
  774. package/node_modules/pi-subagents/src/runs/background/completion-batcher.d.ts +0 -52
  775. package/node_modules/pi-subagents/src/runs/background/completion-batcher.d.ts.map +0 -1
  776. package/node_modules/pi-subagents/src/runs/background/completion-batcher.js +0 -120
  777. package/node_modules/pi-subagents/src/runs/background/completion-batcher.js.map +0 -1
  778. package/node_modules/pi-subagents/src/runs/background/completion-dedupe.d.ts +0 -14
  779. package/node_modules/pi-subagents/src/runs/background/completion-dedupe.d.ts.map +0 -1
  780. package/node_modules/pi-subagents/src/runs/background/completion-dedupe.js +0 -49
  781. package/node_modules/pi-subagents/src/runs/background/completion-dedupe.js.map +0 -1
  782. package/node_modules/pi-subagents/src/runs/background/completion-replay.d.ts +0 -48
  783. package/node_modules/pi-subagents/src/runs/background/completion-replay.d.ts.map +0 -1
  784. package/node_modules/pi-subagents/src/runs/background/completion-replay.js +0 -267
  785. package/node_modules/pi-subagents/src/runs/background/completion-replay.js.map +0 -1
  786. package/node_modules/pi-subagents/src/runs/background/control-channel.d.ts +0 -171
  787. package/node_modules/pi-subagents/src/runs/background/control-channel.d.ts.map +0 -1
  788. package/node_modules/pi-subagents/src/runs/background/control-channel.js +0 -611
  789. package/node_modules/pi-subagents/src/runs/background/control-channel.js.map +0 -1
  790. package/node_modules/pi-subagents/src/runs/background/fleet-view.d.ts +0 -64
  791. package/node_modules/pi-subagents/src/runs/background/fleet-view.d.ts.map +0 -1
  792. package/node_modules/pi-subagents/src/runs/background/fleet-view.js +0 -667
  793. package/node_modules/pi-subagents/src/runs/background/fleet-view.js.map +0 -1
  794. package/node_modules/pi-subagents/src/runs/background/index-segment.d.ts +0 -16
  795. package/node_modules/pi-subagents/src/runs/background/index-segment.d.ts.map +0 -1
  796. package/node_modules/pi-subagents/src/runs/background/index-segment.js +0 -59
  797. package/node_modules/pi-subagents/src/runs/background/index-segment.js.map +0 -1
  798. package/node_modules/pi-subagents/src/runs/background/inspect-rpc.d.ts +0 -60
  799. package/node_modules/pi-subagents/src/runs/background/inspect-rpc.d.ts.map +0 -1
  800. package/node_modules/pi-subagents/src/runs/background/inspect-rpc.js +0 -406
  801. package/node_modules/pi-subagents/src/runs/background/inspect-rpc.js.map +0 -1
  802. package/node_modules/pi-subagents/src/runs/background/notify.d.ts +0 -192
  803. package/node_modules/pi-subagents/src/runs/background/notify.d.ts.map +0 -1
  804. package/node_modules/pi-subagents/src/runs/background/notify.js +0 -897
  805. package/node_modules/pi-subagents/src/runs/background/notify.js.map +0 -1
  806. package/node_modules/pi-subagents/src/runs/background/owned-process-tree.d.ts +0 -11
  807. package/node_modules/pi-subagents/src/runs/background/owned-process-tree.d.ts.map +0 -1
  808. package/node_modules/pi-subagents/src/runs/background/owned-process-tree.js +0 -117
  809. package/node_modules/pi-subagents/src/runs/background/owned-process-tree.js.map +0 -1
  810. package/node_modules/pi-subagents/src/runs/background/parallel-groups.d.ts +0 -4
  811. package/node_modules/pi-subagents/src/runs/background/parallel-groups.d.ts.map +0 -1
  812. package/node_modules/pi-subagents/src/runs/background/parallel-groups.js +0 -47
  813. package/node_modules/pi-subagents/src/runs/background/parallel-groups.js.map +0 -1
  814. package/node_modules/pi-subagents/src/runs/background/pid-namespace.d.ts +0 -3
  815. package/node_modules/pi-subagents/src/runs/background/pid-namespace.d.ts.map +0 -1
  816. package/node_modules/pi-subagents/src/runs/background/pid-namespace.js +0 -20
  817. package/node_modules/pi-subagents/src/runs/background/pid-namespace.js.map +0 -1
  818. package/node_modules/pi-subagents/src/runs/background/process-terminal-candidate.d.ts +0 -18
  819. package/node_modules/pi-subagents/src/runs/background/process-terminal-candidate.d.ts.map +0 -1
  820. package/node_modules/pi-subagents/src/runs/background/process-terminal-candidate.js +0 -97
  821. package/node_modules/pi-subagents/src/runs/background/process-terminal-candidate.js.map +0 -1
  822. package/node_modules/pi-subagents/src/runs/background/process-terminal.d.ts +0 -22
  823. package/node_modules/pi-subagents/src/runs/background/process-terminal.d.ts.map +0 -1
  824. package/node_modules/pi-subagents/src/runs/background/process-terminal.js +0 -228
  825. package/node_modules/pi-subagents/src/runs/background/process-terminal.js.map +0 -1
  826. package/node_modules/pi-subagents/src/runs/background/result-delivery-ownership.d.ts +0 -11
  827. package/node_modules/pi-subagents/src/runs/background/result-delivery-ownership.d.ts.map +0 -1
  828. package/node_modules/pi-subagents/src/runs/background/result-delivery-ownership.js +0 -37
  829. package/node_modules/pi-subagents/src/runs/background/result-delivery-ownership.js.map +0 -1
  830. package/node_modules/pi-subagents/src/runs/background/result-files.d.ts +0 -62
  831. package/node_modules/pi-subagents/src/runs/background/result-files.d.ts.map +0 -1
  832. package/node_modules/pi-subagents/src/runs/background/result-files.js +0 -626
  833. package/node_modules/pi-subagents/src/runs/background/result-files.js.map +0 -1
  834. package/node_modules/pi-subagents/src/runs/background/result-watcher.d.ts +0 -91
  835. package/node_modules/pi-subagents/src/runs/background/result-watcher.d.ts.map +0 -1
  836. package/node_modules/pi-subagents/src/runs/background/result-watcher.js +0 -797
  837. package/node_modules/pi-subagents/src/runs/background/result-watcher.js.map +0 -1
  838. package/node_modules/pi-subagents/src/runs/background/resume-guidance.d.ts +0 -5
  839. package/node_modules/pi-subagents/src/runs/background/resume-guidance.d.ts.map +0 -1
  840. package/node_modules/pi-subagents/src/runs/background/resume-guidance.js +0 -57
  841. package/node_modules/pi-subagents/src/runs/background/resume-guidance.js.map +0 -1
  842. package/node_modules/pi-subagents/src/runs/background/retained-children.d.ts +0 -25
  843. package/node_modules/pi-subagents/src/runs/background/retained-children.d.ts.map +0 -1
  844. package/node_modules/pi-subagents/src/runs/background/retained-children.js +0 -129
  845. package/node_modules/pi-subagents/src/runs/background/retained-children.js.map +0 -1
  846. package/node_modules/pi-subagents/src/runs/background/retained-nested-route-tracker.d.ts +0 -13
  847. package/node_modules/pi-subagents/src/runs/background/retained-nested-route-tracker.d.ts.map +0 -1
  848. package/node_modules/pi-subagents/src/runs/background/retained-nested-route-tracker.js +0 -91
  849. package/node_modules/pi-subagents/src/runs/background/retained-nested-route-tracker.js.map +0 -1
  850. package/node_modules/pi-subagents/src/runs/background/run-child-session.d.ts +0 -127
  851. package/node_modules/pi-subagents/src/runs/background/run-child-session.d.ts.map +0 -1
  852. package/node_modules/pi-subagents/src/runs/background/run-child-session.js +0 -626
  853. package/node_modules/pi-subagents/src/runs/background/run-child-session.js.map +0 -1
  854. package/node_modules/pi-subagents/src/runs/background/run-id-query.d.ts +0 -4
  855. package/node_modules/pi-subagents/src/runs/background/run-id-query.d.ts.map +0 -1
  856. package/node_modules/pi-subagents/src/runs/background/run-id-query.js +0 -7
  857. package/node_modules/pi-subagents/src/runs/background/run-id-query.js.map +0 -1
  858. package/node_modules/pi-subagents/src/runs/background/run-id-resolver.d.ts +0 -23
  859. package/node_modules/pi-subagents/src/runs/background/run-id-resolver.d.ts.map +0 -1
  860. package/node_modules/pi-subagents/src/runs/background/run-id-resolver.js +0 -173
  861. package/node_modules/pi-subagents/src/runs/background/run-id-resolver.js.map +0 -1
  862. package/node_modules/pi-subagents/src/runs/background/run-status.d.ts +0 -26
  863. package/node_modules/pi-subagents/src/runs/background/run-status.d.ts.map +0 -1
  864. package/node_modules/pi-subagents/src/runs/background/run-status.js +0 -843
  865. package/node_modules/pi-subagents/src/runs/background/run-status.js.map +0 -1
  866. package/node_modules/pi-subagents/src/runs/background/runner-aliases.d.ts +0 -18
  867. package/node_modules/pi-subagents/src/runs/background/runner-aliases.d.ts.map +0 -1
  868. package/node_modules/pi-subagents/src/runs/background/runner-aliases.js +0 -160
  869. package/node_modules/pi-subagents/src/runs/background/runner-aliases.js.map +0 -1
  870. package/node_modules/pi-subagents/src/runs/background/runner-child-launch.d.ts +0 -25
  871. package/node_modules/pi-subagents/src/runs/background/runner-child-launch.d.ts.map +0 -1
  872. package/node_modules/pi-subagents/src/runs/background/runner-child-launch.js +0 -71
  873. package/node_modules/pi-subagents/src/runs/background/runner-child-launch.js.map +0 -1
  874. package/node_modules/pi-subagents/src/runs/background/runner-child-sessions.d.ts +0 -7
  875. package/node_modules/pi-subagents/src/runs/background/runner-child-sessions.d.ts.map +0 -1
  876. package/node_modules/pi-subagents/src/runs/background/runner-child-sessions.js +0 -35
  877. package/node_modules/pi-subagents/src/runs/background/runner-child-sessions.js.map +0 -1
  878. package/node_modules/pi-subagents/src/runs/background/runner-http-dispatcher.d.ts +0 -46
  879. package/node_modules/pi-subagents/src/runs/background/runner-http-dispatcher.d.ts.map +0 -1
  880. package/node_modules/pi-subagents/src/runs/background/runner-http-dispatcher.js +0 -116
  881. package/node_modules/pi-subagents/src/runs/background/runner-http-dispatcher.js.map +0 -1
  882. package/node_modules/pi-subagents/src/runs/background/runner-startup-failure.d.ts +0 -14
  883. package/node_modules/pi-subagents/src/runs/background/runner-startup-failure.d.ts.map +0 -1
  884. package/node_modules/pi-subagents/src/runs/background/runner-startup-failure.js +0 -47
  885. package/node_modules/pi-subagents/src/runs/background/runner-startup-failure.js.map +0 -1
  886. package/node_modules/pi-subagents/src/runs/background/scheduled-runs.d.ts +0 -128
  887. package/node_modules/pi-subagents/src/runs/background/scheduled-runs.d.ts.map +0 -1
  888. package/node_modules/pi-subagents/src/runs/background/scheduled-runs.js +0 -1266
  889. package/node_modules/pi-subagents/src/runs/background/scheduled-runs.js.map +0 -1
  890. package/node_modules/pi-subagents/src/runs/background/stale-run-reconciler.d.ts +0 -38
  891. package/node_modules/pi-subagents/src/runs/background/stale-run-reconciler.d.ts.map +0 -1
  892. package/node_modules/pi-subagents/src/runs/background/stale-run-reconciler.js +0 -421
  893. package/node_modules/pi-subagents/src/runs/background/stale-run-reconciler.js.map +0 -1
  894. package/node_modules/pi-subagents/src/runs/background/steering.d.ts +0 -52
  895. package/node_modules/pi-subagents/src/runs/background/steering.d.ts.map +0 -1
  896. package/node_modules/pi-subagents/src/runs/background/steering.js +0 -247
  897. package/node_modules/pi-subagents/src/runs/background/steering.js.map +0 -1
  898. package/node_modules/pi-subagents/src/runs/background/subagent-runner-bootstrap.d.ts +0 -14
  899. package/node_modules/pi-subagents/src/runs/background/subagent-runner-bootstrap.d.ts.map +0 -1
  900. package/node_modules/pi-subagents/src/runs/background/subagent-runner-bootstrap.js +0 -281
  901. package/node_modules/pi-subagents/src/runs/background/subagent-runner-bootstrap.js.map +0 -1
  902. package/node_modules/pi-subagents/src/runs/background/subagent-runner.d.ts +0 -205
  903. package/node_modules/pi-subagents/src/runs/background/subagent-runner.d.ts.map +0 -1
  904. package/node_modules/pi-subagents/src/runs/background/subagent-runner.js +0 -4919
  905. package/node_modules/pi-subagents/src/runs/background/subagent-runner.js.map +0 -1
  906. package/node_modules/pi-subagents/src/runs/background/subagent-wait.d.ts +0 -124
  907. package/node_modules/pi-subagents/src/runs/background/subagent-wait.d.ts.map +0 -1
  908. package/node_modules/pi-subagents/src/runs/background/subagent-wait.js +0 -749
  909. package/node_modules/pi-subagents/src/runs/background/subagent-wait.js.map +0 -1
  910. package/node_modules/pi-subagents/src/runs/background/terminal-run-index.d.ts +0 -9
  911. package/node_modules/pi-subagents/src/runs/background/terminal-run-index.d.ts.map +0 -1
  912. package/node_modules/pi-subagents/src/runs/background/terminal-run-index.js +0 -169
  913. package/node_modules/pi-subagents/src/runs/background/terminal-run-index.js.map +0 -1
  914. package/node_modules/pi-subagents/src/runs/background/top-level-async.d.ts +0 -8
  915. package/node_modules/pi-subagents/src/runs/background/top-level-async.d.ts.map +0 -1
  916. package/node_modules/pi-subagents/src/runs/background/top-level-async.js +0 -6
  917. package/node_modules/pi-subagents/src/runs/background/top-level-async.js.map +0 -1
  918. package/node_modules/pi-subagents/src/runs/background/wait-completions.d.ts +0 -29
  919. package/node_modules/pi-subagents/src/runs/background/wait-completions.d.ts.map +0 -1
  920. package/node_modules/pi-subagents/src/runs/background/wait-completions.js +0 -265
  921. package/node_modules/pi-subagents/src/runs/background/wait-completions.js.map +0 -1
  922. package/node_modules/pi-subagents/src/runs/background/wait-config.d.ts +0 -9
  923. package/node_modules/pi-subagents/src/runs/background/wait-config.d.ts.map +0 -1
  924. package/node_modules/pi-subagents/src/runs/background/wait-config.js +0 -47
  925. package/node_modules/pi-subagents/src/runs/background/wait-config.js.map +0 -1
  926. package/node_modules/pi-subagents/src/runs/background/wait-subscriptions.d.ts +0 -27
  927. package/node_modules/pi-subagents/src/runs/background/wait-subscriptions.d.ts.map +0 -1
  928. package/node_modules/pi-subagents/src/runs/background/wait-subscriptions.js +0 -337
  929. package/node_modules/pi-subagents/src/runs/background/wait-subscriptions.js.map +0 -1
  930. package/node_modules/pi-subagents/src/runs/background/wait-tool.d.ts +0 -7
  931. package/node_modules/pi-subagents/src/runs/background/wait-tool.d.ts.map +0 -1
  932. package/node_modules/pi-subagents/src/runs/background/wait-tool.js +0 -49
  933. package/node_modules/pi-subagents/src/runs/background/wait-tool.js.map +0 -1
  934. package/node_modules/pi-subagents/src/runs/background/workflow-terminal-proof.d.ts +0 -31
  935. package/node_modules/pi-subagents/src/runs/background/workflow-terminal-proof.d.ts.map +0 -1
  936. package/node_modules/pi-subagents/src/runs/background/workflow-terminal-proof.js +0 -90
  937. package/node_modules/pi-subagents/src/runs/background/workflow-terminal-proof.js.map +0 -1
  938. package/node_modules/pi-subagents/src/runs/foreground/async-dismiss-action.d.ts +0 -7
  939. package/node_modules/pi-subagents/src/runs/foreground/async-dismiss-action.d.ts.map +0 -1
  940. package/node_modules/pi-subagents/src/runs/foreground/async-dismiss-action.js +0 -82
  941. package/node_modules/pi-subagents/src/runs/foreground/async-dismiss-action.js.map +0 -1
  942. package/node_modules/pi-subagents/src/runs/foreground/async-steering-action.d.ts +0 -32
  943. package/node_modules/pi-subagents/src/runs/foreground/async-steering-action.d.ts.map +0 -1
  944. package/node_modules/pi-subagents/src/runs/foreground/async-steering-action.js +0 -270
  945. package/node_modules/pi-subagents/src/runs/foreground/async-steering-action.js.map +0 -1
  946. package/node_modules/pi-subagents/src/runs/foreground/async-stop-action.d.ts +0 -13
  947. package/node_modules/pi-subagents/src/runs/foreground/async-stop-action.d.ts.map +0 -1
  948. package/node_modules/pi-subagents/src/runs/foreground/async-stop-action.js +0 -210
  949. package/node_modules/pi-subagents/src/runs/foreground/async-stop-action.js.map +0 -1
  950. package/node_modules/pi-subagents/src/runs/foreground/command-action.d.ts +0 -13
  951. package/node_modules/pi-subagents/src/runs/foreground/command-action.d.ts.map +0 -1
  952. package/node_modules/pi-subagents/src/runs/foreground/command-action.js +0 -38
  953. package/node_modules/pi-subagents/src/runs/foreground/command-action.js.map +0 -1
  954. package/node_modules/pi-subagents/src/runs/foreground/execution.d.ts +0 -11
  955. package/node_modules/pi-subagents/src/runs/foreground/execution.d.ts.map +0 -1
  956. package/node_modules/pi-subagents/src/runs/foreground/execution.js +0 -2181
  957. package/node_modules/pi-subagents/src/runs/foreground/execution.js.map +0 -1
  958. package/node_modules/pi-subagents/src/runs/foreground/foreground-control.d.ts +0 -25
  959. package/node_modules/pi-subagents/src/runs/foreground/foreground-control.d.ts.map +0 -1
  960. package/node_modules/pi-subagents/src/runs/foreground/foreground-control.js +0 -139
  961. package/node_modules/pi-subagents/src/runs/foreground/foreground-control.js.map +0 -1
  962. package/node_modules/pi-subagents/src/runs/foreground/foreground-history.d.ts +0 -12
  963. package/node_modules/pi-subagents/src/runs/foreground/foreground-history.d.ts.map +0 -1
  964. package/node_modules/pi-subagents/src/runs/foreground/foreground-history.js +0 -166
  965. package/node_modules/pi-subagents/src/runs/foreground/foreground-history.js.map +0 -1
  966. package/node_modules/pi-subagents/src/runs/foreground/prompt-audit.d.ts +0 -33
  967. package/node_modules/pi-subagents/src/runs/foreground/prompt-audit.d.ts.map +0 -1
  968. package/node_modules/pi-subagents/src/runs/foreground/prompt-audit.js +0 -139
  969. package/node_modules/pi-subagents/src/runs/foreground/prompt-audit.js.map +0 -1
  970. package/node_modules/pi-subagents/src/runs/foreground/subagent-executor.d.ts +0 -303
  971. package/node_modules/pi-subagents/src/runs/foreground/subagent-executor.d.ts.map +0 -1
  972. package/node_modules/pi-subagents/src/runs/foreground/subagent-executor.js +0 -7629
  973. package/node_modules/pi-subagents/src/runs/foreground/subagent-executor.js.map +0 -1
  974. package/node_modules/pi-subagents/src/runs/foreground/workflow-detach-reconcile.d.ts +0 -16
  975. package/node_modules/pi-subagents/src/runs/foreground/workflow-detach-reconcile.d.ts.map +0 -1
  976. package/node_modules/pi-subagents/src/runs/foreground/workflow-detach-reconcile.js +0 -284
  977. package/node_modules/pi-subagents/src/runs/foreground/workflow-detach-reconcile.js.map +0 -1
  978. package/node_modules/pi-subagents/src/runs/foreground/workflow-foreground-steering.d.ts +0 -44
  979. package/node_modules/pi-subagents/src/runs/foreground/workflow-foreground-steering.d.ts.map +0 -1
  980. package/node_modules/pi-subagents/src/runs/foreground/workflow-foreground-steering.js +0 -149
  981. package/node_modules/pi-subagents/src/runs/foreground/workflow-foreground-steering.js.map +0 -1
  982. package/node_modules/pi-subagents/src/runs/shared/abort-recovery.d.ts +0 -27
  983. package/node_modules/pi-subagents/src/runs/shared/abort-recovery.d.ts.map +0 -1
  984. package/node_modules/pi-subagents/src/runs/shared/abort-recovery.js +0 -109
  985. package/node_modules/pi-subagents/src/runs/shared/abort-recovery.js.map +0 -1
  986. package/node_modules/pi-subagents/src/runs/shared/acceptance.d.ts +0 -145
  987. package/node_modules/pi-subagents/src/runs/shared/acceptance.d.ts.map +0 -1
  988. package/node_modules/pi-subagents/src/runs/shared/acceptance.js +0 -1617
  989. package/node_modules/pi-subagents/src/runs/shared/acceptance.js.map +0 -1
  990. package/node_modules/pi-subagents/src/runs/shared/agent-contract.d.ts +0 -6
  991. package/node_modules/pi-subagents/src/runs/shared/agent-contract.d.ts.map +0 -1
  992. package/node_modules/pi-subagents/src/runs/shared/agent-contract.js +0 -36
  993. package/node_modules/pi-subagents/src/runs/shared/agent-contract.js.map +0 -1
  994. package/node_modules/pi-subagents/src/runs/shared/async-status-projection.d.ts +0 -97
  995. package/node_modules/pi-subagents/src/runs/shared/async-status-projection.d.ts.map +0 -1
  996. package/node_modules/pi-subagents/src/runs/shared/async-status-projection.js +0 -545
  997. package/node_modules/pi-subagents/src/runs/shared/async-status-projection.js.map +0 -1
  998. package/node_modules/pi-subagents/src/runs/shared/background-process-options.d.ts +0 -5
  999. package/node_modules/pi-subagents/src/runs/shared/background-process-options.d.ts.map +0 -1
  1000. package/node_modules/pi-subagents/src/runs/shared/background-process-options.js +0 -7
  1001. package/node_modules/pi-subagents/src/runs/shared/background-process-options.js.map +0 -1
  1002. package/node_modules/pi-subagents/src/runs/shared/capability-ceiling.d.ts +0 -58
  1003. package/node_modules/pi-subagents/src/runs/shared/capability-ceiling.d.ts.map +0 -1
  1004. package/node_modules/pi-subagents/src/runs/shared/capability-ceiling.js +0 -179
  1005. package/node_modules/pi-subagents/src/runs/shared/capability-ceiling.js.map +0 -1
  1006. package/node_modules/pi-subagents/src/runs/shared/chain-outputs.d.ts +0 -19
  1007. package/node_modules/pi-subagents/src/runs/shared/chain-outputs.d.ts.map +0 -1
  1008. package/node_modules/pi-subagents/src/runs/shared/chain-outputs.js +0 -105
  1009. package/node_modules/pi-subagents/src/runs/shared/chain-outputs.js.map +0 -1
  1010. package/node_modules/pi-subagents/src/runs/shared/child-commands.d.ts +0 -28
  1011. package/node_modules/pi-subagents/src/runs/shared/child-commands.d.ts.map +0 -1
  1012. package/node_modules/pi-subagents/src/runs/shared/child-commands.js +0 -250
  1013. package/node_modules/pi-subagents/src/runs/shared/child-commands.js.map +0 -1
  1014. package/node_modules/pi-subagents/src/runs/shared/child-hooks.d.ts +0 -32
  1015. package/node_modules/pi-subagents/src/runs/shared/child-hooks.d.ts.map +0 -1
  1016. package/node_modules/pi-subagents/src/runs/shared/child-hooks.js +0 -174
  1017. package/node_modules/pi-subagents/src/runs/shared/child-hooks.js.map +0 -1
  1018. package/node_modules/pi-subagents/src/runs/shared/child-identity.d.ts +0 -24
  1019. package/node_modules/pi-subagents/src/runs/shared/child-identity.d.ts.map +0 -1
  1020. package/node_modules/pi-subagents/src/runs/shared/child-identity.js +0 -41
  1021. package/node_modules/pi-subagents/src/runs/shared/child-identity.js.map +0 -1
  1022. package/node_modules/pi-subagents/src/runs/shared/child-launch-plan.d.ts +0 -71
  1023. package/node_modules/pi-subagents/src/runs/shared/child-launch-plan.d.ts.map +0 -1
  1024. package/node_modules/pi-subagents/src/runs/shared/child-launch-plan.js +0 -89
  1025. package/node_modules/pi-subagents/src/runs/shared/child-launch-plan.js.map +0 -1
  1026. package/node_modules/pi-subagents/src/runs/shared/child-launch.d.ts +0 -118
  1027. package/node_modules/pi-subagents/src/runs/shared/child-launch.d.ts.map +0 -1
  1028. package/node_modules/pi-subagents/src/runs/shared/child-launch.js +0 -248
  1029. package/node_modules/pi-subagents/src/runs/shared/child-launch.js.map +0 -1
  1030. package/node_modules/pi-subagents/src/runs/shared/child-lifecycle.d.ts +0 -14
  1031. package/node_modules/pi-subagents/src/runs/shared/child-lifecycle.d.ts.map +0 -1
  1032. package/node_modules/pi-subagents/src/runs/shared/child-lifecycle.js +0 -23
  1033. package/node_modules/pi-subagents/src/runs/shared/child-lifecycle.js.map +0 -1
  1034. package/node_modules/pi-subagents/src/runs/shared/child-runtime-config.d.ts +0 -106
  1035. package/node_modules/pi-subagents/src/runs/shared/child-runtime-config.d.ts.map +0 -1
  1036. package/node_modules/pi-subagents/src/runs/shared/child-runtime-config.js +0 -39
  1037. package/node_modules/pi-subagents/src/runs/shared/child-runtime-config.js.map +0 -1
  1038. package/node_modules/pi-subagents/src/runs/shared/child-session.d.ts +0 -172
  1039. package/node_modules/pi-subagents/src/runs/shared/child-session.d.ts.map +0 -1
  1040. package/node_modules/pi-subagents/src/runs/shared/child-session.js +0 -589
  1041. package/node_modules/pi-subagents/src/runs/shared/child-session.js.map +0 -1
  1042. package/node_modules/pi-subagents/src/runs/shared/child-tool-plan.d.ts +0 -77
  1043. package/node_modules/pi-subagents/src/runs/shared/child-tool-plan.d.ts.map +0 -1
  1044. package/node_modules/pi-subagents/src/runs/shared/child-tool-plan.js +0 -386
  1045. package/node_modules/pi-subagents/src/runs/shared/child-tool-plan.js.map +0 -1
  1046. package/node_modules/pi-subagents/src/runs/shared/claude-code-adapter.d.ts +0 -81
  1047. package/node_modules/pi-subagents/src/runs/shared/claude-code-adapter.d.ts.map +0 -1
  1048. package/node_modules/pi-subagents/src/runs/shared/claude-code-adapter.js +0 -256
  1049. package/node_modules/pi-subagents/src/runs/shared/claude-code-adapter.js.map +0 -1
  1050. package/node_modules/pi-subagents/src/runs/shared/codex-exec-adapter.d.ts +0 -26
  1051. package/node_modules/pi-subagents/src/runs/shared/codex-exec-adapter.d.ts.map +0 -1
  1052. package/node_modules/pi-subagents/src/runs/shared/codex-exec-adapter.js +0 -128
  1053. package/node_modules/pi-subagents/src/runs/shared/codex-exec-adapter.js.map +0 -1
  1054. package/node_modules/pi-subagents/src/runs/shared/context-mode.d.ts +0 -13
  1055. package/node_modules/pi-subagents/src/runs/shared/context-mode.d.ts.map +0 -1
  1056. package/node_modules/pi-subagents/src/runs/shared/context-mode.js +0 -39
  1057. package/node_modules/pi-subagents/src/runs/shared/context-mode.js.map +0 -1
  1058. package/node_modules/pi-subagents/src/runs/shared/cursor-agent-adapter.d.ts +0 -27
  1059. package/node_modules/pi-subagents/src/runs/shared/cursor-agent-adapter.d.ts.map +0 -1
  1060. package/node_modules/pi-subagents/src/runs/shared/cursor-agent-adapter.js +0 -100
  1061. package/node_modules/pi-subagents/src/runs/shared/cursor-agent-adapter.js.map +0 -1
  1062. package/node_modules/pi-subagents/src/runs/shared/dynamic-fanout.d.ts +0 -50
  1063. package/node_modules/pi-subagents/src/runs/shared/dynamic-fanout.d.ts.map +0 -1
  1064. package/node_modules/pi-subagents/src/runs/shared/dynamic-fanout.js +0 -274
  1065. package/node_modules/pi-subagents/src/runs/shared/dynamic-fanout.js.map +0 -1
  1066. package/node_modules/pi-subagents/src/runs/shared/effective-system-prompt.d.ts +0 -18
  1067. package/node_modules/pi-subagents/src/runs/shared/effective-system-prompt.d.ts.map +0 -1
  1068. package/node_modules/pi-subagents/src/runs/shared/effective-system-prompt.js +0 -24
  1069. package/node_modules/pi-subagents/src/runs/shared/effective-system-prompt.js.map +0 -1
  1070. package/node_modules/pi-subagents/src/runs/shared/extension-bindings.d.ts +0 -17
  1071. package/node_modules/pi-subagents/src/runs/shared/extension-bindings.d.ts.map +0 -1
  1072. package/node_modules/pi-subagents/src/runs/shared/extension-bindings.js +0 -83
  1073. package/node_modules/pi-subagents/src/runs/shared/extension-bindings.js.map +0 -1
  1074. package/node_modules/pi-subagents/src/runs/shared/external-cli-contract.d.ts +0 -30
  1075. package/node_modules/pi-subagents/src/runs/shared/external-cli-contract.d.ts.map +0 -1
  1076. package/node_modules/pi-subagents/src/runs/shared/external-cli-contract.js +0 -146
  1077. package/node_modules/pi-subagents/src/runs/shared/external-cli-contract.js.map +0 -1
  1078. package/node_modules/pi-subagents/src/runs/shared/external-cli-preflight.d.ts +0 -42
  1079. package/node_modules/pi-subagents/src/runs/shared/external-cli-preflight.d.ts.map +0 -1
  1080. package/node_modules/pi-subagents/src/runs/shared/external-cli-preflight.js +0 -160
  1081. package/node_modules/pi-subagents/src/runs/shared/external-cli-preflight.js.map +0 -1
  1082. package/node_modules/pi-subagents/src/runs/shared/external-cli-runner.d.ts +0 -66
  1083. package/node_modules/pi-subagents/src/runs/shared/external-cli-runner.d.ts.map +0 -1
  1084. package/node_modules/pi-subagents/src/runs/shared/external-cli-runner.js +0 -426
  1085. package/node_modules/pi-subagents/src/runs/shared/external-cli-runner.js.map +0 -1
  1086. package/node_modules/pi-subagents/src/runs/shared/external-job-bridge.d.ts +0 -25
  1087. package/node_modules/pi-subagents/src/runs/shared/external-job-bridge.d.ts.map +0 -1
  1088. package/node_modules/pi-subagents/src/runs/shared/external-job-bridge.js +0 -487
  1089. package/node_modules/pi-subagents/src/runs/shared/external-job-bridge.js.map +0 -1
  1090. package/node_modules/pi-subagents/src/runs/shared/external-job-runner.d.ts +0 -45
  1091. package/node_modules/pi-subagents/src/runs/shared/external-job-runner.d.ts.map +0 -1
  1092. package/node_modules/pi-subagents/src/runs/shared/external-job-runner.js +0 -353
  1093. package/node_modules/pi-subagents/src/runs/shared/external-job-runner.js.map +0 -1
  1094. package/node_modules/pi-subagents/src/runs/shared/fast-mode-extension.d.ts +0 -4
  1095. package/node_modules/pi-subagents/src/runs/shared/fast-mode-extension.d.ts.map +0 -1
  1096. package/node_modules/pi-subagents/src/runs/shared/fast-mode-extension.js +0 -9
  1097. package/node_modules/pi-subagents/src/runs/shared/fast-mode-extension.js.map +0 -1
  1098. package/node_modules/pi-subagents/src/runs/shared/git-environment.d.ts +0 -3
  1099. package/node_modules/pi-subagents/src/runs/shared/git-environment.d.ts.map +0 -1
  1100. package/node_modules/pi-subagents/src/runs/shared/git-environment.js +0 -28
  1101. package/node_modules/pi-subagents/src/runs/shared/git-environment.js.map +0 -1
  1102. package/node_modules/pi-subagents/src/runs/shared/herdr-connection.d.ts +0 -71
  1103. package/node_modules/pi-subagents/src/runs/shared/herdr-connection.d.ts.map +0 -1
  1104. package/node_modules/pi-subagents/src/runs/shared/herdr-connection.js +0 -258
  1105. package/node_modules/pi-subagents/src/runs/shared/herdr-connection.js.map +0 -1
  1106. package/node_modules/pi-subagents/src/runs/shared/herdr-external-adapters.d.ts +0 -148
  1107. package/node_modules/pi-subagents/src/runs/shared/herdr-external-adapters.d.ts.map +0 -1
  1108. package/node_modules/pi-subagents/src/runs/shared/herdr-external-adapters.js +0 -405
  1109. package/node_modules/pi-subagents/src/runs/shared/herdr-external-adapters.js.map +0 -1
  1110. package/node_modules/pi-subagents/src/runs/shared/herdr-machine.d.ts +0 -48
  1111. package/node_modules/pi-subagents/src/runs/shared/herdr-machine.d.ts.map +0 -1
  1112. package/node_modules/pi-subagents/src/runs/shared/herdr-machine.js +0 -247
  1113. package/node_modules/pi-subagents/src/runs/shared/herdr-machine.js.map +0 -1
  1114. package/node_modules/pi-subagents/src/runs/shared/herdr-pi-protocol.d.ts +0 -22
  1115. package/node_modules/pi-subagents/src/runs/shared/herdr-pi-protocol.d.ts.map +0 -1
  1116. package/node_modules/pi-subagents/src/runs/shared/herdr-pi-protocol.js +0 -58
  1117. package/node_modules/pi-subagents/src/runs/shared/herdr-pi-protocol.js.map +0 -1
  1118. package/node_modules/pi-subagents/src/runs/shared/herdr-placed-run.d.ts +0 -268
  1119. package/node_modules/pi-subagents/src/runs/shared/herdr-placed-run.d.ts.map +0 -1
  1120. package/node_modules/pi-subagents/src/runs/shared/herdr-placed-run.js +0 -720
  1121. package/node_modules/pi-subagents/src/runs/shared/herdr-placed-run.js.map +0 -1
  1122. package/node_modules/pi-subagents/src/runs/shared/host-step-status.d.ts +0 -34
  1123. package/node_modules/pi-subagents/src/runs/shared/host-step-status.d.ts.map +0 -1
  1124. package/node_modules/pi-subagents/src/runs/shared/host-step-status.js +0 -245
  1125. package/node_modules/pi-subagents/src/runs/shared/host-step-status.js.map +0 -1
  1126. package/node_modules/pi-subagents/src/runs/shared/lane-metadata.d.ts +0 -24
  1127. package/node_modules/pi-subagents/src/runs/shared/lane-metadata.d.ts.map +0 -1
  1128. package/node_modules/pi-subagents/src/runs/shared/lane-metadata.js +0 -127
  1129. package/node_modules/pi-subagents/src/runs/shared/lane-metadata.js.map +0 -1
  1130. package/node_modules/pi-subagents/src/runs/shared/launch-cwd.d.ts +0 -2
  1131. package/node_modules/pi-subagents/src/runs/shared/launch-cwd.d.ts.map +0 -1
  1132. package/node_modules/pi-subagents/src/runs/shared/launch-cwd.js +0 -17
  1133. package/node_modules/pi-subagents/src/runs/shared/launch-cwd.js.map +0 -1
  1134. package/node_modules/pi-subagents/src/runs/shared/long-running-guard.d.ts +0 -33
  1135. package/node_modules/pi-subagents/src/runs/shared/long-running-guard.d.ts.map +0 -1
  1136. package/node_modules/pi-subagents/src/runs/shared/long-running-guard.js +0 -199
  1137. package/node_modules/pi-subagents/src/runs/shared/long-running-guard.js.map +0 -1
  1138. package/node_modules/pi-subagents/src/runs/shared/mcp-config-sources.d.ts +0 -34
  1139. package/node_modules/pi-subagents/src/runs/shared/mcp-config-sources.d.ts.map +0 -1
  1140. package/node_modules/pi-subagents/src/runs/shared/mcp-config-sources.js +0 -419
  1141. package/node_modules/pi-subagents/src/runs/shared/mcp-config-sources.js.map +0 -1
  1142. package/node_modules/pi-subagents/src/runs/shared/mcp-direct-tool-allowlist.d.ts +0 -87
  1143. package/node_modules/pi-subagents/src/runs/shared/mcp-direct-tool-allowlist.d.ts.map +0 -1
  1144. package/node_modules/pi-subagents/src/runs/shared/mcp-direct-tool-allowlist.js +0 -478
  1145. package/node_modules/pi-subagents/src/runs/shared/mcp-direct-tool-allowlist.js.map +0 -1
  1146. package/node_modules/pi-subagents/src/runs/shared/mcp-direct-tool-grant.d.ts +0 -43
  1147. package/node_modules/pi-subagents/src/runs/shared/mcp-direct-tool-grant.d.ts.map +0 -1
  1148. package/node_modules/pi-subagents/src/runs/shared/mcp-direct-tool-grant.js +0 -160
  1149. package/node_modules/pi-subagents/src/runs/shared/mcp-direct-tool-grant.js.map +0 -1
  1150. package/node_modules/pi-subagents/src/runs/shared/model-resolution-diagnostic.d.ts +0 -34
  1151. package/node_modules/pi-subagents/src/runs/shared/model-resolution-diagnostic.d.ts.map +0 -1
  1152. package/node_modules/pi-subagents/src/runs/shared/model-resolution-diagnostic.js +0 -92
  1153. package/node_modules/pi-subagents/src/runs/shared/model-resolution-diagnostic.js.map +0 -1
  1154. package/node_modules/pi-subagents/src/runs/shared/model-resolution.d.ts +0 -106
  1155. package/node_modules/pi-subagents/src/runs/shared/model-resolution.d.ts.map +0 -1
  1156. package/node_modules/pi-subagents/src/runs/shared/model-resolution.js +0 -405
  1157. package/node_modules/pi-subagents/src/runs/shared/model-resolution.js.map +0 -1
  1158. package/node_modules/pi-subagents/src/runs/shared/model-scope.d.ts +0 -69
  1159. package/node_modules/pi-subagents/src/runs/shared/model-scope.d.ts.map +0 -1
  1160. package/node_modules/pi-subagents/src/runs/shared/model-scope.js +0 -172
  1161. package/node_modules/pi-subagents/src/runs/shared/model-scope.js.map +0 -1
  1162. package/node_modules/pi-subagents/src/runs/shared/mutation-evidence.d.ts +0 -19
  1163. package/node_modules/pi-subagents/src/runs/shared/mutation-evidence.d.ts.map +0 -1
  1164. package/node_modules/pi-subagents/src/runs/shared/mutation-evidence.js +0 -199
  1165. package/node_modules/pi-subagents/src/runs/shared/mutation-evidence.js.map +0 -1
  1166. package/node_modules/pi-subagents/src/runs/shared/nested-events.d.ts +0 -136
  1167. package/node_modules/pi-subagents/src/runs/shared/nested-events.d.ts.map +0 -1
  1168. package/node_modules/pi-subagents/src/runs/shared/nested-events.js +0 -1060
  1169. package/node_modules/pi-subagents/src/runs/shared/nested-events.js.map +0 -1
  1170. package/node_modules/pi-subagents/src/runs/shared/nested-path.d.ts +0 -9
  1171. package/node_modules/pi-subagents/src/runs/shared/nested-path.d.ts.map +0 -1
  1172. package/node_modules/pi-subagents/src/runs/shared/nested-path.js +0 -35
  1173. package/node_modules/pi-subagents/src/runs/shared/nested-path.js.map +0 -1
  1174. package/node_modules/pi-subagents/src/runs/shared/nested-render.d.ts +0 -21
  1175. package/node_modules/pi-subagents/src/runs/shared/nested-render.d.ts.map +0 -1
  1176. package/node_modules/pi-subagents/src/runs/shared/nested-render.js +0 -116
  1177. package/node_modules/pi-subagents/src/runs/shared/nested-render.js.map +0 -1
  1178. package/node_modules/pi-subagents/src/runs/shared/orca-progress-tabs.d.ts +0 -33
  1179. package/node_modules/pi-subagents/src/runs/shared/orca-progress-tabs.d.ts.map +0 -1
  1180. package/node_modules/pi-subagents/src/runs/shared/orca-progress-tabs.js +0 -527
  1181. package/node_modules/pi-subagents/src/runs/shared/orca-progress-tabs.js.map +0 -1
  1182. package/node_modules/pi-subagents/src/runs/shared/parallel-handoff.d.ts +0 -79
  1183. package/node_modules/pi-subagents/src/runs/shared/parallel-handoff.d.ts.map +0 -1
  1184. package/node_modules/pi-subagents/src/runs/shared/parallel-handoff.js +0 -780
  1185. package/node_modules/pi-subagents/src/runs/shared/parallel-handoff.js.map +0 -1
  1186. package/node_modules/pi-subagents/src/runs/shared/parallel-utils.d.ts +0 -170
  1187. package/node_modules/pi-subagents/src/runs/shared/parallel-utils.d.ts.map +0 -1
  1188. package/node_modules/pi-subagents/src/runs/shared/parallel-utils.js +0 -126
  1189. package/node_modules/pi-subagents/src/runs/shared/parallel-utils.js.map +0 -1
  1190. package/node_modules/pi-subagents/src/runs/shared/partial-output.d.ts +0 -25
  1191. package/node_modules/pi-subagents/src/runs/shared/partial-output.d.ts.map +0 -1
  1192. package/node_modules/pi-subagents/src/runs/shared/partial-output.js +0 -36
  1193. package/node_modules/pi-subagents/src/runs/shared/partial-output.js.map +0 -1
  1194. package/node_modules/pi-subagents/src/runs/shared/permissions.d.ts +0 -13
  1195. package/node_modules/pi-subagents/src/runs/shared/permissions.d.ts.map +0 -1
  1196. package/node_modules/pi-subagents/src/runs/shared/permissions.js +0 -93
  1197. package/node_modules/pi-subagents/src/runs/shared/permissions.js.map +0 -1
  1198. package/node_modules/pi-subagents/src/runs/shared/pi-spawn.d.ts +0 -28
  1199. package/node_modules/pi-subagents/src/runs/shared/pi-spawn.d.ts.map +0 -1
  1200. package/node_modules/pi-subagents/src/runs/shared/pi-spawn.js +0 -156
  1201. package/node_modules/pi-subagents/src/runs/shared/pi-spawn.js.map +0 -1
  1202. package/node_modules/pi-subagents/src/runs/shared/process-signal.d.ts +0 -16
  1203. package/node_modules/pi-subagents/src/runs/shared/process-signal.d.ts.map +0 -1
  1204. package/node_modules/pi-subagents/src/runs/shared/process-signal.js +0 -22
  1205. package/node_modules/pi-subagents/src/runs/shared/process-signal.js.map +0 -1
  1206. package/node_modules/pi-subagents/src/runs/shared/readonly-drain-observation.d.ts +0 -26
  1207. package/node_modules/pi-subagents/src/runs/shared/readonly-drain-observation.d.ts.map +0 -1
  1208. package/node_modules/pi-subagents/src/runs/shared/readonly-drain-observation.js +0 -51
  1209. package/node_modules/pi-subagents/src/runs/shared/readonly-drain-observation.js.map +0 -1
  1210. package/node_modules/pi-subagents/src/runs/shared/run-fanout-budget.d.ts +0 -15
  1211. package/node_modules/pi-subagents/src/runs/shared/run-fanout-budget.d.ts.map +0 -1
  1212. package/node_modules/pi-subagents/src/runs/shared/run-fanout-budget.js +0 -259
  1213. package/node_modules/pi-subagents/src/runs/shared/run-fanout-budget.js.map +0 -1
  1214. package/node_modules/pi-subagents/src/runs/shared/runner-launcher.d.ts +0 -12
  1215. package/node_modules/pi-subagents/src/runs/shared/runner-launcher.d.ts.map +0 -1
  1216. package/node_modules/pi-subagents/src/runs/shared/runner-launcher.js +0 -25
  1217. package/node_modules/pi-subagents/src/runs/shared/runner-launcher.js.map +0 -1
  1218. package/node_modules/pi-subagents/src/runs/shared/runtime-acknowledged-extensions.d.ts +0 -8
  1219. package/node_modules/pi-subagents/src/runs/shared/runtime-acknowledged-extensions.d.ts.map +0 -1
  1220. package/node_modules/pi-subagents/src/runs/shared/runtime-acknowledged-extensions.js +0 -45
  1221. package/node_modules/pi-subagents/src/runs/shared/runtime-acknowledged-extensions.js.map +0 -1
  1222. package/node_modules/pi-subagents/src/runs/shared/session-lease.d.ts +0 -70
  1223. package/node_modules/pi-subagents/src/runs/shared/session-lease.d.ts.map +0 -1
  1224. package/node_modules/pi-subagents/src/runs/shared/session-lease.js +0 -251
  1225. package/node_modules/pi-subagents/src/runs/shared/session-lease.js.map +0 -1
  1226. package/node_modules/pi-subagents/src/runs/shared/single-output.d.ts +0 -91
  1227. package/node_modules/pi-subagents/src/runs/shared/single-output.d.ts.map +0 -1
  1228. package/node_modules/pi-subagents/src/runs/shared/single-output.js +0 -350
  1229. package/node_modules/pi-subagents/src/runs/shared/single-output.js.map +0 -1
  1230. package/node_modules/pi-subagents/src/runs/shared/spawn-budget.d.ts +0 -21
  1231. package/node_modules/pi-subagents/src/runs/shared/spawn-budget.d.ts.map +0 -1
  1232. package/node_modules/pi-subagents/src/runs/shared/spawn-budget.js +0 -94
  1233. package/node_modules/pi-subagents/src/runs/shared/spawn-budget.js.map +0 -1
  1234. package/node_modules/pi-subagents/src/runs/shared/structured-output.d.ts +0 -66
  1235. package/node_modules/pi-subagents/src/runs/shared/structured-output.d.ts.map +0 -1
  1236. package/node_modules/pi-subagents/src/runs/shared/structured-output.js +0 -483
  1237. package/node_modules/pi-subagents/src/runs/shared/structured-output.js.map +0 -1
  1238. package/node_modules/pi-subagents/src/runs/shared/subagent-control.d.ts +0 -50
  1239. package/node_modules/pi-subagents/src/runs/shared/subagent-control.d.ts.map +0 -1
  1240. package/node_modules/pi-subagents/src/runs/shared/subagent-control.js +0 -247
  1241. package/node_modules/pi-subagents/src/runs/shared/subagent-control.js.map +0 -1
  1242. package/node_modules/pi-subagents/src/runs/shared/subagent-prompt-runtime.d.ts +0 -64
  1243. package/node_modules/pi-subagents/src/runs/shared/subagent-prompt-runtime.d.ts.map +0 -1
  1244. package/node_modules/pi-subagents/src/runs/shared/subagent-prompt-runtime.js +0 -681
  1245. package/node_modules/pi-subagents/src/runs/shared/subagent-prompt-runtime.js.map +0 -1
  1246. package/node_modules/pi-subagents/src/runs/shared/tool-availability.d.ts +0 -17
  1247. package/node_modules/pi-subagents/src/runs/shared/tool-availability.d.ts.map +0 -1
  1248. package/node_modules/pi-subagents/src/runs/shared/tool-availability.js +0 -30
  1249. package/node_modules/pi-subagents/src/runs/shared/tool-availability.js.map +0 -1
  1250. package/node_modules/pi-subagents/src/runs/shared/tool-budget.d.ts +0 -22
  1251. package/node_modules/pi-subagents/src/runs/shared/tool-budget.d.ts.map +0 -1
  1252. package/node_modules/pi-subagents/src/runs/shared/tool-budget.js +0 -79
  1253. package/node_modules/pi-subagents/src/runs/shared/tool-budget.js.map +0 -1
  1254. package/node_modules/pi-subagents/src/runs/shared/tool-timeout.d.ts +0 -32
  1255. package/node_modules/pi-subagents/src/runs/shared/tool-timeout.d.ts.map +0 -1
  1256. package/node_modules/pi-subagents/src/runs/shared/tool-timeout.js +0 -74
  1257. package/node_modules/pi-subagents/src/runs/shared/tool-timeout.js.map +0 -1
  1258. package/node_modules/pi-subagents/src/runs/shared/usage-budget.d.ts +0 -8
  1259. package/node_modules/pi-subagents/src/runs/shared/usage-budget.d.ts.map +0 -1
  1260. package/node_modules/pi-subagents/src/runs/shared/usage-budget.js +0 -75
  1261. package/node_modules/pi-subagents/src/runs/shared/usage-budget.js.map +0 -1
  1262. package/node_modules/pi-subagents/src/runs/shared/usage-reconciliation.d.ts +0 -9
  1263. package/node_modules/pi-subagents/src/runs/shared/usage-reconciliation.d.ts.map +0 -1
  1264. package/node_modules/pi-subagents/src/runs/shared/usage-reconciliation.js +0 -72
  1265. package/node_modules/pi-subagents/src/runs/shared/usage-reconciliation.js.map +0 -1
  1266. package/node_modules/pi-subagents/src/runs/shared/workflow-async-child-guidance.d.ts +0 -4
  1267. package/node_modules/pi-subagents/src/runs/shared/workflow-async-child-guidance.d.ts.map +0 -1
  1268. package/node_modules/pi-subagents/src/runs/shared/workflow-async-child-guidance.js +0 -18
  1269. package/node_modules/pi-subagents/src/runs/shared/workflow-async-child-guidance.js.map +0 -1
  1270. package/node_modules/pi-subagents/src/runs/shared/workflow-graph.d.ts +0 -32
  1271. package/node_modules/pi-subagents/src/runs/shared/workflow-graph.d.ts.map +0 -1
  1272. package/node_modules/pi-subagents/src/runs/shared/workflow-graph.js +0 -222
  1273. package/node_modules/pi-subagents/src/runs/shared/workflow-graph.js.map +0 -1
  1274. package/node_modules/pi-subagents/src/runs/shared/worktree-cleanup-apply.d.ts +0 -37
  1275. package/node_modules/pi-subagents/src/runs/shared/worktree-cleanup-apply.d.ts.map +0 -1
  1276. package/node_modules/pi-subagents/src/runs/shared/worktree-cleanup-apply.js +0 -179
  1277. package/node_modules/pi-subagents/src/runs/shared/worktree-cleanup-apply.js.map +0 -1
  1278. package/node_modules/pi-subagents/src/runs/shared/worktree-cleanup-plan.d.ts +0 -85
  1279. package/node_modules/pi-subagents/src/runs/shared/worktree-cleanup-plan.d.ts.map +0 -1
  1280. package/node_modules/pi-subagents/src/runs/shared/worktree-cleanup-plan.js +0 -804
  1281. package/node_modules/pi-subagents/src/runs/shared/worktree-cleanup-plan.js.map +0 -1
  1282. package/node_modules/pi-subagents/src/runs/shared/worktree-lock.d.ts +0 -6
  1283. package/node_modules/pi-subagents/src/runs/shared/worktree-lock.d.ts.map +0 -1
  1284. package/node_modules/pi-subagents/src/runs/shared/worktree-lock.js +0 -41
  1285. package/node_modules/pi-subagents/src/runs/shared/worktree-lock.js.map +0 -1
  1286. package/node_modules/pi-subagents/src/runs/shared/worktree-setup-command.d.ts +0 -39
  1287. package/node_modules/pi-subagents/src/runs/shared/worktree-setup-command.d.ts.map +0 -1
  1288. package/node_modules/pi-subagents/src/runs/shared/worktree-setup-command.js +0 -201
  1289. package/node_modules/pi-subagents/src/runs/shared/worktree-setup-command.js.map +0 -1
  1290. package/node_modules/pi-subagents/src/runs/shared/worktree.d.ts +0 -182
  1291. package/node_modules/pi-subagents/src/runs/shared/worktree.d.ts.map +0 -1
  1292. package/node_modules/pi-subagents/src/runs/shared/worktree.js +0 -1347
  1293. package/node_modules/pi-subagents/src/runs/shared/worktree.js.map +0 -1
  1294. package/node_modules/pi-subagents/src/shared/accessible-dir.d.ts +0 -12
  1295. package/node_modules/pi-subagents/src/shared/accessible-dir.d.ts.map +0 -1
  1296. package/node_modules/pi-subagents/src/shared/accessible-dir.js +0 -37
  1297. package/node_modules/pi-subagents/src/shared/accessible-dir.js.map +0 -1
  1298. package/node_modules/pi-subagents/src/shared/agent-stream-options.d.ts +0 -6
  1299. package/node_modules/pi-subagents/src/shared/agent-stream-options.d.ts.map +0 -1
  1300. package/node_modules/pi-subagents/src/shared/agent-stream-options.js +0 -4
  1301. package/node_modules/pi-subagents/src/shared/agent-stream-options.js.map +0 -1
  1302. package/node_modules/pi-subagents/src/shared/artifacts.d.ts +0 -23
  1303. package/node_modules/pi-subagents/src/shared/artifacts.d.ts.map +0 -1
  1304. package/node_modules/pi-subagents/src/shared/artifacts.js +0 -273
  1305. package/node_modules/pi-subagents/src/shared/artifacts.js.map +0 -1
  1306. package/node_modules/pi-subagents/src/shared/atomic-json.d.ts +0 -20
  1307. package/node_modules/pi-subagents/src/shared/atomic-json.d.ts.map +0 -1
  1308. package/node_modules/pi-subagents/src/shared/atomic-json.js +0 -62
  1309. package/node_modules/pi-subagents/src/shared/atomic-json.js.map +0 -1
  1310. package/node_modules/pi-subagents/src/shared/capacity-resilient-json.d.ts +0 -27
  1311. package/node_modules/pi-subagents/src/shared/capacity-resilient-json.d.ts.map +0 -1
  1312. package/node_modules/pi-subagents/src/shared/capacity-resilient-json.js +0 -87
  1313. package/node_modules/pi-subagents/src/shared/capacity-resilient-json.js.map +0 -1
  1314. package/node_modules/pi-subagents/src/shared/child-cache-retention.d.ts +0 -30
  1315. package/node_modules/pi-subagents/src/shared/child-cache-retention.d.ts.map +0 -1
  1316. package/node_modules/pi-subagents/src/shared/child-cache-retention.js +0 -41
  1317. package/node_modules/pi-subagents/src/shared/child-cache-retention.js.map +0 -1
  1318. package/node_modules/pi-subagents/src/shared/child-session-name.d.ts +0 -9
  1319. package/node_modules/pi-subagents/src/shared/child-session-name.d.ts.map +0 -1
  1320. package/node_modules/pi-subagents/src/shared/child-session-name.js +0 -41
  1321. package/node_modules/pi-subagents/src/shared/child-session-name.js.map +0 -1
  1322. package/node_modules/pi-subagents/src/shared/child-transcript.d.ts +0 -38
  1323. package/node_modules/pi-subagents/src/shared/child-transcript.d.ts.map +0 -1
  1324. package/node_modules/pi-subagents/src/shared/child-transcript.js +0 -226
  1325. package/node_modules/pi-subagents/src/shared/child-transcript.js.map +0 -1
  1326. package/node_modules/pi-subagents/src/shared/completion-owner.d.ts +0 -3
  1327. package/node_modules/pi-subagents/src/shared/completion-owner.d.ts.map +0 -1
  1328. package/node_modules/pi-subagents/src/shared/completion-owner.js +0 -9
  1329. package/node_modules/pi-subagents/src/shared/completion-owner.js.map +0 -1
  1330. package/node_modules/pi-subagents/src/shared/disabled-features.d.ts +0 -92
  1331. package/node_modules/pi-subagents/src/shared/disabled-features.d.ts.map +0 -1
  1332. package/node_modules/pi-subagents/src/shared/disabled-features.js +0 -113
  1333. package/node_modules/pi-subagents/src/shared/disabled-features.js.map +0 -1
  1334. package/node_modules/pi-subagents/src/shared/display-text.d.ts +0 -6
  1335. package/node_modules/pi-subagents/src/shared/display-text.d.ts.map +0 -1
  1336. package/node_modules/pi-subagents/src/shared/display-text.js +0 -155
  1337. package/node_modules/pi-subagents/src/shared/display-text.js.map +0 -1
  1338. package/node_modules/pi-subagents/src/shared/edit-distance.d.ts +0 -5
  1339. package/node_modules/pi-subagents/src/shared/edit-distance.d.ts.map +0 -1
  1340. package/node_modules/pi-subagents/src/shared/edit-distance.js +0 -33
  1341. package/node_modules/pi-subagents/src/shared/edit-distance.js.map +0 -1
  1342. package/node_modules/pi-subagents/src/shared/extension-context.d.ts +0 -22
  1343. package/node_modules/pi-subagents/src/shared/extension-context.d.ts.map +0 -1
  1344. package/node_modules/pi-subagents/src/shared/extension-context.js +0 -40
  1345. package/node_modules/pi-subagents/src/shared/extension-context.js.map +0 -1
  1346. package/node_modules/pi-subagents/src/shared/file-coalescer.d.ts +0 -12
  1347. package/node_modules/pi-subagents/src/shared/file-coalescer.d.ts.map +0 -1
  1348. package/node_modules/pi-subagents/src/shared/file-coalescer.js +0 -35
  1349. package/node_modules/pi-subagents/src/shared/file-coalescer.js.map +0 -1
  1350. package/node_modules/pi-subagents/src/shared/file-lease.d.ts +0 -5
  1351. package/node_modules/pi-subagents/src/shared/file-lease.d.ts.map +0 -1
  1352. package/node_modules/pi-subagents/src/shared/file-lease.js +0 -101
  1353. package/node_modules/pi-subagents/src/shared/file-lease.js.map +0 -1
  1354. package/node_modules/pi-subagents/src/shared/file-system-retry.d.ts +0 -32
  1355. package/node_modules/pi-subagents/src/shared/file-system-retry.d.ts.map +0 -1
  1356. package/node_modules/pi-subagents/src/shared/file-system-retry.js +0 -85
  1357. package/node_modules/pi-subagents/src/shared/file-system-retry.js.map +0 -1
  1358. package/node_modules/pi-subagents/src/shared/fork-context.d.ts +0 -63
  1359. package/node_modules/pi-subagents/src/shared/fork-context.d.ts.map +0 -1
  1360. package/node_modules/pi-subagents/src/shared/fork-context.js +0 -176
  1361. package/node_modules/pi-subagents/src/shared/fork-context.js.map +0 -1
  1362. package/node_modules/pi-subagents/src/shared/fork-session-cwd.d.ts +0 -3
  1363. package/node_modules/pi-subagents/src/shared/fork-session-cwd.d.ts.map +0 -1
  1364. package/node_modules/pi-subagents/src/shared/fork-session-cwd.js +0 -24
  1365. package/node_modules/pi-subagents/src/shared/fork-session-cwd.js.map +0 -1
  1366. package/node_modules/pi-subagents/src/shared/formatters.d.ts +0 -36
  1367. package/node_modules/pi-subagents/src/shared/formatters.d.ts.map +0 -1
  1368. package/node_modules/pi-subagents/src/shared/formatters.js +0 -138
  1369. package/node_modules/pi-subagents/src/shared/formatters.js.map +0 -1
  1370. package/node_modules/pi-subagents/src/shared/jsonl-writer.d.ts +0 -21
  1371. package/node_modules/pi-subagents/src/shared/jsonl-writer.d.ts.map +0 -1
  1372. package/node_modules/pi-subagents/src/shared/jsonl-writer.js +0 -68
  1373. package/node_modules/pi-subagents/src/shared/jsonl-writer.js.map +0 -1
  1374. package/node_modules/pi-subagents/src/shared/launch-contract.d.ts +0 -64
  1375. package/node_modules/pi-subagents/src/shared/launch-contract.d.ts.map +0 -1
  1376. package/node_modules/pi-subagents/src/shared/launch-contract.js +0 -140
  1377. package/node_modules/pi-subagents/src/shared/launch-contract.js.map +0 -1
  1378. package/node_modules/pi-subagents/src/shared/model-info.d.ts +0 -56
  1379. package/node_modules/pi-subagents/src/shared/model-info.d.ts.map +0 -1
  1380. package/node_modules/pi-subagents/src/shared/model-info.js +0 -104
  1381. package/node_modules/pi-subagents/src/shared/model-info.js.map +0 -1
  1382. package/node_modules/pi-subagents/src/shared/model-response-aliases.d.ts +0 -2
  1383. package/node_modules/pi-subagents/src/shared/model-response-aliases.d.ts.map +0 -1
  1384. package/node_modules/pi-subagents/src/shared/model-response-aliases.js +0 -16
  1385. package/node_modules/pi-subagents/src/shared/model-response-aliases.js.map +0 -1
  1386. package/node_modules/pi-subagents/src/shared/node-executable.d.ts +0 -2
  1387. package/node_modules/pi-subagents/src/shared/node-executable.d.ts.map +0 -1
  1388. package/node_modules/pi-subagents/src/shared/node-executable.js +0 -21
  1389. package/node_modules/pi-subagents/src/shared/node-executable.js.map +0 -1
  1390. package/node_modules/pi-subagents/src/shared/opencode-session-headers.d.ts +0 -13
  1391. package/node_modules/pi-subagents/src/shared/opencode-session-headers.d.ts.map +0 -1
  1392. package/node_modules/pi-subagents/src/shared/opencode-session-headers.js +0 -27
  1393. package/node_modules/pi-subagents/src/shared/opencode-session-headers.js.map +0 -1
  1394. package/node_modules/pi-subagents/src/shared/package-version.d.ts +0 -3
  1395. package/node_modules/pi-subagents/src/shared/package-version.d.ts.map +0 -1
  1396. package/node_modules/pi-subagents/src/shared/package-version.js +0 -15
  1397. package/node_modules/pi-subagents/src/shared/package-version.js.map +0 -1
  1398. package/node_modules/pi-subagents/src/shared/parent-wake.d.ts +0 -24
  1399. package/node_modules/pi-subagents/src/shared/parent-wake.d.ts.map +0 -1
  1400. package/node_modules/pi-subagents/src/shared/parent-wake.js +0 -71
  1401. package/node_modules/pi-subagents/src/shared/parent-wake.js.map +0 -1
  1402. package/node_modules/pi-subagents/src/shared/prompt-resources.d.ts +0 -6
  1403. package/node_modules/pi-subagents/src/shared/prompt-resources.d.ts.map +0 -1
  1404. package/node_modules/pi-subagents/src/shared/prompt-resources.js +0 -11
  1405. package/node_modules/pi-subagents/src/shared/prompt-resources.js.map +0 -1
  1406. package/node_modules/pi-subagents/src/shared/pruned-fork.d.ts +0 -35
  1407. package/node_modules/pi-subagents/src/shared/pruned-fork.d.ts.map +0 -1
  1408. package/node_modules/pi-subagents/src/shared/pruned-fork.js +0 -435
  1409. package/node_modules/pi-subagents/src/shared/pruned-fork.js.map +0 -1
  1410. package/node_modules/pi-subagents/src/shared/required-child-extensions.d.ts +0 -35
  1411. package/node_modules/pi-subagents/src/shared/required-child-extensions.d.ts.map +0 -1
  1412. package/node_modules/pi-subagents/src/shared/required-child-extensions.js +0 -106
  1413. package/node_modules/pi-subagents/src/shared/required-child-extensions.js.map +0 -1
  1414. package/node_modules/pi-subagents/src/shared/runtime-module-path.d.ts +0 -11
  1415. package/node_modules/pi-subagents/src/shared/runtime-module-path.d.ts.map +0 -1
  1416. package/node_modules/pi-subagents/src/shared/runtime-module-path.js +0 -17
  1417. package/node_modules/pi-subagents/src/shared/runtime-module-path.js.map +0 -1
  1418. package/node_modules/pi-subagents/src/shared/session-file-trust.d.ts +0 -2
  1419. package/node_modules/pi-subagents/src/shared/session-file-trust.d.ts.map +0 -1
  1420. package/node_modules/pi-subagents/src/shared/session-file-trust.js +0 -21
  1421. package/node_modules/pi-subagents/src/shared/session-file-trust.js.map +0 -1
  1422. package/node_modules/pi-subagents/src/shared/session-identity.d.ts +0 -7
  1423. package/node_modules/pi-subagents/src/shared/session-identity.d.ts.map +0 -1
  1424. package/node_modules/pi-subagents/src/shared/session-identity.js +0 -7
  1425. package/node_modules/pi-subagents/src/shared/session-identity.js.map +0 -1
  1426. package/node_modules/pi-subagents/src/shared/session-tokens.d.ts +0 -3
  1427. package/node_modules/pi-subagents/src/shared/session-tokens.d.ts.map +0 -1
  1428. package/node_modules/pi-subagents/src/shared/session-tokens.js +0 -59
  1429. package/node_modules/pi-subagents/src/shared/session-tokens.js.map +0 -1
  1430. package/node_modules/pi-subagents/src/shared/settings-file-lease.d.ts +0 -5
  1431. package/node_modules/pi-subagents/src/shared/settings-file-lease.d.ts.map +0 -1
  1432. package/node_modules/pi-subagents/src/shared/settings-file-lease.js +0 -39
  1433. package/node_modules/pi-subagents/src/shared/settings-file-lease.js.map +0 -1
  1434. package/node_modules/pi-subagents/src/shared/settings.d.ts +0 -147
  1435. package/node_modules/pi-subagents/src/shared/settings.d.ts.map +0 -1
  1436. package/node_modules/pi-subagents/src/shared/settings.js +0 -248
  1437. package/node_modules/pi-subagents/src/shared/settings.js.map +0 -1
  1438. package/node_modules/pi-subagents/src/shared/shortcuts.d.ts +0 -2
  1439. package/node_modules/pi-subagents/src/shared/shortcuts.d.ts.map +0 -1
  1440. package/node_modules/pi-subagents/src/shared/shortcuts.js +0 -18
  1441. package/node_modules/pi-subagents/src/shared/shortcuts.js.map +0 -1
  1442. package/node_modules/pi-subagents/src/shared/status-format.d.ts +0 -10
  1443. package/node_modules/pi-subagents/src/shared/status-format.d.ts.map +0 -1
  1444. package/node_modules/pi-subagents/src/shared/status-format.js +0 -61
  1445. package/node_modules/pi-subagents/src/shared/status-format.js.map +0 -1
  1446. package/node_modules/pi-subagents/src/shared/thinking-ceiling.d.ts +0 -14
  1447. package/node_modules/pi-subagents/src/shared/thinking-ceiling.d.ts.map +0 -1
  1448. package/node_modules/pi-subagents/src/shared/thinking-ceiling.js +0 -38
  1449. package/node_modules/pi-subagents/src/shared/thinking-ceiling.js.map +0 -1
  1450. package/node_modules/pi-subagents/src/shared/types.d.ts +0 -2748
  1451. package/node_modules/pi-subagents/src/shared/types.d.ts.map +0 -1
  1452. package/node_modules/pi-subagents/src/shared/types.js +0 -270
  1453. package/node_modules/pi-subagents/src/shared/types.js.map +0 -1
  1454. package/node_modules/pi-subagents/src/shared/utf8.d.ts +0 -6
  1455. package/node_modules/pi-subagents/src/shared/utf8.d.ts.map +0 -1
  1456. package/node_modules/pi-subagents/src/shared/utf8.js +0 -13
  1457. package/node_modules/pi-subagents/src/shared/utf8.js.map +0 -1
  1458. package/node_modules/pi-subagents/src/shared/utils.d.ts +0 -73
  1459. package/node_modules/pi-subagents/src/shared/utils.d.ts.map +0 -1
  1460. package/node_modules/pi-subagents/src/shared/utils.js +0 -596
  1461. package/node_modules/pi-subagents/src/shared/utils.js.map +0 -1
  1462. package/node_modules/pi-subagents/src/shared/watch-strategy.d.ts +0 -3
  1463. package/node_modules/pi-subagents/src/shared/watch-strategy.d.ts.map +0 -1
  1464. package/node_modules/pi-subagents/src/shared/watch-strategy.js +0 -6
  1465. package/node_modules/pi-subagents/src/shared/watch-strategy.js.map +0 -1
  1466. package/node_modules/pi-subagents/src/shared/workflow-child-permit.d.ts +0 -59
  1467. package/node_modules/pi-subagents/src/shared/workflow-child-permit.d.ts.map +0 -1
  1468. package/node_modules/pi-subagents/src/shared/workflow-child-permit.js +0 -160
  1469. package/node_modules/pi-subagents/src/shared/workflow-child-permit.js.map +0 -1
  1470. package/node_modules/pi-subagents/src/slash/delegation-adapters.d.ts +0 -153
  1471. package/node_modules/pi-subagents/src/slash/delegation-adapters.d.ts.map +0 -1
  1472. package/node_modules/pi-subagents/src/slash/delegation-adapters.js +0 -310
  1473. package/node_modules/pi-subagents/src/slash/delegation-adapters.js.map +0 -1
  1474. package/node_modules/pi-subagents/src/slash/delegation-json.d.ts +0 -11
  1475. package/node_modules/pi-subagents/src/slash/delegation-json.d.ts.map +0 -1
  1476. package/node_modules/pi-subagents/src/slash/delegation-json.js +0 -118
  1477. package/node_modules/pi-subagents/src/slash/delegation-json.js.map +0 -1
  1478. package/node_modules/pi-subagents/src/slash/delegation-request.d.ts +0 -13
  1479. package/node_modules/pi-subagents/src/slash/delegation-request.d.ts.map +0 -1
  1480. package/node_modules/pi-subagents/src/slash/delegation-request.js +0 -175
  1481. package/node_modules/pi-subagents/src/slash/delegation-request.js.map +0 -1
  1482. package/node_modules/pi-subagents/src/slash/prompt-template-bridge.d.ts +0 -27
  1483. package/node_modules/pi-subagents/src/slash/prompt-template-bridge.d.ts.map +0 -1
  1484. package/node_modules/pi-subagents/src/slash/prompt-template-bridge.js +0 -393
  1485. package/node_modules/pi-subagents/src/slash/prompt-template-bridge.js.map +0 -1
  1486. package/node_modules/pi-subagents/src/slash/prompt-workflows.d.ts +0 -22
  1487. package/node_modules/pi-subagents/src/slash/prompt-workflows.d.ts.map +0 -1
  1488. package/node_modules/pi-subagents/src/slash/prompt-workflows.js +0 -275
  1489. package/node_modules/pi-subagents/src/slash/prompt-workflows.js.map +0 -1
  1490. package/node_modules/pi-subagents/src/slash/selector.d.ts +0 -48
  1491. package/node_modules/pi-subagents/src/slash/selector.d.ts.map +0 -1
  1492. package/node_modules/pi-subagents/src/slash/selector.js +0 -118
  1493. package/node_modules/pi-subagents/src/slash/selector.js.map +0 -1
  1494. package/node_modules/pi-subagents/src/slash/slash-bridge.d.ts +0 -31
  1495. package/node_modules/pi-subagents/src/slash/slash-bridge.d.ts.map +0 -1
  1496. package/node_modules/pi-subagents/src/slash/slash-bridge.js +0 -133
  1497. package/node_modules/pi-subagents/src/slash/slash-bridge.js.map +0 -1
  1498. package/node_modules/pi-subagents/src/slash/slash-commands.d.ts +0 -11
  1499. package/node_modules/pi-subagents/src/slash/slash-commands.d.ts.map +0 -1
  1500. package/node_modules/pi-subagents/src/slash/slash-commands.js +0 -1060
  1501. package/node_modules/pi-subagents/src/slash/slash-commands.js.map +0 -1
  1502. package/node_modules/pi-subagents/src/slash/slash-live-state.d.ts +0 -22
  1503. package/node_modules/pi-subagents/src/slash/slash-live-state.d.ts.map +0 -1
  1504. package/node_modules/pi-subagents/src/slash/slash-live-state.js +0 -264
  1505. package/node_modules/pi-subagents/src/slash/slash-live-state.js.map +0 -1
  1506. package/node_modules/pi-subagents/src/slash/subagent-cost.d.ts +0 -30
  1507. package/node_modules/pi-subagents/src/slash/subagent-cost.d.ts.map +0 -1
  1508. package/node_modules/pi-subagents/src/slash/subagent-cost.js +0 -311
  1509. package/node_modules/pi-subagents/src/slash/subagent-cost.js.map +0 -1
  1510. package/node_modules/pi-subagents/src/slash/subagents-admin.d.ts +0 -3
  1511. package/node_modules/pi-subagents/src/slash/subagents-admin.d.ts.map +0 -1
  1512. package/node_modules/pi-subagents/src/slash/subagents-admin.js +0 -455
  1513. package/node_modules/pi-subagents/src/slash/subagents-admin.js.map +0 -1
  1514. package/node_modules/pi-subagents/src/tui/fleet-status.d.ts +0 -93
  1515. package/node_modules/pi-subagents/src/tui/fleet-status.d.ts.map +0 -1
  1516. package/node_modules/pi-subagents/src/tui/fleet-status.js +0 -1133
  1517. package/node_modules/pi-subagents/src/tui/fleet-status.js.map +0 -1
  1518. package/node_modules/pi-subagents/src/tui/fleet-transcript.d.ts +0 -52
  1519. package/node_modules/pi-subagents/src/tui/fleet-transcript.d.ts.map +0 -1
  1520. package/node_modules/pi-subagents/src/tui/fleet-transcript.js +0 -502
  1521. package/node_modules/pi-subagents/src/tui/fleet-transcript.js.map +0 -1
  1522. package/node_modules/pi-subagents/src/tui/fleet.d.ts +0 -169
  1523. package/node_modules/pi-subagents/src/tui/fleet.d.ts.map +0 -1
  1524. package/node_modules/pi-subagents/src/tui/fleet.js +0 -1432
  1525. package/node_modules/pi-subagents/src/tui/fleet.js.map +0 -1
  1526. package/node_modules/pi-subagents/src/tui/render-helpers.d.ts +0 -24
  1527. package/node_modules/pi-subagents/src/tui/render-helpers.d.ts.map +0 -1
  1528. package/node_modules/pi-subagents/src/tui/render-helpers.js +0 -101
  1529. package/node_modules/pi-subagents/src/tui/render-helpers.js.map +0 -1
  1530. package/node_modules/pi-subagents/src/tui/render.d.ts +0 -61
  1531. package/node_modules/pi-subagents/src/tui/render.d.ts.map +0 -1
  1532. package/node_modules/pi-subagents/src/tui/render.js +0 -3677
  1533. package/node_modules/pi-subagents/src/tui/render.js.map +0 -1
  1534. package/node_modules/pi-subagents/src/tui/running-tone.d.ts +0 -11
  1535. package/node_modules/pi-subagents/src/tui/running-tone.d.ts.map +0 -1
  1536. package/node_modules/pi-subagents/src/tui/running-tone.js +0 -23
  1537. package/node_modules/pi-subagents/src/tui/running-tone.js.map +0 -1
  1538. package/node_modules/pi-subagents/src/tui/subagent-messages.d.ts +0 -23
  1539. package/node_modules/pi-subagents/src/tui/subagent-messages.d.ts.map +0 -1
  1540. package/node_modules/pi-subagents/src/tui/subagent-messages.js +0 -270
  1541. package/node_modules/pi-subagents/src/tui/subagent-messages.js.map +0 -1
  1542. package/node_modules/pi-subagents/src/watchdog/change-signature.d.ts +0 -8
  1543. package/node_modules/pi-subagents/src/watchdog/change-signature.d.ts.map +0 -1
  1544. package/node_modules/pi-subagents/src/watchdog/change-signature.js +0 -244
  1545. package/node_modules/pi-subagents/src/watchdog/change-signature.js.map +0 -1
  1546. package/node_modules/pi-subagents/src/watchdog/child-status.d.ts +0 -54
  1547. package/node_modules/pi-subagents/src/watchdog/child-status.d.ts.map +0 -1
  1548. package/node_modules/pi-subagents/src/watchdog/child-status.js +0 -188
  1549. package/node_modules/pi-subagents/src/watchdog/child-status.js.map +0 -1
  1550. package/node_modules/pi-subagents/src/watchdog/diff-tool.d.ts +0 -26
  1551. package/node_modules/pi-subagents/src/watchdog/diff-tool.d.ts.map +0 -1
  1552. package/node_modules/pi-subagents/src/watchdog/diff-tool.js +0 -99
  1553. package/node_modules/pi-subagents/src/watchdog/diff-tool.js.map +0 -1
  1554. package/node_modules/pi-subagents/src/watchdog/emission-guard.d.ts +0 -37
  1555. package/node_modules/pi-subagents/src/watchdog/emission-guard.d.ts.map +0 -1
  1556. package/node_modules/pi-subagents/src/watchdog/emission-guard.js +0 -98
  1557. package/node_modules/pi-subagents/src/watchdog/emission-guard.js.map +0 -1
  1558. package/node_modules/pi-subagents/src/watchdog/guidance.d.ts +0 -4
  1559. package/node_modules/pi-subagents/src/watchdog/guidance.d.ts.map +0 -1
  1560. package/node_modules/pi-subagents/src/watchdog/guidance.js +0 -20
  1561. package/node_modules/pi-subagents/src/watchdog/guidance.js.map +0 -1
  1562. package/node_modules/pi-subagents/src/watchdog/lsp-diagnostics.d.ts +0 -18
  1563. package/node_modules/pi-subagents/src/watchdog/lsp-diagnostics.d.ts.map +0 -1
  1564. package/node_modules/pi-subagents/src/watchdog/lsp-diagnostics.js +0 -490
  1565. package/node_modules/pi-subagents/src/watchdog/lsp-diagnostics.js.map +0 -1
  1566. package/node_modules/pi-subagents/src/watchdog/model-selection.d.ts +0 -25
  1567. package/node_modules/pi-subagents/src/watchdog/model-selection.d.ts.map +0 -1
  1568. package/node_modules/pi-subagents/src/watchdog/model-selection.js +0 -168
  1569. package/node_modules/pi-subagents/src/watchdog/model-selection.js.map +0 -1
  1570. package/node_modules/pi-subagents/src/watchdog/permission-arbiter.d.ts +0 -21
  1571. package/node_modules/pi-subagents/src/watchdog/permission-arbiter.d.ts.map +0 -1
  1572. package/node_modules/pi-subagents/src/watchdog/permission-arbiter.js +0 -136
  1573. package/node_modules/pi-subagents/src/watchdog/permission-arbiter.js.map +0 -1
  1574. package/node_modules/pi-subagents/src/watchdog/register-child.d.ts +0 -14
  1575. package/node_modules/pi-subagents/src/watchdog/register-child.d.ts.map +0 -1
  1576. package/node_modules/pi-subagents/src/watchdog/register-child.js +0 -129
  1577. package/node_modules/pi-subagents/src/watchdog/register-child.js.map +0 -1
  1578. package/node_modules/pi-subagents/src/watchdog/register-main.d.ts +0 -10
  1579. package/node_modules/pi-subagents/src/watchdog/register-main.d.ts.map +0 -1
  1580. package/node_modules/pi-subagents/src/watchdog/register-main.js +0 -400
  1581. package/node_modules/pi-subagents/src/watchdog/register-main.js.map +0 -1
  1582. package/node_modules/pi-subagents/src/watchdog/render.d.ts +0 -4
  1583. package/node_modules/pi-subagents/src/watchdog/render.d.ts.map +0 -1
  1584. package/node_modules/pi-subagents/src/watchdog/render.js +0 -34
  1585. package/node_modules/pi-subagents/src/watchdog/render.js.map +0 -1
  1586. package/node_modules/pi-subagents/src/watchdog/review.d.ts +0 -37
  1587. package/node_modules/pi-subagents/src/watchdog/review.d.ts.map +0 -1
  1588. package/node_modules/pi-subagents/src/watchdog/review.js +0 -320
  1589. package/node_modules/pi-subagents/src/watchdog/review.js.map +0 -1
  1590. package/node_modules/pi-subagents/src/watchdog/rules.d.ts +0 -22
  1591. package/node_modules/pi-subagents/src/watchdog/rules.d.ts.map +0 -1
  1592. package/node_modules/pi-subagents/src/watchdog/rules.js +0 -59
  1593. package/node_modules/pi-subagents/src/watchdog/rules.js.map +0 -1
  1594. package/node_modules/pi-subagents/src/watchdog/runtime.d.ts +0 -196
  1595. package/node_modules/pi-subagents/src/watchdog/runtime.d.ts.map +0 -1
  1596. package/node_modules/pi-subagents/src/watchdog/runtime.js +0 -867
  1597. package/node_modules/pi-subagents/src/watchdog/runtime.js.map +0 -1
  1598. package/node_modules/pi-subagents/src/watchdog/scope.d.ts +0 -15
  1599. package/node_modules/pi-subagents/src/watchdog/scope.d.ts.map +0 -1
  1600. package/node_modules/pi-subagents/src/watchdog/scope.js +0 -45
  1601. package/node_modules/pi-subagents/src/watchdog/scope.js.map +0 -1
  1602. package/node_modules/pi-subagents/src/watchdog/settings.d.ts +0 -30
  1603. package/node_modules/pi-subagents/src/watchdog/settings.d.ts.map +0 -1
  1604. package/node_modules/pi-subagents/src/watchdog/settings.js +0 -481
  1605. package/node_modules/pi-subagents/src/watchdog/settings.js.map +0 -1
  1606. package/node_modules/pi-subagents/src/watchdog/tool-actions.d.ts +0 -18
  1607. package/node_modules/pi-subagents/src/watchdog/tool-actions.d.ts.map +0 -1
  1608. package/node_modules/pi-subagents/src/watchdog/tool-actions.js +0 -151
  1609. package/node_modules/pi-subagents/src/watchdog/tool-actions.js.map +0 -1
  1610. package/node_modules/pi-subagents/src/watchdog/turn-delta.d.ts +0 -16
  1611. package/node_modules/pi-subagents/src/watchdog/turn-delta.d.ts.map +0 -1
  1612. package/node_modules/pi-subagents/src/watchdog/turn-delta.js +0 -189
  1613. package/node_modules/pi-subagents/src/watchdog/turn-delta.js.map +0 -1
  1614. package/node_modules/pi-subagents/src/watchdog/types.d.ts +0 -142
  1615. package/node_modules/pi-subagents/src/watchdog/types.d.ts.map +0 -1
  1616. package/node_modules/pi-subagents/src/watchdog/types.js +0 -28
  1617. package/node_modules/pi-subagents/src/watchdog/types.js.map +0 -1
  1618. package/node_modules/pi-subagents/src/watchdog/warning-format.d.ts +0 -8
  1619. package/node_modules/pi-subagents/src/watchdog/warning-format.d.ts.map +0 -1
  1620. package/node_modules/pi-subagents/src/watchdog/warning-format.js +0 -60
  1621. package/node_modules/pi-subagents/src/watchdog/warning-format.js.map +0 -1
  1622. package/node_modules/pi-subagents/src/workflows/chat-progress.d.ts +0 -38
  1623. package/node_modules/pi-subagents/src/workflows/chat-progress.d.ts.map +0 -1
  1624. package/node_modules/pi-subagents/src/workflows/chat-progress.js +0 -130
  1625. package/node_modules/pi-subagents/src/workflows/chat-progress.js.map +0 -1
  1626. package/node_modules/pi-subagents/src/workflows/host-command.d.ts +0 -31
  1627. package/node_modules/pi-subagents/src/workflows/host-command.d.ts.map +0 -1
  1628. package/node_modules/pi-subagents/src/workflows/host-command.js +0 -228
  1629. package/node_modules/pi-subagents/src/workflows/host-command.js.map +0 -1
  1630. package/node_modules/pi-subagents/src/workflows/scripted-workflow.d.ts +0 -205
  1631. package/node_modules/pi-subagents/src/workflows/scripted-workflow.d.ts.map +0 -1
  1632. package/node_modules/pi-subagents/src/workflows/scripted-workflow.js +0 -2730
  1633. package/node_modules/pi-subagents/src/workflows/scripted-workflow.js.map +0 -1
  1634. package/node_modules/pi-subagents/src/workflows/structured-workflow-scripts.d.ts +0 -10
  1635. package/node_modules/pi-subagents/src/workflows/structured-workflow-scripts.d.ts.map +0 -1
  1636. package/node_modules/pi-subagents/src/workflows/structured-workflow-scripts.js +0 -166
  1637. package/node_modules/pi-subagents/src/workflows/structured-workflow-scripts.js.map +0 -1
  1638. package/node_modules/pi-subagents/src/workflows/workflow-checklist.d.ts +0 -128
  1639. package/node_modules/pi-subagents/src/workflows/workflow-checklist.d.ts.map +0 -1
  1640. package/node_modules/pi-subagents/src/workflows/workflow-checklist.js +0 -315
  1641. package/node_modules/pi-subagents/src/workflows/workflow-checklist.js.map +0 -1
  1642. package/node_modules/pi-subagents/src/workflows/workflow-child-summary.d.ts +0 -20
  1643. package/node_modules/pi-subagents/src/workflows/workflow-child-summary.d.ts.map +0 -1
  1644. package/node_modules/pi-subagents/src/workflows/workflow-child-summary.js +0 -179
  1645. package/node_modules/pi-subagents/src/workflows/workflow-child-summary.js.map +0 -1
  1646. package/node_modules/pi-subagents/src/workflows/workflow-preflight.d.ts +0 -59
  1647. package/node_modules/pi-subagents/src/workflows/workflow-preflight.d.ts.map +0 -1
  1648. package/node_modules/pi-subagents/src/workflows/workflow-preflight.js +0 -289
  1649. package/node_modules/pi-subagents/src/workflows/workflow-preflight.js.map +0 -1
  1650. package/node_modules/pi-subagents/src/workflows/workflow-receipt.d.ts +0 -35
  1651. package/node_modules/pi-subagents/src/workflows/workflow-receipt.d.ts.map +0 -1
  1652. package/node_modules/pi-subagents/src/workflows/workflow-receipt.js +0 -455
  1653. package/node_modules/pi-subagents/src/workflows/workflow-receipt.js.map +0 -1
  1654. package/node_modules/pi-subagents/src/workflows/workflow-resources.d.ts +0 -56
  1655. package/node_modules/pi-subagents/src/workflows/workflow-resources.d.ts.map +0 -1
  1656. package/node_modules/pi-subagents/src/workflows/workflow-resources.js +0 -272
  1657. package/node_modules/pi-subagents/src/workflows/workflow-resources.js.map +0 -1
  1658. package/node_modules/pi-subagents/src/workflows/workflow-reuse.d.ts +0 -51
  1659. package/node_modules/pi-subagents/src/workflows/workflow-reuse.d.ts.map +0 -1
  1660. package/node_modules/pi-subagents/src/workflows/workflow-reuse.js +0 -103
  1661. package/node_modules/pi-subagents/src/workflows/workflow-reuse.js.map +0 -1
  1662. package/node_modules/pi-subagents/src/workflows/workflow-revival.d.ts +0 -32
  1663. package/node_modules/pi-subagents/src/workflows/workflow-revival.d.ts.map +0 -1
  1664. package/node_modules/pi-subagents/src/workflows/workflow-revival.js +0 -111
  1665. package/node_modules/pi-subagents/src/workflows/workflow-revival.js.map +0 -1
  1666. package/node_modules/pi-subagents/src/workflows/workflow-settlement.d.ts +0 -85
  1667. package/node_modules/pi-subagents/src/workflows/workflow-settlement.d.ts.map +0 -1
  1668. package/node_modules/pi-subagents/src/workflows/workflow-settlement.js +0 -204
  1669. package/node_modules/pi-subagents/src/workflows/workflow-settlement.js.map +0 -1
  1670. package/node_modules/undici/LICENSE +0 -21
  1671. package/node_modules/undici/README.md +0 -797
  1672. package/node_modules/undici/docs/docs/api/Agent.md +0 -291
  1673. package/node_modules/undici/docs/docs/api/BalancedPool.md +0 -297
  1674. package/node_modules/undici/docs/docs/api/CacheStorage.md +0 -188
  1675. package/node_modules/undici/docs/docs/api/CacheStore.md +0 -360
  1676. package/node_modules/undici/docs/docs/api/Client.md +0 -533
  1677. package/node_modules/undici/docs/docs/api/ClientStats.md +0 -93
  1678. package/node_modules/undici/docs/docs/api/Connector.md +0 -198
  1679. package/node_modules/undici/docs/docs/api/ContentType.md +0 -97
  1680. package/node_modules/undici/docs/docs/api/Cookies.md +0 -179
  1681. package/node_modules/undici/docs/docs/api/Debug.md +0 -78
  1682. package/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +0 -515
  1683. package/node_modules/undici/docs/docs/api/Dispatcher.md +0 -827
  1684. package/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +0 -171
  1685. package/node_modules/undici/docs/docs/api/Errors.md +0 -524
  1686. package/node_modules/undici/docs/docs/api/EventSource.md +0 -358
  1687. package/node_modules/undici/docs/docs/api/Fetch.md +0 -711
  1688. package/node_modules/undici/docs/docs/api/GlobalInstallation.md +0 -121
  1689. package/node_modules/undici/docs/docs/api/H2CClient.md +0 -385
  1690. package/node_modules/undici/docs/docs/api/Interceptors.md +0 -418
  1691. package/node_modules/undici/docs/docs/api/MockAgent.md +0 -622
  1692. package/node_modules/undici/docs/docs/api/MockCallHistory.md +0 -371
  1693. package/node_modules/undici/docs/docs/api/MockCallHistoryLog.md +0 -206
  1694. package/node_modules/undici/docs/docs/api/MockClient.md +0 -199
  1695. package/node_modules/undici/docs/docs/api/MockErrors.md +0 -63
  1696. package/node_modules/undici/docs/docs/api/MockPool.md +0 -618
  1697. package/node_modules/undici/docs/docs/api/Pool.md +0 -279
  1698. package/node_modules/undici/docs/docs/api/PoolStats.md +0 -141
  1699. package/node_modules/undici/docs/docs/api/ProxyAgent.md +0 -248
  1700. package/node_modules/undici/docs/docs/api/RedirectHandler.md +0 -276
  1701. package/node_modules/undici/docs/docs/api/RetryAgent.md +0 -136
  1702. package/node_modules/undici/docs/docs/api/RetryHandler.md +0 -200
  1703. package/node_modules/undici/docs/docs/api/RoundRobinPool.md +0 -239
  1704. package/node_modules/undici/docs/docs/api/SnapshotAgent.md +0 -361
  1705. package/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +0 -256
  1706. package/node_modules/undici/docs/docs/api/Util.md +0 -82
  1707. package/node_modules/undici/docs/docs/api/WebSocket.md +0 -536
  1708. package/node_modules/undici/docs/docs/api/api-lifecycle.md +0 -159
  1709. package/node_modules/undici/docs/docs/best-practices/client-certificate.md +0 -66
  1710. package/node_modules/undici/docs/docs/best-practices/crawling.md +0 -60
  1711. package/node_modules/undici/docs/docs/best-practices/migrating-from-v7-to-v8.md +0 -233
  1712. package/node_modules/undici/docs/docs/best-practices/mocking-request.md +0 -192
  1713. package/node_modules/undici/docs/docs/best-practices/proxy.md +0 -129
  1714. package/node_modules/undici/docs/docs/best-practices/undici-vs-builtin-fetch.md +0 -226
  1715. package/node_modules/undici/docs/docs/best-practices/writing-tests.md +0 -65
  1716. package/node_modules/undici/docs/docs/getting-started.md +0 -281
  1717. package/node_modules/undici/docs/docs/index.md +0 -784
  1718. package/node_modules/undici/docs/docs/site.json +0 -125
  1719. package/node_modules/undici/docs/docs/type-map.json +0 -79
  1720. package/node_modules/undici/index-fetch.js +0 -65
  1721. package/node_modules/undici/index.d.ts +0 -3
  1722. package/node_modules/undici/index.js +0 -236
  1723. package/node_modules/undici/lib/api/abort-signal.js +0 -59
  1724. package/node_modules/undici/lib/api/api-connect.js +0 -112
  1725. package/node_modules/undici/lib/api/api-pipeline.js +0 -265
  1726. package/node_modules/undici/lib/api/api-request.js +0 -244
  1727. package/node_modules/undici/lib/api/api-stream.js +0 -270
  1728. package/node_modules/undici/lib/api/api-upgrade.js +0 -121
  1729. package/node_modules/undici/lib/api/index.js +0 -7
  1730. package/node_modules/undici/lib/api/readable.js +0 -616
  1731. package/node_modules/undici/lib/cache/memory-cache-store.js +0 -279
  1732. package/node_modules/undici/lib/cache/sqlite-cache-store.js +0 -469
  1733. package/node_modules/undici/lib/core/connect.js +0 -192
  1734. package/node_modules/undici/lib/core/constants.js +0 -120
  1735. package/node_modules/undici/lib/core/diagnostics.js +0 -227
  1736. package/node_modules/undici/lib/core/errors.js +0 -497
  1737. package/node_modules/undici/lib/core/request.js +0 -546
  1738. package/node_modules/undici/lib/core/socks5-client.js +0 -422
  1739. package/node_modules/undici/lib/core/socks5-utils.js +0 -212
  1740. package/node_modules/undici/lib/core/symbols.js +0 -79
  1741. package/node_modules/undici/lib/core/tree.js +0 -160
  1742. package/node_modules/undici/lib/core/util.js +0 -1049
  1743. package/node_modules/undici/lib/dispatcher/agent.js +0 -177
  1744. package/node_modules/undici/lib/dispatcher/balanced-pool.js +0 -217
  1745. package/node_modules/undici/lib/dispatcher/client-h1.js +0 -1801
  1746. package/node_modules/undici/lib/dispatcher/client-h2.js +0 -1781
  1747. package/node_modules/undici/lib/dispatcher/client.js +0 -741
  1748. package/node_modules/undici/lib/dispatcher/dispatcher-base.js +0 -197
  1749. package/node_modules/undici/lib/dispatcher/dispatcher.js +0 -58
  1750. package/node_modules/undici/lib/dispatcher/dispatcher1-wrapper.js +0 -110
  1751. package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +0 -175
  1752. package/node_modules/undici/lib/dispatcher/fixed-queue.js +0 -135
  1753. package/node_modules/undici/lib/dispatcher/h2c-client.js +0 -51
  1754. package/node_modules/undici/lib/dispatcher/pool-base.js +0 -232
  1755. package/node_modules/undici/lib/dispatcher/pool.js +0 -143
  1756. package/node_modules/undici/lib/dispatcher/proxy-agent.js +0 -395
  1757. package/node_modules/undici/lib/dispatcher/retry-agent.js +0 -38
  1758. package/node_modules/undici/lib/dispatcher/round-robin-pool.js +0 -159
  1759. package/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +0 -350
  1760. package/node_modules/undici/lib/encoding/index.js +0 -33
  1761. package/node_modules/undici/lib/global.js +0 -82
  1762. package/node_modules/undici/lib/handler/cache-handler.js +0 -818
  1763. package/node_modules/undici/lib/handler/cache-revalidation-handler.js +0 -134
  1764. package/node_modules/undici/lib/handler/decorator-handler.js +0 -72
  1765. package/node_modules/undici/lib/handler/deduplication-handler.js +0 -466
  1766. package/node_modules/undici/lib/handler/redirect-handler.js +0 -238
  1767. package/node_modules/undici/lib/handler/retry-handler.js +0 -594
  1768. package/node_modules/undici/lib/interceptor/cache.js +0 -671
  1769. package/node_modules/undici/lib/interceptor/decompress.js +0 -394
  1770. package/node_modules/undici/lib/interceptor/deduplicate.js +0 -118
  1771. package/node_modules/undici/lib/interceptor/dns.js +0 -582
  1772. package/node_modules/undici/lib/interceptor/dump.js +0 -99
  1773. package/node_modules/undici/lib/interceptor/redirect.js +0 -21
  1774. package/node_modules/undici/lib/interceptor/response-error.js +0 -95
  1775. package/node_modules/undici/lib/interceptor/retry.js +0 -19
  1776. package/node_modules/undici/lib/llhttp/constants.d.ts +0 -195
  1777. package/node_modules/undici/lib/llhttp/constants.js +0 -531
  1778. package/node_modules/undici/lib/llhttp/llhttp-wasm.js +0 -15
  1779. package/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +0 -15
  1780. package/node_modules/undici/lib/llhttp/utils.d.ts +0 -2
  1781. package/node_modules/undici/lib/llhttp/utils.js +0 -12
  1782. package/node_modules/undici/lib/mock/mock-agent.js +0 -244
  1783. package/node_modules/undici/lib/mock/mock-call-history.js +0 -248
  1784. package/node_modules/undici/lib/mock/mock-client.js +0 -68
  1785. package/node_modules/undici/lib/mock/mock-errors.js +0 -29
  1786. package/node_modules/undici/lib/mock/mock-interceptor.js +0 -227
  1787. package/node_modules/undici/lib/mock/mock-pool.js +0 -68
  1788. package/node_modules/undici/lib/mock/mock-symbols.js +0 -32
  1789. package/node_modules/undici/lib/mock/mock-utils.js +0 -720
  1790. package/node_modules/undici/lib/mock/pending-interceptors-formatter.js +0 -43
  1791. package/node_modules/undici/lib/mock/snapshot-agent.js +0 -371
  1792. package/node_modules/undici/lib/mock/snapshot-recorder.js +0 -623
  1793. package/node_modules/undici/lib/mock/snapshot-utils.js +0 -158
  1794. package/node_modules/undici/lib/util/cache.js +0 -758
  1795. package/node_modules/undici/lib/util/date.js +0 -670
  1796. package/node_modules/undici/lib/util/runtime-features.js +0 -93
  1797. package/node_modules/undici/lib/util/stats.js +0 -32
  1798. package/node_modules/undici/lib/util/timers.js +0 -425
  1799. package/node_modules/undici/lib/web/cache/cache.js +0 -862
  1800. package/node_modules/undici/lib/web/cache/cachestorage.js +0 -152
  1801. package/node_modules/undici/lib/web/cache/util.js +0 -45
  1802. package/node_modules/undici/lib/web/cookies/constants.js +0 -12
  1803. package/node_modules/undici/lib/web/cookies/index.js +0 -199
  1804. package/node_modules/undici/lib/web/cookies/parse.js +0 -318
  1805. package/node_modules/undici/lib/web/cookies/util.js +0 -352
  1806. package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +0 -521
  1807. package/node_modules/undici/lib/web/eventsource/eventsource.js +0 -500
  1808. package/node_modules/undici/lib/web/eventsource/util.js +0 -60
  1809. package/node_modules/undici/lib/web/fetch/LICENSE +0 -21
  1810. package/node_modules/undici/lib/web/fetch/body.js +0 -547
  1811. package/node_modules/undici/lib/web/fetch/constants.js +0 -131
  1812. package/node_modules/undici/lib/web/fetch/data-url.js +0 -596
  1813. package/node_modules/undici/lib/web/fetch/formdata-parser.js +0 -586
  1814. package/node_modules/undici/lib/web/fetch/formdata.js +0 -278
  1815. package/node_modules/undici/lib/web/fetch/global.js +0 -40
  1816. package/node_modules/undici/lib/web/fetch/headers.js +0 -719
  1817. package/node_modules/undici/lib/web/fetch/index.js +0 -2432
  1818. package/node_modules/undici/lib/web/fetch/request.js +0 -1144
  1819. package/node_modules/undici/lib/web/fetch/response.js +0 -639
  1820. package/node_modules/undici/lib/web/fetch/util.js +0 -1530
  1821. package/node_modules/undici/lib/web/infra/index.js +0 -229
  1822. package/node_modules/undici/lib/web/subresource-integrity/Readme.md +0 -9
  1823. package/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +0 -307
  1824. package/node_modules/undici/lib/web/webidl/index.js +0 -1004
  1825. package/node_modules/undici/lib/web/websocket/connection.js +0 -329
  1826. package/node_modules/undici/lib/web/websocket/constants.js +0 -126
  1827. package/node_modules/undici/lib/web/websocket/events.js +0 -331
  1828. package/node_modules/undici/lib/web/websocket/frame.js +0 -127
  1829. package/node_modules/undici/lib/web/websocket/permessage-deflate.js +0 -105
  1830. package/node_modules/undici/lib/web/websocket/receiver.js +0 -507
  1831. package/node_modules/undici/lib/web/websocket/sender.js +0 -109
  1832. package/node_modules/undici/lib/web/websocket/stream/websocketerror.js +0 -104
  1833. package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +0 -496
  1834. package/node_modules/undici/lib/web/websocket/util.js +0 -347
  1835. package/node_modules/undici/lib/web/websocket/websocket.js +0 -780
  1836. package/node_modules/undici/package.json +0 -152
  1837. package/node_modules/undici/scripts/strip-comments.js +0 -10
  1838. package/node_modules/undici/types/README.md +0 -6
  1839. package/node_modules/undici/types/agent.d.ts +0 -30
  1840. package/node_modules/undici/types/api.d.ts +0 -43
  1841. package/node_modules/undici/types/balanced-pool.d.ts +0 -30
  1842. package/node_modules/undici/types/cache-interceptor.d.ts +0 -179
  1843. package/node_modules/undici/types/cache.d.ts +0 -36
  1844. package/node_modules/undici/types/client-stats.d.ts +0 -15
  1845. package/node_modules/undici/types/client.d.ts +0 -184
  1846. package/node_modules/undici/types/connector.d.ts +0 -37
  1847. package/node_modules/undici/types/content-type.d.ts +0 -21
  1848. package/node_modules/undici/types/cookies.d.ts +0 -30
  1849. package/node_modules/undici/types/diagnostics-channel.d.ts +0 -74
  1850. package/node_modules/undici/types/dispatcher.d.ts +0 -253
  1851. package/node_modules/undici/types/dispatcher1-wrapper.d.ts +0 -7
  1852. package/node_modules/undici/types/env-http-proxy-agent.d.ts +0 -22
  1853. package/node_modules/undici/types/errors.d.ts +0 -187
  1854. package/node_modules/undici/types/eventsource.d.ts +0 -66
  1855. package/node_modules/undici/types/fetch.d.ts +0 -235
  1856. package/node_modules/undici/types/formdata.d.ts +0 -108
  1857. package/node_modules/undici/types/global-dispatcher.d.ts +0 -9
  1858. package/node_modules/undici/types/global-origin.d.ts +0 -7
  1859. package/node_modules/undici/types/h2c-client.d.ts +0 -73
  1860. package/node_modules/undici/types/handlers.d.ts +0 -16
  1861. package/node_modules/undici/types/header.d.ts +0 -165
  1862. package/node_modules/undici/types/index.d.ts +0 -93
  1863. package/node_modules/undici/types/interceptors.d.ts +0 -82
  1864. package/node_modules/undici/types/mock-agent.d.ts +0 -69
  1865. package/node_modules/undici/types/mock-call-history.d.ts +0 -111
  1866. package/node_modules/undici/types/mock-client.d.ts +0 -27
  1867. package/node_modules/undici/types/mock-errors.d.ts +0 -12
  1868. package/node_modules/undici/types/mock-interceptor.d.ts +0 -98
  1869. package/node_modules/undici/types/mock-pool.d.ts +0 -27
  1870. package/node_modules/undici/types/patch.d.ts +0 -29
  1871. package/node_modules/undici/types/pool-stats.d.ts +0 -19
  1872. package/node_modules/undici/types/pool.d.ts +0 -39
  1873. package/node_modules/undici/types/proxy-agent.d.ts +0 -36
  1874. package/node_modules/undici/types/readable.d.ts +0 -68
  1875. package/node_modules/undici/types/retry-agent.d.ts +0 -8
  1876. package/node_modules/undici/types/retry-handler.d.ts +0 -125
  1877. package/node_modules/undici/types/round-robin-pool.d.ts +0 -39
  1878. package/node_modules/undici/types/snapshot-agent.d.ts +0 -113
  1879. package/node_modules/undici/types/socks5-proxy-agent.d.ts +0 -27
  1880. package/node_modules/undici/types/util.d.ts +0 -18
  1881. package/node_modules/undici/types/utility.d.ts +0 -7
  1882. package/node_modules/undici/types/webidl.d.ts +0 -346
  1883. package/node_modules/undici/types/websocket.d.ts +0 -188
  1884. 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.