@tangle-network/agent-runtime 0.339.0 → 0.340.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-CVSFxis9.js → activation-D2PVljaw.js} +4 -4
- package/dist/{activation-CVSFxis9.js.map → activation-D2PVljaw.js.map} +1 -1
- package/dist/{activation-CJIIl_Ey.d.ts → activation-DGDl4wwI.d.ts} +2 -2
- package/dist/agent.d.ts +4 -18
- package/dist/agent.js +3 -21
- package/dist/agent.js.map +1 -1
- package/dist/analyst-loop.d.ts +2 -2
- package/dist/{bundle-DVOhBTic.js → bundle-DNUq-OPW.js} +2 -2
- package/dist/{bundle-DVOhBTic.js.map → bundle-DNUq-OPW.js.map} +1 -1
- package/dist/candidate-execution/index.d.ts +2 -40
- package/dist/candidate-execution/index.js +9 -255
- package/dist/candidate-execution/index.js.map +1 -1
- package/dist/{delegate-CCWE_AkU.js → delegate-CtJIS-tp.js} +2 -2
- package/dist/{delegate-CCWE_AkU.js.map → delegate-CtJIS-tp.js.map} +1 -1
- package/dist/{driver-control-acknowledgers-C53ggdJ6.js → driver-control-acknowledgers-MTrs8HAF.js} +5 -5
- package/dist/driver-control-acknowledgers-MTrs8HAF.js.map +1 -0
- package/dist/durable.d.ts +1 -1
- package/dist/durable.js +5 -5
- package/dist/{graph-CI9JXKqO.js → graph-DfWqp_1e.js} +4 -4
- package/dist/{graph-CI9JXKqO.js.map → graph-DfWqp_1e.js.map} +1 -1
- package/dist/{improve-BOXTLWJ3.js → improve-CKRVQqzt.js} +6 -6
- package/dist/{improve-BOXTLWJ3.js.map → improve-CKRVQqzt.js.map} +1 -1
- package/dist/{improvement-adapter-HUt_-cWA.d.ts → improvement-adapter-sIthWkcN.d.ts} +2 -2
- package/dist/index.d.ts +6 -14
- package/dist/index.js +10 -10
- package/dist/intelligence.d.ts +4 -4
- package/dist/intelligence.js +6 -6
- package/dist/kernel.d.ts +3 -3
- package/dist/kernel.js +10 -10
- package/dist/{loop-runner-CWzG1bH4.d.ts → loop-runner-C4EWEcXf.d.ts} +3 -3
- package/dist/{loop-runner-pmPIHFVY.js → loop-runner-DNWbTcVm.js} +2 -2
- package/dist/{loop-runner-pmPIHFVY.js.map → loop-runner-DNWbTcVm.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 +3 -3
- package/dist/mcp/index.d.ts +1 -1
- package/dist/mcp/index.js +5 -5
- package/dist/placement.d.ts +2 -26
- package/dist/placement.js +1 -35
- package/dist/placement.js.map +1 -1
- package/dist/{prepare-bXkvPMJA.js → prepare-FzJoS68l.js} +3 -3
- package/dist/{prepare-bXkvPMJA.js.map → prepare-FzJoS68l.js.map} +1 -1
- package/dist/{profile-Dpei_Sq0.js → profile-DToH0XEs.js} +2 -2
- package/dist/{profile-Dpei_Sq0.js.map → profile-DToH0XEs.js.map} +1 -1
- package/dist/profile-materialization-bPm0gGLO.d.ts +49 -0
- package/dist/profiles.d.ts +1 -1
- package/dist/{protected-model-port-BGgpy2r9.d.ts → protected-model-port-DVVh-hEk.d.ts} +2 -6
- package/dist/{provision-supervisor-CJ6Zz6dz.js → provision-supervisor-DqvWXmAE.js} +4 -4
- package/dist/{provision-supervisor-CJ6Zz6dz.js.map → provision-supervisor-DqvWXmAE.js.map} +1 -1
- package/dist/{runtime-B2fjL9Oi.js → runtime-C55Zgo1R.js} +10 -10
- package/dist/{runtime-B2fjL9Oi.js.map → runtime-C55Zgo1R.js.map} +1 -1
- package/dist/{sandbox-profile-compat-BzVBFqrz.js → sandbox-profile-compat-DRr3JwDx.js} +2 -2
- package/dist/{sandbox-profile-compat-BzVBFqrz.js.map → sandbox-profile-compat-DRr3JwDx.js.map} +1 -1
- package/dist/{search-executor-zMumiak_.js → search-executor-ChOlRBgg.js} +3 -3
- package/dist/{search-executor-zMumiak_.js.map → search-executor-ChOlRBgg.js.map} +1 -1
- package/dist/{server-_4voDNrl.js → server-DkVBSN_S.js} +4 -4
- package/dist/{server-_4voDNrl.js.map → server-DkVBSN_S.js.map} +1 -1
- package/dist/{structural-rollout-DpLCXzaL.js → structural-rollout-C1LEk_zq.js} +3 -3
- package/dist/{structural-rollout-DpLCXzaL.js.map → structural-rollout-C1LEk_zq.js.map} +1 -1
- package/dist/{supervise-qAwXmPtD.js → supervise-CaUAxZZP.js} +86 -22
- package/dist/supervise-CaUAxZZP.js.map +1 -0
- package/dist/{supervisor-DHrUJhEZ.js → supervisor-VXuN2OHT.js} +29 -86
- package/dist/supervisor-VXuN2OHT.js.map +1 -0
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +13 -13
- package/dist/tui/index.d.ts +1 -1
- package/dist/tui/index.js +1 -1
- package/dist/{types-zWfqDjeL.d.ts → types-Cwrea-bU.d.ts} +2 -17
- package/dist/{types-CaOXqRTq.d.ts → types-DZ6L0Bv3.d.ts} +54 -58
- package/dist/workspace-store/index.d.ts +1 -82
- package/dist/workspace-store/index.js +1 -415
- package/dist/workspace-store/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/driver-control-acknowledgers-C53ggdJ6.js.map +0 -1
- package/dist/profile-materialization-B1wm2SPT.d.ts +0 -94
- package/dist/supervise-qAwXmPtD.js.map +0 -1
- package/dist/supervisor-DHrUJhEZ.js.map +0 -1
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { AgentProfile, CanonicalAgentProfileMaterializationAxis, profileMaterializationAxes as profileMaterializationAxes$1 } from "@tangle-network/agent-interface";
|
|
2
|
-
import { HarnessId, SkippableDimension, WorkspacePlan } from "@tangle-network/agent-profile-materialize";
|
|
3
|
-
//#region src/agent/profile-materialization.d.ts
|
|
4
|
-
type KnownAgentProfileMaterializationAxis = CanonicalAgentProfileMaterializationAxis;
|
|
5
|
-
/** AgentProfile axis name, with `custom:<name>` reserved for caller-owned extensions. */
|
|
6
|
-
type AgentProfileMaterializationAxis = KnownAgentProfileMaterializationAxis | `custom:${string}`;
|
|
7
|
-
/** Declares which AgentProfile axes a concrete run path really carries. */
|
|
8
|
-
interface ProfileMaterializationContract {
|
|
9
|
-
/** Human-readable run path, e.g. `createSandboxAct` or `prompt-only-message`. */
|
|
10
|
-
name: string;
|
|
11
|
-
/** Profile axes this run path actually carries into execution. */
|
|
12
|
-
axes: readonly AgentProfileMaterializationAxis[];
|
|
13
|
-
}
|
|
14
|
-
/** One changed AgentProfile axis that would be dropped by a run path. */
|
|
15
|
-
interface ProfileMaterializationIssue {
|
|
16
|
-
contract: string;
|
|
17
|
-
axis: AgentProfileMaterializationAxis;
|
|
18
|
-
reason: 'unsupported-axis';
|
|
19
|
-
supportedAxes: readonly AgentProfileMaterializationAxis[];
|
|
20
|
-
}
|
|
21
|
-
/** Input for declaring a run path's profile-axis support. */
|
|
22
|
-
interface DefineProfileMaterializationContractOptions {
|
|
23
|
-
name: string;
|
|
24
|
-
axes: readonly AgentProfileMaterializationAxis[];
|
|
25
|
-
}
|
|
26
|
-
/** Input for checking a candidate diff against a run path. */
|
|
27
|
-
interface ValidateProfileMaterializationOptions {
|
|
28
|
-
contract: ProfileMaterializationContract;
|
|
29
|
-
changedAxes: readonly AgentProfileMaterializationAxis[];
|
|
30
|
-
}
|
|
31
|
-
/** Input for throwing on dropped profile axes. */
|
|
32
|
-
interface AssertProfileMaterializationOptions extends ValidateProfileMaterializationOptions {
|
|
33
|
-
/** Extra label included in the thrown error, usually the caller or run id. */
|
|
34
|
-
context?: string;
|
|
35
|
-
}
|
|
36
|
-
/** Materialization contract for a run path that executes every canonical AgentProfile leaf. */
|
|
37
|
-
declare const fullProfileMaterialization: ProfileMaterializationContract;
|
|
38
|
-
/**
|
|
39
|
-
* Materialization contract for an intentionally limited prompt-and-model execution path.
|
|
40
|
-
* Identity, harness, and metadata are control fields consumed for naming, placement,
|
|
41
|
-
* authorization, and durable attribution; they are carried without adding worker behavior.
|
|
42
|
-
* Every behavioral axis other than prompt and model remains unsupported.
|
|
43
|
-
*/
|
|
44
|
-
declare const promptModelProfileMaterialization: ProfileMaterializationContract;
|
|
45
|
-
/**
|
|
46
|
-
* Materialization contract for a local coding CLI in an isolated git worktree.
|
|
47
|
-
* The shared workspace materializer carries native tools, permissions, MCP, hooks, subagents,
|
|
48
|
-
* modes, and file-backed resources when the selected CLI supports their exact values.
|
|
49
|
-
* `resourceFailOnError` is carried: it is the fail-closed policy the pre-worktree resource
|
|
50
|
-
* RESOLUTION step (`resolveAgentProfileResources`) applies to remote profile resources. Runtime
|
|
51
|
-
* placement concerns (hub connections and confidential execution), provider-native extensions,
|
|
52
|
-
* and unused model hints are deliberately absent so they fail before a worktree or executor is
|
|
53
|
-
* created rather than being mistaken for an effective candidate change.
|
|
54
|
-
*/
|
|
55
|
-
declare const worktreeCliProfileMaterialization: ProfileMaterializationContract;
|
|
56
|
-
/** Materialization contract for a raw process path that carries only control/identity fields. */
|
|
57
|
-
declare const controlProfileMaterialization: ProfileMaterializationContract;
|
|
58
|
-
/** Materialization contract for an injected inference function whose surrounding driver still
|
|
59
|
-
* applies the profile prompt, name, placement, and metadata, but not model selection. */
|
|
60
|
-
declare const promptControlProfileMaterialization: ProfileMaterializationContract;
|
|
61
|
-
/**
|
|
62
|
-
* `createSandboxAct` sends the profile as `backend.profile`; its contract must match Sandbox.
|
|
63
|
-
* `buildBackendOptions` also refuses unsupported secret fields before creating a box.
|
|
64
|
-
*/
|
|
65
|
-
declare const sandboxActProfileMaterialization: ProfileMaterializationContract;
|
|
66
|
-
/** Materialization contract for a run path that only injects prompt text. */
|
|
67
|
-
declare const promptOnlyProfileMaterialization: ProfileMaterializationContract;
|
|
68
|
-
/**
|
|
69
|
-
* Materialization contract for a run path that injects prompt text plus inline resources.
|
|
70
|
-
*
|
|
71
|
-
* `resourceFailOnError` is absent: it is a resolution POLICY the attaching path would have to
|
|
72
|
-
* enforce, and inlining resource content does not carry it.
|
|
73
|
-
*/
|
|
74
|
-
declare const promptResourceProfileMaterialization: ProfileMaterializationContract;
|
|
75
|
-
/** Define the profile axes a concrete run path actually carries into execution. */
|
|
76
|
-
declare function defineProfileMaterializationContract(options: DefineProfileMaterializationContractOptions): ProfileMaterializationContract;
|
|
77
|
-
/** Return every changed profile axis that the selected run path would drop. */
|
|
78
|
-
declare function validateProfileMaterialization(options: ValidateProfileMaterializationOptions): readonly ProfileMaterializationIssue[];
|
|
79
|
-
/** Throw when a candidate changes axes the selected run path cannot carry. */
|
|
80
|
-
declare function assertProfileMaterialization(options: AssertProfileMaterializationOptions): void;
|
|
81
|
-
/**
|
|
82
|
-
* Throw when the CHOSEN HARNESS has no control for a dimension the profile asks for.
|
|
83
|
-
*
|
|
84
|
-
* The contract above answers which axes a run path carries; this answers whether the harness can
|
|
85
|
-
* execute them. `materializeProfile` is pure, so the verdict costs no process and no IO.
|
|
86
|
-
*
|
|
87
|
-
* `skip` must mirror what the EXECUTING caller skips, or this refuses a profile that would have
|
|
88
|
-
* run: a dimension handled by the executor's own native control is not unsupported, it is simply
|
|
89
|
-
* not the plan's to lower.
|
|
90
|
-
*/
|
|
91
|
-
declare function assertProfileMaterializes(profile: AgentProfile, harness: HarnessId, context: string, skip?: readonly SkippableDimension[]): WorkspacePlan;
|
|
92
|
-
//#endregion
|
|
93
|
-
export { promptResourceProfileMaterialization as _, ProfileMaterializationContract as a, worktreeCliProfileMaterialization as b, assertProfileMaterialization as c, defineProfileMaterializationContract as d, fullProfileMaterialization as f, promptOnlyProfileMaterialization as g, promptModelProfileMaterialization as h, KnownAgentProfileMaterializationAxis as i, assertProfileMaterializes as l, promptControlProfileMaterialization as m, AssertProfileMaterializationOptions as n, ProfileMaterializationIssue as o, profileMaterializationAxes$1 as p, DefineProfileMaterializationContractOptions as r, ValidateProfileMaterializationOptions as s, AgentProfileMaterializationAxis as t, controlProfileMaterialization as u, sandboxActProfileMaterialization as v, validateProfileMaterialization as y };
|
|
94
|
-
//# sourceMappingURL=profile-materialization-B1wm2SPT.d.ts.map
|