@tangle-network/agent-runtime 0.77.0 → 0.79.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.
Files changed (42) hide show
  1. package/dist/agent.d.ts +1 -1
  2. package/dist/agent.js +3 -3
  3. package/dist/analyst-loop.d.ts +1 -1
  4. package/dist/{chunk-O2UPHN7X.js → chunk-5JAUQZQA.js} +1 -1
  5. package/dist/chunk-5JAUQZQA.js.map +1 -0
  6. package/dist/{chunk-RQYPH2QE.js → chunk-EZ2QESTP.js} +871 -33
  7. package/dist/chunk-EZ2QESTP.js.map +1 -0
  8. package/dist/{chunk-LFL7K5FM.js → chunk-F6G3SSHY.js} +2 -2
  9. package/dist/{chunk-KKHMDE5I.js → chunk-GZX3PI7V.js} +3 -3
  10. package/dist/{chunk-JPURCA2O.js → chunk-LWGVVP2C.js} +2 -2
  11. package/dist/{chunk-CEW5BMGN.js → chunk-N2JJDGLJ.js} +2 -2
  12. package/dist/chunk-N2JJDGLJ.js.map +1 -0
  13. package/dist/{coordination-CZe4lTxy.d.ts → coordination-09JTQnlF.d.ts} +88 -25
  14. package/dist/index.d.ts +9 -9
  15. package/dist/index.js +6 -6
  16. package/dist/intelligence.d.ts +1 -1
  17. package/dist/lifecycle.d.ts +2 -2
  18. package/dist/lifecycle.js +2 -2
  19. package/dist/{local-harness-BE_h8szs.d.ts → local-harness-DU7yV6mG.d.ts} +1 -1
  20. package/dist/{loop-runner-bin-Dbtg787n.d.ts → loop-runner-bin-Ddgf4DkS.d.ts} +2 -2
  21. package/dist/loop-runner-bin.d.ts +5 -5
  22. package/dist/loop-runner-bin.js +4 -4
  23. package/dist/loops.d.ts +12 -11
  24. package/dist/loops.js +13 -3
  25. package/dist/mcp/bin.js +2 -2
  26. package/dist/mcp/bin.js.map +1 -1
  27. package/dist/mcp/index.d.ts +12 -12
  28. package/dist/mcp/index.js +4 -4
  29. package/dist/mcp/index.js.map +1 -1
  30. package/dist/{mcp-serve-verifier-CT1KLTG_.d.ts → mcp-serve-verifier-BvMAV_8U.d.ts} +1 -1
  31. package/dist/{openai-tools-D5tcirFF.d.ts → openai-tools-B-3v06BE.d.ts} +1 -1
  32. package/dist/profiles.d.ts +1 -1
  33. package/dist/{types-B-jWSfcu.d.ts → types-BF-MEsQB.d.ts} +21 -0
  34. package/dist/{worktree-CDxqwxGo.d.ts → worktree-CUn0d-ZT.d.ts} +2 -2
  35. package/dist/{worktree-fanout-CljF1L2v.d.ts → worktree-fanout-DwwatTdY.d.ts} +3 -3
  36. package/package.json +3 -7
  37. package/dist/chunk-CEW5BMGN.js.map +0 -1
  38. package/dist/chunk-O2UPHN7X.js.map +0 -1
  39. package/dist/chunk-RQYPH2QE.js.map +0 -1
  40. /package/dist/{chunk-LFL7K5FM.js.map → chunk-F6G3SSHY.js.map} +0 -0
  41. /package/dist/{chunk-KKHMDE5I.js.map → chunk-GZX3PI7V.js.map} +0 -0
  42. /package/dist/{chunk-JPURCA2O.js.map → chunk-LWGVVP2C.js.map} +0 -0
@@ -1,18 +1,19 @@
1
- import { S as SandboxClient, d as LoopSandboxPlacement } from '../types-B-jWSfcu.js';
2
- import { F as FleetHandle, D as DelegationExecutor, a as DelegationTaskQueue, b as FeedbackStore, c as DelegateFeedbackResult, d as DelegateFeedbackArgs, U as UiAuditorDelegate, e as DelegateUiAuditArgs, f as DelegateUiAuditResult, g as DelegationHistoryResult, h as DelegationHistoryArgs, i as DelegationStatusResult, j as DelegationStatusArgs } from '../coordination-CZe4lTxy.js';
3
- export { A as AnalystRegistry, C as CappedDelegationTrace, k as CoderDelegate, l as CoderReview, m as CoderReviewer, n as CoordinationEvent, o as CoordinationTools, p as CoordinationToolsOptions, q as DELEGATE_DESCRIPTION, r as DELEGATE_INPUT_SCHEMA, s as DELEGATE_TOOL_NAME, t as DELEGATION_TRACE_MAX_BYTES, u as DELEGATION_TRACE_MAX_SPANS, v as DelegateArgs, w as DelegateCodeArgs, x as DelegateCodeConfig, y as DelegateCodeResult, z as DelegateHandlerOptions, B as DelegateResearchArgs, E as DelegateResearchConfig, G as DelegateResearchResult, H as DelegateResult, I as DelegateRunCtx, J as DelegateUiAuditConfig, K as DelegateUiAuditRoute, L as DelegationError, M as DelegationFeedbackSnapshot, N as DelegationHistoryEntry, O as DelegationPersistenceError, P as DelegationProfile, Q as DelegationProgress, R as DelegationRecord, S as DelegationResultPayload, T as DelegationResumeContext, V as DelegationResumeDriver, W as DelegationResumeTick, X as DelegationRunContext, Y as DelegationStateCorruptError, Z as DelegationStatus, _ as DelegationStore, $ as DelegationTaskQueueOptions, a0 as DelegationTraceCaps, a1 as DelegationTraceCollector, a2 as DelegationTraceSpan, a3 as DetachedSessionDelegateOptions, a4 as DetachedSessionRefParts, a5 as DetachedTurn, a6 as DetachedTurnResumeDriverOptions, a7 as DetachedWinnerSelection, a8 as DriveTurnCapableBox, a9 as DriveTurnTick, aa as FeedbackEvent, ab as FeedbackRating, ac as FeedbackRefersTo, ad as FileDelegationStore, ae as FileDelegationStoreOptions, af as FleetWorkspaceExecutorOptions, ag as InMemoryDelegationStore, ah as InMemoryFeedbackStore, ai as JsonRpcMessage, aj as JsonRpcResponse, ak as MakeWorkerAgent, al as McpServer, am as McpServerOptions, an as McpToolDescriptor, ao as McpTransport, ap as Question, aq as QuestionDecision, ar as QuestionPolicy, as as QuestionRecord, at as ResearchOutputShape, au as ResearchSource, av as RunDetachedTurnOptions, aw as SettleDetachedCoderTurnOptions, ax as SettledWorker, ay as SiblingSandboxExecutorOptions, az as SubmitInput, aA as SubmitOutput, aB as TraceContext, aC as UiAuditorDelegationOutput, aD as buildDelegationTraceSpans, aE as capDelegationTrace, aF as coderTaskFromArgs, aG as composeLoopTraceEmitters, aH as createCoordinationTools, aI as createDelegateHandler, aJ as createDelegationTraceCollector, aK as createDetachedTurnResumeDriver, aL as createFleetWorkspaceExecutor, aM as createInProcessTransport, aN as createMcpServer, aO as createPropagatingTraceEmitter, aP as createSiblingSandboxExecutor, aQ as detachedSessionDelegate, aR as detachedTurnEvents, aS as eventToSnapshot, aT as formatDetachedSessionRef, aU as hashIdempotencyInput, aV as parseDetachedSessionRef, aW as readTraceContextFromEnv, aX as runDetachedTurn, aY as settleDetachedCoderTurn, aZ as traceContextToEnv, a_ as validateDelegateArgs } from '../coordination-CZe4lTxy.js';
4
- import { L as LocalHarness, r as runLocalHarness } from '../local-harness-BE_h8szs.js';
5
- export { a as LocalHarnessResult, R as RunLocalHarnessOptions } from '../local-harness-BE_h8szs.js';
6
- import { G as GitRunner } from '../worktree-CDxqwxGo.js';
7
- export { C as CreateWorktreeOptions, D as DiffOptions, a as DiffResult, R as RemoveWorktreeOptions, W as WorktreeHandle, c as captureWorktreeDiff, b as createWorktree, r as removeWorktree } from '../worktree-CDxqwxGo.js';
1
+ import { S as SandboxClient, d as LoopSandboxPlacement } from '../types-BF-MEsQB.js';
2
+ import { F as FleetHandle, D as DelegationExecutor, a as DelegationTaskQueue, b as FeedbackStore, c as DelegateFeedbackResult, d as DelegateFeedbackArgs, U as UiAuditorDelegate, e as DelegateUiAuditArgs, f as DelegateUiAuditResult, g as DelegationHistoryResult, h as DelegationHistoryArgs, i as DelegationStatusResult, j as DelegationStatusArgs } from '../coordination-09JTQnlF.js';
3
+ export { A as AnalystRegistry, C as CappedDelegationTrace, k as CoderDelegate, l as CoderReview, m as CoderReviewer, n as CoordinationEvent, o as CoordinationTools, p as CoordinationToolsOptions, q as DELEGATE_DESCRIPTION, r as DELEGATE_INPUT_SCHEMA, s as DELEGATE_TOOL_NAME, t as DELEGATION_TRACE_MAX_BYTES, u as DELEGATION_TRACE_MAX_SPANS, v as DelegateArgs, w as DelegateCodeArgs, x as DelegateCodeConfig, y as DelegateCodeResult, z as DelegateHandlerOptions, B as DelegateResearchArgs, E as DelegateResearchConfig, G as DelegateResearchResult, H as DelegateResult, I as DelegateRunCtx, J as DelegateUiAuditConfig, K as DelegateUiAuditRoute, L as DelegationError, M as DelegationFeedbackSnapshot, N as DelegationHistoryEntry, O as DelegationPersistenceError, P as DelegationProfile, Q as DelegationProgress, R as DelegationRecord, S as DelegationResultPayload, T as DelegationResumeContext, V as DelegationResumeDriver, W as DelegationResumeTick, X as DelegationRunContext, Y as DelegationStateCorruptError, Z as DelegationStatus, _ as DelegationStore, $ as DelegationTaskQueueOptions, a0 as DelegationTraceCaps, a1 as DelegationTraceCollector, a2 as DelegationTraceSpan, a3 as DetachedSessionDelegateOptions, a4 as DetachedSessionRefParts, a5 as DetachedTurn, a6 as DetachedTurnResumeDriverOptions, a7 as DetachedWinnerSelection, a8 as DriveTurnCapableBox, a9 as DriveTurnTick, aa as FeedbackEvent, ab as FeedbackRating, ac as FeedbackRefersTo, ad as FileDelegationStore, ae as FileDelegationStoreOptions, af as FleetWorkspaceExecutorOptions, ag as InMemoryDelegationStore, ah as InMemoryFeedbackStore, ai as JsonRpcMessage, aj as JsonRpcResponse, ak as MakeWorkerAgent, al as McpServer, am as McpServerOptions, an as McpToolDescriptor, ao as McpTransport, ap as Question, aq as QuestionDecision, ar as QuestionPolicy, as as QuestionRecord, at as ResearchOutputShape, au as ResearchSource, av as RunDetachedTurnOptions, aw as SettleDetachedCoderTurnOptions, ax as SettledWorker, ay as SiblingSandboxExecutorOptions, az as SubmitInput, aA as SubmitOutput, aB as TraceContext, aC as UiAuditorDelegationOutput, aD as buildDelegationTraceSpans, aE as capDelegationTrace, aF as coderTaskFromArgs, aG as composeLoopTraceEmitters, aH as createCoordinationTools, aI as createDelegateHandler, aJ as createDelegationTraceCollector, aK as createDetachedTurnResumeDriver, aL as createFleetWorkspaceExecutor, aM as createInProcessTransport, aN as createMcpServer, aO as createPropagatingTraceEmitter, aP as createSiblingSandboxExecutor, aQ as detachedSessionDelegate, aR as detachedTurnEvents, aS as eventToSnapshot, aT as formatDetachedSessionRef, aU as hashIdempotencyInput, aV as parseDetachedSessionRef, aW as readTraceContextFromEnv, aX as runDetachedTurn, aY as settleDetachedCoderTurn, aZ as traceContextToEnv, a_ as validateDelegateArgs } from '../coordination-09JTQnlF.js';
4
+ import { L as LocalHarness, r as runLocalHarness } from '../local-harness-DU7yV6mG.js';
5
+ export { a as LocalHarnessResult, R as RunLocalHarnessOptions } from '../local-harness-DU7yV6mG.js';
6
+ import { G as GitRunner } from '../worktree-CUn0d-ZT.js';
7
+ export { C as CreateWorktreeOptions, D as DiffOptions, a as DiffResult, R as RemoveWorktreeOptions, W as WorktreeHandle, c as captureWorktreeDiff, b as createWorktree, r as removeWorktree } from '../worktree-CUn0d-ZT.js';
8
8
  export { C as CreateKbGateOptions, F as FactCandidate, a as FactJudge, b as FactJudgeVerdict, K as KbGateResult, c as createKbGate } from '../kb-gate-CuzMYGYM.js';
9
- export { m as mcpToolsForRuntimeMcp, a as mcpToolsForRuntimeMcpSubset } from '../openai-tools-D5tcirFF.js';
9
+ export { m as mcpToolsForRuntimeMcp, a as mcpToolsForRuntimeMcpSubset } from '../openai-tools-B-3v06BE.js';
10
10
  import { AnalystFinding } from '@tangle-network/agent-eval';
11
11
  import { U as UiLens } from '../substrate-rNj6TDc3.js';
12
12
  import '@tangle-network/sandbox';
13
13
  import '@tangle-network/agent-interface';
14
14
  import '../otel-export-BKmNwiCb.js';
15
15
  import '../router-client-CMAWGv1h.js';
16
+ import '@tangle-network/agent-interface/environment-provider';
16
17
  import 'node:child_process';
17
18
 
18
19
  /**
@@ -232,9 +233,8 @@ declare function createDelegateFeedbackHandler(options: DelegateFeedbackHandlerO
232
233
  /**
233
234
  * @experimental
234
235
  *
235
- * `delegate_ui_audit` MCP tool — async kickoff for UI audit runs. Same
236
- * async semantics as `delegate_code` / `delegate_research`: validates the
237
- * input, computes an idempotency key over the canonical fields, hands
236
+ * `delegate_ui_audit` MCP tool — async kickoff for UI audit runs. Validates
237
+ * the input, computes an idempotency key over the canonical fields, hands
238
238
  * the task to the queue, and returns a taskId. Identical inputs return
239
239
  * the same taskId.
240
240
  *
@@ -409,7 +409,7 @@ declare const DELEGATION_STATUS_INPUT_SCHEMA: {
409
409
  readonly properties: {
410
410
  readonly taskId: {
411
411
  readonly type: "string";
412
- readonly description: "Returned by delegate_code / delegate_research.";
412
+ readonly description: "Returned by delegate_ui_audit.";
413
413
  };
414
414
  readonly includeTrace: {
415
415
  readonly type: "boolean";
package/dist/mcp/index.js CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  mcpToolsForRuntimeMcp,
8
8
  mcpToolsForRuntimeMcpSubset
9
- } from "../chunk-LFL7K5FM.js";
9
+ } from "../chunk-F6G3SSHY.js";
10
10
  import {
11
11
  createKbGate
12
12
  } from "../chunk-FNMGYYSS.js";
@@ -14,7 +14,7 @@ import {
14
14
  assertTraceDerivedFindings,
15
15
  runCoderChecks,
16
16
  selectValidWinner
17
- } from "../chunk-CEW5BMGN.js";
17
+ } from "../chunk-N2JJDGLJ.js";
18
18
  import {
19
19
  DELEGATE_DESCRIPTION,
20
20
  DELEGATE_FEEDBACK_DESCRIPTION,
@@ -68,12 +68,12 @@ import {
68
68
  validateDelegateUiAuditArgs,
69
69
  validateDelegationHistoryArgs,
70
70
  validateDelegationStatusArgs
71
- } from "../chunk-RQYPH2QE.js";
71
+ } from "../chunk-EZ2QESTP.js";
72
72
  import "../chunk-VMNEQHJR.js";
73
73
  import "../chunk-T2HVQVB4.js";
74
74
  import {
75
75
  runLocalHarness
76
- } from "../chunk-O2UPHN7X.js";
76
+ } from "../chunk-5JAUQZQA.js";
77
77
  import {
78
78
  ValidationError
79
79
  } from "../chunk-NBV35BR6.js";