tower-studio 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -0
- package/.next/app-path-routes-manifest.json +41 -0
- package/.next/build/chunks/0kjx__pnpm_05m.mc_._.js +6681 -0
- package/.next/build/chunks/[root-of-the-server]__0a5dngl._.js +206 -0
- package/.next/build/chunks/[root-of-the-server]__13e2v6w._.js +500 -0
- package/.next/build/chunks/[turbopack-node]_transforms_postcss_ts_0y_r.ay._.js +13 -0
- package/.next/build/chunks/[turbopack]_runtime.js +890 -0
- package/.next/build/package.json +1 -0
- package/.next/build/postcss.js +6 -0
- package/.next/build-manifest.json +22 -0
- package/.next/cache/.previewinfo +1 -0
- package/.next/cache/.rscinfo +1 -0
- package/.next/cache/.tsbuildinfo +1 -0
- package/.next/diagnostics/build-diagnostics.json +6 -0
- package/.next/diagnostics/framework.json +1 -0
- package/.next/diagnostics/route-bundle-stats.json +299 -0
- package/.next/export-marker.json +6 -0
- package/.next/fallback-build-manifest.json +13 -0
- package/.next/images-manifest.json +68 -0
- package/.next/next-minimal-server.js.nft.json +1 -0
- package/.next/next-server.js.nft.json +1 -0
- package/.next/package.json +1 -0
- package/.next/prerender-manifest.json +278 -0
- package/.next/required-server-files.js +339 -0
- package/.next/required-server-files.json +339 -0
- package/.next/routes-manifest.json +312 -0
- package/.next/server/app/_global-error/page/app-paths-manifest.json +3 -0
- package/.next/server/app/_global-error/page/build-manifest.json +18 -0
- package/.next/server/app/_global-error/page/next-font-manifest.json +6 -0
- package/.next/server/app/_global-error/page/react-loadable-manifest.json +1 -0
- package/.next/server/app/_global-error/page/server-reference-manifest.json +4 -0
- package/.next/server/app/_global-error/page.js +12 -0
- package/.next/server/app/_global-error/page.js.nft.json +1 -0
- package/.next/server/app/_global-error/page_client-reference-manifest.js +3 -0
- package/.next/server/app/_global-error.html +1 -0
- package/.next/server/app/_global-error.meta +15 -0
- package/.next/server/app/_global-error.rsc +15 -0
- package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +5 -0
- package/.next/server/app/_global-error.segments/_full.segment.rsc +15 -0
- package/.next/server/app/_global-error.segments/_head.segment.rsc +6 -0
- package/.next/server/app/_global-error.segments/_index.segment.rsc +5 -0
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -0
- package/.next/server/app/_not-found/page/app-paths-manifest.json +3 -0
- package/.next/server/app/_not-found/page/build-manifest.json +18 -0
- package/.next/server/app/_not-found/page/next-font-manifest.json +11 -0
- package/.next/server/app/_not-found/page/react-loadable-manifest.json +16 -0
- package/.next/server/app/_not-found/page/server-reference-manifest.json +233 -0
- package/.next/server/app/_not-found/page.js +20 -0
- package/.next/server/app/_not-found/page.js.nft.json +1 -0
- package/.next/server/app/_not-found/page_client-reference-manifest.js +3 -0
- package/.next/server/app/_not-found.html +1 -0
- package/.next/server/app/_not-found.meta +16 -0
- package/.next/server/app/_not-found.rsc +24 -0
- package/.next/server/app/_not-found.segments/_full.segment.rsc +24 -0
- package/.next/server/app/_not-found.segments/_head.segment.rsc +6 -0
- package/.next/server/app/_not-found.segments/_index.segment.rsc +12 -0
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +5 -0
- package/.next/server/app/_not-found.segments/_not-found.segment.rsc +5 -0
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +4 -0
- package/.next/server/app/api/adapters/test/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/adapters/test/route/build-manifest.json +9 -0
- package/.next/server/app/api/adapters/test/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/adapters/test/route.js +9 -0
- package/.next/server/app/api/adapters/test/route.js.nft.json +1 -0
- package/.next/server/app/api/adapters/test/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/browse-fs/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/browse-fs/route/build-manifest.json +9 -0
- package/.next/server/app/api/browse-fs/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/browse-fs/route.js +7 -0
- package/.next/server/app/api/browse-fs/route.js.nft.json +1 -0
- package/.next/server/app/api/browse-fs/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/files/assets/[projectId]/[filename]/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/files/assets/[projectId]/[filename]/route/build-manifest.json +9 -0
- package/.next/server/app/api/files/assets/[projectId]/[filename]/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/files/assets/[projectId]/[filename]/route.js +7 -0
- package/.next/server/app/api/files/assets/[projectId]/[filename]/route.js.nft.json +1 -0
- package/.next/server/app/api/files/assets/[projectId]/[filename]/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/git/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/git/route/build-manifest.json +9 -0
- package/.next/server/app/api/git/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/git/route.js +8 -0
- package/.next/server/app/api/git/route.js.nft.json +1 -0
- package/.next/server/app/api/git/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/internal/assets/[projectId]/[filename]/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/internal/assets/[projectId]/[filename]/route/build-manifest.json +9 -0
- package/.next/server/app/api/internal/assets/[projectId]/[filename]/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/internal/assets/[projectId]/[filename]/route.js +7 -0
- package/.next/server/app/api/internal/assets/[projectId]/[filename]/route.js.nft.json +1 -0
- package/.next/server/app/api/internal/assets/[projectId]/[filename]/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/internal/assets/reveal/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/internal/assets/reveal/route/build-manifest.json +9 -0
- package/.next/server/app/api/internal/assets/reveal/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/internal/assets/reveal/route.js +7 -0
- package/.next/server/app/api/internal/assets/reveal/route.js.nft.json +1 -0
- package/.next/server/app/api/internal/assets/reveal/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/internal/assistant/chat/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/internal/assistant/chat/route/build-manifest.json +9 -0
- package/.next/server/app/api/internal/assistant/chat/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/internal/assistant/chat/route.js +7 -0
- package/.next/server/app/api/internal/assistant/chat/route.js.nft.json +1 -0
- package/.next/server/app/api/internal/assistant/chat/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/internal/assistant/images/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/internal/assistant/images/route/build-manifest.json +9 -0
- package/.next/server/app/api/internal/assistant/images/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/internal/assistant/images/route.js +9 -0
- package/.next/server/app/api/internal/assistant/images/route.js.nft.json +1 -0
- package/.next/server/app/api/internal/assistant/images/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/internal/assistant/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/internal/assistant/route/build-manifest.json +9 -0
- package/.next/server/app/api/internal/assistant/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/internal/assistant/route.js +7 -0
- package/.next/server/app/api/internal/assistant/route.js.nft.json +1 -0
- package/.next/server/app/api/internal/assistant/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/internal/assistant/sessions/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/internal/assistant/sessions/route/build-manifest.json +9 -0
- package/.next/server/app/api/internal/assistant/sessions/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/internal/assistant/sessions/route.js +7 -0
- package/.next/server/app/api/internal/assistant/sessions/route.js.nft.json +1 -0
- package/.next/server/app/api/internal/assistant/sessions/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/internal/cache/[...segments]/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/internal/cache/[...segments]/route/build-manifest.json +9 -0
- package/.next/server/app/api/internal/cache/[...segments]/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/internal/cache/[...segments]/route.js +7 -0
- package/.next/server/app/api/internal/cache/[...segments]/route.js.nft.json +1 -0
- package/.next/server/app/api/internal/cache/[...segments]/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/internal/hooks/install/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/internal/hooks/install/route/build-manifest.json +9 -0
- package/.next/server/app/api/internal/hooks/install/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/internal/hooks/install/route.js +7 -0
- package/.next/server/app/api/internal/hooks/install/route.js.nft.json +1 -0
- package/.next/server/app/api/internal/hooks/install/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/internal/hooks/session/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/internal/hooks/session/route/build-manifest.json +9 -0
- package/.next/server/app/api/internal/hooks/session/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/internal/hooks/session/route.js +7 -0
- package/.next/server/app/api/internal/hooks/session/route.js.nft.json +1 -0
- package/.next/server/app/api/internal/hooks/session/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/internal/hooks/stop/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/internal/hooks/stop/route/build-manifest.json +9 -0
- package/.next/server/app/api/internal/hooks/stop/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/internal/hooks/stop/route.js +8 -0
- package/.next/server/app/api/internal/hooks/stop/route.js.nft.json +1 -0
- package/.next/server/app/api/internal/hooks/stop/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/internal/hooks/upload/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/internal/hooks/upload/route/build-manifest.json +9 -0
- package/.next/server/app/api/internal/hooks/upload/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/internal/hooks/upload/route.js +7 -0
- package/.next/server/app/api/internal/hooks/upload/route.js.nft.json +1 -0
- package/.next/server/app/api/internal/hooks/upload/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/internal/notifications/pending/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/internal/notifications/pending/route/build-manifest.json +9 -0
- package/.next/server/app/api/internal/notifications/pending/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/internal/notifications/pending/route.js +7 -0
- package/.next/server/app/api/internal/notifications/pending/route.js.nft.json +1 -0
- package/.next/server/app/api/internal/notifications/pending/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/internal/terminal/[taskId]/buffer/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/internal/terminal/[taskId]/buffer/route/build-manifest.json +9 -0
- package/.next/server/app/api/internal/terminal/[taskId]/buffer/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/internal/terminal/[taskId]/buffer/route.js +8 -0
- package/.next/server/app/api/internal/terminal/[taskId]/buffer/route.js.nft.json +1 -0
- package/.next/server/app/api/internal/terminal/[taskId]/buffer/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/internal/terminal/[taskId]/input/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/internal/terminal/[taskId]/input/route/build-manifest.json +9 -0
- package/.next/server/app/api/internal/terminal/[taskId]/input/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/internal/terminal/[taskId]/input/route.js +8 -0
- package/.next/server/app/api/internal/terminal/[taskId]/input/route.js.nft.json +1 -0
- package/.next/server/app/api/internal/terminal/[taskId]/input/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/internal/terminal/[taskId]/start/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/internal/terminal/[taskId]/start/route/build-manifest.json +9 -0
- package/.next/server/app/api/internal/terminal/[taskId]/start/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/internal/terminal/[taskId]/start/route.js +10 -0
- package/.next/server/app/api/internal/terminal/[taskId]/start/route.js.nft.json +1 -0
- package/.next/server/app/api/internal/terminal/[taskId]/start/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/tasks/[taskId]/diff/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/tasks/[taskId]/diff/route/build-manifest.json +9 -0
- package/.next/server/app/api/tasks/[taskId]/diff/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/tasks/[taskId]/diff/route.js +8 -0
- package/.next/server/app/api/tasks/[taskId]/diff/route.js.nft.json +1 -0
- package/.next/server/app/api/tasks/[taskId]/diff/route_client-reference-manifest.js +3 -0
- package/.next/server/app/api/tasks/[taskId]/merge/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/tasks/[taskId]/merge/route/build-manifest.json +9 -0
- package/.next/server/app/api/tasks/[taskId]/merge/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/tasks/[taskId]/merge/route.js +9 -0
- package/.next/server/app/api/tasks/[taskId]/merge/route.js.nft.json +1 -0
- package/.next/server/app/api/tasks/[taskId]/merge/route_client-reference-manifest.js +3 -0
- package/.next/server/app/apple-icon.png/route/app-paths-manifest.json +3 -0
- package/.next/server/app/apple-icon.png/route/build-manifest.json +9 -0
- package/.next/server/app/apple-icon.png/route.js +8 -0
- package/.next/server/app/apple-icon.png/route.js.nft.json +1 -0
- package/.next/server/app/apple-icon.png.meta +1 -0
- package/.next/server/app/favicon.ico/route/app-paths-manifest.json +3 -0
- package/.next/server/app/favicon.ico/route/build-manifest.json +9 -0
- package/.next/server/app/favicon.ico/route.js +8 -0
- package/.next/server/app/favicon.ico/route.js.nft.json +1 -0
- package/.next/server/app/favicon.ico.meta +1 -0
- package/.next/server/app/icon0.svg/route/app-paths-manifest.json +3 -0
- package/.next/server/app/icon0.svg/route/build-manifest.json +9 -0
- package/.next/server/app/icon0.svg/route.js +8 -0
- package/.next/server/app/icon0.svg/route.js.nft.json +1 -0
- package/.next/server/app/icon0.svg.meta +1 -0
- package/.next/server/app/icon1.png/route/app-paths-manifest.json +3 -0
- package/.next/server/app/icon1.png/route/build-manifest.json +9 -0
- package/.next/server/app/icon1.png/route.js +8 -0
- package/.next/server/app/icon1.png/route.js.nft.json +1 -0
- package/.next/server/app/icon1.png.meta +1 -0
- package/.next/server/app/index.html +1 -0
- package/.next/server/app/index.meta +16 -0
- package/.next/server/app/index.rsc +25 -0
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +6 -0
- package/.next/server/app/index.segments/_full.segment.rsc +25 -0
- package/.next/server/app/index.segments/_head.segment.rsc +6 -0
- package/.next/server/app/index.segments/_index.segment.rsc +12 -0
- package/.next/server/app/index.segments/_tree.segment.rsc +6 -0
- package/.next/server/app/manifest.json/route/app-paths-manifest.json +3 -0
- package/.next/server/app/manifest.json/route/build-manifest.json +9 -0
- package/.next/server/app/manifest.json/route.js +7 -0
- package/.next/server/app/manifest.json/route.js.nft.json +1 -0
- package/.next/server/app/manifest.json.meta +1 -0
- package/.next/server/app/missions/page/app-paths-manifest.json +3 -0
- package/.next/server/app/missions/page/build-manifest.json +18 -0
- package/.next/server/app/missions/page/next-font-manifest.json +11 -0
- package/.next/server/app/missions/page/react-loadable-manifest.json +16 -0
- package/.next/server/app/missions/page/server-reference-manifest.json +401 -0
- package/.next/server/app/missions/page.js +22 -0
- package/.next/server/app/missions/page.js.nft.json +1 -0
- package/.next/server/app/missions/page_client-reference-manifest.js +3 -0
- package/.next/server/app/onboarding/page/app-paths-manifest.json +3 -0
- package/.next/server/app/onboarding/page/build-manifest.json +18 -0
- package/.next/server/app/onboarding/page/next-font-manifest.json +11 -0
- package/.next/server/app/onboarding/page/react-loadable-manifest.json +16 -0
- package/.next/server/app/onboarding/page/server-reference-manifest.json +233 -0
- package/.next/server/app/onboarding/page.js +21 -0
- package/.next/server/app/onboarding/page.js.nft.json +1 -0
- package/.next/server/app/onboarding/page_client-reference-manifest.js +3 -0
- package/.next/server/app/onboarding.html +1 -0
- package/.next/server/app/onboarding.meta +15 -0
- package/.next/server/app/onboarding.rsc +30 -0
- package/.next/server/app/onboarding.segments/_full.segment.rsc +30 -0
- package/.next/server/app/onboarding.segments/_head.segment.rsc +6 -0
- package/.next/server/app/onboarding.segments/_index.segment.rsc +12 -0
- package/.next/server/app/onboarding.segments/_tree.segment.rsc +6 -0
- package/.next/server/app/onboarding.segments/onboarding/__PAGE__.segment.rsc +9 -0
- package/.next/server/app/onboarding.segments/onboarding.segment.rsc +5 -0
- package/.next/server/app/page/app-paths-manifest.json +3 -0
- package/.next/server/app/page/build-manifest.json +18 -0
- package/.next/server/app/page/next-font-manifest.json +11 -0
- package/.next/server/app/page/react-loadable-manifest.json +16 -0
- package/.next/server/app/page/server-reference-manifest.json +233 -0
- package/.next/server/app/page.js +21 -0
- package/.next/server/app/page.js.nft.json +1 -0
- package/.next/server/app/page_client-reference-manifest.js +3 -0
- package/.next/server/app/settings/page/app-paths-manifest.json +3 -0
- package/.next/server/app/settings/page/build-manifest.json +18 -0
- package/.next/server/app/settings/page/next-font-manifest.json +11 -0
- package/.next/server/app/settings/page/react-loadable-manifest.json +16 -0
- package/.next/server/app/settings/page/server-reference-manifest.json +341 -0
- package/.next/server/app/settings/page.js +21 -0
- package/.next/server/app/settings/page.js.nft.json +1 -0
- package/.next/server/app/settings/page_client-reference-manifest.js +3 -0
- package/.next/server/app/settings.html +1 -0
- package/.next/server/app/settings.meta +15 -0
- package/.next/server/app/settings.rsc +30 -0
- package/.next/server/app/settings.segments/_full.segment.rsc +30 -0
- package/.next/server/app/settings.segments/_head.segment.rsc +6 -0
- package/.next/server/app/settings.segments/_index.segment.rsc +12 -0
- package/.next/server/app/settings.segments/_tree.segment.rsc +6 -0
- package/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +9 -0
- package/.next/server/app/settings.segments/settings.segment.rsc +5 -0
- package/.next/server/app/workspaces/[workspaceId]/archive/page/app-paths-manifest.json +3 -0
- package/.next/server/app/workspaces/[workspaceId]/archive/page/build-manifest.json +18 -0
- package/.next/server/app/workspaces/[workspaceId]/archive/page/next-font-manifest.json +11 -0
- package/.next/server/app/workspaces/[workspaceId]/archive/page/react-loadable-manifest.json +16 -0
- package/.next/server/app/workspaces/[workspaceId]/archive/page/server-reference-manifest.json +497 -0
- package/.next/server/app/workspaces/[workspaceId]/archive/page.js +21 -0
- package/.next/server/app/workspaces/[workspaceId]/archive/page.js.nft.json +1 -0
- package/.next/server/app/workspaces/[workspaceId]/archive/page_client-reference-manifest.js +3 -0
- package/.next/server/app/workspaces/[workspaceId]/assets/page/app-paths-manifest.json +3 -0
- package/.next/server/app/workspaces/[workspaceId]/assets/page/build-manifest.json +18 -0
- package/.next/server/app/workspaces/[workspaceId]/assets/page/next-font-manifest.json +11 -0
- package/.next/server/app/workspaces/[workspaceId]/assets/page/react-loadable-manifest.json +16 -0
- package/.next/server/app/workspaces/[workspaceId]/assets/page/server-reference-manifest.json +461 -0
- package/.next/server/app/workspaces/[workspaceId]/assets/page.js +21 -0
- package/.next/server/app/workspaces/[workspaceId]/assets/page.js.nft.json +1 -0
- package/.next/server/app/workspaces/[workspaceId]/assets/page_client-reference-manifest.js +3 -0
- package/.next/server/app/workspaces/[workspaceId]/notes/page/app-paths-manifest.json +3 -0
- package/.next/server/app/workspaces/[workspaceId]/notes/page/build-manifest.json +18 -0
- package/.next/server/app/workspaces/[workspaceId]/notes/page/next-font-manifest.json +11 -0
- package/.next/server/app/workspaces/[workspaceId]/notes/page/react-loadable-manifest.json +16 -0
- package/.next/server/app/workspaces/[workspaceId]/notes/page/server-reference-manifest.json +401 -0
- package/.next/server/app/workspaces/[workspaceId]/notes/page.js +21 -0
- package/.next/server/app/workspaces/[workspaceId]/notes/page.js.nft.json +1 -0
- package/.next/server/app/workspaces/[workspaceId]/notes/page_client-reference-manifest.js +3 -0
- package/.next/server/app/workspaces/[workspaceId]/page/app-paths-manifest.json +3 -0
- package/.next/server/app/workspaces/[workspaceId]/page/build-manifest.json +18 -0
- package/.next/server/app/workspaces/[workspaceId]/page/next-font-manifest.json +11 -0
- package/.next/server/app/workspaces/[workspaceId]/page/react-loadable-manifest.json +16 -0
- package/.next/server/app/workspaces/[workspaceId]/page/server-reference-manifest.json +569 -0
- package/.next/server/app/workspaces/[workspaceId]/page.js +22 -0
- package/.next/server/app/workspaces/[workspaceId]/page.js.nft.json +1 -0
- package/.next/server/app/workspaces/[workspaceId]/page_client-reference-manifest.js +3 -0
- package/.next/server/app/workspaces/[workspaceId]/projects/[projectId]/page/app-paths-manifest.json +3 -0
- package/.next/server/app/workspaces/[workspaceId]/projects/[projectId]/page/build-manifest.json +18 -0
- package/.next/server/app/workspaces/[workspaceId]/projects/[projectId]/page/next-font-manifest.json +11 -0
- package/.next/server/app/workspaces/[workspaceId]/projects/[projectId]/page/react-loadable-manifest.json +16 -0
- package/.next/server/app/workspaces/[workspaceId]/projects/[projectId]/page/server-reference-manifest.json +233 -0
- package/.next/server/app/workspaces/[workspaceId]/projects/[projectId]/page.js +21 -0
- package/.next/server/app/workspaces/[workspaceId]/projects/[projectId]/page.js.nft.json +1 -0
- package/.next/server/app/workspaces/[workspaceId]/projects/[projectId]/page_client-reference-manifest.js +3 -0
- package/.next/server/app/workspaces/[workspaceId]/tasks/[taskId]/page/app-paths-manifest.json +3 -0
- package/.next/server/app/workspaces/[workspaceId]/tasks/[taskId]/page/build-manifest.json +18 -0
- package/.next/server/app/workspaces/[workspaceId]/tasks/[taskId]/page/next-font-manifest.json +11 -0
- package/.next/server/app/workspaces/[workspaceId]/tasks/[taskId]/page/react-loadable-manifest.json +22 -0
- package/.next/server/app/workspaces/[workspaceId]/tasks/[taskId]/page/server-reference-manifest.json +581 -0
- package/.next/server/app/workspaces/[workspaceId]/tasks/[taskId]/page.js +23 -0
- package/.next/server/app/workspaces/[workspaceId]/tasks/[taskId]/page.js.nft.json +1 -0
- package/.next/server/app/workspaces/[workspaceId]/tasks/[taskId]/page_client-reference-manifest.js +3 -0
- package/.next/server/app/workspaces/page/app-paths-manifest.json +3 -0
- package/.next/server/app/workspaces/page/build-manifest.json +18 -0
- package/.next/server/app/workspaces/page/next-font-manifest.json +11 -0
- package/.next/server/app/workspaces/page/react-loadable-manifest.json +16 -0
- package/.next/server/app/workspaces/page/server-reference-manifest.json +329 -0
- package/.next/server/app/workspaces/page.js +21 -0
- package/.next/server/app/workspaces/page.js.nft.json +1 -0
- package/.next/server/app/workspaces/page_client-reference-manifest.js +3 -0
- package/.next/server/app-paths-manifest.json +41 -0
- package/.next/server/chunks/03j-_@anthropic-ai_claude-agent-sdk_sdk_mjs_04597t~._.js +85 -0
- package/.next/server/chunks/0cve_next-internal_server_app_api_internal_cache_[___segments]_route_actions_09n1sa3.js +3 -0
- package/.next/server/chunks/0tp-_server_app_api_files_assets_[projectId]_[filename]_route_actions_02i2urs.js +3 -0
- package/.next/server/chunks/0tp-_server_app_api_internal_assets_[projectId]_[filename]_route_actions_0kjz576.js +3 -0
- package/.next/server/chunks/0tp-_server_app_api_internal_notifications_pending_route_actions_08bx38r.js +3 -0
- package/.next/server/chunks/0tp-_server_app_api_internal_terminal_[taskId]_buffer_route_actions_0bpyf5x.js +3 -0
- package/.next/server/chunks/0tp-_server_app_api_internal_terminal_[taskId]_input_route_actions_0alu32r.js +3 -0
- package/.next/server/chunks/0tp-_server_app_api_internal_terminal_[taskId]_start_route_actions_0swqog2.js +3 -0
- package/.next/server/chunks/0w1v_zod_v4_classic_external_0m-7hz_.js +39 -0
- package/.next/server/chunks/0~.g__next-internal_server_app_api_internal_assistant_chat_route_actions_0x-qbrh.js +3 -0
- package/.next/server/chunks/0~.g__next-internal_server_app_api_internal_assistant_images_route_actions_0vws40t.js +3 -0
- package/.next/server/chunks/0~.g__next-internal_server_app_api_internal_assistant_sessions_route_actions_0p09rcp.js +3 -0
- package/.next/server/chunks/10ge_next_dist_08.3req._.js +13 -0
- package/.next/server/chunks/10ge_next_dist_esm_build_templates_app-route_00gmiw_.js +3 -0
- package/.next/server/chunks/10ge_next_dist_esm_build_templates_app-route_0jwpolf.js +3 -0
- package/.next/server/chunks/10ge_next_dist_esm_build_templates_app-route_0liabcf.js +3 -0
- package/.next/server/chunks/10ge_next_dist_esm_build_templates_app-route_0z9_0_i.js +3 -0
- package/.next/server/chunks/10ge_next_dist_esm_build_templates_app-route_13w3ubu.js +3 -0
- package/.next/server/chunks/10ge_next_dist_esm_build_templates_app-route_13~vb_i.js +4 -0
- package/.next/server/chunks/[externals]__02xkqim._.js +3 -0
- package/.next/server/chunks/[externals]__09oeovy._.js +3 -0
- package/.next/server/chunks/[externals]__0~rg.xo._.js +3 -0
- package/.next/server/chunks/[externals]__11rejr-._.js +3 -0
- package/.next/server/chunks/[externals]_child_process_0pwkpv9._.js +3 -0
- package/.next/server/chunks/[externals]_next_dist_0g2nsos._.js +3 -0
- package/.next/server/chunks/[externals]_util_0wtvqkc._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__02p-gd5._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0319djr._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__043lk8~._.js +4 -0
- package/.next/server/chunks/[root-of-the-server]__053y9tf._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__05pxb~w._.js +20 -0
- package/.next/server/chunks/[root-of-the-server]__07-am_7._.js +20 -0
- package/.next/server/chunks/[root-of-the-server]__09gjz6h._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0_irb2s._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0c4edwt._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0c7y1r0._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0dj34zn._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0dqta7g._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0j3gbp7._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0ko_rm_._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0miy2g.._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0mt-eeb._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0n-6-hc._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0nur_ir._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0pz60q-._.js +20 -0
- package/.next/server/chunks/[root-of-the-server]__0q~5ya5._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0rpqx55._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0sjsc63._.js +4 -0
- package/.next/server/chunks/[root-of-the-server]__0th.w7w._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0u..agy._.js +11 -0
- package/.next/server/chunks/[root-of-the-server]__0umzekq._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__0wu61w.._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__11v.yk_._.js +4 -0
- package/.next/server/chunks/[root-of-the-server]__12._zd-._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__130shf~._.js +3 -0
- package/.next/server/chunks/[turbopack]_runtime.js +903 -0
- package/.next/server/chunks/ssr/03j-_@anthropic-ai_claude-agent-sdk_sdk_mjs_0kr2_y.._.js +84 -0
- package/.next/server/chunks/ssr/040e_@monaco-editor_react_dist_index_mjs_0t4i-ho._.js +3 -0
- package/.next/server/chunks/ssr/040e_@monaco-editor_react_dist_index_mjs_0z6t1fr._.js +3 -0
- package/.next/server/chunks/ssr/0kjx__pnpm_0g9g8h6._.js +3 -0
- package/.next/server/chunks/ssr/0kjx__pnpm_0l.5ii.._.js +3 -0
- package/.next/server/chunks/ssr/0kjx__pnpm_0wrn.h9._.js +14 -0
- package/.next/server/chunks/ssr/0rik_@dnd-kit_core_dist_core_esm_11giptg.js +3 -0
- package/.next/server/chunks/ssr/0~.g_src_app_workspaces_[workspaceId]_tasks_[taskId]_task-page-client_tsx_0bbseig._.js +3 -0
- package/.next/server/chunks/ssr/10ge_next_00.-vj.._.js +18 -0
- package/.next/server/chunks/ssr/10ge_next_dist_01n~t8z._.js +6 -0
- package/.next/server/chunks/ssr/10ge_next_dist_06_-w96._.js +19 -0
- package/.next/server/chunks/ssr/10ge_next_dist_0pw4my6._.js +6 -0
- package/.next/server/chunks/ssr/10ge_next_dist_0wjbiu9._.js +3 -0
- package/.next/server/chunks/ssr/10ge_next_dist_0~ti7jc._.js +3 -0
- package/.next/server/chunks/ssr/10ge_next_dist_10.ihny._.js +3 -0
- package/.next/server/chunks/ssr/10ge_next_dist_client_components_0--gzcy._.js +3 -0
- package/.next/server/chunks/ssr/10ge_next_dist_client_components_0eil7-a._.js +33 -0
- package/.next/server/chunks/ssr/10ge_next_dist_client_components_builtin_forbidden_0nzsnb2.js +3 -0
- package/.next/server/chunks/ssr/10ge_next_dist_client_components_builtin_global-error_125sopd.js +3 -0
- package/.next/server/chunks/ssr/10ge_next_dist_client_components_builtin_unauthorized_0z93cpe.js +3 -0
- package/.next/server/chunks/ssr/10ge_next_dist_compiled_0g45ze2._.js +3 -0
- package/.next/server/chunks/ssr/10ge_next_dist_esm_build_templates_app-page_080g02v.js +4 -0
- package/.next/server/chunks/ssr/10ge_next_dist_esm_build_templates_app-page_08khzah.js +4 -0
- package/.next/server/chunks/ssr/10ge_next_dist_esm_build_templates_app-page_09~o5q0.js +4 -0
- package/.next/server/chunks/ssr/10ge_next_dist_esm_build_templates_app-page_0_rj_f4.js +4 -0
- package/.next/server/chunks/ssr/10ge_next_dist_esm_build_templates_app-page_0c-wmj1.js +4 -0
- package/.next/server/chunks/ssr/10ge_next_dist_esm_build_templates_app-page_0fjd2ua.js +4 -0
- package/.next/server/chunks/ssr/10ge_next_dist_esm_build_templates_app-page_0hpuyf0.js +4 -0
- package/.next/server/chunks/ssr/10ge_next_dist_esm_build_templates_app-page_0knnyic.js +4 -0
- package/.next/server/chunks/ssr/10ge_next_dist_esm_build_templates_app-page_0oi86k6.js +4 -0
- package/.next/server/chunks/ssr/10ge_next_dist_esm_build_templates_app-page_0rmwdra.js +4 -0
- package/.next/server/chunks/ssr/10ge_next_dist_esm_build_templates_app-page_0zgisbd.js +4 -0
- package/.next/server/chunks/ssr/10ge_next_dist_esm_build_templates_app-page_11pz1fw.js +4 -0
- package/.next/server/chunks/ssr/10ge_next_dist_esm_build_templates_app-page_12reczc.js +4 -0
- package/.next/server/chunks/ssr/119e_lucide-react_dist_esm_icons_0636jyq._.js +3 -0
- package/.next/server/chunks/ssr/[externals]__0of4r_r._.js +3 -0
- package/.next/server/chunks/ssr/[externals]__0z1ffhu._.js +3 -0
- package/.next/server/chunks/ssr/[externals]_child_process_0pwkpv9._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0-0j_z3._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0.8y0n9._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0.uoh7q._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__01ws4-7._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__024-5kd._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__02ipahf._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__03.14vw._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__04xn50b._.js +30 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__05452ke._.js +30 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__06o5v8i._.js +30 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__06sm5cw._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__09m32ch._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0_0kxz4._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0adx8p4._.js +30 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0bk3s4l._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0d5p5d.._.js +30 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0d7u1lw._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0fg8.hp._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0gsj3~.._.js +30 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0hvz_0c._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0i6glcp._.js +30 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0ibsor_._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0j5~a_o._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0jgbj6l._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0jux8~h._.js +33 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0l~dc3x._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0mab0km._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0n32nv5._.js +30 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0n8qufu._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0ndt9h3._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0p~u4y6._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0q.du4s._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0rs7pkn._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0sysz2q._.js +47 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0t25~v8._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0ti70do._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0uevudp._.js +30 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0wwqzmm._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0xt3-qb._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0y-lkvf._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0zvf.ro._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0~jc3l5._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__11m7m-q._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__1223b0_._.js +30 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__12f810l._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__13-by9r._.js +33 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__13-egel._.js +3 -0
- package/.next/server/chunks/ssr/[turbopack]_runtime.js +903 -0
- package/.next/server/chunks/ssr/tower_0-nwtka._.js +3 -0
- package/.next/server/chunks/ssr/tower_0-omr_b._.js +30 -0
- package/.next/server/chunks/ssr/tower_00.hg6u._.js +3 -0
- package/.next/server/chunks/ssr/tower_01szasw._.js +3 -0
- package/.next/server/chunks/ssr/tower_02he7d6._.js +3 -0
- package/.next/server/chunks/ssr/tower_035l~qv._.js +3 -0
- package/.next/server/chunks/ssr/tower_03jazku._.js +3 -0
- package/.next/server/chunks/ssr/tower_09~lpto._.js +3 -0
- package/.next/server/chunks/ssr/tower_0d.car1._.js +30 -0
- package/.next/server/chunks/ssr/tower_0egtw-7._.js +30 -0
- package/.next/server/chunks/ssr/tower_0gzwyem._.js +3 -0
- package/.next/server/chunks/ssr/tower_0h3r32m._.js +30 -0
- package/.next/server/chunks/ssr/tower_0kl_bfy._.js +7 -0
- package/.next/server/chunks/ssr/tower_0mz4ut.._.js +3 -0
- package/.next/server/chunks/ssr/tower_0nuj.0p._.js +39 -0
- package/.next/server/chunks/ssr/tower_0pcqezm._.js +3 -0
- package/.next/server/chunks/ssr/tower_0r7uuim._.js +30 -0
- package/.next/server/chunks/ssr/tower_0sojjnu._.js +3 -0
- package/.next/server/chunks/ssr/tower_0tc~.xl._.js +30 -0
- package/.next/server/chunks/ssr/tower_0tuq2iz._.js +30 -0
- package/.next/server/chunks/ssr/tower_0vo6u9i._.js +3 -0
- package/.next/server/chunks/ssr/tower_0wvk~r.._.js +3 -0
- package/.next/server/chunks/ssr/tower_10p15te._.js +3 -0
- package/.next/server/chunks/ssr/tower_10t13p4._.js +6 -0
- package/.next/server/chunks/ssr/tower_117pzh8._.js +3 -0
- package/.next/server/chunks/ssr/tower_11q5_.m._.js +3 -0
- package/.next/server/chunks/ssr/tower_12sld1c._.js +3 -0
- package/.next/server/chunks/ssr/tower_138qlx5._.js +3 -0
- package/.next/server/chunks/ssr/tower__next-internal_server_app__global-error_page_actions_13t5~qk.js +3 -0
- package/.next/server/chunks/ssr/tower_src_08t.wy-._.js +3 -0
- package/.next/server/chunks/ssr/tower_src_actions_agent-actions_ts_0j.e1tn._.js +4 -0
- package/.next/server/chunks/ssr/tower_src_actions_file-actions_ts_0424lna._.js +3 -0
- package/.next/server/chunks/ssr/tower_src_app_missions_missions-client_tsx_0a9vjyr._.js +3 -0
- package/.next/server/chunks/ssr/tower_src_app_onboarding_page_tsx_0_3krz1._.js +3 -0
- package/.next/server/chunks/ssr/tower_src_app_settings_page_tsx_0vo5e-o._.js +3 -0
- package/.next/server/chunks/ssr/tower_src_app_workspaces_[workspaceId]_assets_assets-page-client_tsx_0zfgzhi._.js +3 -0
- package/.next/server/chunks/ssr/tower_src_app_workspaces_[workspaceId]_board-page-client_tsx_0kjp1u0._.js +7 -0
- package/.next/server/chunks/ssr/tower_src_components_ui_select_tsx_10ajx~2._.js +3 -0
- package/.next/server/chunks/ssr/tower_src_lib_01420_4._.js +3 -0
- package/.next/server/chunks/ssr/tower_src_lib_0i-zjpa._.js +3 -0
- package/.next/server/chunks/ssr/tower_src_lib_0ja~kdb._.js +3 -0
- package/.next/server/chunks/ssr/tower_src_lib_0obw2r8._.js +3 -0
- package/.next/server/chunks/ssr/tower_src_lib_0rgfsuf._.js +3 -0
- package/.next/server/chunks/ssr/tower_src_lib_constants_ts_0o218_c._.js +3 -0
- package/.next/server/chunks/tower_03g~ktv._.js +7 -0
- package/.next/server/chunks/tower_05du07.._.js +10 -0
- package/.next/server/chunks/tower_0a-x6m.._.js +3 -0
- package/.next/server/chunks/tower__next-internal_server_app_api_adapters_test_route_actions_13jw~9b.js +3 -0
- package/.next/server/chunks/tower__next-internal_server_app_api_browse-fs_route_actions_0k5p2xy.js +3 -0
- package/.next/server/chunks/tower__next-internal_server_app_api_git_route_actions_0rvpodb.js +3 -0
- package/.next/server/chunks/tower__next-internal_server_app_api_internal_assets_reveal_route_actions_0idwm6j.js +3 -0
- package/.next/server/chunks/tower__next-internal_server_app_api_internal_assistant_route_actions_0rdz1d..js +3 -0
- package/.next/server/chunks/tower__next-internal_server_app_api_internal_hooks_install_route_actions_06dxleu.js +3 -0
- package/.next/server/chunks/tower__next-internal_server_app_api_internal_hooks_session_route_actions_0wlv4lf.js +3 -0
- package/.next/server/chunks/tower__next-internal_server_app_api_internal_hooks_stop_route_actions_101_oub.js +3 -0
- package/.next/server/chunks/tower__next-internal_server_app_api_internal_hooks_upload_route_actions_0439qz_.js +3 -0
- package/.next/server/chunks/tower__next-internal_server_app_api_tasks_[taskId]_diff_route_actions_0nthc84.js +3 -0
- package/.next/server/chunks/tower__next-internal_server_app_api_tasks_[taskId]_merge_route_actions_0g.x0nb.js +3 -0
- package/.next/server/chunks/tower__next-internal_server_app_apple-icon_png_route_actions_0bni-sb.js +3 -0
- package/.next/server/chunks/tower__next-internal_server_app_favicon_ico_route_actions_0kw~xj2.js +3 -0
- package/.next/server/chunks/tower__next-internal_server_app_icon0_svg_route_actions_0nww9-e.js +3 -0
- package/.next/server/chunks/tower__next-internal_server_app_icon1_png_route_actions_09h.ywu.js +3 -0
- package/.next/server/chunks/tower__next-internal_server_app_manifest_json_route_actions_080ob~r.js +3 -0
- package/.next/server/chunks/tower_src_0..vg-t._.js +3 -0
- package/.next/server/chunks/tower_src_05rqj.1._.js +3 -0
- package/.next/server/chunks/tower_src_lib_0uok6j3._.js +3 -0
- package/.next/server/chunks/tower_src_lib_0w8qt4s._.js +3 -0
- package/.next/server/chunks/tower_src_lib_constants_ts_0cxd4.p._.js +3 -0
- package/.next/server/edge/chunks/0y9m_next_dist_esm_build_templates_edge-wrapper_0cx_eo..js +3 -0
- package/.next/server/edge/chunks/tower_0wvfs38._.js +3 -0
- package/.next/server/functions-config-manifest.json +22 -0
- package/.next/server/instrumentation/middleware-manifest.json +12 -0
- package/.next/server/instrumentation.js +4 -0
- package/.next/server/instrumentation.js.nft.json +1 -0
- package/.next/server/interception-route-rewrite-manifest.js +1 -0
- package/.next/server/middleware-build-manifest.js +22 -0
- package/.next/server/middleware-manifest.json +6 -0
- package/.next/server/next-font-manifest.js +1 -0
- package/.next/server/next-font-manifest.json +55 -0
- package/.next/server/pages/404.html +1 -0
- package/.next/server/pages/500.html +1 -0
- package/.next/server/pages-manifest.json +4 -0
- package/.next/server/prefetch-hints.json +1 -0
- package/.next/server/server-reference-manifest.js +1 -0
- package/.next/server/server-reference-manifest.json +2778 -0
- package/.next/static/6AW1vTU7iJEkEhqIH0txT/_buildManifest.js +11 -0
- package/.next/static/6AW1vTU7iJEkEhqIH0txT/_clientMiddlewareManifest.js +1 -0
- package/.next/static/6AW1vTU7iJEkEhqIH0txT/_ssgManifest.js +1 -0
- package/.next/static/chunks/0-64z7pmj57~d.js +1 -0
- package/.next/static/chunks/00xbbu.nlx92z.js +1 -0
- package/.next/static/chunks/00z-g3x93ngvn.js +1 -0
- package/.next/static/chunks/03e.4ymu.j5wl.js +1 -0
- package/.next/static/chunks/03~yq9q893hmn.js +1 -0
- package/.next/static/chunks/049.9ha2n6os5.js +1 -0
- package/.next/static/chunks/05-b9qqm3av9~.js +1 -0
- package/.next/static/chunks/05j6t69jmpqju.js +1 -0
- package/.next/static/chunks/05~v02mkan5z..js +1 -0
- package/.next/static/chunks/07a_xadb-3w1a.js +1 -0
- package/.next/static/chunks/0_.pyr2jhdqa2.js +5 -0
- package/.next/static/chunks/0_c8duf92i~xg.js +1 -0
- package/.next/static/chunks/0a2blrvqw8t5y.js +5 -0
- package/.next/static/chunks/0abtpeymj-58i.js +1 -0
- package/.next/static/chunks/0drgc-oztq6o-.css +1 -0
- package/.next/static/chunks/0eaa2lmymh2fx.js +1 -0
- package/.next/static/chunks/0j9qriqni_r1..js +2 -0
- package/.next/static/chunks/0k.u8sxy~e469.js +4 -0
- package/.next/static/chunks/0kc-95qs2~eid.js +1 -0
- package/.next/static/chunks/0kojsk~4uroqj.js +1 -0
- package/.next/static/chunks/0kt2vohpgb7h6.js +1 -0
- package/.next/static/chunks/0kubr70r_r2f2.js +1 -0
- package/.next/static/chunks/0lvd52mjiit6s.js +1 -0
- package/.next/static/chunks/0mq0uqbbbb1~2.js +1 -0
- package/.next/static/chunks/0neevhl_o1ozu.css +2 -0
- package/.next/static/chunks/0omj~p3uxkic-.js +1 -0
- package/.next/static/chunks/0t-gr6j-c65qb.js +1 -0
- package/.next/static/chunks/0tcl81ybuob5i.js +1 -0
- package/.next/static/chunks/0ttrpz.l-v-yv.js +1 -0
- package/.next/static/chunks/0uqimvsni_op~.js +1 -0
- package/.next/static/chunks/0wt3kws~_yr8z.js +1 -0
- package/.next/static/chunks/0z-ecklemrfx-.js +1 -0
- package/.next/static/chunks/0z2bzovqhl2f5.js +1 -0
- package/.next/static/chunks/0z61ts2ro9_k3.js +83 -0
- package/.next/static/chunks/0z7bwntvfhxzi.js +12 -0
- package/.next/static/chunks/10n23t.1hpb-1.js +1 -0
- package/.next/static/chunks/14xzmrt5ly6gq.js +31 -0
- package/.next/static/chunks/151wr~6x8aclx.js +1 -0
- package/.next/static/chunks/16w-ap~msrwpj.js +1 -0
- package/.next/static/chunks/17oc2l.ekcs8b.css +1 -0
- package/.next/static/chunks/turbopack-0wjmrsi.z32s0.js +1 -0
- package/.next/static/media/4fa387ec64143e14-s.0q3udbd2bu5yp.woff2 +0 -0
- package/.next/static/media/7178b3e590c64307-s.11.cyxs5p-0z~.woff2 +0 -0
- package/.next/static/media/797e433ab948586e-s.p.0.q-h669a_dqa.woff2 +0 -0
- package/.next/static/media/8a480f0b521d4e75-s.06d3mdzz5bre_.woff2 +0 -0
- package/.next/static/media/apple-icon.16aocl-s-v2qz.png +0 -0
- package/.next/static/media/bbc41e54d2fcbd21-s.0gw~uztddq1df.woff2 +0 -0
- package/.next/static/media/caa3a2e1cccd8315-s.p.16t1db8_9y2o~.woff2 +0 -0
- package/.next/static/media/favicon.0y2d6j9cou~8p.ico +0 -0
- package/.next/static/media/icon0.0a6mkq6meyird.svg +1 -0
- package/.next/static/media/icon1.04ux133882seb.png +0 -0
- package/.next/trace +2 -0
- package/.next/trace-build +1 -0
- package/.next/turbopack +0 -0
- package/.next/types/routes.d.ts +103 -0
- package/.next/types/validator.ts +349 -0
- package/package.json +14 -11
- package/components.json +0 -25
- package/postcss.config.mjs +0 -7
- package/prisma/dev.db +0 -0
- package/prisma/prisma/dev.db +0 -0
- package/prisma/seed.ts +0 -50
- package/scripts/init-tower.ts +0 -10
- package/scripts/post-tool-hook.js +0 -188
- package/scripts/session-start-hook.js +0 -79
- package/scripts/stop-hook.js +0 -78
- package/skills/tower/SKILL.md +0 -375
- package/src/actions/__tests__/agent-actions-username.test.ts +0 -30
- package/src/actions/__tests__/asset-actions.test.ts +0 -251
- package/src/actions/__tests__/assistant-actions.test.ts +0 -20
- package/src/actions/__tests__/cli-profile-actions.test.ts +0 -243
- package/src/actions/__tests__/label-actions.test.ts +0 -187
- package/src/actions/__tests__/note-actions.test.ts +0 -237
- package/src/actions/__tests__/onboarding-actions.test.ts +0 -265
- package/src/actions/__tests__/project-actions.test.ts +0 -179
- package/src/actions/__tests__/prompt-actions.test.ts +0 -213
- package/src/actions/__tests__/report-actions.test.ts +0 -246
- package/src/actions/__tests__/search-code-actions.test.ts +0 -308
- package/src/actions/__tests__/task-actions-overview.test.ts +0 -58
- package/src/actions/__tests__/task-actions-pin.test.ts +0 -79
- package/src/actions/__tests__/workspace-actions.test.ts +0 -256
- package/src/actions/agent-actions.ts +0 -741
- package/src/actions/agent-config-actions.ts +0 -44
- package/src/actions/ai-config-actions.ts +0 -51
- package/src/actions/asset-actions.ts +0 -131
- package/src/actions/assistant-actions.ts +0 -107
- package/src/actions/cli-profile-actions.ts +0 -98
- package/src/actions/config-actions.ts +0 -84
- package/src/actions/file-actions.ts +0 -262
- package/src/actions/git-actions.ts +0 -90
- package/src/actions/label-actions.ts +0 -67
- package/src/actions/note-actions.ts +0 -87
- package/src/actions/onboarding-actions.ts +0 -103
- package/src/actions/preview-actions.ts +0 -76
- package/src/actions/project-actions.ts +0 -222
- package/src/actions/prompt-actions.ts +0 -73
- package/src/actions/report-actions.ts +0 -141
- package/src/actions/search-actions.ts +0 -21
- package/src/actions/search-code-actions.ts +0 -185
- package/src/actions/task-actions.ts +0 -350
- package/src/actions/workspace-actions.ts +0 -224
- package/src/app/api/adapters/test/route.ts +0 -52
- package/src/app/api/browse-fs/route.ts +0 -90
- package/src/app/api/files/assets/[projectId]/[filename]/route.ts +0 -38
- package/src/app/api/git/route.ts +0 -367
- package/src/app/api/internal/assets/[projectId]/[filename]/route.ts +0 -51
- package/src/app/api/internal/assets/reveal/route.ts +0 -71
- package/src/app/api/internal/assistant/chat/route.ts +0 -217
- package/src/app/api/internal/assistant/images/route.ts +0 -51
- package/src/app/api/internal/assistant/route.ts +0 -50
- package/src/app/api/internal/assistant/sessions/route.ts +0 -44
- package/src/app/api/internal/cache/[...segments]/route.ts +0 -59
- package/src/app/api/internal/hooks/install/route.ts +0 -41
- package/src/app/api/internal/hooks/session/route.ts +0 -60
- package/src/app/api/internal/hooks/stop/route.ts +0 -61
- package/src/app/api/internal/hooks/upload/route.ts +0 -173
- package/src/app/api/internal/notifications/pending/route.ts +0 -20
- package/src/app/api/internal/terminal/[taskId]/buffer/route.ts +0 -48
- package/src/app/api/internal/terminal/[taskId]/input/route.ts +0 -64
- package/src/app/api/internal/terminal/[taskId]/start/route.ts +0 -37
- package/src/app/api/tasks/[taskId]/diff/route.ts +0 -224
- package/src/app/api/tasks/[taskId]/merge/route.ts +0 -159
- package/src/app/globals.css +0 -247
- package/src/app/layout.tsx +0 -63
- package/src/app/missions/missions-client.tsx +0 -338
- package/src/app/missions/page.tsx +0 -10
- package/src/app/onboarding/page.tsx +0 -619
- package/src/app/page.tsx +0 -5
- package/src/app/settings/page.tsx +0 -7
- package/src/app/workspaces/[workspaceId]/archive/archive-page-client.tsx +0 -258
- package/src/app/workspaces/[workspaceId]/archive/page.tsx +0 -36
- package/src/app/workspaces/[workspaceId]/assets/assets-page-client.tsx +0 -232
- package/src/app/workspaces/[workspaceId]/assets/page.tsx +0 -36
- package/src/app/workspaces/[workspaceId]/board-page-client.tsx +0 -257
- package/src/app/workspaces/[workspaceId]/notes/notes-page-client.tsx +0 -337
- package/src/app/workspaces/[workspaceId]/notes/page.tsx +0 -39
- package/src/app/workspaces/[workspaceId]/page.tsx +0 -81
- package/src/app/workspaces/[workspaceId]/projects/[projectId]/page.tsx +0 -30
- package/src/app/workspaces/[workspaceId]/tasks/[taskId]/page.tsx +0 -97
- package/src/app/workspaces/[workspaceId]/tasks/[taskId]/task-page-client.tsx +0 -601
- package/src/app/workspaces/page.tsx +0 -13
- package/src/components/assets/asset-item.tsx +0 -128
- package/src/components/assets/asset-list.tsx +0 -31
- package/src/components/assets/asset-upload.tsx +0 -216
- package/src/components/assets/image-lightbox.tsx +0 -72
- package/src/components/assets/text-preview-dialog.tsx +0 -135
- package/src/components/assistant/assistant-chat-bubble.tsx +0 -308
- package/src/components/assistant/assistant-chat.tsx +0 -215
- package/src/components/assistant/assistant-panel.tsx +0 -149
- package/src/components/assistant/assistant-provider.tsx +0 -512
- package/src/components/assistant/image-preview-modal.tsx +0 -60
- package/src/components/assistant/image-thumbnail-strip.tsx +0 -94
- package/src/components/board/board-column.tsx +0 -115
- package/src/components/board/board-filters.tsx +0 -42
- package/src/components/board/board-stats.tsx +0 -52
- package/src/components/board/column-tasks-dialog.tsx +0 -100
- package/src/components/board/create-task-dialog.tsx +0 -362
- package/src/components/board/kanban-board.tsx +0 -169
- package/src/components/board/project-tabs.tsx +0 -93
- package/src/components/board/task-card-context-menu.tsx +0 -121
- package/src/components/board/task-card.tsx +0 -135
- package/src/components/layout/__tests__/top-bar-username.test.tsx +0 -24
- package/src/components/layout/app-sidebar.tsx +0 -662
- package/src/components/layout/folder-browser-dialog.tsx +0 -273
- package/src/components/layout/layout-client.tsx +0 -198
- package/src/components/layout/search-dialog.tsx +0 -196
- package/src/components/layout/sub-page-nav.tsx +0 -54
- package/src/components/layout/top-bar.tsx +0 -265
- package/src/components/missions/grid-layout-presets.ts +0 -19
- package/src/components/missions/grid-preset-picker.tsx +0 -209
- package/src/components/missions/merge-missions.ts +0 -30
- package/src/components/missions/mission-card.tsx +0 -203
- package/src/components/missions/task-picker-dialog.tsx +0 -415
- package/src/components/notes/category-filter.tsx +0 -44
- package/src/components/notes/note-card.tsx +0 -67
- package/src/components/notes/note-editor.tsx +0 -28
- package/src/components/notes/note-list.tsx +0 -30
- package/src/components/notifications/notification-permission-banner.tsx +0 -49
- package/src/components/notifications/use-notification-listener.ts +0 -114
- package/src/components/onboarding/__tests__/onboarding-wizard.test.tsx +0 -185
- package/src/components/onboarding/guided-tour.tsx +0 -255
- package/src/components/onboarding/onboarding-wizard.tsx +0 -84
- package/src/components/onboarding/wizard-step-cli.tsx +0 -53
- package/src/components/onboarding/wizard-step-username.tsx +0 -59
- package/src/components/project/create-project-dialog.tsx +0 -310
- package/src/components/project/import-project-dialog.tsx +0 -414
- package/src/components/providers/theme-provider.tsx +0 -8
- package/src/components/repository/create-branch-dialog.tsx +0 -165
- package/src/components/repository/git-changes-panel.tsx +0 -294
- package/src/components/repository/git-log-panel.tsx +0 -83
- package/src/components/repository/git-stash-panel.tsx +0 -158
- package/src/components/repository/repo-sidebar.tsx +0 -855
- package/src/components/settings/cli-adapter-tester.tsx +0 -144
- package/src/components/settings/settings-page.tsx +0 -2111
- package/src/components/task/code-editor.tsx +0 -376
- package/src/components/task/code-search.tsx +0 -219
- package/src/components/task/diff-editor.tsx +0 -97
- package/src/components/task/editor-git-panel.tsx +0 -792
- package/src/components/task/editor-tabs.tsx +0 -68
- package/src/components/task/execution-timeline.tsx +0 -258
- package/src/components/task/file-tree-context-menu.tsx +0 -113
- package/src/components/task/file-tree-node.tsx +0 -269
- package/src/components/task/file-tree.tsx +0 -575
- package/src/components/task/preview-panel.tsx +0 -281
- package/src/components/task/task-detail-panel.tsx +0 -455
- package/src/components/task/task-diff-view.tsx +0 -207
- package/src/components/task/task-file-changes.tsx +0 -19
- package/src/components/task/task-merge-confirm-dialog.tsx +0 -152
- package/src/components/task/task-metadata.tsx +0 -74
- package/src/components/task/task-notes-panel.tsx +0 -219
- package/src/components/task/task-overview-drawer.tsx +0 -172
- package/src/components/task/task-terminal.tsx +0 -294
- package/src/components/task/terminal-portal.tsx +0 -156
- package/src/components/task/types.ts +0 -6
- package/src/components/ui/avatar.tsx +0 -109
- package/src/components/ui/badge.tsx +0 -52
- package/src/components/ui/button.tsx +0 -58
- package/src/components/ui/card.tsx +0 -103
- package/src/components/ui/command.tsx +0 -196
- package/src/components/ui/dialog.tsx +0 -160
- package/src/components/ui/dropdown-menu.tsx +0 -268
- package/src/components/ui/empty-state.tsx +0 -26
- package/src/components/ui/error-boundary.tsx +0 -58
- package/src/components/ui/input-group.tsx +0 -158
- package/src/components/ui/input.tsx +0 -20
- package/src/components/ui/label.tsx +0 -20
- package/src/components/ui/popover.tsx +0 -90
- package/src/components/ui/scroll-area.tsx +0 -55
- package/src/components/ui/segmented-control.tsx +0 -42
- package/src/components/ui/select.tsx +0 -207
- package/src/components/ui/separator.tsx +0 -25
- package/src/components/ui/sheet.tsx +0 -138
- package/src/components/ui/sonner.tsx +0 -49
- package/src/components/ui/switch.tsx +0 -32
- package/src/components/ui/tabs.tsx +0 -82
- package/src/components/ui/textarea.tsx +0 -18
- package/src/components/ui/toast.tsx +0 -86
- package/src/components/ui/tooltip.tsx +0 -66
- package/src/hooks/__tests__/sse-event-reducer.test.ts +0 -263
- package/src/hooks/__tests__/use-assistant-chat.test.ts +0 -34
- package/src/hooks/__tests__/use-image-upload.test.ts +0 -443
- package/src/hooks/sse-event-reducer.ts +0 -144
- package/src/hooks/use-assistant-chat.ts +0 -190
- package/src/hooks/use-image-upload.ts +0 -140
- package/src/instrumentation.ts +0 -18
- package/src/lib/__tests__/assistant-message-converter.test.ts +0 -162
- package/src/lib/__tests__/assistant-sessions.test.ts +0 -253
- package/src/lib/__tests__/build-multimodal-prompt.test.ts +0 -173
- package/src/lib/__tests__/config-reader.test.ts +0 -75
- package/src/lib/__tests__/diff-parser.test.ts +0 -212
- package/src/lib/__tests__/execution-summary.test.ts +0 -237
- package/src/lib/__tests__/file-serve.test.ts +0 -178
- package/src/lib/__tests__/file-utils.test.ts +0 -177
- package/src/lib/__tests__/internal-api-guard.test.ts +0 -151
- package/src/lib/__tests__/logger.test.ts +0 -181
- package/src/lib/__tests__/platform.test.ts +0 -566
- package/src/lib/__tests__/reveal-route-security.test.ts +0 -65
- package/src/lib/__tests__/schemas.test.ts +0 -377
- package/src/lib/__tests__/terminal-link-provider.test.ts +0 -160
- package/src/lib/__tests__/upload-route-security.test.ts +0 -120
- package/src/lib/ai/__tests__/capability-resolver.test.ts +0 -71
- package/src/lib/ai/__tests__/claude-cli-adapter.test.ts +0 -103
- package/src/lib/ai/__tests__/provider-registry.test.ts +0 -74
- package/src/lib/ai/adapters/cli/claude-cli-adapter.ts +0 -166
- package/src/lib/ai/capability-resolver.ts +0 -81
- package/src/lib/ai/provider-registry.ts +0 -54
- package/src/lib/ai/providers/claude.ts +0 -19
- package/src/lib/ai/providers/index.ts +0 -12
- package/src/lib/ai/types.ts +0 -151
- package/src/lib/assistant-constants.ts +0 -2
- package/src/lib/assistant-message-converter.ts +0 -131
- package/src/lib/assistant-sessions.ts +0 -75
- package/src/lib/build-multimodal-prompt.ts +0 -53
- package/src/lib/claude-session.ts +0 -156
- package/src/lib/cli-test.ts +0 -476
- package/src/lib/config-defaults.ts +0 -121
- package/src/lib/config-reader.ts +0 -16
- package/src/lib/constants.ts +0 -26
- package/src/lib/db.ts +0 -28
- package/src/lib/diff-parser.ts +0 -132
- package/src/lib/execution-summary.ts +0 -287
- package/src/lib/file-serve-client.ts +0 -13
- package/src/lib/file-serve.ts +0 -32
- package/src/lib/file-utils.ts +0 -108
- package/src/lib/fs-security.ts +0 -22
- package/src/lib/fts.ts +0 -83
- package/src/lib/git-api.ts +0 -19
- package/src/lib/git-url.ts +0 -244
- package/src/lib/i18n/en.ts +0 -754
- package/src/lib/i18n/types.ts +0 -4
- package/src/lib/i18n/zh.ts +0 -769
- package/src/lib/i18n.tsx +0 -64
- package/src/lib/init-tower.ts +0 -129
- package/src/lib/instrumentation-tasks.ts +0 -116
- package/src/lib/internal-api-guard.ts +0 -63
- package/src/lib/logger.ts +0 -46
- package/src/lib/mime-magic.ts +0 -67
- package/src/lib/platform.ts +0 -518
- package/src/lib/preview-process.ts +0 -40
- package/src/lib/pty/__tests__/ws-server-assistant.test.ts +0 -7
- package/src/lib/pty/pty-session.ts +0 -157
- package/src/lib/pty/session-store.ts +0 -67
- package/src/lib/pty/ws-server.ts +0 -335
- package/src/lib/schemas.ts +0 -67
- package/src/lib/search.ts +0 -225
- package/src/lib/terminal-link-provider.ts +0 -90
- package/src/lib/tower-dir.ts +0 -69
- package/src/lib/utils.ts +0 -20
- package/src/lib/worktree.ts +0 -184
- package/src/stores/board-store.ts +0 -46
- package/src/stores/task-execution-store.ts +0 -41
- package/src/types/index.ts +0 -36
- /package/{src/app/apple-icon.png → .next/server/app/apple-icon.png.body} +0 -0
- /package/{src/app/favicon.ico → .next/server/app/favicon.ico.body} +0 -0
- /package/{src/app/icon0.svg → .next/server/app/icon0.svg.body} +0 -0
- /package/{src/app/icon1.png → .next/server/app/icon1.png.body} +0 -0
- /package/{src/app/manifest.json → .next/server/app/manifest.json.body} +0 -0
package/src/lib/platform.ts
DELETED
|
@@ -1,518 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* platform.ts — Unified cross-platform utilities.
|
|
3
|
-
*
|
|
4
|
-
* Consolidates duplicate command-resolution and path-normalization logic that
|
|
5
|
-
* previously lived in both cli-test.ts (async, for child_process.spawn) and
|
|
6
|
-
* session-store.ts (sync, for node-pty). Both consumers now import from here.
|
|
7
|
-
*
|
|
8
|
-
* Design constraints:
|
|
9
|
-
* - Must support both sync (PTY) and async (spawn) callers.
|
|
10
|
-
* - Must be testable with platform mocks (win32 / darwin / linux).
|
|
11
|
-
* - No side-effects on import — all state is passed as arguments.
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
import { constants as fsConstants, promises as fs } from "node:fs";
|
|
15
|
-
import { execSync } from "node:child_process";
|
|
16
|
-
import path from "node:path";
|
|
17
|
-
|
|
18
|
-
// ---------------------------------------------------------------------------
|
|
19
|
-
// Types
|
|
20
|
-
// ---------------------------------------------------------------------------
|
|
21
|
-
|
|
22
|
-
export interface SpawnTarget {
|
|
23
|
-
command: string;
|
|
24
|
-
args: string[];
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export interface ResolveCommandOptions {
|
|
28
|
-
/** Working directory for resolving relative paths */
|
|
29
|
-
cwd?: string;
|
|
30
|
-
/** Environment variables (defaults to process.env) */
|
|
31
|
-
env?: NodeJS.ProcessEnv;
|
|
32
|
-
/** Override platform for testing (defaults to process.platform) */
|
|
33
|
-
platform?: NodeJS.Platform;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
// ---------------------------------------------------------------------------
|
|
37
|
-
// Platform detection
|
|
38
|
-
// ---------------------------------------------------------------------------
|
|
39
|
-
|
|
40
|
-
export function isWindows(platform: NodeJS.Platform = process.platform): boolean {
|
|
41
|
-
return platform === "win32";
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
// ---------------------------------------------------------------------------
|
|
45
|
-
// Path normalization
|
|
46
|
-
// ---------------------------------------------------------------------------
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Normalize a file path for the target platform:
|
|
50
|
-
* - Runs path.normalize (collapses .. and .)
|
|
51
|
-
* - On Windows: converts forward slashes to backslashes
|
|
52
|
-
* - On Unix: converts backslashes to forward slashes
|
|
53
|
-
*
|
|
54
|
-
* Useful when comparing user-provided paths that may contain mixed separators
|
|
55
|
-
* (e.g. "D:\project/foo/bar").
|
|
56
|
-
*/
|
|
57
|
-
export function normalizePath(
|
|
58
|
-
p: string,
|
|
59
|
-
platform: NodeJS.Platform = process.platform,
|
|
60
|
-
): string {
|
|
61
|
-
const normalized = path.normalize(p);
|
|
62
|
-
if (isWindows(platform)) {
|
|
63
|
-
return normalized.replace(/\//g, "\\");
|
|
64
|
-
}
|
|
65
|
-
return normalized.replace(/\\/g, "/");
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* Convert a path to forward-slash form for cross-platform comparison.
|
|
70
|
-
* Useful when comparing paths from different OS representations
|
|
71
|
-
* (e.g. git worktree list output on Windows vs stored paths).
|
|
72
|
-
*/
|
|
73
|
-
export function toForwardSlash(p: string): string {
|
|
74
|
-
return p.replace(/\\/g, "/");
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
// ---------------------------------------------------------------------------
|
|
78
|
-
// Command quoting (Windows cmd.exe)
|
|
79
|
-
// ---------------------------------------------------------------------------
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* Quote/escape a single argument for use inside a `cmd.exe /c` command line.
|
|
83
|
-
*
|
|
84
|
-
* Rules:
|
|
85
|
-
* - Flatten newlines (CR/LF → space) — CreateProcess does not accept them.
|
|
86
|
-
* - Double `"` as required by cmd.exe escaping (`""` inside a quoted arg).
|
|
87
|
-
* - Wrap in `"…"` when the argument contains whitespace or shell meta-chars.
|
|
88
|
-
* - Empty string → `""`.
|
|
89
|
-
*/
|
|
90
|
-
export function quoteForCmd(arg: string): string {
|
|
91
|
-
const flat = arg.replace(/\r\n|\r|\n/g, " ");
|
|
92
|
-
if (!flat.length) return '""';
|
|
93
|
-
const escaped = flat.replace(/"/g, '""');
|
|
94
|
-
return /[\s"&<>|^()]/.test(escaped) ? `"${escaped}"` : escaped;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// ---------------------------------------------------------------------------
|
|
98
|
-
// Environment utilities
|
|
99
|
-
// ---------------------------------------------------------------------------
|
|
100
|
-
|
|
101
|
-
/** Default PATH values when the env has none (prevents "command not found"). */
|
|
102
|
-
function defaultPathForPlatform(platform: NodeJS.Platform = process.platform): string {
|
|
103
|
-
if (isWindows(platform)) {
|
|
104
|
-
return "C:\\Windows\\System32;C:\\Windows;C:\\Windows\\System32\\Wbem";
|
|
105
|
-
}
|
|
106
|
-
return "/usr/local/bin:/opt/homebrew/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin";
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* Ensure env has a non-empty PATH. If missing/empty, merges sensible defaults.
|
|
111
|
-
* Returns a new object — never mutates the input.
|
|
112
|
-
*/
|
|
113
|
-
export function ensurePathInEnv(
|
|
114
|
-
env: Record<string, string | undefined>,
|
|
115
|
-
platform: NodeJS.Platform = process.platform,
|
|
116
|
-
): Record<string, string | undefined> {
|
|
117
|
-
const key = isWindows(platform) ? "Path" : "PATH";
|
|
118
|
-
const current = env.PATH ?? env.Path ?? "";
|
|
119
|
-
if (current.length > 0) return env;
|
|
120
|
-
return { ...env, [key]: defaultPathForPlatform(platform) };
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
* Claude Code nesting prevention — strip env vars that block launching
|
|
125
|
-
* a new Claude CLI instance from within an existing Claude session.
|
|
126
|
-
* Returns a new object.
|
|
127
|
-
*/
|
|
128
|
-
const CLAUDE_NESTING_VARS = [
|
|
129
|
-
"CLAUDECODE",
|
|
130
|
-
"CLAUDE_CODE_ENTRYPOINT",
|
|
131
|
-
"CLAUDE_CODE_SESSION",
|
|
132
|
-
"CLAUDE_CODE_PARENT_SESSION",
|
|
133
|
-
];
|
|
134
|
-
|
|
135
|
-
export function stripClaudeNestingEnv(
|
|
136
|
-
env: Record<string, string | undefined>,
|
|
137
|
-
): Record<string, string | undefined> {
|
|
138
|
-
const cleaned = { ...env };
|
|
139
|
-
for (const key of CLAUDE_NESTING_VARS) {
|
|
140
|
-
delete cleaned[key];
|
|
141
|
-
}
|
|
142
|
-
return cleaned;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
/**
|
|
146
|
-
* Redact sensitive values from an env object for safe logging.
|
|
147
|
-
* Matches keys containing: key, token, secret, password, authorization, cookie.
|
|
148
|
-
*/
|
|
149
|
-
const SENSITIVE_KEY_RE = /key|token|secret|password|passwd|authorization|cookie/i;
|
|
150
|
-
|
|
151
|
-
export function redactEnvForLogs(
|
|
152
|
-
env: Record<string, string | undefined>,
|
|
153
|
-
): Record<string, string> {
|
|
154
|
-
const result: Record<string, string> = {};
|
|
155
|
-
for (const [k, v] of Object.entries(env)) {
|
|
156
|
-
if (v === undefined) continue;
|
|
157
|
-
result[k] = SENSITIVE_KEY_RE.test(k) ? "***REDACTED***" : v;
|
|
158
|
-
}
|
|
159
|
-
return result;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
// ---------------------------------------------------------------------------
|
|
163
|
-
// Command resolution
|
|
164
|
-
// ---------------------------------------------------------------------------
|
|
165
|
-
|
|
166
|
-
/** Windows PATHEXT extensions, parsed from environment or sensible default. */
|
|
167
|
-
function windowsPathExts(env: NodeJS.ProcessEnv): string[] {
|
|
168
|
-
return (env.PATHEXT ?? ".EXE;.CMD;.BAT;.COM").split(";").filter(Boolean);
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
/**
|
|
172
|
-
* Async command resolution — walks PATH directories and probes file existence.
|
|
173
|
-
* Suitable for child_process.spawn callers that can afford a few fs.access calls.
|
|
174
|
-
*
|
|
175
|
-
* @returns Absolute path to the executable, or `null` if not found.
|
|
176
|
-
*/
|
|
177
|
-
export async function resolveCommandPath(
|
|
178
|
-
command: string,
|
|
179
|
-
opts: ResolveCommandOptions = {},
|
|
180
|
-
): Promise<string | null> {
|
|
181
|
-
const cwd = opts.cwd ?? process.cwd();
|
|
182
|
-
const env = opts.env ?? process.env;
|
|
183
|
-
const platform = opts.platform ?? process.platform;
|
|
184
|
-
|
|
185
|
-
const hasPathSeparator = command.includes("/") || command.includes("\\");
|
|
186
|
-
if (hasPathSeparator) {
|
|
187
|
-
const absolute = path.isAbsolute(command) ? command : path.resolve(cwd, command);
|
|
188
|
-
return (await pathExists(absolute, platform)) ? absolute : null;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
const pathValue = env.PATH ?? env.Path ?? "";
|
|
192
|
-
const delimiter = isWindows(platform) ? ";" : ":";
|
|
193
|
-
const dirs = pathValue.split(delimiter).filter(Boolean);
|
|
194
|
-
const exts = isWindows(platform) ? windowsPathExts(env) : [""];
|
|
195
|
-
const hasExtension = isWindows(platform) && path.extname(command).length > 0;
|
|
196
|
-
|
|
197
|
-
for (const dir of dirs) {
|
|
198
|
-
const candidates = isWindows(platform)
|
|
199
|
-
? hasExtension
|
|
200
|
-
? [path.join(dir, command)]
|
|
201
|
-
: exts.map((ext) => path.join(dir, `${command}${ext}`))
|
|
202
|
-
: [path.join(dir, command)];
|
|
203
|
-
|
|
204
|
-
for (const candidate of candidates) {
|
|
205
|
-
if (await pathExists(candidate, platform)) return candidate;
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
return null;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
/** Function signature for the shell exec used by resolveCommandPathSync (injectable for tests). */
|
|
213
|
-
export type ExecSyncFn = (cmd: string) => string;
|
|
214
|
-
|
|
215
|
-
const defaultExecSync: ExecSyncFn = (cmd) =>
|
|
216
|
-
execSync(cmd, { encoding: "utf-8", timeout: 5000 });
|
|
217
|
-
|
|
218
|
-
/**
|
|
219
|
-
* Sync command resolution — uses `where` (Windows) or `which` (Unix).
|
|
220
|
-
* Suitable for node-pty callers that need a synchronous result.
|
|
221
|
-
*
|
|
222
|
-
* On Windows, prefers .cmd/.bat/.exe over extension-less shims.
|
|
223
|
-
*
|
|
224
|
-
* @param command - The command name (e.g. "claude")
|
|
225
|
-
* @param platform - Override for testing
|
|
226
|
-
* @param exec - Override shell exec for testing
|
|
227
|
-
* @returns Resolved path, or the original command if resolution fails.
|
|
228
|
-
*/
|
|
229
|
-
export function resolveCommandPathSync(
|
|
230
|
-
command: string,
|
|
231
|
-
platform: NodeJS.Platform = process.platform,
|
|
232
|
-
exec: ExecSyncFn = defaultExecSync,
|
|
233
|
-
): string {
|
|
234
|
-
// If it already has an extension or path separator, return as-is
|
|
235
|
-
if (path.extname(command) || command.includes("/") || command.includes("\\")) {
|
|
236
|
-
return command;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
if (!isWindows(platform)) {
|
|
240
|
-
return command; // Unix callers rely on PATH lookup at spawn time
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
try {
|
|
244
|
-
const result = exec(`where ${command}`);
|
|
245
|
-
const foundPaths = result.trim().split("\n").map((p) => p.trim()).filter(Boolean);
|
|
246
|
-
|
|
247
|
-
// Prefer .cmd/.bat/.exe over extension-less shims
|
|
248
|
-
const withExt = foundPaths.find((p) => /\.(cmd|bat|exe)$/i.test(p));
|
|
249
|
-
if (withExt) return withExt;
|
|
250
|
-
if (foundPaths.length > 0) return foundPaths[0];
|
|
251
|
-
} catch {
|
|
252
|
-
// Command not found in PATH — return as-is, let caller handle
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
return command;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
// ---------------------------------------------------------------------------
|
|
259
|
-
// Spawn target resolution
|
|
260
|
-
// ---------------------------------------------------------------------------
|
|
261
|
-
|
|
262
|
-
/**
|
|
263
|
-
* Async spawn target — resolves command + wraps .cmd/.bat for Windows.
|
|
264
|
-
* Use with child_process.spawn.
|
|
265
|
-
*/
|
|
266
|
-
export async function resolveSpawnTarget(
|
|
267
|
-
command: string,
|
|
268
|
-
args: string[],
|
|
269
|
-
opts: ResolveCommandOptions = {},
|
|
270
|
-
): Promise<SpawnTarget> {
|
|
271
|
-
const env = opts.env ?? process.env;
|
|
272
|
-
const platform = opts.platform ?? process.platform;
|
|
273
|
-
|
|
274
|
-
const resolved = await resolveCommandPath(command, opts);
|
|
275
|
-
const executable = resolved ?? command;
|
|
276
|
-
|
|
277
|
-
return wrapForPlatform(executable, args, env, platform);
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
/**
|
|
281
|
-
* Sync spawn target — resolves command + wraps .cmd/.bat for Windows.
|
|
282
|
-
* Use with node-pty.
|
|
283
|
-
*/
|
|
284
|
-
export function resolveSpawnTargetSync(
|
|
285
|
-
command: string,
|
|
286
|
-
args: string[],
|
|
287
|
-
platform: NodeJS.Platform = process.platform,
|
|
288
|
-
exec?: ExecSyncFn,
|
|
289
|
-
): SpawnTarget {
|
|
290
|
-
const resolved = resolveCommandPathSync(command, platform, exec);
|
|
291
|
-
return wrapForPlatform(resolved, args, process.env, platform);
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
// ---------------------------------------------------------------------------
|
|
295
|
-
// Internal helpers
|
|
296
|
-
// ---------------------------------------------------------------------------
|
|
297
|
-
|
|
298
|
-
/** Wrap a resolved executable for the target platform's shell if needed. */
|
|
299
|
-
function wrapForPlatform(
|
|
300
|
-
executable: string,
|
|
301
|
-
args: string[],
|
|
302
|
-
env: NodeJS.ProcessEnv,
|
|
303
|
-
platform: NodeJS.Platform,
|
|
304
|
-
): SpawnTarget {
|
|
305
|
-
if (!isWindows(platform)) {
|
|
306
|
-
return { command: executable, args };
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
const ext = path.extname(executable).toLowerCase();
|
|
310
|
-
if (ext === ".cmd" || ext === ".bat" || ext === ".com") {
|
|
311
|
-
const shell = env.ComSpec || "cmd.exe";
|
|
312
|
-
const commandLine = [quoteForCmd(executable), ...args.map(quoteForCmd)].join(" ");
|
|
313
|
-
return {
|
|
314
|
-
command: shell,
|
|
315
|
-
args: ["/d", "/s", "/c", commandLine],
|
|
316
|
-
};
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
return { command: executable, args };
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
async function pathExists(
|
|
323
|
-
candidate: string,
|
|
324
|
-
platform: NodeJS.Platform = process.platform,
|
|
325
|
-
): Promise<boolean> {
|
|
326
|
-
try {
|
|
327
|
-
await fs.access(candidate, isWindows(platform) ? fsConstants.F_OK : fsConstants.X_OK);
|
|
328
|
-
return true;
|
|
329
|
-
} catch {
|
|
330
|
-
return false;
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
// ---------------------------------------------------------------------------
|
|
335
|
-
// Shell detection (for PTY spawning, AI CLI testing)
|
|
336
|
-
// ---------------------------------------------------------------------------
|
|
337
|
-
|
|
338
|
-
export interface DetectedShell {
|
|
339
|
-
/** Display name, e.g. "zsh", "Git Bash" */
|
|
340
|
-
name: string;
|
|
341
|
-
/** Absolute path to the shell binary */
|
|
342
|
-
path: string;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
/**
|
|
346
|
-
* Detect available shells on the current platform.
|
|
347
|
-
*
|
|
348
|
-
* macOS/Linux: reads /etc/shells (same approach as VS Code).
|
|
349
|
-
* Windows: probes well-known Git Bash / PowerShell / WSL paths
|
|
350
|
-
* (adapted from VS Code's terminal profile detection).
|
|
351
|
-
*/
|
|
352
|
-
export async function detectShells(
|
|
353
|
-
platform: NodeJS.Platform = process.platform,
|
|
354
|
-
): Promise<DetectedShell[]> {
|
|
355
|
-
if (!isWindows(platform)) {
|
|
356
|
-
return detectUnixShells();
|
|
357
|
-
}
|
|
358
|
-
return detectWindowsShells();
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
/** Read /etc/shells — the OS-maintained list of valid login shells. */
|
|
362
|
-
async function detectUnixShells(): Promise<DetectedShell[]> {
|
|
363
|
-
try {
|
|
364
|
-
const content = await fs.readFile("/etc/shells", "utf-8");
|
|
365
|
-
const shells: DetectedShell[] = [];
|
|
366
|
-
const seen = new Map<string, number>();
|
|
367
|
-
|
|
368
|
-
for (const raw of content.split("\n")) {
|
|
369
|
-
const line = raw.replace(/#.*/, "").trim();
|
|
370
|
-
if (!line || !line.startsWith("/")) continue;
|
|
371
|
-
if (!(await pathExists(line))) continue;
|
|
372
|
-
|
|
373
|
-
let name = path.basename(line);
|
|
374
|
-
// Handle duplicate names (e.g. /bin/bash and /usr/local/bin/bash)
|
|
375
|
-
const count = seen.get(name) ?? 0;
|
|
376
|
-
seen.set(name, count + 1);
|
|
377
|
-
if (count > 0) name = `${name} (${count + 1})`;
|
|
378
|
-
|
|
379
|
-
shells.push({ name, path: line });
|
|
380
|
-
}
|
|
381
|
-
return shells;
|
|
382
|
-
} catch {
|
|
383
|
-
// /etc/shells not readable — return sensible defaults
|
|
384
|
-
const defaults = ["/bin/zsh", "/bin/bash", "/bin/sh"];
|
|
385
|
-
const shells: DetectedShell[] = [];
|
|
386
|
-
for (const p of defaults) {
|
|
387
|
-
if (await pathExists(p)) shells.push({ name: path.basename(p), path: p });
|
|
388
|
-
}
|
|
389
|
-
return shells;
|
|
390
|
-
}
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
/** Probe well-known Windows shell locations (VS Code approach). */
|
|
394
|
-
async function detectWindowsShells(): Promise<DetectedShell[]> {
|
|
395
|
-
const shells: DetectedShell[] = [];
|
|
396
|
-
|
|
397
|
-
// --- Git Bash ---
|
|
398
|
-
// Strategy: find git.exe on PATH → derive bash.exe path, then probe ProgramFiles
|
|
399
|
-
const gitBashCandidates: string[] = [];
|
|
400
|
-
|
|
401
|
-
// 1. From git.exe on PATH (most reliable)
|
|
402
|
-
const gitPath = await resolveCommandPath("git", { platform: "win32" });
|
|
403
|
-
if (gitPath) {
|
|
404
|
-
const gitRoot = path.resolve(path.dirname(gitPath), "..", "..");
|
|
405
|
-
gitBashCandidates.push(
|
|
406
|
-
path.join(gitRoot, "bin", "bash.exe"),
|
|
407
|
-
path.join(gitRoot, "usr", "bin", "bash.exe"),
|
|
408
|
-
);
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
// 2. Standard install directories
|
|
412
|
-
const programDirs = [
|
|
413
|
-
process.env.ProgramW6432,
|
|
414
|
-
process.env.ProgramFiles,
|
|
415
|
-
process.env["ProgramFiles(x86)"],
|
|
416
|
-
process.env.LocalAppData ? path.join(process.env.LocalAppData, "Programs") : null,
|
|
417
|
-
].filter(Boolean) as string[];
|
|
418
|
-
|
|
419
|
-
for (const dir of programDirs) {
|
|
420
|
-
gitBashCandidates.push(
|
|
421
|
-
path.join(dir, "Git", "bin", "bash.exe"),
|
|
422
|
-
path.join(dir, "Git", "usr", "bin", "bash.exe"),
|
|
423
|
-
);
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
// 3. Scoop
|
|
427
|
-
const home = process.env.USERPROFILE ?? "";
|
|
428
|
-
if (home) {
|
|
429
|
-
gitBashCandidates.push(
|
|
430
|
-
path.join(home, "scoop", "apps", "git", "current", "bin", "bash.exe"),
|
|
431
|
-
);
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
// 4. CLAUDE_CODE_GIT_BASH_PATH env var
|
|
435
|
-
if (process.env.CLAUDE_CODE_GIT_BASH_PATH) {
|
|
436
|
-
gitBashCandidates.unshift(process.env.CLAUDE_CODE_GIT_BASH_PATH);
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
for (const candidate of gitBashCandidates) {
|
|
440
|
-
if (await pathExists(candidate, "win32")) {
|
|
441
|
-
shells.push({ name: "Git Bash", path: candidate });
|
|
442
|
-
break;
|
|
443
|
-
}
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
// --- PowerShell Core (pwsh.exe) ---
|
|
447
|
-
const pwshPath = await resolveCommandPath("pwsh", { platform: "win32" });
|
|
448
|
-
if (pwshPath) {
|
|
449
|
-
shells.push({ name: "PowerShell", path: pwshPath });
|
|
450
|
-
}
|
|
451
|
-
|
|
452
|
-
// --- Windows PowerShell (legacy) ---
|
|
453
|
-
const winDir = process.env.windir ?? "C:\\WINDOWS";
|
|
454
|
-
const legacyPs = path.join(winDir, "System32", "WindowsPowerShell", "v1.0", "powershell.exe");
|
|
455
|
-
if (await pathExists(legacyPs, "win32")) {
|
|
456
|
-
shells.push({ name: "Windows PowerShell", path: legacyPs });
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
// --- Command Prompt ---
|
|
460
|
-
const cmd = process.env.ComSpec ?? path.join(winDir, "System32", "cmd.exe");
|
|
461
|
-
if (await pathExists(cmd, "win32")) {
|
|
462
|
-
shells.push({ name: "Command Prompt", path: cmd });
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
return shells;
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
// ---------------------------------------------------------------------------
|
|
469
|
-
// Terminal app detection (for "Open in Terminal" GUI action)
|
|
470
|
-
// ---------------------------------------------------------------------------
|
|
471
|
-
|
|
472
|
-
export interface DetectedTerminalApp {
|
|
473
|
-
/** Display name, e.g. "iTerm2", "Windows Terminal" */
|
|
474
|
-
name: string;
|
|
475
|
-
/** Value for macOS `open -a` or Windows executable path */
|
|
476
|
-
value: string;
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
/** Well-known macOS terminal GUI applications. */
|
|
480
|
-
const MAC_TERMINAL_APPS: Array<{ name: string; bundleName: string }> = [
|
|
481
|
-
{ name: "Terminal", bundleName: "Terminal" },
|
|
482
|
-
{ name: "iTerm2", bundleName: "iTerm" },
|
|
483
|
-
{ name: "Warp", bundleName: "Warp" },
|
|
484
|
-
{ name: "Alacritty", bundleName: "Alacritty" },
|
|
485
|
-
{ name: "WezTerm", bundleName: "WezTerm" },
|
|
486
|
-
{ name: "kitty", bundleName: "kitty" },
|
|
487
|
-
{ name: "Hyper", bundleName: "Hyper" },
|
|
488
|
-
];
|
|
489
|
-
|
|
490
|
-
/**
|
|
491
|
-
* Detect available GUI terminal applications.
|
|
492
|
-
* macOS: checks /Applications/*.app
|
|
493
|
-
* Windows: checks for Windows Terminal (wt.exe) in PATH
|
|
494
|
-
*/
|
|
495
|
-
export async function detectTerminalApps(
|
|
496
|
-
platform: NodeJS.Platform = process.platform,
|
|
497
|
-
): Promise<DetectedTerminalApp[]> {
|
|
498
|
-
if (platform === "darwin") {
|
|
499
|
-
const results: DetectedTerminalApp[] = [];
|
|
500
|
-
for (const t of MAC_TERMINAL_APPS) {
|
|
501
|
-
if (await pathExists(`/Applications/${t.bundleName}.app`, platform)) {
|
|
502
|
-
results.push({ name: t.name, value: t.bundleName });
|
|
503
|
-
}
|
|
504
|
-
}
|
|
505
|
-
return results;
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
if (isWindows(platform)) {
|
|
509
|
-
const results: DetectedTerminalApp[] = [];
|
|
510
|
-
const wtPath = await resolveCommandPath("wt", { platform });
|
|
511
|
-
if (wtPath) {
|
|
512
|
-
results.push({ name: "Windows Terminal", value: wtPath });
|
|
513
|
-
}
|
|
514
|
-
return results;
|
|
515
|
-
}
|
|
516
|
-
|
|
517
|
-
return [];
|
|
518
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { type ChildProcess } from "node:child_process";
|
|
2
|
-
|
|
3
|
-
// Module-level singleton — persists across requests in the same Node.js process
|
|
4
|
-
const previewProcesses = new Map<string, ChildProcess>();
|
|
5
|
-
|
|
6
|
-
export function registerPreviewProcess(taskId: string, child: ChildProcess): void {
|
|
7
|
-
// Clean up stale entry if exists
|
|
8
|
-
killPreviewProcess(taskId);
|
|
9
|
-
// Auto-remove from map when process exits
|
|
10
|
-
child.on("exit", () => {
|
|
11
|
-
if (previewProcesses.get(taskId) === child) {
|
|
12
|
-
previewProcesses.delete(taskId);
|
|
13
|
-
}
|
|
14
|
-
});
|
|
15
|
-
previewProcesses.set(taskId, child);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export function killPreviewProcess(taskId: string): boolean {
|
|
19
|
-
const child = previewProcesses.get(taskId);
|
|
20
|
-
if (!child) return false;
|
|
21
|
-
previewProcesses.delete(taskId);
|
|
22
|
-
if (child.killed) return false;
|
|
23
|
-
child.kill("SIGTERM");
|
|
24
|
-
return true;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export function killAllPreviewProcesses(): void {
|
|
28
|
-
for (const taskId of [...previewProcesses.keys()]) {
|
|
29
|
-
killPreviewProcess(taskId);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export function isPreviewRunning(taskId: string): boolean {
|
|
34
|
-
const child = previewProcesses.get(taskId);
|
|
35
|
-
return !!child && !child.killed;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
// Cleanup on process exit
|
|
39
|
-
process.on("SIGTERM", () => killAllPreviewProcesses());
|
|
40
|
-
process.on("SIGINT", () => killAllPreviewProcesses());
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { describe, it } from "vitest";
|
|
2
|
-
|
|
3
|
-
describe("ws-server assistant handling", () => {
|
|
4
|
-
it.todo("immediately destroys __assistant__ session on WS close (BE-05)");
|
|
5
|
-
it.todo("does not set keepalive timer for __assistant__ sessions");
|
|
6
|
-
it.todo("still applies keepalive for non-assistant sessions");
|
|
7
|
-
});
|