@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,627 +0,0 @@
1
- # Agents
2
-
3
- An agent is a markdown file: YAML frontmatter on top, a system prompt below. The frontmatter defines the specialist that runs as the child session.
4
-
5
- ```yaml
6
- ---
7
- name: scout
8
- description: Fast codebase recon
9
- tools: read, grep, find, ls
10
- ---
11
-
12
- Your system prompt goes here.
13
- ```
14
-
15
- ## Where agents live
16
-
17
- Lowest to highest priority:
18
-
19
- | Scope | Path |
20
- |-------|------|
21
- | Builtin | `~/.pi/agent/extensions/subagent/agents/` |
22
- | Installed package | `package.json` `pi-subagents.agents` or `pi.subagents.agents` |
23
- | User | `~/.pi/agent/agents/**/*.md` |
24
- | Project | Project config `agents/**/*.md` (`.pi/agents/**/*.md` in standard Pi) |
25
-
26
- Discovery notes:
27
-
28
- - Project discovery also reads legacy `.agents/**/*.md` files. If both `.agents/` and the project config agents directory define the same parsed runtime agent name, the project config directory wins.
29
- - Nested subdirectories are discovered recursively. `.chain.md` files do not define agents.
30
- - User and project settings can add extra recursive scan roots with `subagents.agentScanDirs`; fixed user/project agent directories keep higher priority than same-name agents from scan roots.
31
- - Use `subagents.agentExcludeDirs` to prune literal directory subtrees without disabling legacy agents. See [configuration.md](configuration.md#excluded-agent-directories-settings) for path resolution, scope, and exemptions.
32
- - Installed Pi packages can expose agent directories from either `{"pi-subagents":{"agents":["./agents"]}}` or `{"pi":{"subagents":{"agents":["./agents"]}}}` in their package manifest. Package agents load above builtins and below user/project agents.
33
- - Use `agentScope: "user" | "project" | "both"` to control discovery. `both` is the default, and project definitions win runtime-name collisions.
34
- - When the session declined Pi project trust, discovery ignores project agents and chains, packages installed for the project or declared in its `package.json`, and project subagent settings, so `both` behaves as `user` and an explicit `project` scope is rejected.
35
-
36
- ## Builtin agents
37
-
38
- Builtins load at the lowest priority, so a user or project agent with the same name overrides them. They do not pin a provider model; they inherit your current Pi default model unless you set `subagents.defaultModel` or `subagents.agentOverrides.<name>.model` (see [models.md](models.md)).
39
-
40
- | Agent | Use it when you want... |
41
- |-------|--------------------------|
42
- | `scout` | Fast local codebase recon: relevant files, entry points, data flow, risks, and where another agent should start. |
43
- | `researcher` | Web/docs research with sources: official docs, specs, benchmarks, recent changes, and a concise research brief. |
44
- | `evidence-auditor` | Independent evidence review of important claims in an existing research brief. |
45
- | `worker` | Implementation work, including approved oracle handoffs. It edits files, validates, and escalates unapproved decisions instead of guessing. |
46
- | `reviewer` | Code review and small fixes. It checks the implementation against the task/plan, tests, edge cases, and simplicity. |
47
- | `oracle` | A second opinion before acting. It challenges assumptions, catches drift, and recommends the safest next move without editing. |
48
- | `delegate` | A lightweight general delegate when you want a child agent that behaves close to the parent session. |
49
-
50
- Rule of thumb: `scout` before you understand the code, `researcher` before you trust external facts, `evidence-auditor` before you rely on important research, `worker` to implement, `reviewer` to check, and `oracle` when the decision itself feels risky.
51
-
52
- `oracle` is an advisory reviewer that critiques direction and proposes an execution prompt without editing files. `advisor` is the same bundled role under the Claude Code-compatible name.
53
-
54
- ### Optional Surf integration
55
-
56
- When `surf-cli` is installed and loaded, Surf can expose a `gpt-pro` package agent through the `surf-oracle` external-job provider. It starts through the same `subagent({ agent: "gpt-pro" })` mental model as any other agent, but Surf owns the package agent and provider. Surf maps `model: pro` to ChatGPT GPT-5.6 Sol Pro web mode. pi-subagents does not own that model mapping.
57
-
58
- If you disabled the old bundled `gpt-pro` workaround with `agentOverrides.gpt-pro.disabled`, remove that override before using Surf's package agent.
59
-
60
- The Pi async run remains the source of truth for status, artifacts, wake/wait, mission attachment, retention, and diagnostics.
61
-
62
- ### Command-runner agents as typed steps
63
-
64
- `runner.type: external-cli` with a plain `command` (no `adapter`) runs any local executable as a subagent: the assembled prompt is written to stdin, stdout becomes the child's output, and the run gets the usual run id, status, mission entry, and workflow key. This is how a classifier, a scoring script, or a small evaluation model becomes a `runs.run` step. Such agents are async-only (workflows launch children async by default; a direct `async: false` call is refused), receive no forked transcript, and cannot produce `structuredOutput` themselves; parse their `output` in the workflow, or pair them with a [typed gate](tool-reference.md#typed-gates). Generic commands are local-only; saved-machine placement accepts only the code-owned adapters below.
65
-
66
- ### Advisory runner data boundary
67
-
68
- External CLI agents use their own runner contract. They are deliberate execution modes, not implicit recovery paths for a failed native `subagent` workflow. For backlog lanes and other subagent-governed workflows, switching to an external, foreground, or CLI runner requires explicit owner approval after the exact failure/run/worktree state is recorded and the worktree is verified clean or its partial diff is captured. Do not pass native Pi child options such as model override, structured output, acceptance/agent contract, tool budgets, fast mode, fork context, skills, or native Pi tools unless the adapter explicitly implements them.
69
-
70
- #### Codex exec profiles
71
-
72
- The built-in `codex-exec` and `codex-exec-writer` profiles are the supported Codex one-shot modes. Both require an installed and authenticated Codex CLI. The adapters own `codex exec --json` argv with ignored user config and rules, ephemeral sessions, approval policy `never`, and a final-message artifact.
73
-
74
- | Profile | Access | Sandbox |
75
- |---|---|---|
76
- | `codex-exec` | Read-only analysis | `read-only` |
77
- | `codex-exec-writer` | Explicit workspace edits | `workspace-write` |
78
-
79
- Neither adapter uses full access, approval or sandbox bypasses, automatic approval review, or additional writable roots. User profiles cannot add argv. The `codex-exec` selection identity is reserved for the read-only adapter.
80
-
81
- Run it asynchronously:
82
-
83
- ```text
84
- Use codex-exec to analyze this change without editing files.
85
-
86
- Use codex-exec-writer to make the requested workspace changes.
87
- ```
88
-
89
- The adapter validates `codex --version` and `codex exec --help` only when a run launches. Discovery, list, status, and native Pi launches do not execute Codex or its version/help probes. A capabilities listing performs only a passive PATH/PATHEXT/X_OK lookup and exposes the command as `runner.available`; that does not prove authentication or launch compatibility. JSONL, stderr, and stdout are untrusted. A run succeeds only after bounded valid JSONL contains one `turn.completed` event and the bounded final-message artifact is present.
90
-
91
- Maintainers can collect real smoke evidence without making it part of the normal test suite:
92
-
93
- ```bash
94
- PI_SUBAGENTS_CODEX_EXEC_SMOKE=1 \
95
- PI_SUBAGENTS_CODEX_EXEC_SMOKE_REPORT=/tmp/pi-subagents-codex-exec-smoke.json \
96
- node --experimental-strip-types --import ./test/support/register-loader.mjs \
97
- --test test/integration/codex-exec-smoke.test.ts
98
-
99
- PI_SUBAGENTS_CODEX_EXEC_WRITER_SMOKE=1 \
100
- PI_SUBAGENTS_CODEX_EXEC_WRITER_SMOKE_REPORT=/tmp/pi-subagents-codex-exec-writer-smoke.json \
101
- node --experimental-strip-types --import ./test/support/register-loader.mjs \
102
- --test test/integration/codex-exec-writer-smoke.test.ts
103
- ```
104
-
105
- The read-only smoke must report `writeCanaryExists: false`. The writer smoke must report `writeCanaryMatches: true`. Both reports include startup duration and terminal proof without raw protocol output, prompts, or credentials.
106
-
107
- #### Claude Code profiles
108
-
109
- The built-in `claude-code` and `claude-code-writer` profiles are the supported Claude Code one-shot modes. Both require an installed Claude Code CLI that is already authenticated through its normal local login. Claude Code 2.1.150 needs the user setting source for normal OAuth/keychain authentication, so both adapters load user settings but exclude project and local settings. User-level Claude Code settings and hooks are therefore an operator-trusted prerequisite. Review or disable unsafe user hooks before using either profile.
110
-
111
- | Profile | Access | Permission mode | Built-in tools |
112
- |---|---|---|---|
113
- | `claude-code` | Handoff-only read-only advice | `plan` | none |
114
- | `claude-code-writer` | Explicit workspace file edits | `acceptEdits` | `Read,Write,Edit,Glob,Grep` |
115
-
116
- Both adapters own `claude -p` argv with stream JSON, strict empty MCP configuration, user-only setting sources, no session persistence, disabled slash commands, and disabled Chrome integration. The writer mode does not include Bash or any permission bypass. Neither mode uses `--bare`, which does not read normal OAuth/keychain authentication. Neither mode requires `--safe-mode`, which is absent from the installed 2.1.150 help. User profiles cannot add argv. Selecting the code-owned `claude-code-writer` adapter identity is the only way to opt into its write tools; the read-only adapter cannot be widened with user argv.
117
-
118
- A `model`, and a thinking level carried on it as a `:level` suffix, are the one thing these two adapters do accept from a launch; the same two fields work in agent frontmatter. They become Claude Code's own `--model` and `--effort` rather than a Pi child model, so one launch can pin `claude-opus-5.5` with `high` effort without changing the operator's global Claude Code settings. The model must be an alias or a model id, and both values are checked before launch, so an unusable value fails the launch by name and no other token can be added.
119
-
120
- The level travels as the same `:level` suffix Pi children use, on the `model` field: `model: "claude-opus-5.5:high"` pins the model and the effort, and `model: ":high"` asks for the effort alone. A suffix wins over the frontmatter `thinking` value. `off` passes no `--effort` and `minimal` maps to `low`, and a launch that requests no level leaves the flag out, so Claude Code's own default effort applies and this repository cannot bound it. `off` therefore means "pass no flag", not "no thinking".
121
-
122
- `subagents.maxThinking` applies here the way it does to a native Pi child: a request above the ceiling fails before the child starts, compared on the requested level rather than on the effort it maps to. An enforced `subagents.modelScope` applies too, checked against the id that will reach the CLI; a launch that pins no model at all fails closed, because the CLI's own default cannot be checked. Every other external runner still refuses both fields.
123
-
124
- Run it asynchronously:
125
-
126
- ```text
127
- Use claude-code to analyze this handoff without editing files.
128
-
129
- Use claude-code-writer to make the requested file changes.
130
-
131
- Use claude-code-writer with model claude-sonnet-5:high to make the requested file changes.
132
- ```
133
-
134
- The adapter validates `claude --version` and `claude --help` only when a run launches. Discovery, list, status, and native Pi launches do not execute Claude Code or probe authentication. A capabilities listing performs only a passive PATH/PATHEXT/X_OK lookup and exposes the command as `runner.available`; that does not prove authentication or launch compatibility. JSONL, stderr, and stdout are untrusted. A run succeeds only after bounded valid JSONL contains exactly one successful terminal `result` with non-empty final text. Missing or revoked local authentication, limit stops, malformed JSON, duplicate terminal results, and EOF before a terminal result fail closed.
135
-
136
- Maintainers can opt in to separate read-only and writer canaries:
137
-
138
- ```bash
139
- PI_SUBAGENTS_CLAUDE_CODE_SMOKE=1 \
140
- PI_SUBAGENTS_CLAUDE_CODE_SMOKE_REPORT=/tmp/pi-subagents-claude-code-smoke.json \
141
- node --experimental-strip-types --import ./test/support/register-loader.mjs \
142
- --test test/integration/claude-code-smoke.test.ts
143
-
144
- PI_SUBAGENTS_CLAUDE_CODE_WRITER_SMOKE=1 \
145
- PI_SUBAGENTS_CLAUDE_CODE_WRITER_SMOKE_REPORT=/tmp/pi-subagents-claude-code-writer-smoke.json \
146
- node --experimental-strip-types --import ./test/support/register-loader.mjs \
147
- --test test/integration/claude-code-writer-smoke.test.ts
148
- ```
149
-
150
- Both smoke reports record `authentication: "existing-cli-required"`, `settingSources: "user"`, and `userSettingsTrust: "required"` without recording credential details. For read-only, confirm `terminalState` is `completed` and `writeCanaryExists` is `false`. For writer, confirm `terminalState` is `completed` and `writeCanaryMatches` is `true`. `durationMs` records cold process time. If authentication is missing or revoked, repair the normal local Claude Code login and rerun the smoke. Reports do not contain raw protocol output or credentials.
151
-
152
- #### Cursor CLI profiles
153
-
154
- The built-in `cursor-agent` and `cursor-agent-writer` profiles are the supported Cursor CLI one-shot modes. Both require an installed Cursor CLI and either `CURSOR_API_KEY` or an existing local login.
155
-
156
- | Profile | Access | Cursor mode |
157
- |---|---|---|
158
- | `cursor-agent` | Read-only analysis | `ask` |
159
- | `cursor-agent-writer` | Explicit workspace edits | non-interactive print |
160
-
161
- Both adapters use stream JSON, the enabled sandbox, and the primary workspace. They write the full handoff to a private `0600` file in a private temporary directory. Process argv contains only a short instruction with that path. The temporary directory is added as a workspace root only when it is outside the primary workspace. The prompt file and directory are removed after completion, failure, or stop.
162
-
163
- The adapters do not pass force, yolo, auto-review, MCP approval, plugin, session resume, continue, worktree, or workspace trust flags. User profiles cannot add argv or workspace roots. The `cursor-agent` selection identity is reserved for the read-only adapter.
164
-
165
- Launch preflight validates `cursor-agent --version` and `cursor-agent --help` only when a run starts. Discovery, list, status, and native Pi launches do not execute Cursor or probe authentication. A capabilities listing performs only a passive PATH/PATHEXT/X_OK lookup and exposes the command as `runner.available`; that does not prove authentication or launch compatibility. A run succeeds only when bounded valid JSONL ends with one successful `result` event that has non-empty final text. Error events, failed results, malformed JSON, output after the terminal event, and EOF before a result fail closed.
166
-
167
- These headless smokes rely on saved workspace trust. Cursor documents no passive command that checks workspace trust, so the smoke cannot verify it before launch. The operator must use Cursor's interactive trust flow for the exact disposable workspace and the exact derived prompt directory, `<state-root>/external-0.cursor-prompt`. Keep that prompt directory after the trust step. It must be empty, owned by the operator who runs the smoke, and must not be a symlink. The harness preserves this directory but creates its private handoff with exclusive `0600` access and removes the handoff after every run. Repeat the trust setup if either exact path changes.
168
-
169
- The smoke requires two existing, separate operator-managed directories and an explicit disposable-workspace attestation:
170
-
171
- ```bash
172
- export PI_SUBAGENTS_CURSOR_SMOKE_WORKSPACE=/tmp/pi-subagents-cursor-smoke-workspace
173
- export PI_SUBAGENTS_CURSOR_SMOKE_STATE_ROOT=/tmp/pi-subagents-cursor-smoke-state
174
- export PI_SUBAGENTS_CURSOR_SMOKE_DISPOSABLE=1
175
- mkdir -p "$PI_SUBAGENTS_CURSOR_SMOKE_WORKSPACE" "$PI_SUBAGENTS_CURSOR_SMOKE_STATE_ROOT"
176
- mkdir -p "$PI_SUBAGENTS_CURSOR_SMOKE_STATE_ROOT/external-0.cursor-prompt"
177
- ```
178
-
179
- Do not place a file at `pi-subagents-cursor-write-canary.txt` in the workspace or any file, including `handoff.txt`, in the prompt directory. The harness refuses the pre-existing canary and any non-empty prompt directory. It does not delete the workspace, state root, or operator-owned prompt directory. It removes only its canary and private handoff file.
180
-
181
- Maintainers can then run separate read-only and writer canaries:
182
-
183
- ```bash
184
- PI_SUBAGENTS_CURSOR_AGENT_SMOKE=1 \
185
- PI_SUBAGENTS_CURSOR_AGENT_SMOKE_REPORT=/tmp/pi-subagents-cursor-agent-smoke.json \
186
- node --experimental-strip-types --import ./test/support/register-loader.mjs \
187
- --test test/integration/cursor-agent-smoke.test.ts
188
-
189
- PI_SUBAGENTS_CURSOR_AGENT_WRITER_SMOKE=1 \
190
- PI_SUBAGENTS_CURSOR_AGENT_WRITER_SMOKE_REPORT=/tmp/pi-subagents-cursor-agent-writer-smoke.json \
191
- node --experimental-strip-types --import ./test/support/register-loader.mjs \
192
- --test test/integration/cursor-agent-writer-smoke.test.ts
193
- ```
194
-
195
- The read-only smoke must report `writeCanaryExists: false`. The writer smoke must report `writeCanaryMatches: true`. Both reports record `workspaceTrust: "operator-managed-saved"`, confirm that the external prompt root was added, and include startup duration and terminal proof without raw protocol output, prompts, or credentials. A trust-required error remains terminal; the harness does not retry with a trust, force, or yolo flag.
196
-
197
- #### Native oracle compared with external advisors
198
-
199
- Native `oracle` runs inside Pi and can use its configured read tools. The Claude profiles send the assembled prompt to the local Claude Code CLI through stdin. An external-job agent sends the assembled prompt to its registered provider. Provider options and a prompt digest are persisted in Pi run state. The prompt text is delivered through the local host bridge to the provider and is not stored in the public result payload. Do not place secrets in advisory prompts unless the target provider is approved to receive them.
200
-
201
- ### External-job state table
202
-
203
- | Durable file | Owner | States | Release predicate | Rollback predicate | Stale-head behavior | Fail-closed cases |
204
- |--------------|-------|--------|-------------------|--------------------|---------------------|-------------------|
205
- | `status.json` step `runner` and `externalJob` | pi-subagents async runner | `queued`, `running`, `completed`, `failed`, `stopped`, `blocked` | Provider `result` returns terminal data and the async result is written | Provider start/follow-up/status/result/reattach returns an error | If a status file already has a provider job id, recovery calls `reattach` and `result`; it refuses to start a new prompt when the provider, prompt digest, parent job id, request id, request digest, or options differ | Missing provider, unsupported follow-up provider, capacity conflict, malformed provider response, bridge timeout, prompt digest mismatch, parent conversation missing |
206
- | `result.json` or session result payload | pi-subagents async runner | `complete`, `failed`, `stopped` | All steps reach terminal state and result publication succeeds or is recoverably indexed | Result write fails and pending result repair records the terminal state | Stale status can repair from an existing result file | Unindexed sessionless stale failure |
207
- | `external-job-requests/` and `external-job-responses/` | Host-mediated provider bridge | pending request, terminal response | Host process writes a matching response and removes the request | Bridge timeout or malformed request response | Requests are operation-scoped. Recovery sends `reattach`/`result`, not `start` or `follow-up`, when job metadata exists. `start` and `follow-up` use durable dispatch claims | Provider not registered, host bridge not loaded, malformed request, provider exception, ambiguous dispatch without a provider job id |
208
- | Provider artifact path | External provider | provider-defined terminal artifact | Provider returns `artifactPath`, or Pi writes returned text to `external-job-<index>.result.md` | Provider reports failure or no result | Existing artifact path is retained in `status.json` | Missing artifact with no text output returns a terminal message instead of inventing content |
209
-
210
- ### Web research prerequisites
211
-
212
- The `researcher` and `evidence-auditor` builtins use `web_search`, `fetch_content`, `get_search_content`, and selective `source_check` validation. Those require [pi-web-access](https://github.com/nicobailon/pi-web-access):
213
-
214
- ```bash
215
- pi install npm:pi-web-access
216
- ```
217
-
218
- The provider must be loaded in the child and register all four tools, including `source_check`, before launch; a missing required tool prevents a successful run. Foreground children do not load ambient parent extensions: configure `extensions` or `subagentOnlyExtensions` explicitly, or use background extension discovery as described in [Tool and extension selection](#tool-and-extension-selection). For `researcher`, fetched-source inspection is a fallback for a registered `source_check` call failing, not for missing registration.
219
-
220
- ## Overriding builtins and custom agents
221
-
222
- You can override selected agent fields without copying the whole agent. Overrides live in settings:
223
-
224
- - User: `~/.pi/agent/settings.json`
225
- - Project: project config settings file (`.pi/settings.json` in standard Pi)
226
-
227
- ```json
228
- {
229
- "subagents": {
230
- "agentOverrides": {
231
- "reviewer": {
232
- "description": "Independent review tier",
233
- "inheritProjectContext": false
234
- }
235
- }
236
- }
237
- }
238
- ```
239
-
240
- Supported override fields: `description`, `advertise`, `machine`, `output`, `outputMode`, `defaultReads`, `model`, `defaultProvider`, `thinking`, `systemPromptMode`, `inheritProjectContext`, `inheritGlobalContext`, `inheritSkills`, `defaultContext`, `acceptanceRole`, `disabled`, `skills`, `tools`, and `systemPrompt`.
241
-
242
- `launcher` is not a supported override field, and an override that sets it is rejected. To run a builtin under a launcher, copy it into a user agent file (for example with `eject`) and set `launcher` there.
243
-
244
- - `description` replaces the discovered description for builtin and custom agents, which lets list output show deployment-specific routing or model metadata.
245
- - Use `output: false`, `defaultReads: false`, `defaultContext: false`, `acceptanceRole: false`, or `machine: false` to clear an inherited value.
246
- - Use `tools: "inherit"` when that one role should omit its bundled or frontmatter tool allowlist and receive Pi's normal builtins (plus ambient extensions when it runs as a background child).
247
- - Project overrides beat user overrides.
248
- - Matching package, user, and project agents also receive override fields, which replace the same fields declared in their frontmatter. This lets a shared agent keep its persona while local settings choose the effective model, context, tools, or other supported options.
249
-
250
- Disable and restore:
251
-
252
- - `disabled: true` hides a builtin from runtime discovery and agent-facing `subagent({ action: "list" })` output.
253
- - `subagents.disableBuiltins: true` disables all builtins at once.
254
- - `subagent({ action: "disable", agent: "reviewer" })` writes the override without editing settings by hand; `subagent({ action: "enable", agent: "reviewer" })` removes it.
255
- - `subagent({ action: "eject", agent: "reviewer" })` copies a bundled builtin or package agent verbatim into the user or project agent dir (default `user`) as an editable custom file that shadows the original.
256
- - `subagent({ action: "reset", agent: "reviewer" })` deletes the scope's custom agent file and/or settings override entry, restoring the bundled default. It refuses if no bundled default exists (use `delete` for purely custom agents).
257
-
258
- A custom agent file that shadows a bundled agent replaces the bundled definition wholesale; it does not inherit omitted frontmatter, including `acceptanceRole`. Custom implementation profiles must declare `acceptanceRole: writer` explicitly when writer acceptance inference is intended. Without it, automatic acceptance uses lightweight attestation as described in the [frontmatter reference](#frontmatter-reference).
259
-
260
- `eject`, `disable`, `enable`, and `reset` accept `agentScope: "user" | "project"` and operate in one scope at a time. Project overrides still win over user ones, so a project-scope disable survives a user-scope `enable` until you target the project scope.
261
-
262
- ## Running external CLI agents on a Herdr saved machine
263
-
264
- Native Pi and the six code-owned Claude Code, Codex, and Cursor profiles can run on a Herdr machine (`herdr machine add <target> --label <name>`). Herdr owns each visible agent process in a fresh no-focus pane; SSH is used only as bounded transport for Herdr RPC and ownership checks. Herdr's catalog is the host allowlist; raw ssh targets are rejected.
265
-
266
- `machine` is a top-level frontmatter key, a settings override (`subagents.agentOverrides.<agent>.machine`, project beats user, `false` clears a pin), and a launch option on the `subagent` tool, workflow `runs.run`, chain, parallel, and dynamic-fanout steps. The launch option wins. Placement survives `subagent({ action: "disable" })`, `reset`, and model profile switches.
267
-
268
- `cwd` means the directory on that machine when a machine is set. An absolute path or `~/...` is used as given; a relative path joins the repo's configured machine root; with no cwd the root is used; with no root the launch fails closed naming the setting:
269
-
270
- ```json
271
- {
272
- "subagents": {
273
- "agentOverrides": { "claude-code": { "machine": "workmac" } },
274
- "machines": { "workmac": { "cwd": "/home/nico/proj" } }
275
- }
276
- }
277
- ```
278
-
279
- `machines.<label-or-id>.env` is rejected. No local API key, vendor environment, expanded prompt resource, extension path, or callback is copied. Remote runs use the machine's own credentials and managed model registry. Bounded probes and ownership checks use a fixed machine-owned PATH without sourcing shell profiles.
280
-
281
- Placed external profiles are one-shot and stop-only: they cannot steer, resume, or claim a Pi supervisor. Their result is always `partial` and begins `[best-effort/unverified]`, because only bounded sanitized terminal snapshots are exposed; no vendor-private transcript, database, JSONL, or blob is used as authoritative settlement evidence. Reconnect observes the same pane and process without redispatching the prompt.
282
-
283
- pi-subagents never clones, pulls, or checks out on the machine. Generic `external-cli` commands and managed worktrees are rejected before launch; saved-machine placement accepts native Pi and only the six code-owned external profiles.
284
-
285
- ## Sandboxing background children with a launcher
286
-
287
- A launcher wraps an agent's background runner in a command you choose, so that agent can run in a different sandbox from the parent session. Define the command in the user config key [`runnerLaunchers`](configuration.md#runnerlaunchers), then name it in the agent file:
288
-
289
- ```yaml
290
- ---
291
- name: researcher
292
- description: Web research with network access
293
- launcher: net
294
- ---
295
- ```
296
-
297
- The background runner for this agent then starts as `<launcher argv> <resolved runner command>`, where the runner command is the Node or compiled Pi command pi-subagents would otherwise run directly. The child keeps native steering, supervisor questions, stop, resume, usage, and results.
298
-
299
- How it behaves:
300
-
301
- - **Who defines the command.** Only the user config defines what a launcher runs. An agent file, including a project agent from a cloned repository, can only name a launcher you already defined. A project agent with the same name as one of your agents can still shadow it, so your own agent files and their names are the trust boundary.
302
- - **Background only.** A launcher agent runs in the background when the call omits `async`, even with `asyncByDefault: false`, and a workflow-script child that selects it runs in the background too. `async: false`, `clarify`, and `foregroundOnly` are refused, even when `forceTopLevelAsync` is set, because foreground children run inside the parent process and keep the parent's sandbox.
303
- - **Not combined with other placement.** `launcher` cannot be combined with `machine` (from frontmatter, a settings override, or the call) or with an `external-cli` or `external-job` runner.
304
- - **Unknown names fail.** If the name is not in `runnerLaunchers`, the launch fails before anything starts, without using a fan-out slot or creating a session directory. It never falls back to running without the launcher.
305
- - **Status.** The run's `status.json` records `launcher: { name, argv }`. Environment values are never recorded.
306
- - **Resume and revival.** A resumed run uses the launcher recorded when the run was first launched, not the agent file's current value, and looks up that name's argv in the config the session loaded, like a new launch does; edits to `runnerLaunchers` apply after `/reload`. A run launched without a launcher stays unwrapped even if its agent file gains `launcher` later. If the recorded name is no longer in `runnerLaunchers`, the resume fails before anything starts, and the run can be resumed once the name is defined again.
307
- - **Several agents in one runner.** A new chain attached to a running subagent, or steps appended to a running chain, run in one background runner. All agents in it must name the same launcher, or none; a mix is refused before anything starts, and the error names each agent and its launcher. Appended steps must also match the launcher of the runner they join. Steps in one wrapped chain share its sandbox; to give branches different sandboxes, run them as workflow-script children, which each get their own runner.
308
- - **Agent management.** `subagent({ action: "create" })` and `update` cannot set `launcher`; edit the agent file instead. Other updates keep an existing `launcher` line.
309
-
310
- ### Wrapper requirements
311
-
312
- A launcher command must:
313
-
314
- - run the runner command it receives, either by replacing itself with it (`exec`) or by staying attached until it exits;
315
- - give the runner read and write access, at the same absolute paths, to the subagent temp root (`async-subagent-runs/`, `async-subagent-results/`, and `supervisor-channels/`; the root is `PI_SUBAGENTS_TEMP_ROOT` when set), the child session and artifact directories, the agent directory (`~/.pi/agent`, which holds auth), and the working directory, plus read access to the Pi install;
316
- - allow network access to your model provider;
317
- - if it filters the environment, pass through at least `HOME`, `PATH`, `TMPDIR`, every `PI_*` variable, `JITI_ALIAS`, and the API keys your provider needs.
318
-
319
- Steering, stop, and supervisor requests and replies travel through files in those directories, not through signals, so they work as long as the paths are shared.
320
-
321
- ### Broker wrappers
322
-
323
- Some sandboxes, such as nono's broker mode, start the runner in a separate process instead of as a child of the launcher command. pi-subagents does not rely on the launcher's process being the runner:
324
-
325
- - Before it starts any work, the runner reports its own process id. The launch waits up to 10 seconds for it and fails if it does not arrive. `status.json` and run events use the runner's process id, not the launcher's.
326
- - When the launcher process exits, its exit code and signal are kept in `launcher-close.json` in the run directory. That exit is treated as the runner's exit only when the runner's process is confirmed dead. A runner killed by a signal may be reported by the launcher as exit code `128 + n` (for example `143` for `SIGTERM`).
327
- - If only the launcher process is killed while the runner keeps working, the run keeps running and still accepts steer and stop. No process-exit proof is recorded when the runner later exits, so if `maxActiveAsyncRunsPerSession` is set, the run's capacity slot stays held; the abandoned-slot policy releases it only if the run ends failed.
328
- - If the sandbox does not let the parent check the runner's process id, a runner that dies without its launcher noticing stays `running` until the stale-run check marks it failed after 24 hours without a status update.
329
- - A broker may end the runner when the broker's own session ends, so background runs under such a launcher may not outlive the Pi session.
330
-
331
- ### Limits
332
-
333
- - A launcher controls where the child runs, not where its output goes. Results, transcripts, and files the child writes in shared directories are visible to the parent as usual.
334
- - A launcher that submits the work elsewhere and returns immediately is not supported, because the runner must keep running and share files with the parent. For runs on another machine, use `machine:` with Herdr.
335
-
336
- ## Parent prompt discovery
337
-
338
- Set `advertise: true` in a specialist's agent file frontmatter for parent-prompt discovery, or in `subagents.agentOverrides.<name>.advertise` when the definition must stay untouched. When the `subagent` tool is active, pi-subagents adds an agent-owned catalog of names and descriptions to the parent system prompt. Disabled agents and agents excluded by the current capability ceiling are omitted. Advertisement is not supported through runtime registration.
339
-
340
- Advertisement is opt-in discovery, not automatic routing. The catalog is sorted by name and limited to 16 agents and 12,288 total rendered UTF-8 bytes, including XML escaping, instructions, and omission counts. Descriptions are capped at 512 UTF-8 bytes before escaping. Entries that cannot fit are omitted; canonical agent names are never truncated. The parent does not need a `list` call before launching an advertised agent: a launch that names an unknown or disabled agent fails with the available agents, and an external CLI agent's runner is checked by preflight when it launches.
341
-
342
- The file catalog snapshot refreshes at session start/reload and after extension-owned agent-management mutations. External file or settings edits require `/reload`; ordinary turns do not poll the filesystem. Tool availability and capability-ceiling filtering are checked in memory on every prompt. A failed management-triggered refresh withdraws the catalog until a successful refresh, without changing the persisted mutation's result.
343
-
344
- The catalog is sent as Pi's `advertised_subagents` prompt section. When it changes mid-session, Pi appends it as a small system message instead of changing the system prompt, so the provider prompt cache is kept. This only works if no other loaded extension returns a replacement `systemPrompt` from `before_agent_start`; in that case Pi folds section changes back into the system prompt and the cache is lost for that request. A resumed session keeps the catalog introduction it already recorded, so a pi-subagents upgrade that rewords the introduction does not change the section; the entries always reflect the current agents.
345
-
346
- ## Prompt assembly
347
-
348
- Subagents are narrow by default. Custom agents start with a clean system prompt and only the context you intentionally give them. They do not automatically inherit Pi's whole base prompt, project instruction files, or discovered skills catalog.
349
-
350
- Use these fields when an agent should see more:
351
-
352
- | Field | Effect |
353
- |-------|--------|
354
- | `systemPromptMode: append` | Append the agent prompt to Pi's normal base prompt. |
355
- | `inheritProjectContext: true` | Keep inherited repository instructions from files like `AGENTS.md` and `CLAUDE.md`. |
356
- | `inheritGlobalContext: true` | Also keep the operator's global context file from the Pi config agent directory (such as `~/.pi/agent/AGENTS.md`). Defaults to `false`. |
357
- | `inheritSkills: true` | Let the child see Pi's discovered skills catalog. |
358
- | `defaultContext: fork` | Prefer forked session context when a launch omits `context`; if the parent has no persisted session file or current leaf yet, the implicit default falls back to `fresh` without a failed first attempt. Explicit `context: "fork"` remains strict, and explicit `context: "fresh"` still wins. |
359
-
360
- Builtin agents opt into repository instruction inheritance by default so they follow repo-specific rules out of the box, but global context remains excluded unless `inheritGlobalContext: true` is set. This changes the behavior of existing agents that previously received global context as part of `inheritProjectContext: true`. `delegate` also uses append mode because its job is orchestration inside the parent workflow.
361
-
362
- ## Frontmatter reference
363
-
364
- A full example:
365
-
366
- ```yaml
367
- ---
368
- name: scout
369
- # Optional: registers this as code-analysis.scout while preserving name: scout
370
- package: code-analysis
371
- description: Fast codebase recon
372
- advertise: true
373
- aliases: explorer, code-scout
374
- tools: read, grep, find, ls, bash, mcp:chrome-devtools
375
- excludeTools: bash
376
- extensions:
377
- subagentOnlyExtensions: ./tools/child-only-search.ts
378
- model: claude-haiku-4-5
379
- thinking: high
380
- systemPromptMode: replace
381
- inheritProjectContext: false
382
- inheritGlobalContext: false
383
- inheritSkills: false
384
- skills: safe-bash, review-checklist
385
- skillPath: ./skills, ../shared-skills
386
- output: context.md
387
- defaultReads: context.md
388
- defaultProgress: true
389
- async: true
390
- timeoutMs: 900000
391
- toolTimeoutMs: 600000
392
- acceptance: {"level":"none","reason":"lightweight lookup"}
393
- acceptanceRole: read-only
394
- interactive: true
395
- maxSubagentDepth: 1
396
- allowNestedSubagents: true
397
- allowedAgents: scout, reviewer
398
- ---
399
-
400
- Your system prompt goes here.
401
- ```
402
-
403
- Simple-scalar list fields accept either a comma-separated form or a newline block list with one `- item` per line. This applies to `tools`, `excludeTools`, `allowedAgents`, `defaultReads`, `skill`/`skills`, `skillPath`, `extensions`, and `subagentOnlyExtensions`:
404
-
405
- ```yaml
406
- tools:
407
- - read
408
- - mcp:github/search_repositories
409
- ```
410
-
411
- Field notes:
412
-
413
- | Field | Notes |
414
- |-------|-------|
415
- | `package` | Optional package identifier. A file with `name: scout` and `package: code-analysis` registers as `code-analysis.scout`; serialization keeps `name` and `package` separate. |
416
- | `advertise` | Set `true` to include this agent's name and description in the parent system prompt when the `subagent` tool is active. Defaults to `false`. |
417
- | `aliases` | Optional comma-separated or block-list names that resolve to this agent for selection and explicit `agent` and task inputs. Runtime status, persistence, and config still use the canonical `name`. Exact canonical names take precedence over aliases, and alias collisions between distinct canonical agents fail as ambiguous. |
418
- | `tools` | Strict child tool allowlist. Named extension tools must also have their provider loaded. `mcp:` entries select direct MCP tools from `pi-mcp-adapter` when it is installed, and from Pi's built-in MCP otherwise. |
419
- | `excludeTools` | Optional child tool deny-list applied after normal tool resolution. With an explicit `tools` allowlist, matching names are removed; when `tools` is omitted, the names are excluded from the child session's default tool set. Unknown names are ignored by Pi without making the agent definition invalid. |
420
- | `allowNestedSubagents` | Set `true` to authorize the child-safe nested `subagent` runtime without making omitted `tools` an allowlist. Inherited depth and capability ceilings remain authoritative. |
421
- | `allowedAgents` | Restricts which canonical, case-sensitive agent names this agent may launch. Omitted adds no restriction; an empty list denies every descendant launch. This only narrows an existing nesting grant: `tools: subagent` or `allowNestedSubagents: true` is still required. Inherited/runtime allowlists are intersected and cannot be widened. |
422
- | `extensions` | Omitted means a background child loads the parent's ambient extensions; empty means no ambient extensions; list values load exactly those extensions. Foreground children never load ambient extensions, so for them only listed values apply. |
423
- | `subagentOnlyExtensions` | Extension paths loaded only in this agent's child sessions. Tools registered there are unavailable to the main agent unless also installed through normal Pi extension configuration. |
424
- | `model` | Default model. Bare ids prefer the current provider when possible, then unique registry matches. On the two Claude Code adapters this is Claude Code's own alias or id, and a trailing `:level` picks the effort. |
425
- | `thinking` | Appended as a `:level` suffix at runtime unless a suffix is already present. On the two Claude Code adapters it becomes `--effort`, and a suffix on `model` wins over it. |
426
- | `systemPromptMode` | `replace` by default; `append` keeps Pi's base prompt. |
427
- | `inheritProjectContext` | Keeps or strips inherited repository instruction blocks. |
428
- | `inheritGlobalContext` | Keeps or strips the operator's global context file from the Pi config agent directory (e.g. `~/.pi/agent/AGENTS.md`). It has an effect only when `inheritProjectContext` is `true`; otherwise all context files are already disabled. Defaults to `false`. |
429
- | `inheritSkills` | Keeps or strips Pi's discovered skills catalog. For in-process children this includes skills that loaded extensions add; herdr-placed children rely on Pi's `--no-skills`. |
430
- | `defaultContext` | Optional `fresh` or `fork` launch-context preference. An implicit `fork` falls back to `fresh` when the parent has no persisted session file or current leaf; an explicit launch `context: "fork"` remains strict. |
431
- | `skills` | Selects specific skills for the child, regardless of `inheritSkills`. |
432
- | `skillPath` | Invocation-private skill files or discovery directories. Relative paths resolve from the agent definition file. Local matches take precedence, while unresolved or unreadable matches fall back to normal skill discovery. This field discovers candidates only; `skills` still selects what the child receives. |
433
- | `output` | Default single-agent output file. |
434
- | `defaultReads` | Files to read before running the agent. |
435
- | `defaultProgress` | Maintain `progress.md`. |
436
- | `async` | Default a single-agent launch to background (`true`) or foreground (`false`) when the call omits `async`. Explicit call values and `forceTopLevelAsync` win. |
437
- | `launcher` | Name of a [`runnerLaunchers`](configuration.md#runnerlaunchers) entry that wraps this agent's background runner, such as a sandbox command. Names only; the command itself is defined in user config. See [Sandboxing background children with a launcher](#sandboxing-background-children-with-a-launcher). |
438
- | `timeoutMs` | Positive integer default runtime deadline in milliseconds for single-agent launches. Foreground launches use 30 minutes when neither the call nor agent provides a timeout; explicit `timeoutMs`/`maxRuntimeMs` and agent defaults win. |
439
- | `toolTimeoutMs` | Optional positive integer hard per-tool-call deadline in milliseconds. An explicit call value wins, then this agent default, global `toolTimeoutMs`, and `PI_SUBAGENT_TOOL_TIMEOUT_MS`. When omitted, known-fast built-in tools get a five-minute default; long-running tools get attention notices but no hard default. It does not extend the run-level deadline; `contact_supervisor`, `intercom`, and `bg_wait` are exempt. |
440
- | `acceptance` | Acceptance default for single-agent launches. Use a scalar level such as `checked` or an inline/block YAML map such as `{ level: "none", reason: "lightweight lookup" }`. Explicit call values win; chain and parallel acceptance remains task/step configuration. |
441
- | `acceptanceRole` | Optional `read-only` or `writer` role for automatic acceptance inference. When omitted, automatic acceptance uses lightweight attestation; task wording and agent names do not escalate it. This does not grant or revoke tools. |
442
- | `mutationTools` | Comma-separated extension tool names treated as mutating activity for runtime diagnostics, long-running-tool status, and timeout recovery. This is diagnostic only and never determines successful completion. List and load each tool through `tools` and its extension provider as usual. |
443
- | `interactive` | Parsed for compatibility but not currently enforced. |
444
- | `maxSubagentDepth` | Tightens nested delegation for this agent's children. |
445
- | `memory` | Opt-in role-specific persistent memory. See below. |
446
-
447
- ### Required host extensions
448
-
449
- Hosts can import `registerRequiredChildExtensions` from `pi-subagents/required-child-extensions` and register `{ sessionId, extensions: [{ id, path }], requireForAllRunners? }`. Paths resolve to existing files and are canonicalized into an immutable launch snapshot; bounded safe IDs appear in evidence instead of paths. One registration is allowed per parent session until its idempotent `dispose()` runs, normally on `session_shutdown`.
450
-
451
- Required paths follow ordinary extension resolution and survive agent defaults and `extensions: []` across native foreground, detached, nested, and recovery launches. A `capabilityCeiling.denyExtensions` conflict or required load/provider-registration failure rejects before model resolution. An error a required extension reports while the child binds its extensions, such as a throwing `session_start` handler, disposes the child and rejects the launch before its first prompt. By default external runners are excluded (they run without the required extensions), and status/watch paths do not query the registry.
452
-
453
- With `requireForAllRunners: true`, a launch that resolves to an external CLI runner, an external-job runner, or a machine placement is rejected before a runner process, provider job, or remote owner starts, because only local native Pi children load these extensions. The requirement stays with the run through nested, detached, resumed, recovered, workflow-script, and appended launches, so disposing the registration or setting `extensions: []` cannot drop it. Launch preflight previews the runner-type rejection for the session's current registration; machine placement and requirements retained by nested or resumed runs are checked at launch.
454
-
455
- Successful completion is determined by observable gates such as process outcome, required outputs, explicit acceptance, verification commands, independent review, and staged-index integrity. Best-effort mutation observations remain diagnostic: unchanged or unknown evidence does not fail a run, and observed changes do not prove correctness.
456
-
457
- ## Per-agent persistent memory
458
-
459
- A recurring custom agent can opt into a durable, role-specific memory scope with the `memory` frontmatter field:
460
-
461
- ```yaml
462
- memory:
463
- scope: project
464
- path: security-reviewer
465
- ```
466
-
467
- This is independent of Pi's own parent/session/project memory system and writes nothing to it. Memory lives under a dedicated `agent-memory/` namespace so the two never collide.
468
-
469
- How it works:
470
-
471
- - On each run, the first 200 lines of `MEMORY.md` in the resolved memory directory are injected into the child system prompt, so the agent can recall accumulated role notes such as threat-model entries, release gotchas, or verified commands.
472
- - Project memory resolves to the main checkout from standard linked Git worktrees whose metadata lives under `<main>/.git/worktrees/`, so isolated children share one durable role memory and worktree cleanup does not remove it. Custom `--separate-git-dir` layouts keep their current project-root behavior because Git does not retain a safely verifiable main-checkout path there.
473
- - Agents with write tools (`edit`, `write`, or `bash`, or no `tools` allowlist at all) are told they may append concise dated entries to the file.
474
- - Agents without write tools receive a read-only memory block and are not instructed to edit it. A read-only reviewer can recall prior notes without gaining write capability.
475
- - The memory directory is never created eagerly. The agent's own `write` tool creates it (and `MEMORY.md`) on the first persist.
476
- - Memory paths are validated against `.`/`..` traversal and symlink escape. An unsafe or unresolvable scope is silently skipped rather than breaking the run.
477
-
478
- Scopes:
479
-
480
- - Project: resolves under `<project>/.pi/agent-memory/<path>` and travels with the repo.
481
- - User: resolves under `~/.pi/agent/agent-memory/<path>` and is shared across projects for that agent.
482
-
483
- ## Refinement overlays
484
-
485
- A refinement overlay is bounded, project-local guidance layered on top of one agent's system prompt without editing the agent file. Use it when an agent repeatedly stumbles on the same project-specific issue and recent run evidence shows what to correct.
486
-
487
- ```text
488
- /subagents-refine reviewer
489
- ```
490
-
491
- ```ts
492
- subagent({ action: "refine", agent: "reviewer" })
493
- subagent({ action: "refine.show", agent: "reviewer" })
494
- subagent({ action: "refine.rollback", agent: "reviewer" })
495
- ```
496
-
497
- How it works:
498
-
499
- - `refine` collects bounded evidence from that agent's recent runs in the project (statuses, errors, review findings, residual risks, output tails), then launches a fresh read-only proposal child to draft small guidance edits from that evidence.
500
- - Proposed guidance is validated before it is written. Edits that try to override safety, policy, tool, output, acceptance, developer, or system instructions are rejected, as are edits that target all agents or base agent files.
501
- - The accepted overlay is stored at `.pi/subagents/refinements/<agent>.md` with revision metadata and snapshots. Each `refine` or `refine.rollback` adds a snapshot, and `refine.rollback` restores the previous revision.
502
- - At launch, the current overlay is injected into that agent's child system prompt as a `<pi-subagents-refinement>` block scoped to this project. The base agent definition is never modified.
503
-
504
- `refine.show` prints the current overlay and revision history. Delete the overlay file to remove the refinement entirely.
505
-
506
- ## Tool and extension selection
507
-
508
- How `tools` behaves:
509
-
510
- - `tools` omitted: the child session gets Pi's normal builtin tools.
511
- - `tools` present: regular tool names become an explicit allowlist.
512
- - `tools:` empty: the child session gets no tools.
513
- - `allowNestedSubagents: true`: explicitly enables child-safe nested fanout without turning omitted `tools` into an allowlist. Depth and inherited capability ceilings still apply.
514
- - `allowedAgents: scout, reviewer`: if nesting is separately enabled, restricts this agent's descendant launches to those names. `allowedAgents:` denies all descendants and omission is unrestricted except for inherited/runtime policy.
515
-
516
- `excludeTools` is applied after this resolution. It can narrow an explicit `tools` allowlist or, when `tools` is omitted, remove names from Pi's default builtin tool set. Runtime-injected tools are excluded only when their exact names are listed. An empty `excludeTools` list has no effect.
517
-
518
- An allowlisted name does not load the extension that registers it. Load that provider through `extensions`, `subagentOnlyExtensions`, a path-like `tools` entry, or (background children only) normal Pi extension discovery. Pi's built-in `codemode` is the exception: native children register the host SDK's official factory when codemode is permitted, without enabling it in the main session. On older Pi hosts without that factory, a child that requests codemode still reports it as unavailable; a capability ceiling that denies extensions prevents its registration.
519
-
520
- Ambient extensions depend on where the child runs. Local foreground children are sessions inside the parent Pi process and never load the parent's ambient extensions; otherwise the parent would start a second copy of each ambient extension, including this one. Background children are sessions inside the detached runner process and load the ambient extensions unless the agent sets `extensions` or the capability ceiling denies extensions. Local foreground children do inherit the providers the parent's extensions registered (`pi.registerProvider`), so their models resolve without loading those extensions again. The child gets the provider but not the registering extension's session hooks, so a provider that relies on its own hooks (for example to record each session's system prompt) can fail the child's first request; the foreground error then says so. Use `async: true` or list that extension in the agent's `subagentOnlyExtensions` or `extensions`. Pane-native remote foreground children instead use the remote machine's provider discovery and configuration. Agents that need MCP tools from an ambient adapter such as pi-mcp-adapter (including `mcp:` entries the adapter resolves) must therefore run as background children (`async: true`). A foreground launch of such an agent fails with a diagnostic that says exactly that.
521
-
522
- More rules:
523
-
524
- - `mcp:` entries are split out and forwarded as direct MCP selections without granting normal builtins unless those builtins are also listed.
525
- - Path-like `tools` entries, such as extension paths or `.ts`/`.js` files, are treated as tool-extension paths rather than tool names.
526
- - Internal runtime tools such as `structured_output` are added to an explicit allowlist only when their contract is active.
527
- - Unknown extension tool calls are treated as mutating diagnostic activity only when their names are listed in `mutationTools`.
528
-
529
- Examples:
530
-
531
- - `tools` omitted and `extensions` omitted: normal builtins; a background child also loads the ambient extensions.
532
- - `tools: mcp:chrome-devtools`: only the resolved direct Chrome DevTools MCP tools.
533
- - `tools: read, bash, mcp:chrome-devtools`: only `read` and `bash` as builtins, plus direct Chrome DevTools MCP tools.
534
- - `tools: subagent, read`: a child-safe `subagent` tool is available inside that child so it can run explicitly assigned nested fanout.
535
- - `allowNestedSubagents: true` with `tools` omitted: normal builtin tools (and, for background children, ambient extensions) remain inherited, and the child-safe nested `subagent` runtime is added.
536
- - `tools: read, fixture_search` plus `subagentOnlyExtensions: ./tools/fixture-search.ts`: the provider loads only in this agent's child sessions, and the registered `fixture_search` name survives the strict allowlist.
537
-
538
- ### MCP tools
539
-
540
- When [pi-mcp-adapter](https://github.com/nicobailon/pi-mcp-adapter) is not installed and Pi has built-in MCP (Pi 0.99 or later), `mcp:server` and `mcp:server/tool` entries resolve against Pi's built-in MCP. Name the server and tool as the server reports them: `mcp:my-docs/get-item` selects the tool Pi registers as `mcp__my_docs__get_item`. The server part may also use the `-`→`_` form of its name that Pi's MCP namespace uses, such as `mcp:my_docs`. The child connects the servers in Pi's `mcp.json` (the project's `.pi/mcp.json` only when the parent trusts the project) and gets only the selected tools, as direct tools, whatever exposure the server is configured with; tools configured as `hidden` cannot be selected. Servers that an extension adds with `pi.registerMcpServer()` work in background children, because the registering extension loads there too. They do not work in foreground children, which load no ambient extensions, so a foreground launch that selects one fails and says to use `async: true`. The launch fails if a selected tool does not register in the child within 10 seconds.
541
-
542
- When pi-mcp-adapter is installed, it keeps priority and provides the direct MCP tools. Subagents only receive direct MCP tools when `mcp:` entries are listed in their frontmatter; global `directTools: true` in the adapter's MCP config is not enough by itself. The generic `mcp` proxy tool can still be used for discovery when available. The adapter caches tool metadata at startup, so after connecting a new MCP server for the first time, restart Pi before relying on direct tools. Server `includeTools` and `excludeTools` policies are enforced while resolving cached metadata for children: both accept exact names and `*`/`?` glob patterns against raw, generated-resource, and server/short/mcp/none-prefixed names, with `excludeTools` taking precedence. `mcp:` entries must name servers from the adapter's configuration files. A server that exists only in the adapter's runtime snapshot (registered at runtime, not persisted) cannot be provided to a child: children are pi sessions inside the parent or the runner process, not `pi` processes that could receive an MCP config argument, so such a launch fails with an error saying that MCP tools must come from an ambient adapter extension in a background child. An `mcp:` entry named `subagent` does not authorize nested fanout; declare the builtin `subagent` tool or set `allowNestedSubagents: true`. If a resolved direct MCP name is missing from the child registry, pi-subagents keeps the launch failed under the strict allowlist and reports the registration mismatch; check the resolved names against what the host or pi-mcp-adapter actually registers before child startup.
543
-
544
- ### Extension loading
545
-
546
- `extensions` controls child extension loading:
547
-
548
- ```yaml
549
- # Omitted: all normal extensions load
550
-
551
- # Empty: no extensions
552
- extensions:
553
-
554
- # Allowlist
555
- extensions: /abs/path/to/ext-a.ts, /abs/path/to/ext-b.ts
556
- ```
557
-
558
- When `extensions` is present, normal discovered extensions are disabled. The listed extensions, path-like `tools` entries, required pi-subagents runtime extensions, and `subagentOnlyExtensions` still load.
559
-
560
- Use `subagentOnlyExtensions` when a custom extension tool should exist only inside child sessions. It is scoped by agent config: every run of that agent receives those extension paths, while other agents do not unless they declare the same field. The current model does not have a separate named-subagent audience inside one agent definition.
561
-
562
- To apply a shared extension policy to every agent that does not declare its own, set `subagents.defaultExtensions` for an ambient-disabling allowlist or `subagents.defaultSubagentOnlyExtensions` for child-only paths that preserve ambient discovery (see [configuration.md](configuration.md)).
563
-
564
- Before the first model turn, the child runtime compares every explicit tool name with Pi's final filtered registry. A missing provider fails the run with the unavailable names and concrete `subagentOnlyExtensions`/`extensions` guidance, instead of letting a direct or chained child silently continue without its requested tools.
565
-
566
- ## Skills
567
-
568
- Skills are `SKILL.md` files made available to an agent. The prompt includes skill metadata and the file location; the agent reads the full skill file only when the task matches.
569
-
570
- Discovery uses project-first precedence:
571
-
572
- 1. Project config `skills/{name}/SKILL.md` (`.pi/skills/{name}/SKILL.md` in standard Pi)
573
- 2. Project packages and project settings packages via `package.json -> pi.skills`
574
- 3. Current task cwd package via `package.json -> pi.skills`
575
- 4. Project config `settings.json -> skills`
576
- 5. `~/.pi/agent/skills/{name}/SKILL.md`
577
- 6. User packages and user settings packages via `package.json -> pi.skills`
578
- 7. `~/.pi/agent/settings.json -> skills`
579
-
580
- Use agent defaults, override them at runtime, or disable them inside the ```` ```js workflow ```` block:
581
-
582
- ```js
583
- return runs.all([
584
- { key: "default", agent: "scout", task: "..." },
585
- { key: "override", agent: "scout", task: "...", skill: "tmux, safe-bash" },
586
- { key: "disabled", agent: "scout", task: "...", skill: false },
587
- ])
588
- ```
589
-
590
- For chains, `skill` at the top level is additive. A step-level `skill` overrides that step; `false` disables skills for that step.
591
-
592
- Available skills use this shape in the child prompt:
593
-
594
- ```xml
595
- The following configured skills are available to this subagent.
596
- Use the read tool to load a skill's file when the task matches its description.
597
- When a skill file references a relative path, resolve it against the skill directory (parent of SKILL.md / dirname of the path) and use that absolute path in tool commands.
598
-
599
- <available_skills>
600
- <skill>
601
- <name>safe-bash</name>
602
- <description>Run shell commands safely.</description>
603
- <location>/absolute/path/to/safe-bash/SKILL.md</location>
604
- </skill>
605
- </available_skills>
606
- ```
607
-
608
- If an agent has an explicit `tools` allowlist and resolved skills, `read` is added for that child run so the listed skill files can be loaded on demand.
609
-
610
- Missing skills do not fail execution. The result summary shows a warning.
611
-
612
- Agent-local `skillPath` candidates never enter Pi's parent/global skills catalog. Pair `inheritSkills: false` with explicit `skills` and `skillPath` when a child should receive only its selected private skills.
613
-
614
- ## The bundled pi-subagents skill
615
-
616
- The package bundles a `pi-subagents` skill that is automatically available to the parent agent when the extension is installed. Availability is not automatic routing or permission to delegate: the parent works directly unless the operator requests delegation in the current request or through applicable user/project instructions. Once authorized, use the smallest bounded child or workflow whose evidence, independent review, specialization, parallelism, or isolation benefit earns its overhead. It is for the orchestrating parent only: child subagents never receive it, and a child's own context is filtered to strip parent-only orchestration instructions. A forked child keeps the history it inherited as the parent sent it, so its first request can reuse the parent's prompt cache.
617
-
618
- What it covers:
619
-
620
- - **Delegation patterns**: how to select a bounded agent and single, parallel, scripted, or async shape after delegation is authorized, including fresh or forked context.
621
- - **Prompt workflow recipes**: how to apply the packaged techniques directly with `subagent(...)` when the user describes the workflow in natural language instead of invoking a slash command. This includes parallel review, review-loop, parallel research, parallel context-build, parallel handoff-plan, gather-context-and-clarify, and parallel cleanup.
622
- - **Role-agent prompting guidance**: compact contract prompts instead of long scripts, what to include in role-specific meta prompts, and retrieval budgets for researchers.
623
- - **Safety boundaries**: child agents must not run subagents unless their resolved builtin tools explicitly include `subagent`, must not invent intercom targets, and must escalate unapproved decisions.
624
- - **Intercom conventions**: when to ask vs send, and how parent-side supervisor/result delivery works through the native channel.
625
- - **Control and diagnostics**: attention signals, soft interrupts, status, and the `doctor` action.
626
-
627
- If you are writing an agent that has been asked to orchestrate subagents, the bundled skill helps it behave correctly without guessing the patterns. If you are a human user, you do not need to read it; the README and prompt shortcuts encode the same workflows in user-facing form.