saturndocs 0.6.0 → 0.7.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 (57) hide show
  1. package/dist/{auth-ITFO2JZX.js → auth-76SYM7IA.js} +5 -5
  2. package/dist/{broken-links-RL4CXACC.js → broken-links-E4GALBEW.js} +10 -10
  3. package/dist/{build-A4TQWOOV.js → build-SSRHSDDN.js} +8 -8
  4. package/dist/{check-QPS7MTQP.js → check-YVUYIH3Y.js} +11 -11
  5. package/dist/{chunk-EMEVC3I7.js → chunk-2G4DQ7MR.js} +4 -4
  6. package/dist/{chunk-P7YJ2EEB.js → chunk-2QAM6CSJ.js} +1 -1
  7. package/dist/{chunk-HBK4T5U5.js → chunk-2XGQJ6O5.js} +3 -3
  8. package/dist/{chunk-YVF5SRRV.js → chunk-3XZBGNY4.js} +4 -4
  9. package/dist/{chunk-X3QUPC5K.js → chunk-6LD7SPWQ.js} +26 -26
  10. package/dist/{chunk-23HQUZXQ.js → chunk-74RXKLCM.js} +4 -4
  11. package/dist/{chunk-C7NSZ6OB.js → chunk-E5LB2OL7.js} +3 -3
  12. package/dist/{chunk-WTGIPAFR.js → chunk-FNPG5423.js} +1 -1
  13. package/dist/{chunk-4D3NBTL6.js → chunk-FTRNX643.js} +3 -3
  14. package/dist/{chunk-ALDS7N4Q.js → chunk-HWAQ2YEK.js} +6 -5
  15. package/dist/{chunk-TAL5XRPC.js → chunk-N5W667O7.js} +2 -2
  16. package/dist/{chunk-CVJ2XMAD.js → chunk-O7FL4UDY.js} +3 -3
  17. package/dist/{chunk-2NFN6VFP.js → chunk-OCDPAWTL.js} +18 -2
  18. package/dist/{chunk-4CKO5OQL.js → chunk-SNXQSHWR.js} +4 -4
  19. package/dist/{chunk-SN4CWEHN.js → chunk-STUQD2NY.js} +1 -1
  20. package/dist/{chunk-AUKI4MTV.js → chunk-SVRGZWBQ.js} +5 -5
  21. package/dist/{chunk-VUBV3KNZ.js → chunk-VWPXQFHD.js} +4 -4
  22. package/dist/{chunk-LR4MHIOQ.js → chunk-WBMWO34R.js} +3 -3
  23. package/dist/{chunk-ZMEJOXWN.js → chunk-WKRDJOFJ.js} +5 -5
  24. package/dist/{chunk-MJCIWAS4.js → chunk-X2HK6HRK.js} +4 -4
  25. package/dist/{chunk-QLA74ZD6.js → chunk-XBDKZGCA.js} +1 -1
  26. package/dist/{chunk-M3DLP36J.js → chunk-Y6X7O2RH.js} +3 -3
  27. package/dist/{chunk-CTNXOVXJ.js → chunk-YFET6FIO.js} +3 -3
  28. package/dist/{chunk-GDBDMUT4.js → chunk-YOXZMP5Z.js} +2 -2
  29. package/dist/{chunk-GSZ7EXCV.js → chunk-YP6IRZZV.js} +2 -2
  30. package/dist/{chunk-45AKGRMZ.js → chunk-YXS34FS2.js} +9 -1
  31. package/dist/{chunk-XXL6UJYJ.js → chunk-Z2CENESG.js} +4 -4
  32. package/dist/cli.js +4 -4
  33. package/dist/{coverage-J37TZFNH.js → coverage-XQU3PEAH.js} +5 -5
  34. package/dist/{dev-DTOZC26U.js → dev-G24A7FEQ.js} +9 -9
  35. package/dist/{dist-Q7BIZ2ZM.js → dist-GONQDTBT.js} +2 -2
  36. package/dist/index.js +23 -23
  37. package/dist/{init-5UAYTRNK.js → init-O4R3LDNE.js} +6 -6
  38. package/dist/{lint-JB2T2XON.js → lint-XQQEHOHB.js} +3 -3
  39. package/dist/{local-metadata-JSZPFCDP.js → local-metadata-5KLCOASW.js} +2 -2
  40. package/dist/{login-C6NODYYR.js → login-ZE257BGZ.js} +5 -5
  41. package/dist/{manage-73GX3EOY.js → manage-25YZ3NEO.js} +5 -5
  42. package/dist/{nav-CGOD74U6.js → nav-35UUYP45.js} +5 -5
  43. package/dist/{openapiCheck-V3HL4OLS.js → openapiCheck-HLWOQZKQ.js} +5 -5
  44. package/dist/pages-ZUAODNC6.js +17 -0
  45. package/dist/{read-BWDXUPIU.js → read-KXU34B5I.js} +6 -6
  46. package/dist/{read-7KFJFSBV.js → read-NA76WCIK.js} +6 -6
  47. package/dist/requests-326KNATQ.js +14 -0
  48. package/dist/{schema-Y7ZZFE42.js → schema-IGC5XO4E.js} +4 -4
  49. package/dist/sites-ECFP6IMI.js +16 -0
  50. package/dist/{status-U4I2APGB.js → status-3UNBNX4X.js} +5 -5
  51. package/dist/{suggestions-PUSFPY4M.js → suggestions-4PE6SHVW.js} +5 -5
  52. package/dist/validate-PMTH2ICX.js +15 -0
  53. package/package.json +7 -7
  54. package/dist/pages-RN3UBKKG.js +0 -17
  55. package/dist/requests-6GFLCAZH.js +0 -14
  56. package/dist/sites-UAZ2V62J.js +0 -16
  57. package/dist/validate-Z4P4AGLW.js +0 -15
@@ -3,12 +3,12 @@ import {
3
3
  authStatusOf,
4
4
  registerAuth,
5
5
  savedLoginStatusOf
6
- } from "./chunk-C7NSZ6OB.js";
7
- import "./chunk-HBK4T5U5.js";
8
- import "./chunk-GDBDMUT4.js";
6
+ } from "./chunk-E5LB2OL7.js";
7
+ import "./chunk-2XGQJ6O5.js";
8
+ import "./chunk-YOXZMP5Z.js";
9
9
  import "./chunk-FNZJHYAX.js";
10
- import "./chunk-WTGIPAFR.js";
11
- import "./chunk-2NFN6VFP.js";
10
+ import "./chunk-FNPG5423.js";
11
+ import "./chunk-OCDPAWTL.js";
12
12
  export {
13
13
  AUTH_METADATA,
14
14
  authStatusOf,
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  checkLinks
3
- } from "./chunk-AUKI4MTV.js";
3
+ } from "./chunk-SVRGZWBQ.js";
4
4
  import "./chunk-QSJHJKJP.js";
5
- import "./chunk-GSZ7EXCV.js";
6
- import "./chunk-23HQUZXQ.js";
5
+ import "./chunk-YP6IRZZV.js";
6
+ import "./chunk-74RXKLCM.js";
7
7
  import {
8
8
  requireDocsDir
9
- } from "./chunk-SN4CWEHN.js";
10
- import "./chunk-TAL5XRPC.js";
11
- import "./chunk-ALDS7N4Q.js";
12
- import "./chunk-45AKGRMZ.js";
9
+ } from "./chunk-STUQD2NY.js";
10
+ import "./chunk-N5W667O7.js";
11
+ import "./chunk-HWAQ2YEK.js";
12
+ import "./chunk-YXS34FS2.js";
13
13
  import {
14
14
  applyCommandHelp
15
15
  } from "./chunk-FNZJHYAX.js";
@@ -19,11 +19,11 @@ import {
19
19
  invalidInput,
20
20
  resolveGlobalOptions,
21
21
  successResult
22
- } from "./chunk-WTGIPAFR.js";
22
+ } from "./chunk-FNPG5423.js";
23
23
  import {
24
24
  BROKEN_LINKS_METADATA
25
- } from "./chunk-QLA74ZD6.js";
26
- import "./chunk-2NFN6VFP.js";
25
+ } from "./chunk-XBDKZGCA.js";
26
+ import "./chunk-OCDPAWTL.js";
27
27
 
28
28
  // src/commands/broken-links.ts
29
29
  function linkLine(d) {
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk-LDE53VKA.js";
4
4
  import {
5
5
  buildGeneration
6
- } from "./chunk-23HQUZXQ.js";
6
+ } from "./chunk-74RXKLCM.js";
7
7
  import {
8
8
  requireDocsDir
9
- } from "./chunk-SN4CWEHN.js";
10
- import "./chunk-TAL5XRPC.js";
11
- import "./chunk-ALDS7N4Q.js";
12
- import "./chunk-45AKGRMZ.js";
9
+ } from "./chunk-STUQD2NY.js";
10
+ import "./chunk-N5W667O7.js";
11
+ import "./chunk-HWAQ2YEK.js";
12
+ import "./chunk-YXS34FS2.js";
13
13
  import {
14
14
  applyCommandHelp
15
15
  } from "./chunk-FNZJHYAX.js";
@@ -18,11 +18,11 @@ import {
18
18
  failureResult,
19
19
  resolveGlobalOptions,
20
20
  successResult
21
- } from "./chunk-WTGIPAFR.js";
21
+ } from "./chunk-FNPG5423.js";
22
22
  import {
23
23
  BUILD_METADATA
24
- } from "./chunk-QLA74ZD6.js";
25
- import "./chunk-2NFN6VFP.js";
24
+ } from "./chunk-XBDKZGCA.js";
25
+ import "./chunk-OCDPAWTL.js";
26
26
 
27
27
  // src/lib/preview/output.ts
28
28
  import { createHash, randomUUID } from "crypto";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  checkLinks
3
- } from "./chunk-AUKI4MTV.js";
3
+ } from "./chunk-SVRGZWBQ.js";
4
4
  import "./chunk-QSJHJKJP.js";
5
5
  import "./chunk-D5WG63T5.js";
6
6
  import {
@@ -8,18 +8,18 @@ import {
8
8
  } from "./chunk-LDE53VKA.js";
9
9
  import {
10
10
  lintDocsDir
11
- } from "./chunk-4D3NBTL6.js";
11
+ } from "./chunk-FTRNX643.js";
12
12
  import "./chunk-YGVC4N4V.js";
13
- import "./chunk-GSZ7EXCV.js";
14
- import "./chunk-23HQUZXQ.js";
13
+ import "./chunk-YP6IRZZV.js";
14
+ import "./chunk-74RXKLCM.js";
15
15
  import {
16
16
  requireDocsDir
17
- } from "./chunk-SN4CWEHN.js";
17
+ } from "./chunk-STUQD2NY.js";
18
18
  import {
19
19
  validateDocsDetailed
20
- } from "./chunk-TAL5XRPC.js";
21
- import "./chunk-ALDS7N4Q.js";
22
- import "./chunk-45AKGRMZ.js";
20
+ } from "./chunk-N5W667O7.js";
21
+ import "./chunk-HWAQ2YEK.js";
22
+ import "./chunk-YXS34FS2.js";
23
23
  import {
24
24
  applyCommandHelp
25
25
  } from "./chunk-FNZJHYAX.js";
@@ -30,11 +30,11 @@ import {
30
30
  invalidInput,
31
31
  resolveGlobalOptions,
32
32
  successResult
33
- } from "./chunk-WTGIPAFR.js";
33
+ } from "./chunk-FNPG5423.js";
34
34
  import {
35
35
  CHECK_METADATA
36
- } from "./chunk-QLA74ZD6.js";
37
- import "./chunk-2NFN6VFP.js";
36
+ } from "./chunk-XBDKZGCA.js";
37
+ import "./chunk-OCDPAWTL.js";
38
38
 
39
39
  // src/commands/check.ts
40
40
  var MISSING_ANCHOR = "No element with this id on the target page";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  asCliError
3
- } from "./chunk-HBK4T5U5.js";
3
+ } from "./chunk-2XGQJ6O5.js";
4
4
  import {
5
5
  applyCommandHelp
6
6
  } from "./chunk-FNZJHYAX.js";
@@ -11,10 +11,10 @@ import {
11
11
  messageOf,
12
12
  resolveGlobalOptions,
13
13
  successResult
14
- } from "./chunk-WTGIPAFR.js";
14
+ } from "./chunk-FNPG5423.js";
15
15
  import {
16
16
  commandMetadata
17
- } from "./chunk-2NFN6VFP.js";
17
+ } from "./chunk-OCDPAWTL.js";
18
18
 
19
19
  // src/commands/nav.ts
20
20
  import { existsSync } from "fs";
@@ -47,7 +47,7 @@ async function readJson(path, label) {
47
47
  }
48
48
  }
49
49
  async function applyOutlineNavigation(docsDir, outlinePath) {
50
- const { parseOutline, navigationFromOutline } = await import("./dist-Q7BIZ2ZM.js");
50
+ const { parseOutline, navigationFromOutline } = await import("./dist-GONQDTBT.js");
51
51
  const docsPath = resolve(docsDir, "docs.json");
52
52
  if (!existsSync(docsPath)) throw invalidInput(`No docs.json found in ${docsDir}. Pass a docs directory.`);
53
53
  const config = await readJson(docsPath, "docs.json");
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  invalidInput
3
- } from "./chunk-WTGIPAFR.js";
3
+ } from "./chunk-FNPG5423.js";
4
4
 
5
5
  // src/adapter/input.ts
6
6
  import { readFile } from "fs/promises";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  interruptSignal
3
- } from "./chunk-GDBDMUT4.js";
3
+ } from "./chunk-YOXZMP5Z.js";
4
4
  import {
5
5
  CliError,
6
6
  interrupted,
7
7
  invalidInput
8
- } from "./chunk-WTGIPAFR.js";
8
+ } from "./chunk-FNPG5423.js";
9
9
  import {
10
10
  createClient,
11
11
  isManagementError,
12
12
  parseOrigin
13
- } from "./chunk-2NFN6VFP.js";
13
+ } from "./chunk-OCDPAWTL.js";
14
14
 
15
15
  // src/lib/credentials.ts
16
16
  import { execFile } from "child_process";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  SITES_CREATE_METADATA,
3
3
  registerSitesCreate
4
- } from "./chunk-CTNXOVXJ.js";
4
+ } from "./chunk-YFET6FIO.js";
5
5
  import {
6
6
  asCliError,
7
7
  clientFor
8
- } from "./chunk-HBK4T5U5.js";
8
+ } from "./chunk-2XGQJ6O5.js";
9
9
  import {
10
10
  applyCommandHelp
11
11
  } from "./chunk-FNZJHYAX.js";
@@ -15,7 +15,7 @@ import {
15
15
  invalidInput,
16
16
  resolveGlobalOptions,
17
17
  successResult
18
- } from "./chunk-WTGIPAFR.js";
18
+ } from "./chunk-FNPG5423.js";
19
19
  import {
20
20
  commandMetadata,
21
21
  grantFields,
@@ -23,7 +23,7 @@ import {
23
23
  listSites,
24
24
  readSiteDetail,
25
25
  resolveTarget
26
- } from "./chunk-2NFN6VFP.js";
26
+ } from "./chunk-OCDPAWTL.js";
27
27
 
28
28
  // src/commands/sites.ts
29
29
  var SITES_METADATA = Object.freeze([
@@ -6,34 +6,34 @@ async function preview(name) {
6
6
  };
7
7
  const provider = () => resolveRenderer({ reportLimitation: report, reportOffline: report, reportProgress: report });
8
8
  const cache = previewCacheDir();
9
- if (name === "check") return import("./check-QPS7MTQP.js").then((m) => (program) => m.registerCheck(program, provider, cache));
10
- if (name === "dev") return import("./dev-DTOZC26U.js").then((m) => (program) => m.registerDev(program, provider, cache));
11
- if (name === "build") return import("./build-A4TQWOOV.js").then((m) => (program) => m.registerBuild(program, provider, cache));
12
- return import("./broken-links-RL4CXACC.js").then((m) => (program) => m.registerBrokenLinks(program, provider, cache));
9
+ if (name === "check") return import("./check-YVUYIH3Y.js").then((m) => (program) => m.registerCheck(program, provider, cache));
10
+ if (name === "dev") return import("./dev-G24A7FEQ.js").then((m) => (program) => m.registerDev(program, provider, cache));
11
+ if (name === "build") return import("./build-SSRHSDDN.js").then((m) => (program) => m.registerBuild(program, provider, cache));
12
+ return import("./broken-links-E4GALBEW.js").then((m) => (program) => m.registerBrokenLinks(program, provider, cache));
13
13
  }
14
14
  var COMMAND_GROUPS = Object.freeze([
15
- { name: "manage", summary: "Call one management operation through the dashboard API", renderer: false, load: () => import("./manage-73GX3EOY.js").then((m) => m.registerManage), metadata: () => import("./manage-73GX3EOY.js").then((m) => m.MANAGE_METADATA) },
16
- { name: "requests", hidden: process.env.SATURNDOCS_BETA !== "1", summary: "Beta. Documentation requests and the conversations behind them", renderer: false, load: () => import("./requests-6GFLCAZH.js").then((m) => m.registerRequests), metadata: () => import("./requests-6GFLCAZH.js").then((m) => m.REQUESTS_METADATA) },
17
- { name: "suggestions", hidden: process.env.SATURNDOCS_BETA !== "1", summary: "Beta. Read a site's suggestions and diff the content they carry", renderer: false, load: () => import("./suggestions-PUSFPY4M.js").then((m) => m.registerSuggestions), metadata: () => import("./suggestions-PUSFPY4M.js").then((m) => m.SUGGESTIONS_METADATA) },
18
- { name: "schema", summary: "Print this CLI's own command metadata, locally", renderer: false, load: () => import("./schema-Y7ZZFE42.js").then((m) => m.registerSchema), metadata: () => import("./schema-Y7ZZFE42.js").then((m) => m.SCHEMA_METADATA) },
19
- { name: "login", summary: "Ask a person to approve this agent for one site, then save the login", renderer: false, load: () => import("./login-C6NODYYR.js").then((m) => m.registerLogin), metadata: () => import("./login-C6NODYYR.js").then((m) => m.LOGIN_METADATA) },
20
- { name: "logout", summary: "Revoke a saved login and delete it from this computer", renderer: false, load: () => import("./login-C6NODYYR.js").then((m) => m.registerLogout), metadata: () => import("./login-C6NODYYR.js").then((m) => m.LOGOUT_METADATA) },
21
- { name: "auth", summary: "Check the credential this CLI will use", renderer: false, load: () => import("./auth-ITFO2JZX.js").then((m) => m.registerAuth), metadata: () => import("./auth-ITFO2JZX.js").then((m) => m.AUTH_METADATA) },
22
- { name: "sites", summary: "Create a site, or discover and inspect the sites this credential reaches", renderer: false, load: () => import("./sites-UAZ2V62J.js").then((m) => m.registerSites), metadata: () => import("./sites-UAZ2V62J.js").then((m) => m.SITES_METADATA) },
23
- { name: "pages", summary: "Read the published pages of the release readers are seeing", renderer: false, load: () => import("./pages-RN3UBKKG.js").then((m) => m.registerPages), metadata: () => import("./pages-RN3UBKKG.js").then((m) => m.PAGES_METADATA) },
24
- { name: "releases", summary: "Read this site's release history, and make the pinned release live again", renderer: false, load: () => import("./read-BWDXUPIU.js").then((m) => m.registerReleases), metadata: () => import("./read-BWDXUPIU.js").then((m) => m.RELEASES_METADATA) },
25
- { name: "status", summary: "One bounded briefing on a site, section by section", renderer: false, load: () => import("./status-U4I2APGB.js").then((m) => m.registerStatus), metadata: () => import("./status-U4I2APGB.js").then((m) => m.STATUS_METADATA) },
26
- { name: "activity", summary: "Read what the platform did, and one job by id", renderer: false, load: () => import("./read-7KFJFSBV.js").then((m) => m.registerActivity), metadata: () => import("./read-7KFJFSBV.js").then((m) => m.ACTIVITY_METADATA) },
27
- { name: "check", summary: "Run every local check before a push: validate, lint, and rendered links; exits 2 when any finding is an error", renderer: true, load: () => preview("check"), metadata: () => import("./local-metadata-JSZPFCDP.js").then((m) => m.CHECK_METADATA) },
28
- { name: "validate", summary: "Validate docs.json, page files, assets, links, and OpenAPI specs; exits 2 on any error", renderer: true, load: () => import("./validate-Z4P4AGLW.js").then((m) => m.registerValidate), metadata: () => import("./local-metadata-JSZPFCDP.js").then((m) => m.VALIDATE_METADATA) },
29
- { name: "lint", summary: "Content lint and the known-pitfalls catalog over every page; exits 2 when any finding is an error", renderer: false, load: () => import("./lint-JB2T2XON.js").then((m) => m.registerLint), metadata: () => import("./lint-JB2T2XON.js").then((m) => m.LINT_METADATA) },
30
- { name: "broken-links", summary: "Build the docs and report every link and fragment that does not resolve", renderer: true, load: () => preview("broken-links"), metadata: () => import("./local-metadata-JSZPFCDP.js").then((m) => m.BROKEN_LINKS_METADATA) },
31
- { name: "build", summary: "Build the docs into a static site with the production renderer", renderer: true, load: () => preview("build"), metadata: () => import("./local-metadata-JSZPFCDP.js").then((m) => m.BUILD_METADATA) },
32
- { name: "dev", summary: "Preview the docs on this computer with the production renderer, rebuilding on each change", renderer: true, load: () => preview("dev"), metadata: () => import("./local-metadata-JSZPFCDP.js").then((m) => m.DEV_METADATA) },
33
- { name: "init", summary: "Scaffold a docs project", renderer: true, load: () => import("./init-5UAYTRNK.js").then((m) => m.registerInit), metadata: () => import("./local-metadata-JSZPFCDP.js").then((m) => m.INIT_METADATA) },
34
- { name: "openapi-check", summary: "Parse OpenAPI specs and print an operation table", renderer: true, load: () => import("./openapiCheck-V3HL4OLS.js").then((m) => m.registerOpenapiCheck), metadata: () => import("./local-metadata-JSZPFCDP.js").then((m) => m.OPENAPI_CHECK_METADATA) },
35
- { name: "nav", summary: "Rewrite docs.json navigation from an approved outline", renderer: false, load: () => import("./nav-CGOD74U6.js").then((m) => m.registerNav), metadata: () => import("./nav-CGOD74U6.js").then((m) => m.NAV_METADATA) },
36
- { name: "coverage", summary: "Check local pages against an approved outline", renderer: false, load: () => import("./coverage-J37TZFNH.js").then((m) => m.registerCoverage), metadata: () => import("./coverage-J37TZFNH.js").then((m) => m.COVERAGE_METADATA) }
15
+ { name: "manage", summary: "Call one management operation through the dashboard API", renderer: false, load: () => import("./manage-25YZ3NEO.js").then((m) => m.registerManage), metadata: () => import("./manage-25YZ3NEO.js").then((m) => m.MANAGE_METADATA) },
16
+ { name: "requests", hidden: process.env.SATURNDOCS_BETA !== "1", summary: "Beta. Documentation requests and the conversations behind them", renderer: false, load: () => import("./requests-326KNATQ.js").then((m) => m.registerRequests), metadata: () => import("./requests-326KNATQ.js").then((m) => m.REQUESTS_METADATA) },
17
+ { name: "suggestions", hidden: process.env.SATURNDOCS_BETA !== "1", summary: "Beta. Read a site's suggestions and diff the content they carry", renderer: false, load: () => import("./suggestions-4PE6SHVW.js").then((m) => m.registerSuggestions), metadata: () => import("./suggestions-4PE6SHVW.js").then((m) => m.SUGGESTIONS_METADATA) },
18
+ { name: "schema", summary: "Print this CLI's own command metadata, locally", renderer: false, load: () => import("./schema-IGC5XO4E.js").then((m) => m.registerSchema), metadata: () => import("./schema-IGC5XO4E.js").then((m) => m.SCHEMA_METADATA) },
19
+ { name: "login", summary: "Ask a person to approve this agent for one site, then save the login", renderer: false, load: () => import("./login-ZE257BGZ.js").then((m) => m.registerLogin), metadata: () => import("./login-ZE257BGZ.js").then((m) => m.LOGIN_METADATA) },
20
+ { name: "logout", summary: "Revoke a saved login and delete it from this computer", renderer: false, load: () => import("./login-ZE257BGZ.js").then((m) => m.registerLogout), metadata: () => import("./login-ZE257BGZ.js").then((m) => m.LOGOUT_METADATA) },
21
+ { name: "auth", summary: "Check the credential this CLI will use", renderer: false, load: () => import("./auth-76SYM7IA.js").then((m) => m.registerAuth), metadata: () => import("./auth-76SYM7IA.js").then((m) => m.AUTH_METADATA) },
22
+ { name: "sites", summary: "Create a site, or discover and inspect the sites this credential reaches", renderer: false, load: () => import("./sites-ECFP6IMI.js").then((m) => m.registerSites), metadata: () => import("./sites-ECFP6IMI.js").then((m) => m.SITES_METADATA) },
23
+ { name: "pages", summary: "Read the published pages of the release readers are seeing", renderer: false, load: () => import("./pages-ZUAODNC6.js").then((m) => m.registerPages), metadata: () => import("./pages-ZUAODNC6.js").then((m) => m.PAGES_METADATA) },
24
+ { name: "releases", summary: "Read this site's release history, and make the pinned release live again", renderer: false, load: () => import("./read-KXU34B5I.js").then((m) => m.registerReleases), metadata: () => import("./read-KXU34B5I.js").then((m) => m.RELEASES_METADATA) },
25
+ { name: "status", summary: "One bounded briefing on a site, section by section", renderer: false, load: () => import("./status-3UNBNX4X.js").then((m) => m.registerStatus), metadata: () => import("./status-3UNBNX4X.js").then((m) => m.STATUS_METADATA) },
26
+ { name: "activity", summary: "Read what the platform did, and one job by id", renderer: false, load: () => import("./read-NA76WCIK.js").then((m) => m.registerActivity), metadata: () => import("./read-NA76WCIK.js").then((m) => m.ACTIVITY_METADATA) },
27
+ { name: "check", summary: "Run every local check before a push: validate, lint, and rendered links; exits 2 when any finding is an error", renderer: true, load: () => preview("check"), metadata: () => import("./local-metadata-5KLCOASW.js").then((m) => m.CHECK_METADATA) },
28
+ { name: "validate", summary: "Validate docs.json, page files, assets, links, and OpenAPI specs; exits 2 on any error", renderer: true, load: () => import("./validate-PMTH2ICX.js").then((m) => m.registerValidate), metadata: () => import("./local-metadata-5KLCOASW.js").then((m) => m.VALIDATE_METADATA) },
29
+ { name: "lint", summary: "Content lint and the known-pitfalls catalog over every page; exits 2 when any finding is an error", renderer: false, load: () => import("./lint-XQQEHOHB.js").then((m) => m.registerLint), metadata: () => import("./lint-XQQEHOHB.js").then((m) => m.LINT_METADATA) },
30
+ { name: "broken-links", summary: "Build the docs and report every link and fragment that does not resolve", renderer: true, load: () => preview("broken-links"), metadata: () => import("./local-metadata-5KLCOASW.js").then((m) => m.BROKEN_LINKS_METADATA) },
31
+ { name: "build", summary: "Build the docs into a static site with the production renderer", renderer: true, load: () => preview("build"), metadata: () => import("./local-metadata-5KLCOASW.js").then((m) => m.BUILD_METADATA) },
32
+ { name: "dev", summary: "Preview the docs on this computer with the production renderer, rebuilding on each change", renderer: true, load: () => preview("dev"), metadata: () => import("./local-metadata-5KLCOASW.js").then((m) => m.DEV_METADATA) },
33
+ { name: "init", summary: "Scaffold a docs project", renderer: true, load: () => import("./init-O4R3LDNE.js").then((m) => m.registerInit), metadata: () => import("./local-metadata-5KLCOASW.js").then((m) => m.INIT_METADATA) },
34
+ { name: "openapi-check", summary: "Parse OpenAPI specs and print an operation table", renderer: true, load: () => import("./openapiCheck-HLWOQZKQ.js").then((m) => m.registerOpenapiCheck), metadata: () => import("./local-metadata-5KLCOASW.js").then((m) => m.OPENAPI_CHECK_METADATA) },
35
+ { name: "nav", summary: "Rewrite docs.json navigation from an approved outline", renderer: false, load: () => import("./nav-35UUYP45.js").then((m) => m.registerNav), metadata: () => import("./nav-35UUYP45.js").then((m) => m.NAV_METADATA) },
36
+ { name: "coverage", summary: "Check local pages against an approved outline", renderer: false, load: () => import("./coverage-XQU3PEAH.js").then((m) => m.registerCoverage), metadata: () => import("./coverage-XQU3PEAH.js").then((m) => m.COVERAGE_METADATA) }
37
37
  ]);
38
38
  var COMMAND_GROUP_NAMES = Object.freeze(COMMAND_GROUPS.map((group) => group.name));
39
39
  var LISTED_COMMAND_GROUPS = Object.freeze(COMMAND_GROUPS.filter((group) => group.hidden !== true));
@@ -2,7 +2,7 @@ import {
2
2
  collectOutsideRootFiles,
3
3
  configLocator,
4
4
  validateDocsDetailed
5
- } from "./chunk-TAL5XRPC.js";
5
+ } from "./chunk-N5W667O7.js";
6
6
  import {
7
7
  SOURCE_ALLOWED_ROOTS,
8
8
  SOURCE_LIMITS,
@@ -12,13 +12,13 @@ import {
12
12
  frontmatterPolicy,
13
13
  normalizeComponentMarkdown,
14
14
  validateBundleStructure
15
- } from "./chunk-ALDS7N4Q.js";
15
+ } from "./chunk-HWAQ2YEK.js";
16
16
  import {
17
17
  parseDocsConfig
18
- } from "./chunk-45AKGRMZ.js";
18
+ } from "./chunk-YXS34FS2.js";
19
19
  import {
20
20
  invalidInput
21
- } from "./chunk-WTGIPAFR.js";
21
+ } from "./chunk-FNPG5423.js";
22
22
 
23
23
  // src/lib/preview/components.ts
24
24
  import { spawn } from "child_process";
@@ -7,7 +7,7 @@ import {
7
7
  loginAgainRecovery,
8
8
  loginEnvironment,
9
9
  resolveSavedLogin
10
- } from "./chunk-HBK4T5U5.js";
10
+ } from "./chunk-2XGQJ6O5.js";
11
11
  import {
12
12
  applyCommandHelp
13
13
  } from "./chunk-FNZJHYAX.js";
@@ -18,12 +18,12 @@ import {
18
18
  invalidInput,
19
19
  resolveGlobalOptions,
20
20
  successResult
21
- } from "./chunk-WTGIPAFR.js";
21
+ } from "./chunk-FNPG5423.js";
22
22
  import {
23
23
  commandMetadata,
24
24
  listSites,
25
25
  parseOrigin
26
- } from "./chunk-2NFN6VFP.js";
26
+ } from "./chunk-OCDPAWTL.js";
27
27
 
28
28
  // src/commands/auth.ts
29
29
  var AUTH_METADATA = Object.freeze([
@@ -2,7 +2,7 @@ import {
2
2
  CLIENT_ERROR_CATEGORIES,
3
3
  CLIENT_SCHEMA_VERSION,
4
4
  exitForResult
5
- } from "./chunk-2NFN6VFP.js";
5
+ } from "./chunk-OCDPAWTL.js";
6
6
 
7
7
  // src/adapter/globals.ts
8
8
  import { InvalidArgumentError } from "commander";
@@ -10,10 +10,10 @@ import {
10
10
  invalidInput,
11
11
  resolveGlobalOptions,
12
12
  successResult
13
- } from "./chunk-WTGIPAFR.js";
13
+ } from "./chunk-FNPG5423.js";
14
14
  import {
15
15
  commandMetadata
16
- } from "./chunk-2NFN6VFP.js";
16
+ } from "./chunk-OCDPAWTL.js";
17
17
 
18
18
  // src/commands/lint.ts
19
19
  import { existsSync } from "fs";
@@ -43,7 +43,7 @@ async function componentPaths(docsDir) {
43
43
  }
44
44
  }
45
45
  async function lintDocsDir(docsDir) {
46
- const { lintContent, checkPitfalls, customerComponentRegistry, validatePageBytes, violationGuidance, INCONSISTENT_VALUE_LIST, SELF_CONTRADICTING_COUNT } = await import("./dist-Q7BIZ2ZM.js");
46
+ const { lintContent, checkPitfalls, customerComponentRegistry, validatePageBytes, violationGuidance, INCONSISTENT_VALUE_LIST, SELF_CONTRADICTING_COUNT } = await import("./dist-GONQDTBT.js");
47
47
  const advisory = /* @__PURE__ */ new Set([SELF_CONTRADICTING_COUNT, INCONSISTENT_VALUE_LIST]);
48
48
  const pages = await readPageFiles(docsDir);
49
49
  const components = customerComponentRegistry(await componentPaths(docsDir), []);
@@ -13,7 +13,7 @@ import {
13
13
  resolveRootRedirectDestination,
14
14
  themeCssProblems,
15
15
  ungatedOpenApiSpecPaths
16
- } from "./chunk-45AKGRMZ.js";
16
+ } from "./chunk-YXS34FS2.js";
17
17
 
18
18
  // ../source-abi/dist/chunk-CLI5BSWF.js
19
19
  var encoder = new TextEncoder();
@@ -2056,17 +2056,18 @@ This directory is the source of a SaturnDocs site. SaturnDocs builds and publish
2056
2056
  - \`openapi/\`: OpenAPI specifications.
2057
2057
  - \`skills/<name>/SKILL.md\`: agent skills that the site publishes.
2058
2058
 
2059
- This file and \`CLAUDE.md\` are instructions for agents: SaturnDocs accepts them and never publishes them. Other files in this directory can stop the publish; \`validate\` reports them.
2059
+ This file and \`CLAUDE.md\` are instructions for agents: SaturnDocs accepts them and never publishes them. Other files in this directory can stop the publish; \`check\` reports them.
2060
2060
 
2061
2061
  ## Before every commit
2062
2062
 
2063
- Run both checks from this directory and fix every error they report. Each error names a file, a line, a rule, and a fix.
2063
+ Run the check from this directory and fix every error it reports. Each finding names a file, a line where one exists, a rule, and a fix.
2064
2064
 
2065
2065
  \`\`\`sh
2066
- npx saturndocs validate . --json
2067
- npx saturndocs lint . --json
2066
+ npx saturndocs check . --json
2068
2067
  \`\`\`
2069
2068
 
2069
+ An error fails the publish or shows readers a broken page. A warning is a heuristic: compare it with the page, correct the page if the warning is right, and leave a correct page as it is.
2070
+
2070
2071
  ## Operate the site
2071
2072
 
2072
2073
  To log in, prove that a change is live, ask SaturnDocs for changes, review suggestions, or roll back, follow the operate-saturndocs skill:
@@ -13,7 +13,7 @@ import {
13
13
  validateBundleStructure,
14
14
  validatePageBytes,
15
15
  violationGuidance
16
- } from "./chunk-ALDS7N4Q.js";
16
+ } from "./chunk-HWAQ2YEK.js";
17
17
  import {
18
18
  MAX_REDIRECT_CHAIN,
19
19
  assetPathname,
@@ -23,7 +23,7 @@ import {
23
23
  navigationGroups,
24
24
  navigationIconRefs,
25
25
  parseOpenApiFile
26
- } from "./chunk-45AKGRMZ.js";
26
+ } from "./chunk-YXS34FS2.js";
27
27
 
28
28
  // src/lib/pages.ts
29
29
  import { existsSync } from "fs";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  asCliError,
3
3
  clientFor
4
- } from "./chunk-HBK4T5U5.js";
4
+ } from "./chunk-2XGQJ6O5.js";
5
5
  import {
6
6
  applyCommandHelp
7
7
  } from "./chunk-FNZJHYAX.js";
@@ -12,7 +12,7 @@ import {
12
12
  invalidInput,
13
13
  resolveGlobalOptions,
14
14
  successResult
15
- } from "./chunk-WTGIPAFR.js";
15
+ } from "./chunk-FNPG5423.js";
16
16
  import {
17
17
  commandMetadata,
18
18
  readSiteStatus,
@@ -22,7 +22,7 @@ import {
22
22
  statusLimitations,
23
23
  statusRecovery,
24
24
  statusSections
25
- } from "./chunk-2NFN6VFP.js";
25
+ } from "./chunk-OCDPAWTL.js";
26
26
 
27
27
  // src/commands/status.ts
28
28
  var STATUS_METADATA = Object.freeze([
@@ -292,6 +292,20 @@ var MIGRATION_SOURCES = ["website", "repository"];
292
292
  var MAX_MIGRATION_URL_CHARS = 2048;
293
293
  var MAX_MIGRATION_NOTE_CHARS = 2e3;
294
294
  var MigrationRequestSummary = z2.object({ source: z2.enum(MIGRATION_SOURCES), source_url: z2.string(), created_at: isoString });
295
+ var SiteHandover = z2.object({
296
+ state: z2.enum(["active", "completed", "canceled"]),
297
+ repository: z2.string(),
298
+ branch: z2.string(),
299
+ docs_root: z2.string(),
300
+ pull_request_url: nullableString,
301
+ domain: nullableString,
302
+ previous_host: nullableString,
303
+ contact: nullableString,
304
+ created_at: isoString,
305
+ customer_release_live: z2.boolean(),
306
+ build_state: nullableString,
307
+ dns_provider: z2.enum(["cloudflare", "generic", "unknown"])
308
+ });
295
309
  var PortalSite = z2.object({
296
310
  site_id: z2.string(),
297
311
  role: OwnerRole.optional(),
@@ -309,6 +323,7 @@ var PortalSite = z2.object({
309
323
  installations: z2.array(Installation).optional(),
310
324
  slack: SlackConnection.nullable().optional(),
311
325
  usage: PortalUsage.optional(),
326
+ handover: SiteHandover.nullable().optional(),
312
327
  migration_request: MigrationRequestSummary.nullable().optional()
313
328
  });
314
329
  var SiteSummary = z2.object({
@@ -1071,9 +1086,10 @@ var DocsRepoSourceBlocked = z2.object({
1071
1086
  });
1072
1087
  var DocsCounts = z2.object({ pages: z2.number().int(), assets: z2.number().int(), unconverted: z2.number().int(), total: z2.number().int() });
1073
1088
  var DocsPlatform = z2.enum(["mintlify", "docusaurus", "mkdocs", "docsify", "mdbook", "sphinx", "gitbook", "jekyll", "antora"]).nullable();
1089
+ var inspectedPullRequest = z2.object({ merged: z2.boolean(), base: z2.string() }).optional();
1074
1090
  var DocsInspection = z2.discriminatedUnion("verdict", [
1075
- z2.object({ verdict: z2.enum(["saturndocs", "incompatible", "empty"]), platform: DocsPlatform, counts: DocsCounts, structure_violations: z2.number().int(), site_folder: z2.string().optional() }),
1076
- z2.object({ verdict: z2.literal("unknown"), reason: z2.enum(["token_refused", "branch_missing", "tree_truncated", "github_error"]) })
1091
+ z2.object({ verdict: z2.enum(["saturndocs", "incompatible", "empty"]), platform: DocsPlatform, counts: DocsCounts, structure_violations: z2.number().int(), first_structure_error: z2.string().optional(), pull_request: inspectedPullRequest, site_folder: z2.string().optional() }),
1092
+ z2.object({ verdict: z2.literal("unknown"), pull_request: inspectedPullRequest, reason: z2.enum(["token_refused", "branch_missing", "tree_truncated", "github_error"]) })
1077
1093
  ]);
1078
1094
  var ProductConnectionsResponse = z2.object({ site_id: z2.string().optional(), product_connections: z2.array(ProductConnectionRules) });
1079
1095
  var ProductConnectionCreateBody = z2.object({
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  requestedSite
3
- } from "./chunk-YVF5SRRV.js";
3
+ } from "./chunk-3XZBGNY4.js";
4
4
  import {
5
5
  asCliError,
6
6
  clientFor
7
- } from "./chunk-HBK4T5U5.js";
7
+ } from "./chunk-2XGQJ6O5.js";
8
8
  import {
9
9
  applyCommandHelp
10
10
  } from "./chunk-FNZJHYAX.js";
@@ -13,7 +13,7 @@ import {
13
13
  failureResult,
14
14
  resolveGlobalOptions,
15
15
  successResult
16
- } from "./chunk-WTGIPAFR.js";
16
+ } from "./chunk-FNPG5423.js";
17
17
  import {
18
18
  PAGE_TRAFFIC_WINDOWS,
19
19
  commandMetadata,
@@ -22,7 +22,7 @@ import {
22
22
  listPages,
23
23
  pagesUnavailable,
24
24
  resolveTarget
25
- } from "./chunk-2NFN6VFP.js";
25
+ } from "./chunk-OCDPAWTL.js";
26
26
 
27
27
  // src/commands/pages.ts
28
28
  import { InvalidArgumentError } from "commander";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  invalidInput
3
- } from "./chunk-WTGIPAFR.js";
3
+ } from "./chunk-FNPG5423.js";
4
4
 
5
5
  // src/commands/common.ts
6
6
  import { existsSync } from "fs";
@@ -5,19 +5,19 @@ import {
5
5
  import {
6
6
  releaseRoute,
7
7
  siteRoutes
8
- } from "./chunk-GSZ7EXCV.js";
8
+ } from "./chunk-YP6IRZZV.js";
9
9
  import {
10
10
  buildGeneration
11
- } from "./chunk-23HQUZXQ.js";
11
+ } from "./chunk-74RXKLCM.js";
12
12
  import {
13
13
  configLocator
14
- } from "./chunk-TAL5XRPC.js";
14
+ } from "./chunk-N5W667O7.js";
15
15
  import {
16
16
  pageReferences
17
- } from "./chunk-ALDS7N4Q.js";
17
+ } from "./chunk-HWAQ2YEK.js";
18
18
  import {
19
19
  isRedirectPattern
20
- } from "./chunk-45AKGRMZ.js";
20
+ } from "./chunk-YXS34FS2.js";
21
21
 
22
22
  // src/lib/preview/check-links.ts
23
23
  import { mkdtempSync, readFileSync, readdirSync, realpathSync, rmSync } from "fs";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AGENT_INSTRUCTIONS,
3
3
  validateBundleSemantics
4
- } from "./chunk-ALDS7N4Q.js";
4
+ } from "./chunk-HWAQ2YEK.js";
5
5
  import {
6
6
  loadDocsConfig
7
- } from "./chunk-45AKGRMZ.js";
7
+ } from "./chunk-YXS34FS2.js";
8
8
  import {
9
9
  applyCommandHelp
10
10
  } from "./chunk-FNZJHYAX.js";
@@ -14,10 +14,10 @@ import {
14
14
  invalidInput,
15
15
  resolveGlobalOptions,
16
16
  successResult
17
- } from "./chunk-WTGIPAFR.js";
17
+ } from "./chunk-FNPG5423.js";
18
18
  import {
19
19
  INIT_METADATA
20
- } from "./chunk-QLA74ZD6.js";
20
+ } from "./chunk-XBDKZGCA.js";
21
21
 
22
22
  // src/commands/init.ts
23
23
  import { existsSync } from "fs";
@@ -3,7 +3,7 @@ import {
3
3
  environmentToken,
4
4
  loginEnvironment,
5
5
  resolveSavedLogin
6
- } from "./chunk-HBK4T5U5.js";
6
+ } from "./chunk-2XGQJ6O5.js";
7
7
  import {
8
8
  applyCommandHelp
9
9
  } from "./chunk-FNZJHYAX.js";
@@ -14,7 +14,7 @@ import {
14
14
  invalidInput,
15
15
  resolveGlobalOptions,
16
16
  successResult
17
- } from "./chunk-WTGIPAFR.js";
17
+ } from "./chunk-FNPG5423.js";
18
18
  import {
19
19
  commandMetadata,
20
20
  createClient,
@@ -23,7 +23,7 @@ import {
23
23
  requireCommitSha,
24
24
  requiresManagementReceipt,
25
25
  resolveTarget
26
- } from "./chunk-2NFN6VFP.js";
26
+ } from "./chunk-OCDPAWTL.js";
27
27
 
28
28
  // src/commands/manage.ts
29
29
  import { readFile } from "fs/promises";