literally-aeo 0.2.0 → 0.2.2

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 (272) hide show
  1. package/README.md +29 -1
  2. package/dist/author-tools.js +479 -397
  3. package/dist/cli.mjs +808 -386
  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 +20 -18
  7. package/dist/lib/agents/copy-validation.js +22 -21
  8. package/dist/lib/agents/copywriter-input.js +23 -8
  9. package/dist/lib/agents/facts.js +22 -7
  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/money-pages.js +13 -0
  38. package/dist/lib/checks/renderability.js +5 -1
  39. package/dist/lib/checks/run-checks.js +21 -18
  40. package/dist/lib/chunks/{chunk-BSRKN6FU.js → chunk-2FOKEIIN.js} +1 -1
  41. package/dist/lib/chunks/{chunk-JXMDOAKA.js → chunk-2KH7LNK7.js} +11 -11
  42. package/dist/lib/chunks/{chunk-D3GE3OCB.js → chunk-3CMPR6ZZ.js} +1 -1
  43. package/dist/lib/chunks/{chunk-TJQ5OPLQ.js → chunk-3OE4UQIB.js} +7 -7
  44. package/dist/lib/chunks/{chunk-Y4OGZ3Q5.js → chunk-46PVVQYR.js} +1 -1
  45. package/dist/lib/chunks/{chunk-OU73OUX4.js → chunk-4GLW3ZRO.js} +67 -7
  46. package/dist/lib/chunks/{chunk-EV4DRS5M.js → chunk-4XIAXX7K.js} +1 -1
  47. package/dist/lib/chunks/{chunk-IBOWGKN7.js → chunk-52F5XYOW.js} +1 -1
  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-75DMLOQ7.js +127 -0
  51. package/dist/lib/chunks/{chunk-6G25V4CF.js → chunk-7CW6U5WJ.js} +1 -1
  52. package/dist/lib/chunks/{chunk-CUYVHXHI.js → chunk-7DNLRXEY.js} +3 -3
  53. package/dist/lib/chunks/{chunk-622NMXN6.js → chunk-7HM6IZ3L.js} +2 -2
  54. package/dist/lib/chunks/{chunk-F4W5YHDZ.js → chunk-7WO3FFPS.js} +2 -2
  55. package/dist/lib/chunks/{chunk-ULRXHSJL.js → chunk-7YDXD4MD.js} +9 -6
  56. package/dist/lib/chunks/{chunk-UEMZYHYJ.js → chunk-7YZPEX3T.js} +2 -2
  57. package/dist/lib/chunks/{chunk-OBXAHX3L.js → chunk-AASWJR7Q.js} +1 -5
  58. package/dist/lib/chunks/{chunk-NCXSNHXX.js → chunk-AJO7XVXK.js} +12 -12
  59. package/dist/lib/chunks/{chunk-2GU6CNQI.js → chunk-AT3XMGES.js} +5 -5
  60. package/dist/lib/chunks/{chunk-MNWO7EHC.js → chunk-BFWK3TBN.js} +2 -2
  61. package/dist/lib/chunks/{chunk-BGOIPHJZ.js → chunk-BGAHZIL3.js} +18 -12
  62. package/dist/lib/chunks/{chunk-ZCOI3HE2.js → chunk-BRENK356.js} +1 -1
  63. package/dist/lib/chunks/{chunk-KJMU5KH4.js → chunk-BXF4OC74.js} +18 -9
  64. package/dist/lib/chunks/{chunk-5JPYM4MD.js → chunk-BYHXNFWN.js} +1 -1
  65. package/dist/lib/chunks/{chunk-NCLFZOZU.js → chunk-CH7OCYDL.js} +1 -1
  66. package/dist/lib/chunks/{chunk-OKL7GN2F.js → chunk-DL6YQDTE.js} +31 -5
  67. package/dist/lib/chunks/{chunk-PDS5KWO3.js → chunk-E2YTTB6Q.js} +56 -42
  68. package/dist/lib/chunks/{chunk-SDWYZM64.js → chunk-EDQTINTL.js} +5 -1
  69. package/dist/lib/chunks/{chunk-4PD65FRJ.js → chunk-EOO5RBUW.js} +3 -3
  70. package/dist/lib/chunks/chunk-ESEMYWUH.js +257 -0
  71. package/dist/lib/chunks/{chunk-YHS5IEVZ.js → chunk-F2NSJ6PG.js} +12 -8
  72. package/dist/lib/chunks/{chunk-BLKLPUYR.js → chunk-F7DBTXKG.js} +6 -6
  73. package/dist/lib/chunks/{chunk-EE26FNSY.js → chunk-FDM2YNQL.js} +1 -1
  74. package/dist/lib/chunks/{chunk-RJ5R6YYA.js → chunk-FJL2V6P5.js} +6 -6
  75. package/dist/lib/chunks/chunk-FK2JQHAX.js +30 -0
  76. package/dist/lib/chunks/{chunk-QHUDJVPJ.js → chunk-GLUGYZQO.js} +7 -7
  77. package/dist/lib/chunks/{chunk-GNMFJ2OK.js → chunk-HCUJ2J7P.js} +8 -8
  78. package/dist/lib/chunks/{chunk-2ROXN2EC.js → chunk-HGGOGCPX.js} +10 -10
  79. package/dist/lib/chunks/{chunk-VPZQGND4.js → chunk-HGGRPOSA.js} +3 -3
  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-HFRAHG5C.js → chunk-J7QKT5E7.js} +17 -17
  83. package/dist/lib/chunks/{chunk-V7OAPKNF.js → chunk-JBOOD6MU.js} +10 -9
  84. package/dist/lib/chunks/{chunk-YAAUWCJ4.js → chunk-JKPBXPCW.js} +3 -3
  85. package/dist/lib/chunks/{chunk-5HT55QYX.js → chunk-JQDQVG3D.js} +1 -1
  86. package/dist/lib/chunks/{chunk-GESHTTSA.js → chunk-JYCVBFH5.js} +2 -2
  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-EBUQPCKB.js → chunk-KFAT65P7.js} +1 -1
  91. package/dist/lib/chunks/{chunk-ZYSPTOKK.js → chunk-KQCRJIEG.js} +1 -1
  92. package/dist/lib/chunks/{chunk-R6XDZWUL.js → chunk-LR27H2HZ.js} +11 -11
  93. package/dist/lib/chunks/{chunk-FUAUPNRO.js → chunk-LTCDLURT.js} +7 -7
  94. package/dist/lib/chunks/{chunk-KZR25REO.js → chunk-LTI2YYU3.js} +1 -1
  95. package/dist/lib/chunks/{chunk-EPQHVILQ.js → chunk-MA27TFEY.js} +5 -3
  96. package/dist/lib/chunks/{chunk-UZJSTJFP.js → chunk-MENTBQGB.js} +6 -5
  97. package/dist/lib/chunks/chunk-MPJCZN4G.js +155 -0
  98. package/dist/lib/chunks/{chunk-BE4ENGUY.js → chunk-OOLWU667.js} +6 -6
  99. package/dist/lib/chunks/{chunk-QSJ4IKUF.js → chunk-PIF3GL62.js} +5 -5
  100. package/dist/lib/chunks/{chunk-W5X7WJYL.js → chunk-PIFTG6YW.js} +3 -3
  101. package/dist/lib/chunks/{chunk-YRBIC5QH.js → chunk-PKNODC6Y.js} +1 -1
  102. package/dist/lib/chunks/{chunk-SHUMCKCS.js → chunk-PWOYEIPF.js} +4 -4
  103. package/dist/lib/chunks/{chunk-RR46EDDR.js → chunk-QD3JXA3Y.js} +25 -25
  104. package/dist/lib/chunks/{chunk-7ZOJE6BH.js → chunk-QGZ4QSUE.js} +8 -7
  105. package/dist/lib/chunks/{chunk-D2INDP5W.js → chunk-R5UPOEWE.js} +9 -8
  106. package/dist/lib/chunks/{chunk-VKM6MMA4.js → chunk-RIJERFGU.js} +34 -3
  107. package/dist/lib/chunks/{chunk-5B3RNVZ6.js → chunk-RK57YZKM.js} +1 -1
  108. package/dist/lib/chunks/{chunk-GDKGZQ3T.js → chunk-RXSHKWZJ.js} +3 -3
  109. package/dist/lib/chunks/{chunk-NGHAP2P5.js → chunk-S6QOXJAL.js} +4 -4
  110. package/dist/lib/chunks/{chunk-6GHHNPFJ.js → chunk-SIJOQRRK.js} +1 -1
  111. package/dist/lib/chunks/{chunk-663HABKP.js → chunk-T6XZQOXS.js} +8 -8
  112. package/dist/lib/chunks/{chunk-EYKINDNK.js → chunk-TAPVCSCR.js} +1 -1
  113. package/dist/lib/chunks/{chunk-ISN6MBNB.js → chunk-U5USH2HB.js} +7 -7
  114. package/dist/lib/chunks/{chunk-MRL5RUP7.js → chunk-U6BW6LGX.js} +10 -3
  115. package/dist/lib/chunks/{chunk-L7MEIRJB.js → chunk-UNCUG2YS.js} +15 -6
  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-XR44YSHT.js → chunk-VHKHYAC5.js} +30 -9
  119. package/dist/lib/chunks/{chunk-Z7V63UZA.js → chunk-VXDMOB7O.js} +4 -4
  120. package/dist/lib/chunks/{chunk-G62E525I.js → chunk-VXYQWE45.js} +2 -2
  121. package/dist/lib/chunks/{chunk-W5DC23OP.js → chunk-WCLKIPJV.js} +1 -1
  122. package/dist/lib/chunks/{chunk-7XO3SQAX.js → chunk-WDT2Y7D7.js} +1 -1
  123. package/dist/lib/chunks/{chunk-OVUCZLH2.js → chunk-WIBMVNIH.js} +2 -2
  124. package/dist/lib/chunks/{chunk-5T3V6XJS.js → chunk-WNIXDMJL.js} +1 -1
  125. package/dist/lib/chunks/{chunk-HTOD4W4E.js → chunk-WZGI7UVM.js} +2 -2
  126. package/dist/lib/chunks/{chunk-HQG63ZKO.js → chunk-XA27KAUV.js} +17 -17
  127. package/dist/lib/chunks/{chunk-I3XGRGXE.js → chunk-XAN4CRFP.js} +33 -41
  128. package/dist/lib/chunks/{chunk-AYY4MYTW.js → chunk-XFUYEFQP.js} +1 -1
  129. package/dist/lib/chunks/{chunk-FOCJ7HPC.js → chunk-XSER7WEB.js} +11 -11
  130. package/dist/lib/chunks/{chunk-WVACVWBL.js → chunk-YEUCAPKP.js} +6 -4
  131. package/dist/lib/chunks/{chunk-7Z27HQWL.js → chunk-YGLWQFKL.js} +3 -3
  132. package/dist/lib/chunks/{chunk-D7GEQVLL.js → chunk-YKJHFD64.js} +1 -1
  133. package/dist/lib/chunks/{chunk-OQU5IXAJ.js → chunk-ZOGIJGU3.js} +10 -10
  134. package/dist/lib/chunks/{chunk-5ZITQDVE.js → chunk-ZQ3ER7JD.js} +12 -13
  135. package/dist/lib/cli/bundle-commands.js +91 -88
  136. package/dist/lib/cli/run-commands.js +110 -105
  137. package/dist/lib/cli/status-command.js +77 -74
  138. package/dist/lib/codex-workflow/aggregate.js +21 -22
  139. package/dist/lib/codex-workflow/author-search.js +4 -3
  140. package/dist/lib/codex-workflow/author-tools.js +17 -15
  141. package/dist/lib/codex-workflow/author.js +38 -34
  142. package/dist/lib/codex-workflow/capture.js +25 -25
  143. package/dist/lib/codex-workflow/checkpoint.js +13 -13
  144. package/dist/lib/codex-workflow/checks.js +15 -16
  145. package/dist/lib/codex-workflow/copy-editor.js +31 -30
  146. package/dist/lib/codex-workflow/copy-recovery.js +11 -11
  147. package/dist/lib/codex-workflow/copy.js +28 -27
  148. package/dist/lib/codex-workflow/finish.js +34 -34
  149. package/dist/lib/codex-workflow/loop.js +65 -62
  150. package/dist/lib/codex-workflow/quality.js +11 -11
  151. package/dist/lib/codex-workflow/run-inputs.js +12 -12
  152. package/dist/lib/codex-workflow/run-source.js +26 -23
  153. package/dist/lib/codex-workflow/schemas.js +11 -11
  154. package/dist/lib/codex-workflow/session.js +14 -14
  155. package/dist/lib/codex-workflow/stage.js +45 -41
  156. package/dist/lib/codex-workflow/workdir.js +13 -13
  157. package/dist/lib/engine/audit-file.js +16 -11
  158. package/dist/lib/engine/author.js +53 -49
  159. package/dist/lib/engine/cost-estimate.js +18 -16
  160. package/dist/lib/engine/local-run.js +76 -73
  161. package/dist/lib/engine/preflight.js +12 -12
  162. package/dist/lib/engine/rejudge.js +82 -79
  163. package/dist/lib/engine/run-status.js +77 -74
  164. package/dist/lib/engine/templates.js +17 -12
  165. package/dist/lib/grounding/chromium-guard.js +13 -0
  166. package/dist/lib/grounding/controller.js +11 -10
  167. package/dist/lib/grounding/extract.js +10 -9
  168. package/dist/lib/grounding/fetch.js +4 -7
  169. package/dist/lib/grounding/file-store.js +5 -5
  170. package/dist/lib/grounding/grounding-runtime.js +32 -31
  171. package/dist/lib/grounding/guarded-request.js +18 -0
  172. package/dist/lib/grounding/model.js +9 -8
  173. package/dist/lib/grounding/profile.js +4 -4
  174. package/dist/lib/grounding/recorded-tools.js +16 -16
  175. package/dist/lib/grounding/session.js +3 -3
  176. package/dist/lib/grounding/tools.js +4 -3
  177. package/dist/lib/grounding/validation.js +2 -2
  178. package/dist/lib/harness/report/artifacts.js +11 -11
  179. package/dist/lib/harness/report/capture-coverage.js +4 -4
  180. package/dist/lib/lib/checkpoint.js +10 -10
  181. package/dist/lib/lib/progress-comparison.js +2 -2
  182. package/dist/lib/models/batching.js +3 -3
  183. package/dist/lib/models/structured.js +2 -2
  184. package/dist/lib/models/supported-models.js +1 -1
  185. package/dist/lib/pipeline.js +20 -21
  186. package/dist/lib/probes/agent-clis.js +10 -10
  187. package/dist/lib/probes/probes.js +12 -12
  188. package/dist/lib/probes/web-tool-guard.js +3 -3
  189. package/dist/lib/report/contracts.js +4 -4
  190. package/dist/lib/report/core/progress-comparison.js +2 -2
  191. package/dist/lib/report/core/progress-schema.js +2 -2
  192. package/dist/lib/report/core/schema.js +2 -4
  193. package/dist/lib/report/core/surfaces.js +1 -3
  194. package/dist/lib/runner.js +23 -24
  195. package/dist/lib/schema.js +19 -13
  196. package/dist/lib/section-result.js +14 -15
  197. package/dist/lib/stores/artifacts.js +17 -17
  198. package/dist/lib/stores/files.js +31 -31
  199. package/dist/lib/stores/local-versions.js +10 -10
  200. package/dist/lib/stores/memory.js +33 -33
  201. package/dist/lib/stores/publication.js +23 -22
  202. package/dist/lib/surfaces.js +1 -3
  203. package/dist/lib/viewer/server.js +38 -38
  204. package/dist/lib/workflow/schema.js +8 -8
  205. package/dist/types/agents/author-schema.d.ts +3 -3
  206. package/dist/types/analysis/scoring.d.ts +2 -2
  207. package/dist/types/bundle/contracts.d.ts +3 -2
  208. package/dist/types/checks/crawler-access.d.ts +3 -2
  209. package/dist/types/checks/money-pages.d.ts +19 -0
  210. package/dist/types/checks/renderability.d.ts +8 -1
  211. package/dist/types/codex-workflow/author-tools.d.ts +3 -3
  212. package/dist/types/codex-workflow/run-inputs.d.ts +3 -0
  213. package/dist/types/codex-workflow/schemas.d.ts +6 -6
  214. package/dist/types/engine/audit-file.d.ts +6 -1
  215. package/dist/types/engine/preflight.d.ts +2 -0
  216. package/dist/types/grounding/chromium-guard.d.ts +41 -0
  217. package/dist/types/grounding/fetch.d.ts +0 -10
  218. package/dist/types/grounding/guarded-request.d.ts +76 -0
  219. package/dist/types/harness/report/artifacts.d.ts +1 -0
  220. package/dist/types/lib/checkpoint.d.ts +5 -6
  221. package/dist/types/pipeline.d.ts +2 -1
  222. package/dist/types/probes/probes.d.ts +2 -1
  223. package/dist/types/report/contracts.d.ts +2 -0
  224. package/dist/types/report/core/schema.d.ts +3 -1
  225. package/dist/types/report/core/surfaces.d.ts +0 -1
  226. package/dist/types/schema.d.ts +22 -0
  227. package/dist/types/section-result.d.ts +1 -1
  228. package/package.json +1 -1
  229. package/resources/guide/OPERATOR.md +12 -3
  230. package/src/agents/author-schema.ts +13 -1
  231. package/src/agents/author-validation.ts +24 -6
  232. package/src/agents/facts.ts +8 -8
  233. package/src/agents/narrative-facts.ts +9 -20
  234. package/src/agents/verifier.ts +2 -2
  235. package/src/analysis/progress.ts +1 -0
  236. package/src/analysis/scoring.ts +9 -13
  237. package/src/bundle/contracts.ts +7 -2
  238. package/src/bundle/verify.ts +3 -3
  239. package/src/capture-manifest.ts +4 -0
  240. package/src/checks/crawler-access.ts +70 -50
  241. package/src/checks/money-pages.ts +48 -0
  242. package/src/checks/renderability.ts +113 -87
  243. package/src/checks/run-checks.ts +16 -3
  244. package/src/cli/run-commands.ts +2 -0
  245. package/src/codex-workflow/aggregate.ts +1 -0
  246. package/src/codex-workflow/author-tools.ts +39 -60
  247. package/src/codex-workflow/capture.ts +1 -0
  248. package/src/codex-workflow/copy-editor.ts +3 -3
  249. package/src/codex-workflow/loop.ts +2 -2
  250. package/src/engine/audit-file.ts +79 -2
  251. package/src/engine/guide/OPERATOR.md +12 -3
  252. package/src/engine/preflight.ts +50 -0
  253. package/src/grounding/chromium-guard.ts +273 -0
  254. package/src/grounding/controller.ts +1 -1
  255. package/src/grounding/fetch.ts +39 -276
  256. package/src/grounding/guarded-request.ts +428 -0
  257. package/src/grounding/tools.ts +2 -1
  258. package/src/grounding/validation.ts +1 -1
  259. package/src/lib/checkpoint.ts +15 -16
  260. package/src/models/supported-models.ts +3 -3
  261. package/src/pipeline.ts +13 -7
  262. package/src/probes/agent-clis.ts +2 -3
  263. package/src/probes/probes.ts +24 -10
  264. package/src/report/core/schema.ts +4 -1
  265. package/src/report/core/surfaces.ts +4 -8
  266. package/src/runner.ts +1 -0
  267. package/src/schema.ts +68 -4
  268. package/src/section-result.ts +6 -5
  269. package/dist/lib/chunks/chunk-6EH4N3EU.js +0 -113
  270. package/dist/lib/chunks/chunk-SWJ7KQSL.js +0 -318
  271. package/dist/lib/chunks/{chunk-CO5T6WU5.js → chunk-OD36HUXA.js} +3 -3
  272. package/dist/lib/chunks/{chunk-XI5H46DF.js → chunk-SASE7U6E.js} +3 -3
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  GroundingIntegrityError,
6
6
  validateGroundingBundle
7
- } from "./chunk-ZYSPTOKK.js";
7
+ } from "./chunk-KQCRJIEG.js";
8
8
  import {
9
9
  contentHash
10
10
  } from "./chunk-H2KDLDK6.js";
@@ -6,16 +6,25 @@ import {
6
6
  } from "./chunk-2B5QF6UQ.js";
7
7
  import {
8
8
  resolveSupportedModel
9
- } from "./chunk-W5X7WJYL.js";
9
+ } from "./chunk-PIFTG6YW.js";
10
10
  import {
11
11
  resolveDataForSeoLocale
12
12
  } from "./chunk-NH4QGBJV.js";
13
+ import {
14
+ maxMoneyPages,
15
+ moneyPageProblem
16
+ } from "./chunk-FK2JQHAX.js";
17
+ import {
18
+ SourceRetrievalError,
19
+ validateResearchUrl
20
+ } from "./chunk-ESEMYWUH.js";
13
21
  import {
14
22
  aeoAuditConfigSchema,
15
23
  agentProbeConfigSchema,
24
+ chatProbeConfigSchema,
16
25
  defaultMaxPlannedUnits,
17
26
  runRequestSchema
18
- } from "./chunk-OKL7GN2F.js";
27
+ } from "./chunk-DL6YQDTE.js";
19
28
  import {
20
29
  probeLimitsSchema
21
30
  } from "./chunk-W5XYW6ZM.js";
@@ -25,11 +34,11 @@ import {
25
34
  import {
26
35
  aeoSurfaceSchema,
27
36
  brandSchema
28
- } from "./chunk-SDWYZM64.js";
37
+ } from "./chunk-EDQTINTL.js";
29
38
  import {
30
39
  allSurfaces,
31
40
  isAgentSurface
32
- } from "./chunk-OBXAHX3L.js";
41
+ } from "./chunk-AASWJR7Q.js";
33
42
 
34
43
  // src/engine/audit-file.ts
35
44
  import { readFile } from "node:fs/promises";
@@ -66,8 +75,31 @@ var runPolicySchema = z.object({
66
75
  allowPartial: z.boolean().default(false),
67
76
  // Caps every paid call of the run: probes, Codex stage sessions, host
68
77
  // model calls and searches (see BudgetPolicy).
69
- budget: budgetPolicySchema.prefault({})
78
+ budget: budgetPolicySchema.prefault({}),
79
+ // Hosts off the brand's site whose pages the site checks may fetch (a
80
+ // docs site on another domain). A permission, not a measurement input:
81
+ // granting one never moves a baseline.
82
+ checkHosts: z.array(z.string().trim().min(1)).max(20).default([])
70
83
  }).strict();
84
+ var checkHostProblem = (host) => {
85
+ try {
86
+ const url = validateResearchUrl(`https://${host}/`);
87
+ if (url.hostname === host.toLowerCase()) {
88
+ return void 0;
89
+ }
90
+ } catch (err) {
91
+ if (!(err instanceof SourceRetrievalError)) {
92
+ throw err;
93
+ }
94
+ }
95
+ return `Use a bare public host name such as docs.acme.example, not ${JSON.stringify(host)}.`;
96
+ };
97
+ var describeMoneyPageProblem = (page, domain, problem) => {
98
+ if (problem.kind === "unsafe_url") {
99
+ return `A money page must be a public https URL with no port or credentials: ${problem.message}`;
100
+ }
101
+ return `${page} is not on ${domain} or its subdomains. Name its host in runPolicy.checkHosts to let the site checks fetch it.`;
102
+ };
71
103
  var auditFileSchema = z.object({
72
104
  version: z.literal(auditFileVersion),
73
105
  // The gateway model every text role and Codex stage runs on; absent
@@ -79,10 +111,14 @@ var auditFileSchema = z.object({
79
111
  ownedDomains: z.array(z.string().min(1)).max(20).optional(),
80
112
  sections: z.array(sectionSchema).min(1).max(2),
81
113
  surfaces: z.array(aeoSurfaceSchema).min(1).default([...allSurfaces]),
82
- agentProbes: agentProbeConfigSchema.prefault({}),
114
+ // Strict here, unlike the internal config that bundles keep: a
115
+ // misspelled key is refused, never dropped for the default depth.
116
+ agentProbes: agentProbeConfigSchema.strict().prefault({}),
117
+ // Absent = the standard depth (2 runs per prompt, 1 on AI Overview).
118
+ chatProbes: chatProbeConfigSchema.optional(),
83
119
  geography: z.string().default("us"),
84
120
  language: z.string().default("en"),
85
- moneyPages: z.array(z.url()).default([]),
121
+ moneyPages: z.array(z.url()).max(maxMoneyPages).default([]),
86
122
  productBrief: z.string().trim().min(1),
87
123
  // `full` researches and adjudicates the claims answers make about the
88
124
  // product; `extraction_only` keeps the claim inventory and skips both.
@@ -98,6 +134,29 @@ var auditFileSchema = z.object({
98
134
  path: ["geography"]
99
135
  });
100
136
  }
137
+ for (const [index, host] of file.runPolicy.checkHosts.entries()) {
138
+ const problem = checkHostProblem(host);
139
+ if (problem !== void 0) {
140
+ context.addIssue({
141
+ code: "custom",
142
+ message: problem,
143
+ path: ["runPolicy", "checkHosts", index]
144
+ });
145
+ }
146
+ }
147
+ for (const [index, page] of file.moneyPages.entries()) {
148
+ const problem = moneyPageProblem(page, {
149
+ domain: file.brand.domain,
150
+ checkHosts: file.runPolicy.checkHosts
151
+ });
152
+ if (problem !== void 0) {
153
+ context.addIssue({
154
+ code: "custom",
155
+ message: describeMoneyPageProblem(page, file.brand.domain, problem),
156
+ path: ["moneyPages", index]
157
+ });
158
+ }
159
+ }
101
160
  const keys = file.sections.map((section) => section.key);
102
161
  if (new Set(keys).size !== keys.length) {
103
162
  context.addIssue({
@@ -157,6 +216,7 @@ var toAuditConfig = (file) => {
157
216
  },
158
217
  sections: file.sections,
159
218
  agentProbes: file.agentProbes,
219
+ ...file.chatProbes !== void 0 && { chatProbes: file.chatProbes },
160
220
  moneyPages: file.moneyPages,
161
221
  productBrief: file.productBrief,
162
222
  surfaces: {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  reportKeySchema
3
- } from "./chunk-OVUCZLH2.js";
3
+ } from "./chunk-WIBMVNIH.js";
4
4
  import {
5
5
  ApiError
6
6
  } from "./chunk-QBD24WTZ.js";
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  agentSurfaces,
6
6
  chatSurfaces
7
- } from "./chunk-OBXAHX3L.js";
7
+ } from "./chunk-AASWJR7Q.js";
8
8
 
9
9
  // src/probes/web-tool-guard.ts
10
10
  var webToolGuardMinAnswers = 8;
@@ -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)
@@ -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-CO5T6WU5.js";
11
+ } from "./chunk-OD36HUXA.js";
12
12
  import {
13
13
  contentHash
14
14
  } from "./chunk-H2KDLDK6.js";
@@ -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-OKL7GN2F.js";
12
+ } from "./chunk-DL6YQDTE.js";
13
13
  import {
14
14
  aeoReportCopySchema
15
15
  } from "./chunk-PKB6JRJM.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  aggregateJudgments,
3
3
  metricsView
4
- } from "./chunk-UZJSTJFP.js";
4
+ } from "./chunk-MENTBQGB.js";
5
5
  import {
6
6
  CheckOutcome,
7
7
  checkFrom,
@@ -11,13 +11,13 @@ import {
11
11
  import {
12
12
  bundlePaths,
13
13
  calculationVersion
14
- } from "./chunk-WVACVWBL.js";
14
+ } from "./chunk-YEUCAPKP.js";
15
15
  import {
16
16
  canonicalDigest
17
17
  } from "./chunk-E6NQQU6V.js";
18
18
  import {
19
19
  validateGroundingBundle
20
- } from "./chunk-ZYSPTOKK.js";
20
+ } from "./chunk-KQCRJIEG.js";
21
21
 
22
22
  // src/bundle/verify-report.ts
23
23
  import { z } from "zod";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  generateStructured,
3
3
  structuredCallReservation
4
- } from "./chunk-CO5T6WU5.js";
4
+ } from "./chunk-OD36HUXA.js";
5
5
  import {
6
6
  InvalidReviewError
7
- } from "./chunk-R6XDZWUL.js";
7
+ } from "./chunk-LR27H2HZ.js";
8
8
 
9
9
  // src/agents/verifier.ts
10
10
  import { z } from "zod";
@@ -4,13 +4,13 @@ import {
4
4
  import {
5
5
  assertCopyValidation,
6
6
  copyCheckerVersion
7
- } from "./chunk-R6XDZWUL.js";
7
+ } from "./chunk-LR27H2HZ.js";
8
8
  import {
9
9
  internalModelProfileSchema
10
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,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  auditFileVersion
3
- } from "./chunk-OU73OUX4.js";
3
+ } from "./chunk-4GLW3ZRO.js";
4
4
  import {
5
5
  recommendedModelId
6
- } from "./chunk-W5X7WJYL.js";
6
+ } from "./chunk-PIFTG6YW.js";
7
7
 
8
8
  // src/engine/templates.ts
9
9
  var exampleAuditFile = {
@@ -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
  };
@@ -18,26 +18,17 @@ import {
18
18
  } from "./chunk-JS3GBU3R.js";
19
19
  import {
20
20
  batchModelInputs
21
- } from "./chunk-W5DC23OP.js";
21
+ } from "./chunk-WCLKIPJV.js";
22
22
  import {
23
23
  generateStructured
24
- } from "./chunk-CO5T6WU5.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-RYCRL3YA.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,15 +1,15 @@
1
1
  import {
2
2
  runJournalDir
3
- } from "./chunk-4PD65FRJ.js";
3
+ } from "./chunk-EOO5RBUW.js";
4
4
  import {
5
5
  assessTraceCoverage
6
- } from "./chunk-5JPYM4MD.js";
6
+ } from "./chunk-BYHXNFWN.js";
7
7
  import {
8
8
  summarizeIsolation
9
- } from "./chunk-BSRKN6FU.js";
9
+ } from "./chunk-2FOKEIIN.js";
10
10
  import {
11
11
  readJournal
12
- } from "./chunk-YRBIC5QH.js";
12
+ } from "./chunk-PKNODC6Y.js";
13
13
  import {
14
14
  hasErrorCode
15
15
  } from "./chunk-2QLAFBCG.js";
@@ -17,7 +17,7 @@ import {
17
17
  RunOrigin,
18
18
  bundlePaths,
19
19
  objectPathPrefix
20
- } from "./chunk-WVACVWBL.js";
20
+ } from "./chunk-YEUCAPKP.js";
21
21
  import {
22
22
  sha256Hex
23
23
  } from "./chunk-E6NQQU6V.js";
@@ -17,10 +17,10 @@ import {
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";
@@ -1,6 +1,3 @@
1
- import {
2
- getGoogleAIOverview
3
- } from "./chunk-IB6RROHE.js";
4
1
  import {
5
2
  extractAnthropicRetrieval,
6
3
  extractGeminiRetrieval,
@@ -8,6 +5,9 @@ import {
8
5
  retrievalResultUrls,
9
6
  rewriteRetrievalUrls
10
7
  } from "./chunk-S2SFHTJD.js";
8
+ import {
9
+ getGoogleAIOverview
10
+ } from "./chunk-IB6RROHE.js";
11
11
  import {
12
12
  ProbeTraceError,
13
13
  endAttempt,
@@ -36,6 +36,9 @@ import {
36
36
  import {
37
37
  isObject
38
38
  } from "./chunk-7PLK6VGC.js";
39
+ import {
40
+ chatRunsPerPrompt
41
+ } from "./chunk-DL6YQDTE.js";
39
42
  import {
40
43
  sleep,
41
44
  unlimited
@@ -44,9 +47,8 @@ import {
44
47
  surfaceRetrievalExposure
45
48
  } from "./chunk-HXHFMFQU.js";
46
49
  import {
47
- chatSurfaces,
48
- surfaceRunCounts
49
- } from "./chunk-OBXAHX3L.js";
50
+ chatSurfaces
51
+ } from "./chunk-AASWJR7Q.js";
50
52
 
51
53
  // src/probes/probes.ts
52
54
  import { streamText } from "ai";
@@ -225,10 +227,13 @@ var unexposedRetrieval = (surface) => {
225
227
  return { exposure: surfaceRetrievalExposure[surface], calls: [] };
226
228
  };
227
229
  var buildProbeModels = (args) => {
230
+ const runsOn = (surface) => {
231
+ return chatRunsPerPrompt(surface, args.chatProbes);
232
+ };
228
233
  const all = [
229
234
  {
230
235
  name: "chatgpt",
231
- runs: surfaceRunCounts.chatgpt,
236
+ runs: runsOn("chatgpt"),
232
237
  provider: "gateway",
233
238
  probe: async (promptText) => {
234
239
  return runSearchRequiredProbe({
@@ -242,7 +247,7 @@ var buildProbeModels = (args) => {
242
247
  },
243
248
  {
244
249
  name: "gemini",
245
- runs: surfaceRunCounts.gemini,
250
+ runs: runsOn("gemini"),
246
251
  provider: "gateway",
247
252
  probe: async (promptText) => {
248
253
  return runSearchRequiredProbe({
@@ -256,7 +261,7 @@ var buildProbeModels = (args) => {
256
261
  },
257
262
  {
258
263
  name: "claude",
259
- runs: surfaceRunCounts.claude,
264
+ runs: runsOn("claude"),
260
265
  provider: "gateway",
261
266
  probe: async (promptText) => {
262
267
  return runSearchRequiredProbe({
@@ -272,7 +277,7 @@ var buildProbeModels = (args) => {
272
277
  },
273
278
  {
274
279
  name: "perplexity",
275
- runs: surfaceRunCounts.perplexity,
280
+ runs: runsOn("perplexity"),
276
281
  provider: "gateway",
277
282
  probe: async (promptText) => {
278
283
  let streamFailure;
@@ -319,7 +324,7 @@ var buildProbeModels = (args) => {
319
324
  },
320
325
  {
321
326
  name: "google_ai_overview",
322
- runs: surfaceRunCounts.google_ai_overview,
327
+ runs: runsOn("google_ai_overview"),
323
328
  provider: "dataforseo",
324
329
  probe: async (promptText) => {
325
330
  const retrieval = unexposedRetrieval("google_ai_overview");
@@ -370,7 +375,8 @@ var runProbesForPrompts = async (job, opts = {}) => {
370
375
  const probeModels = buildProbeModels({
371
376
  geography: job.geography,
372
377
  language: job.language,
373
- surfaces: job.surfaces ?? chatSurfaces
378
+ surfaces: job.surfaces ?? chatSurfaces,
379
+ chatProbes: job.chatProbes
374
380
  });
375
381
  const limiter = job.limiter ?? unlimited();
376
382
  const tasks = [];
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sourceCategories
3
- } from "./chunk-SDWYZM64.js";
3
+ } from "./chunk-EDQTINTL.js";
4
4
 
5
5
  // src/analysis/domain-labels.ts
6
6
  import { z } from "zod";