@ascentstudio/cue-docs 0.0.3 → 0.0.5
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/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +2 -2
- package/.next/prerender-manifest.json +10 -10
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +1 -1
- package/.next/server/app/docs/[[...slug]]/page.js +1 -1
- package/.next/server/app/docs/adr/0001-restricted-process-function.html +2 -2
- package/.next/server/app/docs/adr/0001-restricted-process-function.rsc +1 -1
- package/.next/server/app/docs/adr/0002-entity-key.html +2 -2
- package/.next/server/app/docs/adr/0002-entity-key.rsc +1 -1
- package/.next/server/app/docs/adr/0003-metrics-apart-from-the-run.html +2 -2
- package/.next/server/app/docs/adr/0003-metrics-apart-from-the-run.rsc +1 -1
- package/.next/server/app/docs/adr/0004-one-row-per-entity.html +2 -2
- package/.next/server/app/docs/adr/0004-one-row-per-entity.rsc +1 -1
- package/.next/server/app/docs/adr/0005-orchestrator-applies-results.html +2 -2
- package/.next/server/app/docs/adr/0005-orchestrator-applies-results.rsc +1 -1
- package/.next/server/app/docs/adr/0006-one-identity-one-entity.html +2 -2
- package/.next/server/app/docs/adr/0006-one-identity-one-entity.rsc +1 -1
- package/.next/server/app/docs/adr/0007-historized-flow-runs.html +2 -2
- package/.next/server/app/docs/adr/0007-historized-flow-runs.rsc +1 -1
- package/.next/server/app/docs/adr/0008-guard-and-each.html +2 -2
- package/.next/server/app/docs/adr/0008-guard-and-each.rsc +1 -1
- package/.next/server/app/docs/adr/0009-transient-files.html +2 -2
- package/.next/server/app/docs/adr/0009-transient-files.rsc +1 -1
- package/.next/server/app/docs/adr/0010-entity-values-copied-onto-the-run.html +2 -2
- package/.next/server/app/docs/adr/0010-entity-values-copied-onto-the-run.rsc +1 -1
- package/.next/server/app/docs/adr/0011-a-diverged-reread-ends-the-run.html +2 -2
- package/.next/server/app/docs/adr/0011-a-diverged-reread-ends-the-run.rsc +1 -1
- package/.next/server/app/docs/adr/0012-a-step-name-once-per-run.html +2 -2
- package/.next/server/app/docs/adr/0012-a-step-name-once-per-run.rsc +1 -1
- package/.next/server/app/docs/adr/0013-a-run-does-not-wait-on-its-ancestor.html +2 -2
- package/.next/server/app/docs/adr/0013-a-run-does-not-wait-on-its-ancestor.rsc +1 -1
- package/.next/server/app/docs/adr/0014-a-shared-child-is-claimed-before-its-run.html +2 -2
- package/.next/server/app/docs/adr/0014-a-shared-child-is-claimed-before-its-run.rsc +1 -1
- package/.next/server/app/docs/adr/0015-jobs-and-metrics-leave-with-the-run.html +2 -2
- package/.next/server/app/docs/adr/0015-jobs-and-metrics-leave-with-the-run.rsc +1 -1
- package/.next/server/app/docs/adr/0016-one-writer-per-organization.html +2 -2
- package/.next/server/app/docs/adr/0016-one-writer-per-organization.rsc +1 -1
- package/.next/server/app/docs/adr/0017-group-judgment.html +2 -2
- package/.next/server/app/docs/adr/0017-group-judgment.rsc +1 -1
- package/.next/server/app/docs/adr/0018-replay-copies-files.html +2 -2
- package/.next/server/app/docs/adr/0018-replay-copies-files.rsc +1 -1
- package/.next/server/app/docs/adr/0019-typed-body.html +2 -2
- package/.next/server/app/docs/adr/0019-typed-body.rsc +1 -1
- package/.next/server/app/docs/adr/0020-rule-on-each-opening.html +2 -2
- package/.next/server/app/docs/adr/0020-rule-on-each-opening.rsc +1 -1
- package/.next/server/app/docs/adr/0021-optional-children.html +2 -2
- package/.next/server/app/docs/adr/0021-optional-children.rsc +1 -1
- package/.next/server/app/docs/adr/0022-optional-quota.html +2 -2
- package/.next/server/app/docs/adr/0022-optional-quota.rsc +1 -1
- package/.next/server/app/docs/adr/0023-sealed-report-returns.html +2 -2
- package/.next/server/app/docs/adr/0023-sealed-report-returns.rsc +1 -1
- package/.next/server/app/docs/adr/0024-one-silence-per-opening.html +2 -2
- package/.next/server/app/docs/adr/0024-one-silence-per-opening.rsc +1 -1
- package/.next/server/app/docs/adr/0025-environment-variables.html +2 -2
- package/.next/server/app/docs/adr/0025-environment-variables.rsc +1 -1
- package/.next/server/app/docs/adr/0026-runtime-revision-excludes-platform-and-device.html +2 -2
- package/.next/server/app/docs/adr/0026-runtime-revision-excludes-platform-and-device.rsc +1 -1
- package/.next/server/app/docs/adr/0027-one-router-consumes-a-slot.html +2 -2
- package/.next/server/app/docs/adr/0027-one-router-consumes-a-slot.rsc +1 -1
- package/.next/server/app/docs/adr/0028-caddy-desktop-placement.html +2 -2
- package/.next/server/app/docs/adr/0028-caddy-desktop-placement.rsc +1 -1
- package/.next/server/app/docs/adr/0029-registry-client-or-login.html +2 -2
- package/.next/server/app/docs/adr/0029-registry-client-or-login.rsc +1 -1
- package/.next/server/app/docs/adr/0030-organization-code-outside-the-repository.html +2 -2
- package/.next/server/app/docs/adr/0030-organization-code-outside-the-repository.rsc +1 -1
- package/.next/server/app/docs/adr/0031-environment-reload.html +2 -2
- package/.next/server/app/docs/adr/0031-environment-reload.rsc +1 -1
- package/.next/server/app/docs/adr/0032-an-orchestrator-fault-stops-the-run.html +2 -2
- package/.next/server/app/docs/adr/0032-an-orchestrator-fault-stops-the-run.rsc +1 -1
- package/.next/server/app/docs/adr/0033-one-rule-for-children.html +2 -2
- package/.next/server/app/docs/adr/0033-one-rule-for-children.rsc +1 -1
- package/.next/server/app/docs/agents/domain.html +2 -2
- package/.next/server/app/docs/agents/domain.rsc +1 -1
- package/.next/server/app/docs/engine.html +2 -2
- package/.next/server/app/docs/engine.rsc +1 -1
- package/.next/server/app/docs/fixture.html +2 -2
- package/.next/server/app/docs/fixture.rsc +1 -1
- package/.next/server/app/docs/install.html +10 -10
- package/.next/server/app/docs/install.rsc +9 -9
- package/.next/server/app/docs/server.html +19 -10
- package/.next/server/app/docs/server.rsc +48 -39
- package/.next/server/app/docs/usage/actions.html +2 -2
- package/.next/server/app/docs/usage/actions.rsc +1 -1
- package/.next/server/app/docs/usage/drivers.html +2 -2
- package/.next/server/app/docs/usage/drivers.rsc +1 -1
- package/.next/server/app/docs/usage/flow.html +2 -2
- package/.next/server/app/docs/usage/flow.rsc +1 -1
- package/.next/server/app/docs/usage/kinds.html +2 -2
- package/.next/server/app/docs/usage/kinds.rsc +1 -1
- package/.next/server/app/docs.html +2 -2
- package/.next/server/app/docs.rsc +1 -1
- package/.next/server/app/index.html +1 -1
- package/.next/server/app/index.rsc +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/trace +15 -15
- package/package.json +1 -1
- /package/.next/static/{vLf54Ysug2fKPy6N01-oV → De1P3ZUMhERQ6TwOXYlnp}/_buildManifest.js +0 -0
- /package/.next/static/{vLf54Ysug2fKPy6N01-oV → De1P3ZUMhERQ6TwOXYlnp}/_ssgManifest.js +0 -0
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
5:I[72,["582","static/chunks/582-a2bbe93ce1d4f2d2.js","841","static/chunks/841-d77ed67838a2d05f.js","431","static/chunks/431-9190bbb8a69a0c11.js","763","static/chunks/763-929f6742d84aa5b0.js","499","static/chunks/app/docs/layout-c6dbee584f1de72b.js"],"TreeContextProvider"]
|
|
6
6
|
a:I[8083,[],""]
|
|
7
7
|
:HL["/_next/static/css/4126bc63349478de.css","style"]
|
|
8
|
-
0:{"P":null,"b":"vLf54Ysug2fKPy6N01-oV","p":"","c":["","docs","server"],"i":false,"f":[[["",{"children":["docs",{"children":[["slug","server","oc"],{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/4126bc63349478de.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"children":["$","$L2",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]]}],{"children":["docs",["$","$1","c",{"children":[null,["$","$L5",null,{"tree":{"$id":"root","name":"Orchestrator","children":[{"$id":"index.mdx","type":"page","name":"Orchestrator","description":"$undefined","icon":"$undefined","url":"/docs","$ref":{"file":"index.mdx"}},{"$id":"server.mdx","type":"page","name":"Server","description":"$undefined","icon":"$undefined","url":"/docs/server","$ref":{"file":"server.mdx"}},{"$id":"engine.mdx","type":"page","name":"Engine","description":"$undefined","icon":"$undefined","url":"/docs/engine","$ref":{"file":"engine.mdx"}},{"$id":"fixture.mdx","type":"page","name":"Fixture","description":"$undefined","icon":"$undefined","url":"/docs/fixture","$ref":{"file":"fixture.mdx"}},{"type":"folder","name":"Usage","icon":"$undefined","root":"$undefined","defaultOpen":"$undefined","description":"$undefined","index":"$undefined","children":[{"$id":"usage/flow.mdx","type":"page","name":"Flow","description":"$undefined","icon":"$undefined","url":"/docs/usage/flow","$ref":{"file":"usage/flow.mdx"}},{"$id":"usage/actions.mdx","type":"page","name":"Actions","description":"$undefined","icon":"$undefined","url":"/docs/usage/actions","$ref":{"file":"usage/actions.mdx"}},{"$id":"usage/drivers.mdx","type":"page","name":"Drivers","description":"$undefined","icon":"$undefined","url":"/docs/usage/drivers","$ref":{"file":"usage/drivers.mdx"}}],"$id":"usage","$ref":{"metaFile":"usage/meta.json"}},{"type":"folder","name":"Decisions","icon":"$undefined","root":"$undefined","defaultOpen":"$undefined","description":"$undefined","index":"$undefined","children":[{"$id":"adr/0001-restricted-process-function.md","type":"page","name":"The flow is restricted TypeScript, reread from the start","description":"$undefined","icon":"$undefined","url":"/docs/adr/0001-restricted-process-function","$ref":{"file":"adr/0001-restricted-process-function.md"}},{"$id":"adr/0002-entity-key.md","type":"page","name":"An entity is an organization, a flow, and an identity","description":"$undefined","icon":"$undefined","url":"/docs/adr/0002-entity-key","$ref":{"file":"adr/0002-entity-key.md"}},{"$id":"adr/0003-metrics-apart-from-the-run.md","type":"page","name":"A metric is apart from the run","description":"$undefined","icon":"$undefined","url":"/docs/adr/0003-metrics-apart-from-the-run","$ref":{"file":"adr/0003-metrics-apart-from-the-run.md"}},{"$id":"adr/0004-one-row-per-entity.md","type":"page","name":"One row per entity","description":"$undefined","icon":"$undefined","url":"/docs/adr/0004-one-row-per-entity","$ref":{"file":"adr/0004-one-row-per-entity.md"}}],"$id":"adr","$ref":{"metaFile":"adr/meta.json"}}],"fallback":{"$id":"fallback-root-root","name":"Docs","children":[{"$id":"install.md","type":"page","name":"Install","description":"$undefined","icon":"$undefined","url":"/docs/install","$ref":{"file":"install.md"}},{"type":"folder","name":"Adr","icon":"$undefined","root":"$undefined","defaultOpen":"$undefined","description":"$undefined","index":"$undefined","children":[{"$id":"adr/0005-orchestrator-applies-results.md","type":"page","name":"The orchestrator applies results","description":"$undefined","icon":"$undefined","url":"/docs/adr/0005-orchestrator-applies-results","$ref":{"file":"adr/0005-orchestrator-applies-results.md"}},{"$id":"adr/0006-one-identity-one-entity.md","type":"page","name":"One identity is one entity","description":"$undefined","icon":"$undefined","url":"/docs/adr/0006-one-identity-one-entity","$ref":{"file":"adr/0006-one-identity-one-entity.md"}},{"$id":"adr/0007-historized-flow-runs.md","type":"page","name":"A flow run is kept, then only its metric remains","description":"$undefined","icon":"$undefined","url":"/docs/adr/0007-historized-flow-runs","$ref":{"file":"adr/0007-historized-flow-runs.md"}},{"$id":"adr/0008-guard-and-each.md","type":"page","name":"A flow may guard a result and repeat over elements","description":"$undefined","icon":"$undefined","url":"/docs/adr/0008-guard-and-each","$ref":{"file":"adr/0008-guard-and-each.md"}},{"$id":"adr/0009-transient-files.md","type":"page","name":"A transient file lives with the flow run","description":"$undefined","icon":"$undefined","url":"/docs/adr/0009-transient-files","$ref":{"file":"adr/0009-transient-files.md"}},{"$id":"adr/0010-entity-values-copied-onto-the-run.md","type":"page","name":"Entity values are copied onto the run","description":"$undefined","icon":"$undefined","url":"/docs/adr/0010-entity-values-copied-onto-the-run","$ref":{"file":"adr/0010-entity-values-copied-onto-the-run.md"}},{"$id":"adr/0011-a-diverged-reread-ends-the-run.md","type":"page","name":"A diverged reread ends the run","description":"$undefined","icon":"$undefined","url":"/docs/adr/0011-a-diverged-reread-ends-the-run","$ref":{"file":"adr/0011-a-diverged-reread-ends-the-run.md"}},{"$id":"adr/0012-a-step-name-once-per-run.md","type":"page","name":"A step name is opened once per run","description":"$undefined","icon":"$undefined","url":"/docs/adr/0012-a-step-name-once-per-run","$ref":{"file":"adr/0012-a-step-name-once-per-run.md"}},{"$id":"adr/0013-a-run-does-not-wait-on-its-ancestor.md","type":"page","name":"A run does not wait on its ancestor","description":"$undefined","icon":"$undefined","url":"/docs/adr/0013-a-run-does-not-wait-on-its-ancestor","$ref":{"file":"adr/0013-a-run-does-not-wait-on-its-ancestor.md"}},{"$id":"adr/0014-a-shared-child-is-claimed-before-its-run.md","type":"page","name":"A shared child is claimed before its run","description":"$undefined","icon":"$undefined","url":"/docs/adr/0014-a-shared-child-is-claimed-before-its-run","$ref":{"file":"adr/0014-a-shared-child-is-claimed-before-its-run.md"}},{"$id":"adr/0015-jobs-and-metrics-leave-with-the-run.md","type":"page","name":"Jobs and metrics leave with the run","description":"$undefined","icon":"$undefined","url":"/docs/adr/0015-jobs-and-metrics-leave-with-the-run","$ref":{"file":"adr/0015-jobs-and-metrics-leave-with-the-run.md"}},{"$id":"adr/0016-one-writer-per-organization.md","type":"page","name":"One writer per organization","description":"$undefined","icon":"$undefined","url":"/docs/adr/0016-one-writer-per-organization","$ref":{"file":"adr/0016-one-writer-per-organization.md"}},{"$id":"adr/0017-group-judgment.md","type":"page","name":"A group judges its required members","description":"$undefined","icon":"$undefined","url":"/docs/adr/0017-group-judgment","$ref":{"file":"adr/0017-group-judgment.md"}},{"$id":"adr/0018-replay-copies-files.md","type":"page","name":"A replay from a step copies the kept files","description":"$undefined","icon":"$undefined","url":"/docs/adr/0018-replay-copies-files","$ref":{"file":"adr/0018-replay-copies-files.md"}},{"$id":"adr/0019-typed-body.md","type":"page","name":"A typed body sits beside the result envelope","description":"$undefined","icon":"$undefined","url":"/docs/adr/0019-typed-body","$ref":{"file":"adr/0019-typed-body.md"}},{"$id":"adr/0020-rule-on-each-opening.md","type":"page","name":"Each array of children carries its rule","description":"$undefined","icon":"$undefined","url":"/docs/adr/0020-rule-on-each-opening","$ref":{"file":"adr/0020-rule-on-each-opening.md"}},{"$id":"adr/0021-optional-children.md","type":"page","name":"Optional children are waited on","description":"$undefined","icon":"$undefined","url":"/docs/adr/0021-optional-children","$ref":{"file":"adr/0021-optional-children.md"}},{"$id":"adr/0022-optional-quota.md","type":"page","name":"An optional quota lets the parent continue","description":"$undefined","icon":"$undefined","url":"/docs/adr/0022-optional-quota","$ref":{"file":"adr/0022-optional-quota.md"}},{"$id":"adr/0023-sealed-report-returns.md","type":"page","name":"A sealed report carries each child's return","description":"$undefined","icon":"$undefined","url":"/docs/adr/0023-sealed-report-returns","$ref":{"file":"adr/0023-sealed-report-returns.md"}},{"$id":"adr/0024-one-silence-per-opening.md","type":"page","name":"An opening gives every child the same silence","description":"$undefined","icon":"$undefined","url":"/docs/adr/0024-one-silence-per-opening","$ref":{"file":"adr/0024-one-silence-per-opening.md"}},{"$id":"adr/0025-environment-variables.md","type":"page","name":"Variables belong to the environment","description":"$undefined","icon":"$undefined","url":"/docs/adr/0025-environment-variables","$ref":{"file":"adr/0025-environment-variables.md"}},{"$id":"adr/0026-runtime-revision-excludes-platform-and-device.md","type":"page","name":"A runtime revision excludes platform and device","description":"$undefined","icon":"$undefined","url":"/docs/adr/0026-runtime-revision-excludes-platform-and-device","$ref":{"file":"adr/0026-runtime-revision-excludes-platform-and-device.md"}},{"$id":"adr/0027-one-router-consumes-a-slot.md","type":"page","name":"One router consumes a slot","description":"$undefined","icon":"$undefined","url":"/docs/adr/0027-one-router-consumes-a-slot","$ref":{"file":"adr/0027-one-router-consumes-a-slot.md"}},{"$id":"adr/0028-caddy-desktop-placement.md","type":"page","name":"Caddy has a desktop placement","description":"$undefined","icon":"$undefined","url":"/docs/adr/0028-caddy-desktop-placement","$ref":{"file":"adr/0028-caddy-desktop-placement.md"}},{"$id":"adr/0029-registry-client-or-login.md","type":"page","name":"A registry client certificate or a login","description":"$undefined","icon":"$undefined","url":"/docs/adr/0029-registry-client-or-login","$ref":{"file":"adr/0029-registry-client-or-login.md"}},{"$id":"adr/0030-organization-code-outside-the-repository.md","type":"page","name":"The fixture checkout may live in the repository","description":"$undefined","icon":"$undefined","url":"/docs/adr/0030-organization-code-outside-the-repository","$ref":{"file":"adr/0030-organization-code-outside-the-repository.md"}},{"$id":"adr/0031-environment-reload.md","type":"page","name":"A running worker reloads when commanded","description":"$undefined","icon":"$undefined","url":"/docs/adr/0031-environment-reload","$ref":{"file":"adr/0031-environment-reload.md"}},{"$id":"adr/0032-an-orchestrator-fault-stops-the-run.md","type":"page","name":"An orchestrator fault stops the run","description":"$undefined","icon":"$undefined","url":"/docs/adr/0032-an-orchestrator-fault-stops-the-run","$ref":{"file":"adr/0032-an-orchestrator-fault-stops-the-run.md"}},{"$id":"adr/0033-one-rule-for-children.md","type":"page","name":"One rule for required and optional children","description":"$undefined","icon":"$undefined","url":"/docs/adr/0033-one-rule-for-children","$ref":{"file":"adr/0033-one-rule-for-children.md"}}],"$id":"adr","$ref":"$undefined"},{"type":"folder","name":"Agents","icon":"$undefined","root":"$undefined","defaultOpen":"$undefined","description":"$undefined","index":"$undefined","children":[{"$id":"agents/domain.md","type":"page","name":"Domain Docs","description":"$undefined","icon":"$undefined","url":"/docs/agents/domain","$ref":{"file":"agents/domain.md"}}],"$id":"agents","$ref":"$undefined"},{"type":"folder","name":"Usage","icon":"$undefined","root":"$undefined","defaultOpen":"$undefined","description":"$undefined","index":"$undefined","children":[{"$id":"usage/kinds.mdx","type":"page","name":"Kind","description":"$undefined","icon":"$undefined","url":"/docs/usage/kinds","$ref":{"file":"usage/kinds.mdx"}}],"$id":"usage","$ref":"$undefined"}]}},"children":"$L6"}]]}],{"children":[["slug","server","oc"],"$L7",{"children":["__PAGE__","$L8",{},null,false]},null,false]},null,false]},null,false],"$L9",false]],"m":"$undefined","G":["$a",[]],"s":false,"S":true}
|
|
8
|
+
0:{"P":null,"b":"De1P3ZUMhERQ6TwOXYlnp","p":"","c":["","docs","server"],"i":false,"f":[[["",{"children":["docs",{"children":[["slug","server","oc"],{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/4126bc63349478de.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"children":["$","$L2",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]]}],{"children":["docs",["$","$1","c",{"children":[null,["$","$L5",null,{"tree":{"$id":"root","name":"Orchestrator","children":[{"$id":"index.mdx","type":"page","name":"Orchestrator","description":"$undefined","icon":"$undefined","url":"/docs","$ref":{"file":"index.mdx"}},{"$id":"server.mdx","type":"page","name":"Server","description":"$undefined","icon":"$undefined","url":"/docs/server","$ref":{"file":"server.mdx"}},{"$id":"engine.mdx","type":"page","name":"Engine","description":"$undefined","icon":"$undefined","url":"/docs/engine","$ref":{"file":"engine.mdx"}},{"$id":"fixture.mdx","type":"page","name":"Fixture","description":"$undefined","icon":"$undefined","url":"/docs/fixture","$ref":{"file":"fixture.mdx"}},{"type":"folder","name":"Usage","icon":"$undefined","root":"$undefined","defaultOpen":"$undefined","description":"$undefined","index":"$undefined","children":[{"$id":"usage/flow.mdx","type":"page","name":"Flow","description":"$undefined","icon":"$undefined","url":"/docs/usage/flow","$ref":{"file":"usage/flow.mdx"}},{"$id":"usage/actions.mdx","type":"page","name":"Actions","description":"$undefined","icon":"$undefined","url":"/docs/usage/actions","$ref":{"file":"usage/actions.mdx"}},{"$id":"usage/drivers.mdx","type":"page","name":"Drivers","description":"$undefined","icon":"$undefined","url":"/docs/usage/drivers","$ref":{"file":"usage/drivers.mdx"}}],"$id":"usage","$ref":{"metaFile":"usage/meta.json"}},{"type":"folder","name":"Decisions","icon":"$undefined","root":"$undefined","defaultOpen":"$undefined","description":"$undefined","index":"$undefined","children":[{"$id":"adr/0001-restricted-process-function.md","type":"page","name":"The flow is restricted TypeScript, reread from the start","description":"$undefined","icon":"$undefined","url":"/docs/adr/0001-restricted-process-function","$ref":{"file":"adr/0001-restricted-process-function.md"}},{"$id":"adr/0002-entity-key.md","type":"page","name":"An entity is an organization, a flow, and an identity","description":"$undefined","icon":"$undefined","url":"/docs/adr/0002-entity-key","$ref":{"file":"adr/0002-entity-key.md"}},{"$id":"adr/0003-metrics-apart-from-the-run.md","type":"page","name":"A metric is apart from the run","description":"$undefined","icon":"$undefined","url":"/docs/adr/0003-metrics-apart-from-the-run","$ref":{"file":"adr/0003-metrics-apart-from-the-run.md"}},{"$id":"adr/0004-one-row-per-entity.md","type":"page","name":"One row per entity","description":"$undefined","icon":"$undefined","url":"/docs/adr/0004-one-row-per-entity","$ref":{"file":"adr/0004-one-row-per-entity.md"}}],"$id":"adr","$ref":{"metaFile":"adr/meta.json"}}],"fallback":{"$id":"fallback-root-root","name":"Docs","children":[{"$id":"install.md","type":"page","name":"Install","description":"$undefined","icon":"$undefined","url":"/docs/install","$ref":{"file":"install.md"}},{"type":"folder","name":"Adr","icon":"$undefined","root":"$undefined","defaultOpen":"$undefined","description":"$undefined","index":"$undefined","children":[{"$id":"adr/0005-orchestrator-applies-results.md","type":"page","name":"The orchestrator applies results","description":"$undefined","icon":"$undefined","url":"/docs/adr/0005-orchestrator-applies-results","$ref":{"file":"adr/0005-orchestrator-applies-results.md"}},{"$id":"adr/0006-one-identity-one-entity.md","type":"page","name":"One identity is one entity","description":"$undefined","icon":"$undefined","url":"/docs/adr/0006-one-identity-one-entity","$ref":{"file":"adr/0006-one-identity-one-entity.md"}},{"$id":"adr/0007-historized-flow-runs.md","type":"page","name":"A flow run is kept, then only its metric remains","description":"$undefined","icon":"$undefined","url":"/docs/adr/0007-historized-flow-runs","$ref":{"file":"adr/0007-historized-flow-runs.md"}},{"$id":"adr/0008-guard-and-each.md","type":"page","name":"A flow may guard a result and repeat over elements","description":"$undefined","icon":"$undefined","url":"/docs/adr/0008-guard-and-each","$ref":{"file":"adr/0008-guard-and-each.md"}},{"$id":"adr/0009-transient-files.md","type":"page","name":"A transient file lives with the flow run","description":"$undefined","icon":"$undefined","url":"/docs/adr/0009-transient-files","$ref":{"file":"adr/0009-transient-files.md"}},{"$id":"adr/0010-entity-values-copied-onto-the-run.md","type":"page","name":"Entity values are copied onto the run","description":"$undefined","icon":"$undefined","url":"/docs/adr/0010-entity-values-copied-onto-the-run","$ref":{"file":"adr/0010-entity-values-copied-onto-the-run.md"}},{"$id":"adr/0011-a-diverged-reread-ends-the-run.md","type":"page","name":"A diverged reread ends the run","description":"$undefined","icon":"$undefined","url":"/docs/adr/0011-a-diverged-reread-ends-the-run","$ref":{"file":"adr/0011-a-diverged-reread-ends-the-run.md"}},{"$id":"adr/0012-a-step-name-once-per-run.md","type":"page","name":"A step name is opened once per run","description":"$undefined","icon":"$undefined","url":"/docs/adr/0012-a-step-name-once-per-run","$ref":{"file":"adr/0012-a-step-name-once-per-run.md"}},{"$id":"adr/0013-a-run-does-not-wait-on-its-ancestor.md","type":"page","name":"A run does not wait on its ancestor","description":"$undefined","icon":"$undefined","url":"/docs/adr/0013-a-run-does-not-wait-on-its-ancestor","$ref":{"file":"adr/0013-a-run-does-not-wait-on-its-ancestor.md"}},{"$id":"adr/0014-a-shared-child-is-claimed-before-its-run.md","type":"page","name":"A shared child is claimed before its run","description":"$undefined","icon":"$undefined","url":"/docs/adr/0014-a-shared-child-is-claimed-before-its-run","$ref":{"file":"adr/0014-a-shared-child-is-claimed-before-its-run.md"}},{"$id":"adr/0015-jobs-and-metrics-leave-with-the-run.md","type":"page","name":"Jobs and metrics leave with the run","description":"$undefined","icon":"$undefined","url":"/docs/adr/0015-jobs-and-metrics-leave-with-the-run","$ref":{"file":"adr/0015-jobs-and-metrics-leave-with-the-run.md"}},{"$id":"adr/0016-one-writer-per-organization.md","type":"page","name":"One writer per organization","description":"$undefined","icon":"$undefined","url":"/docs/adr/0016-one-writer-per-organization","$ref":{"file":"adr/0016-one-writer-per-organization.md"}},{"$id":"adr/0017-group-judgment.md","type":"page","name":"A group judges its required members","description":"$undefined","icon":"$undefined","url":"/docs/adr/0017-group-judgment","$ref":{"file":"adr/0017-group-judgment.md"}},{"$id":"adr/0018-replay-copies-files.md","type":"page","name":"A replay from a step copies the kept files","description":"$undefined","icon":"$undefined","url":"/docs/adr/0018-replay-copies-files","$ref":{"file":"adr/0018-replay-copies-files.md"}},{"$id":"adr/0019-typed-body.md","type":"page","name":"A typed body sits beside the result envelope","description":"$undefined","icon":"$undefined","url":"/docs/adr/0019-typed-body","$ref":{"file":"adr/0019-typed-body.md"}},{"$id":"adr/0020-rule-on-each-opening.md","type":"page","name":"Each array of children carries its rule","description":"$undefined","icon":"$undefined","url":"/docs/adr/0020-rule-on-each-opening","$ref":{"file":"adr/0020-rule-on-each-opening.md"}},{"$id":"adr/0021-optional-children.md","type":"page","name":"Optional children are waited on","description":"$undefined","icon":"$undefined","url":"/docs/adr/0021-optional-children","$ref":{"file":"adr/0021-optional-children.md"}},{"$id":"adr/0022-optional-quota.md","type":"page","name":"An optional quota lets the parent continue","description":"$undefined","icon":"$undefined","url":"/docs/adr/0022-optional-quota","$ref":{"file":"adr/0022-optional-quota.md"}},{"$id":"adr/0023-sealed-report-returns.md","type":"page","name":"A sealed report carries each child's return","description":"$undefined","icon":"$undefined","url":"/docs/adr/0023-sealed-report-returns","$ref":{"file":"adr/0023-sealed-report-returns.md"}},{"$id":"adr/0024-one-silence-per-opening.md","type":"page","name":"An opening gives every child the same silence","description":"$undefined","icon":"$undefined","url":"/docs/adr/0024-one-silence-per-opening","$ref":{"file":"adr/0024-one-silence-per-opening.md"}},{"$id":"adr/0025-environment-variables.md","type":"page","name":"Variables belong to the environment","description":"$undefined","icon":"$undefined","url":"/docs/adr/0025-environment-variables","$ref":{"file":"adr/0025-environment-variables.md"}},{"$id":"adr/0026-runtime-revision-excludes-platform-and-device.md","type":"page","name":"A runtime revision excludes platform and device","description":"$undefined","icon":"$undefined","url":"/docs/adr/0026-runtime-revision-excludes-platform-and-device","$ref":{"file":"adr/0026-runtime-revision-excludes-platform-and-device.md"}},{"$id":"adr/0027-one-router-consumes-a-slot.md","type":"page","name":"One router consumes a slot","description":"$undefined","icon":"$undefined","url":"/docs/adr/0027-one-router-consumes-a-slot","$ref":{"file":"adr/0027-one-router-consumes-a-slot.md"}},{"$id":"adr/0028-caddy-desktop-placement.md","type":"page","name":"Caddy has a desktop placement","description":"$undefined","icon":"$undefined","url":"/docs/adr/0028-caddy-desktop-placement","$ref":{"file":"adr/0028-caddy-desktop-placement.md"}},{"$id":"adr/0029-registry-client-or-login.md","type":"page","name":"A registry client certificate or a login","description":"$undefined","icon":"$undefined","url":"/docs/adr/0029-registry-client-or-login","$ref":{"file":"adr/0029-registry-client-or-login.md"}},{"$id":"adr/0030-organization-code-outside-the-repository.md","type":"page","name":"The fixture checkout may live in the repository","description":"$undefined","icon":"$undefined","url":"/docs/adr/0030-organization-code-outside-the-repository","$ref":{"file":"adr/0030-organization-code-outside-the-repository.md"}},{"$id":"adr/0031-environment-reload.md","type":"page","name":"A running worker reloads when commanded","description":"$undefined","icon":"$undefined","url":"/docs/adr/0031-environment-reload","$ref":{"file":"adr/0031-environment-reload.md"}},{"$id":"adr/0032-an-orchestrator-fault-stops-the-run.md","type":"page","name":"An orchestrator fault stops the run","description":"$undefined","icon":"$undefined","url":"/docs/adr/0032-an-orchestrator-fault-stops-the-run","$ref":{"file":"adr/0032-an-orchestrator-fault-stops-the-run.md"}},{"$id":"adr/0033-one-rule-for-children.md","type":"page","name":"One rule for required and optional children","description":"$undefined","icon":"$undefined","url":"/docs/adr/0033-one-rule-for-children","$ref":{"file":"adr/0033-one-rule-for-children.md"}}],"$id":"adr","$ref":"$undefined"},{"type":"folder","name":"Agents","icon":"$undefined","root":"$undefined","defaultOpen":"$undefined","description":"$undefined","index":"$undefined","children":[{"$id":"agents/domain.md","type":"page","name":"Domain Docs","description":"$undefined","icon":"$undefined","url":"/docs/agents/domain","$ref":{"file":"agents/domain.md"}}],"$id":"agents","$ref":"$undefined"},{"type":"folder","name":"Usage","icon":"$undefined","root":"$undefined","defaultOpen":"$undefined","description":"$undefined","index":"$undefined","children":[{"$id":"usage/kinds.mdx","type":"page","name":"Kind","description":"$undefined","icon":"$undefined","url":"/docs/usage/kinds","$ref":{"file":"usage/kinds.mdx"}}],"$id":"usage","$ref":"$undefined"}]}},"children":"$L6"}]]}],{"children":[["slug","server","oc"],"$L7",{"children":["__PAGE__","$L8",{},null,false]},null,false]},null,false]},null,false],"$L9",false]],"m":"$undefined","G":["$a",[]],"s":false,"S":true}
|
|
9
9
|
b:I[3762,["582","static/chunks/582-a2bbe93ce1d4f2d2.js","841","static/chunks/841-d77ed67838a2d05f.js","431","static/chunks/431-9190bbb8a69a0c11.js","763","static/chunks/763-929f6742d84aa5b0.js","499","static/chunks/app/docs/layout-c6dbee584f1de72b.js"],"NavProvider"]
|
|
10
10
|
c:I[1550,["582","static/chunks/582-a2bbe93ce1d4f2d2.js","841","static/chunks/841-d77ed67838a2d05f.js","431","static/chunks/431-9190bbb8a69a0c11.js","763","static/chunks/763-929f6742d84aa5b0.js","499","static/chunks/app/docs/layout-c6dbee584f1de72b.js"],"Navbar"]
|
|
11
11
|
d:I[5794,["582","static/chunks/582-a2bbe93ce1d4f2d2.js","431","static/chunks/431-9190bbb8a69a0c11.js","799","static/chunks/799-3e7b26a124d7b62f.js","870","static/chunks/app/docs/%5B%5B...slug%5D%5D/page-99dd5f5cdb48d4d8.js"],"default"]
|
|
@@ -39,54 +39,63 @@ f:I[637,["582","static/chunks/582-a2bbe93ce1d4f2d2.js","841","static/chunks/841-
|
|
|
39
39
|
2a:I[9879,["582","static/chunks/582-a2bbe93ce1d4f2d2.js","431","static/chunks/431-9190bbb8a69a0c11.js","799","static/chunks/799-3e7b26a124d7b62f.js","870","static/chunks/app/docs/%5B%5B...slug%5D%5D/page-99dd5f5cdb48d4d8.js"],"TOCScrollArea"]
|
|
40
40
|
2b:I[9879,["582","static/chunks/582-a2bbe93ce1d4f2d2.js","431","static/chunks/431-9190bbb8a69a0c11.js","799","static/chunks/799-3e7b26a124d7b62f.js","870","static/chunks/app/docs/%5B%5B...slug%5D%5D/page-99dd5f5cdb48d4d8.js"],"TOCItems"]
|
|
41
41
|
2c:I[7570,["582","static/chunks/582-a2bbe93ce1d4f2d2.js","431","static/chunks/431-9190bbb8a69a0c11.js","799","static/chunks/799-3e7b26a124d7b62f.js","870","static/chunks/app/docs/%5B%5B...slug%5D%5D/page-99dd5f5cdb48d4d8.js"],"PageBreadcrumb"]
|
|
42
|
-
1c:["$","$L26",null,{"toc":[{"depth":2,"url":"#dns","title":"DNS"},{"depth":2,"url":"#deploy","title":"Deploy"},{"depth":2,"url":"#first-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
2d:["$","$
|
|
42
|
+
1c:["$","$L26",null,{"toc":[{"depth":2,"url":"#dns","title":"DNS"},{"depth":2,"url":"#deploy","title":"Deploy"},{"depth":2,"url":"#first-account","title":"First account"},{"depth":2,"url":"#address-list","title":"Address list"},{"depth":2,"url":"#supervisors","title":"Supervisors"},{"depth":2,"url":"#backup","title":"Backup"},{"depth":2,"url":"#restore","title":"Restore"}],"single":"$undefined","children":["$","div",null,{"id":"nd-page","className":"flex flex-1 w-full mx-auto max-w-(--fd-page-width) pt-(--fd-tocnav-height) pe-(--fd-toc-width)","children":[["$","$L27",null,{"children":[["$","$L28",null,{}],["$","$L29",null,{"children":["$undefined",["$","$L2a",null,{"children":["$","$L2b",null,{}]}],"$undefined"]}]]}],["$","article",null,{"children":[["$","$L2c",null,{}],[["$","h1",null,{"ref":"$undefined","children":"Server","className":"text-[1.75em] font-semibold"}],["$","div",null,{"ref":"$undefined","children":[["$","p",null,{"children":["This installs the published images on a Linux server. ",["$","code",null,{"children":"cue deploy"}]," runs on the operator machine. It uses ",["$","code",null,{"children":"ssh"}]," and ",["$","code",null,{"children":"scp"}],". It does not clone the repository, and it does not build on the server."]}],"\n",["$","h2",null,{"className":"flex scroll-m-28 flex-row items-center gap-2","id":"dns","children":[["$","a",null,{"data-card":"","href":"#dns","className":"peer","children":"DNS"}],["$","svg",null,{"ref":"$undefined","xmlns":"http://www.w3.org/2000/svg","width":24,"height":24,"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":2,"strokeLinecap":"round","strokeLinejoin":"round","className":"lucide size-3.5 shrink-0 text-fd-muted-foreground opacity-0 transition-opacity peer-hover:opacity-100","aria-label":"Link to section","children":[[["$","path","1cjeqo",{"d":"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"}],["$","path","19qd67",{"d":"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"}]],"$undefined"]}]]}],"\n",["$","p",null,{"children":"Before the first start, point these three names at the server:"}],"\n",["$","ul",null,{"children":["\n",["$","li",null,{"children":["the console host passed to ",["$","code",null,{"children":"--console-host"}],", such as ",["$","code",null,{"children":"console.example.com"}]]}],"\n",["$","li",null,{"children":[["$","code",null,{"children":"doc.<console-host>"}],", such as ",["$","code",null,{"children":"doc.console.example.com"}]]}],"\n",["$","li",null,{"children":["the public host passed to ",["$","code",null,{"children":"--edge-name"}],", stored on the server as ",["$","code",null,{"children":"EDGE_NAME"}]]}],"\n"]}],"\n",["$","p",null,{"children":"Let's Encrypt completes the HTTP-01 challenge on port 80. The three names have to resolve to this server before Compose starts, or that challenge fails. Port 80 is not a site in the Caddyfile."}],"\n",["$","p",null,{"children":["The console answers on ",["$","code",null,{"children":"https://<console-host>"}],". The docs answer on ",["$","code",null,{"children":"https://doc.<console-host>"}],". The docs name is derived from ",["$","code",null,{"children":"ORCH_CONSOLE_HOST"}],". There is no separate variable for it. Both sites use the same Let's Encrypt issuer and the same address list. Neither site asks for a client certificate. ",["$","code",null,{"children":"CUE_URL"}]," is ",["$","code",null,{"children":"https://<EDGE_NAME>:3443"}],". The facade ports use the private certificate."]}],"\n",["$","h2",null,{"className":"flex scroll-m-28 flex-row items-center gap-2","id":"deploy","children":[["$","a",null,{"data-card":"","href":"#deploy","className":"peer","children":"Deploy"}],["$","svg",null,{"ref":"$undefined","xmlns":"http://www.w3.org/2000/svg","width":24,"height":24,"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":2,"strokeLinecap":"round","strokeLinejoin":"round","className":"lucide size-3.5 shrink-0 text-fd-muted-foreground opacity-0 transition-opacity peer-hover:opacity-100","aria-label":"Link to section","children":[[["$","path","1cjeqo",{"d":"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"}],["$","path","19qd67",{"d":"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"}]],"$undefined"]}]]}],"\n",["$","p",null,{"children":[["$","code",null,{"children":"cue"}]," comes from the installed ",["$","code",null,{"children":"@ascentstudio/cue-sdk"}]," package. The image tag is the version of that package, the same version as the npm packages of that publication."]}],"\n","$L2d","\n","$L2e","\n","$L2f","\n","$L30","\n","$L31","\n","$L32","\n","$L33","\n","$L34","\n","$L35","\n","$L36","\n","$L37","\n","$L38","\n","$L39","\n","$L3a","\n","$L3b","\n","$L3c","\n","$L3d","\n","$L3e","\n","$L3f","\n","$L40","\n","$L41","\n","$L42","\n","$L43","\n","$L44","\n","$L45","\n","$L46","\n","$L47","\n","$L48","\n","$L49","\n","$L4a","\n","$L4b","\n","$L4c","\n","$L4d","\n","$L4e","\n","$L4f","\n","$L50","\n","$L51","\n","$L52","\n","$L53","\n","$L54","\n","$L55","\n","$L56","\n","$L57","\n","$L58","\n","$L59","\n","$L5a","\n","$L5b","\n","$L5c"],"className":"prose flex-1"}]],"$L5d","$L5e"],"className":"flex min-w-0 w-full flex-col gap-4 pt-8 px-4 md:px-6 md:mx-auto"}],"$L5f"]}]}]
|
|
43
|
+
60:I[2816,["582","static/chunks/582-a2bbe93ce1d4f2d2.js","431","static/chunks/431-9190bbb8a69a0c11.js","799","static/chunks/799-3e7b26a124d7b62f.js","870","static/chunks/app/docs/%5B%5B...slug%5D%5D/page-99dd5f5cdb48d4d8.js"],"CodeBlock"]
|
|
44
|
+
61:I[2816,["582","static/chunks/582-a2bbe93ce1d4f2d2.js","431","static/chunks/431-9190bbb8a69a0c11.js","799","static/chunks/799-3e7b26a124d7b62f.js","870","static/chunks/app/docs/%5B%5B...slug%5D%5D/page-99dd5f5cdb48d4d8.js"],"Pre"]
|
|
45
|
+
62:I[7570,["582","static/chunks/582-a2bbe93ce1d4f2d2.js","431","static/chunks/431-9190bbb8a69a0c11.js","799","static/chunks/799-3e7b26a124d7b62f.js","870","static/chunks/app/docs/%5B%5B...slug%5D%5D/page-99dd5f5cdb48d4d8.js"],"PageFooter"]
|
|
46
|
+
63:I[7570,["582","static/chunks/582-a2bbe93ce1d4f2d2.js","431","static/chunks/431-9190bbb8a69a0c11.js","799","static/chunks/799-3e7b26a124d7b62f.js","870","static/chunks/app/docs/%5B%5B...slug%5D%5D/page-99dd5f5cdb48d4d8.js"],"PageTOC"]
|
|
47
|
+
64:I[9028,["582","static/chunks/582-a2bbe93ce1d4f2d2.js","431","static/chunks/431-9190bbb8a69a0c11.js","799","static/chunks/799-3e7b26a124d7b62f.js","870","static/chunks/app/docs/%5B%5B...slug%5D%5D/page-99dd5f5cdb48d4d8.js"],"I18nLabel"]
|
|
48
|
+
2d:["$","$L60",null,{"className":"shiki shiki-themes github-light github-dark","style":{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},"tabIndex":"0","icon":"<svg viewBox=\"0 0 24 24\"><path d=\"m 4,4 a 1,1 0 0 0 -0.7070312,0.2929687 1,1 0 0 0 0,1.4140625 L 8.5859375,11 3.2929688,16.292969 a 1,1 0 0 0 0,1.414062 1,1 0 0 0 1.4140624,0 l 5.9999998,-6 a 1.0001,1.0001 0 0 0 0,-1.414062 L 4.7070312,4.2929687 A 1,1 0 0 0 4,4 Z m 8,14 a 1,1 0 0 0 -1,1 1,1 0 0 0 1,1 h 8 a 1,1 0 0 0 1,-1 1,1 0 0 0 -1,-1 z\" fill=\"currentColor\" /></svg>","children":["$","$L61",null,{"children":["$","code",null,{"children":["$","span",null,{"className":"line","children":[["$","span",null,{"style":{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"},"children":"cue"}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":" deploy"}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":" user@host"}],["$","span",null,{"style":{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"},"children":" --edge-name"}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":" edge.example.com"}],["$","span",null,{"style":{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"},"children":" --console-host"}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":" console.example.com"}],["$","span",null,{"style":{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"},"children":" --acme-email"}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":" admin@example.com"}],["$","span",null,{"style":{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"},"children":" --s3-bucket"}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":" cue-backups"}],["$","span",null,{"style":{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"},"children":" --s3-region"}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":" eu-west-1"}]]}]}]}]}]
|
|
49
49
|
2e:["$","p",null,{"children":[["$","code",null,{"children":"cue deploy --help"}]," and ",["$","code",null,{"children":"cue deploy -h"}]," print that usage line. The command takes one positional argument, ",["$","code",null,{"children":"user@host"}],". It runs ",["$","code",null,{"children":"ssh"}]," and ",["$","code",null,{"children":"scp"}]," with that host and no extra options."]}]
|
|
50
50
|
2f:["$","p",null,{"children":[["$","code",null,{"children":"--edge-name"}],", ",["$","code",null,{"children":"--console-host"}],", ",["$","code",null,{"children":"--acme-email"}],", ",["$","code",null,{"children":"--s3-bucket"}],", and ",["$","code",null,{"children":"--s3-region"}]," are required. ",["$","code",null,{"children":"--s3-endpoint"}]," is optional. ",["$","code",null,{"children":"--edge-name"}]," and ",["$","code",null,{"children":"--console-host"}]," are hostnames without a scheme, a port, or a path. ",["$","code",null,{"children":"--acme-email"}]," is an email address. ",["$","code",null,{"children":"--s3-bucket"}],", ",["$","code",null,{"children":"--s3-region"}],", and the S3 keys cannot contain a space, ",["$","code",null,{"children":"#"}],", a quote, or ",["$","code",null,{"children":"\\"}],". When ",["$","code",null,{"children":"--s3-endpoint"}]," is set, it is an ",["$","code",null,{"children":"http"}]," or ",["$","code",null,{"children":"https"}]," URL."]}]
|
|
51
51
|
30:["$","p",null,{"children":["The S3 keys come from ",["$","code",null,{"children":"AWS_ACCESS_KEY_ID"}]," and ",["$","code",null,{"children":"AWS_SECRET_ACCESS_KEY"}],", or from ",["$","code",null,{"children":"CUE_S3_ACCESS_KEY_ID"}]," and ",["$","code",null,{"children":"CUE_S3_SECRET_ACCESS_KEY"}],". If a key is missing, the command prompts for it. The prompt does not echo, and it needs a terminal."]}]
|
|
52
52
|
31:["$","p",null,{"children":["The age private key is ",["$","code",null,{"children":"~/.config/cue/age.key"}]," on the operator machine, mode ",["$","code",null,{"children":"0600"}],". When the command creates that key, it creates ",["$","code",null,{"children":"~/.config/cue"}]," as mode ",["$","code",null,{"children":"0700"}],". A key that is already a valid identity is reused. A file that is not an age identity stops the command. The private key stays on this machine. ",["$","code",null,{"children":"backup.env"}]," receives only the public recipient."]}]
|
|
53
53
|
32:["$","p",null,{"children":["The command generates new service secrets, copies the server tree from the SDK package, and writes ",["$","code",null,{"children":".env"}],", ",["$","code",null,{"children":"backup.env"}],", and ",["$","code",null,{"children":"network.ini"}],". ",["$","code",null,{"children":".env"}]," and ",["$","code",null,{"children":"backup.env"}]," are mode ",["$","code",null,{"children":"0600"}],". Before it connects, it prints a reminder to point DNS for the edge name, the console host, and ",["$","code",null,{"children":"doc.<console-host>"}]," at the server. It then copies the tree with ",["$","code",null,{"children":"scp"}]," to ",["$","code",null,{"children":"/tmp/cue-deploy-…"}]," and runs ",["$","code",null,{"children":"remote-install.sh"}]," there."]}]
|
|
54
|
-
33:["$","p",null,{"children":["On the server, the script checks Linux, Docker, and Docker Compose. It pulls ",["$","code",null,{"children":"ascentstudio/cue-orchestrator"}],", ",["$","code",null,{"children":"ascentstudio/cue-caddy"}],", ",["$","code",null,{"children":"ascentstudio/cue-zot"}],", and ",["$","code",null,{"children":"ascentstudio/cue-backup"}],". For version ",["$","code",null,{"children":"0.1.0"}]," each image is tagged ",["$","code",null,{"children":"0.1.0"}],". There is no ",["$","code",null,{"children":"latest"}]," tag. One version does not pull another image. Redis, ClickHouse, MinIO, Verdaccio, and Supabase stay on their public images. A failed pull stops the script before it copies anything into the install directory. It then copies the tree to ",["$","code",null,{"children":"/var/lib/cue"}],", mode ",["$","code",null,{"children":"0700"}],", and creates the certificate directory ",["$","code",null,{"children":"/var/lib/
|
|
55
|
-
34:["$","p",null,{"children":["
|
|
54
|
+
33:["$","p",null,{"children":["On the server, the script checks Linux, Docker, and Docker Compose. It pulls ",["$","code",null,{"children":"ascentstudio/cue-orchestrator"}],", ",["$","code",null,{"children":"ascentstudio/cue-caddy"}],", ",["$","code",null,{"children":"ascentstudio/cue-zot"}],", and ",["$","code",null,{"children":"ascentstudio/cue-backup"}],". For version ",["$","code",null,{"children":"0.1.0"}]," each image is tagged ",["$","code",null,{"children":"0.1.0"}],". There is no ",["$","code",null,{"children":"latest"}]," tag. One version does not pull another image. Redis, ClickHouse, MinIO, Verdaccio, and Supabase stay on their public images. A failed pull stops the script before it copies anything into the install directory. It then copies the tree to ",["$","code",null,{"children":"/var/lib/cue"}],", mode ",["$","code",null,{"children":"0700"}],", and creates the certificate directory ",["$","code",null,{"children":"/var/lib/cue-data/certs"}],". ",["$","code",null,{"children":"docker compose up -d"}]," runs from ",["$","code",null,{"children":"/var/lib/cue"}],". The firewall step comes after Compose has started."]}]
|
|
55
|
+
34:["$","p",null,{"children":["When the SSH account is not root, the command asks for the root password with ",["$","code",null,{"children":"su"}]," before the script runs. Creating ",["$","code",null,{"children":"/var/lib/cue"}]," and ",["$","code",null,{"children":"/var/lib/cue-data"}],", and changing the firewall, need root even when that account can already pull images. Root skips that prompt. The script opens ports 22, 80, and 443 with ",["$","code",null,{"children":"ufw"}],", or with ",["$","code",null,{"children":"firewalld"}]," when ",["$","code",null,{"children":"ufw"}]," is not installed. It limits the facade ports 3443, 4443, 6380, 8443, 9443, 7443, and 4873 to the address in ",["$","code",null,{"children":"SSH_CLIENT"}],". If neither firewall command is installed, it prints those rules and leaves the firewall unchanged. If ",["$","code",null,{"children":"SSH_CLIENT"}]," has no usable address, the install stops after Compose has started. Ports published by Docker bypass that firewall. Postgres listens on ",["$","code",null,{"children":"127.0.0.1:54322"}],", and the Supabase API listens on ",["$","code",null,{"children":"127.0.0.1:54321"}],". Redis, ClickHouse, MinIO, zot, Verdaccio, and Supavisor are not published on the host."]}]
|
|
56
56
|
35:["$","p",null,{"children":[["$","code",null,{"children":"--edge-name"}]," is the public host of ",["$","code",null,{"children":"CUE_URL"}],". The command stores it as ",["$","code",null,{"children":"EDGE_NAME"}],", sets ",["$","code",null,{"children":"CUE_URL"}]," to ",["$","code",null,{"children":"https://<edge-name>:3443"}],", and writes that ",["$","code",null,{"children":"EDGE_NAME"}]," in ",["$","code",null,{"children":"network.ini"}],". ",["$","code",null,{"children":"--console-host"}]," is stored as ",["$","code",null,{"children":"ORCH_CONSOLE_HOST"}],". The server environment leaves ",["$","code",null,{"children":"ORCH_URL"}],", ",["$","code",null,{"children":"ORCH_EDGE_NAMES"}],", ",["$","code",null,{"children":"CUE_REDIS_URL"}],", ",["$","code",null,{"children":"CUE_CLICKHOUSE_URL"}],", ",["$","code",null,{"children":"CUE_TRANSIENT_S3_ENDPOINT"}],", and ",["$","code",null,{"children":"CUE_ENROLLMENT"}]," unset. The console uses ",["$","code",null,{"children":"https://127.0.0.1:3443"}],"."]}]
|
|
57
57
|
36:["$","p",null,{"children":[["$","code",null,{"children":"ascentstudio/cue-orchestrator:<version>"}]," is the image Compose starts. Its entrypoint starts the orchestrator, waits until ",["$","code",null,{"children":"console-client.crt"}]," and the ",["$","code",null,{"children":"Caddyfile"}]," are in the certificate directory, then starts the console on port 3000 and the docs on port 3002. The orchestrator process does not start those two. The container uses the host network, so Caddy reaches ",["$","code",null,{"children":"127.0.0.1:3000"}],", ",["$","code",null,{"children":"127.0.0.1:3001"}],", and ",["$","code",null,{"children":"127.0.0.1:3002"}],"."]}]
|
|
58
58
|
37:["$","p",null,{"children":["Compose sets ",["$","code",null,{"children":"MIGRATE_SEED=0"}],". The migrate service skips ",["$","code",null,{"children":"deploy/supabase/seed.sql"}],". The server has no ",["$","code",null,{"children":"pierre@ascent-studio.fr"}]," account, no ",["$","code",null,{"children":"fixture-local"}]," secret, and no ",["$","code",null,{"children":"join_fixture"}]," trigger."]}]
|
|
59
59
|
38:["$","p",null,{"children":["A second ",["$","code",null,{"children":"cue deploy"}]," writes new secrets into ",["$","code",null,{"children":"/var/lib/cue/.env"}]," and ",["$","code",null,{"children":"backup.env"}],", then runs Compose again. The Postgres volume keeps the password from the first start. The age key on the operator machine stays the one already there."]}]
|
|
60
60
|
39:["$","p",null,{"children":["After a successful install, the command prints the age key path, the ",["$","code",null,{"children":"cue-backups"}]," prefix, the 03:00 UTC backup time, and the notes about Docker-published ports and Redis. It then deletes the temporary tree on the operator machine."]}]
|
|
61
|
-
3a:["$","h2",null,{"className":"flex scroll-m-28 flex-row items-center gap-2","id":"first-
|
|
62
|
-
3b:["$","p",null,{"children":["
|
|
63
|
-
3c:["$","
|
|
64
|
-
3d:["$","
|
|
65
|
-
3e:["$","p",null,{"children":["
|
|
66
|
-
3f:["$","p",null,{"children":["The
|
|
67
|
-
40:["$","
|
|
68
|
-
41:["$","p",null,{"children":["
|
|
69
|
-
42:["$","p",null,{"children":["
|
|
70
|
-
43:["$","p",null,{"children":[["$","code",null,{"children":"
|
|
71
|
-
44:["$","
|
|
72
|
-
45:["$","p",null,{"children":[
|
|
73
|
-
46:["$","p",null,{"children":["The
|
|
74
|
-
47:["$","
|
|
75
|
-
48:["$","p",null,{"children":["
|
|
76
|
-
49:["$","p",null,{"children":[
|
|
77
|
-
4a:["$","p",null,{"children":["The
|
|
78
|
-
4b:["$","p",null,{"children":[
|
|
79
|
-
4c:["$","
|
|
80
|
-
4d:["$","p",null,{"children":["A
|
|
81
|
-
4e:["$","p",null,{"children":["
|
|
82
|
-
4f:["$","p",null,{"children":["The
|
|
83
|
-
50:["$","p",null,{"children":"
|
|
84
|
-
51:["$","
|
|
85
|
-
52:["$","p",null,{"children":["
|
|
86
|
-
53:["$","p",null,{"children":"
|
|
87
|
-
54:["$","
|
|
88
|
-
55:["$","
|
|
89
|
-
56:["$","
|
|
61
|
+
3a:["$","h2",null,{"className":"flex scroll-m-28 flex-row items-center gap-2","id":"first-account","children":[["$","a",null,{"data-card":"","href":"#first-account","className":"peer","children":"First account"}],["$","svg",null,{"ref":"$undefined","xmlns":"http://www.w3.org/2000/svg","width":24,"height":24,"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":2,"strokeLinecap":"round","strokeLinejoin":"round","className":"lucide size-3.5 shrink-0 text-fd-muted-foreground opacity-0 transition-opacity peer-hover:opacity-100","aria-label":"Link to section","children":[[["$","path","1cjeqo",{"d":"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"}],["$","path","19qd67",{"d":"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"}]],"$undefined"]}]]}]
|
|
62
|
+
3b:["$","p",null,{"children":["The sign-in page does not create a person. The first person is created with ",["$","code",null,{"children":"cue deploy --create-account"}],", after the install. The command does not restart Compose and does not write new secrets. No email is sent."]}]
|
|
63
|
+
3c:["$","$L60",null,{"className":"shiki shiki-themes github-light github-dark","style":{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},"tabIndex":"0","icon":"<svg viewBox=\"0 0 24 24\"><path d=\"m 4,4 a 1,1 0 0 0 -0.7070312,0.2929687 1,1 0 0 0 0,1.4140625 L 8.5859375,11 3.2929688,16.292969 a 1,1 0 0 0 0,1.414062 1,1 0 0 0 1.4140624,0 l 5.9999998,-6 a 1.0001,1.0001 0 0 0 0,-1.414062 L 4.7070312,4.2929687 A 1,1 0 0 0 4,4 Z m 8,14 a 1,1 0 0 0 -1,1 1,1 0 0 0 1,1 h 8 a 1,1 0 0 0 1,-1 1,1 0 0 0 -1,-1 z\" fill=\"currentColor\" /></svg>","children":["$","$L61",null,{"children":["$","code",null,{"children":["$","span",null,{"className":"line","children":[["$","span",null,{"style":{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"},"children":"cue"}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":" deploy"}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":" user@host"}],["$","span",null,{"style":{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"},"children":" --create-account"}],["$","span",null,{"style":{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"},"children":" --email"}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":" ada@example.com"}],["$","span",null,{"style":{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"},"children":" --organization"}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":" acme"}],["$","span",null,{"style":{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"},"children":" --organization-name"}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":" Acme"}]]}]}]}]}]
|
|
64
|
+
3d:["$","p",null,{"children":[["$","code",null,{"children":"--email"}],", ",["$","code",null,{"children":"--organization"}],", and ",["$","code",null,{"children":"--organization-name"}]," are required. ",["$","code",null,{"children":"--email"}]," is an email address. ",["$","code",null,{"children":"--organization"}]," matches ",["$","code",null,{"children":"[a-z][a-z0-9-]{0,62}"}],". ",["$","code",null,{"children":"--organization-name"}]," is the displayed name and cannot be empty. The password is not a flag. The command prompts for it. The prompt does not echo, and it needs a terminal. Fewer than 6 characters is refused before ",["$","code",null,{"children":"ssh"}],"."]}]
|
|
65
|
+
3e:["$","p",null,{"children":[["$","code",null,{"children":"--create-account"}]," does not accept ",["$","code",null,{"children":"--rm"}],", ",["$","code",null,{"children":"--check"}],", ",["$","code",null,{"children":"--edge-name"}],", ",["$","code",null,{"children":"--console-host"}],", ",["$","code",null,{"children":"--acme-email"}],", ",["$","code",null,{"children":"--s3-bucket"}],", ",["$","code",null,{"children":"--s3-region"}],", or ",["$","code",null,{"children":"--s3-endpoint"}],"."]}]
|
|
66
|
+
3f:["$","p",null,{"children":["The command copies ",["$","code",null,{"children":"remote-create-account.sh"}]," and a JSON file to ",["$","code",null,{"children":"/tmp/cue-deploy-…"}],". The JSON file is mode ",["$","code",null,{"children":"0600"}],". It contains the email, the password, the organization id, and the organization name. The password is not an argument to ",["$","code",null,{"children":"ssh"}],". The remote directory is removed at the end."]}]
|
|
67
|
+
40:["$","p",null,{"children":["The script reads ",["$","code",null,{"children":"SUPABASE_SERVICE_ROLE_KEY"}]," and ",["$","code",null,{"children":"POSTGRES_PASSWORD"}]," from ",["$","code",null,{"children":"/var/lib/cue/.env"}],". That file is mode ",["$","code",null,{"children":"0600"}]," and owned by root. When the SSH account cannot read it, ",["$","code",null,{"children":"su"}]," asks for the root password. Root skips that prompt."]}]
|
|
68
|
+
41:["$","p",null,{"children":["An organization id that already exists stops the command before it creates the person. The script posts the person to ",["$","code",null,{"children":"http://127.0.0.1:54321/auth/v1/admin/users"}]," with the service role key and ",["$","code",null,{"children":"email_confirm"}]," set to true. An email that is already registered stops the command and does not change the password. The organization and the membership are inserted through ",["$","code",null,{"children":"127.0.0.1:54322"}],". If that insert fails, the script deletes the person with ",["$","code",null,{"children":"DELETE /auth/v1/admin/users/:id"}],"."]}]
|
|
69
|
+
42:["$","p",null,{"children":["Open ",["$","code",null,{"children":"https://<console-host>"}]," and sign in with that email and password. The address list is empty, so the console is open for that sign-in."]}]
|
|
70
|
+
43:["$","p",null,{"children":["The browser uses ",["$","code",null,{"children":"NEXT_PUBLIC_SUPABASE_URL"}],". On the console site, Caddy forwards only ",["$","code",null,{"children":"/auth/v1"}]," to ",["$","code",null,{"children":"127.0.0.1:54321"}],". Studio stays on that loop, behind the gateway password. The console process uses ",["$","code",null,{"children":"SUPABASE_SERVER_URL=http://127.0.0.1:54321"}],"."]}]
|
|
71
|
+
44:["$","h2",null,{"className":"flex scroll-m-28 flex-row items-center gap-2","id":"address-list","children":[["$","a",null,{"data-card":"","href":"#address-list","className":"peer","children":"Address list"}],["$","svg",null,{"ref":"$undefined","xmlns":"http://www.w3.org/2000/svg","width":24,"height":24,"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":2,"strokeLinecap":"round","strokeLinejoin":"round","className":"lucide size-3.5 shrink-0 text-fd-muted-foreground opacity-0 transition-opacity peer-hover:opacity-100","aria-label":"Link to section","children":[[["$","path","1cjeqo",{"d":"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"}],["$","path","19qd67",{"d":"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"}]],"$undefined"]}]]}]
|
|
72
|
+
45:["$","p",null,{"children":["The console page ",["$","code",null,{"children":"/account/edge"}]," edits the ",["$","code",null,{"children":"edge_allow"}]," table. Each change rewrites the ",["$","code",null,{"children":"Caddyfile"}]," and ",["$","code",null,{"children":"pg_hba.conf"}],"."]}]
|
|
73
|
+
46:["$","p",null,{"children":["The first list must contain the address of the person saving it. A list that does not contain that address is refused. After the first address, the console site and the docs site use the same list. An empty list leaves both sites open and refuses remote addresses on the machine listeners: enrollment, machine API, Redis, ClickHouse, MinIO, Postgres, zot, and Verdaccio. ",["$","code",null,{"children":"127.0.0.1"}]," and ",["$","code",null,{"children":"::1"}]," stay allowed."]}]
|
|
74
|
+
47:["$","h2",null,{"className":"flex scroll-m-28 flex-row items-center gap-2","id":"supervisors","children":[["$","a",null,{"data-card":"","href":"#supervisors","className":"peer","children":"Supervisors"}],["$","svg",null,{"ref":"$undefined","xmlns":"http://www.w3.org/2000/svg","width":24,"height":24,"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":2,"strokeLinecap":"round","strokeLinejoin":"round","className":"lucide size-3.5 shrink-0 text-fd-muted-foreground opacity-0 transition-opacity peer-hover:opacity-100","aria-label":"Link to section","children":[[["$","path","1cjeqo",{"d":"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"}],["$","path","19qd67",{"d":"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"}]],"$undefined"]}]]}]
|
|
75
|
+
48:["$","p",null,{"children":["A supervisor uses ",["$","code",null,{"children":"CUE_URL"}],", ",["$","code",null,{"children":"https://<EDGE_NAME>:3443"}],". It derives Redis (",["$","code",null,{"children":"rediss://<host>:6380"}],"), ClickHouse (",["$","code",null,{"children":"https://<host>:8443"}],"), transient files (",["$","code",null,{"children":"https://<host>:9443"}],", region ",["$","code",null,{"children":"us-east-1"}],", bucket ",["$","code",null,{"children":"transient"}],"), enrollment (",["$","code",null,{"children":"https://<host>:4443"}],"), zot (",["$","code",null,{"children":"https://<host>:7443"}],"), and Verdaccio (",["$","code",null,{"children":"https://<host>:4873"}],") from that host."]}]
|
|
76
|
+
49:["$","p",null,{"children":["Add the supervisor address on ",["$","code",null,{"children":"/account/edge"}]," before you start it. Otherwise its enrollment request does not reach the orchestrator. Once the list has an address, the console site uses it too, so the CA download below needs that address as well. The facade ports are limited to the ",["$","code",null,{"children":"SSH_CLIENT"}]," address recorded at deploy, so a supervisor on another address also needs those ports allowed for it. Enrollment on port 4443 uses server TLS only. The supervisor prints a code and polls. A person approves that code on the Supervisors page."]}]
|
|
77
|
+
4a:["$","p",null,{"children":["The console is already on Let's Encrypt. It serves the orchestrator CA at ",["$","code",null,{"children":"https://<console-host>/enrollments/ca"}],". Caddy on that site proxies the exact path to the orchestrator. Port 4443 stays on the private certificate and does not serve this path."]}]
|
|
78
|
+
4b:["$","p",null,{"children":[["$","code",null,{"children":"cue deploy-supervisor"}]," installs that supervisor on Ubuntu or Debian. It does not run on macOS. It uses ",["$","code",null,{"children":"ssh"}]," and ",["$","code",null,{"children":"scp"}],". It does not clone a repository, and it does not build on the host. It does not read or write a ",["$","code",null,{"children":"package.json"}],", and it does not copy a checkout. ",["$","code",null,{"children":"cue.organization"}]," stays on the orchestrator, when a package revision is registered."]}]
|
|
79
|
+
4c:["$","$L60",null,{"className":"shiki shiki-themes github-light github-dark","style":{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},"tabIndex":"0","icon":"<svg viewBox=\"0 0 24 24\"><path d=\"m 4,4 a 1,1 0 0 0 -0.7070312,0.2929687 1,1 0 0 0 0,1.4140625 L 8.5859375,11 3.2929688,16.292969 a 1,1 0 0 0 0,1.414062 1,1 0 0 0 1.4140624,0 l 5.9999998,-6 a 1.0001,1.0001 0 0 0 0,-1.414062 L 4.7070312,4.2929687 A 1,1 0 0 0 4,4 Z m 8,14 a 1,1 0 0 0 -1,1 1,1 0 0 0 1,1 h 8 a 1,1 0 0 0 1,-1 1,1 0 0 0 -1,-1 z\" fill=\"currentColor\" /></svg>","children":["$","$L61",null,{"children":["$","code",null,{"children":["$","span",null,{"className":"line","children":[["$","span",null,{"style":{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"},"children":"cue"}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":" deploy-supervisor"}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":" user@host"}],["$","span",null,{"style":{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"},"children":" --organization"}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":" minea"}],["$","span",null,{"style":{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"},"children":" --cue-url"}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":" https://edge.example.com:3443"}],["$","span",null,{"style":{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"},"children":" --console-url"}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":" https://console.example.com"}],["$","span",null,{"style":{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"},"children":" --environment"}],["$","span",null,{"style":{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"},"children":" prod"}]]}]}]}]}]
|
|
80
|
+
4d:["$","p",null,{"children":[["$","code",null,{"children":"--organization"}],", ",["$","code",null,{"children":"--cue-url"}],", and ",["$","code",null,{"children":"--environment"}]," are required. One of ",["$","code",null,{"children":"--ca"}]," or ",["$","code",null,{"children":"--console-url"}]," is required. ",["$","code",null,{"children":"--organization"}],", ",["$","code",null,{"children":"--environment"}],", and ",["$","code",null,{"children":"--worker"}]," are lowercase letters, digits, and hyphens. ",["$","code",null,{"children":"--cue-url"}]," is an https URL. ",["$","code",null,{"children":"--console-url"}]," is an https origin with no path, query, or hash. A trailing slash and the default port are dropped. It is stored as ",["$","code",null,{"children":"CUE_CONSOLE_URL"}],". ",["$","code",null,{"children":"--ca"}]," is a local file, copied to the host as the orchestrator authority. Both may be passed: the file is copied and the URL is stored. ",["$","code",null,{"children":"--mode"}]," is ",["$","code",null,{"children":"container"}]," or ",["$","code",null,{"children":"process"}],". The default is ",["$","code",null,{"children":"container"}],". ",["$","code",null,{"children":"--kinds"}],", ",["$","code",null,{"children":"--not-kinds"}],", ",["$","code",null,{"children":"--runtimes"}],", and ",["$","code",null,{"children":"--not-runtimes"}]," select the kinds this host accepts. ",["$","code",null,{"children":"--env-file"}]," is an optional local file copied onto the host. The service passes that path to the supervisor. It never passes ",["$","code",null,{"children":"--source"}],"."]}]
|
|
81
|
+
4e:["$","p",null,{"children":["When ",["$","code",null,{"children":"CUE_CONSOLE_URL"}]," is set and ",["$","code",null,{"children":"ca.crt"}]," is absent, the supervisor downloads that PEM before it enrolls, using the public trust store. It writes the file mode ",["$","code",null,{"children":"0644"}]," and uses it for enrollment. A ",["$","code",null,{"children":"CUE_CONSOLE_URL"}]," that is not an https origin, a failed download, a status other than 200, or a body without a certificate stops the supervisor before any enrollment request. An existing ",["$","code",null,{"children":"ca.crt"}]," is kept. The approval response must still match that pinned authority."]}]
|
|
82
|
+
4f:["$","p",null,{"children":["The environment secret comes from ",["$","code",null,{"children":"CUE_ENVIRONMENT_SECRET"}],". If it is missing, the command prompts for it. The prompt does not echo, and it needs a terminal. Without ",["$","code",null,{"children":"--worker"}],", the worker name is the remote hostname, with every other character turned into a hyphen."]}]
|
|
83
|
+
50:["$","p",null,{"children":["Before the install, the command reads the VPS egress address from the host route and prints it. Add that address on ",["$","code",null,{"children":"/account/edge"}],", and allow it on the orchestrator facade ports 3443, 4443, 6380, 8443, 9443, 7443, and 4873. The command does not connect to the orchestrator."]}]
|
|
84
|
+
51:["$","p",null,{"children":["On the host, a system Node.js that is already version 22 or newer stays. Otherwise the script extracts the official Node 22 archive into ",["$","code",null,{"children":"/usr/local"}],". It does not use nvm. Docker Engine and the Compose plugin stay when ",["$","code",null,{"children":"docker compose"}]," already answers. Otherwise they are installed from the Docker apt repository, and Docker is enabled. The system user ",["$","code",null,{"children":"cue"}]," is created when missing, in the ",["$","code",null,{"children":"docker"}]," group, with home ",["$","code",null,{"children":"/var/lib/cue-supervisor"}],". The script installs ",["$","code",null,{"children":"@ascentstudio/cue-supervisor"}]," at the SDK version."]}]
|
|
85
|
+
52:["$","p",null,{"children":[["$","code",null,{"children":"supervisor.env"}]," is mode ",["$","code",null,{"children":"0600"}],". It sets ",["$","code",null,{"children":"WORKER_ORGANIZATION"}],", ",["$","code",null,{"children":"CUE_URL"}],", ",["$","code",null,{"children":"CUE_CONSOLE_URL"}]," when ",["$","code",null,{"children":"--console-url"}]," is passed, ",["$","code",null,{"children":"CUE_ENVIRONMENT_SECRET"}],", ",["$","code",null,{"children":"CUE_ENVIRONMENT_NAME"}],", ",["$","code",null,{"children":"WORKER_NAME"}],", ",["$","code",null,{"children":"SUPERVISOR_CERT_DIR=/var/lib/cue-data/supervisor"}],", and ",["$","code",null,{"children":"ORCH_REVISION_CACHE=/var/lib/cue-supervisor/revisions"}],". No ",["$","code",null,{"children":"package.json"}]," is placed in ",["$","code",null,{"children":"/var/lib/cue-supervisor"}],". The supervisor enrolls as ",["$","code",null,{"children":"organization/environment/host"}],", using ",["$","code",null,{"children":"WORKER_ORGANIZATION"}]," because that directory has no checkout. After enrollment, ",["$","code",null,{"children":"fetchWorkerEnvironment"}]," still checks that the secret matches that organization and environment. The pinned revision is downloaded into the revision cache. Process mode does not treat the install directory as source. Container mode starts the images of that revision. Process mode starts ",["$","code",null,{"children":"worker"}]," from that revision. A ",["$","code",null,{"children":"cue dev"}]," inside a checkout still uses that checkout."]}]
|
|
86
|
+
53:["$","p",null,{"children":["The firewall step runs before the service starts. The script installs ",["$","code",null,{"children":"ufw"}]," when it is missing, allows the server port from ",["$","code",null,{"children":"SSH_CONNECTION"}],", and denies other incoming traffic. It does not open the facade ports. The supervisor is a client. If that port cannot be read, the script does not enable the firewall, and it exits, so the SSH session is not cut off. The unit is ",["$","code",null,{"children":"cue-supervisor.service"}],", with ",["$","code",null,{"children":"Restart=always"}]," and ",["$","code",null,{"children":"WantedBy=multi-user.target"}],". A second run rewrites the unit and restarts the service."]}]
|
|
87
|
+
54:["$","p",null,{"children":["After the service starts, the command follows ",["$","code",null,{"children":"journalctl -u cue-supervisor -o cat"}]," from that start. It prints the enrollment code, the waiting line when the orchestrator is unreachable, approval, denial, expiry, and a certificate that is already valid. It exits when the certificate is in place, approved, denied, or expired. Ctrl-C stops that relay and leaves the service running."]}]
|
|
88
|
+
55:["$","h2",null,{"className":"flex scroll-m-28 flex-row items-center gap-2","id":"backup","children":[["$","a",null,{"data-card":"","href":"#backup","className":"peer","children":"Backup"}],["$","svg",null,{"ref":"$undefined","xmlns":"http://www.w3.org/2000/svg","width":24,"height":24,"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":2,"strokeLinecap":"round","strokeLinejoin":"round","className":"lucide size-3.5 shrink-0 text-fd-muted-foreground opacity-0 transition-opacity peer-hover:opacity-100","aria-label":"Link to section","children":[[["$","path","1cjeqo",{"d":"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"}],["$","path","19qd67",{"d":"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"}]],"$undefined"]}]]}]
|
|
89
|
+
56:["$","p",null,{"children":["A backup container on the platform network waits until 03:00 UTC, runs the backup, and repeats that wait. The first backup and every later backup run at 03:00 UTC. It has no published port. It uses ",["$","code",null,{"children":"ascentstudio/cue-backup:<version>"}],"."]}]
|
|
90
|
+
57:["$","p",null,{"children":["The container dumps Postgres with ",["$","code",null,{"children":"pg_dump -Fc"}]," to ",["$","code",null,{"children":"db:5432"}],", with the database password, not through host port 54322. It writes the ClickHouse metrics to a file and copies the certificate directory. It encrypts those files with ",["$","code",null,{"children":"age"}],", using the operator's public key, and stores them in the S3 bucket under the prefix ",["$","code",null,{"children":"cue-backups"}],". Retention is 30 days. The S3 credentials on the server can only write to that prefix."]}]
|
|
91
|
+
58:["$","p",null,{"children":["The age private key stays on the operator machine, at ",["$","code",null,{"children":"~/.config/cue/age.key"}],", mode ",["$","code",null,{"children":"0600"}],". It is not on the server."]}]
|
|
92
|
+
59:["$","p",null,{"children":"Redis is not backed up."}]
|
|
93
|
+
5a:["$","h2",null,{"className":"flex scroll-m-28 flex-row items-center gap-2","id":"restore","children":[["$","a",null,{"data-card":"","href":"#restore","className":"peer","children":"Restore"}],["$","svg",null,{"ref":"$undefined","xmlns":"http://www.w3.org/2000/svg","width":24,"height":24,"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":2,"strokeLinecap":"round","strokeLinejoin":"round","className":"lucide size-3.5 shrink-0 text-fd-muted-foreground opacity-0 transition-opacity peer-hover:opacity-100","aria-label":"Link to section","children":[[["$","path","1cjeqo",{"d":"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"}],["$","path","19qd67",{"d":"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"}]],"$undefined"]}]]}]
|
|
94
|
+
5b:["$","p",null,{"children":["Decrypt a backup on the operator machine with the age private key at ",["$","code",null,{"children":"~/.config/cue/age.key"}],". Restore Postgres from the dump, restore the ClickHouse metrics, and restore the certificate directory."]}]
|
|
95
|
+
5c:["$","p",null,{"children":"Redis is not in the backup. After a Postgres restore, flush Redis. Jobs left in Redis would run again after Postgres already applied them."}]
|
|
96
|
+
5d:["$","div",null,{"className":"flex flex-row flex-wrap items-center justify-between gap-4 empty:hidden","children":["$undefined","$undefined"]}]
|
|
97
|
+
5e:["$","$L62",null,{"items":"$undefined"}]
|
|
98
|
+
5f:["$","$L63",null,{"children":["$undefined",["$","h3",null,{"className":"inline-flex items-center gap-1.5 text-sm text-fd-muted-foreground","children":[["$","svg",null,{"ref":"$undefined","xmlns":"http://www.w3.org/2000/svg","width":24,"height":24,"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":2,"strokeLinecap":"round","strokeLinejoin":"round","className":"lucide size-4","children":[[["$","path","olowqp",{"d":"M15 18H3"}],["$","path","16j9eg",{"d":"M17 6H3"}],["$","path","2avoz0",{"d":"M21 12H3"}]],"$undefined"]}],["$","$L64",null,{"label":"toc"}]]}],["$","$L2a",null,{"children":["$","$L2b",null,{}]}],"$undefined"]}]
|
|
90
99
|
22:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
|
|
91
100
|
1e:null
|
|
92
101
|
20:{"metadata":[["$","title","0",{"children":"Server"}]],"error":null,"digest":"$undefined"}
|