@intentic/sandbox-contract 1.312.0 → 1.314.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 (352) hide show
  1. package/README.md +26 -3
  2. package/dist/chores/index.d.ts +0 -1
  3. package/dist/chores/index.d.ts.map +1 -1
  4. package/dist/chores/index.js +0 -1
  5. package/dist/chores/index.js.map +1 -1
  6. package/dist/contracts/accounts.contract.d.ts +57 -0
  7. package/dist/contracts/accounts.contract.d.ts.map +1 -1
  8. package/dist/contracts/agent.contract.d.ts +436 -0
  9. package/dist/contracts/agent.contract.d.ts.map +1 -1
  10. package/dist/contracts/agent.contract.js +11 -1
  11. package/dist/contracts/agent.contract.js.map +1 -1
  12. package/dist/contracts/agents.contract.d.ts +123 -96
  13. package/dist/contracts/agents.contract.d.ts.map +1 -1
  14. package/dist/contracts/capabilities.contract.js +1 -1
  15. package/dist/contracts/capabilities.contract.js.map +1 -1
  16. package/dist/contracts/device.contract.d.ts +20 -4
  17. package/dist/contracts/device.contract.d.ts.map +1 -1
  18. package/dist/contracts/device.contract.js +1 -1
  19. package/dist/contracts/device.contract.js.map +1 -1
  20. package/dist/contracts/extensions.contract.d.ts +11 -0
  21. package/dist/contracts/extensions.contract.d.ts.map +1 -1
  22. package/dist/contracts/git.contract.d.ts +2 -0
  23. package/dist/contracts/git.contract.d.ts.map +1 -1
  24. package/dist/contracts/personas.contract.d.ts +2 -0
  25. package/dist/contracts/personas.contract.d.ts.map +1 -1
  26. package/dist/contracts/runner.contract.d.ts +138 -0
  27. package/dist/contracts/runner.contract.d.ts.map +1 -1
  28. package/dist/contracts/secrets.contract.d.ts.map +1 -1
  29. package/dist/contracts/secrets.contract.js +1 -0
  30. package/dist/contracts/secrets.contract.js.map +1 -1
  31. package/dist/contracts/sessions.contract.d.ts +59 -0
  32. package/dist/contracts/sessions.contract.d.ts.map +1 -1
  33. package/dist/contracts/settings.contract.d.ts +12 -8
  34. package/dist/contracts/settings.contract.d.ts.map +1 -1
  35. package/dist/contracts/settings.contract.js +2 -2
  36. package/dist/contracts/settings.contract.js.map +1 -1
  37. package/dist/contracts/system.contract.d.ts +141 -19
  38. package/dist/contracts/system.contract.d.ts.map +1 -1
  39. package/dist/contracts/translator.contract.d.ts +72 -0
  40. package/dist/contracts/translator.contract.d.ts.map +1 -1
  41. package/dist/contracts/workspace.contract.d.ts +85 -14
  42. package/dist/contracts/workspace.contract.d.ts.map +1 -1
  43. package/dist/documents/index.d.ts +1 -0
  44. package/dist/documents/index.d.ts.map +1 -1
  45. package/dist/documents/index.js +1 -0
  46. package/dist/documents/index.js.map +1 -1
  47. package/dist/documents/read.d.ts +24 -0
  48. package/dist/documents/read.d.ts.map +1 -0
  49. package/dist/documents/read.js +81 -0
  50. package/dist/documents/read.js.map +1 -0
  51. package/dist/events/agent-events.d.ts +235 -0
  52. package/dist/events/agent-events.d.ts.map +1 -1
  53. package/dist/events/agent-events.js +3 -0
  54. package/dist/events/agent-events.js.map +1 -1
  55. package/dist/events/child-run.d.ts +9 -0
  56. package/dist/events/child-run.d.ts.map +1 -0
  57. package/dist/events/child-run.js +41 -0
  58. package/dist/events/child-run.js.map +1 -0
  59. package/dist/events/errands.d.ts +5 -0
  60. package/dist/events/errands.d.ts.map +1 -0
  61. package/dist/events/errands.js +19 -0
  62. package/dist/events/errands.js.map +1 -0
  63. package/dist/events/requests.d.ts +152 -0
  64. package/dist/events/requests.d.ts.map +1 -1
  65. package/dist/events/requests.js +26 -1
  66. package/dist/events/requests.js.map +1 -1
  67. package/dist/events/system-events.d.ts +8 -12
  68. package/dist/events/system-events.d.ts.map +1 -1
  69. package/dist/events/transcript.d.ts +387 -0
  70. package/dist/events/transcript.d.ts.map +1 -1
  71. package/dist/events/transcript.js +3 -0
  72. package/dist/events/transcript.js.map +1 -1
  73. package/dist/front/browser-wire.d.ts +6 -0
  74. package/dist/front/browser-wire.d.ts.map +1 -0
  75. package/dist/front/browser-wire.js +4 -0
  76. package/dist/front/browser-wire.js.map +1 -0
  77. package/dist/front/front-wire.d.ts +6 -0
  78. package/dist/front/front-wire.d.ts.map +1 -0
  79. package/dist/front/front-wire.js +5 -0
  80. package/dist/front/front-wire.js.map +1 -0
  81. package/dist/front/generated/browser-wire.d.ts +19 -0
  82. package/dist/front/generated/browser-wire.d.ts.map +1 -0
  83. package/dist/front/generated/browser-wire.js +2 -0
  84. package/dist/front/generated/browser-wire.js.map +1 -0
  85. package/dist/front/generated/wire.d.ts +36 -30
  86. package/dist/front/generated/wire.d.ts.map +1 -1
  87. package/dist/ids/conversation-ids.d.ts +1 -0
  88. package/dist/ids/conversation-ids.d.ts.map +1 -1
  89. package/dist/ids/conversation-ids.js +2 -2
  90. package/dist/ids/conversation-ids.js.map +1 -1
  91. package/dist/ids/session-names.d.ts +3 -0
  92. package/dist/ids/session-names.d.ts.map +1 -1
  93. package/dist/ids/session-names.js +3 -0
  94. package/dist/ids/session-names.js.map +1 -1
  95. package/dist/index.d.ts +1038 -168
  96. package/dist/index.d.ts.map +1 -1
  97. package/dist/index.js +8 -0
  98. package/dist/index.js.map +1 -1
  99. package/dist/models/agent-catalog.d.ts.map +1 -1
  100. package/dist/models/agent-catalog.js +4 -6
  101. package/dist/models/agent-catalog.js.map +1 -1
  102. package/dist/models/agent-runtimes.d.ts +2 -1
  103. package/dist/models/agent-runtimes.d.ts.map +1 -1
  104. package/dist/models/agent-runtimes.js +7 -1
  105. package/dist/models/agent-runtimes.js.map +1 -1
  106. package/dist/models/plan-pools.d.ts +22 -1
  107. package/dist/models/plan-pools.d.ts.map +1 -1
  108. package/dist/models/plan-pools.js +86 -0
  109. package/dist/models/plan-pools.js.map +1 -1
  110. package/dist/policy/request-status.d.ts +1 -1
  111. package/dist/policy/request-status.d.ts.map +1 -1
  112. package/dist/policy/request-status.js +4 -11
  113. package/dist/policy/request-status.js.map +1 -1
  114. package/dist/policy/reserved-servers.d.ts.map +1 -1
  115. package/dist/policy/reserved-servers.js +2 -1
  116. package/dist/policy/reserved-servers.js.map +1 -1
  117. package/dist/policy/turned-away.d.ts.map +1 -1
  118. package/dist/policy/turned-away.js +1 -0
  119. package/dist/policy/turned-away.js.map +1 -1
  120. package/dist/protocol/edge-verdict.d.ts +2 -1
  121. package/dist/protocol/edge-verdict.d.ts.map +1 -1
  122. package/dist/protocol/edge-verdict.js +1 -1
  123. package/dist/protocol/edge-verdict.js.map +1 -1
  124. package/dist/protocol/ingress-contract.d.ts +1 -1
  125. package/dist/protocol/ingress-contract.d.ts.map +1 -1
  126. package/dist/protocol/ingress-contract.js +1 -1
  127. package/dist/protocol/ingress-contract.js.map +1 -1
  128. package/dist/protocol/raw-routes.d.ts +18 -40
  129. package/dist/protocol/raw-routes.d.ts.map +1 -1
  130. package/dist/protocol/raw-routes.js +5 -16
  131. package/dist/protocol/raw-routes.js.map +1 -1
  132. package/dist/protocol/route-meta.d.ts +20 -0
  133. package/dist/protocol/route-meta.d.ts.map +1 -1
  134. package/dist/protocol/route-meta.js +16 -0
  135. package/dist/protocol/route-meta.js.map +1 -1
  136. package/dist/protocol/tunnel-bulk.d.ts +2 -0
  137. package/dist/protocol/tunnel-bulk.d.ts.map +1 -0
  138. package/dist/protocol/tunnel-bulk.js +3 -0
  139. package/dist/protocol/tunnel-bulk.js.map +1 -0
  140. package/dist/protocol/x402.d.ts +17 -0
  141. package/dist/protocol/x402.d.ts.map +1 -0
  142. package/dist/protocol/x402.js +37 -0
  143. package/dist/protocol/x402.js.map +1 -0
  144. package/dist/schemas/agent.d.ts +25 -0
  145. package/dist/schemas/agent.d.ts.map +1 -1
  146. package/dist/schemas/agent.js +14 -2
  147. package/dist/schemas/agent.js.map +1 -1
  148. package/dist/schemas/agents.d.ts +17 -18
  149. package/dist/schemas/agents.d.ts.map +1 -1
  150. package/dist/schemas/agents.js +17 -4
  151. package/dist/schemas/agents.js.map +1 -1
  152. package/dist/schemas/automations.d.ts +4 -6
  153. package/dist/schemas/automations.d.ts.map +1 -1
  154. package/dist/schemas/automations.js.map +1 -1
  155. package/dist/schemas/devices.d.ts +134 -7
  156. package/dist/schemas/devices.d.ts.map +1 -1
  157. package/dist/schemas/devices.js +43 -18
  158. package/dist/schemas/devices.js.map +1 -1
  159. package/dist/schemas/extension-updates.d.ts +22 -0
  160. package/dist/schemas/extension-updates.d.ts.map +1 -1
  161. package/dist/schemas/extension-updates.js +4 -0
  162. package/dist/schemas/extension-updates.js.map +1 -1
  163. package/dist/schemas/git/git.d.ts +3 -0
  164. package/dist/schemas/git/git.d.ts.map +1 -1
  165. package/dist/schemas/hosts.d.ts +35 -5
  166. package/dist/schemas/hosts.d.ts.map +1 -1
  167. package/dist/schemas/hosts.js +21 -7
  168. package/dist/schemas/hosts.js.map +1 -1
  169. package/dist/schemas/keep-warm.d.ts +2 -12
  170. package/dist/schemas/keep-warm.d.ts.map +1 -1
  171. package/dist/schemas/keep-warm.js +8 -10
  172. package/dist/schemas/keep-warm.js.map +1 -1
  173. package/dist/schemas/metrics.d.ts +24 -0
  174. package/dist/schemas/metrics.d.ts.map +1 -1
  175. package/dist/schemas/metrics.js +22 -3
  176. package/dist/schemas/metrics.js.map +1 -1
  177. package/dist/schemas/personas.d.ts +3 -0
  178. package/dist/schemas/personas.d.ts.map +1 -1
  179. package/dist/schemas/personas.js +9 -0
  180. package/dist/schemas/personas.js.map +1 -1
  181. package/dist/schemas/providers/plan-limits.d.ts +140 -0
  182. package/dist/schemas/providers/plan-limits.d.ts.map +1 -1
  183. package/dist/schemas/providers/plan-limits.js +47 -1
  184. package/dist/schemas/providers/plan-limits.js.map +1 -1
  185. package/dist/schemas/providers/provider-oauth.d.ts +57 -0
  186. package/dist/schemas/providers/provider-oauth.d.ts.map +1 -1
  187. package/dist/schemas/providers/provider-oauth.js +6 -1
  188. package/dist/schemas/providers/provider-oauth.js.map +1 -1
  189. package/dist/schemas/settings-history.d.ts +28 -1
  190. package/dist/schemas/settings-history.d.ts.map +1 -1
  191. package/dist/schemas/settings-history.js +35 -1
  192. package/dist/schemas/settings-history.js.map +1 -1
  193. package/dist/schemas/settings.d.ts +184 -4
  194. package/dist/schemas/settings.d.ts.map +1 -1
  195. package/dist/schemas/settings.js +31 -23
  196. package/dist/schemas/settings.js.map +1 -1
  197. package/dist/schemas/speaker.d.ts +36 -0
  198. package/dist/schemas/speaker.d.ts.map +1 -0
  199. package/dist/schemas/speaker.js +62 -0
  200. package/dist/schemas/speaker.js.map +1 -0
  201. package/dist/schemas/state-plan.d.ts +46 -0
  202. package/dist/schemas/state-plan.d.ts.map +1 -0
  203. package/dist/schemas/state-plan.js +31 -0
  204. package/dist/schemas/state-plan.js.map +1 -0
  205. package/dist/schemas/system.d.ts +48 -8
  206. package/dist/schemas/system.d.ts.map +1 -1
  207. package/dist/schemas/system.js +10 -14
  208. package/dist/schemas/system.js.map +1 -1
  209. package/dist/schemas/workspace/mainline.d.ts +206 -64
  210. package/dist/schemas/workspace/mainline.d.ts.map +1 -1
  211. package/dist/schemas/workspace/mainline.js +73 -25
  212. package/dist/schemas/workspace/mainline.js.map +1 -1
  213. package/dist/state/contract-lock.d.ts +1 -0
  214. package/dist/state/contract-lock.d.ts.map +1 -1
  215. package/dist/state/contract-lock.js +47 -1
  216. package/dist/state/contract-lock.js.map +1 -1
  217. package/dist/state/definition.d.ts +24 -16
  218. package/dist/state/definition.d.ts.map +1 -1
  219. package/dist/state/fix-stance.d.ts +1 -1
  220. package/dist/state/fix-stance.d.ts.map +1 -1
  221. package/dist/state/fix-stance.js +2 -1
  222. package/dist/state/fix-stance.js.map +1 -1
  223. package/dist/state/history-state.d.ts.map +1 -1
  224. package/dist/state/history-state.js +2 -0
  225. package/dist/state/history-state.js.map +1 -1
  226. package/dist/state/landed-commit.d.ts +1 -0
  227. package/dist/state/landed-commit.d.ts.map +1 -1
  228. package/dist/state/landed-commit.js +2 -0
  229. package/dist/state/landed-commit.js.map +1 -1
  230. package/dist/state/red-streak.d.ts +7 -0
  231. package/dist/state/red-streak.d.ts.map +1 -0
  232. package/dist/state/red-streak.js +11 -0
  233. package/dist/state/red-streak.js.map +1 -0
  234. package/dist/state/workspace-state.d.ts +1 -0
  235. package/dist/state/workspace-state.d.ts.map +1 -1
  236. package/dist/state/workspace-state.js +6 -2
  237. package/dist/state/workspace-state.js.map +1 -1
  238. package/dist/text/shell-regions.d.ts +1 -0
  239. package/dist/text/shell-regions.d.ts.map +1 -1
  240. package/dist/text/shell-regions.js +1 -1
  241. package/dist/text/shell-regions.js.map +1 -1
  242. package/dist/text/transcript-fold.d.ts.map +1 -1
  243. package/dist/text/transcript-fold.js +14 -7
  244. package/dist/text/transcript-fold.js.map +1 -1
  245. package/package.json +28 -29
  246. package/src/chores/index.ts +0 -1
  247. package/src/contracts/agent.contract.ts +14 -0
  248. package/src/contracts/capabilities.contract.ts +2 -2
  249. package/src/contracts/device.contract.ts +5 -3
  250. package/src/contracts/secrets.contract.ts +2 -0
  251. package/src/contracts/settings.contract.ts +2 -1
  252. package/src/documents/conversions.ts +3 -3
  253. package/src/documents/index.ts +3 -1
  254. package/src/documents/read.ts +114 -0
  255. package/src/events/agent-events.ts +5 -0
  256. package/src/events/child-run.test.ts +81 -0
  257. package/src/events/child-run.ts +73 -0
  258. package/src/events/errands.test.ts +22 -0
  259. package/src/events/errands.ts +27 -0
  260. package/src/events/requests.ts +40 -1
  261. package/src/events/transcript.ts +8 -0
  262. package/src/front/browser-wire.ts +20 -0
  263. package/src/front/front-wire.ts +15 -0
  264. package/src/front/generated/browser-wire.json +138 -0
  265. package/src/front/generated/browser-wire.ts +16 -0
  266. package/src/front/generated/front-wire.json +793 -0
  267. package/src/front/generated/tunnel.json +38 -0
  268. package/src/front/generated/wire.ts +21 -24
  269. package/src/front/wire-manifests.test.ts +61 -0
  270. package/src/ids/conversation-ids.ts +6 -5
  271. package/src/ids/session-names.ts +7 -0
  272. package/src/index.ts +8 -1
  273. package/src/models/agent-catalog.test.ts +6 -4
  274. package/src/models/agent-catalog.ts +4 -6
  275. package/src/models/agent-runtimes.ts +22 -7
  276. package/src/models/capability-ledger.test.ts +2 -0
  277. package/src/models/plan-pools.test.ts +121 -2
  278. package/src/models/plan-pools.ts +152 -2
  279. package/src/policy/request-status.ts +4 -12
  280. package/src/policy/reserved-servers.test.ts +6 -0
  281. package/src/policy/reserved-servers.ts +13 -10
  282. package/src/policy/turned-away.ts +3 -0
  283. package/src/protocol/edge-verdict.ts +13 -11
  284. package/src/protocol/ingress-contract.fixture.json +13 -0
  285. package/src/protocol/ingress-contract.ts +9 -5
  286. package/src/protocol/raw-routes.ts +10 -21
  287. package/src/protocol/route-meta.ts +36 -1
  288. package/src/protocol/tunnel-bulk.test.ts +37 -0
  289. package/src/protocol/tunnel-bulk.ts +7 -0
  290. package/src/protocol/x402.test.ts +29 -0
  291. package/src/protocol/x402.ts +61 -0
  292. package/src/schemas/agent.ts +28 -3
  293. package/src/schemas/agents.ts +33 -7
  294. package/src/schemas/automations.ts +4 -2
  295. package/src/schemas/devices.ts +107 -39
  296. package/src/schemas/extension-updates.ts +6 -0
  297. package/src/schemas/hosts.ts +68 -19
  298. package/src/schemas/ic-shape-args.test.ts +64 -0
  299. package/src/schemas/keep-warm.test.ts +6 -13
  300. package/src/schemas/keep-warm.ts +15 -20
  301. package/src/schemas/metrics.ts +32 -3
  302. package/src/schemas/personas.ts +15 -0
  303. package/src/schemas/providers/plan-limits.ts +71 -1
  304. package/src/schemas/providers/provider-oauth.ts +10 -1
  305. package/src/schemas/settings-history.ts +50 -3
  306. package/src/schemas/settings.test.ts +54 -1
  307. package/src/schemas/settings.ts +49 -31
  308. package/src/schemas/speaker.ts +89 -0
  309. package/src/schemas/state-plan.test.ts +69 -0
  310. package/src/schemas/state-plan.ts +47 -0
  311. package/src/schemas/system.ts +20 -16
  312. package/src/schemas/workspace/mainline.test.ts +28 -0
  313. package/src/schemas/workspace/mainline.ts +111 -44
  314. package/src/state/contract-lock.test.ts +65 -4
  315. package/src/state/contract-lock.ts +70 -2
  316. package/src/state/fix-stance.test.ts +8 -0
  317. package/src/state/fix-stance.ts +3 -3
  318. package/src/state/history-state.ts +5 -1
  319. package/src/state/landed-commit.test.ts +12 -1
  320. package/src/state/landed-commit.ts +5 -0
  321. package/src/state/red-streak.test.ts +28 -0
  322. package/src/state/red-streak.ts +28 -0
  323. package/src/state/workspace-state.test.ts +7 -1
  324. package/src/state/workspace-state.ts +10 -2
  325. package/src/text/shell-regions.test.ts +38 -0
  326. package/src/text/shell-regions.ts +3 -3
  327. package/src/text/transcript-fold.test.ts +13 -0
  328. package/src/text/transcript-fold.ts +17 -8
  329. package/dist/chores/fix-deps.d.ts +0 -10
  330. package/dist/chores/fix-deps.d.ts.map +0 -1
  331. package/dist/chores/fix-deps.js +0 -19
  332. package/dist/chores/fix-deps.js.map +0 -1
  333. package/dist/front/terminal-frames.d.ts +0 -17
  334. package/dist/front/terminal-frames.d.ts.map +0 -1
  335. package/dist/front/terminal-frames.js +0 -79
  336. package/dist/front/terminal-frames.js.map +0 -1
  337. package/dist/protocol/tunnel-lanes.d.ts +0 -10
  338. package/dist/protocol/tunnel-lanes.d.ts.map +0 -1
  339. package/dist/protocol/tunnel-lanes.js +0 -16
  340. package/dist/protocol/tunnel-lanes.js.map +0 -1
  341. package/dist/protocol/upgrade-relay.d.ts +0 -4
  342. package/dist/protocol/upgrade-relay.d.ts.map +0 -1
  343. package/dist/protocol/upgrade-relay.js +0 -25
  344. package/dist/protocol/upgrade-relay.js.map +0 -1
  345. package/src/chores/fix-deps.ts +0 -23
  346. package/src/front/terminal-frames.fixture.json +0 -55
  347. package/src/front/terminal-frames.test.ts +0 -63
  348. package/src/front/terminal-frames.ts +0 -102
  349. package/src/protocol/tunnel-lanes.json +0 -136
  350. package/src/protocol/tunnel-lanes.test.ts +0 -30
  351. package/src/protocol/tunnel-lanes.ts +0 -32
  352. package/src/protocol/upgrade-relay.ts +0 -28
@@ -5,7 +5,18 @@ export declare const MainlineLandSchema: z.ZodObject<{
5
5
  at: z.ZodNumber;
6
6
  }, z.core.$strip>;
7
7
  export type MainlineLand = z.infer<typeof MainlineLandSchema>;
8
+ export declare const MainlineLandRefSchema: z.ZodObject<{
9
+ conversationId: z.ZodString;
10
+ title: z.ZodOptional<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ export type MainlineLandRef = z.infer<typeof MainlineLandRefSchema>;
13
+ export declare const MainlineFailureSchema: z.ZodObject<{
14
+ name: z.ZodString;
15
+ path: z.ZodOptional<z.ZodString>;
16
+ }, z.core.$strip>;
17
+ export type MainlineFailure = z.infer<typeof MainlineFailureSchema>;
8
18
  export declare const MainlineRoutingKindSchema: z.ZodEnum<{
19
+ dismissed: "dismissed";
9
20
  "fix-up": "fix-up";
10
21
  held: "held";
11
22
  original: "original";
@@ -17,6 +28,7 @@ export declare const MainlineRoutingKindSchema: z.ZodEnum<{
17
28
  export type MainlineRoutingKind = z.infer<typeof MainlineRoutingKindSchema>;
18
29
  export declare const MainlineRoutingSchema: z.ZodObject<{
19
30
  kind: z.ZodEnum<{
31
+ dismissed: "dismissed";
20
32
  "fix-up": "fix-up";
21
33
  held: "held";
22
34
  original: "original";
@@ -28,6 +40,7 @@ export declare const MainlineRoutingSchema: z.ZodObject<{
28
40
  conversationId: z.ZodOptional<z.ZodString>;
29
41
  at: z.ZodNumber;
30
42
  detail: z.ZodOptional<z.ZodString>;
43
+ findings: z.ZodOptional<z.ZodArray<z.ZodString>>;
31
44
  }, z.core.$strip>;
32
45
  export type MainlineRouting = z.infer<typeof MainlineRoutingSchema>;
33
46
  export declare const MAINLINE_FAILURES_KEPT = 30;
@@ -49,8 +62,14 @@ export declare const MainlineRunSchema: z.ZodObject<{
49
62
  failureCount: z.ZodNumber;
50
63
  attempt: z.ZodNumber;
51
64
  suspects: z.ZodOptional<z.ZodArray<z.ZodString>>;
65
+ named: z.ZodOptional<z.ZodBoolean>;
66
+ units: z.ZodOptional<z.ZodArray<z.ZodObject<{
67
+ name: z.ZodString;
68
+ path: z.ZodOptional<z.ZodString>;
69
+ }, z.core.$strip>>>;
52
70
  routing: z.ZodOptional<z.ZodObject<{
53
71
  kind: z.ZodEnum<{
72
+ dismissed: "dismissed";
54
73
  "fix-up": "fix-up";
55
74
  held: "held";
56
75
  original: "original";
@@ -62,6 +81,7 @@ export declare const MainlineRunSchema: z.ZodObject<{
62
81
  conversationId: z.ZodOptional<z.ZodString>;
63
82
  at: z.ZodNumber;
64
83
  detail: z.ZodOptional<z.ZodString>;
84
+ findings: z.ZodOptional<z.ZodArray<z.ZodString>>;
65
85
  }, z.core.$strip>>;
66
86
  }, z.core.$strip>;
67
87
  export type MainlineRun = z.infer<typeof MainlineRunSchema>;
@@ -77,6 +97,7 @@ export declare const MainlineProjectSchema: z.ZodObject<{
77
97
  }, z.core.$strip>>;
78
98
  on: z.ZodOptional<z.ZodString>;
79
99
  }, z.core.$strip>>;
100
+ session: z.ZodOptional<z.ZodString>;
80
101
  queued: z.ZodArray<z.ZodObject<{
81
102
  conversationId: z.ZodString;
82
103
  title: z.ZodOptional<z.ZodString>;
@@ -100,8 +121,14 @@ export declare const MainlineProjectSchema: z.ZodObject<{
100
121
  failureCount: z.ZodNumber;
101
122
  attempt: z.ZodNumber;
102
123
  suspects: z.ZodOptional<z.ZodArray<z.ZodString>>;
124
+ named: z.ZodOptional<z.ZodBoolean>;
125
+ units: z.ZodOptional<z.ZodArray<z.ZodObject<{
126
+ name: z.ZodString;
127
+ path: z.ZodOptional<z.ZodString>;
128
+ }, z.core.$strip>>>;
103
129
  routing: z.ZodOptional<z.ZodObject<{
104
130
  kind: z.ZodEnum<{
131
+ dismissed: "dismissed";
105
132
  "fix-up": "fix-up";
106
133
  held: "held";
107
134
  original: "original";
@@ -113,53 +140,108 @@ export declare const MainlineProjectSchema: z.ZodObject<{
113
140
  conversationId: z.ZodOptional<z.ZodString>;
114
141
  at: z.ZodNumber;
115
142
  detail: z.ZodOptional<z.ZodString>;
143
+ findings: z.ZodOptional<z.ZodArray<z.ZodString>>;
116
144
  }, z.core.$strip>>;
117
145
  }, z.core.$strip>>;
118
146
  redSince: z.ZodOptional<z.ZodNumber>;
147
+ red: z.ZodOptional<z.ZodObject<{
148
+ since: z.ZodNumber;
149
+ cause: z.ZodArray<z.ZodObject<{
150
+ conversationId: z.ZodString;
151
+ title: z.ZodOptional<z.ZodString>;
152
+ }, z.core.$strip>>;
153
+ named: z.ZodBoolean;
154
+ fixer: z.ZodOptional<z.ZodObject<{
155
+ kind: z.ZodEnum<{
156
+ dismissed: "dismissed";
157
+ "fix-up": "fix-up";
158
+ held: "held";
159
+ original: "original";
160
+ reported: "reported";
161
+ resolved: "resolved";
162
+ spent: "spent";
163
+ waiting: "waiting";
164
+ }>;
165
+ conversationId: z.ZodOptional<z.ZodString>;
166
+ at: z.ZodNumber;
167
+ detail: z.ZodOptional<z.ZodString>;
168
+ findings: z.ZodOptional<z.ZodArray<z.ZodString>>;
169
+ }, z.core.$strip>>;
170
+ }, z.core.$strip>>;
119
171
  }, z.core.$strip>;
120
172
  export type MainlineProject = z.infer<typeof MainlineProjectSchema>;
121
- export declare const PushFindingKindSchema: z.ZodEnum<{
122
- check: "check";
123
- lint: "lint";
124
- lockstep: "lockstep";
125
- ratchet: "ratchet";
126
- rustfmt: "rustfmt";
127
- }>;
128
- export type PushFindingKind = z.infer<typeof PushFindingKindSchema>;
129
- export declare const PushFindingStateSchema: z.ZodEnum<{
130
- dismissed: "dismissed";
131
- open: "open";
132
- resolved: "resolved";
133
- }>;
134
- export type PushFindingState = z.infer<typeof PushFindingStateSchema>;
135
- export declare const PushFindingSchema: z.ZodObject<{
173
+ export declare const FindingSchema: z.ZodObject<{
136
174
  id: z.ZodString;
137
- kind: z.ZodEnum<{
138
- check: "check";
139
- lint: "lint";
140
- lockstep: "lockstep";
141
- ratchet: "ratchet";
142
- rustfmt: "rustfmt";
143
- }>;
144
- check: z.ZodOptional<z.ZodString>;
175
+ source: z.ZodString;
176
+ text: z.ZodString;
177
+ path: z.ZodOptional<z.ZodString>;
178
+ command: z.ZodOptional<z.ZodString>;
179
+ recheckable: z.ZodBoolean;
145
180
  gate: z.ZodOptional<z.ZodEnum<{
146
181
  code: "code";
147
182
  tidy: "tidy";
148
183
  }>>;
149
- text: z.ZodString;
150
- command: z.ZodOptional<z.ZodString>;
151
184
  commit: z.ZodOptional<z.ZodObject<{
152
185
  sha: z.ZodString;
153
186
  subject: z.ZodString;
154
187
  }, z.core.$strip>>;
155
- state: z.ZodEnum<{
156
- dismissed: "dismissed";
157
- open: "open";
158
- resolved: "resolved";
188
+ }, z.core.$strip>;
189
+ export type Finding = z.infer<typeof FindingSchema>;
190
+ export declare const RedSourceSchema: z.ZodEnum<{
191
+ ci: "ci";
192
+ land: "land";
193
+ push: "push";
194
+ }>;
195
+ export type RedSource = z.infer<typeof RedSourceSchema>;
196
+ export declare const RED_POLICY: {
197
+ readonly land: "route";
198
+ readonly push: "owner";
199
+ readonly ci: "fix-agent";
200
+ };
201
+ export declare const RedSchema: z.ZodObject<{
202
+ source: z.ZodEnum<{
203
+ ci: "ci";
204
+ land: "land";
205
+ push: "push";
159
206
  }>;
160
- settledAt: z.ZodOptional<z.ZodNumber>;
207
+ scope: z.ZodString;
208
+ since: z.ZodNumber;
209
+ findings: z.ZodDefault<z.ZodArray<z.ZodObject<{
210
+ id: z.ZodString;
211
+ source: z.ZodString;
212
+ text: z.ZodString;
213
+ path: z.ZodOptional<z.ZodString>;
214
+ command: z.ZodOptional<z.ZodString>;
215
+ recheckable: z.ZodBoolean;
216
+ gate: z.ZodOptional<z.ZodEnum<{
217
+ code: "code";
218
+ tidy: "tidy";
219
+ }>>;
220
+ commit: z.ZodOptional<z.ZodObject<{
221
+ sha: z.ZodString;
222
+ subject: z.ZodString;
223
+ }, z.core.$strip>>;
224
+ }, z.core.$strip>>>;
225
+ suspects: z.ZodDefault<z.ZodArray<z.ZodString>>;
226
+ named: z.ZodDefault<z.ZodBoolean>;
227
+ decisions: z.ZodDefault<z.ZodArray<z.ZodObject<{
228
+ kind: z.ZodEnum<{
229
+ dismissed: "dismissed";
230
+ "fix-up": "fix-up";
231
+ held: "held";
232
+ original: "original";
233
+ reported: "reported";
234
+ resolved: "resolved";
235
+ spent: "spent";
236
+ waiting: "waiting";
237
+ }>;
238
+ conversationId: z.ZodOptional<z.ZodString>;
239
+ at: z.ZodNumber;
240
+ detail: z.ZodOptional<z.ZodString>;
241
+ findings: z.ZodOptional<z.ZodArray<z.ZodString>>;
242
+ }, z.core.$strip>>>;
161
243
  }, z.core.$strip>;
162
- export type PushFinding = z.infer<typeof PushFindingSchema>;
244
+ export type Red = z.infer<typeof RedSchema>;
163
245
  export declare const MainlinePushSchema: z.ZodObject<{
164
246
  project: z.ZodString;
165
247
  id: z.ZodString;
@@ -171,32 +253,21 @@ export declare const MainlinePushSchema: z.ZodObject<{
171
253
  commits: z.ZodNumber;
172
254
  findings: z.ZodArray<z.ZodObject<{
173
255
  id: z.ZodString;
174
- kind: z.ZodEnum<{
175
- check: "check";
176
- lint: "lint";
177
- lockstep: "lockstep";
178
- ratchet: "ratchet";
179
- rustfmt: "rustfmt";
180
- }>;
181
- check: z.ZodOptional<z.ZodString>;
256
+ source: z.ZodString;
257
+ text: z.ZodString;
258
+ path: z.ZodOptional<z.ZodString>;
259
+ command: z.ZodOptional<z.ZodString>;
260
+ recheckable: z.ZodBoolean;
182
261
  gate: z.ZodOptional<z.ZodEnum<{
183
262
  code: "code";
184
263
  tidy: "tidy";
185
264
  }>>;
186
- text: z.ZodString;
187
- command: z.ZodOptional<z.ZodString>;
188
265
  commit: z.ZodOptional<z.ZodObject<{
189
266
  sha: z.ZodString;
190
267
  subject: z.ZodString;
191
268
  }, z.core.$strip>>;
192
- state: z.ZodEnum<{
193
- dismissed: "dismissed";
194
- open: "open";
195
- resolved: "resolved";
196
- }>;
197
- settledAt: z.ZodOptional<z.ZodNumber>;
198
269
  }, z.core.$strip>>;
199
- measuredAt: z.ZodOptional<z.ZodNumber>;
270
+ refused: z.ZodOptional<z.ZodBoolean>;
200
271
  }, z.core.$strip>;
201
272
  export type MainlinePush = z.infer<typeof MainlinePushSchema>;
202
273
  export declare const MainlineStatusSchema: z.ZodObject<{
@@ -212,6 +283,7 @@ export declare const MainlineStatusSchema: z.ZodObject<{
212
283
  }, z.core.$strip>>;
213
284
  on: z.ZodOptional<z.ZodString>;
214
285
  }, z.core.$strip>>;
286
+ session: z.ZodOptional<z.ZodString>;
215
287
  queued: z.ZodArray<z.ZodObject<{
216
288
  conversationId: z.ZodString;
217
289
  title: z.ZodOptional<z.ZodString>;
@@ -235,8 +307,14 @@ export declare const MainlineStatusSchema: z.ZodObject<{
235
307
  failureCount: z.ZodNumber;
236
308
  attempt: z.ZodNumber;
237
309
  suspects: z.ZodOptional<z.ZodArray<z.ZodString>>;
310
+ named: z.ZodOptional<z.ZodBoolean>;
311
+ units: z.ZodOptional<z.ZodArray<z.ZodObject<{
312
+ name: z.ZodString;
313
+ path: z.ZodOptional<z.ZodString>;
314
+ }, z.core.$strip>>>;
238
315
  routing: z.ZodOptional<z.ZodObject<{
239
316
  kind: z.ZodEnum<{
317
+ dismissed: "dismissed";
240
318
  "fix-up": "fix-up";
241
319
  held: "held";
242
320
  original: "original";
@@ -248,9 +326,34 @@ export declare const MainlineStatusSchema: z.ZodObject<{
248
326
  conversationId: z.ZodOptional<z.ZodString>;
249
327
  at: z.ZodNumber;
250
328
  detail: z.ZodOptional<z.ZodString>;
329
+ findings: z.ZodOptional<z.ZodArray<z.ZodString>>;
251
330
  }, z.core.$strip>>;
252
331
  }, z.core.$strip>>;
253
332
  redSince: z.ZodOptional<z.ZodNumber>;
333
+ red: z.ZodOptional<z.ZodObject<{
334
+ since: z.ZodNumber;
335
+ cause: z.ZodArray<z.ZodObject<{
336
+ conversationId: z.ZodString;
337
+ title: z.ZodOptional<z.ZodString>;
338
+ }, z.core.$strip>>;
339
+ named: z.ZodBoolean;
340
+ fixer: z.ZodOptional<z.ZodObject<{
341
+ kind: z.ZodEnum<{
342
+ dismissed: "dismissed";
343
+ "fix-up": "fix-up";
344
+ held: "held";
345
+ original: "original";
346
+ reported: "reported";
347
+ resolved: "resolved";
348
+ spent: "spent";
349
+ waiting: "waiting";
350
+ }>;
351
+ conversationId: z.ZodOptional<z.ZodString>;
352
+ at: z.ZodNumber;
353
+ detail: z.ZodOptional<z.ZodString>;
354
+ findings: z.ZodOptional<z.ZodArray<z.ZodString>>;
355
+ }, z.core.$strip>>;
356
+ }, z.core.$strip>>;
254
357
  }, z.core.$strip>>;
255
358
  recent: z.ZodArray<z.ZodObject<{
256
359
  project: z.ZodString;
@@ -270,8 +373,14 @@ export declare const MainlineStatusSchema: z.ZodObject<{
270
373
  failureCount: z.ZodNumber;
271
374
  attempt: z.ZodNumber;
272
375
  suspects: z.ZodOptional<z.ZodArray<z.ZodString>>;
376
+ named: z.ZodOptional<z.ZodBoolean>;
377
+ units: z.ZodOptional<z.ZodArray<z.ZodObject<{
378
+ name: z.ZodString;
379
+ path: z.ZodOptional<z.ZodString>;
380
+ }, z.core.$strip>>>;
273
381
  routing: z.ZodOptional<z.ZodObject<{
274
382
  kind: z.ZodEnum<{
383
+ dismissed: "dismissed";
275
384
  "fix-up": "fix-up";
276
385
  held: "held";
277
386
  original: "original";
@@ -283,9 +392,10 @@ export declare const MainlineStatusSchema: z.ZodObject<{
283
392
  conversationId: z.ZodOptional<z.ZodString>;
284
393
  at: z.ZodNumber;
285
394
  detail: z.ZodOptional<z.ZodString>;
395
+ findings: z.ZodOptional<z.ZodArray<z.ZodString>>;
286
396
  }, z.core.$strip>>;
287
397
  }, z.core.$strip>>;
288
- pushes: z.ZodOptional<z.ZodArray<z.ZodObject<{
398
+ pushed: z.ZodOptional<z.ZodArray<z.ZodObject<{
289
399
  project: z.ZodString;
290
400
  id: z.ZodString;
291
401
  at: z.ZodNumber;
@@ -296,32 +406,64 @@ export declare const MainlineStatusSchema: z.ZodObject<{
296
406
  commits: z.ZodNumber;
297
407
  findings: z.ZodArray<z.ZodObject<{
298
408
  id: z.ZodString;
299
- kind: z.ZodEnum<{
300
- check: "check";
301
- lint: "lint";
302
- lockstep: "lockstep";
303
- ratchet: "ratchet";
304
- rustfmt: "rustfmt";
305
- }>;
306
- check: z.ZodOptional<z.ZodString>;
409
+ source: z.ZodString;
410
+ text: z.ZodString;
411
+ path: z.ZodOptional<z.ZodString>;
412
+ command: z.ZodOptional<z.ZodString>;
413
+ recheckable: z.ZodBoolean;
307
414
  gate: z.ZodOptional<z.ZodEnum<{
308
415
  code: "code";
309
416
  tidy: "tidy";
310
417
  }>>;
418
+ commit: z.ZodOptional<z.ZodObject<{
419
+ sha: z.ZodString;
420
+ subject: z.ZodString;
421
+ }, z.core.$strip>>;
422
+ }, z.core.$strip>>;
423
+ refused: z.ZodOptional<z.ZodBoolean>;
424
+ }, z.core.$strip>>>;
425
+ reds: z.ZodOptional<z.ZodArray<z.ZodObject<{
426
+ source: z.ZodEnum<{
427
+ ci: "ci";
428
+ land: "land";
429
+ push: "push";
430
+ }>;
431
+ scope: z.ZodString;
432
+ since: z.ZodNumber;
433
+ findings: z.ZodDefault<z.ZodArray<z.ZodObject<{
434
+ id: z.ZodString;
435
+ source: z.ZodString;
311
436
  text: z.ZodString;
437
+ path: z.ZodOptional<z.ZodString>;
312
438
  command: z.ZodOptional<z.ZodString>;
439
+ recheckable: z.ZodBoolean;
440
+ gate: z.ZodOptional<z.ZodEnum<{
441
+ code: "code";
442
+ tidy: "tidy";
443
+ }>>;
313
444
  commit: z.ZodOptional<z.ZodObject<{
314
445
  sha: z.ZodString;
315
446
  subject: z.ZodString;
316
447
  }, z.core.$strip>>;
317
- state: z.ZodEnum<{
448
+ }, z.core.$strip>>>;
449
+ suspects: z.ZodDefault<z.ZodArray<z.ZodString>>;
450
+ named: z.ZodDefault<z.ZodBoolean>;
451
+ decisions: z.ZodDefault<z.ZodArray<z.ZodObject<{
452
+ kind: z.ZodEnum<{
318
453
  dismissed: "dismissed";
319
- open: "open";
454
+ "fix-up": "fix-up";
455
+ held: "held";
456
+ original: "original";
457
+ reported: "reported";
320
458
  resolved: "resolved";
459
+ spent: "spent";
460
+ waiting: "waiting";
321
461
  }>;
322
- settledAt: z.ZodOptional<z.ZodNumber>;
323
- }, z.core.$strip>>;
324
- measuredAt: z.ZodOptional<z.ZodNumber>;
462
+ conversationId: z.ZodOptional<z.ZodString>;
463
+ at: z.ZodNumber;
464
+ detail: z.ZodOptional<z.ZodString>;
465
+ findings: z.ZodOptional<z.ZodArray<z.ZodString>>;
466
+ }, z.core.$strip>>>;
325
467
  }, z.core.$strip>>>;
326
468
  }, z.core.$strip>;
327
469
  export type MainlineStatus = z.infer<typeof MainlineStatusSchema>;
@@ -366,6 +508,6 @@ export type MainlinePushFix = z.infer<typeof MainlinePushFixSchema>;
366
508
  export declare const MainlinePushFixResultSchema: z.ZodObject<{
367
509
  conversationId: z.ZodString;
368
510
  }, z.core.$strip>;
369
- export declare const oldestOpenPush: (pushes: readonly MainlinePush[], project: string) => MainlinePush | undefined;
370
- export declare const pushFindingsFixBase: (pushes: readonly MainlinePush[], project: string) => string | undefined;
511
+ export declare const pushRedOf: (reds: readonly Red[] | undefined, project: string) => Red | undefined;
512
+ export declare const pushFixBase: (red: Pick<Red, "scope" | "since"> | undefined) => string | undefined;
371
513
  //# sourceMappingURL=mainline.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mainline.d.ts","sourceRoot":"","sources":["../../../src/schemas/workspace/mainline.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,kBAAkB;;;;iBAI7B,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAG9D,eAAO,MAAM,yBAAyB;;;;;;;;EAepC,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;iBAQhC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,O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 @@ export const MainlineLandSchema = z.object({
6
6
  title: z.string().optional().describe("Its title when it landed."),
7
7
  at: z.number().describe("When the land asked for the check, in milliseconds."),
8
8
  });
9
+ export const MainlineLandRefSchema = z.object({
10
+ conversationId: z.string().describe("The conversation whose work landed."),
11
+ title: z.string().optional().describe("Its title when it landed."),
12
+ });
13
+ export const MainlineFailureSchema = z.object({
14
+ name: z.string().describe("What failed: a test by its own name, anything else (a type error, a whole task) as the check printed it."),
15
+ path: z.string().optional().describe("The repository path it failed in, when it names one."),
16
+ });
9
17
  export const MainlineRoutingKindSchema = z.enum([
10
18
  "waiting",
11
19
  "held",
@@ -14,6 +22,7 @@ export const MainlineRoutingKindSchema = z.enum([
14
22
  "reported",
15
23
  "resolved",
16
24
  "spent",
25
+ "dismissed",
17
26
  ]);
18
27
  export const MainlineRoutingSchema = z.object({
19
28
  kind: MainlineRoutingKindSchema.describe("What became of the failures."),
@@ -23,6 +32,10 @@ export const MainlineRoutingSchema = z.object({
23
32
  .describe("The conversation working on them (the original or a fresh one), or the one still working that the repair waits for."),
24
33
  at: z.number().describe("When that was decided, in milliseconds."),
25
34
  detail: z.string().optional().describe("One sentence on why, in the sandbox's words."),
35
+ findings: z
36
+ .array(z.string())
37
+ .optional()
38
+ .describe("The findings it was about, by id, when it was about some of a red's findings rather than the whole red."),
26
39
  });
27
40
  export const MAINLINE_FAILURES_KEPT = 30;
28
41
  export const MainlineRunSchema = z.object({
@@ -39,6 +52,14 @@ export const MainlineRunSchema = z.object({
39
52
  .array(z.string())
40
53
  .optional()
41
54
  .describe("The conversations whose lands these failures were laid at, when any could be named."),
55
+ named: z
56
+ .boolean()
57
+ .optional()
58
+ .describe("Whether the failures were laid at the suspects by the paths they changed. False when nobody could be told apart (every land the run covered is a suspect) or nothing new failed in it (none is). Absent on green, and from a daemon that did not say."),
59
+ units: z
60
+ .array(MainlineFailureSchema)
61
+ .optional()
62
+ .describe("The same first failures, split into a name and the path they failed in. Absent from a daemon that does not split them."),
42
63
  routing: MainlineRoutingSchema.optional().describe("What became of a red run's failures. Absent on green, and until it is decided."),
43
64
  });
44
65
  export const MainlineProjectSchema = z.object({
@@ -52,32 +73,53 @@ export const MainlineProjectSchema = z.object({
52
73
  })
53
74
  .optional()
54
75
  .describe("The check running on it now, if any."),
76
+ session: z
77
+ .string()
78
+ .optional()
79
+ .describe("The terminal session its check runs in, running or last, to attach to for the whole log. Absent from a daemon that does not say."),
55
80
  queued: z.array(MainlineLandSchema).describe("Lands waiting for the next check, which will measure them together."),
56
81
  last: MainlineRunSchema.optional().describe("Its most recent settled check."),
57
82
  redSince: z.number().optional().describe("When its checks went red and stayed so, in milliseconds. Absent while green."),
83
+ red: z
84
+ .object({
85
+ since: z.number().describe("When its checks went red and stayed so, in milliseconds."),
86
+ cause: z
87
+ .array(MainlineLandRefSchema)
88
+ .describe("The work this red is laid at, oldest first: the lands its failures were laid at on the latest run of the streak that could name any. Empty when none could be."),
89
+ named: z.boolean().describe("Whether `cause` was narrowed by the paths the lands changed; false when it is every land the run covered."),
90
+ fixer: MainlineRoutingSchema.optional().describe("The latest decision about who has it. Absent until one is made."),
91
+ })
92
+ .optional()
93
+ .describe("The red streak it is in, as the sandbox laid it. Absent while green, and from a daemon that does not lay it."),
58
94
  });
59
- export const PushFindingKindSchema = z.enum(["check", "lint", "ratchet", "lockstep", "rustfmt"]);
60
- export const PushFindingStateSchema = z.enum([
61
- "open",
62
- "resolved",
63
- "dismissed",
64
- ]);
65
- export const PushFindingSchema = z.object({
66
- id: z.string().describe("Stable across pushes: the same problem found again is the same id."),
67
- kind: PushFindingKindSchema.describe("What measured it."),
68
- check: z.string().optional().describe("The check's own id, for a check's finding."),
95
+ export const FindingSchema = z.object({
96
+ id: z.string().describe("Stable across measurements: the same problem found again is the same id."),
97
+ source: z.string().describe("What measured it, in the repository's own words: a check's id, `lint`, a hook."),
98
+ text: z.string().describe("The finding as it was printed."),
99
+ path: z.string().optional().describe("The repository path it is about, when it names one."),
100
+ command: z.string().optional().describe("The command that shows it again."),
101
+ recheckable: z
102
+ .boolean()
103
+ .describe("Whether a later measurement can find it gone. False for one about commits already made, which ends only when dismissed."),
69
104
  gate: z
70
105
  .enum(["code", "tidy"])
71
106
  .optional()
72
- .describe("For a check's finding: `code` means the tree fails the check whoever caused it; `tidy` means the push added this line."),
73
- text: z.string().describe("The finding as the check printed it."),
74
- command: z.string().optional().describe("The command that shows it again."),
107
+ .describe("For a check's finding: `code` means the tree fails the check whoever caused it; `tidy` means the change measured added this line."),
75
108
  commit: z
76
109
  .object({ sha: z.string(), subject: z.string() })
77
110
  .optional()
78
- .describe("The newest pushed commit that touched the path the finding names, when it names one."),
79
- state: PushFindingStateSchema,
80
- settledAt: z.number().optional().describe("When it was resolved or dismissed, in milliseconds."),
111
+ .describe("The newest commit of the change measured that touched the path it names, when it names one."),
112
+ });
113
+ export const RedSourceSchema = z.enum(["land", "push", "ci"]);
114
+ export const RED_POLICY = { land: "route", push: "owner", ci: "fix-agent" };
115
+ export const RedSchema = z.object({
116
+ source: RedSourceSchema.describe("What went red."),
117
+ scope: z.string().describe("Where: a project's folder, or a repository and branch."),
118
+ since: z.number().describe("When the red streak began (state/red-streak.ts)."),
119
+ findings: z.array(FindingSchema).default([]).describe("What it owes, as the red's own measurement named it."),
120
+ suspects: z.array(z.string()).default([]).describe("The conversations it was laid at."),
121
+ named: z.boolean().default(false).describe("Whether the paths they changed narrowed it to them."),
122
+ decisions: z.array(MainlineRoutingSchema).default([]).describe("What was decided about it, oldest first."),
81
123
  });
82
124
  export const MainlinePushSchema = z.object({
83
125
  project: z.string().describe("Which project, by folder relative to the workspace. Empty is the workspace root."),
@@ -88,16 +130,25 @@ export const MainlinePushSchema = z.object({
88
130
  base: z.string().optional().describe("The commit the pushed range starts from; absent when the remote had nothing to compare with."),
89
131
  head: z.string().describe("The commit that was pushed."),
90
132
  commits: z.number().describe("How many commits the push carried."),
91
- findings: z.array(PushFindingSchema).describe("What it found that this push brought in, open or not. Empty for a clean push."),
92
- measuredAt: z.number().optional().describe("When its findings were last measured again, in milliseconds."),
133
+ findings: z
134
+ .array(FindingSchema)
135
+ .describe("What it found that this push brought in, less what an earlier push had already left open. Empty for a clean push."),
136
+ refused: z
137
+ .boolean()
138
+ .optional()
139
+ .describe("True when the repository's own pre-push hook refused it, so nothing reached the remote and its one finding is what the hook said."),
93
140
  });
94
141
  export const MainlineStatusSchema = z.object({
95
142
  projects: z.array(MainlineProjectSchema).describe("Every project a land has been checked in, or is waiting to be."),
96
143
  recent: z.array(MainlineRunSchema).describe("The latest settled checks across every project, newest first."),
97
- pushes: z
144
+ pushed: z
98
145
  .array(MainlinePushSchema)
99
146
  .optional()
100
- .describe("The latest push checks across every project, newest first, with what each left behind. Absent from a daemon that records none."),
147
+ .describe("The latest pushes the hook measured across every project, newest first, with what each brought in. Absent from a daemon that records none."),
148
+ reds: z
149
+ .array(RedSchema)
150
+ .optional()
151
+ .describe("Every red the main line holds, one record whatever went red: each red project's land check and what pushes left in each project, with what each owes and every decision about it. Absent from a daemon that keeps none."),
101
152
  });
102
153
  export const MainlinePushDismissSchema = z.object({
103
154
  project: z.string().describe("Which project, by folder relative to the workspace."),
@@ -126,9 +177,6 @@ export const MainlinePushFixSchema = z.object({
126
177
  export const MainlinePushFixResultSchema = z.object({
127
178
  conversationId: z.string().describe("The conversation holding the findings. Open it to watch."),
128
179
  });
129
- export const oldestOpenPush = (pushes, project) => pushes.findLast((push) => push.project === project && push.findings.some((finding) => finding.state === "open"));
130
- export const pushFindingsFixBase = (pushes, project) => {
131
- const oldest = oldestOpenPush(pushes, project);
132
- return oldest === undefined ? undefined : pushFixConversationId(project === "" ? "workspace" : project, `left:${oldest.head}`);
133
- };
180
+ export const pushRedOf = (reds, project) => reds?.find((red) => red.source === "push" && red.scope === project);
181
+ export const pushFixBase = (red) => red === undefined ? undefined : pushFixConversationId(red.scope === "" ? "workspace" : red.scope, `red:${red.since}`);
134
182
  //# sourceMappingURL=mainline.js.map
@@ -1 +1 @@
1
- {"version":3,"file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KxE,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,GAA6C,EAAsB,EAAE,CAC7F,GAAG,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,qBAAqB,CAAC,GAAG,CAAC,KAAK,KAAK,EAAE,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,EAAE,OAAO,GAAG,CAAC,KAAK,EAAE,CAAC,CAAC"}
@@ -1,3 +1,4 @@
1
+ export declare const accessChanges: (baseText: string, headText: string) => string[];
1
2
  export declare const currentLock: () => Record<string, unknown>;
2
3
  export declare const serializeLock: (lock: Record<string, unknown>) => string;
3
4
  //# sourceMappingURL=contract-lock.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"contract-lock.d.ts","sourceRoot":"","sources":["../../src/state/contract-lock.ts"],"names":[],"mappings":"AAuBA,eAAO,MAAM,WAAW,QAAO,MAAM,CAAC,MAAM,EAAE,OAAO,CAkBpD,CAAC;AAIF,eAAO,MAAM,aAAa,SAAU,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAG,MAGnC,CAAC"}
1
+ {"version":3,"file":"contract-lock.d.ts","sourceRoot":"","sources":["../../src/state/contract-lock.ts"],"names":[],"mappings":"AAgEA,eAAO,MAAM,aAAa,aAAc,MAAM,YAAY,MAAM,KAAG,MAAM,EAiBxE,CAAC;AAKF,eAAO,MAAM,WAAW,QAAO,MAAM,CAAC,MAAM,EAAE,OAAO,CAuBpD,CAAC;AAIF,eAAO,MAAM,aAAa,SAAU,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAG,MAGnC,CAAC"}