@wrongstack/core 0.309.0 → 0.309.1
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/dist/coordination/director.d.ts +7 -0
- package/dist/coordination/explore-companion.d.ts +9 -6
- package/dist/coordination/index.js +331 -59
- package/dist/coordination/mutation-engine.d.ts +5 -3
- package/dist/core/index.js +39 -9
- package/dist/defaults/index.js +479 -101
- package/dist/execution/index.js +27 -9
- package/dist/hq/index.js +45 -5
- package/dist/index.js +640 -131
- package/dist/infrastructure/index.js +22 -3
- package/dist/observability/index.js +1 -1
- package/dist/plugin/index.js +113 -12
- package/dist/prompts/index.js +360 -3
- package/dist/security/auto-approve-policy.d.ts +2 -2
- package/dist/security/index.js +177 -50
- package/dist/security/permission-helpers.d.ts +11 -0
- package/dist/security/permission-policy.d.ts +10 -1
- package/dist/security/yolo-risk.d.ts +17 -0
- package/dist/session-catalog/index.js +32 -2
- package/dist/session-catalog/project-server.js +32 -2
- package/dist/skills/index.js +39 -6
- package/dist/storage/index.js +44 -3
- package/dist/types/tool.d.ts +15 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +54 -4
- package/dist/utils/terminal-sanitize.d.ts +41 -0
- package/dist/utils/tool-subject.d.ts +1 -1
- package/instructions/agents/chaos-monkey.md +5 -1
- package/package.json +4 -4
|
@@ -56,6 +56,13 @@ export declare class Director implements DirectorFleetHost, ICoordinator {
|
|
|
56
56
|
private readonly subagentIdleTimeoutMs;
|
|
57
57
|
private readonly retireSubagentOnTaskComplete;
|
|
58
58
|
private readonly subagentIdleTimers;
|
|
59
|
+
/**
|
|
60
|
+
* Effective idle window per subagent (spawn-time `idleTimeoutMs` override
|
|
61
|
+
* or the Director-wide default; undefined = no window). Internal-task
|
|
62
|
+
* completion re-arms with THIS value, not the Director-wide default, so
|
|
63
|
+
* a subagent-configured window survives its first internal probe.
|
|
64
|
+
*/
|
|
65
|
+
private readonly subagentIdleDelayMs;
|
|
59
66
|
readonly sharedScratchpadPath: string | null;
|
|
60
67
|
readonly maxSpawns: number;
|
|
61
68
|
readonly maxSpawnDepth: number;
|
|
@@ -76,12 +76,15 @@ export interface ExploreCompanionOptions {
|
|
|
76
76
|
/** Project mailbox the companion polls for explicit asks and acks them. */
|
|
77
77
|
mailbox: Mailbox;
|
|
78
78
|
/**
|
|
79
|
-
* Leader session id used to filter
|
|
80
|
-
* subscribes to global events (tool.executed, error,
|
|
81
|
-
* which fire for BOTH the leader and subagents.
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
79
|
+
* Leader session id used to filter events down to this leader only. The
|
|
80
|
+
* companion subscribes to global events (tool.executed, error,
|
|
81
|
+
* session.agents_updated) which fire for BOTH the leader and subagents.
|
|
82
|
+
* Strict, fail-closed: an event passes only when its `sessionId` equals
|
|
83
|
+
* this value — unstamped events are dropped (production emitters always
|
|
84
|
+
* stamp; an unstamped event is assumed to be a subagent's), and a
|
|
85
|
+
* transiently unresolved getter drops everything rather than probing on
|
|
86
|
+
* unattributed activity. Pass a lazy getter when the session id may
|
|
87
|
+
* change at runtime.
|
|
85
88
|
*/
|
|
86
89
|
leaderSessionId: string | (() => string | undefined);
|
|
87
90
|
/**
|