literally-aeo 0.1.1 → 0.2.1

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 (369) hide show
  1. package/README.md +71 -7
  2. package/dist/author-tools.js +512 -461
  3. package/dist/cli.mjs +3512 -2010
  4. package/dist/lib/access/schema.js +6 -6
  5. package/dist/lib/agents/author-schema.js +11 -12
  6. package/dist/lib/agents/author-validation.js +19 -20
  7. package/dist/lib/agents/copy-validation.js +22 -22
  8. package/dist/lib/agents/copywriter-input.js +22 -7
  9. package/dist/lib/agents/facts.js +21 -6
  10. package/dist/lib/agents/narrative-facts.js +20 -2
  11. package/dist/lib/agents/verifier.js +26 -25
  12. package/dist/lib/analysis/domain-classifier.js +21 -22
  13. package/dist/lib/analysis/domain-labels.js +11 -12
  14. package/dist/lib/analysis/progress-schema.js +2 -2
  15. package/dist/lib/analysis/progress.js +19 -21
  16. package/dist/lib/analysis/retrieval.js +20 -3
  17. package/dist/lib/analysis/scoring.js +20 -3
  18. package/dist/lib/analysis/search-analyzer.js +19 -5
  19. package/dist/lib/analysis/sentiment.js +18 -19
  20. package/dist/lib/author/examples.js +12 -13
  21. package/dist/lib/bundle/contracts.js +15 -14
  22. package/dist/lib/bundle/export.js +34 -31
  23. package/dist/lib/bundle/isolation.js +17 -0
  24. package/dist/lib/bundle/journal.js +14 -15
  25. package/dist/lib/bundle/project-journal.js +19 -18
  26. package/dist/lib/bundle/project.js +31 -28
  27. package/dist/lib/bundle/read.js +35 -32
  28. package/dist/lib/bundle/recorder.js +17 -16
  29. package/dist/lib/bundle/redact.js +14 -15
  30. package/dist/lib/bundle/trace-coverage.js +14 -15
  31. package/dist/lib/bundle/verify-integrity.js +16 -17
  32. package/dist/lib/bundle/verify-measurement.js +22 -23
  33. package/dist/lib/bundle/verify-report.js +29 -30
  34. package/dist/lib/bundle/verify.js +37 -38
  35. package/dist/lib/bundle/writer-lock.js +3 -1
  36. package/dist/lib/capture-manifest.js +13 -14
  37. package/dist/lib/checks/crawler-access.js +4 -1
  38. package/dist/lib/checks/renderability.js +5 -1
  39. package/dist/lib/checks/run-checks.js +23 -19
  40. package/dist/lib/chunks/chunk-2B5QF6UQ.js +159 -0
  41. package/dist/lib/chunks/chunk-2FOKEIIN.js +93 -0
  42. package/dist/lib/chunks/{chunk-KRFHQQS7.js → chunk-2KH7LNK7.js} +24 -24
  43. package/dist/lib/chunks/{chunk-NVBMIPXR.js → chunk-3GPUCXVA.js} +44 -26
  44. package/dist/lib/chunks/{chunk-3EBWDHPK.js → chunk-3OE4UQIB.js} +14 -16
  45. package/dist/lib/chunks/{chunk-FNDJUELJ.js → chunk-3OWJBGQE.js} +14 -14
  46. package/dist/lib/chunks/{chunk-Y4OGZ3Q5.js → chunk-46PVVQYR.js} +1 -1
  47. package/dist/lib/chunks/{chunk-EV4DRS5M.js → chunk-4XIAXX7K.js} +1 -1
  48. package/dist/lib/chunks/{chunk-IBOWGKN7.js → chunk-52F5XYOW.js} +1 -1
  49. package/dist/lib/chunks/{chunk-3DG7GHFA.js → chunk-66DVMLGR.js} +10 -10
  50. package/dist/lib/chunks/{chunk-FFOVLI3U.js → chunk-66T7JC57.js} +12 -10
  51. package/dist/lib/chunks/{chunk-KMRQSIZW.js → chunk-6GOBBNDU.js} +16 -1
  52. package/dist/lib/chunks/{chunk-WUELMJ22.js → chunk-6HMHXSCS.js} +2 -2
  53. package/dist/lib/chunks/{chunk-SWS3K62X.js → chunk-6JICXLDA.js} +3 -3
  54. package/dist/lib/chunks/{chunk-SBAZBOPI.js → chunk-6P7EZJI7.js} +4 -2
  55. package/dist/lib/chunks/chunk-75DMLOQ7.js +127 -0
  56. package/dist/lib/chunks/{chunk-RMFT4KKK.js → chunk-7CW6U5WJ.js} +1 -1
  57. package/dist/lib/chunks/{chunk-5VNYUCLL.js → chunk-7HM6IZ3L.js} +6 -9
  58. package/dist/lib/chunks/{chunk-X6E44EGV.js → chunk-7LBSNDRR.js} +10 -8
  59. package/dist/lib/chunks/{chunk-S2AM76LT.js → chunk-7WO3FFPS.js} +3 -3
  60. package/dist/lib/chunks/{chunk-ULRXHSJL.js → chunk-7YDXD4MD.js} +9 -6
  61. package/dist/lib/chunks/{chunk-HFOYASRQ.js → chunk-AAFHXNLU.js} +4 -4
  62. package/dist/lib/chunks/{chunk-OBXAHX3L.js → chunk-AASWJR7Q.js} +1 -5
  63. package/dist/lib/chunks/{chunk-MD4AVTK2.js → chunk-AJKV46SM.js} +3 -3
  64. package/dist/lib/chunks/{chunk-IEVAFDW7.js → chunk-AJO7XVXK.js} +12 -12
  65. package/dist/lib/chunks/{chunk-GMKF2FU4.js → chunk-AK6YNTCV.js} +1 -1
  66. package/dist/lib/chunks/{chunk-WKH6BJAZ.js → chunk-BFWK3TBN.js} +6 -6
  67. package/dist/lib/chunks/{chunk-FKLNEB2P.js → chunk-BGAHZIL3.js} +51 -17
  68. package/dist/lib/chunks/{chunk-ZCOI3HE2.js → chunk-BRENK356.js} +1 -1
  69. package/dist/lib/chunks/{chunk-S7KJZIUR.js → chunk-BXF4OC74.js} +18 -9
  70. package/dist/lib/chunks/{chunk-NCLFZOZU.js → chunk-CH7OCYDL.js} +1 -1
  71. package/dist/lib/chunks/{chunk-FPAN3VRW.js → chunk-DDS4G4DO.js} +27 -19
  72. package/dist/lib/chunks/{chunk-ZLOOC46D.js → chunk-DL6YQDTE.js} +34 -8
  73. package/dist/lib/chunks/chunk-DVFFYY5G.js +74 -0
  74. package/dist/lib/chunks/{chunk-PDS5KWO3.js → chunk-E2YTTB6Q.js} +56 -42
  75. package/dist/lib/chunks/{chunk-YR67JG2V.js → chunk-E3OGPTUY.js} +8 -3
  76. package/dist/lib/chunks/{chunk-SDWYZM64.js → chunk-EDQTINTL.js} +5 -1
  77. package/dist/lib/chunks/chunk-ESEMYWUH.js +257 -0
  78. package/dist/lib/chunks/{chunk-YHS5IEVZ.js → chunk-F2NSJ6PG.js} +12 -8
  79. package/dist/lib/chunks/{chunk-7GXRDAUY.js → chunk-F7DBTXKG.js} +6 -6
  80. package/dist/lib/chunks/chunk-FAUFE7MI.js +31 -0
  81. package/dist/lib/chunks/{chunk-4E4NDGOZ.js → chunk-FDM2YNQL.js} +1 -1
  82. package/dist/lib/chunks/{chunk-47IZBMP2.js → chunk-FIC7JSR4.js} +2 -2
  83. package/dist/lib/chunks/{chunk-CJ5YD3CU.js → chunk-FJL2V6P5.js} +6 -6
  84. package/dist/lib/chunks/{chunk-KHU5DRBE.js → chunk-FL6LN2K6.js} +9 -9
  85. package/dist/lib/chunks/{chunk-HSZ3DM74.js → chunk-GEFKDW7X.js} +15 -2
  86. package/dist/lib/chunks/{chunk-XNRSHATN.js → chunk-HI3PD3KR.js} +8 -8
  87. package/dist/lib/chunks/{chunk-AUB5THIS.js → chunk-I3UE52ZV.js} +2 -2
  88. package/dist/lib/chunks/{chunk-IAR6XGEW.js → chunk-J5NPHPXY.js} +5 -4
  89. package/dist/lib/chunks/{chunk-XJVXASDD.js → chunk-JBOOD6MU.js} +11 -10
  90. package/dist/lib/chunks/{chunk-5KKLUM7M.js → chunk-JKPBXPCW.js} +3 -3
  91. package/dist/lib/chunks/{chunk-5HT55QYX.js → chunk-JQDQVG3D.js} +1 -1
  92. package/dist/lib/chunks/{chunk-3KQFLOC7.js → chunk-JXBLGCXZ.js} +1 -1
  93. package/dist/lib/chunks/{chunk-D2INDP5W.js → chunk-JYFEXVWC.js} +7 -6
  94. package/dist/lib/chunks/{chunk-X2Y2ZNG3.js → chunk-K2FZFESR.js} +8 -8
  95. package/dist/lib/chunks/{chunk-DC6PN7QJ.js → chunk-K4Y5NT4M.js} +11 -7
  96. package/dist/lib/chunks/chunk-K7YFL5KB.js +182 -0
  97. package/dist/lib/chunks/{chunk-ZYSPTOKK.js → chunk-KQCRJIEG.js} +1 -1
  98. package/dist/lib/chunks/{chunk-LPND3VNQ.js → chunk-KSOHZKV5.js} +43 -35
  99. package/dist/lib/chunks/{chunk-FBFZBLTY.js → chunk-LR27H2HZ.js} +15 -16
  100. package/dist/lib/chunks/{chunk-KZR25REO.js → chunk-LTI2YYU3.js} +1 -1
  101. package/dist/lib/chunks/{chunk-EPQHVILQ.js → chunk-MA27TFEY.js} +5 -3
  102. package/dist/lib/chunks/{chunk-J46W3EMQ.js → chunk-MENTBQGB.js} +8 -7
  103. package/dist/lib/chunks/chunk-MPJCZN4G.js +155 -0
  104. package/dist/lib/chunks/{chunk-56VOFZ7T.js → chunk-MTDYBJXH.js} +92 -26
  105. package/dist/lib/chunks/{chunk-PCYNBDZ7.js → chunk-OD36HUXA.js} +17 -12
  106. package/dist/lib/chunks/{chunk-WDSCJEDG.js → chunk-OQFAMKLN.js} +11 -11
  107. package/dist/lib/chunks/{chunk-Z4LMDKBU.js → chunk-PWOYEIPF.js} +4 -4
  108. package/dist/lib/chunks/{chunk-XL4JIQ5X.js → chunk-PXB4PWJI.js} +7 -3
  109. package/dist/lib/chunks/{chunk-7ZOJE6BH.js → chunk-QGZ4QSUE.js} +8 -7
  110. package/dist/lib/chunks/chunk-QJZTDZMB.js +321 -0
  111. package/dist/lib/chunks/{chunk-MHAKYFDF.js → chunk-R2AJYV6A.js} +22 -22
  112. package/dist/lib/chunks/{chunk-5B3RNVZ6.js → chunk-RK57YZKM.js} +1 -1
  113. package/dist/lib/chunks/{chunk-ZXGATMMH.js → chunk-RPTADJXD.js} +1 -1
  114. package/dist/lib/chunks/{chunk-2NJEWPCV.js → chunk-RXSHKWZJ.js} +3 -3
  115. package/dist/lib/chunks/chunk-RYCRL3YA.js +106 -0
  116. package/dist/lib/chunks/{chunk-E3OEE5XN.js → chunk-SD7LR26G.js} +3 -3
  117. package/dist/lib/chunks/{chunk-GVC4LH2N.js → chunk-SIJOQRRK.js} +1 -1
  118. package/dist/lib/chunks/{chunk-ZBDUE3A5.js → chunk-SLAPBFRH.js} +12 -7
  119. package/dist/lib/chunks/{chunk-CKUTDJAB.js → chunk-SMPP7B7F.js} +45 -10
  120. package/dist/lib/chunks/{chunk-POUSX3T4.js → chunk-SQQ56UP2.js} +15 -6
  121. package/dist/lib/chunks/{chunk-I3TMFPK4.js → chunk-T5XQ6NXD.js} +6 -4
  122. package/dist/lib/chunks/{chunk-EYKINDNK.js → chunk-TAPVCSCR.js} +1 -1
  123. package/dist/lib/chunks/{chunk-ISN6MBNB.js → chunk-U5USH2HB.js} +7 -7
  124. package/dist/lib/chunks/chunk-U64NCRRR.js +97 -0
  125. package/dist/lib/chunks/{chunk-D2LPQO6Y.js → chunk-U6BW6LGX.js} +10 -3
  126. package/dist/lib/chunks/chunk-U772TN32.js +67 -0
  127. package/dist/lib/chunks/{chunk-XHWRSGX3.js → chunk-UYDQXXDQ.js} +4 -4
  128. package/dist/lib/chunks/{chunk-CPT2GKKW.js → chunk-V5JJEEBT.js} +1 -1
  129. package/dist/lib/chunks/{chunk-YWJPJI3W.js → chunk-VL253W5C.js} +3 -1
  130. package/dist/lib/chunks/{chunk-I7VNIW6Q.js → chunk-VPXYGN4I.js} +86 -15
  131. package/dist/lib/chunks/{chunk-Z7V63UZA.js → chunk-VXDMOB7O.js} +4 -4
  132. package/dist/lib/chunks/chunk-W5X7WJYL.js +91 -0
  133. package/dist/lib/chunks/{chunk-6AUEDSTU.js → chunk-WCLKIPJV.js} +1 -1
  134. package/dist/lib/chunks/{chunk-QFVRCSJ2.js → chunk-WDOA5JEH.js} +2 -0
  135. package/dist/lib/chunks/chunk-WDT2Y7D7.js +117 -0
  136. package/dist/lib/chunks/{chunk-OVUCZLH2.js → chunk-WIBMVNIH.js} +2 -2
  137. package/dist/lib/chunks/{chunk-5T3V6XJS.js → chunk-WNIXDMJL.js} +1 -1
  138. package/dist/lib/chunks/{chunk-OORO55OM.js → chunk-WZGI7UVM.js} +23 -8
  139. package/dist/lib/chunks/{chunk-2GY42RIJ.js → chunk-XAKME6NM.js} +1 -1
  140. package/dist/lib/chunks/{chunk-Q2PWES4B.js → chunk-XAN4CRFP.js} +33 -41
  141. package/dist/lib/chunks/{chunk-MIF5IYNR.js → chunk-XDG6NPJB.js} +26 -29
  142. package/dist/lib/chunks/{chunk-IPNK7FYT.js → chunk-XFUYEFQP.js} +1 -1
  143. package/dist/lib/chunks/{chunk-OQVIRYT5.js → chunk-XNTFOVCE.js} +2 -2
  144. package/dist/lib/chunks/chunk-Y2CZ6FZY.js +61 -0
  145. package/dist/lib/chunks/{chunk-D7GEQVLL.js → chunk-YKJHFD64.js} +1 -1
  146. package/dist/lib/chunks/chunk-YZEZRQIG.js +194 -0
  147. package/dist/lib/chunks/chunk-ZIGNJAPC.js +11 -0
  148. package/dist/lib/chunks/{chunk-5ZITQDVE.js → chunk-ZQ3ER7JD.js} +12 -13
  149. package/dist/lib/cli/bundle-commands.js +102 -94
  150. package/dist/lib/cli/guide-command.js +25 -0
  151. package/dist/lib/cli/io.js +1 -1
  152. package/dist/lib/cli/run-commands.js +310 -140
  153. package/dist/lib/cli/status-command.js +236 -0
  154. package/dist/lib/codex-workflow/aggregate.js +22 -24
  155. package/dist/lib/codex-workflow/author-search.js +4 -3
  156. package/dist/lib/codex-workflow/author-tools.js +18 -17
  157. package/dist/lib/codex-workflow/author.js +39 -36
  158. package/dist/lib/codex-workflow/capture.js +26 -25
  159. package/dist/lib/codex-workflow/checkpoint.js +14 -15
  160. package/dist/lib/codex-workflow/checks.js +16 -18
  161. package/dist/lib/codex-workflow/codex-binary.js +13 -0
  162. package/dist/lib/codex-workflow/codex-home.js +6 -3
  163. package/dist/lib/codex-workflow/copy-editor.js +33 -32
  164. package/dist/lib/codex-workflow/copy-recovery.js +12 -13
  165. package/dist/lib/codex-workflow/copy.js +30 -29
  166. package/dist/lib/codex-workflow/finish.js +37 -38
  167. package/dist/lib/codex-workflow/host-models.js +7 -7
  168. package/dist/lib/codex-workflow/loop.js +71 -65
  169. package/dist/lib/codex-workflow/quality.js +12 -13
  170. package/dist/lib/codex-workflow/run-inputs.js +13 -14
  171. package/dist/lib/codex-workflow/run-source.js +28 -24
  172. package/dist/lib/codex-workflow/schemas.js +12 -13
  173. package/dist/lib/codex-workflow/session.js +15 -16
  174. package/dist/lib/codex-workflow/stage.js +51 -45
  175. package/dist/lib/codex-workflow/workdir.js +14 -15
  176. package/dist/lib/engine/audit-file.js +18 -13
  177. package/dist/lib/engine/author.js +62 -53
  178. package/dist/lib/engine/budget.js +7 -1
  179. package/dist/lib/engine/cost-estimate.js +43 -0
  180. package/dist/lib/engine/local-run.js +79 -71
  181. package/dist/lib/engine/preflight.js +17 -13
  182. package/dist/lib/engine/rejudge.js +87 -79
  183. package/dist/lib/engine/resources.js +1 -1
  184. package/dist/lib/engine/run-configuration.js +2 -1
  185. package/dist/lib/engine/run-status.js +153 -0
  186. package/dist/lib/engine/templates.js +19 -14
  187. package/dist/lib/grounding/chromium-guard.js +13 -0
  188. package/dist/lib/grounding/controller.js +13 -12
  189. package/dist/lib/grounding/extract.js +12 -11
  190. package/dist/lib/grounding/fetch.js +4 -7
  191. package/dist/lib/grounding/file-store.js +5 -5
  192. package/dist/lib/grounding/grounding-runtime.js +34 -32
  193. package/dist/lib/grounding/guarded-request.js +18 -0
  194. package/dist/lib/grounding/model.js +11 -10
  195. package/dist/lib/grounding/profile.js +4 -4
  196. package/dist/lib/grounding/recorded-tools.js +18 -17
  197. package/dist/lib/grounding/session.js +3 -3
  198. package/dist/lib/grounding/tools.js +4 -3
  199. package/dist/lib/grounding/validation.js +2 -2
  200. package/dist/lib/harness/report/artifacts.js +12 -13
  201. package/dist/lib/harness/report/capture-coverage.js +4 -4
  202. package/dist/lib/lib/checkpoint.js +11 -12
  203. package/dist/lib/lib/progress-comparison.js +2 -2
  204. package/dist/lib/models/batching.js +5 -5
  205. package/dist/lib/models/cost-coefficients.js +20 -0
  206. package/dist/lib/models/local-profile.js +10 -0
  207. package/dist/lib/models/pricing.js +6 -0
  208. package/dist/lib/models/profiles.js +7 -14
  209. package/dist/lib/models/structured-images.js +1 -1
  210. package/dist/lib/models/structured.js +4 -4
  211. package/dist/lib/models/supported-models.js +20 -0
  212. package/dist/lib/pipeline.js +21 -21
  213. package/dist/lib/probes/agent-cli-parsers.js +1 -1
  214. package/dist/lib/probes/agent-clis.js +13 -12
  215. package/dist/lib/probes/charged-trace.js +10 -0
  216. package/dist/lib/probes/probes.js +12 -12
  217. package/dist/lib/probes/web-tool-guard.js +3 -3
  218. package/dist/lib/report/contracts.js +4 -4
  219. package/dist/lib/report/core/progress-comparison.js +2 -2
  220. package/dist/lib/report/core/progress-schema.js +2 -2
  221. package/dist/lib/report/core/schema.js +2 -4
  222. package/dist/lib/report/core/surfaces.js +1 -3
  223. package/dist/lib/runner.js +25 -26
  224. package/dist/lib/schema.js +20 -15
  225. package/dist/lib/section-result.js +15 -17
  226. package/dist/lib/stores/artifacts.js +18 -19
  227. package/dist/lib/stores/files.js +32 -32
  228. package/dist/lib/stores/local-versions.js +11 -12
  229. package/dist/lib/stores/memory.js +34 -35
  230. package/dist/lib/stores/publication.js +23 -23
  231. package/dist/lib/surfaces.js +1 -3
  232. package/dist/lib/viewer/server.js +38 -39
  233. package/dist/lib/workflow/schema.js +9 -10
  234. package/dist/types/agents/author-schema.d.ts +3 -3
  235. package/dist/types/agents/copy-validation.d.ts +4 -4
  236. package/dist/types/agents/verifier.d.ts +6 -6
  237. package/dist/types/analysis/scoring.d.ts +2 -2
  238. package/dist/types/bundle/contracts.d.ts +3 -2
  239. package/dist/types/bundle/isolation.d.ts +37 -0
  240. package/dist/types/bundle/project-journal.d.ts +2 -0
  241. package/dist/types/bundle/recorder.d.ts +4 -0
  242. package/dist/types/bundle/writer-lock.d.ts +9 -0
  243. package/dist/types/checks/crawler-access.d.ts +3 -2
  244. package/dist/types/checks/renderability.d.ts +8 -1
  245. package/dist/types/cli/guide-command.d.ts +4 -0
  246. package/dist/types/cli/status-command.d.ts +2 -0
  247. package/dist/types/codex-workflow/author-tools.d.ts +3 -3
  248. package/dist/types/codex-workflow/codex-binary.d.ts +26 -0
  249. package/dist/types/codex-workflow/codex-home.d.ts +24 -20
  250. package/dist/types/codex-workflow/copy-editor.d.ts +1 -1
  251. package/dist/types/codex-workflow/copy.d.ts +3 -4
  252. package/dist/types/codex-workflow/finish.d.ts +5 -3
  253. package/dist/types/codex-workflow/host-models.d.ts +7 -3
  254. package/dist/types/codex-workflow/loop.d.ts +10 -1
  255. package/dist/types/codex-workflow/run-inputs.d.ts +31 -113
  256. package/dist/types/codex-workflow/schemas.d.ts +6 -6
  257. package/dist/types/codex-workflow/stage.d.ts +16 -5
  258. package/dist/types/engine/audit-file.d.ts +9 -3
  259. package/dist/types/engine/author.d.ts +7 -1
  260. package/dist/types/engine/budget.d.ts +46 -15
  261. package/dist/types/engine/cost-estimate.d.ts +40 -0
  262. package/dist/types/engine/local-run.d.ts +6 -0
  263. package/dist/types/engine/preflight.d.ts +7 -0
  264. package/dist/types/engine/resources.d.ts +2 -0
  265. package/dist/types/engine/run-configuration.d.ts +4 -3
  266. package/dist/types/engine/run-status.d.ts +75 -0
  267. package/dist/types/engine/templates.d.ts +1 -2
  268. package/dist/types/grounding/chromium-guard.d.ts +41 -0
  269. package/dist/types/grounding/fetch.d.ts +0 -10
  270. package/dist/types/grounding/guarded-request.d.ts +76 -0
  271. package/dist/types/harness/report/artifacts.d.ts +1 -0
  272. package/dist/types/lib/checkpoint.d.ts +5 -6
  273. package/dist/types/models/cost-coefficients.d.ts +106 -0
  274. package/dist/types/models/local-profile.d.ts +12 -0
  275. package/dist/types/models/pricing.d.ts +8 -0
  276. package/dist/types/models/profiles.d.ts +55 -160
  277. package/dist/types/models/served-model.d.ts +2 -3
  278. package/dist/types/models/structured.d.ts +3 -3
  279. package/dist/types/models/supported-models.d.ts +48 -0
  280. package/dist/types/pipeline.d.ts +2 -1
  281. package/dist/types/probes/charged-trace.d.ts +8 -0
  282. package/dist/types/probes/probe-trace.d.ts +2 -0
  283. package/dist/types/probes/probes.d.ts +2 -1
  284. package/dist/types/report/contracts.d.ts +2 -0
  285. package/dist/types/report/core/schema.d.ts +3 -1
  286. package/dist/types/report/core/surfaces.d.ts +0 -1
  287. package/dist/types/schema.d.ts +50 -113
  288. package/dist/types/section-result.d.ts +1 -1
  289. package/dist/types/workflow/schema.d.ts +79 -152
  290. package/package.json +2 -1
  291. package/resources/guide/OPERATOR.md +189 -0
  292. package/src/agents/author-schema.ts +13 -1
  293. package/src/agents/author-validation.ts +2 -5
  294. package/src/agents/copy-validation.ts +8 -12
  295. package/src/agents/facts.ts +8 -8
  296. package/src/agents/narrative-facts.ts +9 -20
  297. package/src/agents/verifier.ts +12 -16
  298. package/src/analysis/progress.ts +1 -0
  299. package/src/analysis/scoring.ts +9 -13
  300. package/src/bundle/contracts.ts +9 -4
  301. package/src/bundle/isolation.ts +157 -0
  302. package/src/bundle/project-journal.ts +4 -0
  303. package/src/bundle/project.ts +20 -7
  304. package/src/bundle/recorder.ts +5 -0
  305. package/src/bundle/verify.ts +3 -3
  306. package/src/bundle/writer-lock.ts +27 -0
  307. package/src/capture-manifest.ts +4 -0
  308. package/src/checks/crawler-access.ts +70 -50
  309. package/src/checks/renderability.ts +113 -87
  310. package/src/checks/run-checks.ts +16 -3
  311. package/src/cli/guide-command.ts +28 -0
  312. package/src/cli/io.ts +2 -0
  313. package/src/cli/literally-aeo.ts +39 -19
  314. package/src/cli/run-commands.ts +238 -18
  315. package/src/cli/status-command.ts +113 -0
  316. package/src/codex-workflow/aggregate.ts +1 -0
  317. package/src/codex-workflow/author-tools.ts +39 -60
  318. package/src/codex-workflow/capture.ts +1 -0
  319. package/src/codex-workflow/codex-binary.ts +105 -0
  320. package/src/codex-workflow/codex-home.ts +50 -40
  321. package/src/codex-workflow/copy-editor.ts +3 -3
  322. package/src/codex-workflow/copy.ts +7 -10
  323. package/src/codex-workflow/finish.ts +13 -8
  324. package/src/codex-workflow/host-models.ts +33 -24
  325. package/src/codex-workflow/loop.ts +38 -11
  326. package/src/codex-workflow/stage.ts +126 -17
  327. package/src/engine/audit-file.ts +98 -9
  328. package/src/engine/author.ts +47 -2
  329. package/src/engine/budget.ts +138 -43
  330. package/src/engine/cost-estimate.ts +178 -0
  331. package/src/engine/guide/OPERATOR.md +189 -0
  332. package/src/engine/local-run.ts +38 -8
  333. package/src/engine/preflight.ts +140 -7
  334. package/src/engine/resources.ts +9 -4
  335. package/src/engine/run-configuration.ts +19 -1
  336. package/src/engine/run-status.ts +452 -0
  337. package/src/engine/templates.ts +5 -2
  338. package/src/grounding/chromium-guard.ts +273 -0
  339. package/src/grounding/controller.ts +1 -1
  340. package/src/grounding/fetch.ts +39 -276
  341. package/src/grounding/guarded-request.ts +428 -0
  342. package/src/grounding/tools.ts +2 -1
  343. package/src/grounding/validation.ts +1 -1
  344. package/src/lib/checkpoint.ts +15 -16
  345. package/src/models/cost-coefficients.ts +140 -0
  346. package/src/models/local-profile.ts +150 -0
  347. package/src/models/pricing.ts +31 -0
  348. package/src/models/profiles.ts +58 -419
  349. package/src/models/served-model.ts +2 -3
  350. package/src/models/structured-images.ts +5 -4
  351. package/src/models/structured.ts +20 -7
  352. package/src/models/supported-models.ts +112 -0
  353. package/src/pipeline.ts +13 -7
  354. package/src/probes/agent-clis.ts +26 -5
  355. package/src/probes/charged-trace.ts +87 -0
  356. package/src/probes/probe-trace.ts +2 -0
  357. package/src/probes/probes.ts +72 -12
  358. package/src/report/core/schema.ts +4 -1
  359. package/src/report/core/surfaces.ts +4 -8
  360. package/src/runner.ts +1 -0
  361. package/src/schema.ts +68 -4
  362. package/src/section-result.ts +6 -5
  363. package/dist/lib/chunks/chunk-6EH4N3EU.js +0 -113
  364. package/dist/lib/chunks/chunk-CFFPOTP4.js +0 -356
  365. package/dist/lib/chunks/chunk-LIZX4N3H.js +0 -110
  366. package/dist/lib/chunks/chunk-OYKV5NDM.js +0 -28
  367. package/dist/lib/chunks/chunk-SWJ7KQSL.js +0 -318
  368. package/dist/lib/chunks/chunk-WE2WPNG2.js +0 -104
  369. package/dist/lib/chunks/{chunk-XI5H46DF.js → chunk-SASE7U6E.js} +3 -3
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  answerBody,
3
3
  answerFilePath
4
- } from "./chunk-CPT2GKKW.js";
4
+ } from "./chunk-V5JJEEBT.js";
5
5
  import {
6
6
  CheckOutcome,
7
7
  checkFrom,
@@ -10,35 +10,35 @@ import {
10
10
  } from "./chunk-6KHQ7DXP.js";
11
11
  import {
12
12
  capturedRecordsSchema
13
- } from "./chunk-2NJEWPCV.js";
13
+ } from "./chunk-RXSHKWZJ.js";
14
14
  import {
15
15
  analyzeRowSchema,
16
16
  qualifyOutputSchema
17
- } from "./chunk-GVC4LH2N.js";
17
+ } from "./chunk-SIJOQRRK.js";
18
18
  import {
19
19
  bundlePaths,
20
20
  measurementDigest,
21
21
  planDocumentSchema
22
- } from "./chunk-I3TMFPK4.js";
22
+ } from "./chunk-T5XQ6NXD.js";
23
23
  import {
24
24
  canonicalDigest
25
25
  } from "./chunk-E6NQQU6V.js";
26
26
  import {
27
27
  capturePlan,
28
28
  validateCaptureManifest
29
- } from "./chunk-YHS5IEVZ.js";
30
- import {
31
- unitRecordKey
32
- } from "./chunk-ULRXHSJL.js";
29
+ } from "./chunk-F2NSJ6PG.js";
33
30
  import {
34
31
  locateVerbatimPassage
35
32
  } from "./chunk-3UFZ2XPE.js";
36
33
  import {
37
- aeoAuditConfigSchema
38
- } from "./chunk-ZLOOC46D.js";
34
+ unitRecordKey
35
+ } from "./chunk-7YDXD4MD.js";
39
36
  import {
40
37
  contentHash
41
38
  } from "./chunk-H2KDLDK6.js";
39
+ import {
40
+ aeoAuditConfigSchema
41
+ } from "./chunk-DL6YQDTE.js";
42
42
 
43
43
  // src/bundle/verify-measurement.ts
44
44
  import { z } from "zod";
@@ -1,19 +1,18 @@
1
1
  import {
2
2
  validateGroundingBundle
3
- } from "./chunk-ZYSPTOKK.js";
3
+ } from "./chunk-KQCRJIEG.js";
4
4
  import {
5
5
  buildNarrativeFacts
6
- } from "./chunk-5ZITQDVE.js";
6
+ } from "./chunk-ZQ3ER7JD.js";
7
+ import {
8
+ plannedProbeUnitsForSection
9
+ } from "./chunk-7YDXD4MD.js";
7
10
  import {
8
11
  isDomainCited
9
12
  } from "./chunk-HOJXKHPX.js";
10
13
  import {
11
14
  canonicalJson
12
15
  } from "./chunk-D5B4ZOW6.js";
13
- import {
14
- isAgentSurface,
15
- surfaceRunCounts
16
- } from "./chunk-OBXAHX3L.js";
17
16
 
18
17
  // src/agents/facts.ts
19
18
  import { createHash } from "node:crypto";
@@ -55,10 +54,13 @@ var buildFactCatalog = ({
55
54
  const rows = section.visibility.matrix.filter(
56
55
  (row) => row.surface === surface
57
56
  );
58
- const count = isAgentSurface(surface) ? Math.min(
59
- configured.prompts.length,
60
- config.agentProbes.maxPromptsPerSection ?? configured.prompts.length
61
- ) * config.agentProbes.runsPerPrompt : configured.prompts.length * surfaceRunCounts[surface];
57
+ const count = plannedProbeUnitsForSection({
58
+ sectionKey: section.key,
59
+ prompts: configured.prompts,
60
+ surfaces: [surface],
61
+ agentProbes: config.agentProbes,
62
+ chatProbes: config.chatProbes
63
+ }).length;
62
64
  for (const metric of ["mentions", "citations"]) {
63
65
  const numerator = rows.filter(
64
66
  (row) => metric === "mentions" ? row.prospectMentioned : isDomainCited(row.citedUrls ?? [], config.brand.domain)
@@ -82,9 +82,24 @@ var acquireWriterLock = async (dir, purpose) => {
82
82
  };
83
83
  return { takenOver, release };
84
84
  };
85
+ var readWriterLock = async (dir) => {
86
+ const owner = await readOwner(path.join(dir, writerLockFile)).catch(
87
+ // A lock torn mid-write reads as an unknown owner, never as no writer.
88
+ () => ({ host: "", pid: -1, purpose: "unknown", acquiredAt: "" })
89
+ );
90
+ if (owner === void 0) {
91
+ return void 0;
92
+ }
93
+ let state = "unknown";
94
+ if (owner.host === hostname()) {
95
+ state = owner.pid > 0 && isProcessAlive(owner.pid) ? "live" : "abandoned";
96
+ }
97
+ return { owner, state };
98
+ };
85
99
 
86
100
  export {
87
101
  writerLockFile,
88
102
  WriterLockHeldError,
89
- acquireWriterLock
103
+ acquireWriterLock,
104
+ readWriterLock
90
105
  };
@@ -4,11 +4,11 @@ import {
4
4
  import {
5
5
  publicSearchVocabulary,
6
6
  researchActionSchema
7
- } from "./chunk-EPQHVILQ.js";
7
+ } from "./chunk-MA27TFEY.js";
8
8
  import {
9
9
  generateStructured,
10
10
  structuredCallReservation
11
- } from "./chunk-PCYNBDZ7.js";
11
+ } from "./chunk-OD36HUXA.js";
12
12
  import {
13
13
  contentHash
14
14
  } from "./chunk-H2KDLDK6.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  checkpointScope
3
- } from "./chunk-XHWRSGX3.js";
3
+ } from "./chunk-UYDQXXDQ.js";
4
4
  import {
5
5
  runTechnicalChecks
6
- } from "./chunk-POUSX3T4.js";
6
+ } from "./chunk-SQQ56UP2.js";
7
7
  import {
8
8
  writeFileAtomically
9
9
  } from "./chunk-MX6Y4RD2.js";
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-2QLAFBCG.js";
16
16
  import {
17
17
  technicalChecksArtifactSchema
18
- } from "./chunk-5KKLUM7M.js";
18
+ } from "./chunk-JKPBXPCW.js";
19
19
 
20
20
  // src/codex-workflow/run-source.ts
21
21
  import { mkdir, readFile, writeFile } from "node:fs/promises";
@@ -18,13 +18,15 @@ var engineResources = async () => {
18
18
  return {
19
19
  root,
20
20
  author: path.join(packed, "author"),
21
- editorial: path.join(packed, "editorial")
21
+ editorial: path.join(packed, "editorial"),
22
+ guide: path.join(packed, "guide", "OPERATOR.md")
22
23
  };
23
24
  }
24
25
  return {
25
26
  root,
26
27
  author: path.join(root, "src", "author"),
27
- editorial: path.join(root, "src", "engine", "editorial")
28
+ editorial: path.join(root, "src", "engine", "editorial"),
29
+ guide: path.join(root, "src", "engine", "guide", "OPERATOR.md")
28
30
  };
29
31
  };
30
32
 
@@ -0,0 +1,127 @@
1
+ import {
2
+ withBoundedPage,
3
+ withGuardedChromium
4
+ } from "./chunk-K7YFL5KB.js";
5
+ import {
6
+ createLog
7
+ } from "./chunk-ZSEY7AHQ.js";
8
+ import {
9
+ describeSiteError
10
+ } from "./chunk-ESEMYWUH.js";
11
+
12
+ // src/checks/renderability.ts
13
+ import { load } from "cheerio";
14
+ var log = createLog("Renderability");
15
+ var fetchTimeoutInMs = 2e4;
16
+ var renderTimeoutInMs = 45e3;
17
+ var settleTimeoutInMs = 8e3;
18
+ var renderDeadlineInMs = 6e4;
19
+ var staticMaxBytes = 10 * 1024 * 1024;
20
+ var pageRedirects = 5;
21
+ var missingRatioThreshold = 0.4;
22
+ var missingCharsThreshold = 500;
23
+ var runRenderabilityCheck = async (moneyPages, site) => {
24
+ if (moneyPages.length === 0) {
25
+ return [];
26
+ }
27
+ const { result: results, connections } = await withGuardedChromium(
28
+ async (context) => {
29
+ const checked = [];
30
+ for (const url of moneyPages) {
31
+ const pageStartedAt = Date.now();
32
+ const result = await checkPage(url, context, site);
33
+ checked.push(result);
34
+ log.debug("Renderability page checked", {
35
+ url,
36
+ durationMs: Date.now() - pageStartedAt,
37
+ staticTextChars: result.staticTextChars,
38
+ renderedTextChars: result.renderedTextChars,
39
+ flagged: result.flagged,
40
+ error: result.error
41
+ });
42
+ }
43
+ return checked;
44
+ }
45
+ );
46
+ log.info("Renderability check completed", {
47
+ pages: results.length,
48
+ flagged: results.filter((r) => r.flagged).length,
49
+ errors: results.filter((r) => r.error).length,
50
+ connections
51
+ });
52
+ return results;
53
+ };
54
+ var failedPage = (url, error) => {
55
+ return {
56
+ url,
57
+ staticTextChars: 0,
58
+ renderedTextChars: 0,
59
+ missingRatio: 0,
60
+ flagged: false,
61
+ error
62
+ };
63
+ };
64
+ var renderText = (url, context) => {
65
+ return withBoundedPage(context, renderDeadlineInMs, async (page) => {
66
+ await page.goto(url, { waitUntil: "load", timeout: renderTimeoutInMs });
67
+ await page.waitForLoadState("networkidle", { timeout: settleTimeoutInMs }).catch(() => void 0);
68
+ const text = await page.evaluate(
69
+ () => document.querySelector("body")?.innerText ?? ""
70
+ );
71
+ return normalizeWhitespace(text);
72
+ });
73
+ };
74
+ var checkPage = async (url, context, site) => {
75
+ try {
76
+ const response = await site.request({
77
+ url,
78
+ timeoutInMs: fetchTimeoutInMs,
79
+ userAgent: "literally-aeo-audit/1.0",
80
+ accept: "text/html,application/xhtml+xml",
81
+ redirects: pageRedirects,
82
+ body: {
83
+ contentTypes: /^(text\/html|application\/xhtml\+xml|text\/plain)(;|$)/i,
84
+ maxBytes: staticMaxBytes,
85
+ oversize: "refuse"
86
+ }
87
+ });
88
+ if (response.status < 200 || response.status >= 300) {
89
+ return failedPage(url, `Static fetch failed: HTTP ${response.status}`);
90
+ }
91
+ const staticText = extractText(response.body?.toString("utf8") ?? "");
92
+ const renderedText = await site.pace(new URL(url), () => {
93
+ return renderText(url, context);
94
+ });
95
+ const staticChars = staticText.length;
96
+ const renderedChars = renderedText.length;
97
+ const missingChars = Math.max(0, renderedChars - staticChars);
98
+ const missingRatio = renderedChars > 0 ? missingChars / renderedChars : 0;
99
+ const flagged = missingRatio > missingRatioThreshold && missingChars > missingCharsThreshold;
100
+ return {
101
+ url,
102
+ staticTextChars: staticChars,
103
+ renderedTextChars: renderedChars,
104
+ missingRatio: Math.round(missingRatio * 1e3) / 1e3,
105
+ flagged,
106
+ error: null
107
+ };
108
+ } catch (error) {
109
+ log.warn("Renderability check failed for page", {
110
+ url,
111
+ error: describeSiteError(error)
112
+ });
113
+ return failedPage(url, describeSiteError(error));
114
+ }
115
+ };
116
+ var extractText = (html) => {
117
+ const $ = load(html);
118
+ $("script, style, noscript, template").remove();
119
+ return normalizeWhitespace($("body").text());
120
+ };
121
+ var normalizeWhitespace = (text) => {
122
+ return text.replace(/\s+/g, " ").trim();
123
+ };
124
+
125
+ export {
126
+ runRenderabilityCheck
127
+ };
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-2QLAFBCG.js";
10
10
  import {
11
11
  aeoAuditConfigSchema
12
- } from "./chunk-ZLOOC46D.js";
12
+ } from "./chunk-DL6YQDTE.js";
13
13
  import {
14
14
  aeoReportCopySchema
15
15
  } from "./chunk-PKB6JRJM.js";
@@ -1,13 +1,10 @@
1
1
  import {
2
2
  generateStructured,
3
3
  structuredCallReservation
4
- } from "./chunk-PCYNBDZ7.js";
4
+ } from "./chunk-OD36HUXA.js";
5
5
  import {
6
6
  InvalidReviewError
7
- } from "./chunk-FBFZBLTY.js";
8
- import {
9
- resolveInternalModelProfile
10
- } from "./chunk-CFFPOTP4.js";
7
+ } from "./chunk-LR27H2HZ.js";
11
8
 
12
9
  // src/agents/verifier.ts
13
10
  import { z } from "zod";
@@ -17,9 +14,9 @@ var verdictSchema = z.object({
17
14
  path: z.string(),
18
15
  /** The verdict itself. The premise findings and the flag must
19
16
  * agree, and only the flag lets `errors` reject a block: a
20
- * passing review may still carry stray text there. Measured
21
- * 2026-09-12: GLM wrote "None found." and "none" into `errors`
22
- * for blocks it had approved, and each cost a copy generation. */
17
+ * passing review may still carry stray text there: a measured
18
+ * model wrote "None found." and "none" into `errors` for blocks
19
+ * it had approved, and each cost a copy generation. */
23
20
  passed: z.boolean(),
24
21
  allPremisesCovered: z.boolean(),
25
22
  actionAppropriate: z.boolean(),
@@ -176,7 +173,7 @@ var checkPremiseVerdicts = (inputs, output) => {
176
173
  return { rejections, invalid };
177
174
  };
178
175
  var createRecommendationVerifier = (args) => {
179
- const profile = args.profile ?? resolveInternalModelProfile().roles.premiseVerifier;
176
+ const { profile } = args;
180
177
  return async (requested, signal) => {
181
178
  const history = await args.memory?.read() ?? {};
182
179
  const context = {
@@ -1,24 +1,26 @@
1
+ import {
2
+ canonicalResearchUrl,
3
+ fetchGroundingSource
4
+ } from "./chunk-MPJCZN4G.js";
1
5
  import {
2
6
  authorNotesSchema,
3
7
  authorOutputSchema
4
- } from "./chunk-D2LPQO6Y.js";
8
+ } from "./chunk-U6BW6LGX.js";
5
9
  import {
6
10
  banlist_default
7
11
  } from "./chunk-2PAO43CH.js";
8
- import {
9
- aeoAuditConfigSchema
10
- } from "./chunk-ZLOOC46D.js";
11
12
  import {
12
13
  credentialDetected
13
14
  } from "./chunk-NZFMOQHU.js";
14
15
  import {
15
- SourceRetrievalError,
16
- canonicalResearchUrl,
17
- fetchGroundingSource
18
- } from "./chunk-SWJ7KQSL.js";
16
+ SourceRetrievalError
17
+ } from "./chunk-ESEMYWUH.js";
19
18
  import {
20
19
  normalizeDomain
21
20
  } from "./chunk-QTXOW5XC.js";
21
+ import {
22
+ aeoAuditConfigSchema
23
+ } from "./chunk-DL6YQDTE.js";
22
24
 
23
25
  // src/agents/author-validation.ts
24
26
  var checkReachability = async (url, signal) => {
@@ -4,13 +4,13 @@ import {
4
4
  import {
5
5
  assertCopyValidation,
6
6
  copyCheckerVersion
7
- } from "./chunk-FBFZBLTY.js";
7
+ } from "./chunk-LR27H2HZ.js";
8
8
  import {
9
9
  internalModelProfileSchema
10
- } from "./chunk-CFFPOTP4.js";
10
+ } from "./chunk-RYCRL3YA.js";
11
11
  import {
12
12
  aeoSnapshotSchema
13
- } from "./chunk-SDWYZM64.js";
13
+ } from "./chunk-EDQTINTL.js";
14
14
 
15
15
  // src/stores/publication.ts
16
16
  var sameTriple = (actual, expected) => {
@@ -1,7 +1,10 @@
1
1
  import {
2
- isAgentSurface,
3
- surfaceRunCounts
4
- } from "./chunk-OBXAHX3L.js";
2
+ agentProbedPrompts,
3
+ runsPerPromptOn
4
+ } from "./chunk-DL6YQDTE.js";
5
+ import {
6
+ isAgentSurface
7
+ } from "./chunk-AASWJR7Q.js";
5
8
 
6
9
  // src/lib/checkpoint.ts
7
10
  import { createHash } from "node:crypto";
@@ -20,11 +23,11 @@ var unitRecordKey = (unit) => {
20
23
  var plannedProbeUnitsForSection = (args) => {
21
24
  const chatSurfaces = args.surfaces.filter((s) => !isAgentSurface(s));
22
25
  const agentSurfaces = args.surfaces.filter(isAgentSurface);
23
- const agentPrompts = args.agentProbes.maxPromptsPerSection ? args.prompts.slice(0, args.agentProbes.maxPromptsPerSection) : args.prompts;
26
+ const agentPrompts = agentProbedPrompts(args.prompts, args.agentProbes);
24
27
  const units = [];
25
28
  for (const prompt of args.prompts) {
26
29
  for (const surface of chatSurfaces) {
27
- for (let run = 1; run <= surfaceRunCounts[surface]; run += 1) {
30
+ for (let run = 1; run <= runsPerPromptOn(surface, args); run += 1) {
28
31
  units.push(
29
32
  createUnit({
30
33
  sectionKey: args.sectionKey,
@@ -38,7 +41,7 @@ var plannedProbeUnitsForSection = (args) => {
38
41
  }
39
42
  for (const prompt of agentPrompts) {
40
43
  for (const surface of agentSurfaces) {
41
- for (let run = 1; run <= args.agentProbes.runsPerPrompt; run += 1) {
44
+ for (let run = 1; run <= runsPerPromptOn(surface, args); run += 1) {
42
45
  units.push(
43
46
  createUnit({
44
47
  sectionKey: args.sectionKey,
@@ -2,17 +2,17 @@ import {
2
2
  bankDir,
3
3
  planLocalRun,
4
4
  runDirectoryState
5
- } from "./chunk-NVBMIPXR.js";
5
+ } from "./chunk-3GPUCXVA.js";
6
6
  import {
7
7
  localReportKey
8
- } from "./chunk-I7VNIW6Q.js";
8
+ } from "./chunk-VPXYGN4I.js";
9
9
  import {
10
10
  finalizeRevision,
11
11
  revisionsDir
12
- } from "./chunk-KHU5DRBE.js";
12
+ } from "./chunk-FL6LN2K6.js";
13
13
  import {
14
14
  readRunInputs
15
- } from "./chunk-2NJEWPCV.js";
15
+ } from "./chunk-RXSHKWZJ.js";
16
16
  import {
17
17
  derivedFile,
18
18
  predecessorDir,
@@ -31,9 +31,6 @@ var surfaceRunCounts = {
31
31
  codex: 2,
32
32
  cursor: 2
33
33
  };
34
- var plannedRunsPerPrompt = (surfaces) => {
35
- return surfaces.reduce((sum, surface) => sum + surfaceRunCounts[surface], 0);
36
- };
37
34
 
38
35
  export {
39
36
  chatSurfaces,
@@ -41,6 +38,5 @@ export {
41
38
  allSurfaces,
42
39
  surfaceLabels,
43
40
  isAgentSurface,
44
- surfaceRunCounts,
45
- plannedRunsPerPrompt
41
+ surfaceRunCounts
46
42
  };
@@ -8,15 +8,15 @@ import {
8
8
  } from "./chunk-SREGO3PU.js";
9
9
  import {
10
10
  assessTraceCoverage
11
- } from "./chunk-GMKF2FU4.js";
11
+ } from "./chunk-AK6YNTCV.js";
12
12
  import {
13
13
  readJournal
14
- } from "./chunk-3KQFLOC7.js";
14
+ } from "./chunk-JXBLGCXZ.js";
15
15
  import {
16
16
  bundlePaths,
17
17
  digestManifest,
18
18
  objectPathPrefix
19
- } from "./chunk-I3TMFPK4.js";
19
+ } from "./chunk-T5XQ6NXD.js";
20
20
  import {
21
21
  sha256Hex
22
22
  } from "./chunk-E6NQQU6V.js";
@@ -18,26 +18,17 @@ import {
18
18
  } from "./chunk-JS3GBU3R.js";
19
19
  import {
20
20
  batchModelInputs
21
- } from "./chunk-6AUEDSTU.js";
21
+ } from "./chunk-WCLKIPJV.js";
22
22
  import {
23
23
  generateStructured
24
- } from "./chunk-PCYNBDZ7.js";
24
+ } from "./chunk-OD36HUXA.js";
25
25
  import {
26
26
  createLog
27
27
  } from "./chunk-ZSEY7AHQ.js";
28
28
  import {
29
29
  domainClassifierVersion,
30
30
  learnedLabels
31
- } from "./chunk-ZCOI3HE2.js";
32
- import {
33
- internalModelRoleDigest
34
- } from "./chunk-CFFPOTP4.js";
35
- import {
36
- ModelBudgetError
37
- } from "./chunk-TNL2GWYR.js";
38
- import {
39
- sourceCategories
40
- } from "./chunk-SDWYZM64.js";
31
+ } from "./chunk-BRENK356.js";
41
32
  import {
42
33
  producerGuidance
43
34
  } from "./chunk-B5L2KMTU.js";
@@ -47,6 +38,15 @@ import {
47
38
  import {
48
39
  normalizeDomain
49
40
  } from "./chunk-QTXOW5XC.js";
41
+ import {
42
+ internalModelRoleDigest
43
+ } from "./chunk-RYCRL3YA.js";
44
+ import {
45
+ ModelBudgetError
46
+ } from "./chunk-TNL2GWYR.js";
47
+ import {
48
+ sourceCategories
49
+ } from "./chunk-EDQTINTL.js";
50
50
 
51
51
  // src/analysis/domain-classifier.ts
52
52
  import { createHash } from "node:crypto";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  operationKinds
3
- } from "./chunk-I3TMFPK4.js";
3
+ } from "./chunk-T5XQ6NXD.js";
4
4
  import {
5
5
  sha256Hex
6
6
  } from "./chunk-E6NQQU6V.js";
@@ -4,23 +4,23 @@ import {
4
4
  import {
5
5
  probeLimitsSchema
6
6
  } from "./chunk-W5XYW6ZM.js";
7
- import {
8
- coverageThresholdsSchema
9
- } from "./chunk-EZD2C7QS.js";
10
7
  import {
11
8
  generationBackendSchema,
12
9
  internalModelProfileIdSchema,
13
10
  internalModelProfileSchema
14
- } from "./chunk-CFFPOTP4.js";
11
+ } from "./chunk-RYCRL3YA.js";
12
+ import {
13
+ coverageThresholdsSchema
14
+ } from "./chunk-EZD2C7QS.js";
15
15
  import {
16
16
  modelBudgetLimitsSchema
17
17
  } from "./chunk-TNL2GWYR.js";
18
18
  import {
19
19
  reportAudienceSchema
20
- } from "./chunk-EV4DRS5M.js";
20
+ } from "./chunk-4XIAXX7K.js";
21
21
  import {
22
22
  reportKeySchema
23
- } from "./chunk-OVUCZLH2.js";
23
+ } from "./chunk-WIBMVNIH.js";
24
24
 
25
25
  // src/workflow/schema.ts
26
26
  import { z } from "zod";