@wrongstack/core 0.236.0 → 0.250.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-4gc0vfW2.d.ts} +1 -1
- package/dist/{agent-subagent-runner-C658wj_c.d.ts → agent-subagent-runner-Dz-9kiE6.d.ts} +3 -3
- package/dist/{config-Koq6f3fs.d.ts → config-eSsrto5d.d.ts} +6 -0
- package/dist/coordination/index.d.ts +10 -10
- package/dist/coordination/index.js +5 -3
- package/dist/coordination/index.js.map +1 -1
- package/dist/defaults/index.d.ts +12 -12
- package/dist/defaults/index.js +8 -10
- package/dist/defaults/index.js.map +1 -1
- package/dist/execution/index.d.ts +7 -7
- package/dist/execution/index.js +5 -3
- package/dist/execution/index.js.map +1 -1
- package/dist/extension/index.d.ts +3 -3
- package/dist/{goal-preamble-CnbzyVvl.d.ts → goal-preamble-BjJpnLW4.d.ts} +4 -4
- package/dist/{index-BlMqh5GO.d.ts → index-Dy8OwfBD.d.ts} +2 -2
- package/dist/{index-C2eSNPsB.d.ts → index-IehiNryU.d.ts} +2 -2
- package/dist/index.d.ts +22 -22
- package/dist/index.js +18 -16
- package/dist/index.js.map +1 -1
- package/dist/infrastructure/index.d.ts +3 -3
- package/dist/kernel/index.d.ts +3 -3
- 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-CnbEqpv0.d.ts} +1 -1
- package/dist/{null-fleet-bus-1068dEnr.d.ts → null-fleet-bus-Do1OLYpj.d.ts} +4 -4
- package/dist/{package-outdated-watcher-pzJ5w7y8.d.ts → package-outdated-watcher-CA5GGB4C.d.ts} +1 -1
- package/dist/{parallel-eternal-engine-DtG1fjc9.d.ts → parallel-eternal-engine-UZg1xOzE.d.ts} +4 -4
- package/dist/{path-resolver-CA1ULU0J.d.ts → path-resolver-BaP06Owy.d.ts} +1 -1
- package/dist/{pipeline-DsmlwTXu.d.ts → pipeline-D1n-gQI-.d.ts} +1 -1
- package/dist/{plan-templates-DPABrDvy.d.ts → plan-templates-BUVRY0pU.d.ts} +1 -1
- package/dist/sdd/index.d.ts +4 -4
- package/dist/sdd/index.js +6 -8
- package/dist/sdd/index.js.map +1 -1
- package/dist/storage/index.d.ts +5 -5
- package/dist/storage/index.js.map +1 -1
- package/dist/types/index.d.ts +10 -10
- package/dist/types/index.js +5 -3
- package/dist/types/index.js.map +1 -1
- package/dist/utils/index.d.ts +11 -2
- package/dist/utils/index.js +6 -1
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -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-UZg1xOzE.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-BjJpnLW4.js';
|
|
3
3
|
import { P as Provider } from '../context-CLz3z_E8.js';
|
|
4
4
|
import { b as BrainDecision, e as BrainDecisionRequest, B as BrainArbiter } from '../brain-sCZ3lCjq.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-IehiNryU.js';
|
|
9
9
|
import '../logger-B63L5bTg.js';
|
|
10
|
-
import '../pipeline-
|
|
10
|
+
import '../pipeline-D1n-gQI-.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-Dz-9kiE6.js';
|
|
14
14
|
import '../goal-store-CV9Yz2X_.js';
|
|
15
|
-
import '../multi-agent-coordinator-
|
|
15
|
+
import '../multi-agent-coordinator-CnbEqpv0.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;
|