literally-aeo 0.2.0 → 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 (265) hide show
  1. package/README.md +29 -1
  2. package/dist/author-tools.js +479 -397
  3. package/dist/cli.mjs +777 -382
  4. package/dist/lib/access/schema.js +6 -6
  5. package/dist/lib/agents/author-schema.js +10 -10
  6. package/dist/lib/agents/author-validation.js +18 -18
  7. package/dist/lib/agents/copy-validation.js +22 -21
  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 +25 -24
  12. package/dist/lib/analysis/domain-classifier.js +19 -20
  13. package/dist/lib/analysis/domain-labels.js +10 -10
  14. package/dist/lib/analysis/progress-schema.js +2 -2
  15. package/dist/lib/analysis/progress.js +18 -19
  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 +16 -17
  20. package/dist/lib/author/examples.js +11 -11
  21. package/dist/lib/bundle/contracts.js +14 -12
  22. package/dist/lib/bundle/export.js +27 -27
  23. package/dist/lib/bundle/isolation.js +2 -2
  24. package/dist/lib/bundle/journal.js +13 -13
  25. package/dist/lib/bundle/project-journal.js +17 -17
  26. package/dist/lib/bundle/project.js +25 -25
  27. package/dist/lib/bundle/read.js +28 -28
  28. package/dist/lib/bundle/recorder.js +15 -15
  29. package/dist/lib/bundle/redact.js +13 -13
  30. package/dist/lib/bundle/trace-coverage.js +13 -13
  31. package/dist/lib/bundle/verify-integrity.js +15 -15
  32. package/dist/lib/bundle/verify-measurement.js +21 -21
  33. package/dist/lib/bundle/verify-report.js +29 -29
  34. package/dist/lib/bundle/verify.js +37 -37
  35. package/dist/lib/capture-manifest.js +12 -12
  36. package/dist/lib/checks/crawler-access.js +4 -1
  37. package/dist/lib/checks/renderability.js +5 -1
  38. package/dist/lib/checks/run-checks.js +21 -18
  39. package/dist/lib/chunks/{chunk-BSRKN6FU.js → chunk-2FOKEIIN.js} +1 -1
  40. package/dist/lib/chunks/{chunk-JXMDOAKA.js → chunk-2KH7LNK7.js} +11 -11
  41. package/dist/lib/chunks/{chunk-HFRAHG5C.js → chunk-3GPUCXVA.js} +14 -14
  42. package/dist/lib/chunks/{chunk-TJQ5OPLQ.js → chunk-3OE4UQIB.js} +7 -7
  43. package/dist/lib/chunks/{chunk-FOCJ7HPC.js → chunk-3OWJBGQE.js} +11 -11
  44. package/dist/lib/chunks/{chunk-Y4OGZ3Q5.js → chunk-46PVVQYR.js} +1 -1
  45. package/dist/lib/chunks/{chunk-EV4DRS5M.js → chunk-4XIAXX7K.js} +1 -1
  46. package/dist/lib/chunks/{chunk-IBOWGKN7.js → chunk-52F5XYOW.js} +1 -1
  47. package/dist/lib/chunks/{chunk-OQU5IXAJ.js → chunk-66DVMLGR.js} +10 -10
  48. package/dist/lib/chunks/{chunk-FFOVLI3U.js → chunk-66T7JC57.js} +12 -10
  49. package/dist/lib/chunks/{chunk-IE7NAL6B.js → chunk-6HMHXSCS.js} +2 -2
  50. package/dist/lib/chunks/{chunk-7Z27HQWL.js → chunk-6JICXLDA.js} +3 -3
  51. package/dist/lib/chunks/chunk-75DMLOQ7.js +127 -0
  52. package/dist/lib/chunks/{chunk-6G25V4CF.js → chunk-7CW6U5WJ.js} +1 -1
  53. package/dist/lib/chunks/{chunk-622NMXN6.js → chunk-7HM6IZ3L.js} +2 -2
  54. package/dist/lib/chunks/{chunk-XR44YSHT.js → chunk-7LBSNDRR.js} +10 -8
  55. package/dist/lib/chunks/{chunk-F4W5YHDZ.js → chunk-7WO3FFPS.js} +2 -2
  56. package/dist/lib/chunks/{chunk-ULRXHSJL.js → chunk-7YDXD4MD.js} +9 -6
  57. package/dist/lib/chunks/{chunk-NGHAP2P5.js → chunk-AAFHXNLU.js} +4 -4
  58. package/dist/lib/chunks/{chunk-OBXAHX3L.js → chunk-AASWJR7Q.js} +1 -5
  59. package/dist/lib/chunks/{chunk-VPZQGND4.js → chunk-AJKV46SM.js} +3 -3
  60. package/dist/lib/chunks/{chunk-NCXSNHXX.js → chunk-AJO7XVXK.js} +12 -12
  61. package/dist/lib/chunks/{chunk-5JPYM4MD.js → chunk-AK6YNTCV.js} +1 -1
  62. package/dist/lib/chunks/{chunk-MNWO7EHC.js → chunk-BFWK3TBN.js} +2 -2
  63. package/dist/lib/chunks/{chunk-BGOIPHJZ.js → chunk-BGAHZIL3.js} +18 -12
  64. package/dist/lib/chunks/{chunk-ZCOI3HE2.js → chunk-BRENK356.js} +1 -1
  65. package/dist/lib/chunks/{chunk-KJMU5KH4.js → chunk-BXF4OC74.js} +18 -9
  66. package/dist/lib/chunks/{chunk-NCLFZOZU.js → chunk-CH7OCYDL.js} +1 -1
  67. package/dist/lib/chunks/{chunk-FUAUPNRO.js → chunk-DDS4G4DO.js} +7 -7
  68. package/dist/lib/chunks/{chunk-OKL7GN2F.js → chunk-DL6YQDTE.js} +31 -5
  69. package/dist/lib/chunks/{chunk-PDS5KWO3.js → chunk-E2YTTB6Q.js} +56 -42
  70. package/dist/lib/chunks/{chunk-UEMZYHYJ.js → chunk-E3OGPTUY.js} +1 -1
  71. package/dist/lib/chunks/{chunk-SDWYZM64.js → chunk-EDQTINTL.js} +5 -1
  72. package/dist/lib/chunks/chunk-ESEMYWUH.js +257 -0
  73. package/dist/lib/chunks/{chunk-YHS5IEVZ.js → chunk-F2NSJ6PG.js} +12 -8
  74. package/dist/lib/chunks/{chunk-BLKLPUYR.js → chunk-F7DBTXKG.js} +6 -6
  75. package/dist/lib/chunks/{chunk-EE26FNSY.js → chunk-FDM2YNQL.js} +1 -1
  76. package/dist/lib/chunks/{chunk-GESHTTSA.js → chunk-FIC7JSR4.js} +2 -2
  77. package/dist/lib/chunks/{chunk-RJ5R6YYA.js → chunk-FJL2V6P5.js} +6 -6
  78. package/dist/lib/chunks/{chunk-QSJ4IKUF.js → chunk-FL6LN2K6.js} +5 -5
  79. package/dist/lib/chunks/{chunk-663HABKP.js → chunk-HI3PD3KR.js} +8 -8
  80. package/dist/lib/chunks/{chunk-EJ655TVU.js → chunk-I3UE52ZV.js} +2 -2
  81. package/dist/lib/chunks/{chunk-ML4W6KC6.js → chunk-J5NPHPXY.js} +5 -4
  82. package/dist/lib/chunks/{chunk-V7OAPKNF.js → chunk-JBOOD6MU.js} +10 -9
  83. package/dist/lib/chunks/{chunk-YAAUWCJ4.js → chunk-JKPBXPCW.js} +3 -3
  84. package/dist/lib/chunks/{chunk-5HT55QYX.js → chunk-JQDQVG3D.js} +1 -1
  85. package/dist/lib/chunks/{chunk-YRBIC5QH.js → chunk-JXBLGCXZ.js} +1 -1
  86. package/dist/lib/chunks/{chunk-D2INDP5W.js → chunk-JYFEXVWC.js} +7 -6
  87. package/dist/lib/chunks/{chunk-W2VGLWTS.js → chunk-K2FZFESR.js} +10 -10
  88. package/dist/lib/chunks/{chunk-DC6PN7QJ.js → chunk-K4Y5NT4M.js} +11 -7
  89. package/dist/lib/chunks/chunk-K7YFL5KB.js +182 -0
  90. package/dist/lib/chunks/{chunk-ZYSPTOKK.js → chunk-KQCRJIEG.js} +1 -1
  91. package/dist/lib/chunks/{chunk-RR46EDDR.js → chunk-KSOHZKV5.js} +22 -22
  92. package/dist/lib/chunks/{chunk-R6XDZWUL.js → chunk-LR27H2HZ.js} +11 -11
  93. package/dist/lib/chunks/{chunk-KZR25REO.js → chunk-LTI2YYU3.js} +1 -1
  94. package/dist/lib/chunks/{chunk-EPQHVILQ.js → chunk-MA27TFEY.js} +5 -3
  95. package/dist/lib/chunks/{chunk-UZJSTJFP.js → chunk-MENTBQGB.js} +6 -5
  96. package/dist/lib/chunks/chunk-MPJCZN4G.js +155 -0
  97. package/dist/lib/chunks/{chunk-QHUDJVPJ.js → chunk-MTDYBJXH.js} +7 -7
  98. package/dist/lib/chunks/{chunk-BE4ENGUY.js → chunk-OQFAMKLN.js} +6 -6
  99. package/dist/lib/chunks/{chunk-SHUMCKCS.js → chunk-PWOYEIPF.js} +4 -4
  100. package/dist/lib/chunks/{chunk-4PD65FRJ.js → chunk-PXB4PWJI.js} +3 -3
  101. package/dist/lib/chunks/{chunk-7ZOJE6BH.js → chunk-QGZ4QSUE.js} +8 -7
  102. package/dist/lib/chunks/{chunk-GNMFJ2OK.js → chunk-QJZTDZMB.js} +8 -8
  103. package/dist/lib/chunks/{chunk-HQG63ZKO.js → chunk-R2AJYV6A.js} +17 -17
  104. package/dist/lib/chunks/{chunk-5B3RNVZ6.js → chunk-RK57YZKM.js} +1 -1
  105. package/dist/lib/chunks/{chunk-EBUQPCKB.js → chunk-RPTADJXD.js} +1 -1
  106. package/dist/lib/chunks/{chunk-GDKGZQ3T.js → chunk-RXSHKWZJ.js} +3 -3
  107. package/dist/lib/chunks/{chunk-CUYVHXHI.js → chunk-SD7LR26G.js} +3 -3
  108. package/dist/lib/chunks/{chunk-6GHHNPFJ.js → chunk-SIJOQRRK.js} +1 -1
  109. package/dist/lib/chunks/{chunk-2GU6CNQI.js → chunk-SLAPBFRH.js} +5 -5
  110. package/dist/lib/chunks/{chunk-2ROXN2EC.js → chunk-SMPP7B7F.js} +10 -10
  111. package/dist/lib/chunks/{chunk-L7MEIRJB.js → chunk-SQQ56UP2.js} +15 -6
  112. package/dist/lib/chunks/{chunk-WVACVWBL.js → chunk-T5XQ6NXD.js} +6 -4
  113. package/dist/lib/chunks/{chunk-EYKINDNK.js → chunk-TAPVCSCR.js} +1 -1
  114. package/dist/lib/chunks/{chunk-ISN6MBNB.js → chunk-U5USH2HB.js} +7 -7
  115. package/dist/lib/chunks/{chunk-MRL5RUP7.js → chunk-U6BW6LGX.js} +10 -3
  116. package/dist/lib/chunks/{chunk-3JO5TXBA.js → chunk-UYDQXXDQ.js} +4 -4
  117. package/dist/lib/chunks/{chunk-LOBXOZ2R.js → chunk-V5JJEEBT.js} +1 -1
  118. package/dist/lib/chunks/{chunk-OU73OUX4.js → chunk-VPXYGN4I.js} +71 -6
  119. package/dist/lib/chunks/{chunk-Z7V63UZA.js → chunk-VXDMOB7O.js} +4 -4
  120. package/dist/lib/chunks/{chunk-W5DC23OP.js → chunk-WCLKIPJV.js} +1 -1
  121. package/dist/lib/chunks/{chunk-7XO3SQAX.js → chunk-WDT2Y7D7.js} +1 -1
  122. package/dist/lib/chunks/{chunk-OVUCZLH2.js → chunk-WIBMVNIH.js} +2 -2
  123. package/dist/lib/chunks/{chunk-5T3V6XJS.js → chunk-WNIXDMJL.js} +1 -1
  124. package/dist/lib/chunks/{chunk-HTOD4W4E.js → chunk-WZGI7UVM.js} +2 -2
  125. package/dist/lib/chunks/{chunk-D3GE3OCB.js → chunk-XAKME6NM.js} +1 -1
  126. package/dist/lib/chunks/{chunk-I3XGRGXE.js → chunk-XAN4CRFP.js} +33 -41
  127. package/dist/lib/chunks/{chunk-AYY4MYTW.js → chunk-XFUYEFQP.js} +1 -1
  128. package/dist/lib/chunks/{chunk-G62E525I.js → chunk-XNTFOVCE.js} +2 -2
  129. package/dist/lib/chunks/{chunk-D7GEQVLL.js → chunk-YKJHFD64.js} +1 -1
  130. package/dist/lib/chunks/{chunk-VKM6MMA4.js → chunk-YZEZRQIG.js} +33 -2
  131. package/dist/lib/chunks/{chunk-5ZITQDVE.js → chunk-ZQ3ER7JD.js} +12 -13
  132. package/dist/lib/cli/bundle-commands.js +87 -85
  133. package/dist/lib/cli/run-commands.js +104 -100
  134. package/dist/lib/cli/status-command.js +73 -71
  135. package/dist/lib/codex-workflow/aggregate.js +21 -22
  136. package/dist/lib/codex-workflow/author-search.js +4 -3
  137. package/dist/lib/codex-workflow/author-tools.js +17 -15
  138. package/dist/lib/codex-workflow/author.js +36 -33
  139. package/dist/lib/codex-workflow/capture.js +24 -24
  140. package/dist/lib/codex-workflow/checkpoint.js +13 -13
  141. package/dist/lib/codex-workflow/checks.js +15 -16
  142. package/dist/lib/codex-workflow/copy-editor.js +30 -29
  143. package/dist/lib/codex-workflow/copy-recovery.js +11 -11
  144. package/dist/lib/codex-workflow/copy.js +27 -26
  145. package/dist/lib/codex-workflow/finish.js +34 -34
  146. package/dist/lib/codex-workflow/loop.js +62 -60
  147. package/dist/lib/codex-workflow/quality.js +11 -11
  148. package/dist/lib/codex-workflow/run-inputs.js +12 -12
  149. package/dist/lib/codex-workflow/run-source.js +26 -23
  150. package/dist/lib/codex-workflow/schemas.js +11 -11
  151. package/dist/lib/codex-workflow/session.js +14 -14
  152. package/dist/lib/codex-workflow/stage.js +43 -40
  153. package/dist/lib/codex-workflow/workdir.js +13 -13
  154. package/dist/lib/engine/audit-file.js +14 -10
  155. package/dist/lib/engine/author.js +50 -47
  156. package/dist/lib/engine/cost-estimate.js +18 -16
  157. package/dist/lib/engine/local-run.js +72 -70
  158. package/dist/lib/engine/preflight.js +11 -11
  159. package/dist/lib/engine/rejudge.js +78 -76
  160. package/dist/lib/engine/run-status.js +73 -71
  161. package/dist/lib/engine/templates.js +15 -11
  162. package/dist/lib/grounding/chromium-guard.js +13 -0
  163. package/dist/lib/grounding/controller.js +11 -10
  164. package/dist/lib/grounding/extract.js +10 -9
  165. package/dist/lib/grounding/fetch.js +4 -7
  166. package/dist/lib/grounding/file-store.js +5 -5
  167. package/dist/lib/grounding/grounding-runtime.js +32 -31
  168. package/dist/lib/grounding/guarded-request.js +18 -0
  169. package/dist/lib/grounding/model.js +9 -8
  170. package/dist/lib/grounding/profile.js +4 -4
  171. package/dist/lib/grounding/recorded-tools.js +16 -16
  172. package/dist/lib/grounding/session.js +3 -3
  173. package/dist/lib/grounding/tools.js +4 -3
  174. package/dist/lib/grounding/validation.js +2 -2
  175. package/dist/lib/harness/report/artifacts.js +11 -11
  176. package/dist/lib/harness/report/capture-coverage.js +4 -4
  177. package/dist/lib/lib/checkpoint.js +10 -10
  178. package/dist/lib/lib/progress-comparison.js +2 -2
  179. package/dist/lib/models/batching.js +3 -3
  180. package/dist/lib/models/structured.js +2 -2
  181. package/dist/lib/pipeline.js +19 -20
  182. package/dist/lib/probes/agent-clis.js +10 -10
  183. package/dist/lib/probes/probes.js +11 -11
  184. package/dist/lib/probes/web-tool-guard.js +3 -3
  185. package/dist/lib/report/contracts.js +4 -4
  186. package/dist/lib/report/core/progress-comparison.js +2 -2
  187. package/dist/lib/report/core/progress-schema.js +2 -2
  188. package/dist/lib/report/core/schema.js +2 -4
  189. package/dist/lib/report/core/surfaces.js +1 -3
  190. package/dist/lib/runner.js +23 -24
  191. package/dist/lib/schema.js +19 -13
  192. package/dist/lib/section-result.js +14 -15
  193. package/dist/lib/stores/artifacts.js +17 -17
  194. package/dist/lib/stores/files.js +31 -31
  195. package/dist/lib/stores/local-versions.js +10 -10
  196. package/dist/lib/stores/memory.js +33 -33
  197. package/dist/lib/stores/publication.js +23 -22
  198. package/dist/lib/surfaces.js +1 -3
  199. package/dist/lib/viewer/server.js +38 -38
  200. package/dist/lib/workflow/schema.js +8 -8
  201. package/dist/types/agents/author-schema.d.ts +3 -3
  202. package/dist/types/analysis/scoring.d.ts +2 -2
  203. package/dist/types/bundle/contracts.d.ts +3 -2
  204. package/dist/types/checks/crawler-access.d.ts +3 -2
  205. package/dist/types/checks/renderability.d.ts +8 -1
  206. package/dist/types/codex-workflow/author-tools.d.ts +3 -3
  207. package/dist/types/codex-workflow/run-inputs.d.ts +3 -0
  208. package/dist/types/codex-workflow/schemas.d.ts +6 -6
  209. package/dist/types/engine/audit-file.d.ts +6 -1
  210. package/dist/types/engine/preflight.d.ts +2 -0
  211. package/dist/types/grounding/chromium-guard.d.ts +41 -0
  212. package/dist/types/grounding/fetch.d.ts +0 -10
  213. package/dist/types/grounding/guarded-request.d.ts +76 -0
  214. package/dist/types/harness/report/artifacts.d.ts +1 -0
  215. package/dist/types/lib/checkpoint.d.ts +5 -6
  216. package/dist/types/pipeline.d.ts +2 -1
  217. package/dist/types/probes/probes.d.ts +2 -1
  218. package/dist/types/report/contracts.d.ts +2 -0
  219. package/dist/types/report/core/schema.d.ts +3 -1
  220. package/dist/types/report/core/surfaces.d.ts +0 -1
  221. package/dist/types/schema.d.ts +22 -0
  222. package/dist/types/section-result.d.ts +1 -1
  223. package/package.json +1 -1
  224. package/resources/guide/OPERATOR.md +12 -3
  225. package/src/agents/author-schema.ts +13 -1
  226. package/src/agents/author-validation.ts +2 -5
  227. package/src/agents/facts.ts +8 -8
  228. package/src/agents/narrative-facts.ts +9 -20
  229. package/src/agents/verifier.ts +2 -2
  230. package/src/analysis/progress.ts +1 -0
  231. package/src/analysis/scoring.ts +9 -13
  232. package/src/bundle/contracts.ts +7 -2
  233. package/src/bundle/verify.ts +3 -3
  234. package/src/capture-manifest.ts +4 -0
  235. package/src/checks/crawler-access.ts +70 -50
  236. package/src/checks/renderability.ts +113 -87
  237. package/src/checks/run-checks.ts +16 -3
  238. package/src/cli/run-commands.ts +2 -0
  239. package/src/codex-workflow/aggregate.ts +1 -0
  240. package/src/codex-workflow/author-tools.ts +39 -60
  241. package/src/codex-workflow/capture.ts +1 -0
  242. package/src/codex-workflow/copy-editor.ts +3 -3
  243. package/src/codex-workflow/loop.ts +2 -2
  244. package/src/engine/audit-file.ts +89 -2
  245. package/src/engine/guide/OPERATOR.md +12 -3
  246. package/src/engine/preflight.ts +50 -0
  247. package/src/grounding/chromium-guard.ts +273 -0
  248. package/src/grounding/controller.ts +1 -1
  249. package/src/grounding/fetch.ts +39 -276
  250. package/src/grounding/guarded-request.ts +428 -0
  251. package/src/grounding/tools.ts +2 -1
  252. package/src/grounding/validation.ts +1 -1
  253. package/src/lib/checkpoint.ts +15 -16
  254. package/src/pipeline.ts +13 -7
  255. package/src/probes/agent-clis.ts +2 -3
  256. package/src/probes/probes.ts +24 -10
  257. package/src/report/core/schema.ts +4 -1
  258. package/src/report/core/surfaces.ts +4 -8
  259. package/src/runner.ts +1 -0
  260. package/src/schema.ts +68 -4
  261. package/src/section-result.ts +6 -5
  262. package/dist/lib/chunks/chunk-6EH4N3EU.js +0 -113
  263. package/dist/lib/chunks/chunk-SWJ7KQSL.js +0 -318
  264. package/dist/lib/chunks/{chunk-CO5T6WU5.js → chunk-OD36HUXA.js} +3 -3
  265. package/dist/lib/chunks/{chunk-XI5H46DF.js → chunk-SASE7U6E.js} +3 -3
@@ -1,18 +1,15 @@
1
- import {
2
- proposedAssessmentSchema
3
- } from "./chunk-IE7NAL6B.js";
4
1
  import {
5
2
  ResearchLimitError,
6
3
  ResearchOwnershipError,
7
4
  researchCallCharge
8
- } from "./chunk-Y4OGZ3Q5.js";
5
+ } from "./chunk-46PVVQYR.js";
6
+ import {
7
+ proposedAssessmentSchema
8
+ } from "./chunk-6HMHXSCS.js";
9
9
  import {
10
10
  researchActionSchema,
11
11
  researchToolResultSchema
12
- } from "./chunk-EPQHVILQ.js";
13
- import {
14
- ModelBudgetError
15
- } from "./chunk-TNL2GWYR.js";
12
+ } from "./chunk-MA27TFEY.js";
16
13
  import {
17
14
  GroundingIntegrityError,
18
15
  adjudicationEvidenceDigest,
@@ -21,13 +18,16 @@ import {
21
18
  groundingDigest,
22
19
  validateCandidateOccurrences,
23
20
  validateGroundingBundle
24
- } from "./chunk-ZYSPTOKK.js";
21
+ } from "./chunk-KQCRJIEG.js";
25
22
  import {
26
23
  SourceRetrievalError
27
- } from "./chunk-SWJ7KQSL.js";
24
+ } from "./chunk-ESEMYWUH.js";
28
25
  import {
29
26
  contentHash
30
27
  } from "./chunk-H2KDLDK6.js";
28
+ import {
29
+ ModelBudgetError
30
+ } from "./chunk-TNL2GWYR.js";
31
31
  import {
32
32
  adjudicationVersion,
33
33
  claimCandidateSchema,
@@ -4,16 +4,19 @@ import {
4
4
  } from "./chunk-TCOH3FGE.js";
5
5
  import {
6
6
  computeAISearchSummary
7
- } from "./chunk-7ZOJE6BH.js";
7
+ } from "./chunk-QGZ4QSUE.js";
8
+ import {
9
+ agentProbedPrompts
10
+ } from "./chunk-DL6YQDTE.js";
8
11
  import {
9
12
  evidenceChunkFileName
10
- } from "./chunk-SDWYZM64.js";
13
+ } from "./chunk-EDQTINTL.js";
11
14
  import {
12
15
  agentSurfaces,
13
16
  allSurfaces,
14
17
  chatSurfaces,
15
18
  isAgentSurface
16
- } from "./chunk-OBXAHX3L.js";
19
+ } from "./chunk-AASWJR7Q.js";
17
20
 
18
21
  // src/section-result.ts
19
22
  var assembleSectionResult = (args, capture, analyses) => {
@@ -23,8 +26,8 @@ var assembleSectionResult = (args, capture, analyses) => {
23
26
  const selectedAgentSurfaces = args.surfaces.filter(
24
27
  (s) => isAgentSurface(s)
25
28
  );
26
- const agentRunsPerPrompt = args.agentProbes.runsPerPrompt;
27
- const agentPrompts = args.agentProbes.maxPromptsPerSection ? args.prompts.slice(0, args.agentProbes.maxPromptsPerSection) : args.prompts;
29
+ const depth = { agentProbes: args.agentProbes, chatProbes: args.chatProbes };
30
+ const agentPrompts = agentProbedPrompts(args.prompts, args.agentProbes);
28
31
  const probeCount = capture.probeCount;
29
32
  const analysisFailures = analyses.flatMap(
30
33
  (analysis) => analysis.error === null ? [] : [{ promptId: analysis.promptId, error: analysis.error }]
@@ -49,7 +52,8 @@ var assembleSectionResult = (args, capture, analyses) => {
49
52
  competitorDomains,
50
53
  prompts: promptsForScoring,
51
54
  results: allResults.filter((r) => !isAgentSurface(r.surface)).map(toScoringInput),
52
- surfaces: selectedChatSurfaces
55
+ surfaces: selectedChatSurfaces,
56
+ depth
53
57
  }) : null;
54
58
  const agentResults = allResults.filter((r) => isAgentSurface(r.surface));
55
59
  const agentSummary = selectedAgentSurfaces.length > 0 && agentPromptsForScoring.length > 0 ? computeAISearchSummary({
@@ -60,7 +64,7 @@ var assembleSectionResult = (args, capture, analyses) => {
60
64
  prompts: agentPromptsForScoring,
61
65
  results: agentResults.map(toScoringInput),
62
66
  surfaces: selectedAgentSurfaces,
63
- runsPerSurface: agentRunsPerPrompt
67
+ depth
64
68
  }) : null;
65
69
  const byModel = {};
66
70
  for (const summary of [chatSummary, agentSummary]) {
@@ -0,0 +1,182 @@
1
+ import {
2
+ resolvePublicAddress,
3
+ validateResearchUrl
4
+ } from "./chunk-ESEMYWUH.js";
5
+
6
+ // src/grounding/chromium-guard.ts
7
+ import { createServer } from "node:http";
8
+ import { connect } from "node:net";
9
+ var connectTimeoutInMs = 15e3;
10
+ var dialPublicAddress = (address) => {
11
+ return connect({ host: address.address, port: 443, family: address.family });
12
+ };
13
+ var toConnectTarget = (authority) => {
14
+ const separator = authority.lastIndexOf(":");
15
+ if (separator < 0 || authority.slice(separator + 1) !== "443") {
16
+ return void 0;
17
+ }
18
+ try {
19
+ return validateResearchUrl(`https://${authority.slice(0, separator)}/`);
20
+ } catch {
21
+ return void 0;
22
+ }
23
+ };
24
+ var startGuardingProxy = async (options = {}) => {
25
+ const { lookupHost, dial = dialPublicAddress } = options;
26
+ const counts = { allowed: 0, refused: 0 };
27
+ const sockets = /* @__PURE__ */ new Set();
28
+ const refuse = (client) => {
29
+ counts.refused += 1;
30
+ client.end("HTTP/1.1 403 Forbidden\r\n\r\n");
31
+ };
32
+ const server = createServer((_request, response) => {
33
+ counts.refused += 1;
34
+ response.writeHead(403).end();
35
+ });
36
+ const tunnel = async (authority, client, head) => {
37
+ const target = toConnectTarget(authority);
38
+ if (!target) {
39
+ refuse(client);
40
+ return;
41
+ }
42
+ let address2;
43
+ try {
44
+ address2 = await resolvePublicAddress(
45
+ target.hostname,
46
+ AbortSignal.timeout(connectTimeoutInMs),
47
+ lookupHost
48
+ );
49
+ } catch {
50
+ refuse(client);
51
+ return;
52
+ }
53
+ counts.allowed += 1;
54
+ const upstream = dial(address2);
55
+ sockets.add(upstream);
56
+ upstream.setTimeout(connectTimeoutInMs, () => {
57
+ upstream.destroy();
58
+ });
59
+ upstream.once("connect", () => {
60
+ upstream.setTimeout(0);
61
+ client.write("HTTP/1.1 200 Connection Established\r\n\r\n");
62
+ upstream.write(head);
63
+ upstream.pipe(client);
64
+ client.pipe(upstream);
65
+ });
66
+ upstream.once("error", () => {
67
+ client.end("HTTP/1.1 502 Bad Gateway\r\n\r\n");
68
+ });
69
+ upstream.once("close", () => {
70
+ sockets.delete(upstream);
71
+ client.destroy();
72
+ });
73
+ client.once("close", () => {
74
+ upstream.destroy();
75
+ });
76
+ };
77
+ server.on("connection", (socket) => {
78
+ sockets.add(socket);
79
+ socket.once("close", () => {
80
+ sockets.delete(socket);
81
+ });
82
+ });
83
+ server.on("connect", (request, client, head) => {
84
+ client.on("error", () => {
85
+ client.destroy();
86
+ });
87
+ void tunnel(request.url ?? "", client, head);
88
+ });
89
+ server.on("upgrade", (_request, client) => {
90
+ refuse(client);
91
+ });
92
+ await new Promise((resolve, reject) => {
93
+ server.once("error", reject);
94
+ server.listen(0, "127.0.0.1", resolve);
95
+ });
96
+ const address = server.address();
97
+ if (address === null || typeof address === "string") {
98
+ throw new Error("The guarding proxy did not bind a TCP port.");
99
+ }
100
+ return {
101
+ server: `http://127.0.0.1:${address.port}`,
102
+ counts: () => ({ ...counts }),
103
+ close: async () => {
104
+ for (const socket of sockets) {
105
+ socket.destroy();
106
+ }
107
+ await new Promise((resolve) => {
108
+ server.close(() => {
109
+ resolve();
110
+ });
111
+ });
112
+ }
113
+ };
114
+ };
115
+ var chromiumArgs = [
116
+ // Playwright proxies loopback too unless an environment variable turns
117
+ // that off; this flag comes last and keeps it on regardless.
118
+ "--proxy-bypass-list=<-loopback>",
119
+ // QUIC and WebRTC over UDP would leave beside an HTTP proxy.
120
+ "--disable-quic",
121
+ "--force-webrtc-ip-handling-policy=disable_non_proxied_udp"
122
+ ];
123
+ var isAllowedRequest = (request) => {
124
+ const url = new URL(request.url());
125
+ return url.protocol === "https:" && url.port === "" && request.resourceType() !== "media";
126
+ };
127
+ var withBoundedPage = async (context, deadlineInMs, use) => {
128
+ const page = await context.newPage();
129
+ const deadline = AbortSignal.timeout(deadlineInMs);
130
+ const closePage = () => {
131
+ void page.close().catch(() => void 0);
132
+ };
133
+ deadline.addEventListener("abort", closePage, { once: true });
134
+ try {
135
+ return await use(page);
136
+ } catch (error) {
137
+ if (deadline.aborted) {
138
+ throw new Error(
139
+ `The page did not finish rendering within ${deadlineInMs / 1e3} s.`,
140
+ { cause: error }
141
+ );
142
+ }
143
+ throw error;
144
+ } finally {
145
+ deadline.removeEventListener("abort", closePage);
146
+ await page.close();
147
+ }
148
+ };
149
+ var withGuardedChromium = async (use, options = {}) => {
150
+ const proxy = await startGuardingProxy(options.proxy);
151
+ try {
152
+ const { chromium } = await import("playwright");
153
+ const browser = await chromium.launch({
154
+ proxy: { server: proxy.server },
155
+ args: chromiumArgs
156
+ });
157
+ try {
158
+ const context = await browser.newContext({
159
+ acceptDownloads: false,
160
+ serviceWorkers: "block",
161
+ ...options.userAgent !== void 0 && {
162
+ userAgent: options.userAgent
163
+ }
164
+ });
165
+ await context.route("**/*", (route) => {
166
+ return isAllowedRequest(route.request()) ? route.continue() : route.abort();
167
+ });
168
+ const result = await use(context);
169
+ return { result, connections: proxy.counts() };
170
+ } finally {
171
+ await browser.close();
172
+ }
173
+ } finally {
174
+ await proxy.close();
175
+ }
176
+ };
177
+
178
+ export {
179
+ startGuardingProxy,
180
+ withBoundedPage,
181
+ withGuardedChromium
182
+ };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  validateResearchUrl
3
- } from "./chunk-SWJ7KQSL.js";
3
+ } from "./chunk-ESEMYWUH.js";
4
4
  import {
5
5
  contentHash
6
6
  } from "./chunk-H2KDLDK6.js";
@@ -4,29 +4,29 @@ import {
4
4
  partition,
5
5
  runStage,
6
6
  stageInputsDigest
7
- } from "./chunk-QHUDJVPJ.js";
7
+ } from "./chunk-MTDYBJXH.js";
8
8
  import {
9
9
  finishRun,
10
10
  writeFinished
11
- } from "./chunk-JXMDOAKA.js";
11
+ } from "./chunk-2KH7LNK7.js";
12
12
  import {
13
13
  copyEditHistory,
14
14
  editCopyDraft,
15
15
  readCopyEdits
16
- } from "./chunk-RJ5R6YYA.js";
16
+ } from "./chunk-FJL2V6P5.js";
17
17
  import {
18
18
  CopyVerificationUnavailableError
19
- } from "./chunk-KZR25REO.js";
19
+ } from "./chunk-LTI2YYU3.js";
20
20
  import {
21
21
  readStoredReview,
22
22
  reportQuality
23
- } from "./chunk-NCLFZOZU.js";
23
+ } from "./chunk-CH7OCYDL.js";
24
24
  import {
25
25
  copywriterFiles,
26
26
  materializeCopyInputs,
27
27
  readSnapshot,
28
28
  validateCopyDraft
29
- } from "./chunk-TJQ5OPLQ.js";
29
+ } from "./chunk-3OE4UQIB.js";
30
30
  import {
31
31
  hostModels,
32
32
  pinnedProfileOf
@@ -36,13 +36,13 @@ import {
36
36
  } from "./chunk-SBQ4TWGJ.js";
37
37
  import {
38
38
  aggregateWorkdir
39
- } from "./chunk-UZJSTJFP.js";
39
+ } from "./chunk-MENTBQGB.js";
40
40
  import {
41
41
  validateStage
42
- } from "./chunk-EJ655TVU.js";
42
+ } from "./chunk-I3UE52ZV.js";
43
43
  import {
44
44
  materializeWorkdir
45
- } from "./chunk-LOBXOZ2R.js";
45
+ } from "./chunk-V5JJEEBT.js";
46
46
  import {
47
47
  acquireWriterLock
48
48
  } from "./chunk-6GOBBNDU.js";
@@ -51,43 +51,43 @@ import {
51
51
  } from "./chunk-MX6Y4RD2.js";
52
52
  import {
53
53
  writeRunInputs
54
- } from "./chunk-GDKGZQ3T.js";
54
+ } from "./chunk-RXSHKWZJ.js";
55
55
  import {
56
56
  openRecorder,
57
57
  recordingAccounting
58
- } from "./chunk-4PD65FRJ.js";
58
+ } from "./chunk-PXB4PWJI.js";
59
59
  import {
60
60
  RunOrigin,
61
61
  measurementDigest
62
- } from "./chunk-WVACVWBL.js";
62
+ } from "./chunk-T5XQ6NXD.js";
63
63
  import {
64
64
  capturePlan
65
- } from "./chunk-YHS5IEVZ.js";
65
+ } from "./chunk-F2NSJ6PG.js";
66
66
  import {
67
67
  verdictSchemaFor
68
- } from "./chunk-622NMXN6.js";
68
+ } from "./chunk-7HM6IZ3L.js";
69
69
  import {
70
70
  classifyVerifierFailure
71
- } from "./chunk-R6XDZWUL.js";
71
+ } from "./chunk-LR27H2HZ.js";
72
72
  import {
73
73
  isObject
74
74
  } from "./chunk-7PLK6VGC.js";
75
75
  import {
76
76
  structuredFailureDiagnostic
77
77
  } from "./chunk-NANJGMEJ.js";
78
+ import {
79
+ GroundingIntegrityError
80
+ } from "./chunk-KQCRJIEG.js";
81
+ import {
82
+ contentHash
83
+ } from "./chunk-H2KDLDK6.js";
78
84
  import {
79
85
  ModelBudgetError
80
86
  } from "./chunk-TNL2GWYR.js";
81
87
  import {
82
88
  aeoSnapshotSchema,
83
89
  maxReviewRounds
84
- } from "./chunk-SDWYZM64.js";
85
- import {
86
- GroundingIntegrityError
87
- } from "./chunk-ZYSPTOKK.js";
88
- import {
89
- contentHash
90
- } from "./chunk-H2KDLDK6.js";
90
+ } from "./chunk-EDQTINTL.js";
91
91
  import {
92
92
  aeoReportCopySchema
93
93
  } from "./chunk-PKB6JRJM.js";
@@ -10,15 +10,6 @@ import {
10
10
  import {
11
11
  banlist_default
12
12
  } from "./chunk-2PAO43CH.js";
13
- import {
14
- aeoAuditConfigSchema
15
- } from "./chunk-OKL7GN2F.js";
16
- import {
17
- internalModelRoleDigest
18
- } from "./chunk-RYCRL3YA.js";
19
- import {
20
- ModelBudgetError
21
- } from "./chunk-TNL2GWYR.js";
22
13
  import {
23
14
  credentialDetected
24
15
  } from "./chunk-NZFMOQHU.js";
@@ -27,10 +18,19 @@ import {
27
18
  factCatalogVersion,
28
19
  factFingerprint,
29
20
  methodologyNote
30
- } from "./chunk-FFOVLI3U.js";
21
+ } from "./chunk-66T7JC57.js";
31
22
  import {
32
23
  validateGroundingBundle
33
- } from "./chunk-ZYSPTOKK.js";
24
+ } from "./chunk-KQCRJIEG.js";
25
+ import {
26
+ aeoAuditConfigSchema
27
+ } from "./chunk-DL6YQDTE.js";
28
+ import {
29
+ internalModelRoleDigest
30
+ } from "./chunk-RYCRL3YA.js";
31
+ import {
32
+ ModelBudgetError
33
+ } from "./chunk-TNL2GWYR.js";
34
34
  import {
35
35
  canonicalJson
36
36
  } from "./chunk-D5B4ZOW6.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-MX6Y4RD2.js";
4
4
  import {
5
5
  maxReviewRounds
6
- } from "./chunk-SDWYZM64.js";
6
+ } from "./chunk-EDQTINTL.js";
7
7
 
8
8
  // src/codex-workflow/copy-recovery.ts
9
9
  import { readFile } from "node:fs/promises";
@@ -1,10 +1,12 @@
1
+ import {
2
+ fetchGroundingSource
3
+ } from "./chunk-MPJCZN4G.js";
1
4
  import {
2
5
  GroundingIntegrityError
3
- } from "./chunk-ZYSPTOKK.js";
6
+ } from "./chunk-KQCRJIEG.js";
4
7
  import {
5
- fetchGroundingSource,
6
8
  validateResearchUrl
7
- } from "./chunk-SWJ7KQSL.js";
9
+ } from "./chunk-ESEMYWUH.js";
8
10
  import {
9
11
  contentHash
10
12
  } from "./chunk-H2KDLDK6.js";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  canonicalizeQualifiedNames
3
- } from "./chunk-EJ655TVU.js";
3
+ } from "./chunk-I3UE52ZV.js";
4
4
  import {
5
5
  assembleSectionResult
6
- } from "./chunk-DC6PN7QJ.js";
6
+ } from "./chunk-K4Y5NT4M.js";
7
7
  import {
8
8
  answerFilePath,
9
9
  answerSectionPrefix
10
- } from "./chunk-LOBXOZ2R.js";
10
+ } from "./chunk-V5JJEEBT.js";
11
11
  import {
12
12
  analyzeOutputSchema,
13
13
  qualifyOutputSchema
14
- } from "./chunk-6GHHNPFJ.js";
14
+ } from "./chunk-SIJOQRRK.js";
15
15
  import {
16
16
  extractCitedUrls,
17
17
  normalizeResponseText
@@ -149,7 +149,8 @@ var aggregateJudgments = (inputs, judgments) => {
149
149
  competitors,
150
150
  prompts: section.prompts,
151
151
  surfaces: inputs.surfaces,
152
- agentProbes: config.agentProbes
152
+ agentProbes: config.agentProbes,
153
+ chatProbes: config.chatProbes
153
154
  },
154
155
  {
155
156
  probeCount: sectionCapture.units.length,
@@ -0,0 +1,155 @@
1
+ import {
2
+ SourceRetrievalError,
3
+ guardedRequest,
4
+ validateResearchUrl
5
+ } from "./chunk-ESEMYWUH.js";
6
+ import {
7
+ contentHash
8
+ } from "./chunk-H2KDLDK6.js";
9
+ import {
10
+ sourceExtractionVersion
11
+ } from "./chunk-6RAKXYSR.js";
12
+
13
+ // src/grounding/fetch.ts
14
+ import { load } from "cheerio";
15
+ var sourceLimits = {
16
+ timeoutMs: 15e3,
17
+ receivedBytes: 2097152,
18
+ retainedBytes: 16384,
19
+ redirects: 3
20
+ };
21
+ var canonicalResearchUrl = (value) => {
22
+ const url = new URL(value);
23
+ url.hash = "";
24
+ url.hostname = url.hostname.toLowerCase();
25
+ if (url.pathname.length > 1 && url.pathname.endsWith("/")) {
26
+ url.pathname = url.pathname.slice(0, -1);
27
+ }
28
+ return url.href;
29
+ };
30
+ var boundedUtf8 = (text, bytes) => {
31
+ return Buffer.from(text).subarray(0, bytes).toString("utf8").replace(/\uFFFD$/, "");
32
+ };
33
+ var extractSourceDocument = (args) => {
34
+ const final = validateResearchUrl(args.finalUrl);
35
+ validateResearchUrl(args.requestedUrl);
36
+ if (Buffer.byteLength(args.body) > sourceLimits.receivedBytes) {
37
+ throw new SourceRetrievalError(
38
+ "too_large",
39
+ `Source response exceeds byte limit: ${Buffer.byteLength(args.body)} bytes.`
40
+ );
41
+ }
42
+ let text;
43
+ let title = "";
44
+ let sourceDate = null;
45
+ const links = [];
46
+ if (/html/i.test(args.contentType)) {
47
+ const $ = load(args.body);
48
+ title = $("title").first().text().trim().slice(0, 500);
49
+ const declaredDate = $('meta[property="article:published_time"]').attr("content") ?? $('meta[name="date"]').attr("content");
50
+ if (declaredDate && /^\d{4}-\d{2}-\d{2}(?:T|$)/.test(declaredDate) && Number.isFinite(Date.parse(declaredDate))) {
51
+ sourceDate = new Date(declaredDate).toISOString();
52
+ }
53
+ $(
54
+ "script,style,noscript,iframe,object,embed,svg,form,input,button,nav,footer,header"
55
+ ).remove();
56
+ $("a[href]").each((_index, element) => {
57
+ const href = $(element).attr("href");
58
+ if (links.length >= 100 || href === void 0) {
59
+ return;
60
+ }
61
+ try {
62
+ const url = validateResearchUrl(new URL(href, final).href).href;
63
+ if (!links.includes(url)) {
64
+ links.push(url);
65
+ }
66
+ } catch {
67
+ }
68
+ });
69
+ $("p,div,li,h1,h2,h3,h4,section,article,br,tr").append("\n");
70
+ text = ($("main").length ? $("main").text() : $("body").text()).replace(/[\t\r ]+/g, " ").replace(/\n\s*\n+/g, "\n\n").trim();
71
+ } else {
72
+ text = args.body.replace(/\r\n/g, "\n").trim();
73
+ }
74
+ if (!text) {
75
+ throw new SourceRetrievalError(
76
+ "empty_content",
77
+ `No readable source text: ${final.href}.`
78
+ );
79
+ }
80
+ const documentDigest = contentHash(text);
81
+ const retained = boundedUtf8(text, sourceLimits.retainedBytes);
82
+ const id = `src_${contentHash({ url: final.href, documentDigest }).slice(0, 32)}`;
83
+ const passages = [
84
+ { id: `${id}_p0`, text: retained, digest: contentHash(retained) }
85
+ ];
86
+ return {
87
+ source: {
88
+ id,
89
+ requestedUrl: args.requestedUrl,
90
+ finalUrl: final.href,
91
+ title,
92
+ publisher: final.hostname,
93
+ provenance: args.firstPartyHosts?.includes(final.hostname) ? "first_party" : "unknown",
94
+ fetchedAt: args.fetchedAt,
95
+ sourceDate,
96
+ documentDigest,
97
+ retainedDigest: contentHash(passages.map((passage) => passage.text)),
98
+ passages,
99
+ extractionVersion: sourceExtractionVersion,
100
+ truncated: retained !== text
101
+ },
102
+ links,
103
+ // The whole extracted text, for a reader that keeps more than the
104
+ // grounding passage (the author's research tools keep 32 KB).
105
+ text
106
+ };
107
+ };
108
+ var fetchGroundingSource = async (args) => {
109
+ const response = await guardedRequest({
110
+ url: args.url,
111
+ timeoutInMs: sourceLimits.timeoutMs,
112
+ signal: args.signal,
113
+ userAgent: "Literally-AEO-Research/1",
114
+ accept: "text/html,text/plain",
115
+ redirects: sourceLimits.redirects,
116
+ body: {
117
+ contentTypes: /^(text\/html|text\/plain|application\/xhtml\+xml)(;|$)/i,
118
+ maxBytes: sourceLimits.receivedBytes,
119
+ oversize: "refuse"
120
+ },
121
+ pace: async (_url, send) => {
122
+ await args.beforeRequest?.();
123
+ return send();
124
+ }
125
+ });
126
+ if (response.status < 200 || response.status >= 300) {
127
+ throw new SourceRetrievalError(
128
+ "http_error",
129
+ `Source HTTP ${response.status}.`,
130
+ { status: response.status }
131
+ );
132
+ }
133
+ const body = response.body?.toString("utf8") ?? "";
134
+ const document = extractSourceDocument({
135
+ requestedUrl: args.url,
136
+ finalUrl: response.url,
137
+ body,
138
+ contentType: response.contentType,
139
+ fetchedAt: (/* @__PURE__ */ new Date()).toISOString(),
140
+ firstPartyHosts: args.firstPartyHosts
141
+ });
142
+ return {
143
+ ...document,
144
+ requestCount: response.hops.length,
145
+ bytes: Buffer.byteLength(body)
146
+ };
147
+ };
148
+
149
+ export {
150
+ sourceLimits,
151
+ canonicalResearchUrl,
152
+ boundedUtf8,
153
+ extractSourceDocument,
154
+ fetchGroundingSource
155
+ };
@@ -5,19 +5,19 @@ import {
5
5
  forgetSession,
6
6
  readSession,
7
7
  saveSession
8
- } from "./chunk-EE26FNSY.js";
8
+ } from "./chunk-FDM2YNQL.js";
9
9
  import {
10
10
  CopyVerificationUnavailableError,
11
11
  recoverEditorialRounds
12
- } from "./chunk-KZR25REO.js";
12
+ } from "./chunk-LTI2YYU3.js";
13
13
  import {
14
14
  authorFiles,
15
15
  authorPacket,
16
16
  authorSessionInputs
17
- } from "./chunk-BE4ENGUY.js";
17
+ } from "./chunk-OQFAMKLN.js";
18
18
  import {
19
19
  copyDir
20
- } from "./chunk-TJQ5OPLQ.js";
20
+ } from "./chunk-3OE4UQIB.js";
21
21
  import {
22
22
  batchInput
23
23
  } from "./chunk-VHDVKEWO.js";
@@ -31,7 +31,7 @@ import {
31
31
  mergeBatches,
32
32
  restoreQualificationQuotes,
33
33
  validateStage
34
- } from "./chunk-EJ655TVU.js";
34
+ } from "./chunk-I3UE52ZV.js";
35
35
  import {
36
36
  sessionPrompt,
37
37
  stagePrompts
@@ -54,7 +54,7 @@ import {
54
54
  qualifyRowSchema,
55
55
  stageJsonSchema,
56
56
  stageVersions
57
- } from "./chunk-6GHHNPFJ.js";
57
+ } from "./chunk-SIJOQRRK.js";
58
58
  import {
59
59
  isAuthError
60
60
  } from "./chunk-7O3M6I2X.js";
@@ -67,7 +67,7 @@ import {
67
67
  } from "./chunk-7PLK6VGC.js";
68
68
  import {
69
69
  maxReviewRounds
70
- } from "./chunk-SDWYZM64.js";
70
+ } from "./chunk-EDQTINTL.js";
71
71
 
72
72
  // src/codex-workflow/stage.ts
73
73
  import { spawn } from "node:child_process";