@tangle-network/agent-runtime 0.287.0 → 0.287.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-4vL86PRm.js → activation-v8YzadAV.js} +2 -2
- package/dist/{activation-4vL86PRm.js.map → activation-v8YzadAV.js.map} +1 -1
- package/dist/agent.js +2 -2
- package/dist/{coordination-driver-DDghv2Gd.js → coordination-driver-JuhaM7h9.js} +2 -2
- package/dist/{coordination-driver-DDghv2Gd.js.map → coordination-driver-JuhaM7h9.js.map} +1 -1
- package/dist/{delegate-Dap1t7z3.js → delegate-mU1hNp4x.js} +2 -2
- package/dist/{delegate-Dap1t7z3.js.map → delegate-mU1hNp4x.js.map} +1 -1
- package/dist/durable.js +2 -2
- package/dist/{graph-BTpOi49c.js → graph-BrbDHk_N.js} +4 -4
- package/dist/{graph-BTpOi49c.js.map → graph-BrbDHk_N.js.map} +1 -1
- package/dist/{improvement-cycle-CYlT8ljt.js → improvement-cycle-DBvwFjzV.js} +3 -3
- package/dist/{improvement-cycle-CYlT8ljt.js.map → improvement-cycle-DBvwFjzV.js.map} +1 -1
- package/dist/index.js +7 -7
- package/dist/intelligence.js +4 -4
- package/dist/kernel.js +8 -8
- package/dist/{loop-runner-bin-egTVuXQR.js → loop-runner-bin-DnzN8uSs.js} +3 -3
- package/dist/{loop-runner-bin-egTVuXQR.js.map → loop-runner-bin-DnzN8uSs.js.map} +1 -1
- package/dist/loop-runner-bin.js +1 -1
- package/dist/mcp/bin.js +3 -3
- package/dist/mcp/index.js +4 -4
- package/dist/{provision-supervisor-DOcn_znM.js → provision-supervisor-Cqsvapjc.js} +3 -3
- package/dist/{provision-supervisor-DOcn_znM.js.map → provision-supervisor-Cqsvapjc.js.map} +1 -1
- package/dist/{runtime-B4yjra8n.js → runtime-hBrhhci-.js} +8 -8
- package/dist/{runtime-B4yjra8n.js.map → runtime-hBrhhci-.js.map} +1 -1
- package/dist/{search-method-CeCJqBht.js → search-method-qqof5BPa.js} +2 -2
- package/dist/{search-method-CeCJqBht.js.map → search-method-qqof5BPa.js.map} +1 -1
- package/dist/{server-CbJVwrL8.js → server-t5Xne9Nn.js} +3 -3
- package/dist/{server-CbJVwrL8.js.map → server-t5Xne9Nn.js.map} +1 -1
- package/dist/{supervise-PbqXJ2vC.js → supervise-C-OUl-0_.js} +3 -3
- package/dist/{supervise-PbqXJ2vC.js.map → supervise-C-OUl-0_.js.map} +1 -1
- package/dist/{supervisor-BuxrUpbM.js → supervisor-DCSxS4UB.js} +27 -4
- package/dist/{supervisor-BuxrUpbM.js.map → supervisor-DCSxS4UB.js.map} +1 -1
- package/dist/testing.js +12 -12
- package/dist/tui/index.js +1 -1
- package/package.json +1 -1
- package/skills/profile-authoring/SKILL.md +13 -1
- package/skills/profile-authoring/references/execution-and-credentials.md +73 -0
package/dist/testing.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { O as immutableCandidateValue, w as canonicalCandidateDigest$1 } from "./workspace-archive-MhowMCmp.js";
|
|
2
|
-
import { f as verifyAgentImprovementProposal } from "./improvement-cycle-
|
|
2
|
+
import { f as verifyAgentImprovementProposal } from "./improvement-cycle-DBvwFjzV.js";
|
|
3
3
|
import { i as applyExactAgentProfileDiff, p as parseExactAgentProfile } from "./profile-C4NDjZyB.js";
|
|
4
|
-
import { r as driverAgent } from "./coordination-driver-
|
|
5
|
-
import { a as superviseWithTestBrain, h as supervisorAgentWithTestBrain } from "./supervise-
|
|
6
|
-
import { i as runGraphWithTestBrain } from "./graph-
|
|
4
|
+
import { r as driverAgent } from "./coordination-driver-JuhaM7h9.js";
|
|
5
|
+
import { a as superviseWithTestBrain, h as supervisorAgentWithTestBrain } from "./supervise-C-OUl-0_.js";
|
|
6
|
+
import { i as runGraphWithTestBrain } from "./graph-BrbDHk_N.js";
|
|
7
7
|
import { SANDBOX_SIZE_PRESET_NAMES, canonicalAgentProfileDigest } from "@tangle-network/agent-interface";
|
|
8
8
|
//#region src/testing/fixtures/agent-improvement-proposal.json
|
|
9
9
|
var agent_improvement_proposal_default = {
|
|
10
10
|
changedSurfaces: ["prompt"],
|
|
11
|
-
digest: "sha256:
|
|
11
|
+
digest: "sha256:74a384270db9ec81273d835f9a5ca58bfcae65fd1a3c6726d8a76de202792a4f",
|
|
12
12
|
evaluation: {
|
|
13
13
|
"decision": {
|
|
14
14
|
"contributingChecks": [
|
|
@@ -4579,7 +4579,7 @@ var agent_improvement_proposal_default = {
|
|
|
4579
4579
|
],
|
|
4580
4580
|
"metadata": {
|
|
4581
4581
|
"fixture": "agent-improvement-proposal",
|
|
4582
|
-
"runtimeVersion": "0.287.
|
|
4582
|
+
"runtimeVersion": "0.287.1"
|
|
4583
4583
|
},
|
|
4584
4584
|
"objectives": [
|
|
4585
4585
|
{
|
|
@@ -4690,8 +4690,8 @@ var agent_improvement_proposal_default = {
|
|
|
4690
4690
|
"baselineContentHash": "sha256:5c21ee53e513fc604cb09754e21c392b24a424da0ef37dbf8f1ee4a8a0b08f09",
|
|
4691
4691
|
"candidateContentHash": "sha256:60fcbb1c728194bd51d7d19cb732d1c3f1881dce7e0a6266b41c8b98cfd65693",
|
|
4692
4692
|
"kind": "agent-eval-loop",
|
|
4693
|
-
"recordDigest": "sha256:
|
|
4694
|
-
"runId": "agent-runtime-0.287.
|
|
4693
|
+
"recordDigest": "sha256:4fbd49f487cdc3c39227e5a0f1edc5fddc026de81f8316b4a32a738507399c55",
|
|
4694
|
+
"runId": "agent-runtime-0.287.1-proposal-fixture",
|
|
4695
4695
|
"schema": "agent-candidate-experiment"
|
|
4696
4696
|
}
|
|
4697
4697
|
},
|
|
@@ -4714,13 +4714,13 @@ var agent_improvement_proposal_default = {
|
|
|
4714
4714
|
}],
|
|
4715
4715
|
kind: "agent-improvement-proposal",
|
|
4716
4716
|
proposedAt: "2026-07-10T01:00:00.000Z",
|
|
4717
|
-
runId: "agent-runtime-0.287.
|
|
4717
|
+
runId: "agent-runtime-0.287.1-proposal-fixture"
|
|
4718
4718
|
};
|
|
4719
4719
|
//#endregion
|
|
4720
4720
|
//#region src/testing/fixtures/agent-profile-improvement-proposal.json
|
|
4721
4721
|
var agent_profile_improvement_proposal_default = {
|
|
4722
4722
|
changedSurfaces: ["prompt", "skills"],
|
|
4723
|
-
digest: "sha256:
|
|
4723
|
+
digest: "sha256:07a9787d1b86722e3772e344ff4475f5843ef3adfbae51713a7975337155f48d",
|
|
4724
4724
|
evaluation: {
|
|
4725
4725
|
"decision": {
|
|
4726
4726
|
"contributingChecks": [
|
|
@@ -6354,7 +6354,7 @@ var agent_profile_improvement_proposal_default = {
|
|
|
6354
6354
|
],
|
|
6355
6355
|
"metadata": {
|
|
6356
6356
|
"fixture": "agent-profile-improvement-proposal",
|
|
6357
|
-
"runtimeVersion": "0.287.
|
|
6357
|
+
"runtimeVersion": "0.287.1"
|
|
6358
6358
|
},
|
|
6359
6359
|
"objectives": [
|
|
6360
6360
|
{
|
|
@@ -6465,7 +6465,7 @@ var agent_profile_improvement_proposal_default = {
|
|
|
6465
6465
|
"baselineContentHash": "sha256:21c495a37c418c10bde64fbaa188beddeed31f1f051ea60a6a6582a9ee0db704",
|
|
6466
6466
|
"candidateContentHash": "sha256:103f77bc8481601eef1ad5fe6ba84a40dffabc3a44f421f8c8559121edab84e9",
|
|
6467
6467
|
"kind": "agent-eval-loop",
|
|
6468
|
-
"recordDigest": "sha256:
|
|
6468
|
+
"recordDigest": "sha256:9dfb96341ebe388ed169662248fb7a4a437d57e41e3b40720667d172cedcb362",
|
|
6469
6469
|
"runId": "profile-improvement-1",
|
|
6470
6470
|
"schema": "agent-profile-improvement-experiment"
|
|
6471
6471
|
}
|
package/dist/tui/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as provisionSupervisor } from "../provision-supervisor-
|
|
1
|
+
import { t as provisionSupervisor } from "../provision-supervisor-Cqsvapjc.js";
|
|
2
2
|
import { a as renderTopFrameWithLayout, i as renderTopFrame, n as runTopApp, r as loadTopSnapshot, t as renderTopOnce } from "../top-app-DaiR4LXM.js";
|
|
3
3
|
export { loadTopSnapshot, provisionSupervisor, renderTopFrame, renderTopFrameWithLayout, renderTopOnce, runTopApp };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/agent-runtime",
|
|
3
|
-
"version": "0.287.
|
|
3
|
+
"version": "0.287.1",
|
|
4
4
|
"description": "Shared task-lifecycle skeleton for agents: a recursive loop kernel for chat turns, one-shot tasks, and multi-attempt loops, with trace capture and eval-gated self-improvement. Domain behavior lives in adapters; scoring and ship-gates in @tangle-network/agent-eval.",
|
|
5
5
|
"homepage": "https://github.com/tangle-network/agent-runtime#readme",
|
|
6
6
|
"repository": {
|
|
@@ -123,7 +123,9 @@ Hard limits live in Runtime options and per-assignment budgets: `budget`, `worke
|
|
|
123
123
|
Prompt text enforces no limit.
|
|
124
124
|
`maxTokens` is settled after the work: an overspent child keeps its output and carries a `budgetViolation`.
|
|
125
125
|
A child's total counts input tokens on every turn, so reserve turns times context.
|
|
126
|
-
|
|
126
|
+
For paid calls, use the execution owner's named credential and enforceable dollar limit.
|
|
127
|
+
For subscriptions, retain token, iteration, time, and compute bounds that the installed path can enforce.
|
|
128
|
+
An unmeasured dollar cost stays unknown; an unsupported dollar cap is not protection.
|
|
127
129
|
|
|
128
130
|
## 8. Register arms, a control and outcomes
|
|
129
131
|
|
|
@@ -153,6 +155,16 @@ Group retries of the same assignment into one lineage when comparing teams.
|
|
|
153
155
|
Grant `submit_result` only when Runtime gives that node an independent check; otherwise its settlement stays unassessed.
|
|
154
156
|
Grant only the observation, steering and journal tools that the assignment needs.
|
|
155
157
|
Set `harness`, `model.default` and `model.provider` explicitly, and validate against the current `agentProfileSchema`.
|
|
158
|
+
|
|
159
|
+
For subscription execution, select a harness and model that the granted account can serve.
|
|
160
|
+
The private executor resolves the authorized credential and materializes the harness's authentication files.
|
|
161
|
+
Keep credential references in supported configuration; keep credential values outside profiles, tasks, resources, and journals.
|
|
162
|
+
Runtime descendants use the same configured provider and credential resolver; author their profiles rather than copying login files.
|
|
163
|
+
Check the child's materialization receipt and actual session before claiming that account or harness executed.
|
|
164
|
+
Grant only the models and authentication routes the execution owner authorized.
|
|
165
|
+
When the run requires cloud execution, place its controller, root, and descendants through the maintained managed-cloud deployment.
|
|
166
|
+
When mounted, [execution and credentials](references/execution-and-credentials.md) explains binding, renewal, and recovery in more detail.
|
|
167
|
+
|
|
156
168
|
A tool name must be one the harness publishes, and a refused name fails the same way on retry.
|
|
157
169
|
`ls`, `list` and `find` are not tool names; select paths with a glob tool and search contents with a grep tool.
|
|
158
170
|
Inspect materialized permissions and served tools before relying on a restriction.
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# Execution and credentials
|
|
2
|
+
|
|
3
|
+
## Choose the profile; inherit the authorized execution
|
|
4
|
+
|
|
5
|
+
The profile defines the harness, model, instructions, capabilities, and research behavior.
|
|
6
|
+
The private executor supplies authentication and placement under the run's authority.
|
|
7
|
+
An account credential does not select a different model or grant additional tools.
|
|
8
|
+
|
|
9
|
+
Select the harness and model explicitly from the installed capability contract.
|
|
10
|
+
Use the granted provider for the root and its Runtime descendants.
|
|
11
|
+
Let its credential resolver select an authorized account for each exact profile and creation identity.
|
|
12
|
+
Use the installed provider's supported static binding when no dynamic selector is configured.
|
|
13
|
+
Account selection, quota, validity, and renewal belong to that account owner.
|
|
14
|
+
|
|
15
|
+
The executor materializes credentials in the format the selected harness requires.
|
|
16
|
+
Authentication files are private execution inputs, even when they are ordinary files inside the sandbox.
|
|
17
|
+
Keep their values outside public profiles, mounted research inputs, prompts, and evidence archives.
|
|
18
|
+
Use supported secret references or private backend configuration at the execution boundary.
|
|
19
|
+
Read the current schema before naming a profile field; metadata alone does not configure authentication.
|
|
20
|
+
|
|
21
|
+
The director authors each descendant's profile and grants its permitted capabilities.
|
|
22
|
+
It does not need to perform an interactive login or export a parent's token.
|
|
23
|
+
A descendant that can spawn receives the complete profile-authoring skill and the same authorized execution path.
|
|
24
|
+
Changing its harness requires a granted authentication route for that harness.
|
|
25
|
+
Native harness subagents and Runtime descendants remain distinct observation units.
|
|
26
|
+
|
|
27
|
+
## Cloud execution and persistence
|
|
28
|
+
|
|
29
|
+
When the run requires cloud execution, place its controller, root, and descendants in the managed cloud.
|
|
30
|
+
Use the maintained managed-process deployment and ingress rather than a detached host process.
|
|
31
|
+
Choose a distinct run identity and immutable controller image for each commission.
|
|
32
|
+
The ingress binds each Runtime actor to its own authenticated listener.
|
|
33
|
+
Research policy stays in profiles and the registered method, not the ingress.
|
|
34
|
+
|
|
35
|
+
Retain the original workspace and native session through the execution owner's supported continuation path.
|
|
36
|
+
Record account changes, renewal, reconnects, and native-session changes separately.
|
|
37
|
+
A fresh environment with copied files is not proof that the original native session resumed.
|
|
38
|
+
Preserve partial artifacts before environment cleanup and archive them through the existing storage path.
|
|
39
|
+
Check that retained capture excludes authentication files and other private credentials.
|
|
40
|
+
|
|
41
|
+
## What proves execution
|
|
42
|
+
|
|
43
|
+
Separate configuration, materialization, model execution, research progress, and outside acceptance.
|
|
44
|
+
For a root and a recursively spawned child, inspect:
|
|
45
|
+
|
|
46
|
+
- The exact authored profile and materialization receipt.
|
|
47
|
+
- The cloud placement, Runtime actor, and native session identities.
|
|
48
|
+
- The granted account reference and actual harness/model evidence, without credential values.
|
|
49
|
+
- The first model invocation and a real tool action.
|
|
50
|
+
- The child-to-grandchild edge when claiming recursion.
|
|
51
|
+
- Retrievable trace and artifact bytes after capture.
|
|
52
|
+
|
|
53
|
+
A merged source change or published package does not prove a running deployment supports it.
|
|
54
|
+
A supported deployment does not prove an account was used.
|
|
55
|
+
An agent's claim of delegation does not prove that its child executed.
|
|
56
|
+
Keep missing identity, usage, cost, and renewal evidence unknown.
|
|
57
|
+
|
|
58
|
+
The operator establishes the execution path before research begins.
|
|
59
|
+
When an authorized capability fails inside a run, retain its receipt and use the granted reporting or recovery tool.
|
|
60
|
+
Continue useful research through capabilities that remain available within the same authority.
|
|
61
|
+
|
|
62
|
+
## Maintained contracts
|
|
63
|
+
|
|
64
|
+
Use these owners for changing fields and commands instead of copying an API catalog into this skill.
|
|
65
|
+
|
|
66
|
+
- [Runtime profile and execution composition](https://github.com/tangle-network/agent-runtime/blob/main/docs/canonical-api.md#15-the-agentprofile-rule-author-the-profile-the-substrate-materializes-it).
|
|
67
|
+
- [Runtime managed compute](https://github.com/tangle-network/agent-runtime/blob/main/docs/agent-managed-compute/README.md).
|
|
68
|
+
- [Portable profile schema](https://github.com/tangle-network/agent-sdk/blob/main/packages/agent-interface/src/profile-schema.ts).
|
|
69
|
+
- [Tangle provider credentials and execution](https://github.com/tangle-network/agent-sdk/blob/main/packages/agent-provider-tangle/README.md).
|
|
70
|
+
- [Discovery cloud submission and retention](https://github.com/tangle-network/discovery-lab/blob/master/README.md).
|
|
71
|
+
|
|
72
|
+
Read the installed provider's contract before using a newer source-only resolver or capability.
|
|
73
|
+
The core skill remains sufficient to author a child; mount this reference when its assignment includes execution integration.
|