@ascentstudio/cue-docs 0.0.0-stage → 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -0
- package/.next/app-build-manifest.json +48 -0
- package/.next/app-path-routes-manifest.json +5 -0
- package/.next/build-manifest.json +33 -0
- package/.next/diagnostics/build-diagnostics.json +6 -0
- package/.next/diagnostics/framework.json +1 -0
- package/.next/export-marker.json +6 -0
- package/.next/images-manifest.json +58 -0
- package/.next/next-minimal-server.js.nft.json +1 -0
- package/.next/next-server.js.nft.json +1 -0
- package/.next/package.json +1 -0
- package/.next/prerender-manifest.json +1119 -0
- package/.next/react-loadable-manifest.json +40 -0
- package/.next/required-server-files.json +334 -0
- package/.next/routes-manifest.json +62 -0
- package/.next/server/app/_not-found/page.js +2 -0
- package/.next/server/app/_not-found/page.js.nft.json +1 -0
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -0
- package/.next/server/app/_not-found.html +1 -0
- package/.next/server/app/_not-found.meta +16 -0
- package/.next/server/app/_not-found.rsc +16 -0
- package/.next/server/app/docs/[[...slug]]/page.js +2 -0
- package/.next/server/app/docs/[[...slug]]/page.js.nft.json +1 -0
- package/.next/server/app/docs/[[...slug]]/page_client-reference-manifest.js +1 -0
- package/.next/server/app/docs/adr/0001-restricted-process-function.html +2 -0
- package/.next/server/app/docs/adr/0001-restricted-process-function.meta +15 -0
- package/.next/server/app/docs/adr/0001-restricted-process-function.rsc +49 -0
- package/.next/server/app/docs/adr/0002-entity-key.html +3 -0
- package/.next/server/app/docs/adr/0002-entity-key.meta +15 -0
- package/.next/server/app/docs/adr/0002-entity-key.rsc +49 -0
- package/.next/server/app/docs/adr/0003-metrics-apart-from-the-run.html +2 -0
- package/.next/server/app/docs/adr/0003-metrics-apart-from-the-run.meta +15 -0
- package/.next/server/app/docs/adr/0003-metrics-apart-from-the-run.rsc +49 -0
- package/.next/server/app/docs/adr/0004-one-row-per-entity.html +2 -0
- package/.next/server/app/docs/adr/0004-one-row-per-entity.meta +15 -0
- package/.next/server/app/docs/adr/0004-one-row-per-entity.rsc +49 -0
- package/.next/server/app/docs/adr/0005-orchestrator-applies-results.html +3 -0
- package/.next/server/app/docs/adr/0005-orchestrator-applies-results.meta +15 -0
- package/.next/server/app/docs/adr/0005-orchestrator-applies-results.rsc +49 -0
- package/.next/server/app/docs/adr/0006-one-identity-one-entity.html +3 -0
- package/.next/server/app/docs/adr/0006-one-identity-one-entity.meta +15 -0
- package/.next/server/app/docs/adr/0006-one-identity-one-entity.rsc +49 -0
- package/.next/server/app/docs/adr/0007-historized-flow-runs.html +4 -0
- package/.next/server/app/docs/adr/0007-historized-flow-runs.meta +15 -0
- package/.next/server/app/docs/adr/0007-historized-flow-runs.rsc +49 -0
- package/.next/server/app/docs/adr/0008-guard-and-each.html +6 -0
- package/.next/server/app/docs/adr/0008-guard-and-each.meta +15 -0
- package/.next/server/app/docs/adr/0008-guard-and-each.rsc +49 -0
- package/.next/server/app/docs/adr/0009-transient-files.html +4 -0
- package/.next/server/app/docs/adr/0009-transient-files.meta +15 -0
- package/.next/server/app/docs/adr/0009-transient-files.rsc +49 -0
- package/.next/server/app/docs/adr/0010-entity-values-copied-onto-the-run.html +2 -0
- package/.next/server/app/docs/adr/0010-entity-values-copied-onto-the-run.meta +15 -0
- package/.next/server/app/docs/adr/0010-entity-values-copied-onto-the-run.rsc +49 -0
- package/.next/server/app/docs/adr/0011-a-diverged-reread-ends-the-run.html +2 -0
- package/.next/server/app/docs/adr/0011-a-diverged-reread-ends-the-run.meta +15 -0
- package/.next/server/app/docs/adr/0011-a-diverged-reread-ends-the-run.rsc +49 -0
- package/.next/server/app/docs/adr/0012-a-step-name-once-per-run.html +3 -0
- package/.next/server/app/docs/adr/0012-a-step-name-once-per-run.meta +15 -0
- package/.next/server/app/docs/adr/0012-a-step-name-once-per-run.rsc +49 -0
- package/.next/server/app/docs/adr/0013-a-run-does-not-wait-on-its-ancestor.html +3 -0
- package/.next/server/app/docs/adr/0013-a-run-does-not-wait-on-its-ancestor.meta +15 -0
- package/.next/server/app/docs/adr/0013-a-run-does-not-wait-on-its-ancestor.rsc +49 -0
- package/.next/server/app/docs/adr/0014-a-shared-child-is-claimed-before-its-run.html +2 -0
- package/.next/server/app/docs/adr/0014-a-shared-child-is-claimed-before-its-run.meta +15 -0
- package/.next/server/app/docs/adr/0014-a-shared-child-is-claimed-before-its-run.rsc +49 -0
- package/.next/server/app/docs/adr/0015-jobs-and-metrics-leave-with-the-run.html +2 -0
- package/.next/server/app/docs/adr/0015-jobs-and-metrics-leave-with-the-run.meta +15 -0
- package/.next/server/app/docs/adr/0015-jobs-and-metrics-leave-with-the-run.rsc +49 -0
- package/.next/server/app/docs/adr/0016-one-writer-per-organization.html +5 -0
- package/.next/server/app/docs/adr/0016-one-writer-per-organization.meta +15 -0
- package/.next/server/app/docs/adr/0016-one-writer-per-organization.rsc +49 -0
- package/.next/server/app/docs/adr/0017-group-judgment.html +5 -0
- package/.next/server/app/docs/adr/0017-group-judgment.meta +15 -0
- package/.next/server/app/docs/adr/0017-group-judgment.rsc +49 -0
- package/.next/server/app/docs/adr/0018-replay-copies-files.html +3 -0
- package/.next/server/app/docs/adr/0018-replay-copies-files.meta +15 -0
- package/.next/server/app/docs/adr/0018-replay-copies-files.rsc +49 -0
- package/.next/server/app/docs/adr/0019-typed-body.html +5 -0
- package/.next/server/app/docs/adr/0019-typed-body.meta +15 -0
- package/.next/server/app/docs/adr/0019-typed-body.rsc +49 -0
- package/.next/server/app/docs/adr/0020-rule-on-each-opening.html +5 -0
- package/.next/server/app/docs/adr/0020-rule-on-each-opening.meta +15 -0
- package/.next/server/app/docs/adr/0020-rule-on-each-opening.rsc +49 -0
- package/.next/server/app/docs/adr/0021-optional-children.html +5 -0
- package/.next/server/app/docs/adr/0021-optional-children.meta +15 -0
- package/.next/server/app/docs/adr/0021-optional-children.rsc +49 -0
- package/.next/server/app/docs/adr/0022-optional-quota.html +6 -0
- package/.next/server/app/docs/adr/0022-optional-quota.meta +15 -0
- package/.next/server/app/docs/adr/0022-optional-quota.rsc +52 -0
- package/.next/server/app/docs/adr/0023-sealed-report-returns.html +4 -0
- package/.next/server/app/docs/adr/0023-sealed-report-returns.meta +15 -0
- package/.next/server/app/docs/adr/0023-sealed-report-returns.rsc +49 -0
- package/.next/server/app/docs/adr/0024-one-silence-per-opening.html +4 -0
- package/.next/server/app/docs/adr/0024-one-silence-per-opening.meta +15 -0
- package/.next/server/app/docs/adr/0024-one-silence-per-opening.rsc +49 -0
- package/.next/server/app/docs/adr/0025-environment-variables.html +3 -0
- package/.next/server/app/docs/adr/0025-environment-variables.meta +15 -0
- package/.next/server/app/docs/adr/0025-environment-variables.rsc +49 -0
- package/.next/server/app/docs/adr/0026-runtime-revision-excludes-platform-and-device.html +2 -0
- package/.next/server/app/docs/adr/0026-runtime-revision-excludes-platform-and-device.meta +15 -0
- package/.next/server/app/docs/adr/0026-runtime-revision-excludes-platform-and-device.rsc +49 -0
- package/.next/server/app/docs/adr/0027-one-router-consumes-a-slot.html +4 -0
- package/.next/server/app/docs/adr/0027-one-router-consumes-a-slot.meta +15 -0
- package/.next/server/app/docs/adr/0027-one-router-consumes-a-slot.rsc +54 -0
- package/.next/server/app/docs/adr/0028-caddy-desktop-placement.html +3 -0
- package/.next/server/app/docs/adr/0028-caddy-desktop-placement.meta +15 -0
- package/.next/server/app/docs/adr/0028-caddy-desktop-placement.rsc +49 -0
- package/.next/server/app/docs/adr/0029-registry-client-or-login.html +3 -0
- package/.next/server/app/docs/adr/0029-registry-client-or-login.meta +15 -0
- package/.next/server/app/docs/adr/0029-registry-client-or-login.rsc +49 -0
- package/.next/server/app/docs/adr/0030-organization-code-outside-the-repository.html +2 -0
- package/.next/server/app/docs/adr/0030-organization-code-outside-the-repository.meta +15 -0
- package/.next/server/app/docs/adr/0030-organization-code-outside-the-repository.rsc +49 -0
- package/.next/server/app/docs/adr/0031-environment-reload.html +3 -0
- package/.next/server/app/docs/adr/0031-environment-reload.meta +15 -0
- package/.next/server/app/docs/adr/0031-environment-reload.rsc +49 -0
- package/.next/server/app/docs/adr/0032-an-orchestrator-fault-stops-the-run.html +3 -0
- package/.next/server/app/docs/adr/0032-an-orchestrator-fault-stops-the-run.meta +15 -0
- package/.next/server/app/docs/adr/0032-an-orchestrator-fault-stops-the-run.rsc +49 -0
- package/.next/server/app/docs/adr/0033-one-rule-for-children.html +4 -0
- package/.next/server/app/docs/adr/0033-one-rule-for-children.meta +15 -0
- package/.next/server/app/docs/adr/0033-one-rule-for-children.rsc +54 -0
- package/.next/server/app/docs/agents/domain.html +36 -0
- package/.next/server/app/docs/agents/domain.meta +15 -0
- package/.next/server/app/docs/agents/domain.rsc +66 -0
- package/.next/server/app/docs/engine.html +41 -0
- package/.next/server/app/docs/engine.meta +15 -0
- package/.next/server/app/docs/engine.rsc +90 -0
- package/.next/server/app/docs/fixture.html +33 -0
- package/.next/server/app/docs/fixture.meta +15 -0
- package/.next/server/app/docs/fixture.rsc +82 -0
- package/.next/server/app/docs/install.html +152 -0
- package/.next/server/app/docs/install.meta +15 -0
- package/.next/server/app/docs/install.rsc +156 -0
- package/.next/server/app/docs/server.html +51 -0
- package/.next/server/app/docs/server.meta +15 -0
- package/.next/server/app/docs/server.rsc +93 -0
- package/.next/server/app/docs/usage/actions.html +17 -0
- package/.next/server/app/docs/usage/actions.meta +15 -0
- package/.next/server/app/docs/usage/actions.rsc +63 -0
- package/.next/server/app/docs/usage/drivers.html +19 -0
- package/.next/server/app/docs/usage/drivers.meta +15 -0
- package/.next/server/app/docs/usage/drivers.rsc +64 -0
- package/.next/server/app/docs/usage/flow.html +72 -0
- package/.next/server/app/docs/usage/flow.meta +15 -0
- package/.next/server/app/docs/usage/flow.rsc +108 -0
- package/.next/server/app/docs/usage/kinds.html +41 -0
- package/.next/server/app/docs/usage/kinds.meta +15 -0
- package/.next/server/app/docs/usage/kinds.rsc +99 -0
- package/.next/server/app/docs.html +15 -0
- package/.next/server/app/docs.meta +15 -0
- package/.next/server/app/docs.rsc +59 -0
- package/.next/server/app/index.html +1 -0
- package/.next/server/app/index.meta +17 -0
- package/.next/server/app/index.rsc +17 -0
- package/.next/server/app/page.js +2 -0
- package/.next/server/app/page.js.nft.json +1 -0
- package/.next/server/app/page_client-reference-manifest.js +1 -0
- package/.next/server/app-paths-manifest.json +5 -0
- package/.next/server/chunks/125.js +1 -0
- package/.next/server/chunks/135.js +1 -0
- package/.next/server/chunks/172.js +1 -0
- package/.next/server/chunks/341.js +32 -0
- package/.next/server/chunks/345.js +1 -0
- package/.next/server/chunks/711.js +1 -0
- package/.next/server/chunks/775.js +6 -0
- package/.next/server/chunks/815.js +1 -0
- package/.next/server/chunks/861.js +1 -0
- package/.next/server/chunks/978.js +10 -0
- package/.next/server/functions-config-manifest.json +4 -0
- package/.next/server/interception-route-rewrite-manifest.js +1 -0
- package/.next/server/middleware-build-manifest.js +1 -0
- package/.next/server/middleware-manifest.json +6 -0
- package/.next/server/middleware-react-loadable-manifest.js +1 -0
- package/.next/server/next-font-manifest.js +1 -0
- package/.next/server/next-font-manifest.json +1 -0
- package/.next/server/pages/404.html +1 -0
- package/.next/server/pages/500.html +1 -0
- package/.next/server/pages/_app.js +1 -0
- package/.next/server/pages/_app.js.nft.json +1 -0
- package/.next/server/pages/_document.js +1 -0
- package/.next/server/pages/_document.js.nft.json +1 -0
- package/.next/server/pages/_error.js +19 -0
- package/.next/server/pages/_error.js.nft.json +1 -0
- package/.next/server/pages-manifest.json +6 -0
- package/.next/server/server-reference-manifest.js +1 -0
- package/.next/server/server-reference-manifest.json +1 -0
- package/.next/server/webpack-runtime.js +1 -0
- package/.next/static/VScWPzAjqUFli6D-YLQTw/_buildManifest.js +1 -0
- package/.next/static/VScWPzAjqUFli6D-YLQTw/_ssgManifest.js +1 -0
- package/.next/static/chunks/207.798586c31686e1cf.js +1 -0
- package/.next/static/chunks/215.40efae344af605cd.js +1 -0
- package/.next/static/chunks/31.9077630d88415c9c.js +1 -0
- package/.next/static/chunks/392-1442f884e5f4da76.js +1 -0
- package/.next/static/chunks/431-9190bbb8a69a0c11.js +1 -0
- package/.next/static/chunks/582-a2bbe93ce1d4f2d2.js +1 -0
- package/.next/static/chunks/6-95f9f7f8524a131c.js +1 -0
- package/.next/static/chunks/68d6572c-a62f2c632aca1968.js +1 -0
- package/.next/static/chunks/763-929f6742d84aa5b0.js +1 -0
- package/.next/static/chunks/778.b25f7e15950fdd30.js +1 -0
- package/.next/static/chunks/799-3e7b26a124d7b62f.js +1 -0
- package/.next/static/chunks/802.d30c7172929d54b0.js +1 -0
- package/.next/static/chunks/841-d77ed67838a2d05f.js +1 -0
- package/.next/static/chunks/966.ea9d2469eddcf303.js +10 -0
- package/.next/static/chunks/app/_not-found/page-309f3bbdb3e51bb0.js +1 -0
- package/.next/static/chunks/app/docs/[[...slug]]/page-99dd5f5cdb48d4d8.js +1 -0
- package/.next/static/chunks/app/docs/layout-c6dbee584f1de72b.js +1 -0
- package/.next/static/chunks/app/layout-9561d9b665946ae8.js +1 -0
- package/.next/static/chunks/app/page-c52be5c4cc824a72.js +1 -0
- package/.next/static/chunks/framework-205dff0119145eb3.js +1 -0
- package/.next/static/chunks/main-44ed2d34c49b84d9.js +1 -0
- package/.next/static/chunks/main-app-cdfb07e49bd115c3.js +1 -0
- package/.next/static/chunks/pages/_app-fbffd75f4aa2cb5b.js +1 -0
- package/.next/static/chunks/pages/_error-5a7c5aab6313157b.js +1 -0
- package/.next/static/chunks/polyfills-42372ed130431b0a.js +1 -0
- package/.next/static/chunks/webpack-61a9536d6463a95b.js +1 -0
- package/.next/static/css/4126bc63349478de.css +1 -0
- package/.next/trace +15 -0
- package/.next/types/app/docs/[[...slug]]/page.ts +84 -0
- package/.next/types/app/docs/layout.ts +84 -0
- package/.next/types/app/layout.ts +84 -0
- package/.next/types/app/page.ts +84 -0
- package/.next/types/cache-life.d.ts +141 -0
- package/.next/types/package.json +1 -0
- package/.next/types/routes.d.ts +60 -0
- package/.next/types/validator.ts +79 -0
- package/bin/docs.mjs +35 -0
- package/next.config.mjs +6 -0
- package/package.json +20 -4
- package/README.md +0 -3
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
1:"$Sreact.fragment"
|
|
2
|
+
2:I[2392,["392","static/chunks/392-1442f884e5f4da76.js","177","static/chunks/app/layout-9561d9b665946ae8.js"],"RootProvider"]
|
|
3
|
+
3:I[3985,[],""]
|
|
4
|
+
4:I[5989,[],""]
|
|
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
|
+
a:I[8083,[],""]
|
|
7
|
+
:HL["/_next/static/css/4126bc63349478de.css","style"]
|
|
8
|
+
0:{"P":null,"b":"VScWPzAjqUFli6D-YLQTw","p":"","c":["","docs","usage","actions"],"i":false,"f":[[["",{"children":["docs",{"children":[["slug","usage/actions","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","usage/actions","oc"],"$L7",{"children":["__PAGE__","$L8",{},null,false]},null,false]},null,false]},null,false],"$L9",false]],"m":"$undefined","G":["$a",[]],"s":false,"S":true}
|
|
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
|
+
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
|
+
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"]
|
|
12
|
+
e:I[3222,["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"],"SearchToggle"]
|
|
13
|
+
f:I[637,["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"],"SidebarTrigger"]
|
|
14
|
+
10: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"],"LayoutBody"]
|
|
15
|
+
11:I[637,["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"],"Sidebar"]
|
|
16
|
+
12:I[637,["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"],"SidebarContentMobile"]
|
|
17
|
+
13:I[637,["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"],"SidebarHeader"]
|
|
18
|
+
14:I[5599,["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"],"ThemeToggle"]
|
|
19
|
+
15:I[637,["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"],"SidebarViewport"]
|
|
20
|
+
16:I[637,["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"],"SidebarPageTree"]
|
|
21
|
+
17:I[637,["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"],"SidebarFooter"]
|
|
22
|
+
18: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"],"CollapsibleControl"]
|
|
23
|
+
19:I[637,["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"],"SidebarContent"]
|
|
24
|
+
1a:I[637,["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"],"SidebarCollapseTrigger"]
|
|
25
|
+
1b:I[3222,["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"],"LargeSearchToggle"]
|
|
26
|
+
1d:I[1204,[],"OutletBoundary"]
|
|
27
|
+
1f:I[5197,[],"AsyncMetadataOutlet"]
|
|
28
|
+
21:I[1204,[],"ViewportBoundary"]
|
|
29
|
+
23:I[1204,[],"MetadataBoundary"]
|
|
30
|
+
24:"$Sreact.suspense"
|
|
31
|
+
6:["$","$Lb",null,{"transparentMode":"$undefined","children":[["$","$Lc",null,{"className":"h-(--fd-nav-height) on-root:[--fd-nav-height:56px] md:on-root:[--fd-nav-height:0px] md:hidden","children":[["$","$Ld",null,{"href":"/","className":"inline-flex items-center gap-2.5 font-semibold","children":"Cue"}],["$","div",null,{"className":"flex-1","children":"$undefined"}],["$","$Le",null,{"className":"p-2","hideIfDisabled":true}],["$","$Lf",null,{"className":"inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors duration-100 disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fd-ring hover:bg-fd-accent hover:text-fd-accent-foreground [&_svg]:size-4.5 p-2","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","children":[[["$","rect","afitv7",{"width":"18","height":"18","x":"3","y":"3","rx":"2"}],["$","path","fh3hqa",{"d":"M9 3v18"}]],"$undefined"]}]}]]}],["$","$L10",null,{"className":"md:[&_#nd-page_article]:pt-12 xl:[--fd-toc-width:286px] xl:[&_#nd-page_article]:px-8 md:[--fd-sidebar-width:268px] lg:[--fd-sidebar-width:286px]","children":[["$","$L11",null,{"defaultOpenLevel":"$undefined","prefetch":"$undefined","Mobile":["$","$L12",null,{"children":[["$","$L13",null,{"children":[["$","div",null,{"className":"flex text-fd-muted-foreground items-center gap-1.5","children":[["$","div",null,{"className":"flex flex-1","children":[]}],null,["$","$L14",null,{"className":"p-0","mode":"$undefined"}],["$","$Lf",null,{"className":"inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors duration-100 disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fd-ring hover:bg-fd-accent hover:text-fd-accent-foreground [&_svg]:size-4.5 p-2","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","children":[[["$","rect","afitv7",{"width":"18","height":"18","x":"3","y":"3","rx":"2"}],["$","path","fh3hqa",{"d":"M9 3v18"}]],"$undefined"]}]}]]}],false,"$undefined"]}],["$","$L15",null,{"children":[[],["$","$L16",null,{"components":"$undefined"}]]}],["$","$L17",null,{"className":"empty:hidden","children":"$undefined"}]]}],"Content":[["$","$L18",null,{}],["$","$L19",null,{"children":[["$","$L13",null,{"children":[["$","div",null,{"className":"flex","children":[["$","$Ld",null,{"href":"/","className":"inline-flex text-[15px] items-center gap-2.5 font-medium me-auto","children":"Cue"}],"$undefined",["$","$L1a",null,{"className":"inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors duration-100 disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fd-ring hover:bg-fd-accent hover:text-fd-accent-foreground p-1.5 [&_svg]:size-4.5 mb-auto 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","children":[[["$","rect","afitv7",{"width":"18","height":"18","x":"3","y":"3","rx":"2"}],["$","path","fh3hqa",{"d":"M9 3v18"}]],"$undefined"]}]}]]}],["$","$L1b",null,{"hideIfDisabled":true}],false,"$undefined"]}],"$6:props:children:1:props:children:0:props:Mobile:props:children:1",["$","$L17",null,{"children":[["$","div",null,{"className":"flex text-fd-muted-foreground items-center empty:hidden","children":[false,[],["$","$L14",null,{"className":"ms-auto p-0","mode":"$undefined"}]]}],"$undefined"]}]]}]]}],false,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}]]}]
|
|
32
|
+
7:["$","$1","c",{"children":[null,["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}]
|
|
33
|
+
8:["$","$1","c",{"children":["$L1c",null,["$","$L1d",null,{"children":["$L1e",["$","$L1f",null,{"promise":"$@20"}]]}]]}]
|
|
34
|
+
9:["$","$1","h",{"children":[null,[["$","$L21",null,{"children":"$L22"}],null],["$","$L23",null,{"children":["$","div",null,{"hidden":true,"children":["$","$24",null,{"fallback":null,"children":"$L25"}]}]}]]}]
|
|
35
|
+
26: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"],"TOCProvider"]
|
|
36
|
+
27: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"],"PageTOCPopover"]
|
|
37
|
+
28: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"],"PageTOCPopoverTrigger"]
|
|
38
|
+
29: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"],"PageTOCPopoverContent"]
|
|
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
|
+
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
|
+
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":"#why","title":"Why"},{"depth":2,"url":"#who","title":"Who"},{"depth":2,"url":"#how","title":"How"},{"depth":3,"url":"#replay","title":"Replay"},{"depth":3,"url":"#resend-and-probe","title":"Resend and probe"},{"depth":3,"url":"#cancel-and-validity","title":"Cancel and validity"}],"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":"Actions","className":"text-[1.75em] font-semibold"}],["$","div",null,{"ref":"$undefined","children":[["$","h2",null,{"className":"flex scroll-m-28 flex-row items-center gap-2","id":"why","children":[["$","a",null,{"data-card":"","href":"#why","className":"peer","children":"Why"}],["$","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":["A person can open the first entity of a flow, replay a flow, replay from a step, resend a job, run a step without applying its result, cancel a run or an open step, and end a validity. The first opening is that request. ",["$","code",null,{"children":"request"}]," still waits when a run is already open, and still returns the recorded result inside the validity duration."]}],"\n",["$","h2",null,{"className":"flex scroll-m-28 flex-row items-center gap-2","id":"who","children":[["$","a",null,{"data-card":"","href":"#who","className":"peer","children":"Who"}],["$","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":["You use these actions from the entity page. The buttons are on ",["$","code",null,{"children":"EntityView"}]," in ",["$","code",null,{"children":"apps/console/src/design/views.tsx"}],". The page posts them through ",["$","code",null,{"children":"apps/console/src/app/entities/[...entityId]/actions.ts"}],"."]}],"\n",["$","h2",null,{"className":"flex scroll-m-28 flex-row items-center gap-2","id":"how","children":[["$","a",null,{"data-card":"","href":"#how","className":"peer","children":"How"}],["$","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":"ReadController"}]," matches ",["$","code",null,{"children":"POST /entities/..."}]," in ",["$","code",null,{"children":"apps/orchestrator/src/nest/read.controller.ts"}]," and calls ",["$","code",null,{"children":"runEntityAction"}],". A taken action responds ",["$","code",null,{"children":"204"}],". A run that is already open, or an action the state does not allow, responds ",["$","code",null,{"children":"409"}],". An unknown entity responds ",["$","code",null,{"children":"404"}],"."]}],"\n","$L2d","\n","$L2e","\n","$L2f","\n","$L30","\n","$L31","\n","$L32","\n","$L33","\n","$L34","\n","$L35","\n","$L36","\n","$L37"],"className":"prose flex-1"}]],"$L38","$L39"],"className":"flex min-w-0 w-full flex-col gap-4 pt-8 px-4 md:px-6 md:mx-auto"}],"$L3a"]}]}]
|
|
43
|
+
3b: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"]
|
|
44
|
+
3c: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"]
|
|
45
|
+
3d: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"]
|
|
46
|
+
2d:["$","h3",null,{"className":"flex scroll-m-28 flex-row items-center gap-2","id":"replay","children":[["$","a",null,{"data-card":"","href":"#replay","className":"peer","children":"Replay"}],["$","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"]}]]}]
|
|
47
|
+
2e:["$","p",null,{"children":[["$","code",null,{"children":"replay"}]," in ",["$","code",null,{"children":"packages/engine/src/engine.ts"}]," returns ",["$","code",null,{"children":"waiting"}]," and no job while the run is running. Otherwise it calls ",["$","code",null,{"children":"begin"}]," with the stored starting data, the flow rule, and the payload from the dialog when one was sent. Validity is ignored. The generation increases and the tree is replaced."]}]
|
|
48
|
+
2f:["$","p",null,{"children":[["$","code",null,{"children":"replayFrom"}]," keeps the operations before the chosen step and removes that step and everything after it, including inside a group or a taken arm. A cut group is not sealed. ",["$","code",null,{"children":"drive"}]," opens the step again. A result for a step that is no longer in the tree is ignored."]}]
|
|
49
|
+
30:["$","h3",null,{"className":"flex scroll-m-28 flex-row items-center gap-2","id":"resend-and-probe","children":[["$","a",null,{"data-card":"","href":"#resend-and-probe","className":"peer","children":"Resend and probe"}],["$","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"]}]]}]
|
|
50
|
+
31:["$","p",null,{"children":[["$","code",null,{"children":"resend"}]," is the same step as the silence duration, taken now. ",["$","code",null,{"children":"resendCount"}]," increases, a job is sent, and at the resend maximum the step result is not finished."]}]
|
|
51
|
+
32:["$","p",null,{"children":[["$","code",null,{"children":"probe"}]," on the service assigns a dispatch slot ",["$","code",null,{"children":"entity/step/probe"}],", so the live job's packet stays. That packet carries the generation and ",["$","code",null,{"children":"apply: false"}],". The worker copies both onto the result. The job stays an organization, an entity, a step, and a token. ",["$","code",null,{"children":"applyResult"}]," stores that result with ",["$","code",null,{"children":"saveProbe"}]," and does not call ",["$","code",null,{"children":"acceptResult"}],". The entity view exposes it as ",["$","code",null,{"children":"probes"}],". A result whose ",["$","code",null,{"children":"generation"}]," is not the current generation is ignored."]}]
|
|
52
|
+
33:["$","h3",null,{"className":"flex scroll-m-28 flex-row items-center gap-2","id":"cancel-and-validity","children":[["$","a",null,{"data-card":"","href":"#cancel-and-validity","className":"peer","children":"Cancel and validity"}],["$","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"]}]]}]
|
|
53
|
+
34:["$","p",null,{"children":[["$","code",null,{"children":"cancelRun"}]," closes a running run as not finished without rereading the function. Each open step, including a detached step, receives ",["$","code",null,{"children":"{ status: \"not_finished\", discriminant: \"ended\" }"}],". Child entities keep running. Running parents that still link the entity are reread, so cancelling a child resumes the parent. A group that is already sealed does not change."]}]
|
|
54
|
+
35:["$","p",null,{"children":[["$","code",null,{"children":"cancelMember"}]," writes that same result on an open step in a group that is not sealed, then rereads. The member has responded, so the rule can seal and the flow can continue."]}]
|
|
55
|
+
36:["$","p",null,{"children":[["$","code",null,{"children":"cancelDetached"}]," writes that result on an open detached step and does not change the flow outcome. The step is not sent again."]}]
|
|
56
|
+
37:["$","p",null,{"children":[["$","code",null,{"children":"endValidity"}]," clears ",["$","code",null,{"children":"validityEndsAt"}]," when the run is a success and that time is still ahead. The tree stays. The next request starts a run."]}]
|
|
57
|
+
38:["$","div",null,{"className":"flex flex-row flex-wrap items-center justify-between gap-4 empty:hidden","children":["$undefined","$undefined"]}]
|
|
58
|
+
39:["$","$L3b",null,{"items":"$undefined"}]
|
|
59
|
+
3a:["$","$L3c",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"]}],["$","$L3d",null,{"label":"toc"}]]}],["$","$L2a",null,{"children":["$","$L2b",null,{}]}],"$undefined"]}]
|
|
60
|
+
22:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
|
|
61
|
+
1e:null
|
|
62
|
+
20:{"metadata":[["$","title","0",{"children":"Actions"}]],"error":null,"digest":"$undefined"}
|
|
63
|
+
25:"$20:metadata"
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<!DOCTYPE html><!--VScWPzAjqUFli6D_YLQTw--><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/4126bc63349478de.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-61a9536d6463a95b.js"/><script src="/_next/static/chunks/68d6572c-a62f2c632aca1968.js" async=""></script><script src="/_next/static/chunks/6-95f9f7f8524a131c.js" async=""></script><script src="/_next/static/chunks/main-app-cdfb07e49bd115c3.js" async=""></script><script src="/_next/static/chunks/392-1442f884e5f4da76.js" async=""></script><script src="/_next/static/chunks/app/layout-9561d9b665946ae8.js" async=""></script><script src="/_next/static/chunks/582-a2bbe93ce1d4f2d2.js" async=""></script><script src="/_next/static/chunks/841-d77ed67838a2d05f.js" async=""></script><script src="/_next/static/chunks/431-9190bbb8a69a0c11.js" async=""></script><script src="/_next/static/chunks/763-929f6742d84aa5b0.js" async=""></script><script src="/_next/static/chunks/app/docs/layout-c6dbee584f1de72b.js" async=""></script><script src="/_next/static/chunks/799-3e7b26a124d7b62f.js" async=""></script><script src="/_next/static/chunks/app/docs/%5B%5B...slug%5D%5D/page-99dd5f5cdb48d4d8.js" async=""></script><title>Drivers</title><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><script>((a,b,c,d,e,f,g,h)=>{let i=document.documentElement,j=["light","dark"];function k(b){var c;(Array.isArray(a)?a:[a]).forEach(a=>{let c="class"===a,d=c&&f?e.map(a=>f[a]||a):e;c?(i.classList.remove(...d),i.classList.add(f&&f[b]?f[b]:b)):i.setAttribute(a,b)}),c=b,h&&j.includes(c)&&(i.style.colorScheme=c)}if(d)k(d);else try{let a=localStorage.getItem(b)||c,d=g&&"system"===a?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":a;k(d)}catch(a){}})("class","theme","system",null,["light","dark"],null,true,true)</script><div class="bg-fd-secondary/50 p-3 empty:hidden"></div><header id="nd-subnav" class="fixed top-(--fd-banner-height) left-0 right-(--removed-body-scroll-bar-size,0) z-30 flex items-center ps-4 pe-2.5 border-b transition-colors backdrop-blur-sm bg-fd-background/80 h-(--fd-nav-height) on-root:[--fd-nav-height:56px] md:on-root:[--fd-nav-height:0px] md:hidden"><a class="inline-flex items-center gap-2.5 font-semibold" href="/">Cue</a><div class="flex-1"></div><button type="button" class="inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors duration-100 disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fd-ring hover:bg-fd-accent hover:text-fd-accent-foreground [&_svg]:size-4.5 p-2" data-search="" aria-label="Open Search"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide"><circle cx="11" cy="11" r="8"></circle><path d="m21 21-4.3-4.3"></path></svg></button><button class="inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors duration-100 disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fd-ring hover:bg-fd-accent hover:text-fd-accent-foreground [&_svg]:size-4.5 p-2" aria-label="Open Sidebar"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide"><rect width="18" height="18" x="3" y="3" rx="2"></rect><path d="M9 3v18"></path></svg></button></header><main id="nd-docs-layout" class="flex flex-1 flex-col pt-(--fd-nav-height) transition-[padding] fd-default-layout mx-(--fd-layout-offset) md:[&_#nd-page_article]:pt-12 xl:[--fd-toc-width:286px] xl:[&_#nd-page_article]:px-8 md:[--fd-sidebar-width:268px] lg:[--fd-sidebar-width:286px]" style="padding-inline-start:var(--fd-sidebar-width)"><div class="fixed flex shadow-lg transition-opacity rounded-xl p-0.5 border bg-fd-muted text-fd-muted-foreground z-10 max-md:hidden xl:start-4 max-xl:end-4 pointer-events-none opacity-0" style="top:calc(var(--fd-banner-height) + var(--fd-tocnav-height) + var(--spacing) * 4)"><button type="button" aria-label="Collapse Sidebar" data-collapsed="false" class="inline-flex items-center justify-center text-sm font-medium transition-colors duration-100 disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fd-ring hover:bg-fd-accent hover:text-fd-accent-foreground p-1.5 [&_svg]:size-4.5 rounded-lg"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide"><rect width="18" height="18" x="3" y="3" rx="2"></rect><path d="M9 3v18"></path></svg></button><button type="button" class="inline-flex items-center justify-center text-sm font-medium transition-colors duration-100 disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fd-ring hover:bg-fd-accent hover:text-fd-accent-foreground p-1.5 [&_svg]:size-4.5 rounded-lg" data-search="" aria-label="Open Search"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide"><circle cx="11" cy="11" r="8"></circle><path d="m21 21-4.3-4.3"></path></svg></button></div><aside id="nd-sidebar" data-collapsed="false" class="fixed left-0 rtl:left-auto rtl:right-(--removed-body-scroll-bar-size,0) flex flex-col items-end top-(--fd-sidebar-top) bottom-(--fd-sidebar-margin) z-20 bg-fd-card text-sm border-e transition-[top,opacity,translate,width] duration-200 max-md:hidden *:w-(--fd-sidebar-width)" style="--fd-sidebar-offset:calc(16px - 100%);--fd-sidebar-margin:0px;--fd-sidebar-top:calc(var(--fd-banner-height) + var(--fd-nav-height) + var(--fd-sidebar-margin));width:calc(var(--spacing) + var(--fd-sidebar-width) + var(--fd-layout-offset))"><div class="flex flex-col gap-3 p-4 pb-2"><div class="flex"><a class="inline-flex text-[15px] items-center gap-2.5 font-medium me-auto" href="/">Cue</a><button type="button" aria-label="Collapse Sidebar" data-collapsed="false" class="inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors duration-100 disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fd-ring hover:bg-fd-accent hover:text-fd-accent-foreground p-1.5 [&_svg]:size-4.5 mb-auto text-fd-muted-foreground"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide"><rect width="18" height="18" x="3" y="3" rx="2"></rect><path d="M9 3v18"></path></svg></button></div><button type="button" data-search-full="" class="inline-flex items-center gap-2 rounded-lg border bg-fd-secondary/50 p-1.5 ps-2 text-sm text-fd-muted-foreground transition-colors hover:bg-fd-accent hover:text-fd-accent-foreground"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide size-4"><circle cx="11" cy="11" r="8"></circle><path d="m21 21-4.3-4.3"></path></svg>Search<div class="ms-auto inline-flex gap-0.5"><kbd class="rounded-md border bg-fd-background px-1.5">⌘</kbd><kbd class="rounded-md border bg-fd-background px-1.5">K</kbd></div></button></div><div dir="ltr" class="overflow-hidden h-full" style="position:relative;--radix-scroll-area-corner-width:0px;--radix-scroll-area-corner-height:0px"><style>[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}</style><div data-radix-scroll-area-viewport="" class="size-full rounded-[inherit] p-4 overscroll-contain" style="overflow-x:hidden;overflow-y:hidden;--sidebar-item-offset:calc(var(--spacing) * 2);mask-image:linear-gradient(to bottom, transparent, white 12px, white calc(100% - 12px), transparent)"><div style="min-width:100%;display:table"><a data-active="false" class="relative flex flex-row items-center gap-2 rounded-lg p-2 ps-(--sidebar-item-offset) text-start text-fd-muted-foreground [overflow-wrap:anywhere] [&_svg]:size-4 [&_svg]:shrink-0 transition-colors hover:bg-fd-accent/50 hover:text-fd-accent-foreground/80 hover:transition-none" href="/docs">Orchestrator</a><a data-active="false" class="relative flex flex-row items-center gap-2 rounded-lg p-2 ps-(--sidebar-item-offset) text-start text-fd-muted-foreground [overflow-wrap:anywhere] [&_svg]:size-4 [&_svg]:shrink-0 transition-colors hover:bg-fd-accent/50 hover:text-fd-accent-foreground/80 hover:transition-none" href="/docs/server">Server</a><a data-active="false" class="relative flex flex-row items-center gap-2 rounded-lg p-2 ps-(--sidebar-item-offset) text-start text-fd-muted-foreground [overflow-wrap:anywhere] [&_svg]:size-4 [&_svg]:shrink-0 transition-colors hover:bg-fd-accent/50 hover:text-fd-accent-foreground/80 hover:transition-none" href="/docs/engine">Engine</a><a data-active="false" class="relative flex flex-row items-center gap-2 rounded-lg p-2 ps-(--sidebar-item-offset) text-start text-fd-muted-foreground [overflow-wrap:anywhere] [&_svg]:size-4 [&_svg]:shrink-0 transition-colors hover:bg-fd-accent/50 hover:text-fd-accent-foreground/80 hover:transition-none" href="/docs/fixture">Fixture</a><div data-state="open"><button type="button" aria-controls="radix-_R_1d6j9flb_" aria-expanded="true" data-state="open" class="relative flex flex-row items-center gap-2 rounded-lg p-2 ps-(--sidebar-item-offset) text-start text-fd-muted-foreground [overflow-wrap:anywhere] [&_svg]:size-4 [&_svg]:shrink-0 transition-colors hover:bg-fd-accent/50 hover:text-fd-accent-foreground/80 hover:transition-none w-full">Usage<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide ms-auto transition-transform" data-icon="true"><path d="m6 9 6 6 6-6"></path></svg></button><div data-state="open" id="radix-_R_1d6j9flb_" class="overflow-hidden relative before:content-[''] before:absolute before:w-px before:inset-y-1 before:bg-fd-border before:start-2.5 **:data-[active=true]:before:content-[''] **:data-[active=true]:before:bg-fd-primary **:data-[active=true]:before:absolute **:data-[active=true]:before:w-px **:data-[active=true]:before:inset-y-2.5 **:data-[active=true]:before:start-2.5" style="--sidebar-item-offset:calc(var(--spacing) * 6)"><a data-active="false" class="relative flex flex-row items-center gap-2 rounded-lg p-2 ps-(--sidebar-item-offset) text-start text-fd-muted-foreground [overflow-wrap:anywhere] [&_svg]:size-4 [&_svg]:shrink-0 transition-colors hover:bg-fd-accent/50 hover:text-fd-accent-foreground/80 hover:transition-none" href="/docs/usage/flow">Flow</a><a data-active="false" class="relative flex flex-row items-center gap-2 rounded-lg p-2 ps-(--sidebar-item-offset) text-start text-fd-muted-foreground [overflow-wrap:anywhere] [&_svg]:size-4 [&_svg]:shrink-0 transition-colors hover:bg-fd-accent/50 hover:text-fd-accent-foreground/80 hover:transition-none" href="/docs/usage/actions">Actions</a><a data-active="true" class="relative flex flex-row items-center gap-2 rounded-lg p-2 ps-(--sidebar-item-offset) text-start [overflow-wrap:anywhere] [&_svg]:size-4 [&_svg]:shrink-0 bg-fd-primary/10 text-fd-primary" href="/docs/usage/drivers">Drivers</a></div></div><div data-state="closed"><button type="button" aria-expanded="false" data-state="closed" class="relative flex flex-row items-center gap-2 rounded-lg p-2 ps-(--sidebar-item-offset) text-start text-fd-muted-foreground [overflow-wrap:anywhere] [&_svg]:size-4 [&_svg]:shrink-0 transition-colors hover:bg-fd-accent/50 hover:text-fd-accent-foreground/80 hover:transition-none w-full">Decisions<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide ms-auto transition-transform -rotate-90" data-icon="true"><path d="m6 9 6 6 6-6"></path></svg></button><div data-state="closed" id="radix-_R_1l6j9flb_" hidden="" class="overflow-hidden relative before:content-[''] before:absolute before:w-px before:inset-y-1 before:bg-fd-border before:start-2.5 **:data-[active=true]:before:content-[''] **:data-[active=true]:before:bg-fd-primary **:data-[active=true]:before:absolute **:data-[active=true]:before:w-px **:data-[active=true]:before:inset-y-2.5 **:data-[active=true]:before:start-2.5" style="--sidebar-item-offset:calc(var(--spacing) * 6)"></div></div></div></div></div><div class="flex flex-col border-t p-4 pt-2"><div class="flex text-fd-muted-foreground items-center empty:hidden"><button class="inline-flex items-center rounded-full border ms-auto p-0" aria-label="Toggle Theme" data-theme-toggle=""><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="currentColor" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide size-6.5 rounded-full p-1.5 text-fd-muted-foreground"><circle cx="12" cy="12" r="4"></circle><path d="M12 2v2"></path><path d="M12 20v2"></path><path d="m4.93 4.93 1.41 1.41"></path><path d="m17.66 17.66 1.41 1.41"></path><path d="M2 12h2"></path><path d="M20 12h2"></path><path d="m6.34 17.66-1.41 1.41"></path><path d="m19.07 4.93-1.41 1.41"></path></svg><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="currentColor" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide size-6.5 rounded-full p-1.5 text-fd-muted-foreground"><path d="M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z"></path></svg></button></div></div></aside><div id="nd-page" class="flex flex-1 w-full mx-auto max-w-(--fd-page-width) pt-(--fd-tocnav-height) pe-(--fd-toc-width)"><header id="nd-tocnav" class="fixed pr-(--removed-body-scroll-bar-size,0) z-10 border-b backdrop-blur-sm transition-colors xl:hidden max-xl:on-root:[--fd-tocnav-height:40px] bg-fd-background/80" style="top:calc(var(--fd-banner-height) + var(--fd-nav-height));inset-inline-start:calc(var(--fd-sidebar-width) + var(--fd-layout-offset));inset-inline-end:0" data-state="closed"><button type="button" aria-expanded="false" data-state="closed" class="flex w-full h-(--fd-tocnav-height) items-center text-sm text-fd-muted-foreground gap-2.5 px-4 py-2.5 text-start focus-visible:outline-none [&_svg]:size-4 md:px-6"><svg role="progressbar" viewBox="0 0 24 24" aria-valuenow="0" aria-valuemin="0" aria-valuemax="1" class="shrink-0"><circle cx="12" cy="12" r="11" fill="none" stroke-width="2" class="stroke-current/25"></circle><circle cx="12" cy="12" r="11" fill="none" stroke-width="2" stroke="currentColor" stroke-dasharray="69.11503837897544" stroke-dashoffset="69.11503837897544" stroke-linecap="round" transform="rotate(-90 12 12)" class="transition-all"></circle></svg><span class="grid flex-1 *:my-auto *:row-start-1 *:col-start-1"><span class="truncate transition-all">Drivers</span><span class="truncate transition-all opacity-0 translate-y-full pointer-events-none"></span></span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide shrink-0 transition-transform mx-0.5"><path d="m6 9 6 6 6-6"></path></svg></button><div data-state="closed" id="radix-_R_2lubv9flb_" hidden="" data-toc-popover="" class="overflow-hidden flex flex-col px-4 max-h-[50vh] md:px-6"></div></header><article class="flex min-w-0 w-full flex-col gap-4 pt-8 px-4 md:px-6 md:mx-auto"><div class="flex items-center gap-1.5 text-sm text-fd-muted-foreground"><span class="truncate text-fd-primary font-medium">Usage</span></div><h1 class="text-[1.75em] font-semibold">Drivers</h1><div class="prose flex-1"><h2 class="flex scroll-m-28 flex-row items-center gap-2" id="why"><a data-card="" href="#why" class="peer">Why</a><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide size-3.5 shrink-0 text-fd-muted-foreground opacity-0 transition-opacity peer-hover:opacity-100" aria-label="Link to section"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg></h2>
|
|
2
|
+
<p>A kind is one process. <code>docs/usage/kinds.mdx</code> describes that process. The jobs of that process run at the step concurrency and share one client. A step calls a function. The function opens the client once for that process.</p>
|
|
3
|
+
<p>The worker drains those jobs, then closes the Nest context, then exits. The organization closes the clients it opened.</p>
|
|
4
|
+
<h2 class="flex scroll-m-28 flex-row items-center gap-2" id="who"><a data-card="" href="#who" class="peer">Who</a><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide size-3.5 shrink-0 text-fd-muted-foreground opacity-0 transition-opacity peer-hover:opacity-100" aria-label="Link to section"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg></h2>
|
|
5
|
+
<p>You add a driver when a step implementation talks to PostgreSQL, Elasticsearch, ClickHouse, S3, Qdrant, or another service that keeps connections.</p>
|
|
6
|
+
<p>The drivers live in the organization checkout. The worker loads those secrets once, with <code>installEnvironment</code>, before it accepts jobs.</p>
|
|
7
|
+
<h2 class="flex scroll-m-28 flex-row items-center gap-2" id="how"><a data-card="" href="#how" class="peer">How</a><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide size-3.5 shrink-0 text-fd-muted-foreground opacity-0 transition-opacity peer-hover:opacity-100" aria-label="Link to section"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg></h2>
|
|
8
|
+
<h3 class="flex scroll-m-28 flex-row items-center gap-2" id="one-client-for-the-process"><a data-card="" href="#one-client-for-the-process" class="peer">One client for the process</a><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide size-3.5 shrink-0 text-fd-muted-foreground opacity-0 transition-opacity peer-hover:opacity-100" aria-label="Link to section"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg></h3>
|
|
9
|
+
<p>The organization package exports <code>./drivers</code>. A published install that dropped package exports keeps the module at <code>src/drivers/drivers.module.ts</code>. <code>driversModulePath</code> in <code>packages/supervisor/src/worker/worker.service.ts</code> resolves that file. The catalog entry does not import the module, so loading the catalog does not load the clients.</p>
|
|
10
|
+
<p>When <code>WORKER_RUNTIME</code> is set, <code>prepareOrganizationRuntime</code> loads that module and calls <code>warmupWorkerRuntime</code>. <code>WorkerModule</code> in <code>packages/supervisor/src/worker/worker.module.ts</code> does not import the organization module. The module does not open a client when the process starts. A kind that never asks for a client opens nothing.</p>
|
|
11
|
+
<p>A handle stores the promise the opener returns. A second <code>get</code> returns that same promise. The opener reads the secret with <code>environment</code> from <code>@ascentstudio/cue-contract</code>. <code>close</code> waits for that promise when <code>get</code> has already been called, then closes the client. A second <code>close</code> returns the same promise. <code>close</code> before any <code>get</code> resolves without opening. <code>get</code> after <code>close</code> rejects.</p>
|
|
12
|
+
<h3 class="flex scroll-m-28 flex-row items-center gap-2" id="close-after-the-drain"><a data-card="" href="#close-after-the-drain" class="peer">Close after the drain</a><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide size-3.5 shrink-0 text-fd-muted-foreground opacity-0 transition-opacity peer-hover:opacity-100" aria-label="Link to section"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg></h3>
|
|
13
|
+
<p><code>WorkerService.finish</code> in <code>packages/supervisor/src/worker/worker.service.ts</code> drains the jobs. <code>closeThenExit</code> then closes the Nest context and exits. <code>main.ts</code> calls <code>attach</code> with that context after <code>createApplicationContext</code>. The process exits <code>0</code>, or <code>75</code> when the command is <code>drain-restart</code>.</p>
|
|
14
|
+
<p><code>WorkerService</code> does not implement <code>OnApplicationShutdown</code>. A close that called that hook would run the drain again. A second <code>run("drain-stop")</code> in <code>createShutdown</code> (<code>packages/engine/src/worker-control.ts</code>) replaces an exit code of <code>75</code>.</p>
|
|
15
|
+
<p><code>main.ts</code> does not call <code>enableShutdownHooks</code>. The worker listens for <code>SIGINT</code>, <code>SIGTERM</code>, <code>SIGHUP</code>, and <code>SIGQUIT</code> itself. The drain finishes before the Nest context closes, and a restart still exits <code>75</code>.</p>
|
|
16
|
+
<h3 class="flex scroll-m-28 flex-row items-center gap-2" id="the-cap"><a data-card="" href="#the-cap" class="peer">The cap</a><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide size-3.5 shrink-0 text-fd-muted-foreground opacity-0 transition-opacity peer-hover:opacity-100" aria-label="Link to section"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg></h3>
|
|
17
|
+
<p>The cap on a client stays below the step concurrency. The connections a service receives are the processes that call that driver, multiplied by the cap.</p>
|
|
18
|
+
<h3 class="flex scroll-m-28 flex-row items-center gap-2" id="the-orchestrator-database-stays-separate"><a data-card="" href="#the-orchestrator-database-stays-separate" class="peer">The orchestrator database stays separate</a><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide size-3.5 shrink-0 text-fd-muted-foreground opacity-0 transition-opacity peer-hover:opacity-100" aria-label="Link to section"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg></h3>
|
|
19
|
+
<p><code>DATABASE_URL</code> is the orchestrator database. A fixture worker does not open a second database. An organization driver that runs SQL opens another pool, and that pool reads its own secret.</p></div><div class="flex flex-row flex-wrap items-center justify-between gap-4 empty:hidden"></div><div class="@container grid gap-4 pb-6 grid-cols-2"><a class="flex flex-col gap-2 rounded-lg border p-4 text-sm transition-colors hover:bg-fd-accent/80 hover:text-fd-accent-foreground @max-lg:col-span-full" href="/docs/usage/actions"><div class="inline-flex items-center gap-1.5 font-medium"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide -mx-1 size-4 shrink-0 rtl:rotate-180"><path d="m15 18-6-6 6-6"></path></svg><p>Actions</p></div><p class="text-fd-muted-foreground truncate">Previous Page</p></a><a class="flex flex-col gap-2 rounded-lg border p-4 text-sm transition-colors hover:bg-fd-accent/80 hover:text-fd-accent-foreground @max-lg:col-span-full text-end" href="/docs/adr/0001-restricted-process-function"><div class="inline-flex items-center gap-1.5 font-medium flex-row-reverse"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide -mx-1 size-4 shrink-0 rtl:rotate-180"><path d="m9 18 6-6-6-6"></path></svg><p>The flow is restricted TypeScript, reread from the start</p></div><p class="text-fd-muted-foreground truncate">Next Page</p></a></div></article><div id="nd-toc" class="fixed bottom-0 pt-12 pb-2 pr-(--removed-body-scroll-bar-size,0) max-xl:hidden" style="top:calc(var(--fd-banner-height) + var(--fd-nav-height));inset-inline-end:max(var(--fd-layout-offset), calc(50vw - var(--fd-sidebar-width)/2 - var(--fd-page-width)/2))"><div class="flex h-full w-(--fd-toc-width) max-w-full flex-col pe-4"><h3 class="inline-flex items-center gap-1.5 text-sm text-fd-muted-foreground"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide size-4"><path d="M15 18H3"></path><path d="M17 6H3"></path><path d="M21 12H3"></path></svg>On this page</h3><div class="relative min-h-0 text-sm ms-px overflow-auto [scrollbar-width:none] [mask-image:linear-gradient(to_bottom,transparent,white_16px,white_calc(100%-16px),transparent)] py-3"><div role="none" class="absolute top-(--fd-top) h-(--fd-height) w-px bg-fd-primary transition-all"></div><div class="flex flex-col border-s border-fd-foreground/10"><a data-active="false" href="#why" class="prose py-1.5 text-sm text-fd-muted-foreground transition-colors [overflow-wrap:anywhere] first:pt-0 last:pb-0 data-[active=true]:text-fd-primary ps-3">Why</a><a data-active="false" href="#who" class="prose py-1.5 text-sm text-fd-muted-foreground transition-colors [overflow-wrap:anywhere] first:pt-0 last:pb-0 data-[active=true]:text-fd-primary ps-3">Who</a><a data-active="false" href="#how" class="prose py-1.5 text-sm text-fd-muted-foreground transition-colors [overflow-wrap:anywhere] first:pt-0 last:pb-0 data-[active=true]:text-fd-primary ps-3">How</a><a data-active="false" href="#one-client-for-the-process" class="prose py-1.5 text-sm text-fd-muted-foreground transition-colors [overflow-wrap:anywhere] first:pt-0 last:pb-0 data-[active=true]:text-fd-primary ps-6">One client for the process</a><a data-active="false" href="#close-after-the-drain" class="prose py-1.5 text-sm text-fd-muted-foreground transition-colors [overflow-wrap:anywhere] first:pt-0 last:pb-0 data-[active=true]:text-fd-primary ps-6">Close after the drain</a><a data-active="false" href="#the-cap" class="prose py-1.5 text-sm text-fd-muted-foreground transition-colors [overflow-wrap:anywhere] first:pt-0 last:pb-0 data-[active=true]:text-fd-primary ps-6">The cap</a><a data-active="false" href="#the-orchestrator-database-stays-separate" class="prose py-1.5 text-sm text-fd-muted-foreground transition-colors [overflow-wrap:anywhere] first:pt-0 last:pb-0 data-[active=true]:text-fd-primary ps-6">The orchestrator database stays separate</a></div></div></div></div></div><!--$--><!--/$--></main><script src="/_next/static/chunks/webpack-61a9536d6463a95b.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[2392,[\"392\",\"static/chunks/392-1442f884e5f4da76.js\",\"177\",\"static/chunks/app/layout-9561d9b665946ae8.js\"],\"RootProvider\"]\n3:I[3985,[],\"\"]\n4:I[5989,[],\"\"]\n5: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\"]\na:I[8083,[],\"\"]\n:HL[\"/_next/static/css/4126bc63349478de.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"VScWPzAjqUFli6D-YLQTw\",\"p\":\"\",\"c\":[\"\",\"docs\",\"usage\",\"drivers\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"docs\",{\"children\":[[\"slug\",\"usage/drivers\",\"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\",\"usage/drivers\",\"oc\"],\"$L7\",{\"children\":[\"__PAGE__\",\"$L8\",{},null,false]},null,false]},null,false]},null,false],\"$L9\",false]],\"m\":\"$undefined\",\"G\":[\"$a\",[]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"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\"]\nc: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\"]\nd: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\"]\ne:I[3222,[\"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\"],\"SearchToggle\"]\nf:I[637,[\"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\"],\"SidebarTrigger\"]\n10: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\"],\"LayoutBody\"]\n11:I[637,[\"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\"],\"Sidebar\"]\n12:I[637,[\"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/ch"])</script><script>self.__next_f.push([1,"unks/app/docs/layout-c6dbee584f1de72b.js\"],\"SidebarContentMobile\"]\n13:I[637,[\"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\"],\"SidebarHeader\"]\n14:I[5599,[\"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\"],\"ThemeToggle\"]\n15:I[637,[\"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\"],\"SidebarViewport\"]\n16:I[637,[\"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\"],\"SidebarPageTree\"]\n17:I[637,[\"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\"],\"SidebarFooter\"]\n18: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\"],\"CollapsibleControl\"]\n19:I[637,[\"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\"],\"SidebarContent\"]\n1a:I[637,[\"582\",\"static/chunks/582-a2bbe93ce1d4f2d2.js\",\"841\",\"static/chunks/841-"])</script><script>self.__next_f.push([1,"d77ed67838a2d05f.js\",\"431\",\"static/chunks/431-9190bbb8a69a0c11.js\",\"763\",\"static/chunks/763-929f6742d84aa5b0.js\",\"499\",\"static/chunks/app/docs/layout-c6dbee584f1de72b.js\"],\"SidebarCollapseTrigger\"]\n1b:I[3222,[\"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\"],\"LargeSearchToggle\"]\n1d:I[1204,[],\"OutletBoundary\"]\n1f:I[5197,[],\"AsyncMetadataOutlet\"]\n21:I[1204,[],\"ViewportBoundary\"]\n23:I[1204,[],\"MetadataBoundary\"]\n24:\"$Sreact.suspense\"\n"])</script><script>self.__next_f.push([1,"6:[\"$\",\"$Lb\",null,{\"transparentMode\":\"$undefined\",\"children\":[[\"$\",\"$Lc\",null,{\"className\":\"h-(--fd-nav-height) on-root:[--fd-nav-height:56px] md:on-root:[--fd-nav-height:0px] md:hidden\",\"children\":[[\"$\",\"$Ld\",null,{\"href\":\"/\",\"className\":\"inline-flex items-center gap-2.5 font-semibold\",\"children\":\"Cue\"}],[\"$\",\"div\",null,{\"className\":\"flex-1\",\"children\":\"$undefined\"}],[\"$\",\"$Le\",null,{\"className\":\"p-2\",\"hideIfDisabled\":true}],[\"$\",\"$Lf\",null,{\"className\":\"inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors duration-100 disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fd-ring hover:bg-fd-accent hover:text-fd-accent-foreground [\u0026_svg]:size-4.5 p-2\",\"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\",\"children\":[[[\"$\",\"rect\",\"afitv7\",{\"width\":\"18\",\"height\":\"18\",\"x\":\"3\",\"y\":\"3\",\"rx\":\"2\"}],[\"$\",\"path\",\"fh3hqa\",{\"d\":\"M9 3v18\"}]],\"$undefined\"]}]}]]}],[\"$\",\"$L10\",null,{\"className\":\"md:[\u0026_#nd-page_article]:pt-12 xl:[--fd-toc-width:286px] xl:[\u0026_#nd-page_article]:px-8 md:[--fd-sidebar-width:268px] lg:[--fd-sidebar-width:286px]\",\"children\":[[\"$\",\"$L11\",null,{\"defaultOpenLevel\":\"$undefined\",\"prefetch\":\"$undefined\",\"Mobile\":[\"$\",\"$L12\",null,{\"children\":[[\"$\",\"$L13\",null,{\"children\":[[\"$\",\"div\",null,{\"className\":\"flex text-fd-muted-foreground items-center gap-1.5\",\"children\":[[\"$\",\"div\",null,{\"className\":\"flex flex-1\",\"children\":[]}],null,[\"$\",\"$L14\",null,{\"className\":\"p-0\",\"mode\":\"$undefined\"}],[\"$\",\"$Lf\",null,{\"className\":\"inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors duration-100 disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fd-ring hover:bg-fd-accent hover:text-fd-accent-foreground [\u0026_svg]:size-4.5 p-2\",\"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\",\"children\":[[[\"$\",\"rect\",\"afitv7\",{\"width\":\"18\",\"height\":\"18\",\"x\":\"3\",\"y\":\"3\",\"rx\":\"2\"}],[\"$\",\"path\",\"fh3hqa\",{\"d\":\"M9 3v18\"}]],\"$undefined\"]}]}]]}],false,\"$undefined\"]}],[\"$\",\"$L15\",null,{\"children\":[[],[\"$\",\"$L16\",null,{\"components\":\"$undefined\"}]]}],[\"$\",\"$L17\",null,{\"className\":\"empty:hidden\",\"children\":\"$undefined\"}]]}],\"Content\":[[\"$\",\"$L18\",null,{}],[\"$\",\"$L19\",null,{\"children\":[[\"$\",\"$L13\",null,{\"children\":[[\"$\",\"div\",null,{\"className\":\"flex\",\"children\":[[\"$\",\"$Ld\",null,{\"href\":\"/\",\"className\":\"inline-flex text-[15px] items-center gap-2.5 font-medium me-auto\",\"children\":\"Cue\"}],\"$undefined\",[\"$\",\"$L1a\",null,{\"className\":\"inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors duration-100 disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fd-ring hover:bg-fd-accent hover:text-fd-accent-foreground p-1.5 [\u0026_svg]:size-4.5 mb-auto 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\",\"children\":[[[\"$\",\"rect\",\"afitv7\",{\"width\":\"18\",\"height\":\"18\",\"x\":\"3\",\"y\":\"3\",\"rx\":\"2\"}],[\"$\",\"path\",\"fh3hqa\",{\"d\":\"M9 3v18\"}]],\"$undefined\"]}]}]]}],[\"$\",\"$L1b\",null,{\"hideIfDisabled\":true}],false,\"$undefined\"]}],\"$6:props:children:1:props:children:0:props:Mobile:props:children:1\",[\"$\",\"$L17\",null,{\"children\":[[\"$\",\"div\",null,{\"className\":\"flex text-fd-muted-foreground items-center empty:hidden\",\"children\":[false,[],[\"$\",\"$L14\",null,{\"className\":\"ms-auto p-0\",\"mode\":\"$undefined\"}]]}],\"$undefined\"]}]]}]]}],false,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]]}]\n"])</script><script>self.__next_f.push([1,"7:[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]\n8:[\"$\",\"$1\",\"c\",{\"children\":[\"$L1c\",null,[\"$\",\"$L1d\",null,{\"children\":[\"$L1e\",[\"$\",\"$L1f\",null,{\"promise\":\"$@20\"}]]}]]}]\n9:[\"$\",\"$1\",\"h\",{\"children\":[null,[[\"$\",\"$L21\",null,{\"children\":\"$L22\"}],null],[\"$\",\"$L23\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$24\",null,{\"fallback\":null,\"children\":\"$L25\"}]}]}]]}]\n"])</script><script>self.__next_f.push([1,"26: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\"],\"TOCProvider\"]\n27: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\"],\"PageTOCPopover\"]\n28: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\"],\"PageTOCPopoverTrigger\"]\n29: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\"],\"PageTOCPopoverContent\"]\n2a: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\"]\n2b: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\"]\n2c: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\"]\n"])</script><script>self.__next_f.push([1,"1c:[\"$\",\"$L26\",null,{\"toc\":[{\"depth\":2,\"url\":\"#why\",\"title\":\"Why\"},{\"depth\":2,\"url\":\"#who\",\"title\":\"Who\"},{\"depth\":2,\"url\":\"#how\",\"title\":\"How\"},{\"depth\":3,\"url\":\"#one-client-for-the-process\",\"title\":\"One client for the process\"},{\"depth\":3,\"url\":\"#close-after-the-drain\",\"title\":\"Close after the drain\"},{\"depth\":3,\"url\":\"#the-cap\",\"title\":\"The cap\"},{\"depth\":3,\"url\":\"#the-orchestrator-database-stays-separate\",\"title\":\"The orchestrator database stays separate\"}],\"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\":\"Drivers\",\"className\":\"text-[1.75em] font-semibold\"}],[\"$\",\"div\",null,{\"ref\":\"$undefined\",\"children\":[[\"$\",\"h2\",null,{\"className\":\"flex scroll-m-28 flex-row items-center gap-2\",\"id\":\"why\",\"children\":[[\"$\",\"a\",null,{\"data-card\":\"\",\"href\":\"#why\",\"className\":\"peer\",\"children\":\"Why\"}],[\"$\",\"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\":[\"A kind is one process. \",[\"$\",\"code\",null,{\"children\":\"docs/usage/kinds.mdx\"}],\" describes that process. The jobs of that process run at the step concurrency and share one client. A step calls a function. The function opens the client once for that process.\"]}],\"\\n\",[\"$\",\"p\",null,{\"children\":\"The worker drains those jobs, then closes the Nest context, then exits. The organization closes the clients it opened.\"}],\"\\n\",[\"$\",\"h2\",null,{\"className\":\"flex scroll-m-28 flex-row items-center gap-2\",\"id\":\"who\",\"children\":[[\"$\",\"a\",null,{\"data-card\":\"\",\"href\":\"#who\",\"className\":\"peer\",\"children\":\"Who\"}],[\"$\",\"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\":\"You add a driver when a step implementation talks to PostgreSQL, Elasticsearch, ClickHouse, S3, Qdrant, or another service that keeps connections.\"}],\"\\n\",[\"$\",\"p\",null,{\"children\":[\"The drivers live in the organization checkout. The worker loads those secrets once, with \",[\"$\",\"code\",null,{\"children\":\"installEnvironment\"}],\", before it accepts jobs.\"]}],\"\\n\",[\"$\",\"h2\",null,{\"className\":\"flex scroll-m-28 flex-row items-center gap-2\",\"id\":\"how\",\"children\":[[\"$\",\"a\",null,{\"data-card\":\"\",\"href\":\"#how\",\"className\":\"peer\",\"children\":\"How\"}],[\"$\",\"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\",[\"$\",\"h3\",null,{\"className\":\"flex scroll-m-28 flex-row items-center gap-2\",\"id\":\"one-client-for-the-process\",\"children\":[[\"$\",\"a\",null,{\"data-card\":\"\",\"href\":\"#one-client-for-the-process\",\"className\":\"peer\",\"children\":\"One client for the process\"}],\"$L2d\"]}],\"\\n\",\"$L2e\",\"\\n\",\"$L2f\",\"\\n\",\"$L30\",\"\\n\",\"$L31\",\"\\n\",\"$L32\",\"\\n\",\"$L33\",\"\\n\",\"$L34\",\"\\n\",\"$L35\",\"\\n\",\"$L36\",\"\\n\",\"$L37\",\"\\n\",\"$L38\"],\"className\":\"prose flex-1\"}]],\"$L39\",\"$L3a\"],\"className\":\"flex min-w-0 w-full flex-col gap-4 pt-8 px-4 md:px-6 md:mx-auto\"}],\"$L3b\"]}]}]\n"])</script><script>self.__next_f.push([1,"3c: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\"]\n3d: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\"]\n3e: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\"]\n2d:[\"$\",\"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\"]}]\n2e:[\"$\",\"p\",null,{\"children\":[\"The organization package exports \",[\"$\",\"code\",null,{\"children\":\"./drivers\"}],\". A published install that dropped package exports keeps the module at \",[\"$\",\"code\",null,{\"children\":\"src/drivers/drivers.module.ts\"}],\". \",[\"$\",\"code\",null,{\"children\":\"driversModulePath\"}],\" in \",[\"$\",\"code\",null,{\"children\":\"packages/supervisor/src/worker/worker.service.ts\"}],\" resolves that file. The catalog entry does not import the module, so loading the catalog does not load the clients.\"]}]\n2f:[\"$\",\"p\",null,{\"children\":[\"When \",[\"$\",\"code\",null,{\"children\":\"WORKER_RUNTIME\"}],\" is set, \",[\"$\",\"code\",null,{\"children\":\"prepareOrganizationRuntime\"}],\" loads that module and calls \",[\"$\",\"code\",null,{\"children\":\"warmupWorkerRunti"])</script><script>self.__next_f.push([1,"me\"}],\". \",[\"$\",\"code\",null,{\"children\":\"WorkerModule\"}],\" in \",[\"$\",\"code\",null,{\"children\":\"packages/supervisor/src/worker/worker.module.ts\"}],\" does not import the organization module. The module does not open a client when the process starts. A kind that never asks for a client opens nothing.\"]}]\n"])</script><script>self.__next_f.push([1,"30:[\"$\",\"p\",null,{\"children\":[\"A handle stores the promise the opener returns. A second \",[\"$\",\"code\",null,{\"children\":\"get\"}],\" returns that same promise. The opener reads the secret with \",[\"$\",\"code\",null,{\"children\":\"environment\"}],\" from \",[\"$\",\"code\",null,{\"children\":\"@ascentstudio/cue-contract\"}],\". \",[\"$\",\"code\",null,{\"children\":\"close\"}],\" waits for that promise when \",[\"$\",\"code\",null,{\"children\":\"get\"}],\" has already been called, then closes the client. A second \",[\"$\",\"code\",null,{\"children\":\"close\"}],\" returns the same promise. \",[\"$\",\"code\",null,{\"children\":\"close\"}],\" before any \",[\"$\",\"code\",null,{\"children\":\"get\"}],\" resolves without opening. \",[\"$\",\"code\",null,{\"children\":\"get\"}],\" after \",[\"$\",\"code\",null,{\"children\":\"close\"}],\" rejects.\"]}]\n"])</script><script>self.__next_f.push([1,"31:[\"$\",\"h3\",null,{\"className\":\"flex scroll-m-28 flex-row items-center gap-2\",\"id\":\"close-after-the-drain\",\"children\":[[\"$\",\"a\",null,{\"data-card\":\"\",\"href\":\"#close-after-the-drain\",\"className\":\"peer\",\"children\":\"Close after the drain\"}],[\"$\",\"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"])</script><script>self.__next_f.push([1,"32:[\"$\",\"p\",null,{\"children\":[[\"$\",\"code\",null,{\"children\":\"WorkerService.finish\"}],\" in \",[\"$\",\"code\",null,{\"children\":\"packages/supervisor/src/worker/worker.service.ts\"}],\" drains the jobs. \",[\"$\",\"code\",null,{\"children\":\"closeThenExit\"}],\" then closes the Nest context and exits. \",[\"$\",\"code\",null,{\"children\":\"main.ts\"}],\" calls \",[\"$\",\"code\",null,{\"children\":\"attach\"}],\" with that context after \",[\"$\",\"code\",null,{\"children\":\"createApplicationContext\"}],\". The process exits \",[\"$\",\"code\",null,{\"children\":\"0\"}],\", or \",[\"$\",\"code\",null,{\"children\":\"75\"}],\" when the command is \",[\"$\",\"code\",null,{\"children\":\"drain-restart\"}],\".\"]}]\n33:[\"$\",\"p\",null,{\"children\":[[\"$\",\"code\",null,{\"children\":\"WorkerService\"}],\" does not implement \",[\"$\",\"code\",null,{\"children\":\"OnApplicationShutdown\"}],\". A close that called that hook would run the drain again. A second \",[\"$\",\"code\",null,{\"children\":\"run(\\\"drain-stop\\\")\"}],\" in \",[\"$\",\"code\",null,{\"children\":\"createShutdown\"}],\" (\",[\"$\",\"code\",null,{\"children\":\"packages/engine/src/worker-control.ts\"}],\") replaces an exit code of \",[\"$\",\"code\",null,{\"children\":\"75\"}],\".\"]}]\n34:[\"$\",\"p\",null,{\"children\":[[\"$\",\"code\",null,{\"children\":\"main.ts\"}],\" does not call \",[\"$\",\"code\",null,{\"children\":\"enableShutdownHooks\"}],\". The worker listens for \",[\"$\",\"code\",null,{\"children\":\"SIGINT\"}],\", \",[\"$\",\"code\",null,{\"children\":\"SIGTERM\"}],\", \",[\"$\",\"code\",null,{\"children\":\"SIGHUP\"}],\", and \",[\"$\",\"code\",null,{\"children\":\"SIGQUIT\"}],\" itself. The drain finishes before the Nest context closes, and a restart still exits \",[\"$\",\"code\",null,{\"children\":\"75\"}],\".\"]}]\n"])</script><script>self.__next_f.push([1,"35:[\"$\",\"h3\",null,{\"className\":\"flex scroll-m-28 flex-row items-center gap-2\",\"id\":\"the-cap\",\"children\":[[\"$\",\"a\",null,{\"data-card\":\"\",\"href\":\"#the-cap\",\"className\":\"peer\",\"children\":\"The cap\"}],[\"$\",\"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"])</script><script>self.__next_f.push([1,"36:[\"$\",\"p\",null,{\"children\":\"The cap on a client stays below the step concurrency. The connections a service receives are the processes that call that driver, multiplied by the cap.\"}]\n"])</script><script>self.__next_f.push([1,"37:[\"$\",\"h3\",null,{\"className\":\"flex scroll-m-28 flex-row items-center gap-2\",\"id\":\"the-orchestrator-database-stays-separate\",\"children\":[[\"$\",\"a\",null,{\"data-card\":\"\",\"href\":\"#the-orchestrator-database-stays-separate\",\"className\":\"peer\",\"children\":\"The orchestrator database stays separate\"}],[\"$\",\"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"])</script><script>self.__next_f.push([1,"38:[\"$\",\"p\",null,{\"children\":[[\"$\",\"code\",null,{\"children\":\"DATABASE_URL\"}],\" is the orchestrator database. A fixture worker does not open a second database. An organization driver that runs SQL opens another pool, and that pool reads its own secret.\"]}]\n39:[\"$\",\"div\",null,{\"className\":\"flex flex-row flex-wrap items-center justify-between gap-4 empty:hidden\",\"children\":[\"$undefined\",\"$undefined\"]}]\n3a:[\"$\",\"$L3c\",null,{\"items\":\"$undefined\"}]\n3b:[\"$\",\"$L3d\",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\"]}],[\"$\",\"$L3e\",null,{\"label\":\"toc\"}]]}],[\"$\",\"$L2a\",null,{\"children\":[\"$\",\"$L2b\",null,{}]}],\"$undefined\"]}]\n"])</script><script>self.__next_f.push([1,"22:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n1e:null\n"])</script><script>self.__next_f.push([1,"20:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Drivers\"}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"25:\"$20:metadata\"\n"])</script></body></html>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"headers": {
|
|
3
|
+
"x-nextjs-stale-time": "300",
|
|
4
|
+
"x-nextjs-prerender": "1",
|
|
5
|
+
"x-next-cache-tags": "_N_T_/layout,_N_T_/docs/layout,_N_T_/docs/[[...slug]]/layout,_N_T_/docs/[[...slug]]/page,_N_T_/docs/usage/drivers"
|
|
6
|
+
},
|
|
7
|
+
"routeCache": {
|
|
8
|
+
"key": "/route-cache/APP_PAGE/966fe5664d321b90e424723b799fc8695a949991066b442a630706cfc863a243/$/docs/usage/drivers",
|
|
9
|
+
"owner": {
|
|
10
|
+
"kind": "APP_PAGE",
|
|
11
|
+
"sourceRoute": "/docs/[[...slug]]/page"
|
|
12
|
+
},
|
|
13
|
+
"isFallback": false
|
|
14
|
+
}
|
|
15
|
+
}
|