cuelo 0.10.13 → 0.10.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/app-path-routes-manifest.json +6 -7
- package/.next/build-manifest.json +3 -3
- package/.next/prerender-manifest.json +3 -3
- package/.next/required-server-files.js +1 -1
- package/.next/required-server-files.json +1 -1
- package/.next/routes-manifest.json +6 -12
- package/.next/server/app/_global-error/page.js +2 -2
- package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page.js +2 -2
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +3 -3
- package/.next/server/app/_not-found.segments/_full.segment.rsc +3 -3
- package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_index.segment.rsc +3 -3
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/api/agent/[id]/account/route.js +1 -1
- package/.next/server/app/api/agent/[id]/bash-output/route.js +1 -1
- package/.next/server/app/api/agent/[id]/events/route.js +2 -2
- package/.next/server/app/api/agent/[id]/route.js +1 -1
- package/.next/server/app/api/agent/new/route.js +1 -1
- package/.next/server/app/api/agent/running/route.js +1 -1
- package/.next/server/app/api/attachment-settings/route.js +1 -1
- package/.next/server/app/api/attachments/[id]/transcription/route.js +2 -2
- package/.next/server/app/api/attachments/draft/route.js +1 -1
- package/.next/server/app/api/attachments/route.js +3 -3
- package/.next/server/app/api/auth/all-providers/route.js +1 -1
- package/.next/server/app/api/auth/api-key/[provider]/route.js +1 -1
- package/.next/server/app/api/auth/login/[provider]/route.js +2 -2
- package/.next/server/app/api/auth/logout/[provider]/route.js +1 -1
- package/.next/server/app/api/auth/providers/route.js +1 -1
- package/.next/server/app/api/cwd/browse/route.js +1 -1
- package/.next/server/app/api/cwd/validate/route.js +1 -1
- package/.next/server/app/api/default-cwd/route.js +1 -1
- package/.next/server/app/api/display-settings/route.js +1 -1
- package/.next/server/app/api/document-text/route.js +2 -2
- package/.next/server/app/api/experiments/route.js +1 -1
- package/.next/server/app/api/file-index/route.js +1 -1
- package/.next/server/app/api/files/[...path]/route.js +1 -1
- package/.next/server/app/api/git/diff/route.js +2 -2
- package/.next/server/app/api/git/status/route.js +1 -1
- package/.next/server/app/api/github/projects/route.js +1 -1
- package/.next/server/app/api/gpt6/handles/route.js +1 -1
- package/.next/server/app/api/gpt6/reply/route.js +1 -1
- package/.next/server/app/api/gpt6/token/route.js +1 -1
- package/.next/server/app/api/gpt6/web6-session/route.js +1 -1
- package/.next/server/app/api/home/route.js +1 -1
- package/.next/server/app/api/live/call/[callId]/route.js +13 -1
- package/.next/server/app/api/live/call/[callId]/route.js.nft.json +1 -1
- package/.next/server/app/api/live/character-voice/route.js +1 -1
- package/.next/server/app/api/live/character-voice/route.js.nft.json +1 -1
- package/.next/server/app/api/live/events/route.js +14 -2
- package/.next/server/app/api/live/events/route.js.nft.json +1 -1
- package/.next/server/app/api/live/interpret/route.js +13 -0
- package/.next/server/app/api/live/interpret/route.js.nft.json +1 -0
- package/.next/server/app/api/live/interpret/route_client-reference-manifest.js +1 -0
- package/.next/server/app/api/live/offer/route.js +1 -1
- package/.next/server/app/api/live/offer/route.js.nft.json +1 -1
- package/.next/server/app/api/live/voices/route.js +1 -1
- package/.next/server/app/api/live/voices/route.js.nft.json +1 -1
- package/.next/server/app/api/mcp/route.js +2 -2
- package/.next/server/app/api/model-roles/route.js +1 -1
- package/.next/server/app/api/models/route.js +1 -1
- package/.next/server/app/api/models-config/catalog/route.js +1 -1
- package/.next/server/app/api/models-config/discover/route.js +1 -1
- package/.next/server/app/api/models-config/route.js +3 -3
- package/.next/server/app/api/models-config/test/route.js +1 -1
- package/.next/server/app/api/office-avatars/[id]/route.js +1 -1
- package/.next/server/app/api/office-avatars/route.js +1 -1
- package/.next/server/app/api/plugins/route.js +1 -1
- package/.next/server/app/api/project-docs/route.js +1 -1
- package/.next/server/app/api/project-trust/route.js +1 -1
- package/.next/server/app/api/projects/route.js +2 -2
- package/.next/server/app/api/runs/[runId]/route.js +1 -1
- package/.next/server/app/api/runs/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/auto-name/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/context/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/entries/[entryId]/thinking/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/export/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/state/route.js +1 -1
- package/.next/server/app/api/sessions/route.js +1 -1
- package/.next/server/app/api/sessions/search/route.js +1 -1
- package/.next/server/app/api/settings/route.js +1 -1
- package/.next/server/app/api/sidecars/[service]/[...path]/route.js +1 -1
- package/.next/server/app/api/skills/check/route.js +1 -1
- package/.next/server/app/api/skills/install/route.js +2 -2
- package/.next/server/app/api/skills/route.js +1 -1
- package/.next/server/app/api/skills/search/route.js +1 -1
- package/.next/server/app/api/skills/update/route.js +1 -1
- package/.next/server/app/api/subagents/eta/route.js +1 -1
- package/.next/server/app/api/theme/route.js +1 -1
- package/.next/server/app/api/tool-image/route.js +1 -1
- package/.next/server/app/api/update-maintenance/route.js +3 -3
- package/.next/server/app/api/updates/route.js +1 -1
- package/.next/server/app/api/web-access/recovery/route.js +1 -1
- package/.next/server/app/api/web-access/route.js +1 -1
- package/.next/server/app/api/web6/consults/route.js +1 -1
- package/.next/server/app/api/worktrees/route.js +1 -1
- package/.next/server/app/favicon.ico/route.js +1 -1
- package/.next/server/app/index.html +1 -1
- package/.next/server/app/index.rsc +6 -6
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +4 -4
- package/.next/server/app/index.segments/_full.segment.rsc +6 -6
- package/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/.next/server/app/index.segments/_index.segment.rsc +3 -3
- package/.next/server/app/index.segments/_tree.segment.rsc +3 -3
- package/.next/server/app/manifest.webmanifest/route.js +2 -2
- package/.next/server/app/office/page.js +2 -2
- package/.next/server/app/office/page.js.nft.json +1 -1
- package/.next/server/app/office/page_client-reference-manifest.js +1 -1
- package/.next/server/app/office-preview/page.js +2 -2
- package/.next/server/app/office-preview/page_client-reference-manifest.js +1 -1
- package/.next/server/app/office-preview.html +1 -1
- package/.next/server/app/office-preview.rsc +3 -3
- package/.next/server/app/office-preview.segments/_full.segment.rsc +3 -3
- package/.next/server/app/office-preview.segments/_head.segment.rsc +1 -1
- package/.next/server/app/office-preview.segments/_index.segment.rsc +3 -3
- package/.next/server/app/office-preview.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/office-preview.segments/office-preview/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/office-preview.segments/office-preview.segment.rsc +1 -1
- package/.next/server/app/office.html +1 -1
- package/.next/server/app/office.rsc +6 -6
- package/.next/server/app/office.segments/_full.segment.rsc +6 -6
- package/.next/server/app/office.segments/_head.segment.rsc +1 -1
- package/.next/server/app/office.segments/_index.segment.rsc +3 -3
- package/.next/server/app/office.segments/_tree.segment.rsc +3 -3
- package/.next/server/app/office.segments/office/__PAGE__.segment.rsc +4 -4
- package/.next/server/app/office.segments/office.segment.rsc +1 -1
- package/.next/server/app/page.js +2 -2
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app/recover/page.js +2 -2
- package/.next/server/app/recover/page_client-reference-manifest.js +1 -1
- package/.next/server/app/recover.html +1 -1
- package/.next/server/app/recover.rsc +3 -3
- package/.next/server/app/recover.segments/_full.segment.rsc +3 -3
- package/.next/server/app/recover.segments/_head.segment.rsc +1 -1
- package/.next/server/app/recover.segments/_index.segment.rsc +3 -3
- package/.next/server/app/recover.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/recover.segments/recover/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/recover.segments/recover.segment.rsc +1 -1
- package/.next/server/app-paths-manifest.json +6 -7
- package/.next/server/chunks/205.js +3 -3
- package/.next/server/chunks/3379.js +1 -1
- package/.next/server/chunks/{5431.js → 3793.js} +2 -2
- package/.next/server/chunks/5489.js +12 -12
- package/.next/server/chunks/7362.js +1 -1
- package/.next/server/chunks/7467.js +3 -0
- package/.next/server/chunks/9108.js +1 -1
- package/.next/server/chunks/9280.js +3 -3
- package/.next/server/functions-config-manifest.json +0 -2
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/static/ZDnE_0POahsY2h0bWcu9f/_buildManifest.js +1 -0
- package/.next/static/chunks/6110-0dce7f18ec095faa.js +1 -0
- package/.next/static/chunks/6379-7da431a165ac5d41.js +7 -0
- package/.next/static/chunks/9575-222df47a7f11cb57.js +24 -0
- package/.next/static/chunks/app/_global-error/page-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/agent/[id]/account/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/agent/[id]/bash-output/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/agent/[id]/events/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/agent/[id]/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/agent/new/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/agent/running/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/attachment-settings/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/attachments/[id]/transcription/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/attachments/draft/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/attachments/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/auth/all-providers/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/auth/api-key/[provider]/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/auth/login/[provider]/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/auth/logout/[provider]/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/auth/providers/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/cwd/browse/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/cwd/validate/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/default-cwd/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/display-settings/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/document-text/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/experiments/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/file-index/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/files/[...path]/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/git/diff/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/git/status/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/github/projects/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/gpt6/handles/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/gpt6/reply/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/gpt6/token/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/gpt6/web6-session/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/home/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/live/call/[callId]/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/live/character-voice/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/live/events/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/live/interpret/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/live/offer/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/live/voices/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/mcp/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/model-roles/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/models/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/models-config/catalog/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/models-config/discover/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/models-config/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/models-config/test/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/office-avatars/[id]/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/office-avatars/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/plugins/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/project-docs/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/project-trust/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/projects/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/runs/[runId]/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/runs/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/auto-name/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/context/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/thinking/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/export/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/state/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/sessions/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/sessions/search/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/settings/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/sidecars/[service]/[...path]/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/skills/check/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/skills/install/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/skills/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/skills/search/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/skills/update/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/subagents/eta/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/theme/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/tool-image/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/update-maintenance/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/updates/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/web-access/recovery/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/web-access/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/web6/consults/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/api/worktrees/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/{layout-4c592bc979a40fac.js → layout-dfbf07d80f807ad7.js} +1 -1
- package/.next/static/chunks/app/manifest.webmanifest/route-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/app/office/page-84340f94c2d87fe6.js +1 -0
- package/.next/static/chunks/app/page-293acef3b072c778.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/app-error-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/forbidden-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/not-found-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-95aaaafc49522a6b.js +1 -0
- package/.next/static/chunks/{webpack-68986b211ad38cf1.js → webpack-859f6c90bf471cc4.js} +1 -1
- package/.next/static/css/{078ee14f375802c0.css → 792a9d55c2fd2c0c.css} +1 -1
- package/.next/static/css/949fdc99cee51026.css +1 -0
- package/.next/trace +108 -108
- package/.next/trace-build +1 -1
- package/.next/types/app/api/{lounge/events → live/interpret}/route.ts +3 -3
- package/.next/types/routes.d.ts +2 -3
- package/.next/types/validator.ts +9 -18
- package/README.md +7 -9
- package/Tools/CUELO_Setup/files/native-runtime-patch.js +1 -1
- package/Tools/OMP_Global_Config/agent/extensions/command-guard/index.ts +37 -15
- package/Tools/OMP_Global_Config/agent/extensions/command-guard/interop-hint.ts +122 -0
- package/Tools/OMP_Global_Config/agent/extensions/lib/cross-review.ts +11 -5
- package/Tools/OMP_Global_Config/patches/apply-core-patch.mjs +347 -0
- package/package.json +1 -1
- package/.next/server/app/api/lounge/events/route.js +0 -4
- package/.next/server/app/api/lounge/events/route.js.nft.json +0 -1
- package/.next/server/app/api/lounge/events/route_client-reference-manifest.js +0 -1
- package/.next/server/app/api/lounge/route.js +0 -1
- package/.next/server/app/api/lounge/route.js.nft.json +0 -1
- package/.next/server/app/api/lounge/route_client-reference-manifest.js +0 -1
- package/.next/server/chunks/424.js +0 -3
- package/.next/server/chunks/4649.js +0 -1
- package/.next/server/chunks/7310.js +0 -5
- package/.next/static/B90WNxaFZ8Tg4XO_DiNPQ/_buildManifest.js +0 -1
- package/.next/static/chunks/6110-1db5217d11d7c23b.js +0 -1
- package/.next/static/chunks/8579-73b103d96227d1b8.js +0 -7
- package/.next/static/chunks/9575-f75f250a07112d4d.js +0 -24
- package/.next/static/chunks/app/_global-error/page-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/agent/[id]/account/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/agent/[id]/bash-output/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/agent/[id]/events/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/agent/[id]/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/agent/new/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/agent/running/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/attachment-settings/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/attachments/[id]/transcription/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/attachments/draft/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/attachments/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/auth/all-providers/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/auth/api-key/[provider]/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/auth/login/[provider]/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/auth/logout/[provider]/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/auth/providers/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/cwd/browse/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/cwd/validate/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/default-cwd/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/display-settings/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/document-text/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/experiments/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/file-index/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/files/[...path]/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/git/diff/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/git/status/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/github/projects/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/gpt6/handles/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/gpt6/reply/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/gpt6/token/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/gpt6/web6-session/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/home/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/live/call/[callId]/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/live/character-voice/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/live/events/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/live/offer/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/live/voices/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/lounge/events/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/lounge/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/mcp/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/model-roles/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/models/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/models-config/catalog/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/models-config/discover/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/models-config/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/models-config/test/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/office-avatars/[id]/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/office-avatars/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/plugins/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/project-docs/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/project-trust/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/projects/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/runs/[runId]/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/runs/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/auto-name/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/context/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/entries/[entryId]/thinking/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/export/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/state/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/sessions/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/sessions/search/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/settings/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/sidecars/[service]/[...path]/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/skills/check/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/skills/install/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/skills/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/skills/search/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/skills/update/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/subagents/eta/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/theme/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/tool-image/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/update-maintenance/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/updates/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/web-access/recovery/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/web-access/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/web6/consults/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/api/worktrees/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/manifest.webmanifest/route-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/app/office/page-8dc604f9b5e6f220.js +0 -1
- package/.next/static/chunks/app/page-952b1ef4df5ac896.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/app-error-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/forbidden-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/not-found-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-2fe6bfb5aa68a2a2.js +0 -1
- package/.next/static/css/27857d8746871d52.css +0 -1
- package/.next/types/app/api/lounge/route.ts +0 -351
- /package/.next/static/{B90WNxaFZ8Tg4XO_DiNPQ → ZDnE_0POahsY2h0bWcu9f}/_ssgManifest.js +0 -0
|
@@ -1344,6 +1344,353 @@ Project-wide validation is the main agent's job, run once after all subagents la
|
|
|
1344
1344
|
});`,
|
|
1345
1345
|
}],
|
|
1346
1346
|
},
|
|
1347
|
+
// 2026-10-14 공개 이슈 #25: browser.run 이 끝날 때 run 동안 page.on 으로 붙은 listener 를 모두 떼면서 Puppeteer 가
|
|
1348
|
+
// request 마다 자기 handler 안에서 단 완료 구독(requestfinished·requestfailed·response)까지 뗐다. 앞 run 에서 시작해
|
|
1349
|
+
// 그 뒤에 끝난 요청이 in-flight 로 남아 다음 run 의 waitForNetworkIdle 이 타임아웃된다. upstream b32ac7d·05fda95·
|
|
1350
|
+
// 2a7ad69(18.10.4 이후 main, 아직 정식판 없음)의 createRunPageScope 를 그대로 옮긴다. 아래 세 항목이 한 묶음이다.
|
|
1351
|
+
// upstream 정식판이 같은 함수를 실으면 marker 가 순정에서 applied 로 읽히므로, 그 판으로 올릴 때 RETIRE 한다.
|
|
1352
|
+
// 회귀 시험: core-browser-run-scope-test.ts(src·dist 양쪽, 실제 puppeteer-core Page·HTTPRequest).
|
|
1353
|
+
{
|
|
1354
|
+
file: "src/tools/browser/tab-worker.ts",
|
|
1355
|
+
marker: "\tFrame,\n\tHTTPRequest,\n\tHTTPResponse,",
|
|
1356
|
+
anchor: "\tFrame,\n\tHTTPResponse,",
|
|
1357
|
+
patched: "\tFrame,\n\tHTTPRequest,\n\tHTTPResponse,",
|
|
1358
|
+
},
|
|
1359
|
+
{
|
|
1360
|
+
file: "src/tools/browser/tab-worker.ts",
|
|
1361
|
+
marker: '\tconst emitDescriptor = Object.getOwnPropertyDescriptor(page, "emit");',
|
|
1362
|
+
anchor: `/**
|
|
1363
|
+
* Expose the tab page while retaining every event handler created by this run.
|
|
1364
|
+
* The facade removes only run-owned listeners, preserving worker-level routing,
|
|
1365
|
+
* request logging, dialogs, and console capture. Raw interception is restored
|
|
1366
|
+
* to the tab's persistent route/allowlist state after a run that changed it.
|
|
1367
|
+
*/
|
|
1368
|
+
function createRunPageScope(page: Page, restoreInterception: () => Promise<void>): RunPageScope {
|
|
1369
|
+
const handlers = new Map<unknown, unknown[]>();
|
|
1370
|
+
const on = page.on;
|
|
1371
|
+
const off = page.off;
|
|
1372
|
+
const once = page.once;
|
|
1373
|
+
const setRequestInterception = page.setRequestInterception;
|
|
1374
|
+
const onDescriptor = Object.getOwnPropertyDescriptor(page, "on");
|
|
1375
|
+
const offDescriptor = Object.getOwnPropertyDescriptor(page, "off");
|
|
1376
|
+
const onceDescriptor = Object.getOwnPropertyDescriptor(page, "once");
|
|
1377
|
+
const removeAllDescriptor = Object.getOwnPropertyDescriptor(page, "removeAllListeners");
|
|
1378
|
+
const interceptionDescriptor = Object.getOwnPropertyDescriptor(page, "setRequestInterception");
|
|
1379
|
+
let interceptionChanged = false;
|
|
1380
|
+
|
|
1381
|
+
const remember = (type: unknown, handler: unknown): void => {
|
|
1382
|
+
const owned = handlers.get(type);
|
|
1383
|
+
if (owned) owned.push(handler);
|
|
1384
|
+
else handlers.set(type, [handler]);
|
|
1385
|
+
};
|
|
1386
|
+
const forget = (type: unknown, handler?: unknown): void => {
|
|
1387
|
+
const owned = handlers.get(type);
|
|
1388
|
+
if (!owned) return;
|
|
1389
|
+
if (handler === undefined) {
|
|
1390
|
+
for (const registered of owned) Reflect.apply(off, page, [type, registered]);
|
|
1391
|
+
handlers.delete(type);
|
|
1392
|
+
return;
|
|
1393
|
+
}
|
|
1394
|
+
const index = owned.lastIndexOf(handler);
|
|
1395
|
+
if (index < 0) return;
|
|
1396
|
+
Reflect.apply(off, page, [type, handler]);
|
|
1397
|
+
owned.splice(index, 1);
|
|
1398
|
+
if (owned.length === 0) handlers.delete(type);
|
|
1399
|
+
};
|
|
1400
|
+
|
|
1401
|
+
Object.defineProperties(page, {
|
|
1402
|
+
on: {
|
|
1403
|
+
configurable: true,
|
|
1404
|
+
value: (type: unknown, handler: unknown): Page => {
|
|
1405
|
+
Reflect.apply(on, page, [type, handler]);
|
|
1406
|
+
remember(type, handler);
|
|
1407
|
+
return page;
|
|
1408
|
+
},
|
|
1409
|
+
},
|
|
1410
|
+
once: {
|
|
1411
|
+
configurable: true,
|
|
1412
|
+
value: (type: unknown, handler: unknown): Page => {
|
|
1413
|
+
if (typeof handler !== "function") {
|
|
1414
|
+
Reflect.apply(once, page, [type, handler]);
|
|
1415
|
+
return page;
|
|
1416
|
+
}
|
|
1417
|
+
const wrapper = (event: unknown): void => {
|
|
1418
|
+
forget(type, wrapper);
|
|
1419
|
+
Reflect.apply(handler, page, [event]);
|
|
1420
|
+
};
|
|
1421
|
+
remember(type, wrapper);
|
|
1422
|
+
Reflect.apply(on, page, [type, wrapper]);
|
|
1423
|
+
return page;
|
|
1424
|
+
},
|
|
1425
|
+
},
|
|
1426
|
+
off: {
|
|
1427
|
+
configurable: true,
|
|
1428
|
+
value: (type: unknown, handler?: unknown): Page => {
|
|
1429
|
+
forget(type, handler);
|
|
1430
|
+
return page;
|
|
1431
|
+
},
|
|
1432
|
+
},
|
|
1433
|
+
removeAllListeners: {
|
|
1434
|
+
configurable: true,
|
|
1435
|
+
value: (type?: unknown): Page => {
|
|
1436
|
+
if (type !== undefined) forget(type);
|
|
1437
|
+
else {
|
|
1438
|
+
// Map iteration tolerates deletion of the current key by forget().
|
|
1439
|
+
for (const ownedType of handlers.keys()) forget(ownedType);
|
|
1440
|
+
}
|
|
1441
|
+
return page;
|
|
1442
|
+
},
|
|
1443
|
+
},
|
|
1444
|
+
setRequestInterception: {
|
|
1445
|
+
configurable: true,
|
|
1446
|
+
value: (value: boolean): Promise<void> => {
|
|
1447
|
+
interceptionChanged = true;
|
|
1448
|
+
return Reflect.apply(setRequestInterception, page, [value]);
|
|
1449
|
+
},
|
|
1450
|
+
},
|
|
1451
|
+
});
|
|
1452
|
+
|
|
1453
|
+
return {
|
|
1454
|
+
page,
|
|
1455
|
+
detach() {
|
|
1456
|
+
if (onDescriptor) Object.defineProperty(page, "on", onDescriptor);
|
|
1457
|
+
else Reflect.deleteProperty(page, "on");
|
|
1458
|
+
if (offDescriptor) Object.defineProperty(page, "off", offDescriptor);
|
|
1459
|
+
else Reflect.deleteProperty(page, "off");
|
|
1460
|
+
if (onceDescriptor) Object.defineProperty(page, "once", onceDescriptor);
|
|
1461
|
+
else Reflect.deleteProperty(page, "once");
|
|
1462
|
+
if (removeAllDescriptor) Object.defineProperty(page, "removeAllListeners", removeAllDescriptor);
|
|
1463
|
+
else Reflect.deleteProperty(page, "removeAllListeners");
|
|
1464
|
+
if (interceptionDescriptor) Object.defineProperty(page, "setRequestInterception", interceptionDescriptor);
|
|
1465
|
+
else Reflect.deleteProperty(page, "setRequestInterception");
|
|
1466
|
+
for (const [type, owned] of handlers) {
|
|
1467
|
+
for (const handler of owned) Reflect.apply(off, page, [type, handler]);
|
|
1468
|
+
}
|
|
1469
|
+
handlers.clear();
|
|
1470
|
+
},
|
|
1471
|
+
async restoreInterception() {
|
|
1472
|
+
if (!interceptionChanged) return;
|
|
1473
|
+
try {
|
|
1474
|
+
await withTimeout(
|
|
1475
|
+
restoreInterception(),
|
|
1476
|
+
REQUEST_INTERCEPTION_CLEANUP_TIMEOUT_MS,
|
|
1477
|
+
"Timed out restoring browser request interception",
|
|
1478
|
+
);
|
|
1479
|
+
} catch (error) {
|
|
1480
|
+
throw new RequestInterceptionCleanupError(
|
|
1481
|
+
"Failed to restore browser request interception after browser.run",
|
|
1482
|
+
{
|
|
1483
|
+
error: error instanceof Error ? error.message : String(error),
|
|
1484
|
+
},
|
|
1485
|
+
);
|
|
1486
|
+
}
|
|
1487
|
+
},
|
|
1488
|
+
};
|
|
1489
|
+
}`,
|
|
1490
|
+
patched: `/**
|
|
1491
|
+
* Expose the tab page while retaining every event handler created by this run.
|
|
1492
|
+
* The facade removes only run-owned listeners, preserving worker-level routing,
|
|
1493
|
+
* request logging, dialogs, and console capture. Raw interception is restored
|
|
1494
|
+
* to the tab's persistent route/allowlist state after a run that changed it.
|
|
1495
|
+
*
|
|
1496
|
+
* A listener added to the page while the run is attached is run-owned, whichever
|
|
1497
|
+
* reference reached the page, except one added while the page is delivering an
|
|
1498
|
+
* event to a handler the run did not add. Puppeteer's in-flight request tracking
|
|
1499
|
+
* subscribes to request completion from inside its own \`request\` handler; removing
|
|
1500
|
+
* those subscriptions with the run left \`waitForNetworkIdle\` waiting on a request
|
|
1501
|
+
* an earlier run started.
|
|
1502
|
+
*/
|
|
1503
|
+
function createRunPageScope(page: Page, restoreInterception: () => Promise<void>): RunPageScope {
|
|
1504
|
+
const handlers = new Map<unknown, Function[]>();
|
|
1505
|
+
/**
|
|
1506
|
+
* The listener the page holds for each run-owned handler. It runs the handler with
|
|
1507
|
+
* \`delivering\` cleared, so what the handler registers stays run-owned. One per handler,
|
|
1508
|
+
* so duplicate registrations and removals keep puppeteer's own ordering.
|
|
1509
|
+
*/
|
|
1510
|
+
const listeners = new Map<Function, (...args: unknown[]) => unknown>();
|
|
1511
|
+
const on = page.on;
|
|
1512
|
+
const off = page.off;
|
|
1513
|
+
const once = page.once;
|
|
1514
|
+
const emit = page.emit;
|
|
1515
|
+
const setRequestInterception = page.setRequestInterception;
|
|
1516
|
+
const onDescriptor = Object.getOwnPropertyDescriptor(page, "on");
|
|
1517
|
+
const offDescriptor = Object.getOwnPropertyDescriptor(page, "off");
|
|
1518
|
+
const onceDescriptor = Object.getOwnPropertyDescriptor(page, "once");
|
|
1519
|
+
const emitDescriptor = Object.getOwnPropertyDescriptor(page, "emit");
|
|
1520
|
+
const removeAllDescriptor = Object.getOwnPropertyDescriptor(page, "removeAllListeners");
|
|
1521
|
+
const interceptionDescriptor = Object.getOwnPropertyDescriptor(page, "setRequestInterception");
|
|
1522
|
+
let interceptionChanged = false;
|
|
1523
|
+
/** Set while the page delivers an event; a listener the run added clears it while it runs. */
|
|
1524
|
+
let delivering = false;
|
|
1525
|
+
const withDelivering = <T>(value: boolean, fn: () => T): T => {
|
|
1526
|
+
const outer = delivering;
|
|
1527
|
+
delivering = value;
|
|
1528
|
+
try {
|
|
1529
|
+
return fn();
|
|
1530
|
+
} finally {
|
|
1531
|
+
delivering = outer;
|
|
1532
|
+
}
|
|
1533
|
+
};
|
|
1534
|
+
const listenerFor = (handler: Function): ((...args: unknown[]) => unknown) => {
|
|
1535
|
+
let listener = listeners.get(handler);
|
|
1536
|
+
if (!listener) {
|
|
1537
|
+
listener = (...args: unknown[]): unknown =>
|
|
1538
|
+
withDelivering(false, () => Reflect.apply(handler, undefined, args));
|
|
1539
|
+
listeners.set(handler, listener);
|
|
1540
|
+
}
|
|
1541
|
+
return listener;
|
|
1542
|
+
};
|
|
1543
|
+
const remember = (type: unknown, handler: Function): void => {
|
|
1544
|
+
const owned = handlers.get(type);
|
|
1545
|
+
if (owned) owned.push(handler);
|
|
1546
|
+
else handlers.set(type, [handler]);
|
|
1547
|
+
Reflect.apply(on, page, [type, listenerFor(handler)]);
|
|
1548
|
+
};
|
|
1549
|
+
/** Remove run-owned registrations; reports whether any matched. */
|
|
1550
|
+
const forget = (type: unknown, handler?: unknown): boolean => {
|
|
1551
|
+
const owned = handlers.get(type);
|
|
1552
|
+
if (!owned) return false;
|
|
1553
|
+
if (handler === undefined) {
|
|
1554
|
+
for (const registered of owned) Reflect.apply(off, page, [type, listenerFor(registered)]);
|
|
1555
|
+
handlers.delete(type);
|
|
1556
|
+
return true;
|
|
1557
|
+
}
|
|
1558
|
+
const index = owned.findLastIndex(registered => registered === handler);
|
|
1559
|
+
if (index < 0) return false;
|
|
1560
|
+
Reflect.apply(off, page, [type, listenerFor(owned[index])]);
|
|
1561
|
+
owned.splice(index, 1);
|
|
1562
|
+
if (owned.length === 0) handlers.delete(type);
|
|
1563
|
+
return true;
|
|
1564
|
+
};
|
|
1565
|
+
|
|
1566
|
+
Object.defineProperties(page, {
|
|
1567
|
+
on: {
|
|
1568
|
+
configurable: true,
|
|
1569
|
+
value: (type: unknown, handler: unknown): Page => {
|
|
1570
|
+
if (delivering || typeof handler !== "function") Reflect.apply(on, page, [type, handler]);
|
|
1571
|
+
else remember(type, handler);
|
|
1572
|
+
return page;
|
|
1573
|
+
},
|
|
1574
|
+
},
|
|
1575
|
+
once: {
|
|
1576
|
+
configurable: true,
|
|
1577
|
+
value: (type: unknown, handler: unknown): Page => {
|
|
1578
|
+
if (delivering || typeof handler !== "function") {
|
|
1579
|
+
Reflect.apply(once, page, [type, handler]);
|
|
1580
|
+
return page;
|
|
1581
|
+
}
|
|
1582
|
+
const wrapper = (event: unknown): void => {
|
|
1583
|
+
forget(type, wrapper);
|
|
1584
|
+
Reflect.apply(handler, page, [event]);
|
|
1585
|
+
};
|
|
1586
|
+
remember(type, wrapper);
|
|
1587
|
+
return page;
|
|
1588
|
+
},
|
|
1589
|
+
},
|
|
1590
|
+
off: {
|
|
1591
|
+
configurable: true,
|
|
1592
|
+
value: (type: unknown, handler?: unknown): Page => {
|
|
1593
|
+
// Puppeteer's own subscriptions unsubscribe through here too.
|
|
1594
|
+
if (!forget(type, handler) && handler !== undefined) Reflect.apply(off, page, [type, handler]);
|
|
1595
|
+
return page;
|
|
1596
|
+
},
|
|
1597
|
+
},
|
|
1598
|
+
emit: {
|
|
1599
|
+
configurable: true,
|
|
1600
|
+
value: (type: unknown, event?: unknown): boolean => {
|
|
1601
|
+
// Puppeteer defers every \`request\` listener to an interception action that runs after
|
|
1602
|
+
// \`emit\` returns, so each action queued during \`emit\` keeps the delivery it came from.
|
|
1603
|
+
const request = type === "request" && typeof event === "object" ? (event as HTTPRequest | null) : null;
|
|
1604
|
+
const enqueue = request?.enqueueInterceptAction;
|
|
1605
|
+
if (!request || typeof enqueue !== "function") {
|
|
1606
|
+
return withDelivering(true, () => Reflect.apply(emit, page, [type, event]));
|
|
1607
|
+
}
|
|
1608
|
+
const enqueueDescriptor = Object.getOwnPropertyDescriptor(request, "enqueueInterceptAction");
|
|
1609
|
+
Object.defineProperty(request, "enqueueInterceptAction", {
|
|
1610
|
+
configurable: true,
|
|
1611
|
+
value: (action: () => unknown): void => {
|
|
1612
|
+
const queued = delivering;
|
|
1613
|
+
Reflect.apply(enqueue, request, [() => withDelivering(queued, action)]);
|
|
1614
|
+
},
|
|
1615
|
+
});
|
|
1616
|
+
try {
|
|
1617
|
+
return withDelivering(true, () => Reflect.apply(emit, page, [type, event]));
|
|
1618
|
+
} finally {
|
|
1619
|
+
// The tab's request log keeps requests well after the run; do not let them hold this scope.
|
|
1620
|
+
if (enqueueDescriptor) Object.defineProperty(request, "enqueueInterceptAction", enqueueDescriptor);
|
|
1621
|
+
else Reflect.deleteProperty(request, "enqueueInterceptAction");
|
|
1622
|
+
}
|
|
1623
|
+
},
|
|
1624
|
+
},
|
|
1625
|
+
removeAllListeners: {
|
|
1626
|
+
configurable: true,
|
|
1627
|
+
value: (type?: unknown): Page => {
|
|
1628
|
+
if (type !== undefined) forget(type);
|
|
1629
|
+
else {
|
|
1630
|
+
// Map iteration tolerates deletion of the current key by forget().
|
|
1631
|
+
for (const ownedType of handlers.keys()) forget(ownedType);
|
|
1632
|
+
}
|
|
1633
|
+
return page;
|
|
1634
|
+
},
|
|
1635
|
+
},
|
|
1636
|
+
setRequestInterception: {
|
|
1637
|
+
configurable: true,
|
|
1638
|
+
value: (value: boolean): Promise<void> => {
|
|
1639
|
+
interceptionChanged = true;
|
|
1640
|
+
return Reflect.apply(setRequestInterception, page, [value]);
|
|
1641
|
+
},
|
|
1642
|
+
},
|
|
1643
|
+
});
|
|
1644
|
+
|
|
1645
|
+
return {
|
|
1646
|
+
page,
|
|
1647
|
+
detach() {
|
|
1648
|
+
if (onDescriptor) Object.defineProperty(page, "on", onDescriptor);
|
|
1649
|
+
else Reflect.deleteProperty(page, "on");
|
|
1650
|
+
if (offDescriptor) Object.defineProperty(page, "off", offDescriptor);
|
|
1651
|
+
else Reflect.deleteProperty(page, "off");
|
|
1652
|
+
if (onceDescriptor) Object.defineProperty(page, "once", onceDescriptor);
|
|
1653
|
+
else Reflect.deleteProperty(page, "once");
|
|
1654
|
+
if (emitDescriptor) Object.defineProperty(page, "emit", emitDescriptor);
|
|
1655
|
+
else Reflect.deleteProperty(page, "emit");
|
|
1656
|
+
if (removeAllDescriptor) Object.defineProperty(page, "removeAllListeners", removeAllDescriptor);
|
|
1657
|
+
else Reflect.deleteProperty(page, "removeAllListeners");
|
|
1658
|
+
if (interceptionDescriptor) Object.defineProperty(page, "setRequestInterception", interceptionDescriptor);
|
|
1659
|
+
else Reflect.deleteProperty(page, "setRequestInterception");
|
|
1660
|
+
for (const [type, owned] of handlers) {
|
|
1661
|
+
for (const handler of owned) Reflect.apply(off, page, [type, listenerFor(handler)]);
|
|
1662
|
+
}
|
|
1663
|
+
handlers.clear();
|
|
1664
|
+
},
|
|
1665
|
+
async restoreInterception() {
|
|
1666
|
+
if (!interceptionChanged) return;
|
|
1667
|
+
try {
|
|
1668
|
+
await withTimeout(
|
|
1669
|
+
restoreInterception(),
|
|
1670
|
+
REQUEST_INTERCEPTION_CLEANUP_TIMEOUT_MS,
|
|
1671
|
+
"Timed out restoring browser request interception",
|
|
1672
|
+
);
|
|
1673
|
+
} catch (error) {
|
|
1674
|
+
throw new RequestInterceptionCleanupError(
|
|
1675
|
+
"Failed to restore browser request interception after browser.run",
|
|
1676
|
+
{
|
|
1677
|
+
error: error instanceof Error ? error.message : String(error),
|
|
1678
|
+
},
|
|
1679
|
+
);
|
|
1680
|
+
}
|
|
1681
|
+
},
|
|
1682
|
+
};
|
|
1683
|
+
}`,
|
|
1684
|
+
},
|
|
1685
|
+
{
|
|
1686
|
+
// 위 함수의 CLI 번들(dist/cli.js, Linux `omp`) 판. 축약본은 18.10.4 번들 그대로이고, 적용본은 위 patched 에서
|
|
1687
|
+
// 타입만 벗긴 것이다. 모듈 밖 이름 셋(withTimeout·REQUEST_INTERCEPTION_CLEANUP_TIMEOUT_MS·
|
|
1688
|
+
// RequestInterceptionCleanupError)만 이 번들의 축약 이름(ga·D$l·ies)으로 바꿨다.
|
|
1689
|
+
file: "dist/cli.js",
|
|
1690
|
+
marker: 'const emitDescriptor=Object.getOwnPropertyDescriptor(page,"emit")',
|
|
1691
|
+
anchor: `function B$l(e,t){let n=new Map,{on:s,off:o,once:r,setRequestInterception:i}=e,a=Object.getOwnPropertyDescriptor(e,"on"),l=Object.getOwnPropertyDescriptor(e,"off"),u=Object.getOwnPropertyDescriptor(e,"once"),p=Object.getOwnPropertyDescriptor(e,"removeAllListeners"),c=Object.getOwnPropertyDescriptor(e,"setRequestInterception"),d=!1,f=(g,h)=>{let y=n.get(g);if(y)y.push(h);else n.set(g,[h])},m=(g,h)=>{let y=n.get(g);if(!y)return;if(h===void 0){for(let b of y)Reflect.apply(o,e,[g,b]);n.delete(g);return}let T=y.lastIndexOf(h);if(T<0)return;if(Reflect.apply(o,e,[g,h]),y.splice(T,1),y.length===0)n.delete(g)};return Object.defineProperties(e,{on:{configurable:!0,value:(g,h)=>(Reflect.apply(s,e,[g,h]),f(g,h),e)},once:{configurable:!0,value:(g,h)=>{if(typeof h!=="function")return Reflect.apply(r,e,[g,h]),e;let y=(T)=>{m(g,y),Reflect.apply(h,e,[T])};return f(g,y),Reflect.apply(s,e,[g,y]),e}},off:{configurable:!0,value:(g,h)=>(m(g,h),e)},removeAllListeners:{configurable:!0,value:(g)=>{if(g!==void 0)m(g);else for(let h of n.keys())m(h);return e}},setRequestInterception:{configurable:!0,value:(g)=>(d=!0,Reflect.apply(i,e,[g]))}}),{page:e,detach(){if(a)Object.defineProperty(e,"on",a);else Reflect.deleteProperty(e,"on");if(l)Object.defineProperty(e,"off",l);else Reflect.deleteProperty(e,"off");if(u)Object.defineProperty(e,"once",u);else Reflect.deleteProperty(e,"once");if(p)Object.defineProperty(e,"removeAllListeners",p);else Reflect.deleteProperty(e,"removeAllListeners");if(c)Object.defineProperty(e,"setRequestInterception",c);else Reflect.deleteProperty(e,"setRequestInterception");for(let[g,h]of n)for(let y of h)Reflect.apply(o,e,[g,y]);n.clear()},async restoreInterception(){if(!d)return;try{await ga(t(),D$l,"Timed out restoring browser request interception")}catch(g){throw new ies("Failed to restore browser request interception after browser.run",{error:g instanceof Error?g.message:String(g)})}}}}`,
|
|
1692
|
+
patched: `function B$l(page,restoreInterception){const handlers=new Map;const listeners=new Map;const on=page.on;const off=page.off;const once=page.once;const emit=page.emit;const setRequestInterception=page.setRequestInterception;const onDescriptor=Object.getOwnPropertyDescriptor(page,"on");const offDescriptor=Object.getOwnPropertyDescriptor(page,"off");const onceDescriptor=Object.getOwnPropertyDescriptor(page,"once");const emitDescriptor=Object.getOwnPropertyDescriptor(page,"emit");const removeAllDescriptor=Object.getOwnPropertyDescriptor(page,"removeAllListeners");const interceptionDescriptor=Object.getOwnPropertyDescriptor(page,"setRequestInterception");let interceptionChanged=false;let delivering=false;const withDelivering=(value,fn)=>{const outer=delivering;delivering=value;try{return fn()}finally{delivering=outer}};const listenerFor=(handler)=>{let listener=listeners.get(handler);if(!listener){listener=(...args)=>withDelivering(false,()=>Reflect.apply(handler,undefined,args));listeners.set(handler,listener)}return listener};const remember=(type,handler)=>{const owned=handlers.get(type);if(owned)owned.push(handler);else handlers.set(type,[handler]);Reflect.apply(on,page,[type,listenerFor(handler)])};const forget=(type,handler)=>{const owned=handlers.get(type);if(!owned)return false;if(handler===undefined){for(const registered of owned)Reflect.apply(off,page,[type,listenerFor(registered)]);handlers.delete(type);return true}const index=owned.findLastIndex((registered)=>registered===handler);if(index<0)return false;Reflect.apply(off,page,[type,listenerFor(owned[index])]);owned.splice(index,1);if(owned.length===0)handlers.delete(type);return true};Object.defineProperties(page,{on:{configurable:true,value:(type,handler)=>{if(delivering||typeof handler!=="function")Reflect.apply(on,page,[type,handler]);else remember(type,handler);return page}},once:{configurable:true,value:(type,handler)=>{if(delivering||typeof handler!=="function"){Reflect.apply(once,page,[type,handler]);return page}const wrapper=(event)=>{forget(type,wrapper);Reflect.apply(handler,page,[event])};remember(type,wrapper);return page}},off:{configurable:true,value:(type,handler)=>{if(!forget(type,handler)&&handler!==undefined)Reflect.apply(off,page,[type,handler]);return page}},emit:{configurable:true,value:(type,event)=>{const request=type==="request"&&typeof event==="object"?event:null;const enqueue=request?.enqueueInterceptAction;if(!request||typeof enqueue!=="function"){return withDelivering(true,()=>Reflect.apply(emit,page,[type,event]))}const enqueueDescriptor=Object.getOwnPropertyDescriptor(request,"enqueueInterceptAction");Object.defineProperty(request,"enqueueInterceptAction",{configurable:true,value:(action)=>{const queued=delivering;Reflect.apply(enqueue,request,[()=>withDelivering(queued,action)])}});try{return withDelivering(true,()=>Reflect.apply(emit,page,[type,event]))}finally{if(enqueueDescriptor)Object.defineProperty(request,"enqueueInterceptAction",enqueueDescriptor);else Reflect.deleteProperty(request,"enqueueInterceptAction")}}},removeAllListeners:{configurable:true,value:(type)=>{if(type!==undefined)forget(type);else{for(const ownedType of handlers.keys())forget(ownedType)}return page}},setRequestInterception:{configurable:true,value:(value)=>{interceptionChanged=true;return Reflect.apply(setRequestInterception,page,[value])}}});return{page,detach(){if(onDescriptor)Object.defineProperty(page,"on",onDescriptor);else Reflect.deleteProperty(page,"on");if(offDescriptor)Object.defineProperty(page,"off",offDescriptor);else Reflect.deleteProperty(page,"off");if(onceDescriptor)Object.defineProperty(page,"once",onceDescriptor);else Reflect.deleteProperty(page,"once");if(emitDescriptor)Object.defineProperty(page,"emit",emitDescriptor);else Reflect.deleteProperty(page,"emit");if(removeAllDescriptor)Object.defineProperty(page,"removeAllListeners",removeAllDescriptor);else Reflect.deleteProperty(page,"removeAllListeners");if(interceptionDescriptor)Object.defineProperty(page,"setRequestInterception",interceptionDescriptor);else Reflect.deleteProperty(page,"setRequestInterception");for(const[type,owned]of handlers){for(const handler of owned)Reflect.apply(off,page,[type,listenerFor(handler)])}handlers.clear()},async restoreInterception(){if(!interceptionChanged)return;try{await ga(restoreInterception(),D$l,"Timed out restoring browser request interception")}catch(error){throw new ies("Failed to restore browser request interception after browser.run",{error:error instanceof Error?error.message:String(error)})}}}}`,
|
|
1693
|
+
},
|
|
1347
1694
|
{
|
|
1348
1695
|
// 도구 프롬프트가 "target 없으면 visible 탭을 채택한다"고 명시한다.
|
|
1349
1696
|
// 위 패치로 사실이 아니게 되므로 같이 고친다.
|
package/package.json
CHANGED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use strict";(()=>{var a={};a.id=7728,a.ids=[7728],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},1740:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/extensibility/custom-tools")},3330:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/task/persisted-revive")},4327:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/system-prompt")},5969:a=>{a.exports=import("@oh-my-pi/pi-agent-core/compaction")},9655:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/modes/runtime-init")},10163:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{handler:()=>y,patchFetch:()=>x,routeModule:()=>z,serverHooks:()=>C,workAsyncStorage:()=>A,workUnitAsyncStorage:()=>B});var e=c(19225),f=c(84006),g=c(8317),h=c(99373),i=c(34775),j=c(24235),k=c(261),l=c(54365),m=c(90771),n=c(73461),o=c(67798),p=c(92280),q=c(62018),r=c(45696),s=c(47929),t=c(86439),u=c(37527),v=c(86727),w=a([v]);v=(w.then?(await w)():w)[0];let z=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/lounge/events/route",pathname:"/api/lounge/events",filename:"route",bundlePath:"app/api/lounge/events/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"D:\\a\\CUELO\\CUELO\\app\\api\\lounge\\events\\route.ts",nextConfigOutput:"",userland:v,...{}}),{workAsyncStorage:A,workUnitAsyncStorage:B,serverHooks:C}=z;function x(){return(0,g.patchFetch)({workAsyncStorage:A,workUnitAsyncStorage:B})}async function y(a,b,c){c.requestMeta&&(0,h.setRequestMeta)(a,c.requestMeta),z.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/lounge/events/route";"/index"===d&&(d="/");let e=await z.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,deploymentId:v,params:w,nextConfig:x,parsedUrl:y,isDraftMode:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=e,I=(0,k.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,y,!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(x.adapterPath)return await K();throw new t.NoFallbackError}}let L=null;!J||z.isDev||A||(L=F,L="/index"===L?"/":L);let M=!0===z.isDev||!J,N=J&&!M;H&&G&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,i.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,h.getRequestMeta)(a,"minimalMode"),T=(0,h.getRequestMeta)(a,"incrementalCache")||await z.getIncrementalCache(a,x,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:w,previewProps:B.preview,renderOpts:{experimental:{authInterrupts:!!x.experimental.authInterrupts},cacheComponents:!!x.cacheComponents,supportsDynamicResponse:M,incrementalCache:T,cacheLifeProfiles:x.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>z.onRequestError(a,b,d,e,C)},sharedContext:{buildId:g,deploymentId:v}},V=new l.NodeNextRequest(a),W=new l.NodeNextResponse(b),X=m.NextRequestAdapter.fromNodeNextRequest(V,(0,m.signalFromNodeResponse)(b));try{let e,g=async a=>z.handle(X,U).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let f=c.get("next.route");if(f){let b=`${O} ${f}`;a.setAttributes({"next.route":f,"http.route":f,"next.span_name":b}),a.updateName(b),e&&e!==a&&(e.setAttribute("http.route",f),e.updateName(b))}else a.updateName(`${O} ${d}`)}),h=async e=>{var h,i;let j=async({previousCacheEntry:f})=>{try{if(!S&&D&&E&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(e);a.fetchMetrics=U.renderOpts.fetchMetrics;let h=U.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=U.renderOpts.collectedTags;if(!J)return await (0,p.I)(V,W,d,U.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[s.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:U.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await z.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},k=await z.handleResponse({req:a,nextConfig:x,cacheKey:L,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:B,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),A&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,q.fromNodeOutgoingHttpHeaders)(k.value.headers);return S&&J||l.delete(s.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,r.getCacheControlHeader)(k.cacheControl)),await (0,p.I)(V,W,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};R&&Q?await h(Q):(e=P.getActiveScopeSpan(),await P.withPropagatedContext(a.headers,()=>P.trace(n.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},h),void 0,!R))}catch(b){if(b instanceof t.NoFallbackError||await z.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;return await (0,p.I)(V,W,new Response(null,{status:500})),null}}d()}catch(a){d(a)}})},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11746:a=>{a.exports=import("@oh-my-pi/pi-ai")},14882:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/session/messages")},19819:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/goals/settings")},22127:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/memory-backend/redact")},25167:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/modes/rpc/rpc-mode")},26854:a=>{a.exports=import("@oh-my-pi/pi-tui")},28315:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/extensibility/skills")},28354:a=>{a.exports=require("util")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{a.exports=require("node:child_process")},33374:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/secrets/patterns")},33594:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/slash-commands/available-commands")},33873:a=>{a.exports=require("path")},34722:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/task/settings")},36609:a=>{a.exports=import("@oh-my-pi/pi-catalog/compat/auth")},40575:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/tools/todo")},43696:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/modes/rpc/rpc-subagents")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:a=>{a.exports=require("node:os")},48331:a=>{a.exports=import("@oh-my-pi/pi-agent-core")},51455:a=>{a.exports=require("node:fs/promises")},53739:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/session/exit-diagnostics")},55511:a=>{a.exports=require("crypto")},57588:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/secrets/regex")},58505:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/config")},59895:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/slash-commands/builtin-registry")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},63411:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/config/model-settings")},73024:a=>{a.exports=require("node:fs")},73079:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/config/model-roles")},76760:a=>{a.exports=require("node:path")},77030:a=>{a.exports=require("node:net")},77598:a=>{a.exports=require("node:crypto")},78310:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/registry/agent-registry")},79646:a=>{a.exports=require("child_process")},82512:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/plan-mode/plan-files")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},86727:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{GET:()=>h,dynamic:()=>i,runtime:()=>j});var e=c(66544),f=c(29867),g=a([f]);f=(g.then?(await g)():g)[0];let i="force-dynamic",j="nodejs";async function h(a){let b;if(!(0,e.EN)(a))return new Response("Untrusted API request",{status:403});try{b=await (0,f.T)(),await b.refreshAccounts()}catch{return Response.json({error:"단톡방 런타임을 읽지 못했습니다."},{status:503})}let c=b,d=()=>{},g=!1,h=new ReadableStream({start(b){let e=new TextEncoder,f=!1,h=a=>{f||b.enqueue(e.encode(`event: ${a.event}
|
|
2
|
-
data: ${JSON.stringify(a.data)}
|
|
3
|
-
|
|
4
|
-
`))},i=c.subscribe(h),j=setInterval(()=>{if(!f)try{h({event:"snapshot",data:c.snapshot()});let a=c.currentDelta();a&&h(a)}catch{d()}},5e3);if(d=()=>{!f&&(f=!0,clearInterval(j),i(),a.signal.removeEventListener("abort",d),g||b.close())},a.signal.addEventListener("abort",d,{once:!0}),a.signal.aborted)return void d();h({event:"snapshot",data:c.snapshot()});let k=c.currentDelta();k&&h(k)},cancel(){g=!0,d()}});return new Response(h,{headers:{"Content-Type":"text/event-stream","Cache-Control":"no-cache, no-transform",Connection:"keep-alive","X-Accel-Buffering":"no"}})}d()}catch(a){d(a)}})},88692:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/config/model-resolver")},90431:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/async/job-manager")},92178:a=>{a.exports=import("@oh-my-pi/pi-catalog/effort")},92582:a=>{a.exports=import("@oh-my-pi/pi-coding-agent")},94285:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/slash-commands/acp-builtins")},96175:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/registry/agent-lifecycle")},96282:a=>{a.exports=import("@oh-my-pi/pi-tui/overlays/model-selector")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,5582,3229,6429,4649,7310],()=>b(b.s=10163));module.exports=c})();
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":1,"files":["../../../../../../node_modules/@oh-my-pi/pi-agent-core/package.json","../../../../../../node_modules/@oh-my-pi/pi-agent-core/src/compaction.ts","../../../../../../node_modules/@oh-my-pi/pi-agent-core/src/index.ts","../../../../../../node_modules/@oh-my-pi/pi-ai/package.json","../../../../../../node_modules/@oh-my-pi/pi-ai/src/index.ts","../../../../../../node_modules/@oh-my-pi/pi-catalog/package.json","../../../../../../node_modules/@oh-my-pi/pi-catalog/src/compat/auth.ts","../../../../../../node_modules/@oh-my-pi/pi-catalog/src/effort.ts","../../../../../../node_modules/@oh-my-pi/pi-coding-agent/package.json","../../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/async/job-manager.ts","../../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/config.ts","../../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/config/model-resolver.ts","../../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/config/model-roles.ts","../../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/config/model-settings.ts","../../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/extensibility/custom-tools/index.ts","../../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/extensibility/skills.ts","../../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/goals/settings.ts","../../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/index.ts","../../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/memory-backend/redact.ts","../../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/modes/rpc/rpc-mode.ts","../../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/modes/rpc/rpc-subagents.ts","../../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/modes/runtime-init.ts","../../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/plan-mode/plan-files.ts","../../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/registry/agent-lifecycle.ts","../../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/registry/agent-registry.ts","../../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/secrets/patterns.ts","../../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/secrets/regex.ts","../../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/session/exit-diagnostics.ts","../../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/session/messages.ts","../../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/slash-commands/acp-builtins.ts","../../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/slash-commands/available-commands.ts","../../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/slash-commands/builtin-registry.ts","../../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/system-prompt.ts","../../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/task/persisted-revive.ts","../../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/task/settings.ts","../../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/tools/todo.ts","../../../../../../node_modules/@oh-my-pi/pi-tui/package.json","../../../../../../node_modules/@oh-my-pi/pi-tui/src/index.ts","../../../../../../node_modules/@oh-my-pi/pi-tui/src/overlays/model-selector.ts","../../../../../../node_modules/@opentelemetry/api/build/src/api/context.js","../../../../../../node_modules/@opentelemetry/api/build/src/api/diag.js","../../../../../../node_modules/@opentelemetry/api/build/src/api/metrics.js","../../../../../../node_modules/@opentelemetry/api/build/src/api/propagation.js","../../../../../../node_modules/@opentelemetry/api/build/src/api/trace.js","../../../../../../node_modules/@opentelemetry/api/build/src/baggage/context-helpers.js","../../../../../../node_modules/@opentelemetry/api/build/src/baggage/internal/baggage-impl.js","../../../../../../node_modules/@opentelemetry/api/build/src/baggage/internal/symbol.js","../../../../../../node_modules/@opentelemetry/api/build/src/baggage/utils.js","../../../../../../node_modules/@opentelemetry/api/build/src/context-api.js","../../../../../../node_modules/@opentelemetry/api/build/src/context/NoopContextManager.js","../../../../../../node_modules/@opentelemetry/api/build/src/context/context.js","../../../../../../node_modules/@opentelemetry/api/build/src/diag-api.js","../../../../../../node_modules/@opentelemetry/api/build/src/diag/ComponentLogger.js","../../../../../../node_modules/@opentelemetry/api/build/src/diag/consoleLogger.js","../../../../../../node_modules/@opentelemetry/api/build/src/diag/internal/logLevelLogger.js","../../../../../../node_modules/@opentelemetry/api/build/src/diag/types.js","../../../../../../node_modules/@opentelemetry/api/build/src/index.js","../../../../../../node_modules/@opentelemetry/api/build/src/internal/global-utils.js","../../../../../../node_modules/@opentelemetry/api/build/src/internal/semver.js","../../../../../../node_modules/@opentelemetry/api/build/src/metrics-api.js","../../../../../../node_modules/@opentelemetry/api/build/src/metrics/Metric.js","../../../../../../node_modules/@opentelemetry/api/build/src/metrics/NoopMeter.js","../../../../../../node_modules/@opentelemetry/api/build/src/metrics/NoopMeterProvider.js","../../../../../../node_modules/@opentelemetry/api/build/src/propagation-api.js","../../../../../../node_modules/@opentelemetry/api/build/src/propagation/NoopTextMapPropagator.js","../../../../../../node_modules/@opentelemetry/api/build/src/propagation/TextMapPropagator.js","../../../../../../node_modules/@opentelemetry/api/build/src/trace-api.js","../../../../../../node_modules/@opentelemetry/api/build/src/trace/NonRecordingSpan.js","../../../../../../node_modules/@opentelemetry/api/build/src/trace/NoopTracer.js","../../../../../../node_modules/@opentelemetry/api/build/src/trace/NoopTracerProvider.js","../../../../../../node_modules/@opentelemetry/api/build/src/trace/ProxyTracer.js","../../../../../../node_modules/@opentelemetry/api/build/src/trace/ProxyTracerProvider.js","../../../../../../node_modules/@opentelemetry/api/build/src/trace/SamplingResult.js","../../../../../../node_modules/@opentelemetry/api/build/src/trace/context-utils.js","../../../../../../node_modules/@opentelemetry/api/build/src/trace/internal/tracestate-impl.js","../../../../../../node_modules/@opentelemetry/api/build/src/trace/internal/tracestate-validators.js","../../../../../../node_modules/@opentelemetry/api/build/src/trace/internal/utils.js","../../../../../../node_modules/@opentelemetry/api/build/src/trace/invalid-span-constants.js","../../../../../../node_modules/@opentelemetry/api/build/src/trace/span_kind.js","../../../../../../node_modules/@opentelemetry/api/build/src/trace/spancontext-utils.js","../../../../../../node_modules/@opentelemetry/api/build/src/trace/status.js","../../../../../../node_modules/@opentelemetry/api/build/src/trace/trace_flags.js","../../../../../../node_modules/@opentelemetry/api/build/src/version.js","../../../../../../node_modules/@opentelemetry/api/package.json","../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../node_modules/@swc/helpers/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.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/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/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/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/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/3229.js","../../../../chunks/4649.js","../../../../chunks/4741.js","../../../../chunks/5582.js","../../../../chunks/6429.js","../../../../chunks/7310.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/lounge/events/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{},"edgeSSRModuleMapping":{},"clientModules":{},"entryCSSFiles":{"D:\\a\\CUELO\\CUELO\\app\\api\\lounge\\events\\route":[]},"rscModuleMapping":{},"edgeRscModuleMapping":{}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(()=>{var a={};a.id=5736,a.ids=[5736],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},1740:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/extensibility/custom-tools")},3330:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/task/persisted-revive")},4327:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/system-prompt")},5969:a=>{a.exports=import("@oh-my-pi/pi-agent-core/compaction")},9655:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/modes/runtime-init")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11746:a=>{a.exports=import("@oh-my-pi/pi-ai")},14882:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/session/messages")},15543:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{handler:()=>y,patchFetch:()=>x,routeModule:()=>z,serverHooks:()=>C,workAsyncStorage:()=>A,workUnitAsyncStorage:()=>B});var e=c(19225),f=c(84006),g=c(8317),h=c(99373),i=c(34775),j=c(24235),k=c(261),l=c(54365),m=c(90771),n=c(73461),o=c(67798),p=c(92280),q=c(62018),r=c(45696),s=c(47929),t=c(86439),u=c(37527),v=c(18379),w=a([v]);v=(w.then?(await w)():w)[0];let z=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/lounge/route",pathname:"/api/lounge",filename:"route",bundlePath:"app/api/lounge/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"D:\\a\\CUELO\\CUELO\\app\\api\\lounge\\route.ts",nextConfigOutput:"",userland:v,...{}}),{workAsyncStorage:A,workUnitAsyncStorage:B,serverHooks:C}=z;function x(){return(0,g.patchFetch)({workAsyncStorage:A,workUnitAsyncStorage:B})}async function y(a,b,c){c.requestMeta&&(0,h.setRequestMeta)(a,c.requestMeta),z.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/lounge/route";"/index"===d&&(d="/");let e=await z.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,deploymentId:v,params:w,nextConfig:x,parsedUrl:y,isDraftMode:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=e,I=(0,k.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,y,!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(x.adapterPath)return await K();throw new t.NoFallbackError}}let L=null;!J||z.isDev||A||(L=F,L="/index"===L?"/":L);let M=!0===z.isDev||!J,N=J&&!M;H&&G&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,i.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,h.getRequestMeta)(a,"minimalMode"),T=(0,h.getRequestMeta)(a,"incrementalCache")||await z.getIncrementalCache(a,x,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:w,previewProps:B.preview,renderOpts:{experimental:{authInterrupts:!!x.experimental.authInterrupts},cacheComponents:!!x.cacheComponents,supportsDynamicResponse:M,incrementalCache:T,cacheLifeProfiles:x.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>z.onRequestError(a,b,d,e,C)},sharedContext:{buildId:g,deploymentId:v}},V=new l.NodeNextRequest(a),W=new l.NodeNextResponse(b),X=m.NextRequestAdapter.fromNodeNextRequest(V,(0,m.signalFromNodeResponse)(b));try{let e,g=async a=>z.handle(X,U).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let f=c.get("next.route");if(f){let b=`${O} ${f}`;a.setAttributes({"next.route":f,"http.route":f,"next.span_name":b}),a.updateName(b),e&&e!==a&&(e.setAttribute("http.route",f),e.updateName(b))}else a.updateName(`${O} ${d}`)}),h=async e=>{var h,i;let j=async({previousCacheEntry:f})=>{try{if(!S&&D&&E&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(e);a.fetchMetrics=U.renderOpts.fetchMetrics;let h=U.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=U.renderOpts.collectedTags;if(!J)return await (0,p.I)(V,W,d,U.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[s.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:U.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await z.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},k=await z.handleResponse({req:a,nextConfig:x,cacheKey:L,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:B,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),A&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,q.fromNodeOutgoingHttpHeaders)(k.value.headers);return S&&J||l.delete(s.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,r.getCacheControlHeader)(k.cacheControl)),await (0,p.I)(V,W,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};R&&Q?await h(Q):(e=P.getActiveScopeSpan(),await P.withPropagatedContext(a.headers,()=>P.trace(n.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},h),void 0,!R))}catch(b){if(b instanceof t.NoFallbackError||await z.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;return await (0,p.I)(V,W,new Response(null,{status:500})),null}}d()}catch(a){d(a)}})},18379:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{GET:()=>i,POST:()=>j,dynamic:()=>k,runtime:()=>l});var e=c(66544),f=c(29867),g=c(15837),h=a([f]);f=(h.then?(await h)():h)[0];let k="force-dynamic",l="nodejs",m={"Cache-Control":"no-store"};async function i(a){if(!(0,e.EN)(a))return Response.json({error:"Untrusted API request"},{status:403});try{let a=await (0,f.T)();return await a.refreshAccounts(),Response.json(a.snapshot(),{headers:m})}catch{return Response.json({error:"단톡방 런타임을 읽지 못했습니다."},{status:503,headers:m})}}async function j(a){let b;if(!(0,e.EN)(a))return Response.json({error:"Untrusted API request"},{status:403});if(!(0,e.E2)(a))return Response.json({error:"Content-Type must be application/json"},{status:415});try{let c=await a.text();if(c.length>16384)return Response.json({error:"요청이 너무 큽니다."},{status:413});b=JSON.parse(c)}catch{return Response.json({error:"올바른 JSON이 필요합니다."},{status:400})}let c=(0,g.CW)(b);if(!c.ok)return Response.json({error:c.error},{status:400});try{let a=await (0,f.T)();"settings"===c.action.action&&await a.refreshAccounts();let b=a.dispatch(c.action);return Response.json(b.body,{status:b.status,headers:m})}catch{return Response.json({error:"단톡방 요청을 처리하지 못했습니다."},{status:503,headers:m})}}d()}catch(a){d(a)}})},19819:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/goals/settings")},22127:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/memory-backend/redact")},25167:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/modes/rpc/rpc-mode")},26854:a=>{a.exports=import("@oh-my-pi/pi-tui")},28315:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/extensibility/skills")},28354:a=>{a.exports=require("util")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{a.exports=require("node:child_process")},33374:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/secrets/patterns")},33594:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/slash-commands/available-commands")},33873:a=>{a.exports=require("path")},34722:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/task/settings")},36609:a=>{a.exports=import("@oh-my-pi/pi-catalog/compat/auth")},40575:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/tools/todo")},43696:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/modes/rpc/rpc-subagents")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:a=>{a.exports=require("node:os")},48331:a=>{a.exports=import("@oh-my-pi/pi-agent-core")},51455:a=>{a.exports=require("node:fs/promises")},53739:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/session/exit-diagnostics")},55511:a=>{a.exports=require("crypto")},57588:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/secrets/regex")},58505:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/config")},59895:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/slash-commands/builtin-registry")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},63411:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/config/model-settings")},73024:a=>{a.exports=require("node:fs")},73079:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/config/model-roles")},76760:a=>{a.exports=require("node:path")},77030:a=>{a.exports=require("node:net")},77598:a=>{a.exports=require("node:crypto")},78310:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/registry/agent-registry")},79646:a=>{a.exports=require("child_process")},82512:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/plan-mode/plan-files")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},88692:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/config/model-resolver")},90431:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/async/job-manager")},92178:a=>{a.exports=import("@oh-my-pi/pi-catalog/effort")},92582:a=>{a.exports=import("@oh-my-pi/pi-coding-agent")},94285:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/slash-commands/acp-builtins")},96175:a=>{a.exports=import("@oh-my-pi/pi-coding-agent/registry/agent-lifecycle")},96282:a=>{a.exports=import("@oh-my-pi/pi-tui/overlays/model-selector")}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,5582,3229,6429,4649,7310],()=>b(b.s=15543));module.exports=c})();
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":1,"files":["../../../../../node_modules/@oh-my-pi/pi-agent-core/package.json","../../../../../node_modules/@oh-my-pi/pi-agent-core/src/compaction.ts","../../../../../node_modules/@oh-my-pi/pi-agent-core/src/index.ts","../../../../../node_modules/@oh-my-pi/pi-ai/package.json","../../../../../node_modules/@oh-my-pi/pi-ai/src/index.ts","../../../../../node_modules/@oh-my-pi/pi-catalog/package.json","../../../../../node_modules/@oh-my-pi/pi-catalog/src/compat/auth.ts","../../../../../node_modules/@oh-my-pi/pi-catalog/src/effort.ts","../../../../../node_modules/@oh-my-pi/pi-coding-agent/package.json","../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/async/job-manager.ts","../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/config.ts","../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/config/model-resolver.ts","../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/config/model-roles.ts","../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/config/model-settings.ts","../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/extensibility/custom-tools/index.ts","../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/extensibility/skills.ts","../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/goals/settings.ts","../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/index.ts","../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/memory-backend/redact.ts","../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/modes/rpc/rpc-mode.ts","../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/modes/rpc/rpc-subagents.ts","../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/modes/runtime-init.ts","../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/plan-mode/plan-files.ts","../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/registry/agent-lifecycle.ts","../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/registry/agent-registry.ts","../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/secrets/patterns.ts","../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/secrets/regex.ts","../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/session/exit-diagnostics.ts","../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/session/messages.ts","../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/slash-commands/acp-builtins.ts","../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/slash-commands/available-commands.ts","../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/slash-commands/builtin-registry.ts","../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/system-prompt.ts","../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/task/persisted-revive.ts","../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/task/settings.ts","../../../../../node_modules/@oh-my-pi/pi-coding-agent/src/tools/todo.ts","../../../../../node_modules/@oh-my-pi/pi-tui/package.json","../../../../../node_modules/@oh-my-pi/pi-tui/src/index.ts","../../../../../node_modules/@oh-my-pi/pi-tui/src/overlays/model-selector.ts","../../../../../node_modules/@opentelemetry/api/build/src/api/context.js","../../../../../node_modules/@opentelemetry/api/build/src/api/diag.js","../../../../../node_modules/@opentelemetry/api/build/src/api/metrics.js","../../../../../node_modules/@opentelemetry/api/build/src/api/propagation.js","../../../../../node_modules/@opentelemetry/api/build/src/api/trace.js","../../../../../node_modules/@opentelemetry/api/build/src/baggage/context-helpers.js","../../../../../node_modules/@opentelemetry/api/build/src/baggage/internal/baggage-impl.js","../../../../../node_modules/@opentelemetry/api/build/src/baggage/internal/symbol.js","../../../../../node_modules/@opentelemetry/api/build/src/baggage/utils.js","../../../../../node_modules/@opentelemetry/api/build/src/context-api.js","../../../../../node_modules/@opentelemetry/api/build/src/context/NoopContextManager.js","../../../../../node_modules/@opentelemetry/api/build/src/context/context.js","../../../../../node_modules/@opentelemetry/api/build/src/diag-api.js","../../../../../node_modules/@opentelemetry/api/build/src/diag/ComponentLogger.js","../../../../../node_modules/@opentelemetry/api/build/src/diag/consoleLogger.js","../../../../../node_modules/@opentelemetry/api/build/src/diag/internal/logLevelLogger.js","../../../../../node_modules/@opentelemetry/api/build/src/diag/types.js","../../../../../node_modules/@opentelemetry/api/build/src/index.js","../../../../../node_modules/@opentelemetry/api/build/src/internal/global-utils.js","../../../../../node_modules/@opentelemetry/api/build/src/internal/semver.js","../../../../../node_modules/@opentelemetry/api/build/src/metrics-api.js","../../../../../node_modules/@opentelemetry/api/build/src/metrics/Metric.js","../../../../../node_modules/@opentelemetry/api/build/src/metrics/NoopMeter.js","../../../../../node_modules/@opentelemetry/api/build/src/metrics/NoopMeterProvider.js","../../../../../node_modules/@opentelemetry/api/build/src/propagation-api.js","../../../../../node_modules/@opentelemetry/api/build/src/propagation/NoopTextMapPropagator.js","../../../../../node_modules/@opentelemetry/api/build/src/propagation/TextMapPropagator.js","../../../../../node_modules/@opentelemetry/api/build/src/trace-api.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/NonRecordingSpan.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/NoopTracer.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/NoopTracerProvider.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/ProxyTracer.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/ProxyTracerProvider.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/SamplingResult.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/context-utils.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/internal/tracestate-impl.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/internal/tracestate-validators.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/internal/utils.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/invalid-span-constants.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/span_kind.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/spancontext-utils.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/status.js","../../../../../node_modules/@opentelemetry/api/build/src/trace/trace_flags.js","../../../../../node_modules/@opentelemetry/api/build/src/version.js","../../../../../node_modules/@opentelemetry/api/package.json","../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../node_modules/@swc/helpers/package.json","../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../node_modules/next/dist/client/components/app-router-headers.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/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/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/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/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/3229.js","../../../chunks/4649.js","../../../chunks/4741.js","../../../chunks/5582.js","../../../chunks/6429.js","../../../chunks/7310.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/lounge/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{},"edgeSSRModuleMapping":{},"clientModules":{},"entryCSSFiles":{"D:\\a\\CUELO\\CUELO\\app\\api\\lounge\\route":[]},"rscModuleMapping":{},"edgeRscModuleMapping":{}};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";exports.id=424,exports.ids=[424],exports.modules={10424:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{KA:()=>k});var e=c(33873),f=c(28967),g=c(38741),h=c(40402),i=c(63201),j=a([g,h,i]);[g,h,i]=j.then?(await j)():j;let l="cartesia",m={async read(){let{authStorage:a}=await (0,g.getOmpRuntime)(),b=a.credentials.get(l);return b?.type==="api_key"&&b.key?b.key:void 0},async write(a){let{authStorage:b}=await (0,g.getOmpRuntime)();await b.credentials.set(l,{type:"api_key",key:a,source:"login"}),(0,f.kn)(),(0,g.invalidateOmpRuntime)()},async remove(){let{authStorage:a}=await (0,g.getOmpRuntime)();await a.credentials.remove(l),(0,f.kn)(),(0,g.invalidateOmpRuntime)()}};function k(){return globalThis.__liveVoiceService??=(0,i.Im)({assetDir:(0,e.join)(process.cwd(),"public","audio","live"),stateFile:(0,e.join)((0,h.$M)(),"cuelo-live-voices.json"),keys:m}),globalThis.__liveVoiceService}d()}catch(a){d(a)}})},22691:(a,b,c)=>{c.d(b,{Lt:()=>d,Y3:()=>f});let d=["YUKI(유키)","ISANA(이사나)","MIO(미오)","RIN(린)","NOVA(노바)","SHION(시온)","HIKARI(히카리)"],e={"YUKI(유키)":"yuki","ISANA(이사나)":"isana","MIO(미오)":"mio","RIN(린)":"rin","NOVA(노바)":"nova","SHION(시온)":"shion","HIKARI(히카리)":"hikari"};function f(a){return a&&Object.hasOwn(e,a)?e[a]:null}},33338:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{Gt:()=>k,Y3:()=>g,eR:()=>j,iH:()=>l,pq:()=>m});var e=c(75199),f=a([e]);e=(f.then?(await f)():f)[0];let k="2026-08-14",l="cartesia";class m extends Error{constructor(a,b,c){super(a),this.kind=b,this.status=c,this.name="CartesiaError"}}function g(a,b){return b?a.replaceAll(b,"[redacted]"):a}async function h(a,b){var c;let d=g(await a.text().catch(()=>""),b),e=d.trim();try{let a=JSON.parse(d),b=[a.title,a.message,a.error].filter(a=>"string"==typeof a&&""!==a);b.length>0&&(e=b.join(": "))}catch{}return e=e.replaceAll(/\s+/g," ").slice(0,300)||g(a.statusText,b),new m(`Cartesia ${a.status}: ${e}`,(c=a.status,401===c?"auth":402===c||403===c?"plan":429===c?"rate":404===c?"not-found":c>=500?"ambiguous":"bad-request"),a.status)}function i(a){if("object"!=typeof a||null===a||"string"!=typeof a.id||""===a.id)return null;let b=[];if(Array.isArray(a.accents))for(let c of a.accents){if("object"!=typeof c||null===c)continue;let{accent:a,locale:d,is_native:e}=c;"string"==typeof a&&b.push({accent:a,..."string"==typeof d?{locale:d}:{},isNative:!0===e})}return{id:a.id,name:"string"==typeof a.name?a.name:"",description:"string"==typeof a.description?a.description:"",isOwner:!0===a.is_owner,accents:b}}function j(a,b=(0,e.wrapFetchForProxy)(fetch,l)){let c={Authorization:`Bearer ${a}`,"Cartesia-Version":k};async function d(e,f,g=3e4){let i;try{i=await b(`https://api.cartesia.ai${e}`,{...f,headers:{...c,...f.headers},signal:AbortSignal.timeout(g),cache:"no-store",redirect:"error"})}catch(b){let a=b instanceof Error?b.name:"network";throw new m(`Cartesia 요청이 끝나지 않았습니다 (${a})`,"ambiguous")}if(!i.ok)throw await h(i,a);try{return await i.json()}catch{throw new m("Cartesia 응답을 읽지 못했습니다","ambiguous",i.status)}}async function f(a,b,c){let e=i(await d(a,b,c));if(!e)throw new m("Cartesia가 voice id 없는 응답을 돌려줬습니다","ambiguous");return e}return{async verifyKey(){await d("/voices?limit=1&is_owner=true",{method:"GET"})},async listOwnedVoices(){let a,b=[];for(let c=0;c<50;c+=1){let c=new URLSearchParams({limit:String(100),is_owner:"true"});a&&c.set("starting_after",a);let e=await d(`/voices?${c}`,{method:"GET"}),f="object"==typeof e&&null!==e?e:{};if(!Array.isArray(f.data))throw new m("Cartesia voice 목록 형식이 올바르지 않습니다","ambiguous");for(let a of f.data){let c=i(a);c&&b.push(c)}if(!0!==f.has_more)return b;let g="string"==typeof f.next_page&&f.next_page?f.next_page:b.at(-1)?.id;if(!g||g===a)break;a=g}throw new m("Cartesia voice 목록을 끝까지 확인하지 못했습니다","ambiguous")},getVoice:a=>f(`/voices/${encodeURIComponent(a)}`,{method:"GET"}),cloneVoice(a){let b=new FormData;return b.set("clip",a.clip,a.fileName),b.set("name",a.name),b.set("description",a.description),b.set("language",a.language),b.set("accent",a.accent),b.set("access","private"),f("/voices/clone",{method:"POST",body:b},12e4)},addAccents:(a,b)=>f(`/voices/${encodeURIComponent(a)}/accents`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({accents:b})},12e4)}}d()}catch(a){d(a)}})},44309:(a,b,c)=>{c.d(b,{A5:()=>k,HH:()=>n,Jh:()=>l,f1:()=>e});var d=c(22691);let e="voices.json",f={"sonic-3.6":!0,"sonic-3.5":!0,"sonic-3":!0,"sonic-latest":!0},g=Object.fromEntries(["neutral","happy","excited","enthusiastic","elated","euphoric","triumphant","amazed","surprised","flirtatious","curious","content","peaceful","serene","calm","grateful","affectionate","trust","sympathetic","anticipation","mysterious","angry","mad","outraged","frustrated","agitated","threatened","disgusted","contempt","envious","sarcastic","ironic","sad","dejected","melancholic","disappointed","hurt","guilty","bored","tired","rejected","nostalgic","wistful","apologetic","hesitant","insecure","confused","resigned","anxious","panicked","alarmed","scared","proud","confident","distant","skeptical","contemplative","determined"].map(a=>[a,!0])),h=/^[a-z0-9][a-z0-9_-]*\.(?:wav|mp3|flac|ogg|webm)$/,i=/^[a-z]{2}$/,j=/^[a-z][a-z-]*$/,k={model:"",profiles:new Map},l=d.Lt.map(a=>({id:(0,d.Y3)(a),alias:a}));function m(a,b,c,d){return void 0===a?d:"number"!=typeof a||!Number.isFinite(a)||a<b||a>c?null:a}function n(a){if("object"!=typeof a||null===a)return k;let{version:b,provider:c,model:e,characters:l}=a;if(1!==b||"cartesia"!==c||"string"!=typeof e||!Object.hasOwn(f,e)||!Array.isArray(l))return k;let n=new Map;for(let a of l){let b=function(a){if("object"!=typeof a||null===a)return null;let{id:b,alias:c,reference:e,referenceLanguage:f,referenceAccent:k,addAccents:l,tuning:n}=a;if("string"!=typeof b||"string"!=typeof c||(0,d.Y3)(c)!==b||"string"!=typeof e||!h.test(e)||"string"!=typeof f||!i.test(f)||"string"!=typeof k||!j.test(k))return null;let o=void 0===l?[]:l;if(!Array.isArray(o)||!o.every(a=>"string"==typeof a&&j.test(a))||"accepted"!==n&&"provisional"!==n)return null;let p=function(a){if(void 0===a)return{speed:1,volume:1};if("object"!=typeof a||null===a)return null;let{emotion:b,speed:c,volume:d}=a,e=m(c,.6,1.5,1),f=m(d,.5,2,1);return null!==e&&null!==f&&(void 0===b||"string"==typeof b&&Object.hasOwn(g,b))?void 0===b?{speed:e,volume:f}:{emotion:b,speed:e,volume:f}:null}(a.generation);return p?{id:b,alias:c,reference:e,referenceLanguage:f,referenceAccent:k,addAccents:[...new Set(o)],generation:p,tuning:n}:null}(a);b&&!n.has(b.id)&&n.set(b.id,b)}return{model:e,profiles:n}}},63201:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{Im:()=>o});var e=c(55511),f=c(29021),g=c(33873),h=c(8102),i=c(33338),j=c(44309),k=c(22691),l=a([i]);function m(a){return(0,e.createHash)("sha256").update(a).digest("hex").slice(0,16)}function n(a){return a instanceof Error?a.message:String(a)}function o(a){let b,c=a.client??(a=>(0,i.eR)(a)),d=new Map,l=null,o=null;function p(){try{return(0,j.HH)(JSON.parse((0,f.readFileSync)((0,g.join)(a.assetDir,j.f1),"utf8")))}catch{return j.A5}}function q(){if(!(0,f.existsSync)(a.stateFile))return{version:1,accounts:{}};let b=JSON.parse((0,f.readFileSync)(a.stateFile,"utf8"));if("object"!=typeof b||null===b)throw Error("통화 음성 상태 파일 형식이 올바르지 않습니다.");let{version:c,accounts:d}=b;if(1!==c||"object"!=typeof d||null===d)throw Error("통화 음성 상태 파일 형식이 올바르지 않습니다.");return b}function r(b,c,d){let e=q(),i=e.accounts[b]??{characters:{}},j=d({...i.characters[c]});return e.accounts[b]={...i,characters:{...i.characters,[c]:j}},(0,f.mkdirSync)((0,g.dirname)(a.stateFile),{recursive:!0,mode:448}),(0,h.$)(a.stateFile,`${JSON.stringify(e,null,2)}
|
|
2
|
-
`),j}function s(b){let c,h=(0,g.join)(a.assetDir,b.reference);try{c=(0,f.statSync)(h)}catch{return null}if(!c.isFile())return null;let i=d.get(h);if(i&&i.mtimeMs===c.mtimeMs&&i.size===c.size)return i.sha256;let j=(0,e.createHash)("sha256").update((0,f.readFileSync)(h)).digest("hex");return d.set(h,{mtimeMs:c.mtimeMs,size:c.size,sha256:j}),j}function t(a,b){return!!(a?.voiceId&&a.accentsReady&&(a.imported||a.referenceSha256===b))}async function u(b){let d=b.trim();if(!d||/\s/.test(d))throw new i.pq("Cartesia API 키 형식이 올바르지 않습니다","bad-request");await c(d).verifyKey(),await a.keys.write(d),o=null}async function v(){if(b)throw Error("음성 준비가 진행 중이라 키를 지울 수 없습니다.");await a.keys.remove(),o=null}async function w(b,c,d,e,h,j){var k;let l,m=(k=d.id,`CUELO live voice ${k} ref:${e.slice(0,12)}`),o=r(c,d.id,a=>a.voiceId&&!a.imported&&a.referenceSha256!==e?{pendingCloneMarker:a.pendingCloneMarker}:{...a,error:void 0});if(!o.voiceId){let k=(await h()).find(a=>a.description.trim()===m);if(k)o=r(c,d.id,()=>({voiceId:k.id,referenceSha256:e}));else{let k=d.reference,l=new Blob([(0,f.readFileSync)((0,g.join)(a.assetDir,k))],{type:"audio/wav"});r(c,d.id,a=>({...a,pendingCloneMarker:m}));try{let a=await b.cloneVoice({clip:l,fileName:k,name:`CUELO ${d.alias}`,description:m,language:d.referenceLanguage,accent:d.referenceAccent});o=r(c,d.id,()=>({voiceId:a.id,referenceSha256:e}))}catch(b){if(!(b instanceof i.pq)||"ambiguous"!==b.kind)throw r(c,d.id,()=>({error:n(b)})),b;j();let a=(await h().catch(()=>[])).find(a=>a.description.trim()===m);if(!a)return void r(c,d.id,a=>({...a,error:`복제 결과를 확인하지 못했습니다. 다시 준비하면 계정 목록을 먼저 확인합니다. (${n(b)})`}));o=r(c,d.id,()=>({voiceId:a.id,referenceSha256:e}))}}}if(o.accentsReady||!o.voiceId)return;let p=o.voiceId;try{l=await b.getVoice(p)}catch(a){if(a instanceof i.pq&&"not-found"===a.kind)return void r(c,d.id,()=>({error:"Cartesia 계정에 이 voice가 없습니다. 다시 준비하면 새로 만듭니다."}));throw a}let q=d.addAccents.filter(a=>!l.accents.some(b=>b.accent===a));q.length>0&&(l=await b.addAccents(p,q));let s=d.addAccents.filter(a=>!l.accents.some(b=>b.accent===a));s.length>0?r(c,d.id,a=>({...a,error:`억양을 확인하지 못했습니다: ${s.join(", ")}`})):r(c,d.id,a=>({...a,accentsReady:!0,error:void 0}))}async function x(a){let b,d=c(a),e=m(a),f=p(),g=()=>b??=d.listOwnedVoices(),h=()=>{b=void 0};for(let{id:a}of j.Jh){let b=f.profiles.get(a),c=b?s(b):null;if(!b||!c)continue;let j=q().accounts[e]?.characters[a];if(!t(j,c)){l=a;try{await w(d,e,b,c,g,h)}catch(b){if(b instanceof i.pq&&("auth"===b.kind||"plan"===b.kind||"rate"===b.kind)){o="plan"===b.kind?`Cartesia 플랜이나 크레딧이 음성 복제를 허용하지 않습니다. 복제가 되는 플랜(Pro 이상)이 필요합니다. (${b.message})`:b.message;return}if(b instanceof i.pq&&"ambiguous"===b.kind){o=b.message;return}r(e,a,a=>({...a,error:n(b)}))}}}}async function y(){if(b)return;let{promise:c,resolve:d,reject:e}=Promise.withResolvers(),j=!1;b=c.then(x).catch(a=>{j||(o=n(a))}).finally(()=>{b=void 0,l=null});try{var k;let b,c,e=await a.keys.read();if(!e)throw new i.pq("Cartesia API 키가 없습니다","bad-request");k=m(e),c=(b=q()).accounts[k]??{characters:{}},b.accounts[k]={...c,acknowledgedAt:new Date().toISOString()},(0,f.mkdirSync)((0,g.dirname)(a.stateFile),{recursive:!0,mode:448}),(0,h.$)(a.stateFile,`${JSON.stringify(b,null,2)}
|
|
3
|
-
`),o=null,d(e)}catch(a){throw j=!0,e(a),await b,a}}async function z(b){let c,d=await a.keys.read();if(!d)return{kind:"no-key"};let e=(0,k.Y3)(b);if(!b||!e)return{kind:"not-ready",alias:b??""};let f=p(),g=f.profiles.get(e),h=g?s(g):null;if(!g||!h)return{kind:"not-ready",alias:b};try{c=q().accounts[m(d)]?.characters[e]}catch{return{kind:"not-ready",alias:b}}return t(c,h)?{kind:"ready",apiKey:d,model:f.model,voiceId:c.voiceId,profile:g}:{kind:"not-ready",alias:b}}return{settings:async function(){let c=await a.keys.read(),d=p(),e=null,f=null;try{e=q()}catch(a){f=n(a)}let g=c&&e?e.accounts[m(c)]:void 0,h=j.Jh.map(({id:a,alias:c})=>{let e=d.profiles.get(a),f=e?s(e):null;if(!e||!f)return{id:a,alias:c,state:"missing-asset"};let h={id:a,alias:c,tuning:e.tuning},i=g?.characters[a];return b&&l===a?{...h,state:"preparing"}:t(i,f)?{...h,state:"ready"}:i?.pendingCloneMarker?{...h,state:"needs-check",...i.error?{error:i.error}:{}}:i?.error?{...h,state:"failed",error:i.error}:{...h,state:"not-prepared"}});return{configured:!!c,keyHint:c?c.length<=12?"••••":`${c.slice(0,7)}…${c.slice(-4)}`:null,preparing:!!b,acknowledgedAt:g?.acknowledgedAt??null,characters:h,lastError:f??o}},saveKey:u,removeKey:v,prepare:y,planFor:z,idle:()=>b??Promise.resolve()}}i=(l.then?(await l)():l)[0],d()}catch(a){d(a)}})}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";exports.id=4649,exports.ids=[4649],exports.modules={30638:(a,b,c)=>{c.d(b,{e$:()=>g,o:()=>e});let d=[{alias:"RIN(린)",file:"rin.webp"},{alias:"MIO(미오)",file:"mio.webp"},{alias:"NOVA(노바)",file:"nova.webp",provider:"opencode-go"},{alias:"YUKI(유키)",file:"yuki.webp",provider:"openai-codex"},{alias:"ISANA(이사나)",file:"isana.webp",provider:"b-ai"},{alias:"SHION(시온)",file:"shion.webp",provider:"web6"},{alias:"HIKARI(히카리)",file:"hikari.webp",provider:"google-antigravity"}],e=[{seed:3,alias:d[3].alias,provider:"openai-codex",model:"gpt-6-astra",voice:"빠른 판단\xb7선명한 결론\xb7영리한 장난기",summonExample:"유키 불러와",switchExample:"유키로 교체해"},{seed:4,alias:d[4].alias,provider:"b-ai",model:"deepseek-v4.1-flash",voice:"호기심과 실행력\xb7생기 있는 관찰\xb7솔직함",summonExample:"이사나 불러와",switchExample:"이사나로 교체해"},{seed:0,alias:d[0].alias,provider:"anthropic",model:"claude-opus-5-5",oauthPosition:0,voice:"조용한 집중\xb7날카로운 분석\xb7건조한 유머",summonExample:"린 불러와",switchExample:"린으로 교체해"},{seed:1,alias:d[1].alias,provider:"anthropic",model:"claude-opus-5-5",oauthPosition:1,voice:"따뜻하고 세심함\xb7부드럽고 안정적인 설명",summonExample:"미오 불러와",switchExample:"미오로 교체해"},{seed:2,alias:d[2].alias,provider:"opencode-go",model:"muse-spark-1.3-contributor",voice:"번뜩이는 발상\xb7즉흥적 시제품\xb7낙천적 재도전",summonExample:"노바 불러와",switchExample:"노바로 교체해"},{seed:6,alias:d[6].alias,provider:"google-antigravity",model:"gemini-3.8-flash",voice:"빠른 관찰\xb7톡 쏘는 한마디\xb7장난스러운 여유",summonExample:"히카리 불러와",switchExample:"히카리로 교체해"},{seed:5,alias:d[5].alias,provider:"web6",model:"gpt-6-pro",voice:"우아한 전략\xb7넓은 시야\xb7은근한 장난기",summonExample:"시온 불러와",switchExample:null,summonNote:"WEB6 상담으로 호출합니다.",switchNote:"SHION은 WEB6 상담 전용이라 Main으로 교체할 수 없습니다."}];e.filter(a=>null!==a.switchExample),d.filter(a=>!("provider"in a)).length;let f=new Map([...new Map(d.flatMap((a,b)=>"provider"in a?[[a.provider,b]]:[]))].map(([a,b])=>[a,{seed:b,alias:d[b].alias}]));function g(a){return f.get(a)??null}},66544:(a,b,c)=>{c.d(b,{E2:()=>k,EN:()=>j,e9:()=>i});var d=c(77030);function e(a){return(a.startsWith("[")&&a.endsWith("]")?a.slice(1,-1):a).toLowerCase().replace(/\.$/,"")}function f(a){if(!a||/[\s/@\\]/.test(a))return null;try{let b=new URL(`http://${a}`);if(b.username||b.password||"/"!==b.pathname||b.search||b.hash)return null;return e(b.hostname)}catch{return null}}function g(){return[process.env.CUELO_HOSTNAME,...process.env.CUELO_ALLOWED_HOSTS?.split(",")??[]].filter(a=>!!a?.trim())}function h(a){try{return new URL(a).origin}catch{return null}}function i(a,b=g()){let c=a.headers.get("host"),h=c?f(c):null;return!!h&&(!!("localhost"===h||h.endsWith(".localhost")||(0,d.isIP)(h))||b.some(a=>{let b;return((b=a?.trim())?(0,d.isIP)(b)?e(b):f(b):null)===h}))}function j(a,b=g()){return!!i(a,b)&&(!!function(a){if("GET"!==a.method||"navigate"!==a.headers.get("sec-fetch-mode")||"document"!==a.headers.get("sec-fetch-dest")||"?1"!==a.headers.get("sec-fetch-user"))return!1;try{return/^\/api\/sessions\/[^/]+\/export$/.test(new URL(a.url).pathname)}catch{return!1}}(a)||!(a.headers.has("origin")||a.headers.has("sec-fetch-site"))||function(a){let b,c,d=a.headers.get("origin");if("cross-site"===a.headers.get("sec-fetch-site"))return!1;if(!d)return!0;let e=(b=new URL(a.url),(c=a.headers.get("host"))?h(`${b.protocol}//${c}`):null);return null!==e&&h(d)===e}(a))}function k(a){let b=a.headers.get("content-type")?.split(";",1)[0]?.trim().toLowerCase();return"application/json"===b||!!(b?.startsWith("application/")&&b.endsWith("+json"))}}};
|