@wrongstack/core 0.236.0 → 0.255.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/dist/{agent-bridge-Cimv7bK7.d.ts → agent-bridge-l_DsFEbr.d.ts} +1 -1
- package/dist/{agent-subagent-runner-C658wj_c.d.ts → agent-subagent-runner-DhYLgAJo.d.ts} +4 -4
- package/dist/{brain-sCZ3lCjq.d.ts → brain-BaQsRNka.d.ts} +17 -0
- package/dist/{config-Koq6f3fs.d.ts → config-eSsrto5d.d.ts} +6 -0
- package/dist/coordination/index.d.ts +11 -11
- package/dist/coordination/index.js +137 -3
- package/dist/coordination/index.js.map +1 -1
- package/dist/defaults/index.d.ts +14 -14
- package/dist/defaults/index.js +8 -10
- package/dist/defaults/index.js.map +1 -1
- package/dist/execution/index.d.ts +8 -8
- package/dist/execution/index.js +5 -3
- package/dist/execution/index.js.map +1 -1
- package/dist/extension/index.d.ts +4 -4
- package/dist/{goal-preamble-CnbzyVvl.d.ts → goal-preamble-BgoPmZ8l.d.ts} +5 -5
- package/dist/{index-BlMqh5GO.d.ts → index-BilZMsOK.d.ts} +4 -4
- package/dist/{index-C2eSNPsB.d.ts → index-Csoc_bKs.d.ts} +3 -3
- package/dist/index.d.ts +26 -26
- package/dist/index.js +168 -19
- package/dist/index.js.map +1 -1
- package/dist/infrastructure/index.d.ts +4 -4
- package/dist/infrastructure/index.js +12 -0
- package/dist/infrastructure/index.js.map +1 -1
- package/dist/kernel/index.d.ts +5 -5
- package/dist/kernel/index.js.map +1 -1
- package/dist/{mcp-servers-DFbirBv6.d.ts → mcp-servers-DfXxCASH.d.ts} +1 -1
- package/dist/models/index.d.ts +2 -2
- package/dist/{models-registry-CnJRjTXc.d.ts → models-registry-DpanBg8D.d.ts} +1 -1
- package/dist/{multi-agent-coordinator-60weDZoA.d.ts → multi-agent-coordinator-Bs-M0Mo6.d.ts} +1 -1
- package/dist/{null-fleet-bus-1068dEnr.d.ts → null-fleet-bus-CWdU1_cO.d.ts} +5 -5
- package/dist/observability/index.d.ts +1 -1
- package/dist/{package-outdated-watcher-pzJ5w7y8.d.ts → package-outdated-watcher-Dz-eNZlQ.d.ts} +23 -2
- package/dist/{parallel-eternal-engine-DtG1fjc9.d.ts → parallel-eternal-engine-CAMabk-X.d.ts} +5 -5
- package/dist/{path-resolver-CA1ULU0J.d.ts → path-resolver-B7VjhUHq.d.ts} +2 -2
- package/dist/{pipeline-DsmlwTXu.d.ts → pipeline-Bxa3wDcy.d.ts} +42 -2
- package/dist/{plan-templates-DPABrDvy.d.ts → plan-templates-D3guWwTi.d.ts} +2 -2
- package/dist/{provider-runner-D0HgUqwV.d.ts → provider-runner-C8_e4Lo1.d.ts} +1 -1
- package/dist/sdd/index.d.ts +5 -5
- package/dist/sdd/index.js +6 -8
- package/dist/sdd/index.js.map +1 -1
- package/dist/storage/index.d.ts +6 -6
- package/dist/storage/index.js.map +1 -1
- package/dist/types/index.d.ts +12 -12
- package/dist/types/index.js +17 -3
- package/dist/types/index.js.map +1 -1
- package/dist/utils/index.d.ts +11 -2
- package/dist/utils/index.js +8 -1
- package/dist/utils/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,18 +1,18 @@
|
|
|
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-
|
|
2
|
-
export { A as AutoCompactionMiddleware, a as AutonomousRunner, b as AutonomousRunnerOptions, c as AutonomyPromptContributorOptions, C as CompactorStrategy, D as DefaultSkillLoader, d as DoneCheckResult, e as DoneConditionChecker, I as IntelligentCompactor, f as IntelligentCompactorOptions, S as SelectiveCompactor, g as SelectiveCompactorOptions, h as SkillLoaderOptions, i as StrategyCompactorOptions, j as buildGoalPreamble, k as createStrategyCompactor, m as makeAutonomyPromptContributor } from '../goal-preamble-
|
|
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-CAMabk-X.js';
|
|
2
|
+
export { A as AutoCompactionMiddleware, a as AutonomousRunner, b as AutonomousRunnerOptions, c as AutonomyPromptContributorOptions, C as CompactorStrategy, D as DefaultSkillLoader, d as DoneCheckResult, e as DoneConditionChecker, I as IntelligentCompactor, f as IntelligentCompactorOptions, S as SelectiveCompactor, g as SelectiveCompactorOptions, h as SkillLoaderOptions, i as StrategyCompactorOptions, j as buildGoalPreamble, k as createStrategyCompactor, m as makeAutonomyPromptContributor } from '../goal-preamble-BgoPmZ8l.js';
|
|
3
3
|
import { P as Provider } from '../context-CLz3z_E8.js';
|
|
4
|
-
import { b as BrainDecision, e as BrainDecisionRequest, B as BrainArbiter } from '../brain-
|
|
4
|
+
import { b as BrainDecision, e as BrainDecisionRequest, B as BrainArbiter } from '../brain-BaQsRNka.js';
|
|
5
5
|
import '../retry-policy-BVnkbMET.js';
|
|
6
6
|
import '../compactor-BRfg3QPd.js';
|
|
7
|
-
import '../config-
|
|
8
|
-
import '../index-
|
|
7
|
+
import '../config-eSsrto5d.js';
|
|
8
|
+
import '../index-Csoc_bKs.js';
|
|
9
9
|
import '../logger-B63L5bTg.js';
|
|
10
|
-
import '../pipeline-
|
|
10
|
+
import '../pipeline-Bxa3wDcy.js';
|
|
11
11
|
import '../observability-D-HZN_mF.js';
|
|
12
12
|
import '../permission-DbWPbuoA.js';
|
|
13
|
-
import '../agent-subagent-runner-
|
|
13
|
+
import '../agent-subagent-runner-DhYLgAJo.js';
|
|
14
14
|
import '../goal-store-CV9Yz2X_.js';
|
|
15
|
-
import '../multi-agent-coordinator-
|
|
15
|
+
import '../multi-agent-coordinator-Bs-M0Mo6.js';
|
|
16
16
|
import 'node:events';
|
|
17
17
|
import '../skill-Bj6Ezqb8.js';
|
|
18
18
|
import '../wstack-paths-CJjEwPXn.js';
|
package/dist/execution/index.js
CHANGED
|
@@ -6604,6 +6604,11 @@ async function dispatchAgent(task, opts = {}) {
|
|
|
6604
6604
|
};
|
|
6605
6605
|
}
|
|
6606
6606
|
|
|
6607
|
+
// src/utils/string.ts
|
|
6608
|
+
function truncate(s, max) {
|
|
6609
|
+
return s.length <= max ? s : `${s.slice(0, max - 1)}\u2026`;
|
|
6610
|
+
}
|
|
6611
|
+
|
|
6607
6612
|
// src/types/provider.ts
|
|
6608
6613
|
var ProviderError = class extends WrongStackError {
|
|
6609
6614
|
status;
|
|
@@ -6662,9 +6667,6 @@ function describeStatus(status, type) {
|
|
|
6662
6667
|
if (type) return `${type} (${status})`;
|
|
6663
6668
|
return `HTTP ${status}`;
|
|
6664
6669
|
}
|
|
6665
|
-
function truncate(s, n) {
|
|
6666
|
-
return s.length <= n ? s : `${s.slice(0, n - 1)}\u2026`;
|
|
6667
|
-
}
|
|
6668
6670
|
function providerStatusToCode(status, type) {
|
|
6669
6671
|
if (status === 0) return ERROR_CODES.PROVIDER_NETWORK_ERROR;
|
|
6670
6672
|
if (type === "rate_limit_error" || status === 429) return ERROR_CODES.PROVIDER_RATE_LIMITED;
|