@tangle-network/agent-runtime 0.82.0 → 0.83.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/README.md +4 -0
- package/dist/agent.d.ts +5 -3
- package/dist/agent.js +7 -7
- package/dist/agent.js.map +1 -1
- package/dist/analyst-loop.d.ts +3 -2
- package/dist/analyst-loop.js +2 -2
- package/dist/{chunk-A7LZR5DT.js → chunk-4WXGK6GV.js} +2 -2
- package/dist/chunk-4WXGK6GV.js.map +1 -0
- package/dist/{chunk-UZ5SODU7.js → chunk-5IBQAPVB.js} +1 -1
- package/dist/chunk-5IBQAPVB.js.map +1 -0
- package/dist/{chunk-5JAUQZQA.js → chunk-7LO5GMAO.js} +1 -1
- package/dist/chunk-7LO5GMAO.js.map +1 -0
- package/dist/{chunk-H7IBHAFT.js → chunk-BZF3KQ6G.js} +1 -1
- package/dist/chunk-BZF3KQ6G.js.map +1 -0
- package/dist/{chunk-WIR4HOOJ.js → chunk-DPEUKJRO.js} +1 -1
- package/dist/chunk-DPEUKJRO.js.map +1 -0
- package/dist/{chunk-DJQFJEOD.js → chunk-J3N6GODQ.js} +2 -2
- package/dist/chunk-J3N6GODQ.js.map +1 -0
- package/dist/{chunk-GRAGM4MC.js → chunk-NURIQBJQ.js} +1 -1
- package/dist/chunk-NURIQBJQ.js.map +1 -0
- package/dist/{chunk-JYURIKPF.js → chunk-QDVLTRCP.js} +4 -4
- package/dist/chunk-QDVLTRCP.js.map +1 -0
- package/dist/{chunk-FNMGYYSS.js → chunk-SGKPNBXE.js} +1 -1
- package/dist/chunk-SGKPNBXE.js.map +1 -0
- package/dist/{chunk-CO2KBPRE.js → chunk-SSA6OERV.js} +6 -6
- package/dist/chunk-SSA6OERV.js.map +1 -0
- package/dist/{chunk-SRGV56W4.js → chunk-UD4BHQMI.js} +2 -2
- package/dist/{chunk-SRGV56W4.js.map → chunk-UD4BHQMI.js.map} +1 -1
- package/dist/{chunk-KSGHI53L.js → chunk-UJ3ONGHR.js} +6 -6
- package/dist/chunk-UJ3ONGHR.js.map +1 -0
- package/dist/{chunk-LWGVVP2C.js → chunk-VNOOH22O.js} +2 -2
- package/dist/chunk-VNOOH22O.js.map +1 -0
- package/dist/{chunk-NBV35BR6.js → chunk-YEJR7IXO.js} +1 -1
- package/dist/chunk-YEJR7IXO.js.map +1 -0
- package/dist/{chunk-C2FZ6GR6.js → chunk-YPA5MLVE.js} +2 -2
- package/dist/chunk-YPA5MLVE.js.map +1 -0
- package/dist/{coordination-BI9tpcmF.d.ts → coordination-CuDLO8wj.d.ts} +53 -32
- package/dist/environment-provider.d.ts +2 -2
- package/dist/environment-provider.js +1 -1
- package/dist/{improvement-adapter-CioiEE2z.d.ts → improvement-adapter-CDR8QNVM.d.ts} +3 -0
- package/dist/index.d.ts +163 -49
- package/dist/index.js +43 -13
- package/dist/index.js.map +1 -1
- package/dist/intelligence.d.ts +14 -8
- package/dist/intelligence.js +1 -1
- package/dist/intelligence.js.map +1 -1
- package/dist/{kb-gate-CuzMYGYM.d.ts → kb-gate-CwHO0vz6.d.ts} +4 -2
- package/dist/lifecycle.d.ts +2 -2
- package/dist/lifecycle.js +3 -3
- package/dist/{local-harness-DU7yV6mG.d.ts → local-harness-sI0S_XNA.d.ts} +2 -1
- package/dist/{loop-runner-bin-CBkLsyFg.d.ts → loop-runner-bin-hQDUL8Ld.d.ts} +28 -13
- package/dist/loop-runner-bin.d.ts +7 -7
- package/dist/loop-runner-bin.js +10 -10
- package/dist/loops.d.ts +102 -45
- package/dist/loops.js +7 -7
- package/dist/mcp/bin.js +8 -8
- package/dist/mcp/bin.js.map +1 -1
- package/dist/mcp/index.d.ts +44 -38
- package/dist/mcp/index.js +11 -11
- package/dist/mcp/index.js.map +1 -1
- package/dist/{mcp-serve-verifier-BvMAV_8U.d.ts → mcp-serve-verifier-FL7-ZEb_.d.ts} +8 -3
- package/dist/{openai-tools-B-3v06BE.d.ts → openai-tools-BnrOmGjN.d.ts} +7 -4
- package/dist/platform.d.ts +4 -0
- package/dist/platform.js.map +1 -1
- package/dist/profiles.d.ts +36 -23
- package/dist/profiles.js +2 -2
- package/dist/profiles.js.map +1 -1
- package/dist/{router-client-D6Ocf4jG.d.ts → router-client-r8y_VFVM.d.ts} +1 -0
- package/dist/{substrate-rNj6TDc3.d.ts → substrate-DO2GHNg2.d.ts} +5 -3
- package/dist/{types-By9LXllv.d.ts → types-Driepl87.d.ts} +3 -2
- package/dist/{types-BF-MEsQB.d.ts → types-ESeMOj94.d.ts} +26 -11
- package/dist/{worktree-fanout-D9Z2dMS9.d.ts → worktree-fanout-D6xR2CIA.d.ts} +16 -10
- package/dist/{worktree-harness-Dx8XULW3.d.ts → worktree-harness-CX_McRLp.d.ts} +11 -8
- package/package.json +1 -1
- package/dist/chunk-5JAUQZQA.js.map +0 -1
- package/dist/chunk-A7LZR5DT.js.map +0 -1
- package/dist/chunk-C2FZ6GR6.js.map +0 -1
- package/dist/chunk-CO2KBPRE.js.map +0 -1
- package/dist/chunk-DJQFJEOD.js.map +0 -1
- package/dist/chunk-FNMGYYSS.js.map +0 -1
- package/dist/chunk-GRAGM4MC.js.map +0 -1
- package/dist/chunk-H7IBHAFT.js.map +0 -1
- package/dist/chunk-JYURIKPF.js.map +0 -1
- package/dist/chunk-KSGHI53L.js.map +0 -1
- package/dist/chunk-LWGVVP2C.js.map +0 -1
- package/dist/chunk-NBV35BR6.js.map +0 -1
- package/dist/chunk-UZ5SODU7.js.map +0 -1
- package/dist/chunk-WIR4HOOJ.js.map +0 -1
package/dist/intelligence.d.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { c as LoopTraceEvent } from './types-
|
|
1
|
+
import { c as LoopTraceEvent } from './types-ESeMOj94.js';
|
|
2
2
|
import { AgentProfileMcpServer } from '@tangle-network/agent-interface';
|
|
3
|
-
import { T as ToolSpec } from './router-client-
|
|
3
|
+
import { T as ToolSpec } from './router-client-r8y_VFVM.js';
|
|
4
4
|
import '@tangle-network/agent-eval';
|
|
5
5
|
import '@tangle-network/sandbox';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
|
-
* @experimental
|
|
9
8
|
*
|
|
10
9
|
* EffortPolicy — pure data, no execution. Resolves a named tier into a flat
|
|
11
10
|
* settings object the Intelligence wrapper reads to decide WHICH intelligence
|
|
@@ -18,6 +17,8 @@ import '@tangle-network/sandbox';
|
|
|
18
17
|
* fanout:1, loops:false, intelligenceBudgetUsd:0). At OFF the wrapper runs the
|
|
19
18
|
* agent as pure passthrough and only intelligence-class usage can prove to be
|
|
20
19
|
* zero — there is nothing to spawn.
|
|
20
|
+
*
|
|
21
|
+
* @experimental
|
|
21
22
|
*/
|
|
22
23
|
/** The named effort tiers, lowest to highest. `'off'` is the honest floor
|
|
23
24
|
* below `'eco'`: intelligence fully off, telemetry still best-effort. */
|
|
@@ -117,7 +118,6 @@ interface EffortOverridesCompiled {
|
|
|
117
118
|
declare function compileEffort(settings: EffortSettings): EffortOverridesCompiled;
|
|
118
119
|
|
|
119
120
|
/**
|
|
120
|
-
* @experimental
|
|
121
121
|
*
|
|
122
122
|
* Redaction for Intelligence trace export. The trace carries the customer's
|
|
123
123
|
* real input/output; before any of it leaves the process it passes through a
|
|
@@ -128,6 +128,8 @@ declare function compileEffort(settings: EffortSettings): EffortOverridesCompile
|
|
|
128
128
|
* This is intentionally narrower than `src/sanitize.ts` (which redacts the
|
|
129
129
|
* runtime's *event envelope* field-by-field): here the value is opaque
|
|
130
130
|
* customer payload, so the scrub is value-shaped, not schema-shaped.
|
|
131
|
+
*
|
|
132
|
+
* @experimental
|
|
131
133
|
*/
|
|
132
134
|
/** A redactor maps an arbitrary trace value to a safe-to-export value. Pure;
|
|
133
135
|
* must not throw on cyclic input (the default tolerates cycles). */
|
|
@@ -149,7 +151,6 @@ declare function defaultRedactor(value: unknown): unknown;
|
|
|
149
151
|
declare function resolveRedactor(redact: Redactor | false | undefined): Redactor;
|
|
150
152
|
|
|
151
153
|
/**
|
|
152
|
-
* @experimental
|
|
153
154
|
*
|
|
154
155
|
* Tangle Intelligence — the DELIVERY half of the loop (pull-by-default).
|
|
155
156
|
*
|
|
@@ -172,6 +173,8 @@ declare function resolveRedactor(redact: Redactor | false | undefined): Redactor
|
|
|
172
173
|
* async (input, applied) => myAgent(input, { systemPrompt: applied.composePrompt(BASE) }),
|
|
173
174
|
* { project: 'support-agent', target: 'support-agent' },
|
|
174
175
|
* )
|
|
176
|
+
*
|
|
177
|
+
* @experimental
|
|
175
178
|
*/
|
|
176
179
|
|
|
177
180
|
/** A promoted, certified artifact (one entry in the composed profile). */
|
|
@@ -308,7 +311,6 @@ declare function withCertifiedDelivery<I, O>(agent: DeliveredAgent<I, O>, config
|
|
|
308
311
|
};
|
|
309
312
|
|
|
310
313
|
/**
|
|
311
|
-
* @experimental
|
|
312
314
|
*
|
|
313
315
|
* The Capability-Delivery Manifest — the unified, future-proof structure for
|
|
314
316
|
* delivering ONE certified unit of agent power = `{ interface, binding }`.
|
|
@@ -332,6 +334,8 @@ declare function withCertifiedDelivery<I, O>(agent: DeliveredAgent<I, O>, config
|
|
|
332
334
|
* Layering: this depends DOWN on `@tangle-network/sandbox` (the SDK
|
|
333
335
|
* `AgentProfileMcpServer` shape the mcp binding lowers to) and on the runtime's
|
|
334
336
|
* own `ToolSpec`. It never imports agent-eval and never reaches upward.
|
|
337
|
+
*
|
|
338
|
+
* @experimental
|
|
335
339
|
*/
|
|
336
340
|
|
|
337
341
|
/** A JSON Schema object describing a tool's parameters. Kept structural — the
|
|
@@ -600,7 +604,6 @@ declare class CapabilityNotAdmittedError extends Error {
|
|
|
600
604
|
declare function manifestFromProfile(profile: CertifiedProfile): CapabilityManifest;
|
|
601
605
|
|
|
602
606
|
/**
|
|
603
|
-
* @experimental
|
|
604
607
|
*
|
|
605
608
|
* The capability resolver — the ONLY place that knows binding kinds. It lowers a
|
|
606
609
|
* `CapabilityManifest` into a uniform `ResolvedSurface` consumed identically by
|
|
@@ -624,6 +627,8 @@ declare function manifestFromProfile(profile: CertifiedProfile): CapabilityManif
|
|
|
624
627
|
* returns the base surface only; a per-capability resolve failure DROPS that
|
|
625
628
|
* capability (never a half-wired tool); a post-resolve drift check drops any tool
|
|
626
629
|
* whose live names diverge from the certified interface.
|
|
630
|
+
*
|
|
631
|
+
* @experimental
|
|
627
632
|
*/
|
|
628
633
|
|
|
629
634
|
/** A live, provisioned host the resolver tore up for a `process-on-infra` arm.
|
|
@@ -707,7 +712,6 @@ declare function composeCertifiedProfileFromWire(base: {
|
|
|
707
712
|
}, profile: CertifiedProfile | null, ctx?: ResolveCtx): Promise<ResolvedSurface>;
|
|
708
713
|
|
|
709
714
|
/**
|
|
710
|
-
* @experimental
|
|
711
715
|
*
|
|
712
716
|
* Tangle Intelligence SDK — the Observe + Mode-0 product layer.
|
|
713
717
|
*
|
|
@@ -728,6 +732,8 @@ declare function composeCertifiedProfileFromWire(base: {
|
|
|
728
732
|
* is a LATER phase and is NOT built here. This wrapper only Observes and passes
|
|
729
733
|
* through; there is no abort path, so the only fail-soft surface is the
|
|
730
734
|
* telemetry export.
|
|
735
|
+
*
|
|
736
|
+
* @experimental
|
|
731
737
|
*/
|
|
732
738
|
|
|
733
739
|
/** Usage class for billing. Base-stream tokens bill `'inference'`; every
|