tokenhop 1.0.1 → 1.0.3
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/app/.next-cli-build/BUILD_ID +1 -1
- package/app/.next-cli-build/app-path-routes-manifest.json +8 -8
- package/app/.next-cli-build/build-manifest.json +3 -3
- package/app/.next-cli-build/prerender-manifest.json +3 -3
- package/app/.next-cli-build/react-loadable-manifest.json +29 -29
- package/app/.next-cli-build/required-server-files.json +1 -0
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/[...missing]/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/[...missing]/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/[...missing]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/settings/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/settings/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/settings/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/ui-kit/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/ui-kit/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/ui-kit/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/_global-error.html +1 -1
- package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
- package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/_not-found/page.js +1 -1
- package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/_not-found.html +1 -1
- package/app/.next-cli-build/server/app/_not-found.rsc +5 -5
- package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/start/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/test/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tool-settings/[toolId]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tool-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +4 -4
- package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +3 -3
- package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/combos/[id]/headroom/route.js +1 -1
- package/app/.next-cli-build/server/app/api/combos/[id]/headroom/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/combos/[id]/test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/combos/[id]/test/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
- package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/gateway/status/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/home/live-routes/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/home/quota/route.js +1 -1
- package/app/.next-cli-build/server/app/api/home/quota/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/home/summary/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/settings/config/export/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/settings/config/import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/settings/config/import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
- package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/settings/environment/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/shell/savings-milestone/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/shell/summary/route.js +1 -1
- package/app/.next-cli-build/server/app/api/shell/summary/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
- package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +1 -1
- package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/translator/send/route.js +9 -1
- package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/translator/translate/route.js +9 -1
- package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +2 -2
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +9 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +9 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/last-activity/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/savings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +9 -1
- package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +2 -2
- package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/callback/page.js +1 -1
- package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/callback.html +1 -1
- package/app/.next-cli-build/server/app/callback.rsc +5 -5
- package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/basic-chat.html +2 -2
- package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +11 -11
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +11 -11
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +11 -11
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/combos.html +2 -2
- package/app/.next-cli-build/server/app/dashboard/combos.rsc +11 -11
- package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +11 -11
- package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +11 -11
- package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +9 -9
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +8 -8
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +9 -9
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +2 -2
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +11 -11
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +11 -11
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +11 -11
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/media-providers.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/media-providers.rsc +10 -10
- package/app/.next-cli-build/server/app/dashboard/media-providers.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/__PAGE__.segment.rsc +10 -10
- package/app/.next-cli-build/server/app/dashboard/media-providers.segments/_full.segment.rsc +10 -10
- package/app/.next-cli-build/server/app/dashboard/media-providers.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/mitm.html +2 -2
- package/app/.next-cli-build/server/app/dashboard/mitm.rsc +11 -11
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +11 -11
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +11 -11
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/profile.rsc +10 -10
- package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +10 -10
- package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +10 -10
- package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/providers/new.html +2 -2
- package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +11 -11
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +11 -11
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +11 -11
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +2 -2
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +10 -10
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +10 -10
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +10 -10
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/pxpipe.html +2 -2
- package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +10 -10
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +10 -10
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +10 -10
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/quota.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/quota.rsc +11 -11
- package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +11 -11
- package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +11 -11
- package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/settings.html +2 -2
- package/app/.next-cli-build/server/app/dashboard/settings.rsc +11 -11
- package/app/.next-cli-build/server/app/dashboard/settings.segments/!KGRhc2hib2FyZCk/dashboard/settings/__PAGE__.segment.rsc +11 -11
- package/app/.next-cli-build/server/app/dashboard/settings.segments/_full.segment.rsc +11 -11
- package/app/.next-cli-build/server/app/dashboard/settings.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/skills.html +2 -2
- package/app/.next-cli-build/server/app/dashboard/skills.rsc +8 -8
- package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +8 -8
- package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +8 -8
- package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +11 -11
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +11 -11
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +11 -11
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/translator.html +2 -2
- package/app/.next-cli-build/server/app/dashboard/translator.rsc +11 -11
- package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +11 -11
- package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +11 -11
- package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/ui-kit.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/ui-kit.rsc +10 -10
- package/app/.next-cli-build/server/app/dashboard/ui-kit.segments/!KGRhc2hib2FyZCk/dashboard/ui-kit/__PAGE__.segment.rsc +10 -10
- package/app/.next-cli-build/server/app/dashboard/ui-kit.segments/_full.segment.rsc +10 -10
- package/app/.next-cli-build/server/app/dashboard/ui-kit.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/usage.rsc +11 -11
- package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +11 -11
- package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +11 -11
- package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard.html +1 -1
- package/app/.next-cli-build/server/app/dashboard.rsc +11 -11
- package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +11 -11
- package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +11 -11
- package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/index.html +1 -1
- package/app/.next-cli-build/server/app/index.rsc +5 -5
- package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/landing/page.js +1 -1
- package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/landing.html +1 -1
- package/app/.next-cli-build/server/app/landing.rsc +6 -6
- package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/login/page.js +1 -1
- package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/login.html +1 -1
- package/app/.next-cli-build/server/app/login.rsc +5 -5
- package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/page.js +1 -1
- package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/skills/[...slug]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app-paths-manifest.json +8 -8
- package/app/.next-cli-build/server/chunks/{6734.js → 1004.js} +1 -1
- package/app/.next-cli-build/server/chunks/{4037.js → 1215.js} +1 -1
- package/app/.next-cli-build/server/chunks/1533.js +1 -1
- package/app/.next-cli-build/server/chunks/2217.js +1 -1
- package/app/.next-cli-build/server/chunks/2380.js +3 -3
- package/app/.next-cli-build/server/chunks/24.js +1 -1
- package/app/.next-cli-build/server/chunks/2460.js +1 -1
- package/app/.next-cli-build/server/chunks/257.js +10 -0
- package/app/.next-cli-build/server/chunks/2592.js +1 -1
- package/app/.next-cli-build/server/chunks/2705.js +9 -0
- package/app/.next-cli-build/server/chunks/318.js +2 -10
- package/app/.next-cli-build/server/chunks/3943.js +1 -1
- package/app/.next-cli-build/server/chunks/4123.js +1 -1
- package/app/.next-cli-build/server/chunks/4334.js +1 -1
- package/app/.next-cli-build/server/chunks/5230.js +1 -0
- package/app/.next-cli-build/server/chunks/5260.js +1 -1
- package/app/.next-cli-build/server/chunks/5559.js +9 -0
- package/app/.next-cli-build/server/chunks/5615.js +1 -1
- package/app/.next-cli-build/server/chunks/5649.js +1 -0
- package/app/.next-cli-build/server/chunks/5827.js +1 -1
- package/app/.next-cli-build/server/chunks/5869.js +9 -0
- package/app/.next-cli-build/server/chunks/5908.js +1 -0
- package/app/.next-cli-build/server/chunks/620.js +1 -1
- package/app/.next-cli-build/server/chunks/{1854.js → 6355.js} +1 -1
- package/app/.next-cli-build/server/chunks/6493.js +1 -0
- package/app/.next-cli-build/server/chunks/6496.js +1 -1
- package/app/.next-cli-build/server/chunks/7485.js +9 -0
- package/app/.next-cli-build/server/chunks/{3676.js → 7695.js} +1 -1
- package/app/.next-cli-build/server/chunks/7716.js +1 -1
- package/app/.next-cli-build/server/chunks/7819.js +1 -1
- package/app/.next-cli-build/server/chunks/8171.js +1 -1
- package/app/.next-cli-build/server/chunks/8261.js +1 -0
- package/app/.next-cli-build/server/chunks/878.js +1 -0
- package/app/.next-cli-build/server/chunks/8895.js +10 -10
- package/app/.next-cli-build/server/chunks/8954.js +1 -0
- package/app/.next-cli-build/server/chunks/9016.js +9 -0
- package/app/.next-cli-build/server/chunks/9343.js +1 -1
- package/app/.next-cli-build/server/chunks/9421.js +1 -1
- package/app/.next-cli-build/server/chunks/9489.js +1 -1
- package/app/.next-cli-build/server/chunks/9578.js +1 -1
- package/app/.next-cli-build/server/instrumentation.js.nft.json +1 -1
- package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
- package/app/.next-cli-build/server/middleware-react-loadable-manifest.js +1 -1
- package/app/.next-cli-build/server/middleware.js.nft.json +1 -1
- package/app/.next-cli-build/server/pages/404.html +1 -1
- package/app/.next-cli-build/server/pages/500.html +1 -1
- package/app/.next-cli-build/server/server-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/server-reference-manifest.json +1 -1
- package/app/.next-cli-build/static/chunks/{198-0c7f5eadfd257db1.js → 198-7c5bbea89ef8bc14.js} +1 -1
- package/app/.next-cli-build/static/chunks/{3670-90f5cd325f460eb5.js → 3670-d6dc44bc181c9b8a.js} +1 -1
- package/app/.next-cli-build/static/chunks/{6174.f1da2912aec81c15.js → 6174.a18fedfa3d765b1e.js} +1 -1
- package/app/.next-cli-build/static/chunks/7899-a12f962af02edf7f.js +1 -0
- package/app/.next-cli-build/static/chunks/8105-71d1aea9708976db.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/console-log/{page-084fc21b1dbae00d.js → page-1df6ad7d9adfc2a7.js} +1 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/new/{page-de53f51d191eec46.js → page-25d06b77bd1a5edb.js} +1 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/translator/{page-243d3da0a2c6cbe9.js → page-5bb99ecaf48bde39.js} +1 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/ui-kit/{page-998f8c5a36dac961.js → page-1bc393f267badc04.js} +1 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/{layout-96ebd2b46f1f8d39.js → layout-a94f45e334f1841b.js} +1 -1
- package/app/.next-cli-build/static/chunks/app/landing/{page-bcaea5febe1c68c0.js → page-98f05847e3372b16.js} +1 -1
- package/app/.next-cli-build/static/chunks/app/{layout-c266f1acedfb4651.js → layout-29d74e164758a126.js} +1 -1
- package/app/.next-cli-build/static/chunks/{webpack-8693ccf029e9af63.js → webpack-1e19a4b05298b49d.js} +1 -1
- package/app/.next-cli-build/static/css/{9f0b95a0d0bc5e51.css → ffa1d9c3cbb4e959.css} +1 -1
- package/app/package.json +4 -5
- package/app/server.js +1 -1
- package/package.json +1 -1
- package/app/.next-cli-build/server/chunks/1764.js +0 -1
- package/app/.next-cli-build/server/chunks/3306.js +0 -1
- package/app/.next-cli-build/server/chunks/3558.js +0 -1
- package/app/.next-cli-build/server/chunks/368.js +0 -1
- package/app/.next-cli-build/server/chunks/4199.js +0 -2
- package/app/.next-cli-build/server/chunks/4903.js +0 -1
- package/app/.next-cli-build/server/chunks/6000.js +0 -1
- package/app/.next-cli-build/server/chunks/6403.js +0 -1
- package/app/.next-cli-build/server/chunks/6565.js +0 -1
- package/app/.next-cli-build/server/chunks/7901.js +0 -1
- package/app/.next-cli-build/server/chunks/8372.js +0 -1
- package/app/.next-cli-build/server/chunks/9219.js +0 -1
- package/app/.next-cli-build/static/chunks/7899-83edd7bbf1a98c4a.js +0 -1
- package/app/.next-cli-build/static/chunks/8105-bdd81b911fed8537.js +0 -1
- /package/app/.next-cli-build/static/{J4xdfHpBUAMOCO5dsemSj → gdVYVwJMM6JES9Y1KPQyw}/_buildManifest.js +0 -0
- /package/app/.next-cli-build/static/{J4xdfHpBUAMOCO5dsemSj → gdVYVwJMM6JES9Y1KPQyw}/_ssgManifest.js +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(()=>{var a={};a.id=2536,a.ids=[2536],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12994:(a,b,c)=>{"use strict";c.d(b,{CJ:()=>f,Yh:()=>e,jz:()=>g});var d=c(80751);c(31223);let e=a=>a.endsWith("/v1")?a:`${a}/v1`,f=a=>a.endsWith("/v1")?a.slice(0,-3):a,g=({format:a,value:b})=>"json"===a?JSON.stringify(b,null,2):"toml"===a&&"string"!=typeof b?(0,d.q)(b):b},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{"use strict";a.exports=require("os")},24424:(a,b)=>{"use strict";function c(a){for(let b=0;b<a.length;b++){let c=a[b];if("function"!=typeof c)throw Object.defineProperty(Error(`A "use server" file can only export async functions, found ${typeof c}.
|
|
2
|
-
Read more: https://nextjs.org/docs/messages/invalid-use-server-value`),"__NEXT_ERROR_CODE",{value:"E352",enumerable:!1,configurable:!0})}}Object.defineProperty(b,"D",{enumerable:!0,get:function(){return c}})},24586:(a,b,c)=>{"use strict";c.d(b,{B:()=>q,NO:()=>n,UE:()=>t,ZS:()=>p,eU:()=>f,f:()=>l,fK:()=>i,gT:()=>j,hK:()=>k,ic:()=>o,jh:()=>h,lv:()=>m,u3:()=>e,v4:()=>u,zi:()=>v,zq:()=>g});var d=c(31223);let e=d.Hc.clientConfigKey,f=d.Hc.name,g=d.Hc.jcodeApiKeyEnv,h=Object.freeze(e===d.qt.clientConfigKey?[...d.qx.clientConfigKeys]:[]),i=Object.freeze([...new Set([e,d.qt.clientConfigKey,...d.qx.clientConfigKeys])]),j=Object.freeze([...new Set([g,d.qt.jcodeApiKeyEnv,d.qx.jcodeApiKeyEnv])]),k=a=>i.includes(a),l=a=>{for(let b of i)if(a?.[b]!=null)return a[b]},m=a=>`${e}/${a}`,n=a=>{if("string"!=typeof a)return null;let b=a.indexOf("/");if(b<=0||b===a.length-1)return null;let c=a.slice(0,b);return k(c)?{key:c,model:a.slice(b+1)}:null},o=a=>h.includes(n(a)?.key)?m(n(a).model):a,p=a=>"string"==typeof a&&i.some(b=>a.includes(b)),q=d.Hc.customModelIdPrefix,r=[...new Set([q,d.qt.customModelIdPrefix,d.qx.customModelIdPrefix])],s=q===d.qt.customModelIdPrefix?[d.qx.customModelIdPrefix]:[],t=a=>"string"==typeof a&&r.some(b=>a.startsWith(b)),u=a=>"string"==typeof a&&[q,...s].some(b=>a.startsWith(b)),v=a=>{let b;for(let c of h)a?.[c]!=null&&(b??=a[c],delete a[c]);return b}},
|
|
2
|
+
Read more: https://nextjs.org/docs/messages/invalid-use-server-value`),"__NEXT_ERROR_CODE",{value:"E352",enumerable:!1,configurable:!0})}}Object.defineProperty(b,"D",{enumerable:!0,get:function(){return c}})},24586:(a,b,c)=>{"use strict";c.d(b,{B:()=>q,NO:()=>n,UE:()=>t,ZS:()=>p,eU:()=>f,f:()=>l,fK:()=>i,gT:()=>j,hK:()=>k,ic:()=>o,jh:()=>h,lv:()=>m,u3:()=>e,v4:()=>u,zi:()=>v,zq:()=>g});var d=c(31223);let e=d.Hc.clientConfigKey,f=d.Hc.name,g=d.Hc.jcodeApiKeyEnv,h=Object.freeze(e===d.qt.clientConfigKey?[...d.qx.clientConfigKeys]:[]),i=Object.freeze([...new Set([e,d.qt.clientConfigKey,...d.qx.clientConfigKeys])]),j=Object.freeze([...new Set([g,d.qt.jcodeApiKeyEnv,d.qx.jcodeApiKeyEnv])]),k=a=>i.includes(a),l=a=>{for(let b of i)if(a?.[b]!=null)return a[b]},m=a=>`${e}/${a}`,n=a=>{if("string"!=typeof a)return null;let b=a.indexOf("/");if(b<=0||b===a.length-1)return null;let c=a.slice(0,b);return k(c)?{key:c,model:a.slice(b+1)}:null},o=a=>h.includes(n(a)?.key)?m(n(a).model):a,p=a=>"string"==typeof a&&i.some(b=>a.includes(b)),q=d.Hc.customModelIdPrefix,r=[...new Set([q,d.qt.customModelIdPrefix,d.qx.customModelIdPrefix])],s=q===d.qt.customModelIdPrefix?[d.qx.customModelIdPrefix]:[],t=a=>"string"==typeof a&&r.some(b=>a.startsWith(b)),u=a=>"string"==typeof a&&[q,...s].some(b=>a.startsWith(b)),v=a=>{let b;for(let c of h)a?.[c]!=null&&(b??=a[c],delete a[c]);return b}},28354:a=>{"use strict";a.exports=require("util")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31223:(a,b,c)=>{"use strict";c.d(b,{Hc:()=>k,LZ:()=>q,T0:()=>o,bY:()=>l,qt:()=>i,qx:()=>j,sx:()=>n,wx:()=>p});var d=c(99928);let{BRAND_IDS:e,DEFAULT_BRAND_ID:f,ACTIVE_BRAND_ID:g,isActiveBrand:h,BRAND:i,LEGACY:j,ACTIVE:k,UPSTREAM_CLIENT_IDS:l,envName:m,readEnv:n,warnLegacyOnce:o,header:p,legacyHeaderNames:q}=c.n(d)()},33873:a=>{"use strict";a.exports=require("path")},37211:(a,b,c)=>{"use strict";c.r(b),c.d(b,{DELETE:()=>I,GET:()=>G,POST:()=>H});var d=c(49796),e=c(23211),f=c(79748),g=c.n(f),h=c(33873),i=c.n(h),j=c(21820),k=c.n(j),l=c(79646),m=c(28354),n=c(80751),o=c(97289),p=c(24586),q=c(83966),r=c(12994);let s=q.dM.jcode.defaultModels[0].defaultValue;var t=c(24424);let u=(0,m.promisify)(l.exec),v=()=>i().join(k().homedir(),".jcode"),w=()=>i().join(v(),"config.toml"),x=a=>`provider-${a.toLowerCase()}.env`,y=[...new Set(p.jh.map(x))],z=(a=x(p.u3))=>{let b=process.env.XDG_CONFIG_HOME||i().join(k().homedir(),".config");return i().join(b,"jcode",a)},A=async()=>{try{let a="win32"===k().platform();return await u(a?"where jcode":"which jcode",{windowsHide:!0}),!0}catch{try{return await g().access(v()),!0}catch{return!1}}},B=async()=>{try{let a=w(),b=await g().readFile(a,"utf-8");return(0,n.M)(b)}catch(a){return{providers:{}}}},C=async a=>{let b=w(),c=(0,n.q)(a);await g().writeFile(b,c,"utf-8")},D=async a=>{try{let b=z(a),c=await g().readFile(b,"utf-8"),d={};for(let a of c.split("\n")){let b=a.trim();if(!b||b.startsWith("#"))continue;let c=b.indexOf("=");if(c>0){let a=b.slice(0,c).trim(),e=b.slice(c+1).trim();(e.startsWith('"')&&e.endsWith('"')||e.startsWith("'")&&e.endsWith("'"))&&(e=e.slice(1,-1)),d[a]=e}}return d}catch{return{}}},E=async(a,b)=>{let c=z(b),d="# jcode provider environment variables\n";for(let[b,c]of Object.entries(a))d+=`${b}="${c}"
|
|
3
3
|
`;await g().writeFile(c,d,{encoding:"utf-8",mode:384})},F=async()=>{for(let a of new Set(p.fK.map(x))){let b=await D(a),c=p.gT.find(a=>b[a]);if(c)return b[c]}return null};async function G(){let a;if(!await A())return e.NextResponse.json({installed:!1,message:"jcode not installed. Install via: curl -fsSL https://raw.githubusercontent.com/1jehuang/jcode/master/scripts/install.sh | bash"});let b=await B();return e.NextResponse.json({installed:!0,config:b,hasTokenhop:!!(a=b?.providers)&&(!!(0,p.f)(a)||Object.values(a).some(a=>a?.base_url?.includes("localhost:20128"))),envApiKey:await F(),configPath:w()})}async function H(a){try{let{baseUrl:b,apiKey:c,models:d}=await a.json();if(!b||!c)return e.NextResponse.json({error:"baseUrl and apiKey are required"},{status:400});let f=await (0,o.xT)(w())??{};f.providers??={};let h=f.providers[p.u3],j=(0,p.zi)(f.providers)??{},l=process.env.XDG_CONFIG_HOME,[{value:m}]=function({baseUrl:a,apiKey:b,model:c,envDir:d="~/.config/jcode"}){if(!c)return null;let e=`provider-${p.u3.toLowerCase()}.env`;return[{file:"~/.jcode/config.toml",format:"toml",merge:!0,value:{providers:{[p.u3]:{type:"openai-compatible",base_url:(0,r.Yh)(a),auth:"bearer",api_key_env:p.zq,env_file:e,default_model:c,requires_api_key:!0,models:[{id:c}]}}}},{file:`${d}/${e}`,format:"text",merge:!0,value:`# jcode provider environment variables
|
|
4
4
|
${p.zq}="${b}"
|
|
5
|
-
`}]}({baseUrl:b,apiKey:c,model:d?.[0]||j.default_model||s,envDir:l?`${l}/jcode`:void 0}),n=m.providers[p.u3],q=new Map;for(let a of[h?.models,j.models])if(Array.isArray(a))for(let b of a)b?.id&&!q.has(b.id)&&q.set(b.id,b);for(let a of n.models)q.set(a.id,{...q.get(a.id),...a});f.providers[p.u3]={...j,...n,models:[...q.values()]},p.jh.includes(f.provider?.default_provider)&&(f.provider.default_provider=p.u3);let t=v();await g().mkdir(t,{recursive:!0});let u=process.env.XDG_CONFIG_HOME||i().join(k().homedir(),".config");await g().mkdir(i().join(u,"jcode"),{recursive:!0});let x={};for(let a of y)Object.assign(x,await D(a));for(let a of(Object.assign(x,await D()),p.gT))delete x[a];for(let a of(x[p.zq]=c,await E(x),await C(f),y))await g().rm(z(a),{force:!0}).catch(b=>{console.warn(`jcode: could not remove legacy ${a}:`,b.message)});return e.NextResponse.json({success:!0,message:`jcode configured successfully. Use: jcode --provider-profile ${p.u3}`,configPath:w()})}catch(b){let a=(0,o.En)(b);if(a)return a;return console.error("Error configuring jcode:",b),e.NextResponse.json({error:b.message},{status:500})}}async function I(){try{let a=await (0,o.xT)(w());if(!a?.providers)return e.NextResponse.json({success:!0,message:"No configuration to remove"});for(let b of p.fK)delete a.providers[b];for(let b of((0,p.hK)(a.provider?.default_provider)&&delete a.provider.default_provider,await C(a),new Set(p.fK.map(x)))){let a=await D(b);if(p.gT.some(b=>b in a)){for(let b of p.gT)delete a[b];await E(a,b)}}return e.NextResponse.json({success:!0,message:`${p.u3} configuration removed from jcode`})}catch(b){let a=(0,o.En)(b);if(a)return a;return console.error("Error removing jcode configuration:",b),e.NextResponse.json({error:b.message},{status:500})}}(0,t.D)([G,H,I]),(0,d.A)(G,"
|
|
5
|
+
`}]}({baseUrl:b,apiKey:c,model:d?.[0]||j.default_model||s,envDir:l?`${l}/jcode`:void 0}),n=m.providers[p.u3],q=new Map;for(let a of[h?.models,j.models])if(Array.isArray(a))for(let b of a)b?.id&&!q.has(b.id)&&q.set(b.id,b);for(let a of n.models)q.set(a.id,{...q.get(a.id),...a});f.providers[p.u3]={...j,...n,models:[...q.values()]},p.jh.includes(f.provider?.default_provider)&&(f.provider.default_provider=p.u3);let t=v();await g().mkdir(t,{recursive:!0});let u=process.env.XDG_CONFIG_HOME||i().join(k().homedir(),".config");await g().mkdir(i().join(u,"jcode"),{recursive:!0});let x={};for(let a of y)Object.assign(x,await D(a));for(let a of(Object.assign(x,await D()),p.gT))delete x[a];for(let a of(x[p.zq]=c,await E(x),await C(f),y))await g().rm(z(a),{force:!0}).catch(b=>{console.warn(`jcode: could not remove legacy ${a}:`,b.message)});return e.NextResponse.json({success:!0,message:`jcode configured successfully. Use: jcode --provider-profile ${p.u3}`,configPath:w()})}catch(b){let a=(0,o.En)(b);if(a)return a;return console.error("Error configuring jcode:",b),e.NextResponse.json({error:b.message},{status:500})}}async function I(){try{let a=await (0,o.xT)(w());if(!a?.providers)return e.NextResponse.json({success:!0,message:"No configuration to remove"});for(let b of p.fK)delete a.providers[b];for(let b of((0,p.hK)(a.provider?.default_provider)&&delete a.provider.default_provider,await C(a),new Set(p.fK.map(x)))){let a=await D(b);if(p.gT.some(b=>b in a)){for(let b of p.gT)delete a[b];await E(a,b)}}return e.NextResponse.json({success:!0,message:`${p.u3} configuration removed from jcode`})}catch(b){let a=(0,o.En)(b);if(a)return a;return console.error("Error removing jcode configuration:",b),e.NextResponse.json({error:b.message},{status:500})}}(0,t.D)([G,H,I]),(0,d.A)(G,"00559acbeb5db647e93a879acb0c315bc5dbe3308c",null),(0,d.A)(H,"40a9feb39ec3e0e0de9b95015479c6313a3709762e",null),(0,d.A)(I,"0081ef57c136e0ff1c0b78bf3163c7b1968c8acf52",null)},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},46329:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>z,patchFetch:()=>y,routeModule:()=>u,serverHooks:()=>x,workAsyncStorage:()=>v,workUnitAsyncStorage:()=>w});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(37527);let u=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/cli-tools/jcode-settings/route",pathname:"/api/cli-tools/jcode-settings",filename:"route",bundlePath:"app/api/cli-tools/jcode-settings/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/tokenhop/tokenhop/src/app/api/cli-tools/jcode-settings/route.js",nextConfigOutput:"standalone",userland:()=>c(37211),...{}}),{workAsyncStorage:v,workUnitAsyncStorage:w,serverHooks:x}=u;function y(){return(0,f.patchFetch)({workAsyncStorage:v,workUnitAsyncStorage:w})}async function z(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),u.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/cli-tools/jcode-settings/route";"/index"===d&&(d="/");let f=await u.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:v,deploymentId:w,params:x,nextConfig:y,parsedUrl:z,isDraftMode:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=f,I=(0,j.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,z,!1):b.end("This page could not be found"),null);if(J&&!A){let a=!!B.routes[F],b=B.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(y.adapterPath)return await K();throw new s.NoFallbackError}}let L=null;!J||u.isDev||A||(L="/index"===(L=F)?"/":L);let M=!0===u.isDev||!J,N=J&&!M;H&&G&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,h.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,g.getRequestMeta)(a,"minimalMode"),T=(0,g.getRequestMeta)(a,"incrementalCache")||await u.getIncrementalCache(a,y,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:x,previewProps:B.preview,renderOpts:{experimental:{authInterrupts:!!y.experimental.authInterrupts,useCacheTimeout:y.experimental.useCacheTimeout},cacheComponents:!!y.cacheComponents,validationLevel:y.experimental.instantInsights.validationLevel,supportsDynamicResponse:M,incrementalCache:T,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:y.cacheLife,staticPageGenerationTimeout:y.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>u.onRequestError(a,b,d,e,C)},sharedContext:{buildId:v,deploymentId:w}},V=new k.NodeNextRequest(a),W=new k.NodeNextResponse(b),X=l.NextRequestAdapter.fromNodeNextRequest(V,(0,l.signalFromNodeResponse)(b)),Y=async({previousCacheEntry:e})=>{try{if(!S&&D&&E&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await u.handle(X,U);a.fetchMetrics=U.renderOpts.fetchMetrics;let f=U.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=U.renderOpts.collectedTags;if(!J)return await (0,o.I)(V,W,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?y.expireTime:void 0:U.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await u.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},Z=async(d,f)=>{try{var g,i;let d=await u.handleResponse({req:a,nextConfig:y,cacheKey:L,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:B,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:Y,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),A&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);S&&J||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(V,W,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(b){if(b instanceof s.NoFallbackError||await u.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;await (0,o.I)(V,W,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||I,g=`${O} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(R&&Q)await Z(Q,void 0);else{let b=P.getActiveScopeSpan();await P.withPropagatedContext(a.headers,()=>P.trace(m.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},a=>Z(a,b)),void 0,!R)}}},49796:(a,b,c)=>{"use strict";Object.defineProperty(b,"A",{enumerable:!0,get:function(){return d.registerServerReference}});let d=c(77943)},51455:a=>{"use strict";a.exports=require("node:fs/promises")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},77351:(a,b,c)=>{"use strict";c.d(b,{Z:()=>j});var d=c(86601);let e=Symbol("singleComment"),f=Symbol("multiComment"),g=()=>"",h=(a,b,c)=>a.slice(b,c).replace(/[^ \t\r\n]/g," "),i=(a,b)=>{let c=b-1,d=0;for(;"\\"===a[c];)--c,d+=1;return!!(d%2)};function j(a,b){let c=JSON.parse(function(a,{whitespace:b=!0,trailingCommas:c=!1}={}){if("string"!=typeof a)throw TypeError(`Expected argument \`jsonString\` to be a \`string\`, got \`${typeof a}\``);let d=b?h:g,j=!1,k=!1,l=0,m="",n="",o=-1;for(let b=0;b<a.length;b++){let g=a[b],h=a[b+1];if(!k&&'"'===g&&(i(a,b)||(j=!j)),!j)if(k||g+h!=="//")if(k===e&&g+h===`\r
|
|
6
6
|
`){k=!1,m+=d(a,l,++b),l=b;continue}else if(k===e&&g===`
|
|
7
7
|
`)k=!1,m+=d(a,l,b),l=b;else if(k||g+h!=="/*")if(k===f&&g+h==="*/"){k=!1,m+=d(a,l,++b+1),l=b+1;continue}else c&&!k&&(-1===o?","===g&&(n+=m+a.slice(l,b),m="",l=b,o=b):"}"===g||"]"===g?(m+=a.slice(l,b),n+=d(m,0,1)+m.slice(1),m="",l=b,o=-1):" "!==g&&" "!==g&&g!==`\r`&&g!==`
|
|
8
8
|
`&&(m+=a.slice(l,b),l=b,o=-1));else{m+=a.slice(l,b),l=b,k=f,b++;continue}else m+=a.slice(l,b),l=b,k=e,b++}return n+m+(k===e?d(a,l):a.slice(l))}((0,d.xi)(a),{trailingCommas:b?.allowTrailingComma}));return(0,d.$Z)(a,c,b),c}},77943:(a,b,c)=>{"use strict";a.exports=c(7553).vendored["react-rsc"].ReactServerDOMWebpackServer},78335:()=>{},79646:a=>{"use strict";a.exports=require("child_process")},79748:a=>{"use strict";a.exports=require("fs/promises")},80751:(a,b,c)=>{"use strict";c.d(b,{M:()=>u,q:()=>v});var d=c(86601);let e=/^(\d{4}-\d{2}-\d{2})?[T ]?(?:(\d{2}):\d{2}(?::\d{2}(?:\.\d+)?)?)?(Z|[-+]\d{2}:\d{2})?$/i;var f=class a extends Date{#a=!1;#b=!1;#c=null;constructor(a){let b=!0,c=!0,d="Z";if("string"==typeof a){let f=a.match(e);f?(f[1]||(b=!1,a=`0000-01-01T${a}`),(c=!!f[2])&&" "===a[10]&&(a=a.replace(" ","T")),f[2]&&+f[2]>23?a="":(d=f[3]||null,a=a.toUpperCase(),!d&&c&&(a+="Z"))):a=""}super(a),isNaN(this.getTime())||(this.#a=b,this.#b=c,this.#c=d)}isDateTime(){return this.#a&&this.#b}isLocal(){return!this.#a||!this.#b||!this.#c}isDate(){return this.#a&&!this.#b}isTime(){return this.#b&&!this.#a}isValid(){return this.#a||this.#b}toISOString(){let a=super.toISOString();if(this.isDate())return a.slice(0,10);if(this.isTime())return a.slice(11,23);if(null===this.#c)return a.slice(0,-1);if("Z"===this.#c)return a;let b=60*this.#c.slice(1,3)+ +this.#c.slice(4,6);return b="-"===this.#c[0]?b:-b,new Date(this.getTime()-6e4*b).toISOString().slice(0,-1)+this.#c}static wrapAsOffsetDateTime(b,c="Z"){let d=new a(b);return d.#c=c,d}static wrapAsLocalDateTime(b){let c=new a(b);return c.#c=null,c}static wrapAsLocalDate(b){let c=new a(b);return c.#b=!1,c.#c=null,c}static wrapAsLocalTime(b){let c=new a(b);return c.#a=!1,c.#c=null,c}},g=class extends Error{line;column;codeblock;constructor(a,b){let[c,d]=function(a,b){let c=a.slice(0,b).split(/\r\n|\n|\r/g);return[c.length,c.pop().length+1]}(b.toml,b.ptr),e=function(a,b,c){let d=a.split(/\r\n|\n|\r/g),e="",f=(0|Math.log10(b+1))+1;for(let a=b-1;a<=b+1;a++){let g=d[a-1];g&&(e+=a.toString().padEnd(f," "),e+=": ",e+=g,e+=`
|
|
@@ -20,4 +20,4 @@ ${e}`,b),this.line=c,this.column=d,this.codeblock=e}};function h(a,b=0){let c=a.
|
|
|
20
20
|
${g}`:`[${b}]`),g&&h?`${g}
|
|
21
21
|
${h}`:g||h}(0,a,"",b,c);return d[d.length-1]===`
|
|
22
22
|
`?d:d+`
|
|
23
|
-
`}(a);return b.whitespace.start+c+b.whitespace.end}},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},86601:(a,b,c)=>{"use strict";c.d(b,{gV:()=>l,$Z:()=>k,xi:()=>j});let d=/^(?:( )+|\t+)/,e="space";function f(a,b){let c=new Map,f=0,g,h;for(let i of a.split(/\n/g)){if(!i)continue;let a=i.match(d);if(null===a)f=0,g="";else{let d=a[0].length,i=a[1]?e:"tab";if(b&&i===e&&1===d)continue;i!==g&&(f=0),g=i;let j=1,k=0,l=d-f;if(f=d,0===l)j=0,k=1;else{let a=Math.abs(l);if(b&&i===e&&1===a)continue;h=(i===e?"s":"t")+String(a)}let m=c.get(h);c.set(h,void 0===m?[1,0]:[m[0]+j,m[1]+k])}}return c}let g=Symbol.for("__confbox_fmt__"),h=/^(\s+)/,i=/(\s+)$/;function j(a){return 65279===a.charCodeAt(0)?a.slice(1):a}function k(a,b,c){b&&"object"==typeof b&&Object.defineProperty(b,g,{enumerable:!1,configurable:!0,writable:!0,value:function(a,b={}){return{sample:void 0===b.indent&&!1!==b.preserveIndentation&&j(a).slice(0,b?.sampleSize||1024),whiteSpace:!1===b.preserveWhitespace?void 0:{start:h.exec(a)?.[0]||"",end:i.exec(a)?.[0]||""}}}(a,c)})}function l(a,b){if(!a||"object"!=typeof a||!(g in a))return{indent:b?.indent??2,whitespace:{start:"",end:""}};let c=a[g];return{indent:b?.indent||function(a){var b,c;if("string"!=typeof a)throw TypeError("Expected a string");let d=f(a,!0);0===d.size&&(d=f(a,!1));let g=function(a){let b,c=0,d=0;for(let[e,[f,g]]of a)(f>c||f===c&&g>d)&&(c=f,d=g,b=e);return b}(d),h,i=0,j="";return void 0!==g&&({type:h,amount:i}={type:"s"===g[0]?e:"tab",amount:Number(g.slice(1))},b=h,c=i,j=(b===e?" ":" ").repeat(c)),{amount:i,type:h,indent:j}}(c.sample||"").indent,whitespace:c.whiteSpace||{start:"",end:""}}}},96487:()=>{},97289:(a,b,c)=>{"use strict";c.d(b,{En:()=>n,JG:()=>l,xT:()=>m});var d=c(51455),e=c.n(d),f=c(23211),g=c(77351),h=c(80751),i=c(31223);class j extends Error{constructor(a,b){super(`Could not parse ${a}: ${b?.message||b}. Fix or remove the file, then retry — ${i.Hc.name} will not overwrite it.`),this.name="ConfigParseError",this.filePath=a}}let k=async(a,b)=>{let c;try{c=await e().readFile(a,"utf-8")}catch(a){if("ENOENT"===a.code)return null;throw a}if(!c.trim())return null;try{return b(c)}catch(b){throw new j(a,b)}},l=(a,b="object")=>k(a,a=>{let c=(0,g.Z)(a,{allowTrailingComma:!0});if(null===c)return null;let d=Array.isArray(c);if("array"===b?!d:d||"object"!=typeof c)throw Error(`expected a JSON ${b}`);return c}),m=a=>k(a,h.M),n=a=>a instanceof j?f.NextResponse.json({error:a.message},{status:422}):null},99928:a=>{"use strict";var b;let c=Object.freeze(["9router","tokenhop"]),d="tokenhop";function e(a,b){if(c.includes(a))return a;let d=c.map(a=>`"${a}"`).join(", ");throw Error(`${b}: unknown brand ${JSON.stringify(a)}; allowed values: ${d}`)}let f=""==(b="tokenhop")?d:e(b,"NEXT_PUBLIC_BRAND"),g=Object.freeze({name:"tokenhop",slug:"tokenhop",envPrefix:"TOKENHOP_",headerPrefix:"x-tokenhop-",jcodeApiKeyEnv:"JCODE_TOKENHOP_API_KEY",defaultApiKey:"sk_tokenhop",dataDirName:"tokenhop",samlIssuerDefault:"urn:tokenhop:sp",mitmCaCommonName:"tokenhop MITM Root CA",mitmCaOrg:"tokenhop",mitmCertFile:"tokenhop-root-ca.crt",pidFile:"tokenhop.pid",autostartLabel:"dev.tokenhop.autostart",autostartDesktopFile:"tokenhop.desktop",autostartVbsFile:"tokenhop.vbs",clientConfigKey:"tokenhop",customModelIdPrefix:"custom:tokenhop-",storageKeyPrefix:"tokenhop.",eventPrefix:"tokenhop:",backupFilePrefix:"tokenhop-backup-",npmPackage:"tokenhop",appPackage:"tokenhop-app",repoSlug:"tokenhop/tokenhop",repoUrl:"https://github.com/tokenhop/tokenhop",imageName:"ghcr.io/tokenhop/tokenhop",websiteUrl:"https://tokenhop.ai",docsUrl:"https://tokenhop.dev",wordmark:"tokenhop",favicon:"/brand/favicon.svg",faviconIco:"/brand/favicon.ico",appIcon192:"/brand/icons/icon-192.svg",appIcon512:"/brand/icons/icon-512.svg",trayIconName:"icon-tokenhop",trayIconTemplate:!0}),h=Object.freeze({names:Object.freeze(["9Router","9router"]),slug:"9router",envPrefixes:Object.freeze(["NINEROUTER_","NINE_ROUTER_"]),headerPrefix:"x-9router-",jcodeApiKeyEnv:"JCODE_9ROUTER_API_KEY",defaultApiKey:"sk_9router",dataDirName:"9router",samlIssuerDefault:"urn:9router:sp",mitmCaCommonName:"9Router MITM Root CA",mitmCaOrg:"9Router",mitmCertFile:"9router-root-ca.crt",pidFile:"9router.pid",autostartLabel:"com.9router.autostart",autostartDesktopFile:"9router.desktop",autostartVbsFile:"9router.vbs",clientConfigKeys:Object.freeze(["9router","9Router"]),customModelIdPrefix:"custom:9Router-",storageKeyPrefix:"9router.",eventPrefix:"9router:",backupFilePrefix:"9router-backup-",npmPackage:"9router",appPackage:"9router-app",repoSlug:"yandy-r/9router",repoUrl:"https://github.com/yandy-r/9router",imageName:"ghcr.io/yandy-r/9router",wordmark:"router",favicon:"/favicon.svg",faviconIco:"/favicon.ico",appIcon192:"/icons/icon-192.svg",appIcon512:"/icons/icon-512.svg",trayIconName:"icon",trayIconTemplate:!1}),i=Object.freeze({kimiPlatform:"9router",clineUserAgentProduct:"9Router",clineClientType:"9router",devinMcpClientName:"9router",coworkMcpClientName:"9router",cursorMcpProvider:"9router",glmMcpClientName:"9router",xaiUserAgent:"grok-cli/9router",xiaomiKeyNamePrefix:"9router-xmd-",githubUserAgent:"9Router",proxyTestUserAgent:"9Router",denoRelayKind:"9router-relay"}),j=new Set(["repoSlug","repoUrl","imageName","websiteUrl","docsUrl"]),k={name:"names",envPrefix:"envPrefixes",clientConfigKey:"clientConfigKeys"},l="tokenhop"===f?g:Object.freeze(Object.fromEntries(Object.keys(g).map(a=>{let b;return[a,j.has(a)?g[a]:Array.isArray(b=h[k[a]||a])?b[0]:b]}))),m=new Set;function n(a,b,c){if("tokenhop"!==f)return!1;let d=`${a}\u0000${b}`;return!m.has(d)&&(m.add(d),console.warn(`[tokenhop] deprecated ${a} "${b}" → use "${c}" (legacy support ends in v2.0.0)`),!0)}let o=/^[A-Z0-9]+(_[A-Z0-9]+)*$/;function p(a){if("string"!=typeof a||!o.test(a))throw Error(`envName: invalid suffix ${JSON.stringify(a)}; expected e.g. "PEER_TOKEN"`);return g.envPrefix+a}let q=/^(?!x-)[a-z0-9]+(-[a-z0-9]+)*$/;function r(a){return l.headerPrefix+function(a,b){if("string"!=typeof a||!q.test(a))throw Error(`${b}: invalid header name ${JSON.stringify(a)}; expected a bare lowercase name like "connection-id"`);return a}(a,"header")}a.exports={BRAND_IDS:c,DEFAULT_BRAND_ID:d,ACTIVE_BRAND_ID:f,isActiveBrand:function(a){return e(a,"isActiveBrand")===f},BRAND:g,LEGACY:h,ACTIVE:l,UPSTREAM_CLIENT_IDS:i,envName:p,readEnv:function(a,b=process.env){let c=p(a);if(void 0!==b[c])return b[c];for(let d of h.envPrefixes){let e=d+a;if(void 0!==b[e])return n("env var",e,c),b[e]}},warnLegacyOnce:n,header:r,legacyHeaderNames:function(a){let b=r(a);return[h.headerPrefix+a].filter(a=>a!==b)}}}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1813,3966],()=>b(b.s=46329));module.exports=c})();
|
|
23
|
+
`}(a);return b.whitespace.start+c+b.whitespace.end}},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},86601:(a,b,c)=>{"use strict";c.d(b,{gV:()=>l,$Z:()=>k,xi:()=>j});let d=/^(?:( )+|\t+)/,e="space";function f(a,b){let c=new Map,f=0,g,h;for(let i of a.split(/\n/g)){if(!i)continue;let a=i.match(d);if(null===a)f=0,g="";else{let d=a[0].length,i=a[1]?e:"tab";if(b&&i===e&&1===d)continue;i!==g&&(f=0),g=i;let j=1,k=0,l=d-f;if(f=d,0===l)j=0,k=1;else{let a=Math.abs(l);if(b&&i===e&&1===a)continue;h=(i===e?"s":"t")+String(a)}let m=c.get(h);c.set(h,void 0===m?[1,0]:[m[0]+j,m[1]+k])}}return c}let g=Symbol.for("__confbox_fmt__"),h=/^(\s+)/,i=/(\s+)$/;function j(a){return 65279===a.charCodeAt(0)?a.slice(1):a}function k(a,b,c){b&&"object"==typeof b&&Object.defineProperty(b,g,{enumerable:!1,configurable:!0,writable:!0,value:function(a,b={}){return{sample:void 0===b.indent&&!1!==b.preserveIndentation&&j(a).slice(0,b?.sampleSize||1024),whiteSpace:!1===b.preserveWhitespace?void 0:{start:h.exec(a)?.[0]||"",end:i.exec(a)?.[0]||""}}}(a,c)})}function l(a,b){if(!a||"object"!=typeof a||!(g in a))return{indent:b?.indent??2,whitespace:{start:"",end:""}};let c=a[g];return{indent:b?.indent||function(a){var b,c;if("string"!=typeof a)throw TypeError("Expected a string");let d=f(a,!0);0===d.size&&(d=f(a,!1));let g=function(a){let b,c=0,d=0;for(let[e,[f,g]]of a)(f>c||f===c&&g>d)&&(c=f,d=g,b=e);return b}(d),h,i=0,j="";return void 0!==g&&({type:h,amount:i}={type:"s"===g[0]?e:"tab",amount:Number(g.slice(1))},b=h,c=i,j=(b===e?" ":" ").repeat(c)),{amount:i,type:h,indent:j}}(c.sample||"").indent,whitespace:c.whiteSpace||{start:"",end:""}}}},96487:()=>{},97289:(a,b,c)=>{"use strict";c.d(b,{En:()=>n,JG:()=>l,xT:()=>m});var d=c(51455),e=c.n(d),f=c(23211),g=c(77351),h=c(80751),i=c(31223);class j extends Error{constructor(a,b){super(`Could not parse ${a}: ${b?.message||b}. Fix or remove the file, then retry — ${i.Hc.name} will not overwrite it.`),this.name="ConfigParseError",this.filePath=a}}let k=async(a,b)=>{let c;try{c=await e().readFile(a,"utf-8")}catch(a){if("ENOENT"===a.code)return null;throw a}if(!c.trim())return null;try{return b(c)}catch(b){throw new j(a,b)}},l=(a,b="object")=>k(a,a=>{let c=(0,g.Z)(a,{allowTrailingComma:!0});if(null===c)return null;let d=Array.isArray(c);if("array"===b?!d:d||"object"!=typeof c)throw Error(`expected a JSON ${b}`);return c}),m=a=>k(a,h.M),n=a=>a instanceof j?f.NextResponse.json({error:a.message},{status:422}):null},98496:(a,b,c)=>{"use strict";c.r(b),c.d(b,{"00559acbeb5db647e93a879acb0c315bc5dbe3308c":()=>d.GET,"0081ef57c136e0ff1c0b78bf3163c7b1968c8acf52":()=>d.DELETE,"40a9feb39ec3e0e0de9b95015479c6313a3709762e":()=>d.POST});var d=c(37211)},99928:a=>{"use strict";var b;let c=Object.freeze(["9router","tokenhop"]),d="tokenhop";function e(a,b){if(c.includes(a))return a;let d=c.map(a=>`"${a}"`).join(", ");throw Error(`${b}: unknown brand ${JSON.stringify(a)}; allowed values: ${d}`)}let f=""==(b="tokenhop")?d:e(b,"NEXT_PUBLIC_BRAND"),g=Object.freeze({name:"tokenhop",slug:"tokenhop",envPrefix:"TOKENHOP_",headerPrefix:"x-tokenhop-",jcodeApiKeyEnv:"JCODE_TOKENHOP_API_KEY",defaultApiKey:"sk_tokenhop",dataDirName:"tokenhop",samlIssuerDefault:"urn:tokenhop:sp",mitmCaCommonName:"tokenhop MITM Root CA",mitmCaOrg:"tokenhop",mitmCertFile:"tokenhop-root-ca.crt",pidFile:"tokenhop.pid",autostartLabel:"dev.tokenhop.autostart",autostartDesktopFile:"tokenhop.desktop",autostartVbsFile:"tokenhop.vbs",clientConfigKey:"tokenhop",customModelIdPrefix:"custom:tokenhop-",storageKeyPrefix:"tokenhop.",eventPrefix:"tokenhop:",backupFilePrefix:"tokenhop-backup-",npmPackage:"tokenhop",appPackage:"tokenhop-app",repoSlug:"tokenhop/tokenhop",repoUrl:"https://github.com/tokenhop/tokenhop",imageName:"ghcr.io/tokenhop/tokenhop",websiteUrl:"https://tokenhop.ai",docsUrl:"https://tokenhop.dev",wordmark:"tokenhop",favicon:"/brand/favicon.svg",faviconIco:"/brand/favicon.ico",appIcon192:"/brand/icons/icon-192.svg",appIcon512:"/brand/icons/icon-512.svg",trayIconName:"icon-tokenhop",trayIconTemplate:!0}),h=Object.freeze({names:Object.freeze(["9Router","9router"]),slug:"9router",envPrefixes:Object.freeze(["NINEROUTER_","NINE_ROUTER_"]),headerPrefix:"x-9router-",jcodeApiKeyEnv:"JCODE_9ROUTER_API_KEY",defaultApiKey:"sk_9router",dataDirName:"9router",samlIssuerDefault:"urn:9router:sp",mitmCaCommonName:"9Router MITM Root CA",mitmCaOrg:"9Router",mitmCertFile:"9router-root-ca.crt",pidFile:"9router.pid",autostartLabel:"com.9router.autostart",autostartDesktopFile:"9router.desktop",autostartVbsFile:"9router.vbs",clientConfigKeys:Object.freeze(["9router","9Router"]),customModelIdPrefix:"custom:9Router-",storageKeyPrefix:"9router.",eventPrefix:"9router:",backupFilePrefix:"9router-backup-",npmPackage:"9router",appPackage:"9router-app",repoSlug:"yandy-r/9router",repoUrl:"https://github.com/yandy-r/9router",imageName:"ghcr.io/yandy-r/9router",wordmark:"router",favicon:"/favicon.svg",faviconIco:"/favicon.ico",appIcon192:"/icons/icon-192.svg",appIcon512:"/icons/icon-512.svg",trayIconName:"icon",trayIconTemplate:!1}),i=Object.freeze({kimiPlatform:"9router",clineUserAgentProduct:"9Router",clineClientType:"9router",devinMcpClientName:"9router",coworkMcpClientName:"9router",cursorMcpProvider:"9router",glmMcpClientName:"9router",xaiUserAgent:"grok-cli/9router",xiaomiKeyNamePrefix:"9router-xmd-",githubUserAgent:"9Router",proxyTestUserAgent:"9Router",denoRelayKind:"9router-relay"}),j=new Set(["repoSlug","repoUrl","imageName","websiteUrl","docsUrl"]),k={name:"names",envPrefix:"envPrefixes",clientConfigKey:"clientConfigKeys"},l="tokenhop"===f?g:Object.freeze(Object.fromEntries(Object.keys(g).map(a=>{let b;return[a,j.has(a)?g[a]:Array.isArray(b=h[k[a]||a])?b[0]:b]}))),m=new Set;function n(a,b,c){if("tokenhop"!==f)return!1;let d=`${a}\u0000${b}`;return!m.has(d)&&(m.add(d),console.warn(`[tokenhop] deprecated ${a} "${b}" → use "${c}" (legacy support ends in v2.0.0)`),!0)}let o=/^[A-Z0-9]+(_[A-Z0-9]+)*$/;function p(a){if("string"!=typeof a||!o.test(a))throw Error(`envName: invalid suffix ${JSON.stringify(a)}; expected e.g. "PEER_TOKEN"`);return g.envPrefix+a}let q=/^(?!x-)[a-z0-9]+(-[a-z0-9]+)*$/;function r(a){return l.headerPrefix+function(a,b){if("string"!=typeof a||!q.test(a))throw Error(`${b}: invalid header name ${JSON.stringify(a)}; expected a bare lowercase name like "connection-id"`);return a}(a,"header")}a.exports={BRAND_IDS:c,DEFAULT_BRAND_ID:d,ACTIVE_BRAND_ID:f,isActiveBrand:function(a){return e(a,"isActiveBrand")===f},BRAND:g,LEGACY:h,ACTIVE:l,UPSTREAM_CLIENT_IDS:i,envName:p,readEnv:function(a,b=process.env){let c=p(a);if(void 0!==b[c])return b[c];for(let d of h.envPrefixes){let e=d+a;if(void 0!==b[e])return n("env var",e,c),b[e]}},warnLegacyOnce:n,header:r,legacyHeaderNames:function(a){let b=r(a);return[h.headerPrefix+a].filter(a=>a!==b)}}}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1813,3966],()=>b(b.s=46329));module.exports=c})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":1,"files":["../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../node_modules/@swc/helpers/esm/_interop_require_default.js","../../../../../../node_modules/@swc/helpers/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/blocking-route-messages.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-tracking.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../node_modules/next/dist/server/app-render/sync-io-messages.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/instant-messages.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/react/cjs/react.development.js","../../../../../../node_modules/react/cjs/react.production.js","../../../../../../node_modules/react/index.js","../../../../../../node_modules/react/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1129.js","../../../../chunks/1152.js","../../../../chunks/1159.js","../../../../chunks/1204.js","../../../../chunks/1227.js","../../../../chunks/1245.js","../../../../chunks/1320.js","../../../../chunks/1336.js","../../../../chunks/1432.js","../../../../chunks/1452.js","../../../../chunks/1455.js","../../../../chunks/1487.js","../../../../chunks/1533.js","../../../../chunks/1764.js","../../../../chunks/1778.js","../../../../chunks/1794.js","../../../../chunks/1813.js","../../../../chunks/1854.js","../../../../chunks/1863.js","../../../../chunks/1930.js","../../../../chunks/1952.js","../../../../chunks/1994.js","../../../../chunks/1998.js","../../../../chunks/2051.js","../../../../chunks/206.js","../../../../chunks/2116.js","../../../../chunks/2217.js","../../../../chunks/2380.js","../../../../chunks/24.js","../../../../chunks/241.js","../../../../chunks/2430.js","../../../../chunks/2460.js","../../../../chunks/2592.js","../../../../chunks/2600.js","../../../../chunks/3016.js","../../../../chunks/3097.js","../../../../chunks/318.js","../../../../chunks/3225.js","../../../../chunks/3306.js","../../../../chunks/3340.js","../../../../chunks/3535.js","../../../../chunks/3546.js","../../../../chunks/3558.js","../../../../chunks/3593.js","../../../../chunks/3676.js","../../../../chunks/368.js","../../../../chunks/385.js","../../../../chunks/3859.js","../../../../chunks/3894.js","../../../../chunks/3919.js","../../../../chunks/392.js","../../../../chunks/3943.js","../../../../chunks/3966.js","../../../../chunks/4000.js","../../../../chunks/4033.js","../../../../chunks/4037.js","../../../../chunks/4072.js","../../../../chunks/4114.js","../../../../chunks/4123.js","../../../../chunks/4125.js","../../../../chunks/4152.js","../../../../chunks/4199.js","../../../../chunks/4247.js","../../../../chunks/4334.js","../../../../chunks/4406.js","../../../../chunks/4452.js","../../../../chunks/4492.js","../../../../chunks/4521.js","../../../../chunks/4547.js","../../../../chunks/4685.js","../../../../chunks/4730.js","../../../../chunks/4739.js","../../../../chunks/4741.js","../../../../chunks/4780.js","../../../../chunks/4876.js","../../../../chunks/4892.js","../../../../chunks/4903.js","../../../../chunks/4954.js","../../../../chunks/499.js","../../../../chunks/5055.js","../../../../chunks/507.js","../../../../chunks/5081.js","../../../../chunks/5173.js","../../../../chunks/524.js","../../../../chunks/5258.js","../../../../chunks/5260.js","../../../../chunks/5335.js","../../../../chunks/539.js","../../../../chunks/5433.js","../../../../chunks/5497.js","../../../../chunks/5560.js","../../../../chunks/5573.js","../../../../chunks/5615.js","../../../../chunks/5699.js","../../../../chunks/5765.js","../../../../chunks/5781.js","../../../../chunks/5827.js","../../../../chunks/6000.js","../../../../chunks/6070.js","../../../../chunks/6103.js","../../../../chunks/620.js","../../../../chunks/6244.js","../../../../chunks/6252.js","../../../../chunks/6328.js","../../../../chunks/6353.js","../../../../chunks/6403.js","../../../../chunks/6427.js","../../../../chunks/6496.js","../../../../chunks/6551.js","../../../../chunks/6561.js","../../../../chunks/6565.js","../../../../chunks/6588.js","../../../../chunks/6589.js","../../../../chunks/6703.js","../../../../chunks/6734.js","../../../../chunks/6763.js","../../../../chunks/6844.js","../../../../chunks/6849.js","../../../../chunks/698.js","../../../../chunks/7023.js","../../../../chunks/7184.js","../../../../chunks/7211.js","../../../../chunks/7247.js","../../../../chunks/737.js","../../../../chunks/7382.js","../../../../chunks/7469.js","../../../../chunks/7616.js","../../../../chunks/7642.js","../../../../chunks/7716.js","../../../../chunks/7774.js","../../../../chunks/7819.js","../../../../chunks/7828.js","../../../../chunks/7901.js","../../../../chunks/7914.js","../../../../chunks/7965.js","../../../../chunks/8037.js","../../../../chunks/8062.js","../../../../chunks/8171.js","../../../../chunks/8255.js","../../../../chunks/8372.js","../../../../chunks/8416.js","../../../../chunks/8432.js","../../../../chunks/8468.js","../../../../chunks/8469.js","../../../../chunks/8520.js","../../../../chunks/8624.js","../../../../chunks/8658.js","../../../../chunks/8666.js","../../../../chunks/8708.js","../../../../chunks/8823.js","../../../../chunks/8853.js","../../../../chunks/8895.js","../../../../chunks/8920.js","../../../../chunks/8988.js","../../../../chunks/9124.js","../../../../chunks/915.js","../../../../chunks/9219.js","../../../../chunks/9243.js","../../../../chunks/9326.js","../../../../chunks/9343.js","../../../../chunks/9421.js","../../../../chunks/9489.js","../../../../chunks/9578.js","../../../../chunks/9594.js","../../../../chunks/9613.js","../../../../chunks/965.js","../../../../chunks/9710.js","../../../../chunks/9713.js","../../../../chunks/9755.js","../../../../chunks/9850.js","../../../../chunks/9899.js","../../../../chunks/9994.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]}
|
|
1
|
+
{"version":1,"files":["../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../node_modules/@swc/helpers/esm/_interop_require_default.js","../../../../../../node_modules/@swc/helpers/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/blocking-route-messages.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-tracking.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../node_modules/next/dist/server/app-render/sync-io-messages.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/instant-messages.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/react/cjs/react.development.js","../../../../../../node_modules/react/cjs/react.production.js","../../../../../../node_modules/react/index.js","../../../../../../node_modules/react/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1004.js","../../../../chunks/1129.js","../../../../chunks/1152.js","../../../../chunks/1159.js","../../../../chunks/1204.js","../../../../chunks/1215.js","../../../../chunks/1227.js","../../../../chunks/1245.js","../../../../chunks/1320.js","../../../../chunks/1336.js","../../../../chunks/1432.js","../../../../chunks/1452.js","../../../../chunks/1455.js","../../../../chunks/1487.js","../../../../chunks/1533.js","../../../../chunks/1778.js","../../../../chunks/1794.js","../../../../chunks/1813.js","../../../../chunks/1863.js","../../../../chunks/1930.js","../../../../chunks/1952.js","../../../../chunks/1994.js","../../../../chunks/1998.js","../../../../chunks/2051.js","../../../../chunks/206.js","../../../../chunks/2116.js","../../../../chunks/2217.js","../../../../chunks/2380.js","../../../../chunks/24.js","../../../../chunks/241.js","../../../../chunks/2430.js","../../../../chunks/2460.js","../../../../chunks/257.js","../../../../chunks/2592.js","../../../../chunks/2600.js","../../../../chunks/2705.js","../../../../chunks/3016.js","../../../../chunks/3097.js","../../../../chunks/318.js","../../../../chunks/3225.js","../../../../chunks/3340.js","../../../../chunks/3535.js","../../../../chunks/3546.js","../../../../chunks/3593.js","../../../../chunks/385.js","../../../../chunks/3859.js","../../../../chunks/3894.js","../../../../chunks/3919.js","../../../../chunks/392.js","../../../../chunks/3943.js","../../../../chunks/3966.js","../../../../chunks/4000.js","../../../../chunks/4033.js","../../../../chunks/4072.js","../../../../chunks/4114.js","../../../../chunks/4123.js","../../../../chunks/4125.js","../../../../chunks/4152.js","../../../../chunks/4247.js","../../../../chunks/4334.js","../../../../chunks/4406.js","../../../../chunks/4452.js","../../../../chunks/4492.js","../../../../chunks/4521.js","../../../../chunks/4547.js","../../../../chunks/4685.js","../../../../chunks/4730.js","../../../../chunks/4739.js","../../../../chunks/4741.js","../../../../chunks/4780.js","../../../../chunks/4876.js","../../../../chunks/4892.js","../../../../chunks/4954.js","../../../../chunks/499.js","../../../../chunks/5055.js","../../../../chunks/507.js","../../../../chunks/5081.js","../../../../chunks/5173.js","../../../../chunks/5230.js","../../../../chunks/524.js","../../../../chunks/5258.js","../../../../chunks/5260.js","../../../../chunks/5335.js","../../../../chunks/539.js","../../../../chunks/5433.js","../../../../chunks/5497.js","../../../../chunks/5559.js","../../../../chunks/5560.js","../../../../chunks/5573.js","../../../../chunks/5615.js","../../../../chunks/5649.js","../../../../chunks/5699.js","../../../../chunks/5765.js","../../../../chunks/5781.js","../../../../chunks/5827.js","../../../../chunks/5869.js","../../../../chunks/5908.js","../../../../chunks/6070.js","../../../../chunks/6103.js","../../../../chunks/620.js","../../../../chunks/6244.js","../../../../chunks/6252.js","../../../../chunks/6328.js","../../../../chunks/6353.js","../../../../chunks/6355.js","../../../../chunks/6427.js","../../../../chunks/6493.js","../../../../chunks/6496.js","../../../../chunks/6551.js","../../../../chunks/6561.js","../../../../chunks/6588.js","../../../../chunks/6589.js","../../../../chunks/6703.js","../../../../chunks/6763.js","../../../../chunks/6844.js","../../../../chunks/6849.js","../../../../chunks/698.js","../../../../chunks/7023.js","../../../../chunks/7184.js","../../../../chunks/7211.js","../../../../chunks/7247.js","../../../../chunks/737.js","../../../../chunks/7382.js","../../../../chunks/7469.js","../../../../chunks/7485.js","../../../../chunks/7616.js","../../../../chunks/7642.js","../../../../chunks/7695.js","../../../../chunks/7716.js","../../../../chunks/7774.js","../../../../chunks/7819.js","../../../../chunks/7828.js","../../../../chunks/7914.js","../../../../chunks/7965.js","../../../../chunks/8037.js","../../../../chunks/8062.js","../../../../chunks/8171.js","../../../../chunks/8255.js","../../../../chunks/8261.js","../../../../chunks/8416.js","../../../../chunks/8432.js","../../../../chunks/8468.js","../../../../chunks/8469.js","../../../../chunks/8520.js","../../../../chunks/8624.js","../../../../chunks/8658.js","../../../../chunks/8666.js","../../../../chunks/8708.js","../../../../chunks/878.js","../../../../chunks/8823.js","../../../../chunks/8853.js","../../../../chunks/8895.js","../../../../chunks/8920.js","../../../../chunks/8954.js","../../../../chunks/8988.js","../../../../chunks/9016.js","../../../../chunks/9124.js","../../../../chunks/915.js","../../../../chunks/9243.js","../../../../chunks/9326.js","../../../../chunks/9343.js","../../../../chunks/9421.js","../../../../chunks/9489.js","../../../../chunks/9578.js","../../../../chunks/9594.js","../../../../chunks/9613.js","../../../../chunks/965.js","../../../../chunks/9710.js","../../../../chunks/9713.js","../../../../chunks/9755.js","../../../../chunks/9850.js","../../../../chunks/9899.js","../../../../chunks/9994.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(()=>{var a={};a.id=4612,a.ids=[4612],a.modules={147:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>z,patchFetch:()=>y,routeModule:()=>u,serverHooks:()=>x,workAsyncStorage:()=>v,workUnitAsyncStorage:()=>w});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(37527);let u=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/cli-tools/kilo-settings/route",pathname:"/api/cli-tools/kilo-settings",filename:"route",bundlePath:"app/api/cli-tools/kilo-settings/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/tokenhop/tokenhop/src/app/api/cli-tools/kilo-settings/route.js",nextConfigOutput:"standalone",userland:()=>c(84419),...{}}),{workAsyncStorage:v,workUnitAsyncStorage:w,serverHooks:x}=u;function y(){return(0,f.patchFetch)({workAsyncStorage:v,workUnitAsyncStorage:w})}async function z(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),u.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/cli-tools/kilo-settings/route";"/index"===d&&(d="/");let f=await u.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:v,deploymentId:w,params:x,nextConfig:y,parsedUrl:z,isDraftMode:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=f,I=(0,j.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,z,!1):b.end("This page could not be found"),null);if(J&&!A){let a=!!B.routes[F],b=B.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(y.adapterPath)return await K();throw new s.NoFallbackError}}let L=null;!J||u.isDev||A||(L="/index"===(L=F)?"/":L);let M=!0===u.isDev||!J,N=J&&!M;H&&G&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,h.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,g.getRequestMeta)(a,"minimalMode"),T=(0,g.getRequestMeta)(a,"incrementalCache")||await u.getIncrementalCache(a,y,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:x,previewProps:B.preview,renderOpts:{experimental:{authInterrupts:!!y.experimental.authInterrupts,useCacheTimeout:y.experimental.useCacheTimeout},cacheComponents:!!y.cacheComponents,validationLevel:y.experimental.instantInsights.validationLevel,supportsDynamicResponse:M,incrementalCache:T,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:y.cacheLife,staticPageGenerationTimeout:y.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>u.onRequestError(a,b,d,e,C)},sharedContext:{buildId:v,deploymentId:w}},V=new k.NodeNextRequest(a),W=new k.NodeNextResponse(b),X=l.NextRequestAdapter.fromNodeNextRequest(V,(0,l.signalFromNodeResponse)(b)),Y=async({previousCacheEntry:e})=>{try{if(!S&&D&&E&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await u.handle(X,U);a.fetchMetrics=U.renderOpts.fetchMetrics;let f=U.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=U.renderOpts.collectedTags;if(!J)return await (0,o.I)(V,W,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?y.expireTime:void 0:U.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await u.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},Z=async(d,f)=>{try{var g,i;let d=await u.handleResponse({req:a,nextConfig:y,cacheKey:L,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:B,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:Y,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),A&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);S&&J||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(V,W,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(b){if(b instanceof s.NoFallbackError||await u.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;await (0,o.I)(V,W,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||I,g=`${O} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(R&&Q)await Z(Q,void 0);else{let b=P.getActiveScopeSpan();await P.withPropagatedContext(a.headers,()=>P.trace(m.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},a=>Z(a,b)),void 0,!R)}}},261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12994:(a,b,c)=>{"use strict";c.d(b,{CJ:()=>f,Yh:()=>e,jz:()=>g});var d=c(80751);c(31223);let e=a=>a.endsWith("/v1")?a:`${a}/v1`,f=a=>a.endsWith("/v1")?a.slice(0,-3):a,g=({format:a,value:b})=>"json"===a?JSON.stringify(b,null,2):"toml"===a&&"string"!=typeof b?(0,d.q)(b):b},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{"use strict";a.exports=require("os")},24424:(a,b)=>{"use strict";function c(a){for(let b=0;b<a.length;b++){let c=a[b];if("function"!=typeof c)throw Object.defineProperty(Error(`A "use server" file can only export async functions, found ${typeof c}.
|
|
1
|
+
(()=>{var a={};a.id=4612,a.ids=[4612],a.modules={147:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>z,patchFetch:()=>y,routeModule:()=>u,serverHooks:()=>x,workAsyncStorage:()=>v,workUnitAsyncStorage:()=>w});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(37527);let u=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/cli-tools/kilo-settings/route",pathname:"/api/cli-tools/kilo-settings",filename:"route",bundlePath:"app/api/cli-tools/kilo-settings/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/tokenhop/tokenhop/src/app/api/cli-tools/kilo-settings/route.js",nextConfigOutput:"standalone",userland:()=>c(84419),...{}}),{workAsyncStorage:v,workUnitAsyncStorage:w,serverHooks:x}=u;function y(){return(0,f.patchFetch)({workAsyncStorage:v,workUnitAsyncStorage:w})}async function z(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),u.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/cli-tools/kilo-settings/route";"/index"===d&&(d="/");let f=await u.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:v,deploymentId:w,params:x,nextConfig:y,parsedUrl:z,isDraftMode:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=f,I=(0,j.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,z,!1):b.end("This page could not be found"),null);if(J&&!A){let a=!!B.routes[F],b=B.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(y.adapterPath)return await K();throw new s.NoFallbackError}}let L=null;!J||u.isDev||A||(L="/index"===(L=F)?"/":L);let M=!0===u.isDev||!J,N=J&&!M;H&&G&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,h.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,g.getRequestMeta)(a,"minimalMode"),T=(0,g.getRequestMeta)(a,"incrementalCache")||await u.getIncrementalCache(a,y,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:x,previewProps:B.preview,renderOpts:{experimental:{authInterrupts:!!y.experimental.authInterrupts,useCacheTimeout:y.experimental.useCacheTimeout},cacheComponents:!!y.cacheComponents,validationLevel:y.experimental.instantInsights.validationLevel,supportsDynamicResponse:M,incrementalCache:T,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:y.cacheLife,staticPageGenerationTimeout:y.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>u.onRequestError(a,b,d,e,C)},sharedContext:{buildId:v,deploymentId:w}},V=new k.NodeNextRequest(a),W=new k.NodeNextResponse(b),X=l.NextRequestAdapter.fromNodeNextRequest(V,(0,l.signalFromNodeResponse)(b)),Y=async({previousCacheEntry:e})=>{try{if(!S&&D&&E&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await u.handle(X,U);a.fetchMetrics=U.renderOpts.fetchMetrics;let f=U.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=U.renderOpts.collectedTags;if(!J)return await (0,o.I)(V,W,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?y.expireTime:void 0:U.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await u.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},Z=async(d,f)=>{try{var g,i;let d=await u.handleResponse({req:a,nextConfig:y,cacheKey:L,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:B,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:Y,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),A&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);S&&J||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(V,W,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(b){if(b instanceof s.NoFallbackError||await u.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;await (0,o.I)(V,W,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||I,g=`${O} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(R&&Q)await Z(Q,void 0);else{let b=P.getActiveScopeSpan();await P.withPropagatedContext(a.headers,()=>P.trace(m.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},a=>Z(a,b)),void 0,!R)}}},261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12994:(a,b,c)=>{"use strict";c.d(b,{CJ:()=>f,Yh:()=>e,jz:()=>g});var d=c(80751);c(31223);let e=a=>a.endsWith("/v1")?a:`${a}/v1`,f=a=>a.endsWith("/v1")?a.slice(0,-3):a,g=({format:a,value:b})=>"json"===a?JSON.stringify(b,null,2):"toml"===a&&"string"!=typeof b?(0,d.q)(b):b},15039:(a,b,c)=>{"use strict";c.r(b),c.d(b,{"000b9f9c02153adf378a431efdb7672d21cfeafc97":()=>d.GET,"00e867ac04fa8b50e1657ecb7a744d542c0a824ec0":()=>d.DELETE,"40a3e9bed1399c7d51ccaa7a692feb36c4638f3d6f":()=>d.POST});var d=c(84419)},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{"use strict";a.exports=require("os")},24424:(a,b)=>{"use strict";function c(a){for(let b=0;b<a.length;b++){let c=a[b];if("function"!=typeof c)throw Object.defineProperty(Error(`A "use server" file can only export async functions, found ${typeof c}.
|
|
2
2
|
Read more: https://nextjs.org/docs/messages/invalid-use-server-value`),"__NEXT_ERROR_CODE",{value:"E352",enumerable:!1,configurable:!0})}}Object.defineProperty(b,"D",{enumerable:!0,get:function(){return c}})},24586:(a,b,c)=>{"use strict";c.d(b,{B:()=>q,NO:()=>n,UE:()=>t,ZS:()=>p,eU:()=>f,f:()=>l,fK:()=>i,gT:()=>j,hK:()=>k,ic:()=>o,jh:()=>h,lv:()=>m,u3:()=>e,v4:()=>u,zi:()=>v,zq:()=>g});var d=c(31223);let e=d.Hc.clientConfigKey,f=d.Hc.name,g=d.Hc.jcodeApiKeyEnv,h=Object.freeze(e===d.qt.clientConfigKey?[...d.qx.clientConfigKeys]:[]),i=Object.freeze([...new Set([e,d.qt.clientConfigKey,...d.qx.clientConfigKeys])]),j=Object.freeze([...new Set([g,d.qt.jcodeApiKeyEnv,d.qx.jcodeApiKeyEnv])]),k=a=>i.includes(a),l=a=>{for(let b of i)if(a?.[b]!=null)return a[b]},m=a=>`${e}/${a}`,n=a=>{if("string"!=typeof a)return null;let b=a.indexOf("/");if(b<=0||b===a.length-1)return null;let c=a.slice(0,b);return k(c)?{key:c,model:a.slice(b+1)}:null},o=a=>h.includes(n(a)?.key)?m(n(a).model):a,p=a=>"string"==typeof a&&i.some(b=>a.includes(b)),q=d.Hc.customModelIdPrefix,r=[...new Set([q,d.qt.customModelIdPrefix,d.qx.customModelIdPrefix])],s=q===d.qt.customModelIdPrefix?[d.qx.customModelIdPrefix]:[],t=a=>"string"==typeof a&&r.some(b=>a.startsWith(b)),u=a=>"string"==typeof a&&[q,...s].some(b=>a.startsWith(b)),v=a=>{let b;for(let c of h)a?.[c]!=null&&(b??=a[c],delete a[c]);return b}},28354:a=>{"use strict";a.exports=require("util")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31223:(a,b,c)=>{"use strict";c.d(b,{Hc:()=>k,LZ:()=>q,T0:()=>o,bY:()=>l,qt:()=>i,qx:()=>j,sx:()=>n,wx:()=>p});var d=c(99928);let{BRAND_IDS:e,DEFAULT_BRAND_ID:f,ACTIVE_BRAND_ID:g,isActiveBrand:h,BRAND:i,LEGACY:j,ACTIVE:k,UPSTREAM_CLIENT_IDS:l,envName:m,readEnv:n,warnLegacyOnce:o,header:p,legacyHeaderNames:q}=c.n(d)()},33873:a=>{"use strict";a.exports=require("path")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},49796:(a,b,c)=>{"use strict";Object.defineProperty(b,"A",{enumerable:!0,get:function(){return d.registerServerReference}});let d=c(77943)},51455:a=>{"use strict";a.exports=require("node:fs/promises")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},77351:(a,b,c)=>{"use strict";c.d(b,{Z:()=>j});var d=c(86601);let e=Symbol("singleComment"),f=Symbol("multiComment"),g=()=>"",h=(a,b,c)=>a.slice(b,c).replace(/[^ \t\r\n]/g," "),i=(a,b)=>{let c=b-1,d=0;for(;"\\"===a[c];)--c,d+=1;return!!(d%2)};function j(a,b){let c=JSON.parse(function(a,{whitespace:b=!0,trailingCommas:c=!1}={}){if("string"!=typeof a)throw TypeError(`Expected argument \`jsonString\` to be a \`string\`, got \`${typeof a}\``);let d=b?h:g,j=!1,k=!1,l=0,m="",n="",o=-1;for(let b=0;b<a.length;b++){let g=a[b],h=a[b+1];if(!k&&'"'===g&&(i(a,b)||(j=!j)),!j)if(k||g+h!=="//")if(k===e&&g+h===`\r
|
|
3
3
|
`){k=!1,m+=d(a,l,++b),l=b;continue}else if(k===e&&g===`
|
|
4
4
|
`)k=!1,m+=d(a,l,b),l=b;else if(k||g+h!=="/*")if(k===f&&g+h==="*/"){k=!1,m+=d(a,l,++b+1),l=b+1;continue}else c&&!k&&(-1===o?","===g&&(n+=m+a.slice(l,b),m="",l=b,o=b):"}"===g||"]"===g?(m+=a.slice(l,b),n+=d(m,0,1)+m.slice(1),m="",l=b,o=-1):" "!==g&&" "!==g&&g!==`\r`&&g!==`
|
|
@@ -17,4 +17,4 @@ ${e}`,b),this.line=c,this.column=d,this.codeblock=e}};function h(a,b=0){let c=a.
|
|
|
17
17
|
${g}`:`[${b}]`),g&&h?`${g}
|
|
18
18
|
${h}`:g||h}(0,a,"",b,c);return d[d.length-1]===`
|
|
19
19
|
`?d:d+`
|
|
20
|
-
`}(a);return b.whitespace.start+c+b.whitespace.end}},84419:(a,b,c)=>{"use strict";c.r(b),c.d(b,{DELETE:()=>z,GET:()=>x,POST:()=>y});var d=c(49796),e=c(23211),f=c(79646),g=c(28354),h=c(79748),i=c.n(h),j=c(33873),k=c.n(j),l=c(21820),m=c.n(l),n=c(97289),o=c(24586),p=c(12994),q=c(24424);let r=(0,g.promisify)(f.exec),s=()=>k().join(m().homedir(),".local","share","kilo"),t=()=>k().join(s(),"auth.json"),u=()=>k().join(m().homedir(),".config","Code","User","settings.json"),v=async()=>{try{let a="win32"===m().platform(),b=a?{...process.env,PATH:`${process.env.APPDATA}\\npm;${process.env.PATH}`}:process.env;return await r(a?"where kilo":"which kilo",{windowsHide:!0,env:b}),!0}catch{try{return await i().access(t()),!0}catch{return!1}}},w=async a=>{try{return await (0,n.JG)(a)}catch{return null}};async function x(){try{if(!await v())return e.NextResponse.json({installed:!1,settings:null,message:"Kilo Code CLI is not installed"});let a=await w(t());return e.NextResponse.json({installed:!0,settings:{auth:a?Object.keys(a):[]},hasTokenhop:(a=>{if(!a)return!1;let b=a["openai-compatible"]||(0,o.f)(a);if(!b)return!1;let c=b.baseUrl||b.baseURL||"";return c.includes("localhost")||c.includes("127.0.0.1")||(0,o.ZS)(c)})(a),authPath:t()})}catch(a){return console.log("Error checking kilo settings:",a),e.NextResponse.json({error:"Failed to check kilo settings"},{status:500})}}async function y(a){try{let{baseUrl:b,apiKey:c,model:d}=await a.json();if(!b||!c||!d)return e.NextResponse.json({error:"baseUrl, apiKey and model are required"},{status:400});await i().mkdir(s(),{recursive:!0});let[f,g]=(({baseUrl:a,apiKey:b,model:c})=>{if(!c)return null;let d=(0,p.Yh)(a);return[{file:"~/.local/share/kilo/auth.json",format:"json",merge:!0,value:{"openai-compatible":{type:"api-key",apiKey:b,baseUrl:d,model:c}}},{file:"~/.config/Code/User/settings.json",format:"json",merge:!0,value:{"kilocode.customProvider":{name:o.eU,baseURL:d,apiKey:b},"kilocode.defaultModel":c}}]})({baseUrl:b,apiKey:c,model:d}),h=await (0,n.JG)(t())||{};(0,o.zi)(h),Object.assign(h,f.value),await i().writeFile(t(),JSON.stringify(h,null,2));try{let a=await (0,n.JG)(u())||{};Object.assign(a,g.value),await i().writeFile(u(),JSON.stringify(a,null,2))}catch{}return e.NextResponse.json({success:!0,message:"Kilo Code settings applied successfully!",authPath:t()})}catch(b){let a=(0,n.En)(b);if(a)return a;return console.log("Error updating kilo settings:",b),e.NextResponse.json({error:"Failed to update kilo settings"},{status:500})}}async function z(){try{let a=await (0,n.JG)(t());if(!a)return e.NextResponse.json({success:!0,message:"No settings file to reset"});for(let b of(delete a["openai-compatible"],o.fK))delete a[b];await i().writeFile(t(),JSON.stringify(a,null,2));try{let a=await (0,n.JG)(u());a&&(delete a["kilocode.customProvider"],delete a["kilocode.defaultModel"],await i().writeFile(u(),JSON.stringify(a,null,2)))}catch{}return e.NextResponse.json({success:!0,message:`${o.eU} settings removed from Kilo Code`})}catch(b){let a=(0,n.En)(b);if(a)return a;return console.log("Error resetting kilo settings:",b),e.NextResponse.json({error:"Failed to reset kilo settings"},{status:500})}}(0,q.D)([x,y,z]),(0,d.A)(x,"00b1d94634c2c94f8bed7d388203b1fd3b95fa2dfc",null),(0,d.A)(y,"40f58a5088e79b0c2a2f93197f80995aa054b90542",null),(0,d.A)(z,"000415e0898fe623bfadefacbfc36225d7fbb6a19d",null)},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},86601:(a,b,c)=>{"use strict";c.d(b,{gV:()=>l,$Z:()=>k,xi:()=>j});let d=/^(?:( )+|\t+)/,e="space";function f(a,b){let c=new Map,f=0,g,h;for(let i of a.split(/\n/g)){if(!i)continue;let a=i.match(d);if(null===a)f=0,g="";else{let d=a[0].length,i=a[1]?e:"tab";if(b&&i===e&&1===d)continue;i!==g&&(f=0),g=i;let j=1,k=0,l=d-f;if(f=d,0===l)j=0,k=1;else{let a=Math.abs(l);if(b&&i===e&&1===a)continue;h=(i===e?"s":"t")+String(a)}let m=c.get(h);c.set(h,void 0===m?[1,0]:[m[0]+j,m[1]+k])}}return c}let g=Symbol.for("__confbox_fmt__"),h=/^(\s+)/,i=/(\s+)$/;function j(a){return 65279===a.charCodeAt(0)?a.slice(1):a}function k(a,b,c){b&&"object"==typeof b&&Object.defineProperty(b,g,{enumerable:!1,configurable:!0,writable:!0,value:function(a,b={}){return{sample:void 0===b.indent&&!1!==b.preserveIndentation&&j(a).slice(0,b?.sampleSize||1024),whiteSpace:!1===b.preserveWhitespace?void 0:{start:h.exec(a)?.[0]||"",end:i.exec(a)?.[0]||""}}}(a,c)})}function l(a,b){if(!a||"object"!=typeof a||!(g in a))return{indent:b?.indent??2,whitespace:{start:"",end:""}};let c=a[g];return{indent:b?.indent||function(a){var b,c;if("string"!=typeof a)throw TypeError("Expected a string");let d=f(a,!0);0===d.size&&(d=f(a,!1));let g=function(a){let b,c=0,d=0;for(let[e,[f,g]]of a)(f>c||f===c&&g>d)&&(c=f,d=g,b=e);return b}(d),h,i=0,j="";return void 0!==g&&({type:h,amount:i}={type:"s"===g[0]?e:"tab",amount:Number(g.slice(1))},b=h,c=i,j=(b===e?" ":" ").repeat(c)),{amount:i,type:h,indent:j}}(c.sample||"").indent,whitespace:c.whiteSpace||{start:"",end:""}}}},95986:(a,b,c)=>{"use strict";c.r(b),c.d(b,{"000415e0898fe623bfadefacbfc36225d7fbb6a19d":()=>d.DELETE,"00b1d94634c2c94f8bed7d388203b1fd3b95fa2dfc":()=>d.GET,"40f58a5088e79b0c2a2f93197f80995aa054b90542":()=>d.POST});var d=c(84419)},96487:()=>{},97289:(a,b,c)=>{"use strict";c.d(b,{En:()=>n,JG:()=>l,xT:()=>m});var d=c(51455),e=c.n(d),f=c(23211),g=c(77351),h=c(80751),i=c(31223);class j extends Error{constructor(a,b){super(`Could not parse ${a}: ${b?.message||b}. Fix or remove the file, then retry — ${i.Hc.name} will not overwrite it.`),this.name="ConfigParseError",this.filePath=a}}let k=async(a,b)=>{let c;try{c=await e().readFile(a,"utf-8")}catch(a){if("ENOENT"===a.code)return null;throw a}if(!c.trim())return null;try{return b(c)}catch(b){throw new j(a,b)}},l=(a,b="object")=>k(a,a=>{let c=(0,g.Z)(a,{allowTrailingComma:!0});if(null===c)return null;let d=Array.isArray(c);if("array"===b?!d:d||"object"!=typeof c)throw Error(`expected a JSON ${b}`);return c}),m=a=>k(a,h.M),n=a=>a instanceof j?f.NextResponse.json({error:a.message},{status:422}):null},99928:a=>{"use strict";var b;let c=Object.freeze(["9router","tokenhop"]),d="tokenhop";function e(a,b){if(c.includes(a))return a;let d=c.map(a=>`"${a}"`).join(", ");throw Error(`${b}: unknown brand ${JSON.stringify(a)}; allowed values: ${d}`)}let f=""==(b="tokenhop")?d:e(b,"NEXT_PUBLIC_BRAND"),g=Object.freeze({name:"tokenhop",slug:"tokenhop",envPrefix:"TOKENHOP_",headerPrefix:"x-tokenhop-",jcodeApiKeyEnv:"JCODE_TOKENHOP_API_KEY",defaultApiKey:"sk_tokenhop",dataDirName:"tokenhop",samlIssuerDefault:"urn:tokenhop:sp",mitmCaCommonName:"tokenhop MITM Root CA",mitmCaOrg:"tokenhop",mitmCertFile:"tokenhop-root-ca.crt",pidFile:"tokenhop.pid",autostartLabel:"dev.tokenhop.autostart",autostartDesktopFile:"tokenhop.desktop",autostartVbsFile:"tokenhop.vbs",clientConfigKey:"tokenhop",customModelIdPrefix:"custom:tokenhop-",storageKeyPrefix:"tokenhop.",eventPrefix:"tokenhop:",backupFilePrefix:"tokenhop-backup-",npmPackage:"tokenhop",appPackage:"tokenhop-app",repoSlug:"tokenhop/tokenhop",repoUrl:"https://github.com/tokenhop/tokenhop",imageName:"ghcr.io/tokenhop/tokenhop",websiteUrl:"https://tokenhop.ai",docsUrl:"https://tokenhop.dev",wordmark:"tokenhop",favicon:"/brand/favicon.svg",faviconIco:"/brand/favicon.ico",appIcon192:"/brand/icons/icon-192.svg",appIcon512:"/brand/icons/icon-512.svg",trayIconName:"icon-tokenhop",trayIconTemplate:!0}),h=Object.freeze({names:Object.freeze(["9Router","9router"]),slug:"9router",envPrefixes:Object.freeze(["NINEROUTER_","NINE_ROUTER_"]),headerPrefix:"x-9router-",jcodeApiKeyEnv:"JCODE_9ROUTER_API_KEY",defaultApiKey:"sk_9router",dataDirName:"9router",samlIssuerDefault:"urn:9router:sp",mitmCaCommonName:"9Router MITM Root CA",mitmCaOrg:"9Router",mitmCertFile:"9router-root-ca.crt",pidFile:"9router.pid",autostartLabel:"com.9router.autostart",autostartDesktopFile:"9router.desktop",autostartVbsFile:"9router.vbs",clientConfigKeys:Object.freeze(["9router","9Router"]),customModelIdPrefix:"custom:9Router-",storageKeyPrefix:"9router.",eventPrefix:"9router:",backupFilePrefix:"9router-backup-",npmPackage:"9router",appPackage:"9router-app",repoSlug:"yandy-r/9router",repoUrl:"https://github.com/yandy-r/9router",imageName:"ghcr.io/yandy-r/9router",wordmark:"router",favicon:"/favicon.svg",faviconIco:"/favicon.ico",appIcon192:"/icons/icon-192.svg",appIcon512:"/icons/icon-512.svg",trayIconName:"icon",trayIconTemplate:!1}),i=Object.freeze({kimiPlatform:"9router",clineUserAgentProduct:"9Router",clineClientType:"9router",devinMcpClientName:"9router",coworkMcpClientName:"9router",cursorMcpProvider:"9router",glmMcpClientName:"9router",xaiUserAgent:"grok-cli/9router",xiaomiKeyNamePrefix:"9router-xmd-",githubUserAgent:"9Router",proxyTestUserAgent:"9Router",denoRelayKind:"9router-relay"}),j=new Set(["repoSlug","repoUrl","imageName","websiteUrl","docsUrl"]),k={name:"names",envPrefix:"envPrefixes",clientConfigKey:"clientConfigKeys"},l="tokenhop"===f?g:Object.freeze(Object.fromEntries(Object.keys(g).map(a=>{let b;return[a,j.has(a)?g[a]:Array.isArray(b=h[k[a]||a])?b[0]:b]}))),m=new Set;function n(a,b,c){if("tokenhop"!==f)return!1;let d=`${a}\u0000${b}`;return!m.has(d)&&(m.add(d),console.warn(`[tokenhop] deprecated ${a} "${b}" → use "${c}" (legacy support ends in v2.0.0)`),!0)}let o=/^[A-Z0-9]+(_[A-Z0-9]+)*$/;function p(a){if("string"!=typeof a||!o.test(a))throw Error(`envName: invalid suffix ${JSON.stringify(a)}; expected e.g. "PEER_TOKEN"`);return g.envPrefix+a}let q=/^(?!x-)[a-z0-9]+(-[a-z0-9]+)*$/;function r(a){return l.headerPrefix+function(a,b){if("string"!=typeof a||!q.test(a))throw Error(`${b}: invalid header name ${JSON.stringify(a)}; expected a bare lowercase name like "connection-id"`);return a}(a,"header")}a.exports={BRAND_IDS:c,DEFAULT_BRAND_ID:d,ACTIVE_BRAND_ID:f,isActiveBrand:function(a){return e(a,"isActiveBrand")===f},BRAND:g,LEGACY:h,ACTIVE:l,UPSTREAM_CLIENT_IDS:i,envName:p,readEnv:function(a,b=process.env){let c=p(a);if(void 0!==b[c])return b[c];for(let d of h.envPrefixes){let e=d+a;if(void 0!==b[e])return n("env var",e,c),b[e]}},warnLegacyOnce:n,header:r,legacyHeaderNames:function(a){let b=r(a);return[h.headerPrefix+a].filter(a=>a!==b)}}}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1813],()=>b(b.s=147));module.exports=c})();
|
|
20
|
+
`}(a);return b.whitespace.start+c+b.whitespace.end}},84419:(a,b,c)=>{"use strict";c.r(b),c.d(b,{DELETE:()=>z,GET:()=>x,POST:()=>y});var d=c(49796),e=c(23211),f=c(79646),g=c(28354),h=c(79748),i=c.n(h),j=c(33873),k=c.n(j),l=c(21820),m=c.n(l),n=c(97289),o=c(24586),p=c(12994),q=c(24424);let r=(0,g.promisify)(f.exec),s=()=>k().join(m().homedir(),".local","share","kilo"),t=()=>k().join(s(),"auth.json"),u=()=>k().join(m().homedir(),".config","Code","User","settings.json"),v=async()=>{try{let a="win32"===m().platform(),b=a?{...process.env,PATH:`${process.env.APPDATA}\\npm;${process.env.PATH}`}:process.env;return await r(a?"where kilo":"which kilo",{windowsHide:!0,env:b}),!0}catch{try{return await i().access(t()),!0}catch{return!1}}},w=async a=>{try{return await (0,n.JG)(a)}catch{return null}};async function x(){try{if(!await v())return e.NextResponse.json({installed:!1,settings:null,message:"Kilo Code CLI is not installed"});let a=await w(t());return e.NextResponse.json({installed:!0,settings:{auth:a?Object.keys(a):[]},hasTokenhop:(a=>{if(!a)return!1;let b=a["openai-compatible"]||(0,o.f)(a);if(!b)return!1;let c=b.baseUrl||b.baseURL||"";return c.includes("localhost")||c.includes("127.0.0.1")||(0,o.ZS)(c)})(a),authPath:t()})}catch(a){return console.log("Error checking kilo settings:",a),e.NextResponse.json({error:"Failed to check kilo settings"},{status:500})}}async function y(a){try{let{baseUrl:b,apiKey:c,model:d}=await a.json();if(!b||!c||!d)return e.NextResponse.json({error:"baseUrl, apiKey and model are required"},{status:400});await i().mkdir(s(),{recursive:!0});let[f,g]=(({baseUrl:a,apiKey:b,model:c})=>{if(!c)return null;let d=(0,p.Yh)(a);return[{file:"~/.local/share/kilo/auth.json",format:"json",merge:!0,value:{"openai-compatible":{type:"api-key",apiKey:b,baseUrl:d,model:c}}},{file:"~/.config/Code/User/settings.json",format:"json",merge:!0,value:{"kilocode.customProvider":{name:o.eU,baseURL:d,apiKey:b},"kilocode.defaultModel":c}}]})({baseUrl:b,apiKey:c,model:d}),h=await (0,n.JG)(t())||{};(0,o.zi)(h),Object.assign(h,f.value),await i().writeFile(t(),JSON.stringify(h,null,2));try{let a=await (0,n.JG)(u())||{};Object.assign(a,g.value),await i().writeFile(u(),JSON.stringify(a,null,2))}catch{}return e.NextResponse.json({success:!0,message:"Kilo Code settings applied successfully!",authPath:t()})}catch(b){let a=(0,n.En)(b);if(a)return a;return console.log("Error updating kilo settings:",b),e.NextResponse.json({error:"Failed to update kilo settings"},{status:500})}}async function z(){try{let a=await (0,n.JG)(t());if(!a)return e.NextResponse.json({success:!0,message:"No settings file to reset"});for(let b of(delete a["openai-compatible"],o.fK))delete a[b];await i().writeFile(t(),JSON.stringify(a,null,2));try{let a=await (0,n.JG)(u());a&&(delete a["kilocode.customProvider"],delete a["kilocode.defaultModel"],await i().writeFile(u(),JSON.stringify(a,null,2)))}catch{}return e.NextResponse.json({success:!0,message:`${o.eU} settings removed from Kilo Code`})}catch(b){let a=(0,n.En)(b);if(a)return a;return console.log("Error resetting kilo settings:",b),e.NextResponse.json({error:"Failed to reset kilo settings"},{status:500})}}(0,q.D)([x,y,z]),(0,d.A)(x,"000b9f9c02153adf378a431efdb7672d21cfeafc97",null),(0,d.A)(y,"40a3e9bed1399c7d51ccaa7a692feb36c4638f3d6f",null),(0,d.A)(z,"00e867ac04fa8b50e1657ecb7a744d542c0a824ec0",null)},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},86601:(a,b,c)=>{"use strict";c.d(b,{gV:()=>l,$Z:()=>k,xi:()=>j});let d=/^(?:( )+|\t+)/,e="space";function f(a,b){let c=new Map,f=0,g,h;for(let i of a.split(/\n/g)){if(!i)continue;let a=i.match(d);if(null===a)f=0,g="";else{let d=a[0].length,i=a[1]?e:"tab";if(b&&i===e&&1===d)continue;i!==g&&(f=0),g=i;let j=1,k=0,l=d-f;if(f=d,0===l)j=0,k=1;else{let a=Math.abs(l);if(b&&i===e&&1===a)continue;h=(i===e?"s":"t")+String(a)}let m=c.get(h);c.set(h,void 0===m?[1,0]:[m[0]+j,m[1]+k])}}return c}let g=Symbol.for("__confbox_fmt__"),h=/^(\s+)/,i=/(\s+)$/;function j(a){return 65279===a.charCodeAt(0)?a.slice(1):a}function k(a,b,c){b&&"object"==typeof b&&Object.defineProperty(b,g,{enumerable:!1,configurable:!0,writable:!0,value:function(a,b={}){return{sample:void 0===b.indent&&!1!==b.preserveIndentation&&j(a).slice(0,b?.sampleSize||1024),whiteSpace:!1===b.preserveWhitespace?void 0:{start:h.exec(a)?.[0]||"",end:i.exec(a)?.[0]||""}}}(a,c)})}function l(a,b){if(!a||"object"!=typeof a||!(g in a))return{indent:b?.indent??2,whitespace:{start:"",end:""}};let c=a[g];return{indent:b?.indent||function(a){var b,c;if("string"!=typeof a)throw TypeError("Expected a string");let d=f(a,!0);0===d.size&&(d=f(a,!1));let g=function(a){let b,c=0,d=0;for(let[e,[f,g]]of a)(f>c||f===c&&g>d)&&(c=f,d=g,b=e);return b}(d),h,i=0,j="";return void 0!==g&&({type:h,amount:i}={type:"s"===g[0]?e:"tab",amount:Number(g.slice(1))},b=h,c=i,j=(b===e?" ":" ").repeat(c)),{amount:i,type:h,indent:j}}(c.sample||"").indent,whitespace:c.whiteSpace||{start:"",end:""}}}},96487:()=>{},97289:(a,b,c)=>{"use strict";c.d(b,{En:()=>n,JG:()=>l,xT:()=>m});var d=c(51455),e=c.n(d),f=c(23211),g=c(77351),h=c(80751),i=c(31223);class j extends Error{constructor(a,b){super(`Could not parse ${a}: ${b?.message||b}. Fix or remove the file, then retry — ${i.Hc.name} will not overwrite it.`),this.name="ConfigParseError",this.filePath=a}}let k=async(a,b)=>{let c;try{c=await e().readFile(a,"utf-8")}catch(a){if("ENOENT"===a.code)return null;throw a}if(!c.trim())return null;try{return b(c)}catch(b){throw new j(a,b)}},l=(a,b="object")=>k(a,a=>{let c=(0,g.Z)(a,{allowTrailingComma:!0});if(null===c)return null;let d=Array.isArray(c);if("array"===b?!d:d||"object"!=typeof c)throw Error(`expected a JSON ${b}`);return c}),m=a=>k(a,h.M),n=a=>a instanceof j?f.NextResponse.json({error:a.message},{status:422}):null},99928:a=>{"use strict";var b;let c=Object.freeze(["9router","tokenhop"]),d="tokenhop";function e(a,b){if(c.includes(a))return a;let d=c.map(a=>`"${a}"`).join(", ");throw Error(`${b}: unknown brand ${JSON.stringify(a)}; allowed values: ${d}`)}let f=""==(b="tokenhop")?d:e(b,"NEXT_PUBLIC_BRAND"),g=Object.freeze({name:"tokenhop",slug:"tokenhop",envPrefix:"TOKENHOP_",headerPrefix:"x-tokenhop-",jcodeApiKeyEnv:"JCODE_TOKENHOP_API_KEY",defaultApiKey:"sk_tokenhop",dataDirName:"tokenhop",samlIssuerDefault:"urn:tokenhop:sp",mitmCaCommonName:"tokenhop MITM Root CA",mitmCaOrg:"tokenhop",mitmCertFile:"tokenhop-root-ca.crt",pidFile:"tokenhop.pid",autostartLabel:"dev.tokenhop.autostart",autostartDesktopFile:"tokenhop.desktop",autostartVbsFile:"tokenhop.vbs",clientConfigKey:"tokenhop",customModelIdPrefix:"custom:tokenhop-",storageKeyPrefix:"tokenhop.",eventPrefix:"tokenhop:",backupFilePrefix:"tokenhop-backup-",npmPackage:"tokenhop",appPackage:"tokenhop-app",repoSlug:"tokenhop/tokenhop",repoUrl:"https://github.com/tokenhop/tokenhop",imageName:"ghcr.io/tokenhop/tokenhop",websiteUrl:"https://tokenhop.ai",docsUrl:"https://tokenhop.dev",wordmark:"tokenhop",favicon:"/brand/favicon.svg",faviconIco:"/brand/favicon.ico",appIcon192:"/brand/icons/icon-192.svg",appIcon512:"/brand/icons/icon-512.svg",trayIconName:"icon-tokenhop",trayIconTemplate:!0}),h=Object.freeze({names:Object.freeze(["9Router","9router"]),slug:"9router",envPrefixes:Object.freeze(["NINEROUTER_","NINE_ROUTER_"]),headerPrefix:"x-9router-",jcodeApiKeyEnv:"JCODE_9ROUTER_API_KEY",defaultApiKey:"sk_9router",dataDirName:"9router",samlIssuerDefault:"urn:9router:sp",mitmCaCommonName:"9Router MITM Root CA",mitmCaOrg:"9Router",mitmCertFile:"9router-root-ca.crt",pidFile:"9router.pid",autostartLabel:"com.9router.autostart",autostartDesktopFile:"9router.desktop",autostartVbsFile:"9router.vbs",clientConfigKeys:Object.freeze(["9router","9Router"]),customModelIdPrefix:"custom:9Router-",storageKeyPrefix:"9router.",eventPrefix:"9router:",backupFilePrefix:"9router-backup-",npmPackage:"9router",appPackage:"9router-app",repoSlug:"yandy-r/9router",repoUrl:"https://github.com/yandy-r/9router",imageName:"ghcr.io/yandy-r/9router",wordmark:"router",favicon:"/favicon.svg",faviconIco:"/favicon.ico",appIcon192:"/icons/icon-192.svg",appIcon512:"/icons/icon-512.svg",trayIconName:"icon",trayIconTemplate:!1}),i=Object.freeze({kimiPlatform:"9router",clineUserAgentProduct:"9Router",clineClientType:"9router",devinMcpClientName:"9router",coworkMcpClientName:"9router",cursorMcpProvider:"9router",glmMcpClientName:"9router",xaiUserAgent:"grok-cli/9router",xiaomiKeyNamePrefix:"9router-xmd-",githubUserAgent:"9Router",proxyTestUserAgent:"9Router",denoRelayKind:"9router-relay"}),j=new Set(["repoSlug","repoUrl","imageName","websiteUrl","docsUrl"]),k={name:"names",envPrefix:"envPrefixes",clientConfigKey:"clientConfigKeys"},l="tokenhop"===f?g:Object.freeze(Object.fromEntries(Object.keys(g).map(a=>{let b;return[a,j.has(a)?g[a]:Array.isArray(b=h[k[a]||a])?b[0]:b]}))),m=new Set;function n(a,b,c){if("tokenhop"!==f)return!1;let d=`${a}\u0000${b}`;return!m.has(d)&&(m.add(d),console.warn(`[tokenhop] deprecated ${a} "${b}" → use "${c}" (legacy support ends in v2.0.0)`),!0)}let o=/^[A-Z0-9]+(_[A-Z0-9]+)*$/;function p(a){if("string"!=typeof a||!o.test(a))throw Error(`envName: invalid suffix ${JSON.stringify(a)}; expected e.g. "PEER_TOKEN"`);return g.envPrefix+a}let q=/^(?!x-)[a-z0-9]+(-[a-z0-9]+)*$/;function r(a){return l.headerPrefix+function(a,b){if("string"!=typeof a||!q.test(a))throw Error(`${b}: invalid header name ${JSON.stringify(a)}; expected a bare lowercase name like "connection-id"`);return a}(a,"header")}a.exports={BRAND_IDS:c,DEFAULT_BRAND_ID:d,ACTIVE_BRAND_ID:f,isActiveBrand:function(a){return e(a,"isActiveBrand")===f},BRAND:g,LEGACY:h,ACTIVE:l,UPSTREAM_CLIENT_IDS:i,envName:p,readEnv:function(a,b=process.env){let c=p(a);if(void 0!==b[c])return b[c];for(let d of h.envPrefixes){let e=d+a;if(void 0!==b[e])return n("env var",e,c),b[e]}},warnLegacyOnce:n,header:r,legacyHeaderNames:function(a){let b=r(a);return[h.headerPrefix+a].filter(a=>a!==b)}}}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1813],()=>b(b.s=147));module.exports=c})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":1,"files":["../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../node_modules/@swc/helpers/esm/_interop_require_default.js","../../../../../../node_modules/@swc/helpers/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/blocking-route-messages.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-tracking.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../node_modules/next/dist/server/app-render/sync-io-messages.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/instant-messages.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/react/cjs/react.development.js","../../../../../../node_modules/react/cjs/react.production.js","../../../../../../node_modules/react/index.js","../../../../../../node_modules/react/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1129.js","../../../../chunks/1152.js","../../../../chunks/1159.js","../../../../chunks/1204.js","../../../../chunks/1227.js","../../../../chunks/1245.js","../../../../chunks/1320.js","../../../../chunks/1336.js","../../../../chunks/1432.js","../../../../chunks/1452.js","../../../../chunks/1455.js","../../../../chunks/1487.js","../../../../chunks/1533.js","../../../../chunks/1764.js","../../../../chunks/1778.js","../../../../chunks/1794.js","../../../../chunks/1813.js","../../../../chunks/1854.js","../../../../chunks/1863.js","../../../../chunks/1930.js","../../../../chunks/1952.js","../../../../chunks/1994.js","../../../../chunks/1998.js","../../../../chunks/2051.js","../../../../chunks/206.js","../../../../chunks/2116.js","../../../../chunks/2217.js","../../../../chunks/2380.js","../../../../chunks/24.js","../../../../chunks/241.js","../../../../chunks/2430.js","../../../../chunks/2460.js","../../../../chunks/2592.js","../../../../chunks/2600.js","../../../../chunks/3016.js","../../../../chunks/3097.js","../../../../chunks/318.js","../../../../chunks/3225.js","../../../../chunks/3306.js","../../../../chunks/3340.js","../../../../chunks/3535.js","../../../../chunks/3546.js","../../../../chunks/3558.js","../../../../chunks/3593.js","../../../../chunks/3676.js","../../../../chunks/368.js","../../../../chunks/385.js","../../../../chunks/3859.js","../../../../chunks/3894.js","../../../../chunks/3919.js","../../../../chunks/392.js","../../../../chunks/3943.js","../../../../chunks/3966.js","../../../../chunks/4000.js","../../../../chunks/4033.js","../../../../chunks/4037.js","../../../../chunks/4072.js","../../../../chunks/4114.js","../../../../chunks/4123.js","../../../../chunks/4125.js","../../../../chunks/4152.js","../../../../chunks/4199.js","../../../../chunks/4247.js","../../../../chunks/4334.js","../../../../chunks/4406.js","../../../../chunks/4452.js","../../../../chunks/4492.js","../../../../chunks/4521.js","../../../../chunks/4547.js","../../../../chunks/4685.js","../../../../chunks/4730.js","../../../../chunks/4739.js","../../../../chunks/4741.js","../../../../chunks/4780.js","../../../../chunks/4876.js","../../../../chunks/4892.js","../../../../chunks/4903.js","../../../../chunks/4954.js","../../../../chunks/499.js","../../../../chunks/5055.js","../../../../chunks/507.js","../../../../chunks/5081.js","../../../../chunks/5173.js","../../../../chunks/524.js","../../../../chunks/5258.js","../../../../chunks/5260.js","../../../../chunks/5335.js","../../../../chunks/539.js","../../../../chunks/5433.js","../../../../chunks/5497.js","../../../../chunks/5560.js","../../../../chunks/5573.js","../../../../chunks/5615.js","../../../../chunks/5699.js","../../../../chunks/5765.js","../../../../chunks/5781.js","../../../../chunks/5827.js","../../../../chunks/6000.js","../../../../chunks/6070.js","../../../../chunks/6103.js","../../../../chunks/620.js","../../../../chunks/6244.js","../../../../chunks/6252.js","../../../../chunks/6328.js","../../../../chunks/6353.js","../../../../chunks/6403.js","../../../../chunks/6427.js","../../../../chunks/6496.js","../../../../chunks/6551.js","../../../../chunks/6561.js","../../../../chunks/6565.js","../../../../chunks/6588.js","../../../../chunks/6589.js","../../../../chunks/6703.js","../../../../chunks/6734.js","../../../../chunks/6763.js","../../../../chunks/6844.js","../../../../chunks/6849.js","../../../../chunks/698.js","../../../../chunks/7023.js","../../../../chunks/7184.js","../../../../chunks/7211.js","../../../../chunks/7247.js","../../../../chunks/737.js","../../../../chunks/7382.js","../../../../chunks/7469.js","../../../../chunks/7616.js","../../../../chunks/7642.js","../../../../chunks/7716.js","../../../../chunks/7774.js","../../../../chunks/7819.js","../../../../chunks/7828.js","../../../../chunks/7901.js","../../../../chunks/7914.js","../../../../chunks/7965.js","../../../../chunks/8037.js","../../../../chunks/8062.js","../../../../chunks/8171.js","../../../../chunks/8255.js","../../../../chunks/8372.js","../../../../chunks/8416.js","../../../../chunks/8432.js","../../../../chunks/8468.js","../../../../chunks/8469.js","../../../../chunks/8520.js","../../../../chunks/8624.js","../../../../chunks/8658.js","../../../../chunks/8666.js","../../../../chunks/8708.js","../../../../chunks/8823.js","../../../../chunks/8853.js","../../../../chunks/8895.js","../../../../chunks/8920.js","../../../../chunks/8988.js","../../../../chunks/9124.js","../../../../chunks/915.js","../../../../chunks/9219.js","../../../../chunks/9243.js","../../../../chunks/9326.js","../../../../chunks/9343.js","../../../../chunks/9421.js","../../../../chunks/9489.js","../../../../chunks/9578.js","../../../../chunks/9594.js","../../../../chunks/9613.js","../../../../chunks/965.js","../../../../chunks/9710.js","../../../../chunks/9713.js","../../../../chunks/9755.js","../../../../chunks/9850.js","../../../../chunks/9899.js","../../../../chunks/9994.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]}
|
|
1
|
+
{"version":1,"files":["../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../node_modules/@swc/helpers/esm/_interop_require_default.js","../../../../../../node_modules/@swc/helpers/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/blocking-route-messages.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-tracking.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../node_modules/next/dist/server/app-render/sync-io-messages.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/instant-messages.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/react/cjs/react.development.js","../../../../../../node_modules/react/cjs/react.production.js","../../../../../../node_modules/react/index.js","../../../../../../node_modules/react/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1004.js","../../../../chunks/1129.js","../../../../chunks/1152.js","../../../../chunks/1159.js","../../../../chunks/1204.js","../../../../chunks/1215.js","../../../../chunks/1227.js","../../../../chunks/1245.js","../../../../chunks/1320.js","../../../../chunks/1336.js","../../../../chunks/1432.js","../../../../chunks/1452.js","../../../../chunks/1455.js","../../../../chunks/1487.js","../../../../chunks/1533.js","../../../../chunks/1778.js","../../../../chunks/1794.js","../../../../chunks/1813.js","../../../../chunks/1863.js","../../../../chunks/1930.js","../../../../chunks/1952.js","../../../../chunks/1994.js","../../../../chunks/1998.js","../../../../chunks/2051.js","../../../../chunks/206.js","../../../../chunks/2116.js","../../../../chunks/2217.js","../../../../chunks/2380.js","../../../../chunks/24.js","../../../../chunks/241.js","../../../../chunks/2430.js","../../../../chunks/2460.js","../../../../chunks/257.js","../../../../chunks/2592.js","../../../../chunks/2600.js","../../../../chunks/2705.js","../../../../chunks/3016.js","../../../../chunks/3097.js","../../../../chunks/318.js","../../../../chunks/3225.js","../../../../chunks/3340.js","../../../../chunks/3535.js","../../../../chunks/3546.js","../../../../chunks/3593.js","../../../../chunks/385.js","../../../../chunks/3859.js","../../../../chunks/3894.js","../../../../chunks/3919.js","../../../../chunks/392.js","../../../../chunks/3943.js","../../../../chunks/3966.js","../../../../chunks/4000.js","../../../../chunks/4033.js","../../../../chunks/4072.js","../../../../chunks/4114.js","../../../../chunks/4123.js","../../../../chunks/4125.js","../../../../chunks/4152.js","../../../../chunks/4247.js","../../../../chunks/4334.js","../../../../chunks/4406.js","../../../../chunks/4452.js","../../../../chunks/4492.js","../../../../chunks/4521.js","../../../../chunks/4547.js","../../../../chunks/4685.js","../../../../chunks/4730.js","../../../../chunks/4739.js","../../../../chunks/4741.js","../../../../chunks/4780.js","../../../../chunks/4876.js","../../../../chunks/4892.js","../../../../chunks/4954.js","../../../../chunks/499.js","../../../../chunks/5055.js","../../../../chunks/507.js","../../../../chunks/5081.js","../../../../chunks/5173.js","../../../../chunks/5230.js","../../../../chunks/524.js","../../../../chunks/5258.js","../../../../chunks/5260.js","../../../../chunks/5335.js","../../../../chunks/539.js","../../../../chunks/5433.js","../../../../chunks/5497.js","../../../../chunks/5559.js","../../../../chunks/5560.js","../../../../chunks/5573.js","../../../../chunks/5615.js","../../../../chunks/5649.js","../../../../chunks/5699.js","../../../../chunks/5765.js","../../../../chunks/5781.js","../../../../chunks/5827.js","../../../../chunks/5869.js","../../../../chunks/5908.js","../../../../chunks/6070.js","../../../../chunks/6103.js","../../../../chunks/620.js","../../../../chunks/6244.js","../../../../chunks/6252.js","../../../../chunks/6328.js","../../../../chunks/6353.js","../../../../chunks/6355.js","../../../../chunks/6427.js","../../../../chunks/6493.js","../../../../chunks/6496.js","../../../../chunks/6551.js","../../../../chunks/6561.js","../../../../chunks/6588.js","../../../../chunks/6589.js","../../../../chunks/6703.js","../../../../chunks/6763.js","../../../../chunks/6844.js","../../../../chunks/6849.js","../../../../chunks/698.js","../../../../chunks/7023.js","../../../../chunks/7184.js","../../../../chunks/7211.js","../../../../chunks/7247.js","../../../../chunks/737.js","../../../../chunks/7382.js","../../../../chunks/7469.js","../../../../chunks/7485.js","../../../../chunks/7616.js","../../../../chunks/7642.js","../../../../chunks/7695.js","../../../../chunks/7716.js","../../../../chunks/7774.js","../../../../chunks/7819.js","../../../../chunks/7828.js","../../../../chunks/7914.js","../../../../chunks/7965.js","../../../../chunks/8037.js","../../../../chunks/8062.js","../../../../chunks/8171.js","../../../../chunks/8255.js","../../../../chunks/8261.js","../../../../chunks/8416.js","../../../../chunks/8432.js","../../../../chunks/8468.js","../../../../chunks/8469.js","../../../../chunks/8520.js","../../../../chunks/8624.js","../../../../chunks/8658.js","../../../../chunks/8666.js","../../../../chunks/8708.js","../../../../chunks/878.js","../../../../chunks/8823.js","../../../../chunks/8853.js","../../../../chunks/8895.js","../../../../chunks/8920.js","../../../../chunks/8954.js","../../../../chunks/8988.js","../../../../chunks/9016.js","../../../../chunks/9124.js","../../../../chunks/915.js","../../../../chunks/9243.js","../../../../chunks/9326.js","../../../../chunks/9343.js","../../../../chunks/9421.js","../../../../chunks/9489.js","../../../../chunks/9578.js","../../../../chunks/9594.js","../../../../chunks/9613.js","../../../../chunks/965.js","../../../../chunks/9710.js","../../../../chunks/9713.js","../../../../chunks/9755.js","../../../../chunks/9850.js","../../../../chunks/9899.js","../../../../chunks/9994.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(()=>{var a={};a.id=1110,a.ids=[1110],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12994:(a,b,c)=>{"use strict";c.d(b,{CJ:()=>f,Yh:()=>e,jz:()=>g});var d=c(80751);c(31223);let e=a=>a.endsWith("/v1")?a:`${a}/v1`,f=a=>a.endsWith("/v1")?a.slice(0,-3):a,g=({format:a,value:b})=>"json"===a?JSON.stringify(b,null,2):"toml"===a&&"string"!=typeof b?(0,d.q)(b):b},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21803:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>z,patchFetch:()=>y,routeModule:()=>u,serverHooks:()=>x,workAsyncStorage:()=>v,workUnitAsyncStorage:()=>w});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(37527);let u=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/cli-tools/openclaw-settings/route",pathname:"/api/cli-tools/openclaw-settings",filename:"route",bundlePath:"app/api/cli-tools/openclaw-settings/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/tokenhop/tokenhop/src/app/api/cli-tools/openclaw-settings/route.js",nextConfigOutput:"standalone",userland:()=>c(78558),...{}}),{workAsyncStorage:v,workUnitAsyncStorage:w,serverHooks:x}=u;function y(){return(0,f.patchFetch)({workAsyncStorage:v,workUnitAsyncStorage:w})}async function z(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),u.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/cli-tools/openclaw-settings/route";"/index"===d&&(d="/");let f=await u.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:v,deploymentId:w,params:x,nextConfig:y,parsedUrl:z,isDraftMode:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=f,I=(0,j.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,z,!1):b.end("This page could not be found"),null);if(J&&!A){let a=!!B.routes[F],b=B.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(y.adapterPath)return await K();throw new s.NoFallbackError}}let L=null;!J||u.isDev||A||(L="/index"===(L=F)?"/":L);let M=!0===u.isDev||!J,N=J&&!M;H&&G&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,h.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,g.getRequestMeta)(a,"minimalMode"),T=(0,g.getRequestMeta)(a,"incrementalCache")||await u.getIncrementalCache(a,y,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:x,previewProps:B.preview,renderOpts:{experimental:{authInterrupts:!!y.experimental.authInterrupts,useCacheTimeout:y.experimental.useCacheTimeout},cacheComponents:!!y.cacheComponents,validationLevel:y.experimental.instantInsights.validationLevel,supportsDynamicResponse:M,incrementalCache:T,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:y.cacheLife,staticPageGenerationTimeout:y.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>u.onRequestError(a,b,d,e,C)},sharedContext:{buildId:v,deploymentId:w}},V=new k.NodeNextRequest(a),W=new k.NodeNextResponse(b),X=l.NextRequestAdapter.fromNodeNextRequest(V,(0,l.signalFromNodeResponse)(b)),Y=async({previousCacheEntry:e})=>{try{if(!S&&D&&E&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await u.handle(X,U);a.fetchMetrics=U.renderOpts.fetchMetrics;let f=U.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=U.renderOpts.collectedTags;if(!J)return await (0,o.I)(V,W,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?y.expireTime:void 0:U.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await u.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},Z=async(d,f)=>{try{var g,i;let d=await u.handleResponse({req:a,nextConfig:y,cacheKey:L,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:B,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:Y,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),A&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);S&&J||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(V,W,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(b){if(b instanceof s.NoFallbackError||await u.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;await (0,o.I)(V,W,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||I,g=`${O} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(R&&Q)await Z(Q,void 0);else{let b=P.getActiveScopeSpan();await P.withPropagatedContext(a.headers,()=>P.trace(m.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},a=>Z(a,b)),void 0,!R)}}},21820:a=>{"use strict";a.exports=require("os")},24424:(a,b)=>{"use strict";function c(a){for(let b=0;b<a.length;b++){let c=a[b];if("function"!=typeof c)throw Object.defineProperty(Error(`A "use server" file can only export async functions, found ${typeof c}.
|
|
2
|
-
Read more: https://nextjs.org/docs/messages/invalid-use-server-value`),"__NEXT_ERROR_CODE",{value:"E352",enumerable:!1,configurable:!0})}}Object.defineProperty(b,"D",{enumerable:!0,get:function(){return c}})},24586:(a,b,c)=>{"use strict";c.d(b,{B:()=>q,NO:()=>n,UE:()=>t,ZS:()=>p,eU:()=>f,f:()=>l,fK:()=>i,gT:()=>j,hK:()=>k,ic:()=>o,jh:()=>h,lv:()=>m,u3:()=>e,v4:()=>u,zi:()=>v,zq:()=>g});var d=c(31223);let e=d.Hc.clientConfigKey,f=d.Hc.name,g=d.Hc.jcodeApiKeyEnv,h=Object.freeze(e===d.qt.clientConfigKey?[...d.qx.clientConfigKeys]:[]),i=Object.freeze([...new Set([e,d.qt.clientConfigKey,...d.qx.clientConfigKeys])]),j=Object.freeze([...new Set([g,d.qt.jcodeApiKeyEnv,d.qx.jcodeApiKeyEnv])]),k=a=>i.includes(a),l=a=>{for(let b of i)if(a?.[b]!=null)return a[b]},m=a=>`${e}/${a}`,n=a=>{if("string"!=typeof a)return null;let b=a.indexOf("/");if(b<=0||b===a.length-1)return null;let c=a.slice(0,b);return k(c)?{key:c,model:a.slice(b+1)}:null},o=a=>h.includes(n(a)?.key)?m(n(a).model):a,p=a=>"string"==typeof a&&i.some(b=>a.includes(b)),q=d.Hc.customModelIdPrefix,r=[...new Set([q,d.qt.customModelIdPrefix,d.qx.customModelIdPrefix])],s=q===d.qt.customModelIdPrefix?[d.qx.customModelIdPrefix]:[],t=a=>"string"==typeof a&&r.some(b=>a.startsWith(b)),u=a=>"string"==typeof a&&[q,...s].some(b=>a.startsWith(b)),v=a=>{let b;for(let c of h)a?.[c]!=null&&(b??=a[c],delete a[c]);return b}},28354:a=>{"use strict";a.exports=require("util")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31223:(a,b,c)=>{"use strict";c.d(b,{Hc:()=>k,LZ:()=>q,T0:()=>o,bY:()=>l,qt:()=>i,qx:()=>j,sx:()=>n,wx:()=>p});var d=c(99928);let{BRAND_IDS:e,DEFAULT_BRAND_ID:f,ACTIVE_BRAND_ID:g,isActiveBrand:h,BRAND:i,LEGACY:j,ACTIVE:k,UPSTREAM_CLIENT_IDS:l,envName:m,readEnv:n,warnLegacyOnce:o,header:p,legacyHeaderNames:q}=c.n(d)()},
|
|
2
|
+
Read more: https://nextjs.org/docs/messages/invalid-use-server-value`),"__NEXT_ERROR_CODE",{value:"E352",enumerable:!1,configurable:!0})}}Object.defineProperty(b,"D",{enumerable:!0,get:function(){return c}})},24586:(a,b,c)=>{"use strict";c.d(b,{B:()=>q,NO:()=>n,UE:()=>t,ZS:()=>p,eU:()=>f,f:()=>l,fK:()=>i,gT:()=>j,hK:()=>k,ic:()=>o,jh:()=>h,lv:()=>m,u3:()=>e,v4:()=>u,zi:()=>v,zq:()=>g});var d=c(31223);let e=d.Hc.clientConfigKey,f=d.Hc.name,g=d.Hc.jcodeApiKeyEnv,h=Object.freeze(e===d.qt.clientConfigKey?[...d.qx.clientConfigKeys]:[]),i=Object.freeze([...new Set([e,d.qt.clientConfigKey,...d.qx.clientConfigKeys])]),j=Object.freeze([...new Set([g,d.qt.jcodeApiKeyEnv,d.qx.jcodeApiKeyEnv])]),k=a=>i.includes(a),l=a=>{for(let b of i)if(a?.[b]!=null)return a[b]},m=a=>`${e}/${a}`,n=a=>{if("string"!=typeof a)return null;let b=a.indexOf("/");if(b<=0||b===a.length-1)return null;let c=a.slice(0,b);return k(c)?{key:c,model:a.slice(b+1)}:null},o=a=>h.includes(n(a)?.key)?m(n(a).model):a,p=a=>"string"==typeof a&&i.some(b=>a.includes(b)),q=d.Hc.customModelIdPrefix,r=[...new Set([q,d.qt.customModelIdPrefix,d.qx.customModelIdPrefix])],s=q===d.qt.customModelIdPrefix?[d.qx.customModelIdPrefix]:[],t=a=>"string"==typeof a&&r.some(b=>a.startsWith(b)),u=a=>"string"==typeof a&&[q,...s].some(b=>a.startsWith(b)),v=a=>{let b;for(let c of h)a?.[c]!=null&&(b??=a[c],delete a[c]);return b}},25377:(a,b,c)=>{"use strict";c.r(b),c.d(b,{"00b4d9ac4973476d825f31274bf58de5b8c314dfc1":()=>d.GET,"00e6cfa86c8adbd4475848aaa32c701e3a2357d505":()=>d.DELETE,"4013ecb6522897e4cbb2f1f361059b01f1439165cc":()=>d.POST});var d=c(78558)},28354:a=>{"use strict";a.exports=require("util")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31223:(a,b,c)=>{"use strict";c.d(b,{Hc:()=>k,LZ:()=>q,T0:()=>o,bY:()=>l,qt:()=>i,qx:()=>j,sx:()=>n,wx:()=>p});var d=c(99928);let{BRAND_IDS:e,DEFAULT_BRAND_ID:f,ACTIVE_BRAND_ID:g,isActiveBrand:h,BRAND:i,LEGACY:j,ACTIVE:k,UPSTREAM_CLIENT_IDS:l,envName:m,readEnv:n,warnLegacyOnce:o,header:p,legacyHeaderNames:q}=c.n(d)()},33873:a=>{"use strict";a.exports=require("path")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},49796:(a,b,c)=>{"use strict";Object.defineProperty(b,"A",{enumerable:!0,get:function(){return d.registerServerReference}});let d=c(77943)},51455:a=>{"use strict";a.exports=require("node:fs/promises")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},77351:(a,b,c)=>{"use strict";c.d(b,{Z:()=>j});var d=c(86601);let e=Symbol("singleComment"),f=Symbol("multiComment"),g=()=>"",h=(a,b,c)=>a.slice(b,c).replace(/[^ \t\r\n]/g," "),i=(a,b)=>{let c=b-1,d=0;for(;"\\"===a[c];)--c,d+=1;return!!(d%2)};function j(a,b){let c=JSON.parse(function(a,{whitespace:b=!0,trailingCommas:c=!1}={}){if("string"!=typeof a)throw TypeError(`Expected argument \`jsonString\` to be a \`string\`, got \`${typeof a}\``);let d=b?h:g,j=!1,k=!1,l=0,m="",n="",o=-1;for(let b=0;b<a.length;b++){let g=a[b],h=a[b+1];if(!k&&'"'===g&&(i(a,b)||(j=!j)),!j)if(k||g+h!=="//")if(k===e&&g+h===`\r
|
|
3
3
|
`){k=!1,m+=d(a,l,++b),l=b;continue}else if(k===e&&g===`
|
|
4
4
|
`)k=!1,m+=d(a,l,b),l=b;else if(k||g+h!=="/*")if(k===f&&g+h==="*/"){k=!1,m+=d(a,l,++b+1),l=b+1;continue}else c&&!k&&(-1===o?","===g&&(n+=m+a.slice(l,b),m="",l=b,o=b):"}"===g||"]"===g?(m+=a.slice(l,b),n+=d(m,0,1)+m.slice(1),m="",l=b,o=-1):" "!==g&&" "!==g&&g!==`\r`&&g!==`
|
|
5
|
-
`&&(m+=a.slice(l,b),l=b,o=-1));else{m+=a.slice(l,b),l=b,k=f,b++;continue}else m+=a.slice(l,b),l=b,k=e,b++}return n+m+(k===e?d(a,l):a.slice(l))}((0,d.xi)(a),{trailingCommas:b?.allowTrailingComma}));return(0,d.$Z)(a,c,b),c}},77943:(a,b,c)=>{"use strict";a.exports=c(7553).vendored["react-rsc"].ReactServerDOMWebpackServer},78335:()=>{},78558:(a,b,c)=>{"use strict";c.r(b),c.d(b,{DELETE:()=>E,GET:()=>B,POST:()=>D});var d=c(49796),e=c(23211),f=c(79646),g=c(28354),h=c(79748),i=c.n(h),j=c(33873),k=c.n(j),l=c(21820),m=c.n(l),n=c(97289),o=c(31223),p=c(24586),q=c(12994);let r=a=>({id:a,name:a.split("/").pop()||a});var s=c(24424);let t=(0,g.promisify)(f.exec),u=a=>"string"==typeof a?a:a&&"object"==typeof a?a.primary??"":"",v=()=>k().join(m().homedir(),".openclaw"),w=()=>k().join(v(),"openclaw.json"),x=async()=>{try{let a="win32"===m().platform(),b=a?{...process.env,PATH:`${process.env.APPDATA}\\npm;${process.env.PATH}`}:process.env;return await t(a?"where openclaw":"which openclaw",{windowsHide:!0,env:b}),!0}catch{try{return await i().access(w()),!0}catch{return!1}}},y=async()=>{try{let a=w(),b=(await i().readFile(a,"utf-8")).replace(/,(\s*[}\]])/g,"$1");return JSON.parse(b)}catch(a){return null}},z=a=>{let b=(0,p.NO)(a)?.key;return b===p.u3||p.jh.includes(b)},A=async a=>{try{let b=k().join(a,"models.json"),c=await i().readFile(b,"utf-8"),d=JSON.parse(c),e=(0,p.f)(d?.providers)?.models;return e?.[0]?.id||null}catch{return null}};async function B(){try{if(!await x())return e.NextResponse.json({installed:!1,settings:null,message:"Open Claw CLI is not installed"});let a=await y(),b=a?.agents?.list||[],c=await Promise.all(b.map(async a=>{let b=a.agentDir?await A(a.agentDir):null;return{...a,model:u(a.model),currentModel:b}}));return e.NextResponse.json({installed:!0,settings:a,agents:c,hasTokenhop:!!(0,p.f)(a?.models?.providers),settingsPath:w()})}catch(a){return console.log("Error checking openclaw settings:",a),e.NextResponse.json({error:"Failed to check openclaw settings"},{status:500})}}let C=async({file:a,value:b})=>{await i().mkdir(k().dirname(a),{recursive:!0});let c=await (0,n.JG)(a)??{};c.providers||(c.providers={});let d=(0,p.zi)(c.providers);c.providers[p.u3]={...d,...b.providers[p.u3]},await i().writeFile(a,JSON.stringify(c,null,2))};async function D(a){try{let{baseUrl:b,apiKey:c,model:d,agentModels:f={}}=await a.json();if(!b||!d)return e.NextResponse.json({error:"baseUrl and model are required"},{status:400});let g=v(),h=w();await i().mkdir(g,{recursive:!0});let j=await (0,n.JG)(h)??{};j.agents||(j.agents={}),j.agents.defaults||(j.agents.defaults={}),j.agents.defaults.model||(j.agents.defaults.model={}),j.agents.defaults.models||(j.agents.defaults.models={}),j.models||(j.models={}),j.models.providers||(j.models.providers={});let[k,...l]=function({baseUrl:a,apiKey:b,model:c,agents:d=[],agentModels:e={}}){if(!c)return null;let f=c=>({baseUrl:(0,q.Yh)(a),apiKey:b,api:"openai-completions",models:c.map(r)}),g=[...new Set([c,...Object.values(e).filter(Boolean)])],h=d.filter(a=>e[a.id]).map(a=>({id:a.id,model:(0,p.lv)(e[a.id])}));return[{file:"~/.openclaw/openclaw.json",format:"json",merge:!0,note:"Merge these keys into the existing file. Match agents.list entries by id.",value:{agents:{defaults:{model:{primary:(0,p.lv)(c)},models:Object.fromEntries(g.map(a=>[(0,p.lv)(a),{}]))},...h.length&&{list:h}},models:{providers:{[p.u3]:f(g)}}}},...d.filter(a=>a.agentDir).map(a=>({file:`${a.agentDir}/models.json`,format:"json",merge:!0,value:{providers:{[p.u3]:f([e[a.id]||c])}}}))]}({baseUrl:b,apiKey:c||o.Hc.defaultApiKey,model:d,agents:j.agents.list??[],agentModels:f}),{defaults:m,list:s=[]}=k.value.agents,t=k.value.models.providers[p.u3];Object.keys(j.agents.defaults.models).filter(z).forEach(a=>{delete j.agents.defaults.models[a]}),j.agents.defaults.model.primary=m.model.primary,Array.isArray(j.agents.defaults.model.fallbacks)&&(j.agents.defaults.model.fallbacks=j.agents.defaults.model.fallbacks.map(p.ic)),Object.assign(j.agents.defaults.models,m.models),j.agents.list&&(j.agents.list=j.agents.list.map(a=>{if(z(u(a.model))){let{model:b,...c}=a;return c}return Array.isArray(a?.model?.fallbacks)?{...a,model:{...a.model,fallbacks:a.model.fallbacks.map(p.ic)}}:a}));let x=(0,p.zi)(j.models.providers);return j.models.providers[p.u3]={...x,...t},j.agents.list&&(j.agents.list=j.agents.list.map(a=>{let b=s.find(b=>b.id===a.id);return b?{...a,model:b.model}:a}),await Promise.all(l.map(a=>C(a)))),await i().writeFile(h,JSON.stringify(j,null,2)),e.NextResponse.json({success:!0,message:"Open Claw settings applied successfully!",settingsPath:h})}catch(b){let a=(0,n.En)(b);if(a)return a;return console.log("Error updating openclaw settings:",b),e.NextResponse.json({error:"Failed to update openclaw settings"},{status:500})}}async function E(){try{let a=w(),b=await (0,n.JG)(a);if(!b)return e.NextResponse.json({success:!0,message:"No settings file to reset"});if(b.models&&b.models.providers){for(let a of p.fK)delete b.models.providers[a];0===Object.keys(b.models.providers).length&&delete b.models.providers}if(b.agents?.defaults?.models){for(let a of Object.keys(b.agents.defaults.models).filter(a=>p.fK.some(b=>a.startsWith(`${b}/`))))delete b.agents.defaults.models[a];0===Object.keys(b.agents.defaults.models).length&&delete b.agents.defaults.models}return(0,p.NO)(b.agents?.defaults?.model?.primary)&&delete b.agents.defaults.model.primary,await i().writeFile(a,JSON.stringify(b,null,2)),e.NextResponse.json({success:!0,message:`${p.eU} settings removed successfully`})}catch(b){let a=(0,n.En)(b);if(a)return a;return console.log("Error resetting openclaw settings:",b),e.NextResponse.json({error:"Failed to reset openclaw settings"},{status:500})}}(0,s.D)([B,D,E]),(0,d.A)(B,"
|
|
5
|
+
`&&(m+=a.slice(l,b),l=b,o=-1));else{m+=a.slice(l,b),l=b,k=f,b++;continue}else m+=a.slice(l,b),l=b,k=e,b++}return n+m+(k===e?d(a,l):a.slice(l))}((0,d.xi)(a),{trailingCommas:b?.allowTrailingComma}));return(0,d.$Z)(a,c,b),c}},77943:(a,b,c)=>{"use strict";a.exports=c(7553).vendored["react-rsc"].ReactServerDOMWebpackServer},78335:()=>{},78558:(a,b,c)=>{"use strict";c.r(b),c.d(b,{DELETE:()=>E,GET:()=>B,POST:()=>D});var d=c(49796),e=c(23211),f=c(79646),g=c(28354),h=c(79748),i=c.n(h),j=c(33873),k=c.n(j),l=c(21820),m=c.n(l),n=c(97289),o=c(31223),p=c(24586),q=c(12994);let r=a=>({id:a,name:a.split("/").pop()||a});var s=c(24424);let t=(0,g.promisify)(f.exec),u=a=>"string"==typeof a?a:a&&"object"==typeof a?a.primary??"":"",v=()=>k().join(m().homedir(),".openclaw"),w=()=>k().join(v(),"openclaw.json"),x=async()=>{try{let a="win32"===m().platform(),b=a?{...process.env,PATH:`${process.env.APPDATA}\\npm;${process.env.PATH}`}:process.env;return await t(a?"where openclaw":"which openclaw",{windowsHide:!0,env:b}),!0}catch{try{return await i().access(w()),!0}catch{return!1}}},y=async()=>{try{let a=w(),b=(await i().readFile(a,"utf-8")).replace(/,(\s*[}\]])/g,"$1");return JSON.parse(b)}catch(a){return null}},z=a=>{let b=(0,p.NO)(a)?.key;return b===p.u3||p.jh.includes(b)},A=async a=>{try{let b=k().join(a,"models.json"),c=await i().readFile(b,"utf-8"),d=JSON.parse(c),e=(0,p.f)(d?.providers)?.models;return e?.[0]?.id||null}catch{return null}};async function B(){try{if(!await x())return e.NextResponse.json({installed:!1,settings:null,message:"Open Claw CLI is not installed"});let a=await y(),b=a?.agents?.list||[],c=await Promise.all(b.map(async a=>{let b=a.agentDir?await A(a.agentDir):null;return{...a,model:u(a.model),currentModel:b}}));return e.NextResponse.json({installed:!0,settings:a,agents:c,hasTokenhop:!!(0,p.f)(a?.models?.providers),settingsPath:w()})}catch(a){return console.log("Error checking openclaw settings:",a),e.NextResponse.json({error:"Failed to check openclaw settings"},{status:500})}}let C=async({file:a,value:b})=>{await i().mkdir(k().dirname(a),{recursive:!0});let c=await (0,n.JG)(a)??{};c.providers||(c.providers={});let d=(0,p.zi)(c.providers);c.providers[p.u3]={...d,...b.providers[p.u3]},await i().writeFile(a,JSON.stringify(c,null,2))};async function D(a){try{let{baseUrl:b,apiKey:c,model:d,agentModels:f={}}=await a.json();if(!b||!d)return e.NextResponse.json({error:"baseUrl and model are required"},{status:400});let g=v(),h=w();await i().mkdir(g,{recursive:!0});let j=await (0,n.JG)(h)??{};j.agents||(j.agents={}),j.agents.defaults||(j.agents.defaults={}),j.agents.defaults.model||(j.agents.defaults.model={}),j.agents.defaults.models||(j.agents.defaults.models={}),j.models||(j.models={}),j.models.providers||(j.models.providers={});let[k,...l]=function({baseUrl:a,apiKey:b,model:c,agents:d=[],agentModels:e={}}){if(!c)return null;let f=c=>({baseUrl:(0,q.Yh)(a),apiKey:b,api:"openai-completions",models:c.map(r)}),g=[...new Set([c,...Object.values(e).filter(Boolean)])],h=d.filter(a=>e[a.id]).map(a=>({id:a.id,model:(0,p.lv)(e[a.id])}));return[{file:"~/.openclaw/openclaw.json",format:"json",merge:!0,note:"Merge these keys into the existing file. Match agents.list entries by id.",value:{agents:{defaults:{model:{primary:(0,p.lv)(c)},models:Object.fromEntries(g.map(a=>[(0,p.lv)(a),{}]))},...h.length&&{list:h}},models:{providers:{[p.u3]:f(g)}}}},...d.filter(a=>a.agentDir).map(a=>({file:`${a.agentDir}/models.json`,format:"json",merge:!0,value:{providers:{[p.u3]:f([e[a.id]||c])}}}))]}({baseUrl:b,apiKey:c||o.Hc.defaultApiKey,model:d,agents:j.agents.list??[],agentModels:f}),{defaults:m,list:s=[]}=k.value.agents,t=k.value.models.providers[p.u3];Object.keys(j.agents.defaults.models).filter(z).forEach(a=>{delete j.agents.defaults.models[a]}),j.agents.defaults.model.primary=m.model.primary,Array.isArray(j.agents.defaults.model.fallbacks)&&(j.agents.defaults.model.fallbacks=j.agents.defaults.model.fallbacks.map(p.ic)),Object.assign(j.agents.defaults.models,m.models),j.agents.list&&(j.agents.list=j.agents.list.map(a=>{if(z(u(a.model))){let{model:b,...c}=a;return c}return Array.isArray(a?.model?.fallbacks)?{...a,model:{...a.model,fallbacks:a.model.fallbacks.map(p.ic)}}:a}));let x=(0,p.zi)(j.models.providers);return j.models.providers[p.u3]={...x,...t},j.agents.list&&(j.agents.list=j.agents.list.map(a=>{let b=s.find(b=>b.id===a.id);return b?{...a,model:b.model}:a}),await Promise.all(l.map(a=>C(a)))),await i().writeFile(h,JSON.stringify(j,null,2)),e.NextResponse.json({success:!0,message:"Open Claw settings applied successfully!",settingsPath:h})}catch(b){let a=(0,n.En)(b);if(a)return a;return console.log("Error updating openclaw settings:",b),e.NextResponse.json({error:"Failed to update openclaw settings"},{status:500})}}async function E(){try{let a=w(),b=await (0,n.JG)(a);if(!b)return e.NextResponse.json({success:!0,message:"No settings file to reset"});if(b.models&&b.models.providers){for(let a of p.fK)delete b.models.providers[a];0===Object.keys(b.models.providers).length&&delete b.models.providers}if(b.agents?.defaults?.models){for(let a of Object.keys(b.agents.defaults.models).filter(a=>p.fK.some(b=>a.startsWith(`${b}/`))))delete b.agents.defaults.models[a];0===Object.keys(b.agents.defaults.models).length&&delete b.agents.defaults.models}return(0,p.NO)(b.agents?.defaults?.model?.primary)&&delete b.agents.defaults.model.primary,await i().writeFile(a,JSON.stringify(b,null,2)),e.NextResponse.json({success:!0,message:`${p.eU} settings removed successfully`})}catch(b){let a=(0,n.En)(b);if(a)return a;return console.log("Error resetting openclaw settings:",b),e.NextResponse.json({error:"Failed to reset openclaw settings"},{status:500})}}(0,s.D)([B,D,E]),(0,d.A)(B,"00b4d9ac4973476d825f31274bf58de5b8c314dfc1",null),(0,d.A)(D,"4013ecb6522897e4cbb2f1f361059b01f1439165cc",null),(0,d.A)(E,"00e6cfa86c8adbd4475848aaa32c701e3a2357d505",null)},79646:a=>{"use strict";a.exports=require("child_process")},79748:a=>{"use strict";a.exports=require("fs/promises")},80751:(a,b,c)=>{"use strict";c.d(b,{M:()=>u,q:()=>v});var d=c(86601);let e=/^(\d{4}-\d{2}-\d{2})?[T ]?(?:(\d{2}):\d{2}(?::\d{2}(?:\.\d+)?)?)?(Z|[-+]\d{2}:\d{2})?$/i;var f=class a extends Date{#a=!1;#b=!1;#c=null;constructor(a){let b=!0,c=!0,d="Z";if("string"==typeof a){let f=a.match(e);f?(f[1]||(b=!1,a=`0000-01-01T${a}`),(c=!!f[2])&&" "===a[10]&&(a=a.replace(" ","T")),f[2]&&+f[2]>23?a="":(d=f[3]||null,a=a.toUpperCase(),!d&&c&&(a+="Z"))):a=""}super(a),isNaN(this.getTime())||(this.#a=b,this.#b=c,this.#c=d)}isDateTime(){return this.#a&&this.#b}isLocal(){return!this.#a||!this.#b||!this.#c}isDate(){return this.#a&&!this.#b}isTime(){return this.#b&&!this.#a}isValid(){return this.#a||this.#b}toISOString(){let a=super.toISOString();if(this.isDate())return a.slice(0,10);if(this.isTime())return a.slice(11,23);if(null===this.#c)return a.slice(0,-1);if("Z"===this.#c)return a;let b=60*this.#c.slice(1,3)+ +this.#c.slice(4,6);return b="-"===this.#c[0]?b:-b,new Date(this.getTime()-6e4*b).toISOString().slice(0,-1)+this.#c}static wrapAsOffsetDateTime(b,c="Z"){let d=new a(b);return d.#c=c,d}static wrapAsLocalDateTime(b){let c=new a(b);return c.#c=null,c}static wrapAsLocalDate(b){let c=new a(b);return c.#b=!1,c.#c=null,c}static wrapAsLocalTime(b){let c=new a(b);return c.#a=!1,c.#c=null,c}},g=class extends Error{line;column;codeblock;constructor(a,b){let[c,d]=function(a,b){let c=a.slice(0,b).split(/\r\n|\n|\r/g);return[c.length,c.pop().length+1]}(b.toml,b.ptr),e=function(a,b,c){let d=a.split(/\r\n|\n|\r/g),e="",f=(0|Math.log10(b+1))+1;for(let a=b-1;a<=b+1;a++){let g=d[a-1];g&&(e+=a.toString().padEnd(f," "),e+=": ",e+=g,e+=`
|
|
6
6
|
`,a===b&&(e+=" ".repeat(f+c+2),e+=`^
|
|
7
7
|
`))}return e}(b.toml,c,d);super(`Invalid TOML document: ${a}
|
|
8
8
|
|