@intentic/sandbox-contract 1.322.0 → 1.324.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 (213) hide show
  1. package/README.md +7 -0
  2. package/dist/contracts/agent.contract.d.ts +109 -6
  3. package/dist/contracts/agent.contract.d.ts.map +1 -1
  4. package/dist/contracts/agent.contract.js +13 -3
  5. package/dist/contracts/agent.contract.js.map +1 -1
  6. package/dist/contracts/agents.contract.d.ts +124 -0
  7. package/dist/contracts/agents.contract.d.ts.map +1 -1
  8. package/dist/contracts/approvals.contract.d.ts +31 -0
  9. package/dist/contracts/approvals.contract.d.ts.map +1 -1
  10. package/dist/contracts/approvals.contract.js +2 -2
  11. package/dist/contracts/approvals.contract.js.map +1 -1
  12. package/dist/contracts/capabilities.contract.d.ts +2 -0
  13. package/dist/contracts/capabilities.contract.d.ts.map +1 -1
  14. package/dist/contracts/loops.contract.d.ts +2 -0
  15. package/dist/contracts/loops.contract.d.ts.map +1 -1
  16. package/dist/contracts/needs.contract.d.ts +4 -0
  17. package/dist/contracts/needs.contract.d.ts.map +1 -1
  18. package/dist/contracts/privacy.contract.d.ts +187 -0
  19. package/dist/contracts/privacy.contract.d.ts.map +1 -0
  20. package/dist/contracts/privacy.contract.js +76 -0
  21. package/dist/contracts/privacy.contract.js.map +1 -0
  22. package/dist/contracts/runner.contract.d.ts +167 -122
  23. package/dist/contracts/runner.contract.d.ts.map +1 -1
  24. package/dist/contracts/sessions.contract.d.ts +11 -0
  25. package/dist/contracts/sessions.contract.d.ts.map +1 -1
  26. package/dist/contracts/settings.contract.d.ts +74 -0
  27. package/dist/contracts/settings.contract.d.ts.map +1 -1
  28. package/dist/contracts/system.contract.d.ts +90 -32
  29. package/dist/contracts/system.contract.d.ts.map +1 -1
  30. package/dist/contracts/system.contract.js +11 -1
  31. package/dist/contracts/system.contract.js.map +1 -1
  32. package/dist/contracts/usage.contract.d.ts +1 -0
  33. package/dist/contracts/usage.contract.d.ts.map +1 -1
  34. package/dist/contracts/workflows.contract.d.ts +3 -0
  35. package/dist/contracts/workflows.contract.d.ts.map +1 -1
  36. package/dist/events/agent-events.d.ts +53 -1
  37. package/dist/events/agent-events.d.ts.map +1 -1
  38. package/dist/events/agent-events.js +6 -0
  39. package/dist/events/agent-events.js.map +1 -1
  40. package/dist/events/agent-ui.d.ts +33 -0
  41. package/dist/events/agent-ui.d.ts.map +1 -0
  42. package/dist/events/agent-ui.js +24 -0
  43. package/dist/events/agent-ui.js.map +1 -0
  44. package/dist/events/requests.d.ts +3 -0
  45. package/dist/events/requests.d.ts.map +1 -1
  46. package/dist/events/requests.js +4 -0
  47. package/dist/events/requests.js.map +1 -1
  48. package/dist/events/resume.d.ts +1 -0
  49. package/dist/events/resume.d.ts.map +1 -1
  50. package/dist/events/resume.js +7 -1
  51. package/dist/events/resume.js.map +1 -1
  52. package/dist/events/sandbox-notice.d.ts +2 -0
  53. package/dist/events/sandbox-notice.d.ts.map +1 -1
  54. package/dist/events/sandbox-notice.js +1 -1
  55. package/dist/events/sandbox-notice.js.map +1 -1
  56. package/dist/events/system-events.d.ts +15 -0
  57. package/dist/events/system-events.d.ts.map +1 -1
  58. package/dist/events/system-events.js +1 -0
  59. package/dist/events/system-events.js.map +1 -1
  60. package/dist/events/transcript.d.ts +70 -0
  61. package/dist/events/transcript.d.ts.map +1 -1
  62. package/dist/events/transcript.js +44 -14
  63. package/dist/events/transcript.js.map +1 -1
  64. package/dist/front/generated/browser-wire.d.ts +4 -0
  65. package/dist/front/generated/browser-wire.d.ts.map +1 -1
  66. package/dist/index.d.ts +640 -38
  67. package/dist/index.d.ts.map +1 -1
  68. package/dist/index.js +6 -0
  69. package/dist/index.js.map +1 -1
  70. package/dist/models/agent-runtimes.d.ts +1 -0
  71. package/dist/models/agent-runtimes.d.ts.map +1 -1
  72. package/dist/models/agent-runtimes.js +6 -0
  73. package/dist/models/agent-runtimes.js.map +1 -1
  74. package/dist/policy/request-status.d.ts.map +1 -1
  75. package/dist/policy/request-status.js +16 -7
  76. package/dist/policy/request-status.js.map +1 -1
  77. package/dist/policy/turned-away.d.ts.map +1 -1
  78. package/dist/policy/turned-away.js +1 -0
  79. package/dist/policy/turned-away.js.map +1 -1
  80. package/dist/protocol/raw-routes.d.ts +12 -0
  81. package/dist/protocol/raw-routes.d.ts.map +1 -1
  82. package/dist/protocol/raw-routes.js +3 -0
  83. package/dist/protocol/raw-routes.js.map +1 -1
  84. package/dist/schemas/agent.d.ts +97 -0
  85. package/dist/schemas/agent.d.ts.map +1 -1
  86. package/dist/schemas/agent.js +20 -2
  87. package/dist/schemas/agent.js.map +1 -1
  88. package/dist/schemas/agents.d.ts +18 -0
  89. package/dist/schemas/agents.d.ts.map +1 -1
  90. package/dist/schemas/agents.js +9 -2
  91. package/dist/schemas/agents.js.map +1 -1
  92. package/dist/schemas/approvals.d.ts +102 -0
  93. package/dist/schemas/approvals.d.ts.map +1 -1
  94. package/dist/schemas/approvals.js +45 -4
  95. package/dist/schemas/approvals.js.map +1 -1
  96. package/dist/schemas/automations.d.ts +6 -0
  97. package/dist/schemas/automations.d.ts.map +1 -1
  98. package/dist/schemas/capabilities.d.ts +2 -0
  99. package/dist/schemas/capabilities.d.ts.map +1 -1
  100. package/dist/schemas/capabilities.js +10 -1
  101. package/dist/schemas/capabilities.js.map +1 -1
  102. package/dist/schemas/git/git.d.ts.map +1 -1
  103. package/dist/schemas/git/git.js.map +1 -1
  104. package/dist/schemas/logs.d.ts +1 -0
  105. package/dist/schemas/logs.d.ts.map +1 -1
  106. package/dist/schemas/logs.js +4 -0
  107. package/dist/schemas/logs.js.map +1 -1
  108. package/dist/schemas/loops.d.ts +3 -0
  109. package/dist/schemas/loops.d.ts.map +1 -1
  110. package/dist/schemas/loops.js +1 -1
  111. package/dist/schemas/loops.js.map +1 -1
  112. package/dist/schemas/needs.d.ts +6 -0
  113. package/dist/schemas/needs.d.ts.map +1 -1
  114. package/dist/schemas/needs.js +13 -3
  115. package/dist/schemas/needs.js.map +1 -1
  116. package/dist/schemas/platform-link.d.ts +50 -0
  117. package/dist/schemas/platform-link.d.ts.map +1 -0
  118. package/dist/schemas/platform-link.js +19 -0
  119. package/dist/schemas/platform-link.js.map +1 -0
  120. package/dist/schemas/privacy.d.ts +277 -0
  121. package/dist/schemas/privacy.d.ts.map +1 -0
  122. package/dist/schemas/privacy.js +127 -0
  123. package/dist/schemas/privacy.js.map +1 -0
  124. package/dist/schemas/providers/plan-limits.d.ts +8 -0
  125. package/dist/schemas/providers/plan-limits.d.ts.map +1 -1
  126. package/dist/schemas/providers/plan-limits.js +25 -4
  127. package/dist/schemas/providers/plan-limits.js.map +1 -1
  128. package/dist/schemas/providers/usage.d.ts +4 -0
  129. package/dist/schemas/providers/usage.d.ts.map +1 -1
  130. package/dist/schemas/providers/usage.js +5 -2
  131. package/dist/schemas/providers/usage.js.map +1 -1
  132. package/dist/schemas/push.d.ts +1 -0
  133. package/dist/schemas/push.d.ts.map +1 -1
  134. package/dist/schemas/push.js +4 -0
  135. package/dist/schemas/push.js.map +1 -1
  136. package/dist/schemas/settings.d.ts +80 -0
  137. package/dist/schemas/settings.d.ts.map +1 -1
  138. package/dist/schemas/settings.js +14 -3
  139. package/dist/schemas/settings.js.map +1 -1
  140. package/dist/schemas/system.d.ts +17 -0
  141. package/dist/schemas/system.d.ts.map +1 -1
  142. package/dist/schemas/system.js +2 -1
  143. package/dist/schemas/system.js.map +1 -1
  144. package/dist/schemas/updates.d.ts +30 -0
  145. package/dist/schemas/updates.d.ts.map +1 -1
  146. package/dist/schemas/updates.js +37 -0
  147. package/dist/schemas/updates.js.map +1 -1
  148. package/dist/schemas/workflows.d.ts +5 -0
  149. package/dist/schemas/workflows.d.ts.map +1 -1
  150. package/dist/state/definition.d.ts +10 -0
  151. package/dist/state/definition.d.ts.map +1 -1
  152. package/dist/state/history-state.d.ts.map +1 -1
  153. package/dist/state/history-state.js +1 -0
  154. package/dist/state/history-state.js.map +1 -1
  155. package/dist/state/runtime-state.d.ts +3 -0
  156. package/dist/state/runtime-state.d.ts.map +1 -1
  157. package/dist/state/runtime-state.js +1 -0
  158. package/dist/state/runtime-state.js.map +1 -1
  159. package/dist/state/workspace-state.d.ts +17 -1
  160. package/dist/state/workspace-state.d.ts.map +1 -1
  161. package/dist/state/workspace-state.js +20 -1
  162. package/dist/state/workspace-state.js.map +1 -1
  163. package/dist/text/transcript-fold.d.ts.map +1 -1
  164. package/dist/text/transcript-fold.js +9 -0
  165. package/dist/text/transcript-fold.js.map +1 -1
  166. package/package.json +5 -5
  167. package/src/contracts/agent.contract.ts +16 -3
  168. package/src/contracts/approvals.contract.ts +2 -2
  169. package/src/contracts/privacy.contract.ts +95 -0
  170. package/src/contracts/system.contract.ts +14 -1
  171. package/src/events/agent-events.ts +11 -0
  172. package/src/events/agent-ui.ts +40 -0
  173. package/src/events/requests.ts +6 -0
  174. package/src/events/resume.test.ts +13 -0
  175. package/src/events/resume.ts +11 -2
  176. package/src/events/sandbox-notice.ts +1 -1
  177. package/src/events/system-events.ts +2 -0
  178. package/src/events/transcript.ts +84 -20
  179. package/src/front/generated/browser-wire.json +27 -0
  180. package/src/front/generated/browser-wire.ts +1 -1
  181. package/src/index.ts +6 -0
  182. package/src/models/agent-catalog.test.ts +1 -0
  183. package/src/models/agent-runtimes.ts +17 -0
  184. package/src/models/capability-ledger.test.ts +3 -0
  185. package/src/policy/request-status.ts +19 -9
  186. package/src/policy/turned-away.ts +2 -0
  187. package/src/protocol/raw-routes.ts +9 -0
  188. package/src/schemas/agent.ts +36 -4
  189. package/src/schemas/agents.ts +17 -4
  190. package/src/schemas/approvals.ts +59 -4
  191. package/src/schemas/automations.ts +4 -4
  192. package/src/schemas/capabilities.ts +15 -2
  193. package/src/schemas/ci.ts +1 -1
  194. package/src/schemas/git/git.ts +1 -0
  195. package/src/schemas/logs.ts +6 -0
  196. package/src/schemas/loops.ts +2 -1
  197. package/src/schemas/needs.ts +18 -3
  198. package/src/schemas/platform-link.ts +42 -0
  199. package/src/schemas/privacy.ts +204 -0
  200. package/src/schemas/providers/plan-limits.ts +38 -5
  201. package/src/schemas/providers/usage.ts +13 -2
  202. package/src/schemas/push.ts +7 -0
  203. package/src/schemas/settings-history.ts +3 -3
  204. package/src/schemas/settings.test.ts +5 -5
  205. package/src/schemas/settings.ts +47 -19
  206. package/src/schemas/system.ts +6 -1
  207. package/src/schemas/updates.ts +71 -0
  208. package/src/state/history-state.ts +3 -0
  209. package/src/state/runtime-state.ts +4 -0
  210. package/src/state/workspace-state.test.ts +8 -2
  211. package/src/state/workspace-state.ts +32 -2
  212. package/src/text/transcript-fold.test.ts +15 -0
  213. package/src/text/transcript-fold.ts +10 -0
@@ -59,6 +59,37 @@ export declare const runnerContract: {
59
59
  bytesBase64: z.ZodString;
60
60
  }, z.core.$strip>>>;
61
61
  }, z.core.$strip>, import("@orpc/contract").Schema<AsyncIteratorObject<{
62
+ requestId: string;
63
+ text: string;
64
+ document?: {
65
+ path: string;
66
+ title: string;
67
+ markdown: string;
68
+ truncated?: boolean | undefined;
69
+ plan?: boolean | undefined;
70
+ } | undefined;
71
+ kind: "plan";
72
+ } | {
73
+ requestId: string;
74
+ questions: {
75
+ question: string;
76
+ header: string;
77
+ multiSelect: boolean;
78
+ options: {
79
+ label: string;
80
+ description: string;
81
+ preview?: string | undefined;
82
+ }[];
83
+ }[];
84
+ document?: {
85
+ path: string;
86
+ title: string;
87
+ markdown: string;
88
+ truncated?: boolean | undefined;
89
+ plan?: boolean | undefined;
90
+ } | undefined;
91
+ kind: "question";
92
+ } | {
62
93
  kind: "session";
63
94
  sessionId: string;
64
95
  account?: string | undefined;
@@ -261,36 +292,15 @@ export declare const runnerContract: {
261
292
  reach: "main-tree" | "own-copy";
262
293
  projects: string[];
263
294
  } | {
264
- requestId: string;
265
- text: string;
266
- document?: {
267
- path: string;
268
- title: string;
269
- markdown: string;
270
- truncated?: boolean | undefined;
271
- plan?: boolean | undefined;
272
- } | undefined;
273
- kind: "plan";
295
+ kind: "agent_status";
296
+ key: string;
297
+ text: string | null;
298
+ source?: string | undefined;
274
299
  } | {
275
- requestId: string;
276
- questions: {
277
- question: string;
278
- header: string;
279
- multiSelect: boolean;
280
- options: {
281
- label: string;
282
- description: string;
283
- preview?: string | undefined;
284
- }[];
285
- }[];
286
- document?: {
287
- path: string;
288
- title: string;
289
- markdown: string;
290
- truncated?: boolean | undefined;
291
- plan?: boolean | undefined;
292
- } | undefined;
293
- kind: "question";
300
+ level: "error" | "info" | "warning";
301
+ source?: string | undefined;
302
+ kind: "agent_notice";
303
+ text: string;
294
304
  } | {
295
305
  requestId: string;
296
306
  session: string;
@@ -399,11 +409,12 @@ export declare const runnerContract: {
399
409
  kind: "question";
400
410
  requestId: string;
401
411
  answers?: Record<string, string[]> | undefined;
412
+ attachments?: Record<string, string[]> | undefined;
402
413
  cancelled?: boolean | undefined;
403
414
  } | {
404
415
  kind: "permission";
405
416
  requestId: string;
406
- decision: "always" | "deny" | "once";
417
+ decision: "always" | "deny" | "everything" | "once";
407
418
  feedback?: string | undefined;
408
419
  child?: {
409
420
  provider: string;
@@ -443,7 +454,7 @@ export declare const runnerContract: {
443
454
  } | {
444
455
  kind: "error";
445
456
  message: string;
446
- code?: "agent-busy" | "claude-not-entitled" | "claude-reauth" | "claude-token-refused" | "codex-advisory" | "codex-model-invalid" | "codex-reauth" | "context-overflow" | "context-window-too-small" | "engine-version-floor" | "grok-model-invalid" | "harness-incomplete" | "model-helper-only" | "model-unavailable" | "provider-outage" | "rate_limit" | "safeguard-flagged" | "sandbox-memory-low" | "session-not-found" | "subscription-required" | "trial-exhausted" | "trial-model-unavailable" | "trial-unavailable" | "turn-cap" | "unknown-command" | undefined;
457
+ code?: "acp-auth-required" | "agent-busy" | "claude-not-entitled" | "claude-reauth" | "claude-token-refused" | "codex-advisory" | "codex-model-invalid" | "codex-reauth" | "context-overflow" | "context-window-too-small" | "engine-version-floor" | "grok-model-invalid" | "harness-incomplete" | "model-helper-only" | "model-unavailable" | "privacy-unshielded" | "provider-outage" | "rate_limit" | "safeguard-flagged" | "sandbox-memory-low" | "session-not-found" | "subscription-required" | "trial-exhausted" | "trial-model-unavailable" | "trial-unavailable" | "turn-cap" | "unknown-command" | undefined;
447
458
  refusal?: {
448
459
  category?: string | undefined;
449
460
  resumeAt?: string | undefined;
@@ -478,6 +489,50 @@ export declare const runnerContract: {
478
489
  unattended?: boolean | undefined;
479
490
  } | {
480
491
  kind: "done";
492
+ } | {
493
+ toolName: string;
494
+ title?: string | undefined;
495
+ displayName?: string | undefined;
496
+ description?: string | undefined;
497
+ reason?: string | undefined;
498
+ path?: string | undefined;
499
+ alwaysLabel?: string | undefined;
500
+ alwaysAsks?: true | undefined;
501
+ program?: {
502
+ text: string;
503
+ language: "bash" | "javascript";
504
+ truncated: boolean;
505
+ spans: {
506
+ start: number;
507
+ end: number;
508
+ }[];
509
+ } | undefined;
510
+ child?: {
511
+ provider: string;
512
+ model: string;
513
+ harness?: "claude-code" | "native" | undefined;
514
+ account?: string | undefined;
515
+ effort?: string | undefined;
516
+ thinking?: boolean | undefined;
517
+ fast?: boolean | undefined;
518
+ move: "answer" | "send" | "spawn";
519
+ child?: string | undefined;
520
+ task?: string | undefined;
521
+ message?: string | undefined;
522
+ on?: string | undefined;
523
+ proposed?: {
524
+ provider: string;
525
+ model: string;
526
+ harness?: "claude-code" | "native" | undefined;
527
+ account?: string | undefined;
528
+ effort?: string | undefined;
529
+ thinking?: boolean | undefined;
530
+ fast?: boolean | undefined;
531
+ } | undefined;
532
+ } | undefined;
533
+ explain?: string | undefined;
534
+ requestId: string;
535
+ kind: "permission";
481
536
  } | {
482
537
  window: number;
483
538
  omitted: string[];
@@ -504,6 +559,54 @@ export declare const runnerContract: {
504
559
  cachedAt?: number | undefined;
505
560
  cacheTtlMs?: number | undefined;
506
561
  kind: "context_usage";
562
+ } | {
563
+ outcome: "connected" | "unfinished";
564
+ id?: string | undefined;
565
+ kind: "capability_outcome";
566
+ requestId: string;
567
+ } | {
568
+ outcome: "failed" | "paid";
569
+ amountUsd: string;
570
+ transaction?: string | undefined;
571
+ network?: string | undefined;
572
+ kind: "payment_receipt";
573
+ requestId: string;
574
+ } | {
575
+ outcome: "refused" | "released";
576
+ approvedBy?: string | undefined;
577
+ kind: "credential_receipt";
578
+ requestId: string;
579
+ }, unknown, void>, import("@orpc/contract").AsyncIteratorClass<{
580
+ requestId: string;
581
+ text: string;
582
+ document?: {
583
+ path: string;
584
+ title: string;
585
+ markdown: string;
586
+ truncated?: boolean | undefined;
587
+ plan?: boolean | undefined;
588
+ } | undefined;
589
+ kind: "plan";
590
+ } | {
591
+ requestId: string;
592
+ questions: {
593
+ question: string;
594
+ header: string;
595
+ multiSelect: boolean;
596
+ options: {
597
+ label: string;
598
+ description: string;
599
+ preview?: string | undefined;
600
+ }[];
601
+ }[];
602
+ document?: {
603
+ path: string;
604
+ title: string;
605
+ markdown: string;
606
+ truncated?: boolean | undefined;
607
+ plan?: boolean | undefined;
608
+ } | undefined;
609
+ kind: "question";
507
610
  } | {
508
611
  toolName: string;
509
612
  title?: string | undefined;
@@ -512,6 +615,7 @@ export declare const runnerContract: {
512
615
  reason?: string | undefined;
513
616
  path?: string | undefined;
514
617
  alwaysLabel?: string | undefined;
618
+ alwaysAsks?: true | undefined;
515
619
  program?: {
516
620
  text: string;
517
621
  language: "bash" | "javascript";
@@ -548,23 +652,6 @@ export declare const runnerContract: {
548
652
  requestId: string;
549
653
  kind: "permission";
550
654
  } | {
551
- outcome: "connected" | "unfinished";
552
- id?: string | undefined;
553
- kind: "capability_outcome";
554
- requestId: string;
555
- } | {
556
- outcome: "failed" | "paid";
557
- amountUsd: string;
558
- transaction?: string | undefined;
559
- network?: string | undefined;
560
- kind: "payment_receipt";
561
- requestId: string;
562
- } | {
563
- outcome: "refused" | "released";
564
- approvedBy?: string | undefined;
565
- kind: "credential_receipt";
566
- requestId: string;
567
- }, unknown, void>, import("@orpc/contract").AsyncIteratorClass<{
568
655
  kind: "session";
569
656
  sessionId: string;
570
657
  account?: string | undefined;
@@ -767,36 +854,15 @@ export declare const runnerContract: {
767
854
  reach: "main-tree" | "own-copy";
768
855
  projects: string[];
769
856
  } | {
770
- requestId: string;
771
- text: string;
772
- document?: {
773
- path: string;
774
- title: string;
775
- markdown: string;
776
- truncated?: boolean | undefined;
777
- plan?: boolean | undefined;
778
- } | undefined;
779
- kind: "plan";
857
+ kind: "agent_status";
858
+ key: string;
859
+ text: string | null;
860
+ source?: string | undefined;
780
861
  } | {
781
- requestId: string;
782
- questions: {
783
- question: string;
784
- header: string;
785
- multiSelect: boolean;
786
- options: {
787
- label: string;
788
- description: string;
789
- preview?: string | undefined;
790
- }[];
791
- }[];
792
- document?: {
793
- path: string;
794
- title: string;
795
- markdown: string;
796
- truncated?: boolean | undefined;
797
- plan?: boolean | undefined;
798
- } | undefined;
799
- kind: "question";
862
+ level: "error" | "info" | "warning";
863
+ source?: string | undefined;
864
+ kind: "agent_notice";
865
+ text: string;
800
866
  } | {
801
867
  requestId: string;
802
868
  session: string;
@@ -905,11 +971,12 @@ export declare const runnerContract: {
905
971
  kind: "question";
906
972
  requestId: string;
907
973
  answers?: Record<string, string[]> | undefined;
974
+ attachments?: Record<string, string[]> | undefined;
908
975
  cancelled?: boolean | undefined;
909
976
  } | {
910
977
  kind: "permission";
911
978
  requestId: string;
912
- decision: "always" | "deny" | "once";
979
+ decision: "always" | "deny" | "everything" | "once";
913
980
  feedback?: string | undefined;
914
981
  child?: {
915
982
  provider: string;
@@ -949,7 +1016,7 @@ export declare const runnerContract: {
949
1016
  } | {
950
1017
  kind: "error";
951
1018
  message: string;
952
- code?: "agent-busy" | "claude-not-entitled" | "claude-reauth" | "claude-token-refused" | "codex-advisory" | "codex-model-invalid" | "codex-reauth" | "context-overflow" | "context-window-too-small" | "engine-version-floor" | "grok-model-invalid" | "harness-incomplete" | "model-helper-only" | "model-unavailable" | "provider-outage" | "rate_limit" | "safeguard-flagged" | "sandbox-memory-low" | "session-not-found" | "subscription-required" | "trial-exhausted" | "trial-model-unavailable" | "trial-unavailable" | "turn-cap" | "unknown-command" | undefined;
1019
+ code?: "acp-auth-required" | "agent-busy" | "claude-not-entitled" | "claude-reauth" | "claude-token-refused" | "codex-advisory" | "codex-model-invalid" | "codex-reauth" | "context-overflow" | "context-window-too-small" | "engine-version-floor" | "grok-model-invalid" | "harness-incomplete" | "model-helper-only" | "model-unavailable" | "privacy-unshielded" | "provider-outage" | "rate_limit" | "safeguard-flagged" | "sandbox-memory-low" | "session-not-found" | "subscription-required" | "trial-exhausted" | "trial-model-unavailable" | "trial-unavailable" | "turn-cap" | "unknown-command" | undefined;
953
1020
  refusal?: {
954
1021
  category?: string | undefined;
955
1022
  resumeAt?: string | undefined;
@@ -1010,49 +1077,6 @@ export declare const runnerContract: {
1010
1077
  cachedAt?: number | undefined;
1011
1078
  cacheTtlMs?: number | undefined;
1012
1079
  kind: "context_usage";
1013
- } | {
1014
- toolName: string;
1015
- title?: string | undefined;
1016
- displayName?: string | undefined;
1017
- description?: string | undefined;
1018
- reason?: string | undefined;
1019
- path?: string | undefined;
1020
- alwaysLabel?: string | undefined;
1021
- program?: {
1022
- text: string;
1023
- language: "bash" | "javascript";
1024
- truncated: boolean;
1025
- spans: {
1026
- start: number;
1027
- end: number;
1028
- }[];
1029
- } | undefined;
1030
- child?: {
1031
- provider: string;
1032
- model: string;
1033
- harness?: "claude-code" | "native" | undefined;
1034
- account?: string | undefined;
1035
- effort?: string | undefined;
1036
- thinking?: boolean | undefined;
1037
- fast?: boolean | undefined;
1038
- move: "answer" | "send" | "spawn";
1039
- child?: string | undefined;
1040
- task?: string | undefined;
1041
- message?: string | undefined;
1042
- on?: string | undefined;
1043
- proposed?: {
1044
- provider: string;
1045
- model: string;
1046
- harness?: "claude-code" | "native" | undefined;
1047
- account?: string | undefined;
1048
- effort?: string | undefined;
1049
- thinking?: boolean | undefined;
1050
- fast?: boolean | undefined;
1051
- } | undefined;
1052
- } | undefined;
1053
- explain?: string | undefined;
1054
- requestId: string;
1055
- kind: "permission";
1056
1080
  } | {
1057
1081
  outcome: "connected" | "unfinished";
1058
1082
  id?: string | undefined;
@@ -1368,6 +1392,20 @@ export declare const runnerContract: {
1368
1392
  "own-copy": "own-copy";
1369
1393
  }>;
1370
1394
  projects: z.ZodArray<z.ZodString>;
1395
+ }, z.core.$strip>, z.ZodObject<{
1396
+ kind: z.ZodLiteral<"agent_status">;
1397
+ key: z.ZodString;
1398
+ text: z.ZodNullable<z.ZodString>;
1399
+ source: z.ZodOptional<z.ZodString>;
1400
+ }, z.core.$strip>, z.ZodObject<{
1401
+ level: z.ZodEnum<{
1402
+ error: "error";
1403
+ info: "info";
1404
+ warning: "warning";
1405
+ }>;
1406
+ source: z.ZodOptional<z.ZodString>;
1407
+ kind: z.ZodLiteral<"agent_notice">;
1408
+ text: z.ZodString;
1371
1409
  }, z.core.$strip>, z.ZodObject<{
1372
1410
  requestId: z.ZodString;
1373
1411
  text: z.ZodString;
@@ -1407,6 +1445,7 @@ export declare const runnerContract: {
1407
1445
  reason: z.ZodOptional<z.ZodString>;
1408
1446
  path: z.ZodOptional<z.ZodString>;
1409
1447
  alwaysLabel: z.ZodOptional<z.ZodString>;
1448
+ alwaysAsks: z.ZodOptional<z.ZodLiteral<true>>;
1410
1449
  program: z.ZodOptional<z.ZodObject<{
1411
1450
  text: z.ZodString;
1412
1451
  language: z.ZodEnum<{
@@ -1623,6 +1662,7 @@ export declare const runnerContract: {
1623
1662
  kind: z.ZodLiteral<"question">;
1624
1663
  requestId: z.ZodString;
1625
1664
  answers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
1665
+ attachments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
1626
1666
  cancelled: z.ZodOptional<z.ZodBoolean>;
1627
1667
  }, z.core.$strip>, z.ZodObject<{
1628
1668
  kind: z.ZodLiteral<"permission">;
@@ -1630,6 +1670,7 @@ export declare const runnerContract: {
1630
1670
  decision: z.ZodEnum<{
1631
1671
  always: "always";
1632
1672
  deny: "deny";
1673
+ everything: "everything";
1633
1674
  once: "once";
1634
1675
  }>;
1635
1676
  feedback: z.ZodOptional<z.ZodString>;
@@ -1679,6 +1720,7 @@ export declare const runnerContract: {
1679
1720
  kind: z.ZodLiteral<"error">;
1680
1721
  message: z.ZodString;
1681
1722
  code: z.ZodOptional<z.ZodEnum<{
1723
+ "acp-auth-required": "acp-auth-required";
1682
1724
  "agent-busy": "agent-busy";
1683
1725
  "claude-not-entitled": "claude-not-entitled";
1684
1726
  "claude-reauth": "claude-reauth";
@@ -1693,6 +1735,7 @@ export declare const runnerContract: {
1693
1735
  "harness-incomplete": "harness-incomplete";
1694
1736
  "model-helper-only": "model-helper-only";
1695
1737
  "model-unavailable": "model-unavailable";
1738
+ "privacy-unshielded": "privacy-unshielded";
1696
1739
  "provider-outage": "provider-outage";
1697
1740
  rate_limit: "rate_limit";
1698
1741
  "safeguard-flagged": "safeguard-flagged";
@@ -1753,6 +1796,7 @@ export declare const runnerContract: {
1753
1796
  kind: z.ZodLiteral<"question">;
1754
1797
  requestId: z.ZodString;
1755
1798
  answers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
1799
+ attachments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
1756
1800
  cancelled: z.ZodOptional<z.ZodBoolean>;
1757
1801
  }, z.core.$strip>, z.ZodObject<{
1758
1802
  kind: z.ZodLiteral<"permission">;
@@ -1760,6 +1804,7 @@ export declare const runnerContract: {
1760
1804
  decision: z.ZodEnum<{
1761
1805
  always: "always";
1762
1806
  deny: "deny";
1807
+ everything: "everything";
1763
1808
  once: "once";
1764
1809
  }>;
1765
1810
  feedback: z.ZodOptional<z.ZodString>;
@@ -1 +1 @@
1
- {"version":3,"file":"runner.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/runner.contract.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEV,aAAa;;;;;IAEb,IAAI;;;CACP,CAAC"}
@@ -101,6 +101,14 @@ export declare const sessionsContract: {
101
101
  code: z.ZodString;
102
102
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
103
103
  }, z.core.$strip>>;
104
+ agentNotice: z.ZodOptional<z.ZodObject<{
105
+ level: z.ZodEnum<{
106
+ error: "error";
107
+ info: "info";
108
+ warning: "warning";
109
+ }>;
110
+ source: z.ZodOptional<z.ZodString>;
111
+ }, z.core.$strip>>;
104
112
  plan: z.ZodOptional<z.ZodObject<{
105
113
  requestId: z.ZodString;
106
114
  text: z.ZodString;
@@ -143,6 +151,7 @@ export declare const sessionsContract: {
143
151
  pending: "pending";
144
152
  }>;
145
153
  answers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
154
+ attachments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
146
155
  }, z.core.$strip>>;
147
156
  permission: z.ZodOptional<z.ZodObject<{
148
157
  toolName: z.ZodString;
@@ -152,6 +161,7 @@ export declare const sessionsContract: {
152
161
  reason: z.ZodOptional<z.ZodString>;
153
162
  path: z.ZodOptional<z.ZodString>;
154
163
  alwaysLabel: z.ZodOptional<z.ZodString>;
164
+ alwaysAsks: z.ZodOptional<z.ZodLiteral<true>>;
155
165
  program: z.ZodOptional<z.ZodObject<{
156
166
  text: z.ZodString;
157
167
  language: z.ZodEnum<{
@@ -204,6 +214,7 @@ export declare const sessionsContract: {
204
214
  always: "always";
205
215
  cancelled: "cancelled";
206
216
  denied: "denied";
217
+ everything: "everything";
207
218
  pending: "pending";
208
219
  }>;
209
220
  }, z.core.$strip>>;
@@ -1 +1 @@
1
- {"version":3,"file":"sessions.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/sessions.contract.ts"],"names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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUN,CAAC"}
@@ -13,6 +13,8 @@ export declare const settingsContract: {
13
13
  systemPrompt: import("zod").ZodDefault<import("zod").ZodString>;
14
14
  leanGuidance: import("zod").ZodDefault<import("zod").ZodBoolean>;
15
15
  leanGuidanceHoldout: import("zod").ZodDefault<import("zod").ZodNumber>;
16
+ toolResultClearing: import("zod").ZodDefault<import("zod").ZodBoolean>;
17
+ toolResultClearingHoldout: import("zod").ZodDefault<import("zod").ZodNumber>;
16
18
  iqSearch: import("zod").ZodDefault<import("zod").ZodBoolean>;
17
19
  iqSearchHoldout: import("zod").ZodDefault<import("zod").ZodNumber>;
18
20
  workspaceMap: import("zod").ZodDefault<import("zod").ZodBoolean>;
@@ -187,6 +189,8 @@ export declare const settingsContract: {
187
189
  systemPrompt: import("zod").ZodDefault<import("zod").ZodString>;
188
190
  leanGuidance: import("zod").ZodDefault<import("zod").ZodBoolean>;
189
191
  leanGuidanceHoldout: import("zod").ZodDefault<import("zod").ZodNumber>;
192
+ toolResultClearing: import("zod").ZodDefault<import("zod").ZodBoolean>;
193
+ toolResultClearingHoldout: import("zod").ZodDefault<import("zod").ZodNumber>;
190
194
  iqSearch: import("zod").ZodDefault<import("zod").ZodBoolean>;
191
195
  iqSearchHoldout: import("zod").ZodDefault<import("zod").ZodNumber>;
192
196
  workspaceMap: import("zod").ZodDefault<import("zod").ZodBoolean>;
@@ -379,9 +383,11 @@ export declare const settingsContract: {
379
383
  metrics: import("zod").ZodTuple<[import("zod").ZodObject<{
380
384
  metric: import("zod").ZodEnum<{
381
385
  callsBeforeTarget: "callsBeforeTarget";
386
+ contextPerCall: "contextPerCall";
382
387
  failedCalls: "failedCalls";
383
388
  openingListings: "openingListings";
384
389
  openingSearches: "openingSearches";
390
+ roundTrips: "roundTrips";
385
391
  searchCalls: "searchCalls";
386
392
  }>;
387
393
  on: import("zod").ZodObject<{
@@ -399,9 +405,11 @@ export declare const settingsContract: {
399
405
  }, import("zod/v4/core").$strip>], import("zod").ZodObject<{
400
406
  metric: import("zod").ZodEnum<{
401
407
  callsBeforeTarget: "callsBeforeTarget";
408
+ contextPerCall: "contextPerCall";
402
409
  failedCalls: "failedCalls";
403
410
  openingListings: "openingListings";
404
411
  openingSearches: "openingSearches";
412
+ roundTrips: "roundTrips";
405
413
  searchCalls: "searchCalls";
406
414
  }>;
407
415
  on: import("zod").ZodObject<{
@@ -429,9 +437,11 @@ export declare const settingsContract: {
429
437
  metrics: import("zod").ZodTuple<[import("zod").ZodObject<{
430
438
  metric: import("zod").ZodEnum<{
431
439
  callsBeforeTarget: "callsBeforeTarget";
440
+ contextPerCall: "contextPerCall";
432
441
  failedCalls: "failedCalls";
433
442
  openingListings: "openingListings";
434
443
  openingSearches: "openingSearches";
444
+ roundTrips: "roundTrips";
435
445
  searchCalls: "searchCalls";
436
446
  }>;
437
447
  on: import("zod").ZodObject<{
@@ -449,9 +459,11 @@ export declare const settingsContract: {
449
459
  }, import("zod/v4/core").$strip>], import("zod").ZodObject<{
450
460
  metric: import("zod").ZodEnum<{
451
461
  callsBeforeTarget: "callsBeforeTarget";
462
+ contextPerCall: "contextPerCall";
452
463
  failedCalls: "failedCalls";
453
464
  openingListings: "openingListings";
454
465
  openingSearches: "openingSearches";
466
+ roundTrips: "roundTrips";
455
467
  searchCalls: "searchCalls";
456
468
  }>;
457
469
  on: import("zod").ZodObject<{
@@ -479,9 +491,11 @@ export declare const settingsContract: {
479
491
  metrics: import("zod").ZodTuple<[import("zod").ZodObject<{
480
492
  metric: import("zod").ZodEnum<{
481
493
  callsBeforeTarget: "callsBeforeTarget";
494
+ contextPerCall: "contextPerCall";
482
495
  failedCalls: "failedCalls";
483
496
  openingListings: "openingListings";
484
497
  openingSearches: "openingSearches";
498
+ roundTrips: "roundTrips";
485
499
  searchCalls: "searchCalls";
486
500
  }>;
487
501
  on: import("zod").ZodObject<{
@@ -499,9 +513,11 @@ export declare const settingsContract: {
499
513
  }, import("zod/v4/core").$strip>], import("zod").ZodObject<{
500
514
  metric: import("zod").ZodEnum<{
501
515
  callsBeforeTarget: "callsBeforeTarget";
516
+ contextPerCall: "contextPerCall";
502
517
  failedCalls: "failedCalls";
503
518
  openingListings: "openingListings";
504
519
  openingSearches: "openingSearches";
520
+ roundTrips: "roundTrips";
505
521
  searchCalls: "searchCalls";
506
522
  }>;
507
523
  on: import("zod").ZodObject<{
@@ -529,9 +545,11 @@ export declare const settingsContract: {
529
545
  metrics: import("zod").ZodTuple<[import("zod").ZodObject<{
530
546
  metric: import("zod").ZodEnum<{
531
547
  callsBeforeTarget: "callsBeforeTarget";
548
+ contextPerCall: "contextPerCall";
532
549
  failedCalls: "failedCalls";
533
550
  openingListings: "openingListings";
534
551
  openingSearches: "openingSearches";
552
+ roundTrips: "roundTrips";
535
553
  searchCalls: "searchCalls";
536
554
  }>;
537
555
  on: import("zod").ZodObject<{
@@ -549,9 +567,65 @@ export declare const settingsContract: {
549
567
  }, import("zod/v4/core").$strip>], import("zod").ZodObject<{
550
568
  metric: import("zod").ZodEnum<{
551
569
  callsBeforeTarget: "callsBeforeTarget";
570
+ contextPerCall: "contextPerCall";
552
571
  failedCalls: "failedCalls";
553
572
  openingListings: "openingListings";
554
573
  openingSearches: "openingSearches";
574
+ roundTrips: "roundTrips";
575
+ searchCalls: "searchCalls";
576
+ }>;
577
+ on: import("zod").ZodObject<{
578
+ turns: import("zod").ZodNumber;
579
+ mean: import("zod").ZodNumber;
580
+ }, import("zod/v4/core").$strip>;
581
+ off: import("zod").ZodObject<{
582
+ turns: import("zod").ZodNumber;
583
+ mean: import("zod").ZodNumber;
584
+ }, import("zod/v4/core").$strip>;
585
+ controlTurnsNeeded: import("zod").ZodOptional<import("zod").ZodNumber>;
586
+ marginPct: import("zod").ZodOptional<import("zod").ZodNumber>;
587
+ deltaPct: import("zod").ZodOptional<import("zod").ZodNumber>;
588
+ saved: import("zod").ZodOptional<import("zod").ZodNumber>;
589
+ }, import("zod/v4/core").$strip>>;
590
+ minTurns: import("zod").ZodNumber;
591
+ sampleUnit: import("zod").ZodOptional<import("zod").ZodEnum<{
592
+ conversations: "conversations";
593
+ "opening turns": "opening turns";
594
+ turns: "turns";
595
+ }>>;
596
+ cohort: import("zod").ZodOptional<import("zod").ZodString>;
597
+ }, import("zod/v4/core").$strip>>;
598
+ clearing: import("zod").ZodOptional<import("zod").ZodObject<{
599
+ metrics: import("zod").ZodTuple<[import("zod").ZodObject<{
600
+ metric: import("zod").ZodEnum<{
601
+ callsBeforeTarget: "callsBeforeTarget";
602
+ contextPerCall: "contextPerCall";
603
+ failedCalls: "failedCalls";
604
+ openingListings: "openingListings";
605
+ openingSearches: "openingSearches";
606
+ roundTrips: "roundTrips";
607
+ searchCalls: "searchCalls";
608
+ }>;
609
+ on: import("zod").ZodObject<{
610
+ turns: import("zod").ZodNumber;
611
+ mean: import("zod").ZodNumber;
612
+ }, import("zod/v4/core").$strip>;
613
+ off: import("zod").ZodObject<{
614
+ turns: import("zod").ZodNumber;
615
+ mean: import("zod").ZodNumber;
616
+ }, import("zod/v4/core").$strip>;
617
+ controlTurnsNeeded: import("zod").ZodOptional<import("zod").ZodNumber>;
618
+ marginPct: import("zod").ZodOptional<import("zod").ZodNumber>;
619
+ deltaPct: import("zod").ZodOptional<import("zod").ZodNumber>;
620
+ saved: import("zod").ZodOptional<import("zod").ZodNumber>;
621
+ }, import("zod/v4/core").$strip>], import("zod").ZodObject<{
622
+ metric: import("zod").ZodEnum<{
623
+ callsBeforeTarget: "callsBeforeTarget";
624
+ contextPerCall: "contextPerCall";
625
+ failedCalls: "failedCalls";
626
+ openingListings: "openingListings";
627
+ openingSearches: "openingSearches";
628
+ roundTrips: "roundTrips";
555
629
  searchCalls: "searchCalls";
556
630
  }>;
557
631
  on: import("zod").ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"settings.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/settings.contract.ts"],"names":[],"mappings":"AAyBA,eAAO,MAAM,gBAAgB;IACzB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASH,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASH,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAUP,aAAa;;;;;;;;;IAWb,OAAO;IAWP,UAAU;;;;;;;;;;;;;;;;;;;;;IAUV,UAAU;;;;;;;;;;;;;;IAYV,aAAa;;;;;;IAab,QAAQ;;;;;;IAYR,WAAW;;;;;;;;;;;;;IAWX,eAAe;;;;;;CAUlB,CAAC"}
1
+ {"version":3,"file":"settings.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/settings.contract.ts"],"names":[],"mappings":"AAyBA,eAAO,MAAM,gBAAgB;IACzB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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