panoma 0.9.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/BUILD-INFO.json +2 -2
- package/app/apps/web/.next-bundle/BUILD_ID +1 -1
- package/app/apps/web/.next-bundle/app-build-manifest.json +186 -186
- package/app/apps/web/.next-bundle/app-path-routes-manifest.json +38 -38
- package/app/apps/web/.next-bundle/build-manifest.json +2 -2
- package/app/apps/web/.next-bundle/prerender-manifest.json +9 -9
- package/app/apps/web/.next-bundle/server/app/(app)/agents/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/ai/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/apps/[id]/page.js +2 -2
- package/app/apps/web/.next-bundle/server/app/(app)/apps/[id]/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/apps/page.js +2 -2
- package/app/apps/web/.next-bundle/server/app/(app)/apps/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/bridge/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/copies/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/credentials/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/disk/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/hidden/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/p/[slug]/page.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/p/[slug]/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/p/[slug]/video/page.js +2 -2
- package/app/apps/web/.next-bundle/server/app/(app)/p/[slug]/video/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/packages/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/page.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/runs/[id]/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/runs/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/search/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/spend/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/twin/look/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/twin/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/(app)/unsaved/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/accounts/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/consult/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/context/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/hello/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/journal/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/keys/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/log/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/mcp/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/notes/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/tasks/[id]/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/agent/tasks/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/ai/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/apps/[id]/[operation]/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/apps/[id]/credentials/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/apps/[id]/jobs/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/apps/[id]/legal/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/apps/[id]/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/apps/[id]/settings/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/apps/jobs/[jobId]/artifact/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/apps/jobs/[jobId]/cancel/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/apps/jobs/[jobId]/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/apps/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/assets/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/assignments/launch/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/assignments/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/catalog/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/check/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/consultations/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/describe/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/disk/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/enrich/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/environment/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/hooks/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/ingest/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/md/apply/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/md/context/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/md/inspect/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/md/repair/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/md/review/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/memory/export/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/north/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/notes/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/open/all/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/open/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/project/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/rescan/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/roots/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/runs/[id]/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/runs/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/scale/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/search/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/secrets/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/spend/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/tasks/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/today/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/assign/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/classify/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/critique/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/design/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/distill/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/episodes/learn/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/episodes/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/look/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/mine/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/rehearse/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/score/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/shot/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/sources/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/synthesize/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/taste/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/twin/verdicts/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/api/watch/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app/icon/[id]/route_client-reference-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/app-paths-manifest.json +38 -38
- package/app/apps/web/.next-bundle/server/chunks/4146.js +1 -0
- package/app/apps/web/.next-bundle/server/chunks/5103.js +1 -1
- package/app/apps/web/.next-bundle/server/chunks/6206.js +1 -0
- package/app/apps/web/.next-bundle/server/chunks/7245.js +1 -1
- package/app/apps/web/.next-bundle/server/chunks/8384.js +1 -1
- package/app/apps/web/.next-bundle/server/chunks/8463.js +1 -1
- package/app/apps/web/.next-bundle/server/chunks/8990.js +2 -2
- package/app/apps/web/.next-bundle/server/functions-config-manifest.json +8 -8
- package/app/apps/web/.next-bundle/server/middleware-manifest.json +5 -5
- package/app/apps/web/.next-bundle/server/pages/500.html +1 -1
- package/app/apps/web/.next-bundle/server/server-reference-manifest.json +1 -1
- package/app/apps/web/.next-bundle/static/chunks/1369-514f421b74ddd546.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/2575-ba51754e97b2189d.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/2921-f3e642805b96ae85.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/7f092448-ce01f3ec11fa0291.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/apps/[id]/{page-dc2c3a7874636c29.js → page-9a7e13c300242729.js} +1 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/apps/page-99d4589f3e46f564.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/{layout-7f3d387ae540018d.js → layout-92c4e9bb06d75cea.js} +1 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/p/[slug]/video/page-e30a1bc740d37b83.js +1 -0
- package/app/apps/web/.next-bundle/static/css/069f32b7135b82ec.css +1 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/app/apps/web/.next-bundle/server/chunks/5941.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/1369-8f6dde7e48bc4684.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/2575-62182d00e5cf3115.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/261-1c2829beaca77dc9.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/7f092448-e07c21e2897ac52e.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/apps/page-00ec4bf42a14ac17.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/p/[slug]/video/page-088684f252e3d59c.js +0 -1
- package/app/apps/web/.next-bundle/static/css/988bfb2024e770b7.css +0 -1
- /package/app/apps/web/.next-bundle/static/{mhsTm5XiqL98MCgDVB08u → STqjZGMJekTAROlGQ0_CG}/_buildManifest.js +0 -0
- /package/app/apps/web/.next-bundle/static/{mhsTm5XiqL98MCgDVB08u → STqjZGMJekTAROlGQ0_CG}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/icon/[id]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3030":{"*":{"id":"56210","name":"*","chunks":[],"async":false}},"3181":{"*":{"id":"9811","name":"*","chunks":[],"async":false}},"3953":{"*":{"id":"65059","name":"*","chunks":[],"async":false}},"4733":{"*":{"id":"8217","name":"*","chunks":[],"async":false}},"4737":{"*":{"id":"4165","name":"*","chunks":[],"async":false}},"6143":{"*":{"id":"8515","name":"*","chunks":[],"async":false}},"9144":{"*":{"id":"65862","name":"*","chunks":[],"async":false}},"12991":{"*":{"id":"88589","name":"*","chunks":[],"async":false}},"14262":{"*":{"id":"88616","name":"*","chunks":[],"async":false}},"14847":{"*":{"id":"93659","name":"*","chunks":[],"async":false}},"15797":{"*":{"id":"90635","name":"*","chunks":[],"async":false}},"17023":{"*":{"id":"65899","name":"*","chunks":[],"async":false}},"18304":{"*":{"id":"26306","name":"*","chunks":[],"async":false}},"18557":{"*":{"id":"77787","name":"*","chunks":[],"async":false}},"19964":{"*":{"id":"10316","name":"*","chunks":[],"async":false}},"20240":{"*":{"id":"46900","name":"*","chunks":[],"async":false}},"20682":{"*":{"id":"38406","name":"*","chunks":[],"async":false}},"22956":{"*":{"id":"16010","name":"*","chunks":[],"async":false}},"23397":{"*":{"id":"16897","name":"*","chunks":[],"async":false}},"28639":{"*":{"id":"23691","name":"*","chunks":[],"async":false}},"28860":{"*":{"id":"41224","name":"*","chunks":[],"async":false}},"29443":{"*":{"id":"13421","name":"*","chunks":[],"async":false}},"30153":{"*":{"id":"98571","name":"*","chunks":[],"async":false}},"36928":{"*":{"id":"75116","name":"*","chunks":[],"async":false}},"38444":{"*":{"id":"29046","name":"*","chunks":[],"async":false}},"40810":{"*":{"id":"75288","name":"*","chunks":[],"async":false}},"41268":{"*":{"id":"14865","name":"*","chunks":[],"async":false}},"41814":{"*":{"id":"10880","name":"*","chunks":[],"async":false}},"44653":{"*":{"id":"37610","name":"*","chunks":[],"async":false}},"48481":{"*":{"id":"3775","name":"*","chunks":[],"async":false}},"53937":{"*":{"id":"58245","name":"*","chunks":[],"async":false}},"54227":{"*":{"id":"13208","name":"*","chunks":[],"async":false}},"54434":{"*":{"id":"7800","name":"*","chunks":[],"async":false}},"54941":{"*":{"id":"19647","name":"*","chunks":[],"async":false}},"56984":{"*":{"id":"82950","name":"*","chunks":[],"async":false}},"62827":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"64106":{"*":{"id":"95434","name":"*","chunks":[],"async":false}},"65425":{"*":{"id":"94917","name":"*","chunks":[],"async":false}},"66229":{"*":{"id":"37133","name":"*","chunks":[],"async":false}},"67890":{"*":{"id":"67417","name":"*","chunks":[],"async":false}},"69332":{"*":{"id":"96712","name":"*","chunks":[],"async":false}},"69636":{"*":{"id":"96842","name":"*","chunks":[],"async":false}},"71640":{"*":{"id":"41674","name":"*","chunks":[],"async":false}},"72646":{"*":{"id":"81446","name":"*","chunks":[],"async":false}},"73856":{"*":{"id":"44792","name":"*","chunks":[],"async":false}},"75164":{"*":{"id":"79068","name":"*","chunks":[],"async":false}},"76004":{"*":{"id":"59558","name":"*","chunks":[],"async":false}},"79135":{"*":{"id":"11124","name":"*","chunks":[],"async":false}},"79296":{"*":{"id":"69528","name":"*","chunks":[],"async":false}},"79840":{"*":{"id":"6070","name":"*","chunks":[],"async":false}},"82582":{"*":{"id":"11824","name":"*","chunks":[],"async":false}},"84456":{"*":{"id":"70686","name":"*","chunks":[],"async":false}},"84549":{"*":{"id":"57364","name":"*","chunks":[],"async":false}},"88145":{"*":{"id":"88885","name":"*","chunks":[],"async":false}},"92458":{"*":{"id":"31230","name":"*","chunks":[],"async":false}},"93489":{"*":{"id":"56059","name":"*","chunks":[],"async":false}},"93949":{"*":{"id":"32554","name":"*","chunks":[],"async":false}},"98584":{"*":{"id":"902","name":"*","chunks":[],"async":false}},"98623":{"*":{"id":"31461","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/client/components/builtin/global-error.js":{"id":75164,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":75164,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/client/components/client-page.js":{"id":54941,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/esm/client/components/client-page.js":{"id":54941,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/client/components/client-segment.js":{"id":6143,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/esm/client/components/client-segment.js":{"id":6143,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":76004,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":76004,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/client/components/layout-router.js":{"id":18304,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/esm/client/components/layout-router.js":{"id":18304,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":98584,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":98584,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/client/components/render-from-template-context.js":{"id":72646,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":72646,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/lib/framework/boundary-components.js":{"id":3181,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":3181,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":56984,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":56984,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/client/app-dir/link.js":{"id":3953,"name":"*","chunks":["6587","static/chunks/7f092448-e07c21e2897ac52e.js","3052","static/chunks/05e62ed0-bf68b9617e57b82f.js","2583","static/chunks/003adf37-35e10d79e45c4e95.js","3953","static/chunks/3953-4e8d5b8f11c07426.js","2575","static/chunks/2575-62182d00e5cf3115.js","2340","static/chunks/2340-11b365d374b2be7b.js","1369","static/chunks/1369-8f6dde7e48bc4684.js","2202","static/chunks/2202-897aaad3cd785ea6.js","9415","static/chunks/app/(app)/page-6cf474454fb2ea5e.js"],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/esm/client/app-dir/link.js":{"id":3953,"name":"*","chunks":["6587","static/chunks/7f092448-e07c21e2897ac52e.js","3052","static/chunks/05e62ed0-bf68b9617e57b82f.js","2583","static/chunks/003adf37-35e10d79e45c4e95.js","3953","static/chunks/3953-4e8d5b8f11c07426.js","2575","static/chunks/2575-62182d00e5cf3115.js","2340","static/chunks/2340-11b365d374b2be7b.js","1369","static/chunks/1369-8f6dde7e48bc4684.js","2202","static/chunks/2202-897aaad3cd785ea6.js","9415","static/chunks/app/(app)/page-6cf474454fb2ea5e.js"],"async":false},"/private/tmp/panoma-release/apps/web/app/globals.css":{"id":416,"name":"*","chunks":["6587","static/chunks/7f092448-e07c21e2897ac52e.js","3953","static/chunks/3953-4e8d5b8f11c07426.js","2575","static/chunks/2575-62182d00e5cf3115.js","4944","static/chunks/app/(app)/layout-7f3d387ae540018d.js"],"async":false},"/private/tmp/panoma-release/apps/web/components/app-shell.tsx":{"id":54434,"name":"*","chunks":["6587","static/chunks/7f092448-e07c21e2897ac52e.js","3953","static/chunks/3953-4e8d5b8f11c07426.js","2575","static/chunks/2575-62182d00e5cf3115.js","4944","static/chunks/app/(app)/layout-7f3d387ae540018d.js"],"async":false},"/private/tmp/panoma-release/apps/web/components/i18n-provider.tsx":{"id":9144,"name":"*","chunks":["6587","static/chunks/7f092448-e07c21e2897ac52e.js","3953","static/chunks/3953-4e8d5b8f11c07426.js","2575","static/chunks/2575-62182d00e5cf3115.js","4944","static/chunks/app/(app)/layout-7f3d387ae540018d.js"],"async":false},"/private/tmp/panoma-release/apps/web/components/search-provider.tsx":{"id":41268,"name":"*","chunks":["6587","static/chunks/7f092448-e07c21e2897ac52e.js","3953","static/chunks/3953-4e8d5b8f11c07426.js","2575","static/chunks/2575-62182d00e5cf3115.js","4944","static/chunks/app/(app)/layout-7f3d387ae540018d.js"],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/font/google/target.css?{\"path\":\"app/(app)/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--font-inter\",\"display\":\"swap\"}],\"variableName\":\"inter\"}":{"id":26548,"name":"*","chunks":["6587","static/chunks/7f092448-e07c21e2897ac52e.js","3953","static/chunks/3953-4e8d5b8f11c07426.js","2575","static/chunks/2575-62182d00e5cf3115.js","4944","static/chunks/app/(app)/layout-7f3d387ae540018d.js"],"async":false},"/private/tmp/panoma-release/apps/web/app/(app)/error.tsx":{"id":36928,"name":"*","chunks":["6587","static/chunks/7f092448-e07c21e2897ac52e.js","2575","static/chunks/2575-62182d00e5cf3115.js","8880","static/chunks/app/(app)/error-4706c73d842251e2.js"],"async":false},"/private/tmp/panoma-release/apps/web/components/apps-catalog.tsx":{"id":20240,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/bridge-steps.tsx":{"id":28639,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/apps.tsx":{"id":22956,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/secret-scan.tsx":{"id":84456,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/connect-agent.tsx":{"id":71640,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/disconnect-agent.tsx":{"id":19964,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/ai-panel.tsx":{"id":93949,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/hidden-actions.tsx":{"id":28860,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/video-production.tsx":{"id":4737,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/measure-disk.tsx":{"id":69332,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/catalog-summary.tsx":{"id":79840,"name":"*","chunks":["6587","static/chunks/7f092448-e07c21e2897ac52e.js","3052","static/chunks/05e62ed0-bf68b9617e57b82f.js","2583","static/chunks/003adf37-35e10d79e45c4e95.js","3953","static/chunks/3953-4e8d5b8f11c07426.js","2575","static/chunks/2575-62182d00e5cf3115.js","2340","static/chunks/2340-11b365d374b2be7b.js","1369","static/chunks/1369-8f6dde7e48bc4684.js","2202","static/chunks/2202-897aaad3cd785ea6.js","9415","static/chunks/app/(app)/page-6cf474454fb2ea5e.js"],"async":false},"/private/tmp/panoma-release/apps/web/components/project-store.tsx":{"id":29443,"name":"*","chunks":["6587","static/chunks/7f092448-e07c21e2897ac52e.js","3052","static/chunks/05e62ed0-bf68b9617e57b82f.js","2583","static/chunks/003adf37-35e10d79e45c4e95.js","3953","static/chunks/3953-4e8d5b8f11c07426.js","2575","static/chunks/2575-62182d00e5cf3115.js","2340","static/chunks/2340-11b365d374b2be7b.js","1369","static/chunks/1369-8f6dde7e48bc4684.js","2202","static/chunks/2202-897aaad3cd785ea6.js","9415","static/chunks/app/(app)/page-6cf474454fb2ea5e.js"],"async":false},"/private/tmp/panoma-release/apps/web/components/code-search.tsx":{"id":82582,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/run-actions.tsx":{"id":98623,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/spend-controls.tsx":{"id":44653,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/assignments.tsx":{"id":69636,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/capture-task.tsx":{"id":17023,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/copy-button.tsx":{"id":14262,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/critiques.tsx":{"id":30153,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/describe.tsx":{"id":65425,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/md-apply.tsx":{"id":64106,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/md-inspect.tsx":{"id":20682,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/md-repair.tsx":{"id":93489,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/md-review.tsx":{"id":40810,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/open-folder.tsx":{"id":12991,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/project-accounts.tsx":{"id":79296,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/project-action-bar.tsx":{"id":14847,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/project-board.tsx":{"id":62827,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/project-build-check.tsx":{"id":48481,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/project-charts.tsx":{"id":53937,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/project-double.tsx":{"id":23397,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/project-hooks.tsx":{"id":41814,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/project-memory.tsx":{"id":79135,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/resume.tsx":{"id":54227,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/run-button.tsx":{"id":67890,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/unused-assets.tsx":{"id":84549,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/twin-look.tsx":{"id":38444,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/belief-editor.tsx":{"id":18557,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/twin-consent.tsx":{"id":66229,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/twin-distill.tsx":{"id":92458,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/twin-lab.tsx":{"id":3030,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/twin-memory.tsx":{"id":4733,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/twin-sources.tsx":{"id":88145,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/twin-synthesize.tsx":{"id":15797,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/twin-teach.tsx":{"id":73856,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/private/tmp/panoma-release/apps/web/":[],"/private/tmp/panoma-release/apps/web/app/global-not-found":[],"/private/tmp/panoma-release/apps/web/app/not-found":[],"/private/tmp/panoma-release/apps/web/app/(app)/layout":[{"inlined":false,"path":"static/css/988bfb2024e770b7.css"},{"inlined":false,"path":"static/css/081a0afca5a9bd20.css"}],"/private/tmp/panoma-release/apps/web/app/(app)/error":[],"/private/tmp/panoma-release/apps/web/app/(app)/page":[],"/private/tmp/panoma-release/apps/web/app/icon/[id]/route":[]},"rscModuleMapping":{"416":{"*":{"id":"18890","name":"*","chunks":[],"async":false}},"3030":{"*":{"id":"86732","name":"*","chunks":[],"async":false}},"3181":{"*":{"id":"22689","name":"*","chunks":[],"async":false}},"3953":{"*":{"id":"26785","name":"*","chunks":[],"async":false}},"4733":{"*":{"id":"94304","name":"*","chunks":[],"async":false}},"4737":{"*":{"id":"22295","name":"*","chunks":[],"async":false}},"6143":{"*":{"id":"65933","name":"*","chunks":[],"async":false}},"9144":{"*":{"id":"19548","name":"*","chunks":[],"async":false}},"12991":{"*":{"id":"10051","name":"*","chunks":[],"async":false}},"14262":{"*":{"id":"11398","name":"*","chunks":[],"async":false}},"14847":{"*":{"id":"94582","name":"*","chunks":[],"async":false}},"15797":{"*":{"id":"69677","name":"*","chunks":[],"async":false}},"17023":{"*":{"id":"17340","name":"*","chunks":[],"async":false}},"18304":{"*":{"id":"47868","name":"*","chunks":[],"async":false}},"18557":{"*":{"id":"81085","name":"*","chunks":[],"async":false}},"19964":{"*":{"id":"56722","name":"*","chunks":[],"async":false}},"20240":{"*":{"id":"35834","name":"*","chunks":[],"async":false}},"20682":{"*":{"id":"70824","name":"*","chunks":[],"async":false}},"22956":{"*":{"id":"12624","name":"*","chunks":[],"async":false}},"23397":{"*":{"id":"75767","name":"*","chunks":[],"async":false}},"28639":{"*":{"id":"59525","name":"*","chunks":[],"async":false}},"28860":{"*":{"id":"91322","name":"*","chunks":[],"async":false}},"29443":{"*":{"id":"70917","name":"*","chunks":[],"async":false}},"30153":{"*":{"id":"80225","name":"*","chunks":[],"async":false}},"36928":{"*":{"id":"37726","name":"*","chunks":[],"async":false}},"38444":{"*":{"id":"77580","name":"*","chunks":[],"async":false}},"40810":{"*":{"id":"21286","name":"*","chunks":[],"async":false}},"41268":{"*":{"id":"74068","name":"*","chunks":[],"async":false}},"41814":{"*":{"id":"85522","name":"*","chunks":[],"async":false}},"44653":{"*":{"id":"2135","name":"*","chunks":[],"async":false}},"48481":{"*":{"id":"96449","name":"*","chunks":[],"async":false}},"53937":{"*":{"id":"13735","name":"*","chunks":[],"async":false}},"54227":{"*":{"id":"57389","name":"*","chunks":[],"async":false}},"54434":{"*":{"id":"91602","name":"*","chunks":[],"async":false}},"54941":{"*":{"id":"7549","name":"*","chunks":[],"async":false}},"56984":{"*":{"id":"37000","name":"*","chunks":[],"async":false}},"62827":{"*":{"id":"72434","name":"*","chunks":[],"async":false}},"64106":{"*":{"id":"12544","name":"*","chunks":[],"async":false}},"65425":{"*":{"id":"73611","name":"*","chunks":[],"async":false}},"66229":{"*":{"id":"65823","name":"*","chunks":[],"async":false}},"67890":{"*":{"id":"72388","name":"*","chunks":[],"async":false}},"69332":{"*":{"id":"42070","name":"*","chunks":[],"async":false}},"69636":{"*":{"id":"1908","name":"*","chunks":[],"async":false}},"71640":{"*":{"id":"1040","name":"*","chunks":[],"async":false}},"72646":{"*":{"id":"68376","name":"*","chunks":[],"async":false}},"73856":{"*":{"id":"39354","name":"*","chunks":[],"async":false}},"75164":{"*":{"id":"17346","name":"*","chunks":[],"async":false}},"76004":{"*":{"id":"37316","name":"*","chunks":[],"async":false}},"79135":{"*":{"id":"94629","name":"*","chunks":[],"async":false}},"79296":{"*":{"id":"13220","name":"*","chunks":[],"async":false}},"79840":{"*":{"id":"93492","name":"*","chunks":[],"async":false}},"82582":{"*":{"id":"9190","name":"*","chunks":[],"async":false}},"84456":{"*":{"id":"11288","name":"*","chunks":[],"async":false}},"84549":{"*":{"id":"64074","name":"*","chunks":[],"async":false}},"88145":{"*":{"id":"37887","name":"*","chunks":[],"async":false}},"92458":{"*":{"id":"3912","name":"*","chunks":[],"async":false}},"93489":{"*":{"id":"91429","name":"*","chunks":[],"async":false}},"93949":{"*":{"id":"96783","name":"*","chunks":[],"async":false}},"98584":{"*":{"id":"34080","name":"*","chunks":[],"async":false}},"98623":{"*":{"id":"64471","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{"3181":{"*":{"id":"9811","name":"*","chunks":[],"async":false}},"3953":{"*":{"id":"65059","name":"*","chunks":[],"async":false}},"6143":{"*":{"id":"8515","name":"*","chunks":[],"async":false}},"18304":{"*":{"id":"26306","name":"*","chunks":[],"async":false}},"54941":{"*":{"id":"19647","name":"*","chunks":[],"async":false}},"56984":{"*":{"id":"82950","name":"*","chunks":[],"async":false}},"72646":{"*":{"id":"81446","name":"*","chunks":[],"async":false}},"75164":{"*":{"id":"79068","name":"*","chunks":[],"async":false}},"76004":{"*":{"id":"59558","name":"*","chunks":[],"async":false}},"98584":{"*":{"id":"902","name":"*","chunks":[],"async":false}}}}
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/icon/[id]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3030":{"*":{"id":"56210","name":"*","chunks":[],"async":false}},"3181":{"*":{"id":"9811","name":"*","chunks":[],"async":false}},"3953":{"*":{"id":"65059","name":"*","chunks":[],"async":false}},"4733":{"*":{"id":"8217","name":"*","chunks":[],"async":false}},"4737":{"*":{"id":"4165","name":"*","chunks":[],"async":false}},"6143":{"*":{"id":"8515","name":"*","chunks":[],"async":false}},"9144":{"*":{"id":"65862","name":"*","chunks":[],"async":false}},"12991":{"*":{"id":"88589","name":"*","chunks":[],"async":false}},"14262":{"*":{"id":"88616","name":"*","chunks":[],"async":false}},"14847":{"*":{"id":"93659","name":"*","chunks":[],"async":false}},"15797":{"*":{"id":"90635","name":"*","chunks":[],"async":false}},"17023":{"*":{"id":"65899","name":"*","chunks":[],"async":false}},"18304":{"*":{"id":"26306","name":"*","chunks":[],"async":false}},"18557":{"*":{"id":"77787","name":"*","chunks":[],"async":false}},"19964":{"*":{"id":"10316","name":"*","chunks":[],"async":false}},"20240":{"*":{"id":"46900","name":"*","chunks":[],"async":false}},"20682":{"*":{"id":"38406","name":"*","chunks":[],"async":false}},"23397":{"*":{"id":"16897","name":"*","chunks":[],"async":false}},"28639":{"*":{"id":"23691","name":"*","chunks":[],"async":false}},"28860":{"*":{"id":"41224","name":"*","chunks":[],"async":false}},"29443":{"*":{"id":"13421","name":"*","chunks":[],"async":false}},"30153":{"*":{"id":"98571","name":"*","chunks":[],"async":false}},"36928":{"*":{"id":"75116","name":"*","chunks":[],"async":false}},"38444":{"*":{"id":"29046","name":"*","chunks":[],"async":false}},"40810":{"*":{"id":"75288","name":"*","chunks":[],"async":false}},"41268":{"*":{"id":"14865","name":"*","chunks":[],"async":false}},"41814":{"*":{"id":"10880","name":"*","chunks":[],"async":false}},"44653":{"*":{"id":"37610","name":"*","chunks":[],"async":false}},"48481":{"*":{"id":"3775","name":"*","chunks":[],"async":false}},"53937":{"*":{"id":"58245","name":"*","chunks":[],"async":false}},"54227":{"*":{"id":"13208","name":"*","chunks":[],"async":false}},"54434":{"*":{"id":"7800","name":"*","chunks":[],"async":false}},"54941":{"*":{"id":"19647","name":"*","chunks":[],"async":false}},"56984":{"*":{"id":"82950","name":"*","chunks":[],"async":false}},"57776":{"*":{"id":"18795","name":"*","chunks":[],"async":false}},"62827":{"*":{"id":"11987","name":"*","chunks":[],"async":false}},"64106":{"*":{"id":"95434","name":"*","chunks":[],"async":false}},"65425":{"*":{"id":"94917","name":"*","chunks":[],"async":false}},"66229":{"*":{"id":"37133","name":"*","chunks":[],"async":false}},"67890":{"*":{"id":"67417","name":"*","chunks":[],"async":false}},"69332":{"*":{"id":"96712","name":"*","chunks":[],"async":false}},"69636":{"*":{"id":"96842","name":"*","chunks":[],"async":false}},"71640":{"*":{"id":"41674","name":"*","chunks":[],"async":false}},"72646":{"*":{"id":"81446","name":"*","chunks":[],"async":false}},"73856":{"*":{"id":"44792","name":"*","chunks":[],"async":false}},"75164":{"*":{"id":"79068","name":"*","chunks":[],"async":false}},"76004":{"*":{"id":"59558","name":"*","chunks":[],"async":false}},"79135":{"*":{"id":"11124","name":"*","chunks":[],"async":false}},"79296":{"*":{"id":"69528","name":"*","chunks":[],"async":false}},"79840":{"*":{"id":"6070","name":"*","chunks":[],"async":false}},"82582":{"*":{"id":"11824","name":"*","chunks":[],"async":false}},"84456":{"*":{"id":"70686","name":"*","chunks":[],"async":false}},"84549":{"*":{"id":"57364","name":"*","chunks":[],"async":false}},"88145":{"*":{"id":"88885","name":"*","chunks":[],"async":false}},"92458":{"*":{"id":"31230","name":"*","chunks":[],"async":false}},"93489":{"*":{"id":"56059","name":"*","chunks":[],"async":false}},"93949":{"*":{"id":"32554","name":"*","chunks":[],"async":false}},"98584":{"*":{"id":"902","name":"*","chunks":[],"async":false}},"98623":{"*":{"id":"31461","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/client/components/builtin/global-error.js":{"id":75164,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":75164,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/client/components/client-page.js":{"id":54941,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/esm/client/components/client-page.js":{"id":54941,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/client/components/client-segment.js":{"id":6143,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/esm/client/components/client-segment.js":{"id":6143,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":76004,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":76004,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/client/components/layout-router.js":{"id":18304,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/esm/client/components/layout-router.js":{"id":18304,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":98584,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":98584,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/client/components/render-from-template-context.js":{"id":72646,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":72646,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/lib/framework/boundary-components.js":{"id":3181,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":3181,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":56984,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":56984,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/client/app-dir/link.js":{"id":3953,"name":"*","chunks":["6587","static/chunks/7f092448-ce01f3ec11fa0291.js","3052","static/chunks/05e62ed0-bf68b9617e57b82f.js","2583","static/chunks/003adf37-35e10d79e45c4e95.js","3953","static/chunks/3953-4e8d5b8f11c07426.js","2575","static/chunks/2575-ba51754e97b2189d.js","2340","static/chunks/2340-11b365d374b2be7b.js","1369","static/chunks/1369-514f421b74ddd546.js","2202","static/chunks/2202-897aaad3cd785ea6.js","9415","static/chunks/app/(app)/page-6cf474454fb2ea5e.js"],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/esm/client/app-dir/link.js":{"id":3953,"name":"*","chunks":["6587","static/chunks/7f092448-ce01f3ec11fa0291.js","3052","static/chunks/05e62ed0-bf68b9617e57b82f.js","2583","static/chunks/003adf37-35e10d79e45c4e95.js","3953","static/chunks/3953-4e8d5b8f11c07426.js","2575","static/chunks/2575-ba51754e97b2189d.js","2340","static/chunks/2340-11b365d374b2be7b.js","1369","static/chunks/1369-514f421b74ddd546.js","2202","static/chunks/2202-897aaad3cd785ea6.js","9415","static/chunks/app/(app)/page-6cf474454fb2ea5e.js"],"async":false},"/private/tmp/panoma-release/apps/web/app/globals.css":{"id":416,"name":"*","chunks":["6587","static/chunks/7f092448-ce01f3ec11fa0291.js","3953","static/chunks/3953-4e8d5b8f11c07426.js","2575","static/chunks/2575-ba51754e97b2189d.js","4944","static/chunks/app/(app)/layout-92c4e9bb06d75cea.js"],"async":false},"/private/tmp/panoma-release/apps/web/components/app-shell.tsx":{"id":54434,"name":"*","chunks":["6587","static/chunks/7f092448-ce01f3ec11fa0291.js","3953","static/chunks/3953-4e8d5b8f11c07426.js","2575","static/chunks/2575-ba51754e97b2189d.js","4944","static/chunks/app/(app)/layout-92c4e9bb06d75cea.js"],"async":false},"/private/tmp/panoma-release/apps/web/components/i18n-provider.tsx":{"id":9144,"name":"*","chunks":["6587","static/chunks/7f092448-ce01f3ec11fa0291.js","3953","static/chunks/3953-4e8d5b8f11c07426.js","2575","static/chunks/2575-ba51754e97b2189d.js","4944","static/chunks/app/(app)/layout-92c4e9bb06d75cea.js"],"async":false},"/private/tmp/panoma-release/apps/web/components/search-provider.tsx":{"id":41268,"name":"*","chunks":["6587","static/chunks/7f092448-ce01f3ec11fa0291.js","3953","static/chunks/3953-4e8d5b8f11c07426.js","2575","static/chunks/2575-ba51754e97b2189d.js","4944","static/chunks/app/(app)/layout-92c4e9bb06d75cea.js"],"async":false},"/private/tmp/panoma-release/node_modules/.pnpm/next@15.5.25_@babel+core@7.29.7_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/font/google/target.css?{\"path\":\"app/(app)/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--font-inter\",\"display\":\"swap\"}],\"variableName\":\"inter\"}":{"id":26548,"name":"*","chunks":["6587","static/chunks/7f092448-ce01f3ec11fa0291.js","3953","static/chunks/3953-4e8d5b8f11c07426.js","2575","static/chunks/2575-ba51754e97b2189d.js","4944","static/chunks/app/(app)/layout-92c4e9bb06d75cea.js"],"async":false},"/private/tmp/panoma-release/apps/web/app/(app)/error.tsx":{"id":36928,"name":"*","chunks":["6587","static/chunks/7f092448-ce01f3ec11fa0291.js","2575","static/chunks/2575-ba51754e97b2189d.js","8880","static/chunks/app/(app)/error-4706c73d842251e2.js"],"async":false},"/private/tmp/panoma-release/apps/web/components/bridge-steps.tsx":{"id":28639,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/apps-catalog.tsx":{"id":20240,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/secret-scan.tsx":{"id":84456,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/ai-panel.tsx":{"id":93949,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/connect-agent.tsx":{"id":71640,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/disconnect-agent.tsx":{"id":19964,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/apps.tsx":{"id":57776,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/hidden-actions.tsx":{"id":28860,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/video-production.tsx":{"id":4737,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/catalog-summary.tsx":{"id":79840,"name":"*","chunks":["6587","static/chunks/7f092448-ce01f3ec11fa0291.js","3052","static/chunks/05e62ed0-bf68b9617e57b82f.js","2583","static/chunks/003adf37-35e10d79e45c4e95.js","3953","static/chunks/3953-4e8d5b8f11c07426.js","2575","static/chunks/2575-ba51754e97b2189d.js","2340","static/chunks/2340-11b365d374b2be7b.js","1369","static/chunks/1369-514f421b74ddd546.js","2202","static/chunks/2202-897aaad3cd785ea6.js","9415","static/chunks/app/(app)/page-6cf474454fb2ea5e.js"],"async":false},"/private/tmp/panoma-release/apps/web/components/project-store.tsx":{"id":29443,"name":"*","chunks":["6587","static/chunks/7f092448-ce01f3ec11fa0291.js","3052","static/chunks/05e62ed0-bf68b9617e57b82f.js","2583","static/chunks/003adf37-35e10d79e45c4e95.js","3953","static/chunks/3953-4e8d5b8f11c07426.js","2575","static/chunks/2575-ba51754e97b2189d.js","2340","static/chunks/2340-11b365d374b2be7b.js","1369","static/chunks/1369-514f421b74ddd546.js","2202","static/chunks/2202-897aaad3cd785ea6.js","9415","static/chunks/app/(app)/page-6cf474454fb2ea5e.js"],"async":false},"/private/tmp/panoma-release/apps/web/components/run-actions.tsx":{"id":98623,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/measure-disk.tsx":{"id":69332,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/code-search.tsx":{"id":82582,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/spend-controls.tsx":{"id":44653,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/belief-editor.tsx":{"id":18557,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/twin-consent.tsx":{"id":66229,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/twin-distill.tsx":{"id":92458,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/twin-lab.tsx":{"id":3030,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/twin-memory.tsx":{"id":4733,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/twin-sources.tsx":{"id":88145,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/twin-synthesize.tsx":{"id":15797,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/twin-teach.tsx":{"id":73856,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/assignments.tsx":{"id":69636,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/capture-task.tsx":{"id":17023,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/copy-button.tsx":{"id":14262,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/critiques.tsx":{"id":30153,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/describe.tsx":{"id":65425,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/md-apply.tsx":{"id":64106,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/md-inspect.tsx":{"id":20682,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/md-repair.tsx":{"id":93489,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/md-review.tsx":{"id":40810,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/open-folder.tsx":{"id":12991,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/project-accounts.tsx":{"id":79296,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/project-action-bar.tsx":{"id":14847,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/project-board.tsx":{"id":62827,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/project-build-check.tsx":{"id":48481,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/project-charts.tsx":{"id":53937,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/project-double.tsx":{"id":23397,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/project-hooks.tsx":{"id":41814,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/project-memory.tsx":{"id":79135,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/resume.tsx":{"id":54227,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/run-button.tsx":{"id":67890,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/unused-assets.tsx":{"id":84549,"name":"*","chunks":[],"async":false},"/private/tmp/panoma-release/apps/web/components/twin-look.tsx":{"id":38444,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/private/tmp/panoma-release/apps/web/":[],"/private/tmp/panoma-release/apps/web/app/global-not-found":[],"/private/tmp/panoma-release/apps/web/app/not-found":[],"/private/tmp/panoma-release/apps/web/app/(app)/layout":[{"inlined":false,"path":"static/css/069f32b7135b82ec.css"},{"inlined":false,"path":"static/css/081a0afca5a9bd20.css"}],"/private/tmp/panoma-release/apps/web/app/(app)/error":[],"/private/tmp/panoma-release/apps/web/app/(app)/page":[],"/private/tmp/panoma-release/apps/web/app/icon/[id]/route":[]},"rscModuleMapping":{"416":{"*":{"id":"18890","name":"*","chunks":[],"async":false}},"3030":{"*":{"id":"86732","name":"*","chunks":[],"async":false}},"3181":{"*":{"id":"22689","name":"*","chunks":[],"async":false}},"3953":{"*":{"id":"26785","name":"*","chunks":[],"async":false}},"4733":{"*":{"id":"94304","name":"*","chunks":[],"async":false}},"4737":{"*":{"id":"22295","name":"*","chunks":[],"async":false}},"6143":{"*":{"id":"65933","name":"*","chunks":[],"async":false}},"9144":{"*":{"id":"19548","name":"*","chunks":[],"async":false}},"12991":{"*":{"id":"10051","name":"*","chunks":[],"async":false}},"14262":{"*":{"id":"11398","name":"*","chunks":[],"async":false}},"14847":{"*":{"id":"94582","name":"*","chunks":[],"async":false}},"15797":{"*":{"id":"69677","name":"*","chunks":[],"async":false}},"17023":{"*":{"id":"17340","name":"*","chunks":[],"async":false}},"18304":{"*":{"id":"47868","name":"*","chunks":[],"async":false}},"18557":{"*":{"id":"81085","name":"*","chunks":[],"async":false}},"19964":{"*":{"id":"56722","name":"*","chunks":[],"async":false}},"20240":{"*":{"id":"35834","name":"*","chunks":[],"async":false}},"20682":{"*":{"id":"70824","name":"*","chunks":[],"async":false}},"23397":{"*":{"id":"75767","name":"*","chunks":[],"async":false}},"28639":{"*":{"id":"59525","name":"*","chunks":[],"async":false}},"28860":{"*":{"id":"91322","name":"*","chunks":[],"async":false}},"29443":{"*":{"id":"70917","name":"*","chunks":[],"async":false}},"30153":{"*":{"id":"80225","name":"*","chunks":[],"async":false}},"36928":{"*":{"id":"37726","name":"*","chunks":[],"async":false}},"38444":{"*":{"id":"77580","name":"*","chunks":[],"async":false}},"40810":{"*":{"id":"21286","name":"*","chunks":[],"async":false}},"41268":{"*":{"id":"74068","name":"*","chunks":[],"async":false}},"41814":{"*":{"id":"85522","name":"*","chunks":[],"async":false}},"44653":{"*":{"id":"2135","name":"*","chunks":[],"async":false}},"48481":{"*":{"id":"96449","name":"*","chunks":[],"async":false}},"53937":{"*":{"id":"13735","name":"*","chunks":[],"async":false}},"54227":{"*":{"id":"57389","name":"*","chunks":[],"async":false}},"54434":{"*":{"id":"91602","name":"*","chunks":[],"async":false}},"54941":{"*":{"id":"7549","name":"*","chunks":[],"async":false}},"56984":{"*":{"id":"37000","name":"*","chunks":[],"async":false}},"57776":{"*":{"id":"12624","name":"*","chunks":[],"async":false}},"62827":{"*":{"id":"72434","name":"*","chunks":[],"async":false}},"64106":{"*":{"id":"12544","name":"*","chunks":[],"async":false}},"65425":{"*":{"id":"73611","name":"*","chunks":[],"async":false}},"66229":{"*":{"id":"65823","name":"*","chunks":[],"async":false}},"67890":{"*":{"id":"72388","name":"*","chunks":[],"async":false}},"69332":{"*":{"id":"42070","name":"*","chunks":[],"async":false}},"69636":{"*":{"id":"1908","name":"*","chunks":[],"async":false}},"71640":{"*":{"id":"1040","name":"*","chunks":[],"async":false}},"72646":{"*":{"id":"68376","name":"*","chunks":[],"async":false}},"73856":{"*":{"id":"39354","name":"*","chunks":[],"async":false}},"75164":{"*":{"id":"17346","name":"*","chunks":[],"async":false}},"76004":{"*":{"id":"37316","name":"*","chunks":[],"async":false}},"79135":{"*":{"id":"94629","name":"*","chunks":[],"async":false}},"79296":{"*":{"id":"13220","name":"*","chunks":[],"async":false}},"79840":{"*":{"id":"93492","name":"*","chunks":[],"async":false}},"82582":{"*":{"id":"9190","name":"*","chunks":[],"async":false}},"84456":{"*":{"id":"11288","name":"*","chunks":[],"async":false}},"84549":{"*":{"id":"64074","name":"*","chunks":[],"async":false}},"88145":{"*":{"id":"37887","name":"*","chunks":[],"async":false}},"92458":{"*":{"id":"3912","name":"*","chunks":[],"async":false}},"93489":{"*":{"id":"91429","name":"*","chunks":[],"async":false}},"93949":{"*":{"id":"96783","name":"*","chunks":[],"async":false}},"98584":{"*":{"id":"34080","name":"*","chunks":[],"async":false}},"98623":{"*":{"id":"64471","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{"3181":{"*":{"id":"9811","name":"*","chunks":[],"async":false}},"3953":{"*":{"id":"65059","name":"*","chunks":[],"async":false}},"6143":{"*":{"id":"8515","name":"*","chunks":[],"async":false}},"18304":{"*":{"id":"26306","name":"*","chunks":[],"async":false}},"54941":{"*":{"id":"19647","name":"*","chunks":[],"async":false}},"56984":{"*":{"id":"82950","name":"*","chunks":[],"async":false}},"72646":{"*":{"id":"81446","name":"*","chunks":[],"async":false}},"75164":{"*":{"id":"79068","name":"*","chunks":[],"async":false}},"76004":{"*":{"id":"59558","name":"*","chunks":[],"async":false}},"98584":{"*":{"id":"902","name":"*","chunks":[],"async":false}}}}
|
|
@@ -4,95 +4,95 @@
|
|
|
4
4
|
"/api/agent/consult/route": "app/api/agent/consult/route.js",
|
|
5
5
|
"/api/agent/hello/route": "app/api/agent/hello/route.js",
|
|
6
6
|
"/api/agent/journal/route": "app/api/agent/journal/route.js",
|
|
7
|
-
"/api/agent/keys/route": "app/api/agent/keys/route.js",
|
|
8
7
|
"/api/agent/log/route": "app/api/agent/log/route.js",
|
|
9
8
|
"/api/agent/context/route": "app/api/agent/context/route.js",
|
|
10
|
-
"/api/agent/
|
|
11
|
-
"/api/agent/notes/route": "app/api/agent/notes/route.js",
|
|
12
|
-
"/api/agent/tasks/route": "app/api/agent/tasks/route.js",
|
|
9
|
+
"/api/agent/keys/route": "app/api/agent/keys/route.js",
|
|
13
10
|
"/api/agent/tasks/[id]/route": "app/api/agent/tasks/[id]/route.js",
|
|
11
|
+
"/api/agent/tasks/route": "app/api/agent/tasks/route.js",
|
|
14
12
|
"/api/apps/[id]/[operation]/route": "app/api/apps/[id]/[operation]/route.js",
|
|
13
|
+
"/api/agent/notes/route": "app/api/agent/notes/route.js",
|
|
14
|
+
"/api/apps/[id]/legal/route": "app/api/apps/[id]/legal/route.js",
|
|
15
15
|
"/api/apps/[id]/credentials/route": "app/api/apps/[id]/credentials/route.js",
|
|
16
16
|
"/api/apps/[id]/jobs/route": "app/api/apps/[id]/jobs/route.js",
|
|
17
|
-
"/api/apps/jobs/[jobId]/artifact/route": "app/api/apps/jobs/[jobId]/artifact/route.js",
|
|
18
|
-
"/api/apps/[id]/route": "app/api/apps/[id]/route.js",
|
|
19
|
-
"/api/apps/[id]/legal/route": "app/api/apps/[id]/legal/route.js",
|
|
20
17
|
"/api/apps/[id]/settings/route": "app/api/apps/[id]/settings/route.js",
|
|
21
|
-
"/api/
|
|
22
|
-
"/api/
|
|
23
|
-
"/api/catalog/route": "app/api/catalog/route.js",
|
|
18
|
+
"/api/apps/[id]/route": "app/api/apps/[id]/route.js",
|
|
19
|
+
"/api/apps/jobs/[jobId]/artifact/route": "app/api/apps/jobs/[jobId]/artifact/route.js",
|
|
24
20
|
"/api/apps/jobs/[jobId]/cancel/route": "app/api/apps/jobs/[jobId]/cancel/route.js",
|
|
21
|
+
"/api/agent/mcp/route": "app/api/agent/mcp/route.js",
|
|
22
|
+
"/api/assignments/route": "app/api/assignments/route.js",
|
|
23
|
+
"/api/assignments/launch/route": "app/api/assignments/launch/route.js",
|
|
25
24
|
"/api/apps/route": "app/api/apps/route.js",
|
|
26
25
|
"/api/check/route": "app/api/check/route.js",
|
|
26
|
+
"/api/catalog/route": "app/api/catalog/route.js",
|
|
27
27
|
"/api/consultations/route": "app/api/consultations/route.js",
|
|
28
28
|
"/api/hooks/route": "app/api/hooks/route.js",
|
|
29
29
|
"/api/ingest/route": "app/api/ingest/route.js",
|
|
30
|
-
"/api/md/apply/route": "app/api/md/apply/route.js",
|
|
31
|
-
"/api/md/context/route": "app/api/md/context/route.js",
|
|
32
30
|
"/api/md/inspect/route": "app/api/md/inspect/route.js",
|
|
31
|
+
"/api/md/context/route": "app/api/md/context/route.js",
|
|
33
32
|
"/api/md/repair/route": "app/api/md/repair/route.js",
|
|
34
|
-
"/api/
|
|
33
|
+
"/api/md/apply/route": "app/api/md/apply/route.js",
|
|
35
34
|
"/api/north/route": "app/api/north/route.js",
|
|
36
|
-
"/api/
|
|
35
|
+
"/api/memory/export/route": "app/api/memory/export/route.js",
|
|
37
36
|
"/api/project/route": "app/api/project/route.js",
|
|
37
|
+
"/api/open/route": "app/api/open/route.js",
|
|
38
38
|
"/api/rescan/route": "app/api/rescan/route.js",
|
|
39
|
+
"/api/notes/route": "app/api/notes/route.js",
|
|
39
40
|
"/api/open/all/route": "app/api/open/all/route.js",
|
|
40
41
|
"/api/scale/route": "app/api/scale/route.js",
|
|
41
|
-
"/api/notes/route": "app/api/notes/route.js",
|
|
42
|
-
"/api/spend/route": "app/api/spend/route.js",
|
|
43
|
-
"/api/tasks/route": "app/api/tasks/route.js",
|
|
44
42
|
"/api/today/route": "app/api/today/route.js",
|
|
45
43
|
"/api/twin/assign/route": "app/api/twin/assign/route.js",
|
|
46
|
-
"/api/
|
|
44
|
+
"/api/spend/route": "app/api/spend/route.js",
|
|
45
|
+
"/api/tasks/route": "app/api/tasks/route.js",
|
|
47
46
|
"/api/twin/design/route": "app/api/twin/design/route.js",
|
|
47
|
+
"/api/twin/critique/route": "app/api/twin/critique/route.js",
|
|
48
|
+
"/api/twin/mine/route": "app/api/twin/mine/route.js",
|
|
48
49
|
"/api/twin/episodes/route": "app/api/twin/episodes/route.js",
|
|
49
50
|
"/api/twin/score/route": "app/api/twin/score/route.js",
|
|
50
|
-
"/api/twin/mine/route": "app/api/twin/mine/route.js",
|
|
51
51
|
"/api/twin/shot/route": "app/api/twin/shot/route.js",
|
|
52
52
|
"/api/twin/sources/route": "app/api/twin/sources/route.js",
|
|
53
|
-
"/api/twin/taste/route": "app/api/twin/taste/route.js",
|
|
54
53
|
"/api/watch/route": "app/api/watch/route.js",
|
|
55
|
-
"/api/twin/verdicts/route": "app/api/twin/verdicts/route.js",
|
|
56
|
-
"/icon/[id]/route": "app/icon/[id]/route.js",
|
|
57
54
|
"/icon.png/route": "app/icon.png/route.js",
|
|
55
|
+
"/api/twin/taste/route": "app/api/twin/taste/route.js",
|
|
58
56
|
"/apple-icon.png/route": "app/apple-icon.png/route.js",
|
|
57
|
+
"/icon/[id]/route": "app/icon/[id]/route.js",
|
|
58
|
+
"/api/twin/verdicts/route": "app/api/twin/verdicts/route.js",
|
|
59
59
|
"/api/assets/route": "app/api/assets/route.js",
|
|
60
60
|
"/api/apps/jobs/[jobId]/route": "app/api/apps/jobs/[jobId]/route.js",
|
|
61
|
-
"/api/
|
|
62
|
-
"/api/ai/route": "app/api/ai/route.js",
|
|
61
|
+
"/api/disk/route": "app/api/disk/route.js",
|
|
63
62
|
"/api/enrich/route": "app/api/enrich/route.js",
|
|
64
63
|
"/api/environment/route": "app/api/environment/route.js",
|
|
65
|
-
"/api/
|
|
66
|
-
"/api/
|
|
64
|
+
"/api/ai/route": "app/api/ai/route.js",
|
|
65
|
+
"/api/describe/route": "app/api/describe/route.js",
|
|
67
66
|
"/api/md/review/route": "app/api/md/review/route.js",
|
|
67
|
+
"/api/runs/[id]/route": "app/api/runs/[id]/route.js",
|
|
68
68
|
"/api/roots/route": "app/api/roots/route.js",
|
|
69
|
+
"/api/search/route": "app/api/search/route.js",
|
|
69
70
|
"/api/secrets/route": "app/api/secrets/route.js",
|
|
70
71
|
"/api/runs/route": "app/api/runs/route.js",
|
|
71
|
-
"/api/search/route": "app/api/search/route.js",
|
|
72
72
|
"/api/twin/classify/route": "app/api/twin/classify/route.js",
|
|
73
|
-
"/api/twin/episodes/learn/route": "app/api/twin/episodes/learn/route.js",
|
|
74
73
|
"/api/twin/rehearse/route": "app/api/twin/rehearse/route.js",
|
|
75
|
-
"/api/twin/
|
|
74
|
+
"/api/twin/episodes/learn/route": "app/api/twin/episodes/learn/route.js",
|
|
76
75
|
"/api/twin/look/route": "app/api/twin/look/route.js",
|
|
76
|
+
"/api/twin/distill/route": "app/api/twin/distill/route.js",
|
|
77
77
|
"/api/twin/synthesize/route": "app/api/twin/synthesize/route.js",
|
|
78
|
-
"/(app)/apps/page": "app/(app)/apps/page.js",
|
|
79
78
|
"/(app)/bridge/page": "app/(app)/bridge/page.js",
|
|
80
|
-
"/(app)/apps/
|
|
79
|
+
"/(app)/apps/page": "app/(app)/apps/page.js",
|
|
81
80
|
"/(app)/credentials/page": "app/(app)/credentials/page.js",
|
|
82
|
-
"/(app)/agents/page": "app/(app)/agents/page.js",
|
|
83
81
|
"/(app)/ai/page": "app/(app)/ai/page.js",
|
|
84
|
-
"/(app)/
|
|
82
|
+
"/(app)/agents/page": "app/(app)/agents/page.js",
|
|
83
|
+
"/(app)/apps/[id]/page": "app/(app)/apps/[id]/page.js",
|
|
85
84
|
"/(app)/hidden/page": "app/(app)/hidden/page.js",
|
|
86
85
|
"/(app)/p/[slug]/video/page": "app/(app)/p/[slug]/video/page.js",
|
|
87
|
-
"/(app)/
|
|
86
|
+
"/(app)/copies/page": "app/(app)/copies/page.js",
|
|
88
87
|
"/(app)/page": "app/(app)/page.js",
|
|
89
|
-
"/(app)/packages/page": "app/(app)/packages/page.js",
|
|
90
|
-
"/(app)/search/page": "app/(app)/search/page.js",
|
|
91
88
|
"/(app)/runs/page": "app/(app)/runs/page.js",
|
|
92
89
|
"/(app)/runs/[id]/page": "app/(app)/runs/[id]/page.js",
|
|
90
|
+
"/(app)/packages/page": "app/(app)/packages/page.js",
|
|
91
|
+
"/(app)/disk/page": "app/(app)/disk/page.js",
|
|
92
|
+
"/(app)/search/page": "app/(app)/search/page.js",
|
|
93
93
|
"/(app)/spend/page": "app/(app)/spend/page.js",
|
|
94
|
+
"/(app)/twin/page": "app/(app)/twin/page.js",
|
|
94
95
|
"/(app)/p/[slug]/page": "app/(app)/p/[slug]/page.js",
|
|
95
|
-
"/(app)/unsaved/page": "app/(app)/unsaved/page.js",
|
|
96
96
|
"/(app)/twin/look/page": "app/(app)/twin/look/page.js",
|
|
97
|
-
"/(app)/
|
|
97
|
+
"/(app)/unsaved/page": "app/(app)/unsaved/page.js"
|
|
98
98
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";exports.id=4146,exports.ids=[4146],exports.modules={18795:(a,b,c)=>{c.d(b,{AppDetail:()=>x,uV:()=>o,jY:()=>y});var d=c(17016),e=c(65065),f=c(45157),g=c(65862),h=c(7581),i=c(86206),j=c(36568),k=c(65059),l=c.n(k),m=c(74198);function n({ready:a,project:b,projects:c,loadError:i=!1,step:j}){let k=(0,g.kj)(),n=(0,m.useRouter)(),o=(0,e.useId)(),[p,q]=(0,e.useTransition)(),[r,s]=(0,e.useState)(null),t=r&&r.queryProject===b?r.slug:b??"",u=c.find(a=>a.slug===t),v=!!(t&&!u),w=new Map;for(let a of c)w.set(a.name,(w.get(a.name)??0)+1);return(0,d.jsxs)(h.Zp,{as:"section",id:"app-launch",tabIndex:-1,"aria-labelledby":`${o}-title`,"aria-busy":p||void 0,className:"scroll-mt-[calc(var(--bar-height)+var(--space-4))]",children:[j,(0,d.jsx)("h2",{id:`${o}-title`,className:"mt-1 text-base font-semibold text-chalk",children:k("apps.launch.title")}),(0,d.jsx)("p",{className:"mt-2 text-sm leading-relaxed text-smoke",children:k("apps.launch.intro")}),i?(0,d.jsxs)("div",{className:"mt-4",children:[(0,d.jsx)(h.lZ,{text:k("apps.launch.loadError")}),(0,d.jsx)(h.rA,{tone:"surface",className:"mt-3",type:"button",onClick:function(){q(()=>n.refresh())},busy:p,busyLabel:k("apps.launch.loading"),children:k("apps.retry")})]}):0===c.length?(0,d.jsx)(h.pp,{variant:"bare",className:"mt-4",title:k("apps.launch.empty"),action:(0,d.jsx)(l(),{href:"/",className:"text-xs text-chalk underline underline-offset-4",children:k("apps.launch.catalog")}),children:k("apps.launch.emptyHint")}):(0,d.jsxs)("div",{className:"mt-4 space-y-3",children:[(0,d.jsxs)(h.l6,{label:k("apps.launch.project"),size:"lg",value:u?.slug??"",disabled:p,"aria-describedby":`${o}-open-hint${v?` ${o}-missing`:""}`,onChange:a=>s({queryProject:b,slug:a.target.value}),children:[(0,d.jsx)("option",{value:"",children:k("apps.launch.choose")}),c.map(a=>(0,d.jsx)("option",{value:a.slug,children:(w.get(a.name)??0)>1?`${a.name} \xb7 ${a.slug}`:a.name},a.slug))]}),v&&(0,d.jsx)("p",{id:`${o}-missing`,role:"status",className:"text-xs leading-relaxed text-smoke",children:k("apps.launch.missingProject")}),a&&u?(0,d.jsxs)(l(),{href:`/p/${encodeURIComponent(u.slug)}/video`,prefetch:!1,className:"apps-button apps-button-primary gap-2",children:[k("apps.launch.open"),(0,d.jsx)(f.r9I,{className:"size-4","aria-hidden":!0})]}):(0,d.jsxs)(h.rA,{tone:"accent",size:"lg",type:"button",disabled:!0,children:[k("apps.launch.open"),(0,d.jsx)(f.r9I,{className:"size-4","aria-hidden":!0})]}),(0,d.jsx)("p",{id:`${o}-open-hint`,className:"text-xs leading-relaxed text-smoke",children:k("apps.launch.openHint")})]}),!a&&(0,d.jsxs)("div",{className:"mt-4 border-t border-edge pt-3",children:[(0,d.jsx)("p",{className:"text-xs leading-relaxed text-smoke",children:k("apps.launch.setupHint")}),(0,d.jsx)(l(),{href:"#app-requirements",className:"mt-2 inline-block text-xs text-chalk underline underline-offset-4",children:k("apps.launch.setupLink")})]}),(0,d.jsx)("p",{role:"status",className:"sr-only",children:p?k("apps.launch.loading"):""})]})}function o({error:a}){let b=(0,g.kj)();if(!a)return null;let c=(0,i.hz)(a),e=c.stage?{...c.vars,stage:b(`apps.jobs.stage.${c.stage}`)}:c.vars;return(0,d.jsxs)("div",{className:"mt-4 rounded border border-edge bg-raised p-3 text-sm",role:"alert",children:[(0,d.jsx)("p",{className:"text-smoke",children:b(c.key,e)}),c.quote&&(0,d.jsx)("blockquote",{className:"mt-1 break-words",children:c.quote})]})}let p={install:"apps.working.install",update:"apps.working.update",browser:"apps.working.browser",doctor:"apps.working.doctor"};function q({job:a}){let b=(0,g.kj)();if(!a)return null;let c=(0,i.xK)(a),e="browser"===a.tool&&void 0!==c?b("apps.working.browserPercent",{n:c}):b(p[a.tool]??"apps.working.other");return(0,d.jsxs)("div",{className:"mt-3",role:"status","aria-live":"polite",children:[(0,d.jsx)("p",{className:"text-sm text-smoke",children:e}),void 0!==c&&(0,d.jsx)("progress",{className:"mt-2 w-full",max:100,value:c,"aria-label":b("apps.jobs.progress",{n:c})})]})}function r({n:a,total:b=3}){let c=(0,g.kj)();return(0,d.jsx)("p",{className:"eyebrow",children:c("apps.stepOf",{n:a,total:b})})}function s({t:a,app:b,busy:c,onOperate:e}){let f=b.npm?.present===!1;return(0,d.jsxs)("div",{className:"mt-6 flex flex-wrap gap-2",children:[b.version&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("button",{className:"apps-button",disabled:c||f,onClick:()=>e("update"),children:a("apps.update")}),(0,d.jsx)("button",{className:"apps-button",disabled:c,onClick:()=>e(!1===b.enabled?"enable":"disable"),children:a(!1===b.enabled?"apps.enable":"apps.disable")}),b.previousVersion&&(0,d.jsx)("button",{className:"apps-button",disabled:c,onClick:()=>e("rollback"),children:a("apps.rollback")})]}),(0,d.jsx)("button",{className:"apps-button",disabled:c,onClick:()=>e("check"),children:a("apps.check")})]})}function t({t:a,locale:b,requirement:c,app:e,busy:f,working:g,onOperate:i}){let j=!0===c.present?"apps.present":!1===c.present?"apps.missing":"apps.unchecked";return(0,d.jsxs)("div",{className:"mt-5 border-t border-edge pt-4",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,d.jsx)("h3",{className:"text-sm font-semibold",children:a("browser"===c.id?"apps.browser":"apps.ffmpeg")}),(0,d.jsx)(h.vw,{size:"md",tone:c.present?"live":!1===c.present?"idle":"neutral",children:a(j)})]}),(0,d.jsx)("p",{className:"mt-2 text-xs leading-relaxed text-smoke",children:a("browser"===c.id?"apps.browserHint":"apps.ffmpegHint")}),"browser"===c.id?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("p",{className:"mt-2 text-xs leading-relaxed text-smoke",children:a("apps.browserOwnCopy")}),!c.present&&(0,d.jsx)("p",{className:"mt-2 text-xs leading-relaxed text-smoke",children:a("apps.browserConsent",{n:c.approxMB??550})}),(0,d.jsx)("a",{className:"mt-2 inline-block text-sm underline",href:c.termsUrl??"https://www.google.com/chrome/terms/",target:"_blank",rel:"noreferrer",children:a("apps.terms")}),!c.present&&(0,d.jsx)("div",{children:(0,d.jsx)("button",{className:"apps-button mt-3",disabled:f||!e.version,onClick:()=>i("browser"),children:a("apps.download")})}),(0,d.jsx)(q,{job:g})]}):!c.present&&(0,d.jsx)("p",{className:"mt-2 break-words text-sm leading-relaxed text-smoke",children:c.install?.[b]??a("apps.ffmpegInstall")})]})}function u({t:a,locale:b,app:c,busy:e,working:f,onOperate:g}){let j=f&&["install","update","doctor"].includes(f.tool)?f:void 0;return(0,d.jsxs)(h.Zp,{as:"section",id:"app-requirements",tabIndex:-1,"aria-labelledby":"app-requirements-title",className:"scroll-mt-[calc(var(--bar-height)+var(--space-4))]",children:[(0,d.jsx)(r,{n:1}),(0,d.jsx)("h2",{id:"app-requirements-title",className:"mt-1 text-base font-semibold",children:a("apps.requirements")}),(0,d.jsx)("p",{className:"mt-2 text-sm leading-relaxed text-smoke",children:a("apps.setupIntro")}),!c.version&&(0,d.jsxs)("div",{className:"mt-4",children:[(0,d.jsx)("button",{className:"apps-button apps-button-primary",disabled:e||c.npm?.present===!1,onClick:()=>g("install"),children:a("apps.install")}),(0,d.jsx)("p",{className:"mt-2 text-xs text-smoke",children:a("apps.installHint")})]}),c.version&&!1===c.enabled&&(0,d.jsx)("button",{className:"apps-button apps-button-primary mt-4",disabled:e,onClick:()=>g("enable"),children:a("apps.enable")}),c.version&&(0,d.jsx)("button",{className:"apps-button mt-3",disabled:e,onClick:()=>g("doctor"),children:a("apps.refreshRequirements")}),(0,d.jsx)(q,{job:j}),c.requirementsAt&&(0,d.jsx)("p",{className:"mt-2 text-xs text-smoke",children:a("apps.checkedAt",{date:new Date(c.requirementsAt).toLocaleString(b)})}),(0,i.CG)(c).map(h=>(0,d.jsx)(t,{t:a,locale:b,requirement:h,app:c,busy:e,working:f?.tool===h.id?f:void 0,onOperate:g},h.id))]})}function v({t:a,locale:b,app:c,busy:f,onOperate:g}){let[i,j]=(0,e.useState)(!1),k=c.space?.dataBytes??0;return(0,d.jsxs)(h.Zp,{as:"section",children:[(0,d.jsx)("h2",{className:"text-base font-semibold",children:a("apps.versions")}),(0,d.jsxs)("div",{className:"mt-3 space-y-2 font-mono text-xs",children:[(0,d.jsx)("p",{children:c.pkg}),(0,d.jsx)("p",{children:a("apps.version",{version:c.version??"—"})}),c.previousVersion&&(0,d.jsx)("p",{children:a("apps.previous",{version:c.previousVersion})}),c.latestVersion&&(0,d.jsx)("p",{children:a("apps.available",{version:c.latestVersion})}),c.registryAt&&(0,d.jsx)("p",{children:a("apps.registryAt",{date:new Date(c.registryAt).toLocaleString(b)})}),c.stagedVersion&&(0,d.jsx)("p",{children:a("apps.staged",{version:c.stagedVersion})}),(0,d.jsx)("p",{children:a("apps.packageSpace",{bytes:(0,h.z3)(c.space?.packageBytes??0)})}),(0,d.jsx)("p",{children:a("apps.dataSpace",{bytes:(0,h.z3)(k)})})]}),(0,d.jsx)(s,{t:a,app:c,busy:f,onOperate:g}),c.version&&(0,d.jsx)("button",{className:"apps-button mt-4",disabled:f,onClick:()=>g("uninstall"),children:a("apps.uninstall")}),k>0&&(0,d.jsx)("button",{className:"apps-button mt-3",disabled:f,onClick:()=>j(!0),children:a("apps.clean")}),i&&(0,d.jsxs)("div",{className:"mt-3 rounded border border-edge p-3",children:[(0,d.jsx)("p",{className:"text-sm",children:a("apps.cleanConfirm",{bytes:(0,h.z3)(k)})}),(0,d.jsxs)("div",{className:"mt-3 flex gap-2",children:[(0,d.jsx)("button",{className:"apps-button",disabled:f,onClick:()=>{j(!1),g("clean")},children:a("apps.confirm")}),(0,d.jsx)("button",{className:"apps-button",onClick:()=>j(!1),children:a("apps.cancel")})]})]})]})}function w({t:a,app:b}){return(0,d.jsxs)(h.Zp,{as:"section",children:[(0,d.jsx)("h2",{className:"text-base font-semibold",children:a("apps.legal")}),(0,d.jsx)("p",{className:"mt-3 text-sm leading-relaxed text-smoke",children:a("apps.privacy")}),b.version&&(0,d.jsx)("div",{className:"mt-4 flex gap-4 text-sm",children:["license","notices","codecs"].map(c=>(0,d.jsx)("a",{className:"underline",href:`/api/apps/${b.id}/legal?document=${c}`,target:"_blank",rel:"noreferrer",children:a(`apps.${c}`)},c))})]})}function x({id:a,project:b,projects:c,projectsError:k}){let l=(0,g.kj)(),m=(0,g.Ym)(),{app:p,error:q,setError:s,reload:t}=function(a){let[b,c]=(0,e.useState)(null),[d,f]=(0,e.useState)(null),g=(0,e.useCallback)(async()=>{try{c(await (0,i.Tl)(`/api/apps/${encodeURIComponent(a)}?space=1`)),f(null)}catch(a){f(String(a instanceof Error?a.message:a))}},[a]);return b?.jobs?.find(a=>i.Cn.has(a.status))?.id,{app:b,error:d,setError:f,reload:g}}(a),[x,z]=(0,e.useState)(!1),A=(0,e.useCallback)(async b=>{z(!0),s(null);try{await (0,i.Tl)(`/api/apps/${encodeURIComponent(a)}/${b}`,{}),await t()}catch(a){s(a.message)}finally{z(!1)}},[a,t,s]),B=(0,e.useCallback)(a=>{A(a)},[A]);if(!p)return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(o,{error:q}),(0,d.jsx)("p",{className:"mt-6 text-smoke",children:l("apps.loading")}),q&&(0,d.jsx)("button",{className:"apps-button mt-3",onClick:()=>void t(),children:l("apps.retry")})]});let C=x||!!p.jobs?.some(a=>i.Cn.has(a.status)),D=(0,i.Qp)(p),E=(0,i.sk)(p);return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("header",{className:"mt-5",children:[(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-4",children:[(0,d.jsx)(f.UW0,{"aria-hidden":!0,className:"h-16 w-16 shrink-0 text-accent"}),(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsx)("p",{className:"eyebrow",children:l("apps.official")}),(0,d.jsx)("h1",{className:"page-shell__title mt-1",children:(0,i.JB)(p,m)})]}),(0,d.jsx)(h.vw,{size:"md",tone:p.ready&&!1!==p.enabled?"live":"strong",children:l((0,i.nN)(p))})]}),(0,d.jsx)("p",{className:"mt-3 max-w-2xl text-sm leading-relaxed text-smoke",children:p.manifest?.summary?.[m]??l("apps.videoSummary")}),(0,d.jsx)("p",{className:"mt-3 text-sm font-semibold text-chalk",children:(0,d.jsx)("a",{className:"underline underline-offset-4",href:"create"===E?"#app-launch":"#app-requirements",children:l(`apps.next.${E}`)})})]}),(0,d.jsx)(o,{error:q??p.error}),p.npm?.present===!1&&(0,d.jsx)("p",{className:"mt-4 text-sm text-smoke",children:l("apps.npmMissing")}),(0,d.jsxs)("div",{className:"mt-6 flex flex-col gap-4 lg:grid lg:grid-cols-2 lg:items-start",children:[(0,d.jsxs)("div",{className:"contents lg:flex lg:flex-col lg:gap-4",children:[(0,d.jsx)("div",{className:"order-1 lg:contents",children:(0,d.jsx)(u,{t:l,locale:m,app:p,busy:C,working:D,onOperate:B})}),(0,d.jsx)("div",{className:"order-3 lg:contents",children:(0,d.jsx)(n,{ready:!!(p.ready&&!1!==p.enabled),project:b,projects:c,loadError:k,step:(0,d.jsx)(r,{n:3})})})]}),(0,d.jsxs)("div",{className:"contents lg:flex lg:flex-col lg:gap-4",children:[(0,d.jsx)("div",{className:"order-2 lg:contents",children:(0,d.jsx)(j.G,{app:p,busy:C,onSave:t,step:(0,d.jsx)(r,{n:2})})}),(0,d.jsx)("div",{className:"order-4 lg:contents",children:(0,d.jsx)(v,{t:l,locale:m,app:p,busy:C,onOperate:B})})]})]}),(0,d.jsx)("div",{className:"mt-4 grid items-start gap-4 lg:grid-cols-2",children:(0,d.jsx)(w,{t:l,app:p})}),(0,d.jsxs)("section",{className:"mt-8",children:[(0,d.jsx)("h2",{className:"text-base font-semibold",children:l("apps.jobs.title")}),(0,d.jsx)(y,{jobs:p.jobs??[],onCancel:a=>{(0,i.Tl)(`/api/apps/jobs/${a.id}/cancel`,{}).then(t).catch(a=>s(a.message))}})]})]})}function y({jobs:a,onCancel:b}){let c=(0,g.kj)(),e=(0,g.Ym)();return(0,d.jsxs)("div",{className:"mt-4 space-y-3",children:[0===a.length&&(0,d.jsx)(h.pp,{variant:"note",title:c("apps.jobs.empty")}),a.map(a=>{let f=(0,i.xK)(a),g=i.Cn.has(a.status),h=a.requestedAt?new Date(a.requestedAt).toLocaleString(e):"";return(0,d.jsxs)("div",{className:"rounded border border-edge p-4",children:[(0,d.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[(0,d.jsxs)("p",{className:"text-sm",role:"status",children:[(0,d.jsx)("span",{className:"font-mono",children:a.tool})," \xb7 ",c((0,i.$J)(a.status)),h&&(0,d.jsxs)("span",{className:"text-faint",children:[" \xb7 ",h]})]}),b&&g&&(0,d.jsx)("button",{className:"apps-button",disabled:"cancelling"===a.status,onClick:()=>b(a),children:c("apps.jobs.cancel")})]}),g&&a.progress?.message&&(0,d.jsx)("blockquote",{className:"mt-2 text-sm text-smoke",children:a.progress.message}),g&&void 0!==f&&(0,d.jsx)("progress",{className:"mt-3 w-full",max:100,value:f,"aria-label":c("apps.jobs.progress",{n:f})}),(0,d.jsx)(o,{error:a.error}),!g&&a.error&&a.progress?.message&&(0,d.jsxs)("details",{className:"mt-2 text-sm",children:[(0,d.jsx)("summary",{className:"text-smoke",children:c("apps.jobs.lastSaid")}),(0,d.jsx)("blockquote",{className:"mt-2 break-words text-smoke",children:a.progress.message})]})]},a.id)})]})}},36568:(a,b,c)=>{c.d(b,{G:()=>m,n:()=>l});var d=c(17016),e=c(65059),f=c.n(e),g=c(65065),h=c(45157),i=c(86206),j=c(65862),k=c(7581);let l=[{value:"claude",label:"Claude Code"},{value:"codex",label:"Codex"},{value:"anthropic",label:"Anthropic API"},{value:"openai",label:"OpenAI API"}];function m({app:a,busy:b,onSave:c,step:e}){let m=(0,j.kj)(),o=(0,j.Ym)(),[p,q]=(0,g.useState)(null),[r,s]=(0,g.useState)(null),[t,u]=(0,g.useState)(!1),[v,w]=(0,g.useState)(!1),[x,y]=(0,g.useState)(!1),[z,A]=(0,g.useState)(!1),[B,C]=(0,g.useState)(null),[D,E]=(0,g.useState)(!1),[F,G]=(0,g.useState)(!0),H=(0,g.useRef)(!1),I=p??a.settings?.brain??"none",J=r??a.settings?.voice??!1,K="none"!==I&&I!==(a.settings?.brain??"none")||J&&!a.settings?.voice,L=J&&!B?.configured,M=b||v,N=`/api/apps/${encodeURIComponent(a.id)}/credentials`,O=(0,g.useCallback)(async a=>{G(!0),E(!1);try{let b=await (0,i.Tl)(N,void 0,"GET",a);a?.aborted||C(b)}catch{a?.aborted||E(!0)}finally{a?.aborted||G(!1)}},[N]);function P(){u(!1),y(!1),A(!1)}async function Q(){if(!H.current&&!M&&!L&&(!K||t)){H.current=!0,w(!0),y(!1),A(!1);try{let b=await (0,i.Tl)(`/api/apps/${encodeURIComponent(a.id)}/settings`,{brain:I,voice:J,confirm:t},"PATCH");q(b.settings.brain),s(b.settings.voice),await c(),u(!1),y(!0)}catch{A(!0)}finally{H.current=!1,w(!1)}}}return(0,d.jsxs)(k.Zp,{as:"section","aria-labelledby":"app-providers-title",children:[e,(0,d.jsxs)("div",{className:"mt-1 flex flex-wrap items-center justify-between gap-2",children:[(0,d.jsx)("h2",{id:"app-providers-title",className:"text-base font-semibold",children:m("apps.providers")}),(0,d.jsx)(k.vw,{size:"md",children:m("apps.optional")})]}),(0,d.jsx)("p",{className:"mt-2 text-sm leading-relaxed text-smoke",children:m("apps.providersIntro")}),(0,d.jsxs)("div",{className:"mt-5",children:[(0,d.jsxs)(k.l6,{label:m("apps.brain"),value:I,disabled:M,onChange:a=>{q(a.target.value),P()},children:[(0,d.jsx)("option",{value:"none",children:m("apps.none")}),(0,d.jsx)("option",{value:"auto",children:m("apps.auto")}),l.map(a=>(0,d.jsx)("option",{value:a.value,children:a.label},a.value))]}),(0,d.jsx)("p",{className:"mt-2 text-xs leading-relaxed text-smoke",children:m("apps.brainHint")}),(0,d.jsx)(f(),{href:"/ai",className:"mt-2 inline-block text-xs underline underline-offset-4",children:m("apps.configureModel")})]}),(0,d.jsxs)("div",{className:"mt-5 border-t border-edge pt-5",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)(h.INy,{"aria-hidden":!0,className:"h-5 w-5"}),(0,d.jsx)("h3",{className:"text-sm font-semibold",children:m("apps.voice")})]}),(0,d.jsx)("p",{className:"mt-2 text-xs leading-relaxed text-smoke",children:m("apps.voiceHint")}),F?(0,d.jsx)("p",{role:"status",className:"mt-3 text-xs text-smoke",children:m("apps.key.loading")}):D?(0,d.jsxs)("div",{className:"mt-3",children:[(0,d.jsx)(k.lZ,{text:m("apps.key.loadFailed")}),(0,d.jsx)(k.rA,{type:"button",tone:"surface",className:"mt-2",onClick:()=>void O(),children:m("apps.retry")})]}):B&&(0,d.jsx)(n,{endpoint:N,status:B,busy:M,onChanged:a=>{C(a),P()}}),(0,d.jsx)(k.Jl,{size:"lg",className:"mt-4",checked:J,disabled:M||F&&!J||!B?.configured&&!J,onChange:a=>{s(a.target.checked),P()},children:m("apps.enableVoice")}),L&&(0,d.jsx)("p",{className:"mt-2 text-xs text-smoke",children:m("apps.key.required")})]}),K&&(0,d.jsxs)("div",{className:"mt-5 border-t border-edge pt-4",children:[(0,d.jsx)("div",{className:"space-y-2 text-xs leading-relaxed text-smoke",children:(a.manifest?.providers?.filter(a=>"brain"===a.id?"none"!==I:J)??[]).map(a=>(0,d.jsx)("p",{children:a.sends[o]},a.id))}),(0,d.jsx)(k.Jl,{size:"lg",className:"mt-3",checked:t,disabled:M,onChange:a=>u(a.target.checked),children:m("apps.providerConfirm")})]}),(0,d.jsxs)("div",{className:"mt-5 flex flex-wrap items-center gap-3 border-t border-edge pt-4",children:[(0,d.jsx)(k.rA,{type:"button",tone:"accent",busy:v,busyLabel:m("apps.saving"),disabled:M||L||K&&!t,onClick:()=>void Q(),children:m("apps.providerSave")}),(0,d.jsx)("p",{role:"status",className:"text-xs text-smoke",children:x?m("apps.providersSaved"):""})]}),z&&(0,d.jsx)(k.lZ,{text:m("apps.providersFailed"),className:"mt-3"}),(0,d.jsx)(f(),{href:"/spend",className:"mt-3 inline-block text-xs underline underline-offset-4",children:m("apps.spendLink")})]})}function n({endpoint:a,status:b,busy:c,onChanged:e}){let f=(0,j.kj)(),[l,m]=(0,g.useState)(""),[n,o]=(0,g.useState)(!1),[p,q]=(0,g.useState)(!1),[r,s]=(0,g.useState)(!1),[t,u]=(0,g.useState)(!1),[v,w]=(0,g.useState)(null),x=(0,g.useRef)(!1),y=c||r,z=(0,g.useRef)(null);async function A(b){if(!x.current&&!y){x.current=!0,s(!0),u(!1),w(null);try{let c=await (0,i.Tl)(a,"POST"===b?{provider:"elevenlabs",key:l.trim()}:{provider:"elevenlabs"},b);m(""),o(!1),q(!1),w("POST"===b?"saved":"removed"),e(c)}catch{u(!0)}finally{x.current=!1,s(!1)}}}return(0,d.jsxs)("div",{className:"mt-3",children:[(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2 text-xs",children:[(0,d.jsx)(h.JPZ,{"aria-hidden":!0,className:"h-4 w-4"}),(0,d.jsx)(k.vw,{size:"md",tone:b.configured?"strong":"neutral",children:f(b.configured?"apps.key.configured":"apps.key.missing")})]}),(!b.configured||n)&&(0,d.jsxs)("form",{ref:z,className:"mt-3",onSubmit:a=>{a.preventDefault(),l.trim()&&A("POST")},children:[(0,d.jsx)(k.D0,{label:f("apps.key.label"),type:"password",autoComplete:"off",spellCheck:!1,required:!0,maxLength:500,value:l,disabled:y,"aria-describedby":"elevenlabs-key-hint",onChange:a=>{m(a.target.value),u(!1),w(null)}}),(0,d.jsx)("p",{id:"elevenlabs-key-hint",className:"mt-2 text-xs leading-relaxed text-smoke",children:f("apps.key.hint")}),(0,d.jsxs)("div",{className:"mt-3 flex flex-wrap items-center gap-3",children:[(0,d.jsx)(k.rA,{type:"submit",tone:"surface",busy:r,busyLabel:f("apps.saving"),disabled:y||!l.trim(),children:f("apps.key.save")}),n&&(0,d.jsx)(k.rA,{type:"button",tone:"quiet",disabled:y,onClick:()=>{o(!1),m("")},children:f("apps.cancel")}),(0,d.jsx)("a",{href:"https://elevenlabs.io/app/settings/api-keys",target:"_blank",rel:"noreferrer",className:"text-xs underline underline-offset-4",children:f("apps.key.get")})]})]}),b.configured&&!n&&!p&&(0,d.jsxs)("div",{className:"mt-3 flex flex-wrap gap-2",children:[(0,d.jsx)(k.rA,{type:"button",tone:"surface",disabled:y,onClick:()=>{o(!0),w(null)},children:f("apps.key.replace")}),(0,d.jsx)(k.rA,{type:"button",tone:"quiet",disabled:y,onClick:()=>q(!0),children:f("apps.key.remove")})]}),p&&(0,d.jsxs)("div",{className:"mt-3 border-l border-edge pl-3",children:[(0,d.jsx)("p",{className:"text-xs leading-relaxed",children:f("apps.key.removeConfirm")}),(0,d.jsxs)("div",{className:"mt-2 flex flex-wrap gap-2",children:[(0,d.jsx)(k.rA,{type:"button",tone:"danger",busy:r,disabled:y,onClick:()=>void A("DELETE"),children:f("apps.key.remove")}),(0,d.jsx)(k.rA,{type:"button",tone:"quiet",disabled:y,onClick:()=>q(!1),children:f("apps.cancel")})]})]}),(0,d.jsx)("p",{role:"status",className:"mt-2 text-xs text-smoke",children:v?f("saved"===v?"apps.key.saved":"apps.key.removed"):""}),t&&(0,d.jsx)(k.lZ,{text:f("apps.key.saveFailed"),className:"mt-2"})]})}},99232:(a,b,c)=>{c.d(b,{d:()=>g,q:()=>f});var d=c(62490);let e=a=>null!=a&&!1!==a;function f({eyebrow:a,title:b,lead:c,note:f,headExtra:g,measure:h="text",children:i}){return(0,d.jsx)("main",{id:"app-main",tabIndex:-1,className:`app-main page-shell page-shell--${h}`,children:(0,d.jsxs)("div",{className:"page-shell__inner",children:[e(a)||e(b)||e(c)||e(f)||e(g)?(0,d.jsxs)("header",{className:"page-shell__head",children:[e(a)?(0,d.jsx)("p",{className:"eyebrow",children:a}):null,e(b)?(0,d.jsx)("h1",{className:"page-shell__title",children:b}):null,e(c)?(0,d.jsx)("p",{className:"page-shell__lead",children:c}):null,e(f)?(0,d.jsx)("p",{className:"page-shell__note",children:f}):null,g]}):null,i]})})}function g({id:a,title:b,labelledBy:c,children:f}){return(0,d.jsxs)("section",{...a?{id:a,tabIndex:-1}:{},...c&&!e(b)?{"aria-labelledby":c}:{},className:`page-shell__section${a?" scroll-mt-24":""}`,children:[e(b)?(0,d.jsx)("h2",{className:"eyebrow page-shell__section-title",children:b}):null,f]})}}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.id=5103,exports.ids=[5103],exports.modules={35103:(a,b,c)=>{c.d(b,{IW:()=>l,Mp:()=>o,dJ:()=>B,ensureAppSupervisor:()=>s,nz:()=>C,stopAppSupervisor:()=>t});var d=c(4528),e=c(24445),f=c(44810),g=c(63351),h=c(87711),i=c(90336),j=c(54699),k=c(86247);let l=2e3,m=new Set;function n(){for(let a of[...m])a()}function o(a,b){return new Promise(c=>{let d=()=>{m.delete(d),clearTimeout(e),a.removeEventListener("abort",d),c()},e=setTimeout(d,Math.max(0,b));m.add(d),a.addEventListener("abort",d,{once:!0}),a.aborted&&d()})}let p=globalThis;function q(a){let b=p.panomaAppWorkers??=new WeakMap,c=b.get(a);return c||(c={stopped:!1},b.set(a,c)),c}async function r(a){let b=await (0,d.Qu)();await (0,e.NfF)(async()=>{for(let b of d.iC)await (0,e.eJB)(a,b.id,b.pkg);for(let c of b.apps){let b=await (0,e.SxX)(a,c.id);await (0,e.fyc)(a,c.id,{version:c.current?.version??null,previousVersion:c.current?.previous??null,stagedVersion:c.stagedVersion??null,status:b?.enabled===!1?"disabled":c.status,protocol:c.app?.manifest.protocol??null,manifest:c.app?.manifest??null,error:c.error??null})}for(let b of(await (0,e.cvP)(a,{statuses:["running","cancelling"],limit:1e3})))await (0,e.y4r)(a,b.id,b.status,"failed",{error:"interrupted"})}),n()}async function s(){if(process.env.DATABASE_URL)return;let{db:a}=await (0,g.db)(),b=q(a);b.stopped||(b.initialized??=r(a).catch(a=>{throw b.initialized=void 0,a}),await b.initialized,b.timer||(b.timer=setInterval(()=>{y(a).catch(()=>{})},3e4),b.timer.unref()),y(a).catch(()=>{}))}async function t(a){let b=q(a);b.stopped=!0,clearInterval(b.timer),b.controller?.abort(new k.G8("interrupted")),await b.running}async function u(a,b,c=!1){let d=await (0,i.Q9)(a,{signal:b,deepProbe:c});try{return Object.entries(d.guide.requirements).filter(([,a])=>(0,j.u4)(a)&&"boolean"==typeof a.present).map(([a,b])=>({...b,id:a}))}finally{await d.close()}}async function v(a,b){let c=await (0,d.cA)(b),f=c?await (0,d.S2)(b):void 0,g=await (0,e.SxX)(a,b);await (0,e.NfF)(()=>(0,e.fyc)(a,b,{version:c?.version??null,previousVersion:c?.previous??null,stagedVersion:null,protocol:f?.manifest.protocol??null,manifest:f?.manifest??null,status:g?.enabled===!1?"disabled":f?"installed":"absent",error:null,...f?{installedAt:g?.installedAt??new Date}:{requirements:null,requirementsAt:null}}))}async function w(a,b,c,f){let g=a=>f({progress:0,message:b.tool+": "+a});if("install"===b.tool||"update"===b.tool){await (0,e.NfF)(()=>(0,e.fyc)(a,b.appId,{status:"installing",error:null}));let f="install"===b.tool?d.ai:d.yo,h=await f(b.appId,{signal:c,onProgress:g,probe:u});return"staged"===h.status&&(await (0,e.NfF)(()=>(0,e.fyc)(a,b.appId,{stagedVersion:h.version,status:"staged"})),await (0,d.Yf)(b.appId,h.version)),await v(a,b.appId),await (0,e.NfF)(()=>(0,e.fyc)(a,b.appId,{requirements:Object.fromEntries(h.requirements.map(a=>[a.id,a])),requirementsAt:new Date})),{version:h.version,installed:!0}}if("browser"===b.tool)await (0,d.Iz)(b.appId,g,c);else if("rollback"===b.tool)await (0,d.dU)(b.appId);else if("enable"===b.tool||"disable"===b.tool)await (0,e.NfF)(()=>(0,e.fyc)(a,b.appId,{enabled:"enable"===b.tool}));else if("uninstall"===b.tool)await (0,d.JC)(b.appId,{keepData:!0});else if("clean"===b.tool){let c=await (0,d.Ec)(b.appId);return await (0,e.NfF)(()=>(0,e.ntb)(a,b.appId)),c}else if("check"===b.tool)return{...await (0,d.eZ)((0,d.lb)(b.appId).pkg,{force:!0,explicit:!0})};else if("doctor"!==b.tool)throw new k.G8("unknown-app-operation");if(await v(a,b.appId),"browser"===b.tool||"doctor"===b.tool){let f=Object.fromEntries((await u(await (0,d.S2)(b.appId),c,!0)).map(a=>[a.id,a]));return await (0,e.NfF)(()=>(0,e.fyc)(a,b.appId,{requirements:f,requirementsAt:new Date})),{requirements:f}}return{complete:!0}}async function x(a,b,c,g){let l=await (0,e.SxX)(a,b.appId);if(!l?.enabled||!l.version)throw new k.G8("app-not-enabled");let m="string"==typeof b.input._projectId?b.input._projectId:void 0,n=await (0,e.vfN)(a,b.identity,m).catch(c=>{if(!(c instanceof Error)||"project-not-found"!==c.message||!m)throw c;return(0,e.vfN)(a,b.identity)}),o=await (0,e.$wW)(a,b.appId,b.identity),p={...b.input,project_path:n.root,...o?{workspace_id:o.workspaceId}:{}};delete p._projectId;let q="string"==typeof b.input.brain?b.input.brain:"none";if("none"!==q&&q!==l.settings.brain)throw new k.G8("provider-not-enabled");if(b.reservedCalls){let{cap:c}=await (0,h.Cv)("app");if(!(b=await (0,e.NfF)(()=>(0,e.CwE)(a,b,Math.min(c,1e3)))).reservedCalls)throw new k.G8("app-budget-exhausted")}let r={},s=j.kX[b.tool]?.includes("voice")&&l.settings.voice&&"none"!==p.voice;if(j.kX[b.tool]?.includes("voice")&&!l.settings.voice&&(p.voice="none"),"none"!==q||s){let a=await (0,f.Xg)(),b="auto"===q?a.provider:q;if("anthropic"===b||"openai"===b){let c=a.keys?.[b];if(c)r["anthropic"===b?"ANTHROPIC_API_KEY":"OPENAI_API_KEY"]=c;else if(q===b)throw new k.G8("provider-key-missing")}if(s){let b=a.keys?.elevenlabs;if(!b)throw new k.G8("voice-key-missing");r.ELEVENLABS_API_KEY=b}}let t=await (0,d.S2)(b.appId,b.appVersion),u=await (0,i.Q9)(t,{jobId:b.id,brain:q,providerEnv:r,maxBrainCalls:b.reservedCalls,signal:c}),v=!1;try{if(await (0,e.NfF)(async()=>{await (0,e.fyc)(a,b.appId,{requirements:u.guide.requirements,requirementsAt:new Date}),u.pid&&await (0,e.n5g)(a,b.id,{stage:"starting",progress:0,message:"starting: App connected",at:new Date().toISOString()},u.pid)}),["panoma_video_auto","panoma_video_render","panoma_video_review"].includes(b.tool)&&!(0,i.no)(u.guide.requirements,t.manifest.requirements.map(a=>a.id)))throw new k.G8("requirement-missing");v=!0;let f=await u.call(b.tool,p,{signal:c,timeout:d.wh[b.tool],token:b.id,onProgress:g});"string"==typeof f.project_id&&/^[a-z0-9][a-z0-9-]{0,79}$/.test(f.project_id)&&await (0,e.NfF)(()=>(0,e.YXe)(a,{appId:b.appId,identity:b.identity,rootAtCreation:n.root,workspaceId:f.project_id}));let h=(0,j.nb)(f,b.tool,p);if(h)throw new i.ge(h,f);return f}catch(c){await u.close();let a=c instanceof i.ge?c.result:void 0,b=u.spend??a?.spend??(v?void 0:{calls:0});throw new i.ge(c instanceof Error?c.message:"app-failed",{...a,...b?{spend:b}:{}})}finally{await u.close()}}async function y(a,b=A){let c=q(a);if(c.stopped)return;if(c.running)return c.running;let d=async()=>{for(;!c.stopped&&await (0,e.__u)(a);){let d=await (0,e.NfF)(()=>(0,e.jfC)(a));if(!d)break;n(),c.jobId=d.id,c.controller=new AbortController;try{await b(a,d,c.controller.signal)}catch(b){await z(a,d.id,b)}finally{c.jobId=void 0,c.controller=void 0}}};c.running=d();try{await c.running}finally{c.running=void 0}}async function z(a,b,c){try{await (0,e.NfF)(async()=>{let d=await (0,e.XTz)(a,b);d&&["running","cancelling"].includes(d.status)&&await (0,e.y4r)(a,b,d.status,"failed",{error:(c instanceof Error?c.message:"app-failed").slice(0,4e3)})})}catch{}n()}async function A(a,b,c){let f,g,h=new AbortController,l=()=>h.abort(c.reason);c.addEventListener("abort",l,{once:!0}),c.aborted&&l();let m=setTimeout(()=>h.abort(new k.G8("timeout")),d.wh[b.tool]??18e5),o=function(a){let b,c,d=Promise.resolve(),e=0;function f(){clearTimeout(c),c=void 0;let f=b;return b=void 0,f&&(e=Date.now(),d=d.then(()=>a(f))),d}return{push(a){let d=(a.message??"").slice(0,1e3);b={stage:d.split(":")[0].slice(0,60),progress:a.progress,...void 0===a.total?{}:{total:a.total},message:d,at:new Date().toISOString()},c||(c=setTimeout(()=>{f().catch(()=>{})},Math.max(0,1e3-(Date.now()-e))))},flush:f}}(async c=>{await (0,e.NfF)(()=>(0,e.n5g)(a,b.id,c)),n()});try{f=j.E3.includes(b.tool)?await w(a,b,h.signal,o.push):await x(a,b,h.signal,o.push)}catch(a){a instanceof i.ge?f=a.result:j.E3.includes(b.tool)||(f={spend:{calls:0}}),g=h.signal.aborted?String(h.signal.reason?.message??"cancelled"):a instanceof Error?a.message.slice(0,4e3):"app-failed"}finally{clearTimeout(m),c.removeEventListener("abort",l),await o.flush().catch(()=>{g??="progress-write-failed"})}await (0,e.NfF)(async()=>{let c=await (0,e.XTz)(a,b.id);if(!c||!["running","cancelling"].includes(c.status))return;await (0,e.leP)(a,b,function(a){let b=a?.spend??a?.brain;if((0,j.u4)(b)&&"number"==typeof b.calls&&Number.isSafeInteger(b.calls)&&!(b.calls<0))return{calls:Math.min(b.calls,e.q8B),provider:"string"==typeof b.provider?b.provider:"string"==typeof b.driver?b.driver:void 0,model:"string"==typeof b.model?b.model:void 0}}(f));let d=(0,k.Kl)(g).code,h="cancelling"===c.status&&"timeout"!==d&&"interrupted"!==d;await (0,e.y4r)(a,b.id,c.status,h?"cancelled":g?"failed":"done",{result:f??null,error:g??null}),g&&["install","update","browser"].includes(b.tool)&&await (0,e.fyc)(a,b.appId,{status:"failed",error:g})}),n();let p=await (0,d.pl)(b.appId).catch(()=>void 0);p&&(await (0,d.Yf)(b.appId,p),await v(a,b.appId))}async function B(a){if(process.env.DATABASE_URL)throw new k.G8("local-catalog-required");(0,d.lb)(a.appId),await s();let{db:b}=await (0,g.db)(),c=j.E3.includes(a.tool),f=await (0,e.SxX)(b,a.appId);if(!f)throw new k.G8("unknown-app");let i={},l=!1;if(c){if(Object.keys(a.input).length)throw new k.G8("unexpected-operation-input")}else{if(!f.enabled||!f.version)throw new k.G8("not-installed");if(!a.identity||a.identity.length>1e3)throw new k.G8("invalid-identity");let c=await (0,e.vfN)(b,a.identity,a.projectId);if((i={...(0,j.Sx)(a.tool,a.input)})._projectId=c.id,i.music&&!await (0,d.m0)(c.root,String(i.music)))throw new k.G8("music-outside-project");if(j.kX[a.tool]?.includes("brain")){if(void 0!==i.brain&&"none"!==i.brain&&i.brain!==f.settings.brain)throw new k.G8("provider-not-enabled");i.brain=i.brain??f.settings.brain,l="none"!==i.brain}j.kX[a.tool]?.includes("voice")&&!f.settings.voice&&(i.voice="none"),j.kX[a.tool]?.includes("voice")&&f.settings.voice&&"none"!==i.voice&&(l=!0)}let{cap:m}=await (0,h.Cv)("app"),o=await (0,e.NfF)(()=>(0,e.dsF)(b,{appId:a.appId,identity:c?"":a.identity,tool:a.tool,input:i,appVersion:f.version??"uninstalled",paid:l,cap:Math.min(m,1e3)}));return n(),y(b).catch(()=>{}),o}async function C(a){await s();let{db:b}=await (0,g.db)();await (0,e.NfF)(async()=>{let c=await (0,e.XTz)(b,a);c?.status==="pending"?(await (0,e.leP)(b,c,{calls:0}),await (0,e.y4r)(b,a,"pending","cancelled")):c?.status==="running"&&await (0,e.y4r)(b,a,"running","cancelling")}),n();let c=q(b);return c.jobId===a&&c.controller?.abort(new k.G8("cancelled")),(0,e.XTz)(b,a)}}};
|
|
1
|
+
"use strict";exports.id=5103,exports.ids=[5103],exports.modules={35103:(a,b,c)=>{c.d(b,{IW:()=>l,Mp:()=>o,dJ:()=>B,ensureAppSupervisor:()=>s,nz:()=>C,stopAppSupervisor:()=>t});var d=c(4528),e=c(24445),f=c(44810),g=c(63351),h=c(87711),i=c(90336),j=c(54699),k=c(86247);let l=2e3,m=new Set;function n(){for(let a of[...m])a()}function o(a,b){return new Promise(c=>{let d=()=>{m.delete(d),clearTimeout(e),a.removeEventListener("abort",d),c()},e=setTimeout(d,Math.max(0,b));m.add(d),a.addEventListener("abort",d,{once:!0}),a.aborted&&d()})}let p=globalThis;function q(a){let b=p.panomaAppWorkers??=new WeakMap,c=b.get(a);return c||(c={stopped:!1},b.set(a,c)),c}async function r(a){let b=await (0,d.Qu)();await (0,e.NfF)(async()=>{for(let b of d.iC)await (0,e.eJB)(a,b.id,b.pkg);for(let c of b.apps){let b=await (0,e.SxX)(a,c.id);await (0,e.fyc)(a,c.id,{version:c.current?.version??null,previousVersion:c.current?.previous??null,stagedVersion:c.stagedVersion??null,status:b?.enabled===!1?"disabled":c.status,protocol:c.app?.manifest.protocol??null,manifest:c.app?.manifest??null,error:c.error??null})}for(let b of(await (0,e.cvP)(a,{statuses:["running","cancelling"],limit:1e3})))await (0,e.y4r)(a,b.id,b.status,"failed",{error:"interrupted"})}),n()}async function s(){if(process.env.DATABASE_URL)return;let{db:a}=await (0,g.db)(),b=q(a);b.stopped||(b.initialized??=r(a).catch(a=>{throw b.initialized=void 0,a}),await b.initialized,b.timer||(b.timer=setInterval(()=>{y(a).catch(()=>{})},3e4),b.timer.unref()),y(a).catch(()=>{}))}async function t(a){let b=q(a);b.stopped=!0,clearInterval(b.timer),b.controller?.abort(new k.G8("interrupted")),await b.running}async function u(a,b,c=!1){let d=await (0,i.Q9)(a,{signal:b,deepProbe:c});try{return Object.entries(d.guide.requirements).filter(([,a])=>(0,j.u4)(a)&&"boolean"==typeof a.present).map(([a,b])=>({...b,id:a}))}finally{await d.close()}}async function v(a,b){let c=await (0,d.cA)(b),f=c?await (0,d.S2)(b):void 0,g=await (0,e.SxX)(a,b);await (0,e.NfF)(()=>(0,e.fyc)(a,b,{version:c?.version??null,previousVersion:c?.previous??null,stagedVersion:null,protocol:f?.manifest.protocol??null,manifest:f?.manifest??null,status:g?.enabled===!1?"disabled":f?"installed":"absent",error:null,...f?{installedAt:g?.installedAt??new Date}:{requirements:null,requirementsAt:null}}))}async function w(a,b,c,f){let g,h="browser"===b.tool?a=>{/^Downloading\b/i.test(a)&&(g=void 0);let b=/(\d{1,3})% of /.exec(a);return b&&(g=Math.min(100,Number(b[1]))),void 0===g?{progress:0}:{progress:g,total:100}}:()=>({progress:0}),i=a=>f({...h(a),message:b.tool+": "+a});if("install"===b.tool||"update"===b.tool){await (0,e.NfF)(()=>(0,e.fyc)(a,b.appId,{status:"installing",error:null}));let f="install"===b.tool?d.ai:d.yo,g=await f(b.appId,{signal:c,onProgress:i,probe:u});return"staged"===g.status&&(await (0,e.NfF)(()=>(0,e.fyc)(a,b.appId,{stagedVersion:g.version,status:"staged"})),await (0,d.Yf)(b.appId,g.version)),await v(a,b.appId),await (0,e.NfF)(()=>(0,e.fyc)(a,b.appId,{requirements:Object.fromEntries(g.requirements.map(a=>[a.id,a])),requirementsAt:new Date})),{version:g.version,installed:!0}}if("browser"===b.tool)await (0,d.Iz)(b.appId,i,c);else if("rollback"===b.tool)await (0,d.dU)(b.appId);else if("enable"===b.tool||"disable"===b.tool)await (0,e.NfF)(()=>(0,e.fyc)(a,b.appId,{enabled:"enable"===b.tool}));else if("uninstall"===b.tool)await (0,d.JC)(b.appId,{keepData:!0});else if("clean"===b.tool){let c=await (0,d.Ec)(b.appId);return await (0,e.NfF)(()=>(0,e.ntb)(a,b.appId)),c}else if("check"===b.tool)return{...await (0,d.eZ)((0,d.lb)(b.appId).pkg,{force:!0,explicit:!0})};else if("doctor"!==b.tool)throw new k.G8("unknown-app-operation");if(await v(a,b.appId),"browser"===b.tool||"doctor"===b.tool){let f=Object.fromEntries((await u(await (0,d.S2)(b.appId),c,!0)).map(a=>[a.id,a]));return await (0,e.NfF)(()=>(0,e.fyc)(a,b.appId,{requirements:f,requirementsAt:new Date})),{requirements:f}}return{complete:!0}}async function x(a,b,c,g){let l=await (0,e.SxX)(a,b.appId);if(!l?.enabled||!l.version)throw new k.G8("app-not-enabled");let m="string"==typeof b.input._projectId?b.input._projectId:void 0,n=await (0,e.vfN)(a,b.identity,m).catch(c=>{if(!(c instanceof Error)||"project-not-found"!==c.message||!m)throw c;return(0,e.vfN)(a,b.identity)}),o=await (0,e.$wW)(a,b.appId,b.identity),p={...b.input,project_path:n.root,...o?{workspace_id:o.workspaceId}:{}};delete p._projectId;let q="string"==typeof b.input.brain?b.input.brain:"none";if("none"!==q&&q!==l.settings.brain)throw new k.G8("provider-not-enabled");if(b.reservedCalls){let{cap:c}=await (0,h.Cv)("app");if(!(b=await (0,e.NfF)(()=>(0,e.CwE)(a,b,Math.min(c,1e3)))).reservedCalls)throw new k.G8("app-budget-exhausted")}let r={},s=j.kX[b.tool]?.includes("voice")&&l.settings.voice&&"none"!==p.voice;if(j.kX[b.tool]?.includes("voice")&&!l.settings.voice&&(p.voice="none"),"none"!==q||s){let a=await (0,f.Xg)(),b="auto"===q?a.provider:q;if("anthropic"===b||"openai"===b){let c=a.keys?.[b];if(c)r["anthropic"===b?"ANTHROPIC_API_KEY":"OPENAI_API_KEY"]=c;else if(q===b)throw new k.G8("provider-key-missing")}if(s){let b=a.keys?.elevenlabs;if(!b)throw new k.G8("voice-key-missing");r.ELEVENLABS_API_KEY=b}}let t=await (0,d.S2)(b.appId,b.appVersion),u=await (0,i.Q9)(t,{jobId:b.id,brain:q,providerEnv:r,maxBrainCalls:b.reservedCalls,signal:c}),v=!1;try{if(await (0,e.NfF)(async()=>{await (0,e.fyc)(a,b.appId,{requirements:u.guide.requirements,requirementsAt:new Date}),u.pid&&await (0,e.n5g)(a,b.id,{stage:"starting",progress:0,message:"starting: App connected",at:new Date().toISOString()},u.pid)}),["panoma_video_auto","panoma_video_render","panoma_video_review"].includes(b.tool)&&!(0,i.no)(u.guide.requirements,t.manifest.requirements.map(a=>a.id)))throw new k.G8("requirement-missing");v=!0;let f=await u.call(b.tool,p,{signal:c,timeout:d.wh[b.tool],token:b.id,onProgress:g});"string"==typeof f.project_id&&/^[a-z0-9][a-z0-9-]{0,79}$/.test(f.project_id)&&await (0,e.NfF)(()=>(0,e.YXe)(a,{appId:b.appId,identity:b.identity,rootAtCreation:n.root,workspaceId:f.project_id}));let h=(0,j.nb)(f,b.tool,p);if(h)throw new i.ge(h,f);return f}catch(c){await u.close();let a=c instanceof i.ge?c.result:void 0,b=u.spend??a?.spend??(v?void 0:{calls:0});throw new i.ge(c instanceof Error?c.message:"app-failed",{...a,...b?{spend:b}:{}})}finally{await u.close()}}async function y(a,b=A){let c=q(a);if(c.stopped)return;if(c.running)return c.running;let d=async()=>{for(;!c.stopped&&await (0,e.__u)(a);){let d=await (0,e.NfF)(()=>(0,e.jfC)(a));if(!d)break;n(),c.jobId=d.id,c.controller=new AbortController;try{await b(a,d,c.controller.signal)}catch(b){await z(a,d.id,b)}finally{c.jobId=void 0,c.controller=void 0}}};c.running=d();try{await c.running}finally{c.running=void 0}}async function z(a,b,c){try{await (0,e.NfF)(async()=>{let d=await (0,e.XTz)(a,b);d&&["running","cancelling"].includes(d.status)&&await (0,e.y4r)(a,b,d.status,"failed",{error:(c instanceof Error?c.message:"app-failed").slice(0,4e3)})})}catch{}n()}async function A(a,b,c){let f,g,h=new AbortController,l=()=>h.abort(c.reason);c.addEventListener("abort",l,{once:!0}),c.aborted&&l();let m=setTimeout(()=>h.abort(new k.G8("timeout")),d.wh[b.tool]??18e5),o=function(a){let b,c,d=Promise.resolve(),e=0;function f(){clearTimeout(c),c=void 0;let f=b;return b=void 0,f&&(e=Date.now(),d=d.then(()=>a(f))),d}return{push(a){let d=(a.message??"").slice(0,1e3);b={stage:d.split(":")[0].slice(0,60),progress:a.progress,...void 0===a.total?{}:{total:a.total},message:d,at:new Date().toISOString()},c||(c=setTimeout(()=>{f().catch(()=>{})},Math.max(0,1e3-(Date.now()-e))))},flush:f}}(async c=>{await (0,e.NfF)(()=>(0,e.n5g)(a,b.id,c)),n()});try{f=j.E3.includes(b.tool)?await w(a,b,h.signal,o.push):await x(a,b,h.signal,o.push)}catch(a){a instanceof i.ge?f=a.result:j.E3.includes(b.tool)||(f={spend:{calls:0}}),g=h.signal.aborted?String(h.signal.reason?.message??"cancelled"):a instanceof Error?a.message.slice(0,4e3):"app-failed"}finally{clearTimeout(m),c.removeEventListener("abort",l),await o.flush().catch(()=>{g??="progress-write-failed"})}await (0,e.NfF)(async()=>{let c=await (0,e.XTz)(a,b.id);if(!c||!["running","cancelling"].includes(c.status))return;await (0,e.leP)(a,b,function(a){let b=a?.spend??a?.brain;if((0,j.u4)(b)&&"number"==typeof b.calls&&Number.isSafeInteger(b.calls)&&!(b.calls<0))return{calls:Math.min(b.calls,e.q8B),provider:"string"==typeof b.provider?b.provider:"string"==typeof b.driver?b.driver:void 0,model:"string"==typeof b.model?b.model:void 0}}(f));let d=(0,k.Kl)(g).code,h="cancelling"===c.status&&"timeout"!==d&&"interrupted"!==d;await (0,e.y4r)(a,b.id,c.status,h?"cancelled":g?"failed":"done",{result:f??null,error:g??null}),g&&["install","update","browser"].includes(b.tool)&&await (0,e.fyc)(a,b.appId,{status:"failed",error:g})}),n();let p=await (0,d.pl)(b.appId).catch(()=>void 0);p&&(await (0,d.Yf)(b.appId,p),await v(a,b.appId))}async function B(a){if(process.env.DATABASE_URL)throw new k.G8("local-catalog-required");(0,d.lb)(a.appId),await s();let{db:b}=await (0,g.db)(),c=j.E3.includes(a.tool),f=await (0,e.SxX)(b,a.appId);if(!f)throw new k.G8("unknown-app");let i={},l=!1;if(c){if(Object.keys(a.input).length)throw new k.G8("unexpected-operation-input")}else{if(!f.enabled||!f.version)throw new k.G8("not-installed");if(!a.identity||a.identity.length>1e3)throw new k.G8("invalid-identity");let c=await (0,e.vfN)(b,a.identity,a.projectId);if((i={...(0,j.Sx)(a.tool,a.input)})._projectId=c.id,i.music&&!await (0,d.m0)(c.root,String(i.music)))throw new k.G8("music-outside-project");if(j.kX[a.tool]?.includes("brain")){if(void 0!==i.brain&&"none"!==i.brain&&i.brain!==f.settings.brain)throw new k.G8("provider-not-enabled");i.brain=i.brain??f.settings.brain,l="none"!==i.brain}j.kX[a.tool]?.includes("voice")&&!f.settings.voice&&(i.voice="none"),j.kX[a.tool]?.includes("voice")&&f.settings.voice&&"none"!==i.voice&&(l=!0)}let{cap:m}=await (0,h.Cv)("app"),o=await (0,e.NfF)(()=>(0,e.dsF)(b,{appId:a.appId,identity:c?"":a.identity,tool:a.tool,input:i,appVersion:f.version??"uninstalled",paid:l,cap:Math.min(m,1e3)}));return n(),y(b).catch(()=>{}),o}async function C(a){await s();let{db:b}=await (0,g.db)();await (0,e.NfF)(async()=>{let c=await (0,e.XTz)(b,a);c?.status==="pending"?(await (0,e.leP)(b,c,{calls:0}),await (0,e.y4r)(b,a,"pending","cancelled")):c?.status==="running"&&await (0,e.y4r)(b,a,"running","cancelling")}),n();let c=q(b);return c.jobId===a&&c.controller?.abort(new k.G8("cancelled")),(0,e.XTz)(b,a)}}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";exports.id=6206,exports.ids=[6206],exports.modules={86206:(a,b,c)=>{c.d(b,{Cn:()=>f,i9:()=>v,Jn:()=>g,t3:()=>i,I:()=>h,Qp:()=>w,hz:()=>r,JB:()=>m,Tl:()=>G,nN:()=>l,Wk:()=>z,nn:()=>C,Fv:()=>j,Zp:()=>y,xK:()=>s,p_:()=>x,$J:()=>o,sk:()=>k,KU:()=>B,EQ:()=>A,Ht:()=>D,Lu:()=>E,CG:()=>n,hY:()=>u,X0:()=>t,Ej:()=>F,E4:()=>H});var d=new Set(["offline","npm-not-found","node-too-old","npm-too-old","engine-unsupported","does-not-start","cancelled","timeout","stalled","process-failed","no-previous-version","not-installed","app-operation-in-progress","playwright-not-installed","browser-not-declared","malformed-requirements","incompatible-protocol","staged-update-invalid","disk-unreadable","unknown-app","no-space-left","permission-denied","read-only-disk","too-many-open-files","disk-error","command-did-not-start","broken-installation","broken-package-manifest","package-outside-installation","package-version-mismatch","manifest-id-mismatch","manifest-file-missing-or-outside","invalid-version","path-outside-home","managed-path-is-symlink","use-clean-data","invalid-brain-budget","provider-key-not-allowed","fixtures-are-test-only","fixture-registry-must-be-loopback","local-catalog-required","unknown-app-operation","app-not-enabled","provider-not-enabled","app-budget-exhausted","provider-key-missing","voice-key-missing","requirement-missing","interrupted","app-failed","invalid-identity","music-outside-project","provider-confirmation-required","unknown-setting","invalid-brain","invalid-voice","malformed-guide","protocol-mismatch","invalid-job-id","invalid-body","body-too-large","invalid-app-input","unknown-app-input","unknown-app-tool","invalid-brief_id","invalid-render_id","invalid-hook","invalid-job","invalid-document","local-url-required","job-not-found","app-job-not-found","project-not-found","ambiguous-project","app-request-failed","artifact-not-found","invalid-range","review-failed","stage-failed","no-supported-production","app-error","unexpected-operation-input","invalid-app-job-transition","invalid-app-spend-receipt"]);let e=a=>!!a&&"object"==typeof a&&!Array.isArray(a),f=new Set(["pending","running","cancelling"]),g="app:panoma-video:create-video",h=["scout","brand","brain","serve","tour","record","score","study","plan","narrate","render","review"],i=[{value:"v",ratio:"9:16",key:"apps.jobs.formatVertical",width:9,height:16},{value:"h",ratio:"16:9",key:"apps.jobs.formatHorizontal",width:16,height:9},{value:"s",ratio:"1:1",key:"apps.jobs.formatSquare",width:1,height:1}],j=a=>i.some(b=>b.value===a);function k(a){if(!a.version)return"install";if(!1===a.enabled)return"enable";if(a.ready)return"create";let b=n(a);if(b.some(a=>void 0===a.present))return"check";let c=b.find(a=>!1===a.present);return c?.id==="ffmpeg"?"ffmpeg":c?"browser":"create"}function l(a){return!1===a.enabled||"disabled"===a.status?"apps.status.disabled":"installing"===a.status?"apps.status.installing":"broken"===a.status?"apps.status.broken":"failed"===a.status?"apps.status.failed":a.stagedVersion?"apps.status.staged":a.version?a.latestVersion&&a.latestVersion!==a.version?"apps.status.update":a.ready?"apps.status.ready":"apps.status.installed":"apps.status.absent"}function m(a,b){return a.manifest?.displayName?.[b]??("panoma-video"===a.id?"panoma video":a.id)}function n(a){let b=a.requirements,c=Array.isArray(b)?b:b&&"object"==typeof b?Object.entries(b).filter(([,a])=>a&&"object"==typeof a).map(([a,b])=>({id:a,...b})):[];return(a.manifest?.requirements??[{id:"browser"},{id:"ffmpeg"}]).map(a=>({...a,...c.find(b=>b.id===a.id)}))}function o(a){return({pending:"apps.jobs.pending",running:"apps.jobs.running",cancelling:"apps.jobs.cancelling",cancelled:"apps.jobs.cancelled",failed:"apps.jobs.failed",done:"apps.jobs.done"})[a]??"apps.jobs.pending"}let p={offline:"apps.fault.offline","npm-not-found":"apps.npmMissing","node-too-old":"apps.fault.nodeTooOld","npm-too-old":"apps.fault.npmTooOld","engine-unsupported":"apps.fault.engineUnsupported","does-not-start":"apps.fault.doesNotStart",cancelled:"apps.fault.cancelled",timeout:"apps.fault.timeout",stalled:"apps.fault.stalled","process-failed":"apps.fault.processFailed","no-previous-version":"apps.fault.noPreviousVersion","not-installed":"apps.fault.notInstalled","app-operation-in-progress":"apps.fault.operationInProgress","playwright-not-installed":"apps.fault.playwrightMissing","browser-not-declared":"apps.fault.browserNotDeclared","malformed-requirements":"apps.fault.malformedRequirements","incompatible-protocol":"apps.fault.incompatibleProtocol","staged-update-invalid":"apps.fault.stagedUpdateInvalid","disk-unreadable":"apps.fault.diskUnreadable","unknown-app":"apps.fault.unknownApp","no-space-left":"apps.fault.noSpaceLeft","permission-denied":"apps.fault.permissionDenied","read-only-disk":"apps.fault.readOnlyDisk","too-many-open-files":"apps.fault.tooManyOpenFiles","disk-error":"apps.fault.diskError","command-did-not-start":"apps.fault.commandDidNotStart","broken-installation":"apps.fault.brokenPackage","broken-package-manifest":"apps.fault.brokenPackage","package-outside-installation":"apps.fault.brokenPackage","package-version-mismatch":"apps.fault.brokenPackage","manifest-id-mismatch":"apps.fault.brokenPackage","manifest-file-missing-or-outside":"apps.fault.brokenPackage","invalid-version":"apps.fault.brokenPackage","path-outside-home":"apps.fault.internal","managed-path-is-symlink":"apps.fault.internal","use-clean-data":"apps.fault.internal","invalid-brain-budget":"apps.fault.internal","provider-key-not-allowed":"apps.fault.internal","fixtures-are-test-only":"apps.fault.internal","fixture-registry-must-be-loopback":"apps.fault.internal","invalid-app-job-transition":"apps.fault.internal","invalid-app-spend-receipt":"apps.fault.internal","local-catalog-required":"apps.fault.localCatalogRequired","unknown-app-operation":"apps.fault.unknownOperation","app-not-enabled":"apps.fault.appNotEnabled","provider-not-enabled":"apps.fault.providerNotEnabled","app-budget-exhausted":"apps.fault.budgetExhausted","provider-key-missing":"apps.fault.providerKeyMissing","voice-key-missing":"apps.fault.voiceKeyMissing","requirement-missing":"apps.fault.requirementMissing",interrupted:"apps.fault.interrupted","app-failed":"apps.fault.appFailed","invalid-identity":"apps.fault.invalidIdentity","music-outside-project":"apps.fault.musicOutsideProject","provider-confirmation-required":"apps.fault.confirmationRequired","unknown-setting":"apps.fault.invalidSetting","invalid-brain":"apps.fault.invalidSetting","invalid-voice":"apps.fault.invalidSetting","malformed-guide":"apps.fault.appSpokeWrong","protocol-mismatch":"apps.fault.appSpokeWrong","invalid-job-id":"apps.fault.badRequest","invalid-body":"apps.fault.badRequest","body-too-large":"apps.fault.badRequest","invalid-app-input":"apps.fault.badRequest","unknown-app-input":"apps.fault.badRequest","unknown-app-tool":"apps.fault.badRequest","invalid-brief_id":"apps.fault.badRequest","invalid-render_id":"apps.fault.badRequest","invalid-hook":"apps.fault.badRequest","invalid-job":"apps.fault.badRequest","invalid-document":"apps.fault.badRequest","unexpected-operation-input":"apps.fault.badRequest","invalid-range":"apps.fault.badRequest","local-url-required":"apps.fault.localUrlRequired","job-not-found":"apps.fault.jobNotFound","app-job-not-found":"apps.fault.jobNotFound","project-not-found":"apps.fault.projectNotFound","ambiguous-project":"apps.fault.ambiguousProject","app-request-failed":"apps.fault.requestFailed","artifact-not-found":"apps.fault.artifactNotFound","review-failed":"apps.fault.reviewFailed","stage-failed":"apps.fault.stageFailed","no-supported-production":"apps.fault.noProduction","app-error":"apps.error"},q=new Set(["node-too-old","npm-too-old"]);function r(a){let{code:b,detail:c}=function(a){let b=a instanceof Error?a.message:"string"==typeof a?a:"",c=b.indexOf(": "),e=-1===c?b:b.slice(0,c);return d.has(e)?-1===c?{code:e}:{code:e,detail:b.slice(c+2)}:{code:null,...b?{detail:b}:{}}}(a);if(!b)return{key:"apps.error",...a?{quote:a}:{}};let e=p[b];if("stage-failed"===b&&c&&h.includes(c))return{key:"apps.fault.stageFailedAt",stage:c};if(!q.has(b))return{key:e,...c?{quote:c}:{}};let[f,g,...i]=(c??"").split(" | ");return f&&g&&!i.length?{key:e,vars:{needed:f,running:g}}:{key:"apps.fault.engineUnsupported"}}function s(a){let{progress:b,total:c}=a.progress??{};if("number"==typeof b&&"number"==typeof c&&!(c<=0))return Math.min(100,Math.max(0,Math.round(b/c*100)))}function t(a){if(!a)return[];let b=e(a.result)?a.result:void 0,c=e(b?.stages)?b.stages:void 0;if(c&&!f.has(a.status))return h.map(a=>{let b=e(c[a])?c[a]:void 0,d=b?.status,f="string"==typeof b?.summary?b.summary:void 0;return{name:a,state:"done"===d?"done":"failed"===d?"failed":"skipped"===d?"skipped":"pending",...f?{summary:f}:{}}});let d=h.indexOf(a.progress?.stage??""),g=a.progress?.message??"",i=g.startsWith(`${a.progress?.stage}: `)?g.slice((a.progress?.stage?.length??0)+2):g,j=f.has(a.status)?"current":"done"===a.status?"done":"failed";return h.map((a,b)=>({name:a,state:b<d?"done":b===d?j:"pending",...b===d&&i?{summary:i}:{}}))}function u(a){let b=e(a?.result)?a.result:void 0,c=Array.isArray(b?.skipped)?b.skipped.filter(a=>e(a)&&"string"==typeof a.goal&&"string"==typeof a.why):[],d="string"==typeof a?.input.goal?a.input.goal:"all",f=a=>"all"===d||a.goal===d||"tutorial"===d&&"facts"===a.goal;return{asked:c.filter(f),others:c.filter(a=>!f(a))}}let v={promo:"apps.jobs.promo",tutorial:"apps.jobs.tutorial",spotlight:"apps.jobs.spotlight",trailer:"apps.jobs.goalTrailer",changelog:"apps.jobs.goalChangelog",sitetour:"apps.jobs.goalSitetour",facts:"apps.jobs.tutorial"};function w(a){return a?.jobs?.find(a=>f.has(a.status)&&!a.tool.startsWith("panoma_video_"))}function x(a,b=Date.now()){if(!a.requestedAt)return;let c=Date.parse(a.requestedAt);if(Number.isNaN(c))return;let d=a.finishedAt?Date.parse(a.finishedAt):b;return Math.max(0,Math.round(((Number.isNaN(d)?b:d)-c)/1e3))}function y(a){let b=new Set;return!function a(c,d){!(d>12)&&("string"==typeof c&&/\.(?:mp4|webm|png|jpe?g|zip|json|md|srt|vtt|txt)$/i.test(c)&&(c.startsWith("/")||/^[A-Za-z]:[\\/]/.test(c))?b.add(c):Array.isArray(c)?c.forEach(b=>a(b,d+1)):c&&"object"==typeof c&&Object.values(c).forEach(b=>a(b,d+1)))}(a.result,0),[...b].map(a=>({path:a,name:a.split(/[\\/]/).pop()??a,kind:/\.(mp4|webm)$/i.test(a)?"video":/\.(png|jpe?g)$/i.test(a)?"image":"file"}))}function z(a,b){return`/api/apps/jobs/${encodeURIComponent(a)}/artifact?path=${encodeURIComponent(b)}`}function A(a){return{goal:a.goal,format:a.format,langs:[a.language],until:"preview"}}function B(a,b){let c=E([],a).brief;return c?{tool:"panoma_video_render",input:{brief_id:c,lang:b.language,format:b.format}}:{tool:"panoma_video_auto",input:{...a.input,until:"final"}}}function C(a,b){let c=E([],b).brief;return c?a.find(a=>"panoma_video_auto"===a.tool&&E([],a).brief===c):b}function D(a,b){let c=a=>"en"===a||"es"===a,d=Array.isArray(a?.input.langs)?a.input.langs.filter(c):[],e=b?.result,f=[...new Set(e?.scenes?.flatMap(a=>Object.keys(a.text).filter(b=>c(b)&&a.text[b]?.trim()))??[])].filter(c),g=d.filter(a=>!f.length||f.includes(a));return g.length?g:f.length?f:["en"]}function E(a,b){let c=b?.result,d=c?.briefs?.find(a=>"ProductPromo"===a.recipe)?.id;return{brief:d,job:d?a.find(a=>"done"===a.status&&("panoma_video_story"===a.tool||"panoma_video_revise"===a.tool)&&(!b?.requestedAt||!a.requestedAt||a.requestedAt>=b.requestedAt)&&a.result?.brief_id===d):void 0}}function F(a,b){return b?`/p/${encodeURIComponent(a)}/video`:`/apps/panoma-video?project=${encodeURIComponent(a)}`}async function G(a,b,c="POST",d){let e=await fetch(a,void 0===b?{signal:d}:{method:c,headers:{"Content-Type":"application/json"},body:JSON.stringify(b),signal:d}),f=await e.json();if(!e.ok&&(409!==e.status||"string"!=typeof f.id))throw Error("string"==typeof f.error?f.error:`HTTP ${e.status}`);return f}async function H(a,b,c,d){for(;!b.aborted;)try{let d=await G(`/api/apps/jobs/${encodeURIComponent(a)}?wait=1`,void 0,"GET",b);if(b.aborted||(c(d),!f.has(d.status)))return}catch(a){if(b.aborted)return;d(a instanceof Error?a.message:String(a)),await new Promise(a=>{let c=()=>{clearTimeout(d),b.removeEventListener("abort",c),a()},d=setTimeout(c,2e3);b.addEventListener("abort",c,{once:!0})})}}}};
|