@emiliosp/pi-maestro 0.17.0 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ADR.md +6 -4
- package/CHANGELOG.md +7 -0
- package/README.md +12 -8
- package/ROADMAP.md +175 -162
- package/TECH_STACK.md +1 -2
- package/agents/builder.md +0 -11
- package/agents/simplifier.md +0 -11
- package/agents/verifier.md +0 -11
- package/docs/configuration.md +9 -10
- package/docs/subagent-integration.md +28 -27
- package/docs/workflow.md +8 -4
- package/extensions/maestro.ts +1 -1
- package/package.json +8 -16
- package/src/config/schema.ts +0 -6
- package/src/delegation/{SubSession.ts → SubSessionManager.ts} +5 -5
- package/src/delegation/executeTask.ts +27 -9
- package/src/maestro/checks/assertEnvironment.ts +6 -113
- package/src/maestro/instructions/getMaestroInstructions.ts +2 -1
- package/src/tools/child/record-builder-handoff.ts +28 -30
- package/src/tools/child/record-simplifier-handoff.ts +33 -35
- package/src/tools/child/record-verifier-handoff.ts +37 -39
- package/src/tools/main/run-builder.ts +9 -28
- package/src/tools/main/run-simplifier.ts +8 -26
- package/src/tools/main/run-verifier.ts +9 -27
- package/src/tools/utils/executeRoleTask.ts +57 -0
- package/extensions/maestro-subagent.ts +0 -16
- package/node_modules/@js-temporal/polyfill/CHANGELOG.md +0 -453
- package/node_modules/@js-temporal/polyfill/LICENSE +0 -13
- package/node_modules/@js-temporal/polyfill/README.md +0 -90
- package/node_modules/@js-temporal/polyfill/dist/index.cjs +0 -2
- package/node_modules/@js-temporal/polyfill/dist/index.cjs.map +0 -1
- package/node_modules/@js-temporal/polyfill/dist/index.esm.js +0 -2
- package/node_modules/@js-temporal/polyfill/dist/index.esm.js.map +0 -1
- package/node_modules/@js-temporal/polyfill/dist/index.umd.js +0 -2
- package/node_modules/@js-temporal/polyfill/dist/index.umd.js.map +0 -1
- package/node_modules/@js-temporal/polyfill/index.d.cts +0 -1215
- package/node_modules/@js-temporal/polyfill/index.d.ts +0 -1215
- package/node_modules/@js-temporal/polyfill/lib/assert.ts +0 -8
- package/node_modules/@js-temporal/polyfill/lib/bigintmath.ts +0 -39
- package/node_modules/@js-temporal/polyfill/lib/calendar.ts +0 -2424
- package/node_modules/@js-temporal/polyfill/lib/debug.ts +0 -7
- package/node_modules/@js-temporal/polyfill/lib/duration.ts +0 -438
- package/node_modules/@js-temporal/polyfill/lib/durationformat.d.ts +0 -93
- package/node_modules/@js-temporal/polyfill/lib/ecmascript.ts +0 -4973
- package/node_modules/@js-temporal/polyfill/lib/index.ts +0 -34
- package/node_modules/@js-temporal/polyfill/lib/init.ts +0 -43
- package/node_modules/@js-temporal/polyfill/lib/instant.ts +0 -138
- package/node_modules/@js-temporal/polyfill/lib/internaltypes.d.ts +0 -242
- package/node_modules/@js-temporal/polyfill/lib/intl.ts +0 -758
- package/node_modules/@js-temporal/polyfill/lib/intrinsicclass.ts +0 -162
- package/node_modules/@js-temporal/polyfill/lib/legacydate.ts +0 -17
- package/node_modules/@js-temporal/polyfill/lib/math.ts +0 -96
- package/node_modules/@js-temporal/polyfill/lib/now.ts +0 -48
- package/node_modules/@js-temporal/polyfill/lib/plaindate.ts +0 -212
- package/node_modules/@js-temporal/polyfill/lib/plaindatetime.ts +0 -274
- package/node_modules/@js-temporal/polyfill/lib/plainmonthday.ts +0 -110
- package/node_modules/@js-temporal/polyfill/lib/plaintime.ts +0 -154
- package/node_modules/@js-temporal/polyfill/lib/plainyearmonth.ts +0 -157
- package/node_modules/@js-temporal/polyfill/lib/regex.ts +0 -59
- package/node_modules/@js-temporal/polyfill/lib/slots.ts +0 -341
- package/node_modules/@js-temporal/polyfill/lib/temporal.ts +0 -10
- package/node_modules/@js-temporal/polyfill/lib/timeduration.ts +0 -149
- package/node_modules/@js-temporal/polyfill/lib/zoneddatetime.ts +0 -492
- package/node_modules/@js-temporal/polyfill/package.json +0 -143
- package/node_modules/acorn/CHANGELOG.md +0 -998
- package/node_modules/acorn/LICENSE +0 -21
- package/node_modules/acorn/README.md +0 -309
- package/node_modules/acorn/bin/acorn +0 -4
- package/node_modules/acorn/dist/acorn.d.mts +0 -897
- package/node_modules/acorn/dist/acorn.d.ts +0 -897
- package/node_modules/acorn/dist/acorn.js +0 -6342
- package/node_modules/acorn/dist/acorn.mjs +0 -6313
- package/node_modules/acorn/dist/bin.js +0 -90
- package/node_modules/acorn/package.json +0 -50
- package/node_modules/jiti/LICENSE +0 -21
- package/node_modules/jiti/README.md +0 -258
- package/node_modules/jiti/dist/babel.cjs +0 -257
- package/node_modules/jiti/dist/jiti.cjs +0 -1
- package/node_modules/jiti/lib/jiti-cli.mjs +0 -34
- package/node_modules/jiti/lib/jiti-hooks.mjs +0 -124
- package/node_modules/jiti/lib/jiti-native.mjs +0 -121
- package/node_modules/jiti/lib/jiti-register.d.mts +0 -1
- package/node_modules/jiti/lib/jiti-register.mjs +0 -4
- package/node_modules/jiti/lib/jiti-static.mjs +0 -23
- package/node_modules/jiti/lib/jiti.cjs +0 -30
- package/node_modules/jiti/lib/jiti.d.cts +0 -8
- package/node_modules/jiti/lib/jiti.d.mts +0 -8
- package/node_modules/jiti/lib/jiti.mjs +0 -29
- package/node_modules/jiti/lib/types.d.ts +0 -420
- package/node_modules/jiti/package.json +0 -146
- package/node_modules/jsbi/LICENSE +0 -176
- package/node_modules/jsbi/README.md +0 -173
- package/node_modules/jsbi/dist/jsbi-cjs.js +0 -2
- package/node_modules/jsbi/dist/jsbi-cjs.js.map +0 -1
- package/node_modules/jsbi/dist/jsbi-umd.js +0 -2
- package/node_modules/jsbi/dist/jsbi-umd.js.map +0 -1
- package/node_modules/jsbi/dist/jsbi.mjs +0 -2
- package/node_modules/jsbi/dist/jsbi.mjs.map +0 -1
- package/node_modules/jsbi/jsbi.d.ts +0 -43
- package/node_modules/jsbi/package.json +0 -35
- package/node_modules/pi-subagents/CHANGELOG.md +0 -3081
- package/node_modules/pi-subagents/LICENSE +0 -21
- package/node_modules/pi-subagents/README.md +0 -129
- package/node_modules/pi-subagents/agents/claude-code-writer.md +0 -16
- package/node_modules/pi-subagents/agents/claude-code.md +0 -15
- package/node_modules/pi-subagents/agents/codex-exec-writer.md +0 -16
- package/node_modules/pi-subagents/agents/codex-exec.md +0 -15
- package/node_modules/pi-subagents/agents/cursor-agent-writer.md +0 -15
- package/node_modules/pi-subagents/agents/cursor-agent.md +0 -14
- package/node_modules/pi-subagents/agents/delegate.md +0 -14
- package/node_modules/pi-subagents/agents/evidence-auditor.md +0 -35
- package/node_modules/pi-subagents/agents/oracle.md +0 -68
- package/node_modules/pi-subagents/agents/researcher.md +0 -59
- package/node_modules/pi-subagents/agents/reviewer.md +0 -48
- package/node_modules/pi-subagents/agents/scout.md +0 -47
- package/node_modules/pi-subagents/agents/worker.md +0 -43
- package/node_modules/pi-subagents/async-retention-discovery-worker.mjs +0 -180
- package/node_modules/pi-subagents/docs/agents.md +0 -627
- package/node_modules/pi-subagents/docs/configuration.md +0 -756
- package/node_modules/pi-subagents/docs/extension-api.md +0 -661
- package/node_modules/pi-subagents/docs/missions.md +0 -162
- package/node_modules/pi-subagents/docs/models.md +0 -253
- package/node_modules/pi-subagents/docs/observability.md +0 -335
- package/node_modules/pi-subagents/docs/standalone-background.md +0 -59
- package/node_modules/pi-subagents/docs/tool-reference.md +0 -558
- package/node_modules/pi-subagents/docs/watchdog.md +0 -187
- package/node_modules/pi-subagents/docs/workflows.md +0 -577
- package/node_modules/pi-subagents/index.d.ts +0 -3
- package/node_modules/pi-subagents/index.d.ts.map +0 -1
- package/node_modules/pi-subagents/index.js +0 -15
- package/node_modules/pi-subagents/index.js.map +0 -1
- package/node_modules/pi-subagents/inspector-runner.mjs +0 -11
- package/node_modules/pi-subagents/install.mjs +0 -93
- package/node_modules/pi-subagents/node_modules/yaml/LICENSE +0 -13
- package/node_modules/pi-subagents/node_modules/yaml/README.md +0 -172
- package/node_modules/pi-subagents/node_modules/yaml/bin.mjs +0 -11
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/compose-collection.js +0 -88
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/compose-doc.js +0 -43
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/compose-node.js +0 -109
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/compose-scalar.js +0 -86
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/composer.js +0 -217
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/resolve-block-map.js +0 -115
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +0 -198
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +0 -49
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/resolve-end.js +0 -37
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +0 -207
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +0 -223
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/resolve-props.js +0 -146
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/util-contains-newline.js +0 -34
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +0 -26
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +0 -15
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/compose/util-map-includes.js +0 -13
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/doc/Document.js +0 -335
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/doc/anchors.js +0 -71
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/doc/applyReviver.js +0 -55
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/doc/createNode.js +0 -88
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/doc/directives.js +0 -176
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/errors.js +0 -57
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/index.js +0 -17
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/log.js +0 -11
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/nodes/Alias.js +0 -114
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/nodes/Collection.js +0 -147
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/nodes/Node.js +0 -38
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/nodes/Pair.js +0 -36
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/nodes/Scalar.js +0 -24
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/nodes/YAMLMap.js +0 -144
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +0 -113
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +0 -63
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/nodes/identity.js +0 -36
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/nodes/toJS.js +0 -37
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/parse/cst-scalar.js +0 -214
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/parse/cst-stringify.js +0 -61
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/parse/cst-visit.js +0 -97
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/parse/cst.js +0 -98
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/parse/lexer.js +0 -717
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/parse/line-counter.js +0 -39
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/parse/parser.js +0 -967
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/public-api.js +0 -102
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/Schema.js +0 -37
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/common/map.js +0 -17
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/common/null.js +0 -15
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/common/seq.js +0 -17
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/common/string.js +0 -14
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/core/bool.js +0 -19
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/core/float.js +0 -43
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/core/int.js +0 -38
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/core/schema.js +0 -23
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/json/schema.js +0 -62
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/tags.js +0 -96
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +0 -58
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +0 -26
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +0 -46
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +0 -71
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +0 -64
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +0 -74
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +0 -78
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +0 -39
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +0 -93
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +0 -101
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +0 -146
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/stringify/stringify.js +0 -129
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +0 -153
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/stringify/stringifyComment.js +0 -20
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +0 -85
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +0 -24
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/stringify/stringifyPair.js +0 -150
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/stringify/stringifyString.js +0 -336
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/util.js +0 -11
- package/node_modules/pi-subagents/node_modules/yaml/browser/dist/visit.js +0 -233
- package/node_modules/pi-subagents/node_modules/yaml/browser/index.js +0 -5
- package/node_modules/pi-subagents/node_modules/yaml/browser/package.json +0 -3
- package/node_modules/pi-subagents/node_modules/yaml/dist/cli.d.ts +0 -8
- package/node_modules/pi-subagents/node_modules/yaml/dist/cli.mjs +0 -201
- package/node_modules/pi-subagents/node_modules/yaml/dist/compose/compose-collection.d.ts +0 -11
- package/node_modules/pi-subagents/node_modules/yaml/dist/compose/compose-collection.js +0 -90
- package/node_modules/pi-subagents/node_modules/yaml/dist/compose/compose-doc.d.ts +0 -7
- package/node_modules/pi-subagents/node_modules/yaml/dist/compose/compose-doc.js +0 -45
- package/node_modules/pi-subagents/node_modules/yaml/dist/compose/compose-node.d.ts +0 -29
- package/node_modules/pi-subagents/node_modules/yaml/dist/compose/compose-node.js +0 -112
- package/node_modules/pi-subagents/node_modules/yaml/dist/compose/compose-scalar.d.ts +0 -5
- package/node_modules/pi-subagents/node_modules/yaml/dist/compose/compose-scalar.js +0 -88
- package/node_modules/pi-subagents/node_modules/yaml/dist/compose/composer.d.ts +0 -63
- package/node_modules/pi-subagents/node_modules/yaml/dist/compose/composer.js +0 -222
- package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-block-map.d.ts +0 -6
- package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-block-map.js +0 -117
- package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts +0 -11
- package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-block-scalar.js +0 -200
- package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-block-seq.d.ts +0 -6
- package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-block-seq.js +0 -51
- package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-end.d.ts +0 -6
- package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-end.js +0 -39
- package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-flow-collection.d.ts +0 -7
- package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-flow-collection.js +0 -209
- package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-flow-scalar.d.ts +0 -10
- package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-flow-scalar.js +0 -225
- package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-props.d.ts +0 -23
- package/node_modules/pi-subagents/node_modules/yaml/dist/compose/resolve-props.js +0 -148
- package/node_modules/pi-subagents/node_modules/yaml/dist/compose/util-contains-newline.d.ts +0 -2
- package/node_modules/pi-subagents/node_modules/yaml/dist/compose/util-contains-newline.js +0 -36
- package/node_modules/pi-subagents/node_modules/yaml/dist/compose/util-empty-scalar-position.d.ts +0 -2
- package/node_modules/pi-subagents/node_modules/yaml/dist/compose/util-empty-scalar-position.js +0 -28
- package/node_modules/pi-subagents/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts +0 -3
- package/node_modules/pi-subagents/node_modules/yaml/dist/compose/util-flow-indent-check.js +0 -17
- package/node_modules/pi-subagents/node_modules/yaml/dist/compose/util-map-includes.d.ts +0 -4
- package/node_modules/pi-subagents/node_modules/yaml/dist/compose/util-map-includes.js +0 -15
- package/node_modules/pi-subagents/node_modules/yaml/dist/doc/Document.d.ts +0 -141
- package/node_modules/pi-subagents/node_modules/yaml/dist/doc/Document.js +0 -337
- package/node_modules/pi-subagents/node_modules/yaml/dist/doc/anchors.d.ts +0 -24
- package/node_modules/pi-subagents/node_modules/yaml/dist/doc/anchors.js +0 -76
- package/node_modules/pi-subagents/node_modules/yaml/dist/doc/applyReviver.d.ts +0 -9
- package/node_modules/pi-subagents/node_modules/yaml/dist/doc/applyReviver.js +0 -57
- package/node_modules/pi-subagents/node_modules/yaml/dist/doc/createNode.d.ts +0 -17
- package/node_modules/pi-subagents/node_modules/yaml/dist/doc/createNode.js +0 -90
- package/node_modules/pi-subagents/node_modules/yaml/dist/doc/directives.d.ts +0 -49
- package/node_modules/pi-subagents/node_modules/yaml/dist/doc/directives.js +0 -178
- package/node_modules/pi-subagents/node_modules/yaml/dist/errors.d.ts +0 -21
- package/node_modules/pi-subagents/node_modules/yaml/dist/errors.js +0 -62
- package/node_modules/pi-subagents/node_modules/yaml/dist/index.d.ts +0 -25
- package/node_modules/pi-subagents/node_modules/yaml/dist/index.js +0 -50
- package/node_modules/pi-subagents/node_modules/yaml/dist/log.d.ts +0 -3
- package/node_modules/pi-subagents/node_modules/yaml/dist/log.js +0 -19
- package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/Alias.d.ts +0 -29
- package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/Alias.js +0 -116
- package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/Collection.d.ts +0 -73
- package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/Collection.js +0 -151
- package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/Node.d.ts +0 -53
- package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/Node.js +0 -40
- package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/Pair.d.ts +0 -22
- package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/Pair.js +0 -39
- package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/Scalar.d.ts +0 -43
- package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/Scalar.js +0 -27
- package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/YAMLMap.d.ts +0 -53
- package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/YAMLMap.js +0 -147
- package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/YAMLSeq.d.ts +0 -60
- package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/YAMLSeq.js +0 -115
- package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts +0 -4
- package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/addPairToJSMap.js +0 -65
- package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/identity.d.ts +0 -23
- package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/identity.js +0 -53
- package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/toJS.d.ts +0 -29
- package/node_modules/pi-subagents/node_modules/yaml/dist/nodes/toJS.js +0 -39
- package/node_modules/pi-subagents/node_modules/yaml/dist/options.d.ts +0 -350
- package/node_modules/pi-subagents/node_modules/yaml/dist/parse/cst-scalar.d.ts +0 -64
- package/node_modules/pi-subagents/node_modules/yaml/dist/parse/cst-scalar.js +0 -218
- package/node_modules/pi-subagents/node_modules/yaml/dist/parse/cst-stringify.d.ts +0 -8
- package/node_modules/pi-subagents/node_modules/yaml/dist/parse/cst-stringify.js +0 -63
- package/node_modules/pi-subagents/node_modules/yaml/dist/parse/cst-visit.d.ts +0 -39
- package/node_modules/pi-subagents/node_modules/yaml/dist/parse/cst-visit.js +0 -99
- package/node_modules/pi-subagents/node_modules/yaml/dist/parse/cst.d.ts +0 -109
- package/node_modules/pi-subagents/node_modules/yaml/dist/parse/cst.js +0 -112
- package/node_modules/pi-subagents/node_modules/yaml/dist/parse/lexer.d.ts +0 -87
- package/node_modules/pi-subagents/node_modules/yaml/dist/parse/lexer.js +0 -719
- package/node_modules/pi-subagents/node_modules/yaml/dist/parse/line-counter.d.ts +0 -22
- package/node_modules/pi-subagents/node_modules/yaml/dist/parse/line-counter.js +0 -41
- package/node_modules/pi-subagents/node_modules/yaml/dist/parse/parser.d.ts +0 -84
- package/node_modules/pi-subagents/node_modules/yaml/dist/parse/parser.js +0 -972
- package/node_modules/pi-subagents/node_modules/yaml/dist/public-api.d.ts +0 -44
- package/node_modules/pi-subagents/node_modules/yaml/dist/public-api.js +0 -107
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/Schema.d.ts +0 -17
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/Schema.js +0 -39
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/common/map.d.ts +0 -2
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/common/map.js +0 -19
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/common/null.d.ts +0 -4
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/common/null.js +0 -17
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/common/seq.d.ts +0 -2
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/common/seq.js +0 -19
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/common/string.d.ts +0 -2
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/common/string.js +0 -16
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/core/bool.d.ts +0 -4
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/core/bool.js +0 -21
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/core/float.d.ts +0 -4
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/core/float.js +0 -47
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/core/int.d.ts +0 -4
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/core/int.js +0 -42
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/core/schema.d.ts +0 -1
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/core/schema.js +0 -25
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/json/schema.d.ts +0 -2
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/json/schema.js +0 -64
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/json-schema.d.ts +0 -69
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/tags.d.ts +0 -48
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/tags.js +0 -99
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/types.d.ts +0 -92
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts +0 -2
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/binary.js +0 -70
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts +0 -7
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/bool.js +0 -29
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts +0 -4
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/float.js +0 -50
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts +0 -5
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/int.js +0 -76
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts +0 -9
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/merge.js +0 -68
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts +0 -22
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/omap.js +0 -77
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts +0 -10
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +0 -82
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts +0 -1
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/schema.js +0 -41
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts +0 -28
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/set.js +0 -96
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts +0 -6
- package/node_modules/pi-subagents/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +0 -105
- package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/foldFlowLines.d.ts +0 -34
- package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/foldFlowLines.js +0 -151
- package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringify.d.ts +0 -21
- package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringify.js +0 -132
- package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringifyCollection.d.ts +0 -17
- package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringifyCollection.js +0 -155
- package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringifyComment.d.ts +0 -10
- package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringifyComment.js +0 -24
- package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringifyDocument.d.ts +0 -4
- package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringifyDocument.js +0 -87
- package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringifyNumber.d.ts +0 -2
- package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringifyNumber.js +0 -26
- package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringifyPair.d.ts +0 -3
- package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringifyPair.js +0 -152
- package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringifyString.d.ts +0 -9
- package/node_modules/pi-subagents/node_modules/yaml/dist/stringify/stringifyString.js +0 -338
- package/node_modules/pi-subagents/node_modules/yaml/dist/test-events.d.ts +0 -4
- package/node_modules/pi-subagents/node_modules/yaml/dist/test-events.js +0 -134
- package/node_modules/pi-subagents/node_modules/yaml/dist/util.d.ts +0 -16
- package/node_modules/pi-subagents/node_modules/yaml/dist/util.js +0 -28
- package/node_modules/pi-subagents/node_modules/yaml/dist/visit.d.ts +0 -102
- package/node_modules/pi-subagents/node_modules/yaml/dist/visit.js +0 -236
- package/node_modules/pi-subagents/node_modules/yaml/package.json +0 -97
- package/node_modules/pi-subagents/node_modules/yaml/util.js +0 -2
- package/node_modules/pi-subagents/package.json +0 -138
- package/node_modules/pi-subagents/prompts/council.md +0 -63
- package/node_modules/pi-subagents/prompts/gather-context-and-clarify.md +0 -13
- package/node_modules/pi-subagents/prompts/parallel-cleanup.md +0 -59
- package/node_modules/pi-subagents/prompts/parallel-research.md +0 -50
- package/node_modules/pi-subagents/prompts/parallel-review.md +0 -58
- package/node_modules/pi-subagents/prompts/review-loop.md +0 -47
- package/node_modules/pi-subagents/runner-peer-loader.mjs +0 -21
- package/node_modules/pi-subagents/runner-peer-preload.mjs +0 -30
- package/node_modules/pi-subagents/skills/council-mode/SKILL.md +0 -59
- package/node_modules/pi-subagents/skills/council-mode/references/pass-contracts.md +0 -150
- package/node_modules/pi-subagents/skills/pi-subagents/SKILL.md +0 -123
- package/node_modules/pi-subagents/skills/pi-subagents/references/constraints-and-recipes.md +0 -74
- package/node_modules/pi-subagents/skills/pi-subagents/references/execution-controls.md +0 -561
- package/node_modules/pi-subagents/skills/pi-subagents/references/management-authoring-rpc.md +0 -165
- package/node_modules/pi-subagents/skills/pi-subagents/references/multi-lane-orchestration.md +0 -61
- package/node_modules/pi-subagents/skills/pi-subagents/references/prompting-and-roles.md +0 -297
- package/node_modules/pi-subagents/skills/pi-subagents/references/review-and-validation.md +0 -73
- package/node_modules/pi-subagents/src/agents/advertised-agent-prompt.d.ts +0 -14
- package/node_modules/pi-subagents/src/agents/advertised-agent-prompt.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/agents/advertised-agent-prompt.js +0 -69
- package/node_modules/pi-subagents/src/agents/advertised-agent-prompt.js.map +0 -1
- package/node_modules/pi-subagents/src/agents/agent-management.d.ts +0 -28
- package/node_modules/pi-subagents/src/agents/agent-management.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/agents/agent-management.js +0 -1522
- package/node_modules/pi-subagents/src/agents/agent-management.js.map +0 -1
- package/node_modules/pi-subagents/src/agents/agent-memory.d.ts +0 -49
- package/node_modules/pi-subagents/src/agents/agent-memory.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/agents/agent-memory.js +0 -349
- package/node_modules/pi-subagents/src/agents/agent-memory.js.map +0 -1
- package/node_modules/pi-subagents/src/agents/agent-refinements.d.ts +0 -100
- package/node_modules/pi-subagents/src/agents/agent-refinements.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/agents/agent-refinements.js +0 -569
- package/node_modules/pi-subagents/src/agents/agent-refinements.js.map +0 -1
- package/node_modules/pi-subagents/src/agents/agent-scope.d.ts +0 -4
- package/node_modules/pi-subagents/src/agents/agent-scope.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/agents/agent-scope.js +0 -9
- package/node_modules/pi-subagents/src/agents/agent-scope.js.map +0 -1
- package/node_modules/pi-subagents/src/agents/agent-selection.d.ts +0 -3
- package/node_modules/pi-subagents/src/agents/agent-selection.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/agents/agent-selection.js +0 -23
- package/node_modules/pi-subagents/src/agents/agent-selection.js.map +0 -1
- package/node_modules/pi-subagents/src/agents/agent-serializer.d.ts +0 -8
- package/node_modules/pi-subagents/src/agents/agent-serializer.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/agents/agent-serializer.js +0 -206
- package/node_modules/pi-subagents/src/agents/agent-serializer.js.map +0 -1
- package/node_modules/pi-subagents/src/agents/agents.d.ts +0 -344
- package/node_modules/pi-subagents/src/agents/agents.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/agents/agents.js +0 -2748
- package/node_modules/pi-subagents/src/agents/agents.js.map +0 -1
- package/node_modules/pi-subagents/src/agents/builtin-names.d.ts +0 -2
- package/node_modules/pi-subagents/src/agents/builtin-names.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/agents/builtin-names.js +0 -17
- package/node_modules/pi-subagents/src/agents/builtin-names.js.map +0 -1
- package/node_modules/pi-subagents/src/agents/chain-serializer.d.ts +0 -7
- package/node_modules/pi-subagents/src/agents/chain-serializer.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/agents/chain-serializer.js +0 -319
- package/node_modules/pi-subagents/src/agents/chain-serializer.js.map +0 -1
- package/node_modules/pi-subagents/src/agents/frontmatter.d.ts +0 -16
- package/node_modules/pi-subagents/src/agents/frontmatter.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/agents/frontmatter.js +0 -142
- package/node_modules/pi-subagents/src/agents/frontmatter.js.map +0 -1
- package/node_modules/pi-subagents/src/agents/global-npm-root.d.ts +0 -7
- package/node_modules/pi-subagents/src/agents/global-npm-root.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/agents/global-npm-root.js +0 -58
- package/node_modules/pi-subagents/src/agents/global-npm-root.js.map +0 -1
- package/node_modules/pi-subagents/src/agents/identity.d.ts +0 -8
- package/node_modules/pi-subagents/src/agents/identity.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/agents/identity.js +0 -30
- package/node_modules/pi-subagents/src/agents/identity.js.map +0 -1
- package/node_modules/pi-subagents/src/agents/proactive-skills.d.ts +0 -36
- package/node_modules/pi-subagents/src/agents/proactive-skills.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/agents/proactive-skills.js +0 -156
- package/node_modules/pi-subagents/src/agents/proactive-skills.js.map +0 -1
- package/node_modules/pi-subagents/src/agents/runtime-agent-events.d.ts +0 -27
- package/node_modules/pi-subagents/src/agents/runtime-agent-events.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/agents/runtime-agent-events.js +0 -53
- package/node_modules/pi-subagents/src/agents/runtime-agent-events.js.map +0 -1
- package/node_modules/pi-subagents/src/agents/runtime-agent-registry.d.ts +0 -64
- package/node_modules/pi-subagents/src/agents/runtime-agent-registry.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/agents/runtime-agent-registry.js +0 -395
- package/node_modules/pi-subagents/src/agents/runtime-agent-registry.js.map +0 -1
- package/node_modules/pi-subagents/src/agents/skills.d.ts +0 -35
- package/node_modules/pi-subagents/src/agents/skills.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/agents/skills.js +0 -718
- package/node_modules/pi-subagents/src/agents/skills.js.map +0 -1
- package/node_modules/pi-subagents/src/api/agents.d.ts +0 -5
- package/node_modules/pi-subagents/src/api/agents.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/api/agents.js +0 -3
- package/node_modules/pi-subagents/src/api/agents.js.map +0 -1
- package/node_modules/pi-subagents/src/api/background-work.d.ts +0 -39
- package/node_modules/pi-subagents/src/api/background-work.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/api/background-work.js +0 -165
- package/node_modules/pi-subagents/src/api/background-work.js.map +0 -1
- package/node_modules/pi-subagents/src/api/capability-ceiling.d.ts +0 -2
- package/node_modules/pi-subagents/src/api/capability-ceiling.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/api/capability-ceiling.js +0 -2
- package/node_modules/pi-subagents/src/api/capability-ceiling.js.map +0 -1
- package/node_modules/pi-subagents/src/api/child-tool-plan.d.ts +0 -2
- package/node_modules/pi-subagents/src/api/child-tool-plan.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/api/child-tool-plan.js +0 -2
- package/node_modules/pi-subagents/src/api/child-tool-plan.js.map +0 -1
- package/node_modules/pi-subagents/src/api/control-channel.d.ts +0 -2
- package/node_modules/pi-subagents/src/api/control-channel.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/api/control-channel.js +0 -2
- package/node_modules/pi-subagents/src/api/control-channel.js.map +0 -1
- package/node_modules/pi-subagents/src/api/delegation.d.ts +0 -113
- package/node_modules/pi-subagents/src/api/delegation.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/api/delegation.js +0 -9
- package/node_modules/pi-subagents/src/api/delegation.js.map +0 -1
- package/node_modules/pi-subagents/src/api/external-job-provider.d.ts +0 -58
- package/node_modules/pi-subagents/src/api/external-job-provider.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/api/external-job-provider.js +0 -140
- package/node_modules/pi-subagents/src/api/external-job-provider.js.map +0 -1
- package/node_modules/pi-subagents/src/api/external-runs.d.ts +0 -48
- package/node_modules/pi-subagents/src/api/external-runs.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/api/external-runs.js +0 -246
- package/node_modules/pi-subagents/src/api/external-runs.js.map +0 -1
- package/node_modules/pi-subagents/src/api/inspectors.d.ts +0 -21
- package/node_modules/pi-subagents/src/api/inspectors.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/api/inspectors.js +0 -12
- package/node_modules/pi-subagents/src/api/inspectors.js.map +0 -1
- package/node_modules/pi-subagents/src/api/intercom-bridge.d.ts +0 -2
- package/node_modules/pi-subagents/src/api/intercom-bridge.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/api/intercom-bridge.js +0 -2
- package/node_modules/pi-subagents/src/api/intercom-bridge.js.map +0 -1
- package/node_modules/pi-subagents/src/api/preflight.d.ts +0 -179
- package/node_modules/pi-subagents/src/api/preflight.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/api/preflight.js +0 -410
- package/node_modules/pi-subagents/src/api/preflight.js.map +0 -1
- package/node_modules/pi-subagents/src/api/project-panes.d.ts +0 -8
- package/node_modules/pi-subagents/src/api/project-panes.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/api/project-panes.js +0 -8
- package/node_modules/pi-subagents/src/api/project-panes.js.map +0 -1
- package/node_modules/pi-subagents/src/api/required-child-extensions.d.ts +0 -2
- package/node_modules/pi-subagents/src/api/required-child-extensions.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/api/required-child-extensions.js +0 -2
- package/node_modules/pi-subagents/src/api/required-child-extensions.js.map +0 -1
- package/node_modules/pi-subagents/src/api/shared-types.d.ts +0 -2
- package/node_modules/pi-subagents/src/api/shared-types.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/api/shared-types.js +0 -2
- package/node_modules/pi-subagents/src/api/shared-types.js.map +0 -1
- package/node_modules/pi-subagents/src/api/workflow-resources.d.ts +0 -3
- package/node_modules/pi-subagents/src/api/workflow-resources.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/api/workflow-resources.js +0 -2
- package/node_modules/pi-subagents/src/api/workflow-resources.js.map +0 -1
- package/node_modules/pi-subagents/src/extension/active-runs-prompt.d.ts +0 -8
- package/node_modules/pi-subagents/src/extension/active-runs-prompt.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/extension/active-runs-prompt.js +0 -30
- package/node_modules/pi-subagents/src/extension/active-runs-prompt.js.map +0 -1
- package/node_modules/pi-subagents/src/extension/config.d.ts +0 -8
- package/node_modules/pi-subagents/src/extension/config.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/extension/config.js +0 -283
- package/node_modules/pi-subagents/src/extension/config.js.map +0 -1
- package/node_modules/pi-subagents/src/extension/control-notices.d.ts +0 -19
- package/node_modules/pi-subagents/src/extension/control-notices.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/extension/control-notices.js +0 -30
- package/node_modules/pi-subagents/src/extension/control-notices.js.map +0 -1
- package/node_modules/pi-subagents/src/extension/declaration-pinning.d.ts +0 -19
- package/node_modules/pi-subagents/src/extension/declaration-pinning.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/extension/declaration-pinning.js +0 -154
- package/node_modules/pi-subagents/src/extension/declaration-pinning.js.map +0 -1
- package/node_modules/pi-subagents/src/extension/doctor.d.ts +0 -35
- package/node_modules/pi-subagents/src/extension/doctor.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/extension/doctor.js +0 -226
- package/node_modules/pi-subagents/src/extension/doctor.js.map +0 -1
- package/node_modules/pi-subagents/src/extension/fanout-child.d.ts +0 -7
- package/node_modules/pi-subagents/src/extension/fanout-child.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/extension/fanout-child.js +0 -278
- package/node_modules/pi-subagents/src/extension/fanout-child.js.map +0 -1
- package/node_modules/pi-subagents/src/extension/herdr-pi-bridge.d.ts +0 -17
- package/node_modules/pi-subagents/src/extension/herdr-pi-bridge.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/extension/herdr-pi-bridge.js +0 -245
- package/node_modules/pi-subagents/src/extension/herdr-pi-bridge.js.map +0 -1
- package/node_modules/pi-subagents/src/extension/index.d.ts +0 -19
- package/node_modules/pi-subagents/src/extension/index.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/extension/index.js +0 -1093
- package/node_modules/pi-subagents/src/extension/index.js.map +0 -1
- package/node_modules/pi-subagents/src/extension/public-execution.d.ts +0 -71
- package/node_modules/pi-subagents/src/extension/public-execution.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/extension/public-execution.js +0 -212
- package/node_modules/pi-subagents/src/extension/public-execution.js.map +0 -1
- package/node_modules/pi-subagents/src/extension/reply-workflow-script.d.ts +0 -12
- package/node_modules/pi-subagents/src/extension/reply-workflow-script.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/extension/reply-workflow-script.js +0 -70
- package/node_modules/pi-subagents/src/extension/reply-workflow-script.js.map +0 -1
- package/node_modules/pi-subagents/src/extension/rpc.d.ts +0 -85
- package/node_modules/pi-subagents/src/extension/rpc.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/extension/rpc.js +0 -726
- package/node_modules/pi-subagents/src/extension/rpc.js.map +0 -1
- package/node_modules/pi-subagents/src/extension/schemas.d.ts +0 -275
- package/node_modules/pi-subagents/src/extension/schemas.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/extension/schemas.js +0 -311
- package/node_modules/pi-subagents/src/extension/schemas.js.map +0 -1
- package/node_modules/pi-subagents/src/extension/steering-notices.d.ts +0 -15
- package/node_modules/pi-subagents/src/extension/steering-notices.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/extension/steering-notices.js +0 -23
- package/node_modules/pi-subagents/src/extension/steering-notices.js.map +0 -1
- package/node_modules/pi-subagents/src/extension/subagent-guide.d.ts +0 -5
- package/node_modules/pi-subagents/src/extension/subagent-guide.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/extension/subagent-guide.js +0 -116
- package/node_modules/pi-subagents/src/extension/subagent-guide.js.map +0 -1
- package/node_modules/pi-subagents/src/extension/subagent-options.d.ts +0 -8
- package/node_modules/pi-subagents/src/extension/subagent-options.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/extension/subagent-options.js +0 -52
- package/node_modules/pi-subagents/src/extension/subagent-options.js.map +0 -1
- package/node_modules/pi-subagents/src/extension/tool-activation.d.ts +0 -7
- package/node_modules/pi-subagents/src/extension/tool-activation.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/extension/tool-activation.js +0 -135
- package/node_modules/pi-subagents/src/extension/tool-activation.js.map +0 -1
- package/node_modules/pi-subagents/src/extension/tool-description.d.ts +0 -20
- package/node_modules/pi-subagents/src/extension/tool-description.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/extension/tool-description.js +0 -170
- package/node_modules/pi-subagents/src/extension/tool-description.js.map +0 -1
- package/node_modules/pi-subagents/src/extension/tool-result.d.ts +0 -10
- package/node_modules/pi-subagents/src/extension/tool-result.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/extension/tool-result.js +0 -17
- package/node_modules/pi-subagents/src/extension/tool-result.js.map +0 -1
- package/node_modules/pi-subagents/src/extension/upgrade-notice.d.ts +0 -7
- package/node_modules/pi-subagents/src/extension/upgrade-notice.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/extension/upgrade-notice.js +0 -37
- package/node_modules/pi-subagents/src/extension/upgrade-notice.js.map +0 -1
- package/node_modules/pi-subagents/src/inspectors/actions.d.ts +0 -25
- package/node_modules/pi-subagents/src/inspectors/actions.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/inspectors/actions.js +0 -183
- package/node_modules/pi-subagents/src/inspectors/actions.js.map +0 -1
- package/node_modules/pi-subagents/src/inspectors/ghostty/actions.d.ts +0 -12
- package/node_modules/pi-subagents/src/inspectors/ghostty/actions.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/inspectors/ghostty/actions.js +0 -63
- package/node_modules/pi-subagents/src/inspectors/ghostty/actions.js.map +0 -1
- package/node_modules/pi-subagents/src/inspectors/ghostty/plugin.d.ts +0 -8
- package/node_modules/pi-subagents/src/inspectors/ghostty/plugin.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/inspectors/ghostty/plugin.js +0 -24
- package/node_modules/pi-subagents/src/inspectors/ghostty/plugin.js.map +0 -1
- package/node_modules/pi-subagents/src/inspectors/herdr/actions.d.ts +0 -26
- package/node_modules/pi-subagents/src/inspectors/herdr/actions.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/inspectors/herdr/actions.js +0 -134
- package/node_modules/pi-subagents/src/inspectors/herdr/actions.js.map +0 -1
- package/node_modules/pi-subagents/src/inspectors/herdr/client.d.ts +0 -42
- package/node_modules/pi-subagents/src/inspectors/herdr/client.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/inspectors/herdr/client.js +0 -130
- package/node_modules/pi-subagents/src/inspectors/herdr/client.js.map +0 -1
- package/node_modules/pi-subagents/src/inspectors/herdr/focus.d.ts +0 -25
- package/node_modules/pi-subagents/src/inspectors/herdr/focus.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/inspectors/herdr/focus.js +0 -50
- package/node_modules/pi-subagents/src/inspectors/herdr/focus.js.map +0 -1
- package/node_modules/pi-subagents/src/inspectors/herdr/plugin.d.ts +0 -7
- package/node_modules/pi-subagents/src/inspectors/herdr/plugin.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/inspectors/herdr/plugin.js +0 -15
- package/node_modules/pi-subagents/src/inspectors/herdr/plugin.js.map +0 -1
- package/node_modules/pi-subagents/src/inspectors/herdr/project-panes.d.ts +0 -137
- package/node_modules/pi-subagents/src/inspectors/herdr/project-panes.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/inspectors/herdr/project-panes.js +0 -608
- package/node_modules/pi-subagents/src/inspectors/herdr/project-panes.js.map +0 -1
- package/node_modules/pi-subagents/src/inspectors/inspector-runner.d.ts +0 -24
- package/node_modules/pi-subagents/src/inspectors/inspector-runner.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/inspectors/inspector-runner.js +0 -162
- package/node_modules/pi-subagents/src/inspectors/inspector-runner.js.map +0 -1
- package/node_modules/pi-subagents/src/inspectors/plugins.d.ts +0 -9
- package/node_modules/pi-subagents/src/inspectors/plugins.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/inspectors/plugins.js +0 -83
- package/node_modules/pi-subagents/src/inspectors/plugins.js.map +0 -1
- package/node_modules/pi-subagents/src/inspectors/session-roots-codec.d.ts +0 -16
- package/node_modules/pi-subagents/src/inspectors/session-roots-codec.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/inspectors/session-roots-codec.js +0 -33
- package/node_modules/pi-subagents/src/inspectors/session-roots-codec.js.map +0 -1
- package/node_modules/pi-subagents/src/inspectors/shell-command.d.ts +0 -2
- package/node_modules/pi-subagents/src/inspectors/shell-command.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/inspectors/shell-command.js +0 -17
- package/node_modules/pi-subagents/src/inspectors/shell-command.js.map +0 -1
- package/node_modules/pi-subagents/src/inspectors/tmux/actions.d.ts +0 -26
- package/node_modules/pi-subagents/src/inspectors/tmux/actions.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/inspectors/tmux/actions.js +0 -182
- package/node_modules/pi-subagents/src/inspectors/tmux/actions.js.map +0 -1
- package/node_modules/pi-subagents/src/inspectors/tmux/client.d.ts +0 -28
- package/node_modules/pi-subagents/src/inspectors/tmux/client.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/inspectors/tmux/client.js +0 -65
- package/node_modules/pi-subagents/src/inspectors/tmux/client.js.map +0 -1
- package/node_modules/pi-subagents/src/inspectors/tmux/plugin.d.ts +0 -8
- package/node_modules/pi-subagents/src/inspectors/tmux/plugin.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/inspectors/tmux/plugin.js +0 -15
- package/node_modules/pi-subagents/src/inspectors/tmux/plugin.js.map +0 -1
- package/node_modules/pi-subagents/src/inspectors/types.d.ts +0 -49
- package/node_modules/pi-subagents/src/inspectors/types.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/inspectors/types.js +0 -2
- package/node_modules/pi-subagents/src/inspectors/types.js.map +0 -1
- package/node_modules/pi-subagents/src/integrations/herdr-status.d.ts +0 -48
- package/node_modules/pi-subagents/src/integrations/herdr-status.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/integrations/herdr-status.js +0 -351
- package/node_modules/pi-subagents/src/integrations/herdr-status.js.map +0 -1
- package/node_modules/pi-subagents/src/integrations/pi-web-session-liveness.d.ts +0 -20
- package/node_modules/pi-subagents/src/integrations/pi-web-session-liveness.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/integrations/pi-web-session-liveness.js +0 -54
- package/node_modules/pi-subagents/src/integrations/pi-web-session-liveness.js.map +0 -1
- package/node_modules/pi-subagents/src/integrations/program-status.d.ts +0 -31
- package/node_modules/pi-subagents/src/integrations/program-status.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/integrations/program-status.js +0 -189
- package/node_modules/pi-subagents/src/integrations/program-status.js.map +0 -1
- package/node_modules/pi-subagents/src/intercom/intercom-bridge.d.ts +0 -59
- package/node_modules/pi-subagents/src/intercom/intercom-bridge.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/intercom/intercom-bridge.js +0 -194
- package/node_modules/pi-subagents/src/intercom/intercom-bridge.js.map +0 -1
- package/node_modules/pi-subagents/src/intercom/native-supervisor-channel.d.ts +0 -80
- package/node_modules/pi-subagents/src/intercom/native-supervisor-channel.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/intercom/native-supervisor-channel.js +0 -992
- package/node_modules/pi-subagents/src/intercom/native-supervisor-channel.js.map +0 -1
- package/node_modules/pi-subagents/src/intercom/result-intercom.d.ts +0 -36
- package/node_modules/pi-subagents/src/intercom/result-intercom.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/intercom/result-intercom.js +0 -373
- package/node_modules/pi-subagents/src/intercom/result-intercom.js.map +0 -1
- package/node_modules/pi-subagents/src/intercom/supervisor-ui.d.ts +0 -30
- package/node_modules/pi-subagents/src/intercom/supervisor-ui.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/intercom/supervisor-ui.js +0 -50
- package/node_modules/pi-subagents/src/intercom/supervisor-ui.js.map +0 -1
- package/node_modules/pi-subagents/src/missions/actions.d.ts +0 -55
- package/node_modules/pi-subagents/src/missions/actions.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/missions/actions.js +0 -396
- package/node_modules/pi-subagents/src/missions/actions.js.map +0 -1
- package/node_modules/pi-subagents/src/missions/goal-driver.d.ts +0 -17
- package/node_modules/pi-subagents/src/missions/goal-driver.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/missions/goal-driver.js +0 -172
- package/node_modules/pi-subagents/src/missions/goal-driver.js.map +0 -1
- package/node_modules/pi-subagents/src/missions/lifecycle.d.ts +0 -40
- package/node_modules/pi-subagents/src/missions/lifecycle.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/missions/lifecycle.js +0 -352
- package/node_modules/pi-subagents/src/missions/lifecycle.js.map +0 -1
- package/node_modules/pi-subagents/src/missions/store.d.ts +0 -22
- package/node_modules/pi-subagents/src/missions/store.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/missions/store.js +0 -605
- package/node_modules/pi-subagents/src/missions/store.js.map +0 -1
- package/node_modules/pi-subagents/src/missions/types.d.ts +0 -168
- package/node_modules/pi-subagents/src/missions/types.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/missions/types.js +0 -10
- package/node_modules/pi-subagents/src/missions/types.js.map +0 -1
- package/node_modules/pi-subagents/src/missions/workflow-state.d.ts +0 -15
- package/node_modules/pi-subagents/src/missions/workflow-state.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/missions/workflow-state.js +0 -274
- package/node_modules/pi-subagents/src/missions/workflow-state.js.map +0 -1
- package/node_modules/pi-subagents/src/policy/authority.d.ts +0 -10
- package/node_modules/pi-subagents/src/policy/authority.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/policy/authority.js +0 -42
- package/node_modules/pi-subagents/src/policy/authority.js.map +0 -1
- package/node_modules/pi-subagents/src/profiles/profiles.d.ts +0 -135
- package/node_modules/pi-subagents/src/profiles/profiles.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/profiles/profiles.js +0 -527
- package/node_modules/pi-subagents/src/profiles/profiles.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/active-async-capacity.d.ts +0 -115
- package/node_modules/pi-subagents/src/runs/background/active-async-capacity.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/active-async-capacity.js +0 -512
- package/node_modules/pi-subagents/src/runs/background/active-async-capacity.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/active-run-index.d.ts +0 -13
- package/node_modules/pi-subagents/src/runs/background/active-run-index.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/active-run-index.js +0 -158
- package/node_modules/pi-subagents/src/runs/background/active-run-index.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/async-execution.d.ts +0 -298
- package/node_modules/pi-subagents/src/runs/background/async-execution.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/async-execution.js +0 -2125
- package/node_modules/pi-subagents/src/runs/background/async-execution.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/async-job-tracker.d.ts +0 -33
- package/node_modules/pi-subagents/src/runs/background/async-job-tracker.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/async-job-tracker.js +0 -908
- package/node_modules/pi-subagents/src/runs/background/async-job-tracker.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/async-resume.d.ts +0 -59
- package/node_modules/pi-subagents/src/runs/background/async-resume.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/async-resume.js +0 -678
- package/node_modules/pi-subagents/src/runs/background/async-resume.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/async-retention.d.ts +0 -45
- package/node_modules/pi-subagents/src/runs/background/async-retention.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/async-retention.js +0 -916
- package/node_modules/pi-subagents/src/runs/background/async-retention.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/async-status-snapshot.d.ts +0 -10
- package/node_modules/pi-subagents/src/runs/background/async-status-snapshot.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/async-status-snapshot.js +0 -25
- package/node_modules/pi-subagents/src/runs/background/async-status-snapshot.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/async-status.d.ts +0 -170
- package/node_modules/pi-subagents/src/runs/background/async-status.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/async-status.js +0 -674
- package/node_modules/pi-subagents/src/runs/background/async-status.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/auto-drain.d.ts +0 -17
- package/node_modules/pi-subagents/src/runs/background/auto-drain.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/auto-drain.js +0 -73
- package/node_modules/pi-subagents/src/runs/background/auto-drain.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/await-async-run.d.ts +0 -27
- package/node_modules/pi-subagents/src/runs/background/await-async-run.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/await-async-run.js +0 -88
- package/node_modules/pi-subagents/src/runs/background/await-async-run.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/binary-bootstrap.d.ts +0 -9
- package/node_modules/pi-subagents/src/runs/background/binary-bootstrap.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/binary-bootstrap.js +0 -70
- package/node_modules/pi-subagents/src/runs/background/binary-bootstrap.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/calendar-schedule.d.ts +0 -27
- package/node_modules/pi-subagents/src/runs/background/calendar-schedule.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/calendar-schedule.js +0 -94
- package/node_modules/pi-subagents/src/runs/background/calendar-schedule.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/chain-append.d.ts +0 -35
- package/node_modules/pi-subagents/src/runs/background/chain-append.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/chain-append.js +0 -300
- package/node_modules/pi-subagents/src/runs/background/chain-append.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/chain-root-attachment.d.ts +0 -52
- package/node_modules/pi-subagents/src/runs/background/chain-root-attachment.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/chain-root-attachment.js +0 -187
- package/node_modules/pi-subagents/src/runs/background/chain-root-attachment.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/completion-batcher.d.ts +0 -52
- package/node_modules/pi-subagents/src/runs/background/completion-batcher.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/completion-batcher.js +0 -120
- package/node_modules/pi-subagents/src/runs/background/completion-batcher.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/completion-dedupe.d.ts +0 -14
- package/node_modules/pi-subagents/src/runs/background/completion-dedupe.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/completion-dedupe.js +0 -49
- package/node_modules/pi-subagents/src/runs/background/completion-dedupe.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/completion-replay.d.ts +0 -48
- package/node_modules/pi-subagents/src/runs/background/completion-replay.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/completion-replay.js +0 -267
- package/node_modules/pi-subagents/src/runs/background/completion-replay.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/control-channel.d.ts +0 -171
- package/node_modules/pi-subagents/src/runs/background/control-channel.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/control-channel.js +0 -611
- package/node_modules/pi-subagents/src/runs/background/control-channel.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/fleet-view.d.ts +0 -64
- package/node_modules/pi-subagents/src/runs/background/fleet-view.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/fleet-view.js +0 -667
- package/node_modules/pi-subagents/src/runs/background/fleet-view.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/index-segment.d.ts +0 -16
- package/node_modules/pi-subagents/src/runs/background/index-segment.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/index-segment.js +0 -59
- package/node_modules/pi-subagents/src/runs/background/index-segment.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/inspect-rpc.d.ts +0 -60
- package/node_modules/pi-subagents/src/runs/background/inspect-rpc.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/inspect-rpc.js +0 -406
- package/node_modules/pi-subagents/src/runs/background/inspect-rpc.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/notify.d.ts +0 -192
- package/node_modules/pi-subagents/src/runs/background/notify.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/notify.js +0 -897
- package/node_modules/pi-subagents/src/runs/background/notify.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/owned-process-tree.d.ts +0 -11
- package/node_modules/pi-subagents/src/runs/background/owned-process-tree.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/owned-process-tree.js +0 -117
- package/node_modules/pi-subagents/src/runs/background/owned-process-tree.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/parallel-groups.d.ts +0 -4
- package/node_modules/pi-subagents/src/runs/background/parallel-groups.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/parallel-groups.js +0 -47
- package/node_modules/pi-subagents/src/runs/background/parallel-groups.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/pid-namespace.d.ts +0 -3
- package/node_modules/pi-subagents/src/runs/background/pid-namespace.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/pid-namespace.js +0 -20
- package/node_modules/pi-subagents/src/runs/background/pid-namespace.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/process-terminal-candidate.d.ts +0 -18
- package/node_modules/pi-subagents/src/runs/background/process-terminal-candidate.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/process-terminal-candidate.js +0 -97
- package/node_modules/pi-subagents/src/runs/background/process-terminal-candidate.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/process-terminal.d.ts +0 -22
- package/node_modules/pi-subagents/src/runs/background/process-terminal.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/process-terminal.js +0 -228
- package/node_modules/pi-subagents/src/runs/background/process-terminal.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/result-delivery-ownership.d.ts +0 -11
- package/node_modules/pi-subagents/src/runs/background/result-delivery-ownership.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/result-delivery-ownership.js +0 -37
- package/node_modules/pi-subagents/src/runs/background/result-delivery-ownership.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/result-files.d.ts +0 -62
- package/node_modules/pi-subagents/src/runs/background/result-files.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/result-files.js +0 -626
- package/node_modules/pi-subagents/src/runs/background/result-files.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/result-watcher.d.ts +0 -91
- package/node_modules/pi-subagents/src/runs/background/result-watcher.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/result-watcher.js +0 -797
- package/node_modules/pi-subagents/src/runs/background/result-watcher.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/resume-guidance.d.ts +0 -5
- package/node_modules/pi-subagents/src/runs/background/resume-guidance.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/resume-guidance.js +0 -57
- package/node_modules/pi-subagents/src/runs/background/resume-guidance.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/retained-children.d.ts +0 -25
- package/node_modules/pi-subagents/src/runs/background/retained-children.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/retained-children.js +0 -129
- package/node_modules/pi-subagents/src/runs/background/retained-children.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/retained-nested-route-tracker.d.ts +0 -13
- package/node_modules/pi-subagents/src/runs/background/retained-nested-route-tracker.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/retained-nested-route-tracker.js +0 -91
- package/node_modules/pi-subagents/src/runs/background/retained-nested-route-tracker.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/run-child-session.d.ts +0 -127
- package/node_modules/pi-subagents/src/runs/background/run-child-session.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/run-child-session.js +0 -626
- package/node_modules/pi-subagents/src/runs/background/run-child-session.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/run-id-query.d.ts +0 -4
- package/node_modules/pi-subagents/src/runs/background/run-id-query.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/run-id-query.js +0 -7
- package/node_modules/pi-subagents/src/runs/background/run-id-query.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/run-id-resolver.d.ts +0 -23
- package/node_modules/pi-subagents/src/runs/background/run-id-resolver.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/run-id-resolver.js +0 -173
- package/node_modules/pi-subagents/src/runs/background/run-id-resolver.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/run-status.d.ts +0 -26
- package/node_modules/pi-subagents/src/runs/background/run-status.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/run-status.js +0 -843
- package/node_modules/pi-subagents/src/runs/background/run-status.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/runner-aliases.d.ts +0 -18
- package/node_modules/pi-subagents/src/runs/background/runner-aliases.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/runner-aliases.js +0 -160
- package/node_modules/pi-subagents/src/runs/background/runner-aliases.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/runner-child-launch.d.ts +0 -25
- package/node_modules/pi-subagents/src/runs/background/runner-child-launch.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/runner-child-launch.js +0 -71
- package/node_modules/pi-subagents/src/runs/background/runner-child-launch.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/runner-child-sessions.d.ts +0 -7
- package/node_modules/pi-subagents/src/runs/background/runner-child-sessions.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/runner-child-sessions.js +0 -35
- package/node_modules/pi-subagents/src/runs/background/runner-child-sessions.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/runner-http-dispatcher.d.ts +0 -46
- package/node_modules/pi-subagents/src/runs/background/runner-http-dispatcher.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/runner-http-dispatcher.js +0 -116
- package/node_modules/pi-subagents/src/runs/background/runner-http-dispatcher.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/runner-startup-failure.d.ts +0 -14
- package/node_modules/pi-subagents/src/runs/background/runner-startup-failure.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/runner-startup-failure.js +0 -47
- package/node_modules/pi-subagents/src/runs/background/runner-startup-failure.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/scheduled-runs.d.ts +0 -128
- package/node_modules/pi-subagents/src/runs/background/scheduled-runs.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/scheduled-runs.js +0 -1266
- package/node_modules/pi-subagents/src/runs/background/scheduled-runs.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/stale-run-reconciler.d.ts +0 -38
- package/node_modules/pi-subagents/src/runs/background/stale-run-reconciler.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/stale-run-reconciler.js +0 -421
- package/node_modules/pi-subagents/src/runs/background/stale-run-reconciler.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/steering.d.ts +0 -52
- package/node_modules/pi-subagents/src/runs/background/steering.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/steering.js +0 -247
- package/node_modules/pi-subagents/src/runs/background/steering.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/subagent-runner-bootstrap.d.ts +0 -14
- package/node_modules/pi-subagents/src/runs/background/subagent-runner-bootstrap.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/subagent-runner-bootstrap.js +0 -281
- package/node_modules/pi-subagents/src/runs/background/subagent-runner-bootstrap.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/subagent-runner.d.ts +0 -205
- package/node_modules/pi-subagents/src/runs/background/subagent-runner.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/subagent-runner.js +0 -4919
- package/node_modules/pi-subagents/src/runs/background/subagent-runner.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/subagent-wait.d.ts +0 -124
- package/node_modules/pi-subagents/src/runs/background/subagent-wait.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/subagent-wait.js +0 -749
- package/node_modules/pi-subagents/src/runs/background/subagent-wait.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/terminal-run-index.d.ts +0 -9
- package/node_modules/pi-subagents/src/runs/background/terminal-run-index.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/terminal-run-index.js +0 -169
- package/node_modules/pi-subagents/src/runs/background/terminal-run-index.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/top-level-async.d.ts +0 -8
- package/node_modules/pi-subagents/src/runs/background/top-level-async.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/top-level-async.js +0 -6
- package/node_modules/pi-subagents/src/runs/background/top-level-async.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/wait-completions.d.ts +0 -29
- package/node_modules/pi-subagents/src/runs/background/wait-completions.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/wait-completions.js +0 -265
- package/node_modules/pi-subagents/src/runs/background/wait-completions.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/wait-config.d.ts +0 -9
- package/node_modules/pi-subagents/src/runs/background/wait-config.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/wait-config.js +0 -47
- package/node_modules/pi-subagents/src/runs/background/wait-config.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/wait-subscriptions.d.ts +0 -27
- package/node_modules/pi-subagents/src/runs/background/wait-subscriptions.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/wait-subscriptions.js +0 -337
- package/node_modules/pi-subagents/src/runs/background/wait-subscriptions.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/wait-tool.d.ts +0 -7
- package/node_modules/pi-subagents/src/runs/background/wait-tool.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/wait-tool.js +0 -49
- package/node_modules/pi-subagents/src/runs/background/wait-tool.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/workflow-terminal-proof.d.ts +0 -31
- package/node_modules/pi-subagents/src/runs/background/workflow-terminal-proof.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/background/workflow-terminal-proof.js +0 -90
- package/node_modules/pi-subagents/src/runs/background/workflow-terminal-proof.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/foreground/async-dismiss-action.d.ts +0 -7
- package/node_modules/pi-subagents/src/runs/foreground/async-dismiss-action.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/foreground/async-dismiss-action.js +0 -82
- package/node_modules/pi-subagents/src/runs/foreground/async-dismiss-action.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/foreground/async-steering-action.d.ts +0 -32
- package/node_modules/pi-subagents/src/runs/foreground/async-steering-action.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/foreground/async-steering-action.js +0 -270
- package/node_modules/pi-subagents/src/runs/foreground/async-steering-action.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/foreground/async-stop-action.d.ts +0 -13
- package/node_modules/pi-subagents/src/runs/foreground/async-stop-action.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/foreground/async-stop-action.js +0 -210
- package/node_modules/pi-subagents/src/runs/foreground/async-stop-action.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/foreground/command-action.d.ts +0 -13
- package/node_modules/pi-subagents/src/runs/foreground/command-action.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/foreground/command-action.js +0 -38
- package/node_modules/pi-subagents/src/runs/foreground/command-action.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/foreground/execution.d.ts +0 -11
- package/node_modules/pi-subagents/src/runs/foreground/execution.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/foreground/execution.js +0 -2181
- package/node_modules/pi-subagents/src/runs/foreground/execution.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/foreground/foreground-control.d.ts +0 -25
- package/node_modules/pi-subagents/src/runs/foreground/foreground-control.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/foreground/foreground-control.js +0 -139
- package/node_modules/pi-subagents/src/runs/foreground/foreground-control.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/foreground/foreground-history.d.ts +0 -12
- package/node_modules/pi-subagents/src/runs/foreground/foreground-history.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/foreground/foreground-history.js +0 -166
- package/node_modules/pi-subagents/src/runs/foreground/foreground-history.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/foreground/prompt-audit.d.ts +0 -33
- package/node_modules/pi-subagents/src/runs/foreground/prompt-audit.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/foreground/prompt-audit.js +0 -139
- package/node_modules/pi-subagents/src/runs/foreground/prompt-audit.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/foreground/subagent-executor.d.ts +0 -303
- package/node_modules/pi-subagents/src/runs/foreground/subagent-executor.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/foreground/subagent-executor.js +0 -7629
- package/node_modules/pi-subagents/src/runs/foreground/subagent-executor.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/foreground/workflow-detach-reconcile.d.ts +0 -16
- package/node_modules/pi-subagents/src/runs/foreground/workflow-detach-reconcile.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/foreground/workflow-detach-reconcile.js +0 -284
- package/node_modules/pi-subagents/src/runs/foreground/workflow-detach-reconcile.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/foreground/workflow-foreground-steering.d.ts +0 -44
- package/node_modules/pi-subagents/src/runs/foreground/workflow-foreground-steering.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/foreground/workflow-foreground-steering.js +0 -149
- package/node_modules/pi-subagents/src/runs/foreground/workflow-foreground-steering.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/abort-recovery.d.ts +0 -27
- package/node_modules/pi-subagents/src/runs/shared/abort-recovery.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/abort-recovery.js +0 -109
- package/node_modules/pi-subagents/src/runs/shared/abort-recovery.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/acceptance.d.ts +0 -145
- package/node_modules/pi-subagents/src/runs/shared/acceptance.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/acceptance.js +0 -1617
- package/node_modules/pi-subagents/src/runs/shared/acceptance.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/agent-contract.d.ts +0 -6
- package/node_modules/pi-subagents/src/runs/shared/agent-contract.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/agent-contract.js +0 -36
- package/node_modules/pi-subagents/src/runs/shared/agent-contract.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/async-status-projection.d.ts +0 -97
- package/node_modules/pi-subagents/src/runs/shared/async-status-projection.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/async-status-projection.js +0 -545
- package/node_modules/pi-subagents/src/runs/shared/async-status-projection.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/background-process-options.d.ts +0 -5
- package/node_modules/pi-subagents/src/runs/shared/background-process-options.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/background-process-options.js +0 -7
- package/node_modules/pi-subagents/src/runs/shared/background-process-options.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/capability-ceiling.d.ts +0 -58
- package/node_modules/pi-subagents/src/runs/shared/capability-ceiling.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/capability-ceiling.js +0 -179
- package/node_modules/pi-subagents/src/runs/shared/capability-ceiling.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/chain-outputs.d.ts +0 -19
- package/node_modules/pi-subagents/src/runs/shared/chain-outputs.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/chain-outputs.js +0 -105
- package/node_modules/pi-subagents/src/runs/shared/chain-outputs.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/child-commands.d.ts +0 -28
- package/node_modules/pi-subagents/src/runs/shared/child-commands.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/child-commands.js +0 -250
- package/node_modules/pi-subagents/src/runs/shared/child-commands.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/child-hooks.d.ts +0 -32
- package/node_modules/pi-subagents/src/runs/shared/child-hooks.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/child-hooks.js +0 -174
- package/node_modules/pi-subagents/src/runs/shared/child-hooks.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/child-identity.d.ts +0 -24
- package/node_modules/pi-subagents/src/runs/shared/child-identity.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/child-identity.js +0 -41
- package/node_modules/pi-subagents/src/runs/shared/child-identity.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/child-launch-plan.d.ts +0 -71
- package/node_modules/pi-subagents/src/runs/shared/child-launch-plan.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/child-launch-plan.js +0 -89
- package/node_modules/pi-subagents/src/runs/shared/child-launch-plan.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/child-launch.d.ts +0 -118
- package/node_modules/pi-subagents/src/runs/shared/child-launch.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/child-launch.js +0 -248
- package/node_modules/pi-subagents/src/runs/shared/child-launch.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/child-lifecycle.d.ts +0 -14
- package/node_modules/pi-subagents/src/runs/shared/child-lifecycle.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/child-lifecycle.js +0 -23
- package/node_modules/pi-subagents/src/runs/shared/child-lifecycle.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/child-runtime-config.d.ts +0 -106
- package/node_modules/pi-subagents/src/runs/shared/child-runtime-config.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/child-runtime-config.js +0 -39
- package/node_modules/pi-subagents/src/runs/shared/child-runtime-config.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/child-session.d.ts +0 -172
- package/node_modules/pi-subagents/src/runs/shared/child-session.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/child-session.js +0 -589
- package/node_modules/pi-subagents/src/runs/shared/child-session.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/child-tool-plan.d.ts +0 -77
- package/node_modules/pi-subagents/src/runs/shared/child-tool-plan.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/child-tool-plan.js +0 -386
- package/node_modules/pi-subagents/src/runs/shared/child-tool-plan.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/claude-code-adapter.d.ts +0 -81
- package/node_modules/pi-subagents/src/runs/shared/claude-code-adapter.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/claude-code-adapter.js +0 -256
- package/node_modules/pi-subagents/src/runs/shared/claude-code-adapter.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/codex-exec-adapter.d.ts +0 -26
- package/node_modules/pi-subagents/src/runs/shared/codex-exec-adapter.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/codex-exec-adapter.js +0 -128
- package/node_modules/pi-subagents/src/runs/shared/codex-exec-adapter.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/context-mode.d.ts +0 -13
- package/node_modules/pi-subagents/src/runs/shared/context-mode.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/context-mode.js +0 -39
- package/node_modules/pi-subagents/src/runs/shared/context-mode.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/cursor-agent-adapter.d.ts +0 -27
- package/node_modules/pi-subagents/src/runs/shared/cursor-agent-adapter.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/cursor-agent-adapter.js +0 -100
- package/node_modules/pi-subagents/src/runs/shared/cursor-agent-adapter.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/dynamic-fanout.d.ts +0 -50
- package/node_modules/pi-subagents/src/runs/shared/dynamic-fanout.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/dynamic-fanout.js +0 -274
- package/node_modules/pi-subagents/src/runs/shared/dynamic-fanout.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/effective-system-prompt.d.ts +0 -18
- package/node_modules/pi-subagents/src/runs/shared/effective-system-prompt.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/effective-system-prompt.js +0 -24
- package/node_modules/pi-subagents/src/runs/shared/effective-system-prompt.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/extension-bindings.d.ts +0 -17
- package/node_modules/pi-subagents/src/runs/shared/extension-bindings.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/extension-bindings.js +0 -83
- package/node_modules/pi-subagents/src/runs/shared/extension-bindings.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/external-cli-contract.d.ts +0 -30
- package/node_modules/pi-subagents/src/runs/shared/external-cli-contract.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/external-cli-contract.js +0 -146
- package/node_modules/pi-subagents/src/runs/shared/external-cli-contract.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/external-cli-preflight.d.ts +0 -42
- package/node_modules/pi-subagents/src/runs/shared/external-cli-preflight.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/external-cli-preflight.js +0 -160
- package/node_modules/pi-subagents/src/runs/shared/external-cli-preflight.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/external-cli-runner.d.ts +0 -66
- package/node_modules/pi-subagents/src/runs/shared/external-cli-runner.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/external-cli-runner.js +0 -426
- package/node_modules/pi-subagents/src/runs/shared/external-cli-runner.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/external-job-bridge.d.ts +0 -25
- package/node_modules/pi-subagents/src/runs/shared/external-job-bridge.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/external-job-bridge.js +0 -487
- package/node_modules/pi-subagents/src/runs/shared/external-job-bridge.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/external-job-runner.d.ts +0 -45
- package/node_modules/pi-subagents/src/runs/shared/external-job-runner.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/external-job-runner.js +0 -353
- package/node_modules/pi-subagents/src/runs/shared/external-job-runner.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/fast-mode-extension.d.ts +0 -4
- package/node_modules/pi-subagents/src/runs/shared/fast-mode-extension.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/fast-mode-extension.js +0 -9
- package/node_modules/pi-subagents/src/runs/shared/fast-mode-extension.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/git-environment.d.ts +0 -3
- package/node_modules/pi-subagents/src/runs/shared/git-environment.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/git-environment.js +0 -28
- package/node_modules/pi-subagents/src/runs/shared/git-environment.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/herdr-connection.d.ts +0 -71
- package/node_modules/pi-subagents/src/runs/shared/herdr-connection.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/herdr-connection.js +0 -258
- package/node_modules/pi-subagents/src/runs/shared/herdr-connection.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/herdr-external-adapters.d.ts +0 -148
- package/node_modules/pi-subagents/src/runs/shared/herdr-external-adapters.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/herdr-external-adapters.js +0 -405
- package/node_modules/pi-subagents/src/runs/shared/herdr-external-adapters.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/herdr-machine.d.ts +0 -48
- package/node_modules/pi-subagents/src/runs/shared/herdr-machine.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/herdr-machine.js +0 -247
- package/node_modules/pi-subagents/src/runs/shared/herdr-machine.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/herdr-pi-protocol.d.ts +0 -22
- package/node_modules/pi-subagents/src/runs/shared/herdr-pi-protocol.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/herdr-pi-protocol.js +0 -58
- package/node_modules/pi-subagents/src/runs/shared/herdr-pi-protocol.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/herdr-placed-run.d.ts +0 -268
- package/node_modules/pi-subagents/src/runs/shared/herdr-placed-run.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/herdr-placed-run.js +0 -720
- package/node_modules/pi-subagents/src/runs/shared/herdr-placed-run.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/host-step-status.d.ts +0 -34
- package/node_modules/pi-subagents/src/runs/shared/host-step-status.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/host-step-status.js +0 -245
- package/node_modules/pi-subagents/src/runs/shared/host-step-status.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/lane-metadata.d.ts +0 -24
- package/node_modules/pi-subagents/src/runs/shared/lane-metadata.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/lane-metadata.js +0 -127
- package/node_modules/pi-subagents/src/runs/shared/lane-metadata.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/launch-cwd.d.ts +0 -2
- package/node_modules/pi-subagents/src/runs/shared/launch-cwd.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/launch-cwd.js +0 -17
- package/node_modules/pi-subagents/src/runs/shared/launch-cwd.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/long-running-guard.d.ts +0 -33
- package/node_modules/pi-subagents/src/runs/shared/long-running-guard.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/long-running-guard.js +0 -199
- package/node_modules/pi-subagents/src/runs/shared/long-running-guard.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/mcp-config-sources.d.ts +0 -34
- package/node_modules/pi-subagents/src/runs/shared/mcp-config-sources.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/mcp-config-sources.js +0 -419
- package/node_modules/pi-subagents/src/runs/shared/mcp-config-sources.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/mcp-direct-tool-allowlist.d.ts +0 -87
- package/node_modules/pi-subagents/src/runs/shared/mcp-direct-tool-allowlist.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/mcp-direct-tool-allowlist.js +0 -478
- package/node_modules/pi-subagents/src/runs/shared/mcp-direct-tool-allowlist.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/mcp-direct-tool-grant.d.ts +0 -43
- package/node_modules/pi-subagents/src/runs/shared/mcp-direct-tool-grant.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/mcp-direct-tool-grant.js +0 -160
- package/node_modules/pi-subagents/src/runs/shared/mcp-direct-tool-grant.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/model-resolution-diagnostic.d.ts +0 -34
- package/node_modules/pi-subagents/src/runs/shared/model-resolution-diagnostic.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/model-resolution-diagnostic.js +0 -92
- package/node_modules/pi-subagents/src/runs/shared/model-resolution-diagnostic.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/model-resolution.d.ts +0 -106
- package/node_modules/pi-subagents/src/runs/shared/model-resolution.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/model-resolution.js +0 -405
- package/node_modules/pi-subagents/src/runs/shared/model-resolution.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/model-scope.d.ts +0 -69
- package/node_modules/pi-subagents/src/runs/shared/model-scope.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/model-scope.js +0 -172
- package/node_modules/pi-subagents/src/runs/shared/model-scope.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/mutation-evidence.d.ts +0 -19
- package/node_modules/pi-subagents/src/runs/shared/mutation-evidence.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/mutation-evidence.js +0 -199
- package/node_modules/pi-subagents/src/runs/shared/mutation-evidence.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/nested-events.d.ts +0 -136
- package/node_modules/pi-subagents/src/runs/shared/nested-events.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/nested-events.js +0 -1060
- package/node_modules/pi-subagents/src/runs/shared/nested-events.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/nested-path.d.ts +0 -9
- package/node_modules/pi-subagents/src/runs/shared/nested-path.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/nested-path.js +0 -35
- package/node_modules/pi-subagents/src/runs/shared/nested-path.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/nested-render.d.ts +0 -21
- package/node_modules/pi-subagents/src/runs/shared/nested-render.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/nested-render.js +0 -116
- package/node_modules/pi-subagents/src/runs/shared/nested-render.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/orca-progress-tabs.d.ts +0 -33
- package/node_modules/pi-subagents/src/runs/shared/orca-progress-tabs.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/orca-progress-tabs.js +0 -527
- package/node_modules/pi-subagents/src/runs/shared/orca-progress-tabs.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/parallel-handoff.d.ts +0 -79
- package/node_modules/pi-subagents/src/runs/shared/parallel-handoff.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/parallel-handoff.js +0 -780
- package/node_modules/pi-subagents/src/runs/shared/parallel-handoff.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/parallel-utils.d.ts +0 -170
- package/node_modules/pi-subagents/src/runs/shared/parallel-utils.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/parallel-utils.js +0 -126
- package/node_modules/pi-subagents/src/runs/shared/parallel-utils.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/partial-output.d.ts +0 -25
- package/node_modules/pi-subagents/src/runs/shared/partial-output.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/partial-output.js +0 -36
- package/node_modules/pi-subagents/src/runs/shared/partial-output.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/permissions.d.ts +0 -13
- package/node_modules/pi-subagents/src/runs/shared/permissions.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/permissions.js +0 -93
- package/node_modules/pi-subagents/src/runs/shared/permissions.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/pi-spawn.d.ts +0 -28
- package/node_modules/pi-subagents/src/runs/shared/pi-spawn.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/pi-spawn.js +0 -156
- package/node_modules/pi-subagents/src/runs/shared/pi-spawn.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/process-signal.d.ts +0 -16
- package/node_modules/pi-subagents/src/runs/shared/process-signal.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/process-signal.js +0 -22
- package/node_modules/pi-subagents/src/runs/shared/process-signal.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/readonly-drain-observation.d.ts +0 -26
- package/node_modules/pi-subagents/src/runs/shared/readonly-drain-observation.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/readonly-drain-observation.js +0 -51
- package/node_modules/pi-subagents/src/runs/shared/readonly-drain-observation.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/run-fanout-budget.d.ts +0 -15
- package/node_modules/pi-subagents/src/runs/shared/run-fanout-budget.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/run-fanout-budget.js +0 -259
- package/node_modules/pi-subagents/src/runs/shared/run-fanout-budget.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/runner-launcher.d.ts +0 -12
- package/node_modules/pi-subagents/src/runs/shared/runner-launcher.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/runner-launcher.js +0 -25
- package/node_modules/pi-subagents/src/runs/shared/runner-launcher.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/runtime-acknowledged-extensions.d.ts +0 -8
- package/node_modules/pi-subagents/src/runs/shared/runtime-acknowledged-extensions.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/runtime-acknowledged-extensions.js +0 -45
- package/node_modules/pi-subagents/src/runs/shared/runtime-acknowledged-extensions.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/session-lease.d.ts +0 -70
- package/node_modules/pi-subagents/src/runs/shared/session-lease.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/session-lease.js +0 -251
- package/node_modules/pi-subagents/src/runs/shared/session-lease.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/single-output.d.ts +0 -91
- package/node_modules/pi-subagents/src/runs/shared/single-output.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/single-output.js +0 -350
- package/node_modules/pi-subagents/src/runs/shared/single-output.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/spawn-budget.d.ts +0 -21
- package/node_modules/pi-subagents/src/runs/shared/spawn-budget.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/spawn-budget.js +0 -94
- package/node_modules/pi-subagents/src/runs/shared/spawn-budget.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/structured-output.d.ts +0 -66
- package/node_modules/pi-subagents/src/runs/shared/structured-output.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/structured-output.js +0 -483
- package/node_modules/pi-subagents/src/runs/shared/structured-output.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/subagent-control.d.ts +0 -50
- package/node_modules/pi-subagents/src/runs/shared/subagent-control.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/subagent-control.js +0 -247
- package/node_modules/pi-subagents/src/runs/shared/subagent-control.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/subagent-prompt-runtime.d.ts +0 -64
- package/node_modules/pi-subagents/src/runs/shared/subagent-prompt-runtime.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/subagent-prompt-runtime.js +0 -681
- package/node_modules/pi-subagents/src/runs/shared/subagent-prompt-runtime.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/tool-availability.d.ts +0 -17
- package/node_modules/pi-subagents/src/runs/shared/tool-availability.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/tool-availability.js +0 -30
- package/node_modules/pi-subagents/src/runs/shared/tool-availability.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/tool-budget.d.ts +0 -22
- package/node_modules/pi-subagents/src/runs/shared/tool-budget.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/tool-budget.js +0 -79
- package/node_modules/pi-subagents/src/runs/shared/tool-budget.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/tool-timeout.d.ts +0 -32
- package/node_modules/pi-subagents/src/runs/shared/tool-timeout.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/tool-timeout.js +0 -74
- package/node_modules/pi-subagents/src/runs/shared/tool-timeout.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/usage-budget.d.ts +0 -8
- package/node_modules/pi-subagents/src/runs/shared/usage-budget.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/usage-budget.js +0 -75
- package/node_modules/pi-subagents/src/runs/shared/usage-budget.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/usage-reconciliation.d.ts +0 -9
- package/node_modules/pi-subagents/src/runs/shared/usage-reconciliation.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/usage-reconciliation.js +0 -72
- package/node_modules/pi-subagents/src/runs/shared/usage-reconciliation.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/workflow-async-child-guidance.d.ts +0 -4
- package/node_modules/pi-subagents/src/runs/shared/workflow-async-child-guidance.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/workflow-async-child-guidance.js +0 -18
- package/node_modules/pi-subagents/src/runs/shared/workflow-async-child-guidance.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/workflow-graph.d.ts +0 -32
- package/node_modules/pi-subagents/src/runs/shared/workflow-graph.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/workflow-graph.js +0 -222
- package/node_modules/pi-subagents/src/runs/shared/workflow-graph.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/worktree-cleanup-apply.d.ts +0 -37
- package/node_modules/pi-subagents/src/runs/shared/worktree-cleanup-apply.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/worktree-cleanup-apply.js +0 -179
- package/node_modules/pi-subagents/src/runs/shared/worktree-cleanup-apply.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/worktree-cleanup-plan.d.ts +0 -85
- package/node_modules/pi-subagents/src/runs/shared/worktree-cleanup-plan.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/worktree-cleanup-plan.js +0 -804
- package/node_modules/pi-subagents/src/runs/shared/worktree-cleanup-plan.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/worktree-lock.d.ts +0 -6
- package/node_modules/pi-subagents/src/runs/shared/worktree-lock.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/worktree-lock.js +0 -41
- package/node_modules/pi-subagents/src/runs/shared/worktree-lock.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/worktree-setup-command.d.ts +0 -39
- package/node_modules/pi-subagents/src/runs/shared/worktree-setup-command.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/worktree-setup-command.js +0 -201
- package/node_modules/pi-subagents/src/runs/shared/worktree-setup-command.js.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/worktree.d.ts +0 -182
- package/node_modules/pi-subagents/src/runs/shared/worktree.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/runs/shared/worktree.js +0 -1347
- package/node_modules/pi-subagents/src/runs/shared/worktree.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/accessible-dir.d.ts +0 -12
- package/node_modules/pi-subagents/src/shared/accessible-dir.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/accessible-dir.js +0 -37
- package/node_modules/pi-subagents/src/shared/accessible-dir.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/agent-stream-options.d.ts +0 -6
- package/node_modules/pi-subagents/src/shared/agent-stream-options.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/agent-stream-options.js +0 -4
- package/node_modules/pi-subagents/src/shared/agent-stream-options.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/artifacts.d.ts +0 -23
- package/node_modules/pi-subagents/src/shared/artifacts.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/artifacts.js +0 -273
- package/node_modules/pi-subagents/src/shared/artifacts.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/atomic-json.d.ts +0 -20
- package/node_modules/pi-subagents/src/shared/atomic-json.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/atomic-json.js +0 -62
- package/node_modules/pi-subagents/src/shared/atomic-json.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/capacity-resilient-json.d.ts +0 -27
- package/node_modules/pi-subagents/src/shared/capacity-resilient-json.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/capacity-resilient-json.js +0 -87
- package/node_modules/pi-subagents/src/shared/capacity-resilient-json.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/child-cache-retention.d.ts +0 -30
- package/node_modules/pi-subagents/src/shared/child-cache-retention.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/child-cache-retention.js +0 -41
- package/node_modules/pi-subagents/src/shared/child-cache-retention.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/child-session-name.d.ts +0 -9
- package/node_modules/pi-subagents/src/shared/child-session-name.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/child-session-name.js +0 -41
- package/node_modules/pi-subagents/src/shared/child-session-name.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/child-transcript.d.ts +0 -38
- package/node_modules/pi-subagents/src/shared/child-transcript.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/child-transcript.js +0 -226
- package/node_modules/pi-subagents/src/shared/child-transcript.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/completion-owner.d.ts +0 -3
- package/node_modules/pi-subagents/src/shared/completion-owner.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/completion-owner.js +0 -9
- package/node_modules/pi-subagents/src/shared/completion-owner.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/disabled-features.d.ts +0 -92
- package/node_modules/pi-subagents/src/shared/disabled-features.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/disabled-features.js +0 -113
- package/node_modules/pi-subagents/src/shared/disabled-features.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/display-text.d.ts +0 -6
- package/node_modules/pi-subagents/src/shared/display-text.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/display-text.js +0 -155
- package/node_modules/pi-subagents/src/shared/display-text.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/edit-distance.d.ts +0 -5
- package/node_modules/pi-subagents/src/shared/edit-distance.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/edit-distance.js +0 -33
- package/node_modules/pi-subagents/src/shared/edit-distance.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/extension-context.d.ts +0 -22
- package/node_modules/pi-subagents/src/shared/extension-context.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/extension-context.js +0 -40
- package/node_modules/pi-subagents/src/shared/extension-context.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/file-coalescer.d.ts +0 -12
- package/node_modules/pi-subagents/src/shared/file-coalescer.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/file-coalescer.js +0 -35
- package/node_modules/pi-subagents/src/shared/file-coalescer.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/file-lease.d.ts +0 -5
- package/node_modules/pi-subagents/src/shared/file-lease.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/file-lease.js +0 -101
- package/node_modules/pi-subagents/src/shared/file-lease.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/file-system-retry.d.ts +0 -32
- package/node_modules/pi-subagents/src/shared/file-system-retry.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/file-system-retry.js +0 -85
- package/node_modules/pi-subagents/src/shared/file-system-retry.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/fork-context.d.ts +0 -63
- package/node_modules/pi-subagents/src/shared/fork-context.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/fork-context.js +0 -176
- package/node_modules/pi-subagents/src/shared/fork-context.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/fork-session-cwd.d.ts +0 -3
- package/node_modules/pi-subagents/src/shared/fork-session-cwd.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/fork-session-cwd.js +0 -24
- package/node_modules/pi-subagents/src/shared/fork-session-cwd.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/formatters.d.ts +0 -36
- package/node_modules/pi-subagents/src/shared/formatters.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/formatters.js +0 -138
- package/node_modules/pi-subagents/src/shared/formatters.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/jsonl-writer.d.ts +0 -21
- package/node_modules/pi-subagents/src/shared/jsonl-writer.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/jsonl-writer.js +0 -68
- package/node_modules/pi-subagents/src/shared/jsonl-writer.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/launch-contract.d.ts +0 -64
- package/node_modules/pi-subagents/src/shared/launch-contract.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/launch-contract.js +0 -140
- package/node_modules/pi-subagents/src/shared/launch-contract.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/model-info.d.ts +0 -56
- package/node_modules/pi-subagents/src/shared/model-info.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/model-info.js +0 -104
- package/node_modules/pi-subagents/src/shared/model-info.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/model-response-aliases.d.ts +0 -2
- package/node_modules/pi-subagents/src/shared/model-response-aliases.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/model-response-aliases.js +0 -16
- package/node_modules/pi-subagents/src/shared/model-response-aliases.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/node-executable.d.ts +0 -2
- package/node_modules/pi-subagents/src/shared/node-executable.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/node-executable.js +0 -21
- package/node_modules/pi-subagents/src/shared/node-executable.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/opencode-session-headers.d.ts +0 -13
- package/node_modules/pi-subagents/src/shared/opencode-session-headers.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/opencode-session-headers.js +0 -27
- package/node_modules/pi-subagents/src/shared/opencode-session-headers.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/package-version.d.ts +0 -3
- package/node_modules/pi-subagents/src/shared/package-version.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/package-version.js +0 -15
- package/node_modules/pi-subagents/src/shared/package-version.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/parent-wake.d.ts +0 -24
- package/node_modules/pi-subagents/src/shared/parent-wake.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/parent-wake.js +0 -71
- package/node_modules/pi-subagents/src/shared/parent-wake.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/prompt-resources.d.ts +0 -6
- package/node_modules/pi-subagents/src/shared/prompt-resources.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/prompt-resources.js +0 -11
- package/node_modules/pi-subagents/src/shared/prompt-resources.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/pruned-fork.d.ts +0 -35
- package/node_modules/pi-subagents/src/shared/pruned-fork.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/pruned-fork.js +0 -435
- package/node_modules/pi-subagents/src/shared/pruned-fork.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/required-child-extensions.d.ts +0 -35
- package/node_modules/pi-subagents/src/shared/required-child-extensions.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/required-child-extensions.js +0 -106
- package/node_modules/pi-subagents/src/shared/required-child-extensions.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/runtime-module-path.d.ts +0 -11
- package/node_modules/pi-subagents/src/shared/runtime-module-path.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/runtime-module-path.js +0 -17
- package/node_modules/pi-subagents/src/shared/runtime-module-path.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/session-file-trust.d.ts +0 -2
- package/node_modules/pi-subagents/src/shared/session-file-trust.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/session-file-trust.js +0 -21
- package/node_modules/pi-subagents/src/shared/session-file-trust.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/session-identity.d.ts +0 -7
- package/node_modules/pi-subagents/src/shared/session-identity.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/session-identity.js +0 -7
- package/node_modules/pi-subagents/src/shared/session-identity.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/session-tokens.d.ts +0 -3
- package/node_modules/pi-subagents/src/shared/session-tokens.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/session-tokens.js +0 -59
- package/node_modules/pi-subagents/src/shared/session-tokens.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/settings-file-lease.d.ts +0 -5
- package/node_modules/pi-subagents/src/shared/settings-file-lease.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/settings-file-lease.js +0 -39
- package/node_modules/pi-subagents/src/shared/settings-file-lease.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/settings.d.ts +0 -147
- package/node_modules/pi-subagents/src/shared/settings.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/settings.js +0 -248
- package/node_modules/pi-subagents/src/shared/settings.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/shortcuts.d.ts +0 -2
- package/node_modules/pi-subagents/src/shared/shortcuts.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/shortcuts.js +0 -18
- package/node_modules/pi-subagents/src/shared/shortcuts.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/status-format.d.ts +0 -10
- package/node_modules/pi-subagents/src/shared/status-format.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/status-format.js +0 -61
- package/node_modules/pi-subagents/src/shared/status-format.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/thinking-ceiling.d.ts +0 -14
- package/node_modules/pi-subagents/src/shared/thinking-ceiling.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/thinking-ceiling.js +0 -38
- package/node_modules/pi-subagents/src/shared/thinking-ceiling.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/types.d.ts +0 -2748
- package/node_modules/pi-subagents/src/shared/types.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/types.js +0 -270
- package/node_modules/pi-subagents/src/shared/types.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/utf8.d.ts +0 -6
- package/node_modules/pi-subagents/src/shared/utf8.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/utf8.js +0 -13
- package/node_modules/pi-subagents/src/shared/utf8.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/utils.d.ts +0 -73
- package/node_modules/pi-subagents/src/shared/utils.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/utils.js +0 -596
- package/node_modules/pi-subagents/src/shared/utils.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/watch-strategy.d.ts +0 -3
- package/node_modules/pi-subagents/src/shared/watch-strategy.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/watch-strategy.js +0 -6
- package/node_modules/pi-subagents/src/shared/watch-strategy.js.map +0 -1
- package/node_modules/pi-subagents/src/shared/workflow-child-permit.d.ts +0 -59
- package/node_modules/pi-subagents/src/shared/workflow-child-permit.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/shared/workflow-child-permit.js +0 -160
- package/node_modules/pi-subagents/src/shared/workflow-child-permit.js.map +0 -1
- package/node_modules/pi-subagents/src/slash/delegation-adapters.d.ts +0 -153
- package/node_modules/pi-subagents/src/slash/delegation-adapters.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/slash/delegation-adapters.js +0 -310
- package/node_modules/pi-subagents/src/slash/delegation-adapters.js.map +0 -1
- package/node_modules/pi-subagents/src/slash/delegation-json.d.ts +0 -11
- package/node_modules/pi-subagents/src/slash/delegation-json.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/slash/delegation-json.js +0 -118
- package/node_modules/pi-subagents/src/slash/delegation-json.js.map +0 -1
- package/node_modules/pi-subagents/src/slash/delegation-request.d.ts +0 -13
- package/node_modules/pi-subagents/src/slash/delegation-request.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/slash/delegation-request.js +0 -175
- package/node_modules/pi-subagents/src/slash/delegation-request.js.map +0 -1
- package/node_modules/pi-subagents/src/slash/prompt-template-bridge.d.ts +0 -27
- package/node_modules/pi-subagents/src/slash/prompt-template-bridge.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/slash/prompt-template-bridge.js +0 -393
- package/node_modules/pi-subagents/src/slash/prompt-template-bridge.js.map +0 -1
- package/node_modules/pi-subagents/src/slash/prompt-workflows.d.ts +0 -22
- package/node_modules/pi-subagents/src/slash/prompt-workflows.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/slash/prompt-workflows.js +0 -275
- package/node_modules/pi-subagents/src/slash/prompt-workflows.js.map +0 -1
- package/node_modules/pi-subagents/src/slash/selector.d.ts +0 -48
- package/node_modules/pi-subagents/src/slash/selector.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/slash/selector.js +0 -118
- package/node_modules/pi-subagents/src/slash/selector.js.map +0 -1
- package/node_modules/pi-subagents/src/slash/slash-bridge.d.ts +0 -31
- package/node_modules/pi-subagents/src/slash/slash-bridge.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/slash/slash-bridge.js +0 -133
- package/node_modules/pi-subagents/src/slash/slash-bridge.js.map +0 -1
- package/node_modules/pi-subagents/src/slash/slash-commands.d.ts +0 -11
- package/node_modules/pi-subagents/src/slash/slash-commands.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/slash/slash-commands.js +0 -1060
- package/node_modules/pi-subagents/src/slash/slash-commands.js.map +0 -1
- package/node_modules/pi-subagents/src/slash/slash-live-state.d.ts +0 -22
- package/node_modules/pi-subagents/src/slash/slash-live-state.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/slash/slash-live-state.js +0 -264
- package/node_modules/pi-subagents/src/slash/slash-live-state.js.map +0 -1
- package/node_modules/pi-subagents/src/slash/subagent-cost.d.ts +0 -30
- package/node_modules/pi-subagents/src/slash/subagent-cost.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/slash/subagent-cost.js +0 -311
- package/node_modules/pi-subagents/src/slash/subagent-cost.js.map +0 -1
- package/node_modules/pi-subagents/src/slash/subagents-admin.d.ts +0 -3
- package/node_modules/pi-subagents/src/slash/subagents-admin.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/slash/subagents-admin.js +0 -455
- package/node_modules/pi-subagents/src/slash/subagents-admin.js.map +0 -1
- package/node_modules/pi-subagents/src/tui/fleet-status.d.ts +0 -93
- package/node_modules/pi-subagents/src/tui/fleet-status.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/tui/fleet-status.js +0 -1133
- package/node_modules/pi-subagents/src/tui/fleet-status.js.map +0 -1
- package/node_modules/pi-subagents/src/tui/fleet-transcript.d.ts +0 -52
- package/node_modules/pi-subagents/src/tui/fleet-transcript.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/tui/fleet-transcript.js +0 -502
- package/node_modules/pi-subagents/src/tui/fleet-transcript.js.map +0 -1
- package/node_modules/pi-subagents/src/tui/fleet.d.ts +0 -169
- package/node_modules/pi-subagents/src/tui/fleet.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/tui/fleet.js +0 -1432
- package/node_modules/pi-subagents/src/tui/fleet.js.map +0 -1
- package/node_modules/pi-subagents/src/tui/render-helpers.d.ts +0 -24
- package/node_modules/pi-subagents/src/tui/render-helpers.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/tui/render-helpers.js +0 -101
- package/node_modules/pi-subagents/src/tui/render-helpers.js.map +0 -1
- package/node_modules/pi-subagents/src/tui/render.d.ts +0 -61
- package/node_modules/pi-subagents/src/tui/render.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/tui/render.js +0 -3677
- package/node_modules/pi-subagents/src/tui/render.js.map +0 -1
- package/node_modules/pi-subagents/src/tui/running-tone.d.ts +0 -11
- package/node_modules/pi-subagents/src/tui/running-tone.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/tui/running-tone.js +0 -23
- package/node_modules/pi-subagents/src/tui/running-tone.js.map +0 -1
- package/node_modules/pi-subagents/src/tui/subagent-messages.d.ts +0 -23
- package/node_modules/pi-subagents/src/tui/subagent-messages.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/tui/subagent-messages.js +0 -270
- package/node_modules/pi-subagents/src/tui/subagent-messages.js.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/change-signature.d.ts +0 -8
- package/node_modules/pi-subagents/src/watchdog/change-signature.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/change-signature.js +0 -244
- package/node_modules/pi-subagents/src/watchdog/change-signature.js.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/child-status.d.ts +0 -54
- package/node_modules/pi-subagents/src/watchdog/child-status.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/child-status.js +0 -188
- package/node_modules/pi-subagents/src/watchdog/child-status.js.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/diff-tool.d.ts +0 -26
- package/node_modules/pi-subagents/src/watchdog/diff-tool.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/diff-tool.js +0 -99
- package/node_modules/pi-subagents/src/watchdog/diff-tool.js.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/emission-guard.d.ts +0 -37
- package/node_modules/pi-subagents/src/watchdog/emission-guard.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/emission-guard.js +0 -98
- package/node_modules/pi-subagents/src/watchdog/emission-guard.js.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/guidance.d.ts +0 -4
- package/node_modules/pi-subagents/src/watchdog/guidance.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/guidance.js +0 -20
- package/node_modules/pi-subagents/src/watchdog/guidance.js.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/lsp-diagnostics.d.ts +0 -18
- package/node_modules/pi-subagents/src/watchdog/lsp-diagnostics.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/lsp-diagnostics.js +0 -490
- package/node_modules/pi-subagents/src/watchdog/lsp-diagnostics.js.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/model-selection.d.ts +0 -25
- package/node_modules/pi-subagents/src/watchdog/model-selection.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/model-selection.js +0 -168
- package/node_modules/pi-subagents/src/watchdog/model-selection.js.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/permission-arbiter.d.ts +0 -21
- package/node_modules/pi-subagents/src/watchdog/permission-arbiter.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/permission-arbiter.js +0 -136
- package/node_modules/pi-subagents/src/watchdog/permission-arbiter.js.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/register-child.d.ts +0 -14
- package/node_modules/pi-subagents/src/watchdog/register-child.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/register-child.js +0 -129
- package/node_modules/pi-subagents/src/watchdog/register-child.js.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/register-main.d.ts +0 -10
- package/node_modules/pi-subagents/src/watchdog/register-main.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/register-main.js +0 -400
- package/node_modules/pi-subagents/src/watchdog/register-main.js.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/render.d.ts +0 -4
- package/node_modules/pi-subagents/src/watchdog/render.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/render.js +0 -34
- package/node_modules/pi-subagents/src/watchdog/render.js.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/review.d.ts +0 -37
- package/node_modules/pi-subagents/src/watchdog/review.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/review.js +0 -320
- package/node_modules/pi-subagents/src/watchdog/review.js.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/rules.d.ts +0 -22
- package/node_modules/pi-subagents/src/watchdog/rules.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/rules.js +0 -59
- package/node_modules/pi-subagents/src/watchdog/rules.js.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/runtime.d.ts +0 -196
- package/node_modules/pi-subagents/src/watchdog/runtime.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/runtime.js +0 -867
- package/node_modules/pi-subagents/src/watchdog/runtime.js.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/scope.d.ts +0 -15
- package/node_modules/pi-subagents/src/watchdog/scope.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/scope.js +0 -45
- package/node_modules/pi-subagents/src/watchdog/scope.js.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/settings.d.ts +0 -30
- package/node_modules/pi-subagents/src/watchdog/settings.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/settings.js +0 -481
- package/node_modules/pi-subagents/src/watchdog/settings.js.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/tool-actions.d.ts +0 -18
- package/node_modules/pi-subagents/src/watchdog/tool-actions.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/tool-actions.js +0 -151
- package/node_modules/pi-subagents/src/watchdog/tool-actions.js.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/turn-delta.d.ts +0 -16
- package/node_modules/pi-subagents/src/watchdog/turn-delta.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/turn-delta.js +0 -189
- package/node_modules/pi-subagents/src/watchdog/turn-delta.js.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/types.d.ts +0 -142
- package/node_modules/pi-subagents/src/watchdog/types.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/types.js +0 -28
- package/node_modules/pi-subagents/src/watchdog/types.js.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/warning-format.d.ts +0 -8
- package/node_modules/pi-subagents/src/watchdog/warning-format.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/watchdog/warning-format.js +0 -60
- package/node_modules/pi-subagents/src/watchdog/warning-format.js.map +0 -1
- package/node_modules/pi-subagents/src/workflows/chat-progress.d.ts +0 -38
- package/node_modules/pi-subagents/src/workflows/chat-progress.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/workflows/chat-progress.js +0 -130
- package/node_modules/pi-subagents/src/workflows/chat-progress.js.map +0 -1
- package/node_modules/pi-subagents/src/workflows/host-command.d.ts +0 -31
- package/node_modules/pi-subagents/src/workflows/host-command.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/workflows/host-command.js +0 -228
- package/node_modules/pi-subagents/src/workflows/host-command.js.map +0 -1
- package/node_modules/pi-subagents/src/workflows/scripted-workflow.d.ts +0 -205
- package/node_modules/pi-subagents/src/workflows/scripted-workflow.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/workflows/scripted-workflow.js +0 -2730
- package/node_modules/pi-subagents/src/workflows/scripted-workflow.js.map +0 -1
- package/node_modules/pi-subagents/src/workflows/structured-workflow-scripts.d.ts +0 -10
- package/node_modules/pi-subagents/src/workflows/structured-workflow-scripts.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/workflows/structured-workflow-scripts.js +0 -166
- package/node_modules/pi-subagents/src/workflows/structured-workflow-scripts.js.map +0 -1
- package/node_modules/pi-subagents/src/workflows/workflow-checklist.d.ts +0 -128
- package/node_modules/pi-subagents/src/workflows/workflow-checklist.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/workflows/workflow-checklist.js +0 -315
- package/node_modules/pi-subagents/src/workflows/workflow-checklist.js.map +0 -1
- package/node_modules/pi-subagents/src/workflows/workflow-child-summary.d.ts +0 -20
- package/node_modules/pi-subagents/src/workflows/workflow-child-summary.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/workflows/workflow-child-summary.js +0 -179
- package/node_modules/pi-subagents/src/workflows/workflow-child-summary.js.map +0 -1
- package/node_modules/pi-subagents/src/workflows/workflow-preflight.d.ts +0 -59
- package/node_modules/pi-subagents/src/workflows/workflow-preflight.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/workflows/workflow-preflight.js +0 -289
- package/node_modules/pi-subagents/src/workflows/workflow-preflight.js.map +0 -1
- package/node_modules/pi-subagents/src/workflows/workflow-receipt.d.ts +0 -35
- package/node_modules/pi-subagents/src/workflows/workflow-receipt.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/workflows/workflow-receipt.js +0 -455
- package/node_modules/pi-subagents/src/workflows/workflow-receipt.js.map +0 -1
- package/node_modules/pi-subagents/src/workflows/workflow-resources.d.ts +0 -56
- package/node_modules/pi-subagents/src/workflows/workflow-resources.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/workflows/workflow-resources.js +0 -272
- package/node_modules/pi-subagents/src/workflows/workflow-resources.js.map +0 -1
- package/node_modules/pi-subagents/src/workflows/workflow-reuse.d.ts +0 -51
- package/node_modules/pi-subagents/src/workflows/workflow-reuse.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/workflows/workflow-reuse.js +0 -103
- package/node_modules/pi-subagents/src/workflows/workflow-reuse.js.map +0 -1
- package/node_modules/pi-subagents/src/workflows/workflow-revival.d.ts +0 -32
- package/node_modules/pi-subagents/src/workflows/workflow-revival.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/workflows/workflow-revival.js +0 -111
- package/node_modules/pi-subagents/src/workflows/workflow-revival.js.map +0 -1
- package/node_modules/pi-subagents/src/workflows/workflow-settlement.d.ts +0 -85
- package/node_modules/pi-subagents/src/workflows/workflow-settlement.d.ts.map +0 -1
- package/node_modules/pi-subagents/src/workflows/workflow-settlement.js +0 -204
- package/node_modules/pi-subagents/src/workflows/workflow-settlement.js.map +0 -1
- package/node_modules/undici/LICENSE +0 -21
- package/node_modules/undici/README.md +0 -797
- package/node_modules/undici/docs/docs/api/Agent.md +0 -291
- package/node_modules/undici/docs/docs/api/BalancedPool.md +0 -297
- package/node_modules/undici/docs/docs/api/CacheStorage.md +0 -188
- package/node_modules/undici/docs/docs/api/CacheStore.md +0 -360
- package/node_modules/undici/docs/docs/api/Client.md +0 -533
- package/node_modules/undici/docs/docs/api/ClientStats.md +0 -93
- package/node_modules/undici/docs/docs/api/Connector.md +0 -198
- package/node_modules/undici/docs/docs/api/ContentType.md +0 -97
- package/node_modules/undici/docs/docs/api/Cookies.md +0 -179
- package/node_modules/undici/docs/docs/api/Debug.md +0 -78
- package/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +0 -515
- package/node_modules/undici/docs/docs/api/Dispatcher.md +0 -827
- package/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +0 -171
- package/node_modules/undici/docs/docs/api/Errors.md +0 -524
- package/node_modules/undici/docs/docs/api/EventSource.md +0 -358
- package/node_modules/undici/docs/docs/api/Fetch.md +0 -711
- package/node_modules/undici/docs/docs/api/GlobalInstallation.md +0 -121
- package/node_modules/undici/docs/docs/api/H2CClient.md +0 -385
- package/node_modules/undici/docs/docs/api/Interceptors.md +0 -418
- package/node_modules/undici/docs/docs/api/MockAgent.md +0 -622
- package/node_modules/undici/docs/docs/api/MockCallHistory.md +0 -371
- package/node_modules/undici/docs/docs/api/MockCallHistoryLog.md +0 -206
- package/node_modules/undici/docs/docs/api/MockClient.md +0 -199
- package/node_modules/undici/docs/docs/api/MockErrors.md +0 -63
- package/node_modules/undici/docs/docs/api/MockPool.md +0 -618
- package/node_modules/undici/docs/docs/api/Pool.md +0 -279
- package/node_modules/undici/docs/docs/api/PoolStats.md +0 -141
- package/node_modules/undici/docs/docs/api/ProxyAgent.md +0 -248
- package/node_modules/undici/docs/docs/api/RedirectHandler.md +0 -276
- package/node_modules/undici/docs/docs/api/RetryAgent.md +0 -136
- package/node_modules/undici/docs/docs/api/RetryHandler.md +0 -200
- package/node_modules/undici/docs/docs/api/RoundRobinPool.md +0 -239
- package/node_modules/undici/docs/docs/api/SnapshotAgent.md +0 -361
- package/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +0 -256
- package/node_modules/undici/docs/docs/api/Util.md +0 -82
- package/node_modules/undici/docs/docs/api/WebSocket.md +0 -536
- package/node_modules/undici/docs/docs/api/api-lifecycle.md +0 -159
- package/node_modules/undici/docs/docs/best-practices/client-certificate.md +0 -66
- package/node_modules/undici/docs/docs/best-practices/crawling.md +0 -60
- package/node_modules/undici/docs/docs/best-practices/migrating-from-v7-to-v8.md +0 -233
- package/node_modules/undici/docs/docs/best-practices/mocking-request.md +0 -192
- package/node_modules/undici/docs/docs/best-practices/proxy.md +0 -129
- package/node_modules/undici/docs/docs/best-practices/undici-vs-builtin-fetch.md +0 -226
- package/node_modules/undici/docs/docs/best-practices/writing-tests.md +0 -65
- package/node_modules/undici/docs/docs/getting-started.md +0 -281
- package/node_modules/undici/docs/docs/index.md +0 -784
- package/node_modules/undici/docs/docs/site.json +0 -125
- package/node_modules/undici/docs/docs/type-map.json +0 -79
- package/node_modules/undici/index-fetch.js +0 -65
- package/node_modules/undici/index.d.ts +0 -3
- package/node_modules/undici/index.js +0 -236
- package/node_modules/undici/lib/api/abort-signal.js +0 -59
- package/node_modules/undici/lib/api/api-connect.js +0 -112
- package/node_modules/undici/lib/api/api-pipeline.js +0 -265
- package/node_modules/undici/lib/api/api-request.js +0 -244
- package/node_modules/undici/lib/api/api-stream.js +0 -270
- package/node_modules/undici/lib/api/api-upgrade.js +0 -121
- package/node_modules/undici/lib/api/index.js +0 -7
- package/node_modules/undici/lib/api/readable.js +0 -616
- package/node_modules/undici/lib/cache/memory-cache-store.js +0 -279
- package/node_modules/undici/lib/cache/sqlite-cache-store.js +0 -469
- package/node_modules/undici/lib/core/connect.js +0 -192
- package/node_modules/undici/lib/core/constants.js +0 -120
- package/node_modules/undici/lib/core/diagnostics.js +0 -227
- package/node_modules/undici/lib/core/errors.js +0 -497
- package/node_modules/undici/lib/core/request.js +0 -546
- package/node_modules/undici/lib/core/socks5-client.js +0 -422
- package/node_modules/undici/lib/core/socks5-utils.js +0 -212
- package/node_modules/undici/lib/core/symbols.js +0 -79
- package/node_modules/undici/lib/core/tree.js +0 -160
- package/node_modules/undici/lib/core/util.js +0 -1049
- package/node_modules/undici/lib/dispatcher/agent.js +0 -177
- package/node_modules/undici/lib/dispatcher/balanced-pool.js +0 -217
- package/node_modules/undici/lib/dispatcher/client-h1.js +0 -1801
- package/node_modules/undici/lib/dispatcher/client-h2.js +0 -1781
- package/node_modules/undici/lib/dispatcher/client.js +0 -741
- package/node_modules/undici/lib/dispatcher/dispatcher-base.js +0 -197
- package/node_modules/undici/lib/dispatcher/dispatcher.js +0 -58
- package/node_modules/undici/lib/dispatcher/dispatcher1-wrapper.js +0 -110
- package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +0 -175
- package/node_modules/undici/lib/dispatcher/fixed-queue.js +0 -135
- package/node_modules/undici/lib/dispatcher/h2c-client.js +0 -51
- package/node_modules/undici/lib/dispatcher/pool-base.js +0 -232
- package/node_modules/undici/lib/dispatcher/pool.js +0 -143
- package/node_modules/undici/lib/dispatcher/proxy-agent.js +0 -395
- package/node_modules/undici/lib/dispatcher/retry-agent.js +0 -38
- package/node_modules/undici/lib/dispatcher/round-robin-pool.js +0 -159
- package/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +0 -350
- package/node_modules/undici/lib/encoding/index.js +0 -33
- package/node_modules/undici/lib/global.js +0 -82
- package/node_modules/undici/lib/handler/cache-handler.js +0 -818
- package/node_modules/undici/lib/handler/cache-revalidation-handler.js +0 -134
- package/node_modules/undici/lib/handler/decorator-handler.js +0 -72
- package/node_modules/undici/lib/handler/deduplication-handler.js +0 -466
- package/node_modules/undici/lib/handler/redirect-handler.js +0 -238
- package/node_modules/undici/lib/handler/retry-handler.js +0 -594
- package/node_modules/undici/lib/interceptor/cache.js +0 -671
- package/node_modules/undici/lib/interceptor/decompress.js +0 -394
- package/node_modules/undici/lib/interceptor/deduplicate.js +0 -118
- package/node_modules/undici/lib/interceptor/dns.js +0 -582
- package/node_modules/undici/lib/interceptor/dump.js +0 -99
- package/node_modules/undici/lib/interceptor/redirect.js +0 -21
- package/node_modules/undici/lib/interceptor/response-error.js +0 -95
- package/node_modules/undici/lib/interceptor/retry.js +0 -19
- package/node_modules/undici/lib/llhttp/constants.d.ts +0 -195
- package/node_modules/undici/lib/llhttp/constants.js +0 -531
- package/node_modules/undici/lib/llhttp/llhttp-wasm.js +0 -15
- package/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +0 -15
- package/node_modules/undici/lib/llhttp/utils.d.ts +0 -2
- package/node_modules/undici/lib/llhttp/utils.js +0 -12
- package/node_modules/undici/lib/mock/mock-agent.js +0 -244
- package/node_modules/undici/lib/mock/mock-call-history.js +0 -248
- package/node_modules/undici/lib/mock/mock-client.js +0 -68
- package/node_modules/undici/lib/mock/mock-errors.js +0 -29
- package/node_modules/undici/lib/mock/mock-interceptor.js +0 -227
- package/node_modules/undici/lib/mock/mock-pool.js +0 -68
- package/node_modules/undici/lib/mock/mock-symbols.js +0 -32
- package/node_modules/undici/lib/mock/mock-utils.js +0 -720
- package/node_modules/undici/lib/mock/pending-interceptors-formatter.js +0 -43
- package/node_modules/undici/lib/mock/snapshot-agent.js +0 -371
- package/node_modules/undici/lib/mock/snapshot-recorder.js +0 -623
- package/node_modules/undici/lib/mock/snapshot-utils.js +0 -158
- package/node_modules/undici/lib/util/cache.js +0 -758
- package/node_modules/undici/lib/util/date.js +0 -670
- package/node_modules/undici/lib/util/runtime-features.js +0 -93
- package/node_modules/undici/lib/util/stats.js +0 -32
- package/node_modules/undici/lib/util/timers.js +0 -425
- package/node_modules/undici/lib/web/cache/cache.js +0 -862
- package/node_modules/undici/lib/web/cache/cachestorage.js +0 -152
- package/node_modules/undici/lib/web/cache/util.js +0 -45
- package/node_modules/undici/lib/web/cookies/constants.js +0 -12
- package/node_modules/undici/lib/web/cookies/index.js +0 -199
- package/node_modules/undici/lib/web/cookies/parse.js +0 -318
- package/node_modules/undici/lib/web/cookies/util.js +0 -352
- package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +0 -521
- package/node_modules/undici/lib/web/eventsource/eventsource.js +0 -500
- package/node_modules/undici/lib/web/eventsource/util.js +0 -60
- package/node_modules/undici/lib/web/fetch/LICENSE +0 -21
- package/node_modules/undici/lib/web/fetch/body.js +0 -547
- package/node_modules/undici/lib/web/fetch/constants.js +0 -131
- package/node_modules/undici/lib/web/fetch/data-url.js +0 -596
- package/node_modules/undici/lib/web/fetch/formdata-parser.js +0 -586
- package/node_modules/undici/lib/web/fetch/formdata.js +0 -278
- package/node_modules/undici/lib/web/fetch/global.js +0 -40
- package/node_modules/undici/lib/web/fetch/headers.js +0 -719
- package/node_modules/undici/lib/web/fetch/index.js +0 -2432
- package/node_modules/undici/lib/web/fetch/request.js +0 -1144
- package/node_modules/undici/lib/web/fetch/response.js +0 -639
- package/node_modules/undici/lib/web/fetch/util.js +0 -1530
- package/node_modules/undici/lib/web/infra/index.js +0 -229
- package/node_modules/undici/lib/web/subresource-integrity/Readme.md +0 -9
- package/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +0 -307
- package/node_modules/undici/lib/web/webidl/index.js +0 -1004
- package/node_modules/undici/lib/web/websocket/connection.js +0 -329
- package/node_modules/undici/lib/web/websocket/constants.js +0 -126
- package/node_modules/undici/lib/web/websocket/events.js +0 -331
- package/node_modules/undici/lib/web/websocket/frame.js +0 -127
- package/node_modules/undici/lib/web/websocket/permessage-deflate.js +0 -105
- package/node_modules/undici/lib/web/websocket/receiver.js +0 -507
- package/node_modules/undici/lib/web/websocket/sender.js +0 -109
- package/node_modules/undici/lib/web/websocket/stream/websocketerror.js +0 -104
- package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +0 -496
- package/node_modules/undici/lib/web/websocket/util.js +0 -347
- package/node_modules/undici/lib/web/websocket/websocket.js +0 -780
- package/node_modules/undici/package.json +0 -152
- package/node_modules/undici/scripts/strip-comments.js +0 -10
- package/node_modules/undici/types/README.md +0 -6
- package/node_modules/undici/types/agent.d.ts +0 -30
- package/node_modules/undici/types/api.d.ts +0 -43
- package/node_modules/undici/types/balanced-pool.d.ts +0 -30
- package/node_modules/undici/types/cache-interceptor.d.ts +0 -179
- package/node_modules/undici/types/cache.d.ts +0 -36
- package/node_modules/undici/types/client-stats.d.ts +0 -15
- package/node_modules/undici/types/client.d.ts +0 -184
- package/node_modules/undici/types/connector.d.ts +0 -37
- package/node_modules/undici/types/content-type.d.ts +0 -21
- package/node_modules/undici/types/cookies.d.ts +0 -30
- package/node_modules/undici/types/diagnostics-channel.d.ts +0 -74
- package/node_modules/undici/types/dispatcher.d.ts +0 -253
- package/node_modules/undici/types/dispatcher1-wrapper.d.ts +0 -7
- package/node_modules/undici/types/env-http-proxy-agent.d.ts +0 -22
- package/node_modules/undici/types/errors.d.ts +0 -187
- package/node_modules/undici/types/eventsource.d.ts +0 -66
- package/node_modules/undici/types/fetch.d.ts +0 -235
- package/node_modules/undici/types/formdata.d.ts +0 -108
- package/node_modules/undici/types/global-dispatcher.d.ts +0 -9
- package/node_modules/undici/types/global-origin.d.ts +0 -7
- package/node_modules/undici/types/h2c-client.d.ts +0 -73
- package/node_modules/undici/types/handlers.d.ts +0 -16
- package/node_modules/undici/types/header.d.ts +0 -165
- package/node_modules/undici/types/index.d.ts +0 -93
- package/node_modules/undici/types/interceptors.d.ts +0 -82
- package/node_modules/undici/types/mock-agent.d.ts +0 -69
- package/node_modules/undici/types/mock-call-history.d.ts +0 -111
- package/node_modules/undici/types/mock-client.d.ts +0 -27
- package/node_modules/undici/types/mock-errors.d.ts +0 -12
- package/node_modules/undici/types/mock-interceptor.d.ts +0 -98
- package/node_modules/undici/types/mock-pool.d.ts +0 -27
- package/node_modules/undici/types/patch.d.ts +0 -29
- package/node_modules/undici/types/pool-stats.d.ts +0 -19
- package/node_modules/undici/types/pool.d.ts +0 -39
- package/node_modules/undici/types/proxy-agent.d.ts +0 -36
- package/node_modules/undici/types/readable.d.ts +0 -68
- package/node_modules/undici/types/retry-agent.d.ts +0 -8
- package/node_modules/undici/types/retry-handler.d.ts +0 -125
- package/node_modules/undici/types/round-robin-pool.d.ts +0 -39
- package/node_modules/undici/types/snapshot-agent.d.ts +0 -113
- package/node_modules/undici/types/socks5-proxy-agent.d.ts +0 -27
- package/node_modules/undici/types/util.d.ts +0 -18
- package/node_modules/undici/types/utility.d.ts +0 -7
- package/node_modules/undici/types/webidl.d.ts +0 -346
- package/node_modules/undici/types/websocket.d.ts +0 -188
- package/src/tools/utils/pi-subagent-delegation.ts +0 -121
|
@@ -1,1133 +0,0 @@
|
|
|
1
|
-
import { isKeyRelease, Key, matchesKey, truncateToWidth, visibleWidth } from "@earendil-works/pi-tui";
|
|
2
|
-
import { snapshotExternalRuns } from "../api/external-runs.js";
|
|
3
|
-
import { formatModelThinking } from "../shared/formatters.js";
|
|
4
|
-
import { projectAsyncWorkflowRows } from "../runs/shared/async-status-projection.js";
|
|
5
|
-
import { contextModeLabel } from "../runs/shared/context-mode.js";
|
|
6
|
-
import { formatWorkflowJsonPreview } from "../workflows/scripted-workflow.js";
|
|
7
|
-
import { hostStepReportName, hostStepVerdictLabel } from "../runs/shared/host-step-status.js";
|
|
8
|
-
import { isStaleExtensionContextError, withCachedUiContext } from "../shared/extension-context.js";
|
|
9
|
-
import { inlineWorkflowRenderKey } from "./render.js";
|
|
10
|
-
import { runningTone } from "./running-tone.js";
|
|
11
|
-
import { childThinkingLevel } from "../shared/model-info.js";
|
|
12
|
-
import { formatWorkflowChecklistBottleneck, formatWorkflowChecklistPhase, formatWorkflowChecklistSummary, projectWorkflowChecklist } from "../workflows/workflow-checklist.js";
|
|
13
|
-
export const FLEET_STATUS_WIDGET_KEY = "subagent-fleet-status";
|
|
14
|
-
// Six rows fit the accepted collapsed hierarchy: one owner, four visible descendants, and overflow.
|
|
15
|
-
const MAX_AGENT_ROWS = 6;
|
|
16
|
-
const REFRESH_MS = 500;
|
|
17
|
-
const FLEET_AGENT_IDENTITY_COLORS = [
|
|
18
|
-
"mdLink",
|
|
19
|
-
"mdHeading",
|
|
20
|
-
"syntaxFunction",
|
|
21
|
-
"syntaxKeyword",
|
|
22
|
-
"syntaxNumber",
|
|
23
|
-
"syntaxType",
|
|
24
|
-
"syntaxVariable",
|
|
25
|
-
"customMessageLabel",
|
|
26
|
-
"toolTitle",
|
|
27
|
-
"thinkingMedium",
|
|
28
|
-
"thinkingHigh",
|
|
29
|
-
"mdQuote",
|
|
30
|
-
"bashMode",
|
|
31
|
-
"userMessageText",
|
|
32
|
-
"mdCode",
|
|
33
|
-
"syntaxOperator",
|
|
34
|
-
];
|
|
35
|
-
export function fleetAgentIdentityColor(identity) {
|
|
36
|
-
let hash = 2166136261;
|
|
37
|
-
for (let i = 0; i < identity.length; i++) {
|
|
38
|
-
hash ^= identity.charCodeAt(i);
|
|
39
|
-
hash = Math.imul(hash, 16777619);
|
|
40
|
-
}
|
|
41
|
-
return FLEET_AGENT_IDENTITY_COLORS[(hash >>> 0) % FLEET_AGENT_IDENTITY_COLORS.length];
|
|
42
|
-
}
|
|
43
|
-
export function resolveFleetViewPlacement(value) {
|
|
44
|
-
return value === "aboveEditor" ? "aboveEditor" : "belowEditor";
|
|
45
|
-
}
|
|
46
|
-
export function formatFleetElapsed(ms) {
|
|
47
|
-
return `${Math.max(0, Math.round(ms / 1000))}s`;
|
|
48
|
-
}
|
|
49
|
-
function detailElapsed(row) {
|
|
50
|
-
const duration = row.state === "running" && row.startedAt !== undefined
|
|
51
|
-
? Date.now() - row.startedAt
|
|
52
|
-
: row.durationMs ?? (row.startedAt !== undefined && row.endedAt !== undefined ? row.endedAt - row.startedAt : undefined);
|
|
53
|
-
return duration !== undefined ? formatFleetElapsed(duration) : undefined;
|
|
54
|
-
}
|
|
55
|
-
export function formatFleetTokens(count, window, windowCount = 1) {
|
|
56
|
-
const compact = (value) => value >= 1_000_000
|
|
57
|
-
? `${(value / 1_000_000).toFixed(1)}M`
|
|
58
|
-
: value >= 1_000
|
|
59
|
-
? `${(value / 1_000).toFixed(1)}k`
|
|
60
|
-
: `${Math.max(0, Math.round(value))}`;
|
|
61
|
-
return window !== undefined
|
|
62
|
-
? `↓ ${compact(window)} ${windowCount > 1 ? "Σ windows" : "window"} · ${compact(count)} spent`
|
|
63
|
-
: `↓ ${compact(count)} tokens`;
|
|
64
|
-
}
|
|
65
|
-
function rightAlign(left, right, width) {
|
|
66
|
-
const rightWidth = visibleWidth(right);
|
|
67
|
-
const maxLeftWidth = Math.max(0, width - rightWidth - 1);
|
|
68
|
-
const leftClamped = truncateToWidth(left, maxLeftWidth);
|
|
69
|
-
const gap = Math.max(1, width - visibleWidth(leftClamped) - rightWidth);
|
|
70
|
-
return truncateToWidth(`${leftClamped}${" ".repeat(gap)}${right}`, width);
|
|
71
|
-
}
|
|
72
|
-
function isActiveState(value) {
|
|
73
|
-
return value === "running" || value === "queued" || value === "pending";
|
|
74
|
-
}
|
|
75
|
-
function nestedRunLabel(run) {
|
|
76
|
-
if (run.agent)
|
|
77
|
-
return run.agent;
|
|
78
|
-
if (run.agents?.length)
|
|
79
|
-
return run.agents.length === 1 ? run.agents[0] : `${run.agents.slice(0, 2).join(", ")}${run.agents.length > 2 ? ` +${run.agents.length - 2}` : ""}`;
|
|
80
|
-
return run.id;
|
|
81
|
-
}
|
|
82
|
-
function nestedActivity(node) {
|
|
83
|
-
if (node.currentTool)
|
|
84
|
-
return `tool ${node.currentTool}`;
|
|
85
|
-
if (node.currentPath)
|
|
86
|
-
return node.currentPath.split(/[\\/]/).at(-1);
|
|
87
|
-
if (node.activityState === "needs_attention")
|
|
88
|
-
return "needs attention";
|
|
89
|
-
if (node.activityState === "active_long_running")
|
|
90
|
-
return "long-running";
|
|
91
|
-
return undefined;
|
|
92
|
-
}
|
|
93
|
-
function visibleWorkflowRows(rows, visibleLimit) {
|
|
94
|
-
if (!rows?.length)
|
|
95
|
-
return [];
|
|
96
|
-
if (rows.length <= visibleLimit)
|
|
97
|
-
return rows;
|
|
98
|
-
const selected = new Set();
|
|
99
|
-
for (const [index, row] of rows.entries()) {
|
|
100
|
-
if (!isWorkflowRowTerminal(row))
|
|
101
|
-
selected.add(index);
|
|
102
|
-
if (selected.size >= visibleLimit)
|
|
103
|
-
break;
|
|
104
|
-
}
|
|
105
|
-
for (let index = rows.length - 1; index >= 0 && selected.size < visibleLimit; index--)
|
|
106
|
-
selected.add(index);
|
|
107
|
-
const visible = [...selected].sort((left, right) => left - right).map((index) => rows[index]);
|
|
108
|
-
return [{ name: `… +${rows.length - visible.length} hidden workflow steps`, state: "complete", overflow: rows.length - visible.length }, ...visible];
|
|
109
|
-
}
|
|
110
|
-
function visibleWorkflowPhases(checklist, visibleLimit) {
|
|
111
|
-
const phases = checklist?.phases ?? [];
|
|
112
|
-
if (phases.length <= visibleLimit)
|
|
113
|
-
return phases;
|
|
114
|
-
const selected = new Set();
|
|
115
|
-
for (const [index, phase] of phases.entries()) {
|
|
116
|
-
if (phase.state !== "complete")
|
|
117
|
-
selected.add(index);
|
|
118
|
-
if (selected.size >= visibleLimit)
|
|
119
|
-
break;
|
|
120
|
-
}
|
|
121
|
-
for (let index = phases.length - 1; index >= 0 && selected.size < visibleLimit; index--)
|
|
122
|
-
selected.add(index);
|
|
123
|
-
return [...selected].sort((left, right) => left - right).map((index) => phases[index]);
|
|
124
|
-
}
|
|
125
|
-
function isWorkflowRowTerminal(row) {
|
|
126
|
-
if (row.kind)
|
|
127
|
-
return row.state === "done" || row.state === "cancelled" || row.state === "error";
|
|
128
|
-
return row.state === "complete" || row.state === "completed";
|
|
129
|
-
}
|
|
130
|
-
function nestedStatusGlyph(state, theme, thinking) {
|
|
131
|
-
if (state === "running")
|
|
132
|
-
return runningTone(theme, thinking)("●");
|
|
133
|
-
if (state === "queued" || state === "pending" || state === "planned")
|
|
134
|
-
return theme.fg("muted", "◦");
|
|
135
|
-
if (state === "complete" || state === "completed")
|
|
136
|
-
return theme.fg("success", "✓");
|
|
137
|
-
if (state === "failed" || state === "rejected")
|
|
138
|
-
return theme.fg("error", "✗");
|
|
139
|
-
return theme.fg("warning", "■");
|
|
140
|
-
}
|
|
141
|
-
function nestedStepDisplayCount(steps, start = 0) {
|
|
142
|
-
let count = 0;
|
|
143
|
-
for (let index = start; index < (steps?.length ?? 0); index++) {
|
|
144
|
-
count += 1 + nestedDisplayCount(steps[index].children);
|
|
145
|
-
}
|
|
146
|
-
return count;
|
|
147
|
-
}
|
|
148
|
-
function nestedDisplayCount(children, start = 0) {
|
|
149
|
-
let count = 0;
|
|
150
|
-
for (let index = start; index < (children?.length ?? 0); index++) {
|
|
151
|
-
const child = children[index];
|
|
152
|
-
const steps = (child.mode === "parallel" || child.mode === "chain") ? child.steps ?? [] : [];
|
|
153
|
-
count += steps.length > 0 ? nestedStepDisplayCount(steps) : 1;
|
|
154
|
-
count += nestedDisplayCount(child.children);
|
|
155
|
-
}
|
|
156
|
-
return count;
|
|
157
|
-
}
|
|
158
|
-
function nestedFleetRows(children, visibleLimit) {
|
|
159
|
-
const rows = [];
|
|
160
|
-
let omitted = 0;
|
|
161
|
-
const appendRuns = (runs, depth) => {
|
|
162
|
-
for (let runIndex = 0; runIndex < (runs?.length ?? 0); runIndex++) {
|
|
163
|
-
const child = runs[runIndex];
|
|
164
|
-
const steps = (child.mode === "parallel" || child.mode === "chain") ? child.steps ?? [] : [];
|
|
165
|
-
if (steps.length > 0) {
|
|
166
|
-
for (let stepIndex = 0; stepIndex < steps.length; stepIndex++) {
|
|
167
|
-
if (rows.length >= visibleLimit) {
|
|
168
|
-
omitted += nestedStepDisplayCount(steps, stepIndex);
|
|
169
|
-
omitted += nestedDisplayCount(child.children);
|
|
170
|
-
omitted += nestedDisplayCount(runs, runIndex + 1);
|
|
171
|
-
return false;
|
|
172
|
-
}
|
|
173
|
-
const step = steps[stepIndex];
|
|
174
|
-
const modelThinking = formatModelThinking(step.model, step.thinking) || undefined;
|
|
175
|
-
const thinking = childThinkingLevel(step);
|
|
176
|
-
const activity = nestedActivity(step);
|
|
177
|
-
rows.push({
|
|
178
|
-
name: step.agent,
|
|
179
|
-
agentIdentity: step.agent,
|
|
180
|
-
state: step.status,
|
|
181
|
-
depth,
|
|
182
|
-
...(modelThinking ? { modelThinking } : {}),
|
|
183
|
-
...(thinking ? { thinking } : {}),
|
|
184
|
-
...(activity ? { activity } : {}),
|
|
185
|
-
...(step.startedAt !== undefined ? { startedAt: step.startedAt } : {}),
|
|
186
|
-
...(step.endedAt !== undefined ? { endedAt: step.endedAt } : {}),
|
|
187
|
-
});
|
|
188
|
-
if (!appendRuns(step.children, depth + 1)) {
|
|
189
|
-
omitted += nestedStepDisplayCount(steps, stepIndex + 1);
|
|
190
|
-
omitted += nestedDisplayCount(child.children);
|
|
191
|
-
omitted += nestedDisplayCount(runs, runIndex + 1);
|
|
192
|
-
return false;
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
else {
|
|
197
|
-
if (rows.length >= visibleLimit) {
|
|
198
|
-
omitted += nestedDisplayCount(runs, runIndex);
|
|
199
|
-
return false;
|
|
200
|
-
}
|
|
201
|
-
const modelThinking = formatModelThinking(child.model, child.thinking) || undefined;
|
|
202
|
-
const thinking = childThinkingLevel(child);
|
|
203
|
-
const activity = nestedActivity(child);
|
|
204
|
-
rows.push({
|
|
205
|
-
name: nestedRunLabel(child),
|
|
206
|
-
agentIdentity: child.agent ?? child.agents?.join("\0") ?? child.id,
|
|
207
|
-
state: child.state,
|
|
208
|
-
depth,
|
|
209
|
-
...(modelThinking ? { modelThinking } : {}),
|
|
210
|
-
...(thinking ? { thinking } : {}),
|
|
211
|
-
...(activity ? { activity } : {}),
|
|
212
|
-
...(child.startedAt !== undefined ? { startedAt: child.startedAt } : {}),
|
|
213
|
-
...(child.endedAt !== undefined ? { endedAt: child.endedAt } : {}),
|
|
214
|
-
});
|
|
215
|
-
}
|
|
216
|
-
if (!appendRuns(child.children, depth + 1)) {
|
|
217
|
-
omitted += nestedDisplayCount(runs, runIndex + 1);
|
|
218
|
-
return false;
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
return true;
|
|
222
|
-
};
|
|
223
|
-
appendRuns(children, 0);
|
|
224
|
-
if (omitted > 0)
|
|
225
|
-
rows.push({ name: `… +${omitted} more nested leaves`, state: "complete", depth: 0, overflow: omitted });
|
|
226
|
-
return rows;
|
|
227
|
-
}
|
|
228
|
-
function fleetTreeRows(entries) {
|
|
229
|
-
const rows = [];
|
|
230
|
-
const entryKeys = new Set(entries.map((entry) => entry.key));
|
|
231
|
-
const childrenByParent = new Map();
|
|
232
|
-
for (const entry of entries) {
|
|
233
|
-
if (!entry.parentKey || !entryKeys.has(entry.parentKey))
|
|
234
|
-
continue;
|
|
235
|
-
const children = childrenByParent.get(entry.parentKey) ?? [];
|
|
236
|
-
children.push(entry);
|
|
237
|
-
childrenByParent.set(entry.parentKey, children);
|
|
238
|
-
}
|
|
239
|
-
for (const entry of entries) {
|
|
240
|
-
if (entry.parentKey && entryKeys.has(entry.parentKey))
|
|
241
|
-
continue;
|
|
242
|
-
rows.push({ kind: "owner", entry });
|
|
243
|
-
const attached = childrenByParent.get(entry.key) ?? [];
|
|
244
|
-
const workflowPhases = visibleWorkflowPhases(entry.workflowChecklist, attached.length > 0 ? 2 : 4);
|
|
245
|
-
const workflowRows = visibleWorkflowRows(entry.workflowRows, attached.length > 0 ? 2 : 4);
|
|
246
|
-
for (const [index, child] of attached.entries()) {
|
|
247
|
-
const nested = nestedFleetRows(child.nestedChildren, 3);
|
|
248
|
-
const laterRows = index < attached.length - 1 || workflowPhases.length > 0 || workflowRows.length > 0 || Boolean(entry.nestedChildren?.length);
|
|
249
|
-
rows.push({ kind: "child", entry: child, last: !laterRows && nested.length === 0 });
|
|
250
|
-
for (const [nestedIndex, row] of nested.entries())
|
|
251
|
-
rows.push({
|
|
252
|
-
kind: "nested",
|
|
253
|
-
ownerKey: child.key,
|
|
254
|
-
row: { ...row, depth: row.depth + 1 },
|
|
255
|
-
last: nestedIndex === nested.length - 1 && !laterRows,
|
|
256
|
-
});
|
|
257
|
-
}
|
|
258
|
-
for (const [index, phase] of workflowPhases.entries())
|
|
259
|
-
rows.push({
|
|
260
|
-
kind: "workflow-phase",
|
|
261
|
-
ownerKey: entry.key,
|
|
262
|
-
phase,
|
|
263
|
-
last: index === workflowPhases.length - 1 && workflowRows.length === 0 && !entry.nestedChildren?.length,
|
|
264
|
-
});
|
|
265
|
-
for (const [index, row] of workflowRows.entries())
|
|
266
|
-
rows.push({ kind: "workflow", ownerKey: entry.key, row, last: index === workflowRows.length - 1 && !entry.nestedChildren?.length });
|
|
267
|
-
const nested = nestedFleetRows(entry.nestedChildren, attached.length > 0 ? 3 : 4);
|
|
268
|
-
for (const [index, row] of nested.entries())
|
|
269
|
-
rows.push({ kind: "nested", ownerKey: entry.key, row, last: index === nested.length - 1 });
|
|
270
|
-
}
|
|
271
|
-
return rows;
|
|
272
|
-
}
|
|
273
|
-
function foregroundDescription(control, description) {
|
|
274
|
-
if (!control.parentWorkflowRunId)
|
|
275
|
-
return description;
|
|
276
|
-
const workflow = `workflow child: ${control.parentWorkflowRunId}${control.workflowKey ? ` (${control.workflowKey})` : ""}`;
|
|
277
|
-
return description ? `${workflow} · ${description}` : workflow;
|
|
278
|
-
}
|
|
279
|
-
function workflowIdentityCandidates(step) {
|
|
280
|
-
return [...new Set([step.workflowKey, step.runId].filter((value) => typeof value === "string" && value.length > 0))];
|
|
281
|
-
}
|
|
282
|
-
function asyncJobIdentityCandidates(job) {
|
|
283
|
-
return [...new Set([job.workflowKey, job.asyncId].filter((value) => typeof value === "string" && value.length > 0))];
|
|
284
|
-
}
|
|
285
|
-
function linkedWorkflowParentKey(parentWorkflowRunId, activeWorkflowKeys) {
|
|
286
|
-
if (!parentWorkflowRunId)
|
|
287
|
-
return undefined;
|
|
288
|
-
const parentKey = `async:${parentWorkflowRunId}`;
|
|
289
|
-
return activeWorkflowKeys.has(parentKey) ? parentKey : undefined;
|
|
290
|
-
}
|
|
291
|
-
function workflowStepsWithoutMaterializedChildren(steps, materializedChildIds) {
|
|
292
|
-
if (!steps?.length || !materializedChildIds?.size)
|
|
293
|
-
return steps;
|
|
294
|
-
return steps.filter((step) => !workflowIdentityCandidates(step).some((identity) => materializedChildIds.has(identity)));
|
|
295
|
-
}
|
|
296
|
-
function activeLeafAgentCount(entries) {
|
|
297
|
-
return entries.filter((entry) => !entry.workflowWrapper && !entry.surface).length;
|
|
298
|
-
}
|
|
299
|
-
function projectPaneNeedsAttention(pane) {
|
|
300
|
-
return ["attention", "blocked", "paused", "failed", "error"].some((status) => pane.agentStatus.includes(status))
|
|
301
|
-
|| pane.summary?.includes("⚠") === true;
|
|
302
|
-
}
|
|
303
|
-
function projectName(projectRoot) {
|
|
304
|
-
return projectRoot.split(/[\\/]/).filter(Boolean).at(-1) ?? projectRoot;
|
|
305
|
-
}
|
|
306
|
-
function projectPaneEntries(state) {
|
|
307
|
-
return [...(state.herdrProjectPanes?.values() ?? [])]
|
|
308
|
-
.filter((pane) => pane.state === "open")
|
|
309
|
-
.sort((left, right) => left.openedAt.localeCompare(right.openedAt) || left.projectRoot.localeCompare(right.projectRoot))
|
|
310
|
-
.map((pane) => ({
|
|
311
|
-
key: `project-pane:${pane.projectRoot}`,
|
|
312
|
-
surface: "project-pane",
|
|
313
|
-
agent: `${projectName(pane.projectRoot)} · ${pane.paneId}`,
|
|
314
|
-
description: pane.summary,
|
|
315
|
-
startedAt: Date.parse(pane.openedAt) || pane.refreshedAt,
|
|
316
|
-
tokens: 0,
|
|
317
|
-
state: pane.agentStatus || "unknown",
|
|
318
|
-
projectPane: pane,
|
|
319
|
-
}));
|
|
320
|
-
}
|
|
321
|
-
const reportedFleetWarnings = new Set();
|
|
322
|
-
/**
|
|
323
|
-
* Reports a Fleet problem once per process. Fleet refreshes on a timer, and console output while the TUI owns
|
|
324
|
-
* the terminal is drawn over the editor, so an interactive session gets one TUI warning instead.
|
|
325
|
-
*/
|
|
326
|
-
export function reportFleetWarning(state, message) {
|
|
327
|
-
if (reportedFleetWarnings.has(message))
|
|
328
|
-
return;
|
|
329
|
-
reportedFleetWarnings.add(message);
|
|
330
|
-
const text = `[pi-subagents] ${message}`;
|
|
331
|
-
const cached = state.lastUiContext;
|
|
332
|
-
const notified = withCachedUiContext(cached, () => {
|
|
333
|
-
if (state.lastUiContext === cached)
|
|
334
|
-
state.lastUiContext = null;
|
|
335
|
-
}, (ctx) => {
|
|
336
|
-
ctx.ui.notify(text, "warning");
|
|
337
|
-
return true;
|
|
338
|
-
});
|
|
339
|
-
if (!notified)
|
|
340
|
-
console.warn(text);
|
|
341
|
-
}
|
|
342
|
-
export function collectFleetStatusEntries(state) {
|
|
343
|
-
const now = Date.now();
|
|
344
|
-
const entries = [];
|
|
345
|
-
const activeWorkflowKeys = new Set([...state.asyncJobs.values()]
|
|
346
|
-
.filter((job) => job.mode === "workflow" && isActiveState(job.status))
|
|
347
|
-
.map((job) => `async:${job.asyncId}`));
|
|
348
|
-
const materializedChildrenByWorkflow = new Map();
|
|
349
|
-
for (const job of state.asyncJobs.values()) {
|
|
350
|
-
if (!isActiveState(job.status) || !job.parentWorkflowRunId)
|
|
351
|
-
continue;
|
|
352
|
-
const parentKey = linkedWorkflowParentKey(job.parentWorkflowRunId, activeWorkflowKeys);
|
|
353
|
-
if (!parentKey)
|
|
354
|
-
continue;
|
|
355
|
-
const childIds = materializedChildrenByWorkflow.get(parentKey) ?? new Set();
|
|
356
|
-
for (const identity of asyncJobIdentityCandidates(job))
|
|
357
|
-
childIds.add(identity);
|
|
358
|
-
materializedChildrenByWorkflow.set(parentKey, childIds);
|
|
359
|
-
}
|
|
360
|
-
for (const control of state.foregroundControls.values()) {
|
|
361
|
-
const linkedParentKey = linkedWorkflowParentKey(control.parentWorkflowRunId, activeWorkflowKeys);
|
|
362
|
-
if (control.activeChildren) {
|
|
363
|
-
const nestedChildren = control.nestedChildren ?? [];
|
|
364
|
-
const nestedChildrenByParentStep = new Map();
|
|
365
|
-
for (const nested of nestedChildren) {
|
|
366
|
-
if (nested.parentStepIndex === undefined)
|
|
367
|
-
continue;
|
|
368
|
-
const children = nestedChildrenByParentStep.get(nested.parentStepIndex) ?? [];
|
|
369
|
-
children.push(nested);
|
|
370
|
-
nestedChildrenByParentStep.set(nested.parentStepIndex, children);
|
|
371
|
-
}
|
|
372
|
-
for (const child of [...control.activeChildren.values()].sort((left, right) => left.index - right.index)) {
|
|
373
|
-
const modelThinking = formatModelThinking(child.model, child.thinking) || undefined;
|
|
374
|
-
const childNestedChildren = nestedChildrenByParentStep.get(child.index)
|
|
375
|
-
?? (control.activeChildren.size === 1 && nestedChildren.length ? nestedChildren : undefined);
|
|
376
|
-
entries.push({
|
|
377
|
-
key: `foreground-active:${control.runId}:${child.index}`,
|
|
378
|
-
...(linkedParentKey ? { parentKey: linkedParentKey } : {}),
|
|
379
|
-
agent: child.agent,
|
|
380
|
-
...(modelThinking ? { modelThinking } : {}),
|
|
381
|
-
description: foregroundDescription(control, child.description),
|
|
382
|
-
startedAt: child.startedAt,
|
|
383
|
-
tokens: child.tokens ?? 0,
|
|
384
|
-
...(child.window !== undefined ? { window: child.window } : {}),
|
|
385
|
-
state: "running",
|
|
386
|
-
...(childNestedChildren?.length ? { nestedChildren: childNestedChildren } : {}),
|
|
387
|
-
});
|
|
388
|
-
}
|
|
389
|
-
continue;
|
|
390
|
-
}
|
|
391
|
-
const modelThinking = formatModelThinking(control.model, control.thinking) || undefined;
|
|
392
|
-
entries.push({
|
|
393
|
-
key: `foreground-active:${control.runId}:${control.currentIndex ?? 0}`,
|
|
394
|
-
...(linkedParentKey ? { parentKey: linkedParentKey } : {}),
|
|
395
|
-
agent: control.currentAgent ?? control.mode,
|
|
396
|
-
...(modelThinking ? { modelThinking } : {}),
|
|
397
|
-
description: foregroundDescription(control, control.description),
|
|
398
|
-
startedAt: control.startedAt,
|
|
399
|
-
tokens: control.tokens ?? 0,
|
|
400
|
-
...(control.window !== undefined ? { window: control.window } : {}),
|
|
401
|
-
state: "running",
|
|
402
|
-
...(control.nestedChildren?.length ? { nestedChildren: control.nestedChildren } : {}),
|
|
403
|
-
});
|
|
404
|
-
}
|
|
405
|
-
for (const job of state.asyncJobs.values()) {
|
|
406
|
-
if (!isActiveState(job.status))
|
|
407
|
-
continue;
|
|
408
|
-
const startedAt = job.startedAt ?? job.updatedAt ?? now;
|
|
409
|
-
const linkedParentKey = linkedWorkflowParentKey(job.parentWorkflowRunId, activeWorkflowKeys);
|
|
410
|
-
if (job.mode === "workflow") {
|
|
411
|
-
const latestEmit = job.workflow?.emits?.length ? formatWorkflowJsonPreview(job.workflow.emits.at(-1), 120) : undefined;
|
|
412
|
-
const workflowSteps = workflowStepsWithoutMaterializedChildren(job.steps, materializedChildrenByWorkflow.get(`async:${job.asyncId}`));
|
|
413
|
-
const workflowRows = projectAsyncWorkflowRows(workflowSteps, job.workflowGraph ?? job.hostSteps, job.preflight);
|
|
414
|
-
const workflowChecklist = projectWorkflowChecklist({
|
|
415
|
-
graph: job.workflowGraph,
|
|
416
|
-
steps: job.steps,
|
|
417
|
-
hostSteps: job.hostSteps,
|
|
418
|
-
preflight: job.preflight,
|
|
419
|
-
trace: job.workflow?.trace,
|
|
420
|
-
now,
|
|
421
|
-
});
|
|
422
|
-
entries.push({
|
|
423
|
-
key: `async:${job.asyncId}`,
|
|
424
|
-
...(linkedParentKey ? { parentKey: linkedParentKey } : {}),
|
|
425
|
-
workflowWrapper: true,
|
|
426
|
-
agent: "workflow",
|
|
427
|
-
description: latestEmit !== undefined ? `latest emit: ${latestEmit}` : job.description,
|
|
428
|
-
startedAt,
|
|
429
|
-
tokens: job.totalTokens?.total ?? 0,
|
|
430
|
-
...(job.totalTokens?.window !== undefined ? { window: job.totalTokens.window } : {}),
|
|
431
|
-
state: job.status,
|
|
432
|
-
...(workflowRows.length ? { workflowRows } : {}),
|
|
433
|
-
...(workflowChecklist.total ? { workflowChecklist } : {}),
|
|
434
|
-
...(job.nestedChildren?.length ? { nestedChildren: job.nestedChildren } : {}),
|
|
435
|
-
});
|
|
436
|
-
continue;
|
|
437
|
-
}
|
|
438
|
-
const steps = job.steps?.length
|
|
439
|
-
? job.steps
|
|
440
|
-
: job.agents?.map((agent, index) => {
|
|
441
|
-
const pending = job.status === "queued"
|
|
442
|
-
|| (job.mode === "chain" && !job.activeParallelGroup && index !== (job.currentStep ?? 0));
|
|
443
|
-
return { agent, index, status: pending ? "pending" : "running" };
|
|
444
|
-
});
|
|
445
|
-
if (!steps?.length) {
|
|
446
|
-
entries.push({
|
|
447
|
-
key: `async:${job.asyncId}`,
|
|
448
|
-
...(linkedParentKey ? { parentKey: linkedParentKey } : {}),
|
|
449
|
-
agent: job.mode ?? "subagent",
|
|
450
|
-
description: job.description,
|
|
451
|
-
startedAt,
|
|
452
|
-
tokens: job.totalTokens?.total ?? 0,
|
|
453
|
-
...(job.totalTokens?.window !== undefined ? { window: job.totalTokens.window } : {}),
|
|
454
|
-
state: job.status,
|
|
455
|
-
...(job.nestedChildren?.length ? { nestedChildren: job.nestedChildren } : {}),
|
|
456
|
-
});
|
|
457
|
-
continue;
|
|
458
|
-
}
|
|
459
|
-
for (const [offset, step] of steps.entries()) {
|
|
460
|
-
if (!isActiveState(step.status))
|
|
461
|
-
continue;
|
|
462
|
-
const index = step.index ?? offset;
|
|
463
|
-
if (step.status === "pending" && job.mode === "chain" && !job.activeParallelGroup && index !== (job.currentStep ?? 0))
|
|
464
|
-
continue;
|
|
465
|
-
const modelThinking = formatModelThinking(step.model, step.thinking) || undefined;
|
|
466
|
-
entries.push({
|
|
467
|
-
key: `async:${job.asyncId}:${index}`,
|
|
468
|
-
...(linkedParentKey ? { parentKey: linkedParentKey } : {}),
|
|
469
|
-
agent: step.agent,
|
|
470
|
-
...(step.label ? { displayLabel: `${step.label} (${step.agent})` } : {}),
|
|
471
|
-
...(modelThinking ? { modelThinking } : {}),
|
|
472
|
-
description: step.description ?? job.description,
|
|
473
|
-
startedAt: step.startedAt ?? startedAt,
|
|
474
|
-
tokens: step.tokens?.total ?? (steps.length === 1 ? job.totalTokens?.total ?? 0 : 0),
|
|
475
|
-
...((step.tokens?.window ?? (steps.length === 1 ? job.totalTokens?.window : undefined)) !== undefined
|
|
476
|
-
? { window: step.tokens?.window ?? job.totalTokens?.window }
|
|
477
|
-
: {}),
|
|
478
|
-
state: step.status,
|
|
479
|
-
...((step.children?.length ?? 0) > 0
|
|
480
|
-
? { nestedChildren: step.children }
|
|
481
|
-
: job.nestedChildren?.filter((nested) => nested.parentStepIndex === index).length
|
|
482
|
-
? { nestedChildren: job.nestedChildren.filter((nested) => nested.parentStepIndex === index) }
|
|
483
|
-
: {}),
|
|
484
|
-
});
|
|
485
|
-
}
|
|
486
|
-
}
|
|
487
|
-
if (state.currentSessionId) {
|
|
488
|
-
try {
|
|
489
|
-
for (const run of snapshotExternalRuns(state.currentSessionId, { ignoreMalformed: true, onMalformedRecord: (message) => reportFleetWarning(state, `Removed ${message}`) })) {
|
|
490
|
-
if (!isActiveState(run.state))
|
|
491
|
-
continue;
|
|
492
|
-
entries.push({
|
|
493
|
-
key: `external:${run.id}`,
|
|
494
|
-
agent: `external · ${run.label}`,
|
|
495
|
-
description: run.currentAction ?? `source: ${run.source}`,
|
|
496
|
-
startedAt: run.startedAt,
|
|
497
|
-
tokens: 0,
|
|
498
|
-
state: run.state,
|
|
499
|
-
external: true,
|
|
500
|
-
});
|
|
501
|
-
}
|
|
502
|
-
}
|
|
503
|
-
catch (cause) {
|
|
504
|
-
reportFleetWarning(state, `Failed to inspect external jobs: ${cause instanceof Error ? cause.message : String(cause)}`);
|
|
505
|
-
}
|
|
506
|
-
}
|
|
507
|
-
entries.push(...projectPaneEntries(state));
|
|
508
|
-
return entries.sort((left, right) => left.startedAt - right.startedAt || left.key.localeCompare(right.key));
|
|
509
|
-
}
|
|
510
|
-
export class SubagentFleetStatus {
|
|
511
|
-
ctx;
|
|
512
|
-
ui;
|
|
513
|
-
tui;
|
|
514
|
-
inputUnsubscribe;
|
|
515
|
-
timer;
|
|
516
|
-
widgetRegistered = false;
|
|
517
|
-
active = false;
|
|
518
|
-
selectedKey = "main";
|
|
519
|
-
inspectorOpen = false;
|
|
520
|
-
lastRenderKey = "";
|
|
521
|
-
lastPaint;
|
|
522
|
-
prepaint;
|
|
523
|
-
entries = [];
|
|
524
|
-
workflowSnapshots = new Map();
|
|
525
|
-
onWorkflowCoverageChange;
|
|
526
|
-
state;
|
|
527
|
-
openInspector;
|
|
528
|
-
refreshMs;
|
|
529
|
-
maxAgentRows;
|
|
530
|
-
placement;
|
|
531
|
-
constructor(state, openInspector, options = {}) {
|
|
532
|
-
this.state = state;
|
|
533
|
-
this.openInspector = openInspector;
|
|
534
|
-
this.refreshMs = options.refreshMs ?? REFRESH_MS;
|
|
535
|
-
this.maxAgentRows = options.maxAgentRows ?? MAX_AGENT_ROWS;
|
|
536
|
-
this.placement = options.placement ?? "belowEditor";
|
|
537
|
-
this.onWorkflowCoverageChange = options.onWorkflowCoverageChange;
|
|
538
|
-
}
|
|
539
|
-
setContext(ctx) {
|
|
540
|
-
if (!ctx.hasUI) {
|
|
541
|
-
this.clearUiRegistration();
|
|
542
|
-
return;
|
|
543
|
-
}
|
|
544
|
-
const ui = ctx.ui;
|
|
545
|
-
if (this.ui === ui) {
|
|
546
|
-
this.ctx = ctx;
|
|
547
|
-
this.refresh();
|
|
548
|
-
return;
|
|
549
|
-
}
|
|
550
|
-
this.clearUiRegistration();
|
|
551
|
-
this.ctx = ctx;
|
|
552
|
-
this.ui = ui;
|
|
553
|
-
if (typeof ui.onTerminalInput === "function") {
|
|
554
|
-
this.inputUnsubscribe = ui.onTerminalInput((data) => this.handleKey(data));
|
|
555
|
-
}
|
|
556
|
-
this.timer = setInterval(() => this.refresh(), this.refreshMs);
|
|
557
|
-
this.timer.unref?.();
|
|
558
|
-
this.refresh();
|
|
559
|
-
}
|
|
560
|
-
dispose() {
|
|
561
|
-
this.clearUiRegistration();
|
|
562
|
-
this.ctx = undefined;
|
|
563
|
-
this.ui = undefined;
|
|
564
|
-
this.entries = [];
|
|
565
|
-
this.active = false;
|
|
566
|
-
this.selectedKey = "main";
|
|
567
|
-
this.inspectorOpen = false;
|
|
568
|
-
this.lastRenderKey = "";
|
|
569
|
-
}
|
|
570
|
-
refresh() {
|
|
571
|
-
this.prepaint = undefined;
|
|
572
|
-
const ctx = this.getActiveUiContext();
|
|
573
|
-
if (!ctx)
|
|
574
|
-
return;
|
|
575
|
-
if (this.state.widgetsSuspended) {
|
|
576
|
-
this.clearWidget();
|
|
577
|
-
return;
|
|
578
|
-
}
|
|
579
|
-
this.entries = collectFleetStatusEntries(this.state);
|
|
580
|
-
this.workflowSnapshots.clear();
|
|
581
|
-
if (this.active && !this.inspectorOpen && !this.state.fleetInspectorOpen && this.onWorkflowCoverageChange) {
|
|
582
|
-
const childrenByParent = new Map();
|
|
583
|
-
for (const child of this.state.asyncJobs.values()) {
|
|
584
|
-
if (!child.parentWorkflowRunId)
|
|
585
|
-
continue;
|
|
586
|
-
const children = childrenByParent.get(child.parentWorkflowRunId) ?? [];
|
|
587
|
-
children.push(child);
|
|
588
|
-
childrenByParent.set(child.parentWorkflowRunId, children);
|
|
589
|
-
}
|
|
590
|
-
const attachedByParent = new Map();
|
|
591
|
-
for (const entry of this.entries) {
|
|
592
|
-
if (!entry.parentKey)
|
|
593
|
-
continue;
|
|
594
|
-
const attached = attachedByParent.get(entry.parentKey) ?? [];
|
|
595
|
-
attached.push(entry);
|
|
596
|
-
attachedByParent.set(entry.parentKey, attached);
|
|
597
|
-
}
|
|
598
|
-
for (const job of this.state.asyncJobs.values()) {
|
|
599
|
-
// Fleet does not expand attached workflow wrappers or step descendants.
|
|
600
|
-
// Unknown/unsupported coverage deliberately retains the async tree.
|
|
601
|
-
if (job.mode !== "workflow" || !isActiveState(job.status) || job.parentWorkflowRunId
|
|
602
|
-
|| job.nestedChildren?.length || job.steps?.some((step) => step.children?.length))
|
|
603
|
-
continue;
|
|
604
|
-
const key = `async:${job.asyncId}`;
|
|
605
|
-
const children = childrenByParent.get(job.asyncId) ?? [];
|
|
606
|
-
const attached = attachedByParent.get(key) ?? [];
|
|
607
|
-
if (children.length && job.status !== "running")
|
|
608
|
-
continue;
|
|
609
|
-
// Even without workflow rows, these children plus their owner cannot fit.
|
|
610
|
-
if (attached.length >= this.maxAgentRows)
|
|
611
|
-
continue;
|
|
612
|
-
const rowKeys = new Set();
|
|
613
|
-
let unsupported = false;
|
|
614
|
-
for (const child of children) {
|
|
615
|
-
if (!isActiveState(child.status) || (child.mode !== "single" && child.mode !== "parallel" && child.mode !== "chain")
|
|
616
|
-
|| child.hostSteps?.length || child.workflowGraph
|
|
617
|
-
|| childrenByParent.has(child.asyncId) || child.nestedChildren?.length
|
|
618
|
-
|| child.steps?.some((step) => step.children?.length || step.runner || !isActiveState(step.status))) {
|
|
619
|
-
unsupported = true;
|
|
620
|
-
break;
|
|
621
|
-
}
|
|
622
|
-
const count = child.steps?.length || child.agents?.length || 0;
|
|
623
|
-
if (!count || (child.stepsTotal ?? 0) > count || (child.chainStepCount ?? 0) > count) {
|
|
624
|
-
unsupported = true;
|
|
625
|
-
break;
|
|
626
|
-
}
|
|
627
|
-
for (let index = 0; index < count; index++)
|
|
628
|
-
rowKeys.add(`async:${child.asyncId}:${child.steps?.[index]?.index ?? index}`);
|
|
629
|
-
}
|
|
630
|
-
if (unsupported || attached.length !== rowKeys.size || attached.some((entry) => !rowKeys.has(entry.key)))
|
|
631
|
-
continue;
|
|
632
|
-
this.workflowSnapshots.set(key, { snapshot: inlineWorkflowRenderKey(job, children), childRows: rowKeys });
|
|
633
|
-
}
|
|
634
|
-
}
|
|
635
|
-
this.clampSelection();
|
|
636
|
-
if (this.inspectorOpen || this.state.fleetInspectorOpen) {
|
|
637
|
-
this.lastRenderKey = "";
|
|
638
|
-
this.clearWidget();
|
|
639
|
-
return;
|
|
640
|
-
}
|
|
641
|
-
if (!this.hasInlineSurface()) {
|
|
642
|
-
this.active = false;
|
|
643
|
-
this.selectedKey = "main";
|
|
644
|
-
this.lastRenderKey = "";
|
|
645
|
-
this.clearWidget();
|
|
646
|
-
return;
|
|
647
|
-
}
|
|
648
|
-
const renderKey = this.getRenderKey();
|
|
649
|
-
if (!this.active)
|
|
650
|
-
this.clearWorkflowCoverage();
|
|
651
|
-
// The async widget paints above the roster, so recompute coverage (structure and row fit) now.
|
|
652
|
-
// Clearing it instead would flash the full workflow tree on every live-stat tick.
|
|
653
|
-
else if (renderKey !== this.lastRenderKey && this.lastPaint) {
|
|
654
|
-
const { width, theme } = this.lastPaint;
|
|
655
|
-
this.prepaint = { key: renderKey, width, theme, lines: this.render(width, theme) };
|
|
656
|
-
}
|
|
657
|
-
if (!this.widgetRegistered) {
|
|
658
|
-
ctx.ui.setWidget(FLEET_STATUS_WIDGET_KEY, (tui, theme) => {
|
|
659
|
-
this.tui = tui;
|
|
660
|
-
return {
|
|
661
|
-
render: (width) => {
|
|
662
|
-
this.lastPaint = { width, theme };
|
|
663
|
-
const prepaint = this.prepaint;
|
|
664
|
-
this.prepaint = undefined;
|
|
665
|
-
if (prepaint && prepaint.key === this.lastRenderKey && prepaint.key === this.getRenderKey()
|
|
666
|
-
&& prepaint.width === width && prepaint.theme === theme && !this.state.widgetsSuspended
|
|
667
|
-
&& !this.inspectorOpen && !this.state.fleetInspectorOpen)
|
|
668
|
-
return prepaint.lines;
|
|
669
|
-
return this.render(width, theme);
|
|
670
|
-
},
|
|
671
|
-
invalidate: () => {
|
|
672
|
-
this.lastRenderKey = "";
|
|
673
|
-
this.prepaint = undefined;
|
|
674
|
-
},
|
|
675
|
-
dispose: () => {
|
|
676
|
-
if (this.tui !== tui)
|
|
677
|
-
return;
|
|
678
|
-
this.prepaint = undefined;
|
|
679
|
-
this.lastPaint = undefined;
|
|
680
|
-
this.clearWorkflowCoverage();
|
|
681
|
-
this.widgetRegistered = false;
|
|
682
|
-
this.tui = undefined;
|
|
683
|
-
},
|
|
684
|
-
};
|
|
685
|
-
}, { placement: this.placement });
|
|
686
|
-
this.widgetRegistered = true;
|
|
687
|
-
this.lastRenderKey = renderKey;
|
|
688
|
-
return;
|
|
689
|
-
}
|
|
690
|
-
if (renderKey === this.lastRenderKey) {
|
|
691
|
-
// Repaint anyway while anything is running so the wall-clock
|
|
692
|
-
// spinner animates between state changes (500ms tick).
|
|
693
|
-
if (this.entries.some((entry) => entry.state === "running"))
|
|
694
|
-
this.tui?.requestRender();
|
|
695
|
-
return;
|
|
696
|
-
}
|
|
697
|
-
this.lastRenderKey = renderKey;
|
|
698
|
-
this.tui?.requestRender();
|
|
699
|
-
}
|
|
700
|
-
handleKey(data) {
|
|
701
|
-
if (this.state.widgetsSuspended)
|
|
702
|
-
return undefined;
|
|
703
|
-
const ctx = this.getActiveUiContext();
|
|
704
|
-
if (!ctx || this.entries.length === 0 || isKeyRelease(data))
|
|
705
|
-
return undefined;
|
|
706
|
-
if (this.inspectorOpen)
|
|
707
|
-
return undefined;
|
|
708
|
-
if (!this.editorHasFocus()) {
|
|
709
|
-
if (this.active)
|
|
710
|
-
this.deactivate();
|
|
711
|
-
return undefined;
|
|
712
|
-
}
|
|
713
|
-
if (!this.active) {
|
|
714
|
-
const activates = matchesKey(data, "down") || matchesKey(data, "left");
|
|
715
|
-
if (!activates || ctx.ui.getEditorText() !== "")
|
|
716
|
-
return undefined;
|
|
717
|
-
this.active = true;
|
|
718
|
-
this.selectedKey = "main";
|
|
719
|
-
this.refresh();
|
|
720
|
-
return { consume: true };
|
|
721
|
-
}
|
|
722
|
-
const roster = this.rosterKeys();
|
|
723
|
-
const selectedIndex = Math.max(0, roster.indexOf(this.selectedKey));
|
|
724
|
-
if (matchesKey(data, "down") || matchesKey(data, "j")) {
|
|
725
|
-
this.selectedKey = roster[Math.min(roster.length - 1, selectedIndex + 1)] ?? "main";
|
|
726
|
-
this.refresh();
|
|
727
|
-
return { consume: true };
|
|
728
|
-
}
|
|
729
|
-
if (matchesKey(data, "up") || matchesKey(data, "k")) {
|
|
730
|
-
if (selectedIndex === 0) {
|
|
731
|
-
this.deactivate();
|
|
732
|
-
return { consume: true };
|
|
733
|
-
}
|
|
734
|
-
this.selectedKey = roster[selectedIndex - 1] ?? "main";
|
|
735
|
-
this.refresh();
|
|
736
|
-
return { consume: true };
|
|
737
|
-
}
|
|
738
|
-
if (matchesKey(data, "escape")) {
|
|
739
|
-
this.deactivate();
|
|
740
|
-
return { consume: true };
|
|
741
|
-
}
|
|
742
|
-
if (matchesKey(data, Key.enter)) {
|
|
743
|
-
if (this.selectedKey === "main") {
|
|
744
|
-
this.deactivate();
|
|
745
|
-
return { consume: true };
|
|
746
|
-
}
|
|
747
|
-
this.inspectorOpen = true;
|
|
748
|
-
this.refresh();
|
|
749
|
-
const selectedKey = this.selectedKey;
|
|
750
|
-
void Promise.resolve()
|
|
751
|
-
.then(() => this.openInspector(selectedKey))
|
|
752
|
-
.catch((error) => ctx.ui.notify(error instanceof Error ? error.message : String(error), "error"))
|
|
753
|
-
.finally(() => {
|
|
754
|
-
this.inspectorOpen = false;
|
|
755
|
-
this.refresh();
|
|
756
|
-
});
|
|
757
|
-
return { consume: true };
|
|
758
|
-
}
|
|
759
|
-
this.deactivate();
|
|
760
|
-
return undefined;
|
|
761
|
-
}
|
|
762
|
-
render(width, theme) {
|
|
763
|
-
if (!this.hasInlineSurface() || this.state.widgetsSuspended || this.inspectorOpen || this.state.fleetInspectorOpen) {
|
|
764
|
-
this.clearWorkflowCoverage();
|
|
765
|
-
return [];
|
|
766
|
-
}
|
|
767
|
-
if (!this.active) {
|
|
768
|
-
this.clearWorkflowCoverage();
|
|
769
|
-
const workEntries = this.entries.filter((entry) => !entry.surface);
|
|
770
|
-
const projectEntries = this.entries.filter((entry) => entry.surface === "project-pane");
|
|
771
|
-
// Workflow totals can overlap child usage and omit live lanes. Do not
|
|
772
|
-
// present either wrapper totals or an active-only sum as workflow spend.
|
|
773
|
-
const hasWorkflow = workEntries.some((entry) => entry.workflowWrapper);
|
|
774
|
-
const nativeEntries = workEntries.filter((entry) => !entry.external && !entry.workflowWrapper && !entry.parentKey);
|
|
775
|
-
const tokens = nativeEntries.reduce((total, entry) => total + entry.tokens, 0);
|
|
776
|
-
const window = nativeEntries.length > 0 && nativeEntries.every((entry) => entry.window !== undefined)
|
|
777
|
-
? nativeEntries.reduce((total, entry) => total + entry.window, 0)
|
|
778
|
-
: undefined;
|
|
779
|
-
const capacity = this.state.activeAsyncCapacity;
|
|
780
|
-
const hasNativeRows = nativeEntries.length > 0 || hasWorkflow;
|
|
781
|
-
const showNativeSummary = hasNativeRows || Boolean(capacity?.used);
|
|
782
|
-
const asyncRuns = capacity && showNativeSummary && (capacity.used > 0 || capacity.limit > 0) ? `Async runs ${capacity.used}/${capacity.limit || "∞"}` : "";
|
|
783
|
-
const activeEntries = activeLeafAgentCount(workEntries);
|
|
784
|
-
const noun = workEntries.some((entry) => entry.external) ? "job" : "agent";
|
|
785
|
-
const agents = activeEntries > 0 ? `${activeEntries} active ${noun}${activeEntries === 1 ? "" : "s"}` : "";
|
|
786
|
-
const paneAttention = projectEntries.filter((entry) => entry.projectPane && projectPaneNeedsAttention(entry.projectPane)).length;
|
|
787
|
-
const panes = projectEntries.length > 0 ? `${projectEntries.length} pane${projectEntries.length === 1 ? "" : "s"}${paneAttention ? ` (${paneAttention} ⚠)` : ""}` : "";
|
|
788
|
-
const label = [agents, asyncRuns, panes].filter(Boolean).join(" · ");
|
|
789
|
-
const nativeUsage = formatFleetTokens(tokens, window, nativeEntries.length);
|
|
790
|
-
const usage = hasWorkflow
|
|
791
|
-
? nativeEntries.length > 0 ? `standalone: ${nativeUsage} · workflow usage on child rows` : "usage on child rows"
|
|
792
|
-
: nativeUsage;
|
|
793
|
-
const detail = [showNativeSummary ? usage : undefined, "↓/← to inspect"].filter(Boolean).join(" · ");
|
|
794
|
-
return [truncateToWidth(` ${theme.fg("muted", label)}${label && detail ? " · " : ""}${theme.fg("dim", detail)}`, width)];
|
|
795
|
-
}
|
|
796
|
-
const roster = this.rosterKeys();
|
|
797
|
-
const selectedIndex = Math.max(0, roster.indexOf(this.selectedKey));
|
|
798
|
-
const rosterIndexByKey = new Map();
|
|
799
|
-
for (const [index, entry] of this.entries.entries()) {
|
|
800
|
-
if (!rosterIndexByKey.has(entry.key))
|
|
801
|
-
rosterIndexByKey.set(entry.key, index + 1);
|
|
802
|
-
}
|
|
803
|
-
const lines = [truncateToWidth(` ${theme.fg("dim", "↑↓/jk select · enter inspect · esc back")}`, width), ""];
|
|
804
|
-
lines.push(truncateToWidth(` ${this.bullet(0, selectedIndex, theme)} main`, width));
|
|
805
|
-
const workEntries = this.entries.filter((entry) => !entry.surface);
|
|
806
|
-
const tree = fleetTreeRows(workEntries);
|
|
807
|
-
const selectedTreeIndex = Math.max(0, tree.findIndex((row) => (row.kind === "owner" || row.kind === "child") && row.entry.key === this.selectedKey));
|
|
808
|
-
const visibleCount = Math.min(this.maxAgentRows, tree.length);
|
|
809
|
-
const start = selectedTreeIndex < visibleCount ? 0 : selectedTreeIndex - visibleCount + 1;
|
|
810
|
-
const hiddenBelow = tree.length - (start + visibleCount);
|
|
811
|
-
if (start > 0)
|
|
812
|
-
lines.push(rightAlign("", theme.fg("dim", `↑ ${start} more`), width));
|
|
813
|
-
for (let index = start; index < start + visibleCount; index++) {
|
|
814
|
-
const row = tree[index];
|
|
815
|
-
if (row.kind === "owner" || row.kind === "child") {
|
|
816
|
-
const rosterIndex = rosterIndexByKey.get(row.entry.key) ?? 0;
|
|
817
|
-
lines.push(this.renderEntry(rosterIndex, selectedIndex, row.entry, width, theme, row.kind === "child" ? (row.last ? "└─" : "├─") : undefined));
|
|
818
|
-
}
|
|
819
|
-
else if (row.kind === "workflow") {
|
|
820
|
-
lines.push(this.renderWorkflowRow(row.row, row.last, width, theme));
|
|
821
|
-
}
|
|
822
|
-
else if (row.kind === "workflow-phase") {
|
|
823
|
-
lines.push(this.renderWorkflowPhaseRow(row.phase, row.last, width, theme));
|
|
824
|
-
}
|
|
825
|
-
else {
|
|
826
|
-
lines.push(this.renderNestedRow(row.row, row.last, width, theme));
|
|
827
|
-
}
|
|
828
|
-
}
|
|
829
|
-
if (hiddenBelow > 0)
|
|
830
|
-
lines.push(rightAlign("", theme.fg("dim", `↓ ${hiddenBelow} more`), width));
|
|
831
|
-
if (this.ui && this.widgetRegistered && this.onWorkflowCoverageChange) {
|
|
832
|
-
const coverage = new Map();
|
|
833
|
-
for (const [key, { snapshot, childRows }] of this.workflowSnapshots) {
|
|
834
|
-
const ownerIndex = tree.findIndex((row) => row.kind === "owner" && row.entry.key === key);
|
|
835
|
-
const owner = tree[ownerIndex];
|
|
836
|
-
if (owner?.kind !== "owner" || ownerIndex < start)
|
|
837
|
-
continue;
|
|
838
|
-
const count = childRows.size + (owner.entry.workflowRows?.length ?? 0) + (owner.entry.workflowChecklist?.phases.length ?? 0);
|
|
839
|
-
if (!count || ownerIndex + count >= start + visibleCount)
|
|
840
|
-
continue;
|
|
841
|
-
const descendants = tree.slice(ownerIndex + 1, ownerIndex + count + 1);
|
|
842
|
-
if (!descendants.every((row) => (row.kind === "workflow" && row.ownerKey === key && !row.row.overflow
|
|
843
|
-
&& visibleWidth(this.renderWorkflowRow(row.row, row.last, Infinity, theme)) <= width)
|
|
844
|
-
|| (row.kind === "workflow-phase" && row.ownerKey === key
|
|
845
|
-
&& visibleWidth(this.renderWorkflowPhaseRow(row.phase, row.last, Infinity, theme)) <= width)
|
|
846
|
-
|| (row.kind === "child" && childRows.has(row.entry.key)
|
|
847
|
-
&& visibleWidth(this.renderEntry(rosterIndexByKey.get(row.entry.key) ?? 0, selectedIndex, row.entry, 0, theme, row.last ? "└─" : "├─", true)) <= width)))
|
|
848
|
-
continue;
|
|
849
|
-
if (childRows.size && visibleWidth(this.renderEntry(rosterIndexByKey.get(key) ?? 0, selectedIndex, owner.entry, 0, theme, undefined, true)) > width)
|
|
850
|
-
continue;
|
|
851
|
-
coverage.set(key.slice("async:".length), snapshot);
|
|
852
|
-
}
|
|
853
|
-
this.onWorkflowCoverageChange(this.ui, coverage);
|
|
854
|
-
}
|
|
855
|
-
this.renderProjectPaneSection(lines, selectedIndex, width, theme, rosterIndexByKey);
|
|
856
|
-
return lines;
|
|
857
|
-
}
|
|
858
|
-
renderProjectPaneSection(lines, selectedIndex, width, theme, rosterIndexByKey) {
|
|
859
|
-
const entries = this.entries.filter((entry) => entry.surface === "project-pane");
|
|
860
|
-
if (!entries.length)
|
|
861
|
-
return;
|
|
862
|
-
lines.push("", truncateToWidth(` ${theme.fg("dim", "project panes")}`, width));
|
|
863
|
-
for (const entry of entries) {
|
|
864
|
-
const rosterIndex = rosterIndexByKey.get(entry.key) ?? 0;
|
|
865
|
-
lines.push(this.renderEntry(rosterIndex, selectedIndex, entry, width, theme));
|
|
866
|
-
}
|
|
867
|
-
}
|
|
868
|
-
renderEntry(rosterIndex, selectedIndex, entry, width, theme, branch, unclipped = false) {
|
|
869
|
-
const label = entry.displayLabel ?? entry.agent;
|
|
870
|
-
const agent = entry.modelThinking ? `${label} (${entry.modelThinking})` : label;
|
|
871
|
-
const prefix = branch ? ` ${branch}` : " ";
|
|
872
|
-
const checklist = entry.workflowWrapper && entry.workflowChecklist
|
|
873
|
-
? ` · checklist ${formatWorkflowChecklistSummary(entry.workflowChecklist)}${entry.workflowChecklist.bottleneck ? ` · bottleneck ${formatWorkflowChecklistBottleneck(entry.workflowChecklist.bottleneck)}` : ""}`
|
|
874
|
-
: "";
|
|
875
|
-
const left = `${prefix} ${this.bullet(rosterIndex, selectedIndex, theme)} ${theme.fg(fleetAgentIdentityColor(entry.agent), agent)} · ${entry.state}${checklist}`;
|
|
876
|
-
const elapsed = Date.now() - entry.startedAt;
|
|
877
|
-
const rightText = entry.projectPane
|
|
878
|
-
? `${entry.projectPane.summary ?? "—"} · ${formatFleetElapsed(Date.now() - entry.projectPane.refreshedAt)} ago`
|
|
879
|
-
: entry.external ? formatFleetElapsed(elapsed) : `${formatFleetElapsed(elapsed)} · ${entry.workflowWrapper ? "usage on child rows" : formatFleetTokens(entry.tokens, entry.window)}`;
|
|
880
|
-
const right = theme.fg("dim", rightText);
|
|
881
|
-
if (unclipped)
|
|
882
|
-
return `${left} ${right}`;
|
|
883
|
-
return rightAlign(left, right, width);
|
|
884
|
-
}
|
|
885
|
-
renderNestedRow(row, last, width, theme) {
|
|
886
|
-
const marker = last ? "└─" : "├─";
|
|
887
|
-
const indent = " ".repeat(row.depth + 1);
|
|
888
|
-
if (row.overflow !== undefined)
|
|
889
|
-
return truncateToWidth(`${indent}${marker} ${theme.fg("dim", `+${row.overflow} nested leaves`)}`, width);
|
|
890
|
-
const modelThinking = row.modelThinking ? ` (${row.modelThinking})` : "";
|
|
891
|
-
const activity = row.activity ? ` · ${row.activity}` : "";
|
|
892
|
-
const left = `${indent}${marker} ${nestedStatusGlyph(row.state, theme, row.thinking)} ${theme.fg(fleetAgentIdentityColor(row.agentIdentity ?? row.name), `${row.name}${modelThinking}`)} · ${row.state}${activity}`;
|
|
893
|
-
const elapsed = detailElapsed(row);
|
|
894
|
-
return truncateToWidth(`${left}${elapsed !== undefined ? theme.fg("dim", ` · ${elapsed}`) : ""}`, width);
|
|
895
|
-
}
|
|
896
|
-
workflowRowGlyph(row, theme) {
|
|
897
|
-
if (!row.kind)
|
|
898
|
-
return nestedStatusGlyph(row.state, theme, row.thinking);
|
|
899
|
-
const state = row.state;
|
|
900
|
-
if (state === "pending")
|
|
901
|
-
return theme.fg("muted", "◦");
|
|
902
|
-
if (state === "running")
|
|
903
|
-
return theme.fg("accent", "●");
|
|
904
|
-
if (state === "done")
|
|
905
|
-
return row.verdict === "pass" ? theme.fg("success", "✓") : row.verdict === "fail" ? theme.fg("error", "✗") : theme.fg("warning", "■");
|
|
906
|
-
if (state === "error")
|
|
907
|
-
return theme.fg("error", "✗");
|
|
908
|
-
return theme.fg("warning", "■");
|
|
909
|
-
}
|
|
910
|
-
workflowRowStateLabel(row, theme) {
|
|
911
|
-
const state = row.kind ? hostStepVerdictLabel(row.state, row.verdict) : row.state;
|
|
912
|
-
if (state === "running")
|
|
913
|
-
return row.kind ? theme.fg("accent", state) : runningTone(theme, row.thinking)(state);
|
|
914
|
-
if (state === "pending" || state === "queued")
|
|
915
|
-
return theme.fg("muted", state);
|
|
916
|
-
if (state === "pass" || state === "complete" || state === "completed")
|
|
917
|
-
return theme.fg("success", state === "pass" ? "pass" : "complete");
|
|
918
|
-
if (state === "fail" || state === "failed" || state === "error")
|
|
919
|
-
return theme.fg("error", state === "fail" ? "fail" : state);
|
|
920
|
-
return theme.fg("warning", state);
|
|
921
|
-
}
|
|
922
|
-
renderWorkflowPhaseRow(phase, last, width, theme) {
|
|
923
|
-
const marker = last ? "└─" : "├─";
|
|
924
|
-
const glyph = phase.state === "complete"
|
|
925
|
-
? theme.fg("success", "✓")
|
|
926
|
-
: phase.state === "running"
|
|
927
|
-
? runningTone(theme)("●")
|
|
928
|
-
: phase.state === "blocked" || phase.state === "failed"
|
|
929
|
-
? theme.fg("error", phase.state === "blocked" ? "!" : "✗")
|
|
930
|
-
: phase.state === "queued"
|
|
931
|
-
? theme.fg("muted", "◦")
|
|
932
|
-
: theme.fg("warning", "■");
|
|
933
|
-
return truncateToWidth(` ${marker} ${glyph} ${theme.fg("muted", formatWorkflowChecklistPhase(phase))}`, width);
|
|
934
|
-
}
|
|
935
|
-
renderWorkflowRow(row, last, width, theme) {
|
|
936
|
-
const marker = last ? "└─" : "├─";
|
|
937
|
-
const indent = " ";
|
|
938
|
-
if (row.overflow !== undefined)
|
|
939
|
-
return truncateToWidth(`${indent}${marker} ${theme.fg("dim", `+${row.overflow} hidden workflow steps`)}`, width);
|
|
940
|
-
const context = contextModeLabel(row.context);
|
|
941
|
-
const modelThinking = row.modelThinking ? ` (${row.modelThinking})` : "";
|
|
942
|
-
const activity = row.activity ? ` · ${row.activity}` : "";
|
|
943
|
-
const kind = row.kind ? `${row.kind}: ` : "";
|
|
944
|
-
const hints = row.preflight ? [
|
|
945
|
-
row.preflight.mode ? `mode:${row.preflight.mode}` : undefined,
|
|
946
|
-
row.preflight.decision ? `decision:${row.preflight.decision}` : undefined,
|
|
947
|
-
row.preflight.claims?.length ? `claims:${row.preflight.claims.join(",")}` : undefined,
|
|
948
|
-
row.preflight.expectedOutput ? `expected:${row.preflight.expectedOutput}` : undefined,
|
|
949
|
-
row.preflight.independence ? `independence:${row.preflight.independence}` : undefined,
|
|
950
|
-
].filter((value) => Boolean(value)).join(" · ") : "";
|
|
951
|
-
const left = `${indent}${marker} ${this.workflowRowGlyph(row, theme)} ${theme.fg("muted", `${kind}${row.name}${context ? ` ${context}` : ""}${modelThinking}`)} · ${this.workflowRowStateLabel(row, theme)}${activity}${hints ? ` · ${hints}` : ""}`;
|
|
952
|
-
const details = [
|
|
953
|
-
detailElapsed(row),
|
|
954
|
-
row.tokens !== undefined ? formatFleetTokens(row.tokens, row.window) : undefined,
|
|
955
|
-
row.provider ? `provider:${row.provider}` : undefined,
|
|
956
|
-
row.role ? `role:${row.role}` : undefined,
|
|
957
|
-
row.target,
|
|
958
|
-
row.detail,
|
|
959
|
-
row.reasonCode ? `reason:${row.reasonCode}` : undefined,
|
|
960
|
-
row.freshness?.stale ? "stale" : row.freshness?.observedRef ? `ref:${row.freshness.observedRef}` : undefined,
|
|
961
|
-
row.reportPath ? `out:${hostStepReportName(row.reportPath)}` : undefined,
|
|
962
|
-
].filter(Boolean).join(" · ");
|
|
963
|
-
return truncateToWidth(`${left}${details ? theme.fg("dim", ` · ${details}`) : ""}`, width);
|
|
964
|
-
}
|
|
965
|
-
bullet(rosterIndex, selectedIndex, theme) {
|
|
966
|
-
return rosterIndex === selectedIndex ? theme.fg("accent", ">") : " ";
|
|
967
|
-
}
|
|
968
|
-
rosterKeys() {
|
|
969
|
-
return ["main", ...this.entries.map((entry) => entry.key)];
|
|
970
|
-
}
|
|
971
|
-
clampSelection() {
|
|
972
|
-
if (!this.rosterKeys().includes(this.selectedKey))
|
|
973
|
-
this.selectedKey = "main";
|
|
974
|
-
}
|
|
975
|
-
deactivate() {
|
|
976
|
-
this.active = false;
|
|
977
|
-
this.selectedKey = "main";
|
|
978
|
-
this.refresh();
|
|
979
|
-
}
|
|
980
|
-
editorHasFocus() {
|
|
981
|
-
// pi-tui exposes focus mutation but no focus getter, so inspect the focused
|
|
982
|
-
// component structurally. instanceof is unreliable across jiti module boundaries.
|
|
983
|
-
const focused = this.tui?.focusedComponent;
|
|
984
|
-
if (!focused || typeof focused !== "object")
|
|
985
|
-
return false;
|
|
986
|
-
const candidate = focused;
|
|
987
|
-
return typeof candidate.render === "function"
|
|
988
|
-
&& typeof candidate.invalidate === "function"
|
|
989
|
-
&& typeof candidate.handleInput === "function"
|
|
990
|
-
&& typeof candidate.getText === "function"
|
|
991
|
-
&& typeof candidate.setText === "function";
|
|
992
|
-
}
|
|
993
|
-
getRenderKey() {
|
|
994
|
-
const now = Date.now();
|
|
995
|
-
return JSON.stringify({
|
|
996
|
-
active: this.active,
|
|
997
|
-
selected: this.selectedKey,
|
|
998
|
-
inspectorOpen: this.inspectorOpen,
|
|
999
|
-
entries: this.entries.map((entry) => this.active
|
|
1000
|
-
? [
|
|
1001
|
-
entry.key,
|
|
1002
|
-
entry.surface,
|
|
1003
|
-
entry.parentKey,
|
|
1004
|
-
entry.agent,
|
|
1005
|
-
entry.displayLabel,
|
|
1006
|
-
entry.state,
|
|
1007
|
-
entry.modelThinking,
|
|
1008
|
-
entry.description,
|
|
1009
|
-
entry.external,
|
|
1010
|
-
Math.round((now - entry.startedAt) / 1000),
|
|
1011
|
-
entry.tokens,
|
|
1012
|
-
entry.workflowChecklist ? [
|
|
1013
|
-
entry.workflowChecklist.total,
|
|
1014
|
-
entry.workflowChecklist.done,
|
|
1015
|
-
entry.workflowChecklist.running,
|
|
1016
|
-
entry.workflowChecklist.queued,
|
|
1017
|
-
entry.workflowChecklist.blocked,
|
|
1018
|
-
entry.workflowChecklist.failed,
|
|
1019
|
-
entry.workflowChecklist.phases.map((phase) => [phase.key, phase.state, phase.done, phase.total, phase.running, phase.queued, phase.blocked, phase.failed, phase.items.map((item) => [item.key, item.state, item.currentTool, item.currentPath, item.durationMs, item.toolCount, item.error])]),
|
|
1020
|
-
] : undefined,
|
|
1021
|
-
visibleWorkflowRows(entry.workflowRows, entry.parentKey ? 2 : 4).map((row) => [
|
|
1022
|
-
row.kind,
|
|
1023
|
-
row.name,
|
|
1024
|
-
row.state,
|
|
1025
|
-
row.context,
|
|
1026
|
-
row.modelThinking,
|
|
1027
|
-
row.activity,
|
|
1028
|
-
row.startedAt,
|
|
1029
|
-
row.endedAt,
|
|
1030
|
-
row.durationMs,
|
|
1031
|
-
row.tokens,
|
|
1032
|
-
row.provider,
|
|
1033
|
-
row.role,
|
|
1034
|
-
row.verdict,
|
|
1035
|
-
row.reasonCode,
|
|
1036
|
-
row.detail,
|
|
1037
|
-
row.target,
|
|
1038
|
-
row.freshness,
|
|
1039
|
-
row.reportPath,
|
|
1040
|
-
row.overflow,
|
|
1041
|
-
]),
|
|
1042
|
-
nestedFleetRows(entry.nestedChildren, entry.parentKey ? 3 : 4).map((row) => [
|
|
1043
|
-
row.name,
|
|
1044
|
-
row.agentIdentity,
|
|
1045
|
-
row.state,
|
|
1046
|
-
row.modelThinking,
|
|
1047
|
-
row.activity,
|
|
1048
|
-
row.startedAt,
|
|
1049
|
-
row.endedAt,
|
|
1050
|
-
row.depth,
|
|
1051
|
-
row.overflow,
|
|
1052
|
-
]),
|
|
1053
|
-
]
|
|
1054
|
-
: [entry.key, entry.state, entry.external, entry.surface, entry.tokens, entry.projectPane?.refreshedAt, entry.projectPane?.summary]),
|
|
1055
|
-
});
|
|
1056
|
-
}
|
|
1057
|
-
hasInlineSurface() {
|
|
1058
|
-
return this.entries.length > 0 || Boolean(this.state.activeAsyncCapacity?.used);
|
|
1059
|
-
}
|
|
1060
|
-
getActiveUiContext() {
|
|
1061
|
-
const ctx = this.ctx;
|
|
1062
|
-
if (!ctx)
|
|
1063
|
-
return undefined;
|
|
1064
|
-
try {
|
|
1065
|
-
return ctx.hasUI ? ctx : undefined;
|
|
1066
|
-
}
|
|
1067
|
-
catch (error) {
|
|
1068
|
-
if (!isStaleExtensionContextError(error))
|
|
1069
|
-
throw error;
|
|
1070
|
-
this.clearUiRegistration();
|
|
1071
|
-
return undefined;
|
|
1072
|
-
}
|
|
1073
|
-
}
|
|
1074
|
-
clearWidget() {
|
|
1075
|
-
this.prepaint = undefined;
|
|
1076
|
-
this.clearWorkflowCoverage();
|
|
1077
|
-
if (!this.widgetRegistered)
|
|
1078
|
-
return;
|
|
1079
|
-
try {
|
|
1080
|
-
this.ui?.setWidget(FLEET_STATUS_WIDGET_KEY, undefined);
|
|
1081
|
-
}
|
|
1082
|
-
catch (error) {
|
|
1083
|
-
if (!isStaleExtensionContextError(error))
|
|
1084
|
-
throw error;
|
|
1085
|
-
this.clearUiRegistration();
|
|
1086
|
-
return;
|
|
1087
|
-
}
|
|
1088
|
-
this.widgetRegistered = false;
|
|
1089
|
-
this.tui = undefined;
|
|
1090
|
-
}
|
|
1091
|
-
clearUiRegistration() {
|
|
1092
|
-
this.prepaint = undefined;
|
|
1093
|
-
this.clearWorkflowCoverage();
|
|
1094
|
-
if (this.timer)
|
|
1095
|
-
clearInterval(this.timer);
|
|
1096
|
-
this.timer = undefined;
|
|
1097
|
-
const inputUnsubscribe = this.inputUnsubscribe;
|
|
1098
|
-
const ui = this.ui;
|
|
1099
|
-
const widgetRegistered = this.widgetRegistered;
|
|
1100
|
-
this.inputUnsubscribe = undefined;
|
|
1101
|
-
this.ctx = undefined;
|
|
1102
|
-
this.ui = undefined;
|
|
1103
|
-
this.widgetRegistered = false;
|
|
1104
|
-
this.tui = undefined;
|
|
1105
|
-
const cleanupErrors = [];
|
|
1106
|
-
try {
|
|
1107
|
-
inputUnsubscribe?.();
|
|
1108
|
-
}
|
|
1109
|
-
catch (error) {
|
|
1110
|
-
if (!isStaleExtensionContextError(error))
|
|
1111
|
-
cleanupErrors.push(error);
|
|
1112
|
-
}
|
|
1113
|
-
if (ui && widgetRegistered) {
|
|
1114
|
-
try {
|
|
1115
|
-
ui.setWidget(FLEET_STATUS_WIDGET_KEY, undefined);
|
|
1116
|
-
}
|
|
1117
|
-
catch (error) {
|
|
1118
|
-
if (!isStaleExtensionContextError(error))
|
|
1119
|
-
cleanupErrors.push(error);
|
|
1120
|
-
}
|
|
1121
|
-
}
|
|
1122
|
-
if (cleanupErrors.length === 1)
|
|
1123
|
-
throw cleanupErrors[0];
|
|
1124
|
-
if (cleanupErrors.length > 1) {
|
|
1125
|
-
throw new AggregateError(cleanupErrors, "Failed to clean up FleetView UI registration");
|
|
1126
|
-
}
|
|
1127
|
-
}
|
|
1128
|
-
clearWorkflowCoverage() {
|
|
1129
|
-
if (this.ui)
|
|
1130
|
-
this.onWorkflowCoverageChange?.(this.ui, new Map());
|
|
1131
|
-
}
|
|
1132
|
-
}
|
|
1133
|
-
//# sourceMappingURL=fleet-status.js.map
|