literally-aeo 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (770) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +73 -2
  3. package/dist/author-tools.js +3031 -0
  4. package/dist/cli.mjs +25536 -0
  5. package/dist/lib/access/schema.js +24 -0
  6. package/dist/lib/agents/author-schema.js +28 -0
  7. package/dist/lib/agents/author-validation.js +46 -0
  8. package/dist/lib/agents/copy-schema.js +30 -0
  9. package/dist/lib/agents/copy-validation.js +62 -0
  10. package/dist/lib/agents/copywriter-input.js +31 -0
  11. package/dist/lib/agents/credentials.js +6 -0
  12. package/dist/lib/agents/facts.js +31 -0
  13. package/dist/lib/agents/narrative-facts.js +12 -0
  14. package/dist/lib/agents/verifier.js +62 -0
  15. package/dist/lib/analysis/answer-text.js +19 -0
  16. package/dist/lib/analysis/competitor-classifier.js +6 -0
  17. package/dist/lib/analysis/domain-classifier.js +73 -0
  18. package/dist/lib/analysis/domain-labels.js +32 -0
  19. package/dist/lib/analysis/domain-match.js +12 -0
  20. package/dist/lib/analysis/name-forms.js +12 -0
  21. package/dist/lib/analysis/outreach.js +17 -0
  22. package/dist/lib/analysis/progress-schema.js +13 -0
  23. package/dist/lib/analysis/progress.js +39 -0
  24. package/dist/lib/analysis/qualified-competitors.js +7 -0
  25. package/dist/lib/analysis/retrieval.js +16 -0
  26. package/dist/lib/analysis/scoring.js +12 -0
  27. package/dist/lib/analysis/search-analyzer.js +17 -0
  28. package/dist/lib/analysis/sentiment.js +61 -0
  29. package/dist/lib/analysis/source-classifier.js +22 -0
  30. package/dist/lib/analysis/source-mix.js +16 -0
  31. package/dist/lib/analysis/verbatim.js +6 -0
  32. package/dist/lib/api/errors.js +10 -0
  33. package/dist/lib/author/examples.js +34 -0
  34. package/dist/lib/bundle/checks.js +16 -0
  35. package/dist/lib/bundle/contracts.js +66 -0
  36. package/dist/lib/bundle/export.js +69 -0
  37. package/dist/lib/bundle/journal.js +41 -0
  38. package/dist/lib/bundle/json.js +13 -0
  39. package/dist/lib/bundle/lineage.js +13 -0
  40. package/dist/lib/bundle/paths.js +6 -0
  41. package/dist/lib/bundle/project-journal.js +36 -0
  42. package/dist/lib/bundle/project.js +55 -0
  43. package/dist/lib/bundle/read.js +60 -0
  44. package/dist/lib/bundle/recorder.js +46 -0
  45. package/dist/lib/bundle/redact.js +35 -0
  46. package/dist/lib/bundle/trace-coverage.js +33 -0
  47. package/dist/lib/bundle/verify-integrity.js +41 -0
  48. package/dist/lib/bundle/verify-measurement.js +49 -0
  49. package/dist/lib/bundle/verify-report.js +62 -0
  50. package/dist/lib/bundle/verify.js +71 -0
  51. package/dist/lib/bundle/writer-lock.js +11 -0
  52. package/dist/lib/bundle/zip.js +13 -0
  53. package/dist/lib/capture-manifest.js +42 -0
  54. package/dist/lib/checks/crawler-access.js +16 -0
  55. package/dist/lib/checks/renderability.js +8 -0
  56. package/dist/lib/checks/run-checks.js +38 -0
  57. package/dist/lib/chunks/chunk-2KJZ326K.js +253 -0
  58. package/dist/lib/chunks/chunk-2MGARWKY.js +138 -0
  59. package/dist/lib/chunks/chunk-2NJEWPCV.js +94 -0
  60. package/dist/lib/chunks/chunk-2PAO43CH.js +43 -0
  61. package/dist/lib/chunks/chunk-2QLAFBCG.js +8 -0
  62. package/dist/lib/chunks/chunk-2ROSV4HD.js +64 -0
  63. package/dist/lib/chunks/chunk-2URYGUMH.js +27 -0
  64. package/dist/lib/chunks/chunk-3BFCI7LI.js +34 -0
  65. package/dist/lib/chunks/chunk-3BJWRD4O.js +0 -0
  66. package/dist/lib/chunks/chunk-3EBWDHPK.js +133 -0
  67. package/dist/lib/chunks/chunk-3UFZ2XPE.js +73 -0
  68. package/dist/lib/chunks/chunk-4E4NDGOZ.js +47 -0
  69. package/dist/lib/chunks/chunk-4QQJXCD2.js +113 -0
  70. package/dist/lib/chunks/chunk-4US3OBKJ.js +136 -0
  71. package/dist/lib/chunks/chunk-4ZY6P5SO.js +303 -0
  72. package/dist/lib/chunks/chunk-55U7PRRM.js +26 -0
  73. package/dist/lib/chunks/chunk-565CYND6.js +93 -0
  74. package/dist/lib/chunks/chunk-56VOFZ7T.js +1486 -0
  75. package/dist/lib/chunks/chunk-5B3RNVZ6.js +193 -0
  76. package/dist/lib/chunks/chunk-5EX5DKMA.js +812 -0
  77. package/dist/lib/chunks/chunk-5GZVDGTX.js +316 -0
  78. package/dist/lib/chunks/chunk-5H3SNUQT.js +101 -0
  79. package/dist/lib/chunks/chunk-5HT55QYX.js +53 -0
  80. package/dist/lib/chunks/chunk-5KKLUM7M.js +105 -0
  81. package/dist/lib/chunks/chunk-5SOTF3XD.js +56 -0
  82. package/dist/lib/chunks/chunk-5T3V6XJS.js +41 -0
  83. package/dist/lib/chunks/chunk-5VNYUCLL.js +352 -0
  84. package/dist/lib/chunks/chunk-5ZITQDVE.js +149 -0
  85. package/dist/lib/chunks/chunk-6AUEDSTU.js +52 -0
  86. package/dist/lib/chunks/chunk-6EH4N3EU.js +113 -0
  87. package/dist/lib/chunks/chunk-6EI4CVRW.js +33 -0
  88. package/dist/lib/chunks/chunk-6GKKALCI.js +538 -0
  89. package/dist/lib/chunks/chunk-6GSQKCKF.js +48 -0
  90. package/dist/lib/chunks/chunk-6KHQ7DXP.js +100 -0
  91. package/dist/lib/chunks/chunk-6KO7HGCQ.js +229 -0
  92. package/dist/lib/chunks/chunk-6RAKXYSR.js +226 -0
  93. package/dist/lib/chunks/chunk-72P6NOKD.js +190 -0
  94. package/dist/lib/chunks/chunk-74UNVGWB.js +0 -0
  95. package/dist/lib/chunks/chunk-7GXRDAUY.js +554 -0
  96. package/dist/lib/chunks/chunk-7MR6IJ7I.js +0 -0
  97. package/dist/lib/chunks/chunk-7O3M6I2X.js +123 -0
  98. package/dist/lib/chunks/chunk-7PLK6VGC.js +12 -0
  99. package/dist/lib/chunks/chunk-7QYZSP7Q.js +190 -0
  100. package/dist/lib/chunks/chunk-7YYDUHJG.js +113 -0
  101. package/dist/lib/chunks/chunk-7ZOJE6BH.js +73 -0
  102. package/dist/lib/chunks/chunk-AKKFERA4.js +99 -0
  103. package/dist/lib/chunks/chunk-AP5DLF36.js +150 -0
  104. package/dist/lib/chunks/chunk-AUB5THIS.js +341 -0
  105. package/dist/lib/chunks/chunk-AWOJWMPN.js +213 -0
  106. package/dist/lib/chunks/chunk-B5L2KMTU.js +108 -0
  107. package/dist/lib/chunks/chunk-BEQLSAVX.js +202 -0
  108. package/dist/lib/chunks/chunk-C6CMSW5J.js +13 -0
  109. package/dist/lib/chunks/chunk-CFFPOTP4.js +356 -0
  110. package/dist/lib/chunks/chunk-CJ5YD3CU.js +237 -0
  111. package/dist/lib/chunks/chunk-CPT2GKKW.js +188 -0
  112. package/dist/lib/chunks/chunk-CQ62GN7P.js +30 -0
  113. package/dist/lib/chunks/chunk-CRVCWDH6.js +0 -0
  114. package/dist/lib/chunks/chunk-CS24IL3K.js +115 -0
  115. package/dist/lib/chunks/chunk-D2INDP5W.js +240 -0
  116. package/dist/lib/chunks/chunk-D2LPQO6Y.js +39 -0
  117. package/dist/lib/chunks/chunk-D5B4ZOW6.js +61 -0
  118. package/dist/lib/chunks/chunk-D7GEQVLL.js +115 -0
  119. package/dist/lib/chunks/chunk-DC6PN7QJ.js +193 -0
  120. package/dist/lib/chunks/chunk-DYJVVQHD.js +60 -0
  121. package/dist/lib/chunks/chunk-E3CDKC5B.js +45 -0
  122. package/dist/lib/chunks/chunk-E4HADK7C.js +18 -0
  123. package/dist/lib/chunks/chunk-E6NQQU6V.js +111 -0
  124. package/dist/lib/chunks/chunk-EBXOHAMQ.js +131 -0
  125. package/dist/lib/chunks/chunk-EPQHVILQ.js +348 -0
  126. package/dist/lib/chunks/chunk-EV4DRS5M.js +61 -0
  127. package/dist/lib/chunks/chunk-EYKINDNK.js +29 -0
  128. package/dist/lib/chunks/chunk-EZD2C7QS.js +10 -0
  129. package/dist/lib/chunks/chunk-FBFZBLTY.js +752 -0
  130. package/dist/lib/chunks/chunk-FFOVLI3U.js +235 -0
  131. package/dist/lib/chunks/chunk-FKLNEB2P.js +529 -0
  132. package/dist/lib/chunks/chunk-FT5NSQYX.js +0 -0
  133. package/dist/lib/chunks/chunk-FWBVTM7F.js +11 -0
  134. package/dist/lib/chunks/chunk-GLXY73MK.js +165 -0
  135. package/dist/lib/chunks/chunk-GMGKKE5N.js +11 -0
  136. package/dist/lib/chunks/chunk-GVC4LH2N.js +130 -0
  137. package/dist/lib/chunks/chunk-GVOF5ZUG.js +44 -0
  138. package/dist/lib/chunks/chunk-H2KDLDK6.js +13 -0
  139. package/dist/lib/chunks/chunk-H3G3VTT7.js +259 -0
  140. package/dist/lib/chunks/chunk-H56DDRKE.js +85 -0
  141. package/dist/lib/chunks/chunk-HOJXKHPX.js +34 -0
  142. package/dist/lib/chunks/chunk-HSZ3DM74.js +55 -0
  143. package/dist/lib/chunks/chunk-HXHFMFQU.js +29 -0
  144. package/dist/lib/chunks/chunk-I7VNIW6Q.js +196 -0
  145. package/dist/lib/chunks/chunk-IAR6XGEW.js +184 -0
  146. package/dist/lib/chunks/chunk-IB6RROHE.js +204 -0
  147. package/dist/lib/chunks/chunk-IBOWGKN7.js +98 -0
  148. package/dist/lib/chunks/chunk-IEVAFDW7.js +513 -0
  149. package/dist/lib/chunks/chunk-IPNK7FYT.js +70 -0
  150. package/dist/lib/chunks/chunk-IRPKBDB7.js +13 -0
  151. package/dist/lib/chunks/chunk-ISN6MBNB.js +70 -0
  152. package/dist/lib/chunks/chunk-J46W3EMQ.js +237 -0
  153. package/dist/lib/chunks/chunk-J6IJGYP5.js +147 -0
  154. package/dist/lib/chunks/chunk-JQ3P552S.js +0 -0
  155. package/dist/lib/chunks/chunk-JS3GBU3R.js +46 -0
  156. package/dist/lib/chunks/chunk-KMRQSIZW.js +90 -0
  157. package/dist/lib/chunks/chunk-KRFHQQS7.js +323 -0
  158. package/dist/lib/chunks/chunk-KZR25REO.js +95 -0
  159. package/dist/lib/chunks/chunk-LIZX4N3H.js +110 -0
  160. package/dist/lib/chunks/chunk-M2OD74GP.js +93 -0
  161. package/dist/lib/chunks/chunk-MHAKYFDF.js +741 -0
  162. package/dist/lib/chunks/chunk-MIF5IYNR.js +139 -0
  163. package/dist/lib/chunks/chunk-MRRWMAPA.js +0 -0
  164. package/dist/lib/chunks/chunk-MX6Y4RD2.js +22 -0
  165. package/dist/lib/chunks/chunk-N2XIGMJ6.js +0 -0
  166. package/dist/lib/chunks/chunk-N2ZZ6JRF.js +188 -0
  167. package/dist/lib/chunks/chunk-NANJGMEJ.js +108 -0
  168. package/dist/lib/chunks/chunk-NCLFZOZU.js +74 -0
  169. package/dist/lib/chunks/chunk-NH4QGBJV.js +61 -0
  170. package/dist/lib/chunks/chunk-NL2LDKXX.js +125 -0
  171. package/dist/lib/chunks/chunk-NZFMOQHU.js +32 -0
  172. package/dist/lib/chunks/chunk-O2DKE2RO.js +77 -0
  173. package/dist/lib/chunks/chunk-O7M2OY3H.js +35 -0
  174. package/dist/lib/chunks/chunk-OBXAHX3L.js +46 -0
  175. package/dist/lib/chunks/chunk-OL746E4T.js +350 -0
  176. package/dist/lib/chunks/chunk-OORO55OM.js +922 -0
  177. package/dist/lib/chunks/chunk-OVUCZLH2.js +114 -0
  178. package/dist/lib/chunks/chunk-OX656HYK.js +46 -0
  179. package/dist/lib/chunks/chunk-OYKV5NDM.js +28 -0
  180. package/dist/lib/chunks/chunk-P4K6BP3L.js +104 -0
  181. package/dist/lib/chunks/chunk-PCYNBDZ7.js +386 -0
  182. package/dist/lib/chunks/chunk-PDS5KWO3.js +256 -0
  183. package/dist/lib/chunks/chunk-PKB6JRJM.js +53 -0
  184. package/dist/lib/chunks/chunk-PO2J5OQ3.js +46 -0
  185. package/dist/lib/chunks/chunk-PYLJISDZ.js +206 -0
  186. package/dist/lib/chunks/chunk-Q2PWES4B.js +822 -0
  187. package/dist/lib/chunks/chunk-QBD24WTZ.js +37 -0
  188. package/dist/lib/chunks/chunk-QFVRCSJ2.js +54 -0
  189. package/dist/lib/chunks/chunk-QTXOW5XC.js +14 -0
  190. package/dist/lib/chunks/chunk-RBOO4NDG.js +33 -0
  191. package/dist/lib/chunks/chunk-RMFT4KKK.js +281 -0
  192. package/dist/lib/chunks/chunk-S2AM76LT.js +90 -0
  193. package/dist/lib/chunks/chunk-S2SFHTJD.js +152 -0
  194. package/dist/lib/chunks/chunk-S42BCLHP.js +0 -0
  195. package/dist/lib/chunks/chunk-S7KJZIUR.js +241 -0
  196. package/dist/lib/chunks/chunk-SBAZBOPI.js +33 -0
  197. package/dist/lib/chunks/chunk-SBQ4TWGJ.js +33 -0
  198. package/dist/lib/chunks/chunk-SDWYZM64.js +371 -0
  199. package/dist/lib/chunks/chunk-SREGO3PU.js +25 -0
  200. package/dist/lib/chunks/chunk-SWJ7KQSL.js +318 -0
  201. package/dist/lib/chunks/chunk-SZ2UBZKG.js +13 -0
  202. package/dist/lib/chunks/chunk-TCOH3FGE.js +66 -0
  203. package/dist/lib/chunks/chunk-TGTM5ZFR.js +82 -0
  204. package/dist/lib/chunks/chunk-TNL2GWYR.js +345 -0
  205. package/dist/lib/chunks/chunk-UGCT46PC.js +20 -0
  206. package/dist/lib/chunks/chunk-ULRXHSJL.js +85 -0
  207. package/dist/lib/chunks/chunk-URUODEVG.js +0 -0
  208. package/dist/lib/chunks/chunk-V5B6UZ3E.js +47 -0
  209. package/dist/lib/chunks/chunk-VHDVKEWO.js +102 -0
  210. package/dist/lib/chunks/chunk-W46Y7KBR.js +29 -0
  211. package/dist/lib/chunks/chunk-W5XYW6ZM.js +133 -0
  212. package/dist/lib/chunks/chunk-WDSCJEDG.js +371 -0
  213. package/dist/lib/chunks/chunk-WE2WPNG2.js +104 -0
  214. package/dist/lib/chunks/chunk-WJUHRJVW.js +55 -0
  215. package/dist/lib/chunks/chunk-WKH6BJAZ.js +167 -0
  216. package/dist/lib/chunks/chunk-WTQWU522.js +343 -0
  217. package/dist/lib/chunks/chunk-WUELMJ22.js +345 -0
  218. package/dist/lib/chunks/chunk-X2Y2ZNG3.js +776 -0
  219. package/dist/lib/chunks/chunk-X6E44EGV.js +261 -0
  220. package/dist/lib/chunks/chunk-XHWRSGX3.js +95 -0
  221. package/dist/lib/chunks/chunk-XI5H46DF.js +47 -0
  222. package/dist/lib/chunks/chunk-XJVXASDD.js +281 -0
  223. package/dist/lib/chunks/chunk-XU6WQ5UL.js +257 -0
  224. package/dist/lib/chunks/chunk-Y4OGZ3Q5.js +365 -0
  225. package/dist/lib/chunks/chunk-Y6D6IVOM.js +299 -0
  226. package/dist/lib/chunks/chunk-YHS5IEVZ.js +252 -0
  227. package/dist/lib/chunks/chunk-YIEAIIND.js +6 -0
  228. package/dist/lib/chunks/chunk-YOZNLFSB.js +297 -0
  229. package/dist/lib/chunks/chunk-YR67JG2V.js +65 -0
  230. package/dist/lib/chunks/chunk-YWJPJI3W.js +51 -0
  231. package/dist/lib/chunks/chunk-Z4LMDKBU.js +369 -0
  232. package/dist/lib/chunks/chunk-Z7V63UZA.js +108 -0
  233. package/dist/lib/chunks/chunk-ZCOI3HE2.js +45 -0
  234. package/dist/lib/chunks/chunk-ZLOOC46D.js +142 -0
  235. package/dist/lib/chunks/chunk-ZSEY7AHQ.js +123 -0
  236. package/dist/lib/chunks/chunk-ZVAKKRRD.js +11 -0
  237. package/dist/lib/chunks/chunk-ZXQPD4OC.js +202 -0
  238. package/dist/lib/chunks/chunk-ZYSPTOKK.js +302 -0
  239. package/dist/lib/cli/bundle-commands.js +371 -0
  240. package/dist/lib/cli/io.js +12 -0
  241. package/dist/lib/cli/run-commands.js +614 -0
  242. package/dist/lib/codex-workflow/aggregate.js +56 -0
  243. package/dist/lib/codex-workflow/author-search.js +48 -0
  244. package/dist/lib/codex-workflow/author-tools.js +63 -0
  245. package/dist/lib/codex-workflow/author.js +99 -0
  246. package/dist/lib/codex-workflow/batch-input.js +7 -0
  247. package/dist/lib/codex-workflow/batch-layout.js +8 -0
  248. package/dist/lib/codex-workflow/capture.js +62 -0
  249. package/dist/lib/codex-workflow/checkpoint.js +39 -0
  250. package/dist/lib/codex-workflow/checks.js +44 -0
  251. package/dist/lib/codex-workflow/codex-home.js +17 -0
  252. package/dist/lib/codex-workflow/copy-editor.js +66 -0
  253. package/dist/lib/codex-workflow/copy-recovery.js +32 -0
  254. package/dist/lib/codex-workflow/copy.js +66 -0
  255. package/dist/lib/codex-workflow/finish.js +84 -0
  256. package/dist/lib/codex-workflow/host-models.js +15 -0
  257. package/dist/lib/codex-workflow/loop.js +140 -0
  258. package/dist/lib/codex-workflow/pending.js +8 -0
  259. package/dist/lib/codex-workflow/prompts.js +8 -0
  260. package/dist/lib/codex-workflow/quality.js +31 -0
  261. package/dist/lib/codex-workflow/run-inputs.js +38 -0
  262. package/dist/lib/codex-workflow/run-source.js +55 -0
  263. package/dist/lib/codex-workflow/schemas.js +58 -0
  264. package/dist/lib/codex-workflow/session.js +40 -0
  265. package/dist/lib/codex-workflow/stage.js +98 -0
  266. package/dist/lib/codex-workflow/workdir.js +42 -0
  267. package/dist/lib/configs/literally-2026-q3.js +6 -0
  268. package/dist/lib/container/protocol.js +20 -0
  269. package/dist/lib/coverage-schema.js +6 -0
  270. package/dist/lib/engine/audit-file.js +46 -0
  271. package/dist/lib/engine/author.js +97 -0
  272. package/dist/lib/engine/budget.js +16 -0
  273. package/dist/lib/engine/env-file.js +8 -0
  274. package/dist/lib/engine/local-run.js +149 -0
  275. package/dist/lib/engine/package-root.js +8 -0
  276. package/dist/lib/engine/preflight.js +43 -0
  277. package/dist/lib/engine/rejudge.js +151 -0
  278. package/dist/lib/engine/resources.js +7 -0
  279. package/dist/lib/engine/run-configuration.js +15 -0
  280. package/dist/lib/engine/templates.js +33 -0
  281. package/dist/lib/grounding/controller.js +31 -0
  282. package/dist/lib/grounding/extract.js +38 -0
  283. package/dist/lib/grounding/fetch.js +23 -0
  284. package/dist/lib/grounding/file-store.js +17 -0
  285. package/dist/lib/grounding/grounding-runtime.js +62 -0
  286. package/dist/lib/grounding/model-usage.js +9 -0
  287. package/dist/lib/grounding/model.js +30 -0
  288. package/dist/lib/grounding/profile.js +15 -0
  289. package/dist/lib/grounding/recorded-tools.js +35 -0
  290. package/dist/lib/grounding/schema.js +42 -0
  291. package/dist/lib/grounding/session.js +30 -0
  292. package/dist/lib/grounding/tools.js +25 -0
  293. package/dist/lib/grounding/validation.js +28 -0
  294. package/dist/lib/grounding.js +13 -0
  295. package/dist/lib/harness/checkpoint.js +17 -0
  296. package/dist/lib/harness/contracts.js +30 -0
  297. package/dist/lib/harness/criteria.js +14 -0
  298. package/dist/lib/harness/policy.js +25 -0
  299. package/dist/lib/harness/report/artifacts.js +36 -0
  300. package/dist/lib/harness/report/capture-coverage.js +11 -0
  301. package/dist/lib/harness/store.js +46 -0
  302. package/dist/lib/lib/analysis-checkpoint.js +10 -0
  303. package/dist/lib/lib/canonical-json.js +8 -0
  304. package/dist/lib/lib/checkpoint.js +34 -0
  305. package/dist/lib/lib/env.js +14 -0
  306. package/dist/lib/lib/log.js +7 -0
  307. package/dist/lib/lib/paths.js +8 -0
  308. package/dist/lib/lib/progress-comparison.js +16 -0
  309. package/dist/lib/lib/report-presentation.js +13 -0
  310. package/dist/lib/lib/run-id.js +8 -0
  311. package/dist/lib/lib/type-guards.js +8 -0
  312. package/dist/lib/models/accounting.js +22 -0
  313. package/dist/lib/models/batching.js +18 -0
  314. package/dist/lib/models/budget-protection.js +6 -0
  315. package/dist/lib/models/context.js +0 -0
  316. package/dist/lib/models/coverage-rounds.js +6 -0
  317. package/dist/lib/models/errors.js +8 -0
  318. package/dist/lib/models/failure-diagnostics.js +6 -0
  319. package/dist/lib/models/profiles.js +30 -0
  320. package/dist/lib/models/served-model.js +6 -0
  321. package/dist/lib/models/structured-images.js +10 -0
  322. package/dist/lib/models/structured.js +25 -0
  323. package/dist/lib/models/wire-schema.js +6 -0
  324. package/dist/lib/pipeline.js +57 -0
  325. package/dist/lib/probes/agent-cli-parsers.js +23 -0
  326. package/dist/lib/probes/agent-clis.js +64 -0
  327. package/dist/lib/probes/chat-retrieval.js +17 -0
  328. package/dist/lib/probes/child-process.js +13 -0
  329. package/dist/lib/probes/dataforseo-locale.js +10 -0
  330. package/dist/lib/probes/dataforseo.js +10 -0
  331. package/dist/lib/probes/failure.js +26 -0
  332. package/dist/lib/probes/grounding-urls.js +19 -0
  333. package/dist/lib/probes/limits.js +12 -0
  334. package/dist/lib/probes/outcomes.js +13 -0
  335. package/dist/lib/probes/probe-trace.js +12 -0
  336. package/dist/lib/probes/probes.js +40 -0
  337. package/dist/lib/probes/web-tool-guard.js +18 -0
  338. package/dist/lib/report/contracts.js +34 -0
  339. package/dist/lib/report/core/answer-text.js +18 -0
  340. package/dist/lib/report/core/copy-schema.js +10 -0
  341. package/dist/lib/report/core/domain-match.js +11 -0
  342. package/dist/lib/report/core/grounding.js +12 -0
  343. package/dist/lib/report/core/normalize-domain.js +6 -0
  344. package/dist/lib/report/core/progress-comparison.js +15 -0
  345. package/dist/lib/report/core/progress-question-sets.js +16 -0
  346. package/dist/lib/report/core/progress-schema.js +12 -0
  347. package/dist/lib/report/core/progress-slot-key.js +6 -0
  348. package/dist/lib/report/core/qualified-competitors.js +6 -0
  349. package/dist/lib/report/core/report-presentation.js +12 -0
  350. package/dist/lib/report/core/retrieval.js +10 -0
  351. package/dist/lib/report/core/schema.js +70 -0
  352. package/dist/lib/report/core/source-classifier.js +21 -0
  353. package/dist/lib/report/core/surfaces.js +18 -0
  354. package/dist/lib/retrieval.js +11 -0
  355. package/dist/lib/runner.js +71 -0
  356. package/dist/lib/schema.js +110 -0
  357. package/dist/lib/section-result.js +34 -0
  358. package/dist/lib/stores/artifacts.js +35 -0
  359. package/dist/lib/stores/content-hash.js +10 -0
  360. package/dist/lib/stores/file-publication.js +20 -0
  361. package/dist/lib/stores/files.js +76 -0
  362. package/dist/lib/stores/fs-errors.js +6 -0
  363. package/dist/lib/stores/local-versions.js +40 -0
  364. package/dist/lib/stores/memory.js +312 -0
  365. package/dist/lib/stores/ports.js +6 -0
  366. package/dist/lib/stores/publication-history.js +10 -0
  367. package/dist/lib/stores/publication.js +50 -0
  368. package/dist/lib/stores/run-lifecycle.js +12 -0
  369. package/dist/lib/stores/versions.js +6 -0
  370. package/dist/lib/surfaces.js +19 -0
  371. package/dist/lib/viewer/page.js +6 -0
  372. package/dist/lib/viewer/server.js +71 -0
  373. package/dist/lib/workflow/callbacks.js +15 -0
  374. package/dist/lib/workflow/lineage.js +8 -0
  375. package/dist/lib/workflow/schema.js +52 -0
  376. package/dist/types/access/schema.d.ts +75 -0
  377. package/dist/types/agents/author-schema.d.ts +76 -0
  378. package/dist/types/agents/author-validation.d.ts +73 -0
  379. package/dist/types/agents/copy-schema.d.ts +345 -0
  380. package/dist/types/agents/copy-validation.d.ts +158 -0
  381. package/dist/types/agents/copywriter-input.d.ts +46 -0
  382. package/dist/types/agents/credentials.d.ts +10 -0
  383. package/dist/types/agents/facts.d.ts +69 -0
  384. package/dist/types/agents/narrative-facts.d.ts +8 -0
  385. package/dist/types/agents/verifier.d.ts +167 -0
  386. package/dist/types/analysis/answer-text.d.ts +1 -0
  387. package/dist/types/analysis/competitor-classifier.d.ts +1 -0
  388. package/dist/types/analysis/domain-classifier.d.ts +105 -0
  389. package/dist/types/analysis/domain-labels.d.ts +30 -0
  390. package/dist/types/analysis/domain-match.d.ts +1 -0
  391. package/dist/types/analysis/name-forms.d.ts +25 -0
  392. package/dist/types/analysis/outreach.d.ts +6 -0
  393. package/dist/types/analysis/progress-schema.d.ts +1 -0
  394. package/dist/types/analysis/progress.d.ts +15 -0
  395. package/dist/types/analysis/qualified-competitors.d.ts +1 -0
  396. package/dist/types/analysis/retrieval.d.ts +22 -0
  397. package/dist/types/analysis/scoring.d.ts +55 -0
  398. package/dist/types/analysis/search-analyzer.d.ts +23 -0
  399. package/dist/types/analysis/sentiment.d.ts +99 -0
  400. package/dist/types/analysis/source-classifier.d.ts +1 -0
  401. package/dist/types/analysis/source-mix.d.ts +6 -0
  402. package/dist/types/analysis/verbatim.d.ts +1 -0
  403. package/dist/types/api/errors.d.ts +30 -0
  404. package/dist/types/author/examples.d.ts +31 -0
  405. package/dist/types/bundle/checks.d.ts +45 -0
  406. package/dist/types/bundle/contracts.d.ts +354 -0
  407. package/dist/types/bundle/export.d.ts +46 -0
  408. package/dist/types/bundle/journal.d.ts +39 -0
  409. package/dist/types/bundle/json.d.ts +8 -0
  410. package/dist/types/bundle/lineage.d.ts +13 -0
  411. package/dist/types/bundle/paths.d.ts +2 -0
  412. package/dist/types/bundle/project-journal.d.ts +31 -0
  413. package/dist/types/bundle/project.d.ts +30 -0
  414. package/dist/types/bundle/read.d.ts +9 -0
  415. package/dist/types/bundle/recorder.d.ts +89 -0
  416. package/dist/types/bundle/redact.d.ts +17 -0
  417. package/dist/types/bundle/trace-coverage.d.ts +36 -0
  418. package/dist/types/bundle/verify-integrity.d.ts +11 -0
  419. package/dist/types/bundle/verify-measurement.d.ts +26 -0
  420. package/dist/types/bundle/verify-report.d.ts +16 -0
  421. package/dist/types/bundle/verify.d.ts +31 -0
  422. package/dist/types/bundle/writer-lock.d.ts +23 -0
  423. package/dist/types/bundle/zip.d.ts +24 -0
  424. package/dist/types/capture-manifest.d.ts +122 -0
  425. package/dist/types/checks/crawler-access.d.ts +25 -0
  426. package/dist/types/checks/renderability.d.ts +4 -0
  427. package/dist/types/checks/run-checks.d.ts +8 -0
  428. package/dist/types/cli/bundle-commands.d.ts +5 -0
  429. package/dist/types/cli/io.d.ts +10 -0
  430. package/dist/types/cli/literally-aeo.d.ts +1 -0
  431. package/dist/types/cli/run-commands.d.ts +14 -0
  432. package/dist/types/codex-workflow/aggregate.d.ts +76 -0
  433. package/dist/types/codex-workflow/author-search.d.ts +26 -0
  434. package/dist/types/codex-workflow/author-tools-server.d.ts +1 -0
  435. package/dist/types/codex-workflow/author-tools.d.ts +145 -0
  436. package/dist/types/codex-workflow/author.d.ts +101 -0
  437. package/dist/types/codex-workflow/batch-input.d.ts +12 -0
  438. package/dist/types/codex-workflow/batch-layout.d.ts +16 -0
  439. package/dist/types/codex-workflow/capture.d.ts +37 -0
  440. package/dist/types/codex-workflow/checkpoint.d.ts +18 -0
  441. package/dist/types/codex-workflow/checks.d.ts +53 -0
  442. package/dist/types/codex-workflow/codex-home.d.ts +47 -0
  443. package/dist/types/codex-workflow/copy-editor.d.ts +164 -0
  444. package/dist/types/codex-workflow/copy-recovery.d.ts +30 -0
  445. package/dist/types/codex-workflow/copy.d.ts +62 -0
  446. package/dist/types/codex-workflow/finish.d.ts +53 -0
  447. package/dist/types/codex-workflow/host-models.d.ts +5 -0
  448. package/dist/types/codex-workflow/loop.d.ts +177 -0
  449. package/dist/types/codex-workflow/pending.d.ts +6 -0
  450. package/dist/types/codex-workflow/prompts.d.ts +14 -0
  451. package/dist/types/codex-workflow/quality.d.ts +25 -0
  452. package/dist/types/codex-workflow/run-inputs.d.ts +951 -0
  453. package/dist/types/codex-workflow/run-source.d.ts +34 -0
  454. package/dist/types/codex-workflow/schemas.d.ts +493 -0
  455. package/dist/types/codex-workflow/session.d.ts +13 -0
  456. package/dist/types/codex-workflow/stage.d.ts +136 -0
  457. package/dist/types/codex-workflow/workdir.d.ts +40 -0
  458. package/dist/types/configs/literally-2026-q3.d.ts +2 -0
  459. package/dist/types/container/protocol.d.ts +72 -0
  460. package/dist/types/coverage-schema.d.ts +6 -0
  461. package/dist/types/engine/audit-file.d.ts +126 -0
  462. package/dist/types/engine/author.d.ts +52 -0
  463. package/dist/types/engine/budget.d.ts +68 -0
  464. package/dist/types/engine/env-file.d.ts +13 -0
  465. package/dist/types/engine/local-run.d.ts +62 -0
  466. package/dist/types/engine/package-root.d.ts +8 -0
  467. package/dist/types/engine/preflight.d.ts +27 -0
  468. package/dist/types/engine/rejudge.d.ts +14 -0
  469. package/dist/types/engine/resources.d.ts +8 -0
  470. package/dist/types/engine/run-configuration.d.ts +36 -0
  471. package/dist/types/engine/templates.d.ts +38 -0
  472. package/dist/types/grounding/controller.d.ts +110 -0
  473. package/dist/types/grounding/extract.d.ts +103 -0
  474. package/dist/types/grounding/fetch.d.ts +53 -0
  475. package/dist/types/grounding/file-store.d.ts +2 -0
  476. package/dist/types/grounding/grounding-runtime.d.ts +43 -0
  477. package/dist/types/grounding/model-usage.d.ts +13 -0
  478. package/dist/types/grounding/model.d.ts +51 -0
  479. package/dist/types/grounding/profile.d.ts +15 -0
  480. package/dist/types/grounding/recorded-tools.d.ts +12 -0
  481. package/dist/types/grounding/schema.d.ts +521 -0
  482. package/dist/types/grounding/session.d.ts +143 -0
  483. package/dist/types/grounding/tools.d.ts +135 -0
  484. package/dist/types/grounding/validation.d.ts +35 -0
  485. package/dist/types/grounding.d.ts +1 -0
  486. package/dist/types/harness/checkpoint.d.ts +29 -0
  487. package/dist/types/harness/contracts.d.ts +141 -0
  488. package/dist/types/harness/criteria.d.ts +34 -0
  489. package/dist/types/harness/policy.d.ts +9 -0
  490. package/dist/types/harness/report/artifacts.d.ts +287 -0
  491. package/dist/types/harness/report/capture-coverage.d.ts +11 -0
  492. package/dist/types/harness/store.d.ts +116 -0
  493. package/dist/types/lib/analysis-checkpoint.d.ts +20 -0
  494. package/dist/types/lib/canonical-json.d.ts +11 -0
  495. package/dist/types/lib/checkpoint.d.ts +33 -0
  496. package/dist/types/lib/env.d.ts +31 -0
  497. package/dist/types/lib/log.d.ts +11 -0
  498. package/dist/types/lib/paths.d.ts +2 -0
  499. package/dist/types/lib/progress-comparison.d.ts +1 -0
  500. package/dist/types/lib/report-presentation.d.ts +1 -0
  501. package/dist/types/lib/run-id.d.ts +2 -0
  502. package/dist/types/lib/type-guards.d.ts +9 -0
  503. package/dist/types/models/accounting.d.ts +147 -0
  504. package/dist/types/models/batching.d.ts +17 -0
  505. package/dist/types/models/budget-protection.d.ts +10 -0
  506. package/dist/types/models/context.d.ts +8 -0
  507. package/dist/types/models/coverage-rounds.d.ts +47 -0
  508. package/dist/types/models/errors.d.ts +12 -0
  509. package/dist/types/models/failure-diagnostics.d.ts +8 -0
  510. package/dist/types/models/profiles.d.ts +551 -0
  511. package/dist/types/models/served-model.d.ts +11 -0
  512. package/dist/types/models/structured-images.d.ts +9 -0
  513. package/dist/types/models/structured.d.ts +111 -0
  514. package/dist/types/models/wire-schema.d.ts +27 -0
  515. package/dist/types/pipeline.d.ts +117 -0
  516. package/dist/types/probes/agent-cli-parsers.d.ts +46 -0
  517. package/dist/types/probes/agent-clis.d.ts +132 -0
  518. package/dist/types/probes/chat-retrieval.d.ts +14 -0
  519. package/dist/types/probes/child-process.d.ts +28 -0
  520. package/dist/types/probes/dataforseo-locale.d.ts +8 -0
  521. package/dist/types/probes/dataforseo.d.ts +15 -0
  522. package/dist/types/probes/failure.d.ts +30 -0
  523. package/dist/types/probes/grounding-urls.d.ts +18 -0
  524. package/dist/types/probes/limits.d.ts +30 -0
  525. package/dist/types/probes/outcomes.d.ts +20 -0
  526. package/dist/types/probes/probe-trace.d.ts +51 -0
  527. package/dist/types/probes/probes.d.ts +47 -0
  528. package/dist/types/probes/web-tool-guard.d.ts +59 -0
  529. package/dist/types/report/contracts.d.ts +973 -0
  530. package/dist/types/report/core/answer-text.d.ts +24 -0
  531. package/dist/types/report/core/copy-schema.d.ts +47 -0
  532. package/dist/types/report/core/domain-match.d.ts +9 -0
  533. package/dist/types/report/core/grounding.d.ts +4 -0
  534. package/dist/types/report/core/normalize-domain.d.ts +2 -0
  535. package/dist/types/report/core/progress-comparison.d.ts +52 -0
  536. package/dist/types/report/core/progress-question-sets.d.ts +16 -0
  537. package/dist/types/report/core/progress-schema.d.ts +101 -0
  538. package/dist/types/report/core/progress-slot-key.d.ts +9 -0
  539. package/dist/types/report/core/qualified-competitors.d.ts +6 -0
  540. package/dist/types/report/core/report-presentation.d.ts +10 -0
  541. package/dist/types/report/core/retrieval.d.ts +6 -0
  542. package/dist/types/report/core/schema.d.ts +745 -0
  543. package/dist/types/report/core/source-classifier.d.ts +21 -0
  544. package/dist/types/report/core/surfaces.d.ts +11 -0
  545. package/dist/types/retrieval.d.ts +1 -0
  546. package/dist/types/runner.d.ts +96 -0
  547. package/dist/types/schema.d.ts +858 -0
  548. package/dist/types/section-result.d.ts +4 -0
  549. package/dist/types/stores/artifacts.d.ts +2 -0
  550. package/dist/types/stores/content-hash.d.ts +2 -0
  551. package/dist/types/stores/file-publication.d.ts +31 -0
  552. package/dist/types/stores/files.d.ts +87 -0
  553. package/dist/types/stores/fs-errors.d.ts +5 -0
  554. package/dist/types/stores/local-versions.d.ts +54 -0
  555. package/dist/types/stores/memory.d.ts +76 -0
  556. package/dist/types/stores/ports.d.ts +150 -0
  557. package/dist/types/stores/publication-history.d.ts +27 -0
  558. package/dist/types/stores/publication.d.ts +53 -0
  559. package/dist/types/stores/run-lifecycle.d.ts +7 -0
  560. package/dist/types/stores/versions.d.ts +71 -0
  561. package/dist/types/surfaces.d.ts +1 -0
  562. package/dist/types/viewer/page.d.ts +2 -0
  563. package/dist/types/viewer/server.d.ts +14 -0
  564. package/dist/types/workflow/callbacks.d.ts +22 -0
  565. package/dist/types/workflow/lineage.d.ts +20 -0
  566. package/dist/types/workflow/schema.d.ts +1572 -0
  567. package/package.json +95 -3
  568. package/resources/author/COPY_RULES.md +95 -0
  569. package/resources/author/RULES.md +104 -0
  570. package/resources/author/banlist.json +38 -0
  571. package/resources/editorial/COMPANY.md +11 -0
  572. package/resources/editorial/positioning.md +8 -0
  573. package/resources/editorial/services.md +4 -0
  574. package/src/access/schema.ts +96 -0
  575. package/src/agents/author-schema.ts +49 -0
  576. package/src/agents/author-validation.ts +409 -0
  577. package/src/agents/copy-schema.ts +214 -0
  578. package/src/agents/copy-validation.ts +1170 -0
  579. package/src/agents/copywriter-input.ts +90 -0
  580. package/src/agents/credentials.ts +60 -0
  581. package/src/agents/facts.ts +343 -0
  582. package/src/agents/narrative-facts.ts +174 -0
  583. package/src/agents/verifier.ts +603 -0
  584. package/src/analysis/answer-text.ts +1 -0
  585. package/src/analysis/competitor-classifier.ts +15 -0
  586. package/src/analysis/domain-classifier.ts +804 -0
  587. package/src/analysis/domain-labels.ts +67 -0
  588. package/src/analysis/domain-match.ts +1 -0
  589. package/src/analysis/name-forms.ts +59 -0
  590. package/src/analysis/outreach.ts +107 -0
  591. package/src/analysis/progress-schema.ts +1 -0
  592. package/src/analysis/progress.ts +346 -0
  593. package/src/analysis/qualified-competitors.ts +1 -0
  594. package/src/analysis/retrieval.ts +105 -0
  595. package/src/analysis/scoring.ts +167 -0
  596. package/src/analysis/search-analyzer.ts +83 -0
  597. package/src/analysis/sentiment.ts +558 -0
  598. package/src/analysis/source-classifier.ts +1 -0
  599. package/src/analysis/source-mix.ts +56 -0
  600. package/src/analysis/verbatim.ts +107 -0
  601. package/src/api/errors.ts +50 -0
  602. package/src/author/COPY_RULES.md +95 -0
  603. package/src/author/RULES.md +104 -0
  604. package/src/author/banlist.json +38 -0
  605. package/src/author/examples.ts +79 -0
  606. package/src/bundle/checks.ts +146 -0
  607. package/src/bundle/contracts.ts +289 -0
  608. package/src/bundle/export.ts +448 -0
  609. package/src/bundle/journal.ts +270 -0
  610. package/src/bundle/json.ts +157 -0
  611. package/src/bundle/lineage.ts +45 -0
  612. package/src/bundle/paths.ts +36 -0
  613. package/src/bundle/project-journal.ts +179 -0
  614. package/src/bundle/project.ts +434 -0
  615. package/src/bundle/read.ts +154 -0
  616. package/src/bundle/recorder.ts +497 -0
  617. package/src/bundle/redact.ts +134 -0
  618. package/src/bundle/trace-coverage.ts +168 -0
  619. package/src/bundle/verify-integrity.ts +322 -0
  620. package/src/bundle/verify-measurement.ts +384 -0
  621. package/src/bundle/verify-report.ts +260 -0
  622. package/src/bundle/verify.ts +400 -0
  623. package/src/bundle/writer-lock.ts +133 -0
  624. package/src/bundle/zip.ts +281 -0
  625. package/src/capture-manifest.ts +348 -0
  626. package/src/checks/crawler-access.ts +373 -0
  627. package/src/checks/renderability.ts +164 -0
  628. package/src/checks/run-checks.ts +74 -0
  629. package/src/cli/bundle-commands.ts +249 -0
  630. package/src/cli/io.ts +63 -0
  631. package/src/cli/literally-aeo.ts +121 -0
  632. package/src/cli/run-commands.ts +535 -0
  633. package/src/codex-workflow/aggregate.ts +336 -0
  634. package/src/codex-workflow/author-search.ts +76 -0
  635. package/src/codex-workflow/author-tools-server.ts +208 -0
  636. package/src/codex-workflow/author-tools.ts +1202 -0
  637. package/src/codex-workflow/author.ts +512 -0
  638. package/src/codex-workflow/batch-input.ts +145 -0
  639. package/src/codex-workflow/batch-layout.ts +47 -0
  640. package/src/codex-workflow/capture.ts +255 -0
  641. package/src/codex-workflow/checkpoint.ts +127 -0
  642. package/src/codex-workflow/checks.ts +510 -0
  643. package/src/codex-workflow/codex-home.ts +187 -0
  644. package/src/codex-workflow/copy-editor.ts +322 -0
  645. package/src/codex-workflow/copy-recovery.ts +134 -0
  646. package/src/codex-workflow/copy.ts +195 -0
  647. package/src/codex-workflow/finish.ts +433 -0
  648. package/src/codex-workflow/host-models.ts +35 -0
  649. package/src/codex-workflow/loop.ts +1159 -0
  650. package/src/codex-workflow/pending.ts +24 -0
  651. package/src/codex-workflow/prompts.ts +153 -0
  652. package/src/codex-workflow/quality.ts +97 -0
  653. package/src/codex-workflow/run-inputs.ts +117 -0
  654. package/src/codex-workflow/run-source.ts +149 -0
  655. package/src/codex-workflow/schemas.ts +222 -0
  656. package/src/codex-workflow/session.ts +70 -0
  657. package/src/codex-workflow/stage.ts +2344 -0
  658. package/src/codex-workflow/workdir.ts +242 -0
  659. package/src/configs/literally-2026-q3.ts +199 -0
  660. package/src/container/protocol.ts +152 -0
  661. package/src/coverage-schema.ts +7 -0
  662. package/src/engine/audit-file.ts +254 -0
  663. package/src/engine/author.ts +279 -0
  664. package/src/engine/budget.ts +164 -0
  665. package/src/engine/editorial/COMPANY.md +11 -0
  666. package/src/engine/editorial/positioning.md +8 -0
  667. package/src/engine/editorial/services.md +4 -0
  668. package/src/engine/env-file.ts +87 -0
  669. package/src/engine/local-run.ts +323 -0
  670. package/src/engine/package-root.ts +47 -0
  671. package/src/engine/preflight.ts +156 -0
  672. package/src/engine/rejudge.ts +118 -0
  673. package/src/engine/resources.ts +45 -0
  674. package/src/engine/run-configuration.ts +70 -0
  675. package/src/engine/templates.ts +66 -0
  676. package/src/grounding/controller.ts +1211 -0
  677. package/src/grounding/extract.ts +830 -0
  678. package/src/grounding/fetch.ts +448 -0
  679. package/src/grounding/file-store.ts +131 -0
  680. package/src/grounding/grounding-runtime.ts +318 -0
  681. package/src/grounding/model-usage.ts +48 -0
  682. package/src/grounding/model.ts +508 -0
  683. package/src/grounding/profile.ts +63 -0
  684. package/src/grounding/recorded-tools.ts +40 -0
  685. package/src/grounding/schema.ts +262 -0
  686. package/src/grounding/session.ts +681 -0
  687. package/src/grounding/tools.ts +500 -0
  688. package/src/grounding/validation.ts +435 -0
  689. package/src/grounding.ts +1 -0
  690. package/src/harness/checkpoint.ts +53 -0
  691. package/src/harness/contracts.ts +169 -0
  692. package/src/harness/criteria.ts +166 -0
  693. package/src/harness/policy.ts +28 -0
  694. package/src/harness/report/artifacts.ts +130 -0
  695. package/src/harness/report/capture-coverage.ts +40 -0
  696. package/src/harness/store.ts +167 -0
  697. package/src/lib/analysis-checkpoint.ts +94 -0
  698. package/src/lib/canonical-json.ts +90 -0
  699. package/src/lib/checkpoint.ts +140 -0
  700. package/src/lib/env.ts +80 -0
  701. package/src/lib/log.ts +192 -0
  702. package/src/lib/paths.ts +14 -0
  703. package/src/lib/progress-comparison.ts +1 -0
  704. package/src/lib/report-presentation.ts +1 -0
  705. package/src/lib/run-id.ts +39 -0
  706. package/src/lib/type-guards.ts +14 -0
  707. package/src/models/accounting.ts +656 -0
  708. package/src/models/batching.ts +68 -0
  709. package/src/models/budget-protection.ts +68 -0
  710. package/src/models/context.ts +9 -0
  711. package/src/models/coverage-rounds.ts +125 -0
  712. package/src/models/errors.ts +39 -0
  713. package/src/models/failure-diagnostics.ts +157 -0
  714. package/src/models/profiles.ts +511 -0
  715. package/src/models/served-model.ts +20 -0
  716. package/src/models/structured-images.ts +95 -0
  717. package/src/models/structured.ts +634 -0
  718. package/src/models/wire-schema.ts +453 -0
  719. package/src/pipeline.ts +496 -0
  720. package/src/probes/agent-cli-parsers.ts +835 -0
  721. package/src/probes/agent-clis.ts +1482 -0
  722. package/src/probes/chat-retrieval.ts +238 -0
  723. package/src/probes/child-process.ts +280 -0
  724. package/src/probes/dataforseo-locale.ts +71 -0
  725. package/src/probes/dataforseo.ts +286 -0
  726. package/src/probes/failure.ts +182 -0
  727. package/src/probes/grounding-urls.ts +182 -0
  728. package/src/probes/limits.ts +181 -0
  729. package/src/probes/outcomes.ts +40 -0
  730. package/src/probes/probe-trace.ts +109 -0
  731. package/src/probes/probes.ts +789 -0
  732. package/src/probes/web-tool-guard.ts +195 -0
  733. package/src/report/contracts.ts +161 -0
  734. package/src/report/core/answer-text.ts +144 -0
  735. package/src/report/core/copy-schema.ts +75 -0
  736. package/src/report/core/domain-match.ts +52 -0
  737. package/src/report/core/grounding.ts +32 -0
  738. package/src/report/core/normalize-domain.ts +16 -0
  739. package/src/report/core/progress-comparison.ts +362 -0
  740. package/src/report/core/progress-question-sets.ts +93 -0
  741. package/src/report/core/progress-schema.ts +150 -0
  742. package/src/report/core/progress-slot-key.ts +20 -0
  743. package/src/report/core/qualified-competitors.ts +15 -0
  744. package/src/report/core/report-presentation.ts +112 -0
  745. package/src/report/core/retrieval.ts +49 -0
  746. package/src/report/core/schema.ts +489 -0
  747. package/src/report/core/source-classifier.ts +239 -0
  748. package/src/report/core/surfaces.ts +64 -0
  749. package/src/retrieval.ts +1 -0
  750. package/src/runner.ts +461 -0
  751. package/src/schema.ts +181 -0
  752. package/src/section-result.ts +315 -0
  753. package/src/stores/artifacts.ts +74 -0
  754. package/src/stores/content-hash.ts +8 -0
  755. package/src/stores/file-publication.ts +194 -0
  756. package/src/stores/files.ts +1069 -0
  757. package/src/stores/fs-errors.ts +12 -0
  758. package/src/stores/local-versions.ts +412 -0
  759. package/src/stores/memory.ts +432 -0
  760. package/src/stores/ports.ts +231 -0
  761. package/src/stores/publication-history.ts +48 -0
  762. package/src/stores/publication.ts +221 -0
  763. package/src/stores/run-lifecycle.ts +72 -0
  764. package/src/stores/versions.ts +113 -0
  765. package/src/surfaces.ts +1 -0
  766. package/src/viewer/page.ts +208 -0
  767. package/src/viewer/server.ts +215 -0
  768. package/src/workflow/callbacks.ts +201 -0
  769. package/src/workflow/lineage.ts +36 -0
  770. package/src/workflow/schema.ts +256 -0
@@ -0,0 +1,1572 @@
1
+ import { z } from 'zod';
2
+ import { type RequestClientAccess, type TokenAccess } from '../access/schema';
3
+ import { type ModelBudgetLimits } from '../models/accounting';
4
+ import { type GenerationBackend } from '../models/profiles';
5
+ export { reportKeySchema } from '../report/contracts';
6
+ export declare const gateSchema: z.ZodEnum<{
7
+ copy: "copy";
8
+ config: "config";
9
+ publish: "publish";
10
+ }>;
11
+ export type Gate = z.infer<typeof gateSchema>;
12
+ export declare const gatePolicySchema: z.ZodEnum<{
13
+ auto: "auto";
14
+ human: "human";
15
+ }>;
16
+ export type GatePolicy = z.infer<typeof gatePolicySchema>;
17
+ export declare const gatesSchema: z.ZodObject<{
18
+ config: z.ZodOptional<z.ZodEnum<{
19
+ auto: "auto";
20
+ human: "human";
21
+ }>>;
22
+ copy: z.ZodOptional<z.ZodEnum<{
23
+ auto: "auto";
24
+ human: "human";
25
+ }>>;
26
+ publish: z.ZodOptional<z.ZodEnum<{
27
+ auto: "auto";
28
+ human: "human";
29
+ }>>;
30
+ }, z.core.$strict>;
31
+ export type ResolvedGates = Record<Gate, {
32
+ value: GatePolicy;
33
+ source: 'default' | 'request';
34
+ }>;
35
+ export declare const scopeSchema: z.ZodEnum<{
36
+ "pipelines:write": "pipelines:write";
37
+ "pipelines:read": "pipelines:read";
38
+ "pipelines:review": "pipelines:review";
39
+ "gates:override": "gates:override";
40
+ "configs:read": "configs:read";
41
+ "configs:write": "configs:write";
42
+ "runs:write": "runs:write";
43
+ "runs:read": "runs:read";
44
+ "reports:read": "reports:read";
45
+ "reports:published:read": "reports:published:read";
46
+ "reports:public:create": "reports:public:create";
47
+ "reports:access:write": "reports:access:write";
48
+ }>;
49
+ export type Scope = z.infer<typeof scopeSchema>;
50
+ export declare const briefSchema: z.ZodObject<{
51
+ companyName: z.ZodString;
52
+ website: z.ZodURL;
53
+ desiredRecommendation: z.ZodString;
54
+ competitors: z.ZodOptional<z.ZodString>;
55
+ moneyPages: z.ZodOptional<z.ZodString>;
56
+ notes: z.ZodOptional<z.ZodString>;
57
+ }, z.core.$strict>;
58
+ /**
59
+ * harnessPolicySchema is pinned at admission: every pipeline runs the report
60
+ * job (aeo/jobs/report.ts) after config approval, so `required` is always true
61
+ * on a new admission and `version` names the policy shape. Not strict on
62
+ * purpose: admissions stored before the runner was folded into one path carry
63
+ * the retired `runner` and `derive` keys, which a resume must read past rather
64
+ * than refuse.
65
+ */
66
+ export declare const harnessPolicySchema: z.ZodObject<{
67
+ required: z.ZodBoolean;
68
+ version: z.ZodLiteral<1>;
69
+ }, z.core.$strip>;
70
+ export type HarnessAdmissionPolicy = z.infer<typeof harnessPolicySchema>;
71
+ export declare const pipelineRequestSchema: z.ZodPipe<z.ZodObject<{
72
+ tier: z.ZodOptional<z.ZodEnum<{
73
+ free: "free";
74
+ paid: "paid";
75
+ }>>;
76
+ harness: z.ZodOptional<z.ZodObject<{
77
+ required: z.ZodBoolean;
78
+ version: z.ZodLiteral<1>;
79
+ }, z.core.$strip>>;
80
+ brief: z.ZodOptional<z.ZodObject<{
81
+ companyName: z.ZodString;
82
+ website: z.ZodURL;
83
+ desiredRecommendation: z.ZodString;
84
+ competitors: z.ZodOptional<z.ZodString>;
85
+ moneyPages: z.ZodOptional<z.ZodString>;
86
+ notes: z.ZodOptional<z.ZodString>;
87
+ }, z.core.$strict>>;
88
+ reportKey: z.ZodOptional<z.ZodString>;
89
+ audience: z.ZodOptional<z.ZodEnum<{
90
+ client_private: "client_private";
91
+ unlisted_public: "unlisted_public";
92
+ }>>;
93
+ submissionId: z.ZodOptional<z.ZodString>;
94
+ gates: z.ZodDefault<z.ZodObject<{
95
+ config: z.ZodOptional<z.ZodEnum<{
96
+ auto: "auto";
97
+ human: "human";
98
+ }>>;
99
+ copy: z.ZodOptional<z.ZodEnum<{
100
+ auto: "auto";
101
+ human: "human";
102
+ }>>;
103
+ publish: z.ZodOptional<z.ZodEnum<{
104
+ auto: "auto";
105
+ human: "human";
106
+ }>>;
107
+ }, z.core.$strict>>;
108
+ authorAgent: z.ZodOptional<z.ZodEnum<{
109
+ claude_code: "claude_code";
110
+ codex: "codex";
111
+ gateway: "gateway";
112
+ }>>;
113
+ copyAgent: z.ZodOptional<z.ZodEnum<{
114
+ claude_code: "claude_code";
115
+ codex: "codex";
116
+ gateway: "gateway";
117
+ }>>;
118
+ modelProfileId: z.ZodOptional<z.ZodEnum<{
119
+ "opus-grounding-v1": "opus-grounding-v1";
120
+ "astra-grounding-v1": "astra-grounding-v1";
121
+ "opus-harness-v1": "opus-harness-v1";
122
+ "astra-harness-v1": "astra-harness-v1";
123
+ "glm-harness-v1": "glm-harness-v1";
124
+ "deepseek-harness-v1": "deepseek-harness-v1";
125
+ "deepseek-harness-v2": "deepseek-harness-v2";
126
+ }>>;
127
+ modelProfile: z.ZodOptional<z.ZodObject<{
128
+ id: z.ZodEnum<{
129
+ "opus-grounding-v1": "opus-grounding-v1";
130
+ "astra-grounding-v1": "astra-grounding-v1";
131
+ "opus-harness-v1": "opus-harness-v1";
132
+ "astra-harness-v1": "astra-harness-v1";
133
+ "glm-harness-v1": "glm-harness-v1";
134
+ "deepseek-harness-v1": "deepseek-harness-v1";
135
+ "deepseek-harness-v2": "deepseek-harness-v2";
136
+ }>;
137
+ version: z.ZodLiteral<1>;
138
+ pricingCheckedAt: z.ZodISODate;
139
+ searchProvider: z.ZodEnum<{
140
+ disabled: "disabled";
141
+ "dataforseo-google-organic-v1": "dataforseo-google-organic-v1";
142
+ }>;
143
+ roles: z.ZodObject<{
144
+ analyzer: z.ZodObject<{
145
+ model: z.ZodEnum<{
146
+ "anthropic/claude-opus-4.6": "anthropic/claude-opus-4.6";
147
+ "openai/gpt-6-astra": "openai/gpt-6-astra";
148
+ "zai/glm-5.3": "zai/glm-5.3";
149
+ "moonshotai/kimi-k3": "moonshotai/kimi-k3";
150
+ "deepseek/deepseek-v4.1-flash": "deepseek/deepseek-v4.1-flash";
151
+ "anthropic/claude-opus-5": "anthropic/claude-opus-5";
152
+ }>;
153
+ providerOptions: z.ZodObject<{
154
+ openai: z.ZodOptional<z.ZodObject<{
155
+ reasoningEffort: z.ZodLiteral<"high">;
156
+ }, z.core.$strict>>;
157
+ gateway: z.ZodOptional<z.ZodObject<{
158
+ reasoning: z.ZodUnion<readonly [z.ZodObject<{
159
+ effort: z.ZodLiteral<"high">;
160
+ }, z.core.$strict>, z.ZodObject<{
161
+ max_tokens: z.ZodNumber;
162
+ }, z.core.$strict>]>;
163
+ only: z.ZodOptional<z.ZodArray<z.ZodString>>;
164
+ }, z.core.$strict>>;
165
+ }, z.core.$strict>;
166
+ promptVersion: z.ZodString;
167
+ schemaVersion: z.ZodString;
168
+ deadlineMs: z.ZodNumber;
169
+ maxInputTokens: z.ZodNumber;
170
+ maxOutputTokens: z.ZodNumber;
171
+ maxItemsPerCall: z.ZodOptional<z.ZodNumber>;
172
+ pricingUsdPerMillion: z.ZodObject<{
173
+ input: z.ZodNumber;
174
+ output: z.ZodNumber;
175
+ cachedInput: z.ZodNumber;
176
+ }, z.core.$strict>;
177
+ }, z.core.$strict>;
178
+ perception: z.ZodObject<{
179
+ model: z.ZodEnum<{
180
+ "anthropic/claude-opus-4.6": "anthropic/claude-opus-4.6";
181
+ "openai/gpt-6-astra": "openai/gpt-6-astra";
182
+ "zai/glm-5.3": "zai/glm-5.3";
183
+ "moonshotai/kimi-k3": "moonshotai/kimi-k3";
184
+ "deepseek/deepseek-v4.1-flash": "deepseek/deepseek-v4.1-flash";
185
+ "anthropic/claude-opus-5": "anthropic/claude-opus-5";
186
+ }>;
187
+ providerOptions: z.ZodObject<{
188
+ openai: z.ZodOptional<z.ZodObject<{
189
+ reasoningEffort: z.ZodLiteral<"high">;
190
+ }, z.core.$strict>>;
191
+ gateway: z.ZodOptional<z.ZodObject<{
192
+ reasoning: z.ZodUnion<readonly [z.ZodObject<{
193
+ effort: z.ZodLiteral<"high">;
194
+ }, z.core.$strict>, z.ZodObject<{
195
+ max_tokens: z.ZodNumber;
196
+ }, z.core.$strict>]>;
197
+ only: z.ZodOptional<z.ZodArray<z.ZodString>>;
198
+ }, z.core.$strict>>;
199
+ }, z.core.$strict>;
200
+ promptVersion: z.ZodString;
201
+ schemaVersion: z.ZodString;
202
+ deadlineMs: z.ZodNumber;
203
+ maxInputTokens: z.ZodNumber;
204
+ maxOutputTokens: z.ZodNumber;
205
+ maxItemsPerCall: z.ZodOptional<z.ZodNumber>;
206
+ pricingUsdPerMillion: z.ZodObject<{
207
+ input: z.ZodNumber;
208
+ output: z.ZodNumber;
209
+ cachedInput: z.ZodNumber;
210
+ }, z.core.$strict>;
211
+ }, z.core.$strict>;
212
+ research: z.ZodObject<{
213
+ model: z.ZodEnum<{
214
+ "anthropic/claude-opus-4.6": "anthropic/claude-opus-4.6";
215
+ "openai/gpt-6-astra": "openai/gpt-6-astra";
216
+ "zai/glm-5.3": "zai/glm-5.3";
217
+ "moonshotai/kimi-k3": "moonshotai/kimi-k3";
218
+ "deepseek/deepseek-v4.1-flash": "deepseek/deepseek-v4.1-flash";
219
+ "anthropic/claude-opus-5": "anthropic/claude-opus-5";
220
+ }>;
221
+ providerOptions: z.ZodObject<{
222
+ openai: z.ZodOptional<z.ZodObject<{
223
+ reasoningEffort: z.ZodLiteral<"high">;
224
+ }, z.core.$strict>>;
225
+ gateway: z.ZodOptional<z.ZodObject<{
226
+ reasoning: z.ZodUnion<readonly [z.ZodObject<{
227
+ effort: z.ZodLiteral<"high">;
228
+ }, z.core.$strict>, z.ZodObject<{
229
+ max_tokens: z.ZodNumber;
230
+ }, z.core.$strict>]>;
231
+ only: z.ZodOptional<z.ZodArray<z.ZodString>>;
232
+ }, z.core.$strict>>;
233
+ }, z.core.$strict>;
234
+ promptVersion: z.ZodString;
235
+ schemaVersion: z.ZodString;
236
+ deadlineMs: z.ZodNumber;
237
+ maxInputTokens: z.ZodNumber;
238
+ maxOutputTokens: z.ZodNumber;
239
+ maxItemsPerCall: z.ZodOptional<z.ZodNumber>;
240
+ pricingUsdPerMillion: z.ZodObject<{
241
+ input: z.ZodNumber;
242
+ output: z.ZodNumber;
243
+ cachedInput: z.ZodNumber;
244
+ }, z.core.$strict>;
245
+ }, z.core.$strict>;
246
+ adjudication: z.ZodObject<{
247
+ model: z.ZodEnum<{
248
+ "anthropic/claude-opus-4.6": "anthropic/claude-opus-4.6";
249
+ "openai/gpt-6-astra": "openai/gpt-6-astra";
250
+ "zai/glm-5.3": "zai/glm-5.3";
251
+ "moonshotai/kimi-k3": "moonshotai/kimi-k3";
252
+ "deepseek/deepseek-v4.1-flash": "deepseek/deepseek-v4.1-flash";
253
+ "anthropic/claude-opus-5": "anthropic/claude-opus-5";
254
+ }>;
255
+ providerOptions: z.ZodObject<{
256
+ openai: z.ZodOptional<z.ZodObject<{
257
+ reasoningEffort: z.ZodLiteral<"high">;
258
+ }, z.core.$strict>>;
259
+ gateway: z.ZodOptional<z.ZodObject<{
260
+ reasoning: z.ZodUnion<readonly [z.ZodObject<{
261
+ effort: z.ZodLiteral<"high">;
262
+ }, z.core.$strict>, z.ZodObject<{
263
+ max_tokens: z.ZodNumber;
264
+ }, z.core.$strict>]>;
265
+ only: z.ZodOptional<z.ZodArray<z.ZodString>>;
266
+ }, z.core.$strict>>;
267
+ }, z.core.$strict>;
268
+ promptVersion: z.ZodString;
269
+ schemaVersion: z.ZodString;
270
+ deadlineMs: z.ZodNumber;
271
+ maxInputTokens: z.ZodNumber;
272
+ maxOutputTokens: z.ZodNumber;
273
+ maxItemsPerCall: z.ZodOptional<z.ZodNumber>;
274
+ pricingUsdPerMillion: z.ZodObject<{
275
+ input: z.ZodNumber;
276
+ output: z.ZodNumber;
277
+ cachedInput: z.ZodNumber;
278
+ }, z.core.$strict>;
279
+ }, z.core.$strict>;
280
+ premiseVerifier: z.ZodObject<{
281
+ model: z.ZodEnum<{
282
+ "anthropic/claude-opus-4.6": "anthropic/claude-opus-4.6";
283
+ "openai/gpt-6-astra": "openai/gpt-6-astra";
284
+ "zai/glm-5.3": "zai/glm-5.3";
285
+ "moonshotai/kimi-k3": "moonshotai/kimi-k3";
286
+ "deepseek/deepseek-v4.1-flash": "deepseek/deepseek-v4.1-flash";
287
+ "anthropic/claude-opus-5": "anthropic/claude-opus-5";
288
+ }>;
289
+ providerOptions: z.ZodObject<{
290
+ openai: z.ZodOptional<z.ZodObject<{
291
+ reasoningEffort: z.ZodLiteral<"high">;
292
+ }, z.core.$strict>>;
293
+ gateway: z.ZodOptional<z.ZodObject<{
294
+ reasoning: z.ZodUnion<readonly [z.ZodObject<{
295
+ effort: z.ZodLiteral<"high">;
296
+ }, z.core.$strict>, z.ZodObject<{
297
+ max_tokens: z.ZodNumber;
298
+ }, z.core.$strict>]>;
299
+ only: z.ZodOptional<z.ZodArray<z.ZodString>>;
300
+ }, z.core.$strict>>;
301
+ }, z.core.$strict>;
302
+ promptVersion: z.ZodString;
303
+ schemaVersion: z.ZodString;
304
+ deadlineMs: z.ZodNumber;
305
+ maxInputTokens: z.ZodNumber;
306
+ maxOutputTokens: z.ZodNumber;
307
+ maxItemsPerCall: z.ZodOptional<z.ZodNumber>;
308
+ pricingUsdPerMillion: z.ZodObject<{
309
+ input: z.ZodNumber;
310
+ output: z.ZodNumber;
311
+ cachedInput: z.ZodNumber;
312
+ }, z.core.$strict>;
313
+ }, z.core.$strict>;
314
+ author: z.ZodObject<{
315
+ model: z.ZodEnum<{
316
+ "anthropic/claude-opus-4.6": "anthropic/claude-opus-4.6";
317
+ "openai/gpt-6-astra": "openai/gpt-6-astra";
318
+ "zai/glm-5.3": "zai/glm-5.3";
319
+ "moonshotai/kimi-k3": "moonshotai/kimi-k3";
320
+ "deepseek/deepseek-v4.1-flash": "deepseek/deepseek-v4.1-flash";
321
+ "anthropic/claude-opus-5": "anthropic/claude-opus-5";
322
+ }>;
323
+ providerOptions: z.ZodObject<{
324
+ openai: z.ZodOptional<z.ZodObject<{
325
+ reasoningEffort: z.ZodLiteral<"high">;
326
+ }, z.core.$strict>>;
327
+ gateway: z.ZodOptional<z.ZodObject<{
328
+ reasoning: z.ZodUnion<readonly [z.ZodObject<{
329
+ effort: z.ZodLiteral<"high">;
330
+ }, z.core.$strict>, z.ZodObject<{
331
+ max_tokens: z.ZodNumber;
332
+ }, z.core.$strict>]>;
333
+ only: z.ZodOptional<z.ZodArray<z.ZodString>>;
334
+ }, z.core.$strict>>;
335
+ }, z.core.$strict>;
336
+ promptVersion: z.ZodString;
337
+ schemaVersion: z.ZodString;
338
+ deadlineMs: z.ZodNumber;
339
+ maxInputTokens: z.ZodNumber;
340
+ maxOutputTokens: z.ZodNumber;
341
+ maxItemsPerCall: z.ZodOptional<z.ZodNumber>;
342
+ pricingUsdPerMillion: z.ZodObject<{
343
+ input: z.ZodNumber;
344
+ output: z.ZodNumber;
345
+ cachedInput: z.ZodNumber;
346
+ }, z.core.$strict>;
347
+ }, z.core.$strict>;
348
+ copy: z.ZodObject<{
349
+ model: z.ZodEnum<{
350
+ "anthropic/claude-opus-4.6": "anthropic/claude-opus-4.6";
351
+ "openai/gpt-6-astra": "openai/gpt-6-astra";
352
+ "zai/glm-5.3": "zai/glm-5.3";
353
+ "moonshotai/kimi-k3": "moonshotai/kimi-k3";
354
+ "deepseek/deepseek-v4.1-flash": "deepseek/deepseek-v4.1-flash";
355
+ "anthropic/claude-opus-5": "anthropic/claude-opus-5";
356
+ }>;
357
+ providerOptions: z.ZodObject<{
358
+ openai: z.ZodOptional<z.ZodObject<{
359
+ reasoningEffort: z.ZodLiteral<"high">;
360
+ }, z.core.$strict>>;
361
+ gateway: z.ZodOptional<z.ZodObject<{
362
+ reasoning: z.ZodUnion<readonly [z.ZodObject<{
363
+ effort: z.ZodLiteral<"high">;
364
+ }, z.core.$strict>, z.ZodObject<{
365
+ max_tokens: z.ZodNumber;
366
+ }, z.core.$strict>]>;
367
+ only: z.ZodOptional<z.ZodArray<z.ZodString>>;
368
+ }, z.core.$strict>>;
369
+ }, z.core.$strict>;
370
+ promptVersion: z.ZodString;
371
+ schemaVersion: z.ZodString;
372
+ deadlineMs: z.ZodNumber;
373
+ maxInputTokens: z.ZodNumber;
374
+ maxOutputTokens: z.ZodNumber;
375
+ maxItemsPerCall: z.ZodOptional<z.ZodNumber>;
376
+ pricingUsdPerMillion: z.ZodObject<{
377
+ input: z.ZodNumber;
378
+ output: z.ZodNumber;
379
+ cachedInput: z.ZodNumber;
380
+ }, z.core.$strict>;
381
+ }, z.core.$strict>;
382
+ domainClassifier: z.ZodObject<{
383
+ model: z.ZodEnum<{
384
+ "anthropic/claude-opus-4.6": "anthropic/claude-opus-4.6";
385
+ "openai/gpt-6-astra": "openai/gpt-6-astra";
386
+ "zai/glm-5.3": "zai/glm-5.3";
387
+ "moonshotai/kimi-k3": "moonshotai/kimi-k3";
388
+ "deepseek/deepseek-v4.1-flash": "deepseek/deepseek-v4.1-flash";
389
+ "anthropic/claude-opus-5": "anthropic/claude-opus-5";
390
+ }>;
391
+ providerOptions: z.ZodObject<{
392
+ openai: z.ZodOptional<z.ZodObject<{
393
+ reasoningEffort: z.ZodLiteral<"high">;
394
+ }, z.core.$strict>>;
395
+ gateway: z.ZodOptional<z.ZodObject<{
396
+ reasoning: z.ZodUnion<readonly [z.ZodObject<{
397
+ effort: z.ZodLiteral<"high">;
398
+ }, z.core.$strict>, z.ZodObject<{
399
+ max_tokens: z.ZodNumber;
400
+ }, z.core.$strict>]>;
401
+ only: z.ZodOptional<z.ZodArray<z.ZodString>>;
402
+ }, z.core.$strict>>;
403
+ }, z.core.$strict>;
404
+ promptVersion: z.ZodString;
405
+ schemaVersion: z.ZodString;
406
+ deadlineMs: z.ZodNumber;
407
+ maxInputTokens: z.ZodNumber;
408
+ maxOutputTokens: z.ZodNumber;
409
+ maxItemsPerCall: z.ZodOptional<z.ZodNumber>;
410
+ pricingUsdPerMillion: z.ZodObject<{
411
+ input: z.ZodNumber;
412
+ output: z.ZodNumber;
413
+ cachedInput: z.ZodNumber;
414
+ }, z.core.$strict>;
415
+ }, z.core.$strict>;
416
+ logoDiscovery: z.ZodOptional<z.ZodObject<{
417
+ model: z.ZodEnum<{
418
+ "anthropic/claude-opus-4.6": "anthropic/claude-opus-4.6";
419
+ "openai/gpt-6-astra": "openai/gpt-6-astra";
420
+ "zai/glm-5.3": "zai/glm-5.3";
421
+ "moonshotai/kimi-k3": "moonshotai/kimi-k3";
422
+ "deepseek/deepseek-v4.1-flash": "deepseek/deepseek-v4.1-flash";
423
+ "anthropic/claude-opus-5": "anthropic/claude-opus-5";
424
+ }>;
425
+ providerOptions: z.ZodObject<{
426
+ openai: z.ZodOptional<z.ZodObject<{
427
+ reasoningEffort: z.ZodLiteral<"high">;
428
+ }, z.core.$strict>>;
429
+ gateway: z.ZodOptional<z.ZodObject<{
430
+ reasoning: z.ZodUnion<readonly [z.ZodObject<{
431
+ effort: z.ZodLiteral<"high">;
432
+ }, z.core.$strict>, z.ZodObject<{
433
+ max_tokens: z.ZodNumber;
434
+ }, z.core.$strict>]>;
435
+ only: z.ZodOptional<z.ZodArray<z.ZodString>>;
436
+ }, z.core.$strict>>;
437
+ }, z.core.$strict>;
438
+ promptVersion: z.ZodString;
439
+ schemaVersion: z.ZodString;
440
+ deadlineMs: z.ZodNumber;
441
+ maxInputTokens: z.ZodNumber;
442
+ maxOutputTokens: z.ZodNumber;
443
+ maxItemsPerCall: z.ZodOptional<z.ZodNumber>;
444
+ pricingUsdPerMillion: z.ZodObject<{
445
+ input: z.ZodNumber;
446
+ output: z.ZodNumber;
447
+ cachedInput: z.ZodNumber;
448
+ }, z.core.$strict>;
449
+ }, z.core.$strict>>;
450
+ competitorClassifier: z.ZodOptional<z.ZodObject<{
451
+ model: z.ZodEnum<{
452
+ "anthropic/claude-opus-4.6": "anthropic/claude-opus-4.6";
453
+ "openai/gpt-6-astra": "openai/gpt-6-astra";
454
+ "zai/glm-5.3": "zai/glm-5.3";
455
+ "moonshotai/kimi-k3": "moonshotai/kimi-k3";
456
+ "deepseek/deepseek-v4.1-flash": "deepseek/deepseek-v4.1-flash";
457
+ "anthropic/claude-opus-5": "anthropic/claude-opus-5";
458
+ }>;
459
+ providerOptions: z.ZodObject<{
460
+ openai: z.ZodOptional<z.ZodObject<{
461
+ reasoningEffort: z.ZodLiteral<"high">;
462
+ }, z.core.$strict>>;
463
+ gateway: z.ZodOptional<z.ZodObject<{
464
+ reasoning: z.ZodUnion<readonly [z.ZodObject<{
465
+ effort: z.ZodLiteral<"high">;
466
+ }, z.core.$strict>, z.ZodObject<{
467
+ max_tokens: z.ZodNumber;
468
+ }, z.core.$strict>]>;
469
+ only: z.ZodOptional<z.ZodArray<z.ZodString>>;
470
+ }, z.core.$strict>>;
471
+ }, z.core.$strict>;
472
+ promptVersion: z.ZodString;
473
+ schemaVersion: z.ZodString;
474
+ deadlineMs: z.ZodNumber;
475
+ maxInputTokens: z.ZodNumber;
476
+ maxOutputTokens: z.ZodNumber;
477
+ maxItemsPerCall: z.ZodOptional<z.ZodNumber>;
478
+ pricingUsdPerMillion: z.ZodObject<{
479
+ input: z.ZodNumber;
480
+ output: z.ZodNumber;
481
+ cachedInput: z.ZodNumber;
482
+ }, z.core.$strict>;
483
+ }, z.core.$strict>>;
484
+ scrutiny: z.ZodOptional<z.ZodObject<{
485
+ model: z.ZodEnum<{
486
+ "anthropic/claude-opus-4.6": "anthropic/claude-opus-4.6";
487
+ "openai/gpt-6-astra": "openai/gpt-6-astra";
488
+ "zai/glm-5.3": "zai/glm-5.3";
489
+ "moonshotai/kimi-k3": "moonshotai/kimi-k3";
490
+ "deepseek/deepseek-v4.1-flash": "deepseek/deepseek-v4.1-flash";
491
+ "anthropic/claude-opus-5": "anthropic/claude-opus-5";
492
+ }>;
493
+ providerOptions: z.ZodObject<{
494
+ openai: z.ZodOptional<z.ZodObject<{
495
+ reasoningEffort: z.ZodLiteral<"high">;
496
+ }, z.core.$strict>>;
497
+ gateway: z.ZodOptional<z.ZodObject<{
498
+ reasoning: z.ZodUnion<readonly [z.ZodObject<{
499
+ effort: z.ZodLiteral<"high">;
500
+ }, z.core.$strict>, z.ZodObject<{
501
+ max_tokens: z.ZodNumber;
502
+ }, z.core.$strict>]>;
503
+ only: z.ZodOptional<z.ZodArray<z.ZodString>>;
504
+ }, z.core.$strict>>;
505
+ }, z.core.$strict>;
506
+ promptVersion: z.ZodString;
507
+ schemaVersion: z.ZodString;
508
+ deadlineMs: z.ZodNumber;
509
+ maxInputTokens: z.ZodNumber;
510
+ maxOutputTokens: z.ZodNumber;
511
+ maxItemsPerCall: z.ZodOptional<z.ZodNumber>;
512
+ pricingUsdPerMillion: z.ZodObject<{
513
+ input: z.ZodNumber;
514
+ output: z.ZodNumber;
515
+ cachedInput: z.ZodNumber;
516
+ }, z.core.$strict>;
517
+ }, z.core.$strict>>;
518
+ repairPlanner: z.ZodOptional<z.ZodObject<{
519
+ model: z.ZodEnum<{
520
+ "anthropic/claude-opus-4.6": "anthropic/claude-opus-4.6";
521
+ "openai/gpt-6-astra": "openai/gpt-6-astra";
522
+ "zai/glm-5.3": "zai/glm-5.3";
523
+ "moonshotai/kimi-k3": "moonshotai/kimi-k3";
524
+ "deepseek/deepseek-v4.1-flash": "deepseek/deepseek-v4.1-flash";
525
+ "anthropic/claude-opus-5": "anthropic/claude-opus-5";
526
+ }>;
527
+ providerOptions: z.ZodObject<{
528
+ openai: z.ZodOptional<z.ZodObject<{
529
+ reasoningEffort: z.ZodLiteral<"high">;
530
+ }, z.core.$strict>>;
531
+ gateway: z.ZodOptional<z.ZodObject<{
532
+ reasoning: z.ZodUnion<readonly [z.ZodObject<{
533
+ effort: z.ZodLiteral<"high">;
534
+ }, z.core.$strict>, z.ZodObject<{
535
+ max_tokens: z.ZodNumber;
536
+ }, z.core.$strict>]>;
537
+ only: z.ZodOptional<z.ZodArray<z.ZodString>>;
538
+ }, z.core.$strict>>;
539
+ }, z.core.$strict>;
540
+ promptVersion: z.ZodString;
541
+ schemaVersion: z.ZodString;
542
+ deadlineMs: z.ZodNumber;
543
+ maxInputTokens: z.ZodNumber;
544
+ maxOutputTokens: z.ZodNumber;
545
+ maxItemsPerCall: z.ZodOptional<z.ZodNumber>;
546
+ pricingUsdPerMillion: z.ZodObject<{
547
+ input: z.ZodNumber;
548
+ output: z.ZodNumber;
549
+ cachedInput: z.ZodNumber;
550
+ }, z.core.$strict>;
551
+ }, z.core.$strict>>;
552
+ visualReviewer: z.ZodOptional<z.ZodObject<{
553
+ model: z.ZodEnum<{
554
+ "anthropic/claude-opus-4.6": "anthropic/claude-opus-4.6";
555
+ "openai/gpt-6-astra": "openai/gpt-6-astra";
556
+ "zai/glm-5.3": "zai/glm-5.3";
557
+ "moonshotai/kimi-k3": "moonshotai/kimi-k3";
558
+ "deepseek/deepseek-v4.1-flash": "deepseek/deepseek-v4.1-flash";
559
+ "anthropic/claude-opus-5": "anthropic/claude-opus-5";
560
+ }>;
561
+ providerOptions: z.ZodObject<{
562
+ openai: z.ZodOptional<z.ZodObject<{
563
+ reasoningEffort: z.ZodLiteral<"high">;
564
+ }, z.core.$strict>>;
565
+ gateway: z.ZodOptional<z.ZodObject<{
566
+ reasoning: z.ZodUnion<readonly [z.ZodObject<{
567
+ effort: z.ZodLiteral<"high">;
568
+ }, z.core.$strict>, z.ZodObject<{
569
+ max_tokens: z.ZodNumber;
570
+ }, z.core.$strict>]>;
571
+ only: z.ZodOptional<z.ZodArray<z.ZodString>>;
572
+ }, z.core.$strict>>;
573
+ }, z.core.$strict>;
574
+ promptVersion: z.ZodString;
575
+ schemaVersion: z.ZodString;
576
+ deadlineMs: z.ZodNumber;
577
+ maxInputTokens: z.ZodNumber;
578
+ maxOutputTokens: z.ZodNumber;
579
+ maxItemsPerCall: z.ZodOptional<z.ZodNumber>;
580
+ pricingUsdPerMillion: z.ZodObject<{
581
+ input: z.ZodNumber;
582
+ output: z.ZodNumber;
583
+ cachedInput: z.ZodNumber;
584
+ }, z.core.$strict>;
585
+ }, z.core.$strict>>;
586
+ }, z.core.$strict>;
587
+ }, z.core.$strict>>;
588
+ modelBudget: z.ZodOptional<z.ZodObject<{
589
+ maxUsd: z.ZodNumber;
590
+ maxTokens: z.ZodNumber;
591
+ deadlineAt: z.ZodString;
592
+ }, z.core.$strict>>;
593
+ run: z.ZodPrefault<z.ZodObject<{
594
+ mode: z.ZodDefault<z.ZodEnum<{
595
+ resume: "resume";
596
+ fresh: "fresh";
597
+ }>>;
598
+ grounding: z.ZodDefault<z.ZodEnum<{
599
+ full: "full";
600
+ extraction_only: "extraction_only";
601
+ }>>;
602
+ maxPlannedUnits: z.ZodDefault<z.ZodNumber>;
603
+ allowPartial: z.ZodDefault<z.ZodBoolean>;
604
+ coverageThresholds: z.ZodOptional<z.ZodObject<{
605
+ blockAtZero: z.ZodDefault<z.ZodBoolean>;
606
+ minCapturedRatio: z.ZodDefault<z.ZodNumber>;
607
+ }, z.core.$strip>>;
608
+ limits: z.ZodOptional<z.ZodObject<{
609
+ gateway: z.ZodDefault<z.ZodNumber>;
610
+ dataforseo: z.ZodDefault<z.ZodNumber>;
611
+ claude_code: z.ZodDefault<z.ZodNumber>;
612
+ codex: z.ZodDefault<z.ZodNumber>;
613
+ cursor: z.ZodDefault<z.ZodNumber>;
614
+ analyzer: z.ZodDefault<z.ZodNumber>;
615
+ }, z.core.$strip>>;
616
+ }, z.core.$strict>>;
617
+ copy: z.ZodDefault<z.ZodEnum<{
618
+ skip: "skip";
619
+ draft: "draft";
620
+ regenerate: "regenerate";
621
+ }>>;
622
+ maxIterations: z.ZodDefault<z.ZodNumber>;
623
+ callbackUrl: z.ZodOptional<z.ZodURL>;
624
+ label: z.ZodOptional<z.ZodString>;
625
+ }, z.core.$strict>, z.ZodTransform<{
626
+ gates: {
627
+ config?: "auto" | "human" | undefined;
628
+ copy?: "auto" | "human" | undefined;
629
+ publish?: "auto" | "human" | undefined;
630
+ };
631
+ run: {
632
+ mode: "resume" | "fresh";
633
+ grounding: "full" | "extraction_only";
634
+ maxPlannedUnits: number;
635
+ allowPartial: boolean;
636
+ coverageThresholds?: {
637
+ blockAtZero: boolean;
638
+ minCapturedRatio: number;
639
+ } | undefined;
640
+ limits?: {
641
+ gateway: number;
642
+ dataforseo: number;
643
+ claude_code: number;
644
+ codex: number;
645
+ cursor: number;
646
+ analyzer: number;
647
+ } | undefined;
648
+ };
649
+ copy: "skip" | "draft" | "regenerate";
650
+ maxIterations: number;
651
+ harness?: {
652
+ required: boolean;
653
+ version: 1;
654
+ } | undefined;
655
+ brief?: {
656
+ companyName: string;
657
+ website: string;
658
+ desiredRecommendation: string;
659
+ competitors?: string | undefined;
660
+ moneyPages?: string | undefined;
661
+ notes?: string | undefined;
662
+ } | undefined;
663
+ reportKey?: string | undefined;
664
+ audience?: "client_private" | "unlisted_public" | undefined;
665
+ submissionId?: string | undefined;
666
+ authorAgent?: "claude_code" | "codex" | "gateway" | undefined;
667
+ copyAgent?: "claude_code" | "codex" | "gateway" | undefined;
668
+ modelProfileId?: "opus-grounding-v1" | "astra-grounding-v1" | "opus-harness-v1" | "astra-harness-v1" | "glm-harness-v1" | "deepseek-harness-v1" | "deepseek-harness-v2" | undefined;
669
+ modelProfile?: {
670
+ id: "opus-grounding-v1" | "astra-grounding-v1" | "opus-harness-v1" | "astra-harness-v1" | "glm-harness-v1" | "deepseek-harness-v1" | "deepseek-harness-v2";
671
+ version: 1;
672
+ pricingCheckedAt: string;
673
+ searchProvider: "disabled" | "dataforseo-google-organic-v1";
674
+ roles: {
675
+ analyzer: {
676
+ model: "anthropic/claude-opus-4.6" | "openai/gpt-6-astra" | "zai/glm-5.3" | "moonshotai/kimi-k3" | "deepseek/deepseek-v4.1-flash" | "anthropic/claude-opus-5";
677
+ providerOptions: {
678
+ openai?: {
679
+ reasoningEffort: "high";
680
+ } | undefined;
681
+ gateway?: {
682
+ reasoning: {
683
+ effort: "high";
684
+ } | {
685
+ max_tokens: number;
686
+ };
687
+ only?: string[] | undefined;
688
+ } | undefined;
689
+ };
690
+ promptVersion: string;
691
+ schemaVersion: string;
692
+ deadlineMs: number;
693
+ maxInputTokens: number;
694
+ maxOutputTokens: number;
695
+ pricingUsdPerMillion: {
696
+ input: number;
697
+ output: number;
698
+ cachedInput: number;
699
+ };
700
+ maxItemsPerCall?: number | undefined;
701
+ };
702
+ perception: {
703
+ model: "anthropic/claude-opus-4.6" | "openai/gpt-6-astra" | "zai/glm-5.3" | "moonshotai/kimi-k3" | "deepseek/deepseek-v4.1-flash" | "anthropic/claude-opus-5";
704
+ providerOptions: {
705
+ openai?: {
706
+ reasoningEffort: "high";
707
+ } | undefined;
708
+ gateway?: {
709
+ reasoning: {
710
+ effort: "high";
711
+ } | {
712
+ max_tokens: number;
713
+ };
714
+ only?: string[] | undefined;
715
+ } | undefined;
716
+ };
717
+ promptVersion: string;
718
+ schemaVersion: string;
719
+ deadlineMs: number;
720
+ maxInputTokens: number;
721
+ maxOutputTokens: number;
722
+ pricingUsdPerMillion: {
723
+ input: number;
724
+ output: number;
725
+ cachedInput: number;
726
+ };
727
+ maxItemsPerCall?: number | undefined;
728
+ };
729
+ research: {
730
+ model: "anthropic/claude-opus-4.6" | "openai/gpt-6-astra" | "zai/glm-5.3" | "moonshotai/kimi-k3" | "deepseek/deepseek-v4.1-flash" | "anthropic/claude-opus-5";
731
+ providerOptions: {
732
+ openai?: {
733
+ reasoningEffort: "high";
734
+ } | undefined;
735
+ gateway?: {
736
+ reasoning: {
737
+ effort: "high";
738
+ } | {
739
+ max_tokens: number;
740
+ };
741
+ only?: string[] | undefined;
742
+ } | undefined;
743
+ };
744
+ promptVersion: string;
745
+ schemaVersion: string;
746
+ deadlineMs: number;
747
+ maxInputTokens: number;
748
+ maxOutputTokens: number;
749
+ pricingUsdPerMillion: {
750
+ input: number;
751
+ output: number;
752
+ cachedInput: number;
753
+ };
754
+ maxItemsPerCall?: number | undefined;
755
+ };
756
+ adjudication: {
757
+ model: "anthropic/claude-opus-4.6" | "openai/gpt-6-astra" | "zai/glm-5.3" | "moonshotai/kimi-k3" | "deepseek/deepseek-v4.1-flash" | "anthropic/claude-opus-5";
758
+ providerOptions: {
759
+ openai?: {
760
+ reasoningEffort: "high";
761
+ } | undefined;
762
+ gateway?: {
763
+ reasoning: {
764
+ effort: "high";
765
+ } | {
766
+ max_tokens: number;
767
+ };
768
+ only?: string[] | undefined;
769
+ } | undefined;
770
+ };
771
+ promptVersion: string;
772
+ schemaVersion: string;
773
+ deadlineMs: number;
774
+ maxInputTokens: number;
775
+ maxOutputTokens: number;
776
+ pricingUsdPerMillion: {
777
+ input: number;
778
+ output: number;
779
+ cachedInput: number;
780
+ };
781
+ maxItemsPerCall?: number | undefined;
782
+ };
783
+ premiseVerifier: {
784
+ model: "anthropic/claude-opus-4.6" | "openai/gpt-6-astra" | "zai/glm-5.3" | "moonshotai/kimi-k3" | "deepseek/deepseek-v4.1-flash" | "anthropic/claude-opus-5";
785
+ providerOptions: {
786
+ openai?: {
787
+ reasoningEffort: "high";
788
+ } | undefined;
789
+ gateway?: {
790
+ reasoning: {
791
+ effort: "high";
792
+ } | {
793
+ max_tokens: number;
794
+ };
795
+ only?: string[] | undefined;
796
+ } | undefined;
797
+ };
798
+ promptVersion: string;
799
+ schemaVersion: string;
800
+ deadlineMs: number;
801
+ maxInputTokens: number;
802
+ maxOutputTokens: number;
803
+ pricingUsdPerMillion: {
804
+ input: number;
805
+ output: number;
806
+ cachedInput: number;
807
+ };
808
+ maxItemsPerCall?: number | undefined;
809
+ };
810
+ author: {
811
+ model: "anthropic/claude-opus-4.6" | "openai/gpt-6-astra" | "zai/glm-5.3" | "moonshotai/kimi-k3" | "deepseek/deepseek-v4.1-flash" | "anthropic/claude-opus-5";
812
+ providerOptions: {
813
+ openai?: {
814
+ reasoningEffort: "high";
815
+ } | undefined;
816
+ gateway?: {
817
+ reasoning: {
818
+ effort: "high";
819
+ } | {
820
+ max_tokens: number;
821
+ };
822
+ only?: string[] | undefined;
823
+ } | undefined;
824
+ };
825
+ promptVersion: string;
826
+ schemaVersion: string;
827
+ deadlineMs: number;
828
+ maxInputTokens: number;
829
+ maxOutputTokens: number;
830
+ pricingUsdPerMillion: {
831
+ input: number;
832
+ output: number;
833
+ cachedInput: number;
834
+ };
835
+ maxItemsPerCall?: number | undefined;
836
+ };
837
+ copy: {
838
+ model: "anthropic/claude-opus-4.6" | "openai/gpt-6-astra" | "zai/glm-5.3" | "moonshotai/kimi-k3" | "deepseek/deepseek-v4.1-flash" | "anthropic/claude-opus-5";
839
+ providerOptions: {
840
+ openai?: {
841
+ reasoningEffort: "high";
842
+ } | undefined;
843
+ gateway?: {
844
+ reasoning: {
845
+ effort: "high";
846
+ } | {
847
+ max_tokens: number;
848
+ };
849
+ only?: string[] | undefined;
850
+ } | undefined;
851
+ };
852
+ promptVersion: string;
853
+ schemaVersion: string;
854
+ deadlineMs: number;
855
+ maxInputTokens: number;
856
+ maxOutputTokens: number;
857
+ pricingUsdPerMillion: {
858
+ input: number;
859
+ output: number;
860
+ cachedInput: number;
861
+ };
862
+ maxItemsPerCall?: number | undefined;
863
+ };
864
+ domainClassifier: {
865
+ model: "anthropic/claude-opus-4.6" | "openai/gpt-6-astra" | "zai/glm-5.3" | "moonshotai/kimi-k3" | "deepseek/deepseek-v4.1-flash" | "anthropic/claude-opus-5";
866
+ providerOptions: {
867
+ openai?: {
868
+ reasoningEffort: "high";
869
+ } | undefined;
870
+ gateway?: {
871
+ reasoning: {
872
+ effort: "high";
873
+ } | {
874
+ max_tokens: number;
875
+ };
876
+ only?: string[] | undefined;
877
+ } | undefined;
878
+ };
879
+ promptVersion: string;
880
+ schemaVersion: string;
881
+ deadlineMs: number;
882
+ maxInputTokens: number;
883
+ maxOutputTokens: number;
884
+ pricingUsdPerMillion: {
885
+ input: number;
886
+ output: number;
887
+ cachedInput: number;
888
+ };
889
+ maxItemsPerCall?: number | undefined;
890
+ };
891
+ logoDiscovery?: {
892
+ model: "anthropic/claude-opus-4.6" | "openai/gpt-6-astra" | "zai/glm-5.3" | "moonshotai/kimi-k3" | "deepseek/deepseek-v4.1-flash" | "anthropic/claude-opus-5";
893
+ providerOptions: {
894
+ openai?: {
895
+ reasoningEffort: "high";
896
+ } | undefined;
897
+ gateway?: {
898
+ reasoning: {
899
+ effort: "high";
900
+ } | {
901
+ max_tokens: number;
902
+ };
903
+ only?: string[] | undefined;
904
+ } | undefined;
905
+ };
906
+ promptVersion: string;
907
+ schemaVersion: string;
908
+ deadlineMs: number;
909
+ maxInputTokens: number;
910
+ maxOutputTokens: number;
911
+ pricingUsdPerMillion: {
912
+ input: number;
913
+ output: number;
914
+ cachedInput: number;
915
+ };
916
+ maxItemsPerCall?: number | undefined;
917
+ } | undefined;
918
+ competitorClassifier?: {
919
+ model: "anthropic/claude-opus-4.6" | "openai/gpt-6-astra" | "zai/glm-5.3" | "moonshotai/kimi-k3" | "deepseek/deepseek-v4.1-flash" | "anthropic/claude-opus-5";
920
+ providerOptions: {
921
+ openai?: {
922
+ reasoningEffort: "high";
923
+ } | undefined;
924
+ gateway?: {
925
+ reasoning: {
926
+ effort: "high";
927
+ } | {
928
+ max_tokens: number;
929
+ };
930
+ only?: string[] | undefined;
931
+ } | undefined;
932
+ };
933
+ promptVersion: string;
934
+ schemaVersion: string;
935
+ deadlineMs: number;
936
+ maxInputTokens: number;
937
+ maxOutputTokens: number;
938
+ pricingUsdPerMillion: {
939
+ input: number;
940
+ output: number;
941
+ cachedInput: number;
942
+ };
943
+ maxItemsPerCall?: number | undefined;
944
+ } | undefined;
945
+ scrutiny?: {
946
+ model: "anthropic/claude-opus-4.6" | "openai/gpt-6-astra" | "zai/glm-5.3" | "moonshotai/kimi-k3" | "deepseek/deepseek-v4.1-flash" | "anthropic/claude-opus-5";
947
+ providerOptions: {
948
+ openai?: {
949
+ reasoningEffort: "high";
950
+ } | undefined;
951
+ gateway?: {
952
+ reasoning: {
953
+ effort: "high";
954
+ } | {
955
+ max_tokens: number;
956
+ };
957
+ only?: string[] | undefined;
958
+ } | undefined;
959
+ };
960
+ promptVersion: string;
961
+ schemaVersion: string;
962
+ deadlineMs: number;
963
+ maxInputTokens: number;
964
+ maxOutputTokens: number;
965
+ pricingUsdPerMillion: {
966
+ input: number;
967
+ output: number;
968
+ cachedInput: number;
969
+ };
970
+ maxItemsPerCall?: number | undefined;
971
+ } | undefined;
972
+ repairPlanner?: {
973
+ model: "anthropic/claude-opus-4.6" | "openai/gpt-6-astra" | "zai/glm-5.3" | "moonshotai/kimi-k3" | "deepseek/deepseek-v4.1-flash" | "anthropic/claude-opus-5";
974
+ providerOptions: {
975
+ openai?: {
976
+ reasoningEffort: "high";
977
+ } | undefined;
978
+ gateway?: {
979
+ reasoning: {
980
+ effort: "high";
981
+ } | {
982
+ max_tokens: number;
983
+ };
984
+ only?: string[] | undefined;
985
+ } | undefined;
986
+ };
987
+ promptVersion: string;
988
+ schemaVersion: string;
989
+ deadlineMs: number;
990
+ maxInputTokens: number;
991
+ maxOutputTokens: number;
992
+ pricingUsdPerMillion: {
993
+ input: number;
994
+ output: number;
995
+ cachedInput: number;
996
+ };
997
+ maxItemsPerCall?: number | undefined;
998
+ } | undefined;
999
+ visualReviewer?: {
1000
+ model: "anthropic/claude-opus-4.6" | "openai/gpt-6-astra" | "zai/glm-5.3" | "moonshotai/kimi-k3" | "deepseek/deepseek-v4.1-flash" | "anthropic/claude-opus-5";
1001
+ providerOptions: {
1002
+ openai?: {
1003
+ reasoningEffort: "high";
1004
+ } | undefined;
1005
+ gateway?: {
1006
+ reasoning: {
1007
+ effort: "high";
1008
+ } | {
1009
+ max_tokens: number;
1010
+ };
1011
+ only?: string[] | undefined;
1012
+ } | undefined;
1013
+ };
1014
+ promptVersion: string;
1015
+ schemaVersion: string;
1016
+ deadlineMs: number;
1017
+ maxInputTokens: number;
1018
+ maxOutputTokens: number;
1019
+ pricingUsdPerMillion: {
1020
+ input: number;
1021
+ output: number;
1022
+ cachedInput: number;
1023
+ };
1024
+ maxItemsPerCall?: number | undefined;
1025
+ } | undefined;
1026
+ };
1027
+ } | undefined;
1028
+ modelBudget?: {
1029
+ maxUsd: number;
1030
+ maxTokens: number;
1031
+ deadlineAt: string;
1032
+ } | undefined;
1033
+ callbackUrl?: string | undefined;
1034
+ label?: string | undefined;
1035
+ }, {
1036
+ gates: {
1037
+ config?: "auto" | "human" | undefined;
1038
+ copy?: "auto" | "human" | undefined;
1039
+ publish?: "auto" | "human" | undefined;
1040
+ };
1041
+ run: {
1042
+ mode: "resume" | "fresh";
1043
+ grounding: "full" | "extraction_only";
1044
+ maxPlannedUnits: number;
1045
+ allowPartial: boolean;
1046
+ coverageThresholds?: {
1047
+ blockAtZero: boolean;
1048
+ minCapturedRatio: number;
1049
+ } | undefined;
1050
+ limits?: {
1051
+ gateway: number;
1052
+ dataforseo: number;
1053
+ claude_code: number;
1054
+ codex: number;
1055
+ cursor: number;
1056
+ analyzer: number;
1057
+ } | undefined;
1058
+ };
1059
+ copy: "skip" | "draft" | "regenerate";
1060
+ maxIterations: number;
1061
+ tier?: "free" | "paid" | undefined;
1062
+ harness?: {
1063
+ required: boolean;
1064
+ version: 1;
1065
+ } | undefined;
1066
+ brief?: {
1067
+ companyName: string;
1068
+ website: string;
1069
+ desiredRecommendation: string;
1070
+ competitors?: string | undefined;
1071
+ moneyPages?: string | undefined;
1072
+ notes?: string | undefined;
1073
+ } | undefined;
1074
+ reportKey?: string | undefined;
1075
+ audience?: "client_private" | "unlisted_public" | undefined;
1076
+ submissionId?: string | undefined;
1077
+ authorAgent?: "claude_code" | "codex" | "gateway" | undefined;
1078
+ copyAgent?: "claude_code" | "codex" | "gateway" | undefined;
1079
+ modelProfileId?: "opus-grounding-v1" | "astra-grounding-v1" | "opus-harness-v1" | "astra-harness-v1" | "glm-harness-v1" | "deepseek-harness-v1" | "deepseek-harness-v2" | undefined;
1080
+ modelProfile?: {
1081
+ id: "opus-grounding-v1" | "astra-grounding-v1" | "opus-harness-v1" | "astra-harness-v1" | "glm-harness-v1" | "deepseek-harness-v1" | "deepseek-harness-v2";
1082
+ version: 1;
1083
+ pricingCheckedAt: string;
1084
+ searchProvider: "disabled" | "dataforseo-google-organic-v1";
1085
+ roles: {
1086
+ analyzer: {
1087
+ model: "anthropic/claude-opus-4.6" | "openai/gpt-6-astra" | "zai/glm-5.3" | "moonshotai/kimi-k3" | "deepseek/deepseek-v4.1-flash" | "anthropic/claude-opus-5";
1088
+ providerOptions: {
1089
+ openai?: {
1090
+ reasoningEffort: "high";
1091
+ } | undefined;
1092
+ gateway?: {
1093
+ reasoning: {
1094
+ effort: "high";
1095
+ } | {
1096
+ max_tokens: number;
1097
+ };
1098
+ only?: string[] | undefined;
1099
+ } | undefined;
1100
+ };
1101
+ promptVersion: string;
1102
+ schemaVersion: string;
1103
+ deadlineMs: number;
1104
+ maxInputTokens: number;
1105
+ maxOutputTokens: number;
1106
+ pricingUsdPerMillion: {
1107
+ input: number;
1108
+ output: number;
1109
+ cachedInput: number;
1110
+ };
1111
+ maxItemsPerCall?: number | undefined;
1112
+ };
1113
+ perception: {
1114
+ model: "anthropic/claude-opus-4.6" | "openai/gpt-6-astra" | "zai/glm-5.3" | "moonshotai/kimi-k3" | "deepseek/deepseek-v4.1-flash" | "anthropic/claude-opus-5";
1115
+ providerOptions: {
1116
+ openai?: {
1117
+ reasoningEffort: "high";
1118
+ } | undefined;
1119
+ gateway?: {
1120
+ reasoning: {
1121
+ effort: "high";
1122
+ } | {
1123
+ max_tokens: number;
1124
+ };
1125
+ only?: string[] | undefined;
1126
+ } | undefined;
1127
+ };
1128
+ promptVersion: string;
1129
+ schemaVersion: string;
1130
+ deadlineMs: number;
1131
+ maxInputTokens: number;
1132
+ maxOutputTokens: number;
1133
+ pricingUsdPerMillion: {
1134
+ input: number;
1135
+ output: number;
1136
+ cachedInput: number;
1137
+ };
1138
+ maxItemsPerCall?: number | undefined;
1139
+ };
1140
+ research: {
1141
+ model: "anthropic/claude-opus-4.6" | "openai/gpt-6-astra" | "zai/glm-5.3" | "moonshotai/kimi-k3" | "deepseek/deepseek-v4.1-flash" | "anthropic/claude-opus-5";
1142
+ providerOptions: {
1143
+ openai?: {
1144
+ reasoningEffort: "high";
1145
+ } | undefined;
1146
+ gateway?: {
1147
+ reasoning: {
1148
+ effort: "high";
1149
+ } | {
1150
+ max_tokens: number;
1151
+ };
1152
+ only?: string[] | undefined;
1153
+ } | undefined;
1154
+ };
1155
+ promptVersion: string;
1156
+ schemaVersion: string;
1157
+ deadlineMs: number;
1158
+ maxInputTokens: number;
1159
+ maxOutputTokens: number;
1160
+ pricingUsdPerMillion: {
1161
+ input: number;
1162
+ output: number;
1163
+ cachedInput: number;
1164
+ };
1165
+ maxItemsPerCall?: number | undefined;
1166
+ };
1167
+ adjudication: {
1168
+ model: "anthropic/claude-opus-4.6" | "openai/gpt-6-astra" | "zai/glm-5.3" | "moonshotai/kimi-k3" | "deepseek/deepseek-v4.1-flash" | "anthropic/claude-opus-5";
1169
+ providerOptions: {
1170
+ openai?: {
1171
+ reasoningEffort: "high";
1172
+ } | undefined;
1173
+ gateway?: {
1174
+ reasoning: {
1175
+ effort: "high";
1176
+ } | {
1177
+ max_tokens: number;
1178
+ };
1179
+ only?: string[] | undefined;
1180
+ } | undefined;
1181
+ };
1182
+ promptVersion: string;
1183
+ schemaVersion: string;
1184
+ deadlineMs: number;
1185
+ maxInputTokens: number;
1186
+ maxOutputTokens: number;
1187
+ pricingUsdPerMillion: {
1188
+ input: number;
1189
+ output: number;
1190
+ cachedInput: number;
1191
+ };
1192
+ maxItemsPerCall?: number | undefined;
1193
+ };
1194
+ premiseVerifier: {
1195
+ model: "anthropic/claude-opus-4.6" | "openai/gpt-6-astra" | "zai/glm-5.3" | "moonshotai/kimi-k3" | "deepseek/deepseek-v4.1-flash" | "anthropic/claude-opus-5";
1196
+ providerOptions: {
1197
+ openai?: {
1198
+ reasoningEffort: "high";
1199
+ } | undefined;
1200
+ gateway?: {
1201
+ reasoning: {
1202
+ effort: "high";
1203
+ } | {
1204
+ max_tokens: number;
1205
+ };
1206
+ only?: string[] | undefined;
1207
+ } | undefined;
1208
+ };
1209
+ promptVersion: string;
1210
+ schemaVersion: string;
1211
+ deadlineMs: number;
1212
+ maxInputTokens: number;
1213
+ maxOutputTokens: number;
1214
+ pricingUsdPerMillion: {
1215
+ input: number;
1216
+ output: number;
1217
+ cachedInput: number;
1218
+ };
1219
+ maxItemsPerCall?: number | undefined;
1220
+ };
1221
+ author: {
1222
+ model: "anthropic/claude-opus-4.6" | "openai/gpt-6-astra" | "zai/glm-5.3" | "moonshotai/kimi-k3" | "deepseek/deepseek-v4.1-flash" | "anthropic/claude-opus-5";
1223
+ providerOptions: {
1224
+ openai?: {
1225
+ reasoningEffort: "high";
1226
+ } | undefined;
1227
+ gateway?: {
1228
+ reasoning: {
1229
+ effort: "high";
1230
+ } | {
1231
+ max_tokens: number;
1232
+ };
1233
+ only?: string[] | undefined;
1234
+ } | undefined;
1235
+ };
1236
+ promptVersion: string;
1237
+ schemaVersion: string;
1238
+ deadlineMs: number;
1239
+ maxInputTokens: number;
1240
+ maxOutputTokens: number;
1241
+ pricingUsdPerMillion: {
1242
+ input: number;
1243
+ output: number;
1244
+ cachedInput: number;
1245
+ };
1246
+ maxItemsPerCall?: number | undefined;
1247
+ };
1248
+ copy: {
1249
+ model: "anthropic/claude-opus-4.6" | "openai/gpt-6-astra" | "zai/glm-5.3" | "moonshotai/kimi-k3" | "deepseek/deepseek-v4.1-flash" | "anthropic/claude-opus-5";
1250
+ providerOptions: {
1251
+ openai?: {
1252
+ reasoningEffort: "high";
1253
+ } | undefined;
1254
+ gateway?: {
1255
+ reasoning: {
1256
+ effort: "high";
1257
+ } | {
1258
+ max_tokens: number;
1259
+ };
1260
+ only?: string[] | undefined;
1261
+ } | undefined;
1262
+ };
1263
+ promptVersion: string;
1264
+ schemaVersion: string;
1265
+ deadlineMs: number;
1266
+ maxInputTokens: number;
1267
+ maxOutputTokens: number;
1268
+ pricingUsdPerMillion: {
1269
+ input: number;
1270
+ output: number;
1271
+ cachedInput: number;
1272
+ };
1273
+ maxItemsPerCall?: number | undefined;
1274
+ };
1275
+ domainClassifier: {
1276
+ model: "anthropic/claude-opus-4.6" | "openai/gpt-6-astra" | "zai/glm-5.3" | "moonshotai/kimi-k3" | "deepseek/deepseek-v4.1-flash" | "anthropic/claude-opus-5";
1277
+ providerOptions: {
1278
+ openai?: {
1279
+ reasoningEffort: "high";
1280
+ } | undefined;
1281
+ gateway?: {
1282
+ reasoning: {
1283
+ effort: "high";
1284
+ } | {
1285
+ max_tokens: number;
1286
+ };
1287
+ only?: string[] | undefined;
1288
+ } | undefined;
1289
+ };
1290
+ promptVersion: string;
1291
+ schemaVersion: string;
1292
+ deadlineMs: number;
1293
+ maxInputTokens: number;
1294
+ maxOutputTokens: number;
1295
+ pricingUsdPerMillion: {
1296
+ input: number;
1297
+ output: number;
1298
+ cachedInput: number;
1299
+ };
1300
+ maxItemsPerCall?: number | undefined;
1301
+ };
1302
+ logoDiscovery?: {
1303
+ model: "anthropic/claude-opus-4.6" | "openai/gpt-6-astra" | "zai/glm-5.3" | "moonshotai/kimi-k3" | "deepseek/deepseek-v4.1-flash" | "anthropic/claude-opus-5";
1304
+ providerOptions: {
1305
+ openai?: {
1306
+ reasoningEffort: "high";
1307
+ } | undefined;
1308
+ gateway?: {
1309
+ reasoning: {
1310
+ effort: "high";
1311
+ } | {
1312
+ max_tokens: number;
1313
+ };
1314
+ only?: string[] | undefined;
1315
+ } | undefined;
1316
+ };
1317
+ promptVersion: string;
1318
+ schemaVersion: string;
1319
+ deadlineMs: number;
1320
+ maxInputTokens: number;
1321
+ maxOutputTokens: number;
1322
+ pricingUsdPerMillion: {
1323
+ input: number;
1324
+ output: number;
1325
+ cachedInput: number;
1326
+ };
1327
+ maxItemsPerCall?: number | undefined;
1328
+ } | undefined;
1329
+ competitorClassifier?: {
1330
+ model: "anthropic/claude-opus-4.6" | "openai/gpt-6-astra" | "zai/glm-5.3" | "moonshotai/kimi-k3" | "deepseek/deepseek-v4.1-flash" | "anthropic/claude-opus-5";
1331
+ providerOptions: {
1332
+ openai?: {
1333
+ reasoningEffort: "high";
1334
+ } | undefined;
1335
+ gateway?: {
1336
+ reasoning: {
1337
+ effort: "high";
1338
+ } | {
1339
+ max_tokens: number;
1340
+ };
1341
+ only?: string[] | undefined;
1342
+ } | undefined;
1343
+ };
1344
+ promptVersion: string;
1345
+ schemaVersion: string;
1346
+ deadlineMs: number;
1347
+ maxInputTokens: number;
1348
+ maxOutputTokens: number;
1349
+ pricingUsdPerMillion: {
1350
+ input: number;
1351
+ output: number;
1352
+ cachedInput: number;
1353
+ };
1354
+ maxItemsPerCall?: number | undefined;
1355
+ } | undefined;
1356
+ scrutiny?: {
1357
+ model: "anthropic/claude-opus-4.6" | "openai/gpt-6-astra" | "zai/glm-5.3" | "moonshotai/kimi-k3" | "deepseek/deepseek-v4.1-flash" | "anthropic/claude-opus-5";
1358
+ providerOptions: {
1359
+ openai?: {
1360
+ reasoningEffort: "high";
1361
+ } | undefined;
1362
+ gateway?: {
1363
+ reasoning: {
1364
+ effort: "high";
1365
+ } | {
1366
+ max_tokens: number;
1367
+ };
1368
+ only?: string[] | undefined;
1369
+ } | undefined;
1370
+ };
1371
+ promptVersion: string;
1372
+ schemaVersion: string;
1373
+ deadlineMs: number;
1374
+ maxInputTokens: number;
1375
+ maxOutputTokens: number;
1376
+ pricingUsdPerMillion: {
1377
+ input: number;
1378
+ output: number;
1379
+ cachedInput: number;
1380
+ };
1381
+ maxItemsPerCall?: number | undefined;
1382
+ } | undefined;
1383
+ repairPlanner?: {
1384
+ model: "anthropic/claude-opus-4.6" | "openai/gpt-6-astra" | "zai/glm-5.3" | "moonshotai/kimi-k3" | "deepseek/deepseek-v4.1-flash" | "anthropic/claude-opus-5";
1385
+ providerOptions: {
1386
+ openai?: {
1387
+ reasoningEffort: "high";
1388
+ } | undefined;
1389
+ gateway?: {
1390
+ reasoning: {
1391
+ effort: "high";
1392
+ } | {
1393
+ max_tokens: number;
1394
+ };
1395
+ only?: string[] | undefined;
1396
+ } | undefined;
1397
+ };
1398
+ promptVersion: string;
1399
+ schemaVersion: string;
1400
+ deadlineMs: number;
1401
+ maxInputTokens: number;
1402
+ maxOutputTokens: number;
1403
+ pricingUsdPerMillion: {
1404
+ input: number;
1405
+ output: number;
1406
+ cachedInput: number;
1407
+ };
1408
+ maxItemsPerCall?: number | undefined;
1409
+ } | undefined;
1410
+ visualReviewer?: {
1411
+ model: "anthropic/claude-opus-4.6" | "openai/gpt-6-astra" | "zai/glm-5.3" | "moonshotai/kimi-k3" | "deepseek/deepseek-v4.1-flash" | "anthropic/claude-opus-5";
1412
+ providerOptions: {
1413
+ openai?: {
1414
+ reasoningEffort: "high";
1415
+ } | undefined;
1416
+ gateway?: {
1417
+ reasoning: {
1418
+ effort: "high";
1419
+ } | {
1420
+ max_tokens: number;
1421
+ };
1422
+ only?: string[] | undefined;
1423
+ } | undefined;
1424
+ };
1425
+ promptVersion: string;
1426
+ schemaVersion: string;
1427
+ deadlineMs: number;
1428
+ maxInputTokens: number;
1429
+ maxOutputTokens: number;
1430
+ pricingUsdPerMillion: {
1431
+ input: number;
1432
+ output: number;
1433
+ cachedInput: number;
1434
+ };
1435
+ maxItemsPerCall?: number | undefined;
1436
+ } | undefined;
1437
+ };
1438
+ } | undefined;
1439
+ modelBudget?: {
1440
+ maxUsd: number;
1441
+ maxTokens: number;
1442
+ deadlineAt: string;
1443
+ } | undefined;
1444
+ callbackUrl?: string | undefined;
1445
+ label?: string | undefined;
1446
+ }>>;
1447
+ export type PipelineRequest = z.infer<typeof pipelineRequestSchema>;
1448
+ export declare const pipelineStatusSchema: z.ZodEnum<{
1449
+ failed: "failed";
1450
+ cancelled: "cancelled";
1451
+ rejected: "rejected";
1452
+ running: "running";
1453
+ waiting: "waiting";
1454
+ starting: "starting";
1455
+ cancelling: "cancelling";
1456
+ published: "published";
1457
+ }>;
1458
+ export type PipelineStatus = z.infer<typeof pipelineStatusSchema>;
1459
+ export type PipelineStage = 'author' | 'run' | 'copy' | 'publish' | 'done';
1460
+ export declare const activeStatuses: readonly ["starting", "running", "waiting", "cancelling"];
1461
+ export declare const isTerminal: (status: string) => boolean;
1462
+ export declare const tripleSchema: z.ZodObject<{
1463
+ runId: z.ZodString;
1464
+ configVersion: z.ZodNumber;
1465
+ copyVersion: z.ZodNumber;
1466
+ }, z.core.$strict>;
1467
+ export type ArtifactTriple = z.infer<typeof tripleSchema>;
1468
+ export declare const gateTargetSchema: z.ZodUnion<readonly [z.ZodObject<{
1469
+ version: z.ZodNumber;
1470
+ }, z.core.$strict>, z.ZodObject<{
1471
+ runId: z.ZodString;
1472
+ configVersion: z.ZodNumber;
1473
+ copyVersion: z.ZodNumber;
1474
+ }, z.core.$strict>]>;
1475
+ export type GateTarget = z.infer<typeof gateTargetSchema>;
1476
+ export declare const reviewRequestSchema: z.ZodObject<{
1477
+ gateId: z.ZodString;
1478
+ expectedVersion: z.ZodOptional<z.ZodNumber>;
1479
+ expectedTarget: z.ZodOptional<z.ZodObject<{
1480
+ runId: z.ZodString;
1481
+ configVersion: z.ZodNumber;
1482
+ copyVersion: z.ZodNumber;
1483
+ }, z.core.$strict>>;
1484
+ note: z.ZodOptional<z.ZodString>;
1485
+ notes: z.ZodOptional<z.ZodString>;
1486
+ }, z.core.$strict>;
1487
+ export type GateReview = {
1488
+ gateId: string;
1489
+ gate: Gate;
1490
+ action: 'approve' | 'request_changes' | 'reject';
1491
+ target: GateTarget;
1492
+ note: string | null;
1493
+ tokenId: string;
1494
+ acceptedAt: string;
1495
+ deliveredAt: string | null;
1496
+ appliedAt: string | null;
1497
+ };
1498
+ /**
1499
+ * pipelineCallbackSchema is the signed callback body. Not strict on purpose:
1500
+ * the signature already authenticates the exact bytes, so a receiver behind
1501
+ * the sender's build ignores an additive field instead of burning the
1502
+ * sender's attempts.
1503
+ */
1504
+ export declare const pipelineCallbackSchema: z.ZodObject<{
1505
+ eventId: z.ZodString;
1506
+ event: z.ZodEnum<{
1507
+ gate_waiting: "gate_waiting";
1508
+ pipeline_published: "pipeline_published";
1509
+ pipeline_rejected: "pipeline_rejected";
1510
+ pipeline_failed: "pipeline_failed";
1511
+ pipeline_cancelled: "pipeline_cancelled";
1512
+ }>;
1513
+ pipelineId: z.ZodString;
1514
+ retryAncestorIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1515
+ submissionId: z.ZodOptional<z.ZodString>;
1516
+ reportKey: z.ZodString;
1517
+ status: z.ZodEnum<{
1518
+ failed: "failed";
1519
+ cancelled: "cancelled";
1520
+ rejected: "rejected";
1521
+ running: "running";
1522
+ waiting: "waiting";
1523
+ starting: "starting";
1524
+ cancelling: "cancelling";
1525
+ published: "published";
1526
+ }>;
1527
+ reason: z.ZodNullable<z.ZodString>;
1528
+ reportUrl: z.ZodNullable<z.ZodURL>;
1529
+ gate: z.ZodNullable<z.ZodEnum<{
1530
+ copy: "copy";
1531
+ config: "config";
1532
+ publish: "publish";
1533
+ }>>;
1534
+ gateId: z.ZodNullable<z.ZodString>;
1535
+ gateTarget: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
1536
+ version: z.ZodNumber;
1537
+ }, z.core.$strict>, z.ZodObject<{
1538
+ runId: z.ZodString;
1539
+ configVersion: z.ZodNumber;
1540
+ copyVersion: z.ZodNumber;
1541
+ }, z.core.$strict>]>>;
1542
+ sentAt: z.ZodISODateTime;
1543
+ }, z.core.$strip>;
1544
+ export type PipelineCallback = z.infer<typeof pipelineCallbackSchema>;
1545
+ export type CallbackEvent = {
1546
+ logicalKey: string;
1547
+ body: PipelineCallback;
1548
+ attempts: number;
1549
+ status: 'pending' | 'delivered' | 'failed';
1550
+ nextAttemptAt: string | null;
1551
+ };
1552
+ export type ApiToken = {
1553
+ id: string;
1554
+ /** Stored access, or the client a resolved integration token acts for. */
1555
+ access?: TokenAccess | RequestClientAccess;
1556
+ scopes: Scope[];
1557
+ maxPlannedUnits: number;
1558
+ maxPipelinesPerDay: number;
1559
+ maxActivePipelines: number;
1560
+ defaultAuthorAgent: GenerationBackend;
1561
+ };
1562
+ export type PipelineLimits = {
1563
+ stateMachineArn: string;
1564
+ maxPlannedUnits: number;
1565
+ maxIterations: number;
1566
+ maxDeferrals: number;
1567
+ maxPipelinesPerDay: number;
1568
+ admissionsEnabled: boolean;
1569
+ callbackHosts: string[];
1570
+ siteUrl: string;
1571
+ modelBudget?: ModelBudgetLimits;
1572
+ };