@tangle-network/agent-runtime 0.190.0 → 0.191.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/{activation-BgRWFKZi.js → activation-BpTEBhQR.js} +2 -2
- package/dist/{activation-BgRWFKZi.js.map → activation-BpTEBhQR.js.map} +1 -1
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +2 -2
- package/dist/{authoring-dQQ2z1fT.js → authoring-DV0fkyxx.js} +7 -3
- package/dist/{authoring-dQQ2z1fT.js.map → authoring-DV0fkyxx.js.map} +1 -1
- package/dist/conversation.d.ts +1 -1
- package/dist/{coordination-driver-Da1IGdTP.js → coordination-driver-Bw0Prnim.js} +668 -35
- package/dist/coordination-driver-Bw0Prnim.js.map +1 -0
- package/dist/durable.d.ts +2 -2
- package/dist/durable.js +1 -1
- package/dist/{environment-provider-Bf-hgR6p.d.ts → environment-provider-CJ43FJfJ.d.ts} +2 -2
- package/dist/{environment-provider-DcelIawX.js → environment-provider-DEwsolvi.js} +43 -6
- package/dist/environment-provider-DEwsolvi.js.map +1 -0
- package/dist/environment-provider.d.ts +1 -1
- package/dist/environment-provider.js +1 -1
- package/dist/{graph-Bd1elhdL.js → graph-BzsMtBYp.js} +3 -2
- package/dist/graph-BzsMtBYp.js.map +1 -0
- package/dist/graph.d.ts +3 -3
- package/dist/graph.js +3 -3
- package/dist/{redact-Cv1GfOFO.d.ts → improve-Cbbt3jE6.d.ts} +4 -36
- package/dist/{improvement-cycle-BanlFMyL.js → improvement-cycle-jC89uaRW.js} +3 -3
- package/dist/{improvement-cycle-BanlFMyL.js.map → improvement-cycle-jC89uaRW.js.map} +1 -1
- package/dist/{index-DpNil9jh.d.ts → index-B2rVjcPT.d.ts} +311 -13
- package/dist/{index-Clb7_qML.d.ts → index-OSRVFARy.d.ts} +2 -2
- package/dist/{index-C-gBk5M9.d.ts → index-Y14IrBuB.d.ts} +4 -4
- package/dist/index.d.ts +9 -8
- package/dist/index.js +7 -8
- package/dist/index.js.map +1 -1
- package/dist/intelligence.d.ts +5 -4
- package/dist/intelligence.js +4 -5
- package/dist/intelligence.js.map +1 -1
- package/dist/kernel.d.ts +6 -6
- package/dist/kernel.js +9 -9
- package/dist/{knowledge-BXdXlv48.js → knowledge-BuXP5ynd.js} +3 -3
- package/dist/{knowledge-BXdXlv48.js.map → knowledge-BuXP5ynd.js.map} +1 -1
- package/dist/knowledge.d.ts +1 -1
- package/dist/knowledge.js +1 -1
- package/dist/{loop-runner-bin-CGQzzWAc.js → loop-runner-bin-B_Xh4jLi.js} +3 -3
- package/dist/{loop-runner-bin-CGQzzWAc.js.map → loop-runner-bin-B_Xh4jLi.js.map} +1 -1
- package/dist/{loop-runner-bin-Cy4f9M6p.d.ts → loop-runner-bin-C2Yw-RBc.d.ts} +3 -3
- package/dist/loop-runner-bin.d.ts +1 -1
- package/dist/loop-runner-bin.js +1 -1
- package/dist/mcp/bin.js +3 -3
- package/dist/mcp/index.d.ts +4 -4
- package/dist/mcp/index.js +6 -6
- package/dist/{openai-tools-BSDk_umV.js → openai-tools-Dqg8IhKd.js} +2 -2
- package/dist/{openai-tools-BSDk_umV.js.map → openai-tools-Dqg8IhKd.js.map} +1 -1
- package/dist/primeintellect/index.d.ts +1 -1
- package/dist/{provision-supervisor-bwpzajiz.js → provision-supervisor-DAcTZDQG.js} +4 -4
- package/dist/{provision-supervisor-bwpzajiz.js.map → provision-supervisor-DAcTZDQG.js.map} +1 -1
- package/dist/{supervisor-CqJW4qap.js → redact-BP8Xn2A3.js} +83 -4
- package/dist/redact-BP8Xn2A3.js.map +1 -0
- package/dist/{runtime-BMWmSu4A.d.ts → runtime-DI4mJNXI.d.ts} +3 -3
- package/dist/{runtime-Ddh7PyCy.js → runtime-Dm63BrGY.js} +63 -19
- package/dist/{runtime-Ddh7PyCy.js.map → runtime-Dm63BrGY.js.map} +1 -1
- package/dist/{stream-agent-turn-uqzf9ZEh.d.ts → stream-agent-turn-_GgUW49y.d.ts} +35 -3
- package/dist/{structural-rollout-0NKvKuFm.js → structural-rollout-ChpGSR0q.js} +2 -2
- package/dist/{structural-rollout-0NKvKuFm.js.map → structural-rollout-ChpGSR0q.js.map} +1 -1
- package/dist/{supervise-yDiZAqlN.js → supervise-B89x7rgF.js} +21 -6
- package/dist/supervise-B89x7rgF.js.map +1 -0
- package/dist/testing.d.ts +2 -2
- package/dist/testing.js +12 -12
- package/dist/tui/index.d.ts +1 -1
- package/dist/tui/index.js +1 -1
- package/dist/{types-02hXqnSP.d.ts → types-DKA_PDv0.d.ts} +27 -2
- package/package.json +1 -1
- package/dist/coordination-driver-Da1IGdTP.js.map +0 -1
- package/dist/environment-provider-DcelIawX.js.map +0 -1
- package/dist/graph-Bd1elhdL.js.map +0 -1
- package/dist/redact-D-u-rrcn.js +0 -82
- package/dist/redact-D-u-rrcn.js.map +0 -1
- package/dist/supervise-yDiZAqlN.js.map +0 -1
- package/dist/supervisor-CqJW4qap.js.map +0 -1
|
@@ -1,9 +1,41 @@
|
|
|
1
1
|
import { J as AgentTaskStatus, Y as BackendErrorDetail, at as RuntimeStreamEvent } from "./types-BdolQ6Zi.js";
|
|
2
|
-
import { p as ExecutorFactory } from "./types-
|
|
2
|
+
import { p as ExecutorFactory } from "./types-DKA_PDv0.js";
|
|
3
3
|
import { AgentProfile } from "@tangle-network/agent-interface";
|
|
4
4
|
import { AgentRunOutcome } from "@tangle-network/sandbox/runtime";
|
|
5
5
|
import { PromptOptions, SandboxEvent, SandboxInstance } from "@tangle-network/sandbox";
|
|
6
6
|
import { AgentTurnInput, AgentTurnInput as AgentTurnInput$1 } from "@tangle-network/agent-interface/environment-provider";
|
|
7
|
+
//#region src/redact.d.ts
|
|
8
|
+
/**
|
|
9
|
+
*
|
|
10
|
+
* Redaction for values that may leave the Runtime process. The default scrubs
|
|
11
|
+
* common leak classes (API keys, bearer tokens, emails, private keys) from
|
|
12
|
+
* strings and walks nested objects and arrays. A customer with domain-specific
|
|
13
|
+
* PII supplies their own `redact` hook.
|
|
14
|
+
*
|
|
15
|
+
* This is intentionally narrower than `src/sanitize.ts` (which redacts the
|
|
16
|
+
* runtime's *event envelope* field-by-field): here the value is opaque
|
|
17
|
+
* customer payload, so the scrub is value-shaped, not schema-shaped.
|
|
18
|
+
*
|
|
19
|
+
* @experimental
|
|
20
|
+
*/
|
|
21
|
+
/** A redactor maps an arbitrary trace value to a safe-to-export value. Pure;
|
|
22
|
+
* must not throw on cyclic input (the default tolerates cycles). */
|
|
23
|
+
type Redactor = (value: unknown) => unknown;
|
|
24
|
+
/**
|
|
25
|
+
* The built-in redactor. Walks objects and arrays; replaces values under
|
|
26
|
+
* secret-bearing keys wholesale; scrubs in-value patterns from every string.
|
|
27
|
+
* Cycle-safe (a seen-set short-circuits self-referential payloads to
|
|
28
|
+
* `'[circular]'`), depth-bounded, and total — never throws on customer input.
|
|
29
|
+
*/
|
|
30
|
+
declare function defaultRedactor(value: unknown): unknown;
|
|
31
|
+
/**
|
|
32
|
+
* Resolve the redactor a client uses. A caller-supplied hook handles
|
|
33
|
+
* domain-specific values first, then the built-in scrubber still removes
|
|
34
|
+
* common credentials and email addresses. Returning `false` is the explicit
|
|
35
|
+
* opt-out for already-reviewed public values.
|
|
36
|
+
*/
|
|
37
|
+
declare function resolveRedactor(redact: Redactor | false | undefined): Redactor;
|
|
38
|
+
//#endregion
|
|
7
39
|
//#region src/runtime/stream-agent-turn.d.ts
|
|
8
40
|
/**
|
|
9
41
|
* The execution substrate one turn runs on — a closed discriminated union over
|
|
@@ -124,5 +156,5 @@ declare function streamAgentTurn(backend: AgentTurnBackend, input: AgentTurnInpu
|
|
|
124
156
|
*/
|
|
125
157
|
declare function collectAgentTurn(stream: AsyncIterable<RuntimeStreamEvent>): Promise<CollectedAgentTurn>;
|
|
126
158
|
//#endregion
|
|
127
|
-
export { StreamAgentTurnOptions as a, CollectedAgentTurn as i, AgentTurnInput$1 as n, collectAgentTurn as o, AgentTurnUsage as r, streamAgentTurn as s, AgentTurnBackend as t };
|
|
128
|
-
//# sourceMappingURL=stream-agent-turn-
|
|
159
|
+
export { StreamAgentTurnOptions as a, Redactor as c, CollectedAgentTurn as i, defaultRedactor as l, AgentTurnInput$1 as n, collectAgentTurn as o, AgentTurnUsage as r, streamAgentTurn as s, AgentTurnBackend as t, resolveRedactor as u };
|
|
160
|
+
//# sourceMappingURL=stream-agent-turn-_GgUW49y.d.ts.map
|
|
@@ -2,7 +2,7 @@ import { n as streamAgentTurn, t as collectAgentTurn } from "./stream-agent-turn
|
|
|
2
2
|
import { i as InMemorySpawnJournal, r as InMemoryResultBlobStore } from "./spawn-journal-B9eTmVAn.js";
|
|
3
3
|
import { t as executableAgentProfileSnapshot } from "./executable-spec-DxuiDFAU.js";
|
|
4
4
|
import { c as profileModelExecutionSettings, i as concreteModelId, o as enforceTokenLimits, t as assertExecutableAgentProfile } from "./model-policy-Wf2MxXJ9.js";
|
|
5
|
-
import {
|
|
5
|
+
import { Zt as observedModelMatchesDeclared, a as createSupervisor, at as captureReusableExecutorConfig, ct as createExecutor, h as withDriverExecutor } from "./redact-BP8Xn2A3.js";
|
|
6
6
|
import { agentProfileSchema, canonicalAgentProfileDigest, canonicalCandidateDigest } from "@tangle-network/agent-interface";
|
|
7
7
|
import { costForTokenPricing, makeProposalFinding } from "@tangle-network/agent-eval";
|
|
8
8
|
import { randomBytes } from "node:crypto";
|
|
@@ -1727,4 +1727,4 @@ function structuralRollout(config = {}) {
|
|
|
1727
1727
|
//#endregion
|
|
1728
1728
|
export { observe as C, optimizerMethod as D, profileOptimizerModelCall as E, strategyAuthorMethod as O, defaultAnalystInstruction as S, profileChatClient as T, depthStrategy as _, defaultStructuralRolloutPolicy as a, sample as b, officialChecksFromMeta as c, selectBestIndex as d, structuralRollout as f, defineStrategy as g, breadthStrategy as h, defaultExtractCandidate as i, resolveEntrySymbol as l, adaptiveRefine as m, compareCheckOutcomes as n, filterAuthoredAsserts as o, visibleCheckScore as p, composeCheckSources as r, modelAuthoredChecks as s, canDisplace as t, sandboxCheckRunner as u, refine as v, renderReport as w, sampleThenRefine as x, runAgentic as y };
|
|
1729
1729
|
|
|
1730
|
-
//# sourceMappingURL=structural-rollout-
|
|
1730
|
+
//# sourceMappingURL=structural-rollout-ChpGSR0q.js.map
|