@orgsdk/cli 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -7
- package/bin/orgsdk.mjs +1 -1
- package/dist/THIRD_PARTY_NOTICES.txt +278 -0
- package/dist/runtime/README.md +9 -7
- package/dist/runtime/cli.js +12 -13
- package/dist/runtime/client.js +79 -17
- package/dist/runtime/contract.js +39 -6
- package/dist/runtime/executor-configuration.js +1 -1
- package/dist/runtime/isolated-actions.js +4 -5
- package/dist/runtime/isolated-worker.js +5 -0
- package/dist/runtime/mcp/aliases.js +29 -0
- package/dist/runtime/mcp/client.js +239 -0
- package/dist/runtime/mcp/contract.js +57 -0
- package/dist/runtime/mcp/functions.js +40 -0
- package/dist/runtime/mcp/network.js +61 -0
- package/dist/runtime/mcp/schema-types.js +35 -0
- package/dist/runtime/mcp/transport.js +18 -0
- package/dist/runtime/project-data.js +1 -1
- package/dist/runtime/register-executor.js +23 -0
- package/dist/runtime/runner.js +30 -24
- package/dist/runtime/sdk-declarations.js +8 -1
- package/dist/runtime/session-job-contract.js +29 -0
- package/dist/runtime/session-job.js +256 -0
- package/dist/runtime/session-plugin-call.js +33 -0
- package/dist/runtime/sessions/manager.js +5 -3
- package/dist/runtime/sessions/process.js +3 -3
- package/dist/runtime/sessions/session-runtime.js +7 -3
- package/dist/runtime/sessions/worker-guard.js +20 -0
- package/dist/runtime/spawn-job.js +69 -0
- package/dist/runtime/supervisor.js +102 -146
- package/dist/runtime/worker.js +48 -45
- package/dist/server/{bun-driver-JKOGHIVX.js → bun-driver-DTZUUCI3.js} +1 -1
- package/dist/server/{chunk-WCVBLUNL.js → chunk-S5SFX3JM.js} +24 -0
- package/dist/server/index.js +2628 -1230
- package/dist/server/migrations/0003_remote-mcp.sql +17 -0
- package/dist/server/migrations/meta/0003_snapshot.json +3395 -0
- package/dist/server/migrations/meta/_journal.json +7 -0
- package/dist/server/{node-driver-FRDSYDBU.js → node-driver-HDJKKWXQ.js} +1 -1
- package/dist/server/out/404/index.html +1 -1
- package/dist/server/out/404.html +1 -1
- package/dist/server/out/__next.!KHdvcmtzcGFjZSk.__PAGE__.txt +10 -10
- package/dist/server/out/__next._full.txt +10 -10
- package/dist/server/out/__next._tree.txt +2 -2
- package/dist/server/out/_next/static/chunks/0ay0b1lpy734z.js +1 -0
- package/dist/server/out/_next/static/chunks/0c-3k17txbh0-.js +1 -0
- package/dist/server/out/_next/static/chunks/0cwfl2xanfapu.js +1 -0
- package/dist/server/out/_next/static/chunks/0e7s8ie0wlk66.js +1 -0
- package/dist/server/out/_next/static/chunks/0ey-6hb0za4r_.js +1 -0
- package/dist/server/out/_next/static/chunks/0huhp5j8dlai8.js +1 -0
- package/dist/server/out/_next/static/chunks/0khjy8qh1ll42.js +1 -0
- package/dist/server/out/_next/static/chunks/0r0572w1rwpcv.js +1 -0
- package/dist/server/out/_next/static/chunks/0rlc9tihf4po6.css +1 -0
- package/dist/server/out/_next/static/chunks/0u_9k8f7709np.js +1 -0
- package/dist/server/out/_next/static/chunks/0w34iczo7r1v5.js +1 -0
- package/dist/server/out/_next/static/chunks/{280w168xxgtwt.js → 0y5lgqdwpeabb.js} +4 -4
- package/dist/server/out/_next/static/chunks/0zfiikazg0_ga.js +1 -0
- package/dist/server/out/_next/static/chunks/1-75euysc3lin.js +22 -0
- package/dist/server/out/_next/static/chunks/10aam78qxauw0.js +1 -0
- package/dist/server/out/_next/static/chunks/12ro_nqb83zku.js +1 -0
- package/dist/server/out/_next/static/chunks/19ue6x5c3f_38.js +3 -0
- package/dist/server/out/_next/static/chunks/1c1ayx3fqtub5.js +31 -0
- package/dist/server/out/_next/static/chunks/1c2xcwifk3vhh.js +1 -0
- package/dist/server/out/_next/static/chunks/1dwr62uuyceq-.js +1 -0
- package/dist/server/out/_next/static/chunks/1fweh1ttncdlv.js +1 -0
- package/dist/server/out/_next/static/chunks/1iklteprcoims.js +1 -0
- package/dist/server/out/_next/static/chunks/1qaow7bdy3oid.js +1 -0
- package/dist/server/out/_next/static/chunks/1tnzhqkfwk7l8.js +1 -0
- package/dist/server/out/_next/static/chunks/1wn9ohqcnx8y8.js +3 -0
- package/dist/server/out/_next/static/chunks/1zieh-zxgxmcp.js +1 -0
- package/dist/server/out/_next/static/chunks/25qsan0t-_of0.js +1 -0
- package/dist/server/out/_next/static/chunks/26yareaaj1kyr.js +1 -0
- package/dist/server/out/_next/static/chunks/2bkkmnhngpacd.js +1 -0
- package/dist/server/out/_next/static/chunks/2e39uy7huhczu.js +1 -0
- package/dist/server/out/_next/static/chunks/2lxgam-nk-e9a.js +3 -0
- package/dist/server/out/_next/static/chunks/{3dx108d0g6032.js → 2navy2mx7--vk.js} +1 -1
- package/dist/server/out/_next/static/chunks/2ngzwwqeitkk7.js +1 -0
- package/dist/server/out/_next/static/chunks/2rp65hq6bmpxv.js +1 -0
- package/dist/server/out/_next/static/chunks/2z60o39-yshg2.js +1 -0
- package/dist/server/out/_next/static/chunks/3_d6w25_b15kx.js +1 -0
- package/dist/server/out/_next/static/chunks/3d8gkwu9nszjk.js +1 -0
- package/dist/server/out/_next/static/chunks/3l-16g1y6k5rs.js +1 -0
- package/dist/server/out/_next/static/chunks/3obu_9-ka7u_h.js +1 -0
- package/dist/server/out/_next/static/chunks/3xs2ji0dgkbmc.js +1 -0
- package/dist/server/out/_next/static/chunks/{turbopack-3-ry682tkyiqk.js → turbopack-2u1d16houkiyo.js} +1 -1
- package/dist/server/out/_not-found/__next._full.txt +3 -3
- package/dist/server/out/_not-found/__next._not-found.__PAGE__.txt +3 -3
- package/dist/server/out/_not-found/__next._tree.txt +2 -2
- package/dist/server/out/_not-found/index.html +1 -1
- package/dist/server/out/_not-found/index.txt +3 -3
- package/dist/server/out/accounts/2fa/__next._full.txt +8 -8
- package/dist/server/out/accounts/2fa/__next._tree.txt +2 -2
- package/dist/server/out/accounts/2fa/__next.accounts.2fa.__PAGE__.txt +8 -8
- package/dist/server/out/accounts/2fa/index.html +1 -1
- package/dist/server/out/accounts/2fa/index.txt +8 -8
- package/dist/server/out/accounts/email/__next._full.txt +7 -7
- package/dist/server/out/accounts/email/__next._tree.txt +2 -2
- package/dist/server/out/accounts/email/__next.accounts.email.__PAGE__.txt +7 -7
- package/dist/server/out/accounts/email/index.html +1 -1
- package/dist/server/out/accounts/email/index.txt +7 -7
- package/dist/server/out/accounts/login/__next._full.txt +7 -7
- package/dist/server/out/accounts/login/__next._tree.txt +2 -2
- package/dist/server/out/accounts/login/__next.accounts.login.__PAGE__.txt +7 -7
- package/dist/server/out/accounts/login/index.html +1 -1
- package/dist/server/out/accounts/login/index.txt +7 -7
- package/dist/server/out/accounts/logout/__next._full.txt +7 -7
- package/dist/server/out/accounts/logout/__next._tree.txt +2 -2
- package/dist/server/out/accounts/logout/__next.accounts.logout.__PAGE__.txt +7 -7
- package/dist/server/out/accounts/logout/index.html +1 -1
- package/dist/server/out/accounts/logout/index.txt +7 -7
- package/dist/server/out/accounts/password/change/__next._full.txt +7 -7
- package/dist/server/out/accounts/password/change/__next._tree.txt +2 -2
- package/dist/server/out/accounts/password/change/__next.accounts.password.change.__PAGE__.txt +7 -7
- package/dist/server/out/accounts/password/change/index.html +1 -1
- package/dist/server/out/accounts/password/change/index.txt +7 -7
- package/dist/server/out/accounts/password/reset/__next._full.txt +5 -5
- package/dist/server/out/accounts/password/reset/__next._tree.txt +2 -2
- package/dist/server/out/accounts/password/reset/__next.accounts.password.reset.__PAGE__.txt +5 -5
- package/dist/server/out/accounts/password/reset/index.html +1 -1
- package/dist/server/out/accounts/password/reset/index.txt +5 -5
- package/dist/server/out/accounts/signup/__next._full.txt +7 -7
- package/dist/server/out/accounts/signup/__next._tree.txt +2 -2
- package/dist/server/out/accounts/signup/__next.accounts.signup.__PAGE__.txt +7 -7
- package/dist/server/out/accounts/signup/index.html +1 -1
- package/dist/server/out/accounts/signup/index.txt +7 -7
- package/dist/server/out/actions/__next.!KHdvcmtzcGFjZSk.actions.__PAGE__.txt +15 -15
- package/dist/server/out/actions/__next._full.txt +15 -15
- package/dist/server/out/actions/__next._tree.txt +2 -2
- package/dist/server/out/actions/index.html +1 -1
- package/dist/server/out/actions/index.txt +15 -15
- package/dist/server/out/agents/__next.!KHdvcmtzcGFjZSk.agents.__PAGE__.txt +8 -8
- package/dist/server/out/agents/__next._full.txt +8 -8
- package/dist/server/out/agents/__next._tree.txt +2 -2
- package/dist/server/out/agents/index.html +1 -1
- package/dist/server/out/agents/index.txt +8 -8
- package/dist/server/out/approvals/__next.!KHdvcmtzcGFjZSk.approvals.__PAGE__.txt +10 -10
- package/dist/server/out/approvals/__next._full.txt +10 -10
- package/dist/server/out/approvals/__next._tree.txt +2 -2
- package/dist/server/out/approvals/index.html +1 -1
- package/dist/server/out/approvals/index.txt +10 -10
- package/dist/server/out/artifacts/__next.!KHdvcmtzcGFjZSk.artifacts.__PAGE__.txt +12 -12
- package/dist/server/out/artifacts/__next._full.txt +12 -12
- package/dist/server/out/artifacts/__next._tree.txt +2 -2
- package/dist/server/out/artifacts/index.html +1 -1
- package/dist/server/out/artifacts/index.txt +12 -12
- package/dist/server/out/audit/__next.!KHdvcmtzcGFjZSk.audit.__PAGE__.txt +10 -10
- package/dist/server/out/audit/__next._full.txt +10 -10
- package/dist/server/out/audit/__next._tree.txt +2 -2
- package/dist/server/out/audit/index.html +1 -1
- package/dist/server/out/audit/index.txt +10 -10
- package/dist/server/out/chat/__next.!KHdvcmtzcGFjZSk.chat.__PAGE__.txt +8 -8
- package/dist/server/out/chat/__next._full.txt +8 -8
- package/dist/server/out/chat/__next._tree.txt +2 -2
- package/dist/server/out/chat/index.html +1 -1
- package/dist/server/out/chat/index.txt +8 -8
- package/dist/server/out/connections/__next.!KHdvcmtzcGFjZSk.connections.__PAGE__.txt +10 -10
- package/dist/server/out/connections/__next._full.txt +10 -10
- package/dist/server/out/connections/__next._tree.txt +2 -2
- package/dist/server/out/connections/index.html +1 -1
- package/dist/server/out/connections/index.txt +10 -10
- package/dist/server/out/credentials/__next.!KHdvcmtzcGFjZSk.credentials.__PAGE__.txt +11 -11
- package/dist/server/out/credentials/__next._full.txt +11 -11
- package/dist/server/out/credentials/__next._tree.txt +2 -2
- package/dist/server/out/credentials/index.html +1 -1
- package/dist/server/out/credentials/index.txt +11 -11
- package/dist/server/out/documents/__next.!KHdvcmtzcGFjZSk.documents.__PAGE__.txt +10 -10
- package/dist/server/out/documents/__next._full.txt +10 -10
- package/dist/server/out/documents/__next._tree.txt +2 -2
- package/dist/server/out/documents/index.html +1 -1
- package/dist/server/out/documents/index.txt +10 -10
- package/dist/server/out/index.html +1 -1
- package/dist/server/out/index.txt +10 -10
- package/dist/server/out/people/__next.!KHdvcmtzcGFjZSk.people.__PAGE__.txt +10 -10
- package/dist/server/out/people/__next._full.txt +10 -10
- package/dist/server/out/people/__next._tree.txt +2 -2
- package/dist/server/out/people/index.html +1 -1
- package/dist/server/out/people/index.txt +10 -10
- package/dist/server/out/plugins/__next.!KHdvcmtzcGFjZSk.plugins.__PAGE__.txt +13 -13
- package/dist/server/out/plugins/__next._full.txt +13 -13
- package/dist/server/out/plugins/__next._tree.txt +2 -2
- package/dist/server/out/plugins/index.html +1 -1
- package/dist/server/out/plugins/index.txt +13 -13
- package/dist/server/out/projects/__next.!KHdvcmtzcGFjZSk.projects.__PAGE__.txt +10 -10
- package/dist/server/out/projects/__next._full.txt +10 -10
- package/dist/server/out/projects/__next._tree.txt +2 -2
- package/dist/server/out/projects/index.html +1 -1
- package/dist/server/out/projects/index.txt +10 -10
- package/dist/server/out/runs/__next.!KHdvcmtzcGFjZSk.runs.__PAGE__.txt +12 -12
- package/dist/server/out/runs/__next._full.txt +12 -12
- package/dist/server/out/runs/__next._tree.txt +2 -2
- package/dist/server/out/runs/index.html +1 -1
- package/dist/server/out/runs/index.txt +12 -12
- package/dist/server/out/schedules/__next.!KHdvcmtzcGFjZSk.schedules.__PAGE__.txt +12 -12
- package/dist/server/out/schedules/__next._full.txt +12 -12
- package/dist/server/out/schedules/__next._tree.txt +2 -2
- package/dist/server/out/schedules/index.html +1 -1
- package/dist/server/out/schedules/index.txt +12 -12
- package/dist/server/out/settings/__next.!KHdvcmtzcGFjZSk.settings.__PAGE__.txt +10 -10
- package/dist/server/out/settings/__next._full.txt +10 -10
- package/dist/server/out/settings/__next._tree.txt +2 -2
- package/dist/server/out/settings/index.html +1 -1
- package/dist/server/out/settings/index.txt +10 -10
- package/dist/server/out/setup/__next._full.txt +7 -7
- package/dist/server/out/setup/__next._tree.txt +2 -2
- package/dist/server/out/setup/__next.setup.__PAGE__.txt +7 -7
- package/dist/server/out/setup/index.html +1 -1
- package/dist/server/out/setup/index.txt +7 -7
- package/dist/server/out/tables/__next.!KHdvcmtzcGFjZSk.tables.__PAGE__.txt +10 -10
- package/dist/server/out/tables/__next._full.txt +10 -10
- package/dist/server/out/tables/__next._tree.txt +2 -2
- package/dist/server/out/tables/index.html +1 -1
- package/dist/server/out/tables/index.txt +10 -10
- package/dist/server/out/webhooks/__next.!KHdvcmtzcGFjZSk.webhooks.__PAGE__.txt +10 -10
- package/dist/server/out/webhooks/__next._full.txt +10 -10
- package/dist/server/out/webhooks/__next._tree.txt +2 -2
- package/dist/server/out/webhooks/index.html +1 -1
- package/dist/server/out/webhooks/index.txt +10 -10
- package/dist/server/out/workspaces/invite/__next._full.txt +6 -6
- package/dist/server/out/workspaces/invite/__next._tree.txt +2 -2
- package/dist/server/out/workspaces/invite/__next.workspaces.invite.__PAGE__.txt +6 -6
- package/dist/server/out/workspaces/invite/index.html +1 -1
- package/dist/server/out/workspaces/invite/index.txt +6 -6
- package/docs/browser-sessions.md +85 -0
- package/docs/npm-distribution.md +13 -11
- package/docs/remote-mcp.md +51 -0
- package/package.json +53 -20
- package/runtime/README.md +9 -7
- package/dist/runtime/generated/schema.d.ts +0 -6443
- package/dist/server/out/THIRD_PARTY_NOTICES.md +0 -13
- package/dist/server/out/_next/static/chunks/016glzdsa3q5_.js +0 -1
- package/dist/server/out/_next/static/chunks/05i1qq0mw887k.js +0 -1
- package/dist/server/out/_next/static/chunks/06tt8wiyre1ez.js +0 -1
- package/dist/server/out/_next/static/chunks/0cm9i2msjsy--.js +0 -1
- package/dist/server/out/_next/static/chunks/0hq5dvj7fy64b.js +0 -1
- package/dist/server/out/_next/static/chunks/0ma4vl-fj0tmu.js +0 -1
- package/dist/server/out/_next/static/chunks/0noal-jqjivtf.js +0 -1
- package/dist/server/out/_next/static/chunks/0spckmsiek0gd.js +0 -1
- package/dist/server/out/_next/static/chunks/103sekujf0rxr.js +0 -1
- package/dist/server/out/_next/static/chunks/10h8kpcnjfe_v.js +0 -1
- package/dist/server/out/_next/static/chunks/16_aurf9162_6.js +0 -1
- package/dist/server/out/_next/static/chunks/1c48yx15nlt6w.js +0 -1
- package/dist/server/out/_next/static/chunks/1jp827_2p_wkf.js +0 -1
- package/dist/server/out/_next/static/chunks/1kdk-viqnjs3j.js +0 -1
- package/dist/server/out/_next/static/chunks/1mlfee105fhl7.js +0 -1
- package/dist/server/out/_next/static/chunks/1q9jpzm9b6zy9.js +0 -1
- package/dist/server/out/_next/static/chunks/1v0-a7pehktp9.js +0 -22
- package/dist/server/out/_next/static/chunks/24qxhh2dqvhaa.js +0 -1
- package/dist/server/out/_next/static/chunks/253gnn8ai3i89.js +0 -1
- package/dist/server/out/_next/static/chunks/27umf0z4povug.js +0 -1
- package/dist/server/out/_next/static/chunks/2a_c2xcjy62fq.css +0 -1
- package/dist/server/out/_next/static/chunks/2mvlvogrl6o0u.js +0 -1
- package/dist/server/out/_next/static/chunks/2xzrcwr9q6195.js +0 -1
- package/dist/server/out/_next/static/chunks/2yi6lq56xoijl.js +0 -31
- package/dist/server/out/_next/static/chunks/30g0jo299pr8e.js +0 -1
- package/dist/server/out/_next/static/chunks/36tf56rgybjz0.js +0 -3
- package/dist/server/out/_next/static/chunks/39dofrhzg_uju.js +0 -1
- package/dist/server/out/_next/static/chunks/3a8aanmz3kfof.js +0 -1
- package/dist/server/out/_next/static/chunks/3bd3k15tx3lj1.js +0 -1
- package/dist/server/out/_next/static/chunks/3d34pxerfr389.js +0 -1
- package/dist/server/out/_next/static/chunks/3elab9vgx7_ok.js +0 -1
- package/dist/server/out/_next/static/chunks/3gvae9c-5pi5z.js +0 -1
- package/dist/server/out/_next/static/chunks/3hzia782sc9pf.js +0 -1
- package/dist/server/out/_next/static/chunks/3jl4k-15i8847.js +0 -1
- package/dist/server/out/_next/static/chunks/3lb23el6qno6s.js +0 -1
- package/dist/server/out/_next/static/chunks/3prum3lr5470i.js +0 -3
- package/dist/server/out/_next/static/chunks/3prwkrciuqwjg.js +0 -1
- package/dist/server/out/_next/static/chunks/3txmqtuo5xgfd.js +0 -3
- package/dist/server/out/third-party-licenses/monaco-editor.txt +0 -21
- package/dist/server/out/third-party-licenses/zod.txt +0 -21
- /package/dist/server/out/_next/static/{F49bfPs3jKhcIuc95hqZh → -qfuCDzkIvBZY_UFsMHnB}/_buildManifest.js +0 -0
- /package/dist/server/out/_next/static/{F49bfPs3jKhcIuc95hqZh → -qfuCDzkIvBZY_UFsMHnB}/_clientMiddlewareManifest.js +0 -0
- /package/dist/server/out/_next/static/{F49bfPs3jKhcIuc95hqZh → -qfuCDzkIvBZY_UFsMHnB}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en-AU"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/
|
|
1
|
+
<!DOCTYPE html><html lang="en-AU"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/0rlc9tihf4po6.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/1c1ayx3fqtub5.js"/><script src="/_next/static/chunks/12ro_nqb83zku.js" async=""></script><script src="/_next/static/chunks/1tnzhqkfwk7l8.js" async=""></script><script src="/_next/static/chunks/1-75euysc3lin.js" async=""></script><script src="/_next/static/chunks/turbopack-2u1d16houkiyo.js" async=""></script><script src="/_next/static/chunks/2ngzwwqeitkk7.js" async=""></script><meta name="robots" content="noindex"/><meta name="theme-color" content="#4f46e5"/><title>OrgSDK</title><meta name="description" content="Agents, repeatable actions and observable execution."/><meta name="application-name" content="OrgSDK"/><meta name="robots" content="noindex, nofollow"/><link rel="shortcut icon" href="/favicon.ico"/><link rel="icon" href="/favicon.svg?v=orbit-o" type="image/svg+xml"/><link rel="apple-touch-icon" href="/apple-touch-icon.png" sizes="180x180"/><title>404: This page could not be found.</title><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script id="_R_">(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push({"otherChunks":["static/chunks/1c1ayx3fqtub5.js","static/chunks/12ro_nqb83zku.js","static/chunks/1tnzhqkfwk7l8.js","static/chunks/1-75euysc3lin.js"],"runtimeModuleIds":[94553]});</script><script src="/_next/static/chunks/1c1ayx3fqtub5.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:\"/_next/static/chunks/2ngzwwqeitkk7.js\"\n3:I[39756,[\"$2\"],\"default\"]\n4:I[37457,[\"$2\"],\"default\"]\n8:I[97367,[\"$2\"],\"OutletBoundary\"]\n9:\"$Sreact.suspense\"\nb:\"ViewportBoundary\"\nc:I[97367,[\"$2\"],\"$b\"]\ne:\"MetadataBoundary\"\nf:I[97367,[\"$2\"],\"$e\"]\n11:I[68027,[\"$2\"],\"default\",1]\n:HL[\"/_next/static/chunks/0rlc9tihf4po6.css\",\"style\"]\n6:X\n7:[[\"children\",{\"s\":\"__PAGE__\",\"h\":512,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L8\",null,{\"children\":[\"$\",\"$9\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@a\"}]}]]}],\"p\":false,\"v\":null}}]]\n5:[[\"children\",{\"s\":\"/_not-found\",\"h\":512,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],\"p\":false,\"v\":\"$6\"},\"c\":\"$Q7\"}]]\n0:{\"P\":null,\"c\":[\"\",\"_not-found\",\"\"],\"q\":\"\",\"i\":false,\"t\":{\"t\":{\"s\":\"\",\"h\":528,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0rlc9tihf4po6.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/2ngzwwqeitkk7.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en-AU\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],\"p\":false,\"v\":null},\"c\":\"$Q5\"},\"h\":{\"r\":[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$Lc\",null,{\"children\":\"$Ld\"}],[\"$\",\"$Lf\",null,{\"children\":[[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$9\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L10\"}]}],null]}],null]}],\"p\":false,\"v\":null}},\"m\":\"$undefined\",\"G\":[\"$11\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0rlc9tihf4po6.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"-qfuCDzkIvBZY_UFsMHnB\"}\n6:C\nd:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"2\",{\"name\":\"theme-color\",\"content\":\"#4f46e5\"}]]\n12:I[27201,[\"$2\"],\"IconMark\"]\na:null\n10:[[\"$\",\"title\",\"0\",{\"children\":\"OrgSDK\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Agents, repeatable actions and observable execution.\"}],[\"$\",\"meta\",\"2\",{\"name\":\"application-name\",\"content\":\"OrgSDK\"}],[\"$\",\"meta\",\"3\",{\"name\":\"robots\",\"content\":\"noindex, nofollow\"}],[\"$\",\"link\",\"4\",{\"rel\":\"shortcut icon\",\"href\":\"/favicon.ico\"}],[\"$\",\"link\",\"5\",{\"rel\":\"icon\",\"href\":\"/favicon.svg?v=orbit-o\",\"type\":\"image/svg+xml\"}],[\"$\",\"link\",\"6\",{\"rel\":\"apple-touch-icon\",\"href\":\"/apple-touch-icon.png\",\"sizes\":\"180x180\"}],[\"$\",\"$L12\",\"7\",{}]]\n"])</script></body></html>
|
package/dist/server/out/404.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en-AU"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/
|
|
1
|
+
<!DOCTYPE html><html lang="en-AU"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/0rlc9tihf4po6.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/1c1ayx3fqtub5.js"/><script src="/_next/static/chunks/12ro_nqb83zku.js" async=""></script><script src="/_next/static/chunks/1tnzhqkfwk7l8.js" async=""></script><script src="/_next/static/chunks/1-75euysc3lin.js" async=""></script><script src="/_next/static/chunks/turbopack-2u1d16houkiyo.js" async=""></script><script src="/_next/static/chunks/2ngzwwqeitkk7.js" async=""></script><meta name="robots" content="noindex"/><meta name="theme-color" content="#4f46e5"/><title>OrgSDK</title><meta name="description" content="Agents, repeatable actions and observable execution."/><meta name="application-name" content="OrgSDK"/><meta name="robots" content="noindex, nofollow"/><link rel="shortcut icon" href="/favicon.ico"/><link rel="icon" href="/favicon.svg?v=orbit-o" type="image/svg+xml"/><link rel="apple-touch-icon" href="/apple-touch-icon.png" sizes="180x180"/><title>404: This page could not be found.</title><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script id="_R_">(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push({"otherChunks":["static/chunks/1c1ayx3fqtub5.js","static/chunks/12ro_nqb83zku.js","static/chunks/1tnzhqkfwk7l8.js","static/chunks/1-75euysc3lin.js"],"runtimeModuleIds":[94553]});</script><script src="/_next/static/chunks/1c1ayx3fqtub5.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:\"/_next/static/chunks/2ngzwwqeitkk7.js\"\n3:I[39756,[\"$2\"],\"default\"]\n4:I[37457,[\"$2\"],\"default\"]\n8:I[97367,[\"$2\"],\"OutletBoundary\"]\n9:\"$Sreact.suspense\"\nb:\"ViewportBoundary\"\nc:I[97367,[\"$2\"],\"$b\"]\ne:\"MetadataBoundary\"\nf:I[97367,[\"$2\"],\"$e\"]\n11:I[68027,[\"$2\"],\"default\",1]\n:HL[\"/_next/static/chunks/0rlc9tihf4po6.css\",\"style\"]\n6:X\n7:[[\"children\",{\"s\":\"__PAGE__\",\"h\":512,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L8\",null,{\"children\":[\"$\",\"$9\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@a\"}]}]]}],\"p\":false,\"v\":null}}]]\n5:[[\"children\",{\"s\":\"/_not-found\",\"h\":512,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],\"p\":false,\"v\":\"$6\"},\"c\":\"$Q7\"}]]\n0:{\"P\":null,\"c\":[\"\",\"_not-found\",\"\"],\"q\":\"\",\"i\":false,\"t\":{\"t\":{\"s\":\"\",\"h\":528,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0rlc9tihf4po6.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/2ngzwwqeitkk7.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en-AU\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],\"p\":false,\"v\":null},\"c\":\"$Q5\"},\"h\":{\"r\":[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$Lc\",null,{\"children\":\"$Ld\"}],[\"$\",\"$Lf\",null,{\"children\":[[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$9\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L10\"}]}],null]}],null]}],\"p\":false,\"v\":null}},\"m\":\"$undefined\",\"G\":[\"$11\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/0rlc9tihf4po6.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"-qfuCDzkIvBZY_UFsMHnB\"}\n6:C\nd:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"2\",{\"name\":\"theme-color\",\"content\":\"#4f46e5\"}]]\n12:I[27201,[\"$2\"],\"IconMark\"]\na:null\n10:[[\"$\",\"title\",\"0\",{\"children\":\"OrgSDK\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Agents, repeatable actions and observable execution.\"}],[\"$\",\"meta\",\"2\",{\"name\":\"application-name\",\"content\":\"OrgSDK\"}],[\"$\",\"meta\",\"3\",{\"name\":\"robots\",\"content\":\"noindex, nofollow\"}],[\"$\",\"link\",\"4\",{\"rel\":\"shortcut icon\",\"href\":\"/favicon.ico\"}],[\"$\",\"link\",\"5\",{\"rel\":\"icon\",\"href\":\"/favicon.svg?v=orbit-o\",\"type\":\"image/svg+xml\"}],[\"$\",\"link\",\"6\",{\"rel\":\"apple-touch-icon\",\"href\":\"/apple-touch-icon.png\",\"sizes\":\"180x180\"}],[\"$\",\"$L12\",\"7\",{}]]\n"])</script></body></html>
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
|
-
2:"/_next/static/chunks/
|
|
2
|
+
2:"/_next/static/chunks/2ngzwwqeitkk7.js"
|
|
3
3
|
3:I[39756,["$2"],"default"]
|
|
4
4
|
4:I[37457,["$2"],"default"]
|
|
5
|
-
8:"/_next/static/chunks/
|
|
6
|
-
9:"/_next/static/chunks/
|
|
7
|
-
a:"/_next/static/chunks/
|
|
8
|
-
b:"/_next/static/chunks/
|
|
5
|
+
8:"/_next/static/chunks/3d8gkwu9nszjk.js"
|
|
6
|
+
9:"/_next/static/chunks/0huhp5j8dlai8.js"
|
|
7
|
+
a:"/_next/static/chunks/3l-16g1y6k5rs.js"
|
|
8
|
+
b:"/_next/static/chunks/0cwfl2xanfapu.js"
|
|
9
9
|
c:I[94757,["$2","$8","$9","$a","$b"],"WorkspaceLayout"]
|
|
10
10
|
f:I[47257,["$2"],"ClientPageRoot"]
|
|
11
|
-
10:"/_next/static/chunks/
|
|
11
|
+
10:"/_next/static/chunks/0c-3k17txbh0-.js"
|
|
12
12
|
11:I[295,["$2","$8","$9","$a","$b","$10"],"default"]
|
|
13
13
|
14:I[97367,["$2"],"OutletBoundary"]
|
|
14
14
|
15:"$Sreact.suspense"
|
|
@@ -17,11 +17,11 @@ f:I[47257,["$2"],"ClientPageRoot"]
|
|
|
17
17
|
1a:"MetadataBoundary"
|
|
18
18
|
1b:I[97367,["$2"],"$1a"]
|
|
19
19
|
1c:I[27201,["$2"],"IconMark"]
|
|
20
|
-
:HL["/_next/static/chunks/
|
|
20
|
+
:HL["/_next/static/chunks/0rlc9tihf4po6.css","style"]
|
|
21
21
|
6:X
|
|
22
|
-
e:[["children",{"s":"__PAGE__","h":160,"d":{"r":["$","$1","c",{"children":[["$","$Lf",null,{"Component":"$11","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@12","$@13"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/
|
|
23
|
-
7:[["children",{"s":"(workspace)","h":96,"d":{"r":["$","$1","c",{"children":[[["$","script","script-0",{"src":"/_next/static/chunks/
|
|
24
|
-
0:{"t":{"t":{"s":"","h":80,"d":{"r":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/
|
|
22
|
+
e:[["children",{"s":"__PAGE__","h":160,"d":{"r":["$","$1","c",{"children":[["$","$Lf",null,{"Component":"$11","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@12","$@13"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/0c-3k17txbh0-.js","async":true}]],["$","$L14",null,{"children":["$","$15",null,{"name":"Next.MetadataOutlet","children":"$@16"}]}]]}],"p":"$@17","v":null,"s":"$6"}}]]
|
|
23
|
+
7:[["children",{"s":"(workspace)","h":96,"d":{"r":["$","$1","c",{"children":[[["$","script","script-0",{"src":"/_next/static/chunks/3d8gkwu9nszjk.js","async":true}],["$","script","script-1",{"src":"/_next/static/chunks/0huhp5j8dlai8.js","async":true}],["$","script","script-2",{"src":"/_next/static/chunks/3l-16g1y6k5rs.js","async":true}],["$","script","script-3",{"src":"/_next/static/chunks/0cwfl2xanfapu.js","async":true}]],["$","$Lc",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","template":["$","$L4",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:style","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],[]]}]}]]}],"p":"$@d","v":null,"s":"$6"},"c":"$Qe"}]]
|
|
24
|
+
0:{"t":{"t":{"s":"","h":80,"d":{"r":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0rlc9tihf4po6.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/2ngzwwqeitkk7.js","async":true}]],["$","html",null,{"lang":"en-AU","children":["$","body",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","template":["$","$L4",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}]}]]}],"p":"$@5","v":null,"s":"$6"},"c":"$Q7"},"h":{"r":["$","$1","h",{"children":[null,["$","$L19",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#4f46e5"}]]}],["$","$L1b",null,{"children":[["$","div",null,{"hidden":true,"children":["$","$15",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"OrgSDK"}],["$","meta","1",{"name":"description","content":"Agents, repeatable actions and observable execution."}],["$","meta","2",{"name":"application-name","content":"OrgSDK"}],["$","meta","3",{"name":"robots","content":"noindex, nofollow"}],["$","link","4",{"rel":"shortcut icon","href":"/favicon.ico"}],["$","link","5",{"rel":"icon","href":"/favicon.svg?v=orbit-o","type":"image/svg+xml"}],["$","link","6",{"rel":"apple-touch-icon","href":"/apple-touch-icon.png","sizes":"180x180"}],["$","$L1c","7",{}]]}]}],null]}],null]}],"p":"$@1d","v":null,"s":"$6"}},"a":"$@1e","u":"$@1f","b":"-qfuCDzkIvBZY_UFsMHnB"}
|
|
25
25
|
12:{}
|
|
26
26
|
13:"$e:0:1:d:r:props:children:0:props:serverProvidedParams:params"
|
|
27
27
|
16:null
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
|
-
2:"/_next/static/chunks/
|
|
2
|
+
2:"/_next/static/chunks/2ngzwwqeitkk7.js"
|
|
3
3
|
3:I[39756,["$2"],"default"]
|
|
4
4
|
4:I[37457,["$2"],"default"]
|
|
5
|
-
6:"/_next/static/chunks/
|
|
6
|
-
7:"/_next/static/chunks/
|
|
7
|
-
8:"/_next/static/chunks/
|
|
8
|
-
9:"/_next/static/chunks/
|
|
5
|
+
6:"/_next/static/chunks/3d8gkwu9nszjk.js"
|
|
6
|
+
7:"/_next/static/chunks/0huhp5j8dlai8.js"
|
|
7
|
+
8:"/_next/static/chunks/3l-16g1y6k5rs.js"
|
|
8
|
+
9:"/_next/static/chunks/0cwfl2xanfapu.js"
|
|
9
9
|
a:I[94757,["$2","$6","$7","$8","$9"],"WorkspaceLayout"]
|
|
10
10
|
c:I[47257,["$2"],"ClientPageRoot"]
|
|
11
|
-
d:"/_next/static/chunks/
|
|
11
|
+
d:"/_next/static/chunks/0c-3k17txbh0-.js"
|
|
12
12
|
e:I[295,["$2","$6","$7","$8","$9","$d"],"default"]
|
|
13
13
|
11:I[97367,["$2"],"OutletBoundary"]
|
|
14
14
|
12:"$Sreact.suspense"
|
|
@@ -17,10 +17,10 @@ e:I[295,["$2","$6","$7","$8","$9","$d"],"default"]
|
|
|
17
17
|
17:"MetadataBoundary"
|
|
18
18
|
18:I[97367,["$2"],"$17"]
|
|
19
19
|
1a:I[68027,["$2"],"default",1]
|
|
20
|
-
:HL["/_next/static/chunks/
|
|
21
|
-
b:[["children",{"s":"__PAGE__","h":512,"d":{"r":["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$e","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@f","$@10"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/
|
|
22
|
-
5:[["children",{"s":"(workspace)","h":512,"d":{"r":["$","$1","c",{"children":[[["$","script","script-0",{"src":"/_next/static/chunks/
|
|
23
|
-
0:{"P":null,"c":["",""],"q":"","i":false,"t":{"t":{"s":"","h":528,"d":{"r":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/
|
|
20
|
+
:HL["/_next/static/chunks/0rlc9tihf4po6.css","style"]
|
|
21
|
+
b:[["children",{"s":"__PAGE__","h":512,"d":{"r":["$","$1","c",{"children":[["$","$Lc",null,{"Component":"$e","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@f","$@10"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/0c-3k17txbh0-.js","async":true,"nonce":"$undefined"}]],["$","$L11",null,{"children":["$","$12",null,{"name":"Next.MetadataOutlet","children":"$@13"}]}]]}],"p":false,"v":null}}]]
|
|
22
|
+
5:[["children",{"s":"(workspace)","h":512,"d":{"r":["$","$1","c",{"children":[[["$","script","script-0",{"src":"/_next/static/chunks/3d8gkwu9nszjk.js","async":true,"nonce":"$undefined"}],["$","script","script-1",{"src":"/_next/static/chunks/0huhp5j8dlai8.js","async":true,"nonce":"$undefined"}],["$","script","script-2",{"src":"/_next/static/chunks/3l-16g1y6k5rs.js","async":true,"nonce":"$undefined"}],["$","script","script-3",{"src":"/_next/static/chunks/0cwfl2xanfapu.js","async":true,"nonce":"$undefined"}]],["$","$La",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:style","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}],"p":false,"v":null},"c":"$Qb"}]]
|
|
23
|
+
0:{"P":null,"c":["",""],"q":"","i":false,"t":{"t":{"s":"","h":528,"d":{"r":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0rlc9tihf4po6.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/2ngzwwqeitkk7.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en-AU","children":["$","body",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],"p":false,"v":null},"c":"$Q5"},"h":{"r":["$","$1","h",{"children":[null,["$","$L15",null,{"children":"$L16"}],["$","$L18",null,{"children":[["$","div",null,{"hidden":true,"children":["$","$12",null,{"name":"Next.Metadata","children":"$L19"}]}],null]}],null]}],"p":false,"v":null}},"m":"$undefined","G":["$1a",[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/0rlc9tihf4po6.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]]],"S":true,"r":"$undefined","s":"$undefined","a":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"-qfuCDzkIvBZY_UFsMHnB"}
|
|
24
24
|
f:{}
|
|
25
25
|
10:"$b:0:1:d:r:props:children:0:props:serverProvidedParams:params"
|
|
26
26
|
16:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#4f46e5"}]]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
:HL["/_next/static/chunks/
|
|
1
|
+
:HL["/_next/static/chunks/0rlc9tihf4po6.css","style"]
|
|
2
2
|
2:[["children",{"s":"__PAGE__","h":160}]]
|
|
3
3
|
1:[["children",{"s":"(workspace)","h":96,"c":"$Q2"}]]
|
|
4
|
-
0:{"b":"
|
|
4
|
+
0:{"b":"-qfuCDzkIvBZY_UFsMHnB","t":{"t":{"s":"","h":80,"c":"$Q1"}}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,13581,29487,e=>{"use strict";var s=e.i(71645),a=e.i(95813);e.s(["f",0,function(e,r=0){let[t,n]=(0,s.useState)(),[i,l]=(0,s.useState)(""),[c,d]=(0,s.useState)(!0),o=(0,s.useRef)(void 0),u=(0,s.useRef)(!1),h=(0,s.useCallback)(async()=>{o.current?.abort();let s=new AbortController;o.current=s;try{let a=await e(s.signal);if(s.signal.aborted||!u.current)return;n(a),l("")}catch(e){!s.signal.aborted&&u.current&&l((0,a.f)(e))}finally{!s.signal.aborted&&u.current&&d(!1)}},[e]);return(0,s.useEffect)(()=>{u.current=!0,queueMicrotask(()=>{u.current&&h()});let e=r>0?setInterval(()=>{h()},r):void 0;return()=>{u.current=!1,o.current?.abort(),clearInterval(e)}},[h,r]),{data:t,error:i,isLoading:c,refresh:h}}],13581);var r=e.i(18050),t=e.i(19455);e.s(["f",0,function({isLoading:e,error:s,refresh:a}){return(0,r.jsxs)(r.Fragment,{children:[e?(0,r.jsx)("p",{role:"status",children:"Loading workspace data…"}):void 0,s?(0,r.jsxs)("div",{className:"error",role:"alert",children:[(0,r.jsx)("p",{children:s}),(0,r.jsx)(t.f,{variant:"outline",onClick:()=>{a()},children:"Try again"})]}):void 0]})}],29487)},40067,e=>{"use strict";var s=e.i(18050),a=e.i(18566),r=e.i(26067),t=e.i(77071),n=e.i(71645),i=e.i(73656),l=e.i(95813),c=e.i(19455),d=e.i(93479),o=e.i(15080),u=e.i(13581),h=e.i(1101),m=e.i(87309);function p({project:e,refresh:a}){let[r,t]=(0,n.useState)("http://localhost"),[d,o]=(0,n.useState)(""),[u,h]=(0,n.useState)(!1),[j,x]=(0,n.useState)(""),[f,b]=(0,n.useState)(""),g=(0,m.h)(),v=async(s,r=!1)=>{if(await g({title:s?"Revoke this project’s runner?":"Register a replacement runner?",description:"The current runner will lose access. Running tasks may stop. This affects only this project.",actionLabel:s?"Revoke runner":"Generate token"})){h(!0),x(""),b(""),o("");try{if(s)await i.U.projects.disconnectExecutor.mutate({id:e.id}),b("Runner access revoked.");else{let s=await i.U.projects.connectExecutor.mutate({id:e.id,locally_managed:r});r?b("Local runner enabled. It will connect when the installation’s runner is running."):o(s.token)}await a()}catch(e){x((0,l.f)(e))}finally{h(!1)}}},w="orgsdk executor register --url "+r+"\norgsdk executor start --mode docker",[N,y]=(0,n.useState)(0);(0,n.useEffect)(()=>{let e=()=>{y(Date.now())};e();let s=setInterval(()=>{e(),a().catch(e=>{x((0,l.f)(e))})},1e4);return()=>{clearInterval(s)}},[a]);let k=e.runner.last_seen_at?new Date(e.runner.last_seen_at).getTime():void 0,C="Registered · waiting for connection";return void 0!==k&&(C=N-k>6e4?"Unavailable · no recent heartbeat":"Available"),e.runner.enabled||(C="Revoked"),(0,s.jsxs)("section",{className:"panel",children:[(0,s.jsx)("h2",{children:"Project runner"}),(0,s.jsxs)("p",{className:"mb-4",children:["This project uses its own runner to execute actions in its persistent working folder. Starting OrgSDK with ",(0,s.jsx)("code",{children:"orgsdk start"})," also starts the local runner."]}),(0,s.jsxs)("p",{children:[e.runner.registered?C:"Not registered"," ·"," ",e.runner.locally_managed?"Managed by this installation":"Linked runner"]}),e.runner.last_seen_at?(0,s.jsxs)("p",{className:"small",children:["Last connected:"," ",new Date(e.runner.last_seen_at).toLocaleString()]}):(0,s.jsx)("p",{className:"small",children:"Waiting for the runner to connect."}),(0,s.jsxs)("div",{className:"mt-5 flex flex-wrap gap-3",children:[(0,s.jsx)(c.f,{disabled:u,onClick:()=>{v(!1)},children:"Generate registration token"}),(0,s.jsx)(c.f,{variant:"outline",disabled:u,onClick:()=>{v(!1,!0)},children:"Use local runner"}),(0,s.jsx)(c.f,{variant:"outline",disabled:u||!e.runner.registered||!e.runner.enabled,onClick:()=>{v(!0)},children:"Revoke runner"})]}),d?(0,s.jsxs)("div",{className:"mt-5 grid gap-3",children:[(0,s.jsx)("p",{children:"Copy this token now. It is shown once. Paste it at the registration prompt."}),(0,s.jsx)("code",{className:"break-all",children:d}),(0,s.jsx)(c.f,{variant:"outline",onClick:()=>{navigator.clipboard.writeText(d).then(()=>{b("Token copied.")}).catch(()=>{x("Clipboard unavailable. Select and copy the token.")})},children:"Copy token"})]}):null,(0,s.jsxs)("details",{className:"mt-4",onToggle:()=>{t(location.origin)},children:[(0,s.jsx)("summary",{children:"Link a separate runner"}),(0,s.jsx)("p",{className:"mt-4",children:"The npm-installed OrgSDK command includes the runner. A separate runner machine needs Linux and Node.js 22.22 or newer. Docker mode also requires Docker and an executor image, network and storage configured by your administrator."}),(0,s.jsx)("pre",{className:"my-4 overflow-auto",children:w}),(0,s.jsx)(c.f,{variant:"outline",onClick:()=>{navigator.clipboard.writeText(w).then(()=>{b("Commands copied.")}).catch(()=>{x("Clipboard unavailable. Select and copy the commands.")})},children:"Copy commands"}),(0,s.jsxs)("p",{className:"small mt-3",children:["Use ",(0,s.jsx)("code",{children:"--mode host"})," only when you intend to let tools run directly under your operating system account."]})]}),j?(0,s.jsx)("p",{role:"alert",className:"error",children:j}):null,f?(0,s.jsx)("p",{role:"status",className:"notice",children:f}):null]})}var j=e.i(59037),x=e.i(94757),f=e.i(75016),b=e.i(29487);let g=[{id:"overview",label:"Overview"},{id:"access",label:"Data access"},{id:"runner",label:"Runner"},{id:"settings",label:"Settings"}],v=[{field:"readable_tables",label:"Read tables",resource:"tables"},{field:"writable_tables",label:"Write tables",resource:"tables"},{field:"readable_documents",label:"Read documents",resource:"documents"},{field:"writable_documents",label:"Write documents",resource:"documents"}];async function w(e){let[s,a]=await Promise.all([(0,o.f)(e),(0,o.t)(e)]);return{runs:s,actions:a}}async function N(e){let[s,a,r]=await Promise.all([(0,o.p)(e),(0,o.l)(e),i.U.tables.list.query(void 0,{signal:e})]);return{plugins:s,documents:a,tables:r.results}}function y({project:e,tab:a,refresh:r,onDirtyChange:t}){let{canManage:n}=(0,x.useWorkspace)(),i=`project=${encodeURIComponent(e.id)}`;return(0,s.jsxs)("div",{className:"min-w-0",children:[(0,s.jsxs)("div",{className:"mb-5 flex flex-wrap items-center justify-between gap-3",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h2",{className:"!mb-1 !text-xl",children:e.name}),(0,s.jsx)("p",{className:"small",children:"Configure the tools and data your MCP agent can use."})]}),(0,s.jsx)("span",{className:"badge",children:e.enabled?"Enabled":"Disabled"})]}),(0,s.jsx)("nav",{className:"mb-6 flex flex-wrap gap-2 border-b border-slate-200 pb-4","aria-label":"Project configuration",children:g.map(e=>(0,s.jsx)(c.f,{asChild:!0,variant:a===e.id?"secondary":"ghost",children:(0,s.jsx)(f.f,{href:`/projects/?${i}${"overview"===e.id?"":`&tab=${e.id}`}`,"aria-current":a===e.id?"page":void 0,children:e.label})},e.id))}),"overview"===a?(0,s.jsx)(k,{project:e}):void 0,"access"===a?(0,s.jsx)(S,{project:e,refresh:r,onDirtyChange:t}):void 0,"runner"===a?n?(0,s.jsx)(p,{project:e,refresh:r}):(0,s.jsxs)("section",{className:"panel",children:[(0,s.jsx)("h2",{children:"Project runner"}),(0,s.jsxs)("p",{children:[e.runner.registered?"Registered":"Not registered"," ·"," ",e.runner.enabled?"Enabled":"Revoked"]}),(0,s.jsx)("p",{className:"small mt-3",children:"An owner or admin can configure this project’s runner."})]}):void 0,"settings"===a?(0,s.jsx)(_,{project:e,refresh:r,onDirtyChange:t}):void 0]})}function k({project:e}){let a=(0,u.f)(w),r=`project=${encodeURIComponent(e.id)}`,t=a.data?.actions.filter(s=>s.project===e.id),n=a.data?.runs.filter(s=>s.project===e.id).slice(0,5);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("section",{className:"panel",children:[(0,s.jsxs)("div",{className:"grid gap-5 lg:grid-cols-[minmax(0,1fr)_auto] lg:items-center",children:[(0,s.jsxs)("div",{className:"space-y-3",children:[(0,s.jsx)("h2",{className:"!mb-0",children:"Connect your agent over MCP"}),(0,s.jsx)("p",{className:"max-w-2xl",children:"Connect an external agent to this project to build and run actions. Choose the plugins and workspace data it can access, then use saved actions to review runs, add schedules and receive webhooks."})]}),(0,s.jsx)(c.f,{asChild:!0,children:(0,s.jsx)(f.f,{href:`/connections/?${r}`,children:"Connect agent"})})]}),(0,s.jsxs)("div",{className:"mt-5 flex flex-wrap gap-3 border-t border-slate-200 pt-4",children:[(0,s.jsx)(c.f,{asChild:!0,variant:"outline",children:(0,s.jsx)(f.f,{href:`/projects/?${r}&tab=access`,children:"Configure data access"})}),(0,s.jsx)(c.f,{asChild:!0,variant:"outline",children:(0,s.jsx)(f.f,{href:`/plugins/?${r}`,children:"Manage plugins"})}),(0,s.jsx)(c.f,{asChild:!0,variant:"outline",children:(0,s.jsx)(f.f,{href:`/projects/?${r}&tab=runner`,children:e.runner.registered?"Manage runner":"Set up runner"})})]})]}),(0,s.jsx)(b.f,{...a}),(0,s.jsxs)("section",{className:"panel","aria-labelledby":"project-actions-heading",children:[(0,s.jsxs)("div",{className:"mb-4 flex flex-wrap items-center justify-between gap-3",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h2",{id:"project-actions-heading",className:"!mb-1",children:"Saved actions"}),(0,s.jsx)("p",{className:"small",children:"Open an action to manage its code, runs, schedule and webhook."})]}),(0,s.jsx)(c.f,{asChild:!0,variant:"outline",children:(0,s.jsx)(f.f,{href:`/actions/?${r}`,children:"View all actions"})})]}),(0,s.jsx)("div",{className:"grid gap-3 xl:grid-cols-2",children:t?.slice(0,4).map(e=>(0,s.jsx)(h.f,{action:e},e.id))}),t?.length===0?(0,s.jsxs)("div",{className:"rounded-lg border border-dashed border-slate-200 p-5",children:[(0,s.jsx)("h3",{children:"No saved actions yet"}),(0,s.jsx)("p",{className:"small mt-2",children:"Create an action or ask your connected agent to build one."}),(0,s.jsx)(c.f,{asChild:!0,variant:"outline",className:"mt-4",children:(0,s.jsx)(f.f,{href:`/actions/?${r}&new=1`,children:"Create action"})})]}):void 0]}),(0,s.jsxs)("section",{className:"panel","aria-labelledby":"project-runs-heading",children:[(0,s.jsxs)("div",{className:"mb-4 flex flex-wrap items-center justify-between gap-3",children:[(0,s.jsx)("h2",{id:"project-runs-heading",className:"!mb-0",children:"Recent runs"}),(0,s.jsx)(c.f,{asChild:!0,variant:"outline",children:(0,s.jsx)(f.f,{href:`/runs/?${r}`,children:"View all runs"})})]}),(0,s.jsx)("div",{className:"grid gap-3",children:n?.map(e=>(0,s.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-3 rounded-lg border border-slate-200 p-4",children:[(0,s.jsxs)("div",{className:"min-w-0",children:[(0,s.jsxs)("span",{className:"text-sm font-medium",children:[e.operation," · ",e.status]}),(0,s.jsx)("p",{className:"small mt-1",children:new Date(e.created_at).toLocaleString()})]}),(0,s.jsx)(c.f,{asChild:!0,variant:"outline",children:(0,s.jsx)(f.f,{href:`/runs/?${r}&run=${encodeURIComponent(e.id)}`,children:"Inspect run"})})]},e.id))}),n?.length===0?(0,s.jsx)("p",{children:"No runs yet. Run an action to see its results here."}):void 0]})]})}function C(e){return{readable_tables:"readable_tables"in e?e.readable_tables:[],writable_tables:"writable_tables"in e?e.writable_tables:[],readable_documents:"readable_documents"in e?e.readable_documents:[],writable_documents:"writable_documents"in e?e.writable_documents:[]}}function S({project:e,refresh:a,onDirtyChange:r}){let{canManage:t}=(0,x.useWorkspace)(),d=(0,u.f)(N),o=C(e),[h,m]=(0,n.useState)(()=>C(e)),[p,g]=(0,n.useState)(!1),[w,y]=(0,n.useState)(""),[k,_]=(0,n.useState)("");(0,j.f)(v.some(({field:e})=>JSON.stringify(h[e])!==JSON.stringify(o[e])),r);let R=async()=>{g(!0),y(""),_("");try{let s=await i.U.projects.update.mutate({id:e.id,...h});await a(),m(C(s)),_("Project data access saved.")}catch(e){y((0,l.f)(e))}finally{g(!1)}},D=d.data?.plugins.filter(s=>s.project===e.id);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("section",{className:"panel",children:[(0,s.jsx)("h2",{children:"Workspace data access"}),(0,s.jsx)("p",{className:"mb-5 max-w-3xl",children:"Choose the shared tables and documents available to this project’s actions. Changes apply to new runs; adding access cannot widen a run that has already been submitted."}),t?void 0:(0,s.jsx)("p",{className:"small mb-5",children:"Only owners and admins can change project data access."}),(0,s.jsx)(b.f,{...d}),(0,s.jsxs)("form",{onSubmit:e=>{e.preventDefault(),R()},children:[(0,s.jsx)("div",{className:"grid gap-4 md:grid-cols-2",children:v.map(({field:e,label:a,resource:r})=>{let n=d.data?.[r];return(0,s.jsx)("div",{className:"min-w-0 rounded-lg border border-slate-200 p-4",children:(0,s.jsxs)("fieldset",{className:"!m-0 min-w-0 !border-0 !p-0",disabled:!t||p,children:[(0,s.jsx)("legend",{className:"!mb-3 !text-sm font-semibold",children:a}),(0,s.jsx)("div",{className:"grid gap-3",children:n?.map(a=>(0,s.jsxs)("label",{className:"check !m-0 !items-start gap-2",children:[(0,s.jsx)("input",{type:"checkbox",className:"mt-1 shrink-0",checked:h[e].includes(a.id),onChange:s=>{m(r=>({...r,[e]:s.target.checked?[...r[e],a.id]:r[e].filter(e=>e!==a.id)}))}}),(0,s.jsx)("span",{className:"min-w-0 break-words",children:"name"in a?a.name:a.title})]},a.id))}),n?.length===0?(0,s.jsxs)("p",{className:"small",children:["No workspace ",r," yet."]}):void 0]})},e)})}),(0,s.jsxs)("div",{className:"mt-5 flex flex-wrap items-center gap-3",children:[t?(0,s.jsx)(c.f,{type:"submit",disabled:p||d.isLoading||!d.data,children:p?"Saving…":"Save data access"}):void 0,(0,s.jsx)(f.f,{href:"/tables/",children:"Manage workspace tables"}),(0,s.jsx)(f.f,{href:"/documents/",children:"Manage workspace documents"})]})]}),w?(0,s.jsx)("p",{className:"error mt-4",role:"alert",children:w}):void 0,k?(0,s.jsx)("p",{className:"notice mt-4",role:"status",children:k}):void 0]}),(0,s.jsxs)("section",{className:"panel",children:[(0,s.jsx)("h2",{children:"Project plugins"}),(0,s.jsx)("p",{children:"Plugins add tools your agent can use in this project. Configure each plugin’s credentials separately."}),(0,s.jsxs)("div",{className:"my-4 grid gap-2",children:[D?.map(e=>(0,s.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2 rounded-md border border-slate-200 p-3",children:[(0,s.jsxs)("span",{className:"text-sm",children:[e.slug," · ",e.version]}),(0,s.jsx)("span",{className:"badge",children:e.enabled?"Enabled":"Disabled"})]},e.id)),D?.length===0?(0,s.jsx)("p",{className:"small",children:"No plugins installed in this project."}):void 0]}),(0,s.jsx)(c.f,{asChild:!0,variant:"outline",children:(0,s.jsx)(f.f,{href:`/plugins/?project=${encodeURIComponent(e.id)}`,children:"Manage project plugins"})})]})]})}function _({project:e,refresh:a,onDirtyChange:r}){let{canManage:t,navigateTo:o}=(0,x.useWorkspace)(),[u,h]=(0,n.useState)(e.name),[p,f]=(0,n.useState)(e.enabled),[b,g]=(0,n.useState)(!1),[v,w]=(0,n.useState)(""),[N,y]=(0,n.useState)(""),k=(0,m.h)();(0,j.f)(u!==e.name||p!==e.enabled,r);let C=async()=>{g(!0),w(""),y("");try{let s=await i.U.projects.update.mutate({id:e.id,name:u.trim(),enabled:p});await a(),h(s.name),y("Project settings saved.")}catch(e){w((0,l.f)(e))}finally{g(!1)}},S=async()=>{if(await k({title:"Delete this project?",description:"Its actions and versions will be removed. Projects referenced by retained run history cannot be deleted.",actionLabel:"Delete project"})){g(!0),w(""),y("");try{await i.U.projects.delete.mutate({id:e.id}),r(!1),await a(),await o("/projects/")}catch(e){w((0,l.f)(e))}finally{g(!1)}}};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("section",{className:"panel",children:[(0,s.jsx)("h2",{children:"Project settings"}),(0,s.jsxs)("form",{className:"max-w-2xl",onSubmit:e=>{e.preventDefault(),C()},children:[(0,s.jsxs)("label",{children:["Project name",(0,s.jsx)(d.f,{value:u,disabled:b,onChange:e=>{h(e.target.value)},required:!0})]}),(0,s.jsxs)("label",{className:"check",children:[(0,s.jsx)("input",{type:"checkbox",disabled:b,checked:p,onChange:e=>{f(e.target.checked)}}),"Enabled for new work"]}),(0,s.jsx)("p",{className:"small mt-2",children:"Actions execute serially in this project’s persistent working folder."}),(0,s.jsx)(c.f,{className:"mt-5",type:"submit",disabled:b||!u.trim(),children:b?"Saving…":"Save project"})]}),v?(0,s.jsx)("p",{className:"error mt-4",role:"alert",children:v}):void 0,N?(0,s.jsx)("p",{className:"notice mt-4",role:"status",children:N}):void 0]}),t?(0,s.jsxs)("section",{className:"panel",children:[(0,s.jsx)("h2",{children:"Delete project"}),(0,s.jsx)("p",{children:"Delete this project and its saved actions. Projects with retained run history cannot be deleted."}),(0,s.jsx)(c.f,{className:"mt-4",variant:"outline",disabled:b,onClick:()=>{S()},children:"Delete project"})]}):void 0]})}function R({onCancel:e}){let{setSelected:r,setDirty:t,refresh:o}=(0,x.useWorkspace)(),u=(0,a.useRouter)(),[h,m]=(0,n.useState)(""),[p,f]=(0,n.useState)(!1),[b,g]=(0,n.useState)("");(0,j.f)(""!==h.trim(),t);let v=async()=>{f(!0),g("");try{let e=await i.U.projects.create.mutate({name:h.trim()});r(e.id),await o(),t(!1),u.push(`/projects/?project=${encodeURIComponent(e.id)}`)}catch(e){g((0,l.f)(e))}finally{f(!1)}};return(0,s.jsxs)("section",{className:"panel",children:[(0,s.jsx)("h2",{children:"Create a project"}),(0,s.jsx)("p",{className:"small mb-5",children:"Give your project a name, configure its runner and data access, then connect your agent over MCP."}),(0,s.jsxs)("form",{className:"max-w-2xl",onSubmit:e=>{e.preventDefault(),v()},children:[(0,s.jsxs)("label",{children:["Project name",(0,s.jsx)(d.f,{autoFocus:!0,required:!0,value:h,disabled:p,placeholder:"e.g. Operations",onChange:e=>{m(e.target.value)}})]}),(0,s.jsxs)("div",{className:"row",children:[(0,s.jsx)(c.f,{type:"submit",disabled:p||!h.trim(),children:p?"Creating…":"Create project"}),(0,s.jsx)(c.f,{type:"button",variant:"outline",disabled:p,onClick:e,children:"Cancel"})]})]}),b?(0,s.jsx)("p",{role:"alert",className:"error mt-4",children:b}):void 0]})}e.s(["default",0,function(){let{projects:e,selected:n,setDirty:i,refresh:l,navigateTo:d}=(0,x.useWorkspace)(),o=(0,a.useSearchParams)(),u=e.find(e=>e.id===n);if("1"===o.get("new"))return(0,s.jsx)(R,{onCancel:()=>{d(u?`/projects/?project=${encodeURIComponent(u.id)}`:"/projects/")}});if(u){let e=["access","runner","settings"].find(e=>e===o.get("tab"))??"overview";return(0,s.jsx)(y,{project:u,tab:e,refresh:l,onDirtyChange:i},u.id)}return(0,s.jsxs)("section",{className:"empty",children:[(0,s.jsx)(r.f,{className:"mx-auto",size:32}),(0,s.jsx)("h2",{className:"!mt-4",children:"Create your first project"}),(0,s.jsx)("p",{children:"A project gives your MCP agent a place to build actions, run work and access the data you choose."}),(0,s.jsx)(c.f,{asChild:!0,className:"mt-5",children:(0,s.jsxs)(f.f,{href:"/projects/?new=1",children:[(0,s.jsx)(t.f,{size:16}),"Create project"]})})]})}],40067)},93479,e=>{"use strict";var s=e.i(18050),a=e.i(71645),r=e.i(39689);let t=a.forwardRef(({className:e,type:a,...t},n)=>(0,s.jsx)("input",{type:a,className:(0,r.f)("flex h-9 w-full rounded-md border border-input bg-background px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:n,...t}));t.displayName="Input",e.s(["f",0,t])},1101,75775,e=>{"use strict";var s=e.i(18050),a=e.i(56420);let r={name:"arrow-up-right",size:24,node:[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]};r.node;let t=(0,a.f)(r);e.s(["f",0,t],75775);var n=e.i(52330),i=e.i(75016);e.s(["f",0,function({action:e}){let a=e.description.trim(),r=new URLSearchParams({project:e.project,action:e.id}).toString();return(0,s.jsxs)("article",{className:"flex min-w-0 flex-col gap-4 rounded-xl border border-slate-200 bg-white p-5",children:[(0,s.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,s.jsx)(n.f,{size:20,className:"shrink-0 text-indigo-600","aria-hidden":"true"}),(0,s.jsx)("span",{className:e.enabled?"rounded-full bg-emerald-50 px-2.5 py-1 text-xs font-medium text-emerald-700":"rounded-full bg-slate-100 px-2.5 py-1 text-xs font-medium text-slate-600",children:e.enabled?"Enabled":"Disabled"})]}),(0,s.jsxs)("div",{className:"min-w-0 flex-1 space-y-2",children:[(0,s.jsx)("h3",{className:"text-base font-semibold",children:(0,s.jsxs)(i.f,{href:`/actions/?${r}`,className:"flex items-start justify-between gap-3 hover:underline",children:[(0,s.jsx)("span",{className:"break-words",children:e.name}),(0,s.jsx)(t,{size:17,className:"mt-0.5 shrink-0","aria-hidden":"true"})]})}),(0,s.jsx)("p",{className:"text-sm leading-relaxed",children:a.length>0?a:"Open this action to review its code, inputs and saved versions."})]}),(0,s.jsxs)("nav",{className:"flex flex-wrap gap-x-4 gap-y-2 border-t border-slate-100 pt-3 text-sm","aria-label":`${e.name} related records`,children:[(0,s.jsx)(i.f,{href:`/runs/?${r}`,className:"hover:underline",children:"Runs"}),(0,s.jsx)(i.f,{href:`/schedules/?${r}`,className:"hover:underline",children:"Schedules"}),(0,s.jsx)(i.f,{href:`/webhooks/?${r}`,className:"hover:underline",children:"Webhooks"})]})]})}],1101)},59037,e=>{"use strict";var s=e.i(71645);e.s(["f",0,function(e,a){(0,s.useEffect)(()=>{a(e);let s=e=>{e.preventDefault()};return e&&addEventListener("beforeunload",s),()=>{removeEventListener("beforeunload",s),a(!1)}},[e,a])}])}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,68877,e=>{"use strict";var n=e.i(56420);let s={name:"arrow-right",size:24,node:[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]};s.node;let i=(0,n.f)(s);e.s(["f",0,i],68877)},51757,e=>{"use strict";var n=e.i(56420);let s={name:"circle-check",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 9-5.5 5.5L8 12",key:"xofnsj"}]],aliases:["check-circle-2"]};s.node;let i=(0,n.f)(s);e.s(["f",0,i],51757)},13581,29487,e=>{"use strict";var n=e.i(71645),s=e.i(95813);e.s(["f",0,function(e,i=0){let[t,r]=(0,n.useState)(),[a,l]=(0,n.useState)(""),[c,o]=(0,n.useState)(!0),d=(0,n.useRef)(void 0),u=(0,n.useRef)(!1),h=(0,n.useCallback)(async()=>{d.current?.abort();let n=new AbortController;d.current=n;try{let s=await e(n.signal);if(n.signal.aborted||!u.current)return;r(s),l("")}catch(e){!n.signal.aborted&&u.current&&l((0,s.f)(e))}finally{!n.signal.aborted&&u.current&&o(!1)}},[e]);return(0,n.useEffect)(()=>{u.current=!0,queueMicrotask(()=>{u.current&&h()});let e=i>0?setInterval(()=>{h()},i):void 0;return()=>{u.current=!1,d.current?.abort(),clearInterval(e)}},[h,i]),{data:t,error:a,isLoading:c,refresh:h}}],13581);var i=e.i(18050),t=e.i(19455);e.s(["f",0,function({isLoading:e,error:n,refresh:s}){return(0,i.jsxs)(i.Fragment,{children:[e?(0,i.jsx)("p",{role:"status",children:"Loading workspace data…"}):void 0,n?(0,i.jsxs)("div",{className:"error",role:"alert",children:[(0,i.jsx)("p",{children:n}),(0,i.jsx)(t.f,{variant:"outline",onClick:()=>{s()},children:"Try again"})]}):void 0]})}],29487)},295,e=>{"use strict";var n=e.i(18050),s=e.i(79432),i=e.i(70812),t=e.i(26067),r=e.i(67965),a=e.i(52330),l=e.i(68877),c=e.i(51757),o=e.i(71645),d=e.i(13581),u=e.i(15080),h=e.i(94757),p=e.i(19455),x=e.i(29487),j=e.i(10505);function f({label:e,value:s,hint:i,onClick:t,hasWarning:r=!1}){return(0,n.jsxs)("button",{type:"button",onClick:t,className:`signal-card ${r?"has-warning":""}`,children:[(0,n.jsx)("span",{className:"eyebrow",children:e}),(0,n.jsx)("strong",{children:s}),(0,n.jsx)("span",{children:i})]})}function g({icon:e,label:s,description:i,onClick:t}){return(0,n.jsxs)("button",{type:"button",className:"quick-action",onClick:t,children:[(0,n.jsx)(e,{size:19,"aria-hidden":"true"}),(0,n.jsx)("strong",{children:s}),(0,n.jsx)("span",{children:i})]})}async function v(e,n){let[s,i,t,r,a,l]=await Promise.all([(0,u.f)(e),(0,u.q)(e),(0,u.t)(e),(0,u.i)(e),n?(0,u.h)(e):Promise.resolve([]),(0,u.p)(e)]);return{runs:s,projects:i,actions:t,approvals:r,tokens:a,plugins:l}}function m({navigate:e,openRun:u}){let{canManage:k}=(0,h.useWorkspace)(),b=(0,o.useCallback)(e=>v(e,k),[k]),y=(0,d.f)(b,1e4),w=y.data,C=w?.approvals.filter(e=>"pending"===e.status)??[],N=w?.runs.filter(e=>j.B.includes(e.status))??[],z=w?.runs.find(e=>"failed"===e.status||"interrupted"===e.status),R=[{label:"Create a project",done:(w?.projects.length??0)>0,view:"work"},{label:"Connect an external client",done:(w?.tokens.length??0)>0,view:"connections"},{label:"Create your first action",done:(w?.actions.length??0)>0,view:"actions"},{label:"Complete a run",done:w?.runs.some(e=>"succeeded"===e.status)??!1,view:"runs"}];return(0,n.jsxs)("div",{className:"overview",children:[(0,n.jsx)(x.f,{...y}),w?(0,n.jsxs)(n.Fragment,{children:[R.some(e=>!e.done)?(0,n.jsxs)("section",{className:"panel first-run",children:[(0,n.jsxs)("div",{className:"panel-title",children:[(0,n.jsx)("h2",{children:"Get your workspace running"}),(0,n.jsxs)("span",{className:"badge",children:[R.filter(e=>e.done).length," of ",R.length," ","complete"]})]}),(0,n.jsx)("p",{className:"small",children:"Connect your tools, publish an action and inspect its first result."}),(0,n.jsx)("div",{className:"onboarding-steps",children:R.map(s=>(0,n.jsxs)("button",{className:s.done?"is-complete":"",onClick:()=>{e(s.view)},children:[(0,n.jsx)(c.f,{size:17}),s.label,(0,n.jsx)(l.f,{size:14})]},s.label))})]}):void 0,(0,n.jsxs)("section",{className:"signal-grid","aria-label":"Workspace signals",children:[(0,n.jsx)(f,{label:"Actions",value:String(w.actions.length),hint:"Reusable workflows",onClick:()=>{e("actions")}}),(0,n.jsx)(f,{label:"Pending approvals",value:String(C.length),hint:"Decisions waiting for you",hasWarning:C.length>0,onClick:()=>{e("approvals")}}),(0,n.jsx)(f,{label:"Runs in progress",value:String(N.length),hint:`${String(w.runs.length)} total runs`,onClick:()=>{e("runs")}}),(0,n.jsx)(f,{label:"Projects",value:String(w.projects.length),hint:`${String(w.plugins.length)} installed plugins`,onClick:()=>{e("work")}})]}),C.length>0?(0,n.jsxs)("section",{className:"next-action",children:[(0,n.jsx)(i.f,{size:20}),(0,n.jsxs)("div",{children:[(0,n.jsxs)("h2",{children:[C.length," approval",1===C.length?"":"s"," ","waiting"]}),(0,n.jsx)("p",{children:"Review the requested work before it proceeds."})]}),(0,n.jsx)(p.f,{onClick:()=>{e("approvals")},children:"Review approvals"})]}):void 0,z&&0===C.length?(0,n.jsxs)("section",{className:"next-action",children:[(0,n.jsx)(s.f,{size:20}),(0,n.jsxs)("div",{children:[(0,n.jsx)("h2",{children:"Review the latest failed run"}),(0,n.jsx)("p",{children:"Inspect the result and trace before deciding whether to retry."})]}),(0,n.jsx)(p.f,{onClick:()=>{u(z.id)},children:"Open run"})]}):void 0,N.length>0?(0,n.jsxs)("section",{className:"panel running-region","aria-label":"Running now",children:[(0,n.jsxs)("h2",{children:[(0,n.jsx)(s.f,{size:17})," Running now"]}),N.map(e=>(0,n.jsxs)("div",{className:"resource-row",children:[(0,n.jsx)("span",{children:(0,j.N)(e,w.projects)}),(0,n.jsx)(j.k,{status:e.status}),(0,n.jsx)(p.f,{variant:"outline",size:"sm",onClick:()=>{u(e.id)},children:"View run"})]},e.id))]}):void 0,(0,n.jsxs)("section",{className:"panel",children:[(0,n.jsxs)("div",{className:"panel-title",children:[(0,n.jsx)("h2",{children:"Recent runs"}),(0,n.jsxs)(p.f,{variant:"ghost",size:"sm",onClick:()=>{e("runs")},children:["All runs ",(0,n.jsx)(l.f,{size:14})]})]}),0===w.runs.length?(0,n.jsxs)("div",{className:"resource-empty",children:[(0,n.jsx)(c.f,{size:28}),(0,n.jsx)("h3",{children:"Ready for your first run"}),(0,n.jsx)("p",{children:"Connect an external client or create an action to get started."}),(0,n.jsx)(p.f,{onClick:()=>{e("connections")},children:"Connect a client"})]}):w.runs.slice(0,5).map(e=>(0,n.jsxs)("div",{className:"resource-row",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("strong",{children:(0,j.N)(e,w.projects)}),(0,n.jsx)("small",{children:new Date(e.created_at).toLocaleString()})]}),(0,n.jsx)(j.k,{status:e.status}),(0,n.jsx)(p.f,{variant:"ghost",size:"sm",onClick:()=>{u(e.id)},children:"Open"})]},e.id))]}),(0,n.jsxs)("section",{className:"quick-grid","aria-label":"Quick actions",children:[(0,n.jsx)(g,{icon:a.f,label:"Build an action",description:"Write, version and run a workflow.",onClick:()=>{e("actions")}}),(0,n.jsx)(g,{icon:t.f,label:"Configure a project",description:"Set up its runner, integrations and data access.",onClick:()=>{e("work")}}),(0,n.jsx)(g,{icon:r.f,label:"Manage connections",description:"Connect clients and secure credentials.",onClick:()=>{e("connections")}})]})]}):void 0]})}e.s(["default",0,function(){let{goTo:e,openRun:s}=(0,h.useWorkspace)();return(0,n.jsx)(m,{navigate:e,openRun:s})}],295)},10505,79432,e=>{"use strict";var n=e.i(18050),s=e.i(56420);let i={name:"activity",size:24,node:[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]};i.node;let t=(0,s.f)(i);e.s(["f",0,t],79432);var r=e.i(51757);let a={name:"clock-3",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6h4",key:"135r8i"}]]};a.node;let l=(0,s.f)(a),c={name:"shield-exclamation-point",size:24,node:[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]],aliases:["shield-alert"]};c.node;let o=(0,s.f)(c),d={name:"circle-x",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],aliases:["x-circle"]};d.node;let u=(0,s.f)(d);function h(e){return({chat:"Chat task",code:"Code execution",session:"Execution session",action:"Action run",validate:"Code validation",test:"Action tests"})[e]??e.replaceAll("_"," ")}e.s(["k",0,function({status:e}){let s={succeeded:r.f,waiting_approval:o,running:t,queued:l,failed:u,cancelled:u,interrupted:u}[e]??l;return(0,n.jsxs)("span",{className:`run-status status-${e}`,children:[(0,n.jsx)(s,{size:13,"aria-hidden":"true"}),e.replaceAll("_"," ")]})},"B",0,["queued","running","waiting_approval"],"A",0,function(e){return void 0===e?"":"string"==typeof e?e:JSON.stringify(e,void 0,2)},"N",0,function(e,n){let s=n.find(n=>n.id===e.project)?.name??"Project";return"chat"===e.operation?`${s} \xb7 ${(function(e,n){if(null!==e&&"object"==typeof e&&Object.hasOwn(e,n)){let s=Reflect.get(e,n);if("string"==typeof s)return s}return""})(e.inputs,"message").slice(0,70)}`:`${s} \xb7 ${h(e.operation)}`},"T",0,h],10505)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,81140,e=>{"use strict";var t=Object.defineProperty,n=(e,n)=>t(e,"name",{value:n,configurable:!0}),r=!!("u">typeof window&&window.document&&window.document.createElement);function o(e,t,{checkForDefaultPrevented:r=!0}={}){return n(function(n){if(e?.(n),!1===r||!n||!n.defaultPrevented)return t?.(n)},"handleEvent")}function i(e){if(!r)throw Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}function a(e){return"IFRAME"===e.tagName}n(o,"composeEventHandlers"),n(function(e){if(!r)throw Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window},"getOwnerWindow"),n(i,"getOwnerDocument"),n(function e(t,n=!1){let{activeElement:r}=i(t);if(!r?.nodeName)return null;if(a(r)&&r.contentDocument)return e(r.contentDocument.body,n);if(n){let e=r.getAttribute("aria-activedescendant");if(e){let t=i(r).getElementById(e);if(t)return t}}return r},"getActiveElement"),n(a,"isFrame"),e.s(["f",0,o])},30030,e=>{"use strict";var t=e.i(71645),n=e.i(18050),r=Object.defineProperty,o=(e,t)=>r(e,"name",{value:t,configurable:!0});function i(e,r=[]){let s=[];function c(r,i){let a=t.createContext(i);a.displayName=r+"Context";let c=s.length;s=[...s,i];let l=o(r=>{let{scope:o,children:i,...s}=r,l=o?.[e]?.[c]||a,u=t.useMemo(()=>s,Object.values(s));return(0,n.jsx)(l.Provider,{value:u,children:i})},"Provider");function u(n,o,s={}){let{optional:l=!1}=s,d=o?.[e]?.[c]||a,f=t.useContext(d);if(f)return f;if(void 0!==i)return i;if(!l)throw Error(`\`${n}\` must be used within \`${r}\``)}return l.displayName=r+"Provider",o(u,"useContext"),[l,u]}o(c,"createContext");let l=o(()=>{let n=s.map(e=>t.createContext(e));return o(function(r){let o=r?.[e]||n;return t.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])},"useScope")},"createScope");return l.scopeName=e,[c,a(l,...r)]}function a(...e){let n=e[0];if(1===e.length)return n;let r=o(()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return o(function(e){let o=r.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return t.useMemo(()=>({[`__scope${n.scopeName}`]:o}),[o])},"useComposedScopes")},"createScope");return r.scopeName=n.scopeName,r}o(function(e,r){let i=t.createContext(r);i.displayName=e+"Context";let a=o(e=>{let{children:r,...o}=e,a=t.useMemo(()=>o,Object.values(o));return(0,n.jsx)(i.Provider,{value:a,children:r})},"Provider");function s(n,o={}){let{optional:a=!1}=o,c=t.useContext(i);if(c)return c;if(void 0!==r)return r;if(!a)throw Error(`\`${n}\` must be used within \`${e}\``)}return a.displayName=e+"Provider",o(s,"useContext"),[a,s]},"createContext"),o(i,"createContextScope"),o(a,"composeContextScopes"),e.s(["f",0,i])},26330,48425,30207,e=>{"use strict";var t,n=e.i(71645),r=e.i(81140),o=e.i(74080),i=e.i(91918),a=e.i(18050),s=Object.defineProperty,c=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=(0,i.B)(`Primitive.${t}`),o=n.forwardRef((e,n)=>{let{asChild:o,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,a.jsx)(o?r:t,{...i,ref:n})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function l(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}s(l,"name",{value:"dispatchDiscreteCustomEvent",configurable:!0}),e.s(["V",0,c,"u",0,l],48425);var u=e.i(20783),d=e.i(34620),f=Object.defineProperty,p=n[" useInsertionEffect ".trim().toString()];function h(e){let t=n.useRef(e);return"function"==typeof p?p(()=>{t.current=e}):(0,d.f)(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}f(h,"name",{value:"useCallbackRef",configurable:!0}),e.s(["f",0,h],30207);var m=Object.defineProperty,v=(e,t)=>m(e,"name",{value:t,configurable:!0}),g="dismissableLayer.update",y=n.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),b=n.forwardRef(v(function(e,o){let{disableOutsidePointerEvents:i=!1,deferPointerDownOutside:s=!1,onEscapeKeyDown:l,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:p,onDismiss:m,...b}=e,w=n.useContext(y),[k,C]=n.useState(null),S=k?.ownerDocument??globalThis?.document,[,N]=n.useState({}),R=(0,u.f)(o,C),D=Array.from(w.layers),[M]=[...w.layersWithOutsidePointerEventsDisabled].slice(-1),P=M?D.indexOf(M):-1,A=k?D.indexOf(k):-1,O=w.layersWithOutsidePointerEventsDisabled.size>0,L=A>=P,T=n.useRef(!1),I=x(e=>{d?.(e),p?.(e),e.defaultPrevented||m?.()},{ownerDocument:S,deferPointerDownOutside:s,isDeferredPointerDownOutsideRef:T,dismissableSurfaces:w.dismissableSurfaces,shouldHandlePointerDownOutside:n.useCallback(e=>{if(!(e instanceof Node))return!1;let t=[...w.branches].some(t=>t.contains(e));return L&&!t},[w.branches,L])}),F=E(e=>{if(s&&T.current)return;let t=e.target;![...w.branches].some(e=>e.contains(t))&&(f?.(e),p?.(e),e.defaultPrevented||m?.())},S),z=!!k&&A===D.length-1,W=h(e=>{"Escape"===e.key&&(l?.(e),!e.defaultPrevented&&m&&(e.preventDefault(),m()))});return n.useEffect(()=>{if(z)return S.addEventListener("keydown",W,{capture:!0}),()=>S.removeEventListener("keydown",W,{capture:!0})},[S,z,W]),n.useEffect(()=>{if(k)return i&&(0===w.layersWithOutsidePointerEventsDisabled.size&&(t=S.body.style.pointerEvents,S.body.style.pointerEvents="none"),w.layersWithOutsidePointerEventsDisabled.add(k)),w.layers.add(k),j(),()=>{i&&(w.layersWithOutsidePointerEventsDisabled.delete(k),0===w.layersWithOutsidePointerEventsDisabled.size&&(S.body.style.pointerEvents=t))}},[k,S,i,w]),n.useEffect(()=>()=>{k&&(w.layers.delete(k),w.layersWithOutsidePointerEventsDisabled.delete(k),j())},[k,w]),n.useEffect(()=>{let e=v(()=>N({}),"handleUpdate");return document.addEventListener(g,e),()=>document.removeEventListener(g,e)},[]),(0,a.jsx)(c.div,{...b,ref:R,style:{pointerEvents:O?L?"auto":"none":void 0,...e.style},onFocusCapture:(0,r.f)(e.onFocusCapture,F.onFocusCapture),onBlurCapture:(0,r.f)(e.onBlurCapture,F.onBlurCapture),onPointerDownCapture:(0,r.f)(e.onPointerDownCapture,I.onPointerDownCapture)})},"DismissableLayer"));function w(){let e=n.useContext(y),[t,r]=n.useState(null);return n.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),r}v(w,"useDismissableLayerSurface");var k=v(()=>!0,"IS_TRUE");function x(e,t){let{ownerDocument:r=globalThis?.document,deferPointerDownOutside:o=!1,isDeferredPointerDownOutsideRef:i,dismissableSurfaces:a,shouldHandlePointerDownOutside:s=k}=t,c=h(e),l=n.useRef(!1),u=n.useRef(!1),d=n.useRef(new Map),f=n.useRef(()=>{});return n.useEffect(()=>{function e(){u.current=!1,i.current=!1,d.current.clear()}function t(){return Array.from(d.current.values()).some(Boolean)}function n(e){if(!u.current)return;let t=e.target;t instanceof Node&&[...a].some(e=>e.contains(t))||d.current.set(e.type,!0),"click"===e.type&&window.setTimeout(()=>{u.current&&f.current()},0)}function p(e){u.current&&d.current.set(e.type,!1)}v(e,"resetOutsideInteraction"),v(t,"isOutsideInteractionIntercepted"),v(n,"handleInteractionCapture"),v(p,"handleInteractionBubble");let h=v(n=>{if(n.target&&!l.current){let a=function(){r.removeEventListener("click",f.current);let n=t();e(),n||C("dismissableLayer.pointerDownOutside",c,p,{discrete:!0})};if(v(a,"handleAndDispatchPointerDownOutsideEvent"),!s(n.target)){r.removeEventListener("click",f.current),e(),l.current=!1;return}let p={originalEvent:n};u.current=!0,i.current=o&&0===n.button,d.current.clear(),o&&0===n.button?(r.removeEventListener("click",f.current),f.current=a,r.addEventListener("click",f.current,{once:!0})):a()}else r.removeEventListener("click",f.current),e();l.current=!1},"handlePointerDown"),m=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(let e of m)r.addEventListener(e,n,!0),r.addEventListener(e,p);let g=window.setTimeout(()=>{r.addEventListener("pointerdown",h)},0);return()=>{for(let e of(window.clearTimeout(g),r.removeEventListener("pointerdown",h),r.removeEventListener("click",f.current),m))r.removeEventListener(e,n,!0),r.removeEventListener(e,p)}},[r,c,o,i,a,s]),{onPointerDownCapture:v(()=>l.current=!0,"onPointerDownCapture")}}function E(e,t=globalThis?.document){let r=h(e),o=n.useRef(!1);return n.useEffect(()=>{let e=v(e=>{e.target&&!o.current&&C("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:v(()=>o.current=!0,"onFocusCapture"),onBlurCapture:v(()=>o.current=!1,"onBlurCapture")}}function j(){let e=new CustomEvent(g);document.dispatchEvent(e)}function C(e,t,n,{discrete:r}){let o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?l(o,i):o.dispatchEvent(i)}v(x,"usePointerDownOutside"),v(E,"useFocusOutside"),v(j,"dispatchUpdate"),v(C,"handleAndDispatchCustomEvent"),e.s(["V",0,b,"y",0,w],26330)},3536,e=>{"use strict";var t=e.i(71645),n=Object.defineProperty,r=(e,t)=>n(e,"name",{value:t,configurable:!0}),o=0,i=null;function a(){t.useEffect(()=>{i||(i={start:s(),end:s()});let{start:e,end:t}=i;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),o++,()=>{1===o&&(i?.start.remove(),i?.end.remove(),i=null),o=Math.max(0,o-1)}},[])}function s(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}r(function(e){return a(),e.children},"FocusGuards"),r(a,"useFocusGuards"),r(s,"createFocusGuard"),e.s(["f",0,a])},65491,e=>{"use strict";var t=e.i(71645),n=e.i(20783),r=e.i(48425),o=e.i(30207),i=e.i(18050),a=Object.defineProperty,s=(e,t)=>a(e,"name",{value:t,configurable:!0}),c="focusScope.autoFocusOnMount",l="focusScope.autoFocusOnUnmount",u={bubbles:!1,cancelable:!0},d=t.forwardRef(s(function(e,a){let{loop:d=!1,trapped:f=!1,branches:p,onMountAutoFocus:h,onUnmountAutoFocus:y,...b}=e,[w,E]=t.useState(null),j=(0,o.f)(h),S=(0,o.f)(y),N=t.useRef(null),R=(0,n.f)(a,E),D=t.useRef(p);t.useEffect(()=>{D.current=p});let M=t.useCallback(e=>!!e&&(!!w?.contains(e)||!!D.current?.some(t=>t.contains(e))),[w]),P=t.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;t.useEffect(()=>{if(f){let e=function(e){if(P.paused||!w)return;let t=e.target;M(t)?N.current=t:k(N.current,{select:!0})},t=function(e){if(P.paused||!w)return;let t=e.relatedTarget;null!==t&&(M(t)||k(N.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&k(w)};s(e,"handleFocusIn"),s(t,"handleFocusOut"),s(n,"handleMutations"),document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(n);return w&&r.observe(w,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[f,w,P.paused,M]),t.useEffect(()=>{if(w){x.add(P);let e=document.activeElement;if(!w.contains(e)){let t=new CustomEvent(c,u);w.addEventListener(c,j),w.dispatchEvent(t),t.defaultPrevented||(m(C(g(w)),{select:!0}),document.activeElement===e&&k(w))}return()=>{w.removeEventListener(c,j);let t=w.ownerDocument,n=CustomEvent;setTimeout(()=>{let r=new n(l,u);w.addEventListener(l,S),w.dispatchEvent(r),r.defaultPrevented||k(e??t.body,{select:!0}),w.removeEventListener(l,S),x.remove(P)},0)}}},[w,j,S,P]);let A=t.useCallback(e=>{if(!d&&!f||P.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){let t=e.currentTarget,[r,o]=v(t);r&&o?e.shiftKey||n!==o?e.shiftKey&&n===r&&(e.preventDefault(),d&&k(o,{select:!0})):(e.preventDefault(),d&&k(r,{select:!0})):n===t&&e.preventDefault()}},[d,f,P.paused]);return(0,i.jsx)(r.V.div,{tabIndex:-1,...b,ref:R,onKeyDown:A})},"FocusScope")),f=t.createContext(null);function p({registry:e,children:t}){return e?(0,i.jsx)(f.Provider,{value:e,children:t}):t}function h(){let[e,n]=t.useState([]);return{nodes:e,registry:t.useMemo(()=>({add:s(e=>n(t=>t.includes(e)?t:[...t,e]),"add"),remove:s(e=>n(t=>t.filter(t=>t!==e)),"remove")}),[])}}function m(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(k(r,{select:t}),document.activeElement!==n)return}function v(e){let t=g(e);return[y(t,e),y(t.reverse(),e)]}function g(e){let t=[],n=e.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:s(e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;n.nextNode();)t.push(n.currentNode);return t}function y(e,t){let n="function"==typeof t.checkVisibility&&t.checkVisibility({checkVisibilityCSS:!0});for(let r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):b(r,{upTo:t})))return r}function b(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function w(e){return"INPUT"===e.tagName&&"function"==typeof e.select}function k(e,{select:t=!1}={}){if(e&&e.focus){let n=(e.ownerDocument??document).activeElement;e.focus({preventScroll:!0}),e!==n&&w(e)&&t&&e.select()}}s(p,"FocusScopeBranchProvider"),s(h,"useFocusScopeBranchRegistry"),s(function(e){let n=t.useContext(f);t.useEffect(()=>{if(e&&n)return n.add(e),()=>n.remove(e)},[e,n])},"useFocusScopeBranch"),s(m,"focusFirst"),s(v,"getTabbableEdges"),s(g,"getTabbableCandidates"),s(y,"findVisible"),s(b,"isHidden"),s(w,"isSelectableInput"),s(k,"focus");var x=E();function E(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),(e=j(e,t)).unshift(t)},remove(t){e=j(e,t),e[0]?.resume()}}}function j(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}function C(e){return e.filter(e=>"A"!==e.tagName)}s(E,"createFocusScopesStack"),s(j,"arrayRemove"),s(C,"removeLinks"),e.s(["v",0,d,"l",0,p,"D",0,h])},10772,e=>{"use strict";var t=e.i(71645),n=e.i(34620),r=Object.defineProperty,o=t[" useId ".trim().toString()]||(()=>void 0),i=0;function a(e){let[r,a]=t.useState(o());return(0,n.f)(()=>{e||a(e=>e??String(i++))},[e]),e||(r?`radix-${r}`:"")}r(a,"name",{value:"useId",configurable:!0}),e.s(["f",0,a])},74606,96626,e=>{"use strict";var t=e.i(71645),n=e.i(74080),r=e.i(48425),o=e.i(34620),i=e.i(18050),a=Object.defineProperty,s=t.forwardRef(a(function(e,a){let{container:s,...c}=e,[l,u]=t.useState(!1);(0,o.f)(()=>u(!0),[]);let d=s||l&&globalThis?.document?.body;return d?n.createPortal((0,i.jsx)(r.V.div,{...c,ref:a}),d):null},"name",{value:"Portal",configurable:!0}));e.s(["f",0,s],74606);var c=Object.defineProperty,l=(e,t)=>c(e,"name",{value:t,configurable:!0});function u(e,n){return t.useReducer((e,t)=>n[e][t]??e,e)}l(u,"useStateMachine");var d=l(e=>{let{present:n,children:r}=e,o=f(n),i="function"==typeof r?r({present:o.isPresent}):t.Children.only(r),a=h(o.ref,v(i));return"function"==typeof r||o.isPresent?t.cloneElement(i,{ref:a}):null},"Presence");function f(e){let[n,r]=t.useState(),i=t.useRef(null),a=t.useRef(e),s=t.useRef("none"),c=t.useRef(void 0),[d,f]=u(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return t.useEffect(()=>{"mounted"===d?(s.current=c.current??m(i.current),c.current=void 0):s.current="none"},[d]),(0,o.f)(()=>{let t=i.current,n=a.current;if(n!==e){let r=s.current,o=m(t);e?(c.current=o,f("MOUNT")):"none"===o||t?.display==="none"?f("UNMOUNT"):n&&r!==o?f("ANIMATION_OUT"):f("UNMOUNT"),a.current=e}},[e,f]),(0,o.f)(()=>{if(n){let e,t=n.ownerDocument.defaultView??window,r=l(r=>{let o=m(i.current).includes(CSS.escape(r.animationName));if(r.target===n&&o&&(f("ANIMATION_END"),!a.current)){let r=n.style.animationFillMode;n.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=r)})}},"handleAnimationEnd"),o=l(e=>{e.target===n&&(s.current=m(i.current))},"handleAnimationStart");return n.addEventListener("animationstart",o),n.addEventListener("animationcancel",r),n.addEventListener("animationend",r),()=>{t.clearTimeout(e),n.removeEventListener("animationstart",o),n.removeEventListener("animationcancel",r),n.removeEventListener("animationend",r)}}f("ANIMATION_END")},[n,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:t.useCallback(e=>{if(e){let t=getComputedStyle(e);i.current=t,c.current=m(t)}else i.current=null;r(e)},[])}}function p(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function h(...e){let n=t.useRef(e);return n.current=e,t.useCallback(e=>{let t=n.current,r=!1,o=t.map(t=>{let n=p(t,e);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let e=0;e<o.length;e++){let n=o[e];"function"==typeof n?n():p(t[e],null)}}},[])}function m(e){return e?.animationName||"none"}function v(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}l(f,"usePresence"),l(p,"setRef"),l(h,"useStableComposedRefs"),l(m,"getAnimationName"),l(v,"getElementRef"),e.s(["f",0,d],96626)},69340,e=>{"use strict";var t=e.i(71645),n=e.i(34620),r=Object.defineProperty,o=t[" useEffectEvent ".trim().toString()],i=t[" useInsertionEffect ".trim().toString()];function a(e){if("function"==typeof o)return o(e);let r=t.useRef(()=>{throw Error("Cannot call an event handler while rendering.")});return"function"==typeof i?i(()=>{r.current=e}):(0,n.f)(()=>{r.current=e}),t.useMemo(()=>(...e)=>r.current?.(...e),[])}r(a,"name",{value:"useEffectEvent",configurable:!0});var s=Object.defineProperty,c=(e,t)=>s(e,"name",{value:t,configurable:!0}),l=t[" useInsertionEffect ".trim().toString()]||n.f;function u({prop:e,defaultProp:n,onChange:r=c(()=>{},"onChange"),caller:o}){let[i,a,s]=d({defaultProp:n,onChange:r}),l=void 0!==e,p=l?e:i;return[p,t.useCallback(t=>{if(l){let n=f(t)?t(e):t;n!==e&&s.current?.(n)}else a(t)},[l,e,a,s])]}function d({defaultProp:e,onChange:n}){let[r,o]=t.useState(e),i=t.useRef(r),a=t.useRef(n);return l(()=>{a.current=n},[n]),t.useEffect(()=>{i.current!==r&&(a.current?.(r),i.current=r)},[r,i]),[r,o,a]}function f(e){return"function"==typeof e}c(u,"useControllableState"),c(d,"useUncontrolledState"),c(f,"isFunction");var p=Symbol("RADIX:SYNC_STATE");c(function(e,n,r,o){let{prop:i,defaultProp:s,onChange:c,caller:l}=n,u=void 0!==i,d=a(c),f=[{...r,state:s}];o&&f.push(o);let[h,m]=t.useReducer((t,n)=>{if(n.type===p)return{...t,state:n.state};let r=e(t,n);return u&&!Object.is(r.state,t.state)&&d(r.state),r},...f),v=h.state,g=t.useRef(v);t.useEffect(()=>{g.current!==v&&(g.current=v,u||d(v))},[v,g,u]);let y=t.useMemo(()=>void 0!==i?{...h,state:i}:h,[h,i]);return t.useEffect(()=>{u&&!Object.is(i,h.state)&&m({type:p,state:i})},[i,h.state,u]),[y,m]},"useControllableStateReducer"),e.s(["f",0,u],69340)},34620,e=>{"use strict";var t=e.i(71645),n=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["f",0,n])},86312,e=>{"use strict";var t=new WeakMap,n=new WeakMap,r={},o=0,i=function(e){return e&&(e.host||i(e.parentNode))},a=function(e,a,s,c){var l=(Array.isArray(e)?e:[e]).map(function(e){if(a.contains(e))return e;var t=i(e);return t&&a.contains(t)?t:(console.error("aria-hidden",e,"in not contained inside",a,". Doing nothing"),null)}).filter(function(e){return!!e});r[s]||(r[s]=new WeakMap);var u=r[s],d=[],f=new Set,p=new Set(l),h=function(e){!e||f.has(e)||(f.add(e),h(e.parentNode))};l.forEach(h);var m=function(e){!e||p.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))m(e);else try{var r=e.getAttribute(c),o=null!==r&&"false"!==r,i=(t.get(e)||0)+1,a=(u.get(e)||0)+1;t.set(e,i),u.set(e,a),d.push(e),1===i&&o&&n.set(e,!0),1===a&&e.setAttribute(s,"true"),o||e.setAttribute(c,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return m(a),f.clear(),o++,function(){d.forEach(function(e){var r=t.get(e)-1,o=u.get(e)-1;t.set(e,r),u.set(e,o),r||(n.has(e)||e.removeAttribute(c),n.delete(e)),o||e.removeAttribute(s)}),--o||(t=new WeakMap,t=new WeakMap,n=new WeakMap,r={})}};e.s(["f",0,function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),a(r,o,n,"aria-hidden")):function(){return null}}])},56420,e=>{"use strict";var t=e.i(71645);let n=(...e)=>e.filter((e,t,n)=>!!e&&""!==e.trim()&&n.indexOf(e)===t).join(" ").trim(),r={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"},o=(0,t.createContext)({}),i=(0,t.forwardRef)(({color:e,size:i,width:a,height:s,strokeWidth:c,absoluteStrokeWidth:l,nonScalingStroke:u,className:d="",children:f,iconNode:p=[],icon:h={node:p,aliases:[],size:24},...m},v)=>{let{size:g=24,strokeWidth:y=2,absoluteStrokeWidth:b=!1,nonScalingStroke:w=!1,color:k="currentColor",className:x=""}=(0,t.useContext)(o)??{},E=!!f||(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(m),[j,C,S=[]]=function(e,t={}){return function(e,t={}){let o=t.attributeNames??{},i=e=>o[e]??e,a=e.size??e.width??r.width,s=e.size??e.height??r.height,c=e.aliases?.filter(e=>"string"==typeof e&&""!==e.trim()).map(e=>`lucide-${e}`)??[],l=[...e.name?[`lucide-${e.name}`]:[],...c],u=t.className?.split(" ").filter(Boolean)??[],d=!1===t.includeDefaultClasses?n(...u):n("lucide",...l,...u),f=t.absoluteStrokeWidth?Number(t.strokeWidth??r["stroke-width"])*Number(e.size??e.width??r.width)/Number(t.size??t.width??r.width):t.strokeWidth??r["stroke-width"];return["svg",{...Object.entries(r).reduce((e,[t,n])=>(e[i(t)]=n,e),{}),..."color"in t&&t.color&&{[i("stroke")]:t.color},..."size"in t&&null!=t.size&&{[i("width")]:t.size,[i("height")]:t.size},..."width"in t&&null!=t.width&&{[i("width")]:t.width},..."height"in t&&null!=t.height&&{[i("height")]:t.height},[i("stroke-width")]:f,...d&&{[i("class")]:d},[i("viewBox")]:`0 0 ${a} ${s}`,...!1===t.hasA11yProp?{[i("aria-hidden")]:"true"}:{},..."attributes"in t&&t.attributes},e.node.map(e=>{let[n,r,o]=e,a=t.nonScalingStroke?{[i("vector-effect")]:"non-scaling-stroke",...r}:r;return o?[n,a,o]:[n,a]})]}(e,{...t,attributeNames:{...t.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}(h,{color:e??k,width:a??i??g,height:s??i??g,strokeWidth:c??y,absoluteStrokeWidth:l??b,nonScalingStroke:u??w,className:n(x,d),hasA11yProp:E,attributes:m});return(0,t.createElement)(j,{ref:v,...C},[...S.map(([e,n])=>(0,t.createElement)(e,n)),...Array.isArray(f)?f:[f]])});e.s(["f",0,function(e,n=[],r=[]){let o,a="string"==typeof e?function(e,t,n=[]){if(null==t)throw Error("[lucide]: iconNode is required when icon name is used");return{name:e?.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),size:24,node:t,...n.length>0?{aliases:n}:{}}}(e,n,r):e,s=(0,t.forwardRef)(({className:e,...n},r)=>(0,t.createElement)(i,{ref:r,icon:a,className:e,...n}));return a.name&&(s.displayName=(o=(e=>{let t="",n=!1;for(let r of e){if("-"===r||"_"===r||r<=" "){n=t.length>0;continue}0===t.length?t+=r.toLowerCase():t+=n?r.toUpperCase():r,n=!1}return t})(a.name)).charAt(0).toUpperCase()+o.slice(1)),s}],56420)},70812,e=>{"use strict";var t=e.i(56420);let n={name:"bell",size:24,node:[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]]};n.node;let r=(0,t.f)(n);e.s(["f",0,r],70812)},67965,e=>{"use strict";var t=e.i(56420);let n={name:"cable",size:24,node:[["path",{d:"M17 19a1 1 0 0 1-1-1v-2a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2a1 1 0 0 1-1 1z",key:"trhst0"}],["path",{d:"M17 21v-2",key:"ds4u3f"}],["path",{d:"M19 14V6.5a1 1 0 0 0-7 0v11a1 1 0 0 1-7 0V10",key:"1mo9zo"}],["path",{d:"M21 21v-2",key:"eo0ou"}],["path",{d:"M3 5V3",key:"1k5hjh"}],["path",{d:"M4 10a2 2 0 0 1-2-2V6a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2a2 2 0 0 1-2 2z",key:"1dd30t"}],["path",{d:"M7 5V3",key:"1t1388"}]]};n.node;let r=(0,t.f)(n);e.s(["f",0,r],67965)},6501,e=>{"use strict";var t=e.i(56420);let n={name:"calendar-clock",size:24,node:[["path",{d:"M16 14v2.2l1.6 1",key:"fo4ql5"}],["path",{d:"M16 2v3",key:"otl347"}],["path",{d:"M21 7.338V5a2 2 0 00-2-2H5a2 2 0 00-2 2v14a2 2 0 002 2h2.338",key:"7hb8p4"}],["path",{d:"M3 9h5.859",key:"numkqi"}],["path",{d:"M8 2v3",key:"1ioesn"}],["circle",{cx:"16",cy:"16",r:"6",key:"qoo3c4"}]]};n.node;let r=(0,t.f)(n);e.s(["f",0,r],6501)},52330,e=>{"use strict";var t=e.i(56420);let n={name:"code-xml",size:24,node:[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]],aliases:["code-2"]};n.node;let r=(0,t.f)(n);e.s(["f",0,r],52330)},94508,49817,e=>{"use strict";var t=e.i(56420);let n={name:"files",size:24,node:[["path",{d:"M15 2h-4a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8",key:"14sh0y"}],["path",{d:"M16.706 2.706A2.4 2.4 0 0 0 15 2v5a1 1 0 0 0 1 1h5a2.4 2.4 0 0 0-.706-1.706z",key:"1970lx"}],["path",{d:"M5 7a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 1.732-1",key:"l4dndm"}]]};n.node;let r=(0,t.f)(n);e.s(["f",0,r],94508);let o={name:"house",size:24,node:[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],aliases:["home"]};o.node;let i=(0,t.f)(o);e.s(["f",0,i],49817)},26067,e=>{"use strict";var t=e.i(56420);let n={name:"folder",size:24,node:[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]};n.node;let r=(0,t.f)(n);e.s(["f",0,r],26067)},58925,e=>{"use strict";var t=e.i(56420);let n={name:"key-round",size:24,node:[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]};n.node;let r=(0,t.f)(n);e.s(["f",0,r],58925)},93583,63676,e=>{"use strict";var t=e.i(56420);let n={name:"menu",size:24,node:[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]};n.node;let r=(0,t.f)(n);e.s(["f",0,r],93583);let o={name:"x",size:24,node:[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]};o.node;let i=(0,t.f)(o);e.s(["X",0,i],63676)},79258,e=>{"use strict";var t=e.i(56420);let n={name:"package",size:24,node:[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]};n.node;let r=(0,t.f)(n);e.s(["f",0,r],79258)},21357,e=>{"use strict";var t=e.i(56420);let n={name:"play",size:24,node:[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]]};n.node;let r=(0,t.f)(n);e.s(["f",0,r],21357)},77071,e=>{"use strict";var t=e.i(56420);let n={name:"plus",size:24,node:[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]};n.node;let r=(0,t.f)(n);e.s(["f",0,r],77071)},79266,56423,e=>{"use strict";var t=e.i(56420);let n={name:"rotate-ccw-clock",size:24,node:[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]],aliases:["history"]};n.node;let r=(0,t.f)(n);e.s(["f",0,r],79266);let o={name:"book-open",size:24,node:[["path",{d:"M12 5v16",key:"1f6ucr"}],["path",{d:"M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z",key:"1fyvmf"}]]};o.node;let i=(0,t.f)(o);e.s(["f",0,i],56423)},66794,70937,e=>{"use strict";var t=e.i(56420);let n={name:"settings",size:24,node:[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]};n.node;let r=(0,t.f)(n);e.s(["f",0,r],66794);let o={name:"table-2",size:24,node:[["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}]]};o.node;let i=(0,t.f)(o);e.s(["f",0,i],70937)},82303,e=>{"use strict";var t=e.i(56420);let n={name:"users",size:24,node:[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]};n.node;let r=(0,t.f)(n);e.s(["f",0,r],82303)},85369,e=>{"use strict";var t,n,r,o,i,a,s,c=function(){return(c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function l(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}var u=("function"==typeof SuppressedError&&SuppressedError,e.i(71645)),d="right-scroll-bar-position",f="width-before-scroll-bar";function p(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var h="u">typeof window?u.useLayoutEffect:u.useEffect,m=new WeakMap,v=(void 0===t&&(t={}),(void 0===n&&(n=function(e){return e}),r=[],o=!1,i={read:function(){if(o)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:null},useMedium:function(e){var t=n(e,o);return r.push(t),function(){r=r.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(o=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){o=!0;var t=[];if(r.length){var n=r;r=[],n.forEach(e),t=r}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),r={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),r}}}}).options=c({async:!0,ssr:!1},t),i),g=function(){},y=u.forwardRef(function(e,t){var n,r,o,i,a=u.useRef(null),s=u.useState({onScrollCapture:g,onWheelCapture:g,onTouchMoveCapture:g}),d=s[0],f=s[1],y=e.forwardProps,b=e.children,w=e.className,k=e.removeScrollBar,x=e.enabled,E=e.shards,j=e.sideCar,C=e.noRelative,S=e.noIsolation,N=e.inert,R=e.allowPinchZoom,D=e.as,M=e.gapMode,P=l(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),A=(n=[a,t],r=function(e){return n.forEach(function(t){return p(t,e)})},(o=(0,u.useState)(function(){return{value:null,callback:r,facade:{get current(){return o.value},set current(e){var t=o.value;t!==e&&(o.value=e,o.callback(e,t))}}}})[0]).callback=r,i=o.facade,h(function(){var e=m.get(i);if(e){var t=new Set(e),r=new Set(n),o=i.current;t.forEach(function(e){r.has(e)||p(e,null)}),r.forEach(function(e){t.has(e)||p(e,o)})}m.set(i,n)},[n]),i),O=c(c({},P),d);return u.createElement(u.Fragment,null,x&&u.createElement(j,{sideCar:v,removeScrollBar:k,shards:E,noRelative:C,noIsolation:S,inert:N,setCallbacks:f,allowPinchZoom:!!R,lockRef:a,gapMode:M}),y?u.cloneElement(u.Children.only(b),c(c({},O),{ref:A})):u.createElement(void 0===D?"div":D,c({},O,{className:w,ref:A}),b))});y.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},y.classNames={fullWidth:f,zeroRight:d};var b=function(e){var t=e.sideCar,n=l(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return u.createElement(r,c({},n))};b.isSideCarExport=!0;var w=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=s||("u">typeof __webpack_nonce__?__webpack_nonce__:void 0);return t&&e.setAttribute("nonce",t),e}())){var r,o;(r=t).styleSheet?r.styleSheet.cssText=n:r.appendChild(document.createTextNode(n)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},k=function(){var e=w();return function(t,n){u.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},x=function(){var e=k();return function(t){return e(t.styles,t.dynamic),null}},E={left:0,top:0,right:0,gap:0},j=function(e){return parseInt(e||"",10)||0},C=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[j(n),j(r),j(o)]},S=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return E;var t=C(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},N=x(),R="data-scroll-locked",D=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(s,"px ").concat(r,";\n }\n body[").concat(R,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(d," {\n right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(f," {\n margin-right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(d," .").concat(d," {\n right: 0 ").concat(r,";\n }\n \n .").concat(f," .").concat(f," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(R,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},M=function(){var e=parseInt(document.body.getAttribute(R)||"0",10);return isFinite(e)?e:0},P=function(){u.useEffect(function(){return document.body.setAttribute(R,(M()+1).toString()),function(){var e=M()-1;e<=0?document.body.removeAttribute(R):document.body.setAttribute(R,e.toString())}},[])},A=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;P();var i=u.useMemo(function(){return S(o)},[o]);return u.createElement(N,{styles:D(i,!t,o,n?"":"!important")})},O=!1;if("u">typeof window)try{var L=Object.defineProperty({},"passive",{get:function(){return O=!0,!0}});window.addEventListener("test",L,L),window.removeEventListener("test",L,L)}catch(e){O=!1}var T=!!O&&{passive:!1},I=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},F=function(e,t){var n=t.ownerDocument,r=t;do{if("u">typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),z(e,r)){var o=W(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body)return!1},z=function(e,t){return"v"===e?I(t,"overflowY"):I(t,"overflowX")},W=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},_=function(e,t,n,r,o){var i,a=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),s=a*r,c=n.target,l=t.contains(c),u=!1,d=s>0,f=0,p=0;do{if(!c)break;var h=W(e,c),m=h[0],v=h[1]-h[2]-a*m;(m||v)&&z(e,c)&&(f+=v,p+=m);var g=c.parentNode;c=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!l&&c!==document.body||l&&(t.contains(c)||t===c))return d&&(o&&1>Math.abs(f)||!o&&s>f)?u=!0:!d&&(o&&1>Math.abs(p)||!o&&-s>p)&&(u=!0),u},U=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},$=function(e){return[e.deltaX,e.deltaY]},B=function(e){return e&&"current"in e?e.current:e},V=0,q=[];let K=(a=function(e){var t=u.useRef([]),n=u.useRef([0,0]),r=u.useRef(),o=u.useState(V++)[0],i=u.useState(x)[0],a=u.useRef(e);u.useEffect(function(){a.current=e},[e]),u.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(B),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=u.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var o,i=U(e),s=n.current,c="deltaX"in e?e.deltaX:s[0]-i[0],l="deltaY"in e?e.deltaY:s[1]-i[1],u=e.target,d=Math.abs(c)>Math.abs(l)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===u||p.contains(u)))return!1;var h=F(d,u);if(!h)return!0;if(h?o=d:(o="v"===d?"h":"v",h=F(d,u)),!h)return!1;if(!r.current&&"changedTouches"in e&&(c||l)&&(r.current=o),!o)return!0;var m=r.current||o;return _(m,t,e,"h"===m?c:l,!0)},[]),c=u.useCallback(function(e){if(q.length&&q[q.length-1]===i){var n="deltaY"in e?$(e):U(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta,r[0]===n[0]&&r[1]===n[1])})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(a.current.shards||[]).map(B).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?s(e,o[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),l=u.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),d=u.useCallback(function(e){n.current=U(e),r.current=void 0},[]),f=u.useCallback(function(t){l(t.type,$(t),t.target,s(t,e.lockRef.current))},[]),p=u.useCallback(function(t){l(t.type,U(t),t.target,s(t,e.lockRef.current))},[]);u.useEffect(function(){return q.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",c,T),document.addEventListener("touchmove",c,T),document.addEventListener("touchstart",d,T),function(){q=q.filter(function(e){return e!==i}),document.removeEventListener("wheel",c,T),document.removeEventListener("touchmove",c,T),document.removeEventListener("touchstart",d,T)}},[]);var h=e.removeScrollBar,m=e.inert;return u.createElement(u.Fragment,null,m?u.createElement(i,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,h?u.createElement(A,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},v.useMedium(a),b);var H=u.forwardRef(function(e,t){return u.createElement(y,c({},e,{ref:t,sideCar:K}))});H.classNames=y.classNames,e.s(["f",0,H],85369)},15080,e=>{"use strict";var t=e.i(73656);async function n(e){return(await t.U.projects.list.query(void 0,{signal:e})).results}async function r(e){return(await t.U.actions.list.query(void 0,{signal:e})).results}async function o(e){return(await t.U.runs.list.query(void 0,{signal:e})).results}async function i(e){return(await t.U.documents.list.query(void 0,{signal:e})).results}async function a(e){return(await t.U.approvals.list.query(void 0,{signal:e})).results}async function s(e){return(await t.U.artifacts.list.query(void 0,{signal:e})).results}async function c(e){return(await t.U.plugins.list.query(void 0,{signal:e})).results}async function l(e){return(await t.U.credentials.list.query(void 0,{signal:e})).results}async function u(e){return(await t.U.tokens.list.query(void 0,{signal:e})).results}e.s(["t",0,r,"i",0,a,"K",0,s,"_",0,l,"l",0,i,"p",0,c,"q",0,n,"f",0,o,"h",0,u])},87309,e=>{"use strict";var t=e.i(18050),n=e.i(71645),r=e.i(30030),o=e.i(20783),i=e.i(81140),a=e.i(10772),s=e.i(69340),c=e.i(26330),l=e.i(65491),u=e.i(74606),d=e.i(96626),f=e.i(48425),p=e.i(3536),h=e.i(34620),m=e.i(85369),v=e.i(86312),g=e.i(91918),y=Object.defineProperty,b=(e,t)=>y(e,"name",{value:t,configurable:!0}),w="Dialog",[k,x]=(0,r.f)(w),[E,j]=k(w),C=b(e=>{let{__scopeDialog:r,children:o,open:i,defaultOpen:c,onOpenChange:u,modal:d=!0}=e,f=n.useRef(null),p=n.useRef(null),{nodes:h,registry:m}=(0,l.D)(),[v,g]=(0,s.f)({prop:i,defaultProp:c??!1,onChange:u,caller:w}),[y,b]=n.useState(0),[k,x]=n.useState(0);return(0,t.jsx)(E,{scope:r,triggerRef:f,contentRef:p,contentId:(0,a.f)(),titleId:(0,a.f)(),descriptionId:(0,a.f)(),titlePresent:y>0,descriptionPresent:k>0,setTitleCount:b,setDescriptionCount:x,open:v,onOpenChange:g,onOpenToggle:n.useCallback(()=>g(e=>!e),[g]),modal:d,branchNodes:h,branchRegistry:m,children:o})},"Dialog"),S=n.forwardRef(b(function(e,n){let{__scopeDialog:r,...a}=e,s=j("DialogTrigger",r),c=(0,o.f)(n,s.triggerRef);return(0,t.jsx)(f.V.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.open?s.contentId:void 0,"data-state":V(s.open),...a,ref:c,onClick:(0,i.f)(e.onClick,s.onOpenToggle)})},"DialogTrigger")),N="DialogPortal",[R,D]=k(N,{forceMount:void 0}),M=b(e=>{let{__scopeDialog:r,forceMount:o,children:i,container:a}=e,s=j(N,r);return(0,t.jsx)(R,{scope:r,forceMount:o,children:n.Children.map(i,e=>(0,t.jsx)(d.f,{present:o||s.open,children:(0,t.jsx)(u.f,{asChild:!0,container:a,children:e})}))})},"DialogPortal"),P="DialogOverlay",A=n.forwardRef(b(function(e,n){let r=D(P,e.__scopeDialog),{forceMount:o=r.forceMount,...i}=e,a=j(P,e.__scopeDialog);return a.modal?(0,t.jsx)(d.f,{present:o||a.open,children:(0,t.jsx)(L,{...i,ref:n})}):null},"DialogOverlay")),O=(0,g.B)("DialogOverlay.RemoveScroll"),L=n.forwardRef(b(function(e,r){let{__scopeDialog:i,...a}=e,s=j(P,i),l=(0,c.y)(),u=(0,o.f)(r,l);return(0,t.jsx)(m.f,{as:O,allowPinchZoom:!0,shards:n.useMemo(()=>[s.contentRef,...s.branchNodes.map(e=>({current:e}))],[s.contentRef,s.branchNodes]),children:(0,t.jsx)(f.V.div,{"data-state":V(s.open),...a,ref:u,style:{pointerEvents:"auto",...a.style}})})},"DialogOverlayImpl")),T="DialogContent",I=n.forwardRef(b(function(e,n){let r=D(T,e.__scopeDialog),{forceMount:o=r.forceMount,...i}=e,a=j(T,e.__scopeDialog);return(0,t.jsx)(d.f,{present:o||a.open,children:a.modal?(0,t.jsx)(F,{...i,ref:n}):(0,t.jsx)(z,{...i,ref:n})})},"DialogContent")),F=n.forwardRef(b(function(e,r){let a=j(T,e.__scopeDialog),s=n.useRef(null),c=(0,o.f)(r,a.contentRef,s);return n.useEffect(()=>{let e=s.current;if(e)return(0,v.f)(e)},[]),(0,t.jsx)(W,{...e,ref:c,trapFocus:a.open,disableOutsidePointerEvents:a.open,onCloseAutoFocus:(0,i.f)(e.onCloseAutoFocus,e=>{e.preventDefault(),a.triggerRef.current?.focus()}),onPointerDownOutside:(0,i.f)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,i.f)(e.onFocusOutside,e=>e.preventDefault())})},"DialogContentModal")),z=n.forwardRef(b(function(e,r){let o=j(T,e.__scopeDialog),i=n.useRef(!1),a=n.useRef(!1);return(0,t.jsx)(W,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(i.current||o.triggerRef.current?.focus(),t.preventDefault()),i.current=!1,a.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(i.current=!0,"pointerdown"===t.detail.originalEvent.type&&(a.current=!0));let n=t.target;o.triggerRef.current?.contains(n)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})},"DialogContentNonModal")),W=n.forwardRef(b(function(e,n){let{__scopeDialog:r,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:a,"aria-describedby":s,children:u,...d}=e,f=j(T,r);return(0,p.f)(),(0,t.jsx)(l.l,{registry:f.branchRegistry,children:(0,t.jsx)(l.v,{asChild:!0,loop:!0,trapped:o,branches:f.branchNodes,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,t.jsx)(c.V,{role:"dialog",id:f.contentId,"aria-labelledby":f.titlePresent?f.titleId:void 0,"aria-describedby":f.descriptionPresent?B(s,f.descriptionId):s,"data-state":V(f.open),...d,ref:n,deferPointerDownOutside:!0,onDismiss:()=>f.onOpenChange(!1),children:u})})})},"DialogContentImpl")),_=n.forwardRef(b(function(e,n){let{__scopeDialog:r,...o}=e,i=j("DialogTitle",r),{setTitleCount:a}=i;return(0,h.f)(()=>(a(e=>e+1),()=>a(e=>e-1)),[a]),(0,t.jsx)(f.V.h2,{id:i.titleId,...o,ref:n})},"DialogTitle")),U=n.forwardRef(b(function(e,n){let{__scopeDialog:r,...o}=e,i=j("DialogDescription",r),{setDescriptionCount:a}=i;return(0,h.f)(()=>(a(e=>e+1),()=>a(e=>e-1)),[a]),(0,t.jsx)(f.V.p,{id:i.descriptionId,...o,ref:n})},"DialogDescription")),$=n.forwardRef(b(function(e,n){let{__scopeDialog:r,...o}=e,a=j("DialogClose",r);return(0,t.jsx)(f.V.button,{type:"button",...o,ref:n,onClick:(0,i.f)(e.onClick,()=>a.onOpenChange(!1))})},"DialogClose"));function B(...e){let t=new Set;for(let n of e)if("string"==typeof n)for(let e of String(n).trim().split(/\s+/))e&&t.add(e);return t.size>0?Array.from(t).join(" "):void 0}function V(e){return e?"open":"closed"}b(B,"concatAriaDescribedby"),b(V,"getState");var q=Object.defineProperty,K=(e,t)=>q(e,"name",{value:t,configurable:!0}),[H,Y]=(0,r.f)("AlertDialog",[x]),X=x(),Z=K(e=>{let{__scopeAlertDialog:n,...r}=e,o=X(n);return(0,t.jsx)(C,{...o,...r,modal:!0})},"AlertDialog");n.forwardRef(K(function(e,n){let{__scopeAlertDialog:r,...o}=e,i=X(r);return(0,t.jsx)(S,{...i,...o,ref:n})},"AlertDialogTrigger"));var G=K(e=>{let{__scopeAlertDialog:n,...r}=e,o=X(n);return(0,t.jsx)(M,{...o,...r})},"AlertDialogPortal"),J=n.forwardRef(K(function(e,n){let{__scopeAlertDialog:r,...o}=e,i=X(r);return(0,t.jsx)(A,{...i,...o,ref:n})},"AlertDialogOverlay")),[Q,ee]=H("AlertDialogContent"),et=n.forwardRef(K(function(e,r){let{__scopeAlertDialog:a,children:s,...c}=e,l=X(a),u=n.useRef(null),d=(0,o.f)(r,u),f=n.useRef(null);return(0,t.jsx)(Q,{scope:a,cancelRef:f,children:(0,t.jsx)(I,{role:"alertdialog",...l,...c,ref:d,onOpenAutoFocus:(0,i.f)(c.onOpenAutoFocus,e=>{e.preventDefault(),f.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:s})})},"AlertDialogContent")),en=n.forwardRef(K(function(e,n){let{__scopeAlertDialog:r,...o}=e,i=X(r);return(0,t.jsx)(_,{...i,...o,ref:n})},"AlertDialogTitle")),er=n.forwardRef(K(function(e,n){let{__scopeAlertDialog:r,...o}=e,i=X(r);return(0,t.jsx)(U,{...i,...o,ref:n})},"AlertDialogDescription")),eo=n.forwardRef(K(function(e,n){let{__scopeAlertDialog:r,...o}=e,i=X(r);return(0,t.jsx)($,{...i,...o,ref:n})},"AlertDialogAction")),ei=n.forwardRef(K(function(e,n){let{__scopeAlertDialog:r,...i}=e,{cancelRef:a}=ee("AlertDialogCancel",r),s=X(r),c=(0,o.f)(n,a);return(0,t.jsx)($,{...s,...i,ref:c})},"AlertDialogCancel")),ea=e.i(39689);let es=(0,n.forwardRef)(({className:e,...n},r)=>(0,t.jsx)(J,{className:(0,ea.f)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...n,ref:r}));es.displayName="AlertDialogOverlay";let ec=(0,n.forwardRef)(({className:e,...n},r)=>(0,t.jsxs)(G,{children:[(0,t.jsx)(es,{}),(0,t.jsx)(et,{ref:r,className:(0,ea.f)("fixed left-[50%] top-[50%] z-50 grid max-h-[calc(100dvh-2rem)] w-[calc(100%-2rem)] max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 overflow-y-auto rounded-lg border border-border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95",e),...n})]}));ec.displayName="AlertDialogContent";let el=({className:e,...n})=>(0,t.jsx)("div",{className:(0,ea.f)("flex flex-col space-y-2 text-center sm:text-left",e),...n}),eu=({className:e,...n})=>(0,t.jsx)("div",{className:(0,ea.f)("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...n}),ed=(0,n.forwardRef)(({className:e,...n},r)=>(0,t.jsx)(en,{ref:r,className:(0,ea.f)("text-lg font-semibold",e),...n}));ed.displayName="AlertDialogTitle";let ef=(0,n.forwardRef)(({className:e,...n},r)=>(0,t.jsx)(er,{ref:r,className:(0,ea.f)("text-sm text-muted-foreground",e),...n}));ef.displayName="AlertDialogDescription";let ep=(0,n.forwardRef)(({className:e,...n},r)=>(0,t.jsx)(eo,{ref:r,className:(0,ea.f)("inline-flex h-9 items-center justify-center rounded-md bg-primary px-4 text-sm font-medium text-primary-foreground shadow transition-colors hover:bg-primary/90 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",e),...n}));ep.displayName="AlertDialogAction";let eh=(0,n.forwardRef)(({className:e,...n},r)=>(0,t.jsx)(ei,{ref:r,className:(0,ea.f)("secondary inline-flex h-9 items-center justify-center rounded-md border border-input bg-background px-4 text-sm font-medium shadow-sm transition-colors hover:bg-accent hover:text-accent-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",e),...n}));eh.displayName="AlertDialogCancel";let em={title:"Discard unsaved changes?",description:"You have changes that have not been saved. Keep editing to save them.",actionLabel:"Discard changes",cancelLabel:"Keep editing"},ev=(0,n.createContext)(()=>Promise.resolve(!1));e.s(["$",0,function({children:e}){let[r,o]=(0,n.useState)(!1),[i,a]=(0,n.useState)(em),s=(0,n.useRef)(void 0);(0,n.useEffect)(()=>()=>{s.current?.(!1)},[]);let c=(0,n.useCallback)((e=em)=>s.current?Promise.resolve(!1):new Promise(t=>{a(e),s.current=t,o(!0)}),[]),l=e=>{s.current?.(e),s.current=void 0,o(!1)};return(0,t.jsxs)(ev,{value:c,children:[e,(0,t.jsx)(Z,{open:r,onOpenChange:e=>{e||l(!1)},children:(0,t.jsxs)(ec,{children:[(0,t.jsxs)(el,{children:[(0,t.jsx)(ed,{children:i.title}),(0,t.jsx)(ef,{children:i.description})]}),(0,t.jsxs)(eu,{children:[(0,t.jsx)(eh,{onClick:()=>{l(!1)},children:i.cancelLabel??"Cancel"}),(0,t.jsx)(ep,{onClick:()=>{l(!0)},children:i.actionLabel})]})]})})]})},"h",0,function(){return(0,n.useContext)(ev)}],87309)},69212,e=>{"use strict";var t=e.i(71645),n=e.i(74080);let r=(0,t.createContext)(null);e.s(["K",0,function({children:e}){let o=(0,t.useContext)(r);return o?(0,n.createPortal)(e,o):null},"q",0,r])},94591,e=>{"use strict";var t=e.i(70812),n=e.i(79266),r=e.i(56423),o=e.i(26067),i=e.i(67965),a=e.i(6501),s=e.i(52330),c=e.i(94508),l=e.i(49817),u=e.i(58925),d=e.i(79258),f=e.i(21357),p=e.i(66794),h=e.i(70937),m=e.i(82303);let v=[{id:"project",label:"Project",items:[{id:"work",description:"Build the actions and access available to your connected agent.",label:"Overview",href:"/projects/",icon:o.f},{id:"actions",description:"Build, version and run reusable workflows.",label:"Actions",href:"/actions/",icon:s.f},{id:"connections",description:"Connect an external agent to this project's tools over MCP.",label:"Connect MCP",href:"/connections/",icon:i.f},{id:"plugins",description:"Extend the tools available to this project's actions.",label:"Plugins",href:"/plugins/",icon:d.f}]},{id:"activity",label:"Action activity",items:[{id:"runs",description:"Follow execution, review approvals and inspect results.",label:"Runs",href:"/runs/",icon:f.f},{id:"schedules",description:"Manage recurring workflows and their next run.",label:"Schedules",href:"/schedules/",icon:a.f},{id:"webhooks",description:"Register action triggers and inspect delivery health.",label:"Webhooks",href:"/webhooks/",icon:i.f},{id:"approvals",description:"Review work that needs a human decision.",label:"Approvals",href:"/approvals/",icon:t.f}]},{id:"workspace",label:"Workspace",items:[{id:"home",description:"Your workspace at a glance.",label:"Workspace home",href:"/",icon:l.f},{id:"credentials",description:"Manage encrypted provider credentials.",label:"Credentials",href:"/credentials/",icon:u.f},{id:"documents",description:"Knowledge and memory shared across your workspace.",label:"Documents & memory",href:"/documents/",icon:r.f},{id:"tables",label:"Tables",href:"/tables/",icon:h.f},{id:"artifacts",description:"Inspect and download files produced by your runs.",label:"Artifacts",href:"/artifacts/",icon:c.f},{id:"members",description:"Manage access to your workspace.",label:"People",href:"/people/",icon:m.f},{id:"audit",label:"Audit log",href:"/audit/",icon:n.f},{id:"settings",description:"Workspace access and available capabilities.",label:"Settings",href:"/settings/",icon:p.f}]}],g=v.flatMap(e=>e.items),y=g.filter(e=>["credentials","members","audit"].includes(e.id)),b=new Set(v.filter(e=>"activity"===e.id).flatMap(e=>e.items.map(e=>e.id))),w=new Set(v.filter(e=>"workspace"!==e.id).flatMap(e=>e.items.map(e=>e.id))),k=v.filter(e=>"activity"!==e.id).map(e=>({...e,items:e.items.filter(e=>y.every(t=>t.id!==e.id))}));function x(e,t,n=""){let r=function(e,t=""){let n=g.find(t=>t.id===e)?.href??"/";return t?`${n}?${new URLSearchParams({[({runs:"run",actions:"action"})[e]??"record"]:t}).toString()}`:n}(e,n);return t&&w.has(e)?`${r}${r.includes("?")?"&":"?"}${new URLSearchParams({project:t}).toString()}`:r}function E(e){let t="/"===e?"/":`${e.replace(/\/$/,"")}/`;return g.find(e=>e.href===t)?.id??"home"}e.s(["W",0,b,"H",0,function(e,t){return t.get("project")??("work"===E(e)?t.get("record"):null)},"l",0,x,"B",0,function(e,t){return b.has(e)?x("actions",t):x(w.has(e)?e:"work",t)},"t",0,w,"i",0,y,"J",0,k,"n",0,g,"d",0,E])},93066,e=>{"use strict";var t=e.i(71645),n=e.i(18566),r=e.i(87309);function o(){let e=Reflect.get(globalThis,"navigation");if(null===e||"object"!=typeof e)return;let t=Reflect.get(e,"currentEntry");return null!==t&&"object"==typeof t?t:void 0}function i(){let e=o(),t=e?Reflect.get(e,"key"):void 0;return"string"==typeof t?t:void 0}function a(e){let t=o(),n=Reflect.get(globalThis,"navigation");if(e&&null!==n&&"object"==typeof n){let r=Reflect.get(n,"entries");if("function"==typeof r){let o=Reflect.apply(r,n,[]);if(Array.isArray(o)){let n=o.find(t=>null!==t&&"object"==typeof t&&Reflect.get(t,"key")===e);null!==n&&"object"==typeof n&&(t=n)}}}let r=t?Reflect.get(t,"index"):void 0;return"number"==typeof r?r:void 0}e.s(["f",0,function(e){let o=(0,n.useRouter)(),s=(0,r.h)(),c=(0,t.useRef)(e);(0,t.useEffect)(()=>{c.current=e},[e]);let l=(0,t.useCallback)(async e=>{e===`${location.pathname}${location.search}`||(!c.current||await s())&&o.push(e)},[o,s]);return(0,t.useEffect)(()=>{let e=a(),t=i(),n=location.href,r=history.state,l="idle",u=0,d=()=>{e=a(),t=i(),n=location.href,r=history.state},f=e=>{let t=Reflect.get(e,"navigationType");("push"===t||"replace"===t)&&d()},p=i=>{if("allowing"===l){l="idle",d();return}if("restoring"===l){i.stopImmediatePropagation(),l="idle",s().then(e=>{e&&(l="allowing",history.go(u))});return}if(!c.current)return void d();i.stopImmediatePropagation();let f=a(),p=t?a(t):e;if(void 0!==p&&void 0!==f&&f!==p){u=f-p,l="restoring",history.go(-u);return}let h=`${location.pathname}${location.search}`;history.pushState(r,"",n),s().then(e=>{e&&o.push(h)})},h=Reflect.get(globalThis,"navigation");return h instanceof EventTarget&&h.addEventListener("currententrychange",f),addEventListener("popstate",p,{capture:!0}),()=>{removeEventListener("popstate",p,{capture:!0}),h instanceof EventTarget&&h.removeEventListener("currententrychange",f)}},[o,s]),{navigateTo:l}}])},94757,e=>{"use strict";e.s(["WorkspaceLayout",()=>E,"useWorkspace",()=>k],94757);var t=e.i(18050),n=e.i(73656),r=e.i(71645),o=e.i(18566),i=e.i(76046),a=e.i(95813),s=e.i(15080),c=e.i(87309),l=e.i(93066),u=e.i(19455),d=e.i(93583),f=e.i(63676),p=e.i(2716),h=e.i(94591),m=e.i(75016),v=e.i(69212),g=e.i(77071);function y({onNavigate:e}){let{projects:n,selected:r,switchProject:o,canManage:i}=k();return(0,t.jsxs)("div",{className:"border-b border-slate-200 px-4 py-4",children:[(0,t.jsx)("label",{htmlFor:"workspace-project",className:"mb-2! text-xs text-slate-500",children:"Project"}),(0,t.jsxs)("select",{id:"workspace-project",value:r,disabled:0===n.length,className:"min-w-0 text-sm",onChange:e=>{o(e.target.value)},children:[r?null:(0,t.jsx)("option",{value:"",children:0===n.length?"No projects yet":"Choose a project"}),n.map(e=>(0,t.jsx)("option",{value:e.id,children:e.name},e.id))]}),i?(0,t.jsxs)(m.f,{className:"mt-3 flex items-center gap-2 text-xs font-medium",href:"/projects/?new=1",onNavigate:e,children:[(0,t.jsx)(g.f,{size:14,"aria-hidden":"true"}),"New project"]}):null]})}function b({tab:e,children:n}){let{projects:o,selected:i,workspace:a}=k(),s=o.find(e=>e.id===i),[c,l]=(0,r.useState)(!1),[g,w]=(0,r.useState)(null),x=(0,r.useRef)(null),E=(0,r.useRef)(null),j=(0,r.useRef)(null),C=(0,r.useRef)(!1),S=()=>{l(!1)};(0,r.useEffect)(()=>{if(!c){C.current&&E.current?.focus(),C.current=!1;return}C.current=!0;let e=document.body.style.overflow;document.body.style.overflow="hidden",x.current?.focus();let t=e=>{if(e.defaultPrevented||("Escape"===e.key&&l(!1),"Tab"!==e.key))return;let t=j.current?.querySelectorAll("a[href], button:not([disabled]), select:not([disabled])"),n=t?.[0],r=t?.[t.length-1];e.shiftKey&&document.activeElement===n?(e.preventDefault(),r?.focus()):e.shiftKey||document.activeElement!==r||(e.preventDefault(),n?.focus())};return addEventListener("keydown",t),()=>{document.body.style.overflow=e,removeEventListener("keydown",t)}},[c]),(0,r.useEffect)(()=>{let e=matchMedia("(min-width: 768px)"),t=()=>{e.matches&&l(!1)};return e.addEventListener("change",t),()=>{e.removeEventListener("change",t)}},[]);let N=h.n.find(t=>t.id===e),R=N?.label??"Projects";return(0,t.jsxs)("div",{className:"shell",children:[c?(0,t.jsx)("div",{className:"drawer-backdrop","aria-hidden":"true",onClick:S}):void 0,(0,t.jsxs)("aside",{ref:j,id:"workspace-navigation",className:`workspace-sidebar ${c?"is-open":""}`,"aria-label":"Workspace navigation",role:c?"dialog":void 0,"aria-modal":!!c||void 0,children:[(0,t.jsxs)("div",{className:"workspace-brand",children:[(0,t.jsx)(p.f,{className:"bot-mark"}),(0,t.jsx)("span",{children:"OrgSDK"}),(0,t.jsx)(u.f,{ref:x,className:"mobile-only icon-button secondary",onClick:S,"aria-label":"Close navigation",children:(0,t.jsx)(f.X,{size:18})})]}),(0,t.jsx)(y,{onNavigate:S}),(0,t.jsx)("nav",{className:"flex flex-col","aria-label":"Project and workspace",children:h.J.map(n=>(0,t.jsxs)("div",{className:`nav-group ${"workspace"===n.id?"mt-auto pt-6":""}`,children:[(0,t.jsx)("p",{className:"eyebrow",children:n.label}),n.items.map(n=>{let r=e===n.id||"actions"===n.id&&h.W.has(e)||"settings"===n.id&&h.i.some(t=>t.id===e),o=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.icon,{size:17,"aria-hidden":"true"}),n.label]});return(0,t.jsx)(m.f,{href:(0,h.l)(n.id,i),"aria-current":r?"page":void 0,className:r?"active":"",onNavigate:S,children:o},n.id)})]},n.id))}),(0,t.jsxs)("div",{className:"workspace-label",children:[(0,t.jsx)("span",{className:"workspace-avatar",children:a.slice(0,1).toUpperCase()}),(0,t.jsxs)("span",{children:[a,(0,t.jsx)("small",{children:"Local workspace"})]})]})]}),(0,t.jsxs)("div",{className:"workspace-body",inert:c,children:[(0,t.jsxs)("header",{className:`workspace-header ${"actions"===e?"workspace-action-header":""}`,children:[(0,t.jsxs)("div",{className:"row",children:[(0,t.jsx)(u.f,{ref:E,className:"mobile-only icon-button secondary","aria-label":"Open navigation","aria-expanded":c,"aria-controls":"workspace-navigation",onClick:()=>{l(!0)},children:(0,t.jsx)(d.f,{size:18})}),"actions"===e?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"muted max-w-52 truncate",children:h.t.has(e)?s?.name??"Project":a}),(0,t.jsx)("span",{className:"breadcrumb-divider",children:"/"}),(0,t.jsx)("strong",{children:R})]})]}),"actions"===e?(0,t.jsx)("div",{className:"workspace-page-header",ref:w}):(0,t.jsx)("span",{className:"badge",children:a})]}),(0,t.jsxs)("main",{className:"actions"===e?"action-page":void 0,children:[(0,t.jsxs)("div",{className:"actions"===e?"sr-only":"page-heading",children:[(0,t.jsx)("h1",{children:R}),(0,t.jsx)("p",{children:N?.description})]}),(0,t.jsx)(v.q,{value:g,children:n})]})]})]})}let w=(0,r.createContext)(void 0);function k(){let e=(0,r.useContext)(w);if(!e)throw Error("Workspace screen must be inside the workspace layout.");return e}function x({children:e}){let[c,u]=(0,r.useState)(!1),[d,f]=(0,r.useState)([]),[p,m]=(0,r.useState)(""),[v,g]=(0,r.useState)("Your workspace"),[y,k]=(0,r.useState)(),[E,j]=(0,r.useState)("member"),[C,S]=(0,r.useState)(!1),[N,R]=(0,r.useState)(""),[D,M]=(0,r.useState)(""),[P,A]=(0,r.useState)({key:"",message:""}),O=(0,o.usePathname)(),L=(0,o.useSearchParams)(),{navigateTo:T}=(0,l.f)(C),I=L.get("action"),F=L.get("run"),z=I?`action:${I}`:"",W=F?`run:${F}`:z,_=(0,h.H)(O,L),U=c&&!W&&!!_&&d.every(e=>e.id!==_),$=U?"":p,B=P.key===W?P.message:"",V=U?"This project is unavailable. Choose another project from the sidebar.":B,q=(0,r.useCallback)(async e=>{let[t,r]=await Promise.all([(0,s.q)(e??new AbortController().signal),n.U.workspace.current.query(void 0,e?{signal:e}:void 0)]);e?.aborted||(f(t),m(e=>{for(let n of[e,(0,h.H)(location.pathname,new URLSearchParams(location.search)),function(e){try{return sessionStorage.getItem(`orgsdk:project:v1:${String(e)}`)}catch{return null}}(r.workspace.id)])if(n&&t.some(e=>e.id===n))return n;return t[0]?.id??""}),g(r.workspace.name),k(r.workspace.id),j(r.role??"member"))},[]);return((0,r.useEffect)(()=>{if($&&void 0!==y)try{sessionStorage.setItem(`orgsdk:project:v1:${String(y)}`,$)}catch{}},[$,y]),(0,r.useEffect)(()=>{let e=new AbortController;return(async()=>{try{let t=await (0,n.m)(e.signal);if(e.signal.aborted)return;if(!t.is_authenticated)return void(0,i.y)();await q(e.signal),e.signal.throwIfAborted(),u(!0)}catch(t){e.signal.aborted||R((0,a.f)(t))}})(),()=>{e.abort()}},[q]),(0,r.useEffect)(()=>{if(!c)return;let e=new AbortController,t=t=>{if(!e.signal.aborted){if(!t||d.every(e=>e.id!==t))throw Error("This record's project is unavailable. Choose another project from the sidebar.");m(t)}};return I||F?(async()=>{try{if(F){let r=await n.U.runs.get.query({id:F},{signal:e.signal});t(r.project)}else if(I){let r=await n.U.actions.get.query({id:I},{signal:e.signal});t(r.project)}e.signal.aborted||A({key:W,message:""})}catch(t){e.signal.aborted||A({key:W,message:(0,a.f)(t)})}finally{e.signal.aborted||M(W)}})():_&&!U&&t(_),()=>{e.abort()}},[d,_,U,I,F,W,c]),c)?(0,t.jsx)(w,{value:{projects:d,selected:$,setSelected:m,switchProject:async e=>{d.every(t=>t.id!==e)||await T((0,h.B)((0,h.d)(O),e))},workspace:v,role:E,canManage:"owner"===E||"admin"===E,isDirty:C,setDirty:S,refresh:q,goTo:e=>{T((0,h.l)(e,$))},openRun:e=>{T((0,h.l)("runs",$,e))},navigateTo:T},children:(0,t.jsxs)(b,{tab:(0,h.d)(O),children:[N||V?(0,t.jsx)("div",{className:"error",role:"alert",children:N||V}):void 0,V||W&&W!==D?void 0:e,W&&W!==D?(0,t.jsx)("p",{role:"status",children:"Loading project…"}):void 0]})}):(0,t.jsx)("main",{className:"p-6",children:N?(0,t.jsx)("p",{className:"error",role:"alert",children:N}):(0,t.jsx)("p",{role:"status",children:"Loading your session…"})})}function E({children:e}){return(0,t.jsx)(c.$,{children:(0,t.jsx)(r.Suspense,{fallback:(0,t.jsx)("p",{role:"status",children:"Loading workspace…"}),children:(0,t.jsx)(x,{children:e})})})}},75016,e=>{"use strict";e.s(["f",()=>o]);var t=e.i(18050),n=e.i(22016),r=e.i(94757);function o({href:e,children:i,onNavigate:a,...s}){let{isDirty:c,navigateTo:l}=(0,r.useWorkspace)();return(0,t.jsx)(n.default,{href:e,...s,onNavigate:t=>{a?.(t),c&&(t.preventDefault(),l(e))},children:i})}}]);
|