@baochunli/flakes 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/host.d.ts.map +1 -1
- package/dist/commands/host.js +76 -2
- package/dist/commands/host.js.map +1 -1
- package/dist/commands/projects.d.ts +4 -0
- package/dist/commands/projects.d.ts.map +1 -0
- package/dist/commands/projects.js +133 -0
- package/dist/commands/projects.js.map +1 -0
- package/dist/commands/runs.d.ts.map +1 -1
- package/dist/commands/runs.js +5 -1
- package/dist/commands/runs.js.map +1 -1
- package/dist/commands/runtime.d.ts +0 -1
- package/dist/commands/runtime.d.ts.map +1 -1
- package/dist/commands/runtime.js +2 -280
- package/dist/commands/runtime.js.map +1 -1
- package/dist/commands/server.d.ts.map +1 -1
- package/dist/commands/server.js +0 -6
- package/dist/commands/server.js.map +1 -1
- package/dist/config-example.js +1 -1
- package/dist/config-example.js.map +1 -1
- package/dist/host-config.d.ts +1 -6
- package/dist/host-config.d.ts.map +1 -1
- package/dist/host-config.js +10 -28
- package/dist/host-config.js.map +1 -1
- package/dist/host-runner.d.ts +3 -0
- package/dist/host-runner.d.ts.map +1 -1
- package/dist/host-runner.js +18 -6
- package/dist/host-runner.js.map +1 -1
- package/dist/host-runtime.d.ts.map +1 -1
- package/dist/host-runtime.js +92 -2
- package/dist/host-runtime.js.map +1 -1
- package/dist/host-transport.js +2 -5
- package/dist/host-transport.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +19 -28
- package/dist/index.js.map +1 -1
- package/dist/node_modules/@flakes/auth/dist/better-auth-shape.d.ts +10 -0
- package/dist/node_modules/@flakes/auth/dist/better-auth-shape.d.ts.map +1 -0
- package/dist/node_modules/@flakes/auth/dist/better-auth-shape.js +16 -0
- package/dist/node_modules/@flakes/auth/dist/better-auth-shape.js.map +1 -0
- package/dist/node_modules/@flakes/auth/package.json +1 -1
- package/dist/node_modules/@flakes/console/.output/nitro.json +1 -1
- package/dist/node_modules/@flakes/console/.output/public/assets/DocumentationPage-CNPk8RVl.js +1 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/ProjectsPage-CKPR1nnu.js +1 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/RunPage-BdugbnA3.js +3 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/RunsPage-CJbycrqM.js +1 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/SandboxesLens-BoLM52PY.js +1 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/SandboxesPage-6KHjMeaR.js +1 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/TranscriptPage-CHSq0_qN.js +1 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/_-CD1Voz9h.js +1 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/_runId-_0VPmGYe.js +2 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/_taskId-CPAKAp4X.js +2 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/account-BoRurhrq.js +1 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/account-forms-D4eVqOhW.js +1 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/arrow-right-QzVbRzF_.js +1 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/auth-layout-DBnq_eif.js +1 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/bits-BOMPEHvv.js +1 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/card-37qs8AAd.js +1 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/circle-alert-CM0SVfzc.js +1 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/circle-check-CzwcEElH.js +1 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/circle-x-C_sOQVNQ.js +1 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/device-FqII-S41.js +1 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/dist-BEfdrJTS.js +1 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/documentation-2C3ncAuV.js +1 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/{external-link-BW8lpiMR.js → external-link-BWhbbPgy.js} +1 -1
- package/dist/node_modules/@flakes/console/.output/public/assets/{file-text-DMdy8OfN.js → file-text-DLxLJ7P1.js} +1 -1
- package/dist/node_modules/@flakes/console/.output/public/assets/forgot-password-BSQ4TWpA.js +1 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/inbox-BVu38EN6.js +1 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/{lib-DtfURcG3.js → lib-COfgMmRR.js} +3 -3
- package/dist/node_modules/@flakes/console/.output/public/assets/link-ll3nLBSM.js +1 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/{lock-D4OhqEPW.js → lock-Ck2SfQA2.js} +1 -1
- package/dist/node_modules/@flakes/console/.output/public/assets/main-LpSDdT-S.js +1215 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/matchContext-puEkI9BI.js +1 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/otp-verification-CussJQT1.js +20 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/projects-CLgKBrCe.js +2 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/react-B8IZ02wI.js +1 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/react-dom-ki7NpxV4.js +1 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/redirect-Cu9zBy04.js +1 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/reset-password-DwWhVkEh.js +1 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/runs-CFYk2iRh.js +2 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/sandboxes-mGsOcVFL.js +2 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/{save-1uf5fQff.js → save-Bte_1tnN.js} +1 -1
- package/dist/node_modules/@flakes/console/.output/public/assets/security-MjM55vIw.js +1 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/signin-KbA1cD6o.js +1 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/signin-form-CBF-d8iK.js +1 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/signup-CbHsThKr.js +1 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/styles-DtA2wbW8.css +2 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/table-WMIs2m3R.js +1 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/tiny-invariant-CO5X59di.js +1 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/user-Bt9z7sSI.js +1 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/utils-CBxvVKOM.js +1 -0
- package/dist/node_modules/@flakes/console/.output/public/assets/x-Bdsfqbi3.js +1 -0
- package/dist/node_modules/@flakes/console/.output/server/{_-DwPiGKLE.mjs → _-BULJ6utw.mjs} +3 -3
- package/dist/node_modules/@flakes/console/.output/server/{_-C-u135Pp.mjs → _-_ST9QYWn.mjs} +3 -3
- package/dist/node_modules/@flakes/console/.output/server/_chunks/ProjectsPage.mjs +589 -0
- package/dist/node_modules/@flakes/console/.output/server/_chunks/RunPage.mjs +13 -6
- package/dist/node_modules/@flakes/console/.output/server/_chunks/RunsPage.mjs +43 -12
- package/dist/node_modules/@flakes/console/.output/server/_chunks/SandboxesPage.mjs +2 -2
- package/dist/node_modules/@flakes/console/.output/server/_chunks/TranscriptPage.mjs +2 -2
- package/dist/node_modules/@flakes/console/.output/server/_chunks/project-navigation.mjs +79 -0
- package/dist/node_modules/@flakes/console/.output/server/_chunks/router.mjs +193 -110
- package/dist/node_modules/@flakes/console/.output/server/_chunks/utils.mjs +111 -3
- package/dist/node_modules/@flakes/console/.output/server/_libs/lucide-react.mjs +178 -1
- package/dist/node_modules/@flakes/console/.output/server/{_runId-CJ5_8uS8.mjs → _runId-CmYWNL8A.mjs} +3 -3
- package/dist/node_modules/@flakes/console/.output/server/{_runId-Cag5UaYU.mjs → _runId-WZmbo654.mjs} +2 -2
- package/dist/node_modules/@flakes/console/.output/server/_ssr/{App-CwFtUgAz.mjs → App-CUx8Ftit.mjs} +118 -64
- package/dist/node_modules/@flakes/console/.output/server/_ssr/{DocumentationPage-CtBAQbzy.mjs → DocumentationPage-0I9oWWJT.mjs} +3 -3
- package/dist/node_modules/@flakes/console/.output/server/_ssr/ProjectsPage-CGj9V2Of.mjs +590 -0
- package/dist/node_modules/@flakes/console/.output/server/_ssr/{RunPage-CatpnkFy.mjs → RunPage-B2vhVaj6.mjs} +14 -7
- package/dist/node_modules/@flakes/console/.output/server/_ssr/{RunsPage-BmLTih8Z.mjs → RunsPage-BifKogQE.mjs} +44 -13
- package/dist/node_modules/@flakes/console/.output/server/_ssr/{SandboxesPage-Dlq0Ga24.mjs → SandboxesPage-DGji_OdB.mjs} +3 -3
- package/dist/node_modules/@flakes/console/.output/server/_ssr/{TranscriptPage-DaSIDCKk.mjs → TranscriptPage-deSxVZaQ.mjs} +3 -3
- package/dist/node_modules/@flakes/console/.output/server/_ssr/{account-DzluYS58.mjs → account-D5y9vkAc.mjs} +2 -2
- package/dist/node_modules/@flakes/console/.output/server/_ssr/account-forms-CsothyLo.mjs +1 -1
- package/dist/node_modules/@flakes/console/.output/server/_ssr/device-CRZl7dGv.mjs +1 -1
- package/dist/node_modules/@flakes/console/.output/server/_ssr/{documentation-PC93pMWl.mjs → documentation-C69e9_eF.mjs} +3 -3
- package/dist/node_modules/@flakes/console/.output/server/_ssr/documentation-C91gfyy0.mjs +210 -0
- package/dist/node_modules/@flakes/console/.output/server/_ssr/{hooks-COIYuQzf.mjs → hooks-DrgN35zn.mjs} +110 -4
- package/dist/node_modules/@flakes/console/.output/server/_ssr/project-navigation-DI77TL9a.mjs +79 -0
- package/dist/node_modules/@flakes/console/.output/server/_ssr/projects-lJ2tIIPj.mjs +5 -0
- package/dist/node_modules/@flakes/console/.output/server/_ssr/reset-password-SmmTixcr.mjs +1 -1
- package/dist/node_modules/@flakes/console/.output/server/_ssr/{router-elhBqT5k.mjs → router-DHxFQ03L.mjs} +49 -41
- package/dist/node_modules/@flakes/console/.output/server/_ssr/{runs-CBkO-RO8.mjs → runs-BWxEGKO_.mjs} +17 -5
- package/dist/node_modules/@flakes/console/.output/server/_ssr/runs-dnPfp9dt.mjs +19 -0
- package/dist/node_modules/@flakes/console/.output/server/_ssr/{sandboxes-BIAgn8pu2.mjs → sandboxes-hxFINxDS.mjs} +3 -3
- package/dist/node_modules/@flakes/console/.output/server/_ssr/{sandboxes-qSX_pfUJ.mjs → sandboxes-v28LJQM3.mjs} +2 -2
- package/dist/node_modules/@flakes/console/.output/server/_ssr/signin-form-CQDi-0A5.mjs +1 -1
- package/dist/node_modules/@flakes/console/.output/server/_ssr/ssr.mjs +2 -2
- package/dist/node_modules/@flakes/console/.output/server/{_tanstack-start-manifest_v-CR_hZXXv.mjs → _tanstack-start-manifest_v-DfwuEzTr.mjs} +54 -46
- package/dist/node_modules/@flakes/console/.output/server/{_taskId-BaezvY0w.mjs → _taskId-CBo95z-s.mjs} +2 -2
- package/dist/node_modules/@flakes/console/.output/server/{_taskId-Da7kHKj9.mjs → _taskId-Sil3-PKh.mjs} +3 -3
- package/dist/node_modules/@flakes/console/package.json +1 -1
- package/dist/node_modules/@flakes/control-plane/dist/client-access.d.ts +17 -0
- package/dist/node_modules/@flakes/control-plane/dist/client-access.d.ts.map +1 -1
- package/dist/node_modules/@flakes/control-plane/dist/client-access.js +12 -0
- package/dist/node_modules/@flakes/control-plane/dist/client-access.js.map +1 -1
- package/dist/node_modules/@flakes/control-plane/dist/host-credentials.d.ts +1 -1
- package/dist/node_modules/@flakes/control-plane/dist/host-credentials.d.ts.map +1 -1
- package/dist/node_modules/@flakes/control-plane/dist/host-pool-matching.d.ts +24 -1
- package/dist/node_modules/@flakes/control-plane/dist/host-pool-matching.d.ts.map +1 -1
- package/dist/node_modules/@flakes/control-plane/dist/host-pool-matching.js +87 -3
- package/dist/node_modules/@flakes/control-plane/dist/host-pool-matching.js.map +1 -1
- package/dist/node_modules/@flakes/control-plane/dist/host-stream.d.ts.map +1 -1
- package/dist/node_modules/@flakes/control-plane/dist/host-stream.js +150 -40
- package/dist/node_modules/@flakes/control-plane/dist/host-stream.js.map +1 -1
- package/dist/node_modules/@flakes/control-plane/dist/managed-sandbox-provisioner.d.ts +71 -0
- package/dist/node_modules/@flakes/control-plane/dist/managed-sandbox-provisioner.d.ts.map +1 -0
- package/dist/node_modules/@flakes/control-plane/dist/managed-sandbox-provisioner.js +243 -0
- package/dist/node_modules/@flakes/control-plane/dist/managed-sandbox-provisioner.js.map +1 -0
- package/dist/node_modules/@flakes/control-plane/dist/routes/hosts.d.ts.map +1 -1
- package/dist/node_modules/@flakes/control-plane/dist/routes/hosts.js +219 -0
- package/dist/node_modules/@flakes/control-plane/dist/routes/hosts.js.map +1 -1
- package/dist/node_modules/@flakes/control-plane/dist/routes/projects.d.ts +3 -0
- package/dist/node_modules/@flakes/control-plane/dist/routes/projects.d.ts.map +1 -0
- package/dist/node_modules/@flakes/control-plane/dist/routes/projects.js +226 -0
- package/dist/node_modules/@flakes/control-plane/dist/routes/projects.js.map +1 -0
- package/dist/node_modules/@flakes/control-plane/dist/routes/runs.d.ts.map +1 -1
- package/dist/node_modules/@flakes/control-plane/dist/routes/runs.js +93 -6
- package/dist/node_modules/@flakes/control-plane/dist/routes/runs.js.map +1 -1
- package/dist/node_modules/@flakes/control-plane/dist/routes/sandboxes-admin.d.ts +3 -0
- package/dist/node_modules/@flakes/control-plane/dist/routes/sandboxes-admin.d.ts.map +1 -0
- package/dist/node_modules/@flakes/control-plane/dist/routes/sandboxes-admin.js +153 -0
- package/dist/node_modules/@flakes/control-plane/dist/routes/sandboxes-admin.js.map +1 -0
- package/dist/node_modules/@flakes/control-plane/dist/routes/tasks.js +2 -2
- package/dist/node_modules/@flakes/control-plane/dist/routes/tasks.js.map +1 -1
- package/dist/node_modules/@flakes/control-plane/dist/sandbox-drain.d.ts +19 -0
- package/dist/node_modules/@flakes/control-plane/dist/sandbox-drain.d.ts.map +1 -0
- package/dist/node_modules/@flakes/control-plane/dist/sandbox-drain.js +46 -0
- package/dist/node_modules/@flakes/control-plane/dist/sandbox-drain.js.map +1 -0
- package/dist/node_modules/@flakes/control-plane/dist/scheduler.d.ts +2 -0
- package/dist/node_modules/@flakes/control-plane/dist/scheduler.d.ts.map +1 -1
- package/dist/node_modules/@flakes/control-plane/dist/scheduler.js +53 -21
- package/dist/node_modules/@flakes/control-plane/dist/scheduler.js.map +1 -1
- package/dist/node_modules/@flakes/control-plane/dist/server.d.ts.map +1 -1
- package/dist/node_modules/@flakes/control-plane/dist/server.js +2 -0
- package/dist/node_modules/@flakes/control-plane/dist/server.js.map +1 -1
- package/dist/node_modules/@flakes/control-plane/dist/types.d.ts +2 -0
- package/dist/node_modules/@flakes/control-plane/dist/types.d.ts.map +1 -1
- package/dist/node_modules/@flakes/control-plane/package.json +1 -1
- package/dist/node_modules/@flakes/core/dist/config.d.ts.map +1 -1
- package/dist/node_modules/@flakes/core/dist/config.js +6 -2
- package/dist/node_modules/@flakes/core/dist/config.js.map +1 -1
- package/dist/node_modules/@flakes/core/dist/ids.d.ts +4 -0
- package/dist/node_modules/@flakes/core/dist/ids.d.ts.map +1 -1
- package/dist/node_modules/@flakes/core/dist/ids.js +2 -0
- package/dist/node_modules/@flakes/core/dist/ids.js.map +1 -1
- package/dist/node_modules/@flakes/core/dist/runtime.d.ts +1 -1
- package/dist/node_modules/@flakes/core/dist/schemas.d.ts +11 -0
- package/dist/node_modules/@flakes/core/dist/schemas.d.ts.map +1 -1
- package/dist/node_modules/@flakes/core/dist/schemas.js +10 -0
- package/dist/node_modules/@flakes/core/dist/schemas.js.map +1 -1
- package/dist/node_modules/@flakes/core/package.json +1 -1
- package/dist/node_modules/@flakes/harness-agent/package.json +1 -1
- package/dist/node_modules/@flakes/harness-sdk/package.json +1 -1
- package/dist/node_modules/@flakes/pi-agent/package.json +1 -1
- package/dist/node_modules/@flakes/protocol/dist/index.d.ts +1 -1
- package/dist/node_modules/@flakes/protocol/dist/index.d.ts.map +1 -1
- package/dist/node_modules/@flakes/protocol/dist/index.js +1 -1
- package/dist/node_modules/@flakes/protocol/dist/index.js.map +1 -1
- package/dist/node_modules/@flakes/protocol/dist/v1.d.ts +317 -0
- package/dist/node_modules/@flakes/protocol/dist/v1.d.ts.map +1 -1
- package/dist/node_modules/@flakes/protocol/dist/v1.js +50 -1
- package/dist/node_modules/@flakes/protocol/dist/v1.js.map +1 -1
- package/dist/node_modules/@flakes/protocol/package.json +1 -1
- package/dist/node_modules/@flakes/sandbox-runtime/dist/transport.js +3 -6
- package/dist/node_modules/@flakes/sandbox-runtime/dist/transport.js.map +1 -1
- package/dist/node_modules/@flakes/sandbox-runtime/package.json +1 -1
- package/dist/node_modules/@flakes/store/dist/artifacts-events-store.d.ts.map +1 -1
- package/dist/node_modules/@flakes/store/dist/artifacts-events-store.js +10 -0
- package/dist/node_modules/@flakes/store/dist/artifacts-events-store.js.map +1 -1
- package/dist/node_modules/@flakes/store/dist/host-provisioning-limits.d.ts +2 -1
- package/dist/node_modules/@flakes/store/dist/host-provisioning-limits.d.ts.map +1 -1
- package/dist/node_modules/@flakes/store/dist/host-provisioning-limits.js +1 -0
- package/dist/node_modules/@flakes/store/dist/host-provisioning-limits.js.map +1 -1
- package/dist/node_modules/@flakes/store/dist/kysely-store.d.ts +2 -2
- package/dist/node_modules/@flakes/store/dist/kysely-store.d.ts.map +1 -1
- package/dist/node_modules/@flakes/store/dist/kysely-store.js +2 -2
- package/dist/node_modules/@flakes/store/dist/kysely-store.js.map +1 -1
- package/dist/node_modules/@flakes/store/dist/managed-sandbox-instances-store.d.ts +6 -2
- package/dist/node_modules/@flakes/store/dist/managed-sandbox-instances-store.d.ts.map +1 -1
- package/dist/node_modules/@flakes/store/dist/managed-sandbox-instances-store.js +160 -3
- package/dist/node_modules/@flakes/store/dist/managed-sandbox-instances-store.js.map +1 -1
- package/dist/node_modules/@flakes/store/dist/mappers.d.ts +10 -2
- package/dist/node_modules/@flakes/store/dist/mappers.d.ts.map +1 -1
- package/dist/node_modules/@flakes/store/dist/mappers.js +45 -0
- package/dist/node_modules/@flakes/store/dist/mappers.js.map +1 -1
- package/dist/node_modules/@flakes/store/dist/projects-store.d.ts +42 -0
- package/dist/node_modules/@flakes/store/dist/projects-store.d.ts.map +1 -0
- package/dist/node_modules/@flakes/store/dist/projects-store.js +376 -0
- package/dist/node_modules/@flakes/store/dist/projects-store.js.map +1 -0
- package/dist/node_modules/@flakes/store/dist/runs-store.d.ts.map +1 -1
- package/dist/node_modules/@flakes/store/dist/runs-store.js +7 -2
- package/dist/node_modules/@flakes/store/dist/runs-store.js.map +1 -1
- package/dist/node_modules/@flakes/store/dist/schema.js +72 -0
- package/dist/node_modules/@flakes/store/dist/schema.js.map +1 -1
- package/dist/node_modules/@flakes/store/dist/sqlite.d.ts +4 -0
- package/dist/node_modules/@flakes/store/dist/sqlite.d.ts.map +1 -0
- package/dist/node_modules/@flakes/store/dist/sqlite.js +34 -0
- package/dist/node_modules/@flakes/store/dist/sqlite.js.map +1 -0
- package/dist/node_modules/@flakes/store/dist/store-base.d.ts +14 -12
- package/dist/node_modules/@flakes/store/dist/store-base.d.ts.map +1 -1
- package/dist/node_modules/@flakes/store/dist/tables.d.ts +41 -1
- package/dist/node_modules/@flakes/store/dist/tables.d.ts.map +1 -1
- package/dist/node_modules/@flakes/store/dist/tasks-store.d.ts.map +1 -1
- package/dist/node_modules/@flakes/store/dist/tasks-store.js +9 -2
- package/dist/node_modules/@flakes/store/dist/tasks-store.js.map +1 -1
- package/dist/node_modules/@flakes/store/dist/types.d.ts +159 -1
- package/dist/node_modules/@flakes/store/dist/types.d.ts.map +1 -1
- package/dist/node_modules/@flakes/store/package.json +1 -1
- package/package.json +1 -1
- package/dist/node_modules/@flakes/console/.output/public/assets/DocumentationPage-DM-ZYPgQ.js +0 -1
- package/dist/node_modules/@flakes/console/.output/public/assets/RunPage-i03UqHYF.js +0 -3
- package/dist/node_modules/@flakes/console/.output/public/assets/RunsPage-u8qbeAoV.js +0 -1
- package/dist/node_modules/@flakes/console/.output/public/assets/SandboxesLens-BUQQWmH6.js +0 -1
- package/dist/node_modules/@flakes/console/.output/public/assets/SandboxesPage-D8D_5kXP.js +0 -1
- package/dist/node_modules/@flakes/console/.output/public/assets/TranscriptPage-ChoFjiPI.js +0 -1
- package/dist/node_modules/@flakes/console/.output/public/assets/_-C4ecJpHe.js +0 -1
- package/dist/node_modules/@flakes/console/.output/public/assets/_runId-BZXYFY32.js +0 -2
- package/dist/node_modules/@flakes/console/.output/public/assets/_taskId-C28oHEU_.js +0 -2
- package/dist/node_modules/@flakes/console/.output/public/assets/account-B4wDEC7t.js +0 -1
- package/dist/node_modules/@flakes/console/.output/public/assets/account-forms-BLo66Mqa.js +0 -1
- package/dist/node_modules/@flakes/console/.output/public/assets/arrow-right-BMW8fJP5.js +0 -1
- package/dist/node_modules/@flakes/console/.output/public/assets/auth-layout-DiUSgtaY.js +0 -1
- package/dist/node_modules/@flakes/console/.output/public/assets/bits-Cv0Te4iz.js +0 -1
- package/dist/node_modules/@flakes/console/.output/public/assets/card-DSG3_teC.js +0 -1
- package/dist/node_modules/@flakes/console/.output/public/assets/circle-check-B0gtb8OH.js +0 -1
- package/dist/node_modules/@flakes/console/.output/public/assets/device-NrLWypMd.js +0 -1
- package/dist/node_modules/@flakes/console/.output/public/assets/dist-BtPw3IIV.js +0 -1
- package/dist/node_modules/@flakes/console/.output/public/assets/documentation-NRDmcDud.js +0 -1
- package/dist/node_modules/@flakes/console/.output/public/assets/forgot-password--3Mujc8s.js +0 -1
- package/dist/node_modules/@flakes/console/.output/public/assets/link-BsixJinJ.js +0 -1
- package/dist/node_modules/@flakes/console/.output/public/assets/main-KBvz0mSQ.js +0 -1055
- package/dist/node_modules/@flakes/console/.output/public/assets/matchContext-tJ0VTv5m.js +0 -1
- package/dist/node_modules/@flakes/console/.output/public/assets/otp-verification-BSXwS5bo.js +0 -20
- package/dist/node_modules/@flakes/console/.output/public/assets/react-DtOYBmep.js +0 -1
- package/dist/node_modules/@flakes/console/.output/public/assets/react-dom-DrIU40PY.js +0 -1
- package/dist/node_modules/@flakes/console/.output/public/assets/redirect-BEm0VK76.js +0 -1
- package/dist/node_modules/@flakes/console/.output/public/assets/reset-password-C7SbNx2J.js +0 -1
- package/dist/node_modules/@flakes/console/.output/public/assets/runs-xD4ynllK.js +0 -2
- package/dist/node_modules/@flakes/console/.output/public/assets/sandboxes-Cfr1Y2Dn.js +0 -2
- package/dist/node_modules/@flakes/console/.output/public/assets/security-CCThSJae.js +0 -1
- package/dist/node_modules/@flakes/console/.output/public/assets/signin-CYeR3TaY.js +0 -1
- package/dist/node_modules/@flakes/console/.output/public/assets/signin-form-Bp22jPob.js +0 -1
- package/dist/node_modules/@flakes/console/.output/public/assets/signup-DHhPfohX.js +0 -1
- package/dist/node_modules/@flakes/console/.output/public/assets/styles-8wEqfToJ.css +0 -2
- package/dist/node_modules/@flakes/console/.output/public/assets/table-DptQuuuq.js +0 -1
- package/dist/node_modules/@flakes/console/.output/public/assets/user-DK27uFod.js +0 -1
- package/dist/node_modules/@flakes/console/.output/public/assets/utils-CEE0-YEp.js +0 -1
- package/dist/node_modules/@flakes/console/.output/public/assets/x-fKvnmCoQ.js +0 -1
- package/dist/node_modules/@flakes/console/.output/server/_ssr/documentation-Bf0VPrnt.mjs +0 -210
- package/dist/node_modules/@flakes/console/.output/server/_ssr/runs-BzfGldVd.mjs +0 -12
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ArtifactRef, AcceptedOperationKind as CoreAcceptedOperationKind, DeclaredOutputs, FileWriteReservationSelector, GroupId, GroupKey, LiveTaskParentPromptMode, LiveTaskRoundStatus, LiveTaskState, PolicyEnvelope, RoundOutputSpecs, RoundOutputs, RunKey, RunState, SandboxDescriptor, SavedTaskRecord, SavedTaskUpsertInput, TaskGroupJoinRule, TaskGroupLimitConfig, TaskGroupOutcome, TaskGroupStatus, TaskGroupTerminalChildSummary, TaskGroupWaitResponse, TaskKey, TaskResult, TaskRuntimeOptions, TaskSpawnLimitConfig, TaskSpawnResponse, ToolGrant, TraceContext, WorkspaceBinding, WorkspaceHandle, WorkspaceInputs, WorkspacePathDigestMap, WorkspacePathSelector, WorkspaceReservationMetadata, WorkspaceSelectedRef } from "@flakes/core";
|
|
1
|
+
import type { ArtifactRef, AcceptedOperationKind as CoreAcceptedOperationKind, DeclaredOutputs, FileWriteReservationSelector, GroupId, GroupKey, LiveTaskParentPromptMode, LiveTaskRoundStatus, LiveTaskState, PolicyEnvelope, ProjectId, ProjectKey, ProjectStatus, RoundOutputSpecs, RoundOutputs, RunKey, RunState, SandboxDescriptor, SavedTaskRecord, SavedTaskUpsertInput, TaskGroupJoinRule, TaskGroupLimitConfig, TaskGroupOutcome, TaskGroupStatus, TaskGroupTerminalChildSummary, TaskGroupWaitResponse, TaskKey, TaskResult, TaskRuntimeOptions, TaskSpawnLimitConfig, TaskSpawnResponse, ToolGrant, TraceContext, WorkspaceBinding, WorkspaceHandle, WorkspaceInputs, WorkspacePathDigestMap, WorkspacePathSelector, WorkspaceReservationMetadata, WorkspaceSelectedRef } from "@flakes/core";
|
|
2
2
|
/** Opaque JSON payload persisted by the store without schema validation. */
|
|
3
3
|
export type JsonValue = unknown;
|
|
4
4
|
/** Clock dependency used to make assignment timing and metrics testable. */
|
|
@@ -54,9 +54,127 @@ export interface StoreOwnerFields {
|
|
|
54
54
|
ownerId: string;
|
|
55
55
|
ownerKey: string;
|
|
56
56
|
}
|
|
57
|
+
/** Stored owner-scoped product project. */
|
|
58
|
+
export interface StoreProject extends StoreOwnerFields {
|
|
59
|
+
projectId: ProjectId;
|
|
60
|
+
projectKey: ProjectKey;
|
|
61
|
+
name: string;
|
|
62
|
+
status: ProjectStatus;
|
|
63
|
+
metadata?: Record<string, unknown> | undefined;
|
|
64
|
+
archivedAt?: string | undefined;
|
|
65
|
+
createdAt: string;
|
|
66
|
+
updatedAt: string;
|
|
67
|
+
}
|
|
68
|
+
/** Project creation payload with immutable owner-scoped key. */
|
|
69
|
+
export interface CreateProjectInput extends StoreOwnerFields {
|
|
70
|
+
projectId?: ProjectId | undefined;
|
|
71
|
+
projectKey: ProjectKey;
|
|
72
|
+
name: string;
|
|
73
|
+
metadata?: Record<string, unknown> | undefined;
|
|
74
|
+
}
|
|
75
|
+
/** Owner-scoped project lookup by durable ID. */
|
|
76
|
+
export interface GetProjectByIdInput {
|
|
77
|
+
ownerKey: string;
|
|
78
|
+
projectId: ProjectId;
|
|
79
|
+
}
|
|
80
|
+
/** Owner-scoped project lookup by immutable key. */
|
|
81
|
+
export interface GetProjectInput {
|
|
82
|
+
ownerKey: string;
|
|
83
|
+
projectKey: ProjectKey;
|
|
84
|
+
}
|
|
85
|
+
/** Owner-scoped project listing. */
|
|
86
|
+
export interface ListProjectsInput {
|
|
87
|
+
ownerKey: string;
|
|
88
|
+
status?: ProjectStatus | undefined;
|
|
89
|
+
}
|
|
90
|
+
/** Owner-scoped project update for mutable display fields. */
|
|
91
|
+
export interface UpdateProjectInput {
|
|
92
|
+
ownerKey: string;
|
|
93
|
+
projectKey: ProjectKey;
|
|
94
|
+
name?: string | undefined;
|
|
95
|
+
metadata?: Record<string, unknown> | undefined;
|
|
96
|
+
}
|
|
97
|
+
/** Owner-scoped project archival. */
|
|
98
|
+
export interface ArchiveProjectInput {
|
|
99
|
+
ownerKey: string;
|
|
100
|
+
projectKey: ProjectKey;
|
|
101
|
+
}
|
|
102
|
+
/** Console-managed host-local root where project workspaces are derived. */
|
|
103
|
+
export interface SetHostProjectWorkspaceRootInput {
|
|
104
|
+
ownerKey: string;
|
|
105
|
+
hostId: string;
|
|
106
|
+
projectWorkspaceRoot: string;
|
|
107
|
+
}
|
|
108
|
+
export type HostProjectBindingAvailability = "unknown" | "available" | "unavailable";
|
|
109
|
+
/** Stored owner-host-project binding used by project-aware host placement. */
|
|
110
|
+
export interface StoreHostProjectBinding extends StoreOwnerFields {
|
|
111
|
+
bindingId: string;
|
|
112
|
+
hostId: string;
|
|
113
|
+
projectId: ProjectId;
|
|
114
|
+
projectKey: ProjectKey;
|
|
115
|
+
allowedPoolKeys: string[];
|
|
116
|
+
availability: HostProjectBindingAvailability;
|
|
117
|
+
unavailableReason?: string | undefined;
|
|
118
|
+
lastValidatedAt?: string | undefined;
|
|
119
|
+
metadata?: Record<string, unknown> | undefined;
|
|
120
|
+
createdAt: string;
|
|
121
|
+
updatedAt: string;
|
|
122
|
+
}
|
|
123
|
+
/** Upserts an owner-host-project binding and its allowed pool key set. */
|
|
124
|
+
export interface UpsertHostProjectBindingInput {
|
|
125
|
+
ownerKey: string;
|
|
126
|
+
hostId: string;
|
|
127
|
+
projectKey: ProjectKey;
|
|
128
|
+
allowedPoolKeys: readonly string[];
|
|
129
|
+
metadata?: Record<string, unknown> | undefined;
|
|
130
|
+
}
|
|
131
|
+
/** Lists project bindings for one owned host. */
|
|
132
|
+
export interface ListHostProjectBindingsInput {
|
|
133
|
+
ownerKey: string;
|
|
134
|
+
hostId: string;
|
|
135
|
+
}
|
|
136
|
+
/** Records the latest host validation state for one project binding. */
|
|
137
|
+
export interface UpdateHostProjectBindingAvailabilityInput {
|
|
138
|
+
ownerKey: string;
|
|
139
|
+
hostId: string;
|
|
140
|
+
bindingId: string;
|
|
141
|
+
availability: Exclude<HostProjectBindingAvailability, "unknown">;
|
|
142
|
+
unavailableReason?: string | undefined;
|
|
143
|
+
}
|
|
144
|
+
/** Marks host project bindings omitted from the current fenced host snapshot unavailable. */
|
|
145
|
+
export interface MarkHostProjectBindingSnapshotOmissionsInput {
|
|
146
|
+
streamFence: HostStreamMutationFence;
|
|
147
|
+
activeBindingIds: readonly string[];
|
|
148
|
+
unavailableReason: string;
|
|
149
|
+
}
|
|
150
|
+
export type MarkHostProjectBindingSnapshotOmissionsResult = {
|
|
151
|
+
status: "applied";
|
|
152
|
+
} | {
|
|
153
|
+
status: "stale_stream";
|
|
154
|
+
};
|
|
155
|
+
export interface HostProjectBindingValidationReport {
|
|
156
|
+
bindingId: string;
|
|
157
|
+
availability: Exclude<HostProjectBindingAvailability, "unknown">;
|
|
158
|
+
unavailableReason?: string | undefined;
|
|
159
|
+
}
|
|
160
|
+
/** Records one host validation report for the bindings sent on a fenced stream. */
|
|
161
|
+
export interface RecordHostProjectBindingValidationReportInput {
|
|
162
|
+
streamFence: HostStreamMutationFence;
|
|
163
|
+
expectedBindingIds: readonly string[];
|
|
164
|
+
bindings: readonly HostProjectBindingValidationReport[];
|
|
165
|
+
omittedUnavailableReason: string;
|
|
166
|
+
}
|
|
167
|
+
export type RecordHostProjectBindingValidationReportResult = {
|
|
168
|
+
status: "applied";
|
|
169
|
+
} | {
|
|
170
|
+
status: "rejected";
|
|
171
|
+
} | {
|
|
172
|
+
status: "stale_stream";
|
|
173
|
+
};
|
|
57
174
|
/** Run creation payload, optionally idempotent within a client scope. */
|
|
58
175
|
export interface CreateRunInput extends StoreOwnerFields {
|
|
59
176
|
runId: string;
|
|
177
|
+
projectId?: ProjectId | undefined;
|
|
60
178
|
name: string;
|
|
61
179
|
clientScope?: string | undefined;
|
|
62
180
|
idempotencyKey?: string | undefined;
|
|
@@ -77,6 +195,7 @@ export type TryCreateRunResult = {
|
|
|
77
195
|
/** Stored run metadata and derived aggregate state. */
|
|
78
196
|
export interface StoreRun extends StoreOwnerFields {
|
|
79
197
|
runId: string;
|
|
198
|
+
projectId?: ProjectId | undefined;
|
|
80
199
|
name: string;
|
|
81
200
|
state: RunState;
|
|
82
201
|
clientScope?: string | undefined;
|
|
@@ -97,6 +216,7 @@ export interface RunsListCursor {
|
|
|
97
216
|
/** Filters and keyset cursor for listing one owner's runs newest-first. */
|
|
98
217
|
export interface ListRunsInput {
|
|
99
218
|
ownerKey: string;
|
|
219
|
+
projectId?: ProjectId | undefined;
|
|
100
220
|
state?: RunState | undefined;
|
|
101
221
|
cursor?: RunsListCursor | undefined;
|
|
102
222
|
limit?: number | undefined;
|
|
@@ -900,6 +1020,7 @@ export interface CreateAgentInput {
|
|
|
900
1020
|
/** Accepted task payload before the store derives queue and dependency state. */
|
|
901
1021
|
export interface StoreTaskInput {
|
|
902
1022
|
taskId: string;
|
|
1023
|
+
projectId?: ProjectId | undefined;
|
|
903
1024
|
agentId: string;
|
|
904
1025
|
agentInstanceId?: string | undefined;
|
|
905
1026
|
target?: {
|
|
@@ -953,6 +1074,7 @@ export interface SeedAcceptedTasksForTestInput {
|
|
|
953
1074
|
export interface StoreTask extends StoreOwnerFields {
|
|
954
1075
|
taskId: string;
|
|
955
1076
|
runId: string;
|
|
1077
|
+
projectId?: ProjectId | undefined;
|
|
956
1078
|
agentId: string;
|
|
957
1079
|
agentInstanceId?: string | undefined;
|
|
958
1080
|
status: TaskStatus;
|
|
@@ -1554,6 +1676,7 @@ export interface StorePlacementDecision extends StoreOwnerFields {
|
|
|
1554
1676
|
placementDecisionId: string;
|
|
1555
1677
|
runId: string;
|
|
1556
1678
|
taskId: string;
|
|
1679
|
+
projectId?: ProjectId | undefined;
|
|
1557
1680
|
sandboxId?: string | undefined;
|
|
1558
1681
|
assignmentId?: string | undefined;
|
|
1559
1682
|
decision: StorePlacementDecisionKind;
|
|
@@ -1880,6 +2003,7 @@ export interface StoreManagedSandboxInstance {
|
|
|
1880
2003
|
ownerKind: StoreOwnerKind;
|
|
1881
2004
|
ownerId: string;
|
|
1882
2005
|
ownerKey: string;
|
|
2006
|
+
projectId?: ProjectId | undefined;
|
|
1883
2007
|
hostId: string;
|
|
1884
2008
|
hostPoolId: string;
|
|
1885
2009
|
sandboxId: string;
|
|
@@ -1893,6 +2017,8 @@ export interface StoreManagedSandboxInstance {
|
|
|
1893
2017
|
/** Durable lease row used to fence host-agent provisioning work. */
|
|
1894
2018
|
export interface StoreProvisioningLease extends StoreOwnerFields {
|
|
1895
2019
|
leaseId: string;
|
|
2020
|
+
projectId?: ProjectId | undefined;
|
|
2021
|
+
hostProjectBindingId?: string | undefined;
|
|
1896
2022
|
hostId: string;
|
|
1897
2023
|
hostPoolId?: string | undefined;
|
|
1898
2024
|
instanceId: string;
|
|
@@ -1919,6 +2045,8 @@ export interface StoreProvisioningLease extends StoreOwnerFields {
|
|
|
1919
2045
|
/** Creates a pending launch lease after owner/link validation. */
|
|
1920
2046
|
export interface CreatePendingLeaseInput extends StoreOwnerFields {
|
|
1921
2047
|
leaseId?: string | undefined;
|
|
2048
|
+
projectId?: ProjectId | undefined;
|
|
2049
|
+
hostProjectBindingId?: string | undefined;
|
|
1922
2050
|
action: ProvisioningLeaseAction;
|
|
1923
2051
|
hostId: string;
|
|
1924
2052
|
hostPoolId: string;
|
|
@@ -1948,6 +2076,8 @@ export interface CreatePendingCleanupLeaseInput extends StoreOwnerFields {
|
|
|
1948
2076
|
/** Scheduler-created launch demand after live sandbox placement has no match. */
|
|
1949
2077
|
export interface CreateLaunchLeaseFromQueuedDemandInput extends StoreOwnerFields {
|
|
1950
2078
|
taskId: string;
|
|
2079
|
+
projectId?: ProjectId | undefined;
|
|
2080
|
+
hostProjectBindingId?: string | undefined;
|
|
1951
2081
|
hostId: string;
|
|
1952
2082
|
hostPoolId: string;
|
|
1953
2083
|
maxAttempts: number;
|
|
@@ -2018,6 +2148,8 @@ export interface ClaimCleanupLeasesInput {
|
|
|
2018
2148
|
export interface ClaimedLaunchLease {
|
|
2019
2149
|
lease: StoreProvisioningLease;
|
|
2020
2150
|
credential: StoreSandboxCredential;
|
|
2151
|
+
hostProjectBindingId: string;
|
|
2152
|
+
projectKey: ProjectKey;
|
|
2021
2153
|
}
|
|
2022
2154
|
/** One claimed provider stop lease ready for host-local execution. */
|
|
2023
2155
|
export interface ClaimedStopLease {
|
|
@@ -2144,6 +2276,7 @@ export interface StoreHost extends StoreOwnerFields {
|
|
|
2144
2276
|
hostId: string;
|
|
2145
2277
|
name: string;
|
|
2146
2278
|
status: HostStatus;
|
|
2279
|
+
projectWorkspaceRoot?: string | undefined;
|
|
2147
2280
|
lastSeenAt?: string | undefined;
|
|
2148
2281
|
connectionId?: string | undefined;
|
|
2149
2282
|
streamGeneration: number;
|
|
@@ -2397,6 +2530,7 @@ export interface MarkHostStreamOfflineResult {
|
|
|
2397
2530
|
/** Creates durable pending state before invoking host-agent provisioning. */
|
|
2398
2531
|
export interface CreateManagedSandboxInstanceInput extends StoreOwnerFields {
|
|
2399
2532
|
instanceId?: string | undefined;
|
|
2533
|
+
projectId?: ProjectId | undefined;
|
|
2400
2534
|
hostId: string;
|
|
2401
2535
|
hostPoolId: string;
|
|
2402
2536
|
sandboxId: string;
|
|
@@ -2828,6 +2962,18 @@ export interface ExtractEvaluationMetricsInput {
|
|
|
2828
2962
|
export interface DurableStore {
|
|
2829
2963
|
/** Releases database resources held by this store instance. */
|
|
2830
2964
|
close(): Promise<void>;
|
|
2965
|
+
/** Creates an owner-scoped project with an immutable key. */
|
|
2966
|
+
createProject(input: CreateProjectInput): Promise<StoreProject>;
|
|
2967
|
+
/** Returns one owner-scoped project by immutable key. */
|
|
2968
|
+
getProject(input: GetProjectInput): Promise<StoreProject | undefined>;
|
|
2969
|
+
/** Returns one owner-scoped project by durable ID. */
|
|
2970
|
+
getProjectById(input: GetProjectByIdInput): Promise<StoreProject | undefined>;
|
|
2971
|
+
/** Lists projects for one owner. */
|
|
2972
|
+
listProjects(input: ListProjectsInput): Promise<StoreProject[]>;
|
|
2973
|
+
/** Updates mutable project display fields. */
|
|
2974
|
+
updateProject(input: UpdateProjectInput): Promise<StoreProject | undefined>;
|
|
2975
|
+
/** Archives one project without deleting it. */
|
|
2976
|
+
archiveProject(input: ArchiveProjectInput): Promise<StoreProject | undefined>;
|
|
2831
2977
|
/** Creates a run or replays the same idempotent creation request. */
|
|
2832
2978
|
createRun(input: CreateRunInput): Promise<StoreRun>;
|
|
2833
2979
|
/** Attempts to insert a run and reports whether this call created it. */
|
|
@@ -2943,6 +3089,18 @@ export interface DurableStore {
|
|
|
2943
3089
|
disableHost(input: DisableHostInput): Promise<StoreHost | undefined>;
|
|
2944
3090
|
/** Deletes one owned host only when active lifecycle state has drained. */
|
|
2945
3091
|
deleteHost(input: DeleteHostInput): Promise<DeleteHostResult>;
|
|
3092
|
+
/** Stores a console-managed host-local project workspace root. */
|
|
3093
|
+
setHostProjectWorkspaceRoot(input: SetHostProjectWorkspaceRootInput): Promise<StoreHost | undefined>;
|
|
3094
|
+
/** Upserts one project binding for an owned host. */
|
|
3095
|
+
upsertHostProjectBinding(input: UpsertHostProjectBindingInput): Promise<StoreHostProjectBinding>;
|
|
3096
|
+
/** Lists project bindings for an owned host. */
|
|
3097
|
+
listHostProjectBindings(input: ListHostProjectBindingsInput): Promise<StoreHostProjectBinding[]>;
|
|
3098
|
+
/** Updates host-reported availability for one project binding. */
|
|
3099
|
+
updateHostProjectBindingAvailability(input: UpdateHostProjectBindingAvailabilityInput): Promise<StoreHostProjectBinding | undefined>;
|
|
3100
|
+
/** Marks host project bindings omitted from the current fenced host snapshot unavailable. */
|
|
3101
|
+
markHostProjectBindingSnapshotOmissions(input: MarkHostProjectBindingSnapshotOmissionsInput): Promise<MarkHostProjectBindingSnapshotOmissionsResult>;
|
|
3102
|
+
/** Records one host validation report for the bindings sent on a fenced stream. */
|
|
3103
|
+
recordHostProjectBindingValidationReport(input: RecordHostProjectBindingValidationReportInput): Promise<RecordHostProjectBindingValidationReportResult>;
|
|
2946
3104
|
/** Creates a hashed host credential for one owner-bound host. */
|
|
2947
3105
|
createHostCredential(input: CreateHostCredentialInput): Promise<StoreHostCredential>;
|
|
2948
3106
|
/** Lists redacted host credentials scoped to one owner and host. */
|