literally-aeo 0.3.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +183 -14
- package/dist/author-tools.js +386 -283
- package/dist/cli.mjs +19727 -17050
- package/dist/lib/access/schema.js +6 -6
- package/dist/lib/agents/author-schema.js +10 -10
- package/dist/lib/agents/author-validation.js +13 -13
- package/dist/lib/agents/copy-validation.js +16 -15
- package/dist/lib/agents/copywriter-input.js +15 -14
- package/dist/lib/agents/credentials.js +1 -1
- package/dist/lib/agents/facts.js +13 -12
- package/dist/lib/agents/methodology.js +56 -0
- package/dist/lib/agents/narrative-facts.js +11 -11
- package/dist/lib/agents/verifier.js +19 -17
- package/dist/lib/analysis/domain-classifier.js +17 -17
- package/dist/lib/analysis/domain-labels.js +10 -10
- package/dist/lib/analysis/progress-schema.js +6 -2
- package/dist/lib/analysis/progress.js +15 -14
- package/dist/lib/analysis/rate-evidence.js +6 -0
- package/dist/lib/analysis/retrieval.js +10 -10
- package/dist/lib/analysis/scoring.js +10 -10
- package/dist/lib/analysis/search-analyzer.js +10 -10
- package/dist/lib/analysis/sentiment.js +17 -17
- package/dist/lib/author/examples.js +11 -11
- package/dist/lib/bundle/contracts.js +17 -11
- package/dist/lib/bundle/export.js +84 -29
- package/dist/lib/bundle/isolation.js +2 -2
- package/dist/lib/bundle/journal.js +12 -12
- package/dist/lib/bundle/project-journal.js +16 -16
- package/dist/lib/bundle/project.js +85 -28
- package/dist/lib/bundle/read.js +85 -30
- package/dist/lib/bundle/recorder.js +14 -14
- package/dist/lib/bundle/redact.js +12 -12
- package/dist/lib/bundle/trace-coverage.js +12 -12
- package/dist/lib/bundle/verify-integrity.js +15 -15
- package/dist/lib/bundle/verify-measurement.js +24 -24
- package/dist/lib/bundle/verify-report.js +30 -28
- package/dist/lib/bundle/verify.js +39 -37
- package/dist/lib/capture-manifest.js +11 -11
- package/dist/lib/checks/run-checks.js +15 -15
- package/dist/lib/chunks/{chunk-4XIAXX7K.js → chunk-2A327DMI.js} +1 -1
- package/dist/lib/chunks/{chunk-FPPHYGIO.js → chunk-2CG7ZDWJ.js} +4 -4
- package/dist/lib/chunks/{chunk-6RED3G6K.js → chunk-2WS6RC35.js} +2 -2
- package/dist/lib/chunks/{chunk-JJFOILZK.js → chunk-2XMVEGQG.js} +26 -6
- package/dist/lib/chunks/{chunk-LNYQMWJO.js → chunk-32HYNVPR.js} +10 -9
- package/dist/lib/chunks/{chunk-JW7DTYSI.js → chunk-32LZRJ3P.js} +4 -4
- package/dist/lib/chunks/{chunk-WIBMVNIH.js → chunk-3F5ZP2EO.js} +4 -4
- package/dist/lib/chunks/{chunk-TKOQMB6A.js → chunk-3G6COT6E.js} +17 -17
- package/dist/lib/chunks/{chunk-JGIX427K.js → chunk-3GDCPD5P.js} +54 -13
- package/dist/lib/chunks/{chunk-Z3BZRBQF.js → chunk-3RGUIUKU.js} +16 -15
- package/dist/lib/chunks/{chunk-ZXQPD4OC.js → chunk-3TF4JGQA.js} +126 -5
- package/dist/lib/chunks/{chunk-CXZIHHLJ.js → chunk-3USKGGFT.js} +4 -4
- package/dist/lib/chunks/{chunk-JXLCKACO.js → chunk-3YPAIXFG.js} +6 -6
- package/dist/lib/chunks/{chunk-F4EQULFR.js → chunk-42QARLUQ.js} +13 -8
- package/dist/lib/chunks/chunk-4KF5EVLI.js +160 -0
- package/dist/lib/chunks/{chunk-FONFW67K.js → chunk-4MOZ3DVS.js} +5 -4
- package/dist/lib/chunks/{chunk-7KLTOVIY.js → chunk-4RB3AOPT.js} +16 -15
- package/dist/lib/chunks/{chunk-KRWDELRS.js → chunk-4UN3YD5Z.js} +10 -4
- package/dist/lib/chunks/{chunk-P6LHGBYU.js → chunk-4WPG2O2S.js} +13 -6
- package/dist/lib/chunks/{chunk-HXXFRZTJ.js → chunk-4ZR2LPUD.js} +2 -2
- package/dist/lib/chunks/{chunk-FHV4PBYG.js → chunk-55KFAM4X.js} +36 -5
- package/dist/lib/chunks/{chunk-4Q2WFZ5J.js → chunk-5OL67GMN.js} +12 -10
- package/dist/lib/chunks/{chunk-5JU2Y2I6.js → chunk-66BTHIL3.js} +9 -6
- package/dist/lib/chunks/{chunk-HEWHNSDP.js → chunk-6FGVCN4H.js} +19 -19
- package/dist/lib/chunks/{chunk-B5L2KMTU.js → chunk-6FHT2AHR.js} +24 -4
- package/dist/lib/chunks/{chunk-4QQJXCD2.js → chunk-6FRZN5SA.js} +13 -28
- package/dist/lib/chunks/chunk-6WMI5UOC.js +120 -0
- package/dist/lib/chunks/{chunk-YKJHFD64.js → chunk-72ZLXWD4.js} +21 -4
- package/dist/lib/chunks/{chunk-2FOKEIIN.js → chunk-744YWRX7.js} +1 -1
- package/dist/lib/chunks/{chunk-LPOIMPJK.js → chunk-77EQ3RT6.js} +4 -4
- package/dist/lib/chunks/{chunk-MPQXB7HN.js → chunk-7D7EOET3.js} +16 -13
- package/dist/lib/chunks/{chunk-LJCWZ5SZ.js → chunk-7DR2X7SF.js} +14 -14
- package/dist/lib/chunks/{chunk-N62G4EWT.js → chunk-7HPB6LAA.js} +3 -3
- package/dist/lib/chunks/{chunk-44NSZBCP.js → chunk-ABS5TK73.js} +9 -9
- package/dist/lib/chunks/{chunk-66UE4TT2.js → chunk-AKOU4MTS.js} +84 -17
- package/dist/lib/chunks/{chunk-CH7OCYDL.js → chunk-B5ZAFK6T.js} +1 -1
- package/dist/lib/chunks/{chunk-Q22FCF4A.js → chunk-BECSPYFC.js} +1 -1
- package/dist/lib/chunks/{chunk-OVF27NAO.js → chunk-BLDOQAEW.js} +32 -14
- package/dist/lib/chunks/{chunk-UECQONVZ.js → chunk-BNPWAQQG.js} +24 -12
- package/dist/lib/chunks/{chunk-RK57YZKM.js → chunk-BPGL4IEZ.js} +81 -26
- package/dist/lib/chunks/{chunk-K5NQDJLE.js → chunk-BTRBLG6S.js} +3 -3
- package/dist/lib/chunks/{chunk-S24JGY7B.js → chunk-BWI4M36B.js} +5 -5
- package/dist/lib/chunks/{chunk-AB7DUTX5.js → chunk-BWUOUP4J.js} +1 -1
- package/dist/lib/chunks/{chunk-RYB77E7O.js → chunk-BYPCNCN3.js} +6 -7
- package/dist/lib/chunks/{chunk-ASIFUJG2.js → chunk-CBOETT4C.js} +9 -7
- package/dist/lib/chunks/{chunk-NZFMOQHU.js → chunk-CWEVVIZI.js} +11 -1
- package/dist/lib/chunks/chunk-CZMQ2DVJ.js +118 -0
- package/dist/lib/chunks/{chunk-LUKP64NX.js → chunk-CZRHH5HF.js} +85 -5
- package/dist/lib/chunks/{chunk-64JFN2Q5.js → chunk-DGOFCRZM.js} +1 -1
- package/dist/lib/chunks/{chunk-ODIXZHHX.js → chunk-DHQKAIOP.js} +2 -2
- package/dist/lib/chunks/{chunk-JDU3ZCKO.js → chunk-DX74K4JX.js} +2 -2
- package/dist/lib/chunks/{chunk-2U5QSA6Q.js → chunk-E2ALRH6Y.js} +9 -9
- package/dist/lib/chunks/{chunk-HXHFMFQU.js → chunk-E5COBP7A.js} +13 -2
- package/dist/lib/chunks/chunk-EFW6Q7Z3.js +67 -0
- package/dist/lib/chunks/chunk-EGQZVCLE.js +90 -0
- package/dist/lib/chunks/{chunk-JS3GBU3R.js → chunk-ENTQ35US.js} +1 -1
- package/dist/lib/chunks/{chunk-SQ55KGHO.js → chunk-EUHVUF7I.js} +1 -1
- package/dist/lib/chunks/{chunk-CVEXMYPW.js → chunk-F6CC4WLO.js} +8 -3
- package/dist/lib/chunks/{chunk-H2DOBJZC.js → chunk-FDCM7554.js} +2 -2
- package/dist/lib/chunks/{chunk-XTBCXEH7.js → chunk-FJAZEGU6.js} +133 -22
- package/dist/lib/chunks/{chunk-ZHGABG7L.js → chunk-FWH3LYHG.js} +9 -4
- package/dist/lib/chunks/chunk-FXR6P7HY.js +14 -0
- package/dist/lib/chunks/{chunk-QUZYFAGP.js → chunk-G22MXBBM.js} +145 -21
- package/dist/lib/chunks/{chunk-JBGQFPTY.js → chunk-G4GAGKSG.js} +12 -6
- package/dist/lib/chunks/chunk-GC4XJYQW.js +145 -0
- package/dist/lib/chunks/chunk-GQZHZSAQ.js +108 -0
- package/dist/lib/chunks/{chunk-BRENK356.js → chunk-GZC3ASNL.js} +1 -1
- package/dist/lib/chunks/{chunk-ZZCRYG36.js → chunk-H4LZ3U26.js} +1 -1
- package/dist/lib/chunks/{chunk-ZBQU2VU3.js → chunk-HHGLGVOZ.js} +1 -1
- package/dist/lib/chunks/{chunk-52F5XYOW.js → chunk-I2KRWXXO.js} +15 -7
- package/dist/lib/chunks/{chunk-RMSH7RUG.js → chunk-I6QMBY7L.js} +11 -11
- package/dist/lib/chunks/chunk-IDNT2WBK.js +27 -0
- package/dist/lib/chunks/{chunk-2C723CW7.js → chunk-IJQEQL5Q.js} +1 -1
- package/dist/lib/chunks/{chunk-HYMWNGOK.js → chunk-IUQ6C4Y6.js} +6 -3
- package/dist/lib/chunks/{chunk-VTY53IFN.js → chunk-J3BZ3WPV.js} +1 -1
- package/dist/lib/chunks/{chunk-RM2VVR7Y.js → chunk-J63WQUKR.js} +10 -3
- package/dist/lib/chunks/{chunk-SJCUR4QX.js → chunk-JEAZREDN.js} +1 -1
- package/dist/lib/chunks/{chunk-2B5QF6UQ.js → chunk-JFUWSJZT.js} +46 -5
- package/dist/lib/chunks/{chunk-KRXOJJR7.js → chunk-JHOLYLI4.js} +4 -2
- package/dist/lib/chunks/{chunk-WRHGLRUK.js → chunk-JIUBLXR7.js} +115 -6
- package/dist/lib/chunks/chunk-JOLIDHZV.js +39 -0
- package/dist/lib/chunks/chunk-JVIOWZPG.js +446 -0
- package/dist/lib/chunks/chunk-LMUTZ6O2.js +335 -0
- package/dist/lib/chunks/chunk-LTPLZSXI.js +86 -0
- package/dist/lib/chunks/{chunk-7ZR3WDF2.js → chunk-LYOCWN3R.js} +6 -3
- package/dist/lib/chunks/{chunk-HLC6OHGO.js → chunk-M3WZCV65.js} +3 -3
- package/dist/lib/chunks/{chunk-YPVJAXPP.js → chunk-MSEGYN6W.js} +32 -14
- package/dist/lib/chunks/{chunk-WPCBE2NZ.js → chunk-MX6YA6YH.js} +1 -1
- package/dist/lib/chunks/{chunk-GEFKDW7X.js → chunk-N4PQ6RPQ.js} +14 -2
- package/dist/lib/chunks/{chunk-EDQTINTL.js → chunk-N5IAPSLM.js} +52 -6
- package/dist/lib/chunks/{chunk-PAL5SXIP.js → chunk-NZTOOSLX.js} +3 -3
- package/dist/lib/chunks/{chunk-AQCWKHTE.js → chunk-OBSW2WKF.js} +15 -10
- package/dist/lib/chunks/{chunk-CQNIPZH3.js → chunk-OJQ66533.js} +51 -31
- package/dist/lib/chunks/chunk-P7GHKL3V.js +101 -0
- package/dist/lib/chunks/{chunk-MZ2KN3IH.js → chunk-P7LGJGDL.js} +3 -3
- package/dist/lib/chunks/{chunk-A5PF7UE2.js → chunk-PBWFX4ED.js} +4 -4
- package/dist/lib/chunks/{chunk-KI2FB4Y3.js → chunk-PI7PZKHP.js} +12 -11
- package/dist/lib/chunks/{chunk-RGZY6YUQ.js → chunk-QT5GTQGD.js} +10 -10
- package/dist/lib/chunks/{chunk-VYUC772A.js → chunk-R2HFGAOO.js} +4 -4
- package/dist/lib/chunks/{chunk-SF4UJ2AY.js → chunk-R4BFYHLK.js} +1 -1
- package/dist/lib/chunks/{chunk-TAPVCSCR.js → chunk-SCZ7PA4T.js} +1 -1
- package/dist/lib/chunks/{chunk-QO5TPMWS.js → chunk-SFPPZGTA.js} +112 -26
- package/dist/lib/chunks/chunk-SN3DKEOY.js +11 -0
- package/dist/lib/chunks/{chunk-TWK6IA4P.js → chunk-ST6IVXHT.js} +1 -1
- package/dist/lib/chunks/{chunk-IH67TEGY.js → chunk-STNUFF7H.js} +4 -4
- package/dist/lib/chunks/{chunk-2FDSOZ6Q.js → chunk-SXVKFPC4.js} +2 -1
- package/dist/lib/chunks/{chunk-QKTKQSPS.js → chunk-T4Z3GAEH.js} +1 -1
- package/dist/lib/chunks/{chunk-FYE4R5TY.js → chunk-TNTTIT2R.js} +3 -3
- package/dist/lib/chunks/{chunk-LOIAGEKN.js → chunk-TPPBTN3E.js} +48 -19
- package/dist/lib/chunks/{chunk-WUIY7BXR.js → chunk-TXGVQ6CN.js} +85 -43
- package/dist/lib/chunks/chunk-U53GT2R7.js +109 -0
- package/dist/lib/chunks/{chunk-4AWFF53U.js → chunk-U6I2RU4Z.js} +52 -19
- package/dist/lib/chunks/chunk-UWXR24TV.js +38 -0
- package/dist/lib/chunks/{chunk-VL253W5C.js → chunk-VMDGYDZW.js} +3 -1
- package/dist/lib/chunks/chunk-VXO5RAR4.js +162 -0
- package/dist/lib/chunks/{chunk-OTVHGRCO.js → chunk-WBSJVDS2.js} +73 -62
- package/dist/lib/chunks/{chunk-ASHFEFCU.js → chunk-WHW3NOG5.js} +1 -1
- package/dist/lib/chunks/{chunk-JMIK2QN3.js → chunk-WQTDLVKV.js} +2 -2
- package/dist/lib/chunks/{chunk-YY4BH5XM.js → chunk-WSATQQJI.js} +73 -24
- package/dist/lib/chunks/{chunk-IMADI2YP.js → chunk-WSFXGX7S.js} +3 -3
- package/dist/lib/chunks/{chunk-4HPMLJKC.js → chunk-WUDXMAJS.js} +78 -19
- package/dist/lib/chunks/{chunk-RYCRL3YA.js → chunk-X3HRV5CF.js} +12 -4
- package/dist/lib/chunks/{chunk-S2SFHTJD.js → chunk-XPUCJQIB.js} +39 -1
- package/dist/lib/chunks/{chunk-QVMPTT7R.js → chunk-XX2TK6FI.js} +7 -7
- package/dist/lib/chunks/{chunk-6N3C6E3D.js → chunk-YLS4XX7B.js} +2 -2
- package/dist/lib/chunks/{chunk-JIE2ANVD.js → chunk-YPMRZX4U.js} +1 -1
- package/dist/lib/chunks/{chunk-LTI2YYU3.js → chunk-YTEUQEJE.js} +1 -1
- package/dist/lib/chunks/{chunk-U64NCRRR.js → chunk-ZI3BGXQI.js} +44 -14
- package/dist/lib/chunks/{chunk-3S2FAVRE.js → chunk-ZWWIXFCV.js} +3 -3
- package/dist/lib/chunks/{chunk-MA27TFEY.js → chunk-ZXL6FZX4.js} +8 -1
- package/dist/lib/cli/bundle-commands.js +132 -122
- package/dist/lib/cli/guide-command.js +1 -1
- package/dist/lib/cli/io.js +1 -1
- package/dist/lib/cli/run-commands.js +352 -203
- package/dist/lib/cli/status-command.js +109 -98
- package/dist/lib/codex-workflow/aggregate.js +35 -26
- package/dist/lib/codex-workflow/author-search.js +1 -1
- package/dist/lib/codex-workflow/author-tools.js +12 -12
- package/dist/lib/codex-workflow/author.js +31 -29
- package/dist/lib/codex-workflow/capture.js +45 -41
- package/dist/lib/codex-workflow/checkpoint.js +12 -12
- package/dist/lib/codex-workflow/checks.js +14 -14
- package/dist/lib/codex-workflow/copy-editor.js +25 -23
- package/dist/lib/codex-workflow/copy-recovery.js +11 -11
- package/dist/lib/codex-workflow/copy.js +28 -20
- package/dist/lib/codex-workflow/finish.js +62 -36
- package/dist/lib/codex-workflow/loop.js +92 -72
- package/dist/lib/codex-workflow/prompts.js +1 -1
- package/dist/lib/codex-workflow/quality.js +11 -11
- package/dist/lib/codex-workflow/run-inputs.js +11 -11
- package/dist/lib/codex-workflow/run-source.js +19 -19
- package/dist/lib/codex-workflow/schemas.js +11 -11
- package/dist/lib/codex-workflow/session-gate.js +9 -0
- package/dist/lib/codex-workflow/session.js +13 -13
- package/dist/lib/codex-workflow/stage.js +46 -44
- package/dist/lib/codex-workflow/workdir.js +15 -15
- package/dist/lib/engine/audit-file.js +48 -14
- package/dist/lib/engine/author.js +74 -55
- package/dist/lib/engine/budget.js +3 -1
- package/dist/lib/engine/cost-estimate.js +36 -34
- package/dist/lib/engine/local-run.js +106 -94
- package/dist/lib/engine/preflight.js +35 -33
- package/dist/lib/engine/rejudge.js +114 -101
- package/dist/lib/engine/run-bindings.js +35 -31
- package/dist/lib/engine/run-configuration.js +3 -1
- package/dist/lib/engine/run-method.js +67 -0
- package/dist/lib/engine/run-models.js +48 -0
- package/dist/lib/engine/run-status.js +105 -94
- package/dist/lib/engine/templates.js +45 -15
- package/dist/lib/grounding/controller.js +6 -6
- package/dist/lib/grounding/extract.js +6 -6
- package/dist/lib/grounding/grounding-runtime.js +26 -26
- package/dist/lib/grounding/model.js +5 -5
- package/dist/lib/grounding/recorded-tools.js +15 -15
- package/dist/lib/grounding/tools.js +5 -1
- package/dist/lib/harness/criteria.js +3 -1
- package/dist/lib/harness/report/artifacts.js +10 -10
- package/dist/lib/harness/report/capture-coverage.js +4 -4
- package/dist/lib/lib/checkpoint.js +10 -10
- package/dist/lib/lib/compare.js +6 -0
- package/dist/lib/lib/progress-comparison.js +3 -2
- package/dist/lib/models/batching.js +4 -4
- package/dist/lib/models/catalog.js +16 -0
- package/dist/lib/models/cost-coefficients.js +12 -2
- package/dist/lib/models/coverage-rounds.js +1 -1
- package/dist/lib/models/local-profile.js +2 -2
- package/dist/lib/models/open-model.js +7 -0
- package/dist/lib/models/profiles.js +3 -1
- package/dist/lib/models/structured.js +3 -3
- package/dist/lib/models/supported-models.js +2 -2
- package/dist/lib/pipeline.js +43 -39
- package/dist/lib/probes/adapter.js +1 -1
- package/dist/lib/probes/adapters/cli-agents.js +18 -18
- package/dist/lib/probes/adapters/cli-claude-code.js +8 -7
- package/dist/lib/probes/adapters/cli-codex.js +8 -7
- package/dist/lib/probes/adapters/cli-cursor.js +8 -7
- package/dist/lib/probes/adapters/cli-process.js +5 -4
- package/dist/lib/probes/adapters/dataforseo-ai-mode.js +24 -0
- package/dist/lib/probes/adapters/dataforseo-ai-overview.js +8 -7
- package/dist/lib/probes/adapters/dataforseo-chatgpt-app.js +22 -0
- package/dist/lib/probes/adapters/gateway-chat.js +8 -5
- package/dist/lib/probes/adapters/gateway-perplexity.js +7 -6
- package/dist/lib/probes/agent-cli-parsers.js +3 -2
- package/dist/lib/probes/agent-clis.js +22 -22
- package/dist/lib/probes/answer-text.js +4 -3
- package/dist/lib/probes/attempt.js +5 -4
- package/dist/lib/probes/bindings.js +62 -30
- package/dist/lib/probes/charged-trace.js +31 -29
- package/dist/lib/probes/chat-retrieval.js +7 -2
- package/dist/lib/probes/dataforseo-locale.js +9 -3
- package/dist/lib/probes/dataforseo.js +9 -1
- package/dist/lib/probes/legacy-bindings.js +2 -2
- package/dist/lib/probes/probes.js +33 -31
- package/dist/lib/probes/web-tool-guard.js +3 -3
- package/dist/lib/report/contracts.js +7 -7
- package/dist/lib/report/core/progress-comparison.js +3 -2
- package/dist/lib/report/core/progress-schema.js +6 -2
- package/dist/lib/report/core/progress-statistics.js +8 -0
- package/dist/lib/report/core/rate-interval.js +6 -0
- package/dist/lib/report/core/retrieval.js +4 -1
- package/dist/lib/report/core/schema.js +23 -3
- package/dist/lib/report/core/surfaces.js +23 -1
- package/dist/lib/retrieval.js +4 -1
- package/dist/lib/runner.js +24 -24
- package/dist/lib/schema.js +35 -11
- package/dist/lib/section-result.js +13 -11
- package/dist/lib/stores/artifacts.js +13 -13
- package/dist/lib/stores/files.js +28 -26
- package/dist/lib/stores/local-versions.js +10 -10
- package/dist/lib/stores/memory.js +26 -25
- package/dist/lib/stores/publication.js +17 -16
- package/dist/lib/stores/unit-record.js +10 -10
- package/dist/lib/surfaces.js +23 -1
- package/dist/lib/viewer/page.js +1 -1
- package/dist/lib/viewer/server.js +41 -39
- package/dist/lib/workflow/schema.js +8 -8
- package/dist/types/agents/author-schema.d.ts +10 -10
- package/dist/types/agents/copy-validation.d.ts +1 -1
- package/dist/types/agents/facts.d.ts +1 -1
- package/dist/types/agents/methodology.d.ts +26 -0
- package/dist/types/agents/verifier.d.ts +2 -2
- package/dist/types/analysis/domain-labels.d.ts +1 -1
- package/dist/types/analysis/rate-evidence.d.ts +11 -0
- package/dist/types/analysis/scoring.d.ts +17 -0
- package/dist/types/analysis/sentiment.d.ts +8 -4
- package/dist/types/bundle/contracts.d.ts +42 -20
- package/dist/types/bundle/project.d.ts +6 -0
- package/dist/types/bundle/recorder.d.ts +1 -1
- package/dist/types/bundle/trace-coverage.d.ts +4 -2
- package/dist/types/capture-manifest.d.ts +8 -4
- package/dist/types/cli/run-commands.d.ts +14 -0
- package/dist/types/codex-workflow/aggregate.d.ts +90 -12
- package/dist/types/codex-workflow/copy-editor.d.ts +40 -1
- package/dist/types/codex-workflow/copy.d.ts +136 -1
- package/dist/types/codex-workflow/run-inputs.d.ts +138 -32
- package/dist/types/codex-workflow/schemas.d.ts +20 -20
- package/dist/types/codex-workflow/session-gate.d.ts +12 -0
- package/dist/types/codex-workflow/stage.d.ts +7 -1
- package/dist/types/engine/audit-file.d.ts +96 -6
- package/dist/types/engine/budget.d.ts +19 -6
- package/dist/types/engine/cost-estimate.d.ts +11 -2
- package/dist/types/engine/local-run.d.ts +12 -2
- package/dist/types/engine/preflight.d.ts +21 -5
- package/dist/types/engine/run-bindings.d.ts +34 -7
- package/dist/types/engine/run-configuration.d.ts +15 -3
- package/dist/types/engine/run-method.d.ts +58 -0
- package/dist/types/engine/run-models.d.ts +89 -0
- package/dist/types/engine/templates.d.ts +3 -1
- package/dist/types/grounding/tools.d.ts +10 -0
- package/dist/types/harness/criteria.d.ts +9 -2
- package/dist/types/harness/report/artifacts.d.ts +48 -24
- package/dist/types/lib/compare.d.ts +3 -0
- package/dist/types/models/catalog.d.ts +52 -0
- package/dist/types/models/cost-coefficients.d.ts +74 -21
- package/dist/types/models/local-profile.d.ts +5 -1
- package/dist/types/models/open-model.d.ts +10 -0
- package/dist/types/models/profiles.d.ts +113 -14
- package/dist/types/models/supported-models.d.ts +13 -3
- package/dist/types/pipeline.d.ts +1 -1
- package/dist/types/probes/adapter.d.ts +10 -1
- package/dist/types/probes/adapters/dataforseo-ai-mode.d.ts +16 -0
- package/dist/types/probes/adapters/dataforseo-ai-overview.d.ts +2 -2
- package/dist/types/probes/adapters/dataforseo-chatgpt-app.d.ts +12 -0
- package/dist/types/probes/adapters/gateway-chat.d.ts +33 -4
- package/dist/types/probes/adapters/gateway-perplexity.d.ts +2 -2
- package/dist/types/probes/bindings.d.ts +99 -10
- package/dist/types/probes/charged-trace.d.ts +7 -1
- package/dist/types/probes/chat-retrieval.d.ts +2 -0
- package/dist/types/probes/dataforseo-locale.d.ts +16 -0
- package/dist/types/probes/dataforseo.d.ts +43 -1
- package/dist/types/probes/probe-trace.d.ts +3 -0
- package/dist/types/probes/probes.d.ts +3 -3
- package/dist/types/report/contracts.d.ts +184 -30
- package/dist/types/report/core/progress-comparison.d.ts +19 -2
- package/dist/types/report/core/progress-schema.d.ts +13 -5
- package/dist/types/report/core/progress-statistics.d.ts +28 -0
- package/dist/types/report/core/rate-interval.d.ts +10 -0
- package/dist/types/report/core/retrieval.d.ts +5 -2
- package/dist/types/report/core/schema.d.ts +190 -30
- package/dist/types/report/core/surfaces.d.ts +38 -4
- package/dist/types/runner.d.ts +5 -0
- package/dist/types/schema.d.ts +126 -21
- package/dist/types/section-result.d.ts +7 -2
- package/dist/types/workflow/schema.d.ts +121 -41
- package/package.json +1 -1
- package/resources/guide/OPERATOR.md +38 -9
- package/src/agents/author-schema.ts +7 -0
- package/src/agents/copy-validation.ts +4 -2
- package/src/agents/credentials.ts +18 -3
- package/src/agents/facts.ts +116 -3
- package/src/agents/methodology.ts +168 -0
- package/src/agents/narrative-facts.ts +50 -13
- package/src/agents/verifier.ts +9 -2
- package/src/analysis/progress.ts +4 -1
- package/src/analysis/rate-evidence.ts +74 -0
- package/src/analysis/scoring.ts +53 -10
- package/src/bundle/contracts.ts +42 -5
- package/src/bundle/export.ts +24 -4
- package/src/bundle/project-journal.ts +7 -1
- package/src/bundle/project.ts +76 -7
- package/src/bundle/recorder.ts +3 -0
- package/src/bundle/trace-coverage.ts +13 -6
- package/src/bundle/verify-integrity.ts +1 -0
- package/src/bundle/verify-report.ts +9 -3
- package/src/cli/io.ts +2 -0
- package/src/cli/literally-aeo.ts +10 -6
- package/src/cli/run-commands.ts +289 -68
- package/src/codex-workflow/aggregate.ts +108 -15
- package/src/codex-workflow/capture.ts +10 -13
- package/src/codex-workflow/copy-editor.ts +13 -2
- package/src/codex-workflow/copy.ts +171 -2
- package/src/codex-workflow/finish.ts +39 -0
- package/src/codex-workflow/loop.ts +23 -2
- package/src/codex-workflow/prompts.ts +32 -42
- package/src/codex-workflow/schemas.ts +3 -1
- package/src/codex-workflow/session-gate.ts +115 -0
- package/src/codex-workflow/stage.ts +78 -48
- package/src/codex-workflow/workdir.ts +5 -4
- package/src/engine/audit-file.ts +186 -13
- package/src/engine/author.ts +5 -2
- package/src/engine/budget.ts +70 -10
- package/src/engine/cost-estimate.ts +31 -7
- package/src/engine/guide/OPERATOR.md +38 -9
- package/src/engine/local-run.ts +98 -21
- package/src/engine/preflight.ts +59 -15
- package/src/engine/rejudge.ts +3 -2
- package/src/engine/run-bindings.ts +87 -40
- package/src/engine/run-configuration.ts +36 -6
- package/src/engine/run-method.ts +230 -0
- package/src/engine/run-models.ts +276 -0
- package/src/engine/run-status.ts +9 -4
- package/src/engine/templates.ts +7 -2
- package/src/grounding/controller.ts +2 -1
- package/src/grounding/tools.ts +18 -1
- package/src/harness/criteria.ts +35 -2
- package/src/lib/compare.ts +9 -0
- package/src/models/catalog.ts +500 -0
- package/src/models/cost-coefficients.ts +114 -17
- package/src/models/coverage-rounds.ts +10 -5
- package/src/models/local-profile.ts +69 -16
- package/src/models/open-model.ts +70 -0
- package/src/models/profiles.ts +17 -4
- package/src/models/supported-models.ts +7 -5
- package/src/pipeline.ts +14 -7
- package/src/probes/adapter.ts +17 -1
- package/src/probes/adapters/dataforseo-ai-mode.ts +146 -0
- package/src/probes/adapters/dataforseo-ai-overview.ts +2 -2
- package/src/probes/adapters/dataforseo-chatgpt-app.ts +115 -0
- package/src/probes/adapters/gateway-chat.ts +132 -18
- package/src/probes/adapters/gateway-perplexity.ts +2 -2
- package/src/probes/attempt.ts +1 -0
- package/src/probes/bindings.ts +484 -67
- package/src/probes/charged-trace.ts +19 -4
- package/src/probes/chat-retrieval.ts +67 -0
- package/src/probes/dataforseo-locale.ts +140 -20
- package/src/probes/dataforseo.ts +245 -26
- package/src/probes/legacy-bindings.ts +5 -4
- package/src/probes/probe-trace.ts +3 -0
- package/src/probes/probes.ts +30 -20
- package/src/probes/web-tool-guard.ts +18 -8
- package/src/report/core/progress-comparison.ts +158 -44
- package/src/report/core/progress-schema.ts +25 -3
- package/src/report/core/progress-statistics.ts +194 -0
- package/src/report/core/rate-interval.ts +24 -0
- package/src/report/core/retrieval.ts +18 -4
- package/src/report/core/schema.ts +79 -4
- package/src/report/core/surfaces.ts +100 -9
- package/src/runner.ts +65 -10
- package/src/schema.ts +78 -17
- package/src/section-result.ts +141 -23
- package/src/viewer/page.ts +126 -5
- package/dist/lib/chunks/chunk-AASWJR7Q.js +0 -42
- package/dist/lib/chunks/chunk-KSUI4DAY.js +0 -15
- package/dist/lib/chunks/chunk-KXFZ3CH3.js +0 -98
- package/dist/lib/chunks/chunk-MNG5TZRW.js +0 -208
- package/dist/lib/chunks/chunk-U42I3SBR.js +0 -78
- package/dist/lib/chunks/chunk-XBSA7MNJ.js +0 -66
package/dist/types/schema.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { type
|
|
2
|
+
import { type AeoSurface, type AeoApiSurface } from './report/core/schema';
|
|
3
3
|
import { coverageThresholdsSchema } from './coverage-schema';
|
|
4
4
|
export * from './report/core/schema';
|
|
5
5
|
export declare const aeoSectionConfigSchema: z.ZodObject<{
|
|
@@ -35,7 +35,7 @@ export declare const chatProbeConfigSchema: z.ZodObject<{
|
|
|
35
35
|
export type ChatProbeConfig = z.infer<typeof chatProbeConfigSchema>;
|
|
36
36
|
/** chatRunsPerPrompt is how many times each prompt is asked on a chat
|
|
37
37
|
* surface. */
|
|
38
|
-
export declare const chatRunsPerPrompt: (surface:
|
|
38
|
+
export declare const chatRunsPerPrompt: (surface: AeoApiSurface, chatProbes: ChatProbeConfig | undefined) => number;
|
|
39
39
|
export type ProbeDepth = {
|
|
40
40
|
agentProbes: AgentProbeConfig;
|
|
41
41
|
chatProbes: ChatProbeConfig | undefined;
|
|
@@ -44,6 +44,17 @@ export type ProbeDepth = {
|
|
|
44
44
|
* depth the plan is built at, which the probe batches and every
|
|
45
45
|
* planned-answer denominator must match. */
|
|
46
46
|
export declare const runsPerPromptOn: (surface: AeoSurface, depth: ProbeDepth) => number;
|
|
47
|
+
/** How many custom surfaces one audit may declare. */
|
|
48
|
+
export declare const maxCustomSurfaces = 8;
|
|
49
|
+
/** The surface decision the config author makes: the coding agents, and
|
|
50
|
+
* nothing else. */
|
|
51
|
+
export declare const authoredSurfacesSchema: z.ZodPrefault<z.ZodObject<{
|
|
52
|
+
codingAgents: z.ZodEnum<{
|
|
53
|
+
measure: "measure";
|
|
54
|
+
skip: "skip";
|
|
55
|
+
}>;
|
|
56
|
+
because: z.ZodString;
|
|
57
|
+
}, z.core.$strict>>;
|
|
47
58
|
export declare const aeoAuditConfigSchema: z.ZodObject<{
|
|
48
59
|
reportKey: z.ZodString;
|
|
49
60
|
questionSetName: z.ZodOptional<z.ZodString>;
|
|
@@ -89,7 +100,15 @@ export declare const aeoAuditConfigSchema: z.ZodObject<{
|
|
|
89
100
|
}, z.core.$strict>>;
|
|
90
101
|
moneyPages: z.ZodArray<z.ZodString>;
|
|
91
102
|
productBrief: z.ZodString;
|
|
103
|
+
customSurfaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
104
|
+
key: z.ZodString;
|
|
105
|
+
label: z.ZodString;
|
|
106
|
+
}, z.core.$strict>>>;
|
|
92
107
|
surfaces: z.ZodPrefault<z.ZodObject<{
|
|
108
|
+
consumerApps: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
109
|
+
chatgpt_app: "chatgpt_app";
|
|
110
|
+
google_ai_mode: "google_ai_mode";
|
|
111
|
+
}>>>;
|
|
93
112
|
codingAgents: z.ZodEnum<{
|
|
94
113
|
measure: "measure";
|
|
95
114
|
skip: "skip";
|
|
@@ -336,7 +355,7 @@ export type AeoAuditConfigInput = z.input<typeof aeoAuditConfigSchema>;
|
|
|
336
355
|
export type AeoSectionConfig = z.infer<typeof aeoSectionConfigSchema>;
|
|
337
356
|
export declare const checkpointMatchSchema: z.ZodObject<{
|
|
338
357
|
sectionKey: z.ZodOptional<z.ZodString>;
|
|
339
|
-
surface: z.ZodOptional<z.ZodEnum<{
|
|
358
|
+
surface: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
340
359
|
chatgpt: "chatgpt";
|
|
341
360
|
gemini: "gemini";
|
|
342
361
|
claude: "claude";
|
|
@@ -345,7 +364,9 @@ export declare const checkpointMatchSchema: z.ZodObject<{
|
|
|
345
364
|
claude_code: "claude_code";
|
|
346
365
|
codex: "codex";
|
|
347
366
|
cursor: "cursor";
|
|
348
|
-
|
|
367
|
+
chatgpt_app: "chatgpt_app";
|
|
368
|
+
google_ai_mode: "google_ai_mode";
|
|
369
|
+
}>, z.ZodCustom<`custom:${string}`, `custom:${string}`>]>>;
|
|
349
370
|
}, z.core.$strip>;
|
|
350
371
|
export { coverageThresholdsSchema } from './coverage-schema';
|
|
351
372
|
export { pipelineRequestSchema, pipelineCallbackSchema, } from './workflow/schema';
|
|
@@ -370,7 +391,13 @@ export declare const runRequestSchema: z.ZodObject<{
|
|
|
370
391
|
}, z.core.$strict>>;
|
|
371
392
|
gateway: z.ZodOptional<z.ZodObject<{
|
|
372
393
|
reasoning: z.ZodUnion<readonly [z.ZodObject<{
|
|
373
|
-
effort: z.
|
|
394
|
+
effort: z.ZodEnum<{
|
|
395
|
+
low: "low";
|
|
396
|
+
high: "high";
|
|
397
|
+
medium: "medium";
|
|
398
|
+
xhigh: "xhigh";
|
|
399
|
+
max: "max";
|
|
400
|
+
}>;
|
|
374
401
|
}, z.core.$strict>, z.ZodObject<{
|
|
375
402
|
max_tokens: z.ZodNumber;
|
|
376
403
|
}, z.core.$strict>]>;
|
|
@@ -397,7 +424,13 @@ export declare const runRequestSchema: z.ZodObject<{
|
|
|
397
424
|
}, z.core.$strict>>;
|
|
398
425
|
gateway: z.ZodOptional<z.ZodObject<{
|
|
399
426
|
reasoning: z.ZodUnion<readonly [z.ZodObject<{
|
|
400
|
-
effort: z.
|
|
427
|
+
effort: z.ZodEnum<{
|
|
428
|
+
low: "low";
|
|
429
|
+
high: "high";
|
|
430
|
+
medium: "medium";
|
|
431
|
+
xhigh: "xhigh";
|
|
432
|
+
max: "max";
|
|
433
|
+
}>;
|
|
401
434
|
}, z.core.$strict>, z.ZodObject<{
|
|
402
435
|
max_tokens: z.ZodNumber;
|
|
403
436
|
}, z.core.$strict>]>;
|
|
@@ -424,7 +457,13 @@ export declare const runRequestSchema: z.ZodObject<{
|
|
|
424
457
|
}, z.core.$strict>>;
|
|
425
458
|
gateway: z.ZodOptional<z.ZodObject<{
|
|
426
459
|
reasoning: z.ZodUnion<readonly [z.ZodObject<{
|
|
427
|
-
effort: z.
|
|
460
|
+
effort: z.ZodEnum<{
|
|
461
|
+
low: "low";
|
|
462
|
+
high: "high";
|
|
463
|
+
medium: "medium";
|
|
464
|
+
xhigh: "xhigh";
|
|
465
|
+
max: "max";
|
|
466
|
+
}>;
|
|
428
467
|
}, z.core.$strict>, z.ZodObject<{
|
|
429
468
|
max_tokens: z.ZodNumber;
|
|
430
469
|
}, z.core.$strict>]>;
|
|
@@ -451,7 +490,13 @@ export declare const runRequestSchema: z.ZodObject<{
|
|
|
451
490
|
}, z.core.$strict>>;
|
|
452
491
|
gateway: z.ZodOptional<z.ZodObject<{
|
|
453
492
|
reasoning: z.ZodUnion<readonly [z.ZodObject<{
|
|
454
|
-
effort: z.
|
|
493
|
+
effort: z.ZodEnum<{
|
|
494
|
+
low: "low";
|
|
495
|
+
high: "high";
|
|
496
|
+
medium: "medium";
|
|
497
|
+
xhigh: "xhigh";
|
|
498
|
+
max: "max";
|
|
499
|
+
}>;
|
|
455
500
|
}, z.core.$strict>, z.ZodObject<{
|
|
456
501
|
max_tokens: z.ZodNumber;
|
|
457
502
|
}, z.core.$strict>]>;
|
|
@@ -478,7 +523,13 @@ export declare const runRequestSchema: z.ZodObject<{
|
|
|
478
523
|
}, z.core.$strict>>;
|
|
479
524
|
gateway: z.ZodOptional<z.ZodObject<{
|
|
480
525
|
reasoning: z.ZodUnion<readonly [z.ZodObject<{
|
|
481
|
-
effort: z.
|
|
526
|
+
effort: z.ZodEnum<{
|
|
527
|
+
low: "low";
|
|
528
|
+
high: "high";
|
|
529
|
+
medium: "medium";
|
|
530
|
+
xhigh: "xhigh";
|
|
531
|
+
max: "max";
|
|
532
|
+
}>;
|
|
482
533
|
}, z.core.$strict>, z.ZodObject<{
|
|
483
534
|
max_tokens: z.ZodNumber;
|
|
484
535
|
}, z.core.$strict>]>;
|
|
@@ -505,7 +556,13 @@ export declare const runRequestSchema: z.ZodObject<{
|
|
|
505
556
|
}, z.core.$strict>>;
|
|
506
557
|
gateway: z.ZodOptional<z.ZodObject<{
|
|
507
558
|
reasoning: z.ZodUnion<readonly [z.ZodObject<{
|
|
508
|
-
effort: z.
|
|
559
|
+
effort: z.ZodEnum<{
|
|
560
|
+
low: "low";
|
|
561
|
+
high: "high";
|
|
562
|
+
medium: "medium";
|
|
563
|
+
xhigh: "xhigh";
|
|
564
|
+
max: "max";
|
|
565
|
+
}>;
|
|
509
566
|
}, z.core.$strict>, z.ZodObject<{
|
|
510
567
|
max_tokens: z.ZodNumber;
|
|
511
568
|
}, z.core.$strict>]>;
|
|
@@ -532,7 +589,13 @@ export declare const runRequestSchema: z.ZodObject<{
|
|
|
532
589
|
}, z.core.$strict>>;
|
|
533
590
|
gateway: z.ZodOptional<z.ZodObject<{
|
|
534
591
|
reasoning: z.ZodUnion<readonly [z.ZodObject<{
|
|
535
|
-
effort: z.
|
|
592
|
+
effort: z.ZodEnum<{
|
|
593
|
+
low: "low";
|
|
594
|
+
high: "high";
|
|
595
|
+
medium: "medium";
|
|
596
|
+
xhigh: "xhigh";
|
|
597
|
+
max: "max";
|
|
598
|
+
}>;
|
|
536
599
|
}, z.core.$strict>, z.ZodObject<{
|
|
537
600
|
max_tokens: z.ZodNumber;
|
|
538
601
|
}, z.core.$strict>]>;
|
|
@@ -559,7 +622,13 @@ export declare const runRequestSchema: z.ZodObject<{
|
|
|
559
622
|
}, z.core.$strict>>;
|
|
560
623
|
gateway: z.ZodOptional<z.ZodObject<{
|
|
561
624
|
reasoning: z.ZodUnion<readonly [z.ZodObject<{
|
|
562
|
-
effort: z.
|
|
625
|
+
effort: z.ZodEnum<{
|
|
626
|
+
low: "low";
|
|
627
|
+
high: "high";
|
|
628
|
+
medium: "medium";
|
|
629
|
+
xhigh: "xhigh";
|
|
630
|
+
max: "max";
|
|
631
|
+
}>;
|
|
563
632
|
}, z.core.$strict>, z.ZodObject<{
|
|
564
633
|
max_tokens: z.ZodNumber;
|
|
565
634
|
}, z.core.$strict>]>;
|
|
@@ -586,7 +655,13 @@ export declare const runRequestSchema: z.ZodObject<{
|
|
|
586
655
|
}, z.core.$strict>>;
|
|
587
656
|
gateway: z.ZodOptional<z.ZodObject<{
|
|
588
657
|
reasoning: z.ZodUnion<readonly [z.ZodObject<{
|
|
589
|
-
effort: z.
|
|
658
|
+
effort: z.ZodEnum<{
|
|
659
|
+
low: "low";
|
|
660
|
+
high: "high";
|
|
661
|
+
medium: "medium";
|
|
662
|
+
xhigh: "xhigh";
|
|
663
|
+
max: "max";
|
|
664
|
+
}>;
|
|
590
665
|
}, z.core.$strict>, z.ZodObject<{
|
|
591
666
|
max_tokens: z.ZodNumber;
|
|
592
667
|
}, z.core.$strict>]>;
|
|
@@ -613,7 +688,13 @@ export declare const runRequestSchema: z.ZodObject<{
|
|
|
613
688
|
}, z.core.$strict>>;
|
|
614
689
|
gateway: z.ZodOptional<z.ZodObject<{
|
|
615
690
|
reasoning: z.ZodUnion<readonly [z.ZodObject<{
|
|
616
|
-
effort: z.
|
|
691
|
+
effort: z.ZodEnum<{
|
|
692
|
+
low: "low";
|
|
693
|
+
high: "high";
|
|
694
|
+
medium: "medium";
|
|
695
|
+
xhigh: "xhigh";
|
|
696
|
+
max: "max";
|
|
697
|
+
}>;
|
|
617
698
|
}, z.core.$strict>, z.ZodObject<{
|
|
618
699
|
max_tokens: z.ZodNumber;
|
|
619
700
|
}, z.core.$strict>]>;
|
|
@@ -640,7 +721,13 @@ export declare const runRequestSchema: z.ZodObject<{
|
|
|
640
721
|
}, z.core.$strict>>;
|
|
641
722
|
gateway: z.ZodOptional<z.ZodObject<{
|
|
642
723
|
reasoning: z.ZodUnion<readonly [z.ZodObject<{
|
|
643
|
-
effort: z.
|
|
724
|
+
effort: z.ZodEnum<{
|
|
725
|
+
low: "low";
|
|
726
|
+
high: "high";
|
|
727
|
+
medium: "medium";
|
|
728
|
+
xhigh: "xhigh";
|
|
729
|
+
max: "max";
|
|
730
|
+
}>;
|
|
644
731
|
}, z.core.$strict>, z.ZodObject<{
|
|
645
732
|
max_tokens: z.ZodNumber;
|
|
646
733
|
}, z.core.$strict>]>;
|
|
@@ -667,7 +754,13 @@ export declare const runRequestSchema: z.ZodObject<{
|
|
|
667
754
|
}, z.core.$strict>>;
|
|
668
755
|
gateway: z.ZodOptional<z.ZodObject<{
|
|
669
756
|
reasoning: z.ZodUnion<readonly [z.ZodObject<{
|
|
670
|
-
effort: z.
|
|
757
|
+
effort: z.ZodEnum<{
|
|
758
|
+
low: "low";
|
|
759
|
+
high: "high";
|
|
760
|
+
medium: "medium";
|
|
761
|
+
xhigh: "xhigh";
|
|
762
|
+
max: "max";
|
|
763
|
+
}>;
|
|
671
764
|
}, z.core.$strict>, z.ZodObject<{
|
|
672
765
|
max_tokens: z.ZodNumber;
|
|
673
766
|
}, z.core.$strict>]>;
|
|
@@ -694,7 +787,13 @@ export declare const runRequestSchema: z.ZodObject<{
|
|
|
694
787
|
}, z.core.$strict>>;
|
|
695
788
|
gateway: z.ZodOptional<z.ZodObject<{
|
|
696
789
|
reasoning: z.ZodUnion<readonly [z.ZodObject<{
|
|
697
|
-
effort: z.
|
|
790
|
+
effort: z.ZodEnum<{
|
|
791
|
+
low: "low";
|
|
792
|
+
high: "high";
|
|
793
|
+
medium: "medium";
|
|
794
|
+
xhigh: "xhigh";
|
|
795
|
+
max: "max";
|
|
796
|
+
}>;
|
|
698
797
|
}, z.core.$strict>, z.ZodObject<{
|
|
699
798
|
max_tokens: z.ZodNumber;
|
|
700
799
|
}, z.core.$strict>]>;
|
|
@@ -717,9 +816,11 @@ export declare const runRequestSchema: z.ZodObject<{
|
|
|
717
816
|
stages: z.ZodOptional<z.ZodObject<{
|
|
718
817
|
model: z.ZodString;
|
|
719
818
|
reasoningEffort: z.ZodEnum<{
|
|
819
|
+
low: "low";
|
|
720
820
|
high: "high";
|
|
721
821
|
medium: "medium";
|
|
722
822
|
xhigh: "xhigh";
|
|
823
|
+
max: "max";
|
|
723
824
|
}>;
|
|
724
825
|
contextWindow: z.ZodNumber;
|
|
725
826
|
pricingUsdPerMillion: z.ZodObject<{
|
|
@@ -741,7 +842,7 @@ export declare const runRequestSchema: z.ZodObject<{
|
|
|
741
842
|
reportKey: z.ZodString;
|
|
742
843
|
runId: z.ZodString;
|
|
743
844
|
sections: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
744
|
-
surfaces: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
845
|
+
surfaces: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
745
846
|
chatgpt: "chatgpt";
|
|
746
847
|
gemini: "gemini";
|
|
747
848
|
claude: "claude";
|
|
@@ -750,14 +851,16 @@ export declare const runRequestSchema: z.ZodObject<{
|
|
|
750
851
|
claude_code: "claude_code";
|
|
751
852
|
codex: "codex";
|
|
752
853
|
cursor: "cursor";
|
|
753
|
-
|
|
854
|
+
chatgpt_app: "chatgpt_app";
|
|
855
|
+
google_ai_mode: "google_ai_mode";
|
|
856
|
+
}>, z.ZodCustom<`custom:${string}`, `custom:${string}`>]>>>;
|
|
754
857
|
mode: z.ZodDefault<z.ZodEnum<{
|
|
755
858
|
resume: "resume";
|
|
756
859
|
fresh: "fresh";
|
|
757
860
|
}>>;
|
|
758
861
|
redo: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
759
862
|
sectionKey: z.ZodOptional<z.ZodString>;
|
|
760
|
-
surface: z.ZodOptional<z.ZodEnum<{
|
|
863
|
+
surface: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
761
864
|
chatgpt: "chatgpt";
|
|
762
865
|
gemini: "gemini";
|
|
763
866
|
claude: "claude";
|
|
@@ -766,7 +869,9 @@ export declare const runRequestSchema: z.ZodObject<{
|
|
|
766
869
|
claude_code: "claude_code";
|
|
767
870
|
codex: "codex";
|
|
768
871
|
cursor: "cursor";
|
|
769
|
-
|
|
872
|
+
chatgpt_app: "chatgpt_app";
|
|
873
|
+
google_ai_mode: "google_ai_mode";
|
|
874
|
+
}>, z.ZodCustom<`custom:${string}`, `custom:${string}`>]>>;
|
|
770
875
|
}, z.core.$strip>>>;
|
|
771
876
|
allowPartial: z.ZodDefault<z.ZodBoolean>;
|
|
772
877
|
grounding: z.ZodDefault<z.ZodEnum<{
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
+
import type { CalculationVersion } from './bundle/contracts';
|
|
1
2
|
import type { PromptAnalysisResult, SectionCaptureSummary, SectionRunArgs, SectionRunResult } from './pipeline';
|
|
2
3
|
/** Pure assembly of a section from its capture and extractions: scoring,
|
|
3
|
-
* evidence split, matrix and visibility. The same inputs
|
|
4
|
-
|
|
4
|
+
* evidence split, matrix and visibility. The same inputs and calculation
|
|
5
|
+
* version give the same result; version 1 is the arithmetic before rates
|
|
6
|
+
* carried their evidence, byte for byte. */
|
|
7
|
+
export declare const assembleSectionResult: (args: Pick<SectionRunArgs, "sectionKey" | "brand" | "competitors" | "prompts" | "surfaces" | "agentProbes" | "chatProbes"> & {
|
|
8
|
+
calculationVersion: CalculationVersion;
|
|
9
|
+
}, capture: SectionCaptureSummary, analyses: readonly PromptAnalysisResult[]) => SectionRunResult;
|