@wrongstack/core 0.68.0 → 0.73.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/{agent-bridge-D-j6OOBT.d.ts → agent-bridge-C0Ze7Ldm.d.ts} +1 -1
- package/dist/{agent-subagent-runner-DRZ9-NnR.d.ts → agent-subagent-runner-BmITbs1Q.d.ts} +13 -5
- package/dist/{config--86aHSln.d.ts → config-Dy0CK_o6.d.ts} +44 -1
- package/dist/coordination/index.d.ts +10 -10
- package/dist/coordination/index.js +10 -4
- package/dist/coordination/index.js.map +1 -1
- package/dist/defaults/index.d.ts +15 -15
- package/dist/defaults/index.js +53 -22
- package/dist/defaults/index.js.map +1 -1
- package/dist/{events-CIplI98R.d.ts → events-BBAlxBuw.d.ts} +8 -0
- package/dist/execution/index.d.ts +8 -8
- package/dist/execution/index.js +4 -4
- package/dist/execution/index.js.map +1 -1
- package/dist/extension/index.d.ts +5 -5
- package/dist/{index-DKUvyTvV.d.ts → index-BN6i2Nfg.d.ts} +4 -4
- package/dist/{index-b5uhfTSl.d.ts → index-yQbZ2NQx.d.ts} +6 -6
- package/dist/index.d.ts +29 -27
- package/dist/index.js +154 -33
- package/dist/index.js.map +1 -1
- package/dist/infrastructure/index.d.ts +4 -4
- package/dist/kernel/index.d.ts +7 -7
- package/dist/kernel/index.js.map +1 -1
- package/dist/{mcp-servers-DwoNBf6r.d.ts → mcp-servers-T0O6UN_w.d.ts} +1 -1
- package/dist/{mode-CV077NjV.d.ts → mode-BO4SEUIv.d.ts} +7 -0
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.js +18 -9
- package/dist/models/index.js.map +1 -1
- package/dist/{multi-agent-coordinator-CWnH-CiX.d.ts → multi-agent-coordinator-BSBbZt0e.d.ts} +1 -1
- package/dist/{null-fleet-bus-CuN0ObJr.d.ts → null-fleet-bus-BCIRT_nV.d.ts} +19 -9
- package/dist/observability/index.d.ts +1 -1
- package/dist/{parallel-eternal-engine-0UwotoSx.d.ts → parallel-eternal-engine-CjAYGaCw.d.ts} +3 -3
- package/dist/{path-resolver-DVkEcIw8.d.ts → path-resolver-BnqXa9Ze.d.ts} +1 -1
- package/dist/{permission-C1A5whY5.d.ts → permission-V5BLOrY6.d.ts} +0 -4
- package/dist/{permission-policy-B2dK-T5N.d.ts → permission-policy-CBVx-d-8.d.ts} +1 -5
- package/dist/{plan-templates-Bprrzhbu.d.ts → plan-templates-DBgrTGPu.d.ts} +2 -2
- package/dist/{provider-runner-mXvXGSIw.d.ts → provider-runner-n3KkHT_w.d.ts} +1 -1
- package/dist/sdd/index.d.ts +6 -6
- package/dist/sdd/index.js +3 -3
- package/dist/sdd/index.js.map +1 -1
- package/dist/security/index.d.ts +2 -2
- package/dist/security/index.js +0 -8
- package/dist/security/index.js.map +1 -1
- package/dist/skills/index.js +1 -0
- package/dist/skills/index.js.map +1 -1
- package/dist/storage/index.d.ts +3 -3
- package/dist/storage/index.js +26 -2
- package/dist/storage/index.js.map +1 -1
- package/dist/{system-prompt-b61lOd49.d.ts → system-prompt-CA11g6Jo.d.ts} +1 -1
- package/dist/types/index.d.ts +13 -13
- package/dist/types/index.js +19 -10
- package/dist/types/index.js.map +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +2 -1
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -611,6 +611,14 @@ interface EventMap {
|
|
|
611
611
|
assigned: boolean;
|
|
612
612
|
}[];
|
|
613
613
|
};
|
|
614
|
+
/**
|
|
615
|
+
* The coordinator's max-concurrent subagent ceiling was changed at runtime
|
|
616
|
+
* (e.g. via `/fleet concurrency <n>`). `n` is the new ceiling. Lets the
|
|
617
|
+
* TUI/WebUI reflect the updated limit without polling the host.
|
|
618
|
+
*/
|
|
619
|
+
'concurrency.changed': {
|
|
620
|
+
n: number;
|
|
621
|
+
};
|
|
614
622
|
/**
|
|
615
623
|
* Git-worktree lifecycle, emitted by WorktreeManager. AutoPhase allocates one
|
|
616
624
|
* worktree per phase so parallelizable phases run isolated, then merges them
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
export { C as CompactorOptions, a as DefaultErrorHandler, b as DefaultRetryPolicy, E as EternalAutonomyEngine, c as EternalAutonomyOptions, d as EternalEngineState, H as HybridCompactor, I as IterationStage, P as ParallelEngineState, e as ParallelEternalEngine, f as ParallelEternalOptions, g as ParallelIterationStage, T as ToolExecutor } from '../parallel-eternal-engine-
|
|
1
|
+
export { C as CompactorOptions, a as DefaultErrorHandler, b as DefaultRetryPolicy, E as EternalAutonomyEngine, c as EternalAutonomyOptions, d as EternalEngineState, H as HybridCompactor, I as IterationStage, P as ParallelEngineState, e as ParallelEternalEngine, f as ParallelEternalOptions, g as ParallelIterationStage, T as ToolExecutor } from '../parallel-eternal-engine-CjAYGaCw.js';
|
|
2
2
|
import { m as Provider, d as Context } from '../context-y87Jc5ei.js';
|
|
3
3
|
import { a as Compactor, C as CompactReport } from '../compactor-D_ExJajC.js';
|
|
4
4
|
import { M as MessageSelector } from '../selector-RvBR_YRW.js';
|
|
5
|
-
import { E as EventBus } from '../events-
|
|
6
|
-
import { b as MiddlewareHandler } from '../system-prompt-
|
|
5
|
+
import { E as EventBus } from '../events-BBAlxBuw.js';
|
|
6
|
+
import { b as MiddlewareHandler } from '../system-prompt-CA11g6Jo.js';
|
|
7
7
|
import { a as SessionEventBridge } from '../session-event-bridge-CDHxcmQU.js';
|
|
8
|
-
import { e as ContextWindowAggressiveOn, i as ContextWindowPolicy } from '../config
|
|
9
|
-
import { A as Agent, D as DoneCondition } from '../agent-subagent-runner-
|
|
10
|
-
import { R as RunResult, S as SystemPromptContributor } from '../index-
|
|
8
|
+
import { e as ContextWindowAggressiveOn, i as ContextWindowPolicy } from '../config-Dy0CK_o6.js';
|
|
9
|
+
import { A as Agent, D as DoneCondition } from '../agent-subagent-runner-BmITbs1Q.js';
|
|
10
|
+
import { R as RunResult, S as SystemPromptContributor } from '../index-BN6i2Nfg.js';
|
|
11
11
|
import { a as SkillLoader, b as SkillManifest, S as SkillEntry } from '../skill-CxuWrsKK.js';
|
|
12
12
|
import { a as WstackPaths } from '../wstack-paths-eMXnY1_X.js';
|
|
13
13
|
import '../retry-policy-CG3qvH_e.js';
|
|
14
14
|
import '../models-registry-BcYJDKLm.js';
|
|
15
15
|
import '../goal-store-C7jcumEh.js';
|
|
16
|
-
import '../multi-agent-coordinator-
|
|
16
|
+
import '../multi-agent-coordinator-BSBbZt0e.js';
|
|
17
17
|
import 'node:events';
|
|
18
18
|
import '../logger-DDd5C--Z.js';
|
|
19
19
|
import '../observability-BhnVLBLS.js';
|
|
20
|
-
import '../permission-
|
|
20
|
+
import '../permission-V5BLOrY6.js';
|
|
21
21
|
import '../secret-scrubber-3MHDDAtm.js';
|
|
22
22
|
|
|
23
23
|
interface SkillLoaderOptions {
|
package/dist/execution/index.js
CHANGED
|
@@ -1530,7 +1530,7 @@ ${errorDetails}`,
|
|
|
1530
1530
|
const decision = await this.opts.permissionPolicy.evaluate(tool, use.input, ctx);
|
|
1531
1531
|
let effectivePermission = decision.permission;
|
|
1532
1532
|
const policy = this.opts.permissionPolicy;
|
|
1533
|
-
const yolo = policy.getYolo?.() === true || policy.getYoloDestructive?.() === true
|
|
1533
|
+
const yolo = policy.getYolo?.() === true || policy.getYoloDestructive?.() === true;
|
|
1534
1534
|
if (toolDangerousCaps.length > 0 && effectivePermission === "auto" && !yolo) {
|
|
1535
1535
|
effectivePermission = "confirm";
|
|
1536
1536
|
}
|
|
@@ -5921,7 +5921,7 @@ var DefaultMultiAgentCoordinator = class _DefaultMultiAgentCoordinator extends E
|
|
|
5921
5921
|
}
|
|
5922
5922
|
async spawn(subagent) {
|
|
5923
5923
|
const id = subagent.id || randomUUID();
|
|
5924
|
-
|
|
5924
|
+
const cfg = this.withNickname(subagent, id);
|
|
5925
5925
|
if (this.subagents.has(id)) {
|
|
5926
5926
|
throw new Error(`Subagent id "${id}" already exists \u2014 refusing to overwrite`);
|
|
5927
5927
|
}
|
|
@@ -5936,12 +5936,12 @@ var DefaultMultiAgentCoordinator = class _DefaultMultiAgentCoordinator extends E
|
|
|
5936
5936
|
maxConcurrent: this.config.maxConcurrent ?? 16
|
|
5937
5937
|
};
|
|
5938
5938
|
this.subagents.set(id, {
|
|
5939
|
-
config: { ...
|
|
5939
|
+
config: { ...cfg, id },
|
|
5940
5940
|
context,
|
|
5941
5941
|
status: "idle",
|
|
5942
5942
|
abortController: new AbortController()
|
|
5943
5943
|
});
|
|
5944
|
-
this.emit("subagent.started", { subagent: { ...
|
|
5944
|
+
this.emit("subagent.started", { subagent: { ...cfg, id } });
|
|
5945
5945
|
this.fleetBus?.emit({
|
|
5946
5946
|
subagentId: id,
|
|
5947
5947
|
ts: Date.now(),
|