@37chengshan/ompweb 4.0.7 → 4.0.9
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 -1
- package/.next/app-path-routes-manifest.json +13 -11
- package/.next/build-manifest.json +3 -3
- package/.next/prerender-manifest.json +4 -4
- package/.next/react-loadable-manifest.json +5 -5
- package/.next/required-server-files.js +2 -2
- package/.next/required-server-files.json +2 -2
- package/.next/routes-manifest.json +16 -0
- package/.next/server/app/_global-error/page.js +2 -2
- package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.rsc +2 -2
- package/.next/server/app/_global-error.segments/_full.segment.rsc +2 -2
- package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page.js +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +3 -3
- package/.next/server/app/_not-found.segments/_full.segment.rsc +3 -3
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +3 -3
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/api/agent/[id]/bash-output/route.js +1 -1
- package/.next/server/app/api/agent/[id]/events/route.js +2 -2
- package/.next/server/app/api/agent/[id]/route.js +1 -1
- package/.next/server/app/api/agent/new/route.js +1 -1
- package/.next/server/app/api/agent/running/events/route.js +1 -1
- package/.next/server/app/api/agents/route.js +1 -1
- package/.next/server/app/api/app-update/releases/route.js +1 -1
- package/.next/server/app/api/app-update/route.js +2 -2
- package/.next/server/app/api/auth/all-providers/route.js +1 -1
- package/.next/server/app/api/auth/api-key/[provider]/route.js +1 -1
- package/.next/server/app/api/auth/login/[provider]/route.js +2 -2
- package/.next/server/app/api/auth/logout/[provider]/route.js +1 -1
- package/.next/server/app/api/auth/providers/route.js +1 -1
- package/.next/server/app/api/cwd/browse/route.js +1 -1
- package/.next/server/app/api/cwd/validate/route.js +1 -1
- package/.next/server/app/api/default-cwd/route.js +1 -1
- package/.next/server/app/api/diagnostics/route.js +1 -1
- package/.next/server/app/api/file-index/route.js +1 -1
- package/.next/server/app/api/files/[...path]/route.js +2 -2
- package/.next/server/app/api/git/diff/route.js +1 -1
- package/.next/server/app/api/git/status/route.js +1 -1
- package/.next/server/app/api/github/status/route.js +1 -1
- package/.next/server/app/api/home/route.js +1 -1
- package/.next/server/app/api/mcp/route.js +2 -2
- package/.next/server/app/api/model-roles/route.js +1 -1
- package/.next/server/app/api/models/fetch/route.js +1 -1
- package/.next/server/app/api/models/route.js +1 -1
- package/.next/server/app/api/models-config/catalog/route.js +1 -1
- package/.next/server/app/api/models-config/route.js +1 -1
- package/.next/server/app/api/models-config/test/route.js +1 -1
- package/.next/server/app/api/omp-settings/route.js +1 -1
- package/.next/server/app/api/omp-update/route.js +1 -1
- package/.next/server/app/api/omp-version/route.js +1 -1
- package/.next/server/app/api/pair/accept/route.js +1 -1
- package/.next/server/app/api/pair/accept/route.js.nft.json +1 -1
- package/.next/server/app/api/pair/config/route.js +1 -1
- package/.next/server/app/api/pair/config/route.js.nft.json +1 -1
- package/.next/server/app/api/pair/devices/[id]/route.js +1 -1
- package/.next/server/app/api/pair/devices/[id]/route.js.nft.json +1 -1
- package/.next/server/app/api/pair/devices/route.js +1 -1
- package/.next/server/app/api/pair/devices/route.js.nft.json +1 -1
- package/.next/server/app/api/pair/diagnostics/route.js +1 -0
- package/.next/server/app/api/pair/diagnostics/route.js.nft.json +1 -0
- package/.next/server/app/api/pair/diagnostics/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/pair/heartbeat/route.js +1 -1
- package/.next/server/app/api/pair/heartbeat/route.js.nft.json +1 -1
- package/.next/server/app/api/pair/revoke-all/route.js +1 -1
- package/.next/server/app/api/pair/revoke-all/route.js.nft.json +1 -1
- package/.next/server/app/api/pair/token/route.js +1 -1
- package/.next/server/app/api/pair/token/route.js.nft.json +1 -1
- package/.next/server/app/api/pair/tunnel/route.js +1 -1
- package/.next/server/app/api/pair/tunnel/route.js.nft.json +1 -1
- package/.next/server/app/api/plugins/route.js +1 -1
- package/.next/server/app/api/projects/route.js +1 -1
- package/.next/server/app/api/provider-usage/route.js +1 -1
- package/.next/server/app/api/providers/enable/route.js +1 -1
- package/.next/server/app/api/proxy/route.js +1 -1
- package/.next/server/app/api/reveal/route.js +1 -1
- package/.next/server/app/api/scripts/route.js +1 -1
- package/.next/server/app/api/scripts/run/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/archive/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/auto-name/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/context/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/entries/[entryId]/thinking/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/export/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/plan/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/state/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/subagents/[subagentId]/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/subagents/route.js +1 -1
- package/.next/server/app/api/sessions/archive/route.js +1 -1
- package/.next/server/app/api/sessions/import/route.js +1 -1
- package/.next/server/app/api/sessions/route.js +1 -1
- package/.next/server/app/api/skills/check/route.js +1 -1
- package/.next/server/app/api/skills/install/route.js +1 -1
- package/.next/server/app/api/skills/route.js +1 -1
- package/.next/server/app/api/skills/search/route.js +1 -1
- package/.next/server/app/api/skills/update/route.js +1 -1
- package/.next/server/app/api/terminal/input/route.js +1 -1
- package/.next/server/app/api/terminal/open/route.js +1 -1
- package/.next/server/app/api/terminal/resize/route.js +1 -1
- package/.next/server/app/api/terminal/session/route.js +1 -1
- package/.next/server/app/api/terminal/stream/route.js +2 -2
- package/.next/server/app/api/usage-summary/route.js +1 -0
- package/.next/server/app/api/usage-summary/route.js.nft.json +1 -0
- package/.next/server/app/api/usage-summary/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/web-auth/session/route.js +1 -1
- package/.next/server/app/api/worktrees/route.js +1 -1
- package/.next/server/app/favicon.ico/route.js +1 -1
- package/.next/server/app/index.html +1 -1
- package/.next/server/app/index.rsc +18 -19
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +4 -4
- package/.next/server/app/index.segments/_full.segment.rsc +18 -19
- package/.next/server/app/index.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/login/page.js +1 -1
- package/.next/server/app/login/page_client-reference-manifest.js +1 -1
- package/.next/server/app/login.html +1 -1
- package/.next/server/app/login.rsc +18 -19
- package/.next/server/app/login.segments/_full.segment.rsc +18 -19
- package/.next/server/app/login.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/login.segments/login/__PAGE__.segment.rsc +3 -3
- package/.next/server/app/manifest.webmanifest/route.js +2 -2
- package/.next/server/app/page.js +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app/remote/page.js +1 -1
- package/.next/server/app/remote/page_client-reference-manifest.js +1 -1
- package/.next/server/app/remote.html +1 -1
- package/.next/server/app/remote.rsc +21 -22
- package/.next/server/app/remote.segments/_full.segment.rsc +21 -22
- package/.next/server/app/remote.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/remote.segments/remote/__PAGE__.segment.rsc +4 -4
- package/.next/server/app-paths-manifest.json +13 -11
- package/.next/server/chunks/5105.js +1 -0
- package/.next/server/chunks/5309.js +1 -1
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/.next/server/middleware.js +2 -2
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/standalone/.next/BUILD_ID +1 -1
- package/.next/standalone/.next/app-path-routes-manifest.json +13 -11
- package/.next/standalone/.next/build-manifest.json +3 -3
- package/.next/standalone/.next/prerender-manifest.json +4 -4
- package/.next/standalone/.next/react-loadable-manifest.json +5 -5
- package/.next/standalone/.next/required-server-files.json +2 -2
- package/.next/standalone/.next/routes-manifest.json +16 -0
- package/.next/standalone/.next/server/app/_global-error/page.js +2 -2
- package/.next/standalone/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/_global-error.html +1 -1
- package/.next/standalone/.next/server/app/_global-error.rsc +2 -2
- package/.next/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found/page.js +1 -1
- package/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/_not-found.html +1 -1
- package/.next/standalone/.next/server/app/_not-found.rsc +3 -3
- package/.next/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +3 -3
- package/.next/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +3 -3
- package/.next/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/api/agent/[id]/bash-output/route.js +1 -1
- package/.next/standalone/.next/server/app/api/agent/[id]/events/route.js +2 -2
- package/.next/standalone/.next/server/app/api/agent/[id]/route.js +1 -1
- package/.next/standalone/.next/server/app/api/agent/new/route.js +1 -1
- package/.next/standalone/.next/server/app/api/agent/running/events/route.js +1 -1
- package/.next/standalone/.next/server/app/api/agents/route.js +1 -1
- package/.next/standalone/.next/server/app/api/app-update/releases/route.js +1 -1
- package/.next/standalone/.next/server/app/api/app-update/route.js +2 -2
- package/.next/standalone/.next/server/app/api/auth/all-providers/route.js +1 -1
- package/.next/standalone/.next/server/app/api/auth/api-key/[provider]/route.js +1 -1
- package/.next/standalone/.next/server/app/api/auth/login/[provider]/route.js +2 -2
- package/.next/standalone/.next/server/app/api/auth/logout/[provider]/route.js +1 -1
- package/.next/standalone/.next/server/app/api/auth/providers/route.js +1 -1
- package/.next/standalone/.next/server/app/api/cwd/browse/route.js +1 -1
- package/.next/standalone/.next/server/app/api/cwd/validate/route.js +1 -1
- package/.next/standalone/.next/server/app/api/default-cwd/route.js +1 -1
- package/.next/standalone/.next/server/app/api/diagnostics/route.js +1 -1
- package/.next/standalone/.next/server/app/api/file-index/route.js +1 -1
- package/.next/standalone/.next/server/app/api/files/[...path]/route.js +2 -2
- package/.next/standalone/.next/server/app/api/git/diff/route.js +1 -1
- package/.next/standalone/.next/server/app/api/git/status/route.js +1 -1
- package/.next/standalone/.next/server/app/api/github/status/route.js +1 -1
- package/.next/standalone/.next/server/app/api/home/route.js +1 -1
- package/.next/standalone/.next/server/app/api/mcp/route.js +2 -2
- package/.next/standalone/.next/server/app/api/model-roles/route.js +1 -1
- package/.next/standalone/.next/server/app/api/models/fetch/route.js +1 -1
- package/.next/standalone/.next/server/app/api/models/route.js +1 -1
- package/.next/standalone/.next/server/app/api/models-config/catalog/route.js +1 -1
- package/.next/standalone/.next/server/app/api/models-config/route.js +1 -1
- package/.next/standalone/.next/server/app/api/models-config/test/route.js +1 -1
- package/.next/standalone/.next/server/app/api/omp-settings/route.js +1 -1
- package/.next/standalone/.next/server/app/api/omp-update/route.js +1 -1
- package/.next/standalone/.next/server/app/api/omp-version/route.js +1 -1
- package/.next/standalone/.next/server/app/api/pair/accept/route.js +1 -1
- package/.next/standalone/.next/server/app/api/pair/accept/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/pair/config/route.js +1 -1
- package/.next/standalone/.next/server/app/api/pair/config/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/pair/devices/[id]/route.js +1 -1
- package/.next/standalone/.next/server/app/api/pair/devices/[id]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/pair/devices/route.js +1 -1
- package/.next/standalone/.next/server/app/api/pair/devices/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/pair/diagnostics/route.js +1 -0
- package/.next/standalone/.next/server/app/api/pair/diagnostics/route.js.nft.json +1 -0
- package/.next/standalone/.next/server/app/api/pair/diagnostics/route_client-reference-manifest.js +1 -0
- package/.next/standalone/.next/server/app/api/pair/heartbeat/route.js +1 -1
- package/.next/standalone/.next/server/app/api/pair/heartbeat/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/pair/revoke-all/route.js +1 -1
- package/.next/standalone/.next/server/app/api/pair/revoke-all/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/pair/token/route.js +1 -1
- package/.next/standalone/.next/server/app/api/pair/token/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/pair/tunnel/route.js +1 -1
- package/.next/standalone/.next/server/app/api/pair/tunnel/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/plugins/route.js +1 -1
- package/.next/standalone/.next/server/app/api/projects/route.js +1 -1
- package/.next/standalone/.next/server/app/api/provider-usage/route.js +1 -1
- package/.next/standalone/.next/server/app/api/providers/enable/route.js +1 -1
- package/.next/standalone/.next/server/app/api/proxy/route.js +1 -1
- package/.next/standalone/.next/server/app/api/reveal/route.js +1 -1
- package/.next/standalone/.next/server/app/api/scripts/route.js +1 -1
- package/.next/standalone/.next/server/app/api/scripts/run/route.js +1 -1
- package/.next/standalone/.next/server/app/api/sessions/[id]/archive/route.js +1 -1
- package/.next/standalone/.next/server/app/api/sessions/[id]/auto-name/route.js +1 -1
- package/.next/standalone/.next/server/app/api/sessions/[id]/context/route.js +1 -1
- package/.next/standalone/.next/server/app/api/sessions/[id]/entries/[entryId]/thinking/route.js +1 -1
- package/.next/standalone/.next/server/app/api/sessions/[id]/export/route.js +1 -1
- package/.next/standalone/.next/server/app/api/sessions/[id]/plan/route.js +1 -1
- package/.next/standalone/.next/server/app/api/sessions/[id]/route.js +1 -1
- package/.next/standalone/.next/server/app/api/sessions/[id]/state/route.js +1 -1
- package/.next/standalone/.next/server/app/api/sessions/[id]/subagents/[subagentId]/route.js +1 -1
- package/.next/standalone/.next/server/app/api/sessions/[id]/subagents/route.js +1 -1
- package/.next/standalone/.next/server/app/api/sessions/archive/route.js +1 -1
- package/.next/standalone/.next/server/app/api/sessions/import/route.js +1 -1
- package/.next/standalone/.next/server/app/api/sessions/route.js +1 -1
- package/.next/standalone/.next/server/app/api/skills/check/route.js +1 -1
- package/.next/standalone/.next/server/app/api/skills/install/route.js +1 -1
- package/.next/standalone/.next/server/app/api/skills/route.js +1 -1
- package/.next/standalone/.next/server/app/api/skills/search/route.js +1 -1
- package/.next/standalone/.next/server/app/api/skills/update/route.js +1 -1
- package/.next/standalone/.next/server/app/api/terminal/input/route.js +1 -1
- package/.next/standalone/.next/server/app/api/terminal/open/route.js +1 -1
- package/.next/standalone/.next/server/app/api/terminal/resize/route.js +1 -1
- package/.next/standalone/.next/server/app/api/terminal/session/route.js +1 -1
- package/.next/standalone/.next/server/app/api/terminal/stream/route.js +2 -2
- package/.next/standalone/.next/server/app/api/usage-summary/route.js +1 -0
- package/.next/standalone/.next/server/app/api/usage-summary/route.js.nft.json +1 -0
- package/.next/standalone/.next/server/app/api/usage-summary/route_client-reference-manifest.js +1 -0
- package/.next/standalone/.next/server/app/api/web-auth/session/route.js +1 -1
- package/.next/standalone/.next/server/app/api/worktrees/route.js +1 -1
- package/.next/standalone/.next/server/app/favicon.ico/route.js +1 -1
- package/.next/standalone/.next/server/app/index.html +1 -1
- package/.next/standalone/.next/server/app/index.rsc +18 -19
- package/.next/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +4 -4
- package/.next/standalone/.next/server/app/index.segments/_full.segment.rsc +18 -19
- package/.next/standalone/.next/server/app/index.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/login/page.js +1 -1
- package/.next/standalone/.next/server/app/login/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/login.html +1 -1
- package/.next/standalone/.next/server/app/login.rsc +18 -19
- package/.next/standalone/.next/server/app/login.segments/_full.segment.rsc +18 -19
- package/.next/standalone/.next/server/app/login.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/login.segments/login/__PAGE__.segment.rsc +3 -3
- package/.next/standalone/.next/server/app/manifest.webmanifest/route.js +2 -2
- package/.next/standalone/.next/server/app/page.js +1 -1
- package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/remote/page.js +1 -1
- package/.next/standalone/.next/server/app/remote/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/remote.html +1 -1
- package/.next/standalone/.next/server/app/remote.rsc +21 -22
- package/.next/standalone/.next/server/app/remote.segments/_full.segment.rsc +21 -22
- package/.next/standalone/.next/server/app/remote.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/remote.segments/remote/__PAGE__.segment.rsc +4 -4
- package/.next/standalone/.next/server/app-paths-manifest.json +13 -11
- package/.next/standalone/.next/server/chunks/5105.js +1 -0
- package/.next/standalone/.next/server/chunks/5309.js +1 -1
- package/.next/standalone/.next/server/middleware-build-manifest.js +1 -1
- package/.next/standalone/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/.next/standalone/.next/server/middleware.js +2 -2
- package/.next/standalone/.next/server/pages/404.html +1 -1
- package/.next/standalone/.next/server/pages/500.html +1 -1
- package/.next/standalone/package.json +1 -1
- package/.next/standalone/server.js +1 -1
- package/.next/static/Q2mgfI2LwRPF7Zp0NCBoh/_buildManifest.js +1 -0
- package/.next/static/chunks/1133.84dfba8099917553.js +1 -0
- package/.next/static/chunks/2584-d3ce1b6b3f137f21.js +1 -0
- package/.next/static/chunks/3651.4eeee1645e4e81ff.js +1 -0
- package/.next/static/chunks/6792.c2eaf8558399422d.js +126 -0
- package/.next/static/chunks/app/_global-error/page-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/agent/[id]/bash-output/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/agent/[id]/events/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/agent/[id]/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/agent/new/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/agent/running/events/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/agents/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/app-update/releases/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/app-update/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/auth/all-providers/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/auth/api-key/[provider]/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/auth/login/[provider]/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/auth/logout/[provider]/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/auth/providers/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/cwd/browse/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/cwd/validate/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/default-cwd/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/diagnostics/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/file-index/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/files/[...path]/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/git/diff/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/git/status/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/github/status/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/home/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/mcp/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/model-roles/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/models/fetch/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/models/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/models-config/catalog/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/models-config/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/models-config/test/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/omp-settings/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/omp-update/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/omp-version/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/pair/accept/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/pair/config/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/pair/devices/[id]/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/pair/devices/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/pair/diagnostics/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/pair/heartbeat/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/pair/revoke-all/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/pair/token/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/pair/tunnel/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/plugins/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/projects/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/provider-usage/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/providers/enable/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/proxy/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/reveal/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/scripts/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/scripts/run/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/archive/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/auto-name/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/context/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/thinking/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/export/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/plan/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/state/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/subagents/[subagentId]/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/subagents/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/sessions/archive/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/sessions/import/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/sessions/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/skills/check/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/skills/install/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/skills/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/skills/search/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/skills/update/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/terminal/input/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/terminal/open/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/terminal/resize/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/terminal/session/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/terminal/stream/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/usage-summary/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/web-auth/session/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/api/worktrees/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/manifest.webmanifest/route-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/app/{page-48b96ccb13ebd7bb.js → page-29ff0717ff7d59d5.js} +1 -1
- package/.next/static/chunks/app/remote/page-6929ee7ca38967a5.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/app-error-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/forbidden-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/not-found-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-a8d6675abc8c4ebf.js +1 -0
- package/.next/static/chunks/{webpack-18d04f872fe12139.js → webpack-65a8e2b2a2f9a3fc.js} +1 -1
- package/desktop/main.js +50 -7
- package/next.config.ts +6 -1
- package/package.json +1 -1
- package/.next/server/chunks/4791.js +0 -1
- package/.next/standalone/.next/server/chunks/4791.js +0 -1
- package/.next/static/Q-0mKyL6V7YpE6pf8ZoFy/_buildManifest.js +0 -1
- package/.next/static/chunks/1133.0f37525b2b215f36.js +0 -1
- package/.next/static/chunks/2584-77204310e58868e3.js +0 -1
- package/.next/static/chunks/3651.f68fccde22153b7d.js +0 -1
- package/.next/static/chunks/7408.8fb61f7f23253d4d.js +0 -126
- package/.next/static/chunks/app/_global-error/page-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/agent/[id]/bash-output/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/agent/[id]/events/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/agent/[id]/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/agent/new/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/agent/running/events/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/agents/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/app-update/releases/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/app-update/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/auth/all-providers/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/auth/api-key/[provider]/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/auth/login/[provider]/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/auth/logout/[provider]/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/auth/providers/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/cwd/browse/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/cwd/validate/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/default-cwd/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/diagnostics/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/file-index/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/files/[...path]/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/git/diff/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/git/status/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/github/status/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/home/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/mcp/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/model-roles/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/models/fetch/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/models/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/models-config/catalog/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/models-config/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/models-config/test/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/omp-settings/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/omp-update/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/omp-version/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/pair/accept/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/pair/config/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/pair/devices/[id]/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/pair/devices/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/pair/heartbeat/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/pair/revoke-all/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/pair/token/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/pair/tunnel/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/plugins/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/projects/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/provider-usage/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/providers/enable/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/proxy/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/reveal/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/scripts/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/scripts/run/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/archive/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/auto-name/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/context/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/thinking/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/export/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/plan/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/state/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/subagents/[subagentId]/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/subagents/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/sessions/archive/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/sessions/import/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/sessions/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/skills/check/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/skills/install/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/skills/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/skills/search/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/skills/update/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/terminal/input/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/terminal/open/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/terminal/resize/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/terminal/session/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/terminal/stream/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/web-auth/session/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/api/worktrees/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/manifest.webmanifest/route-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/app/remote/page-3f3f16f1d3808f92.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/app-error-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/forbidden-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/not-found-f97ee162e6cb1325.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-f97ee162e6cb1325.js +0 -1
- /package/.next/static/{Q-0mKyL6V7YpE6pf8ZoFy → Q2mgfI2LwRPF7Zp0NCBoh}/_ssgManifest.js +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
exports.id=4791,exports.ids=[4791],exports.modules={20565:(a,b,c)=>{"use strict";function d(a){return"object"==typeof a&&null!==a&&!Array.isArray(a)}function e(a){return"string"==typeof a?a:void 0}function f(a){return"number"==typeof a&&Number.isFinite(a)?a:void 0}c.d(b,{i:()=>f,oJ:()=>e,u4:()=>d})},43851:(a,b,c)=>{"use strict";c.d(b,{gN:()=>m});var d=c(33873),e=c(55511),f=c(29021),g=c(20565);let h={tokenTtlMs:6e5,offlineAfterMs:25e3,maxDevices:4,idleExpireMs:6048e5,cookieName:"dsh_pair",requirePairingForLan:!0,autoTunnel:!1,mobileEnterToSend:!1},i={now:()=>Date.now(),randomToken:()=>(0,e.randomBytes)(16).toString("hex")};class j{constructor(a={},b=i,c=null){this.tokens=new Map,this.devices=new Map,this.persistPath=null,this.stopped=!1,this.tokenSerial=0,this.config={...h,...a},this.store=b,this.persistPath=c,c&&(0,f.existsSync)(c)&&this.load()}load(){try{var a;let b,c=JSON.parse((0,f.readFileSync)(this.persistPath,"utf8"));if(!(0,g.u4)(c))return;if((0,g.u4)(c.config)&&(this.config={...this.config,...(a=c.config,b={},"number"==typeof a.tokenTtlMs&&(b.tokenTtlMs=a.tokenTtlMs),"number"==typeof a.offlineAfterMs&&(b.offlineAfterMs=a.offlineAfterMs),"number"==typeof a.maxDevices&&(b.maxDevices=a.maxDevices),"number"==typeof a.idleExpireMs&&(b.idleExpireMs=a.idleExpireMs),"string"==typeof a.cookieName&&(b.cookieName=a.cookieName),"boolean"==typeof a.requirePairingForLan&&(b.requirePairingForLan=a.requirePairingForLan),"string"==typeof a.publicUrl&&(b.publicUrl=a.publicUrl),"boolean"==typeof a.autoTunnel&&(b.autoTunnel=a.autoTunnel),"boolean"==typeof a.mobileEnterToSend&&(b.mobileEnterToSend=a.mobileEnterToSend),b)}),(0,g.u4)(c.token)&&"string"==typeof c.token.value&&"number"==typeof c.token.expiresAt&&c.token.expiresAt>this.store.now()&&this.tokens.set(c.token.value,c.token.expiresAt),Array.isArray(c.devices))for(let a of c.devices){if(!(0,g.u4)(a)||"string"!=typeof a.id)continue;let b={id:a.id,name:"string"==typeof a.name?a.name:"Paired device",pairedAt:"number"==typeof a.pairedAt?a.pairedAt:this.store.now(),lastActiveAt:"number"==typeof a.lastActiveAt?a.lastActiveAt:this.store.now(),..."string"==typeof a.userAgent?{userAgent:a.userAgent}:{},mobile:!0===a.mobile};this.devices.set(b.id,b)}this.sweep()}catch{}}persist(){if(this.persistPath)try{(0,f.mkdirSync)((0,d.dirname)(this.persistPath),{recursive:!0});let a=`${this.persistPath}.tmp`;(0,f.writeFileSync)(a,JSON.stringify({config:this.config,token:this.activeToken(),devices:[...this.devices.values()]})),(0,f.renameSync)(a,this.persistPath)}catch{}}updateConfig(a){return this.config={...this.config,...a},this.persist(),this.config}getConfig(){return{...this.config}}issue(){let a=this.store.now(),b=`${this.store.randomToken()}${this.tokenSerial++}`,c=a+this.config.tokenTtlMs;return this.tokens.clear(),this.tokens.set(b,c),this.persist(),{token:b,expiresAt:c}}accept(a,b,c){let d,e=this.store.now(),f=this.tokens.get(a);if(void 0===f||f<e)return null;this.tokens.delete(a);let g={id:this.store.randomToken(),name:(d=(b??"").slice(0,180),c?"Phone":/Windows/i.test(d)?"Windows PC":/Macintosh|Mac OS/i.test(d)?"Mac":/Linux/i.test(d)?"Linux PC":/iPhone|iPad|Android/i.test(d)?"Phone":"Paired device"),pairedAt:e,lastActiveAt:e,...b?{userAgent:b.slice(0,180)}:{},mobile:c};return this.devices.set(g.id,g),this.sweepDevices(e),this.persist(),g}touch(a){let b=this.devices.get(a);return!!b&&(b.lastActiveAt=this.store.now(),this.sweepDevices(b.lastActiveAt),this.devices.has(a))}revoke(a){let b=this.devices.delete(a);return b&&this.persist(),b}stop(){this.tokens.clear(),this.devices.clear(),this.stopped=!0,this.persist()}isStopped(){return this.stopped}getDevice(a){let b=this.devices.get(a);return b?this.store.now()-b.lastActiveAt>this.config.idleExpireMs?(this.devices.delete(a),this.persist(),null):{...b}:null}listDevices(){return this.sweep(),[...this.devices.values()].map(a=>({...a}))}isOnline(a){return this.store.now()-a.lastActiveAt<=this.config.offlineAfterMs}activeToken(){let a=this.store.now();for(let[b,c]of this.tokens){if(c>=a)return{value:b,expiresAt:c};this.tokens.delete(b)}return null}sweep(){let a=this.store.now();for(let[b,c]of(this.sweepDevices(a),this.tokens))c<a&&this.tokens.delete(b)}sweepDevices(a){let b=[];for(let[c,d]of this.devices)a-d.lastActiveAt>this.config.idleExpireMs&&b.push(c);for(let a of b)this.devices.delete(a);if(this.devices.size>this.config.maxDevices){let a=[...this.devices.values()].sort((a,b)=>a.lastActiveAt-b.lastActiveAt);for(let b of a.slice(0,a.length-this.config.maxDevices))this.devices.delete(b.id)}}}var k=c(85887);let l="__ompWebPairingService__";function m(){let a=globalThis;return a[l]||(a[l]=new j({},void 0,(0,d.join)((0,k.$M)(),"remote-pairing.json"))),a[l]}},78335:()=>{},85887:(a,b,c)=>{"use strict";c.d(b,{$M:()=>l,OK:()=>r,Pp:()=>w,Ym:()=>x,_8:()=>u,fL:()=>v,ny:()=>o,pA:()=>q,tE:()=>n,yG:()=>p});var d=c(29021),e=c(21820),f=c(33873);let g=/^[a-z0-9][a-z0-9._-]{0,63}$/,h=/^(?:CON|PRN|AUX|NUL|COM[0-9]|LPT[0-9])(?:\..*)?$/i;function i(a){let b=a?.trim();if(b&&"default"!==b){if("."===b||".."===b||b.endsWith(".")||!g.test(b)||h.test(b))throw Error(`Invalid OMP profile "${a}". Profile names must match ${g.source}, cannot be "." or "..", cannot end with ".", and cannot be a Windows reserved device name (CON, PRN, AUX, NUL, COM0-9, LPT0-9, or any of those with an extension).`);return b}}function j(){return void 0!==process.env.OMP_PROFILE?i(process.env.OMP_PROFILE):i(process.env.PI_PROFILE)}function k(){let a=f.join((0,e.homedir)(),process.env.PI_CONFIG_DIR||".omp"),b=j();return b?f.join(a,"profiles",b):a}function l(){let a=j(),b=process.env.PI_CODING_AGENT_DIR;return b&&!a?f.resolve(b):f.join(k(),"agent")}function m(a){let b=function(){let a,b;if("linux"!==process.platform&&"darwin"!==process.platform||(a=j(),(b=process.env.PI_CODING_AGENT_DIR)&&!a&&f.resolve(b)!==f.join(k(),"agent")))return;let c=process.env.XDG_DATA_HOME;if(c)try{let a=f.join(c,"omp"),b=j();if(b){let c=f.join(a,"profiles",b);return(0,d.existsSync)(c)?c:void 0}return(0,d.existsSync)(a)?a:void 0}catch{return}}();return f.join(b??l(),a)}function n(){return m("sessions")}function o(){return f.join(f.dirname(n()),"archive","sessions")}function p(){return m("blobs")}function q(){let a=l(),b=f.join(a,"config.yml");if((0,d.existsSync)(b))return b;let c=f.join(a,"config.yaml");return(0,d.existsSync)(c)?c:b}function r(){let a=l(),b=f.join(a,"models.yml");if((0,d.existsSync)(b))return b;let c=f.join(a,"models.yaml");return(0,d.existsSync)(c)?c:b}function s(a){try{return d.realpathSync.native(a)}catch{return a}}function t(a,b){let c=b.replace(/[/\\:]/g,"-");return c?a.endsWith("-")?`${a}${c}`:`${a}-${c}`:a}function u(a){let b,c=s(f.resolve(a)),d=s((0,e.homedir)()),g=s((0,e.tmpdir)()),h=f.relative(d,c),i=f.relative(g,c);return""!==h&&(h.startsWith("..")||f.isAbsolute(h))?""!==i&&(i.startsWith("..")||f.isAbsolute(i))?(b=f.resolve(c),`--${b.replace(/^[/\\]/,"").replace(/[/\\:]/g,"-")}--`):t("-tmp",i):t("-",h)}function v(){return f.join(l(),"agents")}function w(a){let b=f.resolve(a),c=(0,e.homedir)();for(;;){let a=f.join(b,".omp","agents");try{if((0,d.statSync)(a).isDirectory())return a}catch{}if((0,d.existsSync)(f.join(b,".git")))return a;if(b===c)break;let e=f.dirname(b);if(e===b)break;b=e}return f.join(f.resolve(a),".omp","agents")}function x(){return f.join((0,e.tmpdir)(),"omp-web-bundled-agents")}},96487:()=>{}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
exports.id=4791,exports.ids=[4791],exports.modules={20565:(a,b,c)=>{"use strict";function d(a){return"object"==typeof a&&null!==a&&!Array.isArray(a)}function e(a){return"string"==typeof a?a:void 0}function f(a){return"number"==typeof a&&Number.isFinite(a)?a:void 0}c.d(b,{i:()=>f,oJ:()=>e,u4:()=>d})},43851:(a,b,c)=>{"use strict";c.d(b,{gN:()=>m});var d=c(33873),e=c(55511),f=c(29021),g=c(20565);let h={tokenTtlMs:6e5,offlineAfterMs:25e3,maxDevices:4,idleExpireMs:6048e5,cookieName:"dsh_pair",requirePairingForLan:!0,autoTunnel:!1,mobileEnterToSend:!1},i={now:()=>Date.now(),randomToken:()=>(0,e.randomBytes)(16).toString("hex")};class j{constructor(a={},b=i,c=null){this.tokens=new Map,this.devices=new Map,this.persistPath=null,this.stopped=!1,this.tokenSerial=0,this.config={...h,...a},this.store=b,this.persistPath=c,c&&(0,f.existsSync)(c)&&this.load()}load(){try{var a;let b,c=JSON.parse((0,f.readFileSync)(this.persistPath,"utf8"));if(!(0,g.u4)(c))return;if((0,g.u4)(c.config)&&(this.config={...this.config,...(a=c.config,b={},"number"==typeof a.tokenTtlMs&&(b.tokenTtlMs=a.tokenTtlMs),"number"==typeof a.offlineAfterMs&&(b.offlineAfterMs=a.offlineAfterMs),"number"==typeof a.maxDevices&&(b.maxDevices=a.maxDevices),"number"==typeof a.idleExpireMs&&(b.idleExpireMs=a.idleExpireMs),"string"==typeof a.cookieName&&(b.cookieName=a.cookieName),"boolean"==typeof a.requirePairingForLan&&(b.requirePairingForLan=a.requirePairingForLan),"string"==typeof a.publicUrl&&(b.publicUrl=a.publicUrl),"boolean"==typeof a.autoTunnel&&(b.autoTunnel=a.autoTunnel),"boolean"==typeof a.mobileEnterToSend&&(b.mobileEnterToSend=a.mobileEnterToSend),b)}),(0,g.u4)(c.token)&&"string"==typeof c.token.value&&"number"==typeof c.token.expiresAt&&c.token.expiresAt>this.store.now()&&this.tokens.set(c.token.value,c.token.expiresAt),Array.isArray(c.devices))for(let a of c.devices){if(!(0,g.u4)(a)||"string"!=typeof a.id)continue;let b={id:a.id,name:"string"==typeof a.name?a.name:"Paired device",pairedAt:"number"==typeof a.pairedAt?a.pairedAt:this.store.now(),lastActiveAt:"number"==typeof a.lastActiveAt?a.lastActiveAt:this.store.now(),..."string"==typeof a.userAgent?{userAgent:a.userAgent}:{},mobile:!0===a.mobile};this.devices.set(b.id,b)}this.sweep()}catch{}}persist(){if(this.persistPath)try{(0,f.mkdirSync)((0,d.dirname)(this.persistPath),{recursive:!0});let a=`${this.persistPath}.tmp`;(0,f.writeFileSync)(a,JSON.stringify({config:this.config,token:this.activeToken(),devices:[...this.devices.values()]})),(0,f.renameSync)(a,this.persistPath)}catch{}}updateConfig(a){return this.config={...this.config,...a},this.persist(),this.config}getConfig(){return{...this.config}}issue(){let a=this.store.now(),b=`${this.store.randomToken()}${this.tokenSerial++}`,c=a+this.config.tokenTtlMs;return this.tokens.clear(),this.tokens.set(b,c),this.persist(),{token:b,expiresAt:c}}accept(a,b,c){let d,e=this.store.now(),f=this.tokens.get(a);if(void 0===f||f<e)return null;this.tokens.delete(a);let g={id:this.store.randomToken(),name:(d=(b??"").slice(0,180),c?"Phone":/Windows/i.test(d)?"Windows PC":/Macintosh|Mac OS/i.test(d)?"Mac":/Linux/i.test(d)?"Linux PC":/iPhone|iPad|Android/i.test(d)?"Phone":"Paired device"),pairedAt:e,lastActiveAt:e,...b?{userAgent:b.slice(0,180)}:{},mobile:c};return this.devices.set(g.id,g),this.sweepDevices(e),this.persist(),g}touch(a){let b=this.devices.get(a);return!!b&&(b.lastActiveAt=this.store.now(),this.sweepDevices(b.lastActiveAt),this.devices.has(a))}revoke(a){let b=this.devices.delete(a);return b&&this.persist(),b}stop(){this.tokens.clear(),this.devices.clear(),this.stopped=!0,this.persist()}isStopped(){return this.stopped}getDevice(a){let b=this.devices.get(a);return b?this.store.now()-b.lastActiveAt>this.config.idleExpireMs?(this.devices.delete(a),this.persist(),null):{...b}:null}listDevices(){return this.sweep(),[...this.devices.values()].map(a=>({...a}))}isOnline(a){return this.store.now()-a.lastActiveAt<=this.config.offlineAfterMs}activeToken(){let a=this.store.now();for(let[b,c]of this.tokens){if(c>=a)return{value:b,expiresAt:c};this.tokens.delete(b)}return null}sweep(){let a=this.store.now();for(let[b,c]of(this.sweepDevices(a),this.tokens))c<a&&this.tokens.delete(b)}sweepDevices(a){let b=[];for(let[c,d]of this.devices)a-d.lastActiveAt>this.config.idleExpireMs&&b.push(c);for(let a of b)this.devices.delete(a);if(this.devices.size>this.config.maxDevices){let a=[...this.devices.values()].sort((a,b)=>a.lastActiveAt-b.lastActiveAt);for(let b of a.slice(0,a.length-this.config.maxDevices))this.devices.delete(b.id)}}}var k=c(85887);let l="__ompWebPairingService__";function m(){let a=globalThis;return a[l]||(a[l]=new j({},void 0,(0,d.join)((0,k.$M)(),"remote-pairing.json"))),a[l]}},78335:()=>{},85887:(a,b,c)=>{"use strict";c.d(b,{$M:()=>l,OK:()=>r,Pp:()=>w,Ym:()=>x,_8:()=>u,fL:()=>v,ny:()=>o,pA:()=>q,tE:()=>n,yG:()=>p});var d=c(29021),e=c(21820),f=c(33873);let g=/^[a-z0-9][a-z0-9._-]{0,63}$/,h=/^(?:CON|PRN|AUX|NUL|COM[0-9]|LPT[0-9])(?:\..*)?$/i;function i(a){let b=a?.trim();if(b&&"default"!==b){if("."===b||".."===b||b.endsWith(".")||!g.test(b)||h.test(b))throw Error(`Invalid OMP profile "${a}". Profile names must match ${g.source}, cannot be "." or "..", cannot end with ".", and cannot be a Windows reserved device name (CON, PRN, AUX, NUL, COM0-9, LPT0-9, or any of those with an extension).`);return b}}function j(){return void 0!==process.env.OMP_PROFILE?i(process.env.OMP_PROFILE):i(process.env.PI_PROFILE)}function k(){let a=f.join((0,e.homedir)(),process.env.PI_CONFIG_DIR||".omp"),b=j();return b?f.join(a,"profiles",b):a}function l(){let a=j(),b=process.env.PI_CODING_AGENT_DIR;return b&&!a?f.resolve(b):f.join(k(),"agent")}function m(a){let b=function(){let a,b;if("linux"!==process.platform&&"darwin"!==process.platform||(a=j(),(b=process.env.PI_CODING_AGENT_DIR)&&!a&&f.resolve(b)!==f.join(k(),"agent")))return;let c=process.env.XDG_DATA_HOME;if(c)try{let a=f.join(c,"omp"),b=j();if(b){let c=f.join(a,"profiles",b);return(0,d.existsSync)(c)?c:void 0}return(0,d.existsSync)(a)?a:void 0}catch{return}}();return f.join(b??l(),a)}function n(){return m("sessions")}function o(){return f.join(f.dirname(n()),"archive","sessions")}function p(){return m("blobs")}function q(){let a=l(),b=f.join(a,"config.yml");if((0,d.existsSync)(b))return b;let c=f.join(a,"config.yaml");return(0,d.existsSync)(c)?c:b}function r(){let a=l(),b=f.join(a,"models.yml");if((0,d.existsSync)(b))return b;let c=f.join(a,"models.yaml");return(0,d.existsSync)(c)?c:b}function s(a){try{return d.realpathSync.native(a)}catch{return a}}function t(a,b){let c=b.replace(/[/\\:]/g,"-");return c?a.endsWith("-")?`${a}${c}`:`${a}-${c}`:a}function u(a){let b,c=s(f.resolve(a)),d=s((0,e.homedir)()),g=s((0,e.tmpdir)()),h=f.relative(d,c),i=f.relative(g,c);return""!==h&&(h.startsWith("..")||f.isAbsolute(h))?""!==i&&(i.startsWith("..")||f.isAbsolute(i))?(b=f.resolve(c),`--${b.replace(/^[/\\]/,"").replace(/[/\\:]/g,"-")}--`):t("-tmp",i):t("-",h)}function v(){return f.join(l(),"agents")}function w(a){let b=f.resolve(a),c=(0,e.homedir)();for(;;){let a=f.join(b,".omp","agents");try{if((0,d.statSync)(a).isDirectory())return a}catch{}if((0,d.existsSync)(f.join(b,".git")))return a;if(b===c)break;let e=f.dirname(b);if(e===b)break;b=e}return f.join(f.resolve(a),".omp","agents")}function x(){return f.join((0,e.tmpdir)(),"omp-web-bundled-agents")}},96487:()=>{}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
self.__BUILD_MANIFEST={__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},__routerFilterStatic:{numItems:63,errorRate:1e-4,numBits:1208,numHashes:14,bitArray:[1,1,1,1,1,1,0,1,0,1,0,1,0,0,1,1,1,0,1,1,0,0,1,1,1,1,0,0,0,0,1,0,1,1,1,0,0,0,1,0,1,0,1,0,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,0,1,0,0,0,1,1,1,0,0,0,1,0,0,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,1,1,0,1,1,1,0,1,0,0,0,1,0,0,0,0,0,0,0,1,0,1,1,1,1,0,1,1,0,1,1,1,0,1,0,1,1,1,1,0,0,0,1,1,0,1,1,1,1,0,1,0,0,0,1,1,1,0,1,0,1,0,0,1,1,1,1,0,0,1,0,0,1,0,0,0,1,1,0,0,0,0,0,1,1,0,0,1,0,1,1,0,0,1,1,0,1,0,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,1,0,1,1,1,1,0,1,1,1,0,0,1,1,0,0,0,1,0,1,1,1,1,1,1,1,0,0,1,0,0,1,1,0,0,0,1,0,1,1,1,1,1,0,0,1,1,1,1,1,1,1,0,1,0,0,1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,1,0,1,1,1,0,1,0,0,1,0,1,0,1,1,0,1,0,1,1,1,0,0,0,0,1,1,0,0,1,0,1,1,1,1,0,0,1,0,1,0,1,1,1,0,0,1,1,0,1,1,1,1,0,0,0,1,0,1,1,1,0,0,1,1,1,0,0,0,1,0,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,1,1,0,1,1,0,1,0,1,1,0,1,0,0,1,0,1,1,0,0,0,1,0,0,0,1,0,0,1,0,1,1,1,1,0,1,0,1,1,0,1,1,1,0,0,0,0,0,1,1,0,0,1,0,1,1,1,1,1,1,0,1,0,1,0,0,0,1,0,0,1,0,1,0,1,0,1,1,1,1,1,0,0,1,1,0,0,1,0,1,0,0,1,1,0,0,0,0,0,1,1,0,0,0,1,0,1,1,0,1,0,1,0,1,0,1,1,0,0,0,0,1,1,1,1,1,0,1,1,1,1,1,0,1,1,0,0,1,0,1,1,1,0,1,0,1,0,0,0,1,1,1,0,0,1,0,1,0,0,1,0,1,0,0,0,1,0,1,0,0,0,1,1,0,0,0,0,0,1,0,1,0,1,1,1,0,0,0,1,0,0,0,0,0,1,1,1,1,1,0,0,1,1,1,1,0,1,0,1,0,1,0,0,1,1,1,0,1,0,1,0,0,0,0,0,0,1,0,1,0,0,0,1,0,1,0,1,1,0,1,0,0,1,1,1,0,1,0,1,1,0,0,0,1,0,1,0,1,0,0,1,1,0,1,1,1,0,0,1,0,0,0,0,1,1,1,1,0,0,0,0,1,1,1,1,1,0,1,1,0,1,0,0,1,0,0,1,1,1,1,0,1,0,1,0,1,0,1,0,1,1,1,1,1,1,0,1,0,1,1,1,1,0,0,1,1,1,1,0,1,0,0,1,1,0,1,1,1,0,1,0,0,1,1,0,0,0,0,0,0,0,1,0,0,1,0,0,1,0,0,0,1,0,1,0,1,0,0,0,0,1,0,0,0,0,0,1,1,0,0,1,0,1,0,1,0,1,1,1,1,1,0,0,0,1,1,1,1,0,1,0,1,0,1,0,1,0,1,0,0,1,1,1,1,1,0,0,1,1,0,0,1,0,0,1,1,0,0,1,0,1,1,0,1,0,1,1,0,1,1,0,0,1,0,0,1,1,0,1,1,0,0,1,0,0,0,1,1,0,1,1,0,0,0,1,1,0,0,1,0,1,1,1,1,1,1,1,1,0,1,0,1,0,0,0,1,0,0,1,1,0,0,0,1,0,1,1,1,1,0,1,1,1,1,1,0,0,0,1,1,1,1,1,0,0,0,0,1,0,1,0,0,1,0,0,1,0,1,0,0,1,1,0,1,0,0,0,1,1,1,1,1,1,1,1,1,0,0,0,0,0,1,0,1,1,1,1,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,1,0,0,1,0,1,0,1,1,0,0,1,1,1,1,1,1,1,1,0,1,0,0,1,0,1,1,1,0,1,1,1,0,1,0,1,1,0,0,1,1,0,1,1,1,1,1,1,0,0,1,1,0,0,1,1,1,0,0,0,0,1,1,1,0,1,1,1,1,1,1,0,1,1,0,0,1,0,1,0,0,0,0,0,1,0,1,1,1,0,0,0,1,0,1,0,0,0,1,1,0,1,1,0,1,0,0,1,1,1,1,1,1,1,0,1,1,1,0,0,0,1,1,1,1,0,0,1,1,0,1,0,1,1,0,0,0,0,0,1,1,1,1,0,1,1,0,1,1,1,0,0,0,1,0,0,0,0,1,1,0,1,1,0,0,0,0,0,1,1,0,0,0,0,1,0,1,0,1,0,1,1,1,0,1,1,1,0,1,0,0,1,1,0,0,1,0,0,1,0,1,0,1,0,1,1,0,0,1,0,0,0,0,1,0,1,0,0,1,0,1,0,0,1,0,1,1,1,1,0,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,0,0,0,1,0,1,0,0,0,0,1,0,1,0,0,0,0]},__routerFilterDynamic:{numItems:7,errorRate:1e-4,numBits:135,numHashes:14,bitArray:[0,0,1,0,0,1,0,0,0,0,1,0,0,1,1,1,0,1,0,0,1,0,1,0,1,1,0,0,1,0,0,0,1,1,1,1,1,0,1,0,1,1,1,0,0,1,1,1,1,1,1,0,1,1,0,1,1,1,1,0,1,0,0,1,1,1,1,0,1,1,1,1,1,0,0,0,0,1,0,0,1,1,1,0,0,1,1,0,0,1,1,0,0,1,0,0,0,0,1,0,0,1,0,0,0,0,0,0,1,1,1,1,0,1,1,0,0,0,0,0,1,0,0,1,1,1,1,1,0,0,1,0,1,0,1]},sortedPages:["/_app"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1133],{11133:(e,t,a)=>{a.r(t),a.d(t,{CommandPalette:()=>p,default:()=>x});var r=a(95155),o=a(12115),n=a(47650),l=a(18114),i=a(25494),d=a(2125),s=a(47603),c=a(78890),m=a(52584),u=a(96793);function p({onSelectSession:e,onNewSession:t,currentModel:a}){let{t:x,locale:v}=(0,m.s9)(),{isDark:h,toggleTheme:f}=(0,u.DP)(),[g,w]=(0,o.useState)(!1),[y,b]=(0,o.useState)([]),[j,P]=(0,o.useState)(!1),S=(0,o.useCallback)(()=>{P(!0),fetch("/api/sessions").then(e=>e.ok?e.json():Promise.reject(Error("request failed"))).then(e=>b(e.sessions)).catch(()=>b([])).finally(()=>P(!1))},[]);if((0,o.useEffect)(()=>{let e=e=>{(e.metaKey||e.ctrlKey)&&"k"===e.key.toLowerCase()?(e.preventDefault(),w(e=>!e)):"Escape"===e.key&&g&&(e.preventDefault(),e.stopPropagation(),w(!1))};return window.addEventListener("keydown",e,!0),()=>window.removeEventListener("keydown",e,!0)},[g]),(0,o.useEffect)(()=>{g&&S()},[g,S]),!g||"u"<typeof document)return null;let k=e=>{e(),w(!1)};return(0,n.createPortal)((0,r.jsx)("div",{role:"presentation",onMouseDown:e=>{e.currentTarget===e.target&&w(!1)},style:{position:"fixed",inset:0,zIndex:2e3,background:"color-mix(in srgb, var(--text) 22%, transparent)",paddingTop:"20vh"},children:(0,r.jsxs)(l.uB,{label:x("commandPalette.label"),role:"dialog","aria-modal":"true",shouldFilter:!0,style:{width:"min(92vw, 560px)",maxHeight:"min(70vh, 560px)",margin:"0 auto",overflow:"hidden",background:"var(--bg)",border:"1px solid var(--border)",borderRadius:"var(--radius-modal)",boxShadow:"var(--shadow-modal)",animation:"ui-scale-in var(--dur-med) var(--ease-out-warm)"},children:[(0,r.jsx)("div",{style:{padding:"14px 16px",borderBottom:"1px solid var(--border)"},children:(0,r.jsx)(l.uB.Input,{autoFocus:!0,placeholder:x("commandPalette.placeholder"),style:{width:"100%",border:0,outline:0,background:"transparent",color:"var(--text)",fontSize:15}})}),(0,r.jsxs)(l.uB.List,{style:{padding:"8px",overflowY:"auto",maxHeight:"min(55vh, 440px)"},children:[(0,r.jsx)(l.uB.Empty,{style:{padding:20,textAlign:"center",color:"var(--text-muted)",fontSize:13},children:j?"Loading sessions...":x("commandPalette.empty")}),(0,r.jsx)(l.uB.Group,{heading:x("commandPalette.sessions"),children:y.map(t=>(0,r.jsxs)(l.uB.Item,{value:`${t.name??t.id} ${t.cwd}`,onSelect:()=>k(()=>e(t)),style:{display:"flex",alignItems:"center",gap:10,padding:"9px 10px",borderRadius:"var(--radius-control)",color:"var(--text)",cursor:"pointer"},children:[(0,r.jsx)(i.A,{size:15,color:"var(--accent)"}),(0,r.jsx)("span",{style:{flex:1,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:t.name||t.id}),(0,r.jsx)("span",{style:{color:"var(--text-dim)",fontSize:11},children:function(e,t){let a=Math.max(0,Math.floor((Date.now()-new Date(e).getTime())/6e4));if(a<1)return new Intl.RelativeTimeFormat(t,{numeric:"auto"}).format(0,"minute");if(a<60)return new Intl.RelativeTimeFormat(t,{numeric:"always"}).format(-a,"minute");let r=Math.floor(a/60);return r<24?new Intl.RelativeTimeFormat(t,{numeric:"always"}).format(-r,"hour"):new Intl.RelativeTimeFormat(t,{numeric:"always"}).format(-Math.floor(r/24),"day")}(t.modified,v)})]},t.id))}),(0,r.jsxs)(l.uB.Group,{heading:x("commandPalette.actions"),children:[(0,r.jsxs)(l.uB.Item,{value:x("commandPalette.newSession"),onSelect:()=>k(t),style:{display:"flex",gap:10,padding:"9px 10px",borderRadius:"var(--radius-control)",color:"var(--text)",cursor:"pointer"},children:[(0,r.jsx)(d.A,{size:15,color:"var(--accent)"}),x("commandPalette.newSession")]}),(0,r.jsxs)(l.uB.Item,{value:x("commandPalette.toggleTheme"),onSelect:()=>k(f),style:{display:"flex",gap:10,padding:"9px 10px",borderRadius:"var(--radius-control)",color:"var(--text)",cursor:"pointer"},children:[h?(0,r.jsx)(s.A,{size:15,color:"var(--accent)"}):(0,r.jsx)(c.A,{size:15,color:"var(--accent)"}),x("commandPalette.toggleTheme")]})]}),(0,r.jsx)(l.uB.Group,{heading:x("commandPalette.models"),children:(0,r.jsxs)(l.uB.Item,{value:a??x("commandPalette.currentModel"),disabled:!0,style:{padding:"9px 10px",color:"var(--text-muted)",fontSize:13},children:[x("commandPalette.currentModel"),": ",a??x("commandPalette.notAvailable")]})})]}),(0,r.jsx)("div",{style:{borderTop:"1px solid var(--border)",padding:"8px 14px",color:"var(--text-dim)",fontSize:11},children:x("commandPalette.hints")})]})}),document.body)}let x=p}}]);
|