sanoma 0.11.18 → 0.11.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -22
- package/app/README.md +548 -0
- package/app/dist/api.d.ts +984 -0
- package/app/dist/api.js +261 -0
- package/app/dist/api.js.map +1 -0
- package/app/dist/app-bundle.d.ts +81 -0
- package/app/dist/app-bundle.js +13 -0
- package/app/dist/app-bundle.js.map +1 -0
- package/app/dist/build.d.ts +89 -0
- package/app/dist/build.js +843 -0
- package/app/dist/build.js.map +1 -0
- package/app/dist/bundle-build.d.ts +39 -0
- package/app/dist/bundle-build.js +585 -0
- package/app/dist/bundle-build.js.map +1 -0
- package/app/dist/client/assets/ArrowUp.es-DOgvoS0P.js +1 -0
- package/app/dist/client/assets/Copy.es-B0D5SwiQ.js +1 -0
- package/app/dist/client/assets/DialogTitle-BgjYK22C.js +1 -0
- package/app/dist/client/assets/FloppyDisk.es-DnuNe_a8.js +1 -0
- package/app/dist/client/assets/Globe.es-B6x2e4-a.js +1 -0
- package/app/dist/client/assets/MagnifyingGlass.es-DoNoHEhT.js +1 -0
- package/app/dist/client/assets/Play.es-BwXalGBh.js +1 -0
- package/app/dist/client/assets/Plug.es-CaZsN5P-.js +1 -0
- package/app/dist/client/assets/Plus.es-w9VPpTJB.js +1 -0
- package/app/dist/client/assets/Separator-BAhKFgSd.js +1 -0
- package/app/dist/client/assets/X.es-DKMYClf-.js +1 -0
- package/app/dist/client/assets/_id-BSRAaWtO.js +1 -0
- package/app/dist/client/assets/_id-BjDP-cPH.js +1 -0
- package/app/dist/client/assets/_id-BudM76zX.js +1 -0
- package/app/dist/client/assets/_id-C37U5bBa.js +1 -0
- package/app/dist/client/assets/_id-lmg24JVh.js +2 -0
- package/app/dist/client/assets/_name-CylqFo_t.js +1 -0
- package/app/dist/client/assets/_name-D8Gl8iwy.js +4 -0
- package/app/dist/client/assets/_name-DdPCU8pt.js +1 -0
- package/app/dist/client/assets/_name-TteWQXe0.js +1 -0
- package/app/dist/client/assets/_vendor-BLxW83yk.js +1 -0
- package/app/dist/client/assets/_vendor-Bq3uZU4-.js +1 -0
- package/app/dist/client/assets/app-chrome-H8uZ4dHI.js +16 -0
- package/app/dist/client/assets/app-scope-BeUW_8Qh.js +1 -0
- package/app/dist/client/assets/approval-DpgmTc63.js +1 -0
- package/app/dist/client/assets/apps-71ZEzcL9.js +1 -0
- package/app/dist/client/assets/apps-CoWzNm8M.js +1 -0
- package/app/dist/client/assets/change-glance-DbYcBT7H.js +1 -0
- package/app/dist/client/assets/changes-DIJvP7wQ.js +1 -0
- package/app/dist/client/assets/chat-button-BgpOfYh1.js +1 -0
- package/app/dist/client/assets/chat-prompt-hiawXcK0.js +1 -0
- package/app/dist/client/assets/clipboard-Zb0yr0Ja.js +3 -0
- package/app/dist/client/assets/code-BVYaiQEr.js +32 -0
- package/app/dist/client/assets/common-Dw2i6XKZ.js +3 -0
- package/app/dist/client/assets/composite-D9GNDzFj.js +1 -0
- package/app/dist/client/assets/connect-CIq2KJTz.js +1 -0
- package/app/dist/client/assets/connections-iqd2XbWQ.js +5 -0
- package/app/dist/client/assets/connectors-rI8_D1n1.js +1 -0
- package/app/dist/client/assets/content-DOwCrGXH.js +1 -0
- package/app/dist/client/assets/credentials-26vu6Fv5.js +1 -0
- package/app/dist/client/assets/data-sDMlKaLV.js +1 -0
- package/app/dist/client/assets/decidable-zcYI7bY8.js +1 -0
- package/app/dist/client/assets/declaration-form-BtSVvxhq.js +1 -0
- package/app/dist/client/assets/dialog-DskpUgkl.js +1 -0
- package/app/dist/client/assets/existing-BD3VgJ_8.js +1 -0
- package/app/dist/client/assets/fraunces-latin-ext-wght-normal-Ca2vKHc0.woff2 +0 -0
- package/app/dist/client/assets/fraunces-latin-wght-normal-ukD16Tqj.woff2 +0 -0
- package/app/dist/client/assets/fraunces-vietnamese-wght-normal-CnvboYUG.woff2 +0 -0
- package/app/dist/client/assets/graph-BBLU_iSl.css +1 -0
- package/app/dist/client/assets/graph-Prxl3c55.js +7 -0
- package/app/dist/client/assets/grid-diff-SMsvea6t.js +1 -0
- package/app/dist/client/assets/hosting-BBHUppH-.js +1 -0
- package/app/dist/client/assets/ibm-plex-mono-cyrillic-400-italic-2syK4fUT.woff +0 -0
- package/app/dist/client/assets/ibm-plex-mono-cyrillic-400-italic-CBJ8pzag.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-mono-cyrillic-400-normal-BSMlKf0J.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-mono-cyrillic-400-normal-CEL4l2ZJ.woff +0 -0
- package/app/dist/client/assets/ibm-plex-mono-cyrillic-500-normal-Ael50iVv.woff +0 -0
- package/app/dist/client/assets/ibm-plex-mono-cyrillic-500-normal-Bq9vWWag.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-mono-cyrillic-ext-400-italic-B4oTjJdl.woff +0 -0
- package/app/dist/client/assets/ibm-plex-mono-cyrillic-ext-400-italic-CBjNughH.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-mono-cyrillic-ext-400-normal-DMdlQ8Kv.woff +0 -0
- package/app/dist/client/assets/ibm-plex-mono-cyrillic-ext-400-normal-xuaO2J-f.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-mono-cyrillic-ext-500-normal-BIfNGwUT.woff +0 -0
- package/app/dist/client/assets/ibm-plex-mono-cyrillic-ext-500-normal-BqneJy0T.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-mono-latin-400-italic-66oory27.woff +0 -0
- package/app/dist/client/assets/ibm-plex-mono-latin-400-italic-BqAiT5Ww.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-mono-latin-400-normal-CvHOgSBP.woff +0 -0
- package/app/dist/client/assets/ibm-plex-mono-latin-400-normal-DMJ8VG8y.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-mono-latin-500-normal-CB9ihrfo.woff +0 -0
- package/app/dist/client/assets/ibm-plex-mono-latin-500-normal-DSY6xOcd.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-mono-latin-ext-400-italic-B7_fu1kp.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-mono-latin-ext-400-italic-Bg0ZHwF4.woff +0 -0
- package/app/dist/client/assets/ibm-plex-mono-latin-ext-400-normal-BmRBH3aV.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-mono-latin-ext-400-normal-D3D2R8hC.woff +0 -0
- package/app/dist/client/assets/ibm-plex-mono-latin-ext-500-normal-CAhNIIs5.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-mono-latin-ext-500-normal-CZ70TYgx.woff +0 -0
- package/app/dist/client/assets/ibm-plex-mono-vietnamese-400-italic-D6eaYXMU.woff +0 -0
- package/app/dist/client/assets/ibm-plex-mono-vietnamese-400-italic-DRuN92E5.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-mono-vietnamese-400-normal-BulugwFq.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-mono-vietnamese-400-normal-DDuiU_S-.woff +0 -0
- package/app/dist/client/assets/ibm-plex-mono-vietnamese-500-normal-C8zxqsMH.woff +0 -0
- package/app/dist/client/assets/ibm-plex-mono-vietnamese-500-normal-DZ4AoWbu.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-sans-cyrillic-ext-wght-italic-O9KpBTMP.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-sans-cyrillic-ext-wght-normal-d45eAU9y.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-sans-cyrillic-wght-italic-BC1D_hcE.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-sans-cyrillic-wght-normal-BAAhND-U.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-sans-greek-wght-italic-BOZ1G-_q.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-sans-greek-wght-normal-CmyJS8uq.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-sans-latin-ext-wght-italic-QwKXLQRc.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-sans-latin-ext-wght-normal-CIII54If.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-sans-latin-wght-italic-DKUSOBgV.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-sans-latin-wght-normal-IvpUvPa2.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-sans-vietnamese-wght-italic-CKSJVnJa.woff2 +0 -0
- package/app/dist/client/assets/ibm-plex-sans-vietnamese-wght-normal-Dg1JeJN0.woff2 +0 -0
- package/app/dist/client/assets/import-B92fd4Tl.js +1 -0
- package/app/dist/client/assets/inbox-57oGZtxE.js +1 -0
- package/app/dist/client/assets/inbox-B2AMNtk5.js +1 -0
- package/app/dist/client/assets/index-Bn3XeKy8.js +10 -0
- package/app/dist/client/assets/kit-BsK6VZTQ.js +1 -0
- package/app/dist/client/assets/lazyRouteComponent-Uri98HNq.js +1 -0
- package/app/dist/client/assets/lines-DuFrbGkQ.js +3 -0
- package/app/dist/client/assets/motion-C8lNeYvK.js +1 -0
- package/app/dist/client/assets/names-COx1nqcj.js +1 -0
- package/app/dist/client/assets/people-ISOMYCTu.js +1 -0
- package/app/dist/client/assets/permissions-Cenat84K.js +2 -0
- package/app/dist/client/assets/permissions-grid-B2GtGwzv.js +1 -0
- package/app/dist/client/assets/route-BP1XwaTB.js +1 -0
- package/app/dist/client/assets/route-KVU6QgwJ.js +1 -0
- package/app/dist/client/assets/runs-table-35lNzKLn.js +1 -0
- package/app/dist/client/assets/scenario-DSwsavxS.js +1 -0
- package/app/dist/client/assets/scenario-graph-CAzWOtqV.js +1 -0
- package/app/dist/client/assets/schema-BpqanhX0.js +1 -0
- package/app/dist/client/assets/separator-BlwkzEY0.js +1 -0
- package/app/dist/client/assets/sheet-BYL9XU5s.js +1 -0
- package/app/dist/client/assets/site-icon-DZvOfBvU.js +1 -0
- package/app/dist/client/assets/sites.index-CcNo6N8u.js +1 -0
- package/app/dist/client/assets/spinner-BGy6LWIW.js +1 -0
- package/app/dist/client/assets/start-form-Bgo9I63s.js +1 -0
- package/app/dist/client/assets/store-BGu0d2Ld.js +57 -0
- package/app/dist/client/assets/style-CCDLLPgG.css +2 -0
- package/app/dist/client/assets/table-DjbI5VTn.js +1 -0
- package/app/dist/client/assets/textarea-DXO0eUdp.js +1 -0
- package/app/dist/client/assets/useLoaderData-BQd5yMlA.js +1 -0
- package/app/dist/client/assets/useOpenInteractionType-Bin8RjM5.js +1 -0
- package/app/dist/client/assets/useRegisterFieldControl-CQPTOU7Z.js +1 -0
- package/app/dist/client/assets/useValueChanged-DMkuvFZG.js +1 -0
- package/app/dist/client/assets/utils-CMsCvwYQ.js +1 -0
- package/app/dist/client/assets/who-are-you-Bt1WI3Cz.js +1 -0
- package/app/dist/client/assets/workflow-BJpO61A-.js +1 -0
- package/app/dist/client/assets/workflow-view-DP-UlRiH.js +1 -0
- package/app/dist/client/assets/workflows-BLCBgxbx.js +1 -0
- package/app/dist/components/grid/plan.d.ts +373 -0
- package/app/dist/components/grid/plan.js +347 -0
- package/app/dist/components/grid/plan.js.map +1 -0
- package/app/dist/content-files.d.ts +59 -0
- package/app/dist/content-files.js +218 -0
- package/app/dist/content-files.js.map +1 -0
- package/app/dist/content-types.d.ts +39 -0
- package/app/dist/content-types.js +16 -0
- package/app/dist/content-types.js.map +1 -0
- package/app/dist/context.d.ts +92 -0
- package/app/dist/context.js +2 -0
- package/app/dist/context.js.map +1 -0
- package/app/dist/handler.d.ts +72 -0
- package/app/dist/handler.js +179 -0
- package/app/dist/handler.js.map +1 -0
- package/app/dist/index.d.ts +81 -0
- package/app/dist/index.js +345 -0
- package/app/dist/index.js.map +1 -0
- package/app/dist/lib/apply-plan.d.ts +29 -0
- package/app/dist/lib/apply-plan.js +65 -0
- package/app/dist/lib/apply-plan.js.map +1 -0
- package/app/dist/lib/chat.d.ts +104 -0
- package/app/dist/lib/chat.js +72 -0
- package/app/dist/lib/chat.js.map +1 -0
- package/app/dist/lib/names.d.ts +4 -0
- package/app/dist/lib/names.js +11 -0
- package/app/dist/lib/names.js.map +1 -0
- package/app/dist/login/admission.d.ts +16 -0
- package/app/dist/login/admission.js +63 -0
- package/app/dist/login/admission.js.map +1 -0
- package/app/dist/login/keys.d.ts +32 -0
- package/app/dist/login/keys.js +60 -0
- package/app/dist/login/keys.js.map +1 -0
- package/app/dist/login/page.d.ts +23 -0
- package/app/dist/login/page.js +95 -0
- package/app/dist/login/page.js.map +1 -0
- package/app/dist/login/public.d.ts +30 -0
- package/app/dist/login/public.js +101 -0
- package/app/dist/login/public.js.map +1 -0
- package/app/dist/login/staff.d.ts +23 -0
- package/app/dist/login/staff.js +330 -0
- package/app/dist/login/staff.js.map +1 -0
- package/app/dist/loopback.d.ts +32 -0
- package/app/dist/loopback.js +84 -0
- package/app/dist/loopback.js.map +1 -0
- package/app/dist/seo.d.ts +33 -0
- package/app/dist/seo.js +66 -0
- package/app/dist/seo.js.map +1 -0
- package/app/dist/server/assets/_id-BViXAagq.js +689 -0
- package/app/dist/server/assets/_id-Dt9tTylX.js +19 -0
- package/app/dist/server/assets/_id-ce1EGp7Y.js +30 -0
- package/app/dist/server/assets/_id-wB8khGTz.js +82 -0
- package/app/dist/server/assets/_id-wuJIq2ZZ.js +13 -0
- package/app/dist/server/assets/_name-BGagGBjX.js +371 -0
- package/app/dist/server/assets/_name-BqFwnyf7.js +30 -0
- package/app/dist/server/assets/_name-D_-MhjNf.js +2951 -0
- package/app/dist/server/assets/_name-DntbHE-b.js +350 -0
- package/app/dist/server/assets/_tanstack-start-manifest_v-BljuBM-G.js +259 -0
- package/app/dist/server/assets/_vendor-CNB03LWX.js +137 -0
- package/app/dist/server/assets/_vendor-CcEviOki.js +20 -0
- package/app/dist/server/assets/actor-D6iA0pDg.js +94 -0
- package/app/dist/server/assets/app-chrome-BYS81Vnx.js +1410 -0
- package/app/dist/server/assets/app-scope-CXIgOFmi.js +79 -0
- package/app/dist/server/assets/apply-plan-ybBda6vQ.js +265 -0
- package/app/dist/server/assets/approval-Su315ikC.js +315 -0
- package/app/dist/server/assets/apps-Dbg2f5Lh.js +6 -0
- package/app/dist/server/assets/apps-xwQAehch.js +184 -0
- package/app/dist/server/assets/button-f9Lc8qLl.js +906 -0
- package/app/dist/server/assets/change-glance-CpArIbGS.js +142 -0
- package/app/dist/server/assets/changes-Bc_OiDBD.js +103 -0
- package/app/dist/server/assets/chat-DMN_hoKm.js +857 -0
- package/app/dist/server/assets/chat-button-LtA80MoR.js +19 -0
- package/app/dist/server/assets/chat-prompt-BYwbMxR6.js +10 -0
- package/app/dist/server/assets/clipboard-lnKxNXLI.js +70 -0
- package/app/dist/server/assets/code-COyt8L-n.js +123 -0
- package/app/dist/server/assets/common-CWHLj7KV.js +1036 -0
- package/app/dist/server/assets/connect-BpPiu5s6.js +165 -0
- package/app/dist/server/assets/connections-DBgb1bvX.js +1197 -0
- package/app/dist/server/assets/connectors-5a5_SlHO.js +186 -0
- package/app/dist/server/assets/content-B9KP-eh3.js +3 -0
- package/app/dist/server/assets/credentials-ud_Y68hx.js +187 -0
- package/app/dist/server/assets/data-aEdhwcqy.js +168 -0
- package/app/dist/server/assets/decidable-Dj5xIrIc.js +13 -0
- package/app/dist/server/assets/declaration-form-Dfg1yNuY.js +183 -0
- package/app/dist/server/assets/dialog-BGjiw3Dx.js +84 -0
- package/app/dist/server/assets/dropdown-menu-DAC3LWas.js +97 -0
- package/app/dist/server/assets/empty-plugin-adapters-CeuNAGfU.js +4 -0
- package/app/dist/server/assets/existing-B4d4NrC8.js +125 -0
- package/app/dist/server/assets/field-C0Xx_90s.js +94 -0
- package/app/dist/server/assets/functions-BvFYzabD.js +824 -0
- package/app/dist/server/assets/graph-qYOdoz2s.js +926 -0
- package/app/dist/server/assets/grid-diff-jTvp-8wS.js +171 -0
- package/app/dist/server/assets/hosting-bbn9UvDc.js +718 -0
- package/app/dist/server/assets/import-DIwvzHb6.js +730 -0
- package/app/dist/server/assets/inbox-D6R6sWBB.js +268 -0
- package/app/dist/server/assets/inbox-Dj-5FleF.js +65 -0
- package/app/dist/server/assets/input-D63gF3G2.js +14 -0
- package/app/dist/server/assets/item-BDSXoEr_.js +97 -0
- package/app/dist/server/assets/kit-D6EulwBe.js +489 -0
- package/app/dist/server/assets/lines-B4w04QZ0.js +27 -0
- package/app/dist/server/assets/middleware-B8JRLyxx.js +1420 -0
- package/app/dist/server/assets/motion-CAc7ab9u.js +35 -0
- package/app/dist/server/assets/names-B04Si-sV.js +9 -0
- package/app/dist/server/assets/native-select-DLa-He0n.js +37 -0
- package/app/dist/server/assets/people-CkU_AxrV.js +553 -0
- package/app/dist/server/assets/permissions-BfMcQqQb.js +256 -0
- package/app/dist/server/assets/permissions-grid-DWP9FAAS.js +91 -0
- package/app/dist/server/assets/route-BTT7nMJq.js +17 -0
- package/app/dist/server/assets/route-CF_8jQYY.js +22 -0
- package/app/dist/server/assets/router-BvYtxrVN.js +2334 -0
- package/app/dist/server/assets/runs-table-BBudn12Y.js +87 -0
- package/app/dist/server/assets/scenario-BXGTSTiP.js +141 -0
- package/app/dist/server/assets/scenario-graph-BErXIRgF.js +46 -0
- package/app/dist/server/assets/schema-DBT8KJsP.js +204 -0
- package/app/dist/server/assets/separator-8MZ7vR3f.js +13 -0
- package/app/dist/server/assets/sheet-5Cyp-4UW.js +74 -0
- package/app/dist/server/assets/site-icon-DJisMQUK.js +22 -0
- package/app/dist/server/assets/sites.index-1l0BtgVf.js +138 -0
- package/app/dist/server/assets/spinner-C1ZW08lp.js +15 -0
- package/app/dist/server/assets/start-CSU4irVK.js +75 -0
- package/app/dist/server/assets/start-form-DI60UOrc.js +399 -0
- package/app/dist/server/assets/table-DtPk_h_5.js +51 -0
- package/app/dist/server/assets/textarea-f0Ip5ed1.js +12 -0
- package/app/dist/server/assets/utils-wksS9pYh.js +138 -0
- package/app/dist/server/assets/who-are-you-ZGyMnpVi.js +122 -0
- package/app/dist/server/assets/workflow-Z99QWO42.js +115 -0
- package/app/dist/server/assets/workflow-view-C8X8U11S.js +1427 -0
- package/app/dist/server/assets/workflows-C0kJoGf1.js +344 -0
- package/app/dist/server/chat.d.ts +35 -0
- package/app/dist/server/chat.js +231 -0
- package/app/dist/server/chat.js.map +1 -0
- package/app/dist/server/core.d.ts +186 -0
- package/app/dist/server/core.js +716 -0
- package/app/dist/server/core.js.map +1 -0
- package/app/dist/server/go-live.d.ts +90 -0
- package/app/dist/server/go-live.js +351 -0
- package/app/dist/server/go-live.js.map +1 -0
- package/app/dist/server/models.d.ts +24 -0
- package/app/dist/server/models.js +42 -0
- package/app/dist/server/models.js.map +1 -0
- package/app/dist/server/people.d.ts +14 -0
- package/app/dist/server/people.js +41 -0
- package/app/dist/server/people.js.map +1 -0
- package/app/dist/server/secrets.d.ts +3 -0
- package/app/dist/server/secrets.js +5 -0
- package/app/dist/server/secrets.js.map +1 -0
- package/app/dist/server/server.js +7024 -0
- package/app/dist/server/setup.d.ts +75 -0
- package/app/dist/server/setup.js +308 -0
- package/app/dist/server/setup.js.map +1 -0
- package/app/dist/server/webhooks.d.ts +11 -0
- package/app/dist/server/webhooks.js +40 -0
- package/app/dist/server/webhooks.js.map +1 -0
- package/app/dist/site-path.d.ts +24 -0
- package/app/dist/site-path.js +27 -0
- package/app/dist/site-path.js.map +1 -0
- package/app/dist/snapshot-build.d.ts +23 -0
- package/app/dist/snapshot-build.js +255 -0
- package/app/dist/snapshot-build.js.map +1 -0
- package/app/dist/snapshot.d.ts +56 -0
- package/app/dist/snapshot.js +19 -0
- package/app/dist/snapshot.js.map +1 -0
- package/app/dist/steps/agent/acp.d.ts +116 -0
- package/app/dist/steps/agent/acp.js +788 -0
- package/app/dist/steps/agent/acp.js.map +1 -0
- package/app/dist/steps/agent/box-session.d.ts +46 -0
- package/app/dist/steps/agent/box-session.js +179 -0
- package/app/dist/steps/agent/box-session.js.map +1 -0
- package/app/dist/steps/agent/carrier.d.ts +56 -0
- package/app/dist/steps/agent/carrier.js +215 -0
- package/app/dist/steps/agent/carrier.js.map +1 -0
- package/app/dist/steps/agent/checkout.d.ts +73 -0
- package/app/dist/steps/agent/checkout.js +167 -0
- package/app/dist/steps/agent/checkout.js.map +1 -0
- package/app/dist/steps/agent/harness.d.ts +5 -0
- package/app/dist/steps/agent/harness.js +199 -0
- package/app/dist/steps/agent/harness.js.map +1 -0
- package/app/dist/steps/agent/local-box.d.ts +16 -0
- package/app/dist/steps/agent/local-box.js +37 -0
- package/app/dist/steps/agent/local-box.js.map +1 -0
- package/app/dist/steps/agent/loop.d.ts +3 -0
- package/app/dist/steps/agent/loop.js +60 -0
- package/app/dist/steps/agent/loop.js.map +1 -0
- package/app/dist/steps/agent/prompt.d.ts +9 -0
- package/app/dist/steps/agent/prompt.js +107 -0
- package/app/dist/steps/agent/prompt.js.map +1 -0
- package/app/dist/steps/agent/tools.d.ts +2814 -0
- package/app/dist/steps/agent/tools.js +248 -0
- package/app/dist/steps/agent/tools.js.map +1 -0
- package/app/dist/steps/agent/transcript.d.ts +19 -0
- package/app/dist/steps/agent/transcript.js +66 -0
- package/app/dist/steps/agent/transcript.js.map +1 -0
- package/app/dist/steps/agent/turn.d.ts +17 -0
- package/app/dist/steps/agent/turn.js +59 -0
- package/app/dist/steps/agent/turn.js.map +1 -0
- package/app/dist/steps/connect.d.ts +25 -0
- package/app/dist/steps/connect.js +141 -0
- package/app/dist/steps/connect.js.map +1 -0
- package/app/dist/steps/go-live.d.ts +40 -0
- package/app/dist/steps/go-live.js +310 -0
- package/app/dist/steps/go-live.js.map +1 -0
- package/app/dist/steps/index.d.ts +3 -0
- package/app/dist/steps/index.js +11 -0
- package/app/dist/steps/index.js.map +1 -0
- package/app/dist/steps/writes.d.ts +29 -0
- package/app/dist/steps/writes.js +174 -0
- package/app/dist/steps/writes.js.map +1 -0
- package/app/dist/stylesheet.json +1 -0
- package/app/src/actor.ts +130 -0
- package/app/src/api-client.ts +73 -0
- package/app/src/api.ts +686 -0
- package/app/src/app-bundle.ts +77 -0
- package/app/src/build.ts +907 -0
- package/app/src/bundle-build.ts +661 -0
- package/app/src/components/app-chrome.tsx +107 -0
- package/app/src/components/app-scope.tsx +98 -0
- package/app/src/components/apply-plan.tsx +191 -0
- package/app/src/components/approval.tsx +367 -0
- package/app/src/components/base-node.tsx +12 -0
- package/app/src/components/boundaries.tsx +64 -0
- package/app/src/components/change-decision.tsx +123 -0
- package/app/src/components/change-glance.tsx +44 -0
- package/app/src/components/chat-button.tsx +20 -0
- package/app/src/components/code.tsx +116 -0
- package/app/src/components/common.tsx +895 -0
- package/app/src/components/connections.tsx +844 -0
- package/app/src/components/credentials.tsx +219 -0
- package/app/src/components/data-grid.tsx +247 -0
- package/app/src/components/declaration-form.tsx +194 -0
- package/app/src/components/density.tsx +44 -0
- package/app/src/components/field-diff.tsx +91 -0
- package/app/src/components/go-live.tsx +669 -0
- package/app/src/components/graph.css +14 -0
- package/app/src/components/graph.tsx +563 -0
- package/app/src/components/grid/cell.tsx +149 -0
- package/app/src/components/grid/clipboard.ts +83 -0
- package/app/src/components/grid/collection.ts +476 -0
- package/app/src/components/grid/columns.tsx +357 -0
- package/app/src/components/grid/conflicts.tsx +81 -0
- package/app/src/components/grid/gestures.ts +169 -0
- package/app/src/components/grid/grid.tsx +760 -0
- package/app/src/components/grid/keys.ts +83 -0
- package/app/src/components/grid/plan.ts +389 -0
- package/app/src/components/grid/review.tsx +340 -0
- package/app/src/components/grid/staged.tsx +454 -0
- package/app/src/components/import/match.tsx +212 -0
- package/app/src/components/import/review.tsx +121 -0
- package/app/src/components/import/sheet.ts +166 -0
- package/app/src/components/import/upload.tsx +116 -0
- package/app/src/components/inspector.tsx +310 -0
- package/app/src/components/kit.tsx +276 -0
- package/app/src/components/ledger.tsx +344 -0
- package/app/src/components/new-run.tsx +114 -0
- package/app/src/components/permissions-diff.tsx +66 -0
- package/app/src/components/permissions-grid.tsx +133 -0
- package/app/src/components/record-form.tsx +208 -0
- package/app/src/components/record-history.tsx +119 -0
- package/app/src/components/runs-table.tsx +111 -0
- package/app/src/components/scenario.tsx +102 -0
- package/app/src/components/shell/bar.tsx +285 -0
- package/app/src/components/shell/chat-parts.tsx +326 -0
- package/app/src/components/shell/chat-prompt.ts +26 -0
- package/app/src/components/shell/chat.tsx +375 -0
- package/app/src/components/shell/draft-card.tsx +123 -0
- package/app/src/components/shell/nav-user.tsx +174 -0
- package/app/src/components/shell/prefs.ts +28 -0
- package/app/src/components/site-icon.tsx +17 -0
- package/app/src/components/store-move.tsx +313 -0
- package/app/src/components/ui/alert.tsx +55 -0
- package/app/src/components/ui/avatar.tsx +90 -0
- package/app/src/components/ui/badge.tsx +48 -0
- package/app/src/components/ui/breadcrumb.tsx +92 -0
- package/app/src/components/ui/button-group.tsx +78 -0
- package/app/src/components/ui/button.tsx +49 -0
- package/app/src/components/ui/card.tsx +69 -0
- package/app/src/components/ui/checkbox.tsx +25 -0
- package/app/src/components/ui/collapsible.tsx +15 -0
- package/app/src/components/ui/dialog.tsx +132 -0
- package/app/src/components/ui/dropdown-menu.tsx +252 -0
- package/app/src/components/ui/empty.tsx +86 -0
- package/app/src/components/ui/field.tsx +218 -0
- package/app/src/components/ui/input.tsx +19 -0
- package/app/src/components/ui/item.tsx +179 -0
- package/app/src/components/ui/label.tsx +17 -0
- package/app/src/components/ui/native-select.tsx +47 -0
- package/app/src/components/ui/popover.tsx +62 -0
- package/app/src/components/ui/separator.tsx +18 -0
- package/app/src/components/ui/sheet.tsx +102 -0
- package/app/src/components/ui/skeleton.tsx +7 -0
- package/app/src/components/ui/slider.tsx +40 -0
- package/app/src/components/ui/sonner.tsx +41 -0
- package/app/src/components/ui/spinner.tsx +17 -0
- package/app/src/components/ui/table.tsx +72 -0
- package/app/src/components/ui/tabs.tsx +68 -0
- package/app/src/components/ui/textarea.tsx +17 -0
- package/app/src/components/ui/tooltip.tsx +51 -0
- package/app/src/components/who-are-you.tsx +128 -0
- package/app/src/components/workflow-runs.tsx +213 -0
- package/app/src/components/workflow-view.tsx +293 -0
- package/app/src/components/workflow.tsx +142 -0
- package/app/src/components/zoom-slider.tsx +69 -0
- package/app/src/content-files.ts +248 -0
- package/app/src/content-types.ts +49 -0
- package/app/src/content.ts +49 -0
- package/app/src/context.ts +91 -0
- package/app/src/dev-imports.ts +5 -0
- package/app/src/env.d.ts +48 -0
- package/app/src/form/run-form.tsx +45 -0
- package/app/src/form/schema.ts +308 -0
- package/app/src/form/secure-fields.ts +42 -0
- package/app/src/form/start-form.tsx +427 -0
- package/app/src/form/will-ask.tsx +25 -0
- package/app/src/functions.ts +300 -0
- package/app/src/graph/layout.ts +238 -0
- package/app/src/graph/outline-graph.ts +123 -0
- package/app/src/graph/run-graph.ts +193 -0
- package/app/src/graph/scenario-graph.ts +48 -0
- package/app/src/graph/types.ts +144 -0
- package/app/src/graph/wildcard.ts +40 -0
- package/app/src/handler.ts +257 -0
- package/app/src/icon-small.svg +1 -0
- package/app/src/icon.svg +1 -0
- package/app/src/index.ts +455 -0
- package/app/src/lib/apply-plan.ts +79 -0
- package/app/src/lib/apps.ts +10 -0
- package/app/src/lib/changes.ts +86 -0
- package/app/src/lib/chat.ts +146 -0
- package/app/src/lib/cn-tables.ts +116 -0
- package/app/src/lib/decidable.ts +21 -0
- package/app/src/lib/desktop.ts +52 -0
- package/app/src/lib/grid-diff.ts +205 -0
- package/app/src/lib/inbox.ts +59 -0
- package/app/src/lib/lines.ts +31 -0
- package/app/src/lib/locales.ts +101 -0
- package/app/src/lib/motion.ts +17 -0
- package/app/src/lib/names.ts +12 -0
- package/app/src/lib/preview.ts +49 -0
- package/app/src/lib/records.ts +56 -0
- package/app/src/lib/sites.ts +92 -0
- package/app/src/lib/time.ts +10 -0
- package/app/src/lib/tone.ts +78 -0
- package/app/src/lib/utils.ts +13 -0
- package/app/src/login/admission.ts +72 -0
- package/app/src/login/keys.ts +65 -0
- package/app/src/login/page.ts +119 -0
- package/app/src/login/public.ts +138 -0
- package/app/src/login/staff.ts +399 -0
- package/app/src/loopback.ts +96 -0
- package/app/src/middleware.ts +26 -0
- package/app/src/public-fns.ts +5 -0
- package/app/src/queries.ts +859 -0
- package/app/src/router.tsx +45 -0
- package/app/src/routes/__root.tsx +223 -0
- package/app/src/routes/api/call.ts +17 -0
- package/app/src/routes/api/chat.ts +15 -0
- package/app/src/routes/api/sign-in.ts +14 -0
- package/app/src/routes/apps/$name.tsx +380 -0
- package/app/src/routes/apps/index.tsx +204 -0
- package/app/src/routes/apps/route.tsx +8 -0
- package/app/src/routes/changes/$id.tsx +205 -0
- package/app/src/routes/changes/index.tsx +103 -0
- package/app/src/routes/changes/route.tsx +8 -0
- package/app/src/routes/connect/$vendor/callback.ts +9 -0
- package/app/src/routes/connectors/$vendor.tsx +184 -0
- package/app/src/routes/connectors/index.tsx +194 -0
- package/app/src/routes/connectors/route.tsx +8 -0
- package/app/src/routes/data/$name/import.tsx +177 -0
- package/app/src/routes/data/$name/index.tsx +266 -0
- package/app/src/routes/data/$name/route.tsx +18 -0
- package/app/src/routes/data/index.tsx +178 -0
- package/app/src/routes/data/route.tsx +11 -0
- package/app/src/routes/hosting/connect.tsx +156 -0
- package/app/src/routes/hosting/existing.tsx +115 -0
- package/app/src/routes/hosting/index.tsx +845 -0
- package/app/src/routes/hosting/route.tsx +11 -0
- package/app/src/routes/inbox.tsx +310 -0
- package/app/src/routes/index.tsx +8 -0
- package/app/src/routes/people.tsx +624 -0
- package/app/src/routes/permissions.tsx +284 -0
- package/app/src/routes/resources.tsx +10 -0
- package/app/src/routes/runs/$id.tsx +14 -0
- package/app/src/routes/runs/index.tsx +8 -0
- package/app/src/routes/setup/connect.tsx +10 -0
- package/app/src/routes/setup/existing.tsx +8 -0
- package/app/src/routes/setup/github/callback.ts +7 -0
- package/app/src/routes/setup/github/manifest.ts +7 -0
- package/app/src/routes/setup/index.tsx +8 -0
- package/app/src/routes/sites.index.tsx +131 -0
- package/app/src/routes/start.tsx +15 -0
- package/app/src/routes/workflows/$name/index.tsx +140 -0
- package/app/src/routes/workflows/$name/new.tsx +11 -0
- package/app/src/routes/workflows/$name/route.tsx +58 -0
- package/app/src/routes/workflows/$name/runs/$id.tsx +97 -0
- package/app/src/routes/workflows/index.tsx +413 -0
- package/app/src/routes/workflows/route.tsx +11 -0
- package/app/src/seo.ts +94 -0
- package/app/src/server/available.ts +89 -0
- package/app/src/server/chat.ts +249 -0
- package/app/src/server/columns.ts +52 -0
- package/app/src/server/connect.ts +89 -0
- package/app/src/server/core.ts +889 -0
- package/app/src/server/go-live.ts +420 -0
- package/app/src/server/host-derived.ts +72 -0
- package/app/src/server/models.ts +52 -0
- package/app/src/server/people.ts +51 -0
- package/app/src/server/secrets.ts +6 -0
- package/app/src/server/setup.ts +335 -0
- package/app/src/server/webhooks.ts +38 -0
- package/app/src/server.ts +4 -0
- package/app/src/site-path.ts +35 -0
- package/app/src/site-url.ts +53 -0
- package/app/src/site.ts +154 -0
- package/app/src/snapshot-build.ts +288 -0
- package/app/src/snapshot.ts +69 -0
- package/app/src/start.ts +63 -0
- package/app/src/steps/agent/acp.ts +918 -0
- package/app/src/steps/agent/box-session.ts +230 -0
- package/app/src/steps/agent/carrier.ts +242 -0
- package/app/src/steps/agent/checkout.ts +222 -0
- package/app/src/steps/agent/harness.ts +265 -0
- package/app/src/steps/agent/local-box.ts +40 -0
- package/app/src/steps/agent/loop.ts +80 -0
- package/app/src/steps/agent/prompt.ts +124 -0
- package/app/src/steps/agent/tools.ts +300 -0
- package/app/src/steps/agent/transcript.ts +95 -0
- package/app/src/steps/agent/turn.ts +63 -0
- package/app/src/steps/connect.ts +151 -0
- package/app/src/steps/go-live.ts +358 -0
- package/app/src/steps/index.ts +13 -0
- package/app/src/steps/writes.ts +200 -0
- package/app/src/style.css +69 -0
- package/app/src/ui.css +301 -0
- package/app/src/ui.ts +147 -0
- package/app/src/worker/app.ts +189 -0
- package/app/src/worker/assets.ts +12 -0
- package/app/src/worker/main.ts +32 -0
- package/app/src/worker/missing.js +13 -0
- package/app/tsconfig.site.json +20 -0
- package/better-auth/README.md +115 -0
- package/better-auth/dist/connector.d.ts +5 -0
- package/better-auth/dist/connector.js +14 -0
- package/better-auth/dist/connector.js.map +1 -0
- package/better-auth/dist/db/staff.d.ts +695 -0
- package/better-auth/dist/db/staff.js +4 -0
- package/better-auth/dist/db/staff.js.map +1 -0
- package/better-auth/dist/db/tables.d.ts +702 -0
- package/better-auth/dist/db/tables.js +69 -0
- package/better-auth/dist/db/tables.js.map +1 -0
- package/better-auth/dist/db/visitors.d.ts +695 -0
- package/better-auth/dist/db/visitors.js +4 -0
- package/better-auth/dist/db/visitors.js.map +1 -0
- package/better-auth/dist/index.d.ts +11 -0
- package/better-auth/dist/index.js +16 -0
- package/better-auth/dist/index.js.map +1 -0
- package/better-auth/dist/instance.d.ts +716 -0
- package/better-auth/dist/instance.js +210 -0
- package/better-auth/dist/instance.js.map +1 -0
- package/better-auth/dist/login.d.ts +13 -0
- package/better-auth/dist/login.js +139 -0
- package/better-auth/dist/login.js.map +1 -0
- package/better-auth/dist/staff.d.ts +12 -0
- package/better-auth/dist/staff.js +254 -0
- package/better-auth/dist/staff.js.map +1 -0
- package/better-auth/drizzle/staff/0000_closed_toro.sql +64 -0
- package/better-auth/drizzle/staff/meta/0000_snapshot.json +431 -0
- package/better-auth/drizzle/staff/meta/_journal.json +13 -0
- package/better-auth/drizzle/visitors/0000_natural_dexter_bennett.sql +64 -0
- package/better-auth/drizzle/visitors/meta/0000_snapshot.json +431 -0
- package/better-auth/drizzle/visitors/meta/_journal.json +13 -0
- package/bridge/README.md +146 -0
- package/bridge/dist/bin.d.ts +20 -0
- package/bridge/dist/bin.js +37 -0
- package/bridge/dist/bin.js.map +1 -0
- package/bridge/dist/bridge.d.ts +159 -0
- package/bridge/dist/bridge.js +189 -0
- package/bridge/dist/bridge.js.map +1 -0
- package/bridge/dist/client.d.ts +37 -0
- package/bridge/dist/client.js +118 -0
- package/bridge/dist/client.js.map +1 -0
- package/bridge/dist/configure.d.ts +5 -0
- package/bridge/dist/configure.js +17 -0
- package/bridge/dist/configure.js.map +1 -0
- package/bridge/dist/connector.d.ts +164 -0
- package/bridge/dist/connector.js +335 -0
- package/bridge/dist/connector.js.map +1 -0
- package/bridge/dist/fake.d.ts +4 -0
- package/bridge/dist/fake.js +4 -0
- package/bridge/dist/fake.js.map +1 -0
- package/bridge/dist/fixtures.d.ts +36 -0
- package/bridge/dist/fixtures.js +18 -0
- package/bridge/dist/fixtures.js.map +1 -0
- package/bridge/dist/gen/bridge/v1/bridge_pb.d.ts +694 -0
- package/bridge/dist/gen/bridge/v1/bridge_pb.js +173 -0
- package/bridge/dist/gen/bridge/v1/bridge_pb.js.map +1 -0
- package/bridge/dist/index.d.ts +6 -0
- package/bridge/dist/index.js +7 -0
- package/bridge/dist/index.js.map +1 -0
- package/bridge/dist/json.d.ts +7 -0
- package/bridge/dist/json.js +5 -0
- package/bridge/dist/json.js.map +1 -0
- package/bridge/dist/lazy.d.ts +20 -0
- package/bridge/dist/lazy.js +60 -0
- package/bridge/dist/lazy.js.map +1 -0
- package/bridge/dist/pins.d.ts +12 -0
- package/bridge/dist/pins.js +17 -0
- package/bridge/dist/pins.js.map +1 -0
- package/bridge/dist/replies.d.ts +79 -0
- package/bridge/dist/replies.js +217 -0
- package/bridge/dist/replies.js.map +1 -0
- package/bridge/dist/schema.d.ts +65 -0
- package/bridge/dist/schema.js +9 -0
- package/bridge/dist/schema.js.map +1 -0
- package/bridge/dist/tffake.d.ts +57 -0
- package/bridge/dist/tffake.js +105 -0
- package/bridge/dist/tffake.js.map +1 -0
- package/bridge/dist/tfschema/cli.d.ts +10 -0
- package/bridge/dist/tfschema/cli.js +57 -0
- package/bridge/dist/tfschema/cli.js.map +1 -0
- package/bridge/dist/tfschema/ctyToZod.d.ts +20 -0
- package/bridge/dist/tfschema/ctyToZod.js +49 -0
- package/bridge/dist/tfschema/ctyToZod.js.map +1 -0
- package/bridge/dist/tfschema/generate.d.ts +16 -0
- package/bridge/dist/tfschema/generate.js +159 -0
- package/bridge/dist/tfschema/generate.js.map +1 -0
- package/bridge/dist/tfschema/state.d.ts +14 -0
- package/bridge/dist/tfschema/state.js +51 -0
- package/bridge/dist/tfschema/state.js.map +1 -0
- package/bridge/dist/tfschema/types.d.ts +52 -0
- package/bridge/dist/tfschema/types.js +2 -0
- package/bridge/dist/tfschema/types.js.map +1 -0
- package/bridge/dist/tfschema.d.ts +4 -0
- package/bridge/dist/tfschema.js +8 -0
- package/bridge/dist/tfschema.js.map +1 -0
- package/bridge/testdata/README.md +64 -0
- package/bridge/testdata/pins.json +27 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_branch_protection/provider-bridge_main/import.json +32 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository/provider-bridge/import.json +30 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository/provider-bridge/read.json +29 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository/sanoma/import.json +30 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository/sanoma/read.json +29 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository/sanoma-apply-test/apply.json +29 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository/sanoma-apply-test/plan.json +40 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository/sanoma-apply-test-delete/apply.json +23 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository/sanoma-apply-test-delete/plan.json +25 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository/sanoma-apply-test-update-1/apply.json +33 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository/sanoma-apply-test-update-1/plan.json +32 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository_collaborator/provider-bridge_notsaltylol/import.json +29 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository_collaborator/provider-bridge_notsaltylol/read.json +28 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository_collaborator/provider-bridge_octocat/import.json +27 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository_collaborator/sanoma-apply-test-collaborator/apply.json +28 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository_collaborator/sanoma-apply-test-collaborator/plan.json +29 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository_collaborator/sanoma-apply-test-collaborator-delete/apply.json +21 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository_collaborator/sanoma-apply-test-collaborator-delete/plan.json +23 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository_collaborator/sanoma-apply-test-collaborator-update-1/apply-delete.json +21 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository_collaborator/sanoma-apply-test-collaborator-update-1/apply.json +28 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository_collaborator/sanoma-apply-test-collaborator-update-1/plan.json +33 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository_collaborator/sanoma-apply-test_octocat/import.json +29 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository_collaborator/sanoma-apply-test_octocat/read.json +28 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository_deploy_key/sanoma-apply-test-key/apply.json +27 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository_deploy_key/sanoma-apply-test-key/plan.json +29 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository_deploy_key/sanoma-apply-test-key-delete/apply.json +21 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository_deploy_key/sanoma-apply-test-key-delete/plan.json +23 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository_deploy_key/sanoma-apply-test_1000000101/import.json +28 -0
- package/bridge/testdata/replies/integrations_github_6.13.0/github_repository_deploy_key/sanoma-apply-test_1000000101/read.json +26 -0
- package/bridge/testdata/replies/kreuzwerker_docker_4.6.0/docker_container/484189f591100781981bb24cb4e365c4ae74db9eb1a0ff03489a7e061b339132/import.json +28 -0
- package/bridge/testdata/replies/kreuzwerker_docker_4.6.0/docker_container/484189f591100781981bb24cb4e365c4ae74db9eb1a0ff03489a7e061b339132-aede5c47/apply-delete.json +21 -0
- package/bridge/testdata/replies/kreuzwerker_docker_4.6.0/docker_container/484189f591100781981bb24cb4e365c4ae74db9eb1a0ff03489a7e061b339132-aede5c47/apply.json +28 -0
- package/bridge/testdata/replies/kreuzwerker_docker_4.6.0/docker_container/484189f591100781981bb24cb4e365c4ae74db9eb1a0ff03489a7e061b339132-aede5c47/plan.json +49 -0
- package/bridge/testdata/replies/kreuzwerker_docker_4.6.0/docker_container/484189f591100781981bb24cb4e365c4ae74db9eb1a0ff03489a7e061b339132-c0239934/plan.json +27 -0
- package/bridge/testdata/replies/kreuzwerker_docker_4.6.0/docker_container/8a4dfc1ebfe1b74d277a6e4017921d06e302d4c10fe6999e8ab5cb1522dcb2ad/import.json +25 -0
- package/bridge/testdata/replies/kreuzwerker_docker_4.6.0/docker_container/8a4dfc1ebfe1b74d277a6e4017921d06e302d4c10fe6999e8ab5cb1522dcb2ad-delete/apply.json +21 -0
- package/bridge/testdata/replies/kreuzwerker_docker_4.6.0/docker_container/8a4dfc1ebfe1b74d277a6e4017921d06e302d4c10fe6999e8ab5cb1522dcb2ad-delete/plan.json +23 -0
- package/bridge/testdata/replies/kreuzwerker_docker_4.6.0/docker_container/create-2463512b/apply.json +28 -0
- package/bridge/testdata/replies/kreuzwerker_docker_4.6.0/docker_container/create-2463512b/plan.json +42 -0
- package/bridge/testdata/schemas/integrations_github_6.13.0.json +10680 -0
- package/bridge/testdata/schemas/kreuzwerker_docker_4.6.0.json +4833 -0
- package/bridge/testdata/schemas/stripe_stripe_0.3.0.json +55612 -0
- package/bridge/testdata/schemas/supabase_supabase_1.11.0.json +790 -0
- package/dev/README.md +33 -0
- package/dev/dist/cli.d.ts +5 -0
- package/dev/dist/cli.js +120 -0
- package/dev/dist/cli.js.map +1 -0
- package/dev/dist/links.d.ts +33 -0
- package/dev/dist/links.js +86 -0
- package/dev/dist/links.js.map +1 -0
- package/dist/check.d.ts +1 -1
- package/dist/check.js +8 -8
- package/dist/check.js.map +1 -1
- package/dist/cli.js +29 -25
- package/dist/cli.js.map +1 -1
- package/dist/config.d.ts +1 -4
- package/dist/config.js +2 -4
- package/dist/config.js.map +1 -1
- package/dist/dev.d.ts +5 -8
- package/dist/dev.js +13 -50
- package/dist/dev.js.map +1 -1
- package/dist/env.js +1 -1
- package/dist/env.js.map +1 -1
- package/dist/events.d.ts +1 -1
- package/dist/identity.js +1 -1
- package/dist/identity.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/init.d.ts +4 -6
- package/dist/init.js +21 -15
- package/dist/init.js.map +1 -1
- package/dist/key.js +1 -1
- package/dist/key.js.map +1 -1
- package/dist/ledger.d.ts +1 -1
- package/dist/ledger.js +1 -1
- package/dist/ledger.js.map +1 -1
- package/dist/listen.d.ts +1 -1
- package/dist/listen.js +1 -1
- package/dist/listen.js.map +1 -1
- package/dist/oxlint-plugin.js +2 -2
- package/dist/oxlint-plugin.js.map +1 -1
- package/dist/postgres.js +1 -1
- package/dist/postgres.js.map +1 -1
- package/dist/serve.d.ts +4 -4
- package/dist/serve.js +9 -10
- package/dist/serve.js.map +1 -1
- package/dist/sites.d.ts +2 -7
- package/dist/sites.js +4 -10
- package/dist/sites.js.map +1 -1
- package/dist/source.d.ts +2 -1
- package/dist/source.js +54 -3
- package/dist/source.js.map +1 -1
- package/dist/wakeup.js +1 -1
- package/dist/wakeup.js.map +1 -1
- package/dist/worker-port.d.ts +2 -2
- package/dist/worker-port.js +2 -2
- package/dist/worker-port.js.map +1 -1
- package/oxlint.json +283 -47
- package/package.json +321 -34
- package/template/AGENTS.md +2 -2
- package/testing/README.md +261 -0
- package/testing/dist/build.d.ts +16 -0
- package/testing/dist/build.js +95 -0
- package/testing/dist/build.js.map +1 -0
- package/testing/dist/database.d.ts +96 -0
- package/testing/dist/database.js +213 -0
- package/testing/dist/database.js.map +1 -0
- package/testing/dist/features.d.ts +25 -0
- package/testing/dist/features.js +176 -0
- package/testing/dist/features.js.map +1 -0
- package/testing/dist/harness.d.ts +27 -0
- package/testing/dist/harness.js +63 -0
- package/testing/dist/harness.js.map +1 -0
- package/testing/dist/host.d.ts +229 -0
- package/testing/dist/host.js +738 -0
- package/testing/dist/host.js.map +1 -0
- package/testing/dist/index.d.ts +36 -0
- package/testing/dist/index.js +41 -0
- package/testing/dist/index.js.map +1 -0
- package/testing/dist/replay.d.ts +44 -0
- package/testing/dist/replay.js +95 -0
- package/testing/dist/replay.js.map +1 -0
- package/testing/dist/sandbox.d.ts +59 -0
- package/testing/dist/sandbox.js +201 -0
- package/testing/dist/sandbox.js.map +1 -0
- package/testing/dist/scenarios.d.ts +17 -0
- package/testing/dist/scenarios.js +64 -0
- package/testing/dist/scenarios.js.map +1 -0
- package/testing/dist/sentinel.d.ts +19 -0
- package/testing/dist/sentinel.js +54 -0
- package/testing/dist/sentinel.js.map +1 -0
- package/testing/dist/wakeup.d.ts +114 -0
- package/testing/dist/wakeup.js +288 -0
- package/testing/dist/wakeup.js.map +1 -0
- package/workflows/CLOUD-IDENTITY.md +333 -0
- package/workflows/KMS-SECRETS.md +167 -0
- package/workflows/README.md +990 -0
- package/workflows/SECRET-SUPPORT.md +72 -0
- package/workflows/dist/app-steps.d.ts +17 -0
- package/workflows/dist/app-steps.js +43 -0
- package/workflows/dist/app-steps.js.map +1 -0
- package/workflows/dist/app-workflows.d.ts +174 -0
- package/workflows/dist/app-workflows.js +117 -0
- package/workflows/dist/app-workflows.js.map +1 -0
- package/workflows/dist/apply-steps.d.ts +8 -0
- package/workflows/dist/apply-steps.js +92 -0
- package/workflows/dist/apply-steps.js.map +1 -0
- package/workflows/dist/apply.d.ts +213 -0
- package/workflows/dist/apply.js +634 -0
- package/workflows/dist/apply.js.map +1 -0
- package/workflows/dist/approvals.d.ts +77 -0
- package/workflows/dist/approvals.js +211 -0
- package/workflows/dist/approvals.js.map +1 -0
- package/workflows/dist/apps-list.d.ts +116 -0
- package/workflows/dist/apps-list.js +150 -0
- package/workflows/dist/apps-list.js.map +1 -0
- package/workflows/dist/apps.d.ts +31 -0
- package/workflows/dist/apps.js +138 -0
- package/workflows/dist/apps.js.map +1 -0
- package/workflows/dist/ast.d.ts +59 -0
- package/workflows/dist/ast.js +83 -0
- package/workflows/dist/ast.js.map +1 -0
- package/workflows/dist/authentication.d.ts +140 -0
- package/workflows/dist/authentication.js +190 -0
- package/workflows/dist/authentication.js.map +1 -0
- package/workflows/dist/bundled.d.ts +39 -0
- package/workflows/dist/bundled.js +16 -0
- package/workflows/dist/bundled.js.map +1 -0
- package/workflows/dist/call-workflow.d.ts +21 -0
- package/workflows/dist/call-workflow.js +35 -0
- package/workflows/dist/call-workflow.js.map +1 -0
- package/workflows/dist/call.d.ts +104 -0
- package/workflows/dist/call.js +660 -0
- package/workflows/dist/call.js.map +1 -0
- package/workflows/dist/cedar.d.ts +109 -0
- package/workflows/dist/cedar.js +533 -0
- package/workflows/dist/cedar.js.map +1 -0
- package/workflows/dist/change-steps.d.ts +10 -0
- package/workflows/dist/change-steps.js +200 -0
- package/workflows/dist/change-steps.js.map +1 -0
- package/workflows/dist/change-workflow.d.ts +54 -0
- package/workflows/dist/change-workflow.js +161 -0
- package/workflows/dist/change-workflow.js.map +1 -0
- package/workflows/dist/change.d.ts +330 -0
- package/workflows/dist/change.js +351 -0
- package/workflows/dist/change.js.map +1 -0
- package/workflows/dist/chat-steps.d.ts +5 -0
- package/workflows/dist/chat-steps.js +107 -0
- package/workflows/dist/chat-steps.js.map +1 -0
- package/workflows/dist/chat-workflow.d.ts +43 -0
- package/workflows/dist/chat-workflow.js +47 -0
- package/workflows/dist/chat-workflow.js.map +1 -0
- package/workflows/dist/chats.d.ts +62 -0
- package/workflows/dist/chats.js +109 -0
- package/workflows/dist/chats.js.map +1 -0
- package/workflows/dist/claims.d.ts +58 -0
- package/workflows/dist/claims.js +27 -0
- package/workflows/dist/claims.js.map +1 -0
- package/workflows/dist/client.d.ts +563 -0
- package/workflows/dist/client.js +1464 -0
- package/workflows/dist/client.js.map +1 -0
- package/workflows/dist/cloud-identity.d.ts +56 -0
- package/workflows/dist/cloud-identity.js +160 -0
- package/workflows/dist/cloud-identity.js.map +1 -0
- package/workflows/dist/collection.d.ts +139 -0
- package/workflows/dist/collection.js +522 -0
- package/workflows/dist/collection.js.map +1 -0
- package/workflows/dist/config.d.ts +328 -0
- package/workflows/dist/config.js +857 -0
- package/workflows/dist/config.js.map +1 -0
- package/workflows/dist/connect-workflow.d.ts +6 -0
- package/workflows/dist/connect-workflow.js +35 -0
- package/workflows/dist/connect-workflow.js.map +1 -0
- package/workflows/dist/connection.d.ts +669 -0
- package/workflows/dist/connection.js +1228 -0
- package/workflows/dist/connection.js.map +1 -0
- package/workflows/dist/constructors.d.ts +38 -0
- package/workflows/dist/constructors.js +9 -0
- package/workflows/dist/constructors.js.map +1 -0
- package/workflows/dist/credentials.d.ts +24 -0
- package/workflows/dist/credentials.js +168 -0
- package/workflows/dist/credentials.js.map +1 -0
- package/workflows/dist/cucumber.d.ts +66 -0
- package/workflows/dist/cucumber.js +163 -0
- package/workflows/dist/cucumber.js.map +1 -0
- package/workflows/dist/data.d.ts +2 -0
- package/workflows/dist/data.js +3 -0
- package/workflows/dist/data.js.map +1 -0
- package/workflows/dist/database.d.ts +83 -0
- package/workflows/dist/database.js +95 -0
- package/workflows/dist/database.js.map +1 -0
- package/workflows/dist/db/company.d.ts +2351 -0
- package/workflows/dist/db/company.js +245 -0
- package/workflows/dist/db/company.js.map +1 -0
- package/workflows/dist/db/dbos.d.ts +111 -0
- package/workflows/dist/db/dbos.js +15 -0
- package/workflows/dist/db/dbos.js.map +1 -0
- package/workflows/dist/db/identity.d.ts +367 -0
- package/workflows/dist/db/identity.js +48 -0
- package/workflows/dist/db/identity.js.map +1 -0
- package/workflows/dist/db/index.d.ts +7 -0
- package/workflows/dist/db/index.js +12 -0
- package/workflows/dist/db/index.js.map +1 -0
- package/workflows/dist/db/kms.d.ts +224 -0
- package/workflows/dist/db/kms.js +29 -0
- package/workflows/dist/db/kms.js.map +1 -0
- package/workflows/dist/db/migrate.d.ts +66 -0
- package/workflows/dist/db/migrate.js +39 -0
- package/workflows/dist/db/migrate.js.map +1 -0
- package/workflows/dist/db/wakeup.d.ts +271 -0
- package/workflows/dist/db/wakeup.js +34 -0
- package/workflows/dist/db/wakeup.js.map +1 -0
- package/workflows/dist/db.d.ts +117 -0
- package/workflows/dist/db.js +375 -0
- package/workflows/dist/db.js.map +1 -0
- package/workflows/dist/deadlines.d.ts +107 -0
- package/workflows/dist/deadlines.js +208 -0
- package/workflows/dist/deadlines.js.map +1 -0
- package/workflows/dist/define.d.ts +288 -0
- package/workflows/dist/define.js +152 -0
- package/workflows/dist/define.js.map +1 -0
- package/workflows/dist/definitions.d.ts +25 -0
- package/workflows/dist/definitions.js +16 -0
- package/workflows/dist/definitions.js.map +1 -0
- package/workflows/dist/deployment-key.d.ts +24 -0
- package/workflows/dist/deployment-key.js +54 -0
- package/workflows/dist/deployment-key.js.map +1 -0
- package/workflows/dist/describe.d.ts +40 -0
- package/workflows/dist/describe.js +435 -0
- package/workflows/dist/describe.js.map +1 -0
- package/workflows/dist/description.d.ts +555 -0
- package/workflows/dist/description.js +389 -0
- package/workflows/dist/description.js.map +1 -0
- package/workflows/dist/direct.d.ts +10 -0
- package/workflows/dist/direct.js +26 -0
- package/workflows/dist/direct.js.map +1 -0
- package/workflows/dist/dns.d.ts +20 -0
- package/workflows/dist/dns.js +26 -0
- package/workflows/dist/dns.js.map +1 -0
- package/workflows/dist/drift.d.ts +136 -0
- package/workflows/dist/drift.js +188 -0
- package/workflows/dist/drift.js.map +1 -0
- package/workflows/dist/env.d.ts +51 -0
- package/workflows/dist/env.js +83 -0
- package/workflows/dist/env.js.map +1 -0
- package/workflows/dist/errors.d.ts +115 -0
- package/workflows/dist/errors.js +193 -0
- package/workflows/dist/errors.js.map +1 -0
- package/workflows/dist/expectations.d.ts +26 -0
- package/workflows/dist/expectations.js +171 -0
- package/workflows/dist/expectations.js.map +1 -0
- package/workflows/dist/fake.d.ts +93 -0
- package/workflows/dist/fake.js +280 -0
- package/workflows/dist/fake.js.map +1 -0
- package/workflows/dist/fill.d.ts +17 -0
- package/workflows/dist/fill.js +39 -0
- package/workflows/dist/fill.js.map +1 -0
- package/workflows/dist/folded.d.ts +7 -0
- package/workflows/dist/folded.js +28 -0
- package/workflows/dist/folded.js.map +1 -0
- package/workflows/dist/follow-steps.d.ts +8 -0
- package/workflows/dist/follow-steps.js +113 -0
- package/workflows/dist/follow-steps.js.map +1 -0
- package/workflows/dist/follow-workflow.d.ts +56 -0
- package/workflows/dist/follow-workflow.js +50 -0
- package/workflows/dist/follow-workflow.js.map +1 -0
- package/workflows/dist/grid.d.ts +34 -0
- package/workflows/dist/grid.js +63 -0
- package/workflows/dist/grid.js.map +1 -0
- package/workflows/dist/host-derive.d.ts +162 -0
- package/workflows/dist/host-derive.js +438 -0
- package/workflows/dist/host-derive.js.map +1 -0
- package/workflows/dist/host.d.ts +158 -0
- package/workflows/dist/host.js +112 -0
- package/workflows/dist/host.js.map +1 -0
- package/workflows/dist/identity-broker.d.ts +14 -0
- package/workflows/dist/identity-broker.js +84 -0
- package/workflows/dist/identity-broker.js.map +1 -0
- package/workflows/dist/identity-provisioning.d.ts +50 -0
- package/workflows/dist/identity-provisioning.js +304 -0
- package/workflows/dist/identity-provisioning.js.map +1 -0
- package/workflows/dist/identity-service.d.ts +25 -0
- package/workflows/dist/identity-service.js +152 -0
- package/workflows/dist/identity-service.js.map +1 -0
- package/workflows/dist/import-workflow.d.ts +4 -0
- package/workflows/dist/import-workflow.js +120 -0
- package/workflows/dist/import-workflow.js.map +1 -0
- package/workflows/dist/import.d.ts +94 -0
- package/workflows/dist/import.js +161 -0
- package/workflows/dist/import.js.map +1 -0
- package/workflows/dist/index.d.ts +66 -0
- package/workflows/dist/index.js +73 -0
- package/workflows/dist/index.js.map +1 -0
- package/workflows/dist/kms-secrets.d.ts +48 -0
- package/workflows/dist/kms-secrets.js +320 -0
- package/workflows/dist/kms-secrets.js.map +1 -0
- package/workflows/dist/ledger.d.ts +281 -0
- package/workflows/dist/ledger.js +335 -0
- package/workflows/dist/ledger.js.map +1 -0
- package/workflows/dist/lint.d.ts +24 -0
- package/workflows/dist/lint.js +185 -0
- package/workflows/dist/lint.js.map +1 -0
- package/workflows/dist/load.d.ts +85 -0
- package/workflows/dist/load.js +407 -0
- package/workflows/dist/load.js.map +1 -0
- package/workflows/dist/local-sandbox.d.ts +17 -0
- package/workflows/dist/local-sandbox.js +131 -0
- package/workflows/dist/local-sandbox.js.map +1 -0
- package/workflows/dist/lockfile.d.ts +38 -0
- package/workflows/dist/lockfile.js +74 -0
- package/workflows/dist/lockfile.js.map +1 -0
- package/workflows/dist/log.d.ts +24 -0
- package/workflows/dist/log.js +83 -0
- package/workflows/dist/log.js.map +1 -0
- package/workflows/dist/login-code.d.ts +23 -0
- package/workflows/dist/login-code.js +37 -0
- package/workflows/dist/login-code.js.map +1 -0
- package/workflows/dist/oauth.d.ts +112 -0
- package/workflows/dist/oauth.js +301 -0
- package/workflows/dist/oauth.js.map +1 -0
- package/workflows/dist/op.d.ts +465 -0
- package/workflows/dist/op.js +249 -0
- package/workflows/dist/op.js.map +1 -0
- package/workflows/dist/outline.d.ts +186 -0
- package/workflows/dist/outline.js +554 -0
- package/workflows/dist/outline.js.map +1 -0
- package/workflows/dist/paths.d.ts +56 -0
- package/workflows/dist/paths.js +124 -0
- package/workflows/dist/paths.js.map +1 -0
- package/workflows/dist/person.d.ts +66 -0
- package/workflows/dist/person.js +71 -0
- package/workflows/dist/person.js.map +1 -0
- package/workflows/dist/plugin.d.ts +45 -0
- package/workflows/dist/plugin.js +61 -0
- package/workflows/dist/plugin.js.map +1 -0
- package/workflows/dist/policy.d.ts +126 -0
- package/workflows/dist/policy.js +50 -0
- package/workflows/dist/policy.js.map +1 -0
- package/workflows/dist/preview.d.ts +26 -0
- package/workflows/dist/preview.js +29 -0
- package/workflows/dist/preview.js.map +1 -0
- package/workflows/dist/provisioning-identity.d.ts +27 -0
- package/workflows/dist/provisioning-identity.js +81 -0
- package/workflows/dist/provisioning-identity.js.map +1 -0
- package/workflows/dist/renewal.d.ts +102 -0
- package/workflows/dist/renewal.js +186 -0
- package/workflows/dist/renewal.js.map +1 -0
- package/workflows/dist/resource.d.ts +506 -0
- package/workflows/dist/resource.js +600 -0
- package/workflows/dist/resource.js.map +1 -0
- package/workflows/dist/resources.d.ts +97 -0
- package/workflows/dist/resources.js +384 -0
- package/workflows/dist/resources.js.map +1 -0
- package/workflows/dist/run-status.d.ts +10 -0
- package/workflows/dist/run-status.js +27 -0
- package/workflows/dist/run-status.js.map +1 -0
- package/workflows/dist/run.d.ts +173 -0
- package/workflows/dist/run.js +22 -0
- package/workflows/dist/run.js.map +1 -0
- package/workflows/dist/runner-box.d.ts +23 -0
- package/workflows/dist/runner-box.js +181 -0
- package/workflows/dist/runner-box.js.map +1 -0
- package/workflows/dist/runner-protocol.d.ts +73 -0
- package/workflows/dist/runner-protocol.js +34 -0
- package/workflows/dist/runner-protocol.js.map +1 -0
- package/workflows/dist/runtime-ops.d.ts +242 -0
- package/workflows/dist/runtime-ops.js +354 -0
- package/workflows/dist/runtime-ops.js.map +1 -0
- package/workflows/dist/sandbox-contract.d.ts +109 -0
- package/workflows/dist/sandbox-contract.js +26 -0
- package/workflows/dist/sandbox-contract.js.map +1 -0
- package/workflows/dist/sandbox-runner.cjs +7 -0
- package/workflows/dist/sandbox.d.ts +46 -0
- package/workflows/dist/sandbox.js +215 -0
- package/workflows/dist/sandbox.js.map +1 -0
- package/workflows/dist/scenario.d.ts +262 -0
- package/workflows/dist/scenario.js +1281 -0
- package/workflows/dist/scenario.js.map +1 -0
- package/workflows/dist/scenarios.d.ts +59 -0
- package/workflows/dist/scenarios.js +82 -0
- package/workflows/dist/scenarios.js.map +1 -0
- package/workflows/dist/schedules.d.ts +74 -0
- package/workflows/dist/schedules.js +168 -0
- package/workflows/dist/schedules.js.map +1 -0
- package/workflows/dist/schema.d.ts +49 -0
- package/workflows/dist/schema.js +256 -0
- package/workflows/dist/schema.js.map +1 -0
- package/workflows/dist/sdk.d.ts +34 -0
- package/workflows/dist/sdk.js +182 -0
- package/workflows/dist/sdk.js.map +1 -0
- package/workflows/dist/seal.d.ts +42 -0
- package/workflows/dist/seal.js +103 -0
- package/workflows/dist/seal.js.map +1 -0
- package/workflows/dist/secret-store-check.d.ts +11 -0
- package/workflows/dist/secret-store-check.js +76 -0
- package/workflows/dist/secret-store-check.js.map +1 -0
- package/workflows/dist/secret-store.d.ts +142 -0
- package/workflows/dist/secret-store.js +273 -0
- package/workflows/dist/secret-store.js.map +1 -0
- package/workflows/dist/secret.d.ts +54 -0
- package/workflows/dist/secret.js +115 -0
- package/workflows/dist/secret.js.map +1 -0
- package/workflows/dist/shared.d.ts +495 -0
- package/workflows/dist/shared.js +558 -0
- package/workflows/dist/shared.js.map +1 -0
- package/workflows/dist/sites.d.ts +62 -0
- package/workflows/dist/sites.js +498 -0
- package/workflows/dist/sites.js.map +1 -0
- package/workflows/dist/source.d.ts +327 -0
- package/workflows/dist/source.js +99 -0
- package/workflows/dist/source.js.map +1 -0
- package/workflows/dist/ssh-key.d.ts +11 -0
- package/workflows/dist/ssh-key.js +44 -0
- package/workflows/dist/ssh-key.js.map +1 -0
- package/workflows/dist/steps.d.ts +81 -0
- package/workflows/dist/steps.js +23 -0
- package/workflows/dist/steps.js.map +1 -0
- package/workflows/dist/storage-provisioning.d.ts +27 -0
- package/workflows/dist/storage-provisioning.js +222 -0
- package/workflows/dist/storage-provisioning.js.map +1 -0
- package/workflows/dist/store-move-workflow.d.ts +14 -0
- package/workflows/dist/store-move-workflow.js +77 -0
- package/workflows/dist/store-move-workflow.js.map +1 -0
- package/workflows/dist/store-move.d.ts +361 -0
- package/workflows/dist/store-move.js +744 -0
- package/workflows/dist/store-move.js.map +1 -0
- package/workflows/dist/supervisor.d.ts +39 -0
- package/workflows/dist/supervisor.js +68 -0
- package/workflows/dist/supervisor.js.map +1 -0
- package/workflows/dist/tokens.d.ts +45 -0
- package/workflows/dist/tokens.js +120 -0
- package/workflows/dist/tokens.js.map +1 -0
- package/workflows/dist/vendor-info.d.ts +19 -0
- package/workflows/dist/vendor-info.js +49 -0
- package/workflows/dist/vendor-info.js.map +1 -0
- package/workflows/dist/version.d.ts +44 -0
- package/workflows/dist/version.js +92 -0
- package/workflows/dist/version.js.map +1 -0
- package/workflows/dist/wakeup-driver.d.ts +128 -0
- package/workflows/dist/wakeup-driver.js +225 -0
- package/workflows/dist/wakeup-driver.js.map +1 -0
- package/workflows/dist/wakeup-service.d.ts +79 -0
- package/workflows/dist/wakeup-service.js +419 -0
- package/workflows/dist/wakeup-service.js.map +1 -0
- package/workflows/dist/wakeup-type.d.ts +43 -0
- package/workflows/dist/wakeup-type.js +82 -0
- package/workflows/dist/wakeup-type.js.map +1 -0
- package/workflows/dist/wakeup.d.ts +95 -0
- package/workflows/dist/wakeup.js +79 -0
- package/workflows/dist/wakeup.js.map +1 -0
- package/workflows/dist/worker.d.ts +85 -0
- package/workflows/dist/worker.js +535 -0
- package/workflows/dist/worker.js.map +1 -0
- package/workflows/dist/writer.d.ts +83 -0
- package/workflows/dist/writer.js +349 -0
- package/workflows/dist/writer.js.map +1 -0
- package/workflows/drizzle/company/0000_tables.sql +104 -0
- package/workflows/drizzle/company/0001_wakeup_row.sql +2 -0
- package/workflows/drizzle/company/0002_runs_tell_the_app.sql +27 -0
- package/workflows/drizzle/company/0003_ledger_target.sql +2 -0
- package/workflows/drizzle/company/0004_oauth_attempts.sql +19 -0
- package/workflows/drizzle/company/0005_connection_renewals.sql +9 -0
- package/workflows/drizzle/company/0006_secret_moves.sql +35 -0
- package/workflows/drizzle/company/meta/0000_snapshot.json +652 -0
- package/workflows/drizzle/company/meta/0001_snapshot.json +652 -0
- package/workflows/drizzle/company/meta/0002_snapshot.json +819 -0
- package/workflows/drizzle/company/meta/0003_snapshot.json +845 -0
- package/workflows/drizzle/company/meta/0004_snapshot.json +955 -0
- package/workflows/drizzle/company/meta/0005_snapshot.json +1010 -0
- package/workflows/drizzle/company/meta/0006_snapshot.json +1232 -0
- package/workflows/drizzle/company/meta/_journal.json +55 -0
- package/workflows/drizzle/wakeup/0000_tables.sql +26 -0
- package/workflows/drizzle/wakeup/meta/0000_snapshot.json +200 -0
- package/workflows/drizzle/wakeup/meta/_journal.json +13 -0
- package/workflows/oxlint.json +117 -0
- package/workflows/src/app-steps.ts +67 -0
- package/workflows/src/app-workflows.ts +261 -0
- package/workflows/src/apply-steps.ts +108 -0
- package/workflows/src/apply.ts +868 -0
- package/workflows/src/approvals.ts +274 -0
- package/workflows/src/apps-list.ts +168 -0
- package/workflows/src/apps.ts +147 -0
- package/workflows/src/ast.ts +115 -0
- package/workflows/src/authentication.ts +316 -0
- package/workflows/src/bundled.ts +49 -0
- package/workflows/src/call-workflow.ts +53 -0
- package/workflows/src/call.ts +848 -0
- package/workflows/src/cedar.ts +681 -0
- package/workflows/src/change-steps.ts +270 -0
- package/workflows/src/change-workflow.ts +198 -0
- package/workflows/src/change.ts +483 -0
- package/workflows/src/chat-steps.ts +117 -0
- package/workflows/src/chat-workflow.ts +69 -0
- package/workflows/src/chats.ts +179 -0
- package/workflows/src/claims.ts +79 -0
- package/workflows/src/client.ts +1924 -0
- package/workflows/src/cloud-identity.ts +205 -0
- package/workflows/src/collection.ts +688 -0
- package/workflows/src/config.ts +1178 -0
- package/workflows/src/connect-workflow.ts +38 -0
- package/workflows/src/connection.ts +1522 -0
- package/workflows/src/constructors.ts +10 -0
- package/workflows/src/credentials.ts +189 -0
- package/workflows/src/cucumber.ts +243 -0
- package/workflows/src/data.ts +10 -0
- package/workflows/src/database.ts +154 -0
- package/workflows/src/db/company.ts +331 -0
- package/workflows/src/db/dbos.ts +17 -0
- package/workflows/src/db/identity.ts +61 -0
- package/workflows/src/db/index.ts +12 -0
- package/workflows/src/db/kms.ts +41 -0
- package/workflows/src/db/migrate.ts +71 -0
- package/workflows/src/db/wakeup.ts +41 -0
- package/workflows/src/db.ts +430 -0
- package/workflows/src/deadlines.ts +283 -0
- package/workflows/src/define.ts +416 -0
- package/workflows/src/definitions.ts +36 -0
- package/workflows/src/deployment-key.ts +57 -0
- package/workflows/src/describe.ts +525 -0
- package/workflows/src/description.ts +434 -0
- package/workflows/src/direct.ts +31 -0
- package/workflows/src/dns.ts +29 -0
- package/workflows/src/drift.ts +289 -0
- package/workflows/src/env.ts +124 -0
- package/workflows/src/errors.ts +255 -0
- package/workflows/src/expectations.ts +200 -0
- package/workflows/src/fake.ts +364 -0
- package/workflows/src/fill.ts +47 -0
- package/workflows/src/folded.ts +28 -0
- package/workflows/src/follow-steps.ts +129 -0
- package/workflows/src/follow-workflow.ts +88 -0
- package/workflows/src/grid.ts +102 -0
- package/workflows/src/host-derive.ts +540 -0
- package/workflows/src/host.ts +234 -0
- package/workflows/src/identity-broker.ts +94 -0
- package/workflows/src/identity-provisioning.ts +337 -0
- package/workflows/src/identity-service.ts +180 -0
- package/workflows/src/import-workflow.ts +153 -0
- package/workflows/src/import.ts +222 -0
- package/workflows/src/index.ts +415 -0
- package/workflows/src/kms-secrets.ts +385 -0
- package/workflows/src/ledger.ts +559 -0
- package/workflows/src/lint.ts +226 -0
- package/workflows/src/load.ts +489 -0
- package/workflows/src/local-sandbox.ts +133 -0
- package/workflows/src/lockfile.ts +102 -0
- package/workflows/src/log.ts +82 -0
- package/workflows/src/login-code.ts +58 -0
- package/workflows/src/oauth.ts +402 -0
- package/workflows/src/op.ts +646 -0
- package/workflows/src/outline.ts +675 -0
- package/workflows/src/paths.ts +135 -0
- package/workflows/src/person.ts +78 -0
- package/workflows/src/plugin.ts +85 -0
- package/workflows/src/policy.ts +162 -0
- package/workflows/src/preview.ts +57 -0
- package/workflows/src/provisioning-identity.ts +106 -0
- package/workflows/src/renewal.ts +272 -0
- package/workflows/src/resource.ts +964 -0
- package/workflows/src/resources.ts +459 -0
- package/workflows/src/run-status.ts +39 -0
- package/workflows/src/run.ts +179 -0
- package/workflows/src/runner-box.ts +218 -0
- package/workflows/src/runner-protocol.ts +61 -0
- package/workflows/src/runtime-ops.ts +391 -0
- package/workflows/src/sandbox-contract.ts +121 -0
- package/workflows/src/sandbox-runner.ts +187 -0
- package/workflows/src/sandbox.ts +253 -0
- package/workflows/src/scenario.ts +1624 -0
- package/workflows/src/scenarios.ts +125 -0
- package/workflows/src/schedules.ts +219 -0
- package/workflows/src/schema.ts +311 -0
- package/workflows/src/sdk.ts +225 -0
- package/workflows/src/seal.ts +127 -0
- package/workflows/src/secret-store-check.ts +93 -0
- package/workflows/src/secret-store.ts +382 -0
- package/workflows/src/secret.ts +151 -0
- package/workflows/src/shared.ts +798 -0
- package/workflows/src/sites.ts +559 -0
- package/workflows/src/source.ts +353 -0
- package/workflows/src/ssh-key.ts +48 -0
- package/workflows/src/steps.ts +93 -0
- package/workflows/src/storage-provisioning.ts +252 -0
- package/workflows/src/store-move-workflow.ts +80 -0
- package/workflows/src/store-move.ts +870 -0
- package/workflows/src/supervisor.ts +102 -0
- package/workflows/src/tokens.ts +163 -0
- package/workflows/src/vendor-info.ts +53 -0
- package/workflows/src/version.ts +103 -0
- package/workflows/src/wakeup-driver.ts +286 -0
- package/workflows/src/wakeup-service.ts +484 -0
- package/workflows/src/wakeup-type.ts +92 -0
- package/workflows/src/wakeup.ts +145 -0
- package/workflows/src/worker.ts +667 -0
- package/workflows/src/writer.ts +392 -0
- package/dist/claims.d.ts +0 -1
- package/dist/claims.js +0 -6
- package/dist/claims.js.map +0 -1
- package/dist/data.d.ts +0 -1
- package/dist/data.js +0 -4
- package/dist/data.js.map +0 -1
- package/dist/resources.d.ts +0 -1
- package/dist/resources.js +0 -5
- package/dist/resources.js.map +0 -1
- package/dist/secrets.d.ts +0 -2
- package/dist/secrets.js +0 -3
- package/dist/secrets.js.map +0 -1
- package/identity/Dockerfile +0 -14
- package/site.d.ts +0 -3
- package/site.js +0 -3
- package/ui.css +0 -2
- package/ui.d.ts +0 -3
- package/ui.js +0 -3
|
@@ -0,0 +1,984 @@
|
|
|
1
|
+
import type { ApplyPlan, ApplyResult, ApprovalState, ChangeView, Authentication, ConnectionCard, ConnectionReview, SanomaClient, CredentialStatus, ErrorCode, HostEnforcement, InputIssue, LedgerRecord, Principal, RunSummary } from "sanoma/workflows";
|
|
2
|
+
import type { ConfigDescription, PermissionsGrid, Span } from "sanoma/workflows/describe";
|
|
3
|
+
import type { RunCheck, Scenario } from "sanoma/workflows/scenario";
|
|
4
|
+
import { type Saved } from "sanoma/workflows/shared";
|
|
5
|
+
import { z } from "zod";
|
|
6
|
+
/**
|
|
7
|
+
* The shapes the app's server functions take and return. The page imports this file too, so
|
|
8
|
+
* the server and the browser agree on them. Only types come from
|
|
9
|
+
* `sanoma/workflows`, so the browser bundle never loads the runtime; values the page shares
|
|
10
|
+
* with the runtime come from `sanoma/workflows/shared`, and the description's schema from
|
|
11
|
+
* `sanoma/workflows/description`.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* Who is asking, without a login: the page asks once and sends the name in this header with
|
|
15
|
+
* every server function call, which the default loopback login reads.
|
|
16
|
+
*/
|
|
17
|
+
export declare const ACTOR_HEADER = "x-sanoma-actor";
|
|
18
|
+
/**
|
|
19
|
+
* The same name, kept in a cookie by the page as well (URI-encoded), so the loopback login knows
|
|
20
|
+
* who is asking while the server renders a page, whose loader may call `api`. The header wins.
|
|
21
|
+
*/
|
|
22
|
+
export declare const ACTOR_COOKIE = "sanoma_actor";
|
|
23
|
+
/** Where the page keeps the name in this browser's storage, which the header is sent from. */
|
|
24
|
+
export declare const ACTOR_KEY = "sanoma.actor";
|
|
25
|
+
declare const PlaceSchema: z.ZodEnum<{
|
|
26
|
+
live: "live";
|
|
27
|
+
"this-computer": "this-computer";
|
|
28
|
+
}>;
|
|
29
|
+
/** What the open window is, from what this instance connects to; never a flag (`placeOf`). */
|
|
30
|
+
export type Place = z.infer<typeof PlaceSchema>;
|
|
31
|
+
/**
|
|
32
|
+
* What `getConfig` answers: the description, less the workflows' sources, and where this instance
|
|
33
|
+
* is: its `place`, and its database's host (only the host, never the URL; none when it cannot be
|
|
34
|
+
* read), which the bar's badge says as its tip; and the repo's content kinds, each with the front
|
|
35
|
+
* matter keys its files hold (`contentFields`).
|
|
36
|
+
*/
|
|
37
|
+
export declare const AppConfigSchema: z.ZodObject<{
|
|
38
|
+
secrets: z.ZodOptional<z.ZodObject<{
|
|
39
|
+
store: z.ZodString;
|
|
40
|
+
namespace: z.ZodString;
|
|
41
|
+
bindings: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
42
|
+
path: z.ZodString;
|
|
43
|
+
management: z.ZodEnum<{
|
|
44
|
+
external: "external";
|
|
45
|
+
sanoma: "sanoma";
|
|
46
|
+
}>;
|
|
47
|
+
store: z.ZodString;
|
|
48
|
+
}, z.core.$strict>>;
|
|
49
|
+
stores: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
50
|
+
store: z.ZodString;
|
|
51
|
+
namespace: z.ZodString;
|
|
52
|
+
}, z.core.$strict>>>;
|
|
53
|
+
}, z.core.$strict>>;
|
|
54
|
+
connections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
55
|
+
id: z.ZodString;
|
|
56
|
+
vendor: z.ZodString;
|
|
57
|
+
method: z.ZodString;
|
|
58
|
+
scopes: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
59
|
+
account: z.ZodOptional<z.ZodString>;
|
|
60
|
+
default: z.ZodBoolean;
|
|
61
|
+
}, z.core.$strict>>>;
|
|
62
|
+
appName: z.ZodString;
|
|
63
|
+
version: z.ZodString;
|
|
64
|
+
workflows: z.ZodArray<z.ZodObject<{
|
|
65
|
+
name: z.ZodString;
|
|
66
|
+
app: z.ZodOptional<z.ZodString>;
|
|
67
|
+
title: z.ZodOptional<z.ZodString>;
|
|
68
|
+
trigger: z.ZodUnion<readonly [z.ZodLiteral<"manual">, z.ZodObject<{
|
|
69
|
+
schedule: z.ZodString;
|
|
70
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
71
|
+
}, z.core.$strict>]>;
|
|
72
|
+
builtin: z.ZodOptional<z.ZodLiteral<true>>;
|
|
73
|
+
input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
74
|
+
ops: z.ZodArray<z.ZodString>;
|
|
75
|
+
builtins: z.ZodArray<z.ZodEnum<{
|
|
76
|
+
all: "all";
|
|
77
|
+
approval: "approval";
|
|
78
|
+
sleep: "sleep";
|
|
79
|
+
}>>;
|
|
80
|
+
file: z.ZodString;
|
|
81
|
+
outline: z.ZodCustom<import("sanoma/workflows/describe").Outline, import("sanoma/workflows/describe").Outline>;
|
|
82
|
+
problems: z.ZodArray<z.ZodObject<{
|
|
83
|
+
line: z.ZodNumber;
|
|
84
|
+
column: z.ZodNumber;
|
|
85
|
+
message: z.ZodString;
|
|
86
|
+
}, z.core.$strict>>;
|
|
87
|
+
source: z.ZodOptional<z.ZodString>;
|
|
88
|
+
}, z.core.$strict>>;
|
|
89
|
+
ops: z.ZodArray<z.ZodObject<{
|
|
90
|
+
id: z.ZodString;
|
|
91
|
+
vendor: z.ZodString;
|
|
92
|
+
resource: z.ZodString;
|
|
93
|
+
name: z.ZodString;
|
|
94
|
+
effect: z.ZodEnum<{
|
|
95
|
+
access: "access";
|
|
96
|
+
money: "money";
|
|
97
|
+
publish: "publish";
|
|
98
|
+
read: "read";
|
|
99
|
+
send: "send";
|
|
100
|
+
write: "write";
|
|
101
|
+
}>;
|
|
102
|
+
idempotent: z.ZodBoolean;
|
|
103
|
+
description: z.ZodOptional<z.ZodString>;
|
|
104
|
+
phrases: z.ZodOptional<z.ZodObject<{
|
|
105
|
+
given: z.ZodOptional<z.ZodString>;
|
|
106
|
+
expect: z.ZodOptional<z.ZodString>;
|
|
107
|
+
}, z.core.$strict>>;
|
|
108
|
+
direct: z.ZodBoolean;
|
|
109
|
+
input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
110
|
+
output: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
111
|
+
}, z.core.$strict>>;
|
|
112
|
+
vendors: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
113
|
+
title: z.ZodString;
|
|
114
|
+
logo: z.ZodOptional<z.ZodObject<{
|
|
115
|
+
src: z.ZodString;
|
|
116
|
+
dark: z.ZodOptional<z.ZodString>;
|
|
117
|
+
}, z.core.$strict>>;
|
|
118
|
+
package: z.ZodOptional<z.ZodString>;
|
|
119
|
+
homepage: z.ZodOptional<z.ZodString>;
|
|
120
|
+
fake: z.ZodBoolean;
|
|
121
|
+
credentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
122
|
+
name: z.ZodString;
|
|
123
|
+
description: z.ZodOptional<z.ZodString>;
|
|
124
|
+
optional: z.ZodOptional<z.ZodLiteral<true>>;
|
|
125
|
+
}, z.core.$strict>>>;
|
|
126
|
+
}, z.core.$strict>>;
|
|
127
|
+
resourceTypes: z.ZodArray<z.ZodObject<{
|
|
128
|
+
id: z.ZodString;
|
|
129
|
+
vendor: z.ZodString;
|
|
130
|
+
type: z.ZodString;
|
|
131
|
+
title: z.ZodString;
|
|
132
|
+
identity: z.ZodOptional<z.ZodString>;
|
|
133
|
+
fields: z.ZodCustom<import("sanoma/workflows").ResourceFields, import("sanoma/workflows").ResourceFields>;
|
|
134
|
+
schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
135
|
+
ops: z.ZodArray<z.ZodString>;
|
|
136
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
137
|
+
database: "database";
|
|
138
|
+
host: "host";
|
|
139
|
+
sandbox: "sandbox";
|
|
140
|
+
source: "source";
|
|
141
|
+
wakeup: "wakeup";
|
|
142
|
+
}>>>;
|
|
143
|
+
host: z.ZodOptional<z.ZodObject<{
|
|
144
|
+
lifetime: z.ZodEnum<{
|
|
145
|
+
"long-lived": "long-lived";
|
|
146
|
+
"stops-when-quiet": "stops-when-quiet";
|
|
147
|
+
}>;
|
|
148
|
+
}, z.core.$strict>>;
|
|
149
|
+
}, z.core.$strict>>;
|
|
150
|
+
collections: z.ZodArray<z.ZodObject<{
|
|
151
|
+
name: z.ZodString;
|
|
152
|
+
app: z.ZodOptional<z.ZodString>;
|
|
153
|
+
title: z.ZodOptional<z.ZodString>;
|
|
154
|
+
key: z.ZodString;
|
|
155
|
+
fields: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodEnum<{
|
|
156
|
+
boolean: "boolean";
|
|
157
|
+
date: "date";
|
|
158
|
+
number: "number";
|
|
159
|
+
person: "person";
|
|
160
|
+
text: "text";
|
|
161
|
+
}>, z.ZodObject<{
|
|
162
|
+
type: z.ZodEnum<{
|
|
163
|
+
boolean: "boolean";
|
|
164
|
+
date: "date";
|
|
165
|
+
number: "number";
|
|
166
|
+
person: "person";
|
|
167
|
+
text: "text";
|
|
168
|
+
}>;
|
|
169
|
+
optional: z.ZodOptional<z.ZodLiteral<true>>;
|
|
170
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
171
|
+
enum: z.ZodReadonly<z.ZodTuple<[z.ZodString], z.ZodString>>;
|
|
172
|
+
optional: z.ZodOptional<z.ZodLiteral<true>>;
|
|
173
|
+
}, z.core.$strict>]>>;
|
|
174
|
+
record: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
175
|
+
ops: z.ZodArray<z.ZodString>;
|
|
176
|
+
declared: z.ZodOptional<z.ZodObject<{
|
|
177
|
+
id: z.ZodString;
|
|
178
|
+
file: z.ZodString;
|
|
179
|
+
name: z.ZodString;
|
|
180
|
+
at: z.ZodObject<{
|
|
181
|
+
file: z.ZodString;
|
|
182
|
+
export: z.ZodString;
|
|
183
|
+
}, z.core.$strict>;
|
|
184
|
+
}, z.core.$strict>>;
|
|
185
|
+
}, z.core.$strict>>;
|
|
186
|
+
resources: z.ZodArray<z.ZodObject<{
|
|
187
|
+
id: z.ZodString;
|
|
188
|
+
file: z.ZodString;
|
|
189
|
+
vendor: z.ZodString;
|
|
190
|
+
type: z.ZodString;
|
|
191
|
+
name: z.ZodString;
|
|
192
|
+
identity: z.ZodOptional<z.ZodString>;
|
|
193
|
+
binding: z.ZodOptional<z.ZodString>;
|
|
194
|
+
at: z.ZodObject<{
|
|
195
|
+
file: z.ZodString;
|
|
196
|
+
export: z.ZodString;
|
|
197
|
+
}, z.core.$strict>;
|
|
198
|
+
desired: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
199
|
+
connection: z.ZodOptional<z.ZodObject<{
|
|
200
|
+
$connection: z.ZodString;
|
|
201
|
+
vendor: z.ZodString;
|
|
202
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
203
|
+
}, z.core.$strict>>;
|
|
204
|
+
refs: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
205
|
+
}, z.core.$strict>>;
|
|
206
|
+
orphans: z.ZodArray<z.ZodObject<{
|
|
207
|
+
key: z.ZodString;
|
|
208
|
+
type: z.ZodString;
|
|
209
|
+
id: z.ZodString;
|
|
210
|
+
connection: z.ZodOptional<z.ZodObject<{
|
|
211
|
+
$connection: z.ZodString;
|
|
212
|
+
vendor: z.ZodString;
|
|
213
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
214
|
+
}, z.core.$strict>>;
|
|
215
|
+
}, z.core.$strict>>;
|
|
216
|
+
problems: z.ZodArray<z.ZodObject<{
|
|
217
|
+
file: z.ZodOptional<z.ZodString>;
|
|
218
|
+
export: z.ZodOptional<z.ZodString>;
|
|
219
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
220
|
+
column: z.ZodOptional<z.ZodNumber>;
|
|
221
|
+
message: z.ZodString;
|
|
222
|
+
}, z.core.$strict>>;
|
|
223
|
+
apps: z.ZodArray<z.ZodObject<{
|
|
224
|
+
name: z.ZodString;
|
|
225
|
+
dir: z.ZodString;
|
|
226
|
+
source: z.ZodOptional<z.ZodString>;
|
|
227
|
+
at: z.ZodOptional<z.ZodObject<{
|
|
228
|
+
file: z.ZodString;
|
|
229
|
+
export: z.ZodString;
|
|
230
|
+
}, z.core.$strict>>;
|
|
231
|
+
}, z.core.$strict>>;
|
|
232
|
+
policy: z.ZodObject<{
|
|
233
|
+
defined: z.ZodBoolean;
|
|
234
|
+
version: z.ZodOptional<z.ZodString>;
|
|
235
|
+
problems: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
236
|
+
files: z.ZodArray<z.ZodObject<{
|
|
237
|
+
file: z.ZodString;
|
|
238
|
+
text: z.ZodString;
|
|
239
|
+
}, z.core.$strict>>;
|
|
240
|
+
}, z.core.$strict>;
|
|
241
|
+
sites: z.ZodArray<z.ZodObject<{
|
|
242
|
+
name: z.ZodString;
|
|
243
|
+
app: z.ZodOptional<z.ZodString>;
|
|
244
|
+
at: z.ZodOptional<z.ZodObject<{
|
|
245
|
+
file: z.ZodString;
|
|
246
|
+
export: z.ZodString;
|
|
247
|
+
}, z.core.$strict>>;
|
|
248
|
+
title: z.ZodOptional<z.ZodString>;
|
|
249
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
250
|
+
public: z.ZodOptional<z.ZodLiteral<true>>;
|
|
251
|
+
login: z.ZodOptional<z.ZodString>;
|
|
252
|
+
locales: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
253
|
+
domain: z.ZodOptional<z.ZodString>;
|
|
254
|
+
pages: z.ZodArray<z.ZodObject<{
|
|
255
|
+
path: z.ZodString;
|
|
256
|
+
content: z.ZodOptional<z.ZodString>;
|
|
257
|
+
sitemap: z.ZodOptional<z.ZodLiteral<false>>;
|
|
258
|
+
}, z.core.$strict>>;
|
|
259
|
+
calls: z.ZodArray<z.ZodObject<{
|
|
260
|
+
kind: z.ZodEnum<{
|
|
261
|
+
collection: "collection";
|
|
262
|
+
op: "op";
|
|
263
|
+
workflow: "workflow";
|
|
264
|
+
}>;
|
|
265
|
+
target: z.ZodString;
|
|
266
|
+
method: z.ZodOptional<z.ZodString>;
|
|
267
|
+
via: z.ZodEnum<{
|
|
268
|
+
RunForm: "RunForm";
|
|
269
|
+
api: "api";
|
|
270
|
+
}>;
|
|
271
|
+
file: z.ZodString;
|
|
272
|
+
line: z.ZodNumber;
|
|
273
|
+
column: z.ZodNumber;
|
|
274
|
+
page: z.ZodOptional<z.ZodString>;
|
|
275
|
+
}, z.core.$strict>>;
|
|
276
|
+
problems: z.ZodArray<z.ZodObject<{
|
|
277
|
+
export: z.ZodOptional<z.ZodString>;
|
|
278
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
279
|
+
column: z.ZodOptional<z.ZodNumber>;
|
|
280
|
+
message: z.ZodString;
|
|
281
|
+
file: z.ZodString;
|
|
282
|
+
}, z.core.$strict>>;
|
|
283
|
+
warnings: z.ZodArray<z.ZodObject<{
|
|
284
|
+
line: z.ZodNumber;
|
|
285
|
+
column: z.ZodNumber;
|
|
286
|
+
message: z.ZodString;
|
|
287
|
+
file: z.ZodString;
|
|
288
|
+
}, z.core.$strict>>;
|
|
289
|
+
}, z.core.$strict>>;
|
|
290
|
+
login: z.ZodOptional<z.ZodObject<{
|
|
291
|
+
sender: z.ZodString;
|
|
292
|
+
from: z.ZodString;
|
|
293
|
+
}, z.core.$strict>>;
|
|
294
|
+
place: z.ZodEnum<{
|
|
295
|
+
live: "live";
|
|
296
|
+
"this-computer": "this-computer";
|
|
297
|
+
}>;
|
|
298
|
+
databaseHost: z.ZodOptional<z.ZodString>;
|
|
299
|
+
content: z.ZodArray<z.ZodObject<{
|
|
300
|
+
kind: z.ZodString;
|
|
301
|
+
fields: z.ZodArray<z.ZodString>;
|
|
302
|
+
}, z.core.$strict>>;
|
|
303
|
+
}, z.core.$strict>;
|
|
304
|
+
export type AppConfig = z.infer<typeof AppConfigSchema>;
|
|
305
|
+
/**
|
|
306
|
+
* Who the server says is asking. With a login provider (`fromServer`), it is whoever signed in,
|
|
307
|
+
* which the page shows and cannot change; with the default loopback login, it is whatever name
|
|
308
|
+
* the page sends, so the page asks for one and keeps it.
|
|
309
|
+
*/
|
|
310
|
+
export interface ActorInfo {
|
|
311
|
+
fromServer: boolean;
|
|
312
|
+
/** Null when the request names nobody. */
|
|
313
|
+
actor: Principal | null;
|
|
314
|
+
/** Set when the login's `resolveActor` threw: it could not say. */
|
|
315
|
+
error?: string;
|
|
316
|
+
/** Where the page signs out (POST), when the login has its own routes. */
|
|
317
|
+
signOut?: string;
|
|
318
|
+
}
|
|
319
|
+
declare const StartWorkflowRequest: z.ZodObject<{
|
|
320
|
+
workflow: z.ZodString;
|
|
321
|
+
input: z.ZodUnknown;
|
|
322
|
+
}, z.core.$strip>;
|
|
323
|
+
declare const StartScenarioRequest: z.ZodObject<{
|
|
324
|
+
scenario: z.ZodString;
|
|
325
|
+
}, z.core.$strict>;
|
|
326
|
+
/**
|
|
327
|
+
* What `startRunFn` takes: a workflow and its input, or a scenario's name, which starts a sandbox
|
|
328
|
+
* run of the scenario's workflow with its input. The app never decides a sandbox run's approvals:
|
|
329
|
+
* people do, as in a live run.
|
|
330
|
+
*/
|
|
331
|
+
export type StartRunRequest = z.infer<typeof StartWorkflowRequest> | z.infer<typeof StartScenarioRequest>;
|
|
332
|
+
/**
|
|
333
|
+
* The schema a start request is read with, picked before parsing so each refusal names its own
|
|
334
|
+
* field: the scenario's for an argument with a `scenario` key (which refuses a `workflow` or
|
|
335
|
+
* `input` beside it), else the workflow's.
|
|
336
|
+
*/
|
|
337
|
+
export declare const startRunSchema: (body: unknown) => z.ZodObject<{
|
|
338
|
+
workflow: z.ZodString;
|
|
339
|
+
input: z.ZodUnknown;
|
|
340
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
341
|
+
scenario: z.ZodString;
|
|
342
|
+
}, z.core.$strict>;
|
|
343
|
+
/** A started run's id and its workflow (for a scenario, the scenario's): its page's address. */
|
|
344
|
+
export interface StartRunResponse {
|
|
345
|
+
runId: string;
|
|
346
|
+
workflow: string;
|
|
347
|
+
}
|
|
348
|
+
/**
|
|
349
|
+
* A decision on an approval, as the page's dialog sends it. `decideFn` answers with the
|
|
350
|
+
* approval's `ApprovalState`: `approved` or `rejected` once the run has read the decision, or
|
|
351
|
+
* still `pending` when the run did not read it within a few seconds, typically because no worker
|
|
352
|
+
* is running. A pending decision stays queued, and the run reads it when it next runs. A run that
|
|
353
|
+
* has finished, failed or been cancelled takes no decision: 409 `run_ended`.
|
|
354
|
+
*/
|
|
355
|
+
export declare const DecideRequest: z.ZodObject<{
|
|
356
|
+
decision: z.ZodEnum<{
|
|
357
|
+
approve: "approve";
|
|
358
|
+
reject: "reject";
|
|
359
|
+
}>;
|
|
360
|
+
note: z.ZodOptional<z.ZodString>;
|
|
361
|
+
}, z.core.$strip>;
|
|
362
|
+
export type DecideRequest = z.infer<typeof DecideRequest>;
|
|
363
|
+
/** The decide server function's argument: the request plus where it goes. */
|
|
364
|
+
export declare const DecideCall: z.ZodObject<{
|
|
365
|
+
decision: z.ZodEnum<{
|
|
366
|
+
approve: "approve";
|
|
367
|
+
reject: "reject";
|
|
368
|
+
}>;
|
|
369
|
+
note: z.ZodOptional<z.ZodString>;
|
|
370
|
+
runId: z.ZodString;
|
|
371
|
+
approvalId: z.ZodString;
|
|
372
|
+
}, z.core.$strip>;
|
|
373
|
+
export type DecideCall = z.infer<typeof DecideCall>;
|
|
374
|
+
/** How many runs one read lists. */
|
|
375
|
+
export declare const RUNS_LIMIT: {
|
|
376
|
+
readonly default: 50;
|
|
377
|
+
readonly max: 500;
|
|
378
|
+
};
|
|
379
|
+
/** What `getRuns` takes: the latest runs, or the latest with that status, of that workflow. */
|
|
380
|
+
export declare const RunsQuery: z.ZodObject<{
|
|
381
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
382
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
383
|
+
cancelled: "cancelled";
|
|
384
|
+
failed: "failed";
|
|
385
|
+
finished: "finished";
|
|
386
|
+
queued: "queued";
|
|
387
|
+
running: "running";
|
|
388
|
+
waiting: "waiting";
|
|
389
|
+
}>>;
|
|
390
|
+
workflow: z.ZodOptional<z.ZodString>;
|
|
391
|
+
}, z.core.$strip>;
|
|
392
|
+
export type RunsQuery = z.input<typeof RunsQuery>;
|
|
393
|
+
/** What `getChanges` takes: the open changes (not ended), the done ones, or all; at most `limit` (20), newest first. */
|
|
394
|
+
export declare const ChangesQuery: z.ZodObject<{
|
|
395
|
+
open: z.ZodOptional<z.ZodBoolean>;
|
|
396
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
397
|
+
}, z.core.$strip>;
|
|
398
|
+
export type ChangesQuery = z.input<typeof ChangesQuery>;
|
|
399
|
+
/**
|
|
400
|
+
* A change as `getChange` reads it: the client's `ChangeView`, and the config's workflows whose
|
|
401
|
+
* files it edits, by name (the workflows its stranded runs are of).
|
|
402
|
+
*/
|
|
403
|
+
export interface ChangeDetail extends ChangeView {
|
|
404
|
+
edits: string[];
|
|
405
|
+
}
|
|
406
|
+
/** One run as `getRun` reads it: the run, its ledger, its approvals and a sandbox run's checks. */
|
|
407
|
+
export interface RunDetail {
|
|
408
|
+
run: RunSummary;
|
|
409
|
+
/** The run's ledger records in `seq` order. */
|
|
410
|
+
ledger: LedgerRecord[];
|
|
411
|
+
/**
|
|
412
|
+
* Why the ledger could not be read, when it could not, or why a run that has started has no
|
|
413
|
+
* records there. `ledger` is then empty.
|
|
414
|
+
*/
|
|
415
|
+
ledgerError?: string;
|
|
416
|
+
approvals: ApprovalState[];
|
|
417
|
+
/**
|
|
418
|
+
* For a sandbox run, each of its scenario's expectations checked against the ledger, as the
|
|
419
|
+
* worker ran them when the run last waited or ended (`SanomaClient.runChecks`); until it first
|
|
420
|
+
* has, each of its scenario's Then steps, not settled. Absent until the run has been seeded, and
|
|
421
|
+
* when `checksError` says why there are none.
|
|
422
|
+
*/
|
|
423
|
+
checks?: RunCheck[];
|
|
424
|
+
/**
|
|
425
|
+
* Why a seeded sandbox run has no checks: its scenario is no longer in the feature files (with
|
|
426
|
+
* those that did not load), or the scenarios could not be read at all.
|
|
427
|
+
*/
|
|
428
|
+
checksError?: string;
|
|
429
|
+
}
|
|
430
|
+
/**
|
|
431
|
+
* A scenario as the page lists it: what it says and the input its run starts with, not how the
|
|
432
|
+
* worker seeds and checks it.
|
|
433
|
+
*/
|
|
434
|
+
export type ScenarioEntry = Pick<Scenario, "name" | "workflow" | "file" | "text" | "steps" | "input">;
|
|
435
|
+
/** Every scenario, and why each feature file that could not be read could not. */
|
|
436
|
+
export interface ScenariosResponse {
|
|
437
|
+
scenarios: ScenarioEntry[];
|
|
438
|
+
errors: {
|
|
439
|
+
file: string;
|
|
440
|
+
message: string;
|
|
441
|
+
}[];
|
|
442
|
+
}
|
|
443
|
+
/**
|
|
444
|
+
* Each vendor's declared variables and their statuses now, by vendor id
|
|
445
|
+
* (`SanomaClient.credentials`): where each value is from and, for a stored one, who set it and
|
|
446
|
+
* when. Never a value.
|
|
447
|
+
*/
|
|
448
|
+
export type CredentialsResponse = Record<string, CredentialStatus[]>;
|
|
449
|
+
/** Metadata-only account management. Secret values are accepted only by the two intake calls. */
|
|
450
|
+
export interface ConnectionsResponse {
|
|
451
|
+
cards: (ConnectionCard & {
|
|
452
|
+
workflows: {
|
|
453
|
+
name: string;
|
|
454
|
+
title: string;
|
|
455
|
+
selection: "default" | "selected" | "possible";
|
|
456
|
+
}[];
|
|
457
|
+
})[];
|
|
458
|
+
rules: {
|
|
459
|
+
id: string;
|
|
460
|
+
name: string;
|
|
461
|
+
vendor: string;
|
|
462
|
+
method: string;
|
|
463
|
+
scopes: readonly string[];
|
|
464
|
+
}[];
|
|
465
|
+
methods: Record<string, Record<string, {
|
|
466
|
+
kind: Authentication["kind"];
|
|
467
|
+
verifiable: boolean;
|
|
468
|
+
schema?: Record<string, unknown>;
|
|
469
|
+
/** An OAuth method that can revoke its grant at the provider (Revoke). */
|
|
470
|
+
revocable?: boolean;
|
|
471
|
+
}>>;
|
|
472
|
+
store: Awaited<ReturnType<SanomaClient["secretStoreStatus"]>>;
|
|
473
|
+
bootstrap: {
|
|
474
|
+
name: "SANOMA_SIGNING_KEY" | "SANOMA_SECRETS_KEY";
|
|
475
|
+
ready: boolean;
|
|
476
|
+
delivery: "environment" | "mounted-file" | "missing";
|
|
477
|
+
}[];
|
|
478
|
+
}
|
|
479
|
+
export declare const ConnectionTarget: z.ZodUnion<readonly [z.ZodObject<{
|
|
480
|
+
connection: z.ZodObject<{
|
|
481
|
+
vendor: z.ZodString;
|
|
482
|
+
$connection: z.ZodString;
|
|
483
|
+
}, z.core.$strip>;
|
|
484
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
485
|
+
rule: z.ZodString;
|
|
486
|
+
}, z.core.$strip>]>;
|
|
487
|
+
export declare const PreviewConnectionRequest: z.ZodObject<{
|
|
488
|
+
target: z.ZodUnion<readonly [z.ZodObject<{
|
|
489
|
+
connection: z.ZodObject<{
|
|
490
|
+
vendor: z.ZodString;
|
|
491
|
+
$connection: z.ZodString;
|
|
492
|
+
}, z.core.$strip>;
|
|
493
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
494
|
+
rule: z.ZodString;
|
|
495
|
+
}, z.core.$strip>]>;
|
|
496
|
+
requestId: z.ZodString;
|
|
497
|
+
credentials: z.ZodOptional<z.ZodUnknown>;
|
|
498
|
+
}, z.core.$strip>;
|
|
499
|
+
export type PreviewConnectionRequest = z.infer<typeof PreviewConnectionRequest>;
|
|
500
|
+
export declare const ConnectConnectionRequest: z.ZodObject<{
|
|
501
|
+
review: z.ZodType<ConnectionReview, unknown, z.core.$ZodTypeInternals<ConnectionReview, unknown>>;
|
|
502
|
+
credentials: z.ZodOptional<z.ZodUnknown>;
|
|
503
|
+
}, z.core.$strip>;
|
|
504
|
+
export type ConnectConnectionRequest = z.infer<typeof ConnectConnectionRequest>;
|
|
505
|
+
/** What `authorizeConnectionFn` takes: the connection, its request, and the OAuth application when it is entered or replaced. */
|
|
506
|
+
export declare const AuthorizeConnectionRequest: z.ZodObject<{
|
|
507
|
+
target: z.ZodUnion<readonly [z.ZodObject<{
|
|
508
|
+
connection: z.ZodObject<{
|
|
509
|
+
vendor: z.ZodString;
|
|
510
|
+
$connection: z.ZodString;
|
|
511
|
+
}, z.core.$strip>;
|
|
512
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
513
|
+
rule: z.ZodString;
|
|
514
|
+
}, z.core.$strip>]>;
|
|
515
|
+
requestId: z.ZodString;
|
|
516
|
+
client: z.ZodOptional<z.ZodObject<{
|
|
517
|
+
clientId: z.ZodString;
|
|
518
|
+
clientSecret: z.ZodString;
|
|
519
|
+
}, z.core.$strip>>;
|
|
520
|
+
}, z.core.$strip>;
|
|
521
|
+
export type AuthorizeConnectionRequest = z.infer<typeof AuthorizeConnectionRequest>;
|
|
522
|
+
/** What `connectionAttemptFn` takes: an attempt the actor started. */
|
|
523
|
+
export declare const ConnectionAttemptRequest: z.ZodObject<{
|
|
524
|
+
attempt: z.ZodString;
|
|
525
|
+
}, z.core.$strip>;
|
|
526
|
+
export type ConnectionAttemptRequest = z.infer<typeof ConnectionAttemptRequest>;
|
|
527
|
+
/** Why an OAuth callback came back without a connection, as the connector page's `?error=` says it. */
|
|
528
|
+
export declare const CALLBACK_ERRORS: {
|
|
529
|
+
readonly expired: "The connection attempt expired. Connect again.";
|
|
530
|
+
readonly mismatch: "This browser did not start that connection attempt. Connect again from this page.";
|
|
531
|
+
readonly replayed: "That consent was already used. Connect again to authorize a new one.";
|
|
532
|
+
readonly declined: "Consent was declined at the provider. Nothing changed.";
|
|
533
|
+
readonly rejected: "The provider refused the authorization. Check the OAuth application, then connect again.";
|
|
534
|
+
readonly failed: "The connection could not be completed. Connect again.";
|
|
535
|
+
};
|
|
536
|
+
export type CallbackErrorReason = keyof typeof CALLBACK_ERRORS;
|
|
537
|
+
export declare const TestConnectionRequest: z.ZodObject<{
|
|
538
|
+
connection: z.ZodObject<{
|
|
539
|
+
vendor: z.ZodString;
|
|
540
|
+
$connection: z.ZodString;
|
|
541
|
+
}, z.core.$strip>;
|
|
542
|
+
requestId: z.ZodString;
|
|
543
|
+
}, z.core.$strip>;
|
|
544
|
+
export type TestConnectionRequest = z.infer<typeof TestConnectionRequest>;
|
|
545
|
+
/** Disconnect, or with `revoke`, revoke the OAuth grant at the provider first (`sanoma.connection.revoke`). */
|
|
546
|
+
export declare const DisconnectConnectionRequest: z.ZodObject<{
|
|
547
|
+
connection: z.ZodObject<{
|
|
548
|
+
vendor: z.ZodString;
|
|
549
|
+
$connection: z.ZodString;
|
|
550
|
+
}, z.core.$strip>;
|
|
551
|
+
requestId: z.ZodString;
|
|
552
|
+
expectedRevision: z.ZodString;
|
|
553
|
+
revoke: z.ZodOptional<z.ZodBoolean>;
|
|
554
|
+
}, z.core.$strip>;
|
|
555
|
+
export type DisconnectConnectionRequest = z.infer<typeof DisconnectConnectionRequest>;
|
|
556
|
+
/**
|
|
557
|
+
* Whether the chat has a model to answer on (`getChatModel`): the connector whose model the loop
|
|
558
|
+
* uses, when one has a model half, and whether its key is set.
|
|
559
|
+
*/
|
|
560
|
+
export interface ChatModel {
|
|
561
|
+
vendor?: string;
|
|
562
|
+
ready: boolean;
|
|
563
|
+
}
|
|
564
|
+
/** What `setCredentialFn` takes: a declared variable and its value, stored as the actor. The value is never sent back. */
|
|
565
|
+
export declare const SetCredentialRequest: z.ZodObject<{
|
|
566
|
+
name: z.ZodString;
|
|
567
|
+
value: z.ZodString;
|
|
568
|
+
}, z.core.$strip>;
|
|
569
|
+
export type SetCredentialRequest = z.infer<typeof SetCredentialRequest>;
|
|
570
|
+
/** What the connect page shows (`getSetupStatus`): the GitHub App, once created, and the pasted tokens' statuses. Never a value. */
|
|
571
|
+
export interface SetupStatus {
|
|
572
|
+
/**
|
|
573
|
+
* The company's GitHub App, once its keys are stored, with `missing`: the permissions the
|
|
574
|
+
* manifest asks for that GitHub's listing of the App lacks (one made before the manifest asked
|
|
575
|
+
* for them, or by hand), as `<name>: <level>`; null when GitHub did not say.
|
|
576
|
+
*/
|
|
577
|
+
githubApp: {
|
|
578
|
+
slug: string;
|
|
579
|
+
setBy?: string;
|
|
580
|
+
setAt?: string;
|
|
581
|
+
missing: string[] | null;
|
|
582
|
+
} | null;
|
|
583
|
+
tokens: CredentialStatus[];
|
|
584
|
+
/** Which of `tokens` is the identity enrollment writer's URL, when the config names one with `secret()`. */
|
|
585
|
+
enrollmentWriter?: string;
|
|
586
|
+
/**
|
|
587
|
+
* How people will sign in on the host: `you`, the email declared for the person asking (the
|
|
588
|
+
* invite that signs them in once the host answers goes to it); `sender`, the config's
|
|
589
|
+
* `login.sender` operation, and whether its connector's credentials are set; whether the GitHub
|
|
590
|
+
* App's client is stored, for "Sign in with GitHub"; and the public sites with a login
|
|
591
|
+
* (`sites`), whose visitors that client lets sign in with GitHub too. Neither a sender nor GitHub
|
|
592
|
+
* leaves invite links alone: a warning, not blocking.
|
|
593
|
+
*/
|
|
594
|
+
signIn: {
|
|
595
|
+
you: string | null;
|
|
596
|
+
sender: string | null;
|
|
597
|
+
senderConnected: boolean;
|
|
598
|
+
github: boolean;
|
|
599
|
+
sites: {
|
|
600
|
+
name: string;
|
|
601
|
+
login: string;
|
|
602
|
+
}[];
|
|
603
|
+
};
|
|
604
|
+
}
|
|
605
|
+
/** The People page's sign-in facts (`getPeopleSignIns`): whether this app mints invite links, and when each person last signed in. */
|
|
606
|
+
export interface PeopleSignIns {
|
|
607
|
+
invites: boolean;
|
|
608
|
+
/** By person id: when (milliseconds since the epoch) and how; one who never signed in is left out. */
|
|
609
|
+
last: Record<string, {
|
|
610
|
+
at: number;
|
|
611
|
+
method: string;
|
|
612
|
+
}>;
|
|
613
|
+
}
|
|
614
|
+
/** What `inviteFn` takes: the declared person to mint a one-use invite link for. */
|
|
615
|
+
export declare const InviteRequest: z.ZodObject<{
|
|
616
|
+
person: z.ZodString;
|
|
617
|
+
}, z.core.$strip>;
|
|
618
|
+
export type InviteRequest = z.infer<typeof InviteRequest>;
|
|
619
|
+
/** A one-use link that signs a person in, until `expiresAt` (ISO 8601). */
|
|
620
|
+
export interface InviteLink {
|
|
621
|
+
url: string;
|
|
622
|
+
expiresAt: string;
|
|
623
|
+
}
|
|
624
|
+
/**
|
|
625
|
+
* The vendors `/setup` connects with pasted tokens, as the pages show them and going live reads
|
|
626
|
+
* them: each one's id, its setup tokens (`SETUP_TOKENS`, asked for only when the config declares
|
|
627
|
+
* a type of the vendor), all of which must be stored for it to be connected, and what connecting
|
|
628
|
+
* it does.
|
|
629
|
+
*/
|
|
630
|
+
export declare const SETUP_VENDORS: readonly {
|
|
631
|
+
vendor: string;
|
|
632
|
+
title: string;
|
|
633
|
+
tokens: readonly string[];
|
|
634
|
+
about: string;
|
|
635
|
+
}[];
|
|
636
|
+
/**
|
|
637
|
+
* How much of a `login-code` run's sealed code its page is sent and shows (`runDetail`): enough
|
|
638
|
+
* to tell two runs apart, never what this deployment could open.
|
|
639
|
+
*/
|
|
640
|
+
export declare const SEALED_SHOWN = 4;
|
|
641
|
+
/** The data file going live writes, relative to the config's root. */
|
|
642
|
+
export declare const INFRA = "resources/sanoma/infra.ts";
|
|
643
|
+
/**
|
|
644
|
+
* What a live instance with no sandbox declared lacks, for the coding agents, which would otherwise
|
|
645
|
+
* run inside it: said by the chat's refusal (`NO_BOX`) and the Hosting page.
|
|
646
|
+
*/
|
|
647
|
+
export declare const DECLARE_BOX = "Coding agents work in a box of their own on a live instance, and this company declares none: declare one in resources/sanoma/infra.ts (`export const box = agent37.instance({})`, with the agent37 connector in sanoma.config.ts) and set AGENT37_API_KEY";
|
|
648
|
+
/**
|
|
649
|
+
* Why a host of type `hostType` that stops when quiet has no Wakeup, `wakes` being the connected
|
|
650
|
+
* wakeups and the host types each wakes, when known: going live's refusal to declare one, and
|
|
651
|
+
* Hosting's notice on a host declared without one.
|
|
652
|
+
*/
|
|
653
|
+
export declare const noWakeup: (hostType: string, wakes?: string) => string;
|
|
654
|
+
/** A connector package on npm (`getAvailableConnectors`). */
|
|
655
|
+
export interface AvailableConnector {
|
|
656
|
+
/** The npm package name, what `pnpm add` takes. */
|
|
657
|
+
package: string;
|
|
658
|
+
/** The vendor's name, from the package's `sanoma` field. */
|
|
659
|
+
title: string;
|
|
660
|
+
description?: string;
|
|
661
|
+
/** Its latest version. */
|
|
662
|
+
version: string;
|
|
663
|
+
/** Its logos as `data:` URLs, as installed vendors' are: an `<img>`'s only. */
|
|
664
|
+
logo?: {
|
|
665
|
+
src: string;
|
|
666
|
+
dark?: string;
|
|
667
|
+
};
|
|
668
|
+
/** Where its code and README are, as an https URL. */
|
|
669
|
+
homepage?: string;
|
|
670
|
+
}
|
|
671
|
+
/** The connectors npm lists; `error` when npm could not be searched. */
|
|
672
|
+
export interface AvailableConnectors {
|
|
673
|
+
connectors: AvailableConnector[];
|
|
674
|
+
error?: string;
|
|
675
|
+
}
|
|
676
|
+
/** What going live (on Hosting) offers to choose from (`getGoLiveChoices`), and why a list is empty. */
|
|
677
|
+
export interface GoLiveChoices {
|
|
678
|
+
/** The GitHub accounts a repository can be made in: the token's user and organizations, and the App's installations. */
|
|
679
|
+
owners: {
|
|
680
|
+
login: string;
|
|
681
|
+
kind: "user" | "organization";
|
|
682
|
+
via: "token" | "app";
|
|
683
|
+
}[];
|
|
684
|
+
/** The Supabase organizations the stored token sees, for a Supabase project; null for a database that takes none. */
|
|
685
|
+
organizations: {
|
|
686
|
+
id: string;
|
|
687
|
+
name: string;
|
|
688
|
+
}[] | null;
|
|
689
|
+
/**
|
|
690
|
+
* The database type the company's records go in, `<vendor>.<type>`, its title, the regions it
|
|
691
|
+
* takes (null when it lists none) and whether it takes a size; null when the config has none.
|
|
692
|
+
*/
|
|
693
|
+
database: {
|
|
694
|
+
type: string;
|
|
695
|
+
title: string;
|
|
696
|
+
regions: readonly string[] | null;
|
|
697
|
+
size: boolean;
|
|
698
|
+
} | null;
|
|
699
|
+
/** The host type the company runs on, `<vendor>.<type>`, its title and whether its URL is public; null when the config has none. */
|
|
700
|
+
host: {
|
|
701
|
+
type: string;
|
|
702
|
+
title: string;
|
|
703
|
+
publicUrl: boolean;
|
|
704
|
+
} | null;
|
|
705
|
+
/** The resource types going live needs that the config's connectors do not declare. */
|
|
706
|
+
missing: string[];
|
|
707
|
+
/** The vendors to connect first, by title: the chosen database's and host's, when not connected. */
|
|
708
|
+
connect: string[];
|
|
709
|
+
/** A name to suggest: the app's. */
|
|
710
|
+
name: string;
|
|
711
|
+
/** What could not be listed, and why. */
|
|
712
|
+
errors: string[];
|
|
713
|
+
}
|
|
714
|
+
/** An apply run as going live (on Hosting) follows it: its status, the plan it waits on, and what it did. */
|
|
715
|
+
export interface GoLiveRun {
|
|
716
|
+
runId: string;
|
|
717
|
+
status: RunSummary["status"];
|
|
718
|
+
/** What it asks a person to approve, in the Inbox; the plan. */
|
|
719
|
+
pending?: {
|
|
720
|
+
approvalId: string;
|
|
721
|
+
plan?: ApplyPlan;
|
|
722
|
+
};
|
|
723
|
+
results?: ApplyResult[];
|
|
724
|
+
error?: string;
|
|
725
|
+
}
|
|
726
|
+
/**
|
|
727
|
+
* What apply gives the declared host that derives (`getHostDerived`), shown read-only on Hosting:
|
|
728
|
+
* the runtime image, the repository and branch it runs, the sites' domains it attaches, and the
|
|
729
|
+
* keys it is given, whether each is stored and since when. Never a value.
|
|
730
|
+
*/
|
|
731
|
+
export interface HostDerived {
|
|
732
|
+
/** The host's declaration id. */
|
|
733
|
+
id: string;
|
|
734
|
+
/** The runtime image it runs; undefined when sanoma is not installed. */
|
|
735
|
+
image?: string;
|
|
736
|
+
/** The repository it clones: a declared one's `owner/name`, or the app's `origin`. */
|
|
737
|
+
source?: string;
|
|
738
|
+
/** The branch it runs: the declared one, else the repository's default branch; undefined when it cannot be told yet. */
|
|
739
|
+
ref?: string;
|
|
740
|
+
/** Each public site's domain, by site name. */
|
|
741
|
+
domains: Record<string, string>;
|
|
742
|
+
/** The keys it is given: stored or not, and when each was set. */
|
|
743
|
+
keys: {
|
|
744
|
+
name: string;
|
|
745
|
+
stored: boolean;
|
|
746
|
+
setAt?: string;
|
|
747
|
+
}[];
|
|
748
|
+
}
|
|
749
|
+
/** How far going live is (`getGoLiveProgress`): told from the files, the lockfile and the runs, so a reload picks it up. */
|
|
750
|
+
export interface GoLiveProgress {
|
|
751
|
+
/** `resources/sanoma/infra.ts`, once written. */
|
|
752
|
+
infra: string | null;
|
|
753
|
+
/** What the first apply makes, of what `infra.ts` declares: the repository, its deploy key and the database. */
|
|
754
|
+
beforeHost: string[];
|
|
755
|
+
/** Whether those are all bound in the lockfile, and whether the host is. */
|
|
756
|
+
bound: {
|
|
757
|
+
beforeHost: boolean;
|
|
758
|
+
host: boolean;
|
|
759
|
+
};
|
|
760
|
+
/** The latest apply run. */
|
|
761
|
+
run: GoLiveRun | null;
|
|
762
|
+
/** Where the host answers, from the last apply that made or changed it, and whether `/healthz` answers. */
|
|
763
|
+
host: {
|
|
764
|
+
url: string;
|
|
765
|
+
healthy: boolean;
|
|
766
|
+
} | null;
|
|
767
|
+
}
|
|
768
|
+
/** Said at the top of `infra.ts` when it declares an existing database, and on the page. */
|
|
769
|
+
export declare const PASSWORD_NOTE: string[];
|
|
770
|
+
/** What `clearCredentialFn` takes: a declared variable, whose stored value it deletes. */
|
|
771
|
+
export declare const ClearCredentialRequest: z.ZodObject<{
|
|
772
|
+
name: z.ZodString;
|
|
773
|
+
}, z.core.$strip>;
|
|
774
|
+
export type ClearCredentialRequest = z.infer<typeof ClearCredentialRequest>;
|
|
775
|
+
/**
|
|
776
|
+
* What `callFn` takes, as a site's `api` sends it: an operation's id (`data.outbound.list`), a
|
|
777
|
+
* workflow's api name (`outboundNext`, which starts it) or one of its methods
|
|
778
|
+
* (`outboundNext.start`, `.result`, `.latest`, `.runs`, `.approvals`, `.ledger`); the input; and,
|
|
779
|
+
* for a call or a start, a new id per attempt, so a retried request is made once.
|
|
780
|
+
*/
|
|
781
|
+
export declare const CallRequest: z.ZodObject<{
|
|
782
|
+
name: z.ZodString;
|
|
783
|
+
input: z.ZodOptional<z.ZodUnknown>;
|
|
784
|
+
id: z.ZodOptional<z.ZodString>;
|
|
785
|
+
}, z.core.$strip>;
|
|
786
|
+
export type CallRequest = z.infer<typeof CallRequest>;
|
|
787
|
+
/** What `getHistory` reads: the history of the record `key` of the collection `name`. */
|
|
788
|
+
export declare const HistoryRequest: z.ZodObject<{
|
|
789
|
+
name: z.ZodString;
|
|
790
|
+
key: z.ZodString;
|
|
791
|
+
}, z.core.$strip>;
|
|
792
|
+
export type HistoryRequest = z.infer<typeof HistoryRequest>;
|
|
793
|
+
/** What `proposeColumnChangeFn` takes: a change to the columns of the collection `collection`. */
|
|
794
|
+
export declare const ProposeColumnChange: z.ZodObject<{
|
|
795
|
+
collection: z.ZodString;
|
|
796
|
+
change: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
797
|
+
kind: z.ZodLiteral<"add">;
|
|
798
|
+
field: z.ZodString;
|
|
799
|
+
type: z.ZodUnion<readonly [z.ZodEnum<{
|
|
800
|
+
boolean: "boolean";
|
|
801
|
+
date: "date";
|
|
802
|
+
json: "json";
|
|
803
|
+
number: "number";
|
|
804
|
+
person: "person";
|
|
805
|
+
text: "text";
|
|
806
|
+
}>, z.ZodObject<{
|
|
807
|
+
enum: z.ZodArray<z.ZodString>;
|
|
808
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
809
|
+
link: z.ZodString;
|
|
810
|
+
}, z.core.$strict>]>;
|
|
811
|
+
required: z.ZodBoolean;
|
|
812
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
813
|
+
kind: z.ZodLiteral<"rename">;
|
|
814
|
+
from: z.ZodString;
|
|
815
|
+
to: z.ZodString;
|
|
816
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
817
|
+
kind: z.ZodLiteral<"retype">;
|
|
818
|
+
field: z.ZodString;
|
|
819
|
+
to: z.ZodUnion<readonly [z.ZodEnum<{
|
|
820
|
+
boolean: "boolean";
|
|
821
|
+
date: "date";
|
|
822
|
+
json: "json";
|
|
823
|
+
number: "number";
|
|
824
|
+
person: "person";
|
|
825
|
+
text: "text";
|
|
826
|
+
}>, z.ZodObject<{
|
|
827
|
+
enum: z.ZodArray<z.ZodString>;
|
|
828
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
829
|
+
link: z.ZodString;
|
|
830
|
+
}, z.core.$strict>]>;
|
|
831
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
832
|
+
kind: z.ZodLiteral<"require">;
|
|
833
|
+
field: z.ZodString;
|
|
834
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
835
|
+
kind: z.ZodLiteral<"delete">;
|
|
836
|
+
field: z.ZodString;
|
|
837
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
838
|
+
kind: z.ZodLiteral<"link">;
|
|
839
|
+
field: z.ZodString;
|
|
840
|
+
to: z.ZodString;
|
|
841
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
842
|
+
kind: z.ZodLiteral<"convert">;
|
|
843
|
+
field: z.ZodString;
|
|
844
|
+
key: z.ZodString;
|
|
845
|
+
type: z.ZodUnion<readonly [z.ZodEnum<{
|
|
846
|
+
boolean: "boolean";
|
|
847
|
+
date: "date";
|
|
848
|
+
json: "json";
|
|
849
|
+
number: "number";
|
|
850
|
+
person: "person";
|
|
851
|
+
text: "text";
|
|
852
|
+
}>, z.ZodObject<{
|
|
853
|
+
enum: z.ZodArray<z.ZodString>;
|
|
854
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
855
|
+
link: z.ZodString;
|
|
856
|
+
}, z.core.$strict>]>;
|
|
857
|
+
}, z.core.$strict>], "kind">;
|
|
858
|
+
}, z.core.$strip>;
|
|
859
|
+
export type ProposeColumnChange = z.infer<typeof ProposeColumnChange>;
|
|
860
|
+
/** A field one write changed: its value before and after, each absent where the field was not set. */
|
|
861
|
+
export interface FieldChange {
|
|
862
|
+
field: string;
|
|
863
|
+
before?: unknown;
|
|
864
|
+
after?: unknown;
|
|
865
|
+
}
|
|
866
|
+
/**
|
|
867
|
+
* One write of a record, from the ledger (`getHistory`): when, as whom, in which run of which
|
|
868
|
+
* workflow (`call` for a person's own, a `direct:` run having no page), and what it did: made
|
|
869
|
+
* the record (`created`, its first save or the first after a delete), `deleted` it, or changed
|
|
870
|
+
* these fields of the one before (none for a save of the same record).
|
|
871
|
+
*/
|
|
872
|
+
export interface HistoryEntry {
|
|
873
|
+
at: number;
|
|
874
|
+
by: string;
|
|
875
|
+
workflow: string;
|
|
876
|
+
runId: string;
|
|
877
|
+
change: "created" | "deleted" | FieldChange[];
|
|
878
|
+
}
|
|
879
|
+
/**
|
|
880
|
+
* A record's history (`getHistory`): its writes, newest first, and `more` when the ledger held
|
|
881
|
+
* more calls on it than were read (its reads count), so older writes are not among them.
|
|
882
|
+
*/
|
|
883
|
+
export interface RecordHistory {
|
|
884
|
+
writes: HistoryEntry[];
|
|
885
|
+
more: boolean;
|
|
886
|
+
}
|
|
887
|
+
/** What `previewFn` asks (`PreviewRequest` without its principal): at most 200 actions, each on a target when known. */
|
|
888
|
+
export declare const PreviewQuery: z.ZodArray<z.ZodObject<{
|
|
889
|
+
action: z.ZodObject<{
|
|
890
|
+
id: z.ZodString;
|
|
891
|
+
effect: z.ZodOptional<z.ZodEnum<{
|
|
892
|
+
access: "access";
|
|
893
|
+
money: "money";
|
|
894
|
+
publish: "publish";
|
|
895
|
+
read: "read";
|
|
896
|
+
send: "send";
|
|
897
|
+
write: "write";
|
|
898
|
+
}>>;
|
|
899
|
+
}, z.core.$strip>;
|
|
900
|
+
resource: z.ZodOptional<z.ZodString>;
|
|
901
|
+
inRun: z.ZodOptional<z.ZodBoolean>;
|
|
902
|
+
}, z.core.$strip>>;
|
|
903
|
+
export type PreviewQuery = z.infer<typeof PreviewQuery>;
|
|
904
|
+
export type { PermissionsRow } from "sanoma/workflows/describe";
|
|
905
|
+
export type { RunCheck } from "sanoma/workflows/scenario";
|
|
906
|
+
/**
|
|
907
|
+
* The Permissions page's grid (`getPermissions`): the policy, then the grid (`permissionsGrid`:
|
|
908
|
+
* its columns, a row for each workflow's start with a row for each operation it uses, and for
|
|
909
|
+
* each operation a person may call directly, each with a cell per column), then the policy's
|
|
910
|
+
* files, its source.
|
|
911
|
+
*/
|
|
912
|
+
export interface PermissionsResponse extends PermissionsGrid {
|
|
913
|
+
policy: Omit<ConfigDescription["policy"], "files">;
|
|
914
|
+
/**
|
|
915
|
+
* Each `policies/**\/*.cedar` file by path, its text with `\n` line endings, and each policy in
|
|
916
|
+
* it (a rule's `id`) with its `span` in that text; none when the root has no policies.
|
|
917
|
+
*/
|
|
918
|
+
files: {
|
|
919
|
+
file: string;
|
|
920
|
+
text: string;
|
|
921
|
+
policies: {
|
|
922
|
+
id: string;
|
|
923
|
+
span: Span;
|
|
924
|
+
}[];
|
|
925
|
+
}[];
|
|
926
|
+
}
|
|
927
|
+
/**
|
|
928
|
+
* What the repository's host enforces on `main` (`getHostEnforcement`), with the host's name (its
|
|
929
|
+
* connector's title): whether it refuses a change that is not a pull request and requires the
|
|
930
|
+
* `sanoma` check; null without a remote, or with no connector for its host.
|
|
931
|
+
*/
|
|
932
|
+
export type EnforcementResponse = (HostEnforcement & {
|
|
933
|
+
host: string;
|
|
934
|
+
}) | null;
|
|
935
|
+
/** The `body` of the error a server function fails with. */
|
|
936
|
+
export interface ErrorResponse {
|
|
937
|
+
error: string;
|
|
938
|
+
/**
|
|
939
|
+
* The runtime's code, when the error has one, `record_changed`: a collection's `save` with
|
|
940
|
+
* `ifRecord` finding the record changed since, or gone (a `saveMany` any entry's, `ifAbsent`
|
|
941
|
+
* too), or `record_exists`: a `save` with `ifAbsent` finding one. Branch on this, never on `error`.
|
|
942
|
+
*/
|
|
943
|
+
code?: ErrorCode | "record_changed" | "record_exists";
|
|
944
|
+
/** For `invalid_input`: what is wrong with the request or the input. */
|
|
945
|
+
issues?: InputIssue[];
|
|
946
|
+
/** For `not_approver`: who may decide. */
|
|
947
|
+
approver?: ApprovalState["approver"];
|
|
948
|
+
/** For `not_approver`: why not, `OWN_CHANGE` for the run's own actor while someone else could decide. */
|
|
949
|
+
reason?: string;
|
|
950
|
+
/** For `approval_pending`: the run of the built-in `call` workflow the call waits in; for `run_running`, the run. */
|
|
951
|
+
runId?: string;
|
|
952
|
+
/** For a form's Save refused (`invalid_input` from a `patch` run): the field its file computes, by dotted path, which only the code changes. */
|
|
953
|
+
field?: string;
|
|
954
|
+
/** For `record_changed` and `record_exists`, when the runtime says: the record as it stands now, or null once it is gone. */
|
|
955
|
+
current?: Saved<Record<string, Json>> | null;
|
|
956
|
+
/** For a `saveMany`'s `record_changed`: every record it found changed, or gone, as it stands now. */
|
|
957
|
+
conflicts?: {
|
|
958
|
+
key: string;
|
|
959
|
+
current: Saved<Record<string, Json>> | null;
|
|
960
|
+
}[];
|
|
961
|
+
/** For a `saveMany`'s `policy_denied`: the keys of every entry the policy denied, saves and deletes alike. */
|
|
962
|
+
denied?: string[];
|
|
963
|
+
}
|
|
964
|
+
/** A JSON value, as a record's fields hold them. */
|
|
965
|
+
export type Json = string | number | boolean | null | Json[] | {
|
|
966
|
+
[key: string]: Json;
|
|
967
|
+
};
|
|
968
|
+
/**
|
|
969
|
+
* An error with the HTTP status and body a server function answers with. Every server function
|
|
970
|
+
* fails with one, and the page receives it as one (start.ts registers how it travels).
|
|
971
|
+
*/
|
|
972
|
+
export declare class ApiError extends Error {
|
|
973
|
+
readonly status: number;
|
|
974
|
+
readonly body: ErrorResponse;
|
|
975
|
+
constructor(status: number, body: ErrorResponse);
|
|
976
|
+
}
|
|
977
|
+
/** The error body an error carries, when it is an `ApiError`. */
|
|
978
|
+
export declare const errorBodyOf: (err: unknown) => ErrorResponse | undefined;
|
|
979
|
+
/** A run's short name, for a title: "Run" and its id's first 8 characters (a UUID's first group). */
|
|
980
|
+
export declare const runName: (runId: string) => string;
|
|
981
|
+
/** Who started a run, as text. */
|
|
982
|
+
export declare const starterName: (run: Pick<RunSummary, "startedBy">) => string;
|
|
983
|
+
/** A run's approvals still waiting for a decision. */
|
|
984
|
+
export declare const pendingApprovals: (run: Pick<RunSummary, "approvals">) => ApprovalState[];
|