omp-fabric 0.85.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 (772) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +170 -0
  3. package/THIRD_PARTY_NOTICES.md +33 -0
  4. package/dist/activity/store.d.ts +32 -0
  5. package/dist/activity/store.d.ts.map +1 -0
  6. package/dist/activity/types.d.ts +104 -0
  7. package/dist/activity/types.d.ts.map +1 -0
  8. package/dist/actors/binding-store.d.ts +17 -0
  9. package/dist/actors/binding-store.d.ts.map +1 -0
  10. package/dist/actors/context.d.ts +13 -0
  11. package/dist/actors/context.d.ts.map +1 -0
  12. package/dist/actors/delivery-policy.d.ts +8 -0
  13. package/dist/actors/delivery-policy.d.ts.map +1 -0
  14. package/dist/actors/directory.d.ts +47 -0
  15. package/dist/actors/directory.d.ts.map +1 -0
  16. package/dist/actors/global-registry.d.ts +47 -0
  17. package/dist/actors/global-registry.d.ts.map +1 -0
  18. package/dist/actors/host-event-observer.d.ts +5 -0
  19. package/dist/actors/host-event-observer.d.ts.map +1 -0
  20. package/dist/actors/host-event-payload.d.ts +14 -0
  21. package/dist/actors/host-event-payload.d.ts.map +1 -0
  22. package/dist/actors/manager.d.ts +175 -0
  23. package/dist/actors/manager.d.ts.map +1 -0
  24. package/dist/actors/predicate.d.ts +7 -0
  25. package/dist/actors/predicate.d.ts.map +1 -0
  26. package/dist/actors/types.d.ts +211 -0
  27. package/dist/actors/types.d.ts.map +1 -0
  28. package/dist/agents/bash-worktree-add.d.ts +24 -0
  29. package/dist/agents/bash-worktree-add.d.ts.map +1 -0
  30. package/dist/agents/budget-ledger.d.ts +88 -0
  31. package/dist/agents/budget-ledger.d.ts.map +1 -0
  32. package/dist/agents/claude-cli.d.ts +32 -0
  33. package/dist/agents/claude-cli.d.ts.map +1 -0
  34. package/dist/agents/claude-cli.js +17 -0
  35. package/dist/agents/claude-cli.js.map +7 -0
  36. package/dist/agents/clone-first-worktree.d.ts +17 -0
  37. package/dist/agents/clone-first-worktree.d.ts.map +1 -0
  38. package/dist/agents/compact-control.d.ts +32 -0
  39. package/dist/agents/compact-control.d.ts.map +1 -0
  40. package/dist/agents/compact-control.js +127 -0
  41. package/dist/agents/compact-control.js.map +7 -0
  42. package/dist/agents/constants.d.ts +5 -0
  43. package/dist/agents/constants.d.ts.map +1 -0
  44. package/dist/agents/cow-clone.d.ts +8 -0
  45. package/dist/agents/cow-clone.d.ts.map +1 -0
  46. package/dist/agents/handoff.d.ts +19 -0
  47. package/dist/agents/handoff.d.ts.map +1 -0
  48. package/dist/agents/manager.d.ts +68 -0
  49. package/dist/agents/manager.d.ts.map +1 -0
  50. package/dist/agents/omp-binary.d.ts +7 -0
  51. package/dist/agents/omp-binary.d.ts.map +1 -0
  52. package/dist/agents/rm.d.ts +15 -0
  53. package/dist/agents/rm.d.ts.map +1 -0
  54. package/dist/agents/semaphore.d.ts +7 -0
  55. package/dist/agents/semaphore.d.ts.map +1 -0
  56. package/dist/agents/session-export.d.ts +9 -0
  57. package/dist/agents/session-export.d.ts.map +1 -0
  58. package/dist/agents/thinking-transfer.d.ts +39 -0
  59. package/dist/agents/thinking-transfer.d.ts.map +1 -0
  60. package/dist/agents/transports/herdr-transport.d.ts +10 -0
  61. package/dist/agents/transports/herdr-transport.d.ts.map +1 -0
  62. package/dist/agents/transports/localterm-transport.d.ts +7 -0
  63. package/dist/agents/transports/localterm-transport.d.ts.map +1 -0
  64. package/dist/agents/transports/process-transport.d.ts +7 -0
  65. package/dist/agents/transports/process-transport.d.ts.map +1 -0
  66. package/dist/agents/transports/process-utils.d.ts +29 -0
  67. package/dist/agents/transports/process-utils.d.ts.map +1 -0
  68. package/dist/agents/transports/screen-transport.d.ts +7 -0
  69. package/dist/agents/transports/screen-transport.d.ts.map +1 -0
  70. package/dist/agents/transports/tmux-transport.d.ts +7 -0
  71. package/dist/agents/transports/tmux-transport.d.ts.map +1 -0
  72. package/dist/agents/types.d.ts +251 -0
  73. package/dist/agents/types.d.ts.map +1 -0
  74. package/dist/agents/veda-cli.d.ts +22 -0
  75. package/dist/agents/veda-cli.d.ts.map +1 -0
  76. package/dist/agents/veda-cli.js +13 -0
  77. package/dist/agents/veda-cli.js.map +7 -0
  78. package/dist/agents/worktree-manager.d.ts +14 -0
  79. package/dist/agents/worktree-manager.d.ts.map +1 -0
  80. package/dist/agents/worktree-paths.d.ts +5 -0
  81. package/dist/agents/worktree-paths.d.ts.map +1 -0
  82. package/dist/async-settlement.d.ts +4 -0
  83. package/dist/async-settlement.d.ts.map +1 -0
  84. package/dist/audit/details.d.ts +82 -0
  85. package/dist/audit/details.d.ts.map +1 -0
  86. package/dist/audit/index.d.ts +4 -0
  87. package/dist/audit/index.d.ts.map +1 -0
  88. package/dist/audit/projection.d.ts +20 -0
  89. package/dist/audit/projection.d.ts.map +1 -0
  90. package/dist/audit/trace.d.ts +95 -0
  91. package/dist/audit/trace.d.ts.map +1 -0
  92. package/dist/capture/catalog.d.ts +29 -0
  93. package/dist/capture/catalog.d.ts.map +1 -0
  94. package/dist/capture/interceptor.d.ts +21 -0
  95. package/dist/capture/interceptor.d.ts.map +1 -0
  96. package/dist/capture/wrapper.d.ts +15 -0
  97. package/dist/capture/wrapper.d.ts.map +1 -0
  98. package/dist/chunks/chunk-2GQC324T.js +5001 -0
  99. package/dist/chunks/chunk-2GQC324T.js.map +7 -0
  100. package/dist/chunks/chunk-2KEWFW56.js +1229 -0
  101. package/dist/chunks/chunk-2KEWFW56.js.map +7 -0
  102. package/dist/chunks/chunk-3J7BKUNG.js +354 -0
  103. package/dist/chunks/chunk-3J7BKUNG.js.map +7 -0
  104. package/dist/chunks/chunk-4A4MVZQW.js +253 -0
  105. package/dist/chunks/chunk-4A4MVZQW.js.map +7 -0
  106. package/dist/chunks/chunk-4HQDSTHN.js +221 -0
  107. package/dist/chunks/chunk-4HQDSTHN.js.map +7 -0
  108. package/dist/chunks/chunk-4LEDA76O.js +688 -0
  109. package/dist/chunks/chunk-4LEDA76O.js.map +7 -0
  110. package/dist/chunks/chunk-5GTPD4BA.js +1318 -0
  111. package/dist/chunks/chunk-5GTPD4BA.js.map +7 -0
  112. package/dist/chunks/chunk-5IWFSDU5.js +87 -0
  113. package/dist/chunks/chunk-5IWFSDU5.js.map +7 -0
  114. package/dist/chunks/chunk-6N4XGAZY.js +21 -0
  115. package/dist/chunks/chunk-6N4XGAZY.js.map +7 -0
  116. package/dist/chunks/chunk-6QBPSZJ5.js +647 -0
  117. package/dist/chunks/chunk-6QBPSZJ5.js.map +7 -0
  118. package/dist/chunks/chunk-6X6WUU2K.js +73 -0
  119. package/dist/chunks/chunk-6X6WUU2K.js.map +7 -0
  120. package/dist/chunks/chunk-7363CD5A.js +38 -0
  121. package/dist/chunks/chunk-7363CD5A.js.map +7 -0
  122. package/dist/chunks/chunk-77FQHHZD.js +231 -0
  123. package/dist/chunks/chunk-77FQHHZD.js.map +7 -0
  124. package/dist/chunks/chunk-7BIA5BJN.js +112 -0
  125. package/dist/chunks/chunk-7BIA5BJN.js.map +7 -0
  126. package/dist/chunks/chunk-7BOAOKWH.js +64 -0
  127. package/dist/chunks/chunk-7BOAOKWH.js.map +7 -0
  128. package/dist/chunks/chunk-7TB7NXSL.js +58 -0
  129. package/dist/chunks/chunk-7TB7NXSL.js.map +7 -0
  130. package/dist/chunks/chunk-7VIQNUPS.js +17 -0
  131. package/dist/chunks/chunk-7VIQNUPS.js.map +7 -0
  132. package/dist/chunks/chunk-CT2AJ2UI.js +225 -0
  133. package/dist/chunks/chunk-CT2AJ2UI.js.map +7 -0
  134. package/dist/chunks/chunk-DLXPTBPL.js +151 -0
  135. package/dist/chunks/chunk-DLXPTBPL.js.map +7 -0
  136. package/dist/chunks/chunk-ED3BRM6P.js +17 -0
  137. package/dist/chunks/chunk-ED3BRM6P.js.map +7 -0
  138. package/dist/chunks/chunk-G2IBGGBM.js +42 -0
  139. package/dist/chunks/chunk-G2IBGGBM.js.map +7 -0
  140. package/dist/chunks/chunk-GKOFZ76R.js +1596 -0
  141. package/dist/chunks/chunk-GKOFZ76R.js.map +7 -0
  142. package/dist/chunks/chunk-HDJBUXDX.js +1102 -0
  143. package/dist/chunks/chunk-HDJBUXDX.js.map +7 -0
  144. package/dist/chunks/chunk-IGVDD2HT.js +10 -0
  145. package/dist/chunks/chunk-IGVDD2HT.js.map +7 -0
  146. package/dist/chunks/chunk-JHKOG5GS.js +187 -0
  147. package/dist/chunks/chunk-JHKOG5GS.js.map +7 -0
  148. package/dist/chunks/chunk-JP4LIZFT.js +1334 -0
  149. package/dist/chunks/chunk-JP4LIZFT.js.map +7 -0
  150. package/dist/chunks/chunk-JSBTB3P6.js +127 -0
  151. package/dist/chunks/chunk-JSBTB3P6.js.map +7 -0
  152. package/dist/chunks/chunk-KAD7UWT2.js +99 -0
  153. package/dist/chunks/chunk-KAD7UWT2.js.map +7 -0
  154. package/dist/chunks/chunk-KIH3KLZU.js +95 -0
  155. package/dist/chunks/chunk-KIH3KLZU.js.map +7 -0
  156. package/dist/chunks/chunk-KIREBD2V.js +2208 -0
  157. package/dist/chunks/chunk-KIREBD2V.js.map +7 -0
  158. package/dist/chunks/chunk-LMAVZN7J.js +8 -0
  159. package/dist/chunks/chunk-LMAVZN7J.js.map +7 -0
  160. package/dist/chunks/chunk-NCPJZXLM.js +57 -0
  161. package/dist/chunks/chunk-NCPJZXLM.js.map +7 -0
  162. package/dist/chunks/chunk-OJZNMROB.js +195 -0
  163. package/dist/chunks/chunk-OJZNMROB.js.map +7 -0
  164. package/dist/chunks/chunk-OPTP4PSE.js +469 -0
  165. package/dist/chunks/chunk-OPTP4PSE.js.map +7 -0
  166. package/dist/chunks/chunk-QPXSCMTG.js +24 -0
  167. package/dist/chunks/chunk-QPXSCMTG.js.map +7 -0
  168. package/dist/chunks/chunk-ROKMBLGN.js +1265 -0
  169. package/dist/chunks/chunk-ROKMBLGN.js.map +7 -0
  170. package/dist/chunks/chunk-SXMWV447.js +2445 -0
  171. package/dist/chunks/chunk-SXMWV447.js.map +7 -0
  172. package/dist/chunks/chunk-T5ZA5YRU.js +786 -0
  173. package/dist/chunks/chunk-T5ZA5YRU.js.map +7 -0
  174. package/dist/chunks/chunk-T6OAX4FO.js +1835 -0
  175. package/dist/chunks/chunk-T6OAX4FO.js.map +7 -0
  176. package/dist/chunks/chunk-U5FYOMG5.js +119 -0
  177. package/dist/chunks/chunk-U5FYOMG5.js.map +7 -0
  178. package/dist/chunks/chunk-UOSJZXJV.js +142 -0
  179. package/dist/chunks/chunk-UOSJZXJV.js.map +7 -0
  180. package/dist/chunks/chunk-UPCARIJP.js +6627 -0
  181. package/dist/chunks/chunk-UPCARIJP.js.map +7 -0
  182. package/dist/chunks/chunk-VPPIJRNZ.js +50 -0
  183. package/dist/chunks/chunk-VPPIJRNZ.js.map +7 -0
  184. package/dist/chunks/chunk-XU5Z4JCQ.js +297 -0
  185. package/dist/chunks/chunk-XU5Z4JCQ.js.map +7 -0
  186. package/dist/chunks/chunk-YWEXP724.js +427 -0
  187. package/dist/chunks/chunk-YWEXP724.js.map +7 -0
  188. package/dist/chunks/chunk-YZZIKJX6.js +60 -0
  189. package/dist/chunks/chunk-YZZIKJX6.js.map +7 -0
  190. package/dist/chunks/chunk-ZNAJDPT7.js +2203 -0
  191. package/dist/chunks/chunk-ZNAJDPT7.js.map +7 -0
  192. package/dist/chunks/chunk-ZTM45GH5.js +163 -0
  193. package/dist/chunks/chunk-ZTM45GH5.js.map +7 -0
  194. package/dist/commands/fabric.d.ts +17 -0
  195. package/dist/commands/fabric.d.ts.map +1 -0
  196. package/dist/compaction/bounds.d.ts +23 -0
  197. package/dist/compaction/bounds.d.ts.map +1 -0
  198. package/dist/compaction/branch-details.d.ts +83 -0
  199. package/dist/compaction/branch-details.d.ts.map +1 -0
  200. package/dist/compaction/branch-summary.d.ts +9 -0
  201. package/dist/compaction/branch-summary.d.ts.map +1 -0
  202. package/dist/compaction/enrichers.d.ts +10 -0
  203. package/dist/compaction/enrichers.d.ts.map +1 -0
  204. package/dist/compaction/hook.d.ts +98 -0
  205. package/dist/compaction/hook.d.ts.map +1 -0
  206. package/dist/compaction/hook.js +19 -0
  207. package/dist/compaction/hook.js.map +7 -0
  208. package/dist/compaction/instructions.d.ts +38 -0
  209. package/dist/compaction/instructions.d.ts.map +1 -0
  210. package/dist/compaction/normalize.d.ts +83 -0
  211. package/dist/compaction/normalize.d.ts.map +1 -0
  212. package/dist/compaction/projections.d.ts +31 -0
  213. package/dist/compaction/projections.d.ts.map +1 -0
  214. package/dist/compaction/qa.d.ts +27 -0
  215. package/dist/compaction/qa.d.ts.map +1 -0
  216. package/dist/compaction/render.d.ts +10 -0
  217. package/dist/compaction/render.d.ts.map +1 -0
  218. package/dist/compaction/threshold.d.ts +5 -0
  219. package/dist/compaction/threshold.d.ts.map +1 -0
  220. package/dist/compaction/trace-events.d.ts +23 -0
  221. package/dist/compaction/trace-events.d.ts.map +1 -0
  222. package/dist/components/catalog.d.ts +25 -0
  223. package/dist/components/catalog.d.ts.map +1 -0
  224. package/dist/components/effect-scope.d.ts +31 -0
  225. package/dist/components/effect-scope.d.ts.map +1 -0
  226. package/dist/components/loader.d.ts +27 -0
  227. package/dist/components/loader.d.ts.map +1 -0
  228. package/dist/components/model-guidance.d.ts +48 -0
  229. package/dist/components/model-guidance.d.ts.map +1 -0
  230. package/dist/components/provider-component.d.ts +31 -0
  231. package/dist/components/provider-component.d.ts.map +1 -0
  232. package/dist/components/supervisor.d.ts +29 -0
  233. package/dist/components/supervisor.d.ts.map +1 -0
  234. package/dist/components/types.d.ts +140 -0
  235. package/dist/components/types.d.ts.map +1 -0
  236. package/dist/config-migrations.d.ts +11 -0
  237. package/dist/config-migrations.d.ts.map +1 -0
  238. package/dist/config.d.ts +269 -0
  239. package/dist/config.d.ts.map +1 -0
  240. package/dist/core/action-registry.d.ts +159 -0
  241. package/dist/core/action-registry.d.ts.map +1 -0
  242. package/dist/core/action-registry.js +17 -0
  243. package/dist/core/action-registry.js.map +7 -0
  244. package/dist/core/action-repair.d.ts +20 -0
  245. package/dist/core/action-repair.d.ts.map +1 -0
  246. package/dist/core/agent-dir.d.ts +2 -0
  247. package/dist/core/agent-dir.d.ts.map +1 -0
  248. package/dist/core/approval-controller.d.ts +30 -0
  249. package/dist/core/approval-controller.d.ts.map +1 -0
  250. package/dist/core/atomic-write.d.ts +15 -0
  251. package/dist/core/atomic-write.d.ts.map +1 -0
  252. package/dist/core/auto-approval-classifier.d.ts +13 -0
  253. package/dist/core/auto-approval-classifier.d.ts.map +1 -0
  254. package/dist/core/call-preview.d.ts +8 -0
  255. package/dist/core/call-preview.d.ts.map +1 -0
  256. package/dist/core/child-tool-allowlist.d.ts +3 -0
  257. package/dist/core/child-tool-allowlist.d.ts.map +1 -0
  258. package/dist/core/compact-controller.d.ts +42 -0
  259. package/dist/core/compact-controller.d.ts.map +1 -0
  260. package/dist/core/core-override-guidance.d.ts +7 -0
  261. package/dist/core/core-override-guidance.d.ts.map +1 -0
  262. package/dist/core/direct-tool-approval.d.ts +19 -0
  263. package/dist/core/direct-tool-approval.d.ts.map +1 -0
  264. package/dist/core/effect-conflict.d.ts +3 -0
  265. package/dist/core/effect-conflict.d.ts.map +1 -0
  266. package/dist/core/file-lock.d.ts +12 -0
  267. package/dist/core/file-lock.d.ts.map +1 -0
  268. package/dist/core/model-resolution.d.ts +62 -0
  269. package/dist/core/model-resolution.d.ts.map +1 -0
  270. package/dist/core/model-usage.d.ts +8 -0
  271. package/dist/core/model-usage.d.ts.map +1 -0
  272. package/dist/core/omp-bash-error.d.ts +11 -0
  273. package/dist/core/omp-bash-error.d.ts.map +1 -0
  274. package/dist/core/omp-tools.d.ts +9 -0
  275. package/dist/core/omp-tools.d.ts.map +1 -0
  276. package/dist/core/provider-bindings.d.ts +47 -0
  277. package/dist/core/provider-bindings.d.ts.map +1 -0
  278. package/dist/core/proxy-contract.d.ts +18 -0
  279. package/dist/core/proxy-contract.d.ts.map +1 -0
  280. package/dist/core/session-context.d.ts +6 -0
  281. package/dist/core/session-context.d.ts.map +1 -0
  282. package/dist/core/skill-block.d.ts +10 -0
  283. package/dist/core/skill-block.d.ts.map +1 -0
  284. package/dist/core/skill-dir.d.ts +4 -0
  285. package/dist/core/skill-dir.d.ts.map +1 -0
  286. package/dist/core/skill-prompt.d.ts +3 -0
  287. package/dist/core/skill-prompt.d.ts.map +1 -0
  288. package/dist/core/skill-references.d.ts +7 -0
  289. package/dist/core/skill-references.d.ts.map +1 -0
  290. package/dist/core/stable-hash.d.ts +3 -0
  291. package/dist/core/stable-hash.d.ts.map +1 -0
  292. package/dist/core/system-guidance.d.ts +12 -0
  293. package/dist/core/system-guidance.d.ts.map +1 -0
  294. package/dist/core/token-math.d.ts +16 -0
  295. package/dist/core/token-math.d.ts.map +1 -0
  296. package/dist/core/tool-ownership.d.ts +52 -0
  297. package/dist/core/tool-ownership.d.ts.map +1 -0
  298. package/dist/core/tool-result-proxy.d.ts +18 -0
  299. package/dist/core/tool-result-proxy.d.ts.map +1 -0
  300. package/dist/entropy/active.d.ts +7 -0
  301. package/dist/entropy/active.d.ts.map +1 -0
  302. package/dist/entropy/compiled-store.d.ts +16 -0
  303. package/dist/entropy/compiled-store.d.ts.map +1 -0
  304. package/dist/entropy/compiled-surface.d.ts +51 -0
  305. package/dist/entropy/compiled-surface.d.ts.map +1 -0
  306. package/dist/entropy/compiler.d.ts +28 -0
  307. package/dist/entropy/compiler.d.ts.map +1 -0
  308. package/dist/entropy/corpus.d.ts +22 -0
  309. package/dist/entropy/corpus.d.ts.map +1 -0
  310. package/dist/entropy/fingerprint.d.ts +9 -0
  311. package/dist/entropy/fingerprint.d.ts.map +1 -0
  312. package/dist/entropy/index.d.ts +15 -0
  313. package/dist/entropy/index.d.ts.map +1 -0
  314. package/dist/entropy/index.js +172 -0
  315. package/dist/entropy/index.js.map +7 -0
  316. package/dist/entropy/meter.d.ts +10 -0
  317. package/dist/entropy/meter.d.ts.map +1 -0
  318. package/dist/entropy/passes.d.ts +13 -0
  319. package/dist/entropy/passes.d.ts.map +1 -0
  320. package/dist/entropy/pool-store.d.ts +15 -0
  321. package/dist/entropy/pool-store.d.ts.map +1 -0
  322. package/dist/entropy/pool.d.ts +41 -0
  323. package/dist/entropy/pool.d.ts.map +1 -0
  324. package/dist/entropy/presentation.d.ts +13 -0
  325. package/dist/entropy/presentation.d.ts.map +1 -0
  326. package/dist/entropy/sessions.d.ts +47 -0
  327. package/dist/entropy/sessions.d.ts.map +1 -0
  328. package/dist/entropy/surface.d.ts +30 -0
  329. package/dist/entropy/surface.d.ts.map +1 -0
  330. package/dist/entropy/trial.d.ts +35 -0
  331. package/dist/entropy/trial.d.ts.map +1 -0
  332. package/dist/entropy/types.d.ts +158 -0
  333. package/dist/entropy/types.d.ts.map +1 -0
  334. package/dist/execution-service.d.ts +63 -0
  335. package/dist/execution-service.d.ts.map +1 -0
  336. package/dist/fabric-exec-arguments.d.ts +5 -0
  337. package/dist/fabric-exec-arguments.d.ts.map +1 -0
  338. package/dist/fabric-exec-tool.d.ts +8 -0
  339. package/dist/fabric-exec-tool.d.ts.map +1 -0
  340. package/dist/fabric-runtime-state.d.ts +90 -0
  341. package/dist/fabric-runtime-state.d.ts.map +1 -0
  342. package/dist/fabric-runtime-state.js +13060 -0
  343. package/dist/fabric-runtime-state.js.map +7 -0
  344. package/dist/fabric-state.d.ts +89 -0
  345. package/dist/fabric-state.d.ts.map +1 -0
  346. package/dist/failure-progress.d.ts +3 -0
  347. package/dist/failure-progress.d.ts.map +1 -0
  348. package/dist/host-compatibility.d.ts +5 -0
  349. package/dist/host-compatibility.d.ts.map +1 -0
  350. package/dist/index.d.ts +6 -0
  351. package/dist/index.d.ts.map +1 -0
  352. package/dist/index.js +5719 -0
  353. package/dist/index.js.map +7 -0
  354. package/dist/lifecycle/broker.d.ts +30 -0
  355. package/dist/lifecycle/broker.d.ts.map +1 -0
  356. package/dist/lifecycle/delivery-scheduler.d.ts +30 -0
  357. package/dist/lifecycle/delivery-scheduler.d.ts.map +1 -0
  358. package/dist/lifecycle/types.d.ts +91 -0
  359. package/dist/lifecycle/types.d.ts.map +1 -0
  360. package/dist/log-tail.d.ts +11 -0
  361. package/dist/log-tail.d.ts.map +1 -0
  362. package/dist/main-agent.d.ts +70 -0
  363. package/dist/main-agent.d.ts.map +1 -0
  364. package/dist/memory/context.d.ts +112 -0
  365. package/dist/memory/context.d.ts.map +1 -0
  366. package/dist/memory/digest.d.ts +48 -0
  367. package/dist/memory/digest.d.ts.map +1 -0
  368. package/dist/memory/digest.js +7 -0
  369. package/dist/memory/digest.js.map +7 -0
  370. package/dist/memory/discovery.d.ts +43 -0
  371. package/dist/memory/discovery.d.ts.map +1 -0
  372. package/dist/memory/discovery.js +23 -0
  373. package/dist/memory/discovery.js.map +7 -0
  374. package/dist/memory/index.d.ts +107 -0
  375. package/dist/memory/index.d.ts.map +1 -0
  376. package/dist/memory/lineage.d.ts +20 -0
  377. package/dist/memory/lineage.d.ts.map +1 -0
  378. package/dist/memory/normalize.d.ts +170 -0
  379. package/dist/memory/normalize.d.ts.map +1 -0
  380. package/dist/memory/normalize.js +22 -0
  381. package/dist/memory/normalize.js.map +7 -0
  382. package/dist/memory/regex.d.ts +19 -0
  383. package/dist/memory/regex.d.ts.map +1 -0
  384. package/dist/memory/search.d.ts +98 -0
  385. package/dist/memory/search.d.ts.map +1 -0
  386. package/dist/memory/search.js +22 -0
  387. package/dist/memory/search.js.map +7 -0
  388. package/dist/memory/tokenize.d.ts +24 -0
  389. package/dist/memory/tokenize.d.ts.map +1 -0
  390. package/dist/mesh/store.d.ts +78 -0
  391. package/dist/mesh/store.d.ts.map +1 -0
  392. package/dist/output-budget.d.ts +12 -0
  393. package/dist/output-budget.d.ts.map +1 -0
  394. package/dist/prewalk/arm.d.ts +8 -0
  395. package/dist/prewalk/arm.d.ts.map +1 -0
  396. package/dist/prewalk/controller.d.ts +60 -0
  397. package/dist/prewalk/controller.d.ts.map +1 -0
  398. package/dist/prewalk/fs-drift.d.ts +19 -0
  399. package/dist/prewalk/fs-drift.d.ts.map +1 -0
  400. package/dist/prewalk/handoff.d.ts +45 -0
  401. package/dist/prewalk/handoff.d.ts.map +1 -0
  402. package/dist/protocol.d.ts +273 -0
  403. package/dist/protocol.d.ts.map +1 -0
  404. package/dist/protocol.js +46 -0
  405. package/dist/protocol.js.map +7 -0
  406. package/dist/providers/agents-actions.d.ts +3 -0
  407. package/dist/providers/agents-actions.d.ts.map +1 -0
  408. package/dist/providers/agents-provider.d.ts +59 -0
  409. package/dist/providers/agents-provider.d.ts.map +1 -0
  410. package/dist/providers/arg-normalization.d.ts +15 -0
  411. package/dist/providers/arg-normalization.d.ts.map +1 -0
  412. package/dist/providers/captured-tools-provider.d.ts +23 -0
  413. package/dist/providers/captured-tools-provider.d.ts.map +1 -0
  414. package/dist/providers/compact-provider.d.ts +14 -0
  415. package/dist/providers/compact-provider.d.ts.map +1 -0
  416. package/dist/providers/components-provider.d.ts +12 -0
  417. package/dist/providers/components-provider.d.ts.map +1 -0
  418. package/dist/providers/mcp-descriptor-cache.d.ts +47 -0
  419. package/dist/providers/mcp-descriptor-cache.d.ts.map +1 -0
  420. package/dist/providers/mcp-provider.d.ts +27 -0
  421. package/dist/providers/mcp-provider.d.ts.map +1 -0
  422. package/dist/providers/memory-provider.d.ts +35 -0
  423. package/dist/providers/memory-provider.d.ts.map +1 -0
  424. package/dist/providers/memory-provider.js +16 -0
  425. package/dist/providers/memory-provider.js.map +7 -0
  426. package/dist/providers/mesh-provider.d.ts +17 -0
  427. package/dist/providers/mesh-provider.d.ts.map +1 -0
  428. package/dist/providers/omp-bash-cwd.d.ts +31 -0
  429. package/dist/providers/omp-bash-cwd.d.ts.map +1 -0
  430. package/dist/providers/omp-tools-provider.d.ts +15 -0
  431. package/dist/providers/omp-tools-provider.d.ts.map +1 -0
  432. package/dist/providers/schema-provider.d.ts +15 -0
  433. package/dist/providers/schema-provider.d.ts.map +1 -0
  434. package/dist/providers/state-provider.d.ts +16 -0
  435. package/dist/providers/state-provider.d.ts.map +1 -0
  436. package/dist/providers/write-diff-limits.d.ts +5 -0
  437. package/dist/providers/write-diff-limits.d.ts.map +1 -0
  438. package/dist/providers/write-preview.d.ts +3 -0
  439. package/dist/providers/write-preview.d.ts.map +1 -0
  440. package/dist/ref-names.d.ts +2 -0
  441. package/dist/ref-names.d.ts.map +1 -0
  442. package/dist/repairs/active.d.ts +7 -0
  443. package/dist/repairs/active.d.ts.map +1 -0
  444. package/dist/repairs/apply.d.ts +7 -0
  445. package/dist/repairs/apply.d.ts.map +1 -0
  446. package/dist/repairs/catalog-digest.d.ts +5 -0
  447. package/dist/repairs/catalog-digest.d.ts.map +1 -0
  448. package/dist/repairs/classify.d.ts +10 -0
  449. package/dist/repairs/classify.d.ts.map +1 -0
  450. package/dist/repairs/compiler.d.ts +33 -0
  451. package/dist/repairs/compiler.d.ts.map +1 -0
  452. package/dist/repairs/promote.d.ts +4 -0
  453. package/dist/repairs/promote.d.ts.map +1 -0
  454. package/dist/repairs/store.d.ts +10 -0
  455. package/dist/repairs/store.d.ts.map +1 -0
  456. package/dist/repairs/types.d.ts +49 -0
  457. package/dist/repairs/types.d.ts.map +1 -0
  458. package/dist/residency/actor-client.d.ts +16 -0
  459. package/dist/residency/actor-client.d.ts.map +1 -0
  460. package/dist/residency/actor-client.js +9 -0
  461. package/dist/residency/actor-client.js.map +7 -0
  462. package/dist/residency/client.d.ts +44 -0
  463. package/dist/residency/client.d.ts.map +1 -0
  464. package/dist/residency/host.d.ts +3 -0
  465. package/dist/residency/host.d.ts.map +1 -0
  466. package/dist/residency/host.js +25 -0
  467. package/dist/residency/host.js.map +7 -0
  468. package/dist/residency/launcher-owner.d.ts +7 -0
  469. package/dist/residency/launcher-owner.d.ts.map +1 -0
  470. package/dist/residency/launcher.d.ts +3 -0
  471. package/dist/residency/launcher.d.ts.map +1 -0
  472. package/dist/residency/launcher.js +152 -0
  473. package/dist/residency/launcher.js.map +7 -0
  474. package/dist/residency/omp-entry.d.ts +3 -0
  475. package/dist/residency/omp-entry.d.ts.map +1 -0
  476. package/dist/residency/omp-entry.js +41 -0
  477. package/dist/residency/omp-entry.js.map +7 -0
  478. package/dist/residency/protocol.d.ts +119 -0
  479. package/dist/residency/protocol.d.ts.map +1 -0
  480. package/dist/run-display.d.ts +3 -0
  481. package/dist/run-display.d.ts.map +1 -0
  482. package/dist/runtime/core-override-guest-types.d.ts +15 -0
  483. package/dist/runtime/core-override-guest-types.d.ts.map +1 -0
  484. package/dist/runtime/core-override-guest-types.js +291 -0
  485. package/dist/runtime/core-override-guest-types.js.map +7 -0
  486. package/dist/runtime/core-tool-properties.d.ts +6 -0
  487. package/dist/runtime/core-tool-properties.d.ts.map +1 -0
  488. package/dist/runtime/dynamic-guest-types.d.ts +3 -0
  489. package/dist/runtime/dynamic-guest-types.d.ts.map +1 -0
  490. package/dist/runtime/dynamic-guest-types.js +226 -0
  491. package/dist/runtime/dynamic-guest-types.js.map +7 -0
  492. package/dist/runtime/guest-code-repair.d.ts +2 -0
  493. package/dist/runtime/guest-code-repair.d.ts.map +1 -0
  494. package/dist/runtime/guest-stack-map.d.ts +11 -0
  495. package/dist/runtime/guest-stack-map.d.ts.map +1 -0
  496. package/dist/runtime/guest-types.d.ts +35 -0
  497. package/dist/runtime/guest-types.d.ts.map +1 -0
  498. package/dist/runtime/guest-types.js +13 -0
  499. package/dist/runtime/guest-types.js.map +7 -0
  500. package/dist/runtime/node-process-child-source.d.ts +2 -0
  501. package/dist/runtime/node-process-child-source.d.ts.map +1 -0
  502. package/dist/runtime/node-process-runtime.d.ts +10 -0
  503. package/dist/runtime/node-process-runtime.d.ts.map +1 -0
  504. package/dist/runtime/node-process-runtime.js +319 -0
  505. package/dist/runtime/node-process-runtime.js.map +7 -0
  506. package/dist/runtime/orchestration.d.ts +3 -0
  507. package/dist/runtime/orchestration.d.ts.map +1 -0
  508. package/dist/runtime/quickjs-runtime.d.ts +24 -0
  509. package/dist/runtime/quickjs-runtime.d.ts.map +1 -0
  510. package/dist/runtime/quickjs-runtime.js +12 -0
  511. package/dist/runtime/quickjs-runtime.js.map +7 -0
  512. package/dist/runtime/type-checker.d.ts +21 -0
  513. package/dist/runtime/type-checker.d.ts.map +1 -0
  514. package/dist/runtime/type-checker.js +15 -0
  515. package/dist/runtime/type-checker.js.map +7 -0
  516. package/dist/runtime-paths.d.ts +7 -0
  517. package/dist/runtime-paths.d.ts.map +1 -0
  518. package/dist/schema/controller.d.ts +35 -0
  519. package/dist/schema/controller.d.ts.map +1 -0
  520. package/dist/schema/types.d.ts +86 -0
  521. package/dist/schema/types.d.ts.map +1 -0
  522. package/dist/schema/workspace.d.ts +19 -0
  523. package/dist/schema/workspace.d.ts.map +1 -0
  524. package/dist/speculation/eligibility.d.ts +22 -0
  525. package/dist/speculation/eligibility.d.ts.map +1 -0
  526. package/dist/speculation/freshness.d.ts +10 -0
  527. package/dist/speculation/freshness.d.ts.map +1 -0
  528. package/dist/speculation/partial-json.d.ts +9 -0
  529. package/dist/speculation/partial-json.d.ts.map +1 -0
  530. package/dist/speculation/scanner.d.ts +13 -0
  531. package/dist/speculation/scanner.d.ts.map +1 -0
  532. package/dist/speculation/scanner.js +182 -0
  533. package/dist/speculation/scanner.js.map +7 -0
  534. package/dist/speculation/store.d.ts +39 -0
  535. package/dist/speculation/store.d.ts.map +1 -0
  536. package/dist/speculation/stream-tap.d.ts +27 -0
  537. package/dist/speculation/stream-tap.d.ts.map +1 -0
  538. package/dist/speculation/types.d.ts +44 -0
  539. package/dist/speculation/types.d.ts.map +1 -0
  540. package/dist/state/complexity.d.ts +13 -0
  541. package/dist/state/complexity.d.ts.map +1 -0
  542. package/dist/state/evidence-runner.d.ts +17 -0
  543. package/dist/state/evidence-runner.d.ts.map +1 -0
  544. package/dist/state/store.d.ts +76 -0
  545. package/dist/state/store.d.ts.map +1 -0
  546. package/dist/state/types.d.ts +165 -0
  547. package/dist/state/types.d.ts.map +1 -0
  548. package/dist/storage/retention.d.ts +22 -0
  549. package/dist/storage/retention.d.ts.map +1 -0
  550. package/dist/thinking.d.ts +19 -0
  551. package/dist/thinking.d.ts.map +1 -0
  552. package/dist/topology/control-plane.d.ts +58 -0
  553. package/dist/topology/control-plane.d.ts.map +1 -0
  554. package/dist/topology/participant-directory.d.ts +33 -0
  555. package/dist/topology/participant-directory.d.ts.map +1 -0
  556. package/dist/topology/peer-settle.d.ts +51 -0
  557. package/dist/topology/peer-settle.d.ts.map +1 -0
  558. package/dist/topology/records.d.ts +6 -0
  559. package/dist/topology/records.d.ts.map +1 -0
  560. package/dist/topology/types.d.ts +89 -0
  561. package/dist/topology/types.d.ts.map +1 -0
  562. package/dist/type-error-guidance.d.ts +3 -0
  563. package/dist/type-error-guidance.d.ts.map +1 -0
  564. package/dist/ui/arc-group.d.ts +17 -0
  565. package/dist/ui/arc-group.d.ts.map +1 -0
  566. package/dist/ui/code-preview-shell.d.ts +26 -0
  567. package/dist/ui/code-preview-shell.d.ts.map +1 -0
  568. package/dist/ui/code-preview.d.ts +53 -0
  569. package/dist/ui/code-preview.d.ts.map +1 -0
  570. package/dist/ui/controller.d.ts +20 -0
  571. package/dist/ui/controller.d.ts.map +1 -0
  572. package/dist/ui/conversation-chrome.d.ts +15 -0
  573. package/dist/ui/conversation-chrome.d.ts.map +1 -0
  574. package/dist/ui/conversation-chrome.js +10 -0
  575. package/dist/ui/conversation-chrome.js.map +7 -0
  576. package/dist/ui/conversation-native-reader.d.ts +106 -0
  577. package/dist/ui/conversation-native-reader.d.ts.map +1 -0
  578. package/dist/ui/conversation-native-reader.js +784 -0
  579. package/dist/ui/conversation-native-reader.js.map +7 -0
  580. package/dist/ui/conversation-queue-store.d.ts +12 -0
  581. package/dist/ui/conversation-queue-store.d.ts.map +1 -0
  582. package/dist/ui/conversation-queue.d.ts +242 -0
  583. package/dist/ui/conversation-queue.d.ts.map +1 -0
  584. package/dist/ui/conversation-render.d.ts +45 -0
  585. package/dist/ui/conversation-render.d.ts.map +1 -0
  586. package/dist/ui/conversation-shortcut.d.ts +3 -0
  587. package/dist/ui/conversation-shortcut.d.ts.map +1 -0
  588. package/dist/ui/conversation-targets.d.ts +7 -0
  589. package/dist/ui/conversation-targets.d.ts.map +1 -0
  590. package/dist/ui/conversation-targets.js +12 -0
  591. package/dist/ui/conversation-targets.js.map +7 -0
  592. package/dist/ui/conversation-transcript.d.ts +25 -0
  593. package/dist/ui/conversation-transcript.d.ts.map +1 -0
  594. package/dist/ui/conversation.d.ts +170 -0
  595. package/dist/ui/conversation.d.ts.map +1 -0
  596. package/dist/ui/conversation.js +1868 -0
  597. package/dist/ui/conversation.js.map +7 -0
  598. package/dist/ui/core-tool-render.d.ts +20 -0
  599. package/dist/ui/core-tool-render.d.ts.map +1 -0
  600. package/dist/ui/dashboard-detail.d.ts +68 -0
  601. package/dist/ui/dashboard-detail.d.ts.map +1 -0
  602. package/dist/ui/dashboard-fabric-graph.d.ts +50 -0
  603. package/dist/ui/dashboard-fabric-graph.d.ts.map +1 -0
  604. package/dist/ui/dashboard-model.d.ts +111 -0
  605. package/dist/ui/dashboard-model.d.ts.map +1 -0
  606. package/dist/ui/dashboard-presentation.d.ts +6 -0
  607. package/dist/ui/dashboard-presentation.d.ts.map +1 -0
  608. package/dist/ui/dashboard.d.ts +188 -0
  609. package/dist/ui/dashboard.d.ts.map +1 -0
  610. package/dist/ui/dashboard.js +4604 -0
  611. package/dist/ui/dashboard.js.map +7 -0
  612. package/dist/ui/diff-background.d.ts +12 -0
  613. package/dist/ui/diff-background.d.ts.map +1 -0
  614. package/dist/ui/dynamic-border.d.ts +8 -0
  615. package/dist/ui/dynamic-border.d.ts.map +1 -0
  616. package/dist/ui/escape-halt.d.ts +11 -0
  617. package/dist/ui/escape-halt.d.ts.map +1 -0
  618. package/dist/ui/fabric-actor-delivery-selector.d.ts +17 -0
  619. package/dist/ui/fabric-actor-delivery-selector.d.ts.map +1 -0
  620. package/dist/ui/fabric-actor-tool-selector.d.ts +22 -0
  621. package/dist/ui/fabric-actor-tool-selector.d.ts.map +1 -0
  622. package/dist/ui/fabric-code-parser.d.ts +8 -0
  623. package/dist/ui/fabric-code-parser.d.ts.map +1 -0
  624. package/dist/ui/fabric-host-event-selector.d.ts +29 -0
  625. package/dist/ui/fabric-host-event-selector.d.ts.map +1 -0
  626. package/dist/ui/fabric-model-selector.d.ts +64 -0
  627. package/dist/ui/fabric-model-selector.d.ts.map +1 -0
  628. package/dist/ui/fabric-render.d.ts +113 -0
  629. package/dist/ui/fabric-render.d.ts.map +1 -0
  630. package/dist/ui/fabric-thinking-selector.d.ts +26 -0
  631. package/dist/ui/fabric-thinking-selector.d.ts.map +1 -0
  632. package/dist/ui/fabric-title-hint.d.ts +2 -0
  633. package/dist/ui/fabric-title-hint.d.ts.map +1 -0
  634. package/dist/ui/format.d.ts +9 -0
  635. package/dist/ui/format.d.ts.map +1 -0
  636. package/dist/ui/highlight.d.ts +69 -0
  637. package/dist/ui/highlight.d.ts.map +1 -0
  638. package/dist/ui/model-picker.d.ts +46 -0
  639. package/dist/ui/model-picker.d.ts.map +1 -0
  640. package/dist/ui/model-picker.js +17 -0
  641. package/dist/ui/model-picker.js.map +7 -0
  642. package/dist/ui/preview-lines.d.ts +16 -0
  643. package/dist/ui/preview-lines.d.ts.map +1 -0
  644. package/dist/ui/row-balance.d.ts +29 -0
  645. package/dist/ui/row-balance.d.ts.map +1 -0
  646. package/dist/ui/settings.d.ts +57 -0
  647. package/dist/ui/settings.d.ts.map +1 -0
  648. package/dist/ui/settings.js +1908 -0
  649. package/dist/ui/settings.js.map +7 -0
  650. package/dist/ui/shiki-language.d.ts +7 -0
  651. package/dist/ui/shiki-language.d.ts.map +1 -0
  652. package/dist/ui/shiki-theme.d.ts +7 -0
  653. package/dist/ui/shiki-theme.d.ts.map +1 -0
  654. package/dist/ui/snapshot.d.ts +7 -0
  655. package/dist/ui/snapshot.d.ts.map +1 -0
  656. package/dist/ui/spinner.d.ts +6 -0
  657. package/dist/ui/spinner.d.ts.map +1 -0
  658. package/dist/ui/state-file-preview.d.ts +13 -0
  659. package/dist/ui/state-file-preview.d.ts.map +1 -0
  660. package/dist/ui/structured.d.ts +9 -0
  661. package/dist/ui/structured.d.ts.map +1 -0
  662. package/dist/ui/symbol-theme.d.ts +3 -0
  663. package/dist/ui/symbol-theme.d.ts.map +1 -0
  664. package/dist/ui/tool-call-timing.d.ts +2 -0
  665. package/dist/ui/tool-call-timing.d.ts.map +1 -0
  666. package/dist/ui/tool-display.d.ts +8 -0
  667. package/dist/ui/tool-display.d.ts.map +1 -0
  668. package/dist/ui/topology.d.ts +162 -0
  669. package/dist/ui/topology.d.ts.map +1 -0
  670. package/dist/ui/transcript-parser.d.ts +18 -0
  671. package/dist/ui/transcript-parser.d.ts.map +1 -0
  672. package/dist/ui/transcript-reader.d.ts +10 -0
  673. package/dist/ui/transcript-reader.d.ts.map +1 -0
  674. package/dist/ui/transcript-sanitization.d.ts +14 -0
  675. package/dist/ui/transcript-sanitization.d.ts.map +1 -0
  676. package/dist/ui/transcript.d.ts +52 -0
  677. package/dist/ui/transcript.d.ts.map +1 -0
  678. package/dist/ui/types.d.ts +84 -0
  679. package/dist/ui/types.d.ts.map +1 -0
  680. package/dist/ui/widget.d.ts +16 -0
  681. package/dist/ui/widget.d.ts.map +1 -0
  682. package/dist/ui/word-diff/alignment.d.ts +6 -0
  683. package/dist/ui/word-diff/alignment.d.ts.map +1 -0
  684. package/dist/ui/word-diff/change-block.d.ts +18 -0
  685. package/dist/ui/word-diff/change-block.d.ts.map +1 -0
  686. package/dist/ui/word-diff/changed-line.d.ts +14 -0
  687. package/dist/ui/word-diff/changed-line.d.ts.map +1 -0
  688. package/dist/ui/word-diff/emphasis.d.ts +9 -0
  689. package/dist/ui/word-diff/emphasis.d.ts.map +1 -0
  690. package/dist/ui/word-diff/line-emphasis.d.ts +7 -0
  691. package/dist/ui/word-diff/line-emphasis.d.ts.map +1 -0
  692. package/dist/ui/word-diff/line-matching.d.ts +10 -0
  693. package/dist/ui/word-diff/line-matching.d.ts.map +1 -0
  694. package/dist/ui/word-diff/line-similarity.d.ts +16 -0
  695. package/dist/ui/word-diff/line-similarity.d.ts.map +1 -0
  696. package/dist/ui/word-diff/normalize.d.ts +3 -0
  697. package/dist/ui/word-diff/normalize.d.ts.map +1 -0
  698. package/dist/ui/word-diff/parse.d.ts +17 -0
  699. package/dist/ui/word-diff/parse.d.ts.map +1 -0
  700. package/dist/ui/word-diff/range-refinement.d.ts +5 -0
  701. package/dist/ui/word-diff/range-refinement.d.ts.map +1 -0
  702. package/dist/ui/word-diff/ranges.d.ts +11 -0
  703. package/dist/ui/word-diff/ranges.d.ts.map +1 -0
  704. package/dist/ui/word-diff/smart-filter.d.ts +3 -0
  705. package/dist/ui/word-diff/smart-filter.d.ts.map +1 -0
  706. package/dist/ui/word-diff/sparse-line-matching.d.ts +25 -0
  707. package/dist/ui/word-diff/sparse-line-matching.d.ts.map +1 -0
  708. package/dist/ui/word-diff/text-boundaries.d.ts +11 -0
  709. package/dist/ui/word-diff/text-boundaries.d.ts.map +1 -0
  710. package/dist/ui/word-diff/token-alignment.d.ts +9 -0
  711. package/dist/ui/word-diff/token-alignment.d.ts.map +1 -0
  712. package/dist/ui/word-diff/token-text-refinement.d.ts +4 -0
  713. package/dist/ui/word-diff/token-text-refinement.d.ts.map +1 -0
  714. package/dist/ui/word-diff/tokens.d.ts +16 -0
  715. package/dist/ui/word-diff/tokens.d.ts.map +1 -0
  716. package/dist/ui/word-diff/types.d.ts +10 -0
  717. package/dist/ui/word-diff/types.d.ts.map +1 -0
  718. package/dist/util.d.ts +3 -0
  719. package/dist/util.d.ts.map +1 -0
  720. package/dist/worker/options.d.ts +3 -0
  721. package/dist/worker/options.d.ts.map +1 -0
  722. package/dist/worker/options.js +104 -0
  723. package/dist/worker/options.js.map +7 -0
  724. package/dist/worker/run-record.d.ts +22 -0
  725. package/dist/worker/run-record.d.ts.map +1 -0
  726. package/dist/worker/run-record.js +123 -0
  727. package/dist/worker/run-record.js.map +7 -0
  728. package/dist/worker/session-export.d.ts +45 -0
  729. package/dist/worker/session-export.d.ts.map +1 -0
  730. package/dist/worker/session-export.js +91 -0
  731. package/dist/worker/session-export.js.map +7 -0
  732. package/dist/worker.d.ts +3 -0
  733. package/dist/worker.d.ts.map +1 -0
  734. package/dist/worker.js +1061 -0
  735. package/dist/worker.js.map +7 -0
  736. package/docs/agents.md +564 -0
  737. package/docs/architecture.md +139 -0
  738. package/docs/audit-trace.md +116 -0
  739. package/docs/certification.md +134 -0
  740. package/docs/compaction.md +332 -0
  741. package/docs/component-calculus.md +191 -0
  742. package/docs/components.md +329 -0
  743. package/docs/configuration.md +478 -0
  744. package/docs/entropy.md +396 -0
  745. package/docs/interface.md +149 -0
  746. package/docs/memory-recall.md +614 -0
  747. package/docs/programmatic-compaction.md +207 -0
  748. package/docs/provider-component-calculus.md +378 -0
  749. package/docs/providers.md +109 -0
  750. package/docs/repairs.md +69 -0
  751. package/docs/residency-runtime.md +82 -0
  752. package/docs/schema-enforcement.md +166 -0
  753. package/docs/skills.md +48 -0
  754. package/docs/speculation.md +132 -0
  755. package/docs/state-layer.md +197 -0
  756. package/package.json +116 -0
  757. package/skills/fabric-advisor/SKILL.md +29 -0
  758. package/skills/fabric-ambient/SKILL.md +44 -0
  759. package/skills/fabric-ambient/references/setup.md +90 -0
  760. package/skills/fabric-council/SKILL.md +94 -0
  761. package/skills/fabric-exec/SKILL.md +123 -0
  762. package/skills/fabric-exec/references/agents.md +211 -0
  763. package/skills/fabric-exec/references/mcp.md +49 -0
  764. package/skills/fabric-exec/references/mesh.md +51 -0
  765. package/skills/fabric-fusion/SKILL.md +332 -0
  766. package/skills/fabric-guide/SKILL.md +28 -0
  767. package/skills/fabric-rlm/SKILL.md +284 -0
  768. package/skills/fabric-schema/SKILL.md +121 -0
  769. package/skills/fabric-spec/SKILL.md +42 -0
  770. package/skills/fabric-supervisor/SKILL.md +37 -0
  771. package/skills/fabric-swarm/SKILL.md +80 -0
  772. package/skills/fabric-workflow/SKILL.md +133 -0
@@ -0,0 +1,1102 @@
1
+ import {
2
+ clip,
3
+ compactRedactedValue,
4
+ contentText,
5
+ messageError,
6
+ recordOf,
7
+ redact,
8
+ redactRecord,
9
+ terminalSafe,
10
+ unwrapActorEnvelopeText
11
+ } from "./chunk-DLXPTBPL.js";
12
+ import {
13
+ readJsonlPageFromDescriptor
14
+ } from "./chunk-UOSJZXJV.js";
15
+
16
+ // src/core/call-preview.ts
17
+ var HEADLINE_ARG_KEYS = [
18
+ "task",
19
+ "path",
20
+ "query",
21
+ "message",
22
+ "search",
23
+ "pattern",
24
+ "command",
25
+ "text",
26
+ "prompt",
27
+ "question",
28
+ "input",
29
+ "content",
30
+ "expression",
31
+ "url",
32
+ "topic",
33
+ "key",
34
+ "filter",
35
+ "name",
36
+ "q"
37
+ ];
38
+ var HEADLINE_SKIP_KEYS = /* @__PURE__ */ new Set([
39
+ "label",
40
+ "title",
41
+ "type",
42
+ "kind",
43
+ "mode",
44
+ "format",
45
+ "resultFormat",
46
+ "limit",
47
+ "max",
48
+ "offset",
49
+ "start",
50
+ "concurrency",
51
+ "overwrite",
52
+ "id",
53
+ "provider",
54
+ "namespace",
55
+ "server",
56
+ "tool",
57
+ "ref",
58
+ "recursive",
59
+ "synthesize",
60
+ "commandDigest"
61
+ ]);
62
+ var cleanOneLine = (value, max) => {
63
+ const single = value.replace(/\s+/g, " ").trim();
64
+ if (!single) return "";
65
+ return single.length <= max ? single : `${single.slice(0, Math.max(1, max - 1))}\u2026`;
66
+ };
67
+ var headlineArg = (args, max = 96) => {
68
+ if (!args) return void 0;
69
+ for (const key of HEADLINE_ARG_KEYS) {
70
+ const value = args[key];
71
+ if (typeof value === "string") {
72
+ const cleaned = cleanOneLine(value, max);
73
+ if (cleaned) return cleaned;
74
+ }
75
+ }
76
+ for (const [key, value] of Object.entries(args)) {
77
+ if (HEADLINE_SKIP_KEYS.has(key)) continue;
78
+ if (typeof value === "string") {
79
+ const cleaned = cleanOneLine(value, max);
80
+ if (cleaned) return cleaned;
81
+ }
82
+ }
83
+ return void 0;
84
+ };
85
+
86
+ // src/ui/preview-lines.ts
87
+ function countContentLines(content) {
88
+ if (!content) return 0;
89
+ let terminators = 0;
90
+ for (let index = 0; index < content.length; index++) {
91
+ const code = content.charCodeAt(index);
92
+ if (code === 13) {
93
+ terminators++;
94
+ if (content.charCodeAt(index + 1) === 10) index++;
95
+ } else if (code === 10) {
96
+ terminators++;
97
+ }
98
+ }
99
+ const finalCode = content.charCodeAt(content.length - 1);
100
+ return terminators + (finalCode === 10 || finalCode === 13 ? 0 : 1);
101
+ }
102
+ function selectPreviewTextLines(text, limit) {
103
+ if (!Number.isInteger(limit)) {
104
+ const lines = collectPreviewTextLines(text);
105
+ return { ...selectPreviewLines(lines, limit), total: lines.length };
106
+ }
107
+ const entries = [];
108
+ const split = limit >= 8;
109
+ const head = split ? Math.ceil(limit * 0.65) : limit;
110
+ const tailLimit = split ? Math.max(1, limit - head - 1) : 0;
111
+ const tail = [];
112
+ let tailSize = 0;
113
+ let tailCursor = 0;
114
+ let total = 0;
115
+ forEachPreviewTextLine(text, (line, index) => {
116
+ total++;
117
+ if (limit <= 0 || index < limit) entries.push({ kind: "line", line, index });
118
+ if (!split || index < head) return;
119
+ tail[tailCursor] = line;
120
+ if (++tailCursor === tailLimit) tailCursor = 0;
121
+ if (tailSize < tailLimit) tailSize++;
122
+ });
123
+ if (limit <= 0 || total <= limit) return { entries, shown: total, hidden: 0, total };
124
+ if (!split) return { entries, shown: limit, hidden: total - limit, total };
125
+ const hidden = total - head - tailLimit;
126
+ const selected = entries.slice(0, head);
127
+ selected.push({ kind: "hidden", hidden });
128
+ let tailSlot = tailSize === tailLimit ? tailCursor : 0;
129
+ for (let offset = 0; offset < tailSize; offset++) {
130
+ const line = tail[tailSlot];
131
+ if (line === void 0) throw new RangeError(`Missing preview tail line ${offset}`);
132
+ selected.push({ kind: "line", line, index: total - tailSize + offset });
133
+ if (++tailSlot === tailLimit) tailSlot = 0;
134
+ }
135
+ return { entries: selected, shown: head + tailLimit, hidden, total };
136
+ }
137
+ function selectPreviewLines(lines, limit) {
138
+ if (lines.length <= limit || limit <= 0) {
139
+ return {
140
+ entries: lines.map((line, index) => ({ kind: "line", line, index })),
141
+ shown: lines.length,
142
+ hidden: 0
143
+ };
144
+ }
145
+ if (limit < 8) {
146
+ return {
147
+ entries: lines.slice(0, limit).map((line, index) => ({ kind: "line", line, index })),
148
+ shown: limit,
149
+ hidden: lines.length - limit
150
+ };
151
+ }
152
+ const head = Math.ceil(limit * 0.65);
153
+ const tail = Math.max(1, limit - head - 1);
154
+ const hidden = lines.length - head - tail;
155
+ return {
156
+ entries: [
157
+ ...lines.slice(0, head).map((line, index) => ({ kind: "line", line, index })),
158
+ { kind: "hidden", hidden },
159
+ ...lines.slice(-tail).map((line, offset) => ({
160
+ kind: "line",
161
+ line,
162
+ index: lines.length - tail + offset
163
+ }))
164
+ ],
165
+ shown: head + tail,
166
+ hidden
167
+ };
168
+ }
169
+ function collectPreviewTextLines(text) {
170
+ const lines = [];
171
+ forEachPreviewTextLine(text, (line) => lines.push(line));
172
+ return lines;
173
+ }
174
+ function forEachPreviewTextLine(text, callback) {
175
+ let index = 0;
176
+ let pendingEmpty = 0;
177
+ forEachRawTextLine(text, (line) => {
178
+ if (line === "") {
179
+ pendingEmpty++;
180
+ return;
181
+ }
182
+ while (pendingEmpty > 0) {
183
+ callback("", index++);
184
+ pendingEmpty--;
185
+ }
186
+ callback(line, index++);
187
+ });
188
+ if (index === 0 && pendingEmpty > 0 && text.length > 0) callback("", index);
189
+ }
190
+ function forEachRawTextLine(text, callback) {
191
+ let start = 0;
192
+ while (start <= text.length) {
193
+ const newline = text.indexOf("\n", start);
194
+ if (newline < 0) {
195
+ callback(text.slice(start));
196
+ break;
197
+ }
198
+ callback(text.slice(start, newline));
199
+ start = newline + 1;
200
+ }
201
+ }
202
+
203
+ // src/providers/write-diff-limits.ts
204
+ var configuredMaxBytes = Number.parseInt(
205
+ process.env.CODE_PREVIEW_MAX_WRITE_DIFF_BYTES ?? "",
206
+ 10
207
+ );
208
+ var MAX_WRITE_DIFF_BYTES = Number.isFinite(configuredMaxBytes) && configuredMaxBytes > 0 ? configuredMaxBytes : 2e5;
209
+ var configuredMaxChangedLineCells = Number.parseInt(
210
+ process.env.CODE_PREVIEW_MAX_WRITE_DIFF_CHANGED_LINE_CELLS ?? "",
211
+ 10
212
+ );
213
+ var MAX_WRITE_DIFF_CHANGED_LINE_CELLS = Number.isFinite(configuredMaxChangedLineCells) && configuredMaxChangedLineCells > 0 ? configuredMaxChangedLineCells : 1e6;
214
+ var writeContentForPreview = (content) => Buffer.byteLength(content, "utf8") <= MAX_WRITE_DIFF_BYTES ? content : void 0;
215
+ var shouldSkipWriteDiffBytes = (...texts) => {
216
+ let total = 0;
217
+ for (const text of texts) {
218
+ total += Buffer.byteLength(text, "utf8");
219
+ if (total > MAX_WRITE_DIFF_BYTES) return true;
220
+ }
221
+ return false;
222
+ };
223
+ var shouldSkipWriteDiffComplexity = (before, after) => {
224
+ const beforeLines = before.split("\n");
225
+ const afterLines = after.split("\n");
226
+ const sharedLimit = Math.min(beforeLines.length, afterLines.length);
227
+ let prefix = 0;
228
+ while (prefix < sharedLimit && beforeLines[prefix] === afterLines[prefix]) prefix++;
229
+ let suffix = 0;
230
+ const suffixLimit = sharedLimit - prefix;
231
+ while (suffix < suffixLimit && beforeLines[beforeLines.length - suffix - 1] === afterLines[afterLines.length - suffix - 1]) {
232
+ suffix++;
233
+ }
234
+ const changedBefore = beforeLines.length - prefix - suffix;
235
+ const changedAfter = afterLines.length - prefix - suffix;
236
+ return changedBefore * changedAfter > MAX_WRITE_DIFF_CHANGED_LINE_CELLS;
237
+ };
238
+
239
+ // src/ui/transcript-reader.ts
240
+ import fs from "node:fs";
241
+
242
+ // src/ui/transcript-parser.ts
243
+ var MAX_TOOL_SUMMARY_CHARS = 500;
244
+ var MAX_TRANSCRIPT_MESSAGE_CHARS = 4e4;
245
+ var TRANSCRIPT_ENTRY_LIMIT = 80;
246
+ var TranscriptAccumulator = class {
247
+ entries = [];
248
+ #tools = /* @__PURE__ */ new Map();
249
+ #anonymousTools = /* @__PURE__ */ new Map();
250
+ #activeTools = [];
251
+ #assistant;
252
+ #retry;
253
+ #compaction;
254
+ #userMessages = /* @__PURE__ */ new Map();
255
+ #userBoundaries = /* @__PURE__ */ new Map();
256
+ #sequence = 0;
257
+ append(events) {
258
+ for (const event of events) this.#append(event);
259
+ }
260
+ snapshot(olderAvailable = false, updatedAt, maxEntries = TRANSCRIPT_ENTRY_LIMIT) {
261
+ const entries = maxEntries > 0 && this.entries.length > maxEntries ? this.entries.slice(-maxEntries) : this.entries;
262
+ const omitted = entries.length < this.entries.length;
263
+ return {
264
+ entries: entries.map((entry) => ({ ...entry })),
265
+ truncated: olderAvailable || omitted,
266
+ hasMore: olderAvailable || omitted,
267
+ ...updatedAt !== void 0 ? { updatedAt } : {}
268
+ };
269
+ }
270
+ #nextId(event, prefix = "event") {
271
+ if (typeof event.toolCallId === "string") return event.toolCallId;
272
+ if (typeof event.uuid === "string") return event.uuid;
273
+ if (typeof event.id === "string") return event.id;
274
+ return `${prefix}-${this.#sequence++}`;
275
+ }
276
+ #finishAssistant(status) {
277
+ if (!this.#assistant) return;
278
+ this.#assistant.status = status;
279
+ this.#assistant = void 0;
280
+ }
281
+ #pushMessage(kind, id, text, status = "completed", label = kind === "assistant" ? "Agent" : "User", identity) {
282
+ const display = kind === "user" ? unwrapActorEnvelopeText(text) ?? text : text;
283
+ const safe = clip(display, MAX_TRANSCRIPT_MESSAGE_CHARS, kind !== "user");
284
+ if (!safe) return;
285
+ const entry = { id, kind, label, text: safe, status };
286
+ if (kind === "user" && identity) {
287
+ const existing = this.#userMessages.get(identity);
288
+ if (existing) {
289
+ existing.text = safe;
290
+ return;
291
+ }
292
+ this.#userMessages.set(identity, entry);
293
+ }
294
+ this.entries.push(entry);
295
+ }
296
+ #userIdentity(event, message) {
297
+ if (event.type === "message_start" || event.type === "message_end" || event.type === "message") {
298
+ const timestamp = message.timestamp;
299
+ if (typeof timestamp === "number" && Number.isFinite(timestamp)) {
300
+ const base = JSON.stringify([timestamp, contentText(message.content)]);
301
+ let boundary = this.#userBoundaries.get(base);
302
+ if (!boundary || event.type === "message_start" && boundary.ended) {
303
+ boundary = { serial: (boundary?.serial ?? -1) + 1, ended: false };
304
+ this.#userBoundaries.set(base, boundary);
305
+ }
306
+ if (event.type === "message_end") boundary.ended = true;
307
+ return `user:${base}:${boundary.serial}`;
308
+ }
309
+ }
310
+ return void 0;
311
+ }
312
+ #toolParent(id) {
313
+ if (!id.startsWith("fabric_")) return void 0;
314
+ for (let index = this.#activeTools.length - 1; index >= 0; index--) {
315
+ const candidate = this.#activeTools[index];
316
+ if (candidate?.toolName === "fabric_exec" && candidate.status === "running") return candidate;
317
+ }
318
+ return void 0;
319
+ }
320
+ #startTool(id, label, args) {
321
+ const existing = this.#tools.get(id);
322
+ const safeArgs = args === void 0 ? void 0 : redactRecord(args);
323
+ if (existing) {
324
+ if (safeArgs !== void 0) existing.args = safeArgs;
325
+ if (args !== void 0) existing.text = compactRedactedValue(safeArgs ?? redact(args));
326
+ return existing;
327
+ }
328
+ const parent = this.#toolParent(id);
329
+ const safeLabel = terminalSafe(label) || "tool";
330
+ const entry = {
331
+ id,
332
+ kind: "tool",
333
+ label: safeLabel,
334
+ toolName: safeLabel,
335
+ status: "running",
336
+ ...safeArgs !== void 0 ? { args: safeArgs } : {},
337
+ ...args !== void 0 ? { text: compactRedactedValue(safeArgs ?? redact(args)) } : {},
338
+ ...parent ? { parentId: parent.id, depth: (parent.depth ?? 0) + 1 } : {}
339
+ };
340
+ this.entries.push(entry);
341
+ this.#tools.set(id, entry);
342
+ this.#activeTools.push(entry);
343
+ return entry;
344
+ }
345
+ #finishTool(id, label, result, failed) {
346
+ const safeLabel = terminalSafe(label) || "tool";
347
+ const anonymous = this.#anonymousTools.get(safeLabel);
348
+ const entry = id ? this.#tools.get(id) : anonymous?.shift();
349
+ if (anonymous?.length === 0) this.#anonymousTools.delete(safeLabel);
350
+ const safeResult = result === void 0 ? void 0 : redact(result);
351
+ if (entry) {
352
+ entry.status = failed ? "failed" : "completed";
353
+ if (safeResult !== void 0) entry.result = safeResult;
354
+ if (failed && result !== void 0) {
355
+ const failure = compactRedactedValue(safeResult);
356
+ entry.text = clip(
357
+ `${entry.text ? `${entry.text} \xB7 ` : ""}error: ${failure}`,
358
+ MAX_TOOL_SUMMARY_CHARS
359
+ );
360
+ }
361
+ this.#tools.delete(entry.id);
362
+ const activeIndex = this.#activeTools.indexOf(entry);
363
+ if (activeIndex >= 0) this.#activeTools.splice(activeIndex, 1);
364
+ return;
365
+ }
366
+ this.entries.push({
367
+ id: id ?? `tool-${this.#sequence++}`,
368
+ kind: "tool",
369
+ label: safeLabel,
370
+ toolName: safeLabel,
371
+ status: failed ? "failed" : "completed",
372
+ ...safeResult !== void 0 ? { result: safeResult } : {},
373
+ ...failed && safeResult !== void 0 ? { text: compactRedactedValue(safeResult) } : {}
374
+ });
375
+ }
376
+ #appendSessionMessage(event, message) {
377
+ const id = this.#nextId(event, "message");
378
+ if (message.role === "user") {
379
+ this.#pushMessage("user", id, contentText(message.content), "completed", "User", this.#userIdentity(event, message));
380
+ return;
381
+ }
382
+ if (message.role === "assistant") {
383
+ const error = messageError(message);
384
+ const text = contentText(message.content);
385
+ if (text) this.#pushMessage("assistant", id, text, error ? "failed" : "completed");
386
+ if (error) {
387
+ this.entries.push({
388
+ id: `${id}-error`,
389
+ kind: "error",
390
+ label: "Agent error",
391
+ text: error,
392
+ status: "failed"
393
+ });
394
+ }
395
+ if (Array.isArray(message.content)) {
396
+ for (const value of message.content) {
397
+ const part = recordOf(value);
398
+ if (part?.type !== "toolCall" || typeof part.name !== "string") continue;
399
+ const toolId = typeof part.id === "string" ? part.id : `session-tool-${this.#sequence++}`;
400
+ this.#startTool(toolId, part.name, part.arguments);
401
+ }
402
+ }
403
+ return;
404
+ }
405
+ if (message.role === "toolResult") {
406
+ const toolId = typeof message.toolCallId === "string" ? message.toolCallId : void 0;
407
+ const label = typeof message.toolName === "string" ? message.toolName : "tool";
408
+ this.#finishTool(
409
+ toolId,
410
+ label,
411
+ { content: message.content, ...message.details !== void 0 ? { details: message.details } : {} },
412
+ message.isError === true
413
+ );
414
+ }
415
+ }
416
+ #append(event) {
417
+ if (typeof event.type !== "string") return;
418
+ const id = this.#nextId(event);
419
+ if (event.type === "message") {
420
+ const message = recordOf(event.message);
421
+ if (message) this.#appendSessionMessage(event, message);
422
+ return;
423
+ }
424
+ if (event.type === "model_changed") {
425
+ const provider = typeof event.provider === "string" ? event.provider : "";
426
+ const model = typeof event.modelId === "string" ? event.modelId : "";
427
+ this.entries.push({
428
+ id,
429
+ kind: "status",
430
+ label: "Model changed",
431
+ ...provider || model ? { text: [provider, model].filter(Boolean).join("/") } : {},
432
+ status: "completed"
433
+ });
434
+ return;
435
+ }
436
+ if (event.type === "thinking_level_changed") {
437
+ this.entries.push({
438
+ id,
439
+ kind: "status",
440
+ label: "Thinking changed",
441
+ ...typeof event.thinkingLevel === "string" ? { text: event.thinkingLevel } : {},
442
+ status: "completed"
443
+ });
444
+ return;
445
+ }
446
+ if (event.type === "compaction") {
447
+ this.entries.push({
448
+ id,
449
+ kind: "status",
450
+ label: "Compacted context",
451
+ ...typeof event.summary === "string" ? { text: terminalSafe(event.summary) } : {},
452
+ status: "completed"
453
+ });
454
+ return;
455
+ }
456
+ if (event.type === "stream_event") {
457
+ const stream = recordOf(event.event);
458
+ const delta = recordOf(stream?.delta);
459
+ if (stream?.type === "content_block_delta" && delta?.type === "text_delta") {
460
+ const text = typeof delta.text === "string" ? terminalSafe(delta.text, false) : "";
461
+ if (!text) return;
462
+ if (!this.#assistant) {
463
+ this.#assistant = {
464
+ id,
465
+ kind: "assistant",
466
+ label: "Claude",
467
+ text: clip(text, MAX_TRANSCRIPT_MESSAGE_CHARS, false),
468
+ status: "running"
469
+ };
470
+ this.entries.push(this.#assistant);
471
+ } else {
472
+ this.#assistant.text = clip(
473
+ `${this.#assistant.text ?? ""}${text}`,
474
+ MAX_TRANSCRIPT_MESSAGE_CHARS,
475
+ false
476
+ );
477
+ }
478
+ }
479
+ return;
480
+ }
481
+ if (event.type === "assistant") {
482
+ const message = recordOf(event.message);
483
+ if (!message || message.role !== "assistant") return;
484
+ if (Array.isArray(message.content)) {
485
+ for (const value of message.content) {
486
+ const part = recordOf(value);
487
+ if (part?.type !== "tool_use") continue;
488
+ const toolId = typeof part.id === "string" ? part.id : `claude-tool-${this.#sequence++}`;
489
+ const label = typeof part.name === "string" ? part.name : "tool";
490
+ this.#startTool(toolId, label, part.input);
491
+ }
492
+ }
493
+ const text = terminalSafe(contentText(message.content));
494
+ if (text) {
495
+ if (this.#assistant) {
496
+ this.#assistant.text = clip(text, MAX_TRANSCRIPT_MESSAGE_CHARS);
497
+ this.#finishAssistant("completed");
498
+ } else {
499
+ this.#pushMessage("assistant", id, text, "completed", "Claude");
500
+ }
501
+ }
502
+ if (typeof event.error === "string") {
503
+ this.entries.push({
504
+ id: `${id}-error`,
505
+ kind: "error",
506
+ label: "Claude error",
507
+ text: clip(event.error, MAX_TOOL_SUMMARY_CHARS),
508
+ status: "failed"
509
+ });
510
+ }
511
+ return;
512
+ }
513
+ if (event.type === "user") {
514
+ const message = recordOf(event.message);
515
+ if (!message || !Array.isArray(message.content)) return;
516
+ let hasToolResult = false;
517
+ for (const value of message.content) {
518
+ const part = recordOf(value);
519
+ if (part?.type !== "tool_result" || typeof part.tool_use_id !== "string") continue;
520
+ hasToolResult = true;
521
+ this.#finishTool(part.tool_use_id, "tool", part.content, part.is_error === true);
522
+ }
523
+ if (!hasToolResult) this.#pushMessage("user", id, contentText(message.content));
524
+ return;
525
+ }
526
+ if (event.type === "result") {
527
+ this.#finishAssistant(event.is_error === true ? "failed" : "completed");
528
+ if (event.is_error === true || event.subtype !== "success") {
529
+ const errors = Array.isArray(event.errors) ? event.errors.filter((value) => typeof value === "string").join(" \xB7 ") : "";
530
+ const text = errors || (typeof event.result === "string" ? event.result : "Claude run failed");
531
+ this.entries.push({
532
+ id,
533
+ kind: "error",
534
+ label: "Claude result",
535
+ text: clip(text, MAX_TOOL_SUMMARY_CHARS),
536
+ status: "failed"
537
+ });
538
+ }
539
+ return;
540
+ }
541
+ if (event.type === "system" && event.subtype === "api_retry") {
542
+ this.entries.push({
543
+ id,
544
+ kind: "status",
545
+ label: "Claude API retry",
546
+ status: "running",
547
+ ...typeof event.error === "string" ? { text: clip(event.error, MAX_TOOL_SUMMARY_CHARS) } : {}
548
+ });
549
+ return;
550
+ }
551
+ if (event.type === "message_start") this.#finishAssistant("completed");
552
+ if (event.type === "message_start" || event.type === "message_update") {
553
+ const message = recordOf(event.message);
554
+ if (!message) return;
555
+ if (message.role === "user") {
556
+ if (event.type === "message_start") {
557
+ this.#pushMessage("user", id, contentText(message.content), "completed", "User", this.#userIdentity(event, message));
558
+ }
559
+ return;
560
+ }
561
+ if (message.role !== "assistant") return;
562
+ const text = terminalSafe(contentText(message.content));
563
+ if (!text) return;
564
+ if (!this.#assistant) {
565
+ this.#assistant = {
566
+ id,
567
+ kind: "assistant",
568
+ label: "Agent",
569
+ text: clip(text, MAX_TRANSCRIPT_MESSAGE_CHARS),
570
+ status: "running"
571
+ };
572
+ this.entries.push(this.#assistant);
573
+ } else {
574
+ this.#assistant.text = clip(text, MAX_TRANSCRIPT_MESSAGE_CHARS);
575
+ if (!this.entries.includes(this.#assistant)) this.entries.push(this.#assistant);
576
+ }
577
+ return;
578
+ }
579
+ if (event.type === "message_end") {
580
+ const message = recordOf(event.message);
581
+ if (!message) return;
582
+ if (message.role === "user") {
583
+ this.#pushMessage("user", id, contentText(message.content), "completed", "User", this.#userIdentity(event, message));
584
+ return;
585
+ }
586
+ if (message.role !== "assistant") return;
587
+ const error = messageError(message);
588
+ if (error) {
589
+ this.#finishAssistant("failed");
590
+ this.entries.push({ id, kind: "error", label: "Agent error", text: error, status: "failed" });
591
+ return;
592
+ }
593
+ const text = terminalSafe(contentText(message.content));
594
+ if (!text) {
595
+ this.#finishAssistant("completed");
596
+ return;
597
+ }
598
+ if (!this.#assistant) this.#pushMessage("assistant", id, text);
599
+ else {
600
+ this.#assistant.text = clip(text, MAX_TRANSCRIPT_MESSAGE_CHARS);
601
+ this.#finishAssistant("completed");
602
+ }
603
+ return;
604
+ }
605
+ if (event.type === "response" && event.command === "prompt" && event.success === false) {
606
+ const text = typeof event.error === "string" ? event.error : "OMP rejected the prompt";
607
+ this.entries.push({
608
+ id,
609
+ kind: "error",
610
+ label: "Prompt rejected",
611
+ text: clip(text, MAX_TOOL_SUMMARY_CHARS),
612
+ status: "failed"
613
+ });
614
+ return;
615
+ }
616
+ if (event.type === "tool_execution_start") {
617
+ const label = typeof event.toolName === "string" ? event.toolName : "tool";
618
+ const entry = this.#startTool(id, label, event.args);
619
+ if (typeof event.toolCallId !== "string") {
620
+ const key = terminalSafe(label) || "tool";
621
+ this.#tools.delete(entry.id);
622
+ this.#anonymousTools.set(key, [...this.#anonymousTools.get(key) ?? [], entry]);
623
+ }
624
+ return;
625
+ }
626
+ if (event.type === "tool_execution_end") {
627
+ const label = typeof event.toolName === "string" ? event.toolName : "tool";
628
+ this.#finishTool(
629
+ typeof event.toolCallId === "string" ? event.toolCallId : void 0,
630
+ label,
631
+ event.result,
632
+ event.isError === true
633
+ );
634
+ return;
635
+ }
636
+ if (event.type === "auto_retry_start") {
637
+ const attempt = typeof event.attempt === "number" ? ` ${event.attempt}` : "";
638
+ this.#retry = {
639
+ id,
640
+ kind: "status",
641
+ label: `Retry${attempt}`,
642
+ status: "running",
643
+ ...typeof event.errorMessage === "string" ? { text: clip(event.errorMessage, MAX_TOOL_SUMMARY_CHARS) } : {}
644
+ };
645
+ this.entries.push(this.#retry);
646
+ return;
647
+ }
648
+ if (event.type === "auto_retry_end") {
649
+ const failed = event.success === false;
650
+ if (this.#retry) {
651
+ this.#retry.status = failed ? "failed" : "completed";
652
+ if (failed && typeof event.finalError === "string") {
653
+ this.#retry.text = clip(event.finalError, MAX_TOOL_SUMMARY_CHARS);
654
+ }
655
+ this.#retry = void 0;
656
+ }
657
+ return;
658
+ }
659
+ if (event.type === "auto_compaction_start") {
660
+ this.#compaction = {
661
+ id,
662
+ kind: "status",
663
+ label: "Compacting context",
664
+ status: "running"
665
+ };
666
+ this.entries.push(this.#compaction);
667
+ return;
668
+ }
669
+ if (event.type === "auto_compaction_end") {
670
+ if (this.#compaction) {
671
+ const failed = event.aborted === true || typeof event.errorMessage === "string";
672
+ this.#compaction.status = failed ? "failed" : "completed";
673
+ if (typeof event.errorMessage === "string") {
674
+ this.#compaction.text = clip(event.errorMessage, MAX_TOOL_SUMMARY_CHARS);
675
+ }
676
+ this.#compaction = void 0;
677
+ }
678
+ return;
679
+ }
680
+ if (event.type === "extension_error" || event.type === "worker_stderr") {
681
+ const text = typeof event.error === "string" ? event.error : typeof event.text === "string" ? event.text : "Extension error";
682
+ const warningLines = text.split(/\r?\n/).filter((line) => line.trim());
683
+ const warningCount = event.type === "worker_stderr" && warningLines.length > 0 && warningLines.every((line) => /^\s*Warning:/.test(line)) ? warningLines.length : 0;
684
+ this.entries.push({
685
+ id,
686
+ kind: "error",
687
+ label: event.type === "worker_stderr" ? "Worker stderr" : "Error",
688
+ text: clip(text, warningCount > 0 ? MAX_TRANSCRIPT_MESSAGE_CHARS : MAX_TOOL_SUMMARY_CHARS),
689
+ ...event.type === "worker_stderr" ? { warningCount } : {},
690
+ status: "failed"
691
+ });
692
+ }
693
+ }
694
+ };
695
+ var parseRaw = (raw) => {
696
+ try {
697
+ return recordOf(JSON.parse(raw));
698
+ } catch {
699
+ return void 0;
700
+ }
701
+ };
702
+ var parsedEvents = (lines) => lines.map((line) => recordOf(line.parsed) ?? parseRaw(line.raw)).filter((event) => event !== void 0);
703
+ var normalizedToolStarts = (event) => {
704
+ if (event.type === "tool_execution_start" && typeof event.toolCallId === "string") {
705
+ return [{ id: event.toolCallId, event }];
706
+ }
707
+ const starts = [];
708
+ const appendContentStarts = (content, type) => {
709
+ if (!Array.isArray(content)) return;
710
+ for (const value of content) {
711
+ const part = recordOf(value);
712
+ if (part?.type !== type || typeof part.id !== "string") continue;
713
+ const name = typeof part.name === "string" ? part.name : "tool";
714
+ starts.push({
715
+ id: part.id,
716
+ event: {
717
+ type: "tool_execution_start",
718
+ toolCallId: part.id,
719
+ toolName: name,
720
+ args: type === "toolCall" ? part.arguments : part.input
721
+ }
722
+ });
723
+ }
724
+ };
725
+ if (event.type === "message") {
726
+ const message = recordOf(event.message);
727
+ if (message?.role === "assistant") appendContentStarts(message.content, "toolCall");
728
+ } else if (event.type === "assistant") {
729
+ const message = recordOf(event.message);
730
+ if (message?.role === "assistant") appendContentStarts(message.content, "tool_use");
731
+ }
732
+ return starts;
733
+ };
734
+ var toolLifecycleEndIds = (event) => {
735
+ if (event.type === "tool_execution_end" && typeof event.toolCallId === "string") {
736
+ return [event.toolCallId];
737
+ }
738
+ if (event.type === "message") {
739
+ const message2 = recordOf(event.message);
740
+ return message2?.role === "toolResult" && typeof message2.toolCallId === "string" ? [message2.toolCallId] : [];
741
+ }
742
+ if (event.type !== "user") return [];
743
+ const message = recordOf(event.message);
744
+ if (!Array.isArray(message?.content)) return [];
745
+ return message.content.flatMap((value) => {
746
+ const part = recordOf(value);
747
+ return part?.type === "tool_result" && typeof part.tool_use_id === "string" ? [part.tool_use_id] : [];
748
+ });
749
+ };
750
+ var missingToolStartIds = (events) => {
751
+ const active = /* @__PURE__ */ new Set();
752
+ const missing = /* @__PURE__ */ new Set();
753
+ for (const event of events) {
754
+ for (const start of normalizedToolStarts(event)) active.add(start.id);
755
+ for (const id of toolLifecycleEndIds(event)) {
756
+ if (active.has(id)) active.delete(id);
757
+ else missing.add(id);
758
+ }
759
+ }
760
+ return missing;
761
+ };
762
+
763
+ // src/ui/transcript-reader.ts
764
+ var PAGE_LINES = 40;
765
+ var TOOL_LIFECYCLE_CONTEXT_LINES = PAGE_LINES * 4;
766
+ var MAX_PAGE_BYTES = 512 * 1024;
767
+ var MAX_CACHE_ENTRIES = 32;
768
+ var FORWARD_READ_CHUNK_BYTES = 64 * 1024;
769
+ var completeLogEnd = (descriptor, size, fallback = 0) => {
770
+ if (size <= 0) return 0;
771
+ const scanFloor = Math.max(0, size - MAX_PAGE_BYTES);
772
+ let scanEnd = size;
773
+ while (scanEnd > scanFloor) {
774
+ const scanStart = Math.max(scanFloor, scanEnd - FORWARD_READ_CHUNK_BYTES);
775
+ const chunk = Buffer.allocUnsafe(scanEnd - scanStart);
776
+ const bytesRead = fs.readSync(descriptor, chunk, 0, chunk.length, scanStart);
777
+ if (bytesRead <= 0) return 0;
778
+ for (let index = bytesRead - 1; index >= 0; index--) {
779
+ if (chunk[index] === 10) return scanStart + index + 1;
780
+ }
781
+ scanEnd = scanStart;
782
+ }
783
+ return Math.min(fallback, size);
784
+ };
785
+ var readForwardPage = (descriptor, start, end) => {
786
+ const lines = [];
787
+ const readLimit = Math.min(end, Math.max(0, start) + MAX_PAGE_BYTES);
788
+ let readOffset = Math.max(0, start);
789
+ let pending = Buffer.alloc(0);
790
+ let pendingOffset = readOffset;
791
+ let pageEnd = readOffset;
792
+ while (readOffset < readLimit && lines.length < PAGE_LINES) {
793
+ const chunkSize = Math.min(FORWARD_READ_CHUNK_BYTES, readLimit - readOffset);
794
+ const chunk = Buffer.allocUnsafe(chunkSize);
795
+ const bytesRead = fs.readSync(descriptor, chunk, 0, chunkSize, readOffset);
796
+ if (bytesRead <= 0) break;
797
+ const data = pending.length > 0 ? Buffer.concat([pending, chunk.subarray(0, bytesRead)]) : chunk.subarray(0, bytesRead);
798
+ const dataOffset = pending.length > 0 ? pendingOffset : readOffset;
799
+ let lineStart = 0;
800
+ for (let index = 0; index < data.length; index++) {
801
+ if (data[index] !== 10) continue;
802
+ const raw = data.subarray(lineStart, index).toString("utf8").replace(/\r$/, "");
803
+ pageEnd = dataOffset + index + 1;
804
+ if (raw) {
805
+ const offset = dataOffset + lineStart;
806
+ const parsed = parseRaw(raw);
807
+ lines.push({ offset, raw, ...parsed ? { parsed } : {} });
808
+ if (lines.length >= PAGE_LINES) return { lines, end: pageEnd };
809
+ }
810
+ lineStart = index + 1;
811
+ }
812
+ pending = Buffer.from(data.subarray(lineStart));
813
+ pendingOffset = dataOffset + lineStart;
814
+ readOffset += bytesRead;
815
+ }
816
+ return { lines, end: readOffset >= end ? end : pageEnd };
817
+ };
818
+ var AgentTranscriptReader = class {
819
+ #cache = /* @__PURE__ */ new Map();
820
+ read(source, followLatest = true) {
821
+ const filePath = source.logFile;
822
+ if (!filePath) {
823
+ return { entries: [], truncated: false, hasMore: false, hasNewer: false };
824
+ }
825
+ const cached = this.#cache.get(filePath);
826
+ let descriptor;
827
+ try {
828
+ const noFollow = typeof fs.constants.O_NOFOLLOW === "number" ? fs.constants.O_NOFOLLOW : 0;
829
+ descriptor = fs.openSync(filePath, fs.constants.O_RDONLY | noFollow);
830
+ const stat = fs.fstatSync(descriptor);
831
+ if (!stat.isFile()) {
832
+ return cached?.transcript ?? {
833
+ entries: [],
834
+ truncated: false,
835
+ hasMore: false,
836
+ hasNewer: false
837
+ };
838
+ }
839
+ const sameFile = cached?.device === stat.dev && cached.inode === stat.ino;
840
+ const sameSizeRewrite = sameFile && cached.offset === stat.size && cached.modifiedAt !== stat.mtimeMs;
841
+ let state;
842
+ if (!cached || !sameFile || stat.size < cached.offset || sameSizeRewrite) {
843
+ state = this.#latestState(descriptor, stat);
844
+ } else if (stat.size !== cached.offset || stat.mtimeMs !== cached.modifiedAt) {
845
+ const wasAtTail = cached.pageEnd >= cached.completeEnd;
846
+ const completeEnd = completeLogEnd(descriptor, stat.size, cached.completeEnd);
847
+ if (cached.pageEnd > completeEnd || followLatest && wasAtTail && completeEnd > cached.completeEnd) {
848
+ state = this.#latestState(descriptor, stat, completeEnd);
849
+ } else {
850
+ state = {
851
+ ...cached,
852
+ modifiedAt: stat.mtimeMs,
853
+ offset: stat.size,
854
+ completeEnd,
855
+ transcript: {
856
+ ...cached.transcript,
857
+ hasNewer: cached.pageEnd < completeEnd,
858
+ updatedAt: stat.mtimeMs
859
+ }
860
+ };
861
+ }
862
+ } else {
863
+ state = cached;
864
+ }
865
+ this.#remember(filePath, state);
866
+ return state.transcript;
867
+ } catch {
868
+ return cached?.transcript ?? {
869
+ entries: [],
870
+ truncated: false,
871
+ hasMore: false,
872
+ hasNewer: false
873
+ };
874
+ } finally {
875
+ if (descriptor !== void 0) {
876
+ try {
877
+ fs.closeSync(descriptor);
878
+ } catch {
879
+ }
880
+ }
881
+ }
882
+ }
883
+ loadOlder(source) {
884
+ const filePath = source.logFile;
885
+ if (!filePath) return false;
886
+ this.read(source, false);
887
+ const cached = this.#cache.get(filePath);
888
+ if (!cached?.hasMore || cached.pageStart <= 0) return false;
889
+ let descriptor;
890
+ try {
891
+ const noFollow = typeof fs.constants.O_NOFOLLOW === "number" ? fs.constants.O_NOFOLLOW : 0;
892
+ descriptor = fs.openSync(filePath, fs.constants.O_RDONLY | noFollow);
893
+ const stat = fs.fstatSync(descriptor);
894
+ if (!stat.isFile() || stat.dev !== cached.device || stat.ino !== cached.inode) return false;
895
+ const completeEnd = completeLogEnd(descriptor, stat.size, cached.completeEnd);
896
+ const pageEnd = Math.min(cached.pageStart, completeEnd);
897
+ const page = readJsonlPageFromDescriptor(
898
+ descriptor,
899
+ PAGE_LINES,
900
+ pageEnd,
901
+ stat.size,
902
+ MAX_PAGE_BYTES
903
+ );
904
+ const pageStart = page.lines[0]?.offset;
905
+ if (pageStart === void 0) return false;
906
+ const state = this.#stateForPage(
907
+ descriptor,
908
+ stat,
909
+ completeEnd,
910
+ page.lines,
911
+ pageStart,
912
+ pageEnd,
913
+ page.hasMore
914
+ );
915
+ this.#remember(filePath, state);
916
+ return true;
917
+ } catch {
918
+ return false;
919
+ } finally {
920
+ if (descriptor !== void 0) {
921
+ try {
922
+ fs.closeSync(descriptor);
923
+ } catch {
924
+ }
925
+ }
926
+ }
927
+ }
928
+ loadNewer(source) {
929
+ const filePath = source.logFile;
930
+ if (!filePath) return false;
931
+ this.read(source, false);
932
+ const cached = this.#cache.get(filePath);
933
+ if (!cached || cached.pageEnd >= cached.completeEnd) return false;
934
+ let descriptor;
935
+ try {
936
+ const noFollow = typeof fs.constants.O_NOFOLLOW === "number" ? fs.constants.O_NOFOLLOW : 0;
937
+ descriptor = fs.openSync(filePath, fs.constants.O_RDONLY | noFollow);
938
+ const stat = fs.fstatSync(descriptor);
939
+ if (!stat.isFile() || stat.dev !== cached.device || stat.ino !== cached.inode) return false;
940
+ const completeEnd = completeLogEnd(descriptor, stat.size, cached.completeEnd);
941
+ const page = readForwardPage(descriptor, cached.pageEnd, completeEnd);
942
+ if (page.lines.length === 0 || page.end <= cached.pageEnd) return false;
943
+ const state = this.#stateForPage(
944
+ descriptor,
945
+ stat,
946
+ completeEnd,
947
+ page.lines,
948
+ cached.pageEnd,
949
+ page.end,
950
+ cached.pageEnd > 0
951
+ );
952
+ this.#remember(filePath, state);
953
+ return true;
954
+ } catch {
955
+ return false;
956
+ } finally {
957
+ if (descriptor !== void 0) {
958
+ try {
959
+ fs.closeSync(descriptor);
960
+ } catch {
961
+ }
962
+ }
963
+ }
964
+ }
965
+ loadLatest(source) {
966
+ const filePath = source.logFile;
967
+ if (!filePath) return false;
968
+ this.read(source, false);
969
+ const cached = this.#cache.get(filePath);
970
+ let descriptor;
971
+ try {
972
+ const noFollow = typeof fs.constants.O_NOFOLLOW === "number" ? fs.constants.O_NOFOLLOW : 0;
973
+ descriptor = fs.openSync(filePath, fs.constants.O_RDONLY | noFollow);
974
+ const stat = fs.fstatSync(descriptor);
975
+ if (!stat.isFile()) return false;
976
+ if (cached && (stat.dev !== cached.device || stat.ino !== cached.inode)) return false;
977
+ const completeEnd = completeLogEnd(descriptor, stat.size, cached?.completeEnd ?? 0);
978
+ const state = this.#latestState(descriptor, stat, completeEnd);
979
+ this.#remember(filePath, state);
980
+ return true;
981
+ } catch {
982
+ return false;
983
+ } finally {
984
+ if (descriptor !== void 0) {
985
+ try {
986
+ fs.closeSync(descriptor);
987
+ } catch {
988
+ }
989
+ }
990
+ }
991
+ }
992
+ clear() {
993
+ this.#cache.clear();
994
+ }
995
+ #latestState(descriptor, stat, knownCompleteEnd) {
996
+ const completeEnd = knownCompleteEnd ?? completeLogEnd(descriptor, stat.size);
997
+ const page = readJsonlPageFromDescriptor(
998
+ descriptor,
999
+ PAGE_LINES,
1000
+ completeEnd,
1001
+ stat.size,
1002
+ MAX_PAGE_BYTES
1003
+ );
1004
+ return this.#stateForPage(
1005
+ descriptor,
1006
+ stat,
1007
+ completeEnd,
1008
+ page.lines,
1009
+ page.lines[0]?.offset ?? completeEnd,
1010
+ completeEnd,
1011
+ page.hasMore
1012
+ );
1013
+ }
1014
+ #stateForPage(descriptor, stat, completeEnd, lines, pageStart, pageEnd, hasMore) {
1015
+ const events = parsedEvents(lines);
1016
+ const missingStarts = missingToolStartIds(events);
1017
+ const lifecycleContext = [];
1018
+ if (missingStarts.size > 0 && pageStart > 0) {
1019
+ const contextPage = readJsonlPageFromDescriptor(
1020
+ descriptor,
1021
+ TOOL_LIFECYCLE_CONTEXT_LINES,
1022
+ pageStart,
1023
+ stat.size,
1024
+ MAX_PAGE_BYTES
1025
+ );
1026
+ const contextEvents = parsedEvents(contextPage.lines);
1027
+ for (let index = contextEvents.length - 1; index >= 0 && missingStarts.size > 0; index--) {
1028
+ const starts = normalizedToolStarts(contextEvents[index]);
1029
+ for (let startIndex = starts.length - 1; startIndex >= 0; startIndex--) {
1030
+ const start = starts[startIndex];
1031
+ if (!missingStarts.delete(start.id)) continue;
1032
+ lifecycleContext.unshift(start.event);
1033
+ }
1034
+ }
1035
+ }
1036
+ const accumulator = new TranscriptAccumulator();
1037
+ accumulator.append([...lifecycleContext, ...events]);
1038
+ const transcript = {
1039
+ ...accumulator.snapshot(hasMore, stat.mtimeMs, Number.MAX_SAFE_INTEGER),
1040
+ hasNewer: pageEnd < completeEnd
1041
+ };
1042
+ return {
1043
+ device: stat.dev,
1044
+ inode: stat.ino,
1045
+ modifiedAt: stat.mtimeMs,
1046
+ offset: stat.size,
1047
+ completeEnd,
1048
+ pageStart,
1049
+ pageEnd,
1050
+ hasMore: transcript.hasMore ?? false,
1051
+ transcript
1052
+ };
1053
+ }
1054
+ #remember(filePath, state) {
1055
+ this.#cache.delete(filePath);
1056
+ this.#cache.set(filePath, state);
1057
+ while (this.#cache.size > MAX_CACHE_ENTRIES) {
1058
+ const oldest = this.#cache.keys().next().value;
1059
+ if (!oldest) break;
1060
+ this.#cache.delete(oldest);
1061
+ }
1062
+ }
1063
+ };
1064
+
1065
+ // src/ui/transcript.ts
1066
+ var PREVIEW_TREE_GUARD_MAX_DEPTH = 8;
1067
+ var isFabricAgentToolPreviewNode = (value, depth) => {
1068
+ const record = recordOf(value);
1069
+ if (!record || typeof record.id !== "string" || typeof record.name !== "string" || record.text !== void 0 && typeof record.text !== "string" || record.currentTool !== void 0 && typeof record.currentTool !== "string" || !Array.isArray(record.tools)) {
1070
+ return false;
1071
+ }
1072
+ if (record.agents === void 0) return true;
1073
+ if (depth >= PREVIEW_TREE_GUARD_MAX_DEPTH || !Array.isArray(record.agents)) return false;
1074
+ return record.agents.every((child) => isFabricAgentToolPreviewNode(child, depth + 1));
1075
+ };
1076
+ var isFabricAgentToolPreview = (value) => recordOf(value)?.kind === "fabric-agent-tools" && isFabricAgentToolPreviewNode(value, 0);
1077
+ var recentTranscriptTools = (transcript, limit = 2) => {
1078
+ const tools = transcript.entries.filter((entry) => entry.kind === "tool");
1079
+ const boundedLimit = Math.max(1, limit);
1080
+ const running = tools.filter((entry) => entry.status === "running");
1081
+ const completed = tools.filter((entry) => entry.status !== "running");
1082
+ const completedSlots = Math.max(0, boundedLimit - Math.min(running.length, boundedLimit));
1083
+ const retained = /* @__PURE__ */ new Set([
1084
+ ...running.slice(-boundedLimit),
1085
+ ...completed.slice(-completedSlots)
1086
+ ]);
1087
+ return tools.filter((entry) => retained.has(entry)).slice(-boundedLimit).map((entry) => ({ ...entry }));
1088
+ };
1089
+
1090
+ export {
1091
+ headlineArg,
1092
+ countContentLines,
1093
+ selectPreviewTextLines,
1094
+ MAX_WRITE_DIFF_BYTES,
1095
+ writeContentForPreview,
1096
+ shouldSkipWriteDiffBytes,
1097
+ shouldSkipWriteDiffComplexity,
1098
+ AgentTranscriptReader,
1099
+ isFabricAgentToolPreview,
1100
+ recentTranscriptTools
1101
+ };
1102
+ //# sourceMappingURL=chunk-HDJBUXDX.js.map