conductor-oss 0.58.11 → 0.58.13
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/package.json +5 -5
- package/web/.next/standalone/packages/web/.next/BUILD_ID +1 -1
- package/web/.next/standalone/packages/web/.next/app-path-routes-manifest.json +9 -8
- package/web/.next/standalone/packages/web/.next/build-manifest.json +3 -3
- package/web/.next/standalone/packages/web/.next/prerender-manifest.json +3 -3
- package/web/.next/standalone/packages/web/.next/react-loadable-manifest.json +9 -9
- package/web/.next/standalone/packages/web/.next/routes-manifest.json +16 -8
- package/web/.next/standalone/packages/web/.next/server/app/__clerk/[[...path]]/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error/page.js +3 -3
- package/web/.next/standalone/packages/web/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.html +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_not-found/page.js +2 -2
- package/web/.next/standalone/packages/web/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/access/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/agents/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/app-update/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/attachments/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/auth/profile/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/boards/comments/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/boards/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridge/bridges/[bridgeId]/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridge/bridges/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridge/devices/[deviceId]/app-update/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridge/devices/[deviceId]/repair/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridge/devices/[deviceId]/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridge/devices/[deviceId]/service-restart/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridge/devices/claims/complete/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridge/devices/code/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridge/devices/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridges/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/config/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/context-files/open/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/context-files/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/events/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/executor/health/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/filesystem/directory/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/filesystem/pick-directory/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/github/projects/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/github/projects/sync/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/github/repos/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/github/webhook/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/health/boards/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/health/sessions/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/notifications/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/preferences/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/bindings/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/feed/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/feed/stream/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/integration/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/interrupt/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/preferences/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/send/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/tasks/[task]/handoff/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/tasks/[task]/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/tasks/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatchers/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/open/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/setup/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/repositories/[id]/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/repositories/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/actions/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/archive/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/checks/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/diff/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/files/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/keys/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/kill/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/output/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/output/stream/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/preview/dom/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/preview/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/preview/screenshot/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/restore/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/relay/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/snapshot/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/token/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/token/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/ttyd/route.js +1 -0
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/{ws → ttyd}/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/ttyd/route_client-reference-manifest.js +1 -0
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/ttyd/token/route.js +1 -0
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/ttyd/token/route.js.nft.json +1 -0
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/ttyd/token/route_client-reference-manifest.js +1 -0
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/ttyd/ws/route.js +1 -0
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/ttyd/ws/route.js.nft.json +1 -0
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/ttyd/ws/route_client-reference-manifest.js +1 -0
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/skills/activate/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/skills/catalog/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/skills/deactivate/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/skills/install/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/skills/installed/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/skills/session-active/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/skills/uninstall/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/spawn/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/workspaces/branches/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/workspaces/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/bridge/connect/page.js +2 -2
- package/web/.next/standalone/packages/web/.next/server/app/bridge/connect/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/bridge/connect/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/bridge/install.ps1/route.js +2 -2
- package/web/.next/standalone/packages/web/.next/server/app/bridge/install.sh/route.js +2 -2
- package/web/.next/standalone/packages/web/.next/server/app/icon.svg/route.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/page.js +2 -2
- package/web/.next/standalone/packages/web/.next/server/app/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sessions/[id]/page.js +2 -2
- package/web/.next/standalone/packages/web/.next/server/app/sessions/[id]/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sessions/[id]/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/settings/bridge/page.js +2 -2
- package/web/.next/standalone/packages/web/.next/server/app/settings/bridge/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/settings/bridge/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sign-in/[[...sign-in]]/page.js +2 -2
- package/web/.next/standalone/packages/web/.next/server/app/sign-in/[[...sign-in]]/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sign-in/[[...sign-in]]/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sign-in/hosted/page.js +2 -2
- package/web/.next/standalone/packages/web/.next/server/app/sign-in/hosted/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sign-in/hosted/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sign-in/sso-callback/page.js +2 -2
- package/web/.next/standalone/packages/web/.next/server/app/sign-in/sso-callback/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sign-in/sso-callback/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/unlock/page.js +2 -2
- package/web/.next/standalone/packages/web/.next/server/app/unlock/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/unlock/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app-paths-manifest.json +9 -8
- package/web/.next/standalone/packages/web/.next/server/chunks/2089.js +3 -3
- package/web/.next/standalone/packages/web/.next/server/chunks/2802.js +1 -0
- package/web/.next/standalone/packages/web/.next/server/chunks/3364.js +3 -0
- package/web/.next/standalone/packages/web/.next/server/chunks/3540.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/468.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/6034.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/8039.js +278 -0
- package/web/.next/standalone/packages/web/.next/server/chunks/9455.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/9615.js +1 -0
- package/web/.next/standalone/packages/web/.next/server/functions-config-manifest.json +3 -1
- package/web/.next/standalone/packages/web/.next/server/middleware-build-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/pages/500.html +1 -1
- package/web/.next/standalone/packages/web/.next/server/server-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/server-reference-manifest.json +1 -1
- package/web/.next/{static/chunks/5350.aa94c6b8388dca53.js → standalone/packages/web/.next/static/chunks/2969.7ed62af605513fc5.js} +1 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/{3838.04287296ac551c5a.js → 3838.e16cb2d72c562a24.js} +1 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/4443.562c2cf3b1c7eafe.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/{5493-3c038401c948cb3d.js → 5493-74e29d5110b6cee2.js} +1 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/7332.24d21240a4d8ae81.js +1 -0
- package/web/.next/{static/chunks/8510-31aacc0f9284f72c.js → standalone/packages/web/.next/static/chunks/8510-4802c67282856b73.js} +1 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/883-7ade258e2e6bccb9.js +3 -0
- package/web/.next/{static/chunks/9703-4fb004d4fc34e01d.js → standalone/packages/web/.next/static/chunks/9703-93347b812923255f.js} +2 -2
- package/web/.next/standalone/packages/web/.next/static/chunks/app/%5F%5Fclerk/[[...path]]/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/_global-error/page-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/access/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/agents/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/app-update/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/attachments/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/auth/profile/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/boards/comments/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/boards/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridge/bridges/[bridgeId]/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridge/bridges/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridge/devices/[deviceId]/app-update/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridge/devices/[deviceId]/repair/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridge/devices/[deviceId]/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridge/devices/[deviceId]/service-restart/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridge/devices/claims/complete/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridge/devices/code/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridge/devices/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridges/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/config/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/context-files/open/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/context-files/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/events/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/executor/health/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/filesystem/directory/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/filesystem/pick-directory/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/github/projects/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/github/projects/sync/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/github/repos/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/github/webhook/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/health/boards/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/health/sessions/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/notifications/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/preferences/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/bindings/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/feed/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/feed/stream/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/integration/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/interrupt/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/preferences/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/send/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/tasks/[task]/handoff/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/tasks/[task]/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/tasks/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatchers/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/open/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/setup/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/repositories/[id]/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/repositories/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/actions/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/archive/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/checks/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/diff/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/files/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/keys/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/kill/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/output/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/output/stream/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/preview/dom/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/preview/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/preview/screenshot/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/restore/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/terminal/relay/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/terminal/snapshot/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/terminal/token/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/terminal/ttyd/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/terminal/ttyd/token/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/terminal/ttyd/ws/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/skills/activate/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/skills/catalog/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/skills/deactivate/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/skills/install/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/skills/installed/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/skills/session-active/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/skills/uninstall/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/spawn/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/workspaces/branches/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/workspaces/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/bridge/connect/page-69fb7636334c3973.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/bridge/install.ps1/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/bridge/install.sh/route-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/layout-98e021b3f1f63ff8.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/sign-in/hosted/page-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/next/dist/client/components/builtin/app-error-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/next/dist/client/components/builtin/forbidden-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/next/dist/client/components/builtin/not-found-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/next/dist/client/components/builtin/unauthorized-da63d844222da45c.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/webpack-9b458b0e28d599e9.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/css/d31189a7bb85881e.css +1 -0
- package/web/.next/standalone/packages/web/.next/static/{jO6ko7NmCY6a2Z2B6Nswj → jX90efNmWKjmUhjR6uaGX}/_buildManifest.js +1 -1
- package/web/.next/{standalone/packages/web/.next/static/chunks/5350.aa94c6b8388dca53.js → static/chunks/2969.7ed62af605513fc5.js} +1 -1
- package/web/.next/static/chunks/{3838.04287296ac551c5a.js → 3838.e16cb2d72c562a24.js} +1 -1
- package/web/.next/static/chunks/4443.562c2cf3b1c7eafe.js +1 -0
- package/web/.next/static/chunks/{5493-3c038401c948cb3d.js → 5493-74e29d5110b6cee2.js} +1 -1
- package/web/.next/static/chunks/7332.24d21240a4d8ae81.js +1 -0
- package/web/.next/{standalone/packages/web/.next/static/chunks/8510-31aacc0f9284f72c.js → static/chunks/8510-4802c67282856b73.js} +1 -1
- package/web/.next/static/chunks/883-7ade258e2e6bccb9.js +3 -0
- package/web/.next/{standalone/packages/web/.next/static/chunks/9703-4fb004d4fc34e01d.js → static/chunks/9703-93347b812923255f.js} +2 -2
- package/web/.next/static/chunks/app/%5F%5Fclerk/[[...path]]/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/_global-error/page-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/access/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/agents/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/app-update/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/attachments/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/auth/profile/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/boards/comments/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/boards/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/bridge/bridges/[bridgeId]/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/bridge/bridges/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/bridge/devices/[deviceId]/app-update/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/bridge/devices/[deviceId]/repair/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/bridge/devices/[deviceId]/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/bridge/devices/[deviceId]/service-restart/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/bridge/devices/claims/complete/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/bridge/devices/code/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/bridge/devices/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/bridges/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/config/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/context-files/open/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/context-files/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/events/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/executor/health/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/filesystem/directory/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/filesystem/pick-directory/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/github/projects/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/github/projects/sync/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/github/repos/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/github/webhook/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/health/boards/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/health/sessions/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/notifications/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/preferences/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/bindings/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/feed/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/feed/stream/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/integration/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/interrupt/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/preferences/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/send/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/tasks/[task]/handoff/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/tasks/[task]/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/tasks/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/projects/[id]/dispatchers/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/projects/[id]/open/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/projects/[id]/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/projects/[id]/setup/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/projects/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/repositories/[id]/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/repositories/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/actions/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/archive/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/checks/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/diff/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/files/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/keys/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/kill/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/output/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/output/stream/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/preview/dom/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/preview/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/preview/screenshot/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/restore/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/terminal/relay/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/terminal/snapshot/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/terminal/token/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/terminal/ttyd/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/terminal/ttyd/token/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/[id]/terminal/ttyd/ws/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/sessions/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/skills/activate/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/skills/catalog/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/skills/deactivate/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/skills/install/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/skills/installed/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/skills/session-active/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/skills/uninstall/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/spawn/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/workspaces/branches/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/api/workspaces/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/bridge/connect/page-69fb7636334c3973.js +1 -0
- package/web/.next/static/chunks/app/bridge/install.ps1/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/bridge/install.sh/route-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/app/layout-98e021b3f1f63ff8.js +1 -0
- package/web/.next/static/chunks/app/sign-in/hosted/page-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/next/dist/client/components/builtin/app-error-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/next/dist/client/components/builtin/forbidden-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/next/dist/client/components/builtin/not-found-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/next/dist/client/components/builtin/unauthorized-da63d844222da45c.js +1 -0
- package/web/.next/static/chunks/webpack-9b458b0e28d599e9.js +1 -0
- package/web/.next/static/css/d31189a7bb85881e.css +1 -0
- package/web/.next/static/{jO6ko7NmCY6a2Z2B6Nswj → jX90efNmWKjmUhjR6uaGX}/_buildManifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/ws/route.js +0 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/ws/route_client-reference-manifest.js +0 -1
- package/web/.next/standalone/packages/web/.next/server/app/embed/terminal/[id]/page.js +0 -5
- package/web/.next/standalone/packages/web/.next/server/app/embed/terminal/[id]/page.js.nft.json +0 -1
- package/web/.next/standalone/packages/web/.next/server/app/embed/terminal/[id]/page_client-reference-manifest.js +0 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/3354.js +0 -3
- package/web/.next/standalone/packages/web/.next/server/chunks/6451.js +0 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/7041.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/4443.17ae40650d585234.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/5052-49d421687caeb5e6.js +0 -3
- package/web/.next/standalone/packages/web/.next/static/chunks/7058.5e3b2df8c4338a25.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/%5F%5Fclerk/[[...path]]/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/_global-error/page-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/access/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/agents/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/app-update/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/attachments/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/auth/profile/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/boards/comments/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/boards/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridge/bridges/[bridgeId]/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridge/bridges/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridge/devices/[deviceId]/app-update/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridge/devices/[deviceId]/repair/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridge/devices/[deviceId]/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridge/devices/[deviceId]/service-restart/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridge/devices/claims/complete/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridge/devices/code/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridge/devices/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/bridges/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/config/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/context-files/open/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/context-files/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/events/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/executor/health/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/filesystem/directory/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/filesystem/pick-directory/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/github/projects/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/github/projects/sync/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/github/repos/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/github/webhook/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/health/boards/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/health/sessions/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/notifications/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/preferences/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/bindings/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/feed/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/feed/stream/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/integration/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/interrupt/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/preferences/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/send/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/tasks/[task]/handoff/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/tasks/[task]/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatcher/tasks/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/dispatchers/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/open/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/[id]/setup/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/projects/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/repositories/[id]/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/repositories/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/actions/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/archive/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/checks/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/diff/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/files/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/keys/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/kill/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/output/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/output/stream/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/preview/dom/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/preview/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/preview/screenshot/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/restore/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/terminal/relay/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/terminal/snapshot/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/terminal/token/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/[id]/terminal/ws/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/sessions/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/skills/activate/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/skills/catalog/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/skills/deactivate/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/skills/install/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/skills/installed/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/skills/session-active/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/skills/uninstall/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/spawn/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/workspaces/branches/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/api/workspaces/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/bridge/connect/page-b4b4f6f55fe2d74e.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/bridge/install.ps1/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/bridge/install.sh/route-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/embed/terminal/[id]/page-292cb86b7e9d9a89.js +0 -2
- package/web/.next/standalone/packages/web/.next/static/chunks/app/layout-c2e09cb97a19b1e9.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/sign-in/hosted/page-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/ca465714-4d31bfa1a1fb3e89.js +0 -3
- package/web/.next/standalone/packages/web/.next/static/chunks/next/dist/client/components/builtin/app-error-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/next/dist/client/components/builtin/forbidden-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/next/dist/client/components/builtin/not-found-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/next/dist/client/components/builtin/unauthorized-2014857132332e79.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/webpack-7784675131276b48.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/css/5641252ec0e3c7e7.css +0 -1
- package/web/.next/standalone/packages/web/.next/static/css/6ef2fa08dd043252.css +0 -1
- package/web/.next/static/chunks/4443.17ae40650d585234.js +0 -1
- package/web/.next/static/chunks/5052-49d421687caeb5e6.js +0 -3
- package/web/.next/static/chunks/7058.5e3b2df8c4338a25.js +0 -1
- package/web/.next/static/chunks/app/%5F%5Fclerk/[[...path]]/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/_global-error/page-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/access/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/agents/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/app-update/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/attachments/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/auth/profile/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/boards/comments/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/boards/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/bridge/bridges/[bridgeId]/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/bridge/bridges/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/bridge/devices/[deviceId]/app-update/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/bridge/devices/[deviceId]/repair/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/bridge/devices/[deviceId]/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/bridge/devices/[deviceId]/service-restart/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/bridge/devices/claims/complete/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/bridge/devices/code/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/bridge/devices/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/bridges/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/config/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/context-files/open/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/context-files/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/events/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/executor/health/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/filesystem/directory/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/filesystem/pick-directory/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/github/projects/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/github/projects/sync/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/github/repos/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/github/webhook/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/health/boards/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/health/sessions/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/notifications/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/preferences/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/bindings/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/feed/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/feed/stream/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/integration/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/interrupt/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/preferences/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/send/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/tasks/[task]/handoff/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/tasks/[task]/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/projects/[id]/dispatcher/tasks/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/projects/[id]/dispatchers/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/projects/[id]/open/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/projects/[id]/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/projects/[id]/setup/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/projects/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/repositories/[id]/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/repositories/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/sessions/[id]/actions/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/sessions/[id]/archive/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/sessions/[id]/checks/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/sessions/[id]/diff/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/sessions/[id]/files/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/sessions/[id]/keys/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/sessions/[id]/kill/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/sessions/[id]/output/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/sessions/[id]/output/stream/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/sessions/[id]/preview/dom/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/sessions/[id]/preview/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/sessions/[id]/preview/screenshot/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/sessions/[id]/restore/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/sessions/[id]/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/sessions/[id]/terminal/relay/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/sessions/[id]/terminal/snapshot/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/sessions/[id]/terminal/token/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/sessions/[id]/terminal/ws/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/sessions/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/skills/activate/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/skills/catalog/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/skills/deactivate/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/skills/install/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/skills/installed/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/skills/session-active/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/skills/uninstall/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/spawn/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/workspaces/branches/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/api/workspaces/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/bridge/connect/page-b4b4f6f55fe2d74e.js +0 -1
- package/web/.next/static/chunks/app/bridge/install.ps1/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/bridge/install.sh/route-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/app/embed/terminal/[id]/page-292cb86b7e9d9a89.js +0 -2
- package/web/.next/static/chunks/app/layout-c2e09cb97a19b1e9.js +0 -1
- package/web/.next/static/chunks/app/sign-in/hosted/page-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/ca465714-4d31bfa1a1fb3e89.js +0 -3
- package/web/.next/static/chunks/next/dist/client/components/builtin/app-error-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/next/dist/client/components/builtin/forbidden-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/next/dist/client/components/builtin/not-found-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/next/dist/client/components/builtin/unauthorized-2014857132332e79.js +0 -1
- package/web/.next/static/chunks/webpack-7784675131276b48.js +0 -1
- package/web/.next/static/css/5641252ec0e3c7e7.css +0 -1
- package/web/.next/static/css/6ef2fa08dd043252.css +0 -1
- /package/web/.next/standalone/packages/web/.next/static/{jO6ko7NmCY6a2Z2B6Nswj → jX90efNmWKjmUhjR6uaGX}/_ssgManifest.js +0 -0
- /package/web/.next/static/{jO6ko7NmCY6a2Z2B6Nswj → jX90efNmWKjmUhjR6uaGX}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.id=6034,exports.ids=[6034,9789],exports.modules={2621:(a,b,c)=>{c.d(b,{DK:()=>e,VM:()=>g,hq:()=>d,qg:()=>f,re:()=>h});let d="overscroll-contain touch-pan-y [-webkit-overflow-scrolling:touch]",e=`overflow-y-auto ${d}`,f="min-h-0 flex-1 overflow-hidden bg-[#0f1012] p-3",g=d;function h(a){return["flex h-full min-h-0 min-w-0 w-full flex-col",a?"overflow-hidden bg-[#060404]":"overflow-hidden"].join(" ")}},7071:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(37303).A)("square-terminal",[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]])},7901:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(37303).A)("folder",[["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"}]])},26993:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(37303).A)("puzzle",[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]])},32792:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(37303).A)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},50898:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(37303).A)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]])},52404:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(37303).A)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},54761:(a,b,c)=>{c.d(b,{Wu:()=>h,Zp:()=>f,aR:()=>g});var d=c(92692),e=c(93544);let f=(0,c(71277).forwardRef)(({className:a,...b},c)=>(0,d.jsx)("div",{ref:c,className:(0,e.cn)("surface-card rounded-[var(--radius-md)] border",a),...b}));function g({className:a,...b}){return(0,d.jsx)("div",{className:(0,e.cn)("flex items-center gap-2 border-b border-[var(--vk-border)] px-3 py-2",a),...b})}function h({className:a,...b}){return(0,d.jsx)("div",{className:(0,e.cn)("px-3 py-2",a),...b})}f.displayName="Card"},57658:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(37303).A)("git-branch",[["path",{d:"M15 6a9 9 0 0 0-9 9V3",key:"1cii5b"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}]])},59789:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(37303).A)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]])},67811:(a,b,c)=>{c.d(b,{g:()=>g});var d=c(71277),e=c(46818);function f(a){return!a||"object"!=typeof a||Array.isArray(a)?{}:{...a}}function g(a,b){let c=b?.enabled??!0,[g,h]=(0,d.useState)(null),[i,j]=(0,d.useState)(c),[k,l]=(0,d.useState)(null),m=(0,d.useCallback)(async()=>{if(!c){h(null),l(null),j(!1);return}try{var b;let c,d,g,i=await fetch((0,e.S)("/api/preferences",a)),j=await i.json().catch(()=>null);if(!i.ok)throw Error(j?.error??j?.reason??`Failed to load preferences: ${i.status}`);h((b=j?.preferences,c=f(b),g=(d=f(c.notifications)).soundFile,{onboardingAcknowledged:!0===c.onboardingAcknowledged,codingAgent:"string"==typeof c.codingAgent&&c.codingAgent.trim().length>0?c.codingAgent.trim():"claude-code",ide:"string"==typeof c.ide&&c.ide.trim().length>0?c.ide.trim():"vscode",markdownEditor:"string"==typeof c.markdownEditor&&c.markdownEditor.trim().length>0?c.markdownEditor.trim():"obsidian",markdownEditorPath:"string"==typeof c.markdownEditorPath?c.markdownEditorPath.trim():"",notifications:{soundEnabled:!1!==d.soundEnabled,soundFile:null===g?null:"string"==typeof g&&g.trim().length>0?g.trim():"abstract-sound-4"}})),l(null)}catch(a){h(null),l(a instanceof Error?a.message:"Failed to load preferences")}finally{j(!1)}},[a,c]);return{preferences:c?g:null,loading:!!c&&i,error:c?k:null,refresh:m}}},71943:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(37303).A)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]])},74712:(a,b,c)=>{c.d(b,{tU:()=>D,av:()=>G,j7:()=>E,Xi:()=>F});var d=c(92692),e=c(71277),f=c(74508),g=c(63660),h=c(64121),i=c(64308),j=c(5707),k=c(8370),l=c(50904),m=c(92408),n="Tabs",[o,p]=(0,g.A)(n,[h.RG]),q=(0,h.RG)(),[r,s]=o(n),t=e.forwardRef((a,b)=>{let{__scopeTabs:c,value:e,onValueChange:f,defaultValue:g,orientation:h="horizontal",dir:i,activationMode:o="automatic",...p}=a,q=(0,k.jH)(i),[s,t]=(0,l.i)({prop:e,onChange:f,defaultProp:g??"",caller:n});return(0,d.jsx)(r,{scope:c,baseId:(0,m.B)(),value:s,onValueChange:t,orientation:h,dir:q,activationMode:o,children:(0,d.jsx)(j.sG.div,{dir:q,"data-orientation":h,...p,ref:b})})});t.displayName=n;var u="TabsList",v=e.forwardRef((a,b)=>{let{__scopeTabs:c,loop:e=!0,...f}=a,g=s(u,c),i=q(c);return(0,d.jsx)(h.bL,{asChild:!0,...i,orientation:g.orientation,dir:g.dir,loop:e,children:(0,d.jsx)(j.sG.div,{role:"tablist","aria-orientation":g.orientation,...f,ref:b})})});v.displayName=u;var w="TabsTrigger",x=e.forwardRef((a,b)=>{let{__scopeTabs:c,value:e,disabled:g=!1,...i}=a,k=s(w,c),l=q(c),m=A(k.baseId,e),n=B(k.baseId,e),o=e===k.value;return(0,d.jsx)(h.q7,{asChild:!0,...l,focusable:!g,active:o,children:(0,d.jsx)(j.sG.button,{type:"button",role:"tab","aria-selected":o,"aria-controls":n,"data-state":o?"active":"inactive","data-disabled":g?"":void 0,disabled:g,id:m,...i,ref:b,onMouseDown:(0,f.mK)(a.onMouseDown,a=>{g||0!==a.button||!1!==a.ctrlKey?a.preventDefault():k.onValueChange(e)}),onKeyDown:(0,f.mK)(a.onKeyDown,a=>{[" ","Enter"].includes(a.key)&&k.onValueChange(e)}),onFocus:(0,f.mK)(a.onFocus,()=>{let a="manual"!==k.activationMode;o||g||!a||k.onValueChange(e)})})})});x.displayName=w;var y="TabsContent",z=e.forwardRef((a,b)=>{let{__scopeTabs:c,value:f,forceMount:g,children:h,...k}=a,l=s(y,c),m=A(l.baseId,f),n=B(l.baseId,f),o=f===l.value,p=e.useRef(o);return e.useEffect(()=>{let a=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(a)},[]),(0,d.jsx)(i.C,{present:g||o,children:({present:c})=>(0,d.jsx)(j.sG.div,{"data-state":o?"active":"inactive","data-orientation":l.orientation,role:"tabpanel","aria-labelledby":m,hidden:!c,id:n,tabIndex:0,...k,ref:b,style:{...a.style,animationDuration:p.current?"0s":void 0},children:c&&h})})});function A(a,b){return`${a}-trigger-${b}`}function B(a,b){return`${a}-content-${b}`}z.displayName=y;var C=c(93544);let D=t,E=(0,e.forwardRef)(({className:a,...b},c)=>(0,d.jsx)(v,{ref:c,className:(0,C.cn)("inline-flex max-w-full items-center gap-0.5 overflow-x-auto rounded-[3px] border border-[var(--vk-border)] bg-[var(--vk-bg-panel)] p-0.5 whitespace-nowrap touch-pan-x [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",a),...b}));E.displayName="TabsList";let F=(0,e.forwardRef)(({className:a,...b},c)=>(0,d.jsx)(x,{ref:c,className:(0,C.cn)("inline-flex min-h-[34px] shrink-0 items-center gap-1.5 rounded-[3px] px-2.5 py-1.5 text-[12px] text-[var(--vk-text-muted)]","data-[state=active]:bg-[var(--vk-bg-active)] data-[state=active]:text-[var(--vk-text-normal)]","hover:text-[var(--vk-text-normal)]","focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-[var(--vk-orange)]",a),...b}));F.displayName="TabsTrigger";let G=(0,e.forwardRef)(({className:a,...b},c)=>(0,d.jsx)(z,{ref:c,className:(0,C.cn)("focus-visible:outline-none",a),...b}));G.displayName="TabsContent"},79101:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(37303).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},96034:(a,b,c)=>{c.r(b),c.d(b,{SessionDetail:()=>ap});var d=c(92692),e=c(3429),f=c(71277),g=c(67994),h=c(37303);let i=(0,h.A)("layout-dashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]),j=(0,h.A)("git-compare",[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M13 6h3a2 2 0 0 1 2 2v7",key:"1yeb86"}],["path",{d:"M11 18H8a2 2 0 0 1-2-2V9",key:"19pyzm"}]]);var k=c(50898),l=c(7071),m=c(52404),n=c(26993),o=c(62170),p=c(74712),q=c(54761),r=c(1071),s=c(33857),t=c(19954),u=c(29942),v=c(49549),w=c(13636),x=c(86263),y=c(79101),z=c(51430),A=c(7901);let B=(0,h.A)("file",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]]);var C=c(64583),D=c(32792),E=c(59789),F=c(75185),G=c(57658);let H=(0,h.A)("timer",[["line",{x1:"10",x2:"14",y1:"2",y2:"2",key:"14vaq8"}],["line",{x1:"12",x2:"15",y1:"14",y2:"11",key:"17fdiu"}],["circle",{cx:"12",cy:"14",r:"8",key:"1e1u0o"}]]),I=(0,h.A)("dollar-sign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]]);var J=c(86018),K=c(2621);function L({text:a}){let[b,c]=(0,f.useState)(!1);async function e(){try{await navigator.clipboard.writeText(a),c(!0),window.setTimeout(()=>c(!1),1400)}catch{}}return(0,d.jsxs)("button",{type:"button",onClick:()=>void e(),className:"inline-flex max-w-[180px] items-center gap-1 font-mono text-[11px] text-[var(--vk-text-muted)] transition-colors hover:text-[var(--vk-text-normal)]",children:[(0,d.jsx)("span",{className:"truncate",children:a}),b?(0,d.jsx)(v.A,{className:"h-3 w-3 shrink-0 text-emerald-400"}):(0,d.jsx)(w.A,{className:"h-3 w-3 shrink-0 opacity-50"})]})}function M(a,b){let c=a.metadata[b];return"string"==typeof c&&c.trim().length>0?c:void 0}function N(a){if(!a)return null;let b=Number.parseInt(a,10);return Number.isFinite(b)&&b>0?b:null}function O({node:a,depth:b,selectedPath:c,expandedDirs:e,onToggleDir:f,onSelectFile:g}){let h=e.has(a.path),i=a.path===c,j=8+16*b;return a.isDir?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("button",{type:"button",onClick:()=>f(a.path),className:"flex w-full items-center gap-1.5 py-1.5 text-left text-[12px] text-[var(--vk-text-muted)] hover:bg-white/4 active:bg-white/6",style:{paddingLeft:j},children:[h?(0,d.jsx)(x.A,{className:"h-3 w-3 shrink-0 opacity-50"}):(0,d.jsx)(y.A,{className:"h-3 w-3 shrink-0 opacity-50"}),h?(0,d.jsx)(z.A,{className:"h-3.5 w-3.5 shrink-0 text-amber-400/70"}):(0,d.jsx)(A.A,{className:"h-3.5 w-3.5 shrink-0 text-amber-400/70"}),(0,d.jsx)("span",{className:"truncate",children:a.name})]}),h?a.children.map(a=>(0,d.jsx)(O,{node:a,depth:b+1,selectedPath:c,expandedDirs:e,onToggleDir:f,onSelectFile:g},a.path)):null]}):(0,d.jsxs)("button",{type:"button",onClick:()=>g(a.path),className:`flex w-full items-center gap-1.5 py-1.5 pr-2 text-left text-[12px] transition-colors ${i?"bg-blue-500/10 text-[var(--vk-text-strong)]":"text-[var(--vk-text-normal)] hover:bg-white/4"}`,style:{paddingLeft:j+16},children:[(0,d.jsx)(B,{className:"h-3.5 w-3.5 shrink-0 text-[var(--vk-text-muted)]"}),(0,d.jsx)("span",{className:"truncate",children:a.name})]})}let P={js:"javascript",jsx:"jsx",ts:"typescript",tsx:"tsx",mjs:"javascript",cjs:"javascript",mts:"typescript",cts:"typescript",html:"html",htm:"html",css:"css",scss:"scss",sass:"sass",less:"less",vue:"vue",svelte:"svelte",astro:"astro",json:"json",jsonc:"jsonc",json5:"json5",yaml:"yaml",yml:"yaml",toml:"toml",ini:"ini",xml:"xml",svg:"xml",plist:"xml",csv:"csv",tsv:"csv",md:"markdown",mdx:"mdx",tex:"latex",rst:"rst",rs:"rust",go:"go",c:"c",h:"c",cpp:"cpp",cc:"cpp",cxx:"cpp",hpp:"cpp",hh:"cpp",cs:"csharp",java:"java",kt:"kotlin",kts:"kotlin",scala:"scala",swift:"swift",m:"objective-c",mm:"objective-cpp",zig:"zig",nim:"nim",v:"v",d:"d",py:"python",pyi:"python",rb:"ruby",php:"php",pl:"perl",pm:"perl",lua:"lua",r:"r",R:"r",jl:"julia",ex:"elixir",exs:"elixir",erl:"erlang",hrl:"erlang",hs:"haskell",lhs:"haskell",clj:"clojure",cljs:"clojure",ml:"ocaml",mli:"ocaml",fs:"fsharp",fsx:"fsharp",sh:"bash",bash:"bash",zsh:"bash",fish:"fish",ps1:"powershell",psm1:"powershell",bat:"bat",cmd:"bat",dockerfile:"dockerfile",containerfile:"dockerfile",tf:"hcl",hcl:"hcl",nix:"nix",sql:"sql",graphql:"graphql",gql:"graphql",prisma:"prisma",proto:"protobuf",thrift:"thrift",makefile:"makefile",cmake:"cmake",asm:"asm",s:"asm",diff:"diff",patch:"diff",log:"log",txt:"plaintext",env:"dotenv",lock:"json"},Q={makefile:"makefile",Makefile:"makefile",dockerfile:"dockerfile",Dockerfile:"dockerfile",containerfile:"dockerfile",Containerfile:"dockerfile",gemfile:"ruby",Gemfile:"ruby",rakefile:"ruby",Rakefile:"ruby",cmakelists:"cmake",CMakeLists:"cmake",".gitignore":"gitignore",".dockerignore":"gitignore",".editorconfig":"ini",".prettierrc":"json",".eslintrc":"json",".babelrc":"json",".env":"dotenv",".env.local":"dotenv",".env.production":"dotenv","tsconfig.json":"jsonc","jsconfig.json":"jsonc"},R=new Set(["png","jpg","jpeg","gif","webp","svg","ico","bmp","avif"]);function S(a){let b=a.split("/").pop()??"",c=b.lastIndexOf(".");return c>=0?b.slice(c+1).toLowerCase():""}function T({code:a,lang:b}){let[c,e]=(0,f.useState)(null);if((0,f.useRef)(a),(0,f.useRef)(b),!c){let b=a.split("\n"),c=String(b.length).length;return(0,d.jsx)("div",{className:"inline-block min-w-full align-top",children:(0,d.jsx)("table",{className:"min-w-full border-collapse font-mono text-[11px] leading-5",children:(0,d.jsx)("tbody",{children:b.map((a,b)=>(0,d.jsxs)("tr",{className:"hover:bg-white/3",children:[(0,d.jsx)("td",{className:"select-none whitespace-nowrap border-r border-white/6 px-2 text-right text-[var(--vk-text-muted)] opacity-40",style:{minWidth:`${c+2}ch`},children:b+1}),(0,d.jsx)("td",{className:"whitespace-pre px-3 text-[var(--vk-text-normal)]",children:a||"\xa0"})]},b))})})})}return(0,d.jsx)("div",{className:"shiki-viewer inline-block min-w-full align-top [&_.shiki]:!bg-transparent [&_.shiki]:p-0 [&_code]:text-[11px] [&_code]:leading-5 [&_pre]:!bg-transparent [&_pre]:!p-0",dangerouslySetInnerHTML:{__html:c}})}function U({sessionId:a,filePath:b}){let[c,e]=(0,f.useState)(null),[g,h]=(0,f.useState)(!0),[i,j]=(0,f.useState)(null),[k,l]=(0,f.useState)(!1),[m,n]=(0,f.useState)(!1),[o,p]=(0,f.useState)(0);if(g)return(0,d.jsxs)("div",{className:"flex h-full items-center justify-center gap-2 text-[12px] text-[var(--vk-text-muted)]",children:[(0,d.jsx)(C.A,{className:"h-4 w-4 animate-spin"}),"Loading…"]});if(i)return(0,d.jsx)("div",{className:"flex h-full items-center justify-center px-4 text-center text-[12px] text-red-400",children:i});if(k&&R.has(S(b))){let c=new URLSearchParams({path:b,raw:"1"}),e=`/api/sessions/${encodeURIComponent(a)}/files?${c.toString()}`;return(0,d.jsxs)("div",{className:"flex h-full flex-col items-center justify-center gap-3 p-4",children:[(0,d.jsx)("img",{src:e,alt:b,className:"max-h-[60vh] max-w-full rounded-md object-contain"}),(0,d.jsxs)("span",{className:"text-[11px] text-[var(--vk-text-muted)]",children:[b.split("/").pop(),o>0?` \xb7 ${V(o)}`:""]})]})}if(k){let a=S(b);return(0,d.jsxs)("div",{className:"flex h-full flex-col items-center justify-center gap-2 px-4 text-center",children:[(0,d.jsx)("div",{className:"rounded-lg bg-white/4 p-4",children:(0,d.jsx)(B,{className:"mx-auto h-8 w-8 text-[var(--vk-text-muted)]"})}),(0,d.jsxs)("p",{className:"text-[12px] text-[var(--vk-text-muted)]",children:["Binary file",a?` (.${a})`:""," — preview not available"]}),o>0?(0,d.jsx)("p",{className:"text-[11px] text-[var(--vk-text-muted)] opacity-60",children:V(o)}):null]})}let q=function(a){let b=a.split("/").pop()??"";if(Q[b])return Q[b];let c=b.lastIndexOf(".");if(c>=0){let a=b.slice(c+1).toLowerCase();if(P[a])return P[a]}return"plaintext"}(b);return(0,d.jsxs)("div",{className:"flex h-full min-h-0 min-w-0 flex-col",children:[m?(0,d.jsxs)("div",{className:"shrink-0 border-b border-amber-500/20 bg-amber-500/8 px-3 py-1 text-[11px] text-amber-300",children:["File truncated",o>0?` (${V(o)} total)`:""]}):null,(0,d.jsx)("div",{className:`min-h-0 min-w-0 flex-1 overflow-auto py-2 touch-pan-x ${K.hq}`,children:(0,d.jsx)(T,{code:c??"",lang:q})})]})}function V(a){return a<1024?`${a} B`:a<1048576?`${(a/1024).toFixed(1)} KB`:`${(a/1048576).toFixed(1)} MB`}function W({sessionId:a,active:b}){let[c,e]=(0,f.useState)([]),[g,h]=(0,f.useState)(!0),[i,j]=(0,f.useState)(null),[k,l]=(0,f.useState)(!1),[m,n]=(0,f.useState)(""),[o,p]=(0,f.useState)(null),[q,r]=(0,f.useState)(new Set),s=(0,f.useRef)(!0),t=(0,f.useCallback)(async()=>{try{h(!0);let b=await fetch(`/api/sessions/${encodeURIComponent(a)}/files`,{cache:"no-store"});if(!b.ok)throw Error(`Failed to load files (${b.status})`);let c=await b.json();if(!s.current)return;e(c.files??[]),l(!!c.truncated),j(null)}catch(a){if(!s.current)return;j(a instanceof Error?a.message:"Failed to load files")}finally{s.current&&h(!1)}},[a]),u=(0,f.useMemo)(()=>(function(a){let b={name:"",path:"",children:[],isDir:!0};for(let c of a){let a=c.split("/"),d=b,e="";for(let b=0;b<a.length;b++){let c=a[b];e=e?`${e}/${c}`:c;let f=b===a.length-1,g=d.children.find(a=>a.name===c);g||(g={name:c,path:e,children:[],isDir:!f},d.children.push(g)),d=g}}return function a(b){for(let c of(b.sort((a,b)=>a.isDir!==b.isDir?a.isDir?-1:1:a.name.localeCompare(b.name,void 0,{sensitivity:"base"})),b))c.children.length>0&&a(c.children);return b}(b.children)})(c),[c]),v=(0,f.useMemo)(()=>(function(a,b){if(!b)return a;let c=b.toLowerCase();return function a(b){let d=[];for(let e of b)(function a(b){return!!(b.name.toLowerCase().includes(c)||b.path.toLowerCase().includes(c))||b.children.some(a)})(e)&&(e.isDir?d.push({...e,children:a(e.children)}):d.push(e));return d}(a)})(u,m.trim()),[u,m]),w=(0,f.useCallback)(a=>{r(b=>{let c=new Set(b);return c.has(a)?c.delete(a):c.add(a),c})},[]),x=(0,f.useCallback)(a=>{p(a)},[]),y=(0,f.useCallback)(()=>{p(null)},[]);if(g&&0===c.length)return(0,d.jsxs)("div",{className:"flex h-full items-center justify-center gap-2 text-[12px] text-[var(--vk-text-muted)]",children:[(0,d.jsx)(C.A,{className:"h-4 w-4 animate-spin"}),"Loading workspace files…"]});if(i)return(0,d.jsxs)("div",{className:"flex h-full flex-col items-center justify-center gap-2 p-4 text-center",children:[(0,d.jsx)("p",{className:"text-[12px] text-red-400",children:i}),(0,d.jsx)("button",{type:"button",onClick:()=>void t(),className:"text-[11px] text-[var(--vk-text-muted)] underline hover:text-[var(--vk-text-normal)]",children:"Retry"})]});let z=o?(0,d.jsxs)("div",{className:"flex h-full min-h-0 min-w-0 flex-col lg:hidden",children:[(0,d.jsxs)("div",{className:"flex shrink-0 items-center gap-2 border-b border-white/8 px-2 py-2",children:[(0,d.jsx)("button",{type:"button",onClick:y,className:"inline-flex h-7 w-7 shrink-0 items-center justify-center rounded-md text-[var(--vk-text-muted)] hover:bg-white/6","aria-label":"Back to file list",children:(0,d.jsx)(D.A,{className:"h-4 w-4"})}),(0,d.jsx)(B,{className:"h-3.5 w-3.5 shrink-0 text-[var(--vk-text-muted)]"}),(0,d.jsx)("span",{className:"truncate font-mono text-[11px] text-[var(--vk-text-strong)]",children:o})]}),(0,d.jsx)("div",{className:"min-h-0 min-w-0 flex-1 overflow-hidden",children:(0,d.jsx)(U,{sessionId:a,filePath:o})})]}):null;return(0,d.jsxs)("div",{className:"flex h-full min-h-0 flex-col overflow-hidden",children:[z,(0,d.jsxs)("div",{className:`flex shrink-0 items-center gap-2 border-b border-white/8 px-2 py-1.5 ${o?"hidden lg:flex":""}`,children:[(0,d.jsxs)("div",{className:"flex min-w-0 flex-1 items-center gap-1.5 rounded-md bg-white/4 px-2 py-1.5",children:[(0,d.jsx)(E.A,{className:"h-3.5 w-3.5 shrink-0 text-[var(--vk-text-muted)]"}),(0,d.jsx)("input",{type:"text",value:m,onChange:a=>n(a.target.value),placeholder:"Search files…",className:"min-w-0 flex-1 bg-transparent text-[12px] text-[var(--vk-text-normal)] outline-none placeholder:text-[var(--vk-text-muted)]"})]}),(0,d.jsx)("button",{type:"button",onClick:()=>void t(),disabled:g,className:"inline-flex h-7 w-7 shrink-0 items-center justify-center rounded-md text-[var(--vk-text-muted)] hover:bg-white/6 disabled:opacity-50","aria-label":"Refresh files",children:(0,d.jsx)(F.A,{className:`h-3.5 w-3.5 ${g?"animate-spin":""}`})})]}),k?(0,d.jsx)("div",{className:`shrink-0 border-b border-amber-500/20 bg-amber-500/8 px-3 py-1.5 text-[11px] text-amber-300 ${o?"hidden lg:block":""}`,children:"File list truncated (4000 file limit)"}):null,(0,d.jsxs)("div",{className:`min-h-0 flex-1 lg:flex lg:flex-row ${o?"hidden lg:flex":"flex flex-col"}`,children:[(0,d.jsx)("div",{className:`min-h-0 flex-1 overflow-y-auto py-1 lg:max-w-[320px] lg:border-r lg:border-white/8 ${K.hq}`,children:0===v.length?(0,d.jsx)("div",{className:"px-3 py-6 text-center text-[12px] text-[var(--vk-text-muted)]",children:m?"No files match your search.":"No files in workspace."}):v.map(a=>(0,d.jsx)(O,{node:a,depth:0,selectedPath:o,expandedDirs:q,onToggleDir:w,onSelectFile:x},a.path))}),(0,d.jsx)("div",{className:"hidden min-h-0 min-w-0 flex-1 lg:block",children:o?(0,d.jsxs)("div",{className:"flex h-full min-h-0 min-w-0 flex-col",children:[(0,d.jsxs)("div",{className:"flex shrink-0 items-center gap-2 border-b border-white/8 px-3 py-2",children:[(0,d.jsx)(B,{className:"h-3.5 w-3.5 shrink-0 text-[var(--vk-text-muted)]"}),(0,d.jsx)("span",{className:"truncate font-mono text-[11px] text-[var(--vk-text-strong)]",children:o})]}),(0,d.jsx)("div",{className:"min-h-0 min-w-0 flex-1 overflow-hidden",children:(0,d.jsx)(U,{sessionId:a,filePath:o})})]}):(0,d.jsx)("div",{className:"flex h-full items-center justify-center text-[12px] text-[var(--vk-text-muted)]",children:"Select a file to view its contents"})})]})]})}function X({session:a,sessionId:b,active:c}){let e=(0,f.useMemo)(()=>M(a,"task")??M(a,"prompt")??("string"==typeof a.task?a.task:"")??("string"==typeof a.prompt?a.prompt:""),[a]),g=(0,f.useMemo)(()=>M(a,"agent")??("string"==typeof a.agent?a.agent:""),[a]),h=(0,f.useMemo)(()=>(function(a,b){if(!a||!b)return"";let c=new Date(a).getTime(),d=new Date(b).getTime();if(!Number.isFinite(c)||!Number.isFinite(d)||d<c)return"";let e=Math.floor((d-c)/6e4);if(e<1)return"<1m";if(e<60)return`${e}m`;let f=Math.floor(e/60);return`${f}h ${e%60}m`})(M(a,"startedAt")??a.startedAt,M(a,"finishedAt")??a.finishedAt),[a]),i=(0,f.useMemo)(()=>(function(a){if("number"==typeof a.cost)return a.cost;let b=a.metadata.cost;if("string"!=typeof b)return 0;try{let a=JSON.parse(b),c="number"==typeof a.estimatedCostUsd?a.estimatedCostUsd:0,d="number"==typeof a.totalUSD?a.totalUSD:0;return c??d}catch{return 0}})(a),[a]),j=(0,f.useMemo)(()=>N(M(a,"queuePosition")),[a]),k=(0,f.useMemo)(()=>N(M(a,"queueDepth")),[a]),l=(0,f.useMemo)(()=>M(a,"recoveryState")??"",[a]),m=(0,f.useMemo)(()=>"queued"===a.status?j?`Waiting in queue at position ${j}${k?` of ${k}`:""}.`:"Waiting in the launch queue.":"requeued_after_restart"===l?"Session recovered after backend restart and requeued.":"reattach_pending"===l?"Recovering terminal runtime after backend restart.":"detached_runtime"===l?"Backend restarted while agent may still be running.":"resume_required"===l?"Session recovered after restart. Send a message to resume.":"",[k,j,l,a.status]);return(0,d.jsxs)("div",{className:"flex h-full min-h-0 flex-col overflow-hidden",children:[m?(0,d.jsx)("div",{className:"shrink-0 border-b border-amber-500/20 bg-amber-500/8 px-3 py-2",children:(0,d.jsx)("p",{className:"text-[12px] leading-snug text-amber-300",children:m})}):null,e?(0,d.jsx)("div",{className:"shrink-0 border-b border-white/8 px-3 py-2.5",children:(0,d.jsx)("p",{className:"line-clamp-3 whitespace-pre-wrap text-[13px] leading-relaxed text-[var(--vk-text-normal)]",children:e})}):null,(0,d.jsxs)("div",{className:"flex shrink-0 flex-wrap items-center gap-x-4 gap-y-1 border-b border-white/8 px-3 py-2 text-[11px] text-[var(--vk-text-muted)]",children:[g?(0,d.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,d.jsx)(J.N,{seed:{label:g},className:"h-4 w-4"}),(0,d.jsx)("span",{children:g})]}):null,a.branch?(0,d.jsxs)("span",{className:"flex items-center gap-1",children:[(0,d.jsx)(G.A,{className:"h-3 w-3 shrink-0"}),(0,d.jsx)(L,{text:a.branch})]}):null,h?(0,d.jsxs)("span",{className:"flex items-center gap-1",children:[(0,d.jsx)(H,{className:"h-3 w-3 shrink-0"}),(0,d.jsx)("span",{children:h})]}):null,i>0?(0,d.jsxs)("span",{className:"flex items-center gap-1",children:[(0,d.jsx)(I,{className:"h-3 w-3 shrink-0"}),(0,d.jsxs)("span",{children:["$",i.toFixed(3)]})]}):null]}),(0,d.jsxs)("div",{className:"flex min-h-0 min-w-0 flex-1 flex-col overflow-hidden border-t border-white/8",children:[(0,d.jsx)("div",{className:"shrink-0 border-b border-white/8 px-3 py-2",children:(0,d.jsx)("p",{className:"text-[11px] font-medium uppercase tracking-wide text-[var(--vk-text-muted)]",children:"Workspace files"})}),(0,d.jsx)("div",{className:"min-h-0 min-w-0 flex-1 overflow-hidden",children:(0,d.jsx)(W,{sessionId:b,active:c})})]})]})}var Y=c(140),Z=c(48055),$=c(71943),_=c(46818),aa=c(67811),ab=c(93544);let ac="block h-5 w-5 shrink-0 object-contain",ad=[{id:"finder",label:"Finder"},{id:"cursor",label:"Cursor"},{id:"antigravity",label:"Antigravity"},{id:"windsurf",label:"Windsurf"},{id:"zed",label:"Zed"},{id:"xcode",label:"Xcode"},{id:"vscode",label:"VS Code"},{id:"vscode-insiders",label:"VS Code Insiders"},{id:"intellij-idea",label:"IntelliJ IDEA"},{id:"custom",label:"Custom"}],ae={finder:{kind:"image",imageSrc:"/icons/ide/finder.svg",className:ac},vscode:{kind:"image",imageSrc:"/icons/ide/vscode-dark.svg",className:ac},"vscode-insiders":{kind:"image",imageSrc:"/icons/ide/vscode-insiders.svg",className:ac},cursor:{kind:"image",imageSrc:"/icons/ide/cursor-dark.svg",className:ac},windsurf:{kind:"image",imageSrc:"/icons/ide/windsurf-dark.svg",className:ac},"intellij-idea":{kind:"image",imageSrc:"/icons/ide/intellij.svg",className:ac},zed:{kind:"image",imageSrc:"/icons/ide/zed-dark.svg",className:ac},xcode:{kind:"image",imageSrc:"/icons/ide/xcode.svg",className:ac},antigravity:{kind:"image",imageSrc:"/icons/ide/antigravity-dark.svg",className:ac},custom:{kind:"icon",className:`${ac} text-[var(--vk-text-muted)]`}};function af({editorId:a,label:b}){let c=ae[a];return c?"icon"===c.kind?(0,d.jsx)(Z.A,{className:c?.className??`${ac} text-[var(--vk-text-muted)]`}):(0,d.jsx)("img",{src:c.imageSrc,alt:`${b} logo`,className:c.className}):(0,d.jsx)(Z.A,{className:`${ac} text-[var(--vk-text-muted)]`})}function ag({projectId:a,bridgeId:b,label:c="Open",triggerClassName:e}){let{preferences:g}=(0,aa.g)(b),[h,i]=(0,f.useState)(null),j=(0,f.useMemo)(()=>{var a;return a=g?.ide??"vscode",ad.find(b=>b.id===a)??{id:a,label:a}},[g?.ide]);async function k(c){if(a&&!h){i(c);try{let d=await fetch((0,_.S)(`/api/projects/${encodeURIComponent(a)}/open`,b),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({ide:c})}),e=await d.json().catch(()=>null);if(!d.ok)throw Error(e?.error??`Failed to open project (${d.status})`)}catch(a){window.alert(a instanceof Error?a.message:"Failed to open project")}finally{i(null)}}}return(0,d.jsxs)(Y.bL,{children:[(0,d.jsx)(Y.l9,{asChild:!0,children:(0,d.jsxs)("button",{type:"button",disabled:!a||null!==h,className:(0,ab.cn)("inline-flex h-9 items-center gap-2 rounded-[6px] border border-[rgba(255,255,255,0.08)] bg-[rgba(255,255,255,0.03)] px-3 text-[13px] text-[var(--vk-text-normal)] transition hover:bg-[rgba(255,255,255,0.06)] disabled:cursor-not-allowed disabled:opacity-60",e),"aria-label":"Open project in code editor",title:a?`Open project in ${j.label}`:"No project selected",children:[h?(0,d.jsx)(C.A,{className:"h-4 w-4 animate-spin text-current"}):(0,d.jsx)($.A,{className:"h-4 w-4 text-current"}),(0,d.jsx)("span",{className:"hidden font-medium sm:inline",children:c}),(0,d.jsx)(x.A,{className:"h-3.5 w-3.5 text-current"})]})}),(0,d.jsx)(Y.ZL,{children:(0,d.jsx)(Y.UC,{align:"end",sideOffset:8,className:"z-50 min-w-[240px] rounded-[8px] border border-[rgba(255,255,255,0.08)] bg-[#1c1a19] p-2 shadow-[0_18px_50px_rgba(0,0,0,0.45)]",children:ad.map(a=>(0,d.jsxs)(Y.q7,{onSelect:()=>void k(a.id),className:"flex min-h-[44px] cursor-default items-center gap-3 rounded-[6px] px-3 py-2 text-[14px] text-[#f3efea] outline-none transition hover:bg-[rgba(255,255,255,0.06)] focus:bg-[rgba(255,255,255,0.06)]",children:[(0,d.jsx)(af,{editorId:a.id,label:a.label}),(0,d.jsx)("span",{className:"flex-1",children:a.label}),j.id===a.id?(0,d.jsx)(v.A,{className:"h-4 w-4 text-[var(--vk-text-muted)]"}):null]},a.id))})})]})}let ah=(0,e.default)(function(){return c.e(3354).then(c.bind(c,93354)).then(a=>a.SessionTerminal)},{loading:()=>(0,d.jsx)("div",{className:"flex h-full min-h-[240px] items-center justify-center text-[13px] text-[var(--vk-text-muted)]",children:"Loading terminal..."})}),ai=(0,e.default)(()=>c.e(1564).then(c.bind(c,21564)).then(a=>a.SessionPreview),{loadableGenerated:{modules:["components/sessions/SessionDetail.tsx -> ./SessionPreview"]},loading:()=>(0,d.jsx)("div",{className:"flex h-full min-h-[240px] items-center justify-center text-[13px] text-[var(--vk-text-muted)]",children:"Loading preview..."})}),aj=(0,e.default)(async()=>{},{loadableGenerated:{modules:["components/sessions/SessionDetail.tsx -> ./SessionDiff"]},loading:()=>(0,d.jsx)("div",{className:"flex h-full min-h-[240px] items-center justify-center text-[13px] text-[var(--vk-text-muted)]",children:"Loading review…"}),ssr:!1}),ak=(0,e.default)(()=>c.e(3855).then(c.bind(c,93855)).then(a=>a.SessionSkills),{loadableGenerated:{modules:["components/sessions/SessionDetail.tsx -> ./SessionSkills"]},loading:()=>(0,d.jsx)("div",{className:"flex h-full min-h-[240px] items-center justify-center text-[13px] text-[var(--vk-text-muted)]",children:"Loading skills..."})}),al=(0,e.default)(()=>Promise.all([c.e(468),c.e(5068),c.e(2831)]).then(c.bind(c,85068)).then(a=>a.DispatcherPane),{loadableGenerated:{modules:["components/sessions/SessionDetail.tsx -> ../dispatcher/DispatcherPane"]},loading:()=>(0,d.jsx)("div",{className:"flex h-full min-h-[240px] items-center justify-center text-[13px] text-[var(--vk-text-muted)]",children:"Loading dispatcher..."})}),am="min-h-0 h-full min-w-0 w-full overflow-hidden focus-visible:outline-none [&[hidden]]:block data-[state=inactive]:pointer-events-none data-[state=inactive]:absolute data-[state=inactive]:inset-0 data-[state=inactive]:invisible data-[state=inactive]:opacity-0",an="min-h-0 h-full min-w-0 w-full overflow-hidden focus-visible:outline-none [&[hidden]]:block data-[state=active]:relative data-[state=active]:z-10 data-[state=inactive]:pointer-events-none data-[state=inactive]:absolute data-[state=inactive]:inset-0 data-[state=inactive]:opacity-0 data-[state=inactive]:select-none";function ao(a,b){let c=(0,u.tK)(b);return"overview"===a||"preview"===a||"skills"===a||"diff"===a?a:"dispatcher"===a||"terminal"===a?"dispatcher"===c?"dispatcher":"terminal":c}function ap({sessionId:a,initialSession:b=null,bridgeId:c=null,immersiveMobileMode:e=!1,active:h=!0,suppressPreviewAutoOpen:v=!1,onOpenSidebar:w}){let x=(0,g.usePathname)(),y=(0,g.useRouter)(),z=(0,g.useSearchParams)(),{session:A,loading:B,error:C}=(0,s.w)(a,b,{enabled:h,bridgeId:c}),D=(0,f.useRef)(0),E=(0,f.useRef)(!1),[F,G]=(0,f.useState)(null),H=(0,f.useMemo)(()=>ao(z.get("tab"),A),[z,A]),I=(0,f.useCallback)(a=>{let b=ao(a,A),c=(0,u.tK)(A),d=new URLSearchParams(z.toString());b===c?d.delete("tab"):d.set("tab",b);let e=d.toString(),f=e.length>0?`${x}?${e}`:x;y.replace(f,{scroll:!1})},[x,y,z,A]),J=(0,f.useCallback)(a=>{D.current+=1,G({nonce:D.current,...a})},[]),L=(0,f.useCallback)(a=>{(function({active:a,activeTab:b,alreadyOpened:c,connected:d,suppressAutoOpen:e}){return d&&a&&"terminal"===b&&!c&&!e})({active:h,activeTab:H,alreadyOpened:E.current,connected:a,suppressAutoOpen:v})&&(E.current=!0,I("preview"))},[h,H,I,v]);if(B)return(0,d.jsx)("div",{className:"flex h-full items-center justify-center p-6",children:(0,d.jsx)(q.Zp,{className:"w-full max-w-md",children:(0,d.jsx)(q.Wu,{className:"py-7 text-center text-[13px] text-[var(--text-muted)]",children:"Loading session workspace..."})})});if(C)return(0,d.jsx)("div",{className:"flex h-full items-center justify-center p-6",children:(0,d.jsx)(q.Zp,{className:"w-full max-w-md border-[color:color-mix(in_srgb,var(--status-error)_45%,transparent)]",children:(0,d.jsx)(q.Wu,{className:"py-7 text-center text-[13px] text-[var(--status-error)]",children:C})})});if(!A)return(0,d.jsx)("div",{className:"flex h-full items-center justify-center p-6",children:(0,d.jsx)(q.Zp,{className:"w-full max-w-md",children:(0,d.jsx)(q.Wu,{className:"py-7 text-center text-[13px] text-[var(--text-muted)]",children:"Session not found"})})});let M="string"==typeof A.status?A.status:"unknown",N=(0,u.Zu)(A),O=function(a){switch(a){case"needs_input":return"needs input";case"working":return"working";case"running":return"running";case"spawning":return"spawning";case"queued":return"queued";default:return a.replace(/[_-]+/g," ")}}(M),P=function(a){switch(a){case"working":case"running":return"bg-amber-400";case"needs_input":return"bg-blue-400";case"spawning":case"queued":default:return"bg-gray-400";case"done":return"bg-emerald-400";case"errored":return"bg-red-400";case"stuck":return"bg-[var(--vk-accent)]";case"terminated":case"killed":return"bg-gray-500"}}(M),Q="working"===M||"running"===M||"spawning"===M||"queued"===M||"needs_input"===M,R="queued"!==M&&"spawning"!==M,S=h&&e&&"terminal"===H,T=h&&"preview"===H,U=h&&"diff"===H,V="min-h-[38px] gap-1.5 px-2.5 text-[12px] sm:min-h-0 sm:px-3",W=(0,t.kV)(a).slice(0,7),Y=(0,d.jsxs)(p.j7,{className:"flex w-full overflow-x-auto sm:w-fit sm:inline-flex",children:[(0,d.jsxs)(p.Xi,{value:"overview",className:V,children:[(0,d.jsx)(i,{className:"h-3.5 w-3.5"}),"Overview"]}),(0,d.jsxs)(p.Xi,{value:"diff",className:V,children:[(0,d.jsx)(j,{className:"h-3.5 w-3.5"}),"Review"]}),N?(0,d.jsxs)(p.Xi,{value:"dispatcher",className:V,children:[(0,d.jsx)(k.A,{className:"h-3.5 w-3.5"}),"Dispatcher"]}):(0,d.jsxs)(p.Xi,{value:"terminal",className:V,children:[(0,d.jsx)(l.A,{className:"h-3.5 w-3.5"}),"Terminal"]}),(0,d.jsxs)(p.Xi,{value:"preview",className:V,children:[(0,d.jsx)(m.A,{className:"h-3.5 w-3.5"}),"Preview"]}),(0,d.jsxs)(p.Xi,{value:"skills",className:V,children:[(0,d.jsx)(n.A,{className:"h-3.5 w-3.5"}),"Skills"]})]});return(0,d.jsx)("div",{className:(0,K.re)(S),"data-conductor-session-terminal":"native-iframe",children:(0,d.jsxs)(p.tU,{value:H,onValueChange:I,className:S?"flex min-h-0 min-w-0 w-full flex-1 flex-col gap-0 p-0":"flex min-h-0 min-w-0 w-full flex-1 flex-col gap-1 p-1 lg:gap-2 lg:p-3",children:[S?(0,d.jsxs)("div",{className:"flex shrink-0 flex-col border-b border-white/10 bg-[#0d0908]",children:[(0,d.jsxs)("div",{className:"flex h-10 items-center gap-2 px-2",children:[w?(0,d.jsx)(r.$,{type:"button",variant:"ghost",size:"icon",className:"h-8 w-8 shrink-0 text-[#8e847d] hover:text-[#c9c0b7]",onClick:w,"aria-label":"Open workspace panel",children:(0,d.jsx)(o.A,{className:"h-4 w-4"})}):null,(0,d.jsxs)("div",{className:"flex min-w-0 flex-1 items-center gap-1.5",children:[(0,d.jsx)("span",{className:`inline-block h-2 w-2 shrink-0 rounded-full ${P}${Q?" animate-pulse":""}`}),(0,d.jsx)("span",{className:"text-[12px] font-medium text-[#efe8e1]",children:O}),(0,d.jsxs)("span",{className:"font-mono text-[10px] text-[#8e847d]",children:["\xb7 ",W]})]}),R?(0,d.jsx)(ag,{projectId:A.projectId,bridgeId:A.bridgeId??null}):null]}),(0,d.jsx)("div",{className:"px-1.5 pb-1.5",children:Y})]}):(0,d.jsxs)("div",{className:"flex min-w-0 flex-wrap items-center gap-x-2 gap-y-1.5 sm:flex-nowrap",children:[Y,(0,d.jsxs)("div",{className:"flex w-full items-center justify-between gap-2 sm:ml-auto sm:w-auto sm:justify-end",children:[(0,d.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,d.jsx)("span",{className:`inline-block h-2 w-2 shrink-0 rounded-full ${P}${Q?" animate-pulse":""}`}),(0,d.jsx)("span",{className:"text-[11px] text-[var(--vk-text-muted)]",children:O}),(0,d.jsxs)("span",{className:"hidden font-mono text-[10px] text-[var(--vk-text-muted)] sm:inline",children:["\xb7 ",W]})]}),R?(0,d.jsx)(ag,{projectId:A.projectId,bridgeId:A.bridgeId??null}):null]})]}),(0,d.jsxs)("div",{className:"relative min-h-0 min-w-0 h-0 flex-1 overflow-hidden",children:[(0,d.jsx)(p.av,{value:"overview",className:am,children:(0,d.jsx)(X,{session:A,sessionId:a,active:h&&"overview"===H})}),(0,d.jsx)(p.av,{value:"diff",className:`${am} flex min-h-0 flex-col`,children:(0,d.jsx)(aj,{sessionId:a,active:U})}),N?(0,d.jsx)(p.av,{value:"dispatcher",forceMount:!0,className:an,children:(0,d.jsx)(al,{thread:A,projectId:A.projectId,bridgeId:A.bridgeId??c,active:h&&"dispatcher"===H,className:"h-full w-full border-0 xl:w-full"})}):(0,d.jsx)(p.av,{value:"terminal",forceMount:!0,className:S?`flex min-h-0 h-full min-w-0 w-full flex-col overflow-hidden bg-[#060404] ${an}`:`flex min-h-0 h-full min-w-0 w-full flex-col overflow-hidden bg-transparent ${an}`,children:(0,d.jsx)(ah,{sessionId:a,projectId:A.projectId,bridgeId:A.bridgeId??null,sessionState:M,runtimeMode:A.metadata.runtimeMode?.trim()??null,pendingInsert:F,immersiveMobileMode:S,panelVisible:h&&"terminal"===H,onPendingInsertConsumed:()=>G(null)})}),(0,d.jsx)(p.av,{value:"preview",forceMount:!0,className:`${an} flex min-h-0 flex-col`,children:(0,d.jsx)(ai,{sessionId:a,active:T,onQueueTerminalInsert:J,onConnectionChange:L},a)}),(0,d.jsx)(p.av,{value:"skills",className:am,children:(0,d.jsx)(ak,{session:A,sessionId:a,active:h&&"skills"===H})})]})]},a)})}}};
|
|
1
|
+
"use strict";exports.id=6034,exports.ids=[6034,9789],exports.modules={2621:(a,b,c)=>{c.d(b,{DK:()=>e,VM:()=>g,hq:()=>d,qg:()=>f,re:()=>h});let d="overscroll-contain touch-pan-y [-webkit-overflow-scrolling:touch]",e=`overflow-y-auto ${d}`,f="min-h-0 flex-1 overflow-hidden bg-[#0f1012] p-3",g=d;function h(a){return["flex h-full min-h-0 min-w-0 w-full flex-col",a?"overflow-hidden bg-[#060404]":"overflow-hidden"].join(" ")}},7071:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(37303).A)("square-terminal",[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]])},7901:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(37303).A)("folder",[["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"}]])},26993:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(37303).A)("puzzle",[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]])},32792:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(37303).A)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},50898:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(37303).A)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]])},52404:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(37303).A)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},54761:(a,b,c)=>{c.d(b,{Wu:()=>h,Zp:()=>f,aR:()=>g});var d=c(92692),e=c(93544);let f=(0,c(71277).forwardRef)(({className:a,...b},c)=>(0,d.jsx)("div",{ref:c,className:(0,e.cn)("surface-card rounded-[var(--radius-md)] border",a),...b}));function g({className:a,...b}){return(0,d.jsx)("div",{className:(0,e.cn)("flex items-center gap-2 border-b border-[var(--vk-border)] px-3 py-2",a),...b})}function h({className:a,...b}){return(0,d.jsx)("div",{className:(0,e.cn)("px-3 py-2",a),...b})}f.displayName="Card"},57658:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(37303).A)("git-branch",[["path",{d:"M15 6a9 9 0 0 0-9 9V3",key:"1cii5b"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}]])},59789:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(37303).A)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]])},67811:(a,b,c)=>{c.d(b,{g:()=>g});var d=c(71277),e=c(46818);function f(a){return!a||"object"!=typeof a||Array.isArray(a)?{}:{...a}}function g(a,b){let c=b?.enabled??!0,[g,h]=(0,d.useState)(null),[i,j]=(0,d.useState)(c),[k,l]=(0,d.useState)(null),m=(0,d.useCallback)(async()=>{if(!c){h(null),l(null),j(!1);return}try{var b;let c,d,g,i=await fetch((0,e.S)("/api/preferences",a)),j=await i.json().catch(()=>null);if(!i.ok)throw Error(j?.error??j?.reason??`Failed to load preferences: ${i.status}`);h((b=j?.preferences,c=f(b),g=(d=f(c.notifications)).soundFile,{onboardingAcknowledged:!0===c.onboardingAcknowledged,codingAgent:"string"==typeof c.codingAgent&&c.codingAgent.trim().length>0?c.codingAgent.trim():"claude-code",ide:"string"==typeof c.ide&&c.ide.trim().length>0?c.ide.trim():"vscode",markdownEditor:"string"==typeof c.markdownEditor&&c.markdownEditor.trim().length>0?c.markdownEditor.trim():"obsidian",markdownEditorPath:"string"==typeof c.markdownEditorPath?c.markdownEditorPath.trim():"",notifications:{soundEnabled:!1!==d.soundEnabled,soundFile:null===g?null:"string"==typeof g&&g.trim().length>0?g.trim():"abstract-sound-4"}})),l(null)}catch(a){h(null),l(a instanceof Error?a.message:"Failed to load preferences")}finally{j(!1)}},[a,c]);return{preferences:c?g:null,loading:!!c&&i,error:c?k:null,refresh:m}}},71943:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(37303).A)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]])},74712:(a,b,c)=>{c.d(b,{tU:()=>D,av:()=>G,j7:()=>E,Xi:()=>F});var d=c(92692),e=c(71277),f=c(74508),g=c(63660),h=c(64121),i=c(64308),j=c(5707),k=c(8370),l=c(50904),m=c(92408),n="Tabs",[o,p]=(0,g.A)(n,[h.RG]),q=(0,h.RG)(),[r,s]=o(n),t=e.forwardRef((a,b)=>{let{__scopeTabs:c,value:e,onValueChange:f,defaultValue:g,orientation:h="horizontal",dir:i,activationMode:o="automatic",...p}=a,q=(0,k.jH)(i),[s,t]=(0,l.i)({prop:e,onChange:f,defaultProp:g??"",caller:n});return(0,d.jsx)(r,{scope:c,baseId:(0,m.B)(),value:s,onValueChange:t,orientation:h,dir:q,activationMode:o,children:(0,d.jsx)(j.sG.div,{dir:q,"data-orientation":h,...p,ref:b})})});t.displayName=n;var u="TabsList",v=e.forwardRef((a,b)=>{let{__scopeTabs:c,loop:e=!0,...f}=a,g=s(u,c),i=q(c);return(0,d.jsx)(h.bL,{asChild:!0,...i,orientation:g.orientation,dir:g.dir,loop:e,children:(0,d.jsx)(j.sG.div,{role:"tablist","aria-orientation":g.orientation,...f,ref:b})})});v.displayName=u;var w="TabsTrigger",x=e.forwardRef((a,b)=>{let{__scopeTabs:c,value:e,disabled:g=!1,...i}=a,k=s(w,c),l=q(c),m=A(k.baseId,e),n=B(k.baseId,e),o=e===k.value;return(0,d.jsx)(h.q7,{asChild:!0,...l,focusable:!g,active:o,children:(0,d.jsx)(j.sG.button,{type:"button",role:"tab","aria-selected":o,"aria-controls":n,"data-state":o?"active":"inactive","data-disabled":g?"":void 0,disabled:g,id:m,...i,ref:b,onMouseDown:(0,f.mK)(a.onMouseDown,a=>{g||0!==a.button||!1!==a.ctrlKey?a.preventDefault():k.onValueChange(e)}),onKeyDown:(0,f.mK)(a.onKeyDown,a=>{[" ","Enter"].includes(a.key)&&k.onValueChange(e)}),onFocus:(0,f.mK)(a.onFocus,()=>{let a="manual"!==k.activationMode;o||g||!a||k.onValueChange(e)})})})});x.displayName=w;var y="TabsContent",z=e.forwardRef((a,b)=>{let{__scopeTabs:c,value:f,forceMount:g,children:h,...k}=a,l=s(y,c),m=A(l.baseId,f),n=B(l.baseId,f),o=f===l.value,p=e.useRef(o);return e.useEffect(()=>{let a=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(a)},[]),(0,d.jsx)(i.C,{present:g||o,children:({present:c})=>(0,d.jsx)(j.sG.div,{"data-state":o?"active":"inactive","data-orientation":l.orientation,role:"tabpanel","aria-labelledby":m,hidden:!c,id:n,tabIndex:0,...k,ref:b,style:{...a.style,animationDuration:p.current?"0s":void 0},children:c&&h})})});function A(a,b){return`${a}-trigger-${b}`}function B(a,b){return`${a}-content-${b}`}z.displayName=y;var C=c(93544);let D=t,E=(0,e.forwardRef)(({className:a,...b},c)=>(0,d.jsx)(v,{ref:c,className:(0,C.cn)("inline-flex max-w-full items-center gap-0.5 overflow-x-auto rounded-[3px] border border-[var(--vk-border)] bg-[var(--vk-bg-panel)] p-0.5 whitespace-nowrap touch-pan-x [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",a),...b}));E.displayName="TabsList";let F=(0,e.forwardRef)(({className:a,...b},c)=>(0,d.jsx)(x,{ref:c,className:(0,C.cn)("inline-flex min-h-[34px] shrink-0 items-center gap-1.5 rounded-[3px] px-2.5 py-1.5 text-[12px] text-[var(--vk-text-muted)]","data-[state=active]:bg-[var(--vk-bg-active)] data-[state=active]:text-[var(--vk-text-normal)]","hover:text-[var(--vk-text-normal)]","focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-[var(--vk-orange)]",a),...b}));F.displayName="TabsTrigger";let G=(0,e.forwardRef)(({className:a,...b},c)=>(0,d.jsx)(z,{ref:c,className:(0,C.cn)("focus-visible:outline-none",a),...b}));G.displayName="TabsContent"},79101:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(37303).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},96034:(a,b,c)=>{c.r(b),c.d(b,{SessionDetail:()=>ap});var d=c(92692),e=c(3429),f=c(71277),g=c(67994),h=c(37303);let i=(0,h.A)("layout-dashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]),j=(0,h.A)("git-compare",[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M13 6h3a2 2 0 0 1 2 2v7",key:"1yeb86"}],["path",{d:"M11 18H8a2 2 0 0 1-2-2V9",key:"19pyzm"}]]);var k=c(50898),l=c(7071),m=c(52404),n=c(26993),o=c(62170),p=c(74712),q=c(54761),r=c(1071),s=c(33857),t=c(19954),u=c(29942),v=c(49549),w=c(13636),x=c(86263),y=c(79101),z=c(51430),A=c(7901);let B=(0,h.A)("file",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]]);var C=c(64583),D=c(32792),E=c(59789),F=c(75185),G=c(57658);let H=(0,h.A)("timer",[["line",{x1:"10",x2:"14",y1:"2",y2:"2",key:"14vaq8"}],["line",{x1:"12",x2:"15",y1:"14",y2:"11",key:"17fdiu"}],["circle",{cx:"12",cy:"14",r:"8",key:"1e1u0o"}]]),I=(0,h.A)("dollar-sign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]]);var J=c(86018),K=c(2621);function L({text:a}){let[b,c]=(0,f.useState)(!1);async function e(){try{await navigator.clipboard.writeText(a),c(!0),window.setTimeout(()=>c(!1),1400)}catch{}}return(0,d.jsxs)("button",{type:"button",onClick:()=>void e(),className:"inline-flex max-w-[180px] items-center gap-1 font-mono text-[11px] text-[var(--vk-text-muted)] transition-colors hover:text-[var(--vk-text-normal)]",children:[(0,d.jsx)("span",{className:"truncate",children:a}),b?(0,d.jsx)(v.A,{className:"h-3 w-3 shrink-0 text-emerald-400"}):(0,d.jsx)(w.A,{className:"h-3 w-3 shrink-0 opacity-50"})]})}function M(a,b){let c=a.metadata[b];return"string"==typeof c&&c.trim().length>0?c:void 0}function N(a){if(!a)return null;let b=Number.parseInt(a,10);return Number.isFinite(b)&&b>0?b:null}function O({node:a,depth:b,selectedPath:c,expandedDirs:e,onToggleDir:f,onSelectFile:g}){let h=e.has(a.path),i=a.path===c,j=8+16*b;return a.isDir?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("button",{type:"button",onClick:()=>f(a.path),className:"flex w-full items-center gap-1.5 py-1.5 text-left text-[12px] text-[var(--vk-text-muted)] hover:bg-white/4 active:bg-white/6",style:{paddingLeft:j},children:[h?(0,d.jsx)(x.A,{className:"h-3 w-3 shrink-0 opacity-50"}):(0,d.jsx)(y.A,{className:"h-3 w-3 shrink-0 opacity-50"}),h?(0,d.jsx)(z.A,{className:"h-3.5 w-3.5 shrink-0 text-amber-400/70"}):(0,d.jsx)(A.A,{className:"h-3.5 w-3.5 shrink-0 text-amber-400/70"}),(0,d.jsx)("span",{className:"truncate",children:a.name})]}),h?a.children.map(a=>(0,d.jsx)(O,{node:a,depth:b+1,selectedPath:c,expandedDirs:e,onToggleDir:f,onSelectFile:g},a.path)):null]}):(0,d.jsxs)("button",{type:"button",onClick:()=>g(a.path),className:`flex w-full items-center gap-1.5 py-1.5 pr-2 text-left text-[12px] transition-colors ${i?"bg-blue-500/10 text-[var(--vk-text-strong)]":"text-[var(--vk-text-normal)] hover:bg-white/4"}`,style:{paddingLeft:j+16},children:[(0,d.jsx)(B,{className:"h-3.5 w-3.5 shrink-0 text-[var(--vk-text-muted)]"}),(0,d.jsx)("span",{className:"truncate",children:a.name})]})}let P={js:"javascript",jsx:"jsx",ts:"typescript",tsx:"tsx",mjs:"javascript",cjs:"javascript",mts:"typescript",cts:"typescript",html:"html",htm:"html",css:"css",scss:"scss",sass:"sass",less:"less",vue:"vue",svelte:"svelte",astro:"astro",json:"json",jsonc:"jsonc",json5:"json5",yaml:"yaml",yml:"yaml",toml:"toml",ini:"ini",xml:"xml",svg:"xml",plist:"xml",csv:"csv",tsv:"csv",md:"markdown",mdx:"mdx",tex:"latex",rst:"rst",rs:"rust",go:"go",c:"c",h:"c",cpp:"cpp",cc:"cpp",cxx:"cpp",hpp:"cpp",hh:"cpp",cs:"csharp",java:"java",kt:"kotlin",kts:"kotlin",scala:"scala",swift:"swift",m:"objective-c",mm:"objective-cpp",zig:"zig",nim:"nim",v:"v",d:"d",py:"python",pyi:"python",rb:"ruby",php:"php",pl:"perl",pm:"perl",lua:"lua",r:"r",R:"r",jl:"julia",ex:"elixir",exs:"elixir",erl:"erlang",hrl:"erlang",hs:"haskell",lhs:"haskell",clj:"clojure",cljs:"clojure",ml:"ocaml",mli:"ocaml",fs:"fsharp",fsx:"fsharp",sh:"bash",bash:"bash",zsh:"bash",fish:"fish",ps1:"powershell",psm1:"powershell",bat:"bat",cmd:"bat",dockerfile:"dockerfile",containerfile:"dockerfile",tf:"hcl",hcl:"hcl",nix:"nix",sql:"sql",graphql:"graphql",gql:"graphql",prisma:"prisma",proto:"protobuf",thrift:"thrift",makefile:"makefile",cmake:"cmake",asm:"asm",s:"asm",diff:"diff",patch:"diff",log:"log",txt:"plaintext",env:"dotenv",lock:"json"},Q={makefile:"makefile",Makefile:"makefile",dockerfile:"dockerfile",Dockerfile:"dockerfile",containerfile:"dockerfile",Containerfile:"dockerfile",gemfile:"ruby",Gemfile:"ruby",rakefile:"ruby",Rakefile:"ruby",cmakelists:"cmake",CMakeLists:"cmake",".gitignore":"gitignore",".dockerignore":"gitignore",".editorconfig":"ini",".prettierrc":"json",".eslintrc":"json",".babelrc":"json",".env":"dotenv",".env.local":"dotenv",".env.production":"dotenv","tsconfig.json":"jsonc","jsconfig.json":"jsonc"},R=new Set(["png","jpg","jpeg","gif","webp","svg","ico","bmp","avif"]);function S(a){let b=a.split("/").pop()??"",c=b.lastIndexOf(".");return c>=0?b.slice(c+1).toLowerCase():""}function T({code:a,lang:b}){let[c,e]=(0,f.useState)(null);if((0,f.useRef)(a),(0,f.useRef)(b),!c){let b=a.split("\n"),c=String(b.length).length;return(0,d.jsx)("div",{className:"inline-block min-w-full align-top",children:(0,d.jsx)("table",{className:"min-w-full border-collapse font-mono text-[11px] leading-5",children:(0,d.jsx)("tbody",{children:b.map((a,b)=>(0,d.jsxs)("tr",{className:"hover:bg-white/3",children:[(0,d.jsx)("td",{className:"select-none whitespace-nowrap border-r border-white/6 px-2 text-right text-[var(--vk-text-muted)] opacity-40",style:{minWidth:`${c+2}ch`},children:b+1}),(0,d.jsx)("td",{className:"whitespace-pre px-3 text-[var(--vk-text-normal)]",children:a||"\xa0"})]},b))})})})}return(0,d.jsx)("div",{className:"shiki-viewer inline-block min-w-full align-top [&_.shiki]:!bg-transparent [&_.shiki]:p-0 [&_code]:text-[11px] [&_code]:leading-5 [&_pre]:!bg-transparent [&_pre]:!p-0",dangerouslySetInnerHTML:{__html:c}})}function U({sessionId:a,filePath:b}){let[c,e]=(0,f.useState)(null),[g,h]=(0,f.useState)(!0),[i,j]=(0,f.useState)(null),[k,l]=(0,f.useState)(!1),[m,n]=(0,f.useState)(!1),[o,p]=(0,f.useState)(0);if(g)return(0,d.jsxs)("div",{className:"flex h-full items-center justify-center gap-2 text-[12px] text-[var(--vk-text-muted)]",children:[(0,d.jsx)(C.A,{className:"h-4 w-4 animate-spin"}),"Loading…"]});if(i)return(0,d.jsx)("div",{className:"flex h-full items-center justify-center px-4 text-center text-[12px] text-red-400",children:i});if(k&&R.has(S(b))){let c=new URLSearchParams({path:b,raw:"1"}),e=`/api/sessions/${encodeURIComponent(a)}/files?${c.toString()}`;return(0,d.jsxs)("div",{className:"flex h-full flex-col items-center justify-center gap-3 p-4",children:[(0,d.jsx)("img",{src:e,alt:b,className:"max-h-[60vh] max-w-full rounded-md object-contain"}),(0,d.jsxs)("span",{className:"text-[11px] text-[var(--vk-text-muted)]",children:[b.split("/").pop(),o>0?` \xb7 ${V(o)}`:""]})]})}if(k){let a=S(b);return(0,d.jsxs)("div",{className:"flex h-full flex-col items-center justify-center gap-2 px-4 text-center",children:[(0,d.jsx)("div",{className:"rounded-lg bg-white/4 p-4",children:(0,d.jsx)(B,{className:"mx-auto h-8 w-8 text-[var(--vk-text-muted)]"})}),(0,d.jsxs)("p",{className:"text-[12px] text-[var(--vk-text-muted)]",children:["Binary file",a?` (.${a})`:""," — preview not available"]}),o>0?(0,d.jsx)("p",{className:"text-[11px] text-[var(--vk-text-muted)] opacity-60",children:V(o)}):null]})}let q=function(a){let b=a.split("/").pop()??"";if(Q[b])return Q[b];let c=b.lastIndexOf(".");if(c>=0){let a=b.slice(c+1).toLowerCase();if(P[a])return P[a]}return"plaintext"}(b);return(0,d.jsxs)("div",{className:"flex h-full min-h-0 min-w-0 flex-col",children:[m?(0,d.jsxs)("div",{className:"shrink-0 border-b border-amber-500/20 bg-amber-500/8 px-3 py-1 text-[11px] text-amber-300",children:["File truncated",o>0?` (${V(o)} total)`:""]}):null,(0,d.jsx)("div",{className:`min-h-0 min-w-0 flex-1 overflow-auto py-2 touch-pan-x ${K.hq}`,children:(0,d.jsx)(T,{code:c??"",lang:q})})]})}function V(a){return a<1024?`${a} B`:a<1048576?`${(a/1024).toFixed(1)} KB`:`${(a/1048576).toFixed(1)} MB`}function W({sessionId:a,active:b}){let[c,e]=(0,f.useState)([]),[g,h]=(0,f.useState)(!0),[i,j]=(0,f.useState)(null),[k,l]=(0,f.useState)(!1),[m,n]=(0,f.useState)(""),[o,p]=(0,f.useState)(null),[q,r]=(0,f.useState)(new Set),s=(0,f.useRef)(!0),t=(0,f.useCallback)(async()=>{try{h(!0);let b=await fetch(`/api/sessions/${encodeURIComponent(a)}/files`,{cache:"no-store"});if(!b.ok)throw Error(`Failed to load files (${b.status})`);let c=await b.json();if(!s.current)return;e(c.files??[]),l(!!c.truncated),j(null)}catch(a){if(!s.current)return;j(a instanceof Error?a.message:"Failed to load files")}finally{s.current&&h(!1)}},[a]),u=(0,f.useMemo)(()=>(function(a){let b={name:"",path:"",children:[],isDir:!0};for(let c of a){let a=c.split("/"),d=b,e="";for(let b=0;b<a.length;b++){let c=a[b];e=e?`${e}/${c}`:c;let f=b===a.length-1,g=d.children.find(a=>a.name===c);g||(g={name:c,path:e,children:[],isDir:!f},d.children.push(g)),d=g}}return function a(b){for(let c of(b.sort((a,b)=>a.isDir!==b.isDir?a.isDir?-1:1:a.name.localeCompare(b.name,void 0,{sensitivity:"base"})),b))c.children.length>0&&a(c.children);return b}(b.children)})(c),[c]),v=(0,f.useMemo)(()=>(function(a,b){if(!b)return a;let c=b.toLowerCase();return function a(b){let d=[];for(let e of b)(function a(b){return!!(b.name.toLowerCase().includes(c)||b.path.toLowerCase().includes(c))||b.children.some(a)})(e)&&(e.isDir?d.push({...e,children:a(e.children)}):d.push(e));return d}(a)})(u,m.trim()),[u,m]),w=(0,f.useCallback)(a=>{r(b=>{let c=new Set(b);return c.has(a)?c.delete(a):c.add(a),c})},[]),x=(0,f.useCallback)(a=>{p(a)},[]),y=(0,f.useCallback)(()=>{p(null)},[]);if(g&&0===c.length)return(0,d.jsxs)("div",{className:"flex h-full items-center justify-center gap-2 text-[12px] text-[var(--vk-text-muted)]",children:[(0,d.jsx)(C.A,{className:"h-4 w-4 animate-spin"}),"Loading workspace files…"]});if(i)return(0,d.jsxs)("div",{className:"flex h-full flex-col items-center justify-center gap-2 p-4 text-center",children:[(0,d.jsx)("p",{className:"text-[12px] text-red-400",children:i}),(0,d.jsx)("button",{type:"button",onClick:()=>void t(),className:"text-[11px] text-[var(--vk-text-muted)] underline hover:text-[var(--vk-text-normal)]",children:"Retry"})]});let z=o?(0,d.jsxs)("div",{className:"flex h-full min-h-0 min-w-0 flex-col lg:hidden",children:[(0,d.jsxs)("div",{className:"flex shrink-0 items-center gap-2 border-b border-white/8 px-2 py-2",children:[(0,d.jsx)("button",{type:"button",onClick:y,className:"inline-flex h-7 w-7 shrink-0 items-center justify-center rounded-md text-[var(--vk-text-muted)] hover:bg-white/6","aria-label":"Back to file list",children:(0,d.jsx)(D.A,{className:"h-4 w-4"})}),(0,d.jsx)(B,{className:"h-3.5 w-3.5 shrink-0 text-[var(--vk-text-muted)]"}),(0,d.jsx)("span",{className:"truncate font-mono text-[11px] text-[var(--vk-text-strong)]",children:o})]}),(0,d.jsx)("div",{className:"min-h-0 min-w-0 flex-1 overflow-hidden",children:(0,d.jsx)(U,{sessionId:a,filePath:o})})]}):null;return(0,d.jsxs)("div",{className:"flex h-full min-h-0 flex-col overflow-hidden",children:[z,(0,d.jsxs)("div",{className:`flex shrink-0 items-center gap-2 border-b border-white/8 px-2 py-1.5 ${o?"hidden lg:flex":""}`,children:[(0,d.jsxs)("div",{className:"flex min-w-0 flex-1 items-center gap-1.5 rounded-md bg-white/4 px-2 py-1.5",children:[(0,d.jsx)(E.A,{className:"h-3.5 w-3.5 shrink-0 text-[var(--vk-text-muted)]"}),(0,d.jsx)("input",{type:"text",value:m,onChange:a=>n(a.target.value),placeholder:"Search files…",className:"min-w-0 flex-1 bg-transparent text-[12px] text-[var(--vk-text-normal)] outline-none placeholder:text-[var(--vk-text-muted)]"})]}),(0,d.jsx)("button",{type:"button",onClick:()=>void t(),disabled:g,className:"inline-flex h-7 w-7 shrink-0 items-center justify-center rounded-md text-[var(--vk-text-muted)] hover:bg-white/6 disabled:opacity-50","aria-label":"Refresh files",children:(0,d.jsx)(F.A,{className:`h-3.5 w-3.5 ${g?"animate-spin":""}`})})]}),k?(0,d.jsx)("div",{className:`shrink-0 border-b border-amber-500/20 bg-amber-500/8 px-3 py-1.5 text-[11px] text-amber-300 ${o?"hidden lg:block":""}`,children:"File list truncated (4000 file limit)"}):null,(0,d.jsxs)("div",{className:`min-h-0 flex-1 lg:flex lg:flex-row ${o?"hidden lg:flex":"flex flex-col"}`,children:[(0,d.jsx)("div",{className:`min-h-0 flex-1 overflow-y-auto py-1 lg:max-w-[320px] lg:border-r lg:border-white/8 ${K.hq}`,children:0===v.length?(0,d.jsx)("div",{className:"px-3 py-6 text-center text-[12px] text-[var(--vk-text-muted)]",children:m?"No files match your search.":"No files in workspace."}):v.map(a=>(0,d.jsx)(O,{node:a,depth:0,selectedPath:o,expandedDirs:q,onToggleDir:w,onSelectFile:x},a.path))}),(0,d.jsx)("div",{className:"hidden min-h-0 min-w-0 flex-1 lg:block",children:o?(0,d.jsxs)("div",{className:"flex h-full min-h-0 min-w-0 flex-col",children:[(0,d.jsxs)("div",{className:"flex shrink-0 items-center gap-2 border-b border-white/8 px-3 py-2",children:[(0,d.jsx)(B,{className:"h-3.5 w-3.5 shrink-0 text-[var(--vk-text-muted)]"}),(0,d.jsx)("span",{className:"truncate font-mono text-[11px] text-[var(--vk-text-strong)]",children:o})]}),(0,d.jsx)("div",{className:"min-h-0 min-w-0 flex-1 overflow-hidden",children:(0,d.jsx)(U,{sessionId:a,filePath:o})})]}):(0,d.jsx)("div",{className:"flex h-full items-center justify-center text-[12px] text-[var(--vk-text-muted)]",children:"Select a file to view its contents"})})]})]})}function X({session:a,sessionId:b,active:c}){let e=(0,f.useMemo)(()=>M(a,"task")??M(a,"prompt")??("string"==typeof a.task?a.task:"")??("string"==typeof a.prompt?a.prompt:""),[a]),g=(0,f.useMemo)(()=>M(a,"agent")??("string"==typeof a.agent?a.agent:""),[a]),h=(0,f.useMemo)(()=>(function(a,b){if(!a||!b)return"";let c=new Date(a).getTime(),d=new Date(b).getTime();if(!Number.isFinite(c)||!Number.isFinite(d)||d<c)return"";let e=Math.floor((d-c)/6e4);if(e<1)return"<1m";if(e<60)return`${e}m`;let f=Math.floor(e/60);return`${f}h ${e%60}m`})(M(a,"startedAt")??a.startedAt,M(a,"finishedAt")??a.finishedAt),[a]),i=(0,f.useMemo)(()=>(function(a){if("number"==typeof a.cost)return a.cost;let b=a.metadata.cost;if("string"!=typeof b)return 0;try{let a=JSON.parse(b),c="number"==typeof a.estimatedCostUsd?a.estimatedCostUsd:0,d="number"==typeof a.totalUSD?a.totalUSD:0;return c??d}catch{return 0}})(a),[a]),j=(0,f.useMemo)(()=>N(M(a,"queuePosition")),[a]),k=(0,f.useMemo)(()=>N(M(a,"queueDepth")),[a]),l=(0,f.useMemo)(()=>M(a,"recoveryState")??"",[a]),m=(0,f.useMemo)(()=>"queued"===a.status?j?`Waiting in queue at position ${j}${k?` of ${k}`:""}.`:"Waiting in the launch queue.":"requeued_after_restart"===l?"Session recovered after backend restart and requeued.":"reattach_pending"===l?"Recovering terminal runtime after backend restart.":"detached_runtime"===l?"Backend restarted while agent may still be running.":"resume_required"===l?"Session recovered after restart. Send a message to resume.":"",[k,j,l,a.status]);return(0,d.jsxs)("div",{className:"flex h-full min-h-0 flex-col overflow-hidden",children:[m?(0,d.jsx)("div",{className:"shrink-0 border-b border-amber-500/20 bg-amber-500/8 px-3 py-2",children:(0,d.jsx)("p",{className:"text-[12px] leading-snug text-amber-300",children:m})}):null,e?(0,d.jsx)("div",{className:"shrink-0 border-b border-white/8 px-3 py-2.5",children:(0,d.jsx)("p",{className:"line-clamp-3 whitespace-pre-wrap text-[13px] leading-relaxed text-[var(--vk-text-normal)]",children:e})}):null,(0,d.jsxs)("div",{className:"flex shrink-0 flex-wrap items-center gap-x-4 gap-y-1 border-b border-white/8 px-3 py-2 text-[11px] text-[var(--vk-text-muted)]",children:[g?(0,d.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,d.jsx)(J.N,{seed:{label:g},className:"h-4 w-4"}),(0,d.jsx)("span",{children:g})]}):null,a.branch?(0,d.jsxs)("span",{className:"flex items-center gap-1",children:[(0,d.jsx)(G.A,{className:"h-3 w-3 shrink-0"}),(0,d.jsx)(L,{text:a.branch})]}):null,h?(0,d.jsxs)("span",{className:"flex items-center gap-1",children:[(0,d.jsx)(H,{className:"h-3 w-3 shrink-0"}),(0,d.jsx)("span",{children:h})]}):null,i>0?(0,d.jsxs)("span",{className:"flex items-center gap-1",children:[(0,d.jsx)(I,{className:"h-3 w-3 shrink-0"}),(0,d.jsxs)("span",{children:["$",i.toFixed(3)]})]}):null]}),(0,d.jsxs)("div",{className:"flex min-h-0 min-w-0 flex-1 flex-col overflow-hidden border-t border-white/8",children:[(0,d.jsx)("div",{className:"shrink-0 border-b border-white/8 px-3 py-2",children:(0,d.jsx)("p",{className:"text-[11px] font-medium uppercase tracking-wide text-[var(--vk-text-muted)]",children:"Workspace files"})}),(0,d.jsx)("div",{className:"min-h-0 min-w-0 flex-1 overflow-hidden",children:(0,d.jsx)(W,{sessionId:b,active:c})})]})]})}var Y=c(140),Z=c(48055),$=c(71943),_=c(46818),aa=c(67811),ab=c(93544);let ac="block h-5 w-5 shrink-0 object-contain",ad=[{id:"finder",label:"Finder"},{id:"cursor",label:"Cursor"},{id:"antigravity",label:"Antigravity"},{id:"windsurf",label:"Windsurf"},{id:"zed",label:"Zed"},{id:"xcode",label:"Xcode"},{id:"vscode",label:"VS Code"},{id:"vscode-insiders",label:"VS Code Insiders"},{id:"intellij-idea",label:"IntelliJ IDEA"},{id:"custom",label:"Custom"}],ae={finder:{kind:"image",imageSrc:"/icons/ide/finder.svg",className:ac},vscode:{kind:"image",imageSrc:"/icons/ide/vscode-dark.svg",className:ac},"vscode-insiders":{kind:"image",imageSrc:"/icons/ide/vscode-insiders.svg",className:ac},cursor:{kind:"image",imageSrc:"/icons/ide/cursor-dark.svg",className:ac},windsurf:{kind:"image",imageSrc:"/icons/ide/windsurf-dark.svg",className:ac},"intellij-idea":{kind:"image",imageSrc:"/icons/ide/intellij.svg",className:ac},zed:{kind:"image",imageSrc:"/icons/ide/zed-dark.svg",className:ac},xcode:{kind:"image",imageSrc:"/icons/ide/xcode.svg",className:ac},antigravity:{kind:"image",imageSrc:"/icons/ide/antigravity-dark.svg",className:ac},custom:{kind:"icon",className:`${ac} text-[var(--vk-text-muted)]`}};function af({editorId:a,label:b}){let c=ae[a];return c?"icon"===c.kind?(0,d.jsx)(Z.A,{className:c?.className??`${ac} text-[var(--vk-text-muted)]`}):(0,d.jsx)("img",{src:c.imageSrc,alt:`${b} logo`,className:c.className}):(0,d.jsx)(Z.A,{className:`${ac} text-[var(--vk-text-muted)]`})}function ag({projectId:a,bridgeId:b,label:c="Open",triggerClassName:e}){let{preferences:g}=(0,aa.g)(b),[h,i]=(0,f.useState)(null),j=(0,f.useMemo)(()=>{var a;return a=g?.ide??"vscode",ad.find(b=>b.id===a)??{id:a,label:a}},[g?.ide]);async function k(c){if(a&&!h){i(c);try{let d=await fetch((0,_.S)(`/api/projects/${encodeURIComponent(a)}/open`,b),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({ide:c})}),e=await d.json().catch(()=>null);if(!d.ok)throw Error(e?.error??`Failed to open project (${d.status})`)}catch(a){window.alert(a instanceof Error?a.message:"Failed to open project")}finally{i(null)}}}return(0,d.jsxs)(Y.bL,{children:[(0,d.jsx)(Y.l9,{asChild:!0,children:(0,d.jsxs)("button",{type:"button",disabled:!a||null!==h,className:(0,ab.cn)("inline-flex h-9 items-center gap-2 rounded-[6px] border border-[rgba(255,255,255,0.08)] bg-[rgba(255,255,255,0.03)] px-3 text-[13px] text-[var(--vk-text-normal)] transition hover:bg-[rgba(255,255,255,0.06)] disabled:cursor-not-allowed disabled:opacity-60",e),"aria-label":"Open project in code editor",title:a?`Open project in ${j.label}`:"No project selected",children:[h?(0,d.jsx)(C.A,{className:"h-4 w-4 animate-spin text-current"}):(0,d.jsx)($.A,{className:"h-4 w-4 text-current"}),(0,d.jsx)("span",{className:"hidden font-medium sm:inline",children:c}),(0,d.jsx)(x.A,{className:"h-3.5 w-3.5 text-current"})]})}),(0,d.jsx)(Y.ZL,{children:(0,d.jsx)(Y.UC,{align:"end",sideOffset:8,className:"z-50 min-w-[240px] rounded-[8px] border border-[rgba(255,255,255,0.08)] bg-[#1c1a19] p-2 shadow-[0_18px_50px_rgba(0,0,0,0.45)]",children:ad.map(a=>(0,d.jsxs)(Y.q7,{onSelect:()=>void k(a.id),className:"flex min-h-[44px] cursor-default items-center gap-3 rounded-[6px] px-3 py-2 text-[14px] text-[#f3efea] outline-none transition hover:bg-[rgba(255,255,255,0.06)] focus:bg-[rgba(255,255,255,0.06)]",children:[(0,d.jsx)(af,{editorId:a.id,label:a.label}),(0,d.jsx)("span",{className:"flex-1",children:a.label}),j.id===a.id?(0,d.jsx)(v.A,{className:"h-4 w-4 text-[var(--vk-text-muted)]"}):null]},a.id))})})]})}let ah=(0,e.default)(function(){return c.e(3364).then(c.bind(c,3364)).then(a=>a.SessionTerminal)},{loading:()=>(0,d.jsx)("div",{className:"flex h-full min-h-[240px] items-center justify-center text-[13px] text-[var(--vk-text-muted)]",children:"Loading terminal..."})}),ai=(0,e.default)(()=>c.e(1564).then(c.bind(c,21564)).then(a=>a.SessionPreview),{loadableGenerated:{modules:["components/sessions/SessionDetail.tsx -> ./SessionPreview"]},loading:()=>(0,d.jsx)("div",{className:"flex h-full min-h-[240px] items-center justify-center text-[13px] text-[var(--vk-text-muted)]",children:"Loading preview..."})}),aj=(0,e.default)(async()=>{},{loadableGenerated:{modules:["components/sessions/SessionDetail.tsx -> ./SessionDiff"]},loading:()=>(0,d.jsx)("div",{className:"flex h-full min-h-[240px] items-center justify-center text-[13px] text-[var(--vk-text-muted)]",children:"Loading review…"}),ssr:!1}),ak=(0,e.default)(()=>c.e(3855).then(c.bind(c,93855)).then(a=>a.SessionSkills),{loadableGenerated:{modules:["components/sessions/SessionDetail.tsx -> ./SessionSkills"]},loading:()=>(0,d.jsx)("div",{className:"flex h-full min-h-[240px] items-center justify-center text-[13px] text-[var(--vk-text-muted)]",children:"Loading skills..."})}),al=(0,e.default)(()=>Promise.all([c.e(468),c.e(5068),c.e(2831)]).then(c.bind(c,85068)).then(a=>a.DispatcherPane),{loadableGenerated:{modules:["components/sessions/SessionDetail.tsx -> ../dispatcher/DispatcherPane"]},loading:()=>(0,d.jsx)("div",{className:"flex h-full min-h-[240px] items-center justify-center text-[13px] text-[var(--vk-text-muted)]",children:"Loading dispatcher..."})}),am="min-h-0 h-full min-w-0 w-full overflow-hidden focus-visible:outline-none [&[hidden]]:block data-[state=inactive]:pointer-events-none data-[state=inactive]:absolute data-[state=inactive]:inset-0 data-[state=inactive]:invisible data-[state=inactive]:opacity-0",an="min-h-0 h-full min-w-0 w-full overflow-hidden focus-visible:outline-none [&[hidden]]:block data-[state=active]:relative data-[state=active]:z-10 data-[state=inactive]:pointer-events-none data-[state=inactive]:absolute data-[state=inactive]:inset-0 data-[state=inactive]:opacity-0 data-[state=inactive]:select-none";function ao(a,b){let c=(0,u.tK)(b);return"overview"===a||"preview"===a||"skills"===a||"diff"===a?a:"dispatcher"===a||"terminal"===a?"dispatcher"===c?"dispatcher":"terminal":c}function ap({sessionId:a,initialSession:b=null,bridgeId:c=null,immersiveMobileMode:e=!1,active:h=!0,suppressPreviewAutoOpen:v=!1,onOpenSidebar:w}){let x=(0,g.usePathname)(),y=(0,g.useRouter)(),z=(0,g.useSearchParams)(),{session:A,loading:B,error:C}=(0,s.w)(a,b,{enabled:h,bridgeId:c}),D=(0,f.useRef)(0),E=(0,f.useRef)(!1),[F,G]=(0,f.useState)(null),H=(0,f.useMemo)(()=>ao(z.get("tab"),A),[z,A]),I=(0,f.useCallback)(a=>{let b=ao(a,A),c=(0,u.tK)(A),d=new URLSearchParams(z.toString());b===c?d.delete("tab"):d.set("tab",b);let e=d.toString(),f=e.length>0?`${x}?${e}`:x;y.replace(f,{scroll:!1})},[x,y,z,A]),J=(0,f.useCallback)(a=>{D.current+=1,G({nonce:D.current,...a})},[]),L=(0,f.useCallback)(a=>{(function({active:a,activeTab:b,alreadyOpened:c,connected:d,suppressAutoOpen:e}){return d&&a&&"terminal"===b&&!c&&!e})({active:h,activeTab:H,alreadyOpened:E.current,connected:a,suppressAutoOpen:v})&&(E.current=!0,I("preview"))},[h,H,I,v]);if(B)return(0,d.jsx)("div",{className:"flex h-full items-center justify-center p-6",children:(0,d.jsx)(q.Zp,{className:"w-full max-w-md",children:(0,d.jsx)(q.Wu,{className:"py-7 text-center text-[13px] text-[var(--text-muted)]",children:"Loading session workspace..."})})});if(C)return(0,d.jsx)("div",{className:"flex h-full items-center justify-center p-6",children:(0,d.jsx)(q.Zp,{className:"w-full max-w-md border-[color:color-mix(in_srgb,var(--status-error)_45%,transparent)]",children:(0,d.jsx)(q.Wu,{className:"py-7 text-center text-[13px] text-[var(--status-error)]",children:C})})});if(!A)return(0,d.jsx)("div",{className:"flex h-full items-center justify-center p-6",children:(0,d.jsx)(q.Zp,{className:"w-full max-w-md",children:(0,d.jsx)(q.Wu,{className:"py-7 text-center text-[13px] text-[var(--text-muted)]",children:"Session not found"})})});let M="string"==typeof A.status?A.status:"unknown",N=(0,u.Zu)(A),O=function(a){switch(a){case"needs_input":return"needs input";case"working":return"working";case"running":return"running";case"spawning":return"spawning";case"queued":return"queued";default:return a.replace(/[_-]+/g," ")}}(M),P=function(a){switch(a){case"working":case"running":return"bg-amber-400";case"needs_input":return"bg-blue-400";case"spawning":case"queued":default:return"bg-gray-400";case"done":return"bg-emerald-400";case"errored":return"bg-red-400";case"stuck":return"bg-[var(--vk-accent)]";case"terminated":case"killed":return"bg-gray-500"}}(M),Q="working"===M||"running"===M||"spawning"===M||"queued"===M||"needs_input"===M,R="queued"!==M&&"spawning"!==M,S=h&&e&&"terminal"===H,T=h&&"preview"===H,U=h&&"diff"===H,V="min-h-[38px] gap-1.5 px-2.5 text-[12px] sm:min-h-0 sm:px-3",W=(0,t.kV)(a).slice(0,7),Y=(0,d.jsxs)(p.j7,{className:"flex w-full overflow-x-auto sm:w-fit sm:inline-flex",children:[(0,d.jsxs)(p.Xi,{value:"overview",className:V,children:[(0,d.jsx)(i,{className:"h-3.5 w-3.5"}),"Overview"]}),(0,d.jsxs)(p.Xi,{value:"diff",className:V,children:[(0,d.jsx)(j,{className:"h-3.5 w-3.5"}),"Review"]}),N?(0,d.jsxs)(p.Xi,{value:"dispatcher",className:V,children:[(0,d.jsx)(k.A,{className:"h-3.5 w-3.5"}),"Dispatcher"]}):(0,d.jsxs)(p.Xi,{value:"terminal",className:V,children:[(0,d.jsx)(l.A,{className:"h-3.5 w-3.5"}),"Terminal"]}),(0,d.jsxs)(p.Xi,{value:"preview",className:V,children:[(0,d.jsx)(m.A,{className:"h-3.5 w-3.5"}),"Preview"]}),(0,d.jsxs)(p.Xi,{value:"skills",className:V,children:[(0,d.jsx)(n.A,{className:"h-3.5 w-3.5"}),"Skills"]})]});return(0,d.jsx)("div",{className:(0,K.re)(S),"data-conductor-session-terminal":"ttyd-iframe",children:(0,d.jsxs)(p.tU,{value:H,onValueChange:I,className:S?"flex min-h-0 min-w-0 w-full flex-1 flex-col gap-0 p-0":"flex min-h-0 min-w-0 w-full flex-1 flex-col gap-1 p-1 lg:gap-2 lg:p-3",children:[S?(0,d.jsxs)("div",{className:"flex shrink-0 flex-col border-b border-white/10 bg-[#0d0908]",children:[(0,d.jsxs)("div",{className:"flex h-10 items-center gap-2 px-2",children:[w?(0,d.jsx)(r.$,{type:"button",variant:"ghost",size:"icon",className:"h-8 w-8 shrink-0 text-[#8e847d] hover:text-[#c9c0b7]",onClick:w,"aria-label":"Open workspace panel",children:(0,d.jsx)(o.A,{className:"h-4 w-4"})}):null,(0,d.jsxs)("div",{className:"flex min-w-0 flex-1 items-center gap-1.5",children:[(0,d.jsx)("span",{className:`inline-block h-2 w-2 shrink-0 rounded-full ${P}${Q?" animate-pulse":""}`}),(0,d.jsx)("span",{className:"text-[12px] font-medium text-[#efe8e1]",children:O}),(0,d.jsxs)("span",{className:"font-mono text-[10px] text-[#8e847d]",children:["\xb7 ",W]})]}),R?(0,d.jsx)(ag,{projectId:A.projectId,bridgeId:A.bridgeId??null}):null]}),(0,d.jsx)("div",{className:"px-1.5 pb-1.5",children:Y})]}):(0,d.jsxs)("div",{className:"flex min-w-0 flex-wrap items-center gap-x-2 gap-y-1.5 sm:flex-nowrap",children:[Y,(0,d.jsxs)("div",{className:"flex w-full items-center justify-between gap-2 sm:ml-auto sm:w-auto sm:justify-end",children:[(0,d.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,d.jsx)("span",{className:`inline-block h-2 w-2 shrink-0 rounded-full ${P}${Q?" animate-pulse":""}`}),(0,d.jsx)("span",{className:"text-[11px] text-[var(--vk-text-muted)]",children:O}),(0,d.jsxs)("span",{className:"hidden font-mono text-[10px] text-[var(--vk-text-muted)] sm:inline",children:["\xb7 ",W]})]}),R?(0,d.jsx)(ag,{projectId:A.projectId,bridgeId:A.bridgeId??null}):null]})]}),(0,d.jsxs)("div",{className:"relative min-h-0 min-w-0 h-0 flex-1 overflow-hidden",children:[(0,d.jsx)(p.av,{value:"overview",className:am,children:(0,d.jsx)(X,{session:A,sessionId:a,active:h&&"overview"===H})}),(0,d.jsx)(p.av,{value:"diff",className:`${am} flex min-h-0 flex-col`,children:(0,d.jsx)(aj,{sessionId:a,active:U})}),N?(0,d.jsx)(p.av,{value:"dispatcher",forceMount:!0,className:an,children:(0,d.jsx)(al,{thread:A,projectId:A.projectId,bridgeId:A.bridgeId??c,active:h&&"dispatcher"===H,className:"h-full w-full border-0 xl:w-full"})}):(0,d.jsx)(p.av,{value:"terminal",forceMount:!0,className:S?`flex min-h-0 h-full min-w-0 w-full flex-col overflow-hidden bg-[#060404] ${an}`:`flex min-h-0 h-full min-w-0 w-full flex-col overflow-hidden bg-transparent ${an}`,children:(0,d.jsx)(ah,{sessionId:a,projectId:A.projectId,bridgeId:A.bridgeId??null,sessionState:M,runtimeMode:A.metadata.runtimeMode?.trim()??null,pendingInsert:F,immersiveMobileMode:S,panelVisible:h&&"terminal"===H,onPendingInsertConsumed:()=>G(null)})}),(0,d.jsx)(p.av,{value:"preview",forceMount:!0,className:`${an} flex min-h-0 flex-col`,children:(0,d.jsx)(ai,{sessionId:a,active:T,onQueueTerminalInsert:J,onConnectionChange:L},a)}),(0,d.jsx)(p.av,{value:"skills",className:am,children:(0,d.jsx)(ak,{session:A,sessionId:a,active:h&&"skills"===H})})]})]},a)})}}};
|
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
"use strict";exports.id=8039,exports.ids=[8039],exports.modules={25985:(a,b,c)=>{c.d(b,{FM:()=>g,JZ:()=>f,N7:()=>h});var d=c(32679),e=c(70209);async function f(a){let b=await (0,d.ny)(a),c=new Headers({"x-conductor-proxy-authorized":"true","x-conductor-access-authenticated":b.authenticated||"local"===b.provider?"true":"false"});b.role&&c.set("x-conductor-access-role",b.role),b.email&&c.set("x-conductor-access-email",b.email),b.provider&&c.set("x-conductor-access-provider",b.provider);let e=process.env.CONDUCTOR_PROXY_AUTH_SECRET?.trim()||null;return e&&c.set("x-conductor-proxy-secret",e),c}async function g(a,b,c={}){let h=await (0,d.sB)(a,c.role??"viewer");if(h)return h;if(c.requireActionGuard){let b=(0,d.G1)(a);if(b)return b}return(0,e.zP)(a,b,{headers:await f(a)})}async function h(a,b,c={}){let g=await (0,d.sB)(a,c.role??"viewer");if(g)return g;if(c.requireActionGuard){let b=(0,d.G1)(a);if(b)return b}return(0,e.X_)(a,b,{headers:await f(a)})}},36026:(a,b,c)=>{function d(a){let b=a?.trim();if(!b)return null;try{let a=new URL(b);if("http:"!==a.protocol&&"https:"!==a.protocol)return null;return a.toString()}catch{return null}}function e(a){let b=a?.trim();if(!b)return null;let c=Number.parseInt(b,10);return!Number.isInteger(c)||c<1||c>65535?null:c}function f(){let a=d(process.env.CONDUCTOR_BACKEND_URL);if(a)return a;let b=d(process.env.NEXT_PUBLIC_CONDUCTOR_BACKEND_URL);if(b)return b;let c=e(process.env.CONDUCTOR_BACKEND_PORT);if(null!==c)return`http://127.0.0.1:${c}`;let f=e(process.env.NEXT_PUBLIC_CONDUCTOR_BACKEND_PORT);return null!==f?`http://127.0.0.1:${f}`:null}function g(){let a=f();if(!a)throw Error("Rust backend URL is not configured");return a}c.d(b,{B:()=>g,_:()=>f})},70209:(a,b,c)=>{c.d(b,{X_:()=>m,Z$:()=>h,zP:()=>l});var d=c(77873),e=c(36026);let f=new Set(["connection","host","content-length","expect","upgrade","proxy-authorization","proxy-authenticate","te","trailers","transfer-encoding","accept-encoding","x-conductor-proxy-authorized","x-conductor-access-authenticated","x-conductor-access-role","x-conductor-access-email","x-conductor-access-provider","x-conductor-proxy-secret"]),g=new Set(["connection","content-length","content-encoding","keep-alive","transfer-encoding"]);function h(){return null!==(0,e._)()}function i(a){let b=new Headers;return a.headers.forEach((a,c)=>{g.has(c.toLowerCase())||b.set(c,a)}),b}async function j(a,b,c={}){let d=(0,e.B)(),g=new URL(a.url),h=new URL(b,d);h.search=g.search;let k=new Headers;a.headers.forEach((a,b)=>{f.has(b.toLowerCase())||k.set(b,a)}),c.headers&&new Headers(c.headers).forEach((a,b)=>{k.set(b,a)}),k.set("x-forwarded-proto",g.protocol.replace(":","")),k.set("x-forwarded-host",g.host);let l={method:a.method,headers:k,redirect:"manual",cache:"no-store"};if("GET"!==a.method&&"HEAD"!==a.method){let b=await a.arrayBuffer();b.byteLength>0&&(l.body=b)}let m=await fetch(h,l),n=i(m);return new Response(m.body,{status:m.status,statusText:m.statusText,headers:n})}async function k(a,b,c={}){let d,g=(0,e.B)(),h=new URL(a.url),j=new URL(b,g);j.search=h.search;let l=new Headers;a.headers.forEach((a,b)=>{f.has(b.toLowerCase())||l.set(b,a)}),c.headers&&new Headers(c.headers).forEach((a,b)=>{l.set(b,a)}),l.set("Accept","text/event-stream"),l.set("Cache-Control","no-cache"),l.set("x-forwarded-proto",h.protocol.replace(":","")),l.set("x-forwarded-host",h.host);let m=await fetch(j,{method:"GET",headers:l,redirect:"manual",cache:"no-store",signal:a.signal});return m.ok&&m.body?new Response(m.body,{status:m.status,statusText:m.statusText,headers:((d=i(m)).set("Content-Type","text/event-stream"),d.set("Cache-Control","no-cache, no-transform"),d.set("Connection","keep-alive"),d.set("X-Accel-Buffering","no"),d)}):new Response(m.body,{status:m.status,statusText:m.statusText,headers:i(m)})}async function l(a,b,c={}){if(!h())return d.NextResponse.json({error:"Rust backend URL is not configured"},{status:503});try{return await j(a,b,c)}catch(a){return d.NextResponse.json({error:a instanceof Error?a.message:"Failed to reach Rust backend"},{status:502})}}async function m(a,b,c={}){if(!h())return d.NextResponse.json({error:"Rust backend URL is not configured"},{status:503});try{return await k(a,b,c)}catch(a){return d.NextResponse.json({error:a instanceof Error?a.message:"Failed to reach Rust backend"},{status:502})}}},83387:(a,b,c)=>{c.d(b,{CH:()=>p,D1:()=>n,DV:()=>l,LC:()=>k,_I:()=>r,a8:()=>s,q:()=>j,xK:()=>q});var d=c(77873),e=c(32679),f=c(85689),g=c(94842),h=c(46224),i=c(91752);let j="relayTtydWs";function k(a,b){let c=(0,i.DW)(a);if(c)return c;let d=(0,g.oV)(b),e=a.trim();return d&&0!==e.length?{bridgeId:d,sessionId:e}:null}function l(a,b){let c;return(c=new URL(`/api/sessions/${encodeURIComponent(a)}/terminal/ttyd`,"http://dashboard.local")).searchParams.set("bridgeId",b),`${c.pathname}${c.search}`}let m=["content-length","content-encoding","content-disposition","etag","last-modified","transfer-encoding"];function n(a,b){let c=new Headers(a.headers);for(let a of m)c.delete(a);return c.set("content-type","text/html; charset=utf-8"),c.set("cache-control","no-store, no-cache, must-revalidate, max-age=0"),c.set("pragma","no-cache"),c.set("expires","0"),new Response(new TextEncoder().encode(b),{status:a.status,statusText:a.statusText,headers:c})}function o(a,b,c){if(a.includes(b))return a;let d=a.indexOf("<head");if(d>=0){let b=a.indexOf(">",d);if(b>=0)return`${a.slice(0,b+1)}${c}${a.slice(b+1)}`}let e=a.indexOf("<script");return e>=0?`${a.slice(0,e)}${c}${a.slice(e)}`:function(a,b,c){if(a.includes(b))return a;let d=a.lastIndexOf("</body>");if(d>=0)return`${a.slice(0,d)}${c}${a.slice(d)}`;let e=a.lastIndexOf("</html>");return e>=0?`${a.slice(0,e)}${c}${a.slice(e)}`:`${a}${c}`}(a,b,c)}async function p(a,b,c){let d=await (0,e.ny)(a),g=(0,f.bD)(d);if(!g)throw Error("Unable to resolve the dashboard user for the bridge relay.");let i=new URL(`/api/devices/${encodeURIComponent(b)}/terminals`,(0,h.P)()),j=await fetch(i,{method:"POST",headers:new Headers({...Object.fromEntries((await (0,f.Rq)(a)).entries()),"Content-Type":"application/json"}),body:JSON.stringify({session_id:c}),cache:"no-store",redirect:"manual"}),k=await j.json().catch(()=>null);if(!j.ok||!k?.terminal_id)throw Error(k?.error??`Failed to create relay terminal session (${j.status})`);let l=await (0,f.D8)(g,"terminal-browser","12h");return(0,f.hF)(`/terminal/${encodeURIComponent(k.terminal_id)}/browser`,l)}async function q(a,b,c){let f=await (0,e.sB)(a,c);if(f)return{ok:!1,response:f};let h=k(b,a);if(!h)return{ok:!1,response:d.NextResponse.json({error:"Paired device required"},{status:412})};let i=await (0,g.nl)(a,h.bridgeId,`/api/sessions/${encodeURIComponent(h.sessionId)}/terminal/token`,{pathOverride:`/api/sessions/${encodeURIComponent(h.sessionId)}/terminal/token`});if(!i.ok)return{ok:!1,response:i};let j=await i.json().catch(()=>null);if("string"!=typeof j?.ttydHttpUrl&&"string"!=typeof j?.ttydWsUrl)return{ok:!1,response:d.NextResponse.json({error:j?.error??`Session ${h.sessionId} does not expose a ttyd terminal`},{status:409})};try{let c=await p(a,h.bridgeId,h.sessionId);return{ok:!0,bridgeId:h.bridgeId,sessionId:h.sessionId,routeSessionId:b,upstreamPayload:j,relayTtydWsUrl:c}}catch(a){return{ok:!1,response:d.NextResponse.json({error:a instanceof Error?a.message:"Failed to connect relay ttyd session"},{status:502})}}}function r(a){let b="conductor-ttyd-resize-shim";if(a.includes(b))return a;let c=`<!-- ${b} -->
|
|
2
|
+
<script>
|
|
3
|
+
(function() {
|
|
4
|
+
if (window.__conductorTtydResizeShimInstalled || window.__conductorTtydResizeShimPatched) return;
|
|
5
|
+
window.__conductorTtydResizeShimInstalled = true;
|
|
6
|
+
window.__conductorTtydResizeShimPatched = true;
|
|
7
|
+
|
|
8
|
+
var RESIZE_MESSAGE_TYPE = "conductor-terminal-resize";
|
|
9
|
+
var pendingRaf = null;
|
|
10
|
+
var pendingBurstRaf = null;
|
|
11
|
+
var burstTimers = [];
|
|
12
|
+
|
|
13
|
+
function clearBurstTimers() {
|
|
14
|
+
if (pendingBurstRaf !== null) {
|
|
15
|
+
window.cancelAnimationFrame(pendingBurstRaf);
|
|
16
|
+
pendingBurstRaf = null;
|
|
17
|
+
}
|
|
18
|
+
for (var i = 0; i < burstTimers.length; i++) {
|
|
19
|
+
window.clearTimeout(burstTimers[i]);
|
|
20
|
+
}
|
|
21
|
+
burstTimers = [];
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
function findXtermScrollHost() {
|
|
25
|
+
return document.querySelector(".xterm-viewport")
|
|
26
|
+
|| document.querySelector(".xterm-scrollable-element");
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
function findXtermTerminal() {
|
|
30
|
+
if (typeof window !== "undefined" && window.ttyd && window.ttyd.terminal) return window.ttyd.terminal;
|
|
31
|
+
if (typeof window !== "undefined" && window.term) return window.term;
|
|
32
|
+
var container = document.querySelector(".terminal");
|
|
33
|
+
if (container && container._xterm) return container._xterm;
|
|
34
|
+
var termEl = document.querySelector(".xterm");
|
|
35
|
+
if (termEl && termEl.__xterm) return termEl.__xterm;
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
function queueXtermFit() {
|
|
40
|
+
if (pendingRaf !== null) return;
|
|
41
|
+
pendingRaf = requestAnimationFrame(function() {
|
|
42
|
+
pendingRaf = null;
|
|
43
|
+
var terminal = findXtermTerminal();
|
|
44
|
+
if (!terminal) return;
|
|
45
|
+
if (terminal._fitAddon) {
|
|
46
|
+
try { terminal._fitAddon.fit(); } catch(e) {}
|
|
47
|
+
}
|
|
48
|
+
try {
|
|
49
|
+
var rows = terminal.rows;
|
|
50
|
+
if (rows > 0) terminal.refresh(0, rows - 1);
|
|
51
|
+
} catch(e) {}
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
function dispatchResize() {
|
|
56
|
+
var scrollHost = findXtermScrollHost();
|
|
57
|
+
if (!scrollHost) {
|
|
58
|
+
window.dispatchEvent(new Event("resize"));
|
|
59
|
+
queueXtermFit();
|
|
60
|
+
return;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
var maxScroll = Math.max(0, scrollHost.scrollHeight - scrollHost.clientHeight);
|
|
64
|
+
var atBottom = maxScroll <= 0 || maxScroll - scrollHost.scrollTop < 12;
|
|
65
|
+
var scrollRatio = maxScroll > 0 ? scrollHost.scrollTop / maxScroll : 1;
|
|
66
|
+
|
|
67
|
+
window.dispatchEvent(new Event("resize"));
|
|
68
|
+
|
|
69
|
+
function restore() {
|
|
70
|
+
var sh = findXtermScrollHost();
|
|
71
|
+
if (!sh) return;
|
|
72
|
+
var newMax = Math.max(0, sh.scrollHeight - sh.clientHeight);
|
|
73
|
+
if (newMax <= 0) return;
|
|
74
|
+
if (atBottom) {
|
|
75
|
+
sh.scrollTop = newMax;
|
|
76
|
+
} else {
|
|
77
|
+
sh.scrollTop = Math.round(scrollRatio * newMax);
|
|
78
|
+
}
|
|
79
|
+
queueXtermFit();
|
|
80
|
+
}
|
|
81
|
+
if (typeof window.requestAnimationFrame === "function") {
|
|
82
|
+
window.requestAnimationFrame(function() {
|
|
83
|
+
window.requestAnimationFrame(restore);
|
|
84
|
+
});
|
|
85
|
+
} else {
|
|
86
|
+
restore();
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
function scheduleResizeBurst() {
|
|
91
|
+
clearBurstTimers();
|
|
92
|
+
if (typeof window.requestAnimationFrame === "function") {
|
|
93
|
+
pendingBurstRaf = window.requestAnimationFrame(function() {
|
|
94
|
+
pendingBurstRaf = null;
|
|
95
|
+
dispatchResize();
|
|
96
|
+
});
|
|
97
|
+
} else {
|
|
98
|
+
dispatchResize();
|
|
99
|
+
}
|
|
100
|
+
burstTimers.push(window.setTimeout(dispatchResize, 120));
|
|
101
|
+
burstTimers.push(window.setTimeout(dispatchResize, 360));
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
function handleResizeMessage(event) {
|
|
105
|
+
if (!event || !event.data) return;
|
|
106
|
+
if (event.data.type !== RESIZE_MESSAGE_TYPE) return;
|
|
107
|
+
|
|
108
|
+
var vw = Math.max(0, window.innerWidth || 0);
|
|
109
|
+
var vh = Math.max(0, window.innerHeight || 0);
|
|
110
|
+
if (vw < 10 || vh < 10) return;
|
|
111
|
+
|
|
112
|
+
scheduleResizeBurst();
|
|
113
|
+
queueXtermFit();
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
var lastViewportKey = "";
|
|
117
|
+
function syncViewportSizeEmbedded() {
|
|
118
|
+
var width = Math.max(0, Math.round(window.innerWidth || 0));
|
|
119
|
+
var height = Math.max(0, Math.round(window.innerHeight || 0));
|
|
120
|
+
var dpr = window.devicePixelRatio || 1;
|
|
121
|
+
if (width < 10 || height < 10) return;
|
|
122
|
+
var key = width + ":" + height + ":" + dpr;
|
|
123
|
+
if (key === lastViewportKey) return;
|
|
124
|
+
lastViewportKey = key;
|
|
125
|
+
scheduleResizeBurst();
|
|
126
|
+
queueXtermFit();
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
var viewportObserver = typeof ResizeObserver !== "undefined" && document.documentElement
|
|
130
|
+
? new ResizeObserver(syncViewportSizeEmbedded)
|
|
131
|
+
: null;
|
|
132
|
+
if (viewportObserver) {
|
|
133
|
+
viewportObserver.observe(document.documentElement);
|
|
134
|
+
if (document.body && document.body !== document.documentElement) {
|
|
135
|
+
viewportObserver.observe(document.body);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
window.addEventListener("resize", syncViewportSizeEmbedded);
|
|
139
|
+
window.addEventListener("orientationchange", syncViewportSizeEmbedded);
|
|
140
|
+
window.addEventListener("pageshow", scheduleResizeBurst);
|
|
141
|
+
window.addEventListener("focus", scheduleResizeBurst);
|
|
142
|
+
document.addEventListener("visibilitychange", function() {
|
|
143
|
+
if (document.visibilityState === "visible") {
|
|
144
|
+
scheduleResizeBurst();
|
|
145
|
+
queueXtermFit();
|
|
146
|
+
}
|
|
147
|
+
});
|
|
148
|
+
if (document.fonts && document.fonts.ready) {
|
|
149
|
+
void document.fonts.ready.then(function() { scheduleResizeBurst(); queueXtermFit(); }).catch(function() {});
|
|
150
|
+
}
|
|
151
|
+
syncViewportSizeEmbedded();
|
|
152
|
+
// Match TTYD_RESIZE_SHIM boot in terminal.rs (initial sync + scheduleResizeBurst).
|
|
153
|
+
scheduleResizeBurst();
|
|
154
|
+
|
|
155
|
+
window.addEventListener("message", handleResizeMessage, false);
|
|
156
|
+
|
|
157
|
+
window.addEventListener('beforeunload', function(e) {
|
|
158
|
+
e.stopImmediatePropagation();
|
|
159
|
+
}, true);
|
|
160
|
+
|
|
161
|
+
window.addEventListener("beforeunload", function() {
|
|
162
|
+
clearBurstTimers();
|
|
163
|
+
if (viewportObserver) viewportObserver.disconnect();
|
|
164
|
+
}, { once: true });
|
|
165
|
+
})();
|
|
166
|
+
</script>`;return o(a,b,c)}function s(a,b){let c="conductor-bridge-ttyd-relay-shim";if(a.includes(c))return a;let d=JSON.stringify(b),e=`<!-- ${c} -->
|
|
167
|
+
<script>
|
|
168
|
+
(function() {
|
|
169
|
+
if (window.__conductorBridgeTtydRelayPatched) return;
|
|
170
|
+
window.__conductorBridgeTtydRelayPatched = true;
|
|
171
|
+
|
|
172
|
+
const REQUEST_MESSAGE_TYPE = 'conductor-ttyd-auth-token-request';
|
|
173
|
+
const READY_MESSAGE_TYPE = 'conductor-ttyd-ready';
|
|
174
|
+
const RELAY_UPDATE_MESSAGE_TYPE = 'conductor-ttyd-relay-url';
|
|
175
|
+
const TOKEN_REQUEST_THROTTLE_MS = 1500;
|
|
176
|
+
const LOOPBACK_HOSTS = new Set(['localhost', '127.0.0.1', '::1']);
|
|
177
|
+
const previousWebSocket = window.WebSocket;
|
|
178
|
+
if (typeof previousWebSocket !== 'function') return;
|
|
179
|
+
|
|
180
|
+
let currentRelayTtydWsUrl = ${d};
|
|
181
|
+
if (!currentRelayTtydWsUrl) return;
|
|
182
|
+
|
|
183
|
+
let lastTokenRequestAt = 0;
|
|
184
|
+
let unloading = false;
|
|
185
|
+
|
|
186
|
+
function notifyReady() {
|
|
187
|
+
if (unloading || !window.parent || window.parent === window) return;
|
|
188
|
+
try {
|
|
189
|
+
window.parent.postMessage({ type: READY_MESSAGE_TYPE }, '*');
|
|
190
|
+
} catch {
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
function requestFreshRelay(reason) {
|
|
195
|
+
if (unloading || !window.parent || window.parent === window) return;
|
|
196
|
+
|
|
197
|
+
const now = Date.now();
|
|
198
|
+
if (now - lastTokenRequestAt < TOKEN_REQUEST_THROTTLE_MS) return;
|
|
199
|
+
lastTokenRequestAt = now;
|
|
200
|
+
|
|
201
|
+
try {
|
|
202
|
+
window.parent.postMessage({
|
|
203
|
+
type: REQUEST_MESSAGE_TYPE,
|
|
204
|
+
reason,
|
|
205
|
+
}, '*');
|
|
206
|
+
} catch {
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
function attachSocketListeners(socket) {
|
|
211
|
+
if (!socket || socket.__conductorTokenRefreshHookAttached) return socket;
|
|
212
|
+
|
|
213
|
+
socket.__conductorTokenRefreshHookAttached = true;
|
|
214
|
+
socket.addEventListener('open', function() {
|
|
215
|
+
notifyReady();
|
|
216
|
+
});
|
|
217
|
+
socket.addEventListener('close', function() {
|
|
218
|
+
requestFreshRelay('bridge-websocket-close');
|
|
219
|
+
});
|
|
220
|
+
socket.addEventListener('error', function() {
|
|
221
|
+
requestFreshRelay('bridge-websocket-error');
|
|
222
|
+
});
|
|
223
|
+
return socket;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
function normalizedRelayUrl(url) {
|
|
227
|
+
let normalizedUrl = String(url);
|
|
228
|
+
try {
|
|
229
|
+
const candidate = new URL(normalizedUrl, window.location.href);
|
|
230
|
+
if (
|
|
231
|
+
LOOPBACK_HOSTS.has(candidate.hostname) ||
|
|
232
|
+
candidate.pathname === '/' ||
|
|
233
|
+
candidate.pathname === '/ws' ||
|
|
234
|
+
candidate.pathname.endsWith('/ws')
|
|
235
|
+
) {
|
|
236
|
+
normalizedUrl = currentRelayTtydWsUrl;
|
|
237
|
+
}
|
|
238
|
+
} catch {
|
|
239
|
+
}
|
|
240
|
+
return normalizedUrl;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
const patchedWebSocket = function(url, protocols) {
|
|
244
|
+
const normalizedUrl = normalizedRelayUrl(url);
|
|
245
|
+
if (arguments.length > 1) {
|
|
246
|
+
return attachSocketListeners(new previousWebSocket(normalizedUrl, protocols));
|
|
247
|
+
}
|
|
248
|
+
return attachSocketListeners(new previousWebSocket(normalizedUrl));
|
|
249
|
+
};
|
|
250
|
+
|
|
251
|
+
Object.setPrototypeOf(patchedWebSocket, previousWebSocket);
|
|
252
|
+
patchedWebSocket.prototype = previousWebSocket.prototype;
|
|
253
|
+
window.WebSocket = patchedWebSocket;
|
|
254
|
+
|
|
255
|
+
const trustedParentOrigin = window.location.origin;
|
|
256
|
+
|
|
257
|
+
function handleMessage(event) {
|
|
258
|
+
if (event.source !== window.parent || event.origin !== trustedParentOrigin) {
|
|
259
|
+
return;
|
|
260
|
+
}
|
|
261
|
+
const data = event.data;
|
|
262
|
+
if (!data || typeof data !== 'object' || data.type !== RELAY_UPDATE_MESSAGE_TYPE) {
|
|
263
|
+
return;
|
|
264
|
+
}
|
|
265
|
+
const nextRelayUrl = typeof data.relayTtydWsUrl === 'string' ? data.relayTtydWsUrl.trim() : '';
|
|
266
|
+
if (!nextRelayUrl) {
|
|
267
|
+
return;
|
|
268
|
+
}
|
|
269
|
+
currentRelayTtydWsUrl = nextRelayUrl;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
window.addEventListener('message', handleMessage);
|
|
273
|
+
window.addEventListener('beforeunload', function() {
|
|
274
|
+
unloading = true;
|
|
275
|
+
window.removeEventListener('message', handleMessage);
|
|
276
|
+
}, { once: true });
|
|
277
|
+
})();
|
|
278
|
+
</script>`;return o(a,c,e)}}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.id=9455,exports.ids=[9455],exports.modules={
|
|
1
|
+
"use strict";exports.id=9455,exports.ids=[9455],exports.modules={9455:(a,b,c)=>{c.r(b),c.d(b,{KeylessCreatorOrReader:()=>h});var d=c(67994),e=c(71277),f=c.n(e),g=c(72328);let h=a=>{var b;let{children:c}=a,h=(null==(b=(0,d.useSelectedLayoutSegments)()[0])?void 0:b.startsWith("/_not-found"))||!1,[i,j]=f().useActionState(g.a,null);return((0,e.useEffect)(()=>{h||f().startTransition(()=>{j()})},[h]),f().isValidElement(c))?f().cloneElement(c,{key:null==i?void 0:i.publishableKey,publishableKey:null==i?void 0:i.publishableKey,__internal_keyless_claimKeylessApplicationUrl:null==i?void 0:i.claimUrl,__internal_keyless_copyInstanceKeysUrl:null==i?void 0:i.apiKeysUrl,__internal_bypassMissingPublishableKey:!0}):c}},72328:(a,b,c)=>{c.d(b,{a:()=>e});var d=c(85660);let e=(0,d.createServerReference)("00f202f995f11a2535f836b0d7a1bb002ad9012d96",d.callServer,void 0,d.findSourceMapURL,"createOrReadKeylessAction")}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";exports.id=9615,exports.ids=[9615],exports.modules={19615:(a,b,c)=>{c.r(b),c.d(b,{createOrReadKeylessAction:()=>g.a,deleteKeylessAction:()=>e,detectKeylessEnvDriftAction:()=>f.A,syncKeylessConfigAction:()=>h});var d=c(85660);let e=(0,d.createServerReference)("00d1454244817fa90f6bf1d7eca997ec814855acef",d.callServer,void 0,d.findSourceMapURL,"deleteKeylessAction");var f=c(73944),g=c(72328);let h=(0,d.createServerReference)("40f18b42de2381dfb9681fc463d734c51e42e4ddfd",d.callServer,void 0,d.findSourceMapURL,"syncKeylessConfigAction")},72328:(a,b,c)=>{c.d(b,{a:()=>e});var d=c(85660);let e=(0,d.createServerReference)("00f202f995f11a2535f836b0d7a1bb002ad9012d96",d.callServer,void 0,d.findSourceMapURL,"createOrReadKeylessAction")}};
|
|
@@ -24,6 +24,8 @@
|
|
|
24
24
|
"/api/sessions/[id]/terminal/relay": {},
|
|
25
25
|
"/api/sessions/[id]/terminal/snapshot": {},
|
|
26
26
|
"/api/sessions/[id]/terminal/token": {},
|
|
27
|
-
"/api/sessions/[id]/terminal/
|
|
27
|
+
"/api/sessions/[id]/terminal/ttyd": {},
|
|
28
|
+
"/api/sessions/[id]/terminal/ttyd/token": {},
|
|
29
|
+
"/api/sessions/[id]/terminal/ttyd/ws": {}
|
|
28
30
|
}
|
|
29
31
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-42372ed130431b0a.js"],devFiles:[],lowPriorityFiles:["static/
|
|
1
|
+
globalThis.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-42372ed130431b0a.js"],devFiles:[],lowPriorityFiles:["static/jX90efNmWKjmUhjR6uaGX/_buildManifest.js","static/jX90efNmWKjmUhjR6uaGX/_ssgManifest.js"],rootMainFiles:["static/chunks/webpack-9b458b0e28d599e9.js","static/chunks/87c73c54-014124adcece3495.js","static/chunks/1968-281077ad765d1294.js","static/chunks/main-app-d6167a36ed763f15.js"],rootMainFilesTree:{},pages:{"/_app":[]}};
|