pi-subagents 0.82.0 → 0.83.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/CHANGELOG.md +46 -0
- package/README.md +1 -1
- package/bundle/agents.js +4 -4
- package/bundle/background-work.js +1 -1
- package/bundle/child-tool-plan.js +3 -3
- package/bundle/{chunk-7PCKZHR5.js → chunk-4BW55BTL.js} +6 -6
- package/bundle/{chunk-7IVSUMQQ.js → chunk-527E3D2J.js} +6 -6
- package/bundle/{chunk-NRQ75MGH.js → chunk-5ESXK62X.js} +40 -1076
- package/bundle/{chunk-ZQGSDHL6.js → chunk-6B4ITO2W.js} +8 -4
- package/bundle/{chunk-CIZQXJ5Q.js → chunk-7F5SK2U3.js} +39 -6
- package/bundle/{chunk-OYF6AFDY.js → chunk-BKFWQ642.js} +2 -2
- package/bundle/{chunk-ZLINIYTP.js → chunk-CDI3GMNV.js} +48 -32
- package/bundle/{chunk-GC4DSPMH.js → chunk-CGXWSNPA.js} +12 -18
- package/bundle/{chunk-SIJ4S3EN.js → chunk-CNLDYEH4.js} +12 -12
- package/bundle/{chunk-4SDU2BZX.js → chunk-CSSZRTKY.js} +2 -2
- package/bundle/{chunk-W2SZ22EM.js → chunk-CZTMUBUI.js} +10 -8
- package/bundle/{chunk-WVD4UEL4.js → chunk-HJJAVHFB.js} +28 -24
- package/bundle/{chunk-GJECHSAR.js → chunk-HLE22FSH.js} +2 -2
- package/bundle/{chunk-M2CTFYT3.js → chunk-HXVKGS33.js} +5 -5
- package/bundle/{chunk-5LFLVSTM.js → chunk-JEZOSEWG.js} +2 -0
- package/bundle/{chunk-YKEWIB4M.js → chunk-JHZ6DZ5M.js} +1 -1
- package/bundle/{chunk-B5EKXDHE.js → chunk-LDMXJIA6.js} +458 -657
- package/bundle/{chunk-43SCHIMD.js → chunk-MBDOYZ2V.js} +1 -1
- package/bundle/{chunk-XSWOTIA3.js → chunk-MHX22USZ.js} +1 -1
- package/bundle/{chunk-VH5OAWVG.js → chunk-OOFW75PV.js} +5 -5
- package/bundle/{chunk-RMQFMMAT.js → chunk-P2NCCTZP.js} +231 -10
- package/bundle/{chunk-NGGAFDL6.js → chunk-RZJN63GU.js} +12 -5
- package/bundle/{chunk-7YMXOYEU.js → chunk-TJQJ3MEA.js} +12 -11
- package/bundle/{chunk-5TYMSZX3.js → chunk-VTMNBPCQ.js} +2 -2
- package/bundle/{chunk-52UBALJL.js → chunk-WG2OTTAK.js} +2 -2
- package/bundle/{chunk-N2BN7BF5.js → chunk-XA3DY6UG.js} +7 -5
- package/bundle/{chunk-MHZ4G23A.js → chunk-XXKG3P2W.js} +9 -6
- package/bundle/{chunk-PLCCBLPY.js → chunk-Y3I6H6DV.js} +2 -2
- package/bundle/control-channel.js +3 -3
- package/bundle/index.js +1 -1
- package/bundle/intercom-bridge.js +3 -3
- package/bundle/preflight.js +9 -9
- package/bundle/project-panes.js +4 -4
- package/bundle/shared-types.js +1 -1
- package/docs/agents.md +6 -7
- package/docs/configuration.md +1 -1
- package/docs/extension-api.md +19 -4
- package/docs/observability.md +1 -0
- package/docs/tool-reference.md +1 -1
- package/package.json +1 -1
- package/skills/council-mode/SKILL.md +1 -4
- package/skills/pi-subagents/SKILL.md +130 -107
- package/skills/pi-subagents/references/orchestration.md +124 -0
- package/skills/pi-subagents/references/prompting-and-roles.md +96 -295
- package/src/agents/agent-management.js +8 -14
- package/src/agents/agent-serializer.js +1 -2
- package/src/agents/agents.js +19 -3
- package/src/api/background-work.d.ts +9 -6
- package/src/api/background-work.js +14 -7
- package/src/extension/index.js +4 -1
- package/src/extension/public-execution.d.ts +2 -2
- package/src/extension/public-execution.js +3 -3
- package/src/extension/reply-workflow-script.js +5 -3
- package/src/extension/rpc.js +3 -1
- package/src/extension/subagent-guide.js +1 -2
- package/src/extension/subagent-options.js +17 -4
- package/src/runs/background/async-execution.js +4 -1
- package/src/runs/background/async-job-tracker.js +2 -1
- package/src/runs/background/async-status.d.ts +2 -0
- package/src/runs/background/async-status.js +1 -1
- package/src/runs/background/auto-drain.js +2 -3
- package/src/runs/background/fleet-view.js +1 -1
- package/src/runs/background/run-child-session.js +22 -6
- package/src/runs/background/subagent-wait.d.ts +2 -1
- package/src/runs/background/subagent-wait.js +5 -2
- package/src/runs/background/terminal-run-index.d.ts +1 -0
- package/src/runs/background/terminal-run-index.js +40 -1
- package/src/runs/foreground/execution.js +22 -6
- package/src/runs/foreground/subagent-executor.js +2 -5
- package/src/runs/shared/child-launch.js +5 -2
- package/src/runs/shared/child-session.d.ts +6 -0
- package/src/runs/shared/child-session.js +20 -4
- package/src/runs/shared/herdr-machine.d.ts +2 -0
- package/src/runs/shared/herdr-machine.js +2 -0
- package/src/runs/shared/herdr-placed-run.js +11 -4
- package/src/runs/shared/subagent-prompt-runtime.js +11 -17
- package/src/shared/disabled-features.d.ts +3 -1
- package/src/shared/disabled-features.js +11 -3
- package/src/shared/types.d.ts +3 -1
- package/src/shared/types.js +2 -0
- package/src/tui/fleet.js +1 -0
- package/src/workflows/scripted-workflow.js +9 -1070
- package/workflow-script-worker.cjs +1067 -0
- package/skills/pi-subagents/references/constraints-and-recipes.md +0 -74
- package/skills/pi-subagents/references/execution-controls.md +0 -564
- package/skills/pi-subagents/references/management-authoring-rpc.md +0 -165
- package/skills/pi-subagents/references/multi-lane-orchestration.md +0 -61
- package/skills/pi-subagents/references/review-and-validation.md +0 -73
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
setInlineWorkflowCoverage,
|
|
11
11
|
setMainThinkingLevelSource,
|
|
12
12
|
widgetRenderKey
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HXVKGS33.js";
|
|
14
14
|
import {
|
|
15
15
|
package_default
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-6B4ITO2W.js";
|
|
17
17
|
import {
|
|
18
18
|
EXTERNAL_JOB_BRIDGE_REQUEST_DIR,
|
|
19
19
|
REVIVAL_ORIGIN_FILE,
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
snapshotProviderDiagnostics,
|
|
62
62
|
workflowResumeClaimState,
|
|
63
63
|
workflowResumeRefusal
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-CDI3GMNV.js";
|
|
65
65
|
import {
|
|
66
66
|
CONTACT_SUPERVISOR_TOOL_NAME,
|
|
67
67
|
NATIVE_SUPERVISOR_TOOL_NAME,
|
|
@@ -89,14 +89,14 @@ import {
|
|
|
89
89
|
resolveWaitToolConfig,
|
|
90
90
|
setDeclarationPinning,
|
|
91
91
|
topLevelSupervisorTool
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-CZTMUBUI.js";
|
|
93
93
|
import {
|
|
94
94
|
deliverAsyncRunStop,
|
|
95
95
|
ownerConfirmedDead,
|
|
96
96
|
readSessionMessagesTail,
|
|
97
97
|
resolveSubagentRunId,
|
|
98
98
|
restoreForegroundRunHistory
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-4BW55BTL.js";
|
|
100
100
|
import {
|
|
101
101
|
ASYNC_STATUS_SNAPSHOT_KIND,
|
|
102
102
|
ASYNC_STATUS_SNAPSHOT_VERSION,
|
|
@@ -118,7 +118,7 @@ import {
|
|
|
118
118
|
resolveAsyncStatusChild,
|
|
119
119
|
stopStoppableAsyncStatusChildren,
|
|
120
120
|
withCachedUiContext
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-OOFW75PV.js";
|
|
122
122
|
import "./chunk-NF7IEKBH.js";
|
|
123
123
|
import {
|
|
124
124
|
disabledFeatureUseError,
|
|
@@ -129,7 +129,7 @@ import {
|
|
|
129
129
|
resolveDisabledFeatureSurface,
|
|
130
130
|
resolveMaxActiveAsyncRunsPerSession,
|
|
131
131
|
resolveScheduledStoreRoot
|
|
132
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-RZJN63GU.js";
|
|
133
133
|
import {
|
|
134
134
|
ACTIVE_RUN_INDEX_DIR,
|
|
135
135
|
MissionNotFoundError,
|
|
@@ -178,41 +178,41 @@ import {
|
|
|
178
178
|
withWorkflowChildRunModel,
|
|
179
179
|
writeAsyncResultFile,
|
|
180
180
|
writeResultIndexForData
|
|
181
|
-
} from "./chunk-
|
|
182
|
-
import "./chunk-
|
|
181
|
+
} from "./chunk-5ESXK62X.js";
|
|
182
|
+
import "./chunk-BKFWQ642.js";
|
|
183
183
|
import {
|
|
184
184
|
shouldUseNativeFsWatch
|
|
185
185
|
} from "./chunk-NIXWDZZV.js";
|
|
186
186
|
import {
|
|
187
187
|
validateIntercomBridgeConfig
|
|
188
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-MHX22USZ.js";
|
|
189
189
|
import "./chunk-7F6RKT6W.js";
|
|
190
|
-
import "./chunk-
|
|
190
|
+
import "./chunk-CSSZRTKY.js";
|
|
191
191
|
import "./chunk-CTPAE36Y.js";
|
|
192
192
|
import {
|
|
193
193
|
listHerdrProjectPaneRoots,
|
|
194
194
|
restoreHerdrProjectPaneSnapshots
|
|
195
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-WG2OTTAK.js";
|
|
196
196
|
import "./chunk-7J4ZXMY7.js";
|
|
197
197
|
import {
|
|
198
198
|
cleanupAllArtifactDirs,
|
|
199
199
|
cleanupOldArtifacts,
|
|
200
200
|
getArtifactPaths,
|
|
201
201
|
getArtifactsDir
|
|
202
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-VTMNBPCQ.js";
|
|
203
203
|
import {
|
|
204
204
|
listBackgroundWorkProviders
|
|
205
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-XA3DY6UG.js";
|
|
206
206
|
import "./chunk-YYREO77V.js";
|
|
207
207
|
import "./chunk-UKG4V45O.js";
|
|
208
208
|
import {
|
|
209
209
|
registerRuntimeAgentEventListener
|
|
210
|
-
} from "./chunk-
|
|
210
|
+
} from "./chunk-MBDOYZ2V.js";
|
|
211
211
|
import {
|
|
212
212
|
clearRuntimeAgentsForPi,
|
|
213
213
|
listRuntimeAgentConfigs,
|
|
214
214
|
mergeRuntimeAgents
|
|
215
|
-
} from "./chunk-
|
|
215
|
+
} from "./chunk-JHZ6DZ5M.js";
|
|
216
216
|
import {
|
|
217
217
|
DEFAULT_FILE_SYSTEM_RETRY_DELAYS_MS,
|
|
218
218
|
EXTRA_AGENT_DIRS_ENV,
|
|
@@ -252,7 +252,7 @@ import {
|
|
|
252
252
|
waitForFileSystemRetry,
|
|
253
253
|
withSettingsFileLease,
|
|
254
254
|
writeAtomicJson
|
|
255
|
-
} from "./chunk-
|
|
255
|
+
} from "./chunk-7F5SK2U3.js";
|
|
256
256
|
import {
|
|
257
257
|
DEFAULT_ARTIFACT_CONFIG,
|
|
258
258
|
DIRS,
|
|
@@ -269,13 +269,14 @@ import {
|
|
|
269
269
|
SUBAGENT_CHILD_STATUS_EVENT,
|
|
270
270
|
SUBAGENT_CONTROL_EVENT,
|
|
271
271
|
SUBAGENT_CONTROL_INTERCOM_EVENT,
|
|
272
|
+
SUBAGENT_JOBS_CHANGED_EVENT,
|
|
272
273
|
SUBAGENT_LIFECYCLE_ARTIFACT_VERSION,
|
|
273
274
|
SUBAGENT_PROCESS_TERMINAL_EVENT,
|
|
274
275
|
SUBAGENT_STEERING_NOTICE_EVENT,
|
|
275
276
|
WIDGET_ANIMATION_INTERVAL_MS,
|
|
276
277
|
WIDGET_KEY,
|
|
277
278
|
resolveMaxSubagentSpawnsPerSession
|
|
278
|
-
} from "./chunk-
|
|
279
|
+
} from "./chunk-JEZOSEWG.js";
|
|
279
280
|
import {
|
|
280
281
|
safeTerminalText,
|
|
281
282
|
sanitizeDisplayText,
|
|
@@ -475,6 +476,7 @@ function createAsyncJobTracker(pi, state, asyncDirRoot, options = {}) {
|
|
|
475
476
|
};
|
|
476
477
|
const rerenderWidget = (ctx, jobs = Array.from(state.asyncJobs.values())) => {
|
|
477
478
|
options.onJobsChanged?.();
|
|
479
|
+
pi.events.emit(SUBAGENT_JOBS_CHANGED_EVENT, { version: 1 });
|
|
478
480
|
if (state.widgetsSuspended) return;
|
|
479
481
|
renderWidget(ctx, options.widgetEnabled === false ? [] : jobs, options.widgetCollapsed, options.widgetLayout);
|
|
480
482
|
ctx.ui.requestRender?.();
|
|
@@ -5180,7 +5182,7 @@ function registerSlashCommands(pi, state, options = {}) {
|
|
|
5180
5182
|
}
|
|
5181
5183
|
fleetOpen = true;
|
|
5182
5184
|
try {
|
|
5183
|
-
const { openSubagentFleet } = await import("./chunk-
|
|
5185
|
+
const { openSubagentFleet } = await import("./chunk-TJQJ3MEA.js");
|
|
5184
5186
|
await openSubagentFleet(ctx, state, { asyncDirRoot: DIRS.async, inspectorPlugins: () => getInspectorPlugins(pi), resultsDir: DIRS.results, fleetKeybindings: options.fleetKeybindings });
|
|
5185
5187
|
} finally {
|
|
5186
5188
|
fleetOpen = false;
|
|
@@ -7410,8 +7412,10 @@ function pingData(ctx, options) {
|
|
|
7410
7412
|
request: SUBAGENT_RPC_REQUEST_EVENT,
|
|
7411
7413
|
replyPrefix: SUBAGENT_RPC_REPLY_EVENT_PREFIX,
|
|
7412
7414
|
asyncComplete: SUBAGENT_ASYNC_COMPLETE_EVENT,
|
|
7415
|
+
asyncStarted: SUBAGENT_ASYNC_STARTED_EVENT,
|
|
7413
7416
|
childStatus: SUBAGENT_CHILD_STATUS_EVENT,
|
|
7414
|
-
processTerminal: SUBAGENT_PROCESS_TERMINAL_EVENT
|
|
7417
|
+
processTerminal: SUBAGENT_PROCESS_TERMINAL_EVENT,
|
|
7418
|
+
jobsChanged: SUBAGENT_JOBS_CHANGED_EVENT
|
|
7415
7419
|
},
|
|
7416
7420
|
session: sessionData(ctx)
|
|
7417
7421
|
};
|
|
@@ -8567,7 +8571,7 @@ function registerSubagentExtension(pi) {
|
|
|
8567
8571
|
const ctx = withLastUiContext((current) => current);
|
|
8568
8572
|
if (!ctx) return;
|
|
8569
8573
|
try {
|
|
8570
|
-
const { openSubagentFleet } = await import("./chunk-
|
|
8574
|
+
const { openSubagentFleet } = await import("./chunk-TJQJ3MEA.js");
|
|
8571
8575
|
await openSubagentFleet(ctx, state, { initialKey: itemKey, asyncDirRoot: DIRS.async, resultsDir: DIRS.results, fleetKeybindings: config.fleetKeybindings, inspectorPlugins: () => getInspectorPlugins(pi) });
|
|
8572
8576
|
} catch (error) {
|
|
8573
8577
|
if (isStaleExtensionContextError(error)) {
|
|
@@ -8763,7 +8767,7 @@ function registerSubagentExtension(pi) {
|
|
|
8763
8767
|
let executor;
|
|
8764
8768
|
let executorPromise;
|
|
8765
8769
|
let executorModulePromise;
|
|
8766
|
-
const loadExecutorModule = () => executorModulePromise ??= import("./chunk-
|
|
8770
|
+
const loadExecutorModule = () => executorModulePromise ??= import("./chunk-LDMXJIA6.js");
|
|
8767
8771
|
const getExecutor = () => {
|
|
8768
8772
|
executorPromise ??= loadExecutorModule().then(({ createSubagentExecutor }) => {
|
|
8769
8773
|
executor = createSubagentExecutor(executorDeps);
|
|
@@ -8777,7 +8781,7 @@ function registerSubagentExtension(pi) {
|
|
|
8777
8781
|
modulePreloadTimer = setTimeout(() => {
|
|
8778
8782
|
loadExecutorModule().catch(() => {
|
|
8779
8783
|
});
|
|
8780
|
-
if (fleetViewEnabled) import("./chunk-
|
|
8784
|
+
if (fleetViewEnabled) import("./chunk-TJQJ3MEA.js").catch(() => {
|
|
8781
8785
|
});
|
|
8782
8786
|
}, MODULE_PRELOAD_DELAY_MS);
|
|
8783
8787
|
modulePreloadTimer.unref?.();
|
|
@@ -8800,7 +8804,7 @@ function registerSubagentExtension(pi) {
|
|
|
8800
8804
|
);
|
|
8801
8805
|
});
|
|
8802
8806
|
const markedMessageTypes = /* @__PURE__ */ new Set([...SUBAGENT_MESSAGE_TYPES, "subagent-compaction-resume", SLASH_RESULT_TYPE, SLASH_TEXT_RESULT_TYPE, ADMIN_MESSAGE_TYPE]);
|
|
8803
|
-
pi.on("
|
|
8807
|
+
pi.on("context_with_system", (event) => {
|
|
8804
8808
|
const messages = [];
|
|
8805
8809
|
for (const message2 of event.messages) {
|
|
8806
8810
|
if (message2.role !== "custom" || !markedMessageTypes.has(message2.customType)) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
appendAgentRefinementOverlay
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Y3I6H6DV.js";
|
|
4
4
|
import {
|
|
5
5
|
buildAgentMemoryInjection,
|
|
6
6
|
buildSkillInjection
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7F5SK2U3.js";
|
|
8
8
|
|
|
9
9
|
// src/runs/shared/effective-system-prompt.ts
|
|
10
10
|
function appendSection(prompt, section) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildWorkflowChatProgressRows
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4BW55BTL.js";
|
|
4
4
|
import {
|
|
5
5
|
aggregateStepStatus,
|
|
6
6
|
contextModeBadge,
|
|
@@ -25,13 +25,13 @@ import {
|
|
|
25
25
|
projectWorkflowChecklist,
|
|
26
26
|
withCachedUiContext,
|
|
27
27
|
workflowGraphStageNodes
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-OOFW75PV.js";
|
|
29
29
|
import {
|
|
30
30
|
flatToLogicalStepIndex,
|
|
31
31
|
formatWorkflowJsonPreview,
|
|
32
32
|
hostStepReportName,
|
|
33
33
|
hostStepVerdictLabel
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-5ESXK62X.js";
|
|
35
35
|
import {
|
|
36
36
|
snapshotExternalRuns
|
|
37
37
|
} from "./chunk-UKG4V45O.js";
|
|
@@ -49,12 +49,12 @@ import {
|
|
|
49
49
|
getSingleResultOutput,
|
|
50
50
|
shortenPath,
|
|
51
51
|
unresolvedChildWatchdogBlockers
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-7F5SK2U3.js";
|
|
53
53
|
import {
|
|
54
54
|
MAX_WIDGET_JOBS,
|
|
55
55
|
WIDGET_ANIMATION_INTERVAL_MS,
|
|
56
56
|
WIDGET_KEY
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-JEZOSEWG.js";
|
|
58
58
|
import {
|
|
59
59
|
previewDisplayText,
|
|
60
60
|
sanitizeDisplayText,
|
|
@@ -15,6 +15,7 @@ var SUBAGENT_CONTROL_EVENT = "subagent:control-event";
|
|
|
15
15
|
var SUBAGENT_CONTROL_INTERCOM_EVENT = "subagent:control-intercom";
|
|
16
16
|
var SUBAGENT_STEERING_NOTICE_EVENT = "subagent:steering-notice";
|
|
17
17
|
var SUBAGENT_CHILD_STATUS_EVENT = "subagent:child-status";
|
|
18
|
+
var SUBAGENT_JOBS_CHANGED_EVENT = "subagent:jobs-changed";
|
|
18
19
|
var SUBAGENT_RESULT_INTERCOM_EVENT = "subagent:result-intercom";
|
|
19
20
|
var SUBAGENT_RESULT_INTERCOM_DELIVERY_EVENT = "subagent:result-intercom-delivery";
|
|
20
21
|
var FLEET_KEYBINDING_ACTIONS = [
|
|
@@ -223,6 +224,7 @@ export {
|
|
|
223
224
|
SUBAGENT_CONTROL_INTERCOM_EVENT,
|
|
224
225
|
SUBAGENT_STEERING_NOTICE_EVENT,
|
|
225
226
|
SUBAGENT_CHILD_STATUS_EVENT,
|
|
227
|
+
SUBAGENT_JOBS_CHANGED_EVENT,
|
|
226
228
|
SUBAGENT_RESULT_INTERCOM_EVENT,
|
|
227
229
|
SUBAGENT_RESULT_INTERCOM_DELIVERY_EVENT,
|
|
228
230
|
FLEET_KEYBINDING_ACTIONS,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
validateCodeOwnedProfileRunner,
|
|
9
9
|
validatePermissionRules,
|
|
10
10
|
validateToolBudgetConfig
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-7F5SK2U3.js";
|
|
12
12
|
|
|
13
13
|
// src/agents/runtime-agent-registry.ts
|
|
14
14
|
var RUNTIME_AGENT_REGISTRY_KEY = "pi-subagents.runtime-agents.v1";
|