conductor-oss 0.61.21 → 0.61.22
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/node_modules/@conductor-oss/core/package.json +1 -1
- package/package.json +6 -6
- package/web/.next/standalone/node_modules/@img/sharp-libvips-linux-x64/README.md +46 -0
- package/web/.next/standalone/node_modules/@img/sharp-libvips-linux-x64/lib/glib-2.0/include/glibconfig.h +219 -0
- package/web/.next/standalone/node_modules/@img/{sharp-libvips-linuxmusl-x64/lib/libvips-cpp.so.8.17.3 → sharp-libvips-linux-x64/lib/libvips-cpp.so.8.18.3} +0 -0
- package/web/.next/standalone/node_modules/@img/sharp-libvips-linux-x64/package.json +2 -2
- package/web/.next/standalone/node_modules/@img/sharp-libvips-linux-x64/versions.json +20 -20
- package/web/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/README.md +46 -0
- package/web/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/glib-2.0/include/glibconfig.h +219 -0
- package/web/.next/standalone/node_modules/@img/{sharp-libvips-linux-x64/lib/libvips-cpp.so.8.17.3 → sharp-libvips-linuxmusl-x64/lib/libvips-cpp.so.8.18.3} +0 -0
- package/web/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/package.json +2 -2
- package/web/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/versions.json +20 -20
- package/web/.next/standalone/node_modules/@img/sharp-linux-x64/index.cjs +1 -0
- package/web/.next/standalone/node_modules/@img/sharp-linux-x64/lib/sharp-linux-x64-0.35.0.node +0 -0
- package/web/.next/standalone/node_modules/@img/sharp-linux-x64/package.json +6 -5
- package/web/.next/standalone/node_modules/@img/sharp-linuxmusl-x64/index.cjs +1 -0
- package/web/.next/standalone/node_modules/@img/sharp-linuxmusl-x64/lib/sharp-linuxmusl-x64-0.35.0.node +0 -0
- package/web/.next/standalone/node_modules/@img/sharp-linuxmusl-x64/package.json +6 -5
- package/web/.next/standalone/node_modules/@next/env/package.json +8 -9
- package/web/.next/standalone/node_modules/next/dist/build/swc/index.js +1 -1
- package/web/.next/standalone/node_modules/next/dist/build/webpack-config.js +3 -3
- package/web/.next/standalone/node_modules/next/dist/client/dev/debug-channel.js +102 -2
- package/web/.next/standalone/node_modules/next/dist/compiled/http-proxy/index.js +5 -5
- package/web/.next/standalone/node_modules/next/dist/compiled/next-server/app-page-experimental.runtime.prod.js +11 -10
- package/web/.next/standalone/node_modules/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js +12 -11
- package/web/.next/standalone/node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js +14 -13
- package/web/.next/standalone/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js +11 -10
- package/web/.next/standalone/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js +2 -2
- package/web/.next/standalone/node_modules/next/dist/compiled/next-server/pages-turbo.runtime.prod.js +9 -9
- package/web/.next/standalone/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js +9 -9
- package/web/.next/standalone/node_modules/next/dist/lib/patch-incorrect-lockfile.js +3 -3
- package/web/.next/standalone/node_modules/next/dist/server/app-render/action-handler.js +147 -42
- package/web/.next/standalone/node_modules/next/dist/server/app-render/manifests-singleton.js +52 -4
- package/web/.next/standalone/node_modules/next/dist/server/config-schema.js +1 -1
- package/web/.next/standalone/node_modules/next/dist/server/config-shared.js +0 -2
- package/web/.next/standalone/node_modules/next/dist/server/config.js +1 -1
- package/web/.next/standalone/node_modules/next/dist/server/dev/hot-reloader-turbopack.js +2 -2
- package/web/.next/standalone/node_modules/next/dist/server/dev/hot-reloader-webpack.js +1 -1
- package/web/.next/standalone/node_modules/next/dist/server/image-optimizer.js +8 -27
- package/web/.next/standalone/node_modules/next/dist/server/lib/app-info-log.js +1 -1
- package/web/.next/standalone/node_modules/next/dist/server/lib/encode-cache-tag.js +45 -0
- package/web/.next/standalone/node_modules/next/dist/server/lib/implicit-tags.js +6 -3
- package/web/.next/standalone/node_modules/next/dist/server/lib/incremental-cache/index.js +90 -53
- package/web/.next/standalone/node_modules/next/dist/server/lib/patch-fetch.js +20 -3
- package/web/.next/standalone/node_modules/next/dist/server/lib/router-utils/proxy-request.js +4 -0
- package/web/.next/standalone/node_modules/next/dist/server/lib/start-server.js +1 -1
- package/web/.next/standalone/node_modules/next/dist/shared/lib/errors/canary-only-config-error.js +1 -1
- package/web/.next/standalone/node_modules/next/dist/shared/lib/router/router.js +8 -1
- package/web/.next/standalone/node_modules/next/dist/shared/lib/router/utils/prepare-destination.js +2 -1
- package/web/.next/standalone/node_modules/next/dist/shared/lib/server-reference-info.js +12 -0
- package/web/.next/standalone/node_modules/next/dist/telemetry/anonymous-meta.js +1 -1
- package/web/.next/standalone/node_modules/next/dist/telemetry/events/swc-load-failure.js +1 -1
- package/web/.next/standalone/node_modules/next/dist/telemetry/events/version.js +2 -2
- package/web/.next/standalone/node_modules/next/package.json +10 -252
- package/web/.next/standalone/node_modules/postcss/lib/container.js +81 -34
- package/web/.next/standalone/node_modules/postcss/lib/fromJSON.js +76 -23
- package/web/.next/standalone/node_modules/postcss/lib/input.js +13 -4
- package/web/.next/standalone/node_modules/postcss/lib/lazy-result.js +55 -13
- package/web/.next/standalone/node_modules/postcss/lib/node.js +105 -60
- package/web/.next/standalone/node_modules/postcss/lib/previous-map.js +11 -2
- package/web/.next/standalone/node_modules/postcss/lib/processor.js +1 -1
- package/web/.next/standalone/node_modules/postcss/lib/stringifier.js +90 -25
- package/web/.next/standalone/node_modules/postcss/package.json +1 -1
- package/web/.next/standalone/node_modules/sharp/{lib/channel.js → dist/channel.cjs} +1 -1
- package/web/.next/standalone/node_modules/sharp/{lib/colour.js → dist/colour.cjs} +1 -1
- package/web/.next/standalone/node_modules/sharp/{lib/composite.js → dist/composite.cjs} +2 -1
- package/web/.next/standalone/node_modules/sharp/{lib/constructor.js → dist/constructor.cjs} +41 -29
- package/web/.next/standalone/node_modules/sharp/dist/index.cjs +25 -0
- package/web/.next/standalone/node_modules/sharp/{lib/input.js → dist/input.cjs} +19 -14
- package/web/.next/standalone/node_modules/sharp/{lib/libvips.js → dist/libvips.cjs} +35 -30
- package/web/.next/standalone/node_modules/sharp/{lib/operation.js → dist/operation.cjs} +6 -35
- package/web/.next/standalone/node_modules/sharp/{lib/output.js → dist/output.cjs} +142 -14
- package/web/.next/standalone/node_modules/sharp/{lib/resize.js → dist/resize.cjs} +19 -1
- package/web/.next/standalone/node_modules/sharp/dist/sharp.cjs +164 -0
- package/web/.next/standalone/node_modules/sharp/{lib/utility.js → dist/utility.cjs} +11 -7
- package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/classes/range.js +24 -4
- package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/classes/semver.js +19 -2
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/functions/clean.js +8 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/functions/compare-build.js +9 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/functions/compare-loose.js +5 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/functions/diff.js +60 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/functions/inc.js +21 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/functions/major.js +5 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/functions/minor.js +5 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/functions/patch.js +5 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/functions/prerelease.js +8 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/functions/rcompare.js +5 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/functions/rsort.js +5 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/functions/sort.js +5 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/functions/truncate.js +48 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/functions/valid.js +8 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/index.js +93 -0
- package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/re.js +1 -1
- package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/package.json +4 -4
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/preload.js +4 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/ranges/gtr.js +6 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/ranges/intersects.js +9 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/ranges/ltr.js +6 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/ranges/max-satisfying.js +27 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/ranges/min-satisfying.js +26 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/ranges/min-version.js +63 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/ranges/outside.js +82 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/ranges/simplify.js +49 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/ranges/subset.js +249 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/ranges/to-comparators.js +10 -0
- package/web/.next/standalone/node_modules/sharp/node_modules/semver/ranges/valid.js +13 -0
- package/web/.next/standalone/node_modules/sharp/package.json +60 -49
- package/web/.next/standalone/package.json +3 -2
- package/web/.next/standalone/packages/web/.next/BUILD_ID +1 -1
- package/web/.next/standalone/packages/web/.next/app-path-routes-manifest.json +7 -7
- package/web/.next/standalone/packages/web/.next/build-manifest.json +4 -4
- package/web/.next/standalone/packages/web/.next/prerender-manifest.json +3 -3
- package/web/.next/standalone/packages/web/.next/react-loadable-manifest.json +5 -5
- package/web/.next/standalone/packages/web/.next/required-server-files.json +6 -1
- package/web/.next/standalone/packages/web/.next/server/app/__clerk/[[...path]]/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.html +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_not-found/page.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/access/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/agents/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/app-update/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/attachments/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/auth/profile/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/boards/comments/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/boards/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridge/bridges/[bridgeId]/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridge/bridges/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridge/devices/[deviceId]/app-update/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridge/devices/[deviceId]/repair/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridge/devices/[deviceId]/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridge/devices/[deviceId]/service-restart/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridge/devices/claims/complete/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridge/devices/code/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridge/devices/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/bridges/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/config/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/context-files/open/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/context-files/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/events/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/executor/health/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/filesystem/directory/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/filesystem/pick-directory/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/github/projects/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/github/projects/sync/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/github/repos/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/github/webhook/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/health/boards/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/health/sessions/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/notifications/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/preferences/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/project-notes/backlinks/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/project-notes/daily/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/project-notes/file/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/project-notes/graph/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/project-notes/open/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/project-notes/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/approve/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/bindings/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/feed/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/feed/stream/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/integration/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/interrupt/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/preferences/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/reject/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/send/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/tasks/[task]/handoff/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/tasks/[task]/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatcher/tasks/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/dispatchers/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/open/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/[id]/setup/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/projects/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/repositories/[id]/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/repositories/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/actions/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/archive/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/checks/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/diff/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/files/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/keys/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/kill/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/output/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/output/stream/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/preview/dom/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/preview/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/preview/screenshot/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/restore/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/send/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/relay/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/snapshot/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/token/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/ttyd/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/ttyd/token/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/ttyd/ws/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/sessions/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/skills/activate/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/skills/catalog/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/skills/deactivate/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/skills/install/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/skills/installed/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/skills/session-active/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/skills/uninstall/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/spawn/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/workspaces/branches/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/api/workspaces/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/bridge/connect/page.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/bridge/connect/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/bridge/connect/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/bridge/install.ps1/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/bridge/install.sh/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/embed/terminal/[id]/page.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/embed/terminal/[id]/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/embed/terminal/[id]/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/icon.svg/route.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/page.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sessions/[id]/page.js +2 -2
- package/web/.next/standalone/packages/web/.next/server/app/sessions/[id]/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sessions/[id]/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/settings/bridge/page.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/settings/bridge/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/settings/bridge/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sign-in/[[...sign-in]]/page.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sign-in/[[...sign-in]]/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sign-in/[[...sign-in]]/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sign-in/hosted/page.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sign-in/hosted/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sign-in/hosted/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sign-in/sso-callback/page.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sign-in/sso-callback/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sign-in/sso-callback/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sign-up/[[...sign-up]]/page.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sign-up/[[...sign-up]]/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/sign-up/[[...sign-up]]/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/unlock/page.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/unlock/page.js.nft.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/app/unlock/page_client-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/app-paths-manifest.json +7 -7
- package/web/.next/standalone/packages/web/.next/server/chunks/2512.js +3 -3
- package/web/.next/standalone/packages/web/.next/server/chunks/3303.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/3698.js +5 -3
- package/web/.next/standalone/packages/web/.next/server/chunks/3786.js +2 -2
- package/web/.next/standalone/packages/web/.next/server/chunks/4135.js +1 -0
- package/web/.next/standalone/packages/web/.next/server/chunks/6108.js +1 -0
- package/web/.next/standalone/packages/web/.next/server/chunks/6472.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/7776.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/9455.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/9672.js +1 -0
- package/web/.next/standalone/packages/web/.next/server/middleware-build-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/middleware.js +4 -4
- package/web/.next/standalone/packages/web/.next/server/next-font-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/next-font-manifest.json +1 -1
- package/web/.next/standalone/packages/web/.next/server/pages/500.html +1 -1
- package/web/.next/standalone/packages/web/.next/server/server-reference-manifest.js +1 -1
- package/web/.next/standalone/packages/web/.next/server/server-reference-manifest.json +1 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/{34443.c71c524d5fcc197f.js → 34443.564640d49e48dac8.js} +1 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/41696.3e691c667c1e7b81.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/49829.b59a66a75b0144d4.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/{61968-84de5fd1d154571d.js → 61968-1d55f423ea1ad7fb.js} +1 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/76892-83c29ea9e142a212.js +1 -0
- package/web/.next/{static/chunks/79593-c8c8ed0f8829c660.js → standalone/packages/web/.next/static/chunks/79593-7e4d5cc53d59e150.js} +2 -2
- package/web/.next/standalone/packages/web/.next/static/chunks/9016-c4fa23038e6de72b.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/{layout-1d6034a5d57a2849.js → layout-e2267e076be36fa0.js} +1 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/page-f3925343b6c5eaa9.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/app/sessions/[id]/page-b1d7e1d41fba2817.js +1 -0
- package/web/.next/standalone/packages/web/.next/static/chunks/{main-e776ff7a08a61c77.js → main-0a70c45f3b60fdcf.js} +1 -1
- package/web/.next/{static/chunks/webpack-c447583f01d6313b.js → standalone/packages/web/.next/static/chunks/webpack-44f612e7df6dfe22.js} +1 -1
- package/web/.next/standalone/packages/web/.next/static/css/07568bac52bbf79f.css +1 -0
- package/web/.next/standalone/packages/web/package.json +2 -1
- package/web/.next/standalone/packages/web/server.js +1 -1
- package/web/.next/static/chunks/{34443.c71c524d5fcc197f.js → 34443.564640d49e48dac8.js} +1 -1
- package/web/.next/static/chunks/41696.3e691c667c1e7b81.js +1 -0
- package/web/.next/static/chunks/49829.b59a66a75b0144d4.js +1 -0
- package/web/.next/static/chunks/{61968-84de5fd1d154571d.js → 61968-1d55f423ea1ad7fb.js} +1 -1
- package/web/.next/static/chunks/76892-83c29ea9e142a212.js +1 -0
- package/web/.next/{standalone/packages/web/.next/static/chunks/79593-c8c8ed0f8829c660.js → static/chunks/79593-7e4d5cc53d59e150.js} +2 -2
- package/web/.next/static/chunks/9016-c4fa23038e6de72b.js +1 -0
- package/web/.next/static/chunks/app/{layout-1d6034a5d57a2849.js → layout-e2267e076be36fa0.js} +1 -1
- package/web/.next/static/chunks/app/page-f3925343b6c5eaa9.js +1 -0
- package/web/.next/static/chunks/app/sessions/[id]/page-b1d7e1d41fba2817.js +1 -0
- package/web/.next/static/chunks/{main-e776ff7a08a61c77.js → main-0a70c45f3b60fdcf.js} +1 -1
- package/web/.next/{standalone/packages/web/.next/static/chunks/webpack-c447583f01d6313b.js → static/chunks/webpack-44f612e7df6dfe22.js} +1 -1
- package/web/.next/static/css/07568bac52bbf79f.css +1 -0
- package/web/.next/standalone/node_modules/@img/sharp-linux-x64/LICENSE +0 -191
- package/web/.next/standalone/node_modules/@img/sharp-linux-x64/lib/sharp-linux-x64.node +0 -0
- package/web/.next/standalone/node_modules/@img/sharp-linuxmusl-x64/LICENSE +0 -191
- package/web/.next/standalone/node_modules/@img/sharp-linuxmusl-x64/lib/sharp-linuxmusl-x64.node +0 -0
- package/web/.next/standalone/node_modules/sharp/lib/index.js +0 -16
- package/web/.next/standalone/node_modules/sharp/lib/sharp.js +0 -121
- package/web/.next/standalone/packages/web/.next/server/chunks/1364.js +0 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/4013.js +0 -1
- package/web/.next/standalone/packages/web/.next/server/chunks/9398.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/28386-0121205400994756.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/41696.08fe09203aaf1a18.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/84322.a03fd8fc2bb2e8d7.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/9016-2b7d7b8b143a8323.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/page-0ba7acf47a6b3ac6.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/chunks/app/sessions/[id]/page-aeb1ccc1a89248d5.js +0 -1
- package/web/.next/standalone/packages/web/.next/static/css/895fa8ff3c08143e.css +0 -1
- package/web/.next/static/chunks/28386-0121205400994756.js +0 -1
- package/web/.next/static/chunks/41696.08fe09203aaf1a18.js +0 -1
- package/web/.next/static/chunks/84322.a03fd8fc2bb2e8d7.js +0 -1
- package/web/.next/static/chunks/9016-2b7d7b8b143a8323.js +0 -1
- package/web/.next/static/chunks/app/page-0ba7acf47a6b3ac6.js +0 -1
- package/web/.next/static/chunks/app/sessions/[id]/page-aeb1ccc1a89248d5.js +0 -1
- package/web/.next/static/css/895fa8ff3c08143e.css +0 -1
- /package/web/.next/standalone/node_modules/sharp/{lib/is.js → dist/is.cjs} +0 -0
- /package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/classes/comparator.js +0 -0
- /package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/cmp.js +0 -0
- /package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/coerce.js +0 -0
- /package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/compare.js +0 -0
- /package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/eq.js +0 -0
- /package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/gt.js +0 -0
- /package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/gte.js +0 -0
- /package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/lt.js +0 -0
- /package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/lte.js +0 -0
- /package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/neq.js +0 -0
- /package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/parse.js +0 -0
- /package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/functions/satisfies.js +0 -0
- /package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/constants.js +0 -0
- /package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/debug.js +0 -0
- /package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/identifiers.js +0 -0
- /package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/lrucache.js +0 -0
- /package/web/.next/standalone/node_modules/{semver → sharp/node_modules/semver}/internal/parse-options.js +0 -0
- /package/web/.next/standalone/packages/web/.next/static/{bUZhqJ_eDpMX4oqHwonGR → 2imqEtZncw17IjW1PZEh4}/_buildManifest.js +0 -0
- /package/web/.next/standalone/packages/web/.next/static/{bUZhqJ_eDpMX4oqHwonGR → 2imqEtZncw17IjW1PZEh4}/_ssgManifest.js +0 -0
- /package/web/.next/static/{bUZhqJ_eDpMX4oqHwonGR → 2imqEtZncw17IjW1PZEh4}/_buildManifest.js +0 -0
- /package/web/.next/static/{bUZhqJ_eDpMX4oqHwonGR → 2imqEtZncw17IjW1PZEh4}/_ssgManifest.js +0 -0
|
@@ -1,191 +0,0 @@
|
|
|
1
|
-
Apache License
|
|
2
|
-
Version 2.0, January 2004
|
|
3
|
-
http://www.apache.org/licenses/
|
|
4
|
-
|
|
5
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
-
|
|
7
|
-
1. Definitions.
|
|
8
|
-
|
|
9
|
-
"License" shall mean the terms and conditions for use, reproduction, and
|
|
10
|
-
distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
-
|
|
12
|
-
"Licensor" shall mean the copyright owner or entity authorized by the copyright
|
|
13
|
-
owner that is granting the License.
|
|
14
|
-
|
|
15
|
-
"Legal Entity" shall mean the union of the acting entity and all other entities
|
|
16
|
-
that control, are controlled by, or are under common control with that entity.
|
|
17
|
-
For the purposes of this definition, "control" means (i) the power, direct or
|
|
18
|
-
indirect, to cause the direction or management of such entity, whether by
|
|
19
|
-
contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
20
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
21
|
-
|
|
22
|
-
"You" (or "Your") shall mean an individual or Legal Entity exercising
|
|
23
|
-
permissions granted by this License.
|
|
24
|
-
|
|
25
|
-
"Source" form shall mean the preferred form for making modifications, including
|
|
26
|
-
but not limited to software source code, documentation source, and configuration
|
|
27
|
-
files.
|
|
28
|
-
|
|
29
|
-
"Object" form shall mean any form resulting from mechanical transformation or
|
|
30
|
-
translation of a Source form, including but not limited to compiled object code,
|
|
31
|
-
generated documentation, and conversions to other media types.
|
|
32
|
-
|
|
33
|
-
"Work" shall mean the work of authorship, whether in Source or Object form, made
|
|
34
|
-
available under the License, as indicated by a copyright notice that is included
|
|
35
|
-
in or attached to the work (an example is provided in the Appendix below).
|
|
36
|
-
|
|
37
|
-
"Derivative Works" shall mean any work, whether in Source or Object form, that
|
|
38
|
-
is based on (or derived from) the Work and for which the editorial revisions,
|
|
39
|
-
annotations, elaborations, or other modifications represent, as a whole, an
|
|
40
|
-
original work of authorship. For the purposes of this License, Derivative Works
|
|
41
|
-
shall not include works that remain separable from, or merely link (or bind by
|
|
42
|
-
name) to the interfaces of, the Work and Derivative Works thereof.
|
|
43
|
-
|
|
44
|
-
"Contribution" shall mean any work of authorship, including the original version
|
|
45
|
-
of the Work and any modifications or additions to that Work or Derivative Works
|
|
46
|
-
thereof, that is intentionally submitted to Licensor for inclusion in the Work
|
|
47
|
-
by the copyright owner or by an individual or Legal Entity authorized to submit
|
|
48
|
-
on behalf of the copyright owner. For the purposes of this definition,
|
|
49
|
-
"submitted" means any form of electronic, verbal, or written communication sent
|
|
50
|
-
to the Licensor or its representatives, including but not limited to
|
|
51
|
-
communication on electronic mailing lists, source code control systems, and
|
|
52
|
-
issue tracking systems that are managed by, or on behalf of, the Licensor for
|
|
53
|
-
the purpose of discussing and improving the Work, but excluding communication
|
|
54
|
-
that is conspicuously marked or otherwise designated in writing by the copyright
|
|
55
|
-
owner as "Not a Contribution."
|
|
56
|
-
|
|
57
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf
|
|
58
|
-
of whom a Contribution has been received by Licensor and subsequently
|
|
59
|
-
incorporated within the Work.
|
|
60
|
-
|
|
61
|
-
2. Grant of Copyright License.
|
|
62
|
-
|
|
63
|
-
Subject to the terms and conditions of this License, each Contributor hereby
|
|
64
|
-
grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
|
|
65
|
-
irrevocable copyright license to reproduce, prepare Derivative Works of,
|
|
66
|
-
publicly display, publicly perform, sublicense, and distribute the Work and such
|
|
67
|
-
Derivative Works in Source or Object form.
|
|
68
|
-
|
|
69
|
-
3. Grant of Patent License.
|
|
70
|
-
|
|
71
|
-
Subject to the terms and conditions of this License, each Contributor hereby
|
|
72
|
-
grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
|
|
73
|
-
irrevocable (except as stated in this section) patent license to make, have
|
|
74
|
-
made, use, offer to sell, sell, import, and otherwise transfer the Work, where
|
|
75
|
-
such license applies only to those patent claims licensable by such Contributor
|
|
76
|
-
that are necessarily infringed by their Contribution(s) alone or by combination
|
|
77
|
-
of their Contribution(s) with the Work to which such Contribution(s) was
|
|
78
|
-
submitted. If You institute patent litigation against any entity (including a
|
|
79
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work or a
|
|
80
|
-
Contribution incorporated within the Work constitutes direct or contributory
|
|
81
|
-
patent infringement, then any patent licenses granted to You under this License
|
|
82
|
-
for that Work shall terminate as of the date such litigation is filed.
|
|
83
|
-
|
|
84
|
-
4. Redistribution.
|
|
85
|
-
|
|
86
|
-
You may reproduce and distribute copies of the Work or Derivative Works thereof
|
|
87
|
-
in any medium, with or without modifications, and in Source or Object form,
|
|
88
|
-
provided that You meet the following conditions:
|
|
89
|
-
|
|
90
|
-
You must give any other recipients of the Work or Derivative Works a copy of
|
|
91
|
-
this License; and
|
|
92
|
-
You must cause any modified files to carry prominent notices stating that You
|
|
93
|
-
changed the files; and
|
|
94
|
-
You must retain, in the Source form of any Derivative Works that You distribute,
|
|
95
|
-
all copyright, patent, trademark, and attribution notices from the Source form
|
|
96
|
-
of the Work, excluding those notices that do not pertain to any part of the
|
|
97
|
-
Derivative Works; and
|
|
98
|
-
If the Work includes a "NOTICE" text file as part of its distribution, then any
|
|
99
|
-
Derivative Works that You distribute must include a readable copy of the
|
|
100
|
-
attribution notices contained within such NOTICE file, excluding those notices
|
|
101
|
-
that do not pertain to any part of the Derivative Works, in at least one of the
|
|
102
|
-
following places: within a NOTICE text file distributed as part of the
|
|
103
|
-
Derivative Works; within the Source form or documentation, if provided along
|
|
104
|
-
with the Derivative Works; or, within a display generated by the Derivative
|
|
105
|
-
Works, if and wherever such third-party notices normally appear. The contents of
|
|
106
|
-
the NOTICE file are for informational purposes only and do not modify the
|
|
107
|
-
License. You may add Your own attribution notices within Derivative Works that
|
|
108
|
-
You distribute, alongside or as an addendum to the NOTICE text from the Work,
|
|
109
|
-
provided that such additional attribution notices cannot be construed as
|
|
110
|
-
modifying the License.
|
|
111
|
-
You may add Your own copyright statement to Your modifications and may provide
|
|
112
|
-
additional or different license terms and conditions for use, reproduction, or
|
|
113
|
-
distribution of Your modifications, or for any such Derivative Works as a whole,
|
|
114
|
-
provided Your use, reproduction, and distribution of the Work otherwise complies
|
|
115
|
-
with the conditions stated in this License.
|
|
116
|
-
|
|
117
|
-
5. Submission of Contributions.
|
|
118
|
-
|
|
119
|
-
Unless You explicitly state otherwise, any Contribution intentionally submitted
|
|
120
|
-
for inclusion in the Work by You to the Licensor shall be under the terms and
|
|
121
|
-
conditions of this License, without any additional terms or conditions.
|
|
122
|
-
Notwithstanding the above, nothing herein shall supersede or modify the terms of
|
|
123
|
-
any separate license agreement you may have executed with Licensor regarding
|
|
124
|
-
such Contributions.
|
|
125
|
-
|
|
126
|
-
6. Trademarks.
|
|
127
|
-
|
|
128
|
-
This License does not grant permission to use the trade names, trademarks,
|
|
129
|
-
service marks, or product names of the Licensor, except as required for
|
|
130
|
-
reasonable and customary use in describing the origin of the Work and
|
|
131
|
-
reproducing the content of the NOTICE file.
|
|
132
|
-
|
|
133
|
-
7. Disclaimer of Warranty.
|
|
134
|
-
|
|
135
|
-
Unless required by applicable law or agreed to in writing, Licensor provides the
|
|
136
|
-
Work (and each Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
137
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied,
|
|
138
|
-
including, without limitation, any warranties or conditions of TITLE,
|
|
139
|
-
NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are
|
|
140
|
-
solely responsible for determining the appropriateness of using or
|
|
141
|
-
redistributing the Work and assume any risks associated with Your exercise of
|
|
142
|
-
permissions under this License.
|
|
143
|
-
|
|
144
|
-
8. Limitation of Liability.
|
|
145
|
-
|
|
146
|
-
In no event and under no legal theory, whether in tort (including negligence),
|
|
147
|
-
contract, or otherwise, unless required by applicable law (such as deliberate
|
|
148
|
-
and grossly negligent acts) or agreed to in writing, shall any Contributor be
|
|
149
|
-
liable to You for damages, including any direct, indirect, special, incidental,
|
|
150
|
-
or consequential damages of any character arising as a result of this License or
|
|
151
|
-
out of the use or inability to use the Work (including but not limited to
|
|
152
|
-
damages for loss of goodwill, work stoppage, computer failure or malfunction, or
|
|
153
|
-
any and all other commercial damages or losses), even if such Contributor has
|
|
154
|
-
been advised of the possibility of such damages.
|
|
155
|
-
|
|
156
|
-
9. Accepting Warranty or Additional Liability.
|
|
157
|
-
|
|
158
|
-
While redistributing the Work or Derivative Works thereof, You may choose to
|
|
159
|
-
offer, and charge a fee for, acceptance of support, warranty, indemnity, or
|
|
160
|
-
other liability obligations and/or rights consistent with this License. However,
|
|
161
|
-
in accepting such obligations, You may act only on Your own behalf and on Your
|
|
162
|
-
sole responsibility, not on behalf of any other Contributor, and only if You
|
|
163
|
-
agree to indemnify, defend, and hold each Contributor harmless for any liability
|
|
164
|
-
incurred by, or claims asserted against, such Contributor by reason of your
|
|
165
|
-
accepting any such warranty or additional liability.
|
|
166
|
-
|
|
167
|
-
END OF TERMS AND CONDITIONS
|
|
168
|
-
|
|
169
|
-
APPENDIX: How to apply the Apache License to your work
|
|
170
|
-
|
|
171
|
-
To apply the Apache License to your work, attach the following boilerplate
|
|
172
|
-
notice, with the fields enclosed by brackets "[]" replaced with your own
|
|
173
|
-
identifying information. (Don't include the brackets!) The text should be
|
|
174
|
-
enclosed in the appropriate comment syntax for the file format. We also
|
|
175
|
-
recommend that a file or class name and description of purpose be included on
|
|
176
|
-
the same "printed page" as the copyright notice for easier identification within
|
|
177
|
-
third-party archives.
|
|
178
|
-
|
|
179
|
-
Copyright [yyyy] [name of copyright owner]
|
|
180
|
-
|
|
181
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
182
|
-
you may not use this file except in compliance with the License.
|
|
183
|
-
You may obtain a copy of the License at
|
|
184
|
-
|
|
185
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
186
|
-
|
|
187
|
-
Unless required by applicable law or agreed to in writing, software
|
|
188
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
189
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
190
|
-
See the License for the specific language governing permissions and
|
|
191
|
-
limitations under the License.
|
package/web/.next/standalone/node_modules/@img/sharp-linuxmusl-x64/lib/sharp-linuxmusl-x64.node
DELETED
|
Binary file
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
Copyright 2013 Lovell Fuller and others.
|
|
3
|
-
SPDX-License-Identifier: Apache-2.0
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
const Sharp = require('./constructor');
|
|
7
|
-
require('./input')(Sharp);
|
|
8
|
-
require('./resize')(Sharp);
|
|
9
|
-
require('./composite')(Sharp);
|
|
10
|
-
require('./operation')(Sharp);
|
|
11
|
-
require('./colour')(Sharp);
|
|
12
|
-
require('./channel')(Sharp);
|
|
13
|
-
require('./output')(Sharp);
|
|
14
|
-
require('./utility')(Sharp);
|
|
15
|
-
|
|
16
|
-
module.exports = Sharp;
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
Copyright 2013 Lovell Fuller and others.
|
|
3
|
-
SPDX-License-Identifier: Apache-2.0
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
// Inspects the runtime environment and exports the relevant sharp.node binary
|
|
7
|
-
|
|
8
|
-
const { familySync, versionSync } = require('detect-libc');
|
|
9
|
-
|
|
10
|
-
const { runtimePlatformArch, isUnsupportedNodeRuntime, prebuiltPlatforms, minimumLibvipsVersion } = require('./libvips');
|
|
11
|
-
const runtimePlatform = runtimePlatformArch();
|
|
12
|
-
|
|
13
|
-
const paths = [
|
|
14
|
-
`../src/build/Release/sharp-${runtimePlatform}.node`,
|
|
15
|
-
'../src/build/Release/sharp-wasm32.node',
|
|
16
|
-
`@img/sharp-${runtimePlatform}/sharp.node`,
|
|
17
|
-
'@img/sharp-wasm32/sharp.node'
|
|
18
|
-
];
|
|
19
|
-
|
|
20
|
-
/* node:coverage disable */
|
|
21
|
-
|
|
22
|
-
let path, sharp;
|
|
23
|
-
const errors = [];
|
|
24
|
-
for (path of paths) {
|
|
25
|
-
try {
|
|
26
|
-
sharp = require(path);
|
|
27
|
-
break;
|
|
28
|
-
} catch (err) {
|
|
29
|
-
errors.push(err);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
if (sharp && path.startsWith('@img/sharp-linux-x64') && !sharp._isUsingX64V2()) {
|
|
34
|
-
const err = new Error('Prebuilt binaries for linux-x64 require v2 microarchitecture');
|
|
35
|
-
err.code = 'Unsupported CPU';
|
|
36
|
-
errors.push(err);
|
|
37
|
-
sharp = null;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
if (sharp) {
|
|
41
|
-
module.exports = sharp;
|
|
42
|
-
} else {
|
|
43
|
-
const [isLinux, isMacOs, isWindows] = ['linux', 'darwin', 'win32'].map(os => runtimePlatform.startsWith(os));
|
|
44
|
-
|
|
45
|
-
const help = [`Could not load the "sharp" module using the ${runtimePlatform} runtime`];
|
|
46
|
-
errors.forEach(err => {
|
|
47
|
-
if (err.code !== 'MODULE_NOT_FOUND') {
|
|
48
|
-
help.push(`${err.code}: ${err.message}`);
|
|
49
|
-
}
|
|
50
|
-
});
|
|
51
|
-
const messages = errors.map(err => err.message).join(' ');
|
|
52
|
-
help.push('Possible solutions:');
|
|
53
|
-
// Common error messages
|
|
54
|
-
if (isUnsupportedNodeRuntime()) {
|
|
55
|
-
const { found, expected } = isUnsupportedNodeRuntime();
|
|
56
|
-
help.push(
|
|
57
|
-
'- Please upgrade Node.js:',
|
|
58
|
-
` Found ${found}`,
|
|
59
|
-
` Requires ${expected}`
|
|
60
|
-
);
|
|
61
|
-
} else if (prebuiltPlatforms.includes(runtimePlatform)) {
|
|
62
|
-
const [os, cpu] = runtimePlatform.split('-');
|
|
63
|
-
const libc = os.endsWith('musl') ? ' --libc=musl' : '';
|
|
64
|
-
help.push(
|
|
65
|
-
'- Ensure optional dependencies can be installed:',
|
|
66
|
-
' npm install --include=optional sharp',
|
|
67
|
-
'- Ensure your package manager supports multi-platform installation:',
|
|
68
|
-
' See https://sharp.pixelplumbing.com/install#cross-platform',
|
|
69
|
-
'- Add platform-specific dependencies:',
|
|
70
|
-
` npm install --os=${os.replace('musl', '')}${libc} --cpu=${cpu} sharp`
|
|
71
|
-
);
|
|
72
|
-
} else {
|
|
73
|
-
help.push(
|
|
74
|
-
`- Manually install libvips >= ${minimumLibvipsVersion}`,
|
|
75
|
-
'- Add experimental WebAssembly-based dependencies:',
|
|
76
|
-
' npm install --cpu=wasm32 sharp',
|
|
77
|
-
' npm install @img/sharp-wasm32'
|
|
78
|
-
);
|
|
79
|
-
}
|
|
80
|
-
if (isLinux && /(symbol not found|CXXABI_)/i.test(messages)) {
|
|
81
|
-
try {
|
|
82
|
-
const { config } = require(`@img/sharp-libvips-${runtimePlatform}/package`);
|
|
83
|
-
const libcFound = `${familySync()} ${versionSync()}`;
|
|
84
|
-
const libcRequires = `${config.musl ? 'musl' : 'glibc'} ${config.musl || config.glibc}`;
|
|
85
|
-
help.push(
|
|
86
|
-
'- Update your OS:',
|
|
87
|
-
` Found ${libcFound}`,
|
|
88
|
-
` Requires ${libcRequires}`
|
|
89
|
-
);
|
|
90
|
-
} catch (_errEngines) {}
|
|
91
|
-
}
|
|
92
|
-
if (isLinux && /\/snap\/core[0-9]{2}/.test(messages)) {
|
|
93
|
-
help.push(
|
|
94
|
-
'- Remove the Node.js Snap, which does not support native modules',
|
|
95
|
-
' snap remove node'
|
|
96
|
-
);
|
|
97
|
-
}
|
|
98
|
-
if (isMacOs && /Incompatible library version/.test(messages)) {
|
|
99
|
-
help.push(
|
|
100
|
-
'- Update Homebrew:',
|
|
101
|
-
' brew update && brew upgrade vips'
|
|
102
|
-
);
|
|
103
|
-
}
|
|
104
|
-
if (errors.some(err => err.code === 'ERR_DLOPEN_DISABLED')) {
|
|
105
|
-
help.push('- Run Node.js without using the --no-addons flag');
|
|
106
|
-
}
|
|
107
|
-
// Link to installation docs
|
|
108
|
-
if (isWindows && /The specified procedure could not be found/.test(messages)) {
|
|
109
|
-
help.push(
|
|
110
|
-
'- Using the canvas package on Windows?',
|
|
111
|
-
' See https://sharp.pixelplumbing.com/install#canvas-and-windows',
|
|
112
|
-
'- Check for outdated versions of sharp in the dependency tree:',
|
|
113
|
-
' npm ls sharp'
|
|
114
|
-
);
|
|
115
|
-
}
|
|
116
|
-
help.push(
|
|
117
|
-
'- Consult the installation documentation:',
|
|
118
|
-
' See https://sharp.pixelplumbing.com/install'
|
|
119
|
-
);
|
|
120
|
-
throw new Error(help.join('\n'));
|
|
121
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";exports.id=1364,exports.ids=[1364],exports.modules={11364:(a,b,c)=>{c.r(b),c.d(b,{createOrReadKeylessAction:()=>d.a,deleteKeylessAction:()=>f,syncKeylessConfigAction:()=>g});var d=c(84852),e=c(85660);let f=(0,e.createServerReference)("00e4fd3057a82f26e457e3c1eef7717a8302f6157d",e.callServer,void 0,e.findSourceMapURL,"deleteKeylessAction"),g=(0,e.createServerReference)("40eb020835e660c21bf16a5c5ed94814a618a5d03b",e.callServer,void 0,e.findSourceMapURL,"syncKeylessConfigAction")},84852:(a,b,c)=>{c.d(b,{a:()=>e});var d=c(85660);let e=(0,d.createServerReference)("0080357c2ce75985e9a0eb0f648d540a91aae8d9a0",d.callServer,void 0,d.findSourceMapURL,"createOrReadKeylessAction")}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";exports.id=4013,exports.ids=[4013],exports.modules={6694:(a,b,c)=>{c.d(b,{w:()=>g});let d=/\r?\n\r?\n/;function e(a){return a.trimStart()}function f(a){let b=null,c=[];for(let d of a.split(/\r?\n/))!d.startsWith(":")&&(d.startsWith("event:")?b=e(d.slice(6)):d.startsWith("data:")&&c.push(e(d.slice(5))));return 0===c.length?null:{event:b,data:c.join("\n")}}async function*g(a,b){let c=a.getReader(),e=new TextDecoder,g="";try{for(;;){if(b?.aborted)return;let{done:a,value:h}=await c.read();if(a){let a=e.decode(void 0,{stream:!1});a.length>0&&(g+=a)}else h&&(g+=e.decode(h,{stream:!0}));for(;;){let a=g.match(d);if(!a||"number"!=typeof a.index)break;let b=g.slice(0,a.index);g=g.slice(a.index+a[0].length);let c=f(b);c&&(yield c)}if(a){let a=f(g);a&&(yield a);break}}}finally{c.releaseLock()}}},10736:(a,b,c)=>{c.d(b,{G:()=>t});var d=c(92692),e=c(71277);let f=(0,c(2131).A)("panel-right-close",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}],["path",{d:"m8 9 3 3-3 3",key:"12hl5m"}]]);var g=c(20383),h=c(93544),i=c(67994),j=c(78784),k=c(18530),l=c(81409),m=c(65626),n=c(32450),o=c(29321),p=c(1071);c(98030);var q=c(46818),r=c(95528);function s(){let a,b,c=(0,i.usePathname)(),f=(0,i.useSearchParams)(),[g,s]=(0,e.useState)(null),[t,u]=(0,e.useState)(null),[v,w]=(0,e.useState)(null),[x,y]=(0,e.useState)(!1),[z,A]=(0,e.useState)(!1),[B,C]=(0,e.useState)(!1),[D,E]=(0,e.useState)(!1),[F,G]=(0,e.useState)(!1),H=(0,e.useMemo)(()=>null,[c,f]),I=(0,e.useCallback)(()=>null,[]),J=(0,e.useCallback)((a=!1)=>{let b=(0,q.S)("/api/app-update",I());if(!a)return b;let c=new URL(b,"http://127.0.0.1");return c.searchParams.set("force","1"),`${c.pathname}${c.search}${c.hash}`},[I]),K=(0,e.useCallback)(async(a=!1)=>{try{let b=await fetch(J(a),{cache:"no-store"}),c=await b.json().catch(()=>null);if(412===b.status)return u(null),null;if(!b.ok)throw Error("string"==typeof c?.error?c.error:`Failed to load update status (${b.status})`);return s(c),u(null),c}catch(a){return u(a instanceof Error?a.message:"Failed to load update status."),null}},[J,I]),L=g?.latestVersion&&v===g.latestVersion,M=!!g?.restarting||B,N=D&&!M&&g?.jobStatus!=="running"&&g?.jobStatus!=="failed",O=!N||F,P=(0,e.useMemo)(()=>!!g&&!L&&(!!M||"running"===g.jobStatus||"completed"===g.jobStatus||"failed"===g.jobStatus||!g.enabled&&!!g.reason||g.updateAvailable),[L,M,g]);async function Q(){g?.updateCommand&&(await navigator.clipboard.writeText(g.updateCommand),y(!0),window.setTimeout(()=>y(!1),1400))}async function R(){A(!0);try{let a=await fetch((0,q.S)("/api/app-update",I()),{method:"POST",headers:{"content-type":"application/json"}}),b=await a.json().catch(()=>null);if(!a.ok)throw Error("string"==typeof b?.error?b.error:`Update failed (${a.status})`);s(b),u(null)}catch(a){u(a instanceof Error?a.message:"Failed to trigger update.")}finally{A(!1)}}async function S(){try{let a=await fetch((0,q.S)("/api/app-update",I()),{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({action:"restart"})}),b=await a.json().catch(()=>null);if(!a.ok)throw Error("string"==typeof b?.error?b.error:`Restart failed (${a.status})`);s(b),u(null)}catch(a){u(a instanceof Error?a.message:"Failed to restart Conductor.")}}return((0,e.useCallback)(async()=>{let a=Date.now()+6e4;if(H){for(;Date.now()<a;){let a=await K(!1);if(!a?.restarting)return void C(!1);await new Promise(a=>window.setTimeout(a,1e3))}C(!1),u("Restart started on the paired device, but it did not reconnect in time. Retry from the bridge controls.");return}for(;Date.now()<a;){try{if((await fetch("/api/health",{cache:"no-store"})).ok)return void window.location.reload()}catch{}await new Promise(a=>window.setTimeout(a,1e3))}C(!1),u("Restart started, but the dashboard did not come back in time. Reload manually.")},[H,K]),P)?(0,d.jsx)("div",{className:"pointer-events-none fixed bottom-2 left-2 right-2 z-[70] sm:bottom-4 sm:left-auto sm:right-4 sm:w-[min(calc(100vw-1.5rem),24rem)]",children:(0,d.jsxs)("section",{className:(0,h.cn)("pointer-events-auto rounded-[14px] border bg-[var(--vk-bg-panel)] p-3 shadow-[0_16px_40px_rgba(0,0,0,0.35)] sm:p-4",N&&"max-w-[min(calc(100vw-1rem),18rem)] ml-auto",g?.jobStatus==="failed"?"border-[color:color-mix(in_srgb,var(--vk-red)_55%,var(--vk-border))]":"border-[var(--vk-border)]"),children:[(0,d.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[M||g?.jobStatus==="running"?(0,d.jsx)(j.A,{className:"h-4 w-4 animate-spin text-[var(--vk-orange)]"}):g?.jobStatus==="completed"?(0,d.jsx)(k.A,{className:"h-4 w-4 text-[var(--status-ready)]"}):g?.jobStatus==="failed"?(0,d.jsx)(l.A,{className:"h-4 w-4 text-[var(--vk-red)]"}):(0,d.jsx)(m.A,{className:"h-4 w-4 text-[var(--vk-orange)]"}),(0,d.jsx)("h2",{className:"truncate text-[13px] font-semibold text-[var(--vk-text-normal)]",children:g?(b=(a=g.currentVersion?.trim())?` (installed package ${a})`:"",!g.enabled&&g.reason?`Conductor package update unavailable${b}`:g.restarting?`Restarting Conductor${b}`:"running"===g.jobStatus?`Updating Conductor package${b}`:"completed"===g.jobStatus?`Conductor package updated${b}`:"failed"===g.jobStatus?`Package update failed${b}`:g.updateAvailable||g.latestVersion?g.latestVersion?`Conductor package ${g.latestVersion} is available${b}`:`Conductor package update available${b}`:`Conductor package is up to date${b}`):"Conductor update"})]}),N&&!O?null:(0,d.jsx)("p",{className:(0,h.cn)("mt-2 text-[12px] leading-5 text-[var(--vk-text-muted)]",N&&!O&&"line-clamp-2"),children:g?function(a){if(!a.enabled&&a.reason)return(0,r.N8)(a);if(a.restarting)return"The launcher is restarting the runtime. This tab will reconnect automatically once it is ready.";if("running"===a.jobStatus)return a.jobMessage??"Installing the latest version in the background.";if("completed"===a.jobStatus)return a.jobMessage??"The latest version has been installed. Restart Conductor to use it.";if("failed"===a.jobStatus)return a.jobMessage??"The update command did not finish successfully.";let b=a.currentVersion?`Installed Conductor package: ${a.currentVersion}. `:"";return a.canAutoUpdate?`${b}Install the new release now and restart when it finishes.`:"npx"===a.installMode?`${b}Copy the restart command, run it in a terminal, and the next launch will use the latest release.`:`${b}Copy the update command, run it in a terminal, then restart Conductor.`}(g):"Checking for updates..."})]}),(0,d.jsxs)("div",{className:"flex shrink-0 items-center gap-1.5",children:[N?(0,d.jsx)("button",{type:"button",onClick:()=>G(a=>!a),className:"inline-flex min-h-[28px] items-center rounded-[7px] border border-[var(--vk-border)] px-2 text-[11px] text-[var(--vk-text-muted)] hover:bg-[var(--vk-bg-hover)] hover:text-[var(--vk-text-normal)]",children:O?"Hide":"Details"}):null,(0,d.jsx)("button",{type:"button",onClick:function(){if(g?.latestVersion){try{window.localStorage.setItem("conductor-dismissed-update-version",g.latestVersion)}catch{}w(g.latestVersion);return}s(a=>a?{...a,reason:null,enabled:!0}:a)},className:"inline-flex h-7 w-7 items-center justify-center rounded-[7px] text-[var(--vk-text-muted)] hover:bg-[var(--vk-bg-hover)] hover:text-[var(--vk-text-normal)]","aria-label":"Dismiss update notice",children:(0,d.jsx)(n.A,{className:"h-4 w-4"})})]})]}),O?(0,d.jsxs)(d.Fragment,{children:[g?.updateCommand?(0,d.jsx)("div",{className:"mt-3 rounded-[10px] border border-[var(--vk-border)] bg-[var(--vk-bg-main)] px-3 py-2 font-mono text-[11px] leading-5 text-[var(--vk-text-muted)]",children:g.updateCommand}):null,g?(0,d.jsx)("p",{className:"mt-2 text-[11px] leading-5 text-[var(--vk-text-faint)]",children:function(a){switch(a){case"npx":return"This session was launched through npx. Copy the restart command, run it in a terminal, and the next launch will use the latest package.";case"unknown":return"Automatic updates are unavailable for this install.";default:return null}}(g.installMode)??(g.restartRequired?"Restart the current Conductor process after the installer completes.":"Update state streams from the running Conductor runtime.")}):null,t?(0,d.jsx)("p",{className:"mt-2 text-[11px] text-[var(--vk-red)]",children:t}):g?.error?(0,d.jsx)("p",{className:"mt-2 text-[11px] text-[var(--vk-red)]",children:g.error}):null,g?.logsTail&&"failed"===g.jobStatus?(0,d.jsx)("pre",{className:"mt-2 max-h-32 overflow-auto rounded-[10px] border border-[var(--vk-border)] bg-[var(--vk-bg-main)] p-2 text-[10px] leading-4 text-[var(--vk-text-faint)]",children:g.logsTail}):null]}):null,(0,d.jsxs)("div",{className:(0,h.cn)("mt-3 flex items-center justify-end gap-2",N&&!O&&"mt-2"),children:[g?.jobStatus==="failed"&&g.canAutoUpdate?(0,d.jsxs)(p.$,{type:"button",size:"sm",variant:"primary",onClick:()=>void R(),disabled:z,children:[z?(0,d.jsx)(j.A,{className:"h-3.5 w-3.5 animate-spin"}):(0,d.jsx)(l.A,{className:"h-3.5 w-3.5"}),"Retry"]}):null,g?.jobStatus==="idle"&&g.canAutoUpdate?(0,d.jsxs)(p.$,{type:"button",size:"sm",variant:"primary",onClick:()=>void R(),disabled:z,children:[z?(0,d.jsx)(j.A,{className:"h-3.5 w-3.5 animate-spin"}):(0,d.jsx)(m.A,{className:"h-3.5 w-3.5"}),"Update now"]}):null,g?.jobStatus==="idle"&&!g.canAutoUpdate&&g.updateCommand?(0,d.jsxs)(p.$,{type:"button",size:"sm",variant:"outline",onClick:()=>void Q(),children:[x?(0,d.jsx)(k.A,{className:"h-3.5 w-3.5 text-[var(--status-ready)]"}):(0,d.jsx)(o.A,{className:"h-3.5 w-3.5"}),x?"Copied":"npx"===g.installMode?"Copy restart command":"Copy command"]}):null,g?.restartRequired&&g.canRestart&&!g.restarting&&!B?(0,d.jsxs)(p.$,{type:"button",size:"sm",variant:"primary",onClick:()=>void S(),children:[(0,d.jsx)(l.A,{className:"h-3.5 w-3.5"}),"Restart now"]}):null,g?.restarting||B?(0,d.jsxs)(p.$,{type:"button",size:"sm",variant:"primary",disabled:!0,children:[(0,d.jsx)(j.A,{className:"h-3.5 w-3.5 animate-spin"}),"Restarting"]}):null]})]})}):null}function t({sidebar:a,children:b,mobileSidebarOpen:c,desktopSidebarOpen:i,onToggleSidebar:j,hideMobileSidebarToggle:k=!1}){let[l,m]=(0,e.useState)(356),[n,o]=(0,e.useState)(!1),p={"--workspace-sidebar-width":`${l}px`,"--oc-shell-height":"var(--oc-app-shell-height, 100dvh)"};return(0,d.jsxs)("div",{style:p,className:"relative flex h-[var(--oc-shell-height)] min-h-[var(--oc-shell-height)] max-h-[var(--oc-shell-height)] w-full max-w-full overflow-hidden bg-[var(--vk-bg-main)] text-[var(--vk-text-normal)] [padding-top:env(safe-area-inset-top)] [padding-bottom:env(safe-area-inset-bottom)] pl-[env(safe-area-inset-left)] pr-[env(safe-area-inset-right)]",children:[c&&(0,d.jsx)("button",{type:"button",className:"absolute inset-0 z-20 bg-black/45 lg:hidden",onClick:j,"aria-label":"Close workspace panel"}),(0,d.jsx)("aside",{className:(0,h.cn)("absolute inset-y-0 left-0 z-30 flex h-full w-full max-w-none flex-col border-r border-[var(--vk-border)] bg-[var(--vk-bg-panel)] transition-[transform,width] duration-200 sm:w-[min(90vw,var(--workspace-sidebar-width))] sm:max-w-[28rem]",c?"translate-x-0":"-translate-x-full",i?"lg:w-[var(--workspace-sidebar-width)]":"lg:w-0 lg:overflow-hidden lg:border-r-0","lg:relative lg:left-auto lg:translate-x-0"),children:a}),i?(0,d.jsx)("div",{className:"absolute bottom-0 left-[var(--workspace-sidebar-width)] top-0 z-30 hidden w-2 -translate-x-1/2 cursor-col-resize lg:block",onMouseDown:()=>o(!0),"aria-hidden":"true",children:(0,d.jsx)("div",{className:"mx-auto h-full w-px bg-transparent transition-colors hover:bg-[var(--vk-border)]"})}):null,i&&(0,d.jsx)("button",{type:"button",onClick:j,className:"absolute left-[var(--workspace-sidebar-width)] top-2 z-40 hidden h-7 w-7 -translate-x-1/2 items-center justify-center rounded-[4px] border border-[var(--vk-border)] bg-[var(--vk-bg-panel)] text-[var(--vk-text-muted)] shadow-[0_0_0_1px_rgba(0,0,0,0.25)] hover:bg-[var(--vk-bg-hover)] lg:inline-flex","aria-label":"Hide workspace panel",children:(0,d.jsx)(f,{className:"h-5 w-5"})}),(0,d.jsxs)("main",{className:"relative flex min-h-0 min-w-0 w-full flex-1 flex-col overflow-hidden bg-[var(--vk-bg-main)]",children:[!c&&!k&&(0,d.jsx)("button",{type:"button",onClick:j,className:"absolute left-2 top-2 z-40 inline-flex h-11 w-11 items-center justify-center rounded-[6px] border border-[var(--vk-border)] bg-[var(--vk-bg-panel)] text-[var(--vk-text-muted)] shadow-[0_10px_24px_rgba(0,0,0,0.28)] hover:bg-[var(--vk-bg-hover)] sm:h-8 sm:w-8 lg:hidden","aria-label":"Open workspace panel",children:(0,d.jsx)(g.A,{className:"h-5 w-5"})}),!i&&(0,d.jsx)("button",{type:"button",onClick:j,className:"absolute left-2 top-2 z-40 hidden h-7 w-7 items-center justify-center rounded-[4px] border border-[var(--vk-border)] bg-[var(--vk-bg-panel)] text-[var(--vk-text-muted)] hover:bg-[var(--vk-bg-hover)] lg:inline-flex","aria-label":"Open workspace panel",children:(0,d.jsx)(g.A,{className:"h-5 w-5"})}),b]}),(0,d.jsx)(s,{})]})}},12999:(a,b,c)=>{c.d(b,{U:()=>g});var d=c(71277),e=c(46818);function f(a,b){return{id:a,repo:"string"==typeof b?.repo?b.repo:null,path:"string"==typeof b?.path?b.path:null,iconUrl:"string"==typeof b?.iconUrl?b.iconUrl:null,boardDir:"string"==typeof b?.boardDir?b.boardDir:null,boardFile:"string"==typeof b?.boardFile?b.boardFile:null,description:"string"==typeof b?.description?b.description:null,defaultBranch:"string"==typeof b?.defaultBranch&&b.defaultBranch.trim().length>0?b.defaultBranch:"main",agent:"string"==typeof b?.agent&&b.agent.trim().length>0?b.agent:"claude-code",agentPermissions:"string"==typeof b?.agentPermissions&&b.agentPermissions.trim().length>0?b.agentPermissions:null,agentModel:"string"==typeof b?.agentModel&&b.agentModel.trim().length>0?b.agentModel:null,agentReasoningEffort:"string"==typeof b?.agentReasoningEffort&&b.agentReasoningEffort.trim().length>0?b.agentReasoningEffort:null}}function g(a,b){let c=b?.enabled??!0,[g,h]=(0,d.useState)([]),[i,j]=(0,d.useState)(c),[k,l]=(0,d.useState)(null),m=(0,d.useCallback)(async()=>{if(!c){h([]),l(null),j(!1);return}j(!0);try{let b=await fetch((0,e.S)("/api/config",a)),c=await b.json().catch(()=>null);if(!b.ok){let a="object"==typeof c&&null!==c?c.error??c.reason:null;throw Error(a??`Failed to fetch config: ${b.status}`)}h(function(a){if(!a||"object"!=typeof a)return[];let b=a.projects;return b?Array.isArray(b)?b.map((a,b)=>a&&"object"==typeof a?f("string"==typeof a.id&&a.id.trim().length>0?a.id:`project-${b+1}`,a):f(`project-${b+1}`,null)):"object"==typeof b?Object.entries(b).map(([a,b])=>f(a,b&&"object"==typeof b?b:null)):[]:[]}(c)),l(null)}catch(a){h([]),l(a instanceof Error?a.message:"Failed to fetch config")}finally{j(!1)}},[a,c]);return{projects:g,loading:!!c&&i,error:c?k:null,refresh:m}}},18530:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(2131).A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},20383:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(2131).A)("panel-left-open",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m14 9 3 3-3 3",key:"8010ee"}]])},22451:(a,b,c)=>{c.d(b,{J:()=>g});var d=c(46818),e=c(40788);async function f(a,b){let c=await fetch((0,d.S)(`/api/sessions/${encodeURIComponent(a)}/archive`,b),{method:"POST"}),e=await c.json().catch(()=>null);if(404===c.status&&(c=await fetch((0,d.S)(`/api/sessions/${encodeURIComponent(a)}/actions`,b),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"archive"})}),e=await c.json().catch(()=>null)),!c.ok)throw Error(e?.error??`Failed to archive session: ${c.status}`)}async function g(a,b){let c=(0,e.Kc)(a,b);try{await f(a,b?.bridgeId)}catch(a){throw c(),a}}},29942:(a,b,c)=>{function d(a){return a?.metadata.sessionKind==="project_dispatcher"}function e(a){return d(a)?"dispatcher":"terminal"}c.d(b,{Zu:()=>d,tK:()=>e})},30768:(a,b,c)=>{c.d(b,{default:()=>h});var d=c(71277),e={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},f=c(38868);let g=(0,d.createContext)({}),h=(0,d.forwardRef)(({color:a,size:b,strokeWidth:c,absoluteStrokeWidth:h,className:i="",children:j,iconNode:k,...l},m)=>{let{size:n=24,strokeWidth:o=2,absoluteStrokeWidth:p=!1,color:q="currentColor",className:r=""}=(0,d.useContext)(g)??{},s=h??p?24*Number(c??o)/Number(b??n):c??o;return(0,d.createElement)("svg",{ref:m,...e,width:b??n??e.width,height:b??n??e.height,stroke:a??q,strokeWidth:s,className:(0,f.z)("lucide",r,i),...!j&&!(a=>{for(let b in a)if(b.startsWith("aria-")||"role"===b||"title"===b)return!0;return!1})(l)&&{"aria-hidden":"true"},...l},[...k.map(([a,b])=>(0,d.createElement)(a,b)),...Array.isArray(j)?j:[j]])})},33857:(a,b,c)=>{c.d(b,{w:()=>e});var d=c(40788);function e(a,b=null,c){return(0,d.DA)(a,b,c)}},38868:(a,b,c)=>{c.d(b,{z:()=>d});let d=(...a)=>a.filter((a,b,c)=>!!a&&""!==a.trim()&&c.indexOf(a)===b).join(" ").trim()},40788:(a,b,c)=>{c.d(b,{DA:()=>t,Kc:()=>r,eI:()=>s});var d=c(71277),e=c(46818),f=c(19954);c(98030),c(89612);let g=new Map,h=new Map,i=new Map;function j(a){return(0,f.C0)(a)??"local"}function k(a){let b=g.get(a);return b||(b={sessionsById:new Map,orderedIds:[],version:0,loading:!0,error:null,listInitialized:!1,refreshPromise:null,unsubscribeSnapshots:null,activeConsumers:0,pollTimer:null,focusHandler:null,visibilityHandler:null},g.set(a,b)),b}function l(a){let b;for(let c of((b=h.get(a))||(b=new Set,h.set(a,b)),b))c()}function m(a,b){let c=i.get(a);if(c)for(let a of new Set(b)){let b=c.get(a);if(b)for(let a of b)a()}}function n(a){return[...a.values()].sort((a,b)=>b.createdAt.localeCompare(a.createdAt)).map(a=>a.id)}function o(a,b,c){let d=k(a);d.sessionsById=b,d.orderedIds=c,d.version+=1}function p(a,b,c){let d=k(a),e=d.sessionsById.get(b);if(!e)return null;let f=new Map(d.sessionsById),g=c(e);return g?f.set(b,g):f.delete(b),o(a,f,n(f)),d.loading=!1,d.error=null,l(a),m(a,[b]),e}async function q(a,b){let c=k(a);if(c.refreshPromise)return void await c.refreshPromise;let d=(async()=>{let d=new Set(c.sessionsById.keys());try{var f;let g=await fetch((0,e.S)("/api/sessions",b),{cache:"no-store"});if(!g.ok){let a=await g.json().catch(()=>null);throw Error(a?.error??a?.reason??`Failed to fetch sessions: ${g.status}`)}let h=(f=await g.json().catch(()=>null),Array.isArray(f)?f:Array.isArray(f?.sessions)?f.sessions:[]);for(let a of h)d.add(a.id);let i=new Map(h.map(a=>[a.id,a]));o(a,i,n(i)),c.error=null}catch(a){c.error=a instanceof Error?a.message:"Failed to fetch sessions"}finally{c.loading=!1,l(a),m(a,d)}})();c.refreshPromise=d.finally(()=>{c.refreshPromise===d&&(c.refreshPromise=null)}),await d}function r(a,b){let c=a.trim();if(!c)return()=>{};let d=j(b?.bridgeId??(0,f.DW)(c)?.bridgeId??null),e=p(d,c,a=>{if("archived"===a.status.trim().toLowerCase())return a;let b=new Date().toISOString(),c={...a.metadata};return c.archivedAt=c.archivedAt??b,c.finishedAt=c.finishedAt??b,c.summary="Archived",delete c.terminationRequested,{...a,status:"archived",activity:"exited",summary:"Archived",lastActivityAt:b,metadata:c}});if(!e)return()=>{};let g="function"==typeof structuredClone?structuredClone(e):JSON.parse(JSON.stringify(e));return()=>{p(d,c,()=>g)}}function s(a,b){let c=b?.enabled??!0,e=j(b?.bridgeId),f=k(e),[,g]=(0,d.useReducer)(a=>a+1,0),[h,i]=(0,d.useState)(!1);return{sessions:(0,d.useMemo)(()=>{let b,d;return c&&h?(b=k(e),d=a?.trim(),b.orderedIds.map(a=>b.sessionsById.get(a)).filter(a=>!!a).filter(a=>!d||a.projectId===d)):[]},[c,h,a,e,f.version]),loading:!!c&&(!h||f.loading),error:c?f.error:null,refresh:()=>q(e,b?.bridgeId)}}function t(a,b=null,c){let e=c?.enabled??!0,g="string"==typeof a&&a.trim().length>0?a.trim():null,h=k(j((0,f.C0)(c?.bridgeId??b?.bridgeId??(0,f.DW)(g)?.bridgeId??null))),[,i]=(0,d.useReducer)(a=>a+1,0),[l,m]=(0,d.useState)(!1),[n,o]=(0,d.useState)(b),[p,q]=(0,d.useState)(null),[r,s]=(0,d.useState)(e&&null!==g&&null===b),u=g?h.sessionsById.get(g)??n??b:null;return{session:g?l?u??null:b??null:null,loading:r,error:e&&g?p??h.error:null}}},49373:(a,b,c)=>{c.d(b,{Q:()=>f});var d=c(71277);c(46818);var e=c(78126);function f({enabled:a,projectId:b,preferences:c,bridgeId:g}){(0,d.useRef)(c?.soundEnabled!==!1),(0,d.useRef)((0,e.ww)(c?.soundFile)),(0,d.useRef)(new Set),(0,d.useRef)(null),(0,d.useRef)(!1),(0,d.useRef)(null),(0,d.useRef)(null),(0,d.useRef)(null)}},53092:(a,b,c)=>{c.d(b,{DZ:()=>s,O$:()=>q,Tk:()=>o,Zp:()=>l,Zz:()=>m,d8:()=>p,u6:()=>r,yM:()=>n}),[...new Set(["killed","terminated","done","cleanup","errored","merged"])];let d=["amp","claude-code","codex","cursor-cli","droid","gemini","github-copilot","opencode","pi","qwen-code","ccr"],e={amp:"default",claudeCode:"pro",codex:"chatgpt",cursorCli:"default",droid:"default",gemini:"oauth",githubCopilot:"default",opencode:"default",pi:"default",qwenCode:"oauth",ccr:"default"},f={amp:{agent:"amp",label:"Amp",accessKey:"amp",defaultAccess:"default",accessOptions:[{id:"default",label:"Local CLI",description:"Use the locally installed Amp CLI catalog and custom override support."}]},"claude-code":{agent:"claude-code",label:"Claude Code",accessKey:"claudeCode",defaultAccess:"pro",accessOptions:[{id:"pro",label:"Claude Pro",description:"Shows the current Sonnet models that Claude Code documents for Pro usage."},{id:"max",label:"Claude Max",description:"Unlocks both Sonnet and Opus model choices in Claude Code."},{id:"api",label:"Anthropic API",description:"Use direct Anthropic API credentials instead of a Claude subscription."}]},codex:{agent:"codex",label:"Codex",accessKey:"codex",defaultAccess:"chatgpt",accessOptions:[{id:"chatgpt",label:"ChatGPT Plan",description:"Use the ChatGPT-backed Codex login flow for paid ChatGPT workspaces."},{id:"api",label:"OpenAI API",description:"Use direct OpenAI API credentials when Codex is pointed at the API."}]},"cursor-cli":{agent:"cursor-cli",label:"Cursor Agent",accessKey:"cursorCli",defaultAccess:"default",accessOptions:[{id:"default",label:"Local CLI",description:"Use the locally installed Cursor Agent catalog and custom override support."}]},droid:{agent:"droid",label:"Droid",accessKey:"droid",defaultAccess:"default",accessOptions:[{id:"default",label:"Local CLI",description:"Use the locally installed Droid catalog and custom override support."}]},gemini:{agent:"gemini",label:"Gemini",accessKey:"gemini",defaultAccess:"oauth",accessOptions:[{id:"oauth",label:"Google Login",description:"Use the built-in Google account flow that Gemini CLI ships with."},{id:"api",label:"Gemini API",description:"Use a Gemini API key or Vertex AI project for broader model control."}]},"github-copilot":{agent:"github-copilot",label:"GitHub Copilot",accessKey:"githubCopilot",defaultAccess:"default",accessOptions:[{id:"default",label:"Local CLI",description:"Use the locally installed Copilot CLI catalog and custom override support."}]},opencode:{agent:"opencode",label:"OpenCode",accessKey:"opencode",defaultAccess:"default",accessOptions:[{id:"default",label:"Local CLI",description:"Use the locally installed OpenCode catalog and custom override support."}]},pi:{agent:"pi",label:"Pi",accessKey:"pi",defaultAccess:"default",accessOptions:[{id:"default",label:"Local CLI",description:"Use the locally installed Pi model catalog and custom override support."}]},"qwen-code":{agent:"qwen-code",label:"Qwen Code",accessKey:"qwenCode",defaultAccess:"oauth",accessOptions:[{id:"oauth",label:"Qwen OAuth",description:"Use Qwen Code's built-in browser login and bundled provider defaults."},{id:"api",label:"DashScope / Custom API",description:"Use DashScope or another OpenAI-compatible endpoint configured for Qwen Code."}]},ccr:{agent:"ccr",label:"CCR",accessKey:"ccr",defaultAccess:"default",accessOptions:[{id:"default",label:"Local CLI",description:"Use the locally installed Claude Code Router catalog and custom override support."}]}},g=[{id:"low",label:"Low",description:"Fast responses with lighter reasoning."},{id:"medium",label:"Medium",description:"Balanced speed and reasoning depth for everyday tasks."},{id:"high",label:"High",description:"Deeper reasoning for more complex tasks."}],h=[...g,{id:"xhigh",label:"Extra High",description:"Maximum reasoning depth for the hardest tasks."}];function i(a,b,c,d=function(a){return a.trim().split(/[-_]+/g).filter(Boolean).map(a=>"gpt"===a.toLowerCase()?"GPT":a[0]?.toUpperCase()+a.slice(1)).join(" ")}(a)){return{id:a,label:d,description:b,access:c}}let j={amp:{modelsByAccess:{default:[i("free","Amp Free mode prioritizes lower-cost execution.",["default"],"Amp Free"),i("rush","Amp Rush mode prioritizes faster turnaround.",["default"],"Amp Rush"),i("smart","Amp Smart mode balances quality, speed, and tool choice.",["default"],"Amp Smart"),i("deep","Amp Deep mode enables the highest-capability reasoning path.",["default"],"Amp Deep")]},defaultModelByAccess:{default:"smart"}},"claude-code":{modelsByAccess:{pro:[i("claude-sonnet-4-6","Balanced Claude Code model for day-to-day coding tasks.",["pro","max","api"],"Claude Sonnet 4.6"),i("claude-haiku-4-5","Fast Claude model for lightweight tasks.",["pro","max","api"],"Claude Haiku 4.5")],max:[i("claude-sonnet-4-6","Balanced Claude Code model for day-to-day coding tasks.",["pro","max","api"],"Claude Sonnet 4.6"),i("claude-opus-4-6","Highest-capability Claude Code model for deeper reasoning.",["max","api"],"Claude Opus 4.6"),i("claude-haiku-4-5","Fast Claude model for lightweight tasks.",["pro","max","api"],"Claude Haiku 4.5")],api:[i("claude-sonnet-4-6","Balanced Claude Code model for day-to-day coding tasks.",["pro","max","api"],"Claude Sonnet 4.6"),i("claude-opus-4-6","Highest-capability Claude Code model for deeper reasoning.",["max","api"],"Claude Opus 4.6"),i("claude-haiku-4-5","Fast Claude model for lightweight tasks.",["pro","max","api"],"Claude Haiku 4.5")]},defaultModelByAccess:{pro:"claude-sonnet-4-6",max:"claude-opus-4-6",api:"claude-sonnet-4-6"},reasoningOptionsByAccess:{pro:g,max:g,api:g},defaultReasoningByAccess:{pro:"medium",max:"high",api:"medium"}},codex:{modelsByAccess:{chatgpt:[i("gpt-5.4","Latest frontier coding model exposed by Codex.",["chatgpt","api"],"GPT-5.4"),i("gpt-5.4-mini","Smaller GPT-5.4 variant for faster or lower-cost coding tasks.",["chatgpt","api"],"GPT-5.4-Mini"),i("gpt-5.3-codex","Balanced Codex coding model.",["chatgpt","api"],"GPT-5.3-Codex"),i("gpt-5.3-codex-spark","Fast Codex model optimized for rapid iteration.",["chatgpt"],"GPT-5.3-Codex-Spark"),i("gpt-5.2-codex","Previous generation Codex coding model.",["chatgpt","api"],"GPT-5.2-Codex"),i("gpt-5.2","Previous frontier model for professional work with configurable reasoning effort.",["chatgpt","api"],"GPT-5.2"),i("gpt-5.1-codex-max","High-capability legacy Codex model.",["chatgpt","api"],"GPT-5.1-Codex-Max"),i("gpt-5.1-codex-mini","Smaller Codex model for quick tasks.",["chatgpt","api"],"GPT-5.1-Codex-Mini")],api:[i("gpt-5.4","Latest frontier coding model exposed by Codex.",["chatgpt","api"],"GPT-5.4"),i("gpt-5.4-mini","Smaller GPT-5.4 variant for faster or lower-cost coding tasks.",["chatgpt","api"],"GPT-5.4-Mini"),i("gpt-5.3-codex","Balanced Codex coding model.",["chatgpt","api"],"GPT-5.3-Codex"),i("gpt-5.2-codex","Previous generation Codex coding model.",["chatgpt","api"],"GPT-5.2-Codex"),i("gpt-5.2","Previous frontier model for professional work with configurable reasoning effort.",["chatgpt","api"],"GPT-5.2"),i("gpt-5.1-codex-max","High-capability legacy Codex model.",["chatgpt","api"],"GPT-5.1-Codex-Max"),i("gpt-5.1-codex-mini","Smaller Codex model for quick tasks.",["chatgpt","api"],"GPT-5.1-Codex-Mini")]},defaultModelByAccess:{chatgpt:"gpt-5.4",api:"gpt-5.4"},reasoningOptionsByAccess:{chatgpt:h,api:h},defaultReasoningByAccess:{chatgpt:"high",api:"high"}},"cursor-cli":{modelsByAccess:{default:[i("gpt-5","Cursor Agent's GPT-5 preset alias.",["default"],"GPT-5"),i("sonnet-4","Cursor Agent's Sonnet preset alias.",["default"],"Sonnet 4"),i("opus-4.1","Cursor Agent's Opus preset alias.",["default"],"Opus 4.1")]},defaultModelByAccess:{default:"gpt-5"}},droid:{modelsByAccess:{default:[]},defaultModelByAccess:{}},gemini:{modelsByAccess:{oauth:[i("gemini-3.1-pro-preview","High-capability Gemini model discovered in local Gemini sessions.",["oauth","api"],"Gemini 3.1 Pro Preview"),i("gemini-3-flash-preview","Fast Gemini model discovered in local Gemini sessions.",["oauth","api"],"Gemini 3 Flash Preview")],api:[i("gemini-3.1-pro-preview","High-capability Gemini model discovered in local Gemini sessions.",["oauth","api"],"Gemini 3.1 Pro Preview"),i("gemini-3-flash-preview","Fast Gemini model discovered in local Gemini sessions.",["oauth","api"],"Gemini 3 Flash Preview")]},defaultModelByAccess:{oauth:"gemini-3.1-pro-preview",api:"gemini-3.1-pro-preview"}},"github-copilot":{modelsByAccess:{default:[]},defaultModelByAccess:{}},opencode:{modelsByAccess:{default:[]},defaultModelByAccess:{}},pi:{modelsByAccess:{default:[i("openai/gpt-5.5","Latest frontier OpenAI model exposed by Pi.",["default"],"GPT-5.5"),i("openai/gpt-5.4","Previous frontier OpenAI model exposed by Pi.",["default"],"GPT-5.4"),i("openai/gpt-5.4-mini","Smaller GPT-5.4 variant exposed by Pi.",["default"],"GPT-5.4-Mini"),i("openai/gpt-5.3-codex","Balanced coding model exposed by Pi.",["default"],"GPT-5.3-Codex"),i("anthropic/claude-sonnet-4-6","Claude Sonnet model exposed through Pi providers.",["default"],"Claude Sonnet 4.6")]},defaultModelByAccess:{default:"openai/gpt-5.5"},reasoningOptionsByAccess:{default:h},defaultReasoningByAccess:{default:"high"}},"qwen-code":{modelsByAccess:{oauth:[i("coder-model","Model discovered in the local Qwen Code installation.",["oauth","api"],"Coder Model")],api:[i("coder-model","Model discovered in the local Qwen Code installation.",["oauth","api"],"Coder Model")]},defaultModelByAccess:{oauth:"coder-model",api:"coder-model"}},ccr:{modelsByAccess:{default:[i("claude-sonnet-4-6","Balanced Claude model exposed through Claude Code Router.",["default"],"Claude Sonnet 4.6"),i("claude-opus-4-6","Highest-capability Claude model exposed through Claude Code Router.",["default"],"Claude Opus 4.6"),i("claude-haiku-4-5","Fast Claude model exposed through Claude Code Router.",["default"],"Claude Haiku 4.5")]},defaultModelByAccess:{default:"claude-sonnet-4-6"},reasoningOptionsByAccess:{default:g},defaultReasoningByAccess:{default:"medium"}}};function k(a){let b=a.trim().toLowerCase().replace(/[_\s]+/g,"-");return d.includes(b)?b:null}function l(){return{...e}}function m(a){return null!==k(a)}function n(a){let b=k(a);return b?f[b]:null}function o(a,b){let c=n(a);if(!c)return null;let d=b?.[c.accessKey];return"string"==typeof d&&c.accessOptions.some(a=>a.id===d)?d:c.defaultAccess}function p(a,b){let c=k(a);if(!c)return[];let d=o(c,b);if(!d)return[];let e=j[c],f=e.modelsByAccess[d]??[];if(f.length>0)return[...f];let g=[],h=new Set;for(let a of Object.values(e.modelsByAccess))if(Array.isArray(a))for(let b of a)h.has(b.id)||(h.add(b.id),g.push(b));return g}function q(a,b){let c=k(a);if(!c)return null;let d=o(c,b);return d?j[c].defaultModelByAccess[d]??null:null}function r(a,b){let c=k(a);if(!c)return[];let d=o(c,b);return d?j[c].reasoningOptionsByAccess?.[d]??[]:[]}function s(a,b){let c=k(a);if(!c)return null;let d=o(c,b);return d?j[c].defaultReasoningByAccess?.[d]??null:null}},68894:(a,b,c)=>{c.d(b,{T:()=>e});var d=c(71277);function e(a){let[b,c]=(0,d.useState)(!1),[e,f]=(0,d.useState)(a?.initialDesktopOpen??!0),g=(0,d.useCallback)(()=>{c(a=>!a)},[]);return{mobileSidebarOpen:b,desktopSidebarOpen:e,toggleSidebar:g,closeSidebarOnMobile:(0,d.useCallback)(()=>{c(!1)},[]),syncSidebarForViewport:(0,d.useCallback)(()=>{c(!1)},[])}}},77768:(a,b,c)=>{c.d(b,{t:()=>e});var d=c(40788);function e(a,b){return(0,d.eI)(a,b)}},78126:(a,b,c)=>{c.d(b,{$E:()=>i,ww:()=>g,zu:()=>h});let d="abstract-sound-4",e={"abstract-sound-1":{steps:[{frequency:784,durationMs:90,gain:.24},{frequency:988,durationMs:90,gain:.22},{frequency:1175,durationMs:120,gain:.2}]},"abstract-sound-2":{steps:[{frequency:659,durationMs:120,gain:.22},{frequency:523,durationMs:140,gain:.2},{frequency:659,durationMs:120,gain:.18}]},"abstract-sound-3":{steps:[{frequency:440,durationMs:80,gain:.22},{frequency:554,durationMs:80,gain:.22},{frequency:659,durationMs:90,gain:.2},{frequency:880,durationMs:120,gain:.18}]},"abstract-sound-4":{steps:[{frequency:523,durationMs:130,gain:.22},{frequency:659,durationMs:130,gain:.2},{frequency:784,durationMs:150,gain:.18}]},"cow-mooing":{steps:[{frequency:220,durationMs:220,type:"triangle",gain:.24},{frequency:174,durationMs:260,type:"triangle",gain:.2}]},"phone-vibration":{vibrate:[120,60,120,60,180],steps:[{frequency:180,durationMs:140,gain:.16},{frequency:220,durationMs:140,gain:.14}]},rooster:{steps:[{frequency:784,durationMs:70,type:"square",gain:.24},{frequency:1046,durationMs:70,type:"square",gain:.22},{frequency:1318,durationMs:90,type:"square",gain:.2},{frequency:1568,durationMs:120,type:"square",gain:.18}]}};function f(a){let b=a?.trim();return b&&b in e?b:d}function g(a){return f(a)}async function h(){return!1}async function i(a,b){let c=f(a),d=e[c];return!!("phone-vibration"===c&&d.vibrate&&"u">typeof navigator)&&"function"==typeof navigator.vibrate&&navigator.vibrate(d.vibrate)}},81409:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(2131).A)("refresh-ccw",[["path",{d:"M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"14sxne"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16",key:"1hlbsb"}],["path",{d:"M16 16h5v5",key:"ccwih5"}]])},82300:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(2131).A)("settings-2",[["path",{d:"M14 17H5",key:"gfn3mx"}],["path",{d:"M19 7h-9",key:"6i9tg"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]])},86018:(a,b,c)=>{c.d(b,{N:()=>l});var d=c(92692),e=c(71277);let f={amp:["/agents/amp-dark.svg","/agents/amp-light.svg"],claude:["/agents/claude-dark.svg","/agents/claude-light.svg"],codex:["/agents/codex-dark.svg","/agents/codex-light.svg"],copilot:["/agents/copilot-dark.svg","/agents/copilot-light.svg"],cursor:["/agents/cursor-dark.svg","/agents/cursor-light.svg"],discord:["/agents/discord-dark.svg","/agents/discord-light.svg"],droid:["/agents/droid-dark.svg","/agents/droid-light.svg"],gemini:["/agents/gemini-dark.svg","/agents/gemini-light.svg"],hermes:["/agents/hermes.png"],letta:["/agents/letta-dark.svg","/agents/letta-light.svg"],openclaw:["/agents/openclaw-dark.svg","/agents/openclaw-light.svg"],opencode:["/agents/opencode-dark.svg","/agents/opencode-light.svg"],pi:["/agents/pi.svg"],qwen:["/agents/qwen-dark.svg","/agents/qwen-light.svg"]},g=new Map;for(let[a,b]of Object.entries({amp:["amp","amp-code","amp-cli","ampcode","agent-amp"],claude:["claude","claude-code","claude-cli","claudecode","ccr","claude-code-router","claude-mcp","claude-mcp-cli","claude-mcp-agent","agent-claude-code"],codex:["codex","openai-codex","codex-cli","codexcli","openai","agent-codex"],copilot:["copilot","github-copilot","githubcopilot","copilot-cli","agent-github-copilot"],cursor:["cursor","cursor-cli","cursor-agent","cursoragent","agent-cursor-cli"],discord:["discord"],droid:["droid","factory-droid","factory_droid","agent-droid"],gemini:["gemini","gemini-cli","google-gemini","googlegemini","agent-gemini"],hermes:["hermes","hermes-agent","nous-hermes","agent-hermes"],letta:["letta","letta-code","letta_code","agent-letta","memgpt"],openclaw:["openclaw","open-claw","open_claw","agent-openclaw"],opencode:["opencode","open-code","open_code","open-code-cli","agent-opencode"],pi:["pi","pi-coding-agent","pi-agent","agent-pi"],qwen:["qwen","qwen-code","qwen_code","qwen-code-cli","agent-qwen-code"]}))for(let c of b)g.set(h(c),a);function h(a){return a.trim().toLowerCase().replace(/[^a-z0-9_-]+/g,"-").replace(/_+/g,"-").replace(/-+/g,"-").replace(/^-+|-+$/g,"")}function i(a){let b=h(a);if(!b)return null;let c=g.get(b);if(c)return c;for(let a of b.split("-")){let b=g.get(a);if(b)return b}for(let[a,c]of g.entries())if(b===a||b.startsWith(`${a}-`)||b.endsWith(`-${a}`)||b.includes(`-${a}-`))return c;return null}function j(a){try{let b=new URL(a),c=i(b.hostname.replace(/^www\./,"").replace(/\./g,"-"));if(c)return c;return i(b.pathname.replace(/\//g,"-"))}catch{return i(a)}}function k({label:a,className:b}){let c=a.split(/[^a-z0-9]/iu).filter(Boolean).slice(0,2).map(a=>a[0]?.toUpperCase()).join("");return(0,d.jsx)("span",{"aria-hidden":"true",className:`inline-flex shrink-0 items-center justify-center rounded-[0.2rem] text-[9px] font-semibold text-white ${b}`,style:{backgroundColor:function(a){let b=["#14b8a6","#06b6d4","#0ea5e9","#8b5cf6","#ec4899","#f97316","#f59e0b","#ef4444","#22c55e","#84cc16"],c=0;for(let d=0;d<a.length;d+=1)c=(31*c+a.charCodeAt(d))%b.length;return b[Math.abs(c)%b.length]??"#6b7280"}(`${a}:${a.length}`)},children:c||"AI"})}function l({seed:a,className:b="h-6 w-6"}){let[c,g]=(0,e.useState)(0),h=a?.label?.trim()??"",m=(0,e.useMemo)(()=>h?function(a){if(!a.label.trim())return[];let b=i(a.label)??(a.homepage?j(a.homepage):null)??(a.iconUrl?j(a.iconUrl):null),c="string"==typeof a.iconUrl&&a.iconUrl.trim().length>0?a.iconUrl.trim():null,d=[];return b&&d.push(...f[b]),c&&d.push(c),d}({label:h,iconUrl:a?.iconUrl,homepage:a?.homepage}):[],[h,a?.homepage,a?.iconUrl]);if(!h)return(0,d.jsx)(k,{label:"AI",className:b});let n=m[c]??null;return n?(0,d.jsx)("img",{src:n,alt:`${h} icon`,loading:"lazy",className:`${b} shrink-0 rounded-[0.2rem] object-contain scale-125`,onError:()=>g(a=>a+1)}):(0,d.jsx)(k,{label:h,className:b})}},91515:(a,b,c)=>{c.d(b,{q:()=>d});function d(a){return a.trim().toLowerCase().replace(/[_\s]+/g,"-")}},92975:(a,b,c)=>{c.d(b,{A:()=>d});let d=(0,c(2131).A)("folder-open",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]])},93069:(a,b,c)=>{c.d(b,{V:()=>i});var d=c(92692),e=c(71277),f=c(2131);let g=(0,f.A)("life-buoy",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m4.93 4.93 4.24 4.24",key:"1ymg45"}],["path",{d:"m14.83 9.17 4.24-4.24",key:"1cb5xl"}],["path",{d:"m14.83 14.83 4.24 4.24",key:"q42g0n"}],["path",{d:"m9.17 14.83-4.24 4.24",key:"bqpfvv"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}]]),h=(0,f.A)("settings",[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]),i=(0,e.memo)(function({title:a,onOpenPreferences:b,rightContent:c}){return(0,d.jsxs)("header",{className:"flex h-[33px] items-center border-b border-[var(--vk-border)] bg-[var(--vk-bg-panel)] pl-14 pr-2 text-[12px] text-[var(--vk-text-muted)] sm:pl-5 sm:pr-5 sm:text-[13px]",children:[(0,d.jsx)("div",{className:"min-w-0 flex-1 text-left sm:text-center",children:(0,d.jsx)("span",{className:"block truncate font-medium tracking-[0.01em] text-[var(--vk-text-muted)]",children:a??"All Projects"})}),(0,d.jsxs)("div",{className:"ml-auto flex shrink-0 items-center gap-0.5",children:[c?(0,d.jsx)("div",{className:"flex items-center gap-1.5",children:c}):null,(0,d.jsx)("a",{href:"https://github.com/charannyk06/conductor-oss/discussions",target:"_blank",rel:"noopener noreferrer",className:"inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-[4px] text-[var(--vk-text-muted)] hover:bg-[var(--vk-bg-hover)] hover:text-[var(--vk-text-normal)]","aria-label":"Open Conductor support",title:"Support",children:(0,d.jsx)(g,{className:"h-4 w-4"})}),b?(0,d.jsx)("button",{type:"button",onClick:b,className:"inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-[4px] text-[var(--vk-text-muted)] hover:bg-[var(--vk-bg-hover)] hover:text-[var(--vk-text-normal)]","aria-label":"Open preferences",title:"Preferences",children:(0,d.jsx)(h,{className:"h-4 w-4"})}):null]})]})})},98030:(a,b,c)=>{c.d(b,{F:()=>A,L:()=>z});var d=c(46818),e=c(6694);let f=new Set,g=new Set,h=null,i=null,j=null,k=null,l=null,m=0;function n(){return f.size>0||g.size>0}function o(){return"u"<typeof document||"visible"===document.visibilityState}function p(a){if(Array.isArray(a))return{type:"snapshot",sessions:a};if(!a||"object"!=typeof a)return null;let b=a.type;return"snapshot"!==b&&"snapshot_delta"!==b?null:Array.isArray(a.sessions)?a:null}function q(a){return a&&"object"==typeof a&&"boolean"==typeof a.enabled?a:null}function r(a){for(let b of f)b(a);let b=q(a.appUpdate);if(b)for(let a of g)a(b)}async function s(){if("function"!=typeof fetch)return;let a=(async()=>{try{let a=await fetch((0,d.S)("/api/sessions",null));if(!a.ok)return;let b=await a.json().catch(()=>null),c=p(b);if(!c)return;r(c)}catch{}try{let b=await fetch((0,d.S)("/api/app-update",null));if(!b.ok)return;let c=await b.json().catch(()=>null);var a=q(c);for(let b of g)b(a)}catch{}})();h=a.finally(()=>{h===a&&(h=null)}),await a}function t(){null!==l&&(window.clearTimeout(l),l=null)}function u(){if(!n()||!o())return;t();let a=0===m?250:Math.min(400*2**(m-1),12e3);m+=1,l=window.setTimeout(()=>{l=null,x()},a)}function v(){t(),m=0,k?.abort(),k=null}async function w(a){try{let b=await fetch("/api/events",{cache:"no-store",signal:a.signal});if(!b.ok||!b.body){a.signal.aborted||u();return}for await(let c of(m=0,(0,e.w)(b.body,a.signal)))!function(a){let b;if("refresh"===a.event){h||s();return}try{b=JSON.parse(a.data)}catch{return}if(b&&"object"==typeof b&&"refresh"===b.type){h||s();return}let c=p(b);c&&r(c)}(c);a.signal.aborted||u()}catch{a.signal.aborted||u()}}function x(){if("u"<typeof fetch||k||!n()||!o())return;let a=new AbortController;k=a,(async()=>{try{await w(a)}finally{k===a&&(k=null)}})()}function y(){if(!n()){v(),i&&(window.removeEventListener("focus",i),i=null),j&&(document.removeEventListener("visibilitychange",j),j=null);return}o()?x():v()}function z(a){return f.add(a),y(),()=>{f.delete(a),y()}}function A(a){return g.add(a),y(),()=>{g.delete(a),y()}}}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
exports.id=9398,exports.ids=[9398],exports.modules={14276:()=>{},16315:(a,b,c)=>{"use strict";c.r(b),c.d(b,{"0042a3090cf2714387bb25d760b247fd9ec0e66880":()=>d.y});var d=c(30254)},36026:(a,b,c)=>{"use strict";function d(a){let b=a?.trim();if(!b)return null;try{let a=new URL(b);if("http:"!==a.protocol&&"https:"!==a.protocol)return null;return a.toString()}catch{return null}}function e(a){let b=a?.trim();if(!b)return null;let c=Number.parseInt(b,10);return!Number.isInteger(c)||c<1||c>65535?null:c}function f(){let a=d(process.env.CONDUCTOR_BACKEND_URL);if(a)return a;let b=d(process.env.NEXT_PUBLIC_CONDUCTOR_BACKEND_URL);if(b)return b;let c=e(process.env.CONDUCTOR_BACKEND_PORT);if(null!==c)return`http://127.0.0.1:${c}`;let f=e(process.env.NEXT_PUBLIC_CONDUCTOR_BACKEND_PORT);return null!==f?`http://127.0.0.1:${f}`:null}function g(){let a=f();if(!a)throw Error("Rust backend URL is not configured");return a}c.d(b,{B:()=>g,_:()=>f})},37806:(a,b,c)=>{"use strict";c.d(b,{ThemeProvider:()=>g});var d=c(92692),e=c(71277);let f=(0,e.createContext)({theme:"dark",toggleTheme:()=>{}});function g({children:a}){let[b,c]=(0,e.useState)("dark"),h=(0,e.useCallback)(()=>{c(a=>{let b,c="dark"===a?"light":"dark";return localStorage.setItem("conductor-theme",c),(b=document.documentElement).classList.remove("dark","light"),b.classList.add(c),c})},[]);return(0,d.jsx)(f.Provider,{value:{theme:b,toggleTheme:h},children:a})}},43894:(a,b,c)=>{"use strict";c.d(b,{TooltipProvider:()=>h});var d=c(92692),e=c(49588),f=c(71277),g=c(93544);let h=e.Kq;e.bL,e.l9,(0,f.forwardRef)(({className:a,sideOffset:b=8,...c},f)=>(0,d.jsx)(e.ZL,{children:(0,d.jsx)(e.UC,{ref:f,sideOffset:b,className:(0,g.cn)("z-50 rounded-[var(--radius-xs)] border border-[var(--border-strong)] bg-[var(--bg-panel)] px-2 py-1.5","text-[11px] text-[var(--text-normal)] shadow-[var(--shadow-soft)]","animate-in fade-in-0 zoom-in-95",a),...c})})).displayName="TooltipContent"},46208:(a,b,c)=>{"use strict";c.d(b,{TooltipProvider:()=>e});var d=c(30274);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call TooltipProvider() from the server but TooltipProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/conductor-oss/conductor-oss/packages/web/src/components/ui/Tooltip.tsx","TooltipProvider");(0,d.registerClientReference)(function(){throw Error("Attempted to call Tooltip() from the server but Tooltip is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/conductor-oss/conductor-oss/packages/web/src/components/ui/Tooltip.tsx","Tooltip"),(0,d.registerClientReference)(function(){throw Error("Attempted to call TooltipTrigger() from the server but TooltipTrigger is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/conductor-oss/conductor-oss/packages/web/src/components/ui/Tooltip.tsx","TooltipTrigger"),(0,d.registerClientReference)(function(){throw Error("Attempted to call TooltipContent() from the server but TooltipContent is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/conductor-oss/conductor-oss/packages/web/src/components/ui/Tooltip.tsx","TooltipContent"),(0,d.registerClientReference)(function(){throw Error("Attempted to call SimpleTooltip() from the server but SimpleTooltip is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/conductor-oss/conductor-oss/packages/web/src/components/ui/Tooltip.tsx","SimpleTooltip")},46751:(a,b,c)=>{Promise.resolve().then(c.bind(c,96476)),Promise.resolve().then(c.bind(c,16413)),Promise.resolve().then(c.bind(c,58002)),Promise.resolve().then(c.bind(c,56470)),Promise.resolve().then(c.bind(c,99896)),Promise.resolve().then(c.bind(c,12589)),Promise.resolve().then(c.bind(c,37806)),Promise.resolve().then(c.bind(c,43894))},64903:(a,b,c)=>{Promise.resolve().then(c.bind(c,3074)),Promise.resolve().then(c.bind(c,82099)),Promise.resolve().then(c.bind(c,6932)),Promise.resolve().then(c.bind(c,66185)),Promise.resolve().then(c.bind(c,53759)),Promise.resolve().then(c.bind(c,90075)),Promise.resolve().then(c.bind(c,66504)),Promise.resolve().then(c.bind(c,46208))},66504:(a,b,c)=>{"use strict";c.d(b,{ThemeProvider:()=>e});var d=c(30274);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call ThemeProvider() from the server but ThemeProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/conductor-oss/conductor-oss/packages/web/src/components/ThemeProvider.tsx","ThemeProvider");(0,d.registerClientReference)(function(){throw Error("Attempted to call useTheme() from the server but useTheme is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/conductor-oss/conductor-oss/packages/web/src/components/ThemeProvider.tsx","useTheme")},72567:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,25696,23))},78143:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,32594,23))},84584:(a,b,c)=>{"use strict";c.d(b,{y:()=>e});var d=c(85660);let e=(0,d.createServerReference)("0042a3090cf2714387bb25d760b247fd9ec0e66880",d.callServer,void 0,d.findSourceMapURL,"invalidateCacheAction")},89257:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,25696,23)),Promise.resolve().then(c.t.bind(c,69411,23)),Promise.resolve().then(c.t.bind(c,8447,23)),Promise.resolve().then(c.t.bind(c,50674,23)),Promise.resolve().then(c.t.bind(c,78886,23)),Promise.resolve().then(c.t.bind(c,24194,23)),Promise.resolve().then(c.t.bind(c,93431,23)),Promise.resolve().then(c.bind(c,23858))},90500:(a,b,c)=>{"use strict";c.r(b),c.d(b,{"0080357c2ce75985e9a0eb0f648d540a91aae8d9a0":()=>d.ai,"00e4fd3057a82f26e457e3c1eef7717a8302f6157d":()=>d.at,"40eb020835e660c21bf16a5c5ed94814a618a5d03b":()=>d.ot});var d=c(78113)},91946:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>e});var d=c(42131);let e=async a=>[{type:"image/svg+xml",sizes:"any",url:(0,d.fillMetadataSegment)(".",await a.params,"icon.svg",!0)+"?270c676221766b43"}]},93544:(a,b,c)=>{"use strict";c.d(b,{cn:()=>f});var d=c(9537),e=c(43165);function f(...a){return(0,e.QP)((0,d.$)(a))}},95235:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>y,metadata:()=>v,viewport:()=>w});var d=c(2474),e=c(26543),f=c.n(e),g=c(27897),h=c.n(g),i=c(56004),j=c.n(i),k=c(62078),l=c.n(k),m=c(61989),n=c(90075),o=c(9330),p=c(66504),q=c(46208),r=c(36026),s=c(72460);c(14276);let t=`${j().variable} ${f().variable} ${h().variable} ${l().variable}`,u="1"===process.env.VERCEL||"true"===process.env.VERCEL,v={title:"Conductor",description:"Multi-agent orchestrator dashboard"},w={width:"device-width",initialScale:1};function x({children:a}){let b=(0,r._)()??"";return(0,d.jsxs)("html",{lang:"en",className:`${t} dark`,suppressHydrationWarning:!0,children:[(0,d.jsxs)("head",{children:[(0,d.jsx)("meta",{name:"conductor-backend-url",content:b}),(0,d.jsx)("script",{dangerouslySetInnerHTML:{__html:'try{var t=localStorage.getItem("conductor-theme");var e=document.documentElement;e.classList.remove("light","dark");e.classList.add(t==="light"||t==="dark"?t:"dark")}catch{}'}})]}),(0,d.jsx)("body",{className:"bg-[var(--bg-canvas)] text-[var(--text-strong)] antialiased",children:(0,d.jsx)(q.TooltipProvider,{children:(0,d.jsxs)(p.ThemeProvider,{children:[a,u?(0,d.jsx)(n.Analytics,{}):null]})})})]})}async function y({children:a}){let b=await (0,o.headers)(),c=(0,s.Pn)(b),e=(0,s.kE)(b),f=(0,s.EO)(c,e);return f.enabled&&f.publishableKey?(0,d.jsx)(m.lJ,{publishableKey:f.publishableKey,proxyUrl:f.proxyUrl??void 0,signInUrl:f.signInUrl??void 0,signUpUrl:f.signUpUrl??void 0,allowedRedirectOrigins:f.allowedRedirectOrigins.length>0?f.allowedRedirectOrigins:void 0,appearance:{cssLayerName:"clerk"},children:(0,d.jsx)(x,{children:a})}):(0,d.jsx)(x,{children:a})}},98985:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,32594,23)),Promise.resolve().then(c.t.bind(c,6413,23)),Promise.resolve().then(c.t.bind(c,61437,23)),Promise.resolve().then(c.t.bind(c,99476,23)),Promise.resolve().then(c.t.bind(c,41452,23)),Promise.resolve().then(c.t.bind(c,86792,23)),Promise.resolve().then(c.t.bind(c,48465,23)),Promise.resolve().then(c.t.bind(c,13592,23))}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[28386],{862:(e,t,n)=>{n.d(t,{G:()=>C});var a=n(54568),r=n(7620),i=n(10640),o=n(37077),s=n(46916),l=n(79748),d=n(38874),c=n(77024),u=n(76839),p=n(54314),f=n(13932),m=n(61201),g=n(76081),h=n(17210),v=n(31404),b=n(44522);let y="conductor-dismissed-update-version";function w(){let e,t,n=(0,l.usePathname)(),i=(0,l.useSearchParams)(),[o,w]=(0,r.useState)(null),[x,C]=(0,r.useState)(null),[k,A]=(0,r.useState)(null),[j,S]=(0,r.useState)(!1),[M,I]=(0,r.useState)(!1),[E,P]=(0,r.useState)(!1),[L,N]=(0,r.useState)(!1),[T,B]=(0,r.useState)(!1),O=(0,r.useMemo)(()=>(0,v.y)(window.location.href),[n,i]),$=(0,r.useCallback)(()=>(0,v.y)(window.location.href),[]),R=(0,r.useCallback)((e=!1)=>{let t=(0,v.S)("/api/app-update",$());if(!e)return t;let n=new URL(t,"http://127.0.0.1");return n.searchParams.set("force","1"),`${n.pathname}${n.search}${n.hash}`},[$]),q=(0,r.useCallback)(async(e=!1)=>{try{let t=await fetch(R(e),{cache:"no-store"}),n=await t.json().catch(()=>null);if(412===t.status)return C(null),null;if(!t.ok)throw Error("string"==typeof n?.error?n.error:`Failed to load update status (${t.status})`);return w(n),C(null),n}catch(e){return C(e instanceof Error?e.message:"Failed to load update status."),null}},[R,$]);(0,r.useEffect)(()=>{try{let e=window.localStorage.getItem(y);A(e&&e.length>0?e:null)}catch{}q(!0);let e=O?()=>{}:(0,h.F)(e=>{e&&(w(e),C(null))}),t=()=>{"visible"===document.visibilityState&&q(!1)};return window.addEventListener("focus",t),document.addEventListener("visibilitychange",t),()=>{e(),window.removeEventListener("focus",t),document.removeEventListener("visibilitychange",t)}},[O,q]),(0,r.useEffect)(()=>{if("function"!=typeof window.matchMedia)return;let e=window.matchMedia("(max-width: 639px)"),t=()=>N(e.matches);return(t(),"function"==typeof e.addEventListener)?(e.addEventListener("change",t),()=>e.removeEventListener("change",t)):(e.addListener?.(t),()=>e.removeListener?.(t))},[]),(0,r.useEffect)(()=>{L||B(!1)},[L]);let G=o?.latestVersion&&k===o.latestVersion,U=!!o?.restarting||E,F=L&&!U&&o?.jobStatus!=="running"&&o?.jobStatus!=="failed",z=!F||T,H=(0,r.useMemo)(()=>!!o&&!G&&(!!U||"running"===o.jobStatus||"completed"===o.jobStatus||"failed"===o.jobStatus||!o.enabled&&!!o.reason||o.updateAvailable),[G,U,o]);async function _(){o?.updateCommand&&(await navigator.clipboard.writeText(o.updateCommand),S(!0),window.setTimeout(()=>S(!1),1400))}async function D(){I(!0);try{let e=await fetch((0,v.S)("/api/app-update",$()),{method:"POST",headers:{"content-type":"application/json"}}),t=await e.json().catch(()=>null);if(!e.ok)throw Error("string"==typeof t?.error?t.error:`Update failed (${e.status})`);w(t),C(null)}catch(e){C(e instanceof Error?e.message:"Failed to trigger update.")}finally{I(!1)}}let V=(0,r.useCallback)(async()=>{let e=Date.now()+6e4;if(O){for(;Date.now()<e;){let e=await q(!1);if(!e?.restarting)return void P(!1);await new Promise(e=>window.setTimeout(e,1e3))}P(!1),C("Restart started on the paired device, but it did not reconnect in time. Retry from the bridge controls.");return}for(;Date.now()<e;){try{if((await fetch("/api/health",{cache:"no-store"})).ok)return void window.location.reload()}catch{}await new Promise(e=>window.setTimeout(e,1e3))}P(!1),C("Restart started, but the dashboard did not come back in time. Reload manually.")},[O,q]);async function K(){try{let e=await fetch((0,v.S)("/api/app-update",$()),{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({action:"restart"})}),t=await e.json().catch(()=>null);if(!e.ok)throw Error("string"==typeof t?.error?t.error:`Restart failed (${e.status})`);w(t),C(null)}catch(e){C(e instanceof Error?e.message:"Failed to restart Conductor.")}}return((0,r.useEffect)(()=>{o?.restarting&&!E&&(P(!0),V())},[E,o?.restarting,V]),H)?(0,a.jsx)("div",{className:"pointer-events-none fixed bottom-2 left-2 right-2 z-[70] sm:bottom-4 sm:left-auto sm:right-4 sm:w-[min(calc(100vw-1.5rem),24rem)]",children:(0,a.jsxs)("section",{className:(0,s.cn)("pointer-events-auto rounded-[14px] border bg-[var(--vk-bg-panel)] p-3 shadow-[0_16px_40px_rgba(0,0,0,0.35)] sm:p-4",F&&"max-w-[min(calc(100vw-1rem),18rem)] ml-auto",o?.jobStatus==="failed"?"border-[color:color-mix(in_srgb,var(--vk-red)_55%,var(--vk-border))]":"border-[var(--vk-border)]"),children:[(0,a.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[U||o?.jobStatus==="running"?(0,a.jsx)(d.A,{className:"h-4 w-4 animate-spin text-[var(--vk-orange)]"}):o?.jobStatus==="completed"?(0,a.jsx)(c.A,{className:"h-4 w-4 text-[var(--status-ready)]"}):o?.jobStatus==="failed"?(0,a.jsx)(u.A,{className:"h-4 w-4 text-[var(--vk-red)]"}):(0,a.jsx)(p.A,{className:"h-4 w-4 text-[var(--vk-orange)]"}),(0,a.jsx)("h2",{className:"truncate text-[13px] font-semibold text-[var(--vk-text-normal)]",children:o?(t=(e=o.currentVersion?.trim())?` (installed package ${e})`:"",!o.enabled&&o.reason?`Conductor package update unavailable${t}`:o.restarting?`Restarting Conductor${t}`:"running"===o.jobStatus?`Updating Conductor package${t}`:"completed"===o.jobStatus?`Conductor package updated${t}`:"failed"===o.jobStatus?`Package update failed${t}`:o.updateAvailable||o.latestVersion?o.latestVersion?`Conductor package ${o.latestVersion} is available${t}`:`Conductor package update available${t}`:`Conductor package is up to date${t}`):"Conductor update"})]}),F&&!z?null:(0,a.jsx)("p",{className:(0,s.cn)("mt-2 text-[12px] leading-5 text-[var(--vk-text-muted)]",F&&!z&&"line-clamp-2"),children:o?function(e){if(!e.enabled&&e.reason)return(0,b.N8)(e);if(e.restarting)return"The launcher is restarting the runtime. This tab will reconnect automatically once it is ready.";if("running"===e.jobStatus)return e.jobMessage??"Installing the latest version in the background.";if("completed"===e.jobStatus)return e.jobMessage??"The latest version has been installed. Restart Conductor to use it.";if("failed"===e.jobStatus)return e.jobMessage??"The update command did not finish successfully.";let t=e.currentVersion?`Installed Conductor package: ${e.currentVersion}. `:"";return e.canAutoUpdate?`${t}Install the new release now and restart when it finishes.`:"npx"===e.installMode?`${t}Copy the restart command, run it in a terminal, and the next launch will use the latest release.`:`${t}Copy the update command, run it in a terminal, then restart Conductor.`}(o):"Checking for updates..."})]}),(0,a.jsxs)("div",{className:"flex shrink-0 items-center gap-1.5",children:[F?(0,a.jsx)("button",{type:"button",onClick:()=>B(e=>!e),className:"inline-flex min-h-[28px] items-center rounded-[7px] border border-[var(--vk-border)] px-2 text-[11px] text-[var(--vk-text-muted)] hover:bg-[var(--vk-bg-hover)] hover:text-[var(--vk-text-normal)]",children:z?"Hide":"Details"}):null,(0,a.jsx)("button",{type:"button",onClick:function(){if(o?.latestVersion){try{window.localStorage.setItem(y,o.latestVersion)}catch{}A(o.latestVersion);return}w(e=>e?{...e,reason:null,enabled:!0}:e)},className:"inline-flex h-7 w-7 items-center justify-center rounded-[7px] text-[var(--vk-text-muted)] hover:bg-[var(--vk-bg-hover)] hover:text-[var(--vk-text-normal)]","aria-label":"Dismiss update notice",children:(0,a.jsx)(f.A,{className:"h-4 w-4"})})]})]}),z?(0,a.jsxs)(a.Fragment,{children:[o?.updateCommand?(0,a.jsx)("div",{className:"mt-3 rounded-[10px] border border-[var(--vk-border)] bg-[var(--vk-bg-main)] px-3 py-2 font-mono text-[11px] leading-5 text-[var(--vk-text-muted)]",children:o.updateCommand}):null,o?(0,a.jsx)("p",{className:"mt-2 text-[11px] leading-5 text-[var(--vk-text-faint)]",children:function(e){switch(e){case"npx":return"This session was launched through npx. Copy the restart command, run it in a terminal, and the next launch will use the latest package.";case"unknown":return"Automatic updates are unavailable for this install.";default:return null}}(o.installMode)??(o.restartRequired?"Restart the current Conductor process after the installer completes.":"Update state streams from the running Conductor runtime.")}):null,x?(0,a.jsx)("p",{className:"mt-2 text-[11px] text-[var(--vk-red)]",children:x}):o?.error?(0,a.jsx)("p",{className:"mt-2 text-[11px] text-[var(--vk-red)]",children:o.error}):null,o?.logsTail&&"failed"===o.jobStatus?(0,a.jsx)("pre",{className:"mt-2 max-h-32 overflow-auto rounded-[10px] border border-[var(--vk-border)] bg-[var(--vk-bg-main)] p-2 text-[10px] leading-4 text-[var(--vk-text-faint)]",children:o.logsTail}):null]}):null,(0,a.jsxs)("div",{className:(0,s.cn)("mt-3 flex items-center justify-end gap-2",F&&!z&&"mt-2"),children:[o?.jobStatus==="failed"&&o.canAutoUpdate?(0,a.jsxs)(g.$,{type:"button",size:"sm",variant:"primary",onClick:()=>void D(),disabled:M,children:[M?(0,a.jsx)(d.A,{className:"h-3.5 w-3.5 animate-spin"}):(0,a.jsx)(u.A,{className:"h-3.5 w-3.5"}),"Retry"]}):null,o?.jobStatus==="idle"&&o.canAutoUpdate?(0,a.jsxs)(g.$,{type:"button",size:"sm",variant:"primary",onClick:()=>void D(),disabled:M,children:[M?(0,a.jsx)(d.A,{className:"h-3.5 w-3.5 animate-spin"}):(0,a.jsx)(p.A,{className:"h-3.5 w-3.5"}),"Update now"]}):null,o?.jobStatus==="idle"&&!o.canAutoUpdate&&o.updateCommand?(0,a.jsxs)(g.$,{type:"button",size:"sm",variant:"outline",onClick:()=>void _(),children:[j?(0,a.jsx)(c.A,{className:"h-3.5 w-3.5 text-[var(--status-ready)]"}):(0,a.jsx)(m.A,{className:"h-3.5 w-3.5"}),j?"Copied":"npx"===o.installMode?"Copy restart command":"Copy command"]}):null,o?.restartRequired&&o.canRestart&&!o.restarting&&!E?(0,a.jsxs)(g.$,{type:"button",size:"sm",variant:"primary",onClick:()=>void K(),children:[(0,a.jsx)(u.A,{className:"h-3.5 w-3.5"}),"Restart now"]}):null,o?.restarting||E?(0,a.jsxs)(g.$,{type:"button",size:"sm",variant:"primary",disabled:!0,children:[(0,a.jsx)(d.A,{className:"h-3.5 w-3.5 animate-spin"}),"Restarting"]}):null]})]})}):null}let x="conductor-workspace-sidebar-width";function C({sidebar:e,children:t,mobileSidebarOpen:n,desktopSidebarOpen:l,onToggleSidebar:d,hideMobileSidebarToggle:c=!1}){let[u,p]=(0,r.useState)(356),[f,m]=(0,r.useState)(!1);(0,r.useEffect)(()=>{try{let e=window.localStorage.getItem(x),t=e?Number.parseInt(e,10):NaN;Number.isFinite(t)&&p(Math.min(460,Math.max(296,t)))}catch{}},[]),(0,r.useEffect)(()=>{if(!f)return;let e=e=>{p(Math.min(460,Math.max(296,e.clientX)))},t=()=>{m(!1)};return window.addEventListener("mousemove",e),window.addEventListener("mouseup",t),document.body.style.userSelect="none",document.body.style.cursor="col-resize",()=>{window.removeEventListener("mousemove",e),window.removeEventListener("mouseup",t),document.body.style.userSelect="",document.body.style.cursor="";try{window.localStorage.setItem(x,String(u))}catch{}}},[f,u]),(0,r.useEffect)(()=>{let e=document.documentElement,t=()=>{let t=window.visualViewport,n=t?.height??window.innerHeight;e.style.setProperty("--oc-app-shell-height",`${Math.round(n)}px`)};t();let n=window.visualViewport;return n?.addEventListener("resize",t),n?.addEventListener("scroll",t),window.addEventListener("resize",t),()=>{n?.removeEventListener("resize",t),n?.removeEventListener("scroll",t),window.removeEventListener("resize",t)}},[]);let g={"--workspace-sidebar-width":`${u}px`,"--oc-shell-height":"var(--oc-app-shell-height, 100dvh)"};return(0,a.jsxs)("div",{style:g,className:"relative flex h-[var(--oc-shell-height)] min-h-[var(--oc-shell-height)] max-h-[var(--oc-shell-height)] w-full max-w-full overflow-hidden bg-[var(--vk-bg-main)] text-[var(--vk-text-normal)] [padding-top:env(safe-area-inset-top)] [padding-bottom:env(safe-area-inset-bottom)] pl-[env(safe-area-inset-left)] pr-[env(safe-area-inset-right)]",children:[n&&(0,a.jsx)("button",{type:"button",className:"absolute inset-0 z-20 bg-black/45 lg:hidden",onClick:d,"aria-label":"Close workspace panel"}),(0,a.jsx)("aside",{className:(0,s.cn)("absolute inset-y-0 left-0 z-30 flex h-full w-full max-w-none flex-col border-r border-[var(--vk-border)] bg-[var(--vk-bg-panel)] transition-[transform,width] duration-200 sm:w-[min(90vw,var(--workspace-sidebar-width))] sm:max-w-[28rem]",n?"translate-x-0":"-translate-x-full",l?"lg:w-[var(--workspace-sidebar-width)]":"lg:w-0 lg:overflow-hidden lg:border-r-0","lg:relative lg:left-auto lg:translate-x-0"),children:e}),l?(0,a.jsx)("div",{className:"absolute bottom-0 left-[var(--workspace-sidebar-width)] top-0 z-30 hidden w-2 -translate-x-1/2 cursor-col-resize lg:block",onMouseDown:()=>m(!0),"aria-hidden":"true",children:(0,a.jsx)("div",{className:"mx-auto h-full w-px bg-transparent transition-colors hover:bg-[var(--vk-border)]"})}):null,l&&(0,a.jsx)("button",{type:"button",onClick:d,className:"absolute left-[var(--workspace-sidebar-width)] top-2 z-40 hidden h-7 w-7 -translate-x-1/2 items-center justify-center rounded-[4px] border border-[var(--vk-border)] bg-[var(--vk-bg-panel)] text-[var(--vk-text-muted)] shadow-[0_0_0_1px_rgba(0,0,0,0.25)] hover:bg-[var(--vk-bg-hover)] lg:inline-flex","aria-label":"Hide workspace panel",children:(0,a.jsx)(i.A,{className:"h-5 w-5"})}),(0,a.jsxs)("main",{className:"relative flex min-h-0 min-w-0 w-full flex-1 flex-col overflow-hidden bg-[var(--vk-bg-main)]",children:[!n&&!c&&(0,a.jsx)("button",{type:"button",onClick:d,className:"absolute left-2 top-2 z-40 inline-flex h-11 w-11 items-center justify-center rounded-[6px] border border-[var(--vk-border)] bg-[var(--vk-bg-panel)] text-[var(--vk-text-muted)] shadow-[0_10px_24px_rgba(0,0,0,0.28)] hover:bg-[var(--vk-bg-hover)] sm:h-8 sm:w-8 lg:hidden","aria-label":"Open workspace panel",children:(0,a.jsx)(o.A,{className:"h-5 w-5"})}),!l&&(0,a.jsx)("button",{type:"button",onClick:d,className:"absolute left-2 top-2 z-40 hidden h-7 w-7 items-center justify-center rounded-[4px] border border-[var(--vk-border)] bg-[var(--vk-bg-panel)] text-[var(--vk-text-muted)] hover:bg-[var(--vk-bg-hover)] lg:inline-flex","aria-label":"Open workspace panel",children:(0,a.jsx)(o.A,{className:"h-5 w-5"})}),t]}),(0,a.jsx)(w,{})]})}},5739:(e,t,n)=>{n.d(t,{q:()=>a});function a(e){return e.trim().toLowerCase().replace(/[_\s]+/g,"-")}},12060:(e,t,n)=>{n.d(t,{V:()=>s});var a=n(54568),r=n(7620),i=n(68856),o=n(35885);let s=(0,r.memo)(function({title:e,onOpenPreferences:t,rightContent:n}){return(0,a.jsxs)("header",{className:"flex h-[33px] items-center border-b border-[var(--vk-border)] bg-[var(--vk-bg-panel)] pl-14 pr-2 text-[12px] text-[var(--vk-text-muted)] sm:pl-5 sm:pr-5 sm:text-[13px]",children:[(0,a.jsx)("div",{className:"min-w-0 flex-1 text-left sm:text-center",children:(0,a.jsx)("span",{className:"block truncate font-medium tracking-[0.01em] text-[var(--vk-text-muted)]",children:e??"All Projects"})}),(0,a.jsxs)("div",{className:"ml-auto flex shrink-0 items-center gap-0.5",children:[n?(0,a.jsx)("div",{className:"flex items-center gap-1.5",children:n}):null,(0,a.jsx)("a",{href:"https://github.com/charannyk06/conductor-oss/discussions",target:"_blank",rel:"noopener noreferrer",className:"inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-[4px] text-[var(--vk-text-muted)] hover:bg-[var(--vk-bg-hover)] hover:text-[var(--vk-text-normal)]","aria-label":"Open Conductor support",title:"Support",children:(0,a.jsx)(i.A,{className:"h-4 w-4"})}),t?(0,a.jsx)("button",{type:"button",onClick:t,className:"inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-[4px] text-[var(--vk-text-muted)] hover:bg-[var(--vk-bg-hover)] hover:text-[var(--vk-text-normal)]","aria-label":"Open preferences",title:"Preferences",children:(0,a.jsx)(o.A,{className:"h-4 w-4"})}):null]})]})})},17210:(e,t,n)=>{n.d(t,{F:()=>M,L:()=>S});var a=n(31404),r=n(92070);let i=new Set,o=new Set,s=null,l=null,d=null,c=null,u=null,p=0;function f(){return i.size>0||o.size>0}function m(){return"u"<typeof document||"visible"===document.visibilityState}function g(e){if(Array.isArray(e))return{type:"snapshot",sessions:e};if(!e||"object"!=typeof e)return null;let t=e.type;return"snapshot"!==t&&"snapshot_delta"!==t?null:Array.isArray(e.sessions)?e:null}function h(e){return e&&"object"==typeof e&&"boolean"==typeof e.enabled?e:null}function v(e){for(let t of i)t(e);let t=h(e.appUpdate);if(t)for(let e of o)e(t)}function b(){return(0,a.y)(window.location.href)}async function y(){if("function"!=typeof fetch)return;let e=(async()=>{let e=b();try{let t=await fetch((0,a.S)("/api/sessions",e));if(!t.ok)return;let n=await t.json().catch(()=>null),r=g(n);if(!r)return;v(r)}catch{}try{let n=await fetch((0,a.S)("/api/app-update",e));if(!n.ok)return;let r=await n.json().catch(()=>null);var t=h(r);for(let e of o)e(t)}catch{}})();s=e.finally(()=>{s===e&&(s=null)}),await e}function w(){null!==u&&(window.clearTimeout(u),u=null)}function x(){if(!f()||!m()||b())return;w();let e=0===p?250:Math.min(400*2**(p-1),12e3);p+=1,u=window.setTimeout(()=>{u=null,A()},e)}function C(){w(),p=0,c?.abort(),c=null}async function k(e){try{let t=await fetch("/api/events",{cache:"no-store",signal:e.signal});if(!t.ok||!t.body){e.signal.aborted||x();return}for await(let n of(p=0,(0,r.w)(t.body,e.signal)))!function(e){let t;if("refresh"===e.event){s||y();return}try{t=JSON.parse(e.data)}catch{return}if(t&&"object"==typeof t&&"refresh"===t.type){s||y();return}let n=g(t);n&&v(n)}(n);e.signal.aborted||x()}catch{e.signal.aborted||x()}}function A(){if("u"<typeof fetch||c||!f()||!m()||b())return;let e=new AbortController;c=e,(async()=>{try{await k(e)}finally{c===e&&(c=null)}})()}function j(){if(!f()){C(),l&&(window.removeEventListener("focus",l),l=null),d&&(document.removeEventListener("visibilitychange",d),d=null);return}(l||d||(l=()=>{f()&&m()&&(A(),s||y())},d=()=>{f()&&m()?(A(),s||y()):C()},window.addEventListener("focus",l),document.addEventListener("visibilitychange",d)),b()||!m())?C():A()}function S(e){return i.add(e),j(),()=>{i.delete(e),j()}}function M(e){return o.add(e),j(),()=>{o.delete(e),j()}}},35821:(e,t,n)=>{n.d(t,{w:()=>r});var a=n(75120);function r(e,t=null,n){return(0,a.DA)(e,t,n)}},46012:(e,t,n)=>{n.d(t,{T:()=>i});var a=n(7620);function r(){return window.innerWidth>=1024}function i(e){let[t,n]=(0,a.useState)(!1),[i,o]=(0,a.useState)(e?.initialDesktopOpen??!0),s=(0,a.useCallback)(()=>{r()?o(e=>!e):n(e=>!e)},[]);return{mobileSidebarOpen:t,desktopSidebarOpen:i,toggleSidebar:s,closeSidebarOnMobile:(0,a.useCallback)(()=>{r()||n(!1)},[]),syncSidebarForViewport:(0,a.useCallback)(()=>{r()?o(!0):n(!1)},[])}}},53649:(e,t,n)=>{n.d(t,{U:()=>o});var a=n(7620),r=n(31404);function i(e,t){return{id:e,repo:"string"==typeof t?.repo?t.repo:null,path:"string"==typeof t?.path?t.path:null,iconUrl:"string"==typeof t?.iconUrl?t.iconUrl:null,boardDir:"string"==typeof t?.boardDir?t.boardDir:null,boardFile:"string"==typeof t?.boardFile?t.boardFile:null,description:"string"==typeof t?.description?t.description:null,defaultBranch:"string"==typeof t?.defaultBranch&&t.defaultBranch.trim().length>0?t.defaultBranch:"main",agent:"string"==typeof t?.agent&&t.agent.trim().length>0?t.agent:"claude-code",agentPermissions:"string"==typeof t?.agentPermissions&&t.agentPermissions.trim().length>0?t.agentPermissions:null,agentModel:"string"==typeof t?.agentModel&&t.agentModel.trim().length>0?t.agentModel:null,agentReasoningEffort:"string"==typeof t?.agentReasoningEffort&&t.agentReasoningEffort.trim().length>0?t.agentReasoningEffort:null}}function o(e,t){let n=t?.enabled??!0,[o,s]=(0,a.useState)([]),[l,d]=(0,a.useState)(n),[c,u]=(0,a.useState)(null),p=(0,a.useCallback)(async()=>{if(!n){s([]),u(null),d(!1);return}d(!0);try{let t=await fetch((0,r.S)("/api/config",e)),n=await t.json().catch(()=>null);if(!t.ok){let e="object"==typeof n&&null!==n?n.error??n.reason:null;throw Error(e??`Failed to fetch config: ${t.status}`)}s(function(e){if(!e||"object"!=typeof e)return[];let t=e.projects;return t?Array.isArray(t)?t.map((e,t)=>e&&"object"==typeof e?i("string"==typeof e.id&&e.id.trim().length>0?e.id:`project-${t+1}`,e):i(`project-${t+1}`,null)):"object"==typeof t?Object.entries(t).map(([e,t])=>i(e,t&&"object"==typeof t?t:null)):[]:[]}(n)),u(null)}catch(e){s([]),u(e instanceof Error?e.message:"Failed to fetch config")}finally{d(!1)}},[e,n]);return(0,a.useEffect)(()=>{p()},[p]),{projects:o,loading:!!n&&l,error:n?c:null,refresh:p}}},72410:(e,t,n)=>{n.d(t,{N:()=>u});var a=n(54568),r=n(7620);let i={amp:["/agents/amp-dark.svg","/agents/amp-light.svg"],claude:["/agents/claude-dark.svg","/agents/claude-light.svg"],codex:["/agents/codex-dark.svg","/agents/codex-light.svg"],copilot:["/agents/copilot-dark.svg","/agents/copilot-light.svg"],cursor:["/agents/cursor-dark.svg","/agents/cursor-light.svg"],discord:["/agents/discord-dark.svg","/agents/discord-light.svg"],droid:["/agents/droid-dark.svg","/agents/droid-light.svg"],gemini:["/agents/gemini-dark.svg","/agents/gemini-light.svg"],hermes:["/agents/hermes.png"],letta:["/agents/letta-dark.svg","/agents/letta-light.svg"],openclaw:["/agents/openclaw-dark.svg","/agents/openclaw-light.svg"],opencode:["/agents/opencode-dark.svg","/agents/opencode-light.svg"],pi:["/agents/pi.svg"],qwen:["/agents/qwen-dark.svg","/agents/qwen-light.svg"]},o=new Map;for(let[e,t]of Object.entries({amp:["amp","amp-code","amp-cli","ampcode","agent-amp"],claude:["claude","claude-code","claude-cli","claudecode","ccr","claude-code-router","claude-mcp","claude-mcp-cli","claude-mcp-agent","agent-claude-code"],codex:["codex","openai-codex","codex-cli","codexcli","openai","agent-codex"],copilot:["copilot","github-copilot","githubcopilot","copilot-cli","agent-github-copilot"],cursor:["cursor","cursor-cli","cursor-agent","cursoragent","agent-cursor-cli"],discord:["discord"],droid:["droid","factory-droid","factory_droid","agent-droid"],gemini:["gemini","gemini-cli","google-gemini","googlegemini","agent-gemini"],hermes:["hermes","hermes-agent","nous-hermes","agent-hermes"],letta:["letta","letta-code","letta_code","agent-letta","memgpt"],openclaw:["openclaw","open-claw","open_claw","agent-openclaw"],opencode:["opencode","open-code","open_code","open-code-cli","agent-opencode"],pi:["pi","pi-coding-agent","pi-agent","agent-pi"],qwen:["qwen","qwen-code","qwen_code","qwen-code-cli","agent-qwen-code"]}))for(let n of t)o.set(s(n),e);function s(e){return e.trim().toLowerCase().replace(/[^a-z0-9_-]+/g,"-").replace(/_+/g,"-").replace(/-+/g,"-").replace(/^-+|-+$/g,"")}function l(e){let t=s(e);if(!t)return null;let n=o.get(t);if(n)return n;for(let e of t.split("-")){let t=o.get(e);if(t)return t}for(let[e,n]of o.entries())if(t===e||t.startsWith(`${e}-`)||t.endsWith(`-${e}`)||t.includes(`-${e}-`))return n;return null}function d(e){try{let t=new URL(e),n=l(t.hostname.replace(/^www\./,"").replace(/\./g,"-"));if(n)return n;return l(t.pathname.replace(/\//g,"-"))}catch{return l(e)}}function c({label:e,className:t}){let n=e.split(/[^a-z0-9]/iu).filter(Boolean).slice(0,2).map(e=>e[0]?.toUpperCase()).join("");return(0,a.jsx)("span",{"aria-hidden":"true",className:`inline-flex shrink-0 items-center justify-center rounded-[0.2rem] text-[9px] font-semibold text-white ${t}`,style:{backgroundColor:function(e){let t=["#14b8a6","#06b6d4","#0ea5e9","#8b5cf6","#ec4899","#f97316","#f59e0b","#ef4444","#22c55e","#84cc16"],n=0;for(let a=0;a<e.length;a+=1)n=(31*n+e.charCodeAt(a))%t.length;return t[Math.abs(n)%t.length]??"#6b7280"}(`${e}:${e.length}`)},children:n||"AI"})}function u({seed:e,className:t="h-6 w-6"}){let[n,o]=(0,r.useState)(0),s=e?.label?.trim()??"",p=(0,r.useMemo)(()=>s?function(e){if(!e.label.trim())return[];let t=l(e.label)??(e.homepage?d(e.homepage):null)??(e.iconUrl?d(e.iconUrl):null),n="string"==typeof e.iconUrl&&e.iconUrl.trim().length>0?e.iconUrl.trim():null,a=[];return t&&a.push(...i[t]),n&&a.push(n),a}({label:s,iconUrl:e?.iconUrl,homepage:e?.homepage}):[],[s,e?.homepage,e?.iconUrl]);if((0,r.useEffect)(()=>{o(0)},[s,p]),!s)return(0,a.jsx)(c,{label:"AI",className:t});let f=p[n]??null;return f?(0,a.jsx)("img",{src:f,alt:`${s} icon`,loading:"lazy",className:`${t} shrink-0 rounded-[0.2rem] object-contain scale-125`,onError:()=>o(e=>e+1)}):(0,a.jsx)(c,{label:s,className:t})}},75120:(e,t,n)=>{n.d(t,{DA:()=>P,Kc:()=>I,eI:()=>E});var a=n(7620),r=n(31404),i=n(10926),o=n(17210),s=n(77522);let l="local",d=new Map,c=new Map,u=new Map;function p(e){return(0,i.C0)(e)??l}function f(e){let t=d.get(e);return t||(t={sessionsById:new Map,orderedIds:[],version:0,loading:!0,error:null,listInitialized:!1,refreshPromise:null,unsubscribeSnapshots:null,activeConsumers:0,pollTimer:null,focusHandler:null,visibilityHandler:null},d.set(e,t)),t}function m(e){let t=c.get(e);return t||(t=new Set,c.set(e,t)),t}function g(e){for(let t of m(e))t()}function h(e,t){let n=u.get(e);if(n)for(let e of new Set(t)){let t=n.get(e);if(t)for(let e of t)e()}}function v(e){return[...e.values()].sort((e,t)=>t.createdAt.localeCompare(e.createdAt)).map(e=>e.id)}function b(e,t,n){let a=f(e);a.sessionsById=t,a.orderedIds=n,a.version+=1}function y(e,t,n){let a=f(e),r=a.sessionsById.get(t);if(!r)return null;let i=new Map(a.sessionsById),o=n(r);return o?i.set(t,o):i.delete(t),b(e,i,v(i)),a.loading=!1,a.error=null,g(e),h(e,[t]),r}function w(e){return{id:e.id,projectId:e.projectId,bridgeId:e.bridgeId??null,bridgeConnected:e.bridgeConnected??null,bridgeConnection:e.bridgeConnection??null,status:e.status,activity:e.activity,branch:e.branch,model:e.model??null,reasoningEffort:e.reasoningEffort??null,issueId:e.issueId,summary:e.summary??null,createdAt:e.createdAt,lastActivityAt:e.lastActivityAt,pr:e.pr??null,metadata:e.metadata}}async function x(e,t){let n=f(e);if(n.refreshPromise)return void await n.refreshPromise;let a=(async()=>{let a=new Set(n.sessionsById.keys());try{var i;let o=await fetch((0,r.S)("/api/sessions",t),{cache:"no-store"});if(!o.ok){let e=await o.json().catch(()=>null);throw Error(e?.error??e?.reason??`Failed to fetch sessions: ${o.status}`)}let s=(i=await o.json().catch(()=>null),Array.isArray(i)?i:Array.isArray(i?.sessions)?i.sessions:[]);for(let e of s)a.add(e.id);let l=new Map(s.map(e=>[e.id,e]));b(e,l,v(l)),n.error=null}catch(e){n.error=e instanceof Error?e.message:"Failed to fetch sessions"}finally{n.loading=!1,g(e),h(e,a)}})();n.refreshPromise=a.finally(()=>{n.refreshPromise===a&&(n.refreshPromise=null)}),await a}function C(){return"visible"===document.visibilityState}function k(e){let t=f(e);null!==t.pollTimer&&(window.clearTimeout(t.pollTimer),t.pollTimer=null)}function A(e,t){let n=f(e);k(e),e!==l&&0!==n.activeConsumers&&C()&&(n.pollTimer=window.setTimeout(async()=>{0!==f(e).activeConsumers&&C()&&(await x(e,t),A(e,t))},15e3))}function j(e,t){let n=f(e);n.activeConsumers+=1,n.activeConsumers>1||(!function(e){if(e!==l)return;let t=f(e);t.unsubscribeSnapshots||(t.unsubscribeSnapshots=(0,o.L)(t=>{let n=f(e),a=new Set;if("snapshot"===t.type){for(let e of n.sessionsById.keys())a.add(e);for(let e of t.sessions)a.add(e.id);b(e,new Map(t.sessions.map(e=>{let t=w(e);return[t.id,t]})),t.sessions.map(e=>e.id))}else{let r=new Map(n.sessionsById);for(let e of t.sessions){let t=w(e);r.set(t.id,t),a.add(t.id)}for(let e of t.removedSessionIds??[])r.delete(e),a.add(e);b(e,r,v(r))}n.loading=!1,n.error=null,g(e),h(e,a)}))}(e),n.listInitialized||(n.listInitialized=!0),function(e,t){let n=f(e);if(n.focusHandler||n.visibilityHandler)return;let a=()=>{0!==n.activeConsumers&&(x(e,t),A(e,t))},r=()=>{0!==n.activeConsumers&&("visible"===document.visibilityState&&x(e,t),k(e),A(e,t))};n.focusHandler=a,n.visibilityHandler=r,window.addEventListener("focus",a),document.addEventListener("visibilitychange",r)}(e,t),C()&&x(e,t),A(e,t))}function S(e){let t=f(e);if(t.activeConsumers=Math.max(0,t.activeConsumers-1),!(t.activeConsumers>0)){let n;k(e),(n=f(e)).focusHandler&&(window.removeEventListener("focus",n.focusHandler),n.focusHandler=null),n.visibilityHandler&&(document.removeEventListener("visibilitychange",n.visibilityHandler),n.visibilityHandler=null),t.unsubscribeSnapshots?.(),t.unsubscribeSnapshots=null}}async function M(e,t,n){let a=f(t);try{let i=await fetch((0,r.S)(`/api/sessions/${encodeURIComponent(e)}`,n),{cache:"no-store"});if(404===i.status){let n=new Map(a.sessionsById);return n.delete(e),b(t,n,v(n)),a.error=null,null}if(!i.ok){let e=await i.json().catch(()=>null);throw Error(e?.error??e?.reason??`Failed to fetch session: ${i.status}`)}let o=await i.json(),s=new Map(a.sessionsById);return s.set(o.id,o),b(t,s,v(s)),a.error=null,o}catch(e){throw a.error=e instanceof Error?e.message:"Failed to fetch session",e}finally{a.loading=!1,g(t),h(t,[e])}}function I(e,t){let n=e.trim();if(!n)return()=>{};let a=p(t?.bridgeId??(0,i.DW)(n)?.bridgeId??null),r=y(a,n,e=>{if("archived"===e.status.trim().toLowerCase())return e;let t=new Date().toISOString(),n={...e.metadata};return n.archivedAt=n.archivedAt??t,n.finishedAt=n.finishedAt??t,n.summary="Archived",delete n.terminationRequested,{...e,status:"archived",activity:"exited",summary:"Archived",lastActivityAt:t,metadata:n}});if(!r)return()=>{};let o="function"==typeof structuredClone?structuredClone(r):JSON.parse(JSON.stringify(r));return()=>{y(a,n,()=>o)}}function E(e,t){let n=t?.enabled??!0,r=p(t?.bridgeId),i=f(r),[,o]=(0,a.useReducer)(e=>e+1,0),[s,l]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{var e;let a;if(l(!0),!n)return;j(r,t?.bridgeId);let i=(e=()=>o(),(a=m(r)).add(e),()=>{a.delete(e)});return()=>{i(),S(r)}},[n,t?.bridgeId,r]),{sessions:(0,a.useMemo)(()=>{let t,a;return n&&s?(t=f(r),a=e?.trim(),t.orderedIds.map(e=>t.sessionsById.get(e)).filter(e=>!!e).filter(e=>!a||e.projectId===a)):[]},[n,s,e,r,i.version]),loading:!!n&&(!s||i.loading),error:n?i.error:null,refresh:()=>x(r,t?.bridgeId)}}function P(e,t=null,n){let r=n?.enabled??!0,o="string"==typeof e&&e.trim().length>0?e.trim():null,d=(0,i.C0)(n?.bridgeId??t?.bridgeId??(0,i.DW)(o)?.bridgeId??null),c=p(d),m=f(c),[,y]=(0,a.useReducer)(e=>e+1,0),[w,x]=(0,a.useState)(!1),[C,k]=(0,a.useState)(t),[A,I]=(0,a.useState)(null),[E,L]=(0,a.useState)(r&&null!==o&&null===t),N=o?m.sessionsById.get(o)??C??t:null;return(0,a.useEffect)(()=>{x(!0),function(e,t){if(!t)return;let n=f(e),a=n.sessionsById.get(t.id);if(a&&JSON.stringify(a)===JSON.stringify(t))return;let r=new Map(n.sessionsById);r.set(t.id,t),b(e,r,v(r)),n.loading=!1,g(e),h(e,[t.id])}(c,t),k(t),I(null)},[t,c]),(0,a.useEffect)(()=>{if(r&&null!==o){var e;let t,n,a;return e=()=>y(),(t=u.get(c))||(t=new Map,u.set(c,t)),(n=t.get(o))||(n=new Set,t.set(o,n)),(a=n).add(e),()=>{if(a.delete(e),a.size>0)return;let t=u.get(c);t?.delete(o),t&&0===t.size&&u.delete(c)}}},[r,o,c]),(0,a.useEffect)(()=>{if(r&&null!==o)return j(c,d),()=>{S(c)}},[r,d,o,c]),(0,a.useEffect)(()=>{var e;let t;if(!r||null===o||c===l||(e=N?.status,(t=e?.trim().toLowerCase())&&s.C.has(t)))return;let n=()=>{"visible"===document.visibilityState&&M(o,c,d).catch(()=>{})};n();let a=window.setInterval(n,5e3);return()=>{window.clearInterval(a)}},[N?.status,r,d,o,c]),(0,a.useEffect)(()=>{if(!r||null===o){k(null),I(null),L(!1);return}if(t||m.sessionsById.has(o)){k(e=>m.sessionsById.get(o)??e??t),I(null),L(!1);return}let e=!1;return L(!0),I(null),M(o,c,d).then(t=>{e||(k(t),I(null))}).catch(t=>{e||(k(null),I(t instanceof Error?t.message:"Failed to fetch session"))}).finally(()=>{e||L(!1)}),()=>{e=!0}},[r,d,t,o,c,m]),{session:o?w?N??null:t??null:null,loading:E,error:r&&o?A??m.error:null}}},76050:(e,t,n)=>{function a(e){return e?.metadata.sessionKind==="project_dispatcher"}function r(e){return a(e)?"dispatcher":"terminal"}n.d(t,{Zu:()=>a,tK:()=>r})},76196:(e,t,n)=>{n.d(t,{DZ:()=>b,O$:()=>h,Tk:()=>m,Zp:()=>u,Zz:()=>p,d8:()=>g,u6:()=>v,yM:()=>f}),[...new Set(["killed","terminated","done","cleanup","errored","merged"])];let a=["amp","claude-code","codex","cursor-cli","droid","gemini","github-copilot","opencode","pi","qwen-code","ccr"],r={amp:"default",claudeCode:"pro",codex:"chatgpt",cursorCli:"default",droid:"default",gemini:"oauth",githubCopilot:"default",opencode:"default",pi:"default",qwenCode:"oauth",ccr:"default"},i={amp:{agent:"amp",label:"Amp",accessKey:"amp",defaultAccess:"default",accessOptions:[{id:"default",label:"Local CLI",description:"Use the locally installed Amp CLI catalog and custom override support."}]},"claude-code":{agent:"claude-code",label:"Claude Code",accessKey:"claudeCode",defaultAccess:"pro",accessOptions:[{id:"pro",label:"Claude Pro",description:"Shows the current Sonnet models that Claude Code documents for Pro usage."},{id:"max",label:"Claude Max",description:"Unlocks both Sonnet and Opus model choices in Claude Code."},{id:"api",label:"Anthropic API",description:"Use direct Anthropic API credentials instead of a Claude subscription."}]},codex:{agent:"codex",label:"Codex",accessKey:"codex",defaultAccess:"chatgpt",accessOptions:[{id:"chatgpt",label:"ChatGPT Plan",description:"Use the ChatGPT-backed Codex login flow for paid ChatGPT workspaces."},{id:"api",label:"OpenAI API",description:"Use direct OpenAI API credentials when Codex is pointed at the API."}]},"cursor-cli":{agent:"cursor-cli",label:"Cursor Agent",accessKey:"cursorCli",defaultAccess:"default",accessOptions:[{id:"default",label:"Local CLI",description:"Use the locally installed Cursor Agent catalog and custom override support."}]},droid:{agent:"droid",label:"Droid",accessKey:"droid",defaultAccess:"default",accessOptions:[{id:"default",label:"Local CLI",description:"Use the locally installed Droid catalog and custom override support."}]},gemini:{agent:"gemini",label:"Gemini",accessKey:"gemini",defaultAccess:"oauth",accessOptions:[{id:"oauth",label:"Google Login",description:"Use the built-in Google account flow that Gemini CLI ships with."},{id:"api",label:"Gemini API",description:"Use a Gemini API key or Vertex AI project for broader model control."}]},"github-copilot":{agent:"github-copilot",label:"GitHub Copilot",accessKey:"githubCopilot",defaultAccess:"default",accessOptions:[{id:"default",label:"Local CLI",description:"Use the locally installed Copilot CLI catalog and custom override support."}]},opencode:{agent:"opencode",label:"OpenCode",accessKey:"opencode",defaultAccess:"default",accessOptions:[{id:"default",label:"Local CLI",description:"Use the locally installed OpenCode catalog and custom override support."}]},pi:{agent:"pi",label:"Pi",accessKey:"pi",defaultAccess:"default",accessOptions:[{id:"default",label:"Local CLI",description:"Use the locally installed Pi model catalog and custom override support."}]},"qwen-code":{agent:"qwen-code",label:"Qwen Code",accessKey:"qwenCode",defaultAccess:"oauth",accessOptions:[{id:"oauth",label:"Qwen OAuth",description:"Use Qwen Code's built-in browser login and bundled provider defaults."},{id:"api",label:"DashScope / Custom API",description:"Use DashScope or another OpenAI-compatible endpoint configured for Qwen Code."}]},ccr:{agent:"ccr",label:"CCR",accessKey:"ccr",defaultAccess:"default",accessOptions:[{id:"default",label:"Local CLI",description:"Use the locally installed Claude Code Router catalog and custom override support."}]}},o=[{id:"low",label:"Low",description:"Fast responses with lighter reasoning."},{id:"medium",label:"Medium",description:"Balanced speed and reasoning depth for everyday tasks."},{id:"high",label:"High",description:"Deeper reasoning for more complex tasks."}],s=[...o,{id:"xhigh",label:"Extra High",description:"Maximum reasoning depth for the hardest tasks."}];function l(e,t,n,a=function(e){return e.trim().split(/[-_]+/g).filter(Boolean).map(e=>"gpt"===e.toLowerCase()?"GPT":e[0]?.toUpperCase()+e.slice(1)).join(" ")}(e)){return{id:e,label:a,description:t,access:n}}let d={amp:{modelsByAccess:{default:[l("free","Amp Free mode prioritizes lower-cost execution.",["default"],"Amp Free"),l("rush","Amp Rush mode prioritizes faster turnaround.",["default"],"Amp Rush"),l("smart","Amp Smart mode balances quality, speed, and tool choice.",["default"],"Amp Smart"),l("deep","Amp Deep mode enables the highest-capability reasoning path.",["default"],"Amp Deep")]},defaultModelByAccess:{default:"smart"}},"claude-code":{modelsByAccess:{pro:[l("claude-sonnet-4-6","Balanced Claude Code model for day-to-day coding tasks.",["pro","max","api"],"Claude Sonnet 4.6"),l("claude-haiku-4-5","Fast Claude model for lightweight tasks.",["pro","max","api"],"Claude Haiku 4.5")],max:[l("claude-sonnet-4-6","Balanced Claude Code model for day-to-day coding tasks.",["pro","max","api"],"Claude Sonnet 4.6"),l("claude-opus-4-6","Highest-capability Claude Code model for deeper reasoning.",["max","api"],"Claude Opus 4.6"),l("claude-haiku-4-5","Fast Claude model for lightweight tasks.",["pro","max","api"],"Claude Haiku 4.5")],api:[l("claude-sonnet-4-6","Balanced Claude Code model for day-to-day coding tasks.",["pro","max","api"],"Claude Sonnet 4.6"),l("claude-opus-4-6","Highest-capability Claude Code model for deeper reasoning.",["max","api"],"Claude Opus 4.6"),l("claude-haiku-4-5","Fast Claude model for lightweight tasks.",["pro","max","api"],"Claude Haiku 4.5")]},defaultModelByAccess:{pro:"claude-sonnet-4-6",max:"claude-opus-4-6",api:"claude-sonnet-4-6"},reasoningOptionsByAccess:{pro:o,max:o,api:o},defaultReasoningByAccess:{pro:"medium",max:"high",api:"medium"}},codex:{modelsByAccess:{chatgpt:[l("gpt-5.4","Latest frontier coding model exposed by Codex.",["chatgpt","api"],"GPT-5.4"),l("gpt-5.4-mini","Smaller GPT-5.4 variant for faster or lower-cost coding tasks.",["chatgpt","api"],"GPT-5.4-Mini"),l("gpt-5.3-codex","Balanced Codex coding model.",["chatgpt","api"],"GPT-5.3-Codex"),l("gpt-5.3-codex-spark","Fast Codex model optimized for rapid iteration.",["chatgpt"],"GPT-5.3-Codex-Spark"),l("gpt-5.2-codex","Previous generation Codex coding model.",["chatgpt","api"],"GPT-5.2-Codex"),l("gpt-5.2","Previous frontier model for professional work with configurable reasoning effort.",["chatgpt","api"],"GPT-5.2"),l("gpt-5.1-codex-max","High-capability legacy Codex model.",["chatgpt","api"],"GPT-5.1-Codex-Max"),l("gpt-5.1-codex-mini","Smaller Codex model for quick tasks.",["chatgpt","api"],"GPT-5.1-Codex-Mini")],api:[l("gpt-5.4","Latest frontier coding model exposed by Codex.",["chatgpt","api"],"GPT-5.4"),l("gpt-5.4-mini","Smaller GPT-5.4 variant for faster or lower-cost coding tasks.",["chatgpt","api"],"GPT-5.4-Mini"),l("gpt-5.3-codex","Balanced Codex coding model.",["chatgpt","api"],"GPT-5.3-Codex"),l("gpt-5.2-codex","Previous generation Codex coding model.",["chatgpt","api"],"GPT-5.2-Codex"),l("gpt-5.2","Previous frontier model for professional work with configurable reasoning effort.",["chatgpt","api"],"GPT-5.2"),l("gpt-5.1-codex-max","High-capability legacy Codex model.",["chatgpt","api"],"GPT-5.1-Codex-Max"),l("gpt-5.1-codex-mini","Smaller Codex model for quick tasks.",["chatgpt","api"],"GPT-5.1-Codex-Mini")]},defaultModelByAccess:{chatgpt:"gpt-5.4",api:"gpt-5.4"},reasoningOptionsByAccess:{chatgpt:s,api:s},defaultReasoningByAccess:{chatgpt:"high",api:"high"}},"cursor-cli":{modelsByAccess:{default:[l("gpt-5","Cursor Agent's GPT-5 preset alias.",["default"],"GPT-5"),l("sonnet-4","Cursor Agent's Sonnet preset alias.",["default"],"Sonnet 4"),l("opus-4.1","Cursor Agent's Opus preset alias.",["default"],"Opus 4.1")]},defaultModelByAccess:{default:"gpt-5"}},droid:{modelsByAccess:{default:[]},defaultModelByAccess:{}},gemini:{modelsByAccess:{oauth:[l("gemini-3.1-pro-preview","High-capability Gemini model discovered in local Gemini sessions.",["oauth","api"],"Gemini 3.1 Pro Preview"),l("gemini-3-flash-preview","Fast Gemini model discovered in local Gemini sessions.",["oauth","api"],"Gemini 3 Flash Preview")],api:[l("gemini-3.1-pro-preview","High-capability Gemini model discovered in local Gemini sessions.",["oauth","api"],"Gemini 3.1 Pro Preview"),l("gemini-3-flash-preview","Fast Gemini model discovered in local Gemini sessions.",["oauth","api"],"Gemini 3 Flash Preview")]},defaultModelByAccess:{oauth:"gemini-3.1-pro-preview",api:"gemini-3.1-pro-preview"}},"github-copilot":{modelsByAccess:{default:[]},defaultModelByAccess:{}},opencode:{modelsByAccess:{default:[]},defaultModelByAccess:{}},pi:{modelsByAccess:{default:[l("openai/gpt-5.5","Latest frontier OpenAI model exposed by Pi.",["default"],"GPT-5.5"),l("openai/gpt-5.4","Previous frontier OpenAI model exposed by Pi.",["default"],"GPT-5.4"),l("openai/gpt-5.4-mini","Smaller GPT-5.4 variant exposed by Pi.",["default"],"GPT-5.4-Mini"),l("openai/gpt-5.3-codex","Balanced coding model exposed by Pi.",["default"],"GPT-5.3-Codex"),l("anthropic/claude-sonnet-4-6","Claude Sonnet model exposed through Pi providers.",["default"],"Claude Sonnet 4.6")]},defaultModelByAccess:{default:"openai/gpt-5.5"},reasoningOptionsByAccess:{default:s},defaultReasoningByAccess:{default:"high"}},"qwen-code":{modelsByAccess:{oauth:[l("coder-model","Model discovered in the local Qwen Code installation.",["oauth","api"],"Coder Model")],api:[l("coder-model","Model discovered in the local Qwen Code installation.",["oauth","api"],"Coder Model")]},defaultModelByAccess:{oauth:"coder-model",api:"coder-model"}},ccr:{modelsByAccess:{default:[l("claude-sonnet-4-6","Balanced Claude model exposed through Claude Code Router.",["default"],"Claude Sonnet 4.6"),l("claude-opus-4-6","Highest-capability Claude model exposed through Claude Code Router.",["default"],"Claude Opus 4.6"),l("claude-haiku-4-5","Fast Claude model exposed through Claude Code Router.",["default"],"Claude Haiku 4.5")]},defaultModelByAccess:{default:"claude-sonnet-4-6"},reasoningOptionsByAccess:{default:o},defaultReasoningByAccess:{default:"medium"}}};function c(e){let t=e.trim().toLowerCase().replace(/[_\s]+/g,"-");return a.includes(t)?t:null}function u(){return{...r}}function p(e){return null!==c(e)}function f(e){let t=c(e);return t?i[t]:null}function m(e,t){let n=f(e);if(!n)return null;let a=t?.[n.accessKey];return"string"==typeof a&&n.accessOptions.some(e=>e.id===a)?a:n.defaultAccess}function g(e,t){let n=c(e);if(!n)return[];let a=m(n,t);if(!a)return[];let r=d[n],i=r.modelsByAccess[a]??[];if(i.length>0)return[...i];let o=[],s=new Set;for(let e of Object.values(r.modelsByAccess))if(Array.isArray(e))for(let t of e)s.has(t.id)||(s.add(t.id),o.push(t));return o}function h(e,t){let n=c(e);if(!n)return null;let a=m(n,t);return a?d[n].defaultModelByAccess[a]??null:null}function v(e,t){let n=c(e);if(!n)return[];let a=m(n,t);return a?d[n].reasoningOptionsByAccess?.[a]??[]:[]}function b(e,t){let n=c(e);if(!n)return null;let a=m(n,t);return a?d[n].defaultReasoningByAccess?.[a]??null:null}},84527:(e,t,n)=>{n.d(t,{J:()=>o});var a=n(31404),r=n(75120);async function i(e,t){let n=await fetch((0,a.S)(`/api/sessions/${encodeURIComponent(e)}/archive`,t),{method:"POST"}),r=await n.json().catch(()=>null);if(404===n.status&&(n=await fetch((0,a.S)(`/api/sessions/${encodeURIComponent(e)}/actions`,t),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"archive"})}),r=await n.json().catch(()=>null)),!n.ok)throw Error(r?.error??`Failed to archive session: ${n.status}`)}async function o(e,t){let n=(0,r.Kc)(e,t);try{await i(e,t?.bridgeId)}catch(e){throw n(),e}}},85626:(e,t,n)=>{n.d(t,{$E:()=>u,ww:()=>d,zu:()=>c});let a="abstract-sound-4",r={"abstract-sound-1":{steps:[{frequency:784,durationMs:90,gain:.24},{frequency:988,durationMs:90,gain:.22},{frequency:1175,durationMs:120,gain:.2}]},"abstract-sound-2":{steps:[{frequency:659,durationMs:120,gain:.22},{frequency:523,durationMs:140,gain:.2},{frequency:659,durationMs:120,gain:.18}]},"abstract-sound-3":{steps:[{frequency:440,durationMs:80,gain:.22},{frequency:554,durationMs:80,gain:.22},{frequency:659,durationMs:90,gain:.2},{frequency:880,durationMs:120,gain:.18}]},"abstract-sound-4":{steps:[{frequency:523,durationMs:130,gain:.22},{frequency:659,durationMs:130,gain:.2},{frequency:784,durationMs:150,gain:.18}]},"cow-mooing":{steps:[{frequency:220,durationMs:220,type:"triangle",gain:.24},{frequency:174,durationMs:260,type:"triangle",gain:.2}]},"phone-vibration":{vibrate:[120,60,120,60,180],steps:[{frequency:180,durationMs:140,gain:.16},{frequency:220,durationMs:140,gain:.14}]},rooster:{steps:[{frequency:784,durationMs:70,type:"square",gain:.24},{frequency:1046,durationMs:70,type:"square",gain:.22},{frequency:1318,durationMs:90,type:"square",gain:.2},{frequency:1568,durationMs:120,type:"square",gain:.18}]}},i=null;function o(){let e=window,t=e.AudioContext??e.webkitAudioContext;return t?(i||(i=new t),i):null}function s(e){let t=e?.trim();return t&&t in r?t:a}function l(e,t,n){return Math.min(n,Math.max(t,e))}function d(e){return s(e)}async function c(){let e=o();if(!e)return!1;if("suspended"===e.state)try{await e.resume()}catch{return!1}return"running"===e.state}async function u(e,t){let n=s(e),a=r[n];if("phone-vibration"===n&&a.vibrate&&"u">typeof navigator&&"function"==typeof navigator.vibrate)return navigator.vibrate(a.vibrate);let i=o();if(!i||!a.steps||0===a.steps.length)return!1;if("suspended"===i.state)try{await i.resume()}catch{return!1}if("running"!==i.state)return!1;let d=l(t?.volume??.4,.05,.8),c=i.currentTime+.02;for(let e of a.steps)!function(e,t,n,a){let r=e.createOscillator(),i=e.createGain(),o=l((n.gain??1)*a,.02,.9),s=Math.max(.04,n.durationMs/1e3),d=t+Math.max(.015,Math.min(.05,.35*s)),c=t+Math.max(.02,.7*s),u=t+s;r.type=n.type??"sine",r.frequency.setValueAtTime(n.frequency,t),i.gain.setValueAtTime(1e-4,t),i.gain.linearRampToValueAtTime(o,d),i.gain.exponentialRampToValueAtTime(1e-4,c),i.gain.setValueAtTime(1e-4,u),r.connect(i),i.connect(e.destination),r.start(t),r.stop(u+.05)}(i,c,e,d),c+=Math.max(.06,e.durationMs/1e3+.04);return!0}},86011:(e,t,n)=>{n.d(t,{Q:()=>c});var a=n(7620),r=n(31404),i=n(85626);function o(){return"u"<typeof document||"visible"===document.visibilityState}function s(e){return!e||"object"!=typeof e||Array.isArray(e)?{}:{...e}}function l(e){return`${e.id}::${e.timestamp}`}function d(e){null!==e.current&&(window.clearTimeout(e.current),e.current=null)}function c({enabled:e,projectId:t,preferences:n,bridgeId:u}){let p=(0,a.useRef)(n?.soundEnabled!==!1),f=(0,a.useRef)((0,i.ww)(n?.soundFile)),m=(0,a.useRef)(new Set),g=(0,a.useRef)(null),h=(0,a.useRef)(!1),v=(0,a.useRef)(null),b=(0,a.useRef)(null),y=(0,a.useRef)(null);(0,a.useEffect)(()=>{p.current=n?.soundEnabled!==!1,f.current=(0,i.ww)(n?.soundFile)},[n?.soundEnabled,n?.soundFile]),(0,a.useEffect)(()=>{if(!e)return;let n=t?.trim()||null,a=u?.trim()||null,c=`${a??"local"}::${n??""}`;v.current!==c&&(v.current=c,m.current=new Set,g.current=null,h.current=!1);let w=!1,x=async e=>{if(w||!o())return;if(b.current)return void await b.current;let t=(async()=>{let t=new URLSearchParams({limit:"20"});n&&t.set("project",n),!e&&g.current&&t.set("since",g.current);try{var o;let n,d=await fetch((0,r.S)(`/api/notifications?${t.toString()}`,a),{cache:"no-store"});if(!d.ok)return;let c=(o=await d.json().catch(()=>null),n=s(o),(Array.isArray(n.notifications)?n.notifications:[]).map(e=>{var t;let n,a,r,i,o,l,d,c;return n=s(e),a="string"==typeof n.id?n.id.trim():"",r="string"==typeof n.message?n.message.trim():"",i="string"==typeof n.timestamp?n.timestamp.trim():"",o="string"==typeof n.sessionId?n.sessionId.trim():"",l="string"==typeof n.projectId?n.projectId.trim():"",d="string"==typeof n.type?n.type.trim():"",c="high"===(t=n.priority)||"medium"===t||"low"===t?n.priority:"low",a&&r&&i&&o&&l&&d?{id:a,priority:c,message:r,timestamp:i,sessionId:o,projectId:l,type:d}:null}).filter(e=>null!==e).sort((e,t)=>{let n=Date.parse(t.timestamp)-Date.parse(e.timestamp);return 0!==n?n:t.id.localeCompare(e.id)}));if(0===c.length){h.current=!0;return}if(g.current=c[0]?.timestamp??null,e||!h.current){for(let e of c)m.current.add(l(e));h.current=!0;return}let u=c.filter(e=>!m.current.has(l(e)));for(let e of c)m.current.add(l(e));if(0===u.length)return;let v=u.find(e=>"high"===e.priority)??u.find(e=>"medium"===e.priority)??u[0]??null;if(!v||"low"===v.priority||!p.current)return;await (0,i.$E)(f.current)}catch{}})();b.current=t;try{await t}finally{b.current===t&&(b.current=null),h.current=!0}},C=()=>{d(y),!w&&o()&&(y.current=window.setTimeout(()=>{x(!1).finally(()=>{C()})},1e4))},k=()=>{!w&&o()&&x(!h.current).finally(()=>{C()})},A=()=>{o()?k():d(y)},j=()=>{o()&&k()},S=()=>{(0,i.zu)()};return k(),window.addEventListener("focus",j),document.addEventListener("visibilitychange",A),window.addEventListener("pointerdown",S,!0),window.addEventListener("touchstart",S,!0),window.addEventListener("keydown",S,!0),()=>{w=!0,d(y),window.removeEventListener("focus",j),document.removeEventListener("visibilitychange",A),window.removeEventListener("pointerdown",S,!0),window.removeEventListener("touchstart",S,!0),window.removeEventListener("keydown",S,!0)}},[u,e,t])}},92070:(e,t,n)=>{n.d(t,{w:()=>o});let a=/\r?\n\r?\n/;function r(e){return e.trimStart()}function i(e){let t=null,n=[];for(let a of e.split(/\r?\n/))!a.startsWith(":")&&(a.startsWith("event:")?t=r(a.slice(6)):a.startsWith("data:")&&n.push(r(a.slice(5))));return 0===n.length?null:{event:t,data:n.join("\n")}}async function*o(e,t){let n=e.getReader(),r=new TextDecoder,o="";try{for(;;){if(t?.aborted)return;let{done:e,value:s}=await n.read();if(e){let e=r.decode(void 0,{stream:!1});e.length>0&&(o+=e)}else s&&(o+=r.decode(s,{stream:!0}));for(;;){let e=o.match(a);if(!e||"number"!=typeof e.index)break;let t=o.slice(0,e.index);o=o.slice(e.index+e[0].length);let n=i(t);n&&(yield n)}if(e){let e=i(o);e&&(yield e);break}}}finally{n.releaseLock()}}},95106:(e,t,n)=>{n.d(t,{t:()=>r});var a=n(75120);function r(e,t){return(0,a.eI)(e,t)}}}]);
|