literally-aeo 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/dist/cli.mjs +48 -21
  2. package/dist/lib/agents/author-validation.js +3 -1
  3. package/dist/lib/agents/copy-validation.js +1 -1
  4. package/dist/lib/agents/copywriter-input.js +1 -1
  5. package/dist/lib/agents/facts.js +1 -1
  6. package/dist/lib/agents/verifier.js +1 -1
  7. package/dist/lib/analysis/progress.js +2 -2
  8. package/dist/lib/bundle/contracts.js +1 -1
  9. package/dist/lib/bundle/export.js +8 -8
  10. package/dist/lib/bundle/journal.js +2 -2
  11. package/dist/lib/bundle/project-journal.js +5 -5
  12. package/dist/lib/bundle/project.js +6 -6
  13. package/dist/lib/bundle/read.js +9 -9
  14. package/dist/lib/bundle/recorder.js +3 -3
  15. package/dist/lib/bundle/redact.js +2 -2
  16. package/dist/lib/bundle/trace-coverage.js +2 -2
  17. package/dist/lib/bundle/verify-integrity.js +4 -4
  18. package/dist/lib/bundle/verify-measurement.js +2 -2
  19. package/dist/lib/bundle/verify-report.js +3 -3
  20. package/dist/lib/bundle/verify.js +8 -8
  21. package/dist/lib/checks/money-pages.js +13 -0
  22. package/dist/lib/checks/run-checks.js +4 -4
  23. package/dist/lib/chunks/{chunk-XAKME6NM.js → chunk-3CMPR6ZZ.js} +1 -1
  24. package/dist/lib/chunks/{chunk-VPXYGN4I.js → chunk-4GLW3ZRO.js} +14 -19
  25. package/dist/lib/chunks/{chunk-SD7LR26G.js → chunk-7DNLRXEY.js} +1 -1
  26. package/dist/lib/chunks/{chunk-E3OGPTUY.js → chunk-7YZPEX3T.js} +2 -2
  27. package/dist/lib/chunks/{chunk-SLAPBFRH.js → chunk-AT3XMGES.js} +4 -4
  28. package/dist/lib/chunks/{chunk-AK6YNTCV.js → chunk-BYHXNFWN.js} +1 -1
  29. package/dist/lib/chunks/{chunk-PXB4PWJI.js → chunk-EOO5RBUW.js} +2 -2
  30. package/dist/lib/chunks/chunk-FK2JQHAX.js +30 -0
  31. package/dist/lib/chunks/{chunk-MTDYBJXH.js → chunk-GLUGYZQO.js} +1 -1
  32. package/dist/lib/chunks/{chunk-QJZTDZMB.js → chunk-HCUJ2J7P.js} +5 -5
  33. package/dist/lib/chunks/{chunk-SMPP7B7F.js → chunk-HGGOGCPX.js} +4 -4
  34. package/dist/lib/chunks/{chunk-AJKV46SM.js → chunk-HGGRPOSA.js} +3 -3
  35. package/dist/lib/chunks/{chunk-3GPUCXVA.js → chunk-J7QKT5E7.js} +10 -10
  36. package/dist/lib/chunks/{chunk-FIC7JSR4.js → chunk-JYCVBFH5.js} +2 -2
  37. package/dist/lib/chunks/{chunk-RPTADJXD.js → chunk-KFAT65P7.js} +1 -1
  38. package/dist/lib/chunks/{chunk-DDS4G4DO.js → chunk-LTCDLURT.js} +3 -3
  39. package/dist/lib/chunks/{chunk-OQFAMKLN.js → chunk-OOLWU667.js} +1 -1
  40. package/dist/lib/chunks/{chunk-FL6LN2K6.js → chunk-PIF3GL62.js} +5 -5
  41. package/dist/lib/chunks/{chunk-W5X7WJYL.js → chunk-PIFTG6YW.js} +3 -3
  42. package/dist/lib/chunks/{chunk-JXBLGCXZ.js → chunk-PKNODC6Y.js} +1 -1
  43. package/dist/lib/chunks/{chunk-KSOHZKV5.js → chunk-QD3JXA3Y.js} +6 -6
  44. package/dist/lib/chunks/{chunk-YZEZRQIG.js → chunk-RIJERFGU.js} +1 -1
  45. package/dist/lib/chunks/{chunk-AAFHXNLU.js → chunk-S6QOXJAL.js} +3 -3
  46. package/dist/lib/chunks/{chunk-HI3PD3KR.js → chunk-T6XZQOXS.js} +5 -5
  47. package/dist/lib/chunks/{chunk-SQQ56UP2.js → chunk-UNCUG2YS.js} +1 -1
  48. package/dist/lib/chunks/{chunk-7LBSNDRR.js → chunk-VHKHYAC5.js} +20 -1
  49. package/dist/lib/chunks/{chunk-XNTFOVCE.js → chunk-VXYQWE45.js} +2 -2
  50. package/dist/lib/chunks/{chunk-R2AJYV6A.js → chunk-XA27KAUV.js} +1 -1
  51. package/dist/lib/chunks/{chunk-3OWJBGQE.js → chunk-XSER7WEB.js} +1 -1
  52. package/dist/lib/chunks/{chunk-T5XQ6NXD.js → chunk-YEUCAPKP.js} +1 -1
  53. package/dist/lib/chunks/{chunk-6JICXLDA.js → chunk-YGLWQFKL.js} +1 -1
  54. package/dist/lib/chunks/{chunk-66DVMLGR.js → chunk-ZOGIJGU3.js} +1 -1
  55. package/dist/lib/cli/bundle-commands.js +27 -26
  56. package/dist/lib/cli/run-commands.js +31 -30
  57. package/dist/lib/cli/status-command.js +16 -15
  58. package/dist/lib/codex-workflow/author.js +4 -3
  59. package/dist/lib/codex-workflow/capture.js +2 -2
  60. package/dist/lib/codex-workflow/copy-editor.js +1 -1
  61. package/dist/lib/codex-workflow/copy.js +1 -1
  62. package/dist/lib/codex-workflow/finish.js +1 -1
  63. package/dist/lib/codex-workflow/loop.js +10 -9
  64. package/dist/lib/codex-workflow/run-source.js +5 -5
  65. package/dist/lib/codex-workflow/stage.js +5 -4
  66. package/dist/lib/engine/audit-file.js +4 -3
  67. package/dist/lib/engine/author.js +11 -10
  68. package/dist/lib/engine/local-run.js +15 -14
  69. package/dist/lib/engine/preflight.js +2 -2
  70. package/dist/lib/engine/rejudge.js +21 -20
  71. package/dist/lib/engine/run-status.js +16 -15
  72. package/dist/lib/engine/templates.js +5 -4
  73. package/dist/lib/grounding/grounding-runtime.js +5 -5
  74. package/dist/lib/grounding/recorded-tools.js +4 -4
  75. package/dist/lib/models/supported-models.js +1 -1
  76. package/dist/lib/pipeline.js +1 -1
  77. package/dist/lib/probes/probes.js +1 -1
  78. package/dist/lib/stores/files.js +3 -3
  79. package/dist/lib/stores/memory.js +1 -1
  80. package/dist/lib/stores/publication.js +1 -1
  81. package/dist/lib/viewer/server.js +9 -9
  82. package/dist/types/bundle/contracts.d.ts +1 -1
  83. package/dist/types/checks/money-pages.d.ts +19 -0
  84. package/package.json +1 -1
  85. package/src/agents/author-validation.ts +22 -1
  86. package/src/bundle/contracts.ts +1 -1
  87. package/src/checks/money-pages.ts +48 -0
  88. package/src/engine/audit-file.ts +20 -30
  89. package/src/models/supported-models.ts +3 -3
  90. package/dist/lib/chunks/{chunk-JYFEXVWC.js → chunk-R5UPOEWE.js} +3 -3
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  auditFileVersion
3
- } from "./chunk-VPXYGN4I.js";
3
+ } from "./chunk-4GLW3ZRO.js";
4
4
  import {
5
5
  recommendedModelId
6
- } from "./chunk-W5X7WJYL.js";
6
+ } from "./chunk-PIFTG6YW.js";
7
7
 
8
8
  // src/engine/templates.ts
9
9
  var exampleAuditFile = {
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  runJournalDir
3
- } from "./chunk-PXB4PWJI.js";
3
+ } from "./chunk-EOO5RBUW.js";
4
4
  import {
5
5
  assessTraceCoverage
6
- } from "./chunk-AK6YNTCV.js";
6
+ } from "./chunk-BYHXNFWN.js";
7
7
  import {
8
8
  summarizeIsolation
9
9
  } from "./chunk-2FOKEIIN.js";
10
10
  import {
11
11
  readJournal
12
- } from "./chunk-JXBLGCXZ.js";
12
+ } from "./chunk-PKNODC6Y.js";
13
13
  import {
14
14
  hasErrorCode
15
15
  } from "./chunk-2QLAFBCG.js";
@@ -17,7 +17,7 @@ import {
17
17
  RunOrigin,
18
18
  bundlePaths,
19
19
  objectPathPrefix
20
- } from "./chunk-T5XQ6NXD.js";
20
+ } from "./chunk-YEUCAPKP.js";
21
21
  import {
22
22
  sha256Hex
23
23
  } from "./chunk-E6NQQU6V.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  operationKinds
3
- } from "./chunk-T5XQ6NXD.js";
3
+ } from "./chunk-YEUCAPKP.js";
4
4
  import {
5
5
  sha256Hex
6
6
  } from "./chunk-E6NQQU6V.js";
@@ -5,7 +5,7 @@ import {
5
5
  openJournal,
6
6
  putObject,
7
7
  readJournal
8
- } from "./chunk-JXBLGCXZ.js";
8
+ } from "./chunk-PKNODC6Y.js";
9
9
  import {
10
10
  mintRunId
11
11
  } from "./chunk-W46Y7KBR.js";
@@ -16,7 +16,7 @@ import {
16
16
  operationKinds,
17
17
  toolId,
18
18
  toolVersion
19
- } from "./chunk-T5XQ6NXD.js";
19
+ } from "./chunk-YEUCAPKP.js";
20
20
 
21
21
  // src/bundle/recorder.ts
22
22
  import { readFile, rename, stat } from "node:fs/promises";
@@ -0,0 +1,30 @@
1
+ import {
2
+ SourceRetrievalError,
3
+ validateResearchUrl
4
+ } from "./chunk-ESEMYWUH.js";
5
+ import {
6
+ urlIsOnDomain
7
+ } from "./chunk-HOJXKHPX.js";
8
+
9
+ // src/checks/money-pages.ts
10
+ var maxMoneyPages = 20;
11
+ var moneyPageProblem = (page, site) => {
12
+ const hosts = [site.domain, ...site.checkHosts ?? []];
13
+ if (!hosts.some((host) => urlIsOnDomain(page, host))) {
14
+ return { kind: "off_site" };
15
+ }
16
+ try {
17
+ validateResearchUrl(page);
18
+ } catch (err) {
19
+ if (err instanceof SourceRetrievalError) {
20
+ return { kind: "unsafe_url", message: err.message };
21
+ }
22
+ throw err;
23
+ }
24
+ return void 0;
25
+ };
26
+
27
+ export {
28
+ maxMoneyPages,
29
+ moneyPageProblem
30
+ };
@@ -14,7 +14,7 @@ import {
14
14
  authorFiles,
15
15
  authorPacket,
16
16
  authorSessionInputs
17
- } from "./chunk-OQFAMKLN.js";
17
+ } from "./chunk-OOLWU667.js";
18
18
  import {
19
19
  copyDir
20
20
  } from "./chunk-3OE4UQIB.js";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  bankDir,
3
3
  runDirectoryState
4
- } from "./chunk-3GPUCXVA.js";
4
+ } from "./chunk-J7QKT5E7.js";
5
5
  import {
6
6
  FileProbeStore
7
- } from "./chunk-R2AJYV6A.js";
7
+ } from "./chunk-XA27KAUV.js";
8
8
  import {
9
9
  localReportKey,
10
10
  readAuditFile,
11
11
  toAuditConfig
12
- } from "./chunk-VPXYGN4I.js";
12
+ } from "./chunk-4GLW3ZRO.js";
13
13
  import {
14
14
  budgetFile
15
15
  } from "./chunk-2B5QF6UQ.js";
@@ -24,10 +24,10 @@ import {
24
24
  } from "./chunk-RXSHKWZJ.js";
25
25
  import {
26
26
  runJournalDir
27
- } from "./chunk-PXB4PWJI.js";
27
+ } from "./chunk-EOO5RBUW.js";
28
28
  import {
29
29
  readJournal
30
- } from "./chunk-JXBLGCXZ.js";
30
+ } from "./chunk-PKNODC6Y.js";
31
31
  import {
32
32
  hasErrorCode
33
33
  } from "./chunk-2QLAFBCG.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  runStage
3
- } from "./chunk-MTDYBJXH.js";
3
+ } from "./chunk-GLUGYZQO.js";
4
4
  import {
5
5
  authorBrand,
6
6
  materializeAuthorWorkdir,
@@ -8,7 +8,7 @@ import {
8
8
  readAuthorResearch,
9
9
  researchServerConfig,
10
10
  validateAuthorStage
11
- } from "./chunk-OQFAMKLN.js";
11
+ } from "./chunk-OOLWU667.js";
12
12
  import {
13
13
  authorToolCaps
14
14
  } from "./chunk-XAN4CRFP.js";
@@ -16,7 +16,7 @@ import {
16
16
  auditFileSchema,
17
17
  auditFileVersion,
18
18
  authorRecordFile
19
- } from "./chunk-VPXYGN4I.js";
19
+ } from "./chunk-4GLW3ZRO.js";
20
20
  import {
21
21
  localStageModel
22
22
  } from "./chunk-U64NCRRR.js";
@@ -25,7 +25,7 @@ import {
25
25
  } from "./chunk-6GOBBNDU.js";
26
26
  import {
27
27
  openRecorder
28
- } from "./chunk-PXB4PWJI.js";
28
+ } from "./chunk-EOO5RBUW.js";
29
29
  import {
30
30
  mintRunId
31
31
  } from "./chunk-W46Y7KBR.js";
@@ -8,15 +8,15 @@ import {
8
8
  } from "./chunk-SREGO3PU.js";
9
9
  import {
10
10
  assessTraceCoverage
11
- } from "./chunk-AK6YNTCV.js";
11
+ } from "./chunk-BYHXNFWN.js";
12
12
  import {
13
13
  readJournal
14
- } from "./chunk-JXBLGCXZ.js";
14
+ } from "./chunk-PKNODC6Y.js";
15
15
  import {
16
16
  bundlePaths,
17
17
  digestManifest,
18
18
  objectPathPrefix
19
- } from "./chunk-T5XQ6NXD.js";
19
+ } from "./chunk-YEUCAPKP.js";
20
20
  import {
21
21
  sha256Hex
22
22
  } from "./chunk-E6NQQU6V.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  openFileStores
3
- } from "./chunk-R2AJYV6A.js";
3
+ } from "./chunk-XA27KAUV.js";
4
4
  import {
5
5
  chargedProbeTrace
6
6
  } from "./chunk-Y2CZ6FZY.js";
@@ -9,24 +9,24 @@ import {
9
9
  } from "./chunk-VXDMOB7O.js";
10
10
  import {
11
11
  openGroundingRuntime
12
- } from "./chunk-3OWJBGQE.js";
12
+ } from "./chunk-XSER7WEB.js";
13
13
  import {
14
14
  toAuditConfig,
15
15
  toRunRequest
16
- } from "./chunk-VPXYGN4I.js";
16
+ } from "./chunk-4GLW3ZRO.js";
17
17
  import {
18
18
  resolveRunBudget
19
19
  } from "./chunk-2B5QF6UQ.js";
20
20
  import {
21
21
  resolveSupportedModel
22
- } from "./chunk-W5X7WJYL.js";
23
- import {
24
- planRun
25
- } from "./chunk-JBOOD6MU.js";
22
+ } from "./chunk-PIFTG6YW.js";
26
23
  import {
27
24
  localTechnicalChecks,
28
25
  persistedRunId
29
- } from "./chunk-6JICXLDA.js";
26
+ } from "./chunk-YGLWQFKL.js";
27
+ import {
28
+ planRun
29
+ } from "./chunk-JBOOD6MU.js";
30
30
  import {
31
31
  agentSurfacesToCapture,
32
32
  captureForRun
@@ -47,14 +47,14 @@ import {
47
47
  probeTraceOf,
48
48
  recordedOperationKinds,
49
49
  recordingAccounting
50
- } from "./chunk-PXB4PWJI.js";
50
+ } from "./chunk-EOO5RBUW.js";
51
51
  import {
52
52
  hasErrorCode
53
53
  } from "./chunk-2QLAFBCG.js";
54
54
  import {
55
55
  RunOrigin,
56
56
  measurementDigest
57
- } from "./chunk-T5XQ6NXD.js";
57
+ } from "./chunk-YEUCAPKP.js";
58
58
  import {
59
59
  capturePlan
60
60
  } from "./chunk-F2NSJ6PG.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  readFinalizedRevisions
3
- } from "./chunk-FL6LN2K6.js";
3
+ } from "./chunk-PIF3GL62.js";
4
4
  import {
5
5
  BundleRefusedError,
6
6
  archiveLimits,
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk-2QLAFBCG.js";
15
15
  import {
16
16
  bundlePaths
17
- } from "./chunk-T5XQ6NXD.js";
17
+ } from "./chunk-YEUCAPKP.js";
18
18
 
19
19
  // src/bundle/read.ts
20
20
  import { lstat, readdir, readFile } from "node:fs/promises";
@@ -2,7 +2,7 @@ import {
2
2
  bundleManifestSchema,
3
3
  bundlePaths,
4
4
  digestManifest
5
- } from "./chunk-T5XQ6NXD.js";
5
+ } from "./chunk-YEUCAPKP.js";
6
6
  import {
7
7
  canonicalDigest,
8
8
  encodeBundleJson,
@@ -24,10 +24,10 @@ import {
24
24
  } from "./chunk-SREGO3PU.js";
25
25
  import {
26
26
  projectJournal
27
- } from "./chunk-SLAPBFRH.js";
27
+ } from "./chunk-AT3XMGES.js";
28
28
  import {
29
29
  capturedAnswerOf
30
- } from "./chunk-AK6YNTCV.js";
30
+ } from "./chunk-BYHXNFWN.js";
31
31
  import {
32
32
  isolationLimitations
33
33
  } from "./chunk-2FOKEIIN.js";
@@ -39,7 +39,7 @@ import {
39
39
  calculationVersion,
40
40
  measurementDigest,
41
41
  predecessorPrefix
42
- } from "./chunk-T5XQ6NXD.js";
42
+ } from "./chunk-YEUCAPKP.js";
43
43
  import {
44
44
  canonicalDigest,
45
45
  encodeBundleJson
@@ -25,7 +25,7 @@ import {
25
25
  } from "./chunk-PO2J5OQ3.js";
26
26
  import {
27
27
  validateAuthorOutput
28
- } from "./chunk-7LBSNDRR.js";
28
+ } from "./chunk-VHKHYAC5.js";
29
29
  import {
30
30
  canonicalResearchUrl
31
31
  } from "./chunk-MPJCZN4G.js";
@@ -3,20 +3,20 @@ import {
3
3
  } from "./chunk-PYLJISDZ.js";
4
4
  import {
5
5
  redactBundle
6
- } from "./chunk-RPTADJXD.js";
6
+ } from "./chunk-KFAT65P7.js";
7
7
  import {
8
8
  acquireWriterLock
9
9
  } from "./chunk-6GOBBNDU.js";
10
10
  import {
11
11
  projectWorkdir
12
- } from "./chunk-DDS4G4DO.js";
12
+ } from "./chunk-LTCDLURT.js";
13
13
  import {
14
14
  runJournalDir
15
- } from "./chunk-PXB4PWJI.js";
15
+ } from "./chunk-EOO5RBUW.js";
16
16
  import {
17
17
  openJournal,
18
18
  readJournal
19
- } from "./chunk-JXBLGCXZ.js";
19
+ } from "./chunk-PKNODC6Y.js";
20
20
  import {
21
21
  mintRunId
22
22
  } from "./chunk-W46Y7KBR.js";
@@ -33,7 +33,7 @@ import {
33
33
  toolId,
34
34
  toolVersion,
35
35
  traceSchemaVersion
36
- } from "./chunk-T5XQ6NXD.js";
36
+ } from "./chunk-YEUCAPKP.js";
37
37
  import {
38
38
  encodeBundleJson,
39
39
  parseBundleJson,
@@ -28,7 +28,7 @@ var supportedModels = [
28
28
  id: "anthropic/claude-opus-5.5",
29
29
  label: "Claude Opus 5.5",
30
30
  pricingUsdPerMillion: { input: 4, output: 20, cachedInput: 0.2 },
31
- pricingCheckedAt: "2026-11-04",
31
+ pricingCheckedAt: "2026-11-08",
32
32
  contextWindow: 1e6,
33
33
  maxOutputTokens: 128e3,
34
34
  thinkingInOutput: true,
@@ -39,8 +39,8 @@ var supportedModels = [
39
39
  {
40
40
  id: "anthropic/claude-sonnet-5.5",
41
41
  label: "Claude Sonnet 5.5",
42
- pricingUsdPerMillion: { input: 2, output: 10, cachedInput: 0.2 },
43
- pricingCheckedAt: "2026-11-04",
42
+ pricingUsdPerMillion: { input: 2, output: 10, cachedInput: 0.1 },
43
+ pricingCheckedAt: "2026-11-08",
44
44
  contextWindow: 1e6,
45
45
  maxOutputTokens: 128e3,
46
46
  thinkingInOutput: true,
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  bundleEventSchema,
9
9
  objectPathPrefix
10
- } from "./chunk-T5XQ6NXD.js";
10
+ } from "./chunk-YEUCAPKP.js";
11
11
  import {
12
12
  canonicalDigest,
13
13
  parseBundleJson,
@@ -4,11 +4,14 @@ import {
4
4
  partition,
5
5
  runStage,
6
6
  stageInputsDigest
7
- } from "./chunk-MTDYBJXH.js";
7
+ } from "./chunk-GLUGYZQO.js";
8
8
  import {
9
9
  finishRun,
10
10
  writeFinished
11
11
  } from "./chunk-2KH7LNK7.js";
12
+ import {
13
+ stableBatchLayout
14
+ } from "./chunk-SBQ4TWGJ.js";
12
15
  import {
13
16
  copyEditHistory,
14
17
  editCopyDraft,
@@ -31,9 +34,6 @@ import {
31
34
  hostModels,
32
35
  pinnedProfileOf
33
36
  } from "./chunk-FAUFE7MI.js";
34
- import {
35
- stableBatchLayout
36
- } from "./chunk-SBQ4TWGJ.js";
37
37
  import {
38
38
  aggregateWorkdir
39
39
  } from "./chunk-MENTBQGB.js";
@@ -55,11 +55,11 @@ import {
55
55
  import {
56
56
  openRecorder,
57
57
  recordingAccounting
58
- } from "./chunk-PXB4PWJI.js";
58
+ } from "./chunk-EOO5RBUW.js";
59
59
  import {
60
60
  RunOrigin,
61
61
  measurementDigest
62
- } from "./chunk-T5XQ6NXD.js";
62
+ } from "./chunk-YEUCAPKP.js";
63
63
  import {
64
64
  capturePlan
65
65
  } from "./chunk-F2NSJ6PG.js";
@@ -2,7 +2,7 @@ import {
2
2
  describeSupportedModels,
3
3
  findSupportedModel,
4
4
  recommendedModelId
5
- } from "./chunk-W5X7WJYL.js";
5
+ } from "./chunk-PIFTG6YW.js";
6
6
  import {
7
7
  agentAuthEnv,
8
8
  cliNameForSurface,
@@ -2,14 +2,14 @@ import {
2
2
  bankDir,
3
3
  planLocalRun,
4
4
  runDirectoryState
5
- } from "./chunk-3GPUCXVA.js";
5
+ } from "./chunk-J7QKT5E7.js";
6
6
  import {
7
7
  localReportKey
8
- } from "./chunk-VPXYGN4I.js";
8
+ } from "./chunk-4GLW3ZRO.js";
9
9
  import {
10
10
  finalizeRevision,
11
11
  revisionsDir
12
- } from "./chunk-FL6LN2K6.js";
12
+ } from "./chunk-PIF3GL62.js";
13
13
  import {
14
14
  readRunInputs
15
15
  } from "./chunk-RXSHKWZJ.js";
@@ -2,16 +2,16 @@ import {
2
2
  checkIntegrity,
3
3
  checkTraceChain,
4
4
  checkTraceCoverage
5
- } from "./chunk-AJKV46SM.js";
5
+ } from "./chunk-HGGRPOSA.js";
6
6
  import {
7
7
  checkJudgments,
8
8
  checkPlan
9
- } from "./chunk-66DVMLGR.js";
9
+ } from "./chunk-ZOGIJGU3.js";
10
10
  import {
11
11
  checkCopy,
12
12
  checkGrounding,
13
13
  checkMetrics
14
- } from "./chunk-SD7LR26G.js";
14
+ } from "./chunk-7DNLRXEY.js";
15
15
  import {
16
16
  CheckOutcome,
17
17
  checkFrom,
@@ -21,7 +21,7 @@ import {
21
21
  } from "./chunk-6KHQ7DXP.js";
22
22
  import {
23
23
  capturedAnswerOf
24
- } from "./chunk-AK6YNTCV.js";
24
+ } from "./chunk-BYHXNFWN.js";
25
25
  import {
26
26
  bundleManifestSchema,
27
27
  bundlePaths,
@@ -29,7 +29,7 @@ import {
29
29
  predecessorPrefix,
30
30
  readableBundleSchemaVersions,
31
31
  traceSchemaVersion
32
- } from "./chunk-T5XQ6NXD.js";
32
+ } from "./chunk-YEUCAPKP.js";
33
33
  import {
34
34
  parseBundleJson
35
35
  } from "./chunk-E6NQQU6V.js";
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-75DMLOQ7.js";
8
8
  import {
9
9
  recorded
10
- } from "./chunk-PXB4PWJI.js";
10
+ } from "./chunk-EOO5RBUW.js";
11
11
  import {
12
12
  createHostPacer,
13
13
  guardedRequest
@@ -2,6 +2,10 @@ import {
2
2
  canonicalResearchUrl,
3
3
  fetchGroundingSource
4
4
  } from "./chunk-MPJCZN4G.js";
5
+ import {
6
+ maxMoneyPages,
7
+ moneyPageProblem
8
+ } from "./chunk-FK2JQHAX.js";
5
9
  import {
6
10
  authorNotesSchema,
7
11
  authorOutputSchema
@@ -156,7 +160,9 @@ var validateAuthorOutput = async (args) => {
156
160
  ...config.competitors,
157
161
  ...config.sections.flatMap((section) => section.competitors ?? [])
158
162
  ];
159
- if (!underHost(normalizeDomain(config.brand.domain), host) || config.moneyPages.some((url) => !underHost(normalizeDomain(url), host)) || competitors.some(
163
+ if (!underHost(normalizeDomain(config.brand.domain), host) || config.moneyPages.some(
164
+ (url) => moneyPageProblem(url, { domain: host })?.kind === "off_site"
165
+ ) || competitors.some(
160
166
  (competitor) => args.protectedClientHosts.some(
161
167
  (client) => underHost(normalizeDomain(competitor.domain), normalizeDomain(client))
162
168
  )
@@ -169,6 +175,19 @@ var validateAuthorOutput = async (args) => {
169
175
  fatal: "brief_mismatch"
170
176
  };
171
177
  }
178
+ config.moneyPages.forEach((url, index) => {
179
+ const problem = moneyPageProblem(url, { domain: host });
180
+ if (problem?.kind === "unsafe_url") {
181
+ errors.push(
182
+ `moneyPages.${index}: Use a public https URL with no port or credentials (${problem.message})`
183
+ );
184
+ }
185
+ });
186
+ if (config.moneyPages.length > maxMoneyPages) {
187
+ errors.push(
188
+ `moneyPages: Keep the ${maxMoneyPages} pages that matter most; the site checks fetch at most ${maxMoneyPages}.`
189
+ );
190
+ }
172
191
  notes.data.proposedFacts.forEach((fact, index) => {
173
192
  if (briefClaimPrefix.test(fact.proposition.trim())) {
174
193
  errors.push(
@@ -3,11 +3,11 @@ import {
3
3
  } from "./chunk-ZXQPD4OC.js";
4
4
  import {
5
5
  verifyBundle
6
- } from "./chunk-HI3PD3KR.js";
6
+ } from "./chunk-T6XZQOXS.js";
7
7
  import {
8
8
  RunOrigin,
9
9
  toolVersion
10
- } from "./chunk-T5XQ6NXD.js";
10
+ } from "./chunk-YEUCAPKP.js";
11
11
  import {
12
12
  parseBundleJson
13
13
  } from "./chunk-E6NQQU6V.js";
@@ -33,7 +33,7 @@ import {
33
33
  } from "./chunk-2QLAFBCG.js";
34
34
  import {
35
35
  projectProgressMeasurement
36
- } from "./chunk-JYFEXVWC.js";
36
+ } from "./chunk-R5UPOEWE.js";
37
37
  import {
38
38
  createLog
39
39
  } from "./chunk-ZSEY7AHQ.js";
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-WNIXDMJL.js";
7
7
  import {
8
8
  recordedGroundingTools
9
- } from "./chunk-XAKME6NM.js";
9
+ } from "./chunk-3CMPR6ZZ.js";
10
10
  import {
11
11
  runGroundingResearch
12
12
  } from "./chunk-K2FZFESR.js";
@@ -11,7 +11,7 @@ import {
11
11
  // src/bundle/contracts.ts
12
12
  import { z } from "zod";
13
13
  var toolId = "literally-aeo";
14
- var toolVersion = "0.2.1";
14
+ var toolVersion = "0.2.2";
15
15
  var bundleSchemaVersion = 2;
16
16
  var readableBundleSchemaVersions = [1, 2];
17
17
  var traceSchemaVersion = 1;
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-UYDQXXDQ.js";
4
4
  import {
5
5
  runTechnicalChecks
6
- } from "./chunk-SQQ56UP2.js";
6
+ } from "./chunk-UNCUG2YS.js";
7
7
  import {
8
8
  writeFileAtomically
9
9
  } from "./chunk-MX6Y4RD2.js";
@@ -19,7 +19,7 @@ import {
19
19
  bundlePaths,
20
20
  measurementDigest,
21
21
  planDocumentSchema
22
- } from "./chunk-T5XQ6NXD.js";
22
+ } from "./chunk-YEUCAPKP.js";
23
23
  import {
24
24
  canonicalDigest
25
25
  } from "./chunk-E6NQQU6V.js";