@tangle-network/agent-runtime 0.190.0 → 0.192.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-D9WGuwcK.js} +2 -2
- package/dist/{activation-BgRWFKZi.js.map → activation-D9WGuwcK.js.map} +1 -1
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +2 -2
- package/dist/{authoring-dQQ2z1fT.js → authoring-BzMyFv9z.js} +7 -3
- package/dist/{authoring-dQQ2z1fT.js.map → authoring-BzMyFv9z.js.map} +1 -1
- package/dist/conversation.d.ts +1 -1
- package/dist/{coordination-driver-Da1IGdTP.js → coordination-driver-_wzRdIK_.js} +668 -35
- package/dist/coordination-driver-_wzRdIK_.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-y0AW_Txn.js} +3 -2
- package/dist/graph-y0AW_Txn.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-BPyj98Id.js} +3 -3
- package/dist/{improvement-cycle-BanlFMyL.js.map → improvement-cycle-BPyj98Id.js.map} +1 -1
- package/dist/{index-DpNil9jh.d.ts → index-B_fEqr5V.d.ts} +328 -13
- package/dist/{index-C-gBk5M9.d.ts → index-COznK4kB.d.ts} +4 -4
- package/dist/{index-Clb7_qML.d.ts → index-OSRVFARy.d.ts} +2 -2
- 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-BIo_3VwO.js} +3 -3
- package/dist/{knowledge-BXdXlv48.js.map → knowledge-BIo_3VwO.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-C-FnTrM8.js} +3 -3
- package/dist/{loop-runner-bin-CGQzzWAc.js.map → loop-runner-bin-C-FnTrM8.js.map} +1 -1
- package/dist/{loop-runner-bin-Cy4f9M6p.d.ts → loop-runner-bin-DiiZMHw7.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-PzShuaP4.js} +2 -2
- package/dist/{openai-tools-BSDk_umV.js.map → openai-tools-PzShuaP4.js.map} +1 -1
- package/dist/primeintellect/index.d.ts +1 -1
- package/dist/{provision-supervisor-bwpzajiz.js → provision-supervisor-DkVH1f9I.js} +4 -4
- package/dist/{provision-supervisor-bwpzajiz.js.map → provision-supervisor-DkVH1f9I.js.map} +1 -1
- package/dist/{supervisor-CqJW4qap.js → redact-h5zAxyNV.js} +179 -12
- package/dist/redact-h5zAxyNV.js.map +1 -0
- package/dist/{runtime-Ddh7PyCy.js → runtime-1JqxyKDI.js} +84 -30
- package/dist/runtime-1JqxyKDI.js.map +1 -0
- package/dist/{runtime-BMWmSu4A.d.ts → runtime-DI4mJNXI.d.ts} +3 -3
- package/dist/{stream-agent-turn-uqzf9ZEh.d.ts → stream-agent-turn-_GgUW49y.d.ts} +35 -3
- package/dist/{structural-rollout-0NKvKuFm.js → structural-rollout-CunhVUWJ.js} +2 -2
- package/dist/{structural-rollout-0NKvKuFm.js.map → structural-rollout-CunhVUWJ.js.map} +1 -1
- package/dist/{supervise-yDiZAqlN.js → supervise-Bx1Ps8xQ.js} +21 -6
- package/dist/supervise-Bx1Ps8xQ.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/runtime-Ddh7PyCy.js.map +0 -1
- package/dist/supervise-yDiZAqlN.js.map +0 -1
- package/dist/supervisor-CqJW4qap.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { E as SandboxClient, at as RuntimeStreamEvent, i as ExecCtx, k as Validator } from "./types-BdolQ6Zi.js";
|
|
2
|
-
import {
|
|
3
|
-
import { i as AgentEnvironmentProvider, o as AgentEnvironmentProviderRegistry, w as ProviderExecutorOptions } from "./environment-provider-
|
|
2
|
+
import { B as Scope, _ as ExecutorRegistry, _n as TraceSource, a as DefaultVerdict, b as ExecutorToolCall, g as ExecutorProgressEvent, it as UsageEvent, l as ExecutorCancellation, p as ExecutorFactory, q as Spend, u as ExecutorCancellationRequest, wn as ExecutorProgress } from "./types-DKA_PDv0.js";
|
|
3
|
+
import { i as AgentEnvironmentProvider, o as AgentEnvironmentProviderRegistry, w as ProviderExecutorOptions } from "./environment-provider-CJ43FJfJ.js";
|
|
4
4
|
import { AgentProfile, AgentProfileMcpServer, HarnessType, ReasoningEffort, StreamEvent } from "@tangle-network/agent-interface";
|
|
5
5
|
import { WorkspacePlanReceipt } from "@tangle-network/agent-profile-materialize";
|
|
6
6
|
import { ChildProcess } from "node:child_process";
|
|
@@ -1692,4 +1692,4 @@ declare function createExecutor(config: ExecutorConfig): ExecutorFactory<unknown
|
|
|
1692
1692
|
declare function createExecutorRegistry(): ExecutorRegistry;
|
|
1693
1693
|
//#endregion
|
|
1694
1694
|
export { CodexRolloutTurn as $, PeerMailboxOptions as $t, SandboxToolPartState as A, localHarnessExecutable as At, sumSandboxUsage as B, ToolLoopToolCall as Bt, Inbox as C, CodexTokenUsage as Ct, SandboxLeafOut as D, LocalHarnessResult as Dt, createInbox as E, LocalHarness as Et, extractLlmCallEvent as F, ToolLoopCallContext as Ft, resolveMcpServerLaunch as G, PeerMailEvent as Gt, ResolvedMcpServerLaunch as H, DEFAULT_PEER_MAIL_LIMITS as Ht, mapSandboxEvent as I, ToolLoopChat as It, CodexForkBoundary as J, PeerMailOutcome as Jt, resolveSecretEnv as K, PeerMailKind as Kt, mapSandboxToolEvent as L, ToolLoopCompaction as Lt, assertSandboxServedModel as M, runLocalHarness as Mt, createSandboxToolPartState as N, RouterTransportConfig as Nt, SandboxOutputMarker as O, RunLocalHarnessOptions as Ot, createSandboxUsageLedger as P, ToolSpec as Pt, CodexRolloutStoreRef as Q, PeerMailbox as Qt, sandboxEventServedBackend as R, ToolLoopCompactionOptions as Rt, AuthorityInboxMessage as S, CodexExecutionPolicy as St, PeerInboxMessage as T, LOCAL_HARNESSES as Tt, envKeyProvider as U, PEER_MAIL_WIRE_KEY as Ut, KeyProvider as V, AUTHORITY_MARKERS as Vt, mcpSecretEnvMetadataKey as W, PeerMailEnvelope as Wt, CodexRolloutSession as X, PeerMailRefusal as Xt, CodexRolloutIdentity as Y, PeerMailReadout as Yt, CodexRolloutStoreReader as Z, PeerMailSendInput as Zt, DEFAULT_SANDBOX_STEERING_MAX_TURNS as _, WorktreeHandle as _t, CliSeam as a, JsonRpcMessage as an, HarnessUsage as at, SteerableSandboxSession as b, removeWorktree as bt, ExecutorConfig as c, McpTransport as cn, WorktreeCheckRunner as ct, RouterToolsSeam as d, WorktreeProfileMaterializationReceipt as dt, claimsAuthority as en, CodexStoreDelta as et, SandboxSeam as f, CreateWorktreeOptions as ft, createExecutorRegistry as g, RemoveWorktreeOptions as gt, createExecutor as h, GitRunner as ht, CliInPlaceSeam as i, peerMailVerbNames as in, readCodexRolloutSession as it, SandboxUsageLedger as j, parseCodexTokenUsage as jt, SandboxServedBackend as k, harnessSupportsReasoningEffort as kt, ProviderSeam as l, WorktreeCommandResult as lt, cliWorktreeExecutor as m, DiffResult as mt, BridgeModelCredential as n, isPeerMailEnvelope as nn, createCodexRolloutStoreReader as nt, CliWorktreeBridgeSeam as o, JsonRpcResponse as on, decodeHarnessUsage as ot, cliInPlaceExecutor as p, DiffOptions as pt, secretEnvOfMcpServer as q, PeerMailLimits as qt, BridgeSeam as r, peerMailTools as rn, harnessUsageIsEmpty as rt, CliWorktreeSeam as s, McpToolDescriptor as sn, InPlaceHarnessResult as st, BridgeHarnessStore as t, createPeerMailbox as tn, addHarnessUsage as tt, RouterSeam as u, WorktreeHarnessResult as ut, SandboxSteeringOptions as v, captureWorktreeDiff as vt, InboxMessage as w, DEFAULT_LOCAL_HARNESS as wt, createSteerableSandboxSession as x, CodexExecutionEvidence as xt, SteerableSandboxArgs as y, createWorktree as yt, sandboxProgressEvents as z, ToolLoopMessageRecord as zt };
|
|
1695
|
-
//# sourceMappingURL=runtime-
|
|
1695
|
+
//# sourceMappingURL=runtime-DI4mJNXI.d.ts.map
|
|
@@ -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-h5zAxyNV.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-CunhVUWJ.js.map
|