@tangle-network/agent-runtime 0.349.0 → 0.350.2
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-tNGW73Y9.js → activation-CfJMyzEs.js} +12 -14
- package/dist/{activation-tNGW73Y9.js.map → activation-CfJMyzEs.js.map} +1 -1
- package/dist/{activation-wBipBkCf.d.ts → activation-DyiHrTlS.d.ts} +2 -24
- package/dist/agent.d.ts +8 -12
- package/dist/agent.js +9 -12
- package/dist/agent.js.map +1 -1
- package/dist/{analyst-loop-DZw5QWT9.js → analyst-loop-BZvXCDKy.js} +2 -3
- package/dist/{analyst-loop-DZw5QWT9.js.map → analyst-loop-BZvXCDKy.js.map} +1 -1
- package/dist/analyst-loop.d.ts +3 -5
- package/dist/analyst-loop.js +1 -2
- package/dist/{bundle-1xaJEgjq.js → bundle-Ze8pd07a.js} +3 -4
- package/dist/{bundle-1xaJEgjq.js.map → bundle-Ze8pd07a.js.map} +1 -1
- package/dist/candidate-execution/index.d.ts +13 -33
- package/dist/candidate-execution/index.js +16 -18
- package/dist/candidate-execution/index.js.map +1 -1
- package/dist/{coordination-manager-B2Z_MmL9.js → coordination-manager-BkVfWlMz.js} +101 -132
- package/dist/{coordination-manager-B2Z_MmL9.js.map → coordination-manager-BkVfWlMz.js.map} +1 -1
- package/dist/{delegate-Dr-63jFl.js → delegate-DgEie4ad.js} +19 -21
- package/dist/delegate-DgEie4ad.js.map +1 -0
- package/dist/durable.d.ts +13 -23
- package/dist/durable.js +48 -43
- package/dist/durable.js.map +1 -1
- package/dist/{errors-DodWX-cb.js → errors-wuhGvpE3.js} +2 -3
- package/dist/{errors-DodWX-cb.js.map → errors-wuhGvpE3.js.map} +1 -1
- package/dist/{graph-DPejYB3C.js → graph-Cx0FhKSE.js} +191 -14
- package/dist/graph-Cx0FhKSE.js.map +1 -0
- package/dist/{improve-DwSahPi1.js → improve-i0HU1-aa.js} +35 -53
- package/dist/{improve-DwSahPi1.js.map → improve-i0HU1-aa.js.map} +1 -1
- package/dist/{improvement-adapter-sIthWkcN.d.ts → improvement-adapter-D5GRU1eY.d.ts} +2 -6
- package/dist/index.d.ts +41 -89
- package/dist/index.js +43 -61
- package/dist/index.js.map +1 -1
- package/dist/intelligence.d.ts +39 -59
- package/dist/intelligence.js +23 -33
- package/dist/intelligence.js.map +1 -1
- package/dist/kernel.d.ts +5 -5
- package/dist/kernel.js +11 -11
- package/dist/{loop-runner-CP6MfO1b.js → loop-runner-BwN9MhdP.js} +5 -6
- package/dist/{loop-runner-CP6MfO1b.js.map → loop-runner-BwN9MhdP.js.map} +1 -1
- package/dist/{loop-runner-C6pGq-2l.d.ts → loop-runner-DvfOXVx9.d.ts} +3 -5
- package/dist/loop-runner-bin.d.ts +5 -8
- package/dist/loop-runner-bin.js +2 -3
- package/dist/mcp/bin.js +6 -8
- package/dist/mcp/bin.js.map +1 -1
- package/dist/mcp/index.d.ts +8 -18
- package/dist/mcp/index.js +17 -25
- package/dist/mcp/index.js.map +1 -1
- package/dist/mcp/memory-bin.js +4 -6
- package/dist/mcp/memory-bin.js.map +1 -1
- package/dist/{model-policy-CyCUwHed.js → model-policy-GSxWwP-b.js} +11 -13
- package/dist/{model-policy-CyCUwHed.js.map → model-policy-GSxWwP-b.js.map} +1 -1
- package/dist/placement.d.ts +12 -14
- package/dist/placement.js +1 -2
- package/dist/platform.d.ts +7 -13
- package/dist/platform.js +3 -6
- package/dist/platform.js.map +1 -1
- package/dist/{prepare-B9wWffjO.js → prepare-DE8TQnLu.js} +49 -69
- package/dist/{prepare-B9wWffjO.js.map → prepare-DE8TQnLu.js.map} +1 -1
- package/dist/{profile-JLJd2wFG.js → profile-CAhZDW2T.js} +58 -92
- package/dist/profile-CAhZDW2T.js.map +1 -0
- package/dist/{profile-materialization-bPm0gGLO.d.ts → profile-materialization-BRY22Oh8.d.ts} +1 -3
- package/dist/profiles.d.ts +25 -12
- package/dist/profiles.js +52 -11
- package/dist/profiles.js.map +1 -1
- package/dist/{protected-model-port-DVVh-hEk.d.ts → protected-model-port-IKqhTypD.d.ts} +2 -14
- package/dist/{protected-redaction-DFCeo4vg.js → protected-redaction-DilFZch5.js} +2 -3
- package/dist/{protected-redaction-DFCeo4vg.js.map → protected-redaction-DilFZch5.js.map} +1 -1
- package/dist/{provision-supervisor-C4v2vqDo.js → provision-supervisor-Bde_FF0R.js} +11 -15
- package/dist/{provision-supervisor-C4v2vqDo.js.map → provision-supervisor-Bde_FF0R.js.map} +1 -1
- package/dist/{record-events-D93DkpAx.js → record-events-B2GUgYdz.js} +12 -14
- package/dist/{record-events-D93DkpAx.js.map → record-events-B2GUgYdz.js.map} +1 -1
- package/dist/{run-cancellation-CzFhQGMa.js → run-cancellation-BLy_Zz-w.js} +6 -7
- package/dist/{run-cancellation-CzFhQGMa.js.map → run-cancellation-BLy_Zz-w.js.map} +1 -1
- package/dist/{runtime-CsvGCQpl.js → runtime-6Ec9sHRe.js} +648 -215
- package/dist/runtime-6Ec9sHRe.js.map +1 -0
- package/dist/{runtime-hooks-tXpAarhW.js → runtime-hooks-CsW2pfFk.js} +2 -3
- package/dist/{runtime-hooks-tXpAarhW.js.map → runtime-hooks-CsW2pfFk.js.map} +1 -1
- package/dist/{runtime-hooks-nsqxSUFL.d.ts → runtime-hooks-ZQqPw-0g.d.ts} +1 -3
- package/dist/{sandbox-profile-compat-DtuJWFrM.js → sandbox-profile-compat-BxMQ1VXv.js} +61 -43
- package/dist/sandbox-profile-compat-BxMQ1VXv.js.map +1 -0
- package/dist/{search-executor-CCb82Umc.js → search-executor-B7g_5Wjl.js} +10 -15
- package/dist/{search-executor-CCb82Umc.js.map → search-executor-B7g_5Wjl.js.map} +1 -1
- package/dist/{server-CKPwZU-I.js → server-fvEMwGMQ.js} +19 -30
- package/dist/{server-CKPwZU-I.js.map → server-fvEMwGMQ.js.map} +1 -1
- package/dist/{structural-rollout-DylC_fwU.js → structural-rollout-B86bSixU.js} +69 -70
- package/dist/structural-rollout-B86bSixU.js.map +1 -0
- package/dist/{substrate-CGDFTSRh.js → substrate-Db2pp6y3.js} +2 -3
- package/dist/{substrate-CGDFTSRh.js.map → substrate-Db2pp6y3.js.map} +1 -1
- package/dist/{supervise-BGfm2GlY.js → supervise-CaeZcgAW.js} +460 -195
- package/dist/supervise-CaeZcgAW.js.map +1 -0
- package/dist/{supervisor-wS9Ehz_x.js → supervisor-C1OePYE-.js} +511 -626
- package/dist/supervisor-C1OePYE-.js.map +1 -0
- package/dist/{task-queue-0fKkoweu.d.ts → task-queue-kefGy79U.d.ts} +1 -3
- package/dist/task-queue.d.ts +1 -1
- package/dist/task-queue.js +1 -2
- package/dist/testing.d.ts +7 -15
- package/dist/testing.js +241 -244
- package/dist/testing.js.map +1 -1
- package/dist/tool-loop.d.ts +16 -19
- package/dist/tool-loop.js +2 -3
- package/dist/{tool-server-XV4aJwoQ.js → tool-server-CwuYeW_Z.js} +3 -4
- package/dist/{tool-server-XV4aJwoQ.js.map → tool-server-CwuYeW_Z.js.map} +1 -1
- package/dist/{top-snapshot-CflmaDgk.js → top-snapshot-ChwpTr7A.js} +4 -5
- package/dist/{top-snapshot-CflmaDgk.js.map → top-snapshot-ChwpTr7A.js.map} +1 -1
- package/dist/tui/bin.js +7 -9
- package/dist/tui/bin.js.map +1 -1
- package/dist/tui/index.d.ts +3 -5
- package/dist/tui/index.js +2 -2
- package/dist/{types-C8BGOCBn.d.ts → types-Fowuwdz2.d.ts} +364 -483
- package/dist/{types-Cwrea-bU.d.ts → types-qsqfyQoY.d.ts} +1 -3
- package/dist/workspace-store/index.d.ts +12 -22
- package/dist/workspace-store/index.js +4 -7
- package/dist/workspace-store/index.js.map +1 -1
- package/dist/{workspace-streams-BiS4ABah.d.ts → workspace-streams-Dq2Fzk3c.d.ts} +1 -11
- package/package.json +25 -25
- package/skills/agent-graphs/SKILL.md +17 -4
- package/skills/be-ambitious/SKILL.md +46 -0
- package/skills/graph-designer/SKILL.md +9 -2
- package/dist/delegate-Dr-63jFl.js.map +0 -1
- package/dist/graph-DPejYB3C.js.map +0 -1
- package/dist/profile-JLJd2wFG.js.map +0 -1
- package/dist/runtime-CsvGCQpl.js.map +0 -1
- package/dist/sandbox-profile-compat-DtuJWFrM.js.map +0 -1
- package/dist/structural-rollout-DylC_fwU.js.map +0 -1
- package/dist/supervise-BGfm2GlY.js.map +0 -1
- package/dist/supervisor-wS9Ehz_x.js.map +0 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/runtime/task-queue.d.ts
|
|
2
1
|
/** One identified task admitted by a caller-owned ready queue. */
|
|
3
2
|
interface TaskQueueEntry<T> {
|
|
4
3
|
readonly id: string;
|
|
@@ -30,6 +29,5 @@ interface TaskQueueOptions<T, R> {
|
|
|
30
29
|
* Task failures are yielded, never normalized or substituted for caller failures.
|
|
31
30
|
*/
|
|
32
31
|
declare function runTaskQueue<T, R>(options: TaskQueueOptions<T, R>): AsyncGenerator<TaskQueueSettlement<T, R>>;
|
|
33
|
-
//#endregion
|
|
34
32
|
export { runTaskQueue as i, TaskQueueOptions as n, TaskQueueSettlement as r, TaskQueueEntry as t };
|
|
35
|
-
//# sourceMappingURL=task-queue-
|
|
33
|
+
//# sourceMappingURL=task-queue-kefGy79U.d.ts.map
|
package/dist/task-queue.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as runTaskQueue, n as TaskQueueOptions, r as TaskQueueSettlement, t as TaskQueueEntry } from "./task-queue-
|
|
1
|
+
import { i as runTaskQueue, n as TaskQueueOptions, r as TaskQueueSettlement, t as TaskQueueEntry } from "./task-queue-kefGy79U.js";
|
|
2
2
|
export { TaskQueueEntry, TaskQueueOptions, TaskQueueSettlement, runTaskQueue };
|
package/dist/task-queue.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/runtime/task-queue.ts
|
|
2
2
|
/**
|
|
3
3
|
* Admit bounded work and yield settlements for the caller's policy to interpret.
|
|
4
4
|
* Readiness, cancellation, retries, and persistence belong to that caller.
|
|
@@ -44,7 +44,6 @@ async function* runTaskQueue(options) {
|
|
|
44
44
|
await Promise.allSettled(active.values());
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
//#endregion
|
|
48
47
|
export { runTaskQueue };
|
|
49
48
|
|
|
50
49
|
//# sourceMappingURL=task-queue.js.map
|
package/dist/testing.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ch as ToolLoopCallContext, Ct as SuperviseProfileEntry, Dh as ToolLoopMessageRecord, Eh as ToolLoopCompactionOptions, Fv as CoordinationEvent, Gy as BusRecord, Hv as DecideGate, Hy as McpToolDescriptor, Ip as PriorCoordination, Kv as RouteFlow, M as Budget, Nd as superviseWithTestBrain, Np as CoordinationDeliveryEvidence, Oh as ToolLoopToolCall, Om as Inbox, Qf as ManagerWakePolicy, Rd as SuperviseTestOptions, Rf as supervisorAgentWithTestBrain, Sp as SupervisorFinalizer, Vv as WorkerWatchOptions, Vx as HarnessTranscriptCapture, Xv as ChildQuestionInbox, Yg as DeliverableSpec, Zi as ResultBlobStore, Zv as EscalateQuestion, _t as PeerAuditAccess, ab as AnalyzeOnSettleRoute, ap as StopRule, bt as SpawnPreflightContext, fd as runGraphWithTestBrain, ft as CoordinationTools, fy as ContinuityMode, gt as MakeWorkerAgent, ht as GraphSubtasks, ld as RunGraphTestOptions, ly as AuthorizeDownMessage, mt as GraphSubtaskPreparation, qf as SupervisorAgentTestDeps, rb as AnalystRegistry, tm as SpawnResourceReader, ua as Agent, up as RunCancelRequest, wh as ToolLoopChat, xt as SpawnRefusal, yh as RouterResponseReceipt, yt as SpawnPreflight, yy as MapOnSettleRoute } from "./types-Fowuwdz2.js";
|
|
2
2
|
import { AgentImprovementProposal, AgentProfile, AgentProfileImprovementMeasuredComparison, SandboxSizePreset } from "@tangle-network/agent-interface";
|
|
3
|
-
//#region src/runtime/supervise/router-transcript.d.ts
|
|
4
3
|
/** What the brain returned for one turn, as the recorder keeps it. */
|
|
5
4
|
interface RouterTranscriptReply {
|
|
6
5
|
readonly content?: string | null;
|
|
@@ -16,8 +15,6 @@ interface RouterTranscript {
|
|
|
16
15
|
/** The whole conversation so far as a harness transcript. */
|
|
17
16
|
capture(): HarnessTranscriptCapture;
|
|
18
17
|
}
|
|
19
|
-
//#endregion
|
|
20
|
-
//#region src/runtime/supervise/driver-agent-options.d.ts
|
|
21
18
|
interface DriverAgentOptions {
|
|
22
19
|
readonly name: string;
|
|
23
20
|
/** The driver-LLM seam — ONE inference turn over the conversation + the coordination tool specs
|
|
@@ -217,30 +214,25 @@ interface DriverAgentOptions {
|
|
|
217
214
|
*/
|
|
218
215
|
readonly abortRun?: (reason: string, request?: RunCancelRequest) => void;
|
|
219
216
|
}
|
|
220
|
-
//#endregion
|
|
221
|
-
//#region src/runtime/supervise/driver-brain-agent.d.ts
|
|
222
217
|
/**
|
|
223
218
|
* Build the intelligent recursive driver. Its `act` is the LLM tool-loop; spawn it as a
|
|
224
219
|
* `driverChild` (`driver-executor.ts`) to run it inside a nested scope, recursively.
|
|
225
220
|
*/
|
|
226
|
-
declare function driverAgent(opts: DriverAgentOptions): Agent<unknown, unknown>;
|
|
227
|
-
//#endregion
|
|
228
|
-
//#region src/testing/index.d.ts
|
|
221
|
+
export declare function driverAgent(opts: DriverAgentOptions): Agent<unknown, unknown>;
|
|
229
222
|
/** A proposal produced by Runtime's opaque profile-improvement path. */
|
|
230
|
-
type AgentProfileImprovementProposalFixture = Omit<AgentImprovementProposal, 'evaluation'> & {
|
|
223
|
+
export type AgentProfileImprovementProposalFixture = Omit<AgentImprovementProposal, 'evaluation'> & {
|
|
231
224
|
evaluation: AgentProfileImprovementMeasuredComparison;
|
|
232
225
|
};
|
|
233
226
|
/** Complete private state for exercising profile activation and restore in consumer tests. */
|
|
234
|
-
interface AgentProfileImprovementFixture {
|
|
227
|
+
export interface AgentProfileImprovementFixture {
|
|
235
228
|
proposal: AgentProfileImprovementProposalFixture;
|
|
236
229
|
baselineProfile: AgentProfile;
|
|
237
230
|
candidateProfile: AgentProfile;
|
|
238
231
|
recommendedSize: SandboxSizePreset;
|
|
239
232
|
}
|
|
240
233
|
/** Load an isolated, production-validated Runtime proposal for consumer tests. */
|
|
241
|
-
declare function loadAgentImprovementProposalFixture(): AgentImprovementProposal;
|
|
234
|
+
export declare function loadAgentImprovementProposalFixture(): AgentImprovementProposal;
|
|
242
235
|
/** Load an isolated profile proposal and its private activation state for consumer tests. */
|
|
243
|
-
declare function loadAgentProfileImprovementFixture(): AgentProfileImprovementFixture;
|
|
244
|
-
|
|
245
|
-
export { AgentProfileImprovementFixture, AgentProfileImprovementProposalFixture, type AuthorizeDownMessage, type ChildQuestionInbox, type CoordinationDeliveryEvidence, type DriverAgentOptions, type GraphSubtaskPreparation, type GraphSubtasks, type PeerAuditAccess, type PriorCoordination, type RunGraphTestOptions, type SpawnPreflight, type SpawnPreflightContext, type SpawnRefusal, type SuperviseTestOptions, type SupervisorAgentTestDeps, type ToolLoopCallContext, type ToolLoopChat, driverAgent, loadAgentImprovementProposalFixture, loadAgentProfileImprovementFixture, runGraphWithTestBrain, superviseWithTestBrain, supervisorAgentWithTestBrain };
|
|
236
|
+
export declare function loadAgentProfileImprovementFixture(): AgentProfileImprovementFixture;
|
|
237
|
+
export { type AuthorizeDownMessage, type ChildQuestionInbox, type CoordinationDeliveryEvidence, type DriverAgentOptions, type GraphSubtaskPreparation, type GraphSubtasks, type PeerAuditAccess, type PriorCoordination, type RunGraphTestOptions, type SpawnPreflight, type SpawnPreflightContext, type SpawnRefusal, type SuperviseTestOptions, type SupervisorAgentTestDeps, type ToolLoopCallContext, type ToolLoopChat, runGraphWithTestBrain, superviseWithTestBrain, supervisorAgentWithTestBrain };
|
|
246
238
|
//# sourceMappingURL=testing.d.ts.map
|