@tangle-network/agent-runtime 0.112.0 → 0.113.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/{activation-Cdc_tRNR.js → activation-UZ1JenNv.js} +2 -2
- package/dist/{activation-Cdc_tRNR.js.map → activation-UZ1JenNv.js.map} +1 -1
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +2 -2
- package/dist/{environment-provider-Cl97VeCv.d.ts → environment-provider-DG-cSx89.d.ts} +9 -4
- package/dist/environment-provider.d.ts +1 -1
- package/dist/{improvement-cycle-BCjD-g_C.js → improvement-cycle-C3CrNfcy.js} +3 -3
- package/dist/{improvement-cycle-BCjD-g_C.js.map → improvement-cycle-C3CrNfcy.js.map} +1 -1
- package/dist/{index-B6glsqBp.d.ts → index-B6WclhZI.d.ts} +3 -3
- package/dist/{index-C9vg2af7.d.ts → index-Cr7QlEUL.d.ts} +6 -6
- package/dist/{index-B0sAaAO_.d.ts → index-zMAqz53v.d.ts} +9 -5
- package/dist/index.d.ts +7 -7
- package/dist/index.js +7 -7
- package/dist/intelligence.d.ts +3 -3
- package/dist/intelligence.js +2 -2
- package/dist/kernel.d.ts +4 -4
- package/dist/kernel.js +4 -4
- package/dist/{knowledge-In_1LsHg.js → knowledge-GAJFl_gz.js} +3 -3
- package/dist/{knowledge-In_1LsHg.js.map → knowledge-GAJFl_gz.js.map} +1 -1
- package/dist/knowledge.d.ts +1 -1
- package/dist/knowledge.js +1 -1
- package/dist/{local-harness-Dh8PJ0ot.d.ts → local-harness-Ce1emWJE.d.ts} +11 -1
- package/dist/{loop-runner-bin-CHnWCyiB.d.ts → loop-runner-bin-Cba5tsdb.d.ts} +3 -3
- package/dist/{loop-runner-bin-DF98VMqr.js → loop-runner-bin-DvLdFo38.js} +3 -3
- package/dist/{loop-runner-bin-DF98VMqr.js.map → loop-runner-bin-DvLdFo38.js.map} +1 -1
- package/dist/loop-runner-bin.d.ts +1 -1
- package/dist/loop-runner-bin.js +1 -1
- package/dist/mcp/bin.js +1 -1
- package/dist/mcp/index.d.ts +2 -2
- package/dist/mcp/index.js +4 -4
- package/dist/{openai-tools-g5FS2twc.js → openai-tools-DftmzKLc.js} +2 -2
- package/dist/{openai-tools-g5FS2twc.js.map → openai-tools-DftmzKLc.js.map} +1 -1
- package/dist/primeintellect/index.d.ts +1 -1
- package/dist/{redact-BkasKlyd.d.ts → redact-xZvPu9qe.d.ts} +2 -2
- package/dist/{runtime-6sL2vhTQ.js → runtime-DlSPFm9o.js} +4 -4
- package/dist/{runtime-6sL2vhTQ.js.map → runtime-DlSPFm9o.js.map} +1 -1
- package/dist/{structural-rollout-D5GbH3cy.js → structural-rollout-R_ZqFaB5.js} +2 -2
- package/dist/{structural-rollout-D5GbH3cy.js.map → structural-rollout-R_ZqFaB5.js.map} +1 -1
- package/dist/{supervise-6jSTe0kO.js → supervise-BDvAFOTM.js} +3 -2
- package/dist/supervise-BDvAFOTM.js.map +1 -0
- package/dist/{supervisor-B4hOPKJV.js → supervisor-DS278ICs.js} +8 -3
- package/dist/supervisor-DS278ICs.js.map +1 -0
- package/dist/testing.js +8 -8
- package/package.json +1 -1
- package/dist/supervise-6jSTe0kO.js.map +0 -1
- package/dist/supervisor-B4hOPKJV.js.map +0 -1
|
@@ -1997,7 +1997,8 @@ function routerBrain(cfg, opts = {}) {
|
|
|
1997
1997
|
const temperature = opts.temperature ?? .4;
|
|
1998
1998
|
return (messages, tools) => routerChatWithTools(cfg, messages, tools, {
|
|
1999
1999
|
temperature,
|
|
2000
|
-
toolChoice: "auto"
|
|
2000
|
+
toolChoice: "auto",
|
|
2001
|
+
...cfg.maxTokens !== void 0 ? { maxTokens: cfg.maxTokens } : {}
|
|
2001
2002
|
});
|
|
2002
2003
|
}
|
|
2003
2004
|
//#endregion
|
|
@@ -3453,7 +3454,11 @@ function createBudgetPool(root, now = Date.now) {
|
|
|
3453
3454
|
ok: false,
|
|
3454
3455
|
reason: "budget-exhausted"
|
|
3455
3456
|
};
|
|
3456
|
-
if (wantUsd > 0 &&
|
|
3457
|
+
if (wantUsd > 0 && !usdCapped) return {
|
|
3458
|
+
ok: false,
|
|
3459
|
+
reason: "usd-unbudgeted"
|
|
3460
|
+
};
|
|
3461
|
+
if (wantUsd > freeUsd) return {
|
|
3457
3462
|
ok: false,
|
|
3458
3463
|
reason: "budget-exhausted"
|
|
3459
3464
|
};
|
|
@@ -4033,4 +4038,4 @@ function isNonEmptySpend(s) {
|
|
|
4033
4038
|
//#endregion
|
|
4034
4039
|
export { createWorktree as A, routerChatWithUsage as C, runWorktreeChecks as D, runSettledCommand as E, CodexExecutionDiagnosticError as F, harnessInvocation as M, parseCodexTokenUsage as N, runWorktreeHarness as O, runLocalHarness as P, routerChatWithTools as S, runBrainLoop as T, waitUntil as _, runFinalizer as a, readWorkerProgress as b, spendFromUsageEvents as c, settledToIteration as d, createWaitProbes as f, validateWaitSpec as g, timerAt as h, pickBestDelivered as i, removeWorktree as j, captureWorktreeDiff as k, withDriverExecutor as l, pollFor as m, bestDelivered as n, runTree as o, isWaitOutcome as p, collectDelivered as r, createBudgetPool as s, createSupervisor as t, createScope as u, DEFAULT_STALL_AFTER_MS as v, routerToolLoop as w, routerBrain as x, createActivityLog as y };
|
|
4035
4040
|
|
|
4036
|
-
//# sourceMappingURL=supervisor-
|
|
4041
|
+
//# sourceMappingURL=supervisor-DS278ICs.js.map
|