panoma 0.1.8 → 0.9.0
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/THIRD-PARTY-NOTICES.md +109 -2546
- package/app/BUILD-INFO.json +7 -97
- package/app/apps/web/.next-bundle/BUILD_ID +1 -1
- package/app/apps/web/.next-bundle/app-build-manifest.json +663 -488
- package/app/apps/web/.next-bundle/app-path-routes-manifest.json +49 -29
- package/app/apps/web/.next-bundle/build-manifest.json +14 -14
- package/app/apps/web/.next-bundle/prerender-manifest.json +9 -9
- package/app/apps/web/.next-bundle/required-server-files.json +13 -10
- package/app/apps/web/.next-bundle/routes-manifest.json +101 -0
- package/app/apps/web/.next-bundle/server/app/(app)/agents/page.js +2 -2
- 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.js +2 -2
- 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 -0
- package/app/apps/web/.next-bundle/server/app/(app)/apps/[id]/page_client-reference-manifest.js +1 -0
- package/app/apps/web/.next-bundle/server/app/(app)/apps/page.js +2 -0
- package/app/apps/web/.next-bundle/server/app/(app)/apps/page_client-reference-manifest.js +1 -0
- package/app/apps/web/.next-bundle/server/app/(app)/bridge/page.js +2 -2
- 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.js +2 -2
- 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.js +2 -2
- 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.js +2 -2
- 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.js +2 -2
- 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 +2 -2
- 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 -0
- package/app/apps/web/.next-bundle/server/app/(app)/p/[slug]/video/page_client-reference-manifest.js +1 -0
- package/app/apps/web/.next-bundle/server/app/(app)/packages/page.js +2 -2
- 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 +2 -2
- 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.js +2 -2
- 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.js +2 -2
- 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.js +2 -2
- 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.js +2 -0
- package/app/apps/web/.next-bundle/server/app/(app)/spend/page_client-reference-manifest.js +1 -0
- package/app/apps/web/.next-bundle/server/app/(app)/twin/look/page.js +2 -2
- 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.js +2 -2
- 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.js +2 -2
- 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.js +2 -2
- 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.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.js +1 -2
- 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.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.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.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.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.js +1 -18
- 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.js +2 -2
- 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.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.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.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.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.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/apps/[id]/[operation]/route_client-reference-manifest.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/apps/[id]/credentials/route.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/apps/[id]/credentials/route_client-reference-manifest.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/apps/[id]/jobs/route.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/apps/[id]/jobs/route_client-reference-manifest.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/apps/[id]/legal/route.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/apps/[id]/legal/route_client-reference-manifest.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/apps/[id]/route.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/apps/[id]/route_client-reference-manifest.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/apps/[id]/settings/route.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/apps/[id]/settings/route_client-reference-manifest.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/apps/jobs/[jobId]/artifact/route.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/apps/jobs/[jobId]/artifact/route_client-reference-manifest.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/apps/jobs/[jobId]/cancel/route.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/apps/jobs/[jobId]/cancel/route_client-reference-manifest.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/apps/jobs/[jobId]/route.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/apps/jobs/[jobId]/route_client-reference-manifest.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/apps/route.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/apps/route_client-reference-manifest.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/assets/route.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.js +3 -3
- 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.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.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.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.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.js +2 -2
- 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.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.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.js +2 -2
- 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.js +2 -2
- 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.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.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.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.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.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.js +4 -4
- 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.js +2 -0
- package/app/apps/web/.next-bundle/server/app/api/memory/export/route_client-reference-manifest.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/north/route.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.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.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/open/all/route_client-reference-manifest.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/open/route.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.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.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.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.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.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.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.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.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.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/spend/route_client-reference-manifest.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/tasks/route.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.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.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.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.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.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.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.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/twin/episodes/learn/route_client-reference-manifest.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/twin/episodes/route.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/twin/episodes/route_client-reference-manifest.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/twin/look/route.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.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.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/twin/rehearse/route_client-reference-manifest.js +1 -0
- package/app/apps/web/.next-bundle/server/app/api/twin/score/route.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.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.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.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.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.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.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/apple-icon.png/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app/icon/[id]/route.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/icon.png/route.js +1 -1
- package/app/apps/web/.next-bundle/server/app-paths-manifest.json +49 -29
- package/app/apps/web/.next-bundle/server/chunks/1190.js +1 -0
- package/app/apps/web/.next-bundle/server/chunks/1602.js +3 -0
- package/app/apps/web/.next-bundle/server/chunks/1646.js +11 -0
- package/app/apps/web/.next-bundle/server/chunks/170.js +1 -0
- package/app/apps/web/.next-bundle/server/chunks/2256.js +14 -0
- package/app/apps/web/.next-bundle/server/chunks/2387.js +22 -0
- package/app/apps/web/.next-bundle/server/chunks/2455.js +7 -0
- package/app/apps/web/.next-bundle/server/chunks/2658.js +2 -0
- package/app/apps/web/.next-bundle/server/chunks/3088.js +16 -0
- package/app/apps/web/.next-bundle/server/chunks/314.js +1 -0
- package/app/apps/web/.next-bundle/server/chunks/3171.js +1 -0
- package/app/apps/web/.next-bundle/server/chunks/3347.js +1 -0
- package/app/apps/web/.next-bundle/server/chunks/3768.js +3 -0
- package/app/apps/web/.next-bundle/server/chunks/3834.js +1 -0
- package/app/apps/web/.next-bundle/server/chunks/4018.js +1 -0
- package/app/apps/web/.next-bundle/server/chunks/4478.js +1 -0
- package/app/apps/web/.next-bundle/server/chunks/4498.js +12 -0
- package/app/apps/web/.next-bundle/server/chunks/4528.js +2 -0
- package/app/apps/web/.next-bundle/server/chunks/4810.js +9 -0
- package/app/apps/web/.next-bundle/server/chunks/5103.js +1 -0
- package/app/apps/web/.next-bundle/server/chunks/5251.js +217 -0
- package/app/apps/web/.next-bundle/server/chunks/5741.js +1 -0
- package/app/apps/web/.next-bundle/server/chunks/5941.js +1 -0
- package/app/apps/web/.next-bundle/server/chunks/5975.js +1 -0
- package/app/apps/web/.next-bundle/server/chunks/6145.js +6 -0
- package/app/apps/web/.next-bundle/server/chunks/6693.js +7 -0
- package/app/apps/web/.next-bundle/server/chunks/6913.js +21 -0
- package/app/apps/web/.next-bundle/server/chunks/7245.js +1 -0
- package/app/apps/web/.next-bundle/server/chunks/7348.js +28 -0
- package/app/apps/web/.next-bundle/server/chunks/7581.js +1 -0
- package/app/apps/web/.next-bundle/server/chunks/7957.js +1 -0
- package/app/apps/web/.next-bundle/server/chunks/817.js +1 -0
- package/app/apps/web/.next-bundle/server/chunks/8384.js +1 -0
- package/app/apps/web/.next-bundle/server/chunks/8404.js +1 -0
- package/app/apps/web/.next-bundle/server/chunks/8463.js +1 -0
- package/app/apps/web/.next-bundle/server/chunks/8887.js +30 -0
- package/app/apps/web/.next-bundle/server/chunks/8990.js +2 -0
- package/app/apps/web/.next-bundle/server/chunks/987.js +27 -0
- package/app/apps/web/.next-bundle/server/chunks/993.js +1 -0
- package/app/apps/web/.next-bundle/server/chunks/9938.js +1 -0
- package/app/apps/web/.next-bundle/server/edge-instrumentation.js +1 -1
- package/app/apps/web/.next-bundle/server/functions-config-manifest.json +17 -8
- package/app/apps/web/.next-bundle/server/instrumentation.js +1 -1
- package/app/apps/web/.next-bundle/server/middleware-build-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/middleware-manifest.json +5 -5
- package/app/apps/web/.next-bundle/server/middleware.js +8 -11
- package/app/apps/web/.next-bundle/server/next-font-manifest.js +1 -1
- package/app/apps/web/.next-bundle/server/next-font-manifest.json +1 -1
- package/app/apps/web/.next-bundle/server/pages/500.html +1 -1
- package/app/apps/web/.next-bundle/server/pages/_app.js +1 -1
- package/app/apps/web/.next-bundle/server/pages/_document.js +1 -1
- package/app/apps/web/.next-bundle/server/pages/_error.js +3 -3
- package/app/apps/web/.next-bundle/server/server-reference-manifest.json +1 -1
- package/app/apps/web/.next-bundle/static/chunks/003adf37-35e10d79e45c4e95.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/05e62ed0-bf68b9617e57b82f.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/1369-8f6dde7e48bc4684.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/1774-59392c79c651b3a0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/2202-897aaad3cd785ea6.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/2340-11b365d374b2be7b.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/2575-62182d00e5cf3115.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/261-1c2829beaca77dc9.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/3953-4e8d5b8f11c07426.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/6823-e1004a1b90458d2d.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/7f092448-e07c21e2897ac52e.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/agents/page-28b11f831b7bc8c4.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/ai/page-8b5fe63986bf3757.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/apps/[id]/page-dc2c3a7874636c29.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/apps/page-00ec4bf42a14ac17.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/bridge/page-86a819d6d7f65cd0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/copies/page-69ee3fc638b1eecf.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/credentials/page-0c3307d9cff31e71.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/disk/page-13cd17998c4b3c05.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/error-4706c73d842251e2.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/hidden/page-55639b16ccebad95.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/layout-7f3d387ae540018d.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/p/[slug]/page-c3c3a9be458adeed.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/p/[slug]/video/page-088684f252e3d59c.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/packages/page-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/page-6cf474454fb2ea5e.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/runs/[id]/page-0f664082168a49b2.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/runs/page-69ee3fc638b1eecf.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/search/page-0c57c71f581cdf40.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/spend/page-201b626f17f11eeb.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/twin/look/page-a1f666c611d55a0c.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/twin/page-c7212909b051736c.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/unsaved/page-c545489e991b83d2.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/_not-found/page-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/accounts/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/consult/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/context/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/hello/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/journal/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/keys/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/log/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/mcp/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/notes/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/tasks/[id]/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/tasks/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/ai/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/[operation]/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/credentials/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/jobs/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/legal/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/settings/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/apps/jobs/[jobId]/artifact/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/apps/jobs/[jobId]/cancel/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/apps/jobs/[jobId]/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/apps/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/assets/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/assignments/launch/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/assignments/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/catalog/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/check/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/consultations/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/describe/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/disk/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/enrich/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/environment/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/hooks/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/ingest/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/md/apply/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/md/context/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/md/inspect/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/md/repair/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/md/review/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/memory/export/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/north/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/notes/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/open/all/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/open/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/project/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/rescan/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/roots/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/runs/[id]/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/runs/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/scale/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/search/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/secrets/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/spend/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/tasks/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/today/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/assign/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/classify/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/critique/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/design/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/distill/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/episodes/learn/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/episodes/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/look/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/mine/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/rehearse/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/score/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/shot/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/sources/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/synthesize/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/taste/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/verdicts/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/api/watch/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/global-not-found-69ee3fc638b1eecf.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/icon/[id]/route-de6e3e5d6198c075.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/app/not-found-69ee3fc638b1eecf.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/bed79bbe-48e9828a39c35383.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/framework-d5e4b15967daa90f.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/main-8ce36a8e89504138.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/main-app-a35ca295bbc2c578.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/pages/_app-9697265615ef43a0.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/pages/_error-ddfe0e0bd29e2283.js +1 -0
- package/app/apps/web/.next-bundle/static/chunks/webpack-a286bbf864e6618a.js +1 -0
- package/app/apps/web/.next-bundle/static/css/988bfb2024e770b7.css +1 -0
- package/app/apps/web/.next-bundle/static/mhsTm5XiqL98MCgDVB08u/_buildManifest.js +1 -0
- package/app/apps/web/package.json +1 -27
- package/app/apps/web/server.js +1 -1
- package/app/node_modules/@next/env/package.json +1 -1
- package/app/node_modules/@panoma/ai/dist/index.d.ts +116 -1
- package/app/node_modules/@panoma/ai/dist/index.js +142 -64
- package/app/node_modules/@panoma/apps/dist/chunk-4G5NKAON.js +147 -0
- package/app/node_modules/@panoma/apps/dist/faults.d.ts +74 -0
- package/app/node_modules/@panoma/apps/dist/faults.js +20 -0
- package/app/node_modules/@panoma/apps/dist/index.d.ts +688 -0
- package/app/node_modules/@panoma/apps/dist/index.js +889 -0
- package/app/node_modules/@panoma/apps/package.json +24 -0
- package/app/node_modules/@panoma/core/dist/index.d.ts +95 -14
- package/app/node_modules/@panoma/core/dist/index.js +495 -101
- package/app/node_modules/@panoma/db/dist/chunk-V6TJYC6N.js +1297 -0
- package/app/node_modules/@panoma/db/dist/client-B1_3MF0o.d.ts +7166 -0
- package/app/node_modules/@panoma/db/dist/client.d.ts +1 -1
- package/app/node_modules/@panoma/db/dist/client.js +1 -1
- package/app/node_modules/@panoma/db/dist/index.d.ts +627 -28
- package/app/node_modules/@panoma/db/dist/index.js +1540 -514
- package/app/node_modules/@panoma/db/migrations/0050_twin_decision_memory.sql +29 -0
- package/app/node_modules/@panoma/db/migrations/0051_twin_learning_retry.sql +1 -0
- package/app/node_modules/@panoma/db/migrations/0052_memory_experiment_enrollment.sql +1 -0
- package/app/node_modules/@panoma/db/migrations/0053_memory_distillation_jobs.sql +16 -0
- package/app/node_modules/@panoma/db/migrations/0054_decision_revision_lookup.sql +1 -0
- package/app/node_modules/@panoma/db/migrations/0055_decision_expiry.sql +1 -0
- package/app/node_modules/@panoma/db/migrations/0056_ai_summary_hash.sql +1 -0
- package/app/node_modules/@panoma/db/migrations/0057_open_plan.sql +1 -0
- package/app/node_modules/@panoma/db/migrations/0058_apps.sql +54 -0
- package/app/node_modules/@panoma/db/migrations/0059_desktop_keys.sql +15 -0
- package/app/node_modules/@panoma/db/migrations/meta/0050_snapshot.json +3556 -0
- package/app/node_modules/@panoma/db/migrations/meta/0051_snapshot.json +3562 -0
- package/app/node_modules/@panoma/db/migrations/meta/0054_snapshot.json +3696 -0
- package/app/node_modules/@panoma/db/migrations/meta/0055_snapshot.json +3702 -0
- package/app/node_modules/@panoma/db/migrations/meta/0056_snapshot.json +3708 -0
- package/app/node_modules/@panoma/db/migrations/meta/0057_snapshot.json +3714 -0
- package/app/node_modules/@panoma/db/migrations/meta/0058_snapshot.json +4084 -0
- package/app/node_modules/@panoma/db/migrations/meta/0059_snapshot.json +4084 -0
- package/app/node_modules/@panoma/db/migrations/meta/_journal.json +71 -1
- package/app/node_modules/@panoma/mcp/dist/index.js +608 -160
- package/app/node_modules/@panoma/mcp/package.json +4 -1
- package/app/node_modules/drizzle-orm/node_modules/.bin/gel +3 -3
- package/app/node_modules/next/dist/build/swc/index.js +1 -1
- package/app/node_modules/next/dist/build/webpack-config.js +2 -2
- package/app/node_modules/next/dist/client/app-bootstrap.js +1 -1
- package/app/node_modules/next/dist/client/index.js +1 -1
- package/app/node_modules/next/dist/client/legacy/image.js +8 -2
- package/app/node_modules/next/dist/compiled/next-server/app-page-experimental.runtime.prod.js +1 -1
- package/app/node_modules/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js +1 -1
- package/app/node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js +1 -1
- package/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js +1 -1
- package/app/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js +1 -1
- package/app/node_modules/next/dist/compiled/next-server/pages-turbo.runtime.prod.js +7 -7
- package/app/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js +2 -2
- package/app/node_modules/next/dist/server/dev/hot-reloader-turbopack.js +1 -1
- package/app/node_modules/next/dist/server/dev/hot-reloader-webpack.js +1 -1
- package/app/node_modules/next/dist/server/image-optimizer.d.ts +3 -1
- package/app/node_modules/next/dist/server/image-optimizer.js +65 -2
- package/app/node_modules/next/dist/server/lib/app-info-log.js +1 -1
- package/app/node_modules/next/dist/server/lib/incremental-cache/file-system-cache.js +17 -4
- package/app/node_modules/next/dist/server/lib/start-server.js +1 -1
- package/app/node_modules/next/dist/shared/lib/canary-only.js +1 -1
- package/app/node_modules/next/dist/shared/lib/get-img-props.js +8 -2
- package/app/node_modules/next/dist/shared/lib/router/utils/escape-path-delimiters.js +1 -1
- package/app/node_modules/next/dist/telemetry/anonymous-meta.js +1 -1
- package/app/node_modules/next/dist/telemetry/events/version.js +2 -2
- package/app/node_modules/next/package.json +11 -11
- package/app/node_modules/postcss/LICENSE +1 -1
- package/app/node_modules/postcss/lib/container.js +106 -51
- package/app/node_modules/postcss/lib/css-syntax-error.js +47 -14
- package/app/node_modules/postcss/lib/declaration.js +4 -4
- package/app/node_modules/postcss/lib/fromJSON.js +79 -26
- package/app/node_modules/postcss/lib/input.js +67 -33
- package/app/node_modules/postcss/lib/lazy-result.js +127 -51
- package/app/node_modules/postcss/lib/list.js +5 -2
- package/app/node_modules/postcss/lib/map-generator.js +27 -9
- package/app/node_modules/postcss/lib/no-work-result.js +57 -55
- package/app/node_modules/postcss/lib/node.js +197 -84
- package/app/node_modules/postcss/lib/parse.js +1 -1
- package/app/node_modules/postcss/lib/parser.js +49 -38
- package/app/node_modules/postcss/lib/postcss.js +13 -13
- package/app/node_modules/postcss/lib/previous-map.js +46 -12
- package/app/node_modules/postcss/lib/processor.js +7 -7
- package/app/node_modules/postcss/lib/result.js +5 -5
- package/app/node_modules/postcss/lib/root.js +16 -1
- package/app/node_modules/postcss/lib/rule.js +6 -6
- package/app/node_modules/postcss/lib/stringifier.js +148 -32
- package/app/node_modules/postcss/lib/tokenize.js +6 -2
- package/app/node_modules/postcss/lib/warning.js +10 -0
- package/app/node_modules/postcss/package.json +48 -48
- package/dist/ai-command-IRSVAWYU.js +220 -0
- package/dist/apps-FI2Q2CFP.js +17 -0
- package/dist/check-command-PPILA25M.js +103 -0
- package/dist/chunk-2MKBCYVH.js +158 -0
- package/dist/chunk-5EG7NRL4.js +8440 -0
- package/dist/chunk-AW6KPPIR.js +378 -0
- package/dist/chunk-BCHIG2AU.js +166 -0
- package/dist/chunk-DITTKJ7U.js +147 -0
- package/dist/chunk-JY7ALFNX.js +1362 -0
- package/dist/chunk-MLKGABMK.js +9 -0
- package/dist/chunk-P7ZGHSMO.js +1089 -0
- package/dist/chunk-YQOQAFTY.js +793 -0
- package/dist/dist-F5A5RVCK.js +4920 -0
- package/dist/dist-G32QKT7H.js +301 -0
- package/dist/dist-NQIOBJFO.js +78 -0
- package/dist/index.js +78 -45
- package/dist/md-command-Q4M2YBEH.js +282 -0
- package/dist/memory-command-IXVQSADX.js +65 -0
- package/dist/next-command-2PXBP5OR.js +245 -0
- package/dist/north-command-XFUNSNPH.js +281 -0
- package/dist/review-command-6AH7MVKP.js +94 -0
- package/dist/spend-command-DA36GLNI.js +135 -0
- package/dist/twin-command-HYEG2WPA.js +1375 -0
- package/dist/video-TWUW2L36.js +100 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +3 -1
- package/app/apps/web/.next-bundle/server/chunks/147.js +0 -1
- package/app/apps/web/.next-bundle/server/chunks/167.js +0 -7
- package/app/apps/web/.next-bundle/server/chunks/174.js +0 -3
- package/app/apps/web/.next-bundle/server/chunks/2643.js +0 -1
- package/app/apps/web/.next-bundle/server/chunks/2930.js +0 -1
- package/app/apps/web/.next-bundle/server/chunks/3182.js +0 -11
- package/app/apps/web/.next-bundle/server/chunks/3377.js +0 -1
- package/app/apps/web/.next-bundle/server/chunks/3440.js +0 -1
- package/app/apps/web/.next-bundle/server/chunks/3559.js +0 -1
- package/app/apps/web/.next-bundle/server/chunks/358.js +0 -27
- package/app/apps/web/.next-bundle/server/chunks/3610.js +0 -9
- package/app/apps/web/.next-bundle/server/chunks/3677.js +0 -1
- package/app/apps/web/.next-bundle/server/chunks/4289.js +0 -7
- package/app/apps/web/.next-bundle/server/chunks/4337.js +0 -1
- package/app/apps/web/.next-bundle/server/chunks/4858.js +0 -1
- package/app/apps/web/.next-bundle/server/chunks/5358.js +0 -1
- package/app/apps/web/.next-bundle/server/chunks/5611.js +0 -22
- package/app/apps/web/.next-bundle/server/chunks/6157.js +0 -21
- package/app/apps/web/.next-bundle/server/chunks/6195.js +0 -1
- package/app/apps/web/.next-bundle/server/chunks/6354.js +0 -28
- package/app/apps/web/.next-bundle/server/chunks/6462.js +0 -2
- package/app/apps/web/.next-bundle/server/chunks/6476.js +0 -1
- package/app/apps/web/.next-bundle/server/chunks/6790.js +0 -170
- package/app/apps/web/.next-bundle/server/chunks/7017.js +0 -1
- package/app/apps/web/.next-bundle/server/chunks/7276.js +0 -5
- package/app/apps/web/.next-bundle/server/chunks/7876.js +0 -1
- package/app/apps/web/.next-bundle/server/chunks/8393.js +0 -6
- package/app/apps/web/.next-bundle/server/chunks/8985.js +0 -1
- package/app/apps/web/.next-bundle/static/IoWYBo4jj6B8WTfswm-wr/_buildManifest.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/003adf37-43d6365219a6cb5d.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/05e62ed0-4f8e7c265bd81def.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/0fef27c7-cd6dbf9ae86c168d.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/1723-71c045eb0c2a8daa.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/3885-7afc74e117f41ba5.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/4517-63995539421e71bd.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/4737-b098c74f87ae6fa7.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/5465-6207528c0ac5d5d7.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/7911-1730eba8c196e698.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/7f092448-897a4dfb37859e3a.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/agents/page-349f843bcb6f4abd.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/ai/page-60083a1b6a36c928.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/bridge/page-9f270ffcd9da75ca.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/copies/page-fb206ee7ea581b0a.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/credentials/page-e87253842975daa4.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/disk/page-15cd72dc04ac7de4.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/error-7a9266f6e98936d9.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/hidden/page-4e81219b6c5aeb2a.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/layout-2ee40fbf22eee90a.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/p/[slug]/page-630a1079cd683bad.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/packages/page-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/page-bd415d39f80a6370.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/runs/[id]/page-572f84e2016be38a.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/runs/page-fb206ee7ea581b0a.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/search/page-6e94501b5e36f4b1.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/twin/look/page-8e24b1b376cbdab8.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/twin/page-4d6804060b9830ff.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/(app)/unsaved/page-d7124f7da77909ad.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/_not-found/page-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/accounts/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/consult/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/context/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/hello/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/journal/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/keys/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/log/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/mcp/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/notes/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/tasks/[id]/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/agent/tasks/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/ai/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/assets/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/assignments/launch/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/assignments/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/catalog/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/check/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/consultations/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/describe/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/disk/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/enrich/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/environment/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/hooks/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/ingest/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/md/apply/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/md/context/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/md/inspect/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/md/repair/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/md/review/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/north/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/notes/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/open/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/project/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/rescan/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/roots/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/runs/[id]/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/runs/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/scale/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/search/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/secrets/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/tasks/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/today/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/assign/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/classify/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/critique/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/design/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/distill/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/look/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/mine/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/score/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/shot/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/sources/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/synthesize/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/taste/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/twin/verdicts/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/api/watch/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/global-not-found-fb206ee7ea581b0a.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/icon/[id]/route-530c843e472daae6.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/app/not-found-fb206ee7ea581b0a.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/framework-30b145ec0f5d120f.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/main-app-59aa759bdeaa5318.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/main-b6b5e7fa4424cc5d.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/pages/_app-c69705e3978589b3.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/pages/_error-03e7b340a5b9742a.js +0 -1
- package/app/apps/web/.next-bundle/static/chunks/webpack-dfabcb423274f722.js +0 -1
- package/app/apps/web/.next-bundle/static/css/6de932bb4718a4fa.css +0 -1
- package/app/node_modules/@hono/node-server/LICENSE +0 -21
- package/app/node_modules/@hono/node-server/README.md +0 -437
- package/app/node_modules/@hono/node-server/dist/conninfo.cjs +0 -22
- package/app/node_modules/@hono/node-server/dist/conninfo.d.cts +0 -11
- package/app/node_modules/@hono/node-server/dist/conninfo.d.mts +0 -11
- package/app/node_modules/@hono/node-server/dist/conninfo.mjs +0 -20
- package/app/node_modules/@hono/node-server/dist/constants-BLSFu_RU.mjs +0 -5
- package/app/node_modules/@hono/node-server/dist/constants-BXAKTxRC.cjs +0 -11
- package/app/node_modules/@hono/node-server/dist/early-hints.cjs +0 -35
- package/app/node_modules/@hono/node-server/dist/early-hints.d.cts +0 -16
- package/app/node_modules/@hono/node-server/dist/early-hints.d.mts +0 -16
- package/app/node_modules/@hono/node-server/dist/early-hints.mjs +0 -33
- package/app/node_modules/@hono/node-server/dist/index.cjs +0 -1318
- package/app/node_modules/@hono/node-server/dist/index.d.cts +0 -101
- package/app/node_modules/@hono/node-server/dist/index.d.mts +0 -101
- package/app/node_modules/@hono/node-server/dist/index.mjs +0 -1313
- package/app/node_modules/@hono/node-server/dist/serve-static.cjs +0 -151
- package/app/node_modules/@hono/node-server/dist/serve-static.d.cts +0 -18
- package/app/node_modules/@hono/node-server/dist/serve-static.d.mts +0 -18
- package/app/node_modules/@hono/node-server/dist/serve-static.mjs +0 -150
- package/app/node_modules/@hono/node-server/dist/utils/response.cjs +0 -8
- package/app/node_modules/@hono/node-server/dist/utils/response.d.cts +0 -4
- package/app/node_modules/@hono/node-server/dist/utils/response.d.mts +0 -4
- package/app/node_modules/@hono/node-server/dist/utils/response.mjs +0 -7
- package/app/node_modules/@hono/node-server/dist/utils/stream.cjs +0 -65
- package/app/node_modules/@hono/node-server/dist/utils/stream.d.cts +0 -6
- package/app/node_modules/@hono/node-server/dist/utils/stream.d.mts +0 -6
- package/app/node_modules/@hono/node-server/dist/utils/stream.mjs +0 -64
- package/app/node_modules/@hono/node-server/package.json +0 -127
- package/app/node_modules/@modelcontextprotocol/sdk/LICENSE +0 -21
- package/app/node_modules/@modelcontextprotocol/sdk/README.md +0 -172
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth-extensions.d.ts +0 -190
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth-extensions.js +0 -299
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth.d.ts +0 -451
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/auth.js +0 -943
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/index.d.ts +0 -591
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/index.js +0 -618
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/middleware.d.ts +0 -169
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/middleware.js +0 -252
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/sse.d.ts +0 -81
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/sse.js +0 -211
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/stdio.d.ts +0 -84
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/stdio.js +0 -202
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/streamableHttp.d.ts +0 -171
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/streamableHttp.js +0 -484
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/websocket.d.ts +0 -17
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/client/websocket.js +0 -58
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/elicitationUrlExample.d.ts +0 -2
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/elicitationUrlExample.js +0 -680
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/multipleClientsParallel.d.ts +0 -2
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/multipleClientsParallel.js +0 -134
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/parallelToolCallsClient.d.ts +0 -2
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/parallelToolCallsClient.js +0 -176
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleClientCredentials.d.ts +0 -20
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleClientCredentials.js +0 -70
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleOAuthClient.d.ts +0 -3
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleOAuthClient.js +0 -397
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleOAuthClientProvider.d.ts +0 -26
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleOAuthClientProvider.js +0 -51
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleStreamableHttp.d.ts +0 -2
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleStreamableHttp.js +0 -857
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleTaskInteractiveClient.d.ts +0 -10
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/simpleTaskInteractiveClient.js +0 -157
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/ssePollingClient.d.ts +0 -2
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/ssePollingClient.js +0 -95
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/streamableHttpWithSseFallbackClient.d.ts +0 -2
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/client/streamableHttpWithSseFallbackClient.js +0 -168
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/demoInMemoryOAuthProvider.d.ts +0 -78
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/demoInMemoryOAuthProvider.js +0 -205
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/elicitationFormExample.d.ts +0 -2
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/elicitationFormExample.js +0 -460
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/elicitationUrlExample.d.ts +0 -2
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/elicitationUrlExample.js +0 -656
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/honoWebStandardStreamableHttp.d.ts +0 -10
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/honoWebStandardStreamableHttp.js +0 -85
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/jsonResponseStreamableHttp.d.ts +0 -2
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/jsonResponseStreamableHttp.js +0 -171
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/mcpServerOutputSchema.d.ts +0 -7
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/mcpServerOutputSchema.js +0 -95
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/progressExample.d.ts +0 -12
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/progressExample.js +0 -49
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleSseServer.d.ts +0 -2
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleSseServer.js +0 -168
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleStatelessStreamableHttp.d.ts +0 -2
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleStatelessStreamableHttp.js +0 -166
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleStreamableHttp.d.ts +0 -2
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleStreamableHttp.js +0 -750
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleTaskInteractive.d.ts +0 -12
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/simpleTaskInteractive.js +0 -600
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/sseAndStreamableHttpCompatibleServer.d.ts +0 -2
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/sseAndStreamableHttpCompatibleServer.js +0 -256
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/ssePollingExample.d.ts +0 -2
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/ssePollingExample.js +0 -107
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/standaloneSseWithGetStreamableHttp.d.ts +0 -2
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/standaloneSseWithGetStreamableHttp.js +0 -124
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/toolWithSampleServer.d.ts +0 -2
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/server/toolWithSampleServer.js +0 -73
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/shared/inMemoryEventStore.d.ts +0 -31
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/examples/shared/inMemoryEventStore.js +0 -69
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/index.d.ts +0 -13
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/index.js +0 -29
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/client.d.ts +0 -121
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/client.js +0 -188
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/helpers.d.ts +0 -47
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/helpers.js +0 -68
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/index.d.ts +0 -16
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/index.js +0 -39
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/interfaces.d.ts +0 -232
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/interfaces.js +0 -19
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/mcp-server.d.ts +0 -77
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/mcp-server.js +0 -36
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/server.d.ts +0 -170
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/server.js +0 -250
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/stores/in-memory.d.ts +0 -94
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/stores/in-memory.js +0 -251
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/types.d.ts +0 -10
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/experimental/tasks/types.js +0 -28
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/inMemory.d.ts +0 -31
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/inMemory.js +0 -51
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/package.json +0 -1
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/clients.d.ts +0 -19
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/clients.js +0 -3
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/errors.d.ts +0 -148
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/errors.js +0 -202
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/authorize.d.ts +0 -24
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/authorize.js +0 -201
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/metadata.d.ts +0 -4
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/metadata.js +0 -21
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/register.d.ts +0 -29
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/register.js +0 -77
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/revoke.d.ts +0 -13
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/revoke.js +0 -65
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/token.d.ts +0 -13
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/handlers/token.js +0 -136
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/allowedMethods.d.ts +0 -9
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/allowedMethods.js +0 -21
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/bearerAuth.d.ts +0 -35
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/bearerAuth.js +0 -75
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/clientAuth.d.ts +0 -19
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/middleware/clientAuth.js +0 -71
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/provider.d.ts +0 -68
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/provider.js +0 -3
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/providers/proxyProvider.d.ts +0 -49
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/providers/proxyProvider.js +0 -159
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/router.d.ts +0 -101
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/router.js +0 -128
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/types.d.ts +0 -32
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/auth/types.js +0 -3
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/completable.d.ts +0 -38
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/completable.js +0 -48
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/express.d.ts +0 -45
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/express.js +0 -56
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/index.d.ts +0 -196
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/index.js +0 -433
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/mcp.d.ts +0 -364
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/mcp.js +0 -922
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/middleware/hostHeaderValidation.d.ts +0 -32
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/middleware/hostHeaderValidation.js +0 -80
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/sse.d.ts +0 -82
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/sse.js +0 -172
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/sseKeepAlive.d.ts +0 -5
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/sseKeepAlive.js +0 -17
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/stdio.d.ts +0 -36
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/stdio.js +0 -88
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/streamableHttp.d.ts +0 -122
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/streamableHttp.js +0 -165
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/webStandardStreamableHttp.d.ts +0 -289
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/webStandardStreamableHttp.js +0 -953
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-compat.d.ts +0 -84
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-compat.js +0 -263
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-json-schema-compat.d.ts +0 -12
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/zod-json-schema-compat.js +0 -79
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth-utils.d.ts +0 -23
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth-utils.js +0 -48
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth.d.ts +0 -240
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/auth.js +0 -224
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/mediaType.d.ts +0 -32
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/mediaType.js +0 -64
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/metadataUtils.d.ts +0 -16
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/metadataUtils.js +0 -25
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/protocol.d.ts +0 -443
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/protocol.js +0 -1112
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/responseMessage.d.ts +0 -45
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/responseMessage.js +0 -23
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/stdio.d.ts +0 -18
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/stdio.js +0 -46
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/toolNameValidation.d.ts +0 -31
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/toolNameValidation.js +0 -97
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/transport.d.ts +0 -89
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/transport.js +0 -43
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/uriTemplate.d.ts +0 -25
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/uriTemplate.js +0 -243
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/spec.types.d.ts +0 -2311
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/spec.types.js +0 -27
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/types.d.ts +0 -8168
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/types.js +0 -2105
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/ajv-provider.d.ts +0 -53
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/ajv-provider.js +0 -94
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/cfworker-provider.d.ts +0 -51
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/cfworker-provider.js +0 -69
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/index.d.ts +0 -29
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/index.js +0 -30
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/types.d.ts +0 -65
- package/app/node_modules/@modelcontextprotocol/sdk/dist/cjs/validation/types.js +0 -3
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth-extensions.d.ts +0 -190
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth-extensions.js +0 -269
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth.d.ts +0 -451
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth.js +0 -918
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/client/index.d.ts +0 -591
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/client/index.js +0 -613
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/client/middleware.d.ts +0 -169
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/client/middleware.js +0 -245
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/client/sse.d.ts +0 -81
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/client/sse.js +0 -206
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/client/stdio.d.ts +0 -84
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/client/stdio.js +0 -194
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/client/streamableHttp.d.ts +0 -171
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/client/streamableHttp.js +0 -479
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/client/websocket.d.ts +0 -17
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/client/websocket.js +0 -54
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/elicitationUrlExample.d.ts +0 -2
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/elicitationUrlExample.js +0 -678
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/multipleClientsParallel.d.ts +0 -2
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/multipleClientsParallel.js +0 -132
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/parallelToolCallsClient.d.ts +0 -2
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/parallelToolCallsClient.js +0 -174
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleClientCredentials.d.ts +0 -20
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleClientCredentials.js +0 -68
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleOAuthClient.d.ts +0 -3
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleOAuthClient.js +0 -395
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleOAuthClientProvider.d.ts +0 -26
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleOAuthClientProvider.js +0 -47
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleStreamableHttp.d.ts +0 -2
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleStreamableHttp.js +0 -855
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleTaskInteractiveClient.d.ts +0 -10
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/simpleTaskInteractiveClient.js +0 -155
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/ssePollingClient.d.ts +0 -2
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/ssePollingClient.js +0 -93
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/streamableHttpWithSseFallbackClient.d.ts +0 -2
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/client/streamableHttpWithSseFallbackClient.js +0 -166
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/demoInMemoryOAuthProvider.d.ts +0 -78
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/demoInMemoryOAuthProvider.js +0 -196
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/elicitationFormExample.d.ts +0 -2
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/elicitationFormExample.js +0 -458
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/elicitationUrlExample.d.ts +0 -2
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/elicitationUrlExample.js +0 -651
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/honoWebStandardStreamableHttp.d.ts +0 -10
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/honoWebStandardStreamableHttp.js +0 -60
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/jsonResponseStreamableHttp.d.ts +0 -2
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/jsonResponseStreamableHttp.js +0 -146
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/mcpServerOutputSchema.d.ts +0 -7
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/mcpServerOutputSchema.js +0 -70
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/progressExample.d.ts +0 -12
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/progressExample.js +0 -47
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleSseServer.d.ts +0 -2
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleSseServer.js +0 -143
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleStatelessStreamableHttp.d.ts +0 -2
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleStatelessStreamableHttp.js +0 -141
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleStreamableHttp.d.ts +0 -2
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleStreamableHttp.js +0 -725
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleTaskInteractive.d.ts +0 -12
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/simpleTaskInteractive.js +0 -598
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/sseAndStreamableHttpCompatibleServer.d.ts +0 -2
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/sseAndStreamableHttpCompatibleServer.js +0 -231
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/ssePollingExample.d.ts +0 -2
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/ssePollingExample.js +0 -102
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/standaloneSseWithGetStreamableHttp.d.ts +0 -2
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/standaloneSseWithGetStreamableHttp.js +0 -122
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/toolWithSampleServer.d.ts +0 -2
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/server/toolWithSampleServer.js +0 -48
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/shared/inMemoryEventStore.d.ts +0 -31
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/examples/shared/inMemoryEventStore.js +0 -65
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/index.d.ts +0 -13
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/index.js +0 -13
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/client.d.ts +0 -121
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/client.js +0 -184
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.d.ts +0 -47
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js +0 -64
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/index.d.ts +0 -16
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/index.js +0 -20
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.d.ts +0 -232
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js +0 -16
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.d.ts +0 -77
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js +0 -32
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.d.ts +0 -170
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js +0 -246
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/stores/in-memory.d.ts +0 -94
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/stores/in-memory.js +0 -246
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/types.d.ts +0 -10
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/types.js +0 -10
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/inMemory.d.ts +0 -31
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/inMemory.js +0 -47
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/package.json +0 -1
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/clients.d.ts +0 -19
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/clients.js +0 -2
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/errors.d.ts +0 -148
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/errors.js +0 -180
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/authorize.d.ts +0 -24
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/authorize.js +0 -171
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/metadata.d.ts +0 -4
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/metadata.js +0 -15
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/register.d.ts +0 -29
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/register.js +0 -71
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/revoke.d.ts +0 -13
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/revoke.js +0 -59
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/token.d.ts +0 -13
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/handlers/token.js +0 -107
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/allowedMethods.d.ts +0 -9
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/allowedMethods.js +0 -18
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/bearerAuth.d.ts +0 -35
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/bearerAuth.js +0 -72
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/clientAuth.d.ts +0 -19
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/middleware/clientAuth.js +0 -45
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/provider.d.ts +0 -68
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/provider.js +0 -2
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/providers/proxyProvider.d.ts +0 -49
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/providers/proxyProvider.js +0 -155
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/router.d.ts +0 -101
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/router.js +0 -118
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/types.d.ts +0 -32
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/types.js +0 -2
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.d.ts +0 -38
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js +0 -41
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/express.d.ts +0 -45
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/express.js +0 -50
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.d.ts +0 -196
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js +0 -429
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.d.ts +0 -364
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js +0 -917
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/middleware/hostHeaderValidation.d.ts +0 -32
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/middleware/hostHeaderValidation.js +0 -76
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/sse.d.ts +0 -82
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/sse.js +0 -165
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/sseKeepAlive.d.ts +0 -5
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/sseKeepAlive.js +0 -13
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.d.ts +0 -36
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js +0 -81
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/streamableHttp.d.ts +0 -122
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/streamableHttp.js +0 -161
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.d.ts +0 -289
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.js +0 -949
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.d.ts +0 -84
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js +0 -228
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.d.ts +0 -12
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js +0 -51
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth-utils.d.ts +0 -23
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth-utils.js +0 -44
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth.d.ts +0 -240
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth.js +0 -198
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/mediaType.d.ts +0 -32
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/mediaType.js +0 -57
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/metadataUtils.d.ts +0 -16
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/metadataUtils.js +0 -22
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.d.ts +0 -443
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js +0 -1107
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/responseMessage.d.ts +0 -45
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/responseMessage.js +0 -19
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.d.ts +0 -18
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js +0 -40
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.d.ts +0 -31
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js +0 -92
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/transport.d.ts +0 -89
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/transport.js +0 -39
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/uriTemplate.d.ts +0 -25
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/uriTemplate.js +0 -239
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/spec.types.d.ts +0 -2311
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/spec.types.js +0 -24
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/types.d.ts +0 -8168
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js +0 -2065
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.d.ts +0 -53
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js +0 -87
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/cfworker-provider.d.ts +0 -51
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/cfworker-provider.js +0 -65
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/index.d.ts +0 -29
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/index.js +0 -29
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/types.d.ts +0 -65
- package/app/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/types.js +0 -2
- package/app/node_modules/@modelcontextprotocol/sdk/package.json +0 -165
- package/app/node_modules/@panoma/db/dist/chunk-GRGC435V.js +0 -1134
- package/app/node_modules/@panoma/db/dist/client-C6AHYVoa.d.ts +0 -5811
- package/app/node_modules/accepts/HISTORY.md +0 -250
- package/app/node_modules/accepts/LICENSE +0 -23
- package/app/node_modules/accepts/README.md +0 -140
- package/app/node_modules/accepts/index.js +0 -238
- package/app/node_modules/accepts/package.json +0 -47
- package/app/node_modules/ajv/.runkit_example.js +0 -23
- package/app/node_modules/ajv/LICENSE +0 -22
- package/app/node_modules/ajv/README.md +0 -207
- package/app/node_modules/ajv/dist/2019.d.ts +0 -19
- package/app/node_modules/ajv/dist/2019.js +0 -61
- package/app/node_modules/ajv/dist/2020.d.ts +0 -19
- package/app/node_modules/ajv/dist/2020.js +0 -55
- package/app/node_modules/ajv/dist/ajv.d.ts +0 -18
- package/app/node_modules/ajv/dist/ajv.js +0 -50
- package/app/node_modules/ajv/dist/compile/codegen/code.d.ts +0 -40
- package/app/node_modules/ajv/dist/compile/codegen/code.js +0 -156
- package/app/node_modules/ajv/dist/compile/codegen/index.d.ts +0 -79
- package/app/node_modules/ajv/dist/compile/codegen/index.js +0 -697
- package/app/node_modules/ajv/dist/compile/codegen/scope.d.ts +0 -79
- package/app/node_modules/ajv/dist/compile/codegen/scope.js +0 -143
- package/app/node_modules/ajv/dist/compile/errors.d.ts +0 -13
- package/app/node_modules/ajv/dist/compile/errors.js +0 -123
- package/app/node_modules/ajv/dist/compile/index.d.ts +0 -80
- package/app/node_modules/ajv/dist/compile/index.js +0 -242
- package/app/node_modules/ajv/dist/compile/jtd/parse.d.ts +0 -4
- package/app/node_modules/ajv/dist/compile/jtd/parse.js +0 -350
- package/app/node_modules/ajv/dist/compile/jtd/serialize.d.ts +0 -4
- package/app/node_modules/ajv/dist/compile/jtd/serialize.js +0 -236
- package/app/node_modules/ajv/dist/compile/jtd/types.d.ts +0 -6
- package/app/node_modules/ajv/dist/compile/jtd/types.js +0 -14
- package/app/node_modules/ajv/dist/compile/names.d.ts +0 -20
- package/app/node_modules/ajv/dist/compile/names.js +0 -28
- package/app/node_modules/ajv/dist/compile/ref_error.d.ts +0 -6
- package/app/node_modules/ajv/dist/compile/ref_error.js +0 -12
- package/app/node_modules/ajv/dist/compile/resolve.d.ts +0 -12
- package/app/node_modules/ajv/dist/compile/resolve.js +0 -155
- package/app/node_modules/ajv/dist/compile/rules.d.ts +0 -28
- package/app/node_modules/ajv/dist/compile/rules.js +0 -26
- package/app/node_modules/ajv/dist/compile/util.d.ts +0 -40
- package/app/node_modules/ajv/dist/compile/util.js +0 -178
- package/app/node_modules/ajv/dist/compile/validate/applicability.d.ts +0 -6
- package/app/node_modules/ajv/dist/compile/validate/applicability.js +0 -19
- package/app/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +0 -4
- package/app/node_modules/ajv/dist/compile/validate/boolSchema.js +0 -50
- package/app/node_modules/ajv/dist/compile/validate/dataType.d.ts +0 -17
- package/app/node_modules/ajv/dist/compile/validate/dataType.js +0 -203
- package/app/node_modules/ajv/dist/compile/validate/defaults.d.ts +0 -2
- package/app/node_modules/ajv/dist/compile/validate/defaults.js +0 -35
- package/app/node_modules/ajv/dist/compile/validate/index.d.ts +0 -42
- package/app/node_modules/ajv/dist/compile/validate/index.js +0 -520
- package/app/node_modules/ajv/dist/compile/validate/keyword.d.ts +0 -8
- package/app/node_modules/ajv/dist/compile/validate/keyword.js +0 -124
- package/app/node_modules/ajv/dist/compile/validate/subschema.d.ts +0 -47
- package/app/node_modules/ajv/dist/compile/validate/subschema.js +0 -81
- package/app/node_modules/ajv/dist/core.d.ts +0 -174
- package/app/node_modules/ajv/dist/core.js +0 -618
- package/app/node_modules/ajv/dist/jtd.d.ts +0 -47
- package/app/node_modules/ajv/dist/jtd.js +0 -72
- package/app/node_modules/ajv/dist/refs/data.json +0 -13
- package/app/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +0 -2
- package/app/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +0 -28
- package/app/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +0 -53
- package/app/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +0 -17
- package/app/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +0 -57
- package/app/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +0 -14
- package/app/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +0 -37
- package/app/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +0 -90
- package/app/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +0 -39
- package/app/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +0 -2
- package/app/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +0 -30
- package/app/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +0 -48
- package/app/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +0 -17
- package/app/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +0 -51
- package/app/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +0 -14
- package/app/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +0 -37
- package/app/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +0 -15
- package/app/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +0 -90
- package/app/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +0 -55
- package/app/node_modules/ajv/dist/refs/json-schema-draft-06.json +0 -137
- package/app/node_modules/ajv/dist/refs/json-schema-draft-07.json +0 -151
- package/app/node_modules/ajv/dist/refs/json-schema-secure.json +0 -88
- package/app/node_modules/ajv/dist/refs/jtd-schema.d.ts +0 -3
- package/app/node_modules/ajv/dist/refs/jtd-schema.js +0 -118
- package/app/node_modules/ajv/dist/runtime/equal.d.ts +0 -6
- package/app/node_modules/ajv/dist/runtime/equal.js +0 -7
- package/app/node_modules/ajv/dist/runtime/parseJson.d.ts +0 -18
- package/app/node_modules/ajv/dist/runtime/parseJson.js +0 -185
- package/app/node_modules/ajv/dist/runtime/quote.d.ts +0 -5
- package/app/node_modules/ajv/dist/runtime/quote.js +0 -30
- package/app/node_modules/ajv/dist/runtime/re2.d.ts +0 -6
- package/app/node_modules/ajv/dist/runtime/re2.js +0 -6
- package/app/node_modules/ajv/dist/runtime/timestamp.d.ts +0 -5
- package/app/node_modules/ajv/dist/runtime/timestamp.js +0 -42
- package/app/node_modules/ajv/dist/runtime/ucs2length.d.ts +0 -5
- package/app/node_modules/ajv/dist/runtime/ucs2length.js +0 -24
- package/app/node_modules/ajv/dist/runtime/uri.d.ts +0 -6
- package/app/node_modules/ajv/dist/runtime/uri.js +0 -6
- package/app/node_modules/ajv/dist/runtime/validation_error.d.ts +0 -7
- package/app/node_modules/ajv/dist/runtime/validation_error.js +0 -11
- package/app/node_modules/ajv/dist/standalone/index.d.ts +0 -6
- package/app/node_modules/ajv/dist/standalone/index.js +0 -90
- package/app/node_modules/ajv/dist/standalone/instance.d.ts +0 -12
- package/app/node_modules/ajv/dist/standalone/instance.js +0 -35
- package/app/node_modules/ajv/dist/types/index.d.ts +0 -183
- package/app/node_modules/ajv/dist/types/index.js +0 -3
- package/app/node_modules/ajv/dist/types/json-schema.d.ts +0 -125
- package/app/node_modules/ajv/dist/types/json-schema.js +0 -3
- package/app/node_modules/ajv/dist/types/jtd-schema.d.ts +0 -174
- package/app/node_modules/ajv/dist/types/jtd-schema.js +0 -3
- package/app/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +0 -8
- package/app/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +0 -49
- package/app/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +0 -6
- package/app/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +0 -106
- package/app/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +0 -3
- package/app/node_modules/ajv/dist/vocabularies/applicator/allOf.js +0 -23
- package/app/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +0 -4
- package/app/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +0 -12
- package/app/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +0 -7
- package/app/node_modules/ajv/dist/vocabularies/applicator/contains.js +0 -95
- package/app/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +0 -21
- package/app/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +0 -85
- package/app/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +0 -3
- package/app/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +0 -11
- package/app/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +0 -6
- package/app/node_modules/ajv/dist/vocabularies/applicator/if.js +0 -66
- package/app/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +0 -13
- package/app/node_modules/ajv/dist/vocabularies/applicator/index.js +0 -44
- package/app/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +0 -5
- package/app/node_modules/ajv/dist/vocabularies/applicator/items.js +0 -52
- package/app/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +0 -6
- package/app/node_modules/ajv/dist/vocabularies/applicator/items2020.js +0 -30
- package/app/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +0 -4
- package/app/node_modules/ajv/dist/vocabularies/applicator/not.js +0 -26
- package/app/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +0 -6
- package/app/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +0 -60
- package/app/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +0 -3
- package/app/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +0 -75
- package/app/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +0 -3
- package/app/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +0 -12
- package/app/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +0 -3
- package/app/node_modules/ajv/dist/vocabularies/applicator/properties.js +0 -54
- package/app/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +0 -6
- package/app/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +0 -38
- package/app/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +0 -3
- package/app/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +0 -13
- package/app/node_modules/ajv/dist/vocabularies/code.d.ts +0 -17
- package/app/node_modules/ajv/dist/vocabularies/code.js +0 -131
- package/app/node_modules/ajv/dist/vocabularies/core/id.d.ts +0 -3
- package/app/node_modules/ajv/dist/vocabularies/core/id.js +0 -10
- package/app/node_modules/ajv/dist/vocabularies/core/index.d.ts +0 -3
- package/app/node_modules/ajv/dist/vocabularies/core/index.js +0 -16
- package/app/node_modules/ajv/dist/vocabularies/core/ref.d.ts +0 -8
- package/app/node_modules/ajv/dist/vocabularies/core/ref.js +0 -122
- package/app/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +0 -5
- package/app/node_modules/ajv/dist/vocabularies/discriminator/index.js +0 -104
- package/app/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +0 -10
- package/app/node_modules/ajv/dist/vocabularies/discriminator/types.js +0 -9
- package/app/node_modules/ajv/dist/vocabularies/draft2020.d.ts +0 -3
- package/app/node_modules/ajv/dist/vocabularies/draft2020.js +0 -23
- package/app/node_modules/ajv/dist/vocabularies/draft7.d.ts +0 -3
- package/app/node_modules/ajv/dist/vocabularies/draft7.js +0 -17
- package/app/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +0 -5
- package/app/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +0 -30
- package/app/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +0 -5
- package/app/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +0 -51
- package/app/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +0 -3
- package/app/node_modules/ajv/dist/vocabularies/dynamic/index.js +0 -9
- package/app/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +0 -3
- package/app/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +0 -16
- package/app/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +0 -3
- package/app/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +0 -10
- package/app/node_modules/ajv/dist/vocabularies/errors.d.ts +0 -9
- package/app/node_modules/ajv/dist/vocabularies/errors.js +0 -3
- package/app/node_modules/ajv/dist/vocabularies/format/format.d.ts +0 -8
- package/app/node_modules/ajv/dist/vocabularies/format/format.js +0 -92
- package/app/node_modules/ajv/dist/vocabularies/format/index.d.ts +0 -3
- package/app/node_modules/ajv/dist/vocabularies/format/index.js +0 -6
- package/app/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +0 -6
- package/app/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +0 -71
- package/app/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +0 -5
- package/app/node_modules/ajv/dist/vocabularies/jtd/elements.js +0 -24
- package/app/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +0 -6
- package/app/node_modules/ajv/dist/vocabularies/jtd/enum.js +0 -43
- package/app/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +0 -9
- package/app/node_modules/ajv/dist/vocabularies/jtd/error.js +0 -20
- package/app/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +0 -10
- package/app/node_modules/ajv/dist/vocabularies/jtd/index.js +0 -29
- package/app/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +0 -5
- package/app/node_modules/ajv/dist/vocabularies/jtd/metadata.js +0 -25
- package/app/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +0 -4
- package/app/node_modules/ajv/dist/vocabularies/jtd/nullable.js +0 -22
- package/app/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +0 -3
- package/app/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +0 -15
- package/app/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +0 -22
- package/app/node_modules/ajv/dist/vocabularies/jtd/properties.js +0 -149
- package/app/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +0 -4
- package/app/node_modules/ajv/dist/vocabularies/jtd/ref.js +0 -67
- package/app/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +0 -10
- package/app/node_modules/ajv/dist/vocabularies/jtd/type.js +0 -69
- package/app/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +0 -3
- package/app/node_modules/ajv/dist/vocabularies/jtd/union.js +0 -12
- package/app/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +0 -5
- package/app/node_modules/ajv/dist/vocabularies/jtd/values.js +0 -51
- package/app/node_modules/ajv/dist/vocabularies/metadata.d.ts +0 -3
- package/app/node_modules/ajv/dist/vocabularies/metadata.js +0 -18
- package/app/node_modules/ajv/dist/vocabularies/next.d.ts +0 -3
- package/app/node_modules/ajv/dist/vocabularies/next.js +0 -8
- package/app/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +0 -3
- package/app/node_modules/ajv/dist/vocabularies/unevaluated/index.js +0 -7
- package/app/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +0 -6
- package/app/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +0 -40
- package/app/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +0 -6
- package/app/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +0 -65
- package/app/node_modules/ajv/dist/vocabularies/validation/const.d.ts +0 -6
- package/app/node_modules/ajv/dist/vocabularies/validation/const.js +0 -25
- package/app/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +0 -5
- package/app/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +0 -12
- package/app/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +0 -8
- package/app/node_modules/ajv/dist/vocabularies/validation/enum.js +0 -48
- package/app/node_modules/ajv/dist/vocabularies/validation/index.d.ts +0 -16
- package/app/node_modules/ajv/dist/vocabularies/validation/index.js +0 -33
- package/app/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +0 -3
- package/app/node_modules/ajv/dist/vocabularies/validation/limitContains.js +0 -15
- package/app/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +0 -3
- package/app/node_modules/ajv/dist/vocabularies/validation/limitItems.js +0 -24
- package/app/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +0 -3
- package/app/node_modules/ajv/dist/vocabularies/validation/limitLength.js +0 -27
- package/app/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +0 -11
- package/app/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +0 -27
- package/app/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +0 -3
- package/app/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +0 -24
- package/app/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +0 -8
- package/app/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +0 -26
- package/app/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +0 -8
- package/app/node_modules/ajv/dist/vocabularies/validation/pattern.js +0 -33
- package/app/node_modules/ajv/dist/vocabularies/validation/required.d.ts +0 -8
- package/app/node_modules/ajv/dist/vocabularies/validation/required.js +0 -79
- package/app/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +0 -9
- package/app/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +0 -64
- package/app/node_modules/ajv/lib/2019.ts +0 -81
- package/app/node_modules/ajv/lib/2020.ts +0 -75
- package/app/node_modules/ajv/lib/ajv.ts +0 -70
- package/app/node_modules/ajv/lib/compile/codegen/code.ts +0 -169
- package/app/node_modules/ajv/lib/compile/codegen/index.ts +0 -852
- package/app/node_modules/ajv/lib/compile/codegen/scope.ts +0 -215
- package/app/node_modules/ajv/lib/compile/errors.ts +0 -184
- package/app/node_modules/ajv/lib/compile/index.ts +0 -324
- package/app/node_modules/ajv/lib/compile/jtd/parse.ts +0 -411
- package/app/node_modules/ajv/lib/compile/jtd/serialize.ts +0 -277
- package/app/node_modules/ajv/lib/compile/jtd/types.ts +0 -16
- package/app/node_modules/ajv/lib/compile/names.ts +0 -27
- package/app/node_modules/ajv/lib/compile/ref_error.ts +0 -13
- package/app/node_modules/ajv/lib/compile/resolve.ts +0 -149
- package/app/node_modules/ajv/lib/compile/rules.ts +0 -50
- package/app/node_modules/ajv/lib/compile/util.ts +0 -213
- package/app/node_modules/ajv/lib/compile/validate/applicability.ts +0 -22
- package/app/node_modules/ajv/lib/compile/validate/boolSchema.ts +0 -47
- package/app/node_modules/ajv/lib/compile/validate/dataType.ts +0 -230
- package/app/node_modules/ajv/lib/compile/validate/defaults.ts +0 -32
- package/app/node_modules/ajv/lib/compile/validate/index.ts +0 -582
- package/app/node_modules/ajv/lib/compile/validate/keyword.ts +0 -171
- package/app/node_modules/ajv/lib/compile/validate/subschema.ts +0 -135
- package/app/node_modules/ajv/lib/core.ts +0 -892
- package/app/node_modules/ajv/lib/jtd.ts +0 -132
- package/app/node_modules/ajv/lib/refs/data.json +0 -13
- package/app/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +0 -28
- package/app/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +0 -53
- package/app/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +0 -17
- package/app/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +0 -57
- package/app/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +0 -14
- package/app/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +0 -37
- package/app/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +0 -90
- package/app/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +0 -39
- package/app/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +0 -30
- package/app/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +0 -48
- package/app/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +0 -17
- package/app/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +0 -51
- package/app/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +0 -14
- package/app/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +0 -37
- package/app/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +0 -15
- package/app/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +0 -90
- package/app/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +0 -55
- package/app/node_modules/ajv/lib/refs/json-schema-draft-06.json +0 -137
- package/app/node_modules/ajv/lib/refs/json-schema-draft-07.json +0 -151
- package/app/node_modules/ajv/lib/refs/json-schema-secure.json +0 -88
- package/app/node_modules/ajv/lib/refs/jtd-schema.ts +0 -130
- package/app/node_modules/ajv/lib/runtime/equal.ts +0 -7
- package/app/node_modules/ajv/lib/runtime/parseJson.ts +0 -177
- package/app/node_modules/ajv/lib/runtime/quote.ts +0 -31
- package/app/node_modules/ajv/lib/runtime/re2.ts +0 -6
- package/app/node_modules/ajv/lib/runtime/timestamp.ts +0 -46
- package/app/node_modules/ajv/lib/runtime/ucs2length.ts +0 -20
- package/app/node_modules/ajv/lib/runtime/uri.ts +0 -6
- package/app/node_modules/ajv/lib/runtime/validation_error.ts +0 -13
- package/app/node_modules/ajv/lib/standalone/index.ts +0 -100
- package/app/node_modules/ajv/lib/standalone/instance.ts +0 -36
- package/app/node_modules/ajv/lib/types/index.ts +0 -244
- package/app/node_modules/ajv/lib/types/json-schema.ts +0 -187
- package/app/node_modules/ajv/lib/types/jtd-schema.ts +0 -273
- package/app/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +0 -56
- package/app/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +0 -118
- package/app/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +0 -22
- package/app/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +0 -14
- package/app/node_modules/ajv/lib/vocabularies/applicator/contains.ts +0 -109
- package/app/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +0 -112
- package/app/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +0 -11
- package/app/node_modules/ajv/lib/vocabularies/applicator/if.ts +0 -80
- package/app/node_modules/ajv/lib/vocabularies/applicator/index.ts +0 -53
- package/app/node_modules/ajv/lib/vocabularies/applicator/items.ts +0 -59
- package/app/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +0 -36
- package/app/node_modules/ajv/lib/vocabularies/applicator/not.ts +0 -38
- package/app/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +0 -82
- package/app/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +0 -91
- package/app/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +0 -12
- package/app/node_modules/ajv/lib/vocabularies/applicator/properties.ts +0 -57
- package/app/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +0 -50
- package/app/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +0 -13
- package/app/node_modules/ajv/lib/vocabularies/code.ts +0 -168
- package/app/node_modules/ajv/lib/vocabularies/core/id.ts +0 -10
- package/app/node_modules/ajv/lib/vocabularies/core/index.ts +0 -16
- package/app/node_modules/ajv/lib/vocabularies/core/ref.ts +0 -129
- package/app/node_modules/ajv/lib/vocabularies/discriminator/index.ts +0 -113
- package/app/node_modules/ajv/lib/vocabularies/discriminator/types.ts +0 -12
- package/app/node_modules/ajv/lib/vocabularies/draft2020.ts +0 -23
- package/app/node_modules/ajv/lib/vocabularies/draft7.ts +0 -17
- package/app/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +0 -31
- package/app/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +0 -51
- package/app/node_modules/ajv/lib/vocabularies/dynamic/index.ts +0 -9
- package/app/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +0 -14
- package/app/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +0 -10
- package/app/node_modules/ajv/lib/vocabularies/errors.ts +0 -18
- package/app/node_modules/ajv/lib/vocabularies/format/format.ts +0 -120
- package/app/node_modules/ajv/lib/vocabularies/format/index.ts +0 -6
- package/app/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +0 -89
- package/app/node_modules/ajv/lib/vocabularies/jtd/elements.ts +0 -32
- package/app/node_modules/ajv/lib/vocabularies/jtd/enum.ts +0 -45
- package/app/node_modules/ajv/lib/vocabularies/jtd/error.ts +0 -23
- package/app/node_modules/ajv/lib/vocabularies/jtd/index.ts +0 -37
- package/app/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +0 -24
- package/app/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +0 -21
- package/app/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +0 -15
- package/app/node_modules/ajv/lib/vocabularies/jtd/properties.ts +0 -184
- package/app/node_modules/ajv/lib/vocabularies/jtd/ref.ts +0 -76
- package/app/node_modules/ajv/lib/vocabularies/jtd/type.ts +0 -75
- package/app/node_modules/ajv/lib/vocabularies/jtd/union.ts +0 -12
- package/app/node_modules/ajv/lib/vocabularies/jtd/values.ts +0 -58
- package/app/node_modules/ajv/lib/vocabularies/metadata.ts +0 -17
- package/app/node_modules/ajv/lib/vocabularies/next.ts +0 -8
- package/app/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +0 -7
- package/app/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +0 -47
- package/app/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +0 -85
- package/app/node_modules/ajv/lib/vocabularies/validation/const.ts +0 -28
- package/app/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +0 -23
- package/app/node_modules/ajv/lib/vocabularies/validation/enum.ts +0 -54
- package/app/node_modules/ajv/lib/vocabularies/validation/index.ts +0 -49
- package/app/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +0 -16
- package/app/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +0 -26
- package/app/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +0 -30
- package/app/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +0 -42
- package/app/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +0 -26
- package/app/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +0 -34
- package/app/node_modules/ajv/lib/vocabularies/validation/pattern.ts +0 -39
- package/app/node_modules/ajv/lib/vocabularies/validation/required.ts +0 -98
- package/app/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +0 -79
- package/app/node_modules/ajv/package.json +0 -126
- package/app/node_modules/ajv-formats/LICENSE +0 -21
- package/app/node_modules/ajv-formats/README.md +0 -125
- package/app/node_modules/ajv-formats/dist/formats.d.ts +0 -9
- package/app/node_modules/ajv-formats/dist/formats.js +0 -208
- package/app/node_modules/ajv-formats/dist/index.d.ts +0 -15
- package/app/node_modules/ajv-formats/dist/index.js +0 -37
- package/app/node_modules/ajv-formats/dist/limit.d.ts +0 -10
- package/app/node_modules/ajv-formats/dist/limit.js +0 -69
- package/app/node_modules/ajv-formats/package.json +0 -74
- package/app/node_modules/ajv-formats/src/formats.ts +0 -269
- package/app/node_modules/ajv-formats/src/index.ts +0 -62
- package/app/node_modules/ajv-formats/src/limit.ts +0 -99
- package/app/node_modules/body-parser/LICENSE +0 -23
- package/app/node_modules/body-parser/README.md +0 -509
- package/app/node_modules/body-parser/index.js +0 -55
- package/app/node_modules/body-parser/lib/read.js +0 -247
- package/app/node_modules/body-parser/lib/types/json.js +0 -186
- package/app/node_modules/body-parser/lib/types/raw.js +0 -42
- package/app/node_modules/body-parser/lib/types/text.js +0 -36
- package/app/node_modules/body-parser/lib/types/urlencoded.js +0 -138
- package/app/node_modules/body-parser/lib/utils.js +0 -100
- package/app/node_modules/body-parser/package.json +0 -65
- package/app/node_modules/bytes/History.md +0 -97
- package/app/node_modules/bytes/LICENSE +0 -23
- package/app/node_modules/bytes/Readme.md +0 -152
- package/app/node_modules/bytes/index.js +0 -170
- package/app/node_modules/bytes/package.json +0 -42
- package/app/node_modules/call-bind-apply-helpers/.eslintrc +0 -17
- package/app/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +0 -12
- package/app/node_modules/call-bind-apply-helpers/.nycrc +0 -9
- package/app/node_modules/call-bind-apply-helpers/CHANGELOG.md +0 -30
- package/app/node_modules/call-bind-apply-helpers/LICENSE +0 -21
- package/app/node_modules/call-bind-apply-helpers/README.md +0 -62
- package/app/node_modules/call-bind-apply-helpers/actualApply.d.ts +0 -1
- package/app/node_modules/call-bind-apply-helpers/actualApply.js +0 -10
- package/app/node_modules/call-bind-apply-helpers/applyBind.d.ts +0 -19
- package/app/node_modules/call-bind-apply-helpers/applyBind.js +0 -10
- package/app/node_modules/call-bind-apply-helpers/functionApply.d.ts +0 -1
- package/app/node_modules/call-bind-apply-helpers/functionApply.js +0 -4
- package/app/node_modules/call-bind-apply-helpers/functionCall.d.ts +0 -1
- package/app/node_modules/call-bind-apply-helpers/functionCall.js +0 -4
- package/app/node_modules/call-bind-apply-helpers/index.d.ts +0 -64
- package/app/node_modules/call-bind-apply-helpers/index.js +0 -15
- package/app/node_modules/call-bind-apply-helpers/package.json +0 -85
- package/app/node_modules/call-bind-apply-helpers/reflectApply.d.ts +0 -3
- package/app/node_modules/call-bind-apply-helpers/reflectApply.js +0 -4
- package/app/node_modules/call-bind-apply-helpers/test/index.js +0 -63
- package/app/node_modules/call-bind-apply-helpers/tsconfig.json +0 -9
- package/app/node_modules/call-bound/.eslintrc +0 -13
- package/app/node_modules/call-bound/.github/FUNDING.yml +0 -12
- package/app/node_modules/call-bound/.nycrc +0 -9
- package/app/node_modules/call-bound/CHANGELOG.md +0 -42
- package/app/node_modules/call-bound/LICENSE +0 -21
- package/app/node_modules/call-bound/README.md +0 -53
- package/app/node_modules/call-bound/index.d.ts +0 -94
- package/app/node_modules/call-bound/index.js +0 -19
- package/app/node_modules/call-bound/package.json +0 -99
- package/app/node_modules/call-bound/test/index.js +0 -61
- package/app/node_modules/call-bound/tsconfig.json +0 -10
- package/app/node_modules/content-disposition/LICENSE +0 -22
- package/app/node_modules/content-disposition/README.md +0 -141
- package/app/node_modules/content-disposition/index.js +0 -536
- package/app/node_modules/content-disposition/package.json +0 -40
- package/app/node_modules/content-type/HISTORY.md +0 -29
- package/app/node_modules/content-type/LICENSE +0 -22
- package/app/node_modules/content-type/README.md +0 -94
- package/app/node_modules/content-type/index.js +0 -225
- package/app/node_modules/content-type/package.json +0 -42
- package/app/node_modules/cookie/LICENSE +0 -24
- package/app/node_modules/cookie/README.md +0 -317
- package/app/node_modules/cookie/SECURITY.md +0 -25
- package/app/node_modules/cookie/index.js +0 -335
- package/app/node_modules/cookie/package.json +0 -44
- package/app/node_modules/cookie-signature/History.md +0 -70
- package/app/node_modules/cookie-signature/LICENSE +0 -22
- package/app/node_modules/cookie-signature/Readme.md +0 -23
- package/app/node_modules/cookie-signature/index.js +0 -47
- package/app/node_modules/cookie-signature/package.json +0 -24
- package/app/node_modules/cors/LICENSE +0 -22
- package/app/node_modules/cors/README.md +0 -277
- package/app/node_modules/cors/lib/index.js +0 -238
- package/app/node_modules/cors/package.json +0 -42
- package/app/node_modules/cross-spawn/LICENSE +0 -21
- package/app/node_modules/cross-spawn/README.md +0 -89
- package/app/node_modules/cross-spawn/index.js +0 -39
- package/app/node_modules/cross-spawn/lib/enoent.js +0 -59
- package/app/node_modules/cross-spawn/lib/parse.js +0 -91
- package/app/node_modules/cross-spawn/lib/util/escape.js +0 -47
- package/app/node_modules/cross-spawn/lib/util/readShebang.js +0 -23
- package/app/node_modules/cross-spawn/lib/util/resolveCommand.js +0 -52
- package/app/node_modules/cross-spawn/node_modules/.bin/node-which +0 -55
- package/app/node_modules/cross-spawn/package.json +0 -73
- package/app/node_modules/debug/LICENSE +0 -20
- package/app/node_modules/debug/README.md +0 -481
- package/app/node_modules/debug/package.json +0 -64
- package/app/node_modules/debug/src/browser.js +0 -272
- package/app/node_modules/debug/src/common.js +0 -292
- package/app/node_modules/debug/src/index.js +0 -10
- package/app/node_modules/debug/src/node.js +0 -263
- package/app/node_modules/depd/History.md +0 -103
- package/app/node_modules/depd/LICENSE +0 -22
- package/app/node_modules/depd/Readme.md +0 -280
- package/app/node_modules/depd/index.js +0 -538
- package/app/node_modules/depd/lib/browser/index.js +0 -77
- package/app/node_modules/depd/package.json +0 -45
- package/app/node_modules/dunder-proto/.eslintrc +0 -5
- package/app/node_modules/dunder-proto/.github/FUNDING.yml +0 -12
- package/app/node_modules/dunder-proto/.nycrc +0 -13
- package/app/node_modules/dunder-proto/CHANGELOG.md +0 -24
- package/app/node_modules/dunder-proto/LICENSE +0 -21
- package/app/node_modules/dunder-proto/README.md +0 -54
- package/app/node_modules/dunder-proto/get.d.ts +0 -5
- package/app/node_modules/dunder-proto/get.js +0 -30
- package/app/node_modules/dunder-proto/package.json +0 -76
- package/app/node_modules/dunder-proto/set.d.ts +0 -5
- package/app/node_modules/dunder-proto/set.js +0 -35
- package/app/node_modules/dunder-proto/test/get.js +0 -34
- package/app/node_modules/dunder-proto/test/index.js +0 -4
- package/app/node_modules/dunder-proto/test/set.js +0 -50
- package/app/node_modules/dunder-proto/tsconfig.json +0 -9
- package/app/node_modules/ee-first/LICENSE +0 -22
- package/app/node_modules/ee-first/README.md +0 -80
- package/app/node_modules/ee-first/index.js +0 -95
- package/app/node_modules/ee-first/package.json +0 -29
- package/app/node_modules/encodeurl/LICENSE +0 -22
- package/app/node_modules/encodeurl/README.md +0 -109
- package/app/node_modules/encodeurl/index.js +0 -60
- package/app/node_modules/encodeurl/package.json +0 -40
- package/app/node_modules/es-define-property/.eslintrc +0 -13
- package/app/node_modules/es-define-property/.github/FUNDING.yml +0 -12
- package/app/node_modules/es-define-property/.nycrc +0 -9
- package/app/node_modules/es-define-property/CHANGELOG.md +0 -29
- package/app/node_modules/es-define-property/LICENSE +0 -21
- package/app/node_modules/es-define-property/README.md +0 -49
- package/app/node_modules/es-define-property/index.d.ts +0 -3
- package/app/node_modules/es-define-property/index.js +0 -14
- package/app/node_modules/es-define-property/package.json +0 -81
- package/app/node_modules/es-define-property/test/index.js +0 -56
- package/app/node_modules/es-define-property/tsconfig.json +0 -10
- package/app/node_modules/es-errors/.eslintrc +0 -5
- package/app/node_modules/es-errors/.github/FUNDING.yml +0 -12
- package/app/node_modules/es-errors/CHANGELOG.md +0 -40
- package/app/node_modules/es-errors/LICENSE +0 -21
- package/app/node_modules/es-errors/README.md +0 -55
- package/app/node_modules/es-errors/eval.d.ts +0 -3
- package/app/node_modules/es-errors/eval.js +0 -4
- package/app/node_modules/es-errors/index.d.ts +0 -3
- package/app/node_modules/es-errors/index.js +0 -4
- package/app/node_modules/es-errors/package.json +0 -80
- package/app/node_modules/es-errors/range.d.ts +0 -3
- package/app/node_modules/es-errors/range.js +0 -4
- package/app/node_modules/es-errors/ref.d.ts +0 -3
- package/app/node_modules/es-errors/ref.js +0 -4
- package/app/node_modules/es-errors/syntax.d.ts +0 -3
- package/app/node_modules/es-errors/syntax.js +0 -4
- package/app/node_modules/es-errors/test/index.js +0 -19
- package/app/node_modules/es-errors/tsconfig.json +0 -49
- package/app/node_modules/es-errors/type.d.ts +0 -3
- package/app/node_modules/es-errors/type.js +0 -4
- package/app/node_modules/es-errors/uri.d.ts +0 -3
- package/app/node_modules/es-errors/uri.js +0 -4
- package/app/node_modules/es-object-atoms/.eslintrc +0 -16
- package/app/node_modules/es-object-atoms/.github/FUNDING.yml +0 -12
- package/app/node_modules/es-object-atoms/CHANGELOG.md +0 -44
- package/app/node_modules/es-object-atoms/LICENSE +0 -21
- package/app/node_modules/es-object-atoms/README.md +0 -63
- package/app/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +0 -3
- package/app/node_modules/es-object-atoms/RequireObjectCoercible.js +0 -11
- package/app/node_modules/es-object-atoms/ToObject.d.ts +0 -7
- package/app/node_modules/es-object-atoms/ToObject.js +0 -10
- package/app/node_modules/es-object-atoms/index.d.ts +0 -3
- package/app/node_modules/es-object-atoms/index.js +0 -4
- package/app/node_modules/es-object-atoms/isObject.d.ts +0 -3
- package/app/node_modules/es-object-atoms/isObject.js +0 -6
- package/app/node_modules/es-object-atoms/package.json +0 -79
- package/app/node_modules/es-object-atoms/test/index.js +0 -38
- package/app/node_modules/es-object-atoms/tsconfig.json +0 -7
- package/app/node_modules/escape-html/LICENSE +0 -24
- package/app/node_modules/escape-html/Readme.md +0 -43
- package/app/node_modules/escape-html/index.js +0 -78
- package/app/node_modules/escape-html/package.json +0 -24
- package/app/node_modules/etag/HISTORY.md +0 -83
- package/app/node_modules/etag/LICENSE +0 -22
- package/app/node_modules/etag/README.md +0 -159
- package/app/node_modules/etag/index.js +0 -131
- package/app/node_modules/etag/package.json +0 -47
- package/app/node_modules/eventsource/LICENSE +0 -22
- package/app/node_modules/eventsource/README.md +0 -167
- package/app/node_modules/eventsource/dist/index.cjs +0 -273
- package/app/node_modules/eventsource/dist/index.d.cts +0 -332
- package/app/node_modules/eventsource/dist/index.d.ts +0 -332
- package/app/node_modules/eventsource/dist/index.js +0 -273
- package/app/node_modules/eventsource/package.json +0 -130
- package/app/node_modules/eventsource/src/EventSource.ts +0 -596
- package/app/node_modules/eventsource/src/errors.ts +0 -141
- package/app/node_modules/eventsource/src/index.ts +0 -3
- package/app/node_modules/eventsource/src/types.ts +0 -152
- package/app/node_modules/eventsource-parser/LICENSE +0 -21
- package/app/node_modules/eventsource-parser/README.md +0 -157
- package/app/node_modules/eventsource-parser/dist/index.cjs +0 -177
- package/app/node_modules/eventsource-parser/dist/index.d.cts +0 -169
- package/app/node_modules/eventsource-parser/dist/index.d.ts +0 -169
- package/app/node_modules/eventsource-parser/dist/index.js +0 -177
- package/app/node_modules/eventsource-parser/dist/stream.cjs +0 -29
- package/app/node_modules/eventsource-parser/dist/stream.d.cts +0 -134
- package/app/node_modules/eventsource-parser/dist/stream.d.ts +0 -134
- package/app/node_modules/eventsource-parser/dist/stream.js +0 -30
- package/app/node_modules/eventsource-parser/package.json +0 -92
- package/app/node_modules/eventsource-parser/src/errors.ts +0 -44
- package/app/node_modules/eventsource-parser/src/index.ts +0 -8
- package/app/node_modules/eventsource-parser/src/parse.ts +0 -439
- package/app/node_modules/eventsource-parser/src/stream.ts +0 -107
- package/app/node_modules/eventsource-parser/src/types.ts +0 -122
- package/app/node_modules/eventsource-parser/stream.js +0 -2
- package/app/node_modules/express/LICENSE +0 -24
- package/app/node_modules/express/Readme.md +0 -276
- package/app/node_modules/express/index.js +0 -11
- package/app/node_modules/express/lib/application.js +0 -631
- package/app/node_modules/express/lib/express.js +0 -81
- package/app/node_modules/express/lib/request.js +0 -514
- package/app/node_modules/express/lib/response.js +0 -1053
- package/app/node_modules/express/lib/utils.js +0 -271
- package/app/node_modules/express/lib/view.js +0 -205
- package/app/node_modules/express/package.json +0 -99
- package/app/node_modules/express-rate-limit/dist/index.cjs +0 -1085
- package/app/node_modules/express-rate-limit/dist/index.d.cts +0 -688
- package/app/node_modules/express-rate-limit/dist/index.d.mts +0 -688
- package/app/node_modules/express-rate-limit/dist/index.d.ts +0 -688
- package/app/node_modules/express-rate-limit/dist/index.mjs +0 -1041
- package/app/node_modules/express-rate-limit/license.md +0 -20
- package/app/node_modules/express-rate-limit/package.json +0 -116
- package/app/node_modules/express-rate-limit/readme.md +0 -139
- package/app/node_modules/express-rate-limit/tsconfig.json +0 -8
- package/app/node_modules/fast-deep-equal/LICENSE +0 -21
- package/app/node_modules/fast-deep-equal/README.md +0 -96
- package/app/node_modules/fast-deep-equal/es6/index.d.ts +0 -2
- package/app/node_modules/fast-deep-equal/es6/index.js +0 -72
- package/app/node_modules/fast-deep-equal/es6/react.d.ts +0 -2
- package/app/node_modules/fast-deep-equal/es6/react.js +0 -79
- package/app/node_modules/fast-deep-equal/index.d.ts +0 -4
- package/app/node_modules/fast-deep-equal/index.js +0 -46
- package/app/node_modules/fast-deep-equal/package.json +0 -61
- package/app/node_modules/fast-deep-equal/react.d.ts +0 -2
- package/app/node_modules/fast-deep-equal/react.js +0 -53
- package/app/node_modules/fast-uri/.gitattributes +0 -2
- package/app/node_modules/fast-uri/.github/dependabot.yml +0 -13
- package/app/node_modules/fast-uri/.github/workflows/ci.yml +0 -106
- package/app/node_modules/fast-uri/.github/workflows/lock-threads.yml +0 -19
- package/app/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +0 -24
- package/app/node_modules/fast-uri/LICENSE +0 -30
- package/app/node_modules/fast-uri/README.md +0 -152
- package/app/node_modules/fast-uri/benchmark/benchmark.mjs +0 -159
- package/app/node_modules/fast-uri/benchmark/equal.mjs +0 -51
- package/app/node_modules/fast-uri/benchmark/non-simple-domain.mjs +0 -22
- package/app/node_modules/fast-uri/benchmark/package.json +0 -17
- package/app/node_modules/fast-uri/benchmark/string-array-to-hex-stripped.mjs +0 -24
- package/app/node_modules/fast-uri/benchmark/ws-is-secure.mjs +0 -65
- package/app/node_modules/fast-uri/eslint.config.js +0 -6
- package/app/node_modules/fast-uri/index.js +0 -459
- package/app/node_modules/fast-uri/lib/schemes.js +0 -267
- package/app/node_modules/fast-uri/lib/utils.js +0 -443
- package/app/node_modules/fast-uri/package.json +0 -68
- package/app/node_modules/fast-uri/test/ajv.test.js +0 -43
- package/app/node_modules/fast-uri/test/equal.test.js +0 -117
- package/app/node_modules/fast-uri/test/fixtures/uri-js-parse.json +0 -501
- package/app/node_modules/fast-uri/test/fixtures/uri-js-serialize.json +0 -120
- package/app/node_modules/fast-uri/test/parse.test.js +0 -323
- package/app/node_modules/fast-uri/test/resolve.test.js +0 -87
- package/app/node_modules/fast-uri/test/rfc-3986.test.js +0 -90
- package/app/node_modules/fast-uri/test/security-normalization.test.js +0 -39
- package/app/node_modules/fast-uri/test/security.test.js +0 -359
- package/app/node_modules/fast-uri/test/serialize.test.js +0 -151
- package/app/node_modules/fast-uri/test/uri-js-compatibility.test.js +0 -33
- package/app/node_modules/fast-uri/test/uri-js.test.js +0 -912
- package/app/node_modules/fast-uri/test/util.test.js +0 -38
- package/app/node_modules/fast-uri/tsconfig.json +0 -9
- package/app/node_modules/fast-uri/types/index.d.ts +0 -60
- package/app/node_modules/fast-uri/types/index.test-d.ts +0 -17
- package/app/node_modules/finalhandler/HISTORY.md +0 -239
- package/app/node_modules/finalhandler/LICENSE +0 -22
- package/app/node_modules/finalhandler/README.md +0 -150
- package/app/node_modules/finalhandler/index.js +0 -293
- package/app/node_modules/finalhandler/package.json +0 -47
- package/app/node_modules/forwarded/HISTORY.md +0 -21
- package/app/node_modules/forwarded/LICENSE +0 -22
- package/app/node_modules/forwarded/README.md +0 -57
- package/app/node_modules/forwarded/index.js +0 -90
- package/app/node_modules/forwarded/package.json +0 -45
- package/app/node_modules/fresh/HISTORY.md +0 -80
- package/app/node_modules/fresh/LICENSE +0 -23
- package/app/node_modules/fresh/README.md +0 -117
- package/app/node_modules/fresh/index.js +0 -136
- package/app/node_modules/fresh/package.json +0 -46
- package/app/node_modules/function-bind/.eslintrc +0 -21
- package/app/node_modules/function-bind/.github/FUNDING.yml +0 -12
- package/app/node_modules/function-bind/.github/SECURITY.md +0 -3
- package/app/node_modules/function-bind/.nycrc +0 -13
- package/app/node_modules/function-bind/CHANGELOG.md +0 -136
- package/app/node_modules/function-bind/LICENSE +0 -20
- package/app/node_modules/function-bind/README.md +0 -46
- package/app/node_modules/function-bind/implementation.js +0 -84
- package/app/node_modules/function-bind/index.js +0 -5
- package/app/node_modules/function-bind/package.json +0 -87
- package/app/node_modules/function-bind/test/.eslintrc +0 -9
- package/app/node_modules/function-bind/test/index.js +0 -252
- package/app/node_modules/get-intrinsic/.eslintrc +0 -42
- package/app/node_modules/get-intrinsic/.github/FUNDING.yml +0 -12
- package/app/node_modules/get-intrinsic/.nycrc +0 -9
- package/app/node_modules/get-intrinsic/CHANGELOG.md +0 -186
- package/app/node_modules/get-intrinsic/LICENSE +0 -21
- package/app/node_modules/get-intrinsic/README.md +0 -71
- package/app/node_modules/get-intrinsic/index.js +0 -378
- package/app/node_modules/get-intrinsic/package.json +0 -97
- package/app/node_modules/get-intrinsic/test/GetIntrinsic.js +0 -274
- package/app/node_modules/get-proto/.eslintrc +0 -10
- package/app/node_modules/get-proto/.github/FUNDING.yml +0 -12
- package/app/node_modules/get-proto/.nycrc +0 -9
- package/app/node_modules/get-proto/CHANGELOG.md +0 -21
- package/app/node_modules/get-proto/LICENSE +0 -21
- package/app/node_modules/get-proto/Object.getPrototypeOf.d.ts +0 -5
- package/app/node_modules/get-proto/Object.getPrototypeOf.js +0 -6
- package/app/node_modules/get-proto/README.md +0 -50
- package/app/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +0 -3
- package/app/node_modules/get-proto/Reflect.getPrototypeOf.js +0 -4
- package/app/node_modules/get-proto/index.d.ts +0 -5
- package/app/node_modules/get-proto/index.js +0 -27
- package/app/node_modules/get-proto/package.json +0 -81
- package/app/node_modules/get-proto/test/index.js +0 -68
- package/app/node_modules/get-proto/tsconfig.json +0 -9
- package/app/node_modules/gopd/.eslintrc +0 -16
- package/app/node_modules/gopd/.github/FUNDING.yml +0 -12
- package/app/node_modules/gopd/CHANGELOG.md +0 -45
- package/app/node_modules/gopd/LICENSE +0 -21
- package/app/node_modules/gopd/README.md +0 -40
- package/app/node_modules/gopd/gOPD.d.ts +0 -1
- package/app/node_modules/gopd/gOPD.js +0 -4
- package/app/node_modules/gopd/index.d.ts +0 -5
- package/app/node_modules/gopd/index.js +0 -15
- package/app/node_modules/gopd/package.json +0 -77
- package/app/node_modules/gopd/test/index.js +0 -36
- package/app/node_modules/gopd/tsconfig.json +0 -9
- package/app/node_modules/has-symbols/.eslintrc +0 -11
- package/app/node_modules/has-symbols/.github/FUNDING.yml +0 -12
- package/app/node_modules/has-symbols/.nycrc +0 -9
- package/app/node_modules/has-symbols/CHANGELOG.md +0 -91
- package/app/node_modules/has-symbols/LICENSE +0 -21
- package/app/node_modules/has-symbols/README.md +0 -46
- package/app/node_modules/has-symbols/index.d.ts +0 -3
- package/app/node_modules/has-symbols/index.js +0 -14
- package/app/node_modules/has-symbols/package.json +0 -111
- package/app/node_modules/has-symbols/shams.d.ts +0 -3
- package/app/node_modules/has-symbols/shams.js +0 -45
- package/app/node_modules/has-symbols/test/index.js +0 -22
- package/app/node_modules/has-symbols/test/shams/core-js.js +0 -29
- package/app/node_modules/has-symbols/test/shams/get-own-property-symbols.js +0 -29
- package/app/node_modules/has-symbols/test/tests.js +0 -58
- package/app/node_modules/has-symbols/tsconfig.json +0 -10
- package/app/node_modules/hasown/.github/FUNDING.yml +0 -12
- package/app/node_modules/hasown/.nycrc +0 -13
- package/app/node_modules/hasown/CHANGELOG.md +0 -58
- package/app/node_modules/hasown/LICENSE +0 -21
- package/app/node_modules/hasown/README.md +0 -40
- package/app/node_modules/hasown/eslint.config.mjs +0 -6
- package/app/node_modules/hasown/index.d.ts +0 -3
- package/app/node_modules/hasown/index.js +0 -8
- package/app/node_modules/hasown/package.json +0 -91
- package/app/node_modules/hasown/tsconfig.json +0 -6
- package/app/node_modules/hono/LICENSE +0 -21
- package/app/node_modules/hono/README.md +0 -85
- package/app/node_modules/hono/dist/adapter/aws-lambda/conninfo.js +0 -24
- package/app/node_modules/hono/dist/adapter/aws-lambda/handler.js +0 -364
- package/app/node_modules/hono/dist/adapter/aws-lambda/index.js +0 -9
- package/app/node_modules/hono/dist/adapter/aws-lambda/types.js +0 -0
- package/app/node_modules/hono/dist/adapter/bun/conninfo.js +0 -27
- package/app/node_modules/hono/dist/adapter/bun/index.js +0 -16
- package/app/node_modules/hono/dist/adapter/bun/serve-static.js +0 -30
- package/app/node_modules/hono/dist/adapter/bun/server.js +0 -5
- package/app/node_modules/hono/dist/adapter/bun/ssg.js +0 -17
- package/app/node_modules/hono/dist/adapter/bun/websocket.js +0 -73
- package/app/node_modules/hono/dist/adapter/cloudflare-pages/conninfo.js +0 -9
- package/app/node_modules/hono/dist/adapter/cloudflare-pages/handler.js +0 -67
- package/app/node_modules/hono/dist/adapter/cloudflare-pages/index.js +0 -9
- package/app/node_modules/hono/dist/adapter/cloudflare-workers/conninfo.js +0 -9
- package/app/node_modules/hono/dist/adapter/cloudflare-workers/index.js +0 -9
- package/app/node_modules/hono/dist/adapter/cloudflare-workers/serve-static-module.js +0 -8
- package/app/node_modules/hono/dist/adapter/cloudflare-workers/serve-static.js +0 -22
- package/app/node_modules/hono/dist/adapter/cloudflare-workers/utils.js +0 -35
- package/app/node_modules/hono/dist/adapter/cloudflare-workers/websocket.js +0 -41
- package/app/node_modules/hono/dist/adapter/deno/conninfo.js +0 -14
- package/app/node_modules/hono/dist/adapter/deno/deno.d.js +0 -0
- package/app/node_modules/hono/dist/adapter/deno/index.js +0 -12
- package/app/node_modules/hono/dist/adapter/deno/serve-static.js +0 -40
- package/app/node_modules/hono/dist/adapter/deno/ssg.js +0 -18
- package/app/node_modules/hono/dist/adapter/deno/websocket.js +0 -32
- package/app/node_modules/hono/dist/adapter/lambda-edge/conninfo.js +0 -9
- package/app/node_modules/hono/dist/adapter/lambda-edge/handler.js +0 -96
- package/app/node_modules/hono/dist/adapter/lambda-edge/index.js +0 -7
- package/app/node_modules/hono/dist/adapter/netlify/conninfo.js +0 -9
- package/app/node_modules/hono/dist/adapter/netlify/handler.js +0 -9
- package/app/node_modules/hono/dist/adapter/netlify/index.js +0 -2
- package/app/node_modules/hono/dist/adapter/netlify/mod.js +0 -7
- package/app/node_modules/hono/dist/adapter/service-worker/handler.js +0 -20
- package/app/node_modules/hono/dist/adapter/service-worker/index.js +0 -9
- package/app/node_modules/hono/dist/adapter/service-worker/types.js +0 -0
- package/app/node_modules/hono/dist/adapter/vercel/conninfo.js +0 -10
- package/app/node_modules/hono/dist/adapter/vercel/handler.js +0 -7
- package/app/node_modules/hono/dist/adapter/vercel/index.js +0 -7
- package/app/node_modules/hono/dist/cjs/adapter/aws-lambda/conninfo.js +0 -46
- package/app/node_modules/hono/dist/cjs/adapter/aws-lambda/handler.js +0 -395
- package/app/node_modules/hono/dist/cjs/adapter/aws-lambda/index.js +0 -34
- package/app/node_modules/hono/dist/cjs/adapter/aws-lambda/types.js +0 -15
- package/app/node_modules/hono/dist/cjs/adapter/bun/conninfo.js +0 -49
- package/app/node_modules/hono/dist/cjs/adapter/bun/index.js +0 -45
- package/app/node_modules/hono/dist/cjs/adapter/bun/serve-static.js +0 -52
- package/app/node_modules/hono/dist/cjs/adapter/bun/server.js +0 -27
- package/app/node_modules/hono/dist/cjs/adapter/bun/ssg.js +0 -40
- package/app/node_modules/hono/dist/cjs/adapter/bun/websocket.js +0 -98
- package/app/node_modules/hono/dist/cjs/adapter/cloudflare-pages/conninfo.js +0 -31
- package/app/node_modules/hono/dist/cjs/adapter/cloudflare-pages/handler.js +0 -91
- package/app/node_modules/hono/dist/cjs/adapter/cloudflare-pages/index.js +0 -34
- package/app/node_modules/hono/dist/cjs/adapter/cloudflare-workers/conninfo.js +0 -31
- package/app/node_modules/hono/dist/cjs/adapter/cloudflare-workers/index.js +0 -33
- package/app/node_modules/hono/dist/cjs/adapter/cloudflare-workers/serve-static-module.js +0 -30
- package/app/node_modules/hono/dist/cjs/adapter/cloudflare-workers/serve-static.js +0 -44
- package/app/node_modules/hono/dist/cjs/adapter/cloudflare-workers/utils.js +0 -57
- package/app/node_modules/hono/dist/cjs/adapter/cloudflare-workers/websocket.js +0 -63
- package/app/node_modules/hono/dist/cjs/adapter/deno/conninfo.js +0 -36
- package/app/node_modules/hono/dist/cjs/adapter/deno/deno.d.js +0 -0
- package/app/node_modules/hono/dist/cjs/adapter/deno/index.js +0 -38
- package/app/node_modules/hono/dist/cjs/adapter/deno/serve-static.js +0 -62
- package/app/node_modules/hono/dist/cjs/adapter/deno/ssg.js +0 -41
- package/app/node_modules/hono/dist/cjs/adapter/deno/websocket.js +0 -54
- package/app/node_modules/hono/dist/cjs/adapter/lambda-edge/conninfo.js +0 -31
- package/app/node_modules/hono/dist/cjs/adapter/lambda-edge/handler.js +0 -130
- package/app/node_modules/hono/dist/cjs/adapter/lambda-edge/index.js +0 -30
- package/app/node_modules/hono/dist/cjs/adapter/netlify/conninfo.js +0 -31
- package/app/node_modules/hono/dist/cjs/adapter/netlify/handler.js +0 -31
- package/app/node_modules/hono/dist/cjs/adapter/netlify/index.js +0 -21
- package/app/node_modules/hono/dist/cjs/adapter/netlify/mod.js +0 -30
- package/app/node_modules/hono/dist/cjs/adapter/service-worker/handler.js +0 -42
- package/app/node_modules/hono/dist/cjs/adapter/service-worker/index.js +0 -32
- package/app/node_modules/hono/dist/cjs/adapter/service-worker/types.js +0 -15
- package/app/node_modules/hono/dist/cjs/adapter/vercel/conninfo.js +0 -32
- package/app/node_modules/hono/dist/cjs/adapter/vercel/handler.js +0 -29
- package/app/node_modules/hono/dist/cjs/adapter/vercel/index.js +0 -30
- package/app/node_modules/hono/dist/cjs/client/client.js +0 -204
- package/app/node_modules/hono/dist/cjs/client/fetch-result-please.js +0 -85
- package/app/node_modules/hono/dist/cjs/client/index.js +0 -32
- package/app/node_modules/hono/dist/cjs/client/types.js +0 -15
- package/app/node_modules/hono/dist/cjs/client/utils.js +0 -105
- package/app/node_modules/hono/dist/cjs/compose.js +0 -68
- package/app/node_modules/hono/dist/cjs/context.js +0 -450
- package/app/node_modules/hono/dist/cjs/helper/accepts/accepts.js +0 -43
- package/app/node_modules/hono/dist/cjs/helper/accepts/index.js +0 -27
- package/app/node_modules/hono/dist/cjs/helper/adapter/index.js +0 -81
- package/app/node_modules/hono/dist/cjs/helper/conninfo/index.js +0 -15
- package/app/node_modules/hono/dist/cjs/helper/conninfo/types.js +0 -15
- package/app/node_modules/hono/dist/cjs/helper/cookie/index.js +0 -130
- package/app/node_modules/hono/dist/cjs/helper/css/common.js +0 -273
- package/app/node_modules/hono/dist/cjs/helper/css/index.js +0 -157
- package/app/node_modules/hono/dist/cjs/helper/dev/index.js +0 -79
- package/app/node_modules/hono/dist/cjs/helper/factory/index.js +0 -54
- package/app/node_modules/hono/dist/cjs/helper/html/index.js +0 -64
- package/app/node_modules/hono/dist/cjs/helper/proxy/index.js +0 -115
- package/app/node_modules/hono/dist/cjs/helper/route/index.js +0 -71
- package/app/node_modules/hono/dist/cjs/helper/ssg/index.js +0 -43
- package/app/node_modules/hono/dist/cjs/helper/ssg/middleware.js +0 -73
- package/app/node_modules/hono/dist/cjs/helper/ssg/plugins.js +0 -70
- package/app/node_modules/hono/dist/cjs/helper/ssg/ssg.js +0 -320
- package/app/node_modules/hono/dist/cjs/helper/ssg/utils.js +0 -93
- package/app/node_modules/hono/dist/cjs/helper/streaming/index.js +0 -35
- package/app/node_modules/hono/dist/cjs/helper/streaming/sse.js +0 -91
- package/app/node_modules/hono/dist/cjs/helper/streaming/stream.js +0 -56
- package/app/node_modules/hono/dist/cjs/helper/streaming/text.js +0 -34
- package/app/node_modules/hono/dist/cjs/helper/streaming/utils.js +0 -35
- package/app/node_modules/hono/dist/cjs/helper/testing/index.js +0 -33
- package/app/node_modules/hono/dist/cjs/helper/websocket/index.js +0 -81
- package/app/node_modules/hono/dist/cjs/hono-base.js +0 -406
- package/app/node_modules/hono/dist/cjs/hono.js +0 -43
- package/app/node_modules/hono/dist/cjs/http-exception.js +0 -57
- package/app/node_modules/hono/dist/cjs/index.js +0 -30
- package/app/node_modules/hono/dist/cjs/jsx/base.js +0 -378
- package/app/node_modules/hono/dist/cjs/jsx/children.js +0 -44
- package/app/node_modules/hono/dist/cjs/jsx/components.js +0 -221
- package/app/node_modules/hono/dist/cjs/jsx/constants.js +0 -42
- package/app/node_modules/hono/dist/cjs/jsx/context.js +0 -188
- package/app/node_modules/hono/dist/cjs/jsx/dom/client.js +0 -76
- package/app/node_modules/hono/dist/cjs/jsx/dom/components.js +0 -55
- package/app/node_modules/hono/dist/cjs/jsx/dom/context.js +0 -71
- package/app/node_modules/hono/dist/cjs/jsx/dom/css.js +0 -168
- package/app/node_modules/hono/dist/cjs/jsx/dom/hooks/index.js +0 -74
- package/app/node_modules/hono/dist/cjs/jsx/dom/index.js +0 -181
- package/app/node_modules/hono/dist/cjs/jsx/dom/intrinsic-element/components.js +0 -399
- package/app/node_modules/hono/dist/cjs/jsx/dom/jsx-dev-runtime.js +0 -52
- package/app/node_modules/hono/dist/cjs/jsx/dom/jsx-runtime.js +0 -32
- package/app/node_modules/hono/dist/cjs/jsx/dom/render.js +0 -641
- package/app/node_modules/hono/dist/cjs/jsx/dom/server.js +0 -67
- package/app/node_modules/hono/dist/cjs/jsx/dom/utils.js +0 -32
- package/app/node_modules/hono/dist/cjs/jsx/hooks/index.js +0 -373
- package/app/node_modules/hono/dist/cjs/jsx/index.js +0 -138
- package/app/node_modules/hono/dist/cjs/jsx/intrinsic-element/common.js +0 -50
- package/app/node_modules/hono/dist/cjs/jsx/intrinsic-element/components.js +0 -189
- package/app/node_modules/hono/dist/cjs/jsx/intrinsic-elements.js +0 -15
- package/app/node_modules/hono/dist/cjs/jsx/jsx-dev-runtime.js +0 -41
- package/app/node_modules/hono/dist/cjs/jsx/jsx-runtime.js +0 -71
- package/app/node_modules/hono/dist/cjs/jsx/streaming.js +0 -179
- package/app/node_modules/hono/dist/cjs/jsx/types.js +0 -15
- package/app/node_modules/hono/dist/cjs/jsx/utils.js +0 -200
- package/app/node_modules/hono/dist/cjs/middleware/basic-auth/index.js +0 -88
- package/app/node_modules/hono/dist/cjs/middleware/bearer-auth/index.js +0 -114
- package/app/node_modules/hono/dist/cjs/middleware/body-limit/index.js +0 -75
- package/app/node_modules/hono/dist/cjs/middleware/cache/index.js +0 -219
- package/app/node_modules/hono/dist/cjs/middleware/combine/index.js +0 -101
- package/app/node_modules/hono/dist/cjs/middleware/compress/index.js +0 -97
- package/app/node_modules/hono/dist/cjs/middleware/context-storage/index.js +0 -47
- package/app/node_modules/hono/dist/cjs/middleware/cors/index.js +0 -109
- package/app/node_modules/hono/dist/cjs/middleware/csrf/index.js +0 -77
- package/app/node_modules/hono/dist/cjs/middleware/etag/digest.js +0 -101
- package/app/node_modules/hono/dist/cjs/middleware/etag/index.js +0 -99
- package/app/node_modules/hono/dist/cjs/middleware/ip-restriction/index.js +0 -176
- package/app/node_modules/hono/dist/cjs/middleware/jsx-renderer/index.js +0 -82
- package/app/node_modules/hono/dist/cjs/middleware/jwk/index.js +0 -27
- package/app/node_modules/hono/dist/cjs/middleware/jwk/jwk.js +0 -139
- package/app/node_modules/hono/dist/cjs/middleware/jwt/index.js +0 -38
- package/app/node_modules/hono/dist/cjs/middleware/jwt/jwt.js +0 -145
- package/app/node_modules/hono/dist/cjs/middleware/language/index.js +0 -35
- package/app/node_modules/hono/dist/cjs/middleware/language/language.js +0 -203
- package/app/node_modules/hono/dist/cjs/middleware/logger/index.js +0 -72
- package/app/node_modules/hono/dist/cjs/middleware/method-not-allowed/index.js +0 -90
- package/app/node_modules/hono/dist/cjs/middleware/method-override/index.js +0 -106
- package/app/node_modules/hono/dist/cjs/middleware/powered-by/index.js +0 -32
- package/app/node_modules/hono/dist/cjs/middleware/pretty-json/index.js +0 -37
- package/app/node_modules/hono/dist/cjs/middleware/request-id/index.js +0 -27
- package/app/node_modules/hono/dist/cjs/middleware/request-id/request-id.js +0 -43
- package/app/node_modules/hono/dist/cjs/middleware/secure-headers/index.js +0 -29
- package/app/node_modules/hono/dist/cjs/middleware/secure-headers/permissions-policy.js +0 -15
- package/app/node_modules/hono/dist/cjs/middleware/secure-headers/secure-headers.js +0 -198
- package/app/node_modules/hono/dist/cjs/middleware/serve-static/index.js +0 -99
- package/app/node_modules/hono/dist/cjs/middleware/serve-static/path.js +0 -40
- package/app/node_modules/hono/dist/cjs/middleware/timeout/index.js +0 -47
- package/app/node_modules/hono/dist/cjs/middleware/timing/index.js +0 -35
- package/app/node_modules/hono/dist/cjs/middleware/timing/timing.js +0 -130
- package/app/node_modules/hono/dist/cjs/middleware/trailing-slash/index.js +0 -62
- package/app/node_modules/hono/dist/cjs/package.json +0 -3
- package/app/node_modules/hono/dist/cjs/preset/quick.js +0 -38
- package/app/node_modules/hono/dist/cjs/preset/tiny.js +0 -34
- package/app/node_modules/hono/dist/cjs/request/constants.js +0 -27
- package/app/node_modules/hono/dist/cjs/request.js +0 -342
- package/app/node_modules/hono/dist/cjs/router/linear-router/index.js +0 -27
- package/app/node_modules/hono/dist/cjs/router/linear-router/router.js +0 -140
- package/app/node_modules/hono/dist/cjs/router/pattern-router/index.js +0 -27
- package/app/node_modules/hono/dist/cjs/router/pattern-router/router.js +0 -70
- package/app/node_modules/hono/dist/cjs/router/reg-exp-router/index.js +0 -34
- package/app/node_modules/hono/dist/cjs/router/reg-exp-router/matcher.js +0 -48
- package/app/node_modules/hono/dist/cjs/router/reg-exp-router/node.js +0 -133
- package/app/node_modules/hono/dist/cjs/router/reg-exp-router/prepared-router.js +0 -166
- package/app/node_modules/hono/dist/cjs/router/reg-exp-router/router.js +0 -187
- package/app/node_modules/hono/dist/cjs/router/reg-exp-router/trie.js +0 -89
- package/app/node_modules/hono/dist/cjs/router/smart-router/index.js +0 -27
- package/app/node_modules/hono/dist/cjs/router/smart-router/router.js +0 -80
- package/app/node_modules/hono/dist/cjs/router/trie-router/index.js +0 -27
- package/app/node_modules/hono/dist/cjs/router/trie-router/node.js +0 -210
- package/app/node_modules/hono/dist/cjs/router/trie-router/router.js +0 -48
- package/app/node_modules/hono/dist/cjs/router.js +0 -40
- package/app/node_modules/hono/dist/cjs/types.js +0 -28
- package/app/node_modules/hono/dist/cjs/utils/accept.js +0 -245
- package/app/node_modules/hono/dist/cjs/utils/basic-auth.js +0 -45
- package/app/node_modules/hono/dist/cjs/utils/body.js +0 -111
- package/app/node_modules/hono/dist/cjs/utils/buffer.js +0 -103
- package/app/node_modules/hono/dist/cjs/utils/color.js +0 -48
- package/app/node_modules/hono/dist/cjs/utils/compress.js +0 -27
- package/app/node_modules/hono/dist/cjs/utils/concurrent.js +0 -61
- package/app/node_modules/hono/dist/cjs/utils/constants.js +0 -27
- package/app/node_modules/hono/dist/cjs/utils/cookie.js +0 -199
- package/app/node_modules/hono/dist/cjs/utils/crypto.js +0 -69
- package/app/node_modules/hono/dist/cjs/utils/encode.js +0 -54
- package/app/node_modules/hono/dist/cjs/utils/filepath.js +0 -58
- package/app/node_modules/hono/dist/cjs/utils/handler.js +0 -36
- package/app/node_modules/hono/dist/cjs/utils/headers.js +0 -15
- package/app/node_modules/hono/dist/cjs/utils/html.js +0 -150
- package/app/node_modules/hono/dist/cjs/utils/http-status.js +0 -15
- package/app/node_modules/hono/dist/cjs/utils/ipaddr.js +0 -318
- package/app/node_modules/hono/dist/cjs/utils/jwt/index.js +0 -28
- package/app/node_modules/hono/dist/cjs/utils/jwt/jwa.js +0 -42
- package/app/node_modules/hono/dist/cjs/utils/jwt/jws.js +0 -215
- package/app/node_modules/hono/dist/cjs/utils/jwt/jwt.js +0 -219
- package/app/node_modules/hono/dist/cjs/utils/jwt/types.js +0 -161
- package/app/node_modules/hono/dist/cjs/utils/jwt/utf8.js +0 -30
- package/app/node_modules/hono/dist/cjs/utils/mime.js +0 -106
- package/app/node_modules/hono/dist/cjs/utils/stream.js +0 -106
- package/app/node_modules/hono/dist/cjs/utils/types.js +0 -15
- package/app/node_modules/hono/dist/cjs/utils/url.js +0 -256
- package/app/node_modules/hono/dist/cjs/validator/index.js +0 -27
- package/app/node_modules/hono/dist/cjs/validator/utils.js +0 -15
- package/app/node_modules/hono/dist/cjs/validator/validator.js +0 -108
- package/app/node_modules/hono/dist/client/client.js +0 -189
- package/app/node_modules/hono/dist/client/fetch-result-please.js +0 -62
- package/app/node_modules/hono/dist/client/index.js +0 -8
- package/app/node_modules/hono/dist/client/types.js +0 -0
- package/app/node_modules/hono/dist/client/utils.js +0 -76
- package/app/node_modules/hono/dist/compose.js +0 -46
- package/app/node_modules/hono/dist/context.js +0 -427
- package/app/node_modules/hono/dist/helper/accepts/accepts.js +0 -20
- package/app/node_modules/hono/dist/helper/accepts/index.js +0 -5
- package/app/node_modules/hono/dist/helper/adapter/index.js +0 -56
- package/app/node_modules/hono/dist/helper/conninfo/index.js +0 -0
- package/app/node_modules/hono/dist/helper/conninfo/types.js +0 -0
- package/app/node_modules/hono/dist/helper/cookie/index.js +0 -102
- package/app/node_modules/hono/dist/helper/css/common.js +0 -236
- package/app/node_modules/hono/dist/helper/css/index.js +0 -140
- package/app/node_modules/hono/dist/helper/dev/index.js +0 -55
- package/app/node_modules/hono/dist/helper/factory/index.js +0 -30
- package/app/node_modules/hono/dist/helper/html/index.js +0 -41
- package/app/node_modules/hono/dist/helper/proxy/index.js +0 -93
- package/app/node_modules/hono/dist/helper/route/index.js +0 -46
- package/app/node_modules/hono/dist/helper/ssg/index.js +0 -19
- package/app/node_modules/hono/dist/helper/ssg/middleware.js +0 -45
- package/app/node_modules/hono/dist/helper/ssg/plugins.js +0 -47
- package/app/node_modules/hono/dist/helper/ssg/ssg.js +0 -297
- package/app/node_modules/hono/dist/helper/ssg/utils.js +0 -67
- package/app/node_modules/hono/dist/helper/streaming/index.js +0 -10
- package/app/node_modules/hono/dist/helper/streaming/sse.js +0 -68
- package/app/node_modules/hono/dist/helper/streaming/stream.js +0 -34
- package/app/node_modules/hono/dist/helper/streaming/text.js +0 -12
- package/app/node_modules/hono/dist/helper/streaming/utils.js +0 -13
- package/app/node_modules/hono/dist/helper/testing/index.js +0 -11
- package/app/node_modules/hono/dist/helper/websocket/index.js +0 -57
- package/app/node_modules/hono/dist/hono-base.js +0 -384
- package/app/node_modules/hono/dist/hono.js +0 -21
- package/app/node_modules/hono/dist/http-exception.js +0 -35
- package/app/node_modules/hono/dist/index.js +0 -7
- package/app/node_modules/hono/dist/jsx/base.js +0 -346
- package/app/node_modules/hono/dist/jsx/children.js +0 -21
- package/app/node_modules/hono/dist/jsx/components.js +0 -198
- package/app/node_modules/hono/dist/jsx/constants.js +0 -15
- package/app/node_modules/hono/dist/jsx/context.js +0 -162
- package/app/node_modules/hono/dist/jsx/dom/client.js +0 -53
- package/app/node_modules/hono/dist/jsx/dom/components.js +0 -32
- package/app/node_modules/hono/dist/jsx/dom/context.js +0 -48
- package/app/node_modules/hono/dist/jsx/dom/css.js +0 -150
- package/app/node_modules/hono/dist/jsx/dom/hooks/index.js +0 -48
- package/app/node_modules/hono/dist/jsx/dom/index.js +0 -142
- package/app/node_modules/hono/dist/jsx/dom/intrinsic-element/components.js +0 -374
- package/app/node_modules/hono/dist/jsx/dom/jsx-dev-runtime.js +0 -19
- package/app/node_modules/hono/dist/jsx/dom/jsx-runtime.js +0 -8
- package/app/node_modules/hono/dist/jsx/dom/render.js +0 -617
- package/app/node_modules/hono/dist/jsx/dom/server.js +0 -33
- package/app/node_modules/hono/dist/jsx/dom/utils.js +0 -10
- package/app/node_modules/hono/dist/jsx/hooks/index.js +0 -331
- package/app/node_modules/hono/dist/jsx/index.js +0 -103
- package/app/node_modules/hono/dist/jsx/intrinsic-element/common.js +0 -24
- package/app/node_modules/hono/dist/jsx/intrinsic-element/components.js +0 -165
- package/app/node_modules/hono/dist/jsx/intrinsic-elements.js +0 -0
- package/app/node_modules/hono/dist/jsx/jsx-dev-runtime.js +0 -18
- package/app/node_modules/hono/dist/jsx/jsx-runtime.js +0 -44
- package/app/node_modules/hono/dist/jsx/streaming.js +0 -155
- package/app/node_modules/hono/dist/jsx/types.js +0 -0
- package/app/node_modules/hono/dist/jsx/utils.js +0 -175
- package/app/node_modules/hono/dist/middleware/basic-auth/index.js +0 -66
- package/app/node_modules/hono/dist/middleware/bearer-auth/index.js +0 -92
- package/app/node_modules/hono/dist/middleware/body-limit/index.js +0 -53
- package/app/node_modules/hono/dist/middleware/cache/index.js +0 -197
- package/app/node_modules/hono/dist/middleware/combine/index.js +0 -77
- package/app/node_modules/hono/dist/middleware/compress/index.js +0 -74
- package/app/node_modules/hono/dist/middleware/context-storage/index.js +0 -23
- package/app/node_modules/hono/dist/middleware/cors/index.js +0 -87
- package/app/node_modules/hono/dist/middleware/csrf/index.js +0 -55
- package/app/node_modules/hono/dist/middleware/etag/digest.js +0 -79
- package/app/node_modules/hono/dist/middleware/etag/index.js +0 -76
- package/app/node_modules/hono/dist/middleware/ip-restriction/index.js +0 -162
- package/app/node_modules/hono/dist/middleware/jsx-renderer/index.js +0 -58
- package/app/node_modules/hono/dist/middleware/jwk/index.js +0 -5
- package/app/node_modules/hono/dist/middleware/jwk/jwk.js +0 -117
- package/app/node_modules/hono/dist/middleware/jwt/index.js +0 -11
- package/app/node_modules/hono/dist/middleware/jwt/jwt.js +0 -119
- package/app/node_modules/hono/dist/middleware/language/index.js +0 -15
- package/app/node_modules/hono/dist/middleware/language/language.js +0 -172
- package/app/node_modules/hono/dist/middleware/logger/index.js +0 -44
- package/app/node_modules/hono/dist/middleware/method-not-allowed/index.js +0 -68
- package/app/node_modules/hono/dist/middleware/method-override/index.js +0 -84
- package/app/node_modules/hono/dist/middleware/powered-by/index.js +0 -10
- package/app/node_modules/hono/dist/middleware/pretty-json/index.js +0 -15
- package/app/node_modules/hono/dist/middleware/request-id/index.js +0 -5
- package/app/node_modules/hono/dist/middleware/request-id/request-id.js +0 -21
- package/app/node_modules/hono/dist/middleware/secure-headers/index.js +0 -6
- package/app/node_modules/hono/dist/middleware/secure-headers/permissions-policy.js +0 -0
- package/app/node_modules/hono/dist/middleware/secure-headers/secure-headers.js +0 -175
- package/app/node_modules/hono/dist/middleware/serve-static/index.js +0 -77
- package/app/node_modules/hono/dist/middleware/serve-static/path.js +0 -18
- package/app/node_modules/hono/dist/middleware/timeout/index.js +0 -25
- package/app/node_modules/hono/dist/middleware/timing/index.js +0 -9
- package/app/node_modules/hono/dist/middleware/timing/timing.js +0 -104
- package/app/node_modules/hono/dist/middleware/trailing-slash/index.js +0 -39
- package/app/node_modules/hono/dist/preset/quick.js +0 -16
- package/app/node_modules/hono/dist/preset/tiny.js +0 -12
- package/app/node_modules/hono/dist/request/constants.js +0 -5
- package/app/node_modules/hono/dist/request.js +0 -319
- package/app/node_modules/hono/dist/router/linear-router/index.js +0 -5
- package/app/node_modules/hono/dist/router/linear-router/router.js +0 -118
- package/app/node_modules/hono/dist/router/pattern-router/index.js +0 -5
- package/app/node_modules/hono/dist/router/pattern-router/router.js +0 -48
- package/app/node_modules/hono/dist/router/reg-exp-router/index.js +0 -9
- package/app/node_modules/hono/dist/router/reg-exp-router/matcher.js +0 -25
- package/app/node_modules/hono/dist/router/reg-exp-router/node.js +0 -110
- package/app/node_modules/hono/dist/router/reg-exp-router/prepared-router.js +0 -142
- package/app/node_modules/hono/dist/router/reg-exp-router/router.js +0 -169
- package/app/node_modules/hono/dist/router/reg-exp-router/trie.js +0 -67
- package/app/node_modules/hono/dist/router/smart-router/index.js +0 -5
- package/app/node_modules/hono/dist/router/smart-router/router.js +0 -58
- package/app/node_modules/hono/dist/router/trie-router/index.js +0 -5
- package/app/node_modules/hono/dist/router/trie-router/node.js +0 -188
- package/app/node_modules/hono/dist/router/trie-router/router.js +0 -26
- package/app/node_modules/hono/dist/router.js +0 -14
- package/app/node_modules/hono/dist/types/adapter/aws-lambda/conninfo.d.ts +0 -27
- package/app/node_modules/hono/dist/types/adapter/aws-lambda/handler.d.ts +0 -184
- package/app/node_modules/hono/dist/types/adapter/aws-lambda/index.d.ts +0 -8
- package/app/node_modules/hono/dist/types/adapter/aws-lambda/types.d.ts +0 -153
- package/app/node_modules/hono/dist/types/adapter/bun/conninfo.d.ts +0 -7
- package/app/node_modules/hono/dist/types/adapter/bun/index.d.ts +0 -10
- package/app/node_modules/hono/dist/types/adapter/bun/serve-static.d.ts +0 -3
- package/app/node_modules/hono/dist/types/adapter/bun/server.d.ts +0 -12
- package/app/node_modules/hono/dist/types/adapter/bun/ssg.d.ts +0 -13
- package/app/node_modules/hono/dist/types/adapter/bun/websocket.d.ts +0 -39
- package/app/node_modules/hono/dist/types/adapter/cloudflare-pages/conninfo.d.ts +0 -21
- package/app/node_modules/hono/dist/types/adapter/cloudflare-pages/handler.d.ts +0 -33
- package/app/node_modules/hono/dist/types/adapter/cloudflare-pages/index.d.ts +0 -7
- package/app/node_modules/hono/dist/types/adapter/cloudflare-workers/conninfo.d.ts +0 -2
- package/app/node_modules/hono/dist/types/adapter/cloudflare-workers/index.d.ts +0 -7
- package/app/node_modules/hono/dist/types/adapter/cloudflare-workers/serve-static-module.d.ts +0 -4
- package/app/node_modules/hono/dist/types/adapter/cloudflare-workers/serve-static.d.ts +0 -16
- package/app/node_modules/hono/dist/types/adapter/cloudflare-workers/utils.d.ts +0 -5
- package/app/node_modules/hono/dist/types/adapter/cloudflare-workers/websocket.d.ts +0 -2
- package/app/node_modules/hono/dist/types/adapter/deno/conninfo.d.ts +0 -7
- package/app/node_modules/hono/dist/types/adapter/deno/index.d.ts +0 -8
- package/app/node_modules/hono/dist/types/adapter/deno/serve-static.d.ts +0 -3
- package/app/node_modules/hono/dist/types/adapter/deno/ssg.d.ts +0 -13
- package/app/node_modules/hono/dist/types/adapter/deno/websocket.d.ts +0 -2
- package/app/node_modules/hono/dist/types/adapter/lambda-edge/conninfo.d.ts +0 -2
- package/app/node_modules/hono/dist/types/adapter/lambda-edge/handler.d.ts +0 -87
- package/app/node_modules/hono/dist/types/adapter/lambda-edge/index.d.ts +0 -7
- package/app/node_modules/hono/dist/types/adapter/netlify/conninfo.d.ts +0 -21
- package/app/node_modules/hono/dist/types/adapter/netlify/handler.d.ts +0 -2
- package/app/node_modules/hono/dist/types/adapter/netlify/index.d.ts +0 -5
- package/app/node_modules/hono/dist/types/adapter/netlify/mod.d.ts +0 -2
- package/app/node_modules/hono/dist/types/adapter/service-worker/handler.d.ts +0 -16
- package/app/node_modules/hono/dist/types/adapter/service-worker/index.d.ts +0 -28
- package/app/node_modules/hono/dist/types/adapter/service-worker/types.d.ts +0 -12
- package/app/node_modules/hono/dist/types/adapter/vercel/conninfo.d.ts +0 -2
- package/app/node_modules/hono/dist/types/adapter/vercel/handler.d.ts +0 -2
- package/app/node_modules/hono/dist/types/adapter/vercel/index.d.ts +0 -6
- package/app/node_modules/hono/dist/types/client/client.d.ts +0 -4
- package/app/node_modules/hono/dist/types/client/fetch-result-please.d.ts +0 -35
- package/app/node_modules/hono/dist/types/client/index.d.ts +0 -7
- package/app/node_modules/hono/dist/types/client/types.d.ts +0 -229
- package/app/node_modules/hono/dist/types/client/utils.d.ts +0 -18
- package/app/node_modules/hono/dist/types/compose.d.ts +0 -14
- package/app/node_modules/hono/dist/types/context.d.ts +0 -455
- package/app/node_modules/hono/dist/types/helper/accepts/accepts.d.ts +0 -30
- package/app/node_modules/hono/dist/types/helper/accepts/index.d.ts +0 -5
- package/app/node_modules/hono/dist/types/helper/adapter/index.d.ts +0 -12
- package/app/node_modules/hono/dist/types/helper/conninfo/index.d.ts +0 -5
- package/app/node_modules/hono/dist/types/helper/conninfo/types.d.ts +0 -36
- package/app/node_modules/hono/dist/types/helper/cookie/index.d.ts +0 -24
- package/app/node_modules/hono/dist/types/helper/css/common.d.ts +0 -59
- package/app/node_modules/hono/dist/types/helper/css/index.d.ts +0 -80
- package/app/node_modules/hono/dist/types/helper/dev/index.d.ts +0 -20
- package/app/node_modules/hono/dist/types/helper/factory/index.d.ts +0 -82
- package/app/node_modules/hono/dist/types/helper/html/index.d.ts +0 -8
- package/app/node_modules/hono/dist/types/helper/proxy/index.d.ts +0 -72
- package/app/node_modules/hono/dist/types/helper/route/index.d.ts +0 -75
- package/app/node_modules/hono/dist/types/helper/ssg/index.d.ts +0 -7
- package/app/node_modules/hono/dist/types/helper/ssg/middleware.d.ts +0 -44
- package/app/node_modules/hono/dist/types/helper/ssg/plugins.d.ts +0 -27
- package/app/node_modules/hono/dist/types/helper/ssg/ssg.d.ts +0 -91
- package/app/node_modules/hono/dist/types/helper/ssg/utils.d.ts +0 -16
- package/app/node_modules/hono/dist/types/helper/streaming/index.d.ts +0 -8
- package/app/node_modules/hono/dist/types/helper/streaming/sse.d.ts +0 -13
- package/app/node_modules/hono/dist/types/helper/streaming/stream.d.ts +0 -3
- package/app/node_modules/hono/dist/types/helper/streaming/text.d.ts +0 -3
- package/app/node_modules/hono/dist/types/helper/streaming/utils.d.ts +0 -1
- package/app/node_modules/hono/dist/types/helper/testing/index.d.ts +0 -12
- package/app/node_modules/hono/dist/types/helper/websocket/index.d.ts +0 -69
- package/app/node_modules/hono/dist/types/hono-base.d.ts +0 -221
- package/app/node_modules/hono/dist/types/hono.d.ts +0 -19
- package/app/node_modules/hono/dist/types/http-exception.d.ts +0 -59
- package/app/node_modules/hono/dist/types/index.d.ts +0 -37
- package/app/node_modules/hono/dist/types/jsx/base.d.ts +0 -58
- package/app/node_modules/hono/dist/types/jsx/children.d.ts +0 -9
- package/app/node_modules/hono/dist/types/jsx/components.d.ts +0 -15
- package/app/node_modules/hono/dist/types/jsx/constants.d.ts +0 -6
- package/app/node_modules/hono/dist/types/jsx/context.d.ts +0 -51
- package/app/node_modules/hono/dist/types/jsx/dom/client.d.ts +0 -31
- package/app/node_modules/hono/dist/types/jsx/dom/components.d.ts +0 -10
- package/app/node_modules/hono/dist/types/jsx/dom/context.d.ts +0 -3
- package/app/node_modules/hono/dist/types/jsx/dom/css.d.ts +0 -83
- package/app/node_modules/hono/dist/types/jsx/dom/hooks/index.d.ts +0 -39
- package/app/node_modules/hono/dist/types/jsx/dom/index.d.ts +0 -88
- package/app/node_modules/hono/dist/types/jsx/dom/intrinsic-element/components.d.ts +0 -16
- package/app/node_modules/hono/dist/types/jsx/dom/jsx-dev-runtime.d.ts +0 -8
- package/app/node_modules/hono/dist/types/jsx/dom/jsx-runtime.d.ts +0 -7
- package/app/node_modules/hono/dist/types/jsx/dom/render.d.ts +0 -73
- package/app/node_modules/hono/dist/types/jsx/dom/server.d.ts +0 -106
- package/app/node_modules/hono/dist/types/jsx/dom/utils.d.ts +0 -1
- package/app/node_modules/hono/dist/types/jsx/hooks/index.d.ts +0 -47
- package/app/node_modules/hono/dist/types/jsx/index.d.ts +0 -75
- package/app/node_modules/hono/dist/types/jsx/intrinsic-element/common.d.ts +0 -6
- package/app/node_modules/hono/dist/types/jsx/intrinsic-element/components.d.ts +0 -13
- package/app/node_modules/hono/dist/types/jsx/intrinsic-elements.d.ts +0 -722
- package/app/node_modules/hono/dist/types/jsx/jsx-dev-runtime.d.ts +0 -8
- package/app/node_modules/hono/dist/types/jsx/jsx-runtime.d.ts +0 -12
- package/app/node_modules/hono/dist/types/jsx/streaming.d.ts +0 -36
- package/app/node_modules/hono/dist/types/jsx/types.d.ts +0 -35
- package/app/node_modules/hono/dist/types/jsx/utils.d.ts +0 -4
- package/app/node_modules/hono/dist/types/middleware/basic-auth/index.d.ts +0 -75
- package/app/node_modules/hono/dist/types/middleware/bearer-auth/index.d.ts +0 -92
- package/app/node_modules/hono/dist/types/middleware/body-limit/index.d.ts +0 -45
- package/app/node_modules/hono/dist/types/middleware/cache/index.d.ts +0 -45
- package/app/node_modules/hono/dist/types/middleware/combine/index.d.ts +0 -85
- package/app/node_modules/hono/dist/types/middleware/compress/index.d.ts +0 -40
- package/app/node_modules/hono/dist/types/middleware/context-storage/index.d.ts +0 -40
- package/app/node_modules/hono/dist/types/middleware/cors/index.d.ts +0 -55
- package/app/node_modules/hono/dist/types/middleware/csrf/index.d.ts +0 -78
- package/app/node_modules/hono/dist/types/middleware/etag/digest.d.ts +0 -1
- package/app/node_modules/hono/dist/types/middleware/etag/index.d.ts +0 -42
- package/app/node_modules/hono/dist/types/middleware/ip-restriction/index.d.ts +0 -67
- package/app/node_modules/hono/dist/types/middleware/jsx-renderer/index.d.ts +0 -77
- package/app/node_modules/hono/dist/types/middleware/jwk/index.d.ts +0 -1
- package/app/node_modules/hono/dist/types/middleware/jwk/jwk.d.ts +0 -56
- package/app/node_modules/hono/dist/types/middleware/jwt/index.d.ts +0 -8
- package/app/node_modules/hono/dist/types/middleware/jwt/jwt.d.ts +0 -69
- package/app/node_modules/hono/dist/types/middleware/language/index.d.ts +0 -7
- package/app/node_modules/hono/dist/types/middleware/language/language.d.ts +0 -120
- package/app/node_modules/hono/dist/types/middleware/logger/index.d.ts +0 -24
- package/app/node_modules/hono/dist/types/middleware/method-not-allowed/index.d.ts +0 -49
- package/app/node_modules/hono/dist/types/middleware/method-override/index.d.ts +0 -48
- package/app/node_modules/hono/dist/types/middleware/powered-by/index.d.ts +0 -29
- package/app/node_modules/hono/dist/types/middleware/pretty-json/index.d.ts +0 -42
- package/app/node_modules/hono/dist/types/middleware/request-id/index.d.ts +0 -7
- package/app/node_modules/hono/dist/types/middleware/request-id/request-id.d.ts +0 -37
- package/app/node_modules/hono/dist/types/middleware/secure-headers/index.d.ts +0 -8
- package/app/node_modules/hono/dist/types/middleware/secure-headers/permissions-policy.d.ts +0 -14
- package/app/node_modules/hono/dist/types/middleware/secure-headers/secure-headers.d.ts +0 -109
- package/app/node_modules/hono/dist/types/middleware/serve-static/index.d.ts +0 -31
- package/app/node_modules/hono/dist/types/middleware/serve-static/path.d.ts +0 -5
- package/app/node_modules/hono/dist/types/middleware/timeout/index.d.ts +0 -31
- package/app/node_modules/hono/dist/types/middleware/timing/index.d.ts +0 -7
- package/app/node_modules/hono/dist/types/middleware/timing/timing.d.ts +0 -129
- package/app/node_modules/hono/dist/types/middleware/trailing-slash/index.d.ts +0 -94
- package/app/node_modules/hono/dist/types/package.json +0 -3
- package/app/node_modules/hono/dist/types/preset/quick.d.ts +0 -10
- package/app/node_modules/hono/dist/types/preset/tiny.d.ts +0 -10
- package/app/node_modules/hono/dist/types/request/constants.d.ts +0 -1
- package/app/node_modules/hono/dist/types/request.d.ts +0 -324
- package/app/node_modules/hono/dist/types/router/linear-router/index.d.ts +0 -5
- package/app/node_modules/hono/dist/types/router/linear-router/router.d.ts +0 -7
- package/app/node_modules/hono/dist/types/router/pattern-router/index.d.ts +0 -5
- package/app/node_modules/hono/dist/types/router/pattern-router/router.d.ts +0 -7
- package/app/node_modules/hono/dist/types/router/reg-exp-router/index.d.ts +0 -6
- package/app/node_modules/hono/dist/types/router/reg-exp-router/matcher.d.ts +0 -7
- package/app/node_modules/hono/dist/types/router/reg-exp-router/node.d.ts +0 -10
- package/app/node_modules/hono/dist/types/router/reg-exp-router/prepared-router.d.ts +0 -17
- package/app/node_modules/hono/dist/types/router/reg-exp-router/router.d.ts +0 -11
- package/app/node_modules/hono/dist/types/router/reg-exp-router/trie.d.ts +0 -8
- package/app/node_modules/hono/dist/types/router/smart-router/index.d.ts +0 -5
- package/app/node_modules/hono/dist/types/router/smart-router/router.d.ts +0 -11
- package/app/node_modules/hono/dist/types/router/trie-router/index.d.ts +0 -5
- package/app/node_modules/hono/dist/types/router/trie-router/node.d.ts +0 -7
- package/app/node_modules/hono/dist/types/router/trie-router/router.d.ts +0 -8
- package/app/node_modules/hono/dist/types/router.d.ts +0 -97
- package/app/node_modules/hono/dist/types/types.d.ts +0 -573
- package/app/node_modules/hono/dist/types/utils/accept.d.ts +0 -6
- package/app/node_modules/hono/dist/types/utils/basic-auth.d.ts +0 -5
- package/app/node_modules/hono/dist/types/utils/body.d.ts +0 -79
- package/app/node_modules/hono/dist/types/utils/buffer.d.ts +0 -17
- package/app/node_modules/hono/dist/types/utils/color.d.ts +0 -21
- package/app/node_modules/hono/dist/types/utils/compress.d.ts +0 -8
- package/app/node_modules/hono/dist/types/utils/concurrent.d.ts +0 -11
- package/app/node_modules/hono/dist/types/utils/constants.d.ts +0 -4
- package/app/node_modules/hono/dist/types/utils/cookie.d.ts +0 -40
- package/app/node_modules/hono/dist/types/utils/crypto.d.ts +0 -15
- package/app/node_modules/hono/dist/types/utils/encode.d.ts +0 -8
- package/app/node_modules/hono/dist/types/utils/filepath.d.ts +0 -12
- package/app/node_modules/hono/dist/types/utils/handler.d.ts +0 -6
- package/app/node_modules/hono/dist/types/utils/headers.d.ts +0 -8
- package/app/node_modules/hono/dist/types/utils/html.d.ts +0 -44
- package/app/node_modules/hono/dist/types/utils/http-status.d.ts +0 -32
- package/app/node_modules/hono/dist/types/utils/ipaddr.d.ts +0 -56
- package/app/node_modules/hono/dist/types/utils/jwt/index.d.ts +0 -18
- package/app/node_modules/hono/dist/types/utils/jwt/jwa.d.ts +0 -23
- package/app/node_modules/hono/dist/types/utils/jwt/jws.d.ts +0 -12
- package/app/node_modules/hono/dist/types/utils/jwt/jwt.d.ts +0 -43
- package/app/node_modules/hono/dist/types/utils/jwt/types.d.ts +0 -86
- package/app/node_modules/hono/dist/types/utils/jwt/utf8.d.ts +0 -6
- package/app/node_modules/hono/dist/types/utils/mime.d.ts +0 -70
- package/app/node_modules/hono/dist/types/utils/stream.d.ts +0 -31
- package/app/node_modules/hono/dist/types/utils/types.d.ts +0 -74
- package/app/node_modules/hono/dist/types/utils/url.d.ts +0 -40
- package/app/node_modules/hono/dist/types/validator/index.d.ts +0 -7
- package/app/node_modules/hono/dist/types/validator/utils.d.ts +0 -29
- package/app/node_modules/hono/dist/types/validator/validator.d.ts +0 -16
- package/app/node_modules/hono/dist/types.js +0 -6
- package/app/node_modules/hono/dist/utils/accept.js +0 -223
- package/app/node_modules/hono/dist/utils/basic-auth.js +0 -23
- package/app/node_modules/hono/dist/utils/body.js +0 -89
- package/app/node_modules/hono/dist/utils/buffer.js +0 -78
- package/app/node_modules/hono/dist/utils/color.js +0 -25
- package/app/node_modules/hono/dist/utils/compress.js +0 -5
- package/app/node_modules/hono/dist/utils/concurrent.js +0 -39
- package/app/node_modules/hono/dist/utils/constants.js +0 -5
- package/app/node_modules/hono/dist/utils/cookie.js +0 -174
- package/app/node_modules/hono/dist/utils/crypto.js +0 -44
- package/app/node_modules/hono/dist/utils/encode.js +0 -29
- package/app/node_modules/hono/dist/utils/filepath.js +0 -35
- package/app/node_modules/hono/dist/utils/handler.js +0 -13
- package/app/node_modules/hono/dist/utils/headers.js +0 -0
- package/app/node_modules/hono/dist/utils/html.js +0 -123
- package/app/node_modules/hono/dist/utils/http-status.js +0 -0
- package/app/node_modules/hono/dist/utils/ipaddr.js +0 -288
- package/app/node_modules/hono/dist/utils/jwt/index.js +0 -6
- package/app/node_modules/hono/dist/utils/jwt/jwa.js +0 -20
- package/app/node_modules/hono/dist/utils/jwt/jws.js +0 -192
- package/app/node_modules/hono/dist/utils/jwt/jwt.js +0 -207
- package/app/node_modules/hono/dist/utils/jwt/types.js +0 -124
- package/app/node_modules/hono/dist/utils/jwt/utf8.js +0 -7
- package/app/node_modules/hono/dist/utils/mime.js +0 -82
- package/app/node_modules/hono/dist/utils/stream.js +0 -84
- package/app/node_modules/hono/dist/utils/types.js +0 -0
- package/app/node_modules/hono/dist/utils/url.js +0 -221
- package/app/node_modules/hono/dist/validator/index.js +0 -5
- package/app/node_modules/hono/dist/validator/utils.js +0 -0
- package/app/node_modules/hono/dist/validator/validator.js +0 -86
- package/app/node_modules/hono/package.json +0 -706
- package/app/node_modules/http-errors/HISTORY.md +0 -186
- package/app/node_modules/http-errors/LICENSE +0 -23
- package/app/node_modules/http-errors/README.md +0 -169
- package/app/node_modules/http-errors/index.js +0 -290
- package/app/node_modules/http-errors/package.json +0 -54
- package/app/node_modules/iconv-lite/LICENSE +0 -21
- package/app/node_modules/iconv-lite/README.md +0 -138
- package/app/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -532
- package/app/node_modules/iconv-lite/encodings/dbcs-data.js +0 -185
- package/app/node_modules/iconv-lite/encodings/index.js +0 -23
- package/app/node_modules/iconv-lite/encodings/internal.js +0 -218
- package/app/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -75
- package/app/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
- package/app/node_modules/iconv-lite/encodings/sbcs-data.js +0 -180
- package/app/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
- package/app/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
- package/app/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
- package/app/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
- package/app/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
- package/app/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
- package/app/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -56
- package/app/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
- package/app/node_modules/iconv-lite/encodings/utf16.js +0 -187
- package/app/node_modules/iconv-lite/encodings/utf32.js +0 -314
- package/app/node_modules/iconv-lite/encodings/utf7.js +0 -283
- package/app/node_modules/iconv-lite/lib/bom-handling.js +0 -48
- package/app/node_modules/iconv-lite/lib/helpers/merge-exports.js +0 -13
- package/app/node_modules/iconv-lite/lib/index.d.ts +0 -129
- package/app/node_modules/iconv-lite/lib/index.js +0 -182
- package/app/node_modules/iconv-lite/lib/streams.js +0 -105
- package/app/node_modules/iconv-lite/package.json +0 -70
- package/app/node_modules/iconv-lite/types/encodings.d.ts +0 -425
- package/app/node_modules/inherits/LICENSE +0 -16
- package/app/node_modules/inherits/README.md +0 -42
- package/app/node_modules/inherits/inherits.js +0 -9
- package/app/node_modules/inherits/inherits_browser.js +0 -27
- package/app/node_modules/inherits/package.json +0 -29
- package/app/node_modules/ip-address/LICENSE +0 -19
- package/app/node_modules/ip-address/README.md +0 -298
- package/app/node_modules/ip-address/dist/address-error.d.ts +0 -15
- package/app/node_modules/ip-address/dist/address-error.js +0 -12
- package/app/node_modules/ip-address/dist/common.d.ts +0 -49
- package/app/node_modules/ip-address/dist/common.js +0 -106
- package/app/node_modules/ip-address/dist/ip-address.d.ts +0 -7
- package/app/node_modules/ip-address/dist/ip-address.js +0 -35
- package/app/node_modules/ip-address/dist/ipv4.d.ts +0 -290
- package/app/node_modules/ip-address/dist/ipv4.js +0 -505
- package/app/node_modules/ip-address/dist/ipv6.d.ts +0 -561
- package/app/node_modules/ip-address/dist/ipv6.js +0 -1353
- package/app/node_modules/ip-address/dist/v4/constants.d.ts +0 -4
- package/app/node_modules/ip-address/dist/v4/constants.js +0 -12
- package/app/node_modules/ip-address/dist/v6/constants.d.ts +0 -44
- package/app/node_modules/ip-address/dist/v6/constants.js +0 -82
- package/app/node_modules/ip-address/dist/v6/helpers.d.ts +0 -18
- package/app/node_modules/ip-address/dist/v6/helpers.js +0 -54
- package/app/node_modules/ip-address/dist/v6/regular-expressions.d.ts +0 -5
- package/app/node_modules/ip-address/dist/v6/regular-expressions.js +0 -95
- package/app/node_modules/ip-address/package.json +0 -90
- package/app/node_modules/ipaddr.js/LICENSE +0 -19
- package/app/node_modules/ipaddr.js/README.md +0 -233
- package/app/node_modules/ipaddr.js/ipaddr.min.js +0 -1
- package/app/node_modules/ipaddr.js/lib/ipaddr.js +0 -673
- package/app/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +0 -68
- package/app/node_modules/ipaddr.js/package.json +0 -35
- package/app/node_modules/is-promise/LICENSE +0 -19
- package/app/node_modules/is-promise/index.d.ts +0 -2
- package/app/node_modules/is-promise/index.js +0 -6
- package/app/node_modules/is-promise/index.mjs +0 -3
- package/app/node_modules/is-promise/package.json +0 -30
- package/app/node_modules/is-promise/readme.md +0 -33
- package/app/node_modules/isexe/LICENSE +0 -15
- package/app/node_modules/isexe/README.md +0 -51
- package/app/node_modules/isexe/index.js +0 -57
- package/app/node_modules/isexe/mode.js +0 -41
- package/app/node_modules/isexe/package.json +0 -31
- package/app/node_modules/isexe/test/basic.js +0 -221
- package/app/node_modules/isexe/windows.js +0 -42
- package/app/node_modules/jose/LICENSE.md +0 -21
- package/app/node_modules/jose/README.md +0 -150
- package/app/node_modules/jose/dist/types/index.d.ts +0 -56
- package/app/node_modules/jose/dist/types/jwe/compact/decrypt.d.ts +0 -37
- package/app/node_modules/jose/dist/types/jwe/compact/encrypt.d.ts +0 -53
- package/app/node_modules/jose/dist/types/jwe/flattened/decrypt.d.ts +0 -37
- package/app/node_modules/jose/dist/types/jwe/flattened/encrypt.d.ts +0 -71
- package/app/node_modules/jose/dist/types/jwe/general/decrypt.d.ts +0 -43
- package/app/node_modules/jose/dist/types/jwe/general/encrypt.d.ts +0 -73
- package/app/node_modules/jose/dist/types/jwk/embedded.d.ts +0 -13
- package/app/node_modules/jose/dist/types/jwk/thumbprint.d.ts +0 -17
- package/app/node_modules/jose/dist/types/jwks/local.d.ts +0 -20
- package/app/node_modules/jose/dist/types/jwks/remote.d.ts +0 -106
- package/app/node_modules/jose/dist/types/jws/compact/sign.d.ts +0 -25
- package/app/node_modules/jose/dist/types/jws/compact/verify.d.ts +0 -37
- package/app/node_modules/jose/dist/types/jws/flattened/sign.d.ts +0 -31
- package/app/node_modules/jose/dist/types/jws/flattened/verify.d.ts +0 -37
- package/app/node_modules/jose/dist/types/jws/general/sign.d.ts +0 -52
- package/app/node_modules/jose/dist/types/jws/general/verify.d.ts +0 -44
- package/app/node_modules/jose/dist/types/jwt/decrypt.d.ts +0 -41
- package/app/node_modules/jose/dist/types/jwt/encrypt.d.ts +0 -67
- package/app/node_modules/jose/dist/types/jwt/sign.d.ts +0 -32
- package/app/node_modules/jose/dist/types/jwt/unsecured.d.ts +0 -34
- package/app/node_modules/jose/dist/types/jwt/verify.d.ts +0 -38
- package/app/node_modules/jose/dist/types/key/export.d.ts +0 -19
- package/app/node_modules/jose/dist/types/key/generate_key_pair.d.ts +0 -40
- package/app/node_modules/jose/dist/types/key/generate_secret.d.ts +0 -37
- package/app/node_modules/jose/dist/types/key/import.d.ts +0 -73
- package/app/node_modules/jose/dist/types/types.d.ts +0 -869
- package/app/node_modules/jose/dist/types/util/base64url.d.ts +0 -16
- package/app/node_modules/jose/dist/types/util/decode_jwt.d.ts +0 -10
- package/app/node_modules/jose/dist/types/util/decode_protected_header.d.ts +0 -9
- package/app/node_modules/jose/dist/types/util/errors.d.ts +0 -220
- package/app/node_modules/jose/dist/webapi/index.js +0 -32
- package/app/node_modules/jose/dist/webapi/jwe/compact/decrypt.js +0 -9
- package/app/node_modules/jose/dist/webapi/jwe/compact/encrypt.js +0 -27
- package/app/node_modules/jose/dist/webapi/jwe/flattened/decrypt.js +0 -11
- package/app/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js +0 -72
- package/app/node_modules/jose/dist/webapi/jwe/general/decrypt.js +0 -51
- package/app/node_modules/jose/dist/webapi/jwe/general/encrypt.js +0 -166
- package/app/node_modules/jose/dist/webapi/jwk/embedded.js +0 -19
- package/app/node_modules/jose/dist/webapi/jwk/thumbprint.js +0 -68
- package/app/node_modules/jose/dist/webapi/jwks/local.js +0 -78
- package/app/node_modules/jose/dist/webapi/jwks/remote.js +0 -170
- package/app/node_modules/jose/dist/webapi/jws/compact/sign.js +0 -21
- package/app/node_modules/jose/dist/webapi/jws/compact/verify.js +0 -9
- package/app/node_modules/jose/dist/webapi/jws/flattened/sign.js +0 -31
- package/app/node_modules/jose/dist/webapi/jws/flattened/verify.js +0 -24
- package/app/node_modules/jose/dist/webapi/jws/general/sign.js +0 -74
- package/app/node_modules/jose/dist/webapi/jws/general/verify.js +0 -44
- package/app/node_modules/jose/dist/webapi/jwt/decrypt.js +0 -23
- package/app/node_modules/jose/dist/webapi/jwt/encrypt.js +0 -101
- package/app/node_modules/jose/dist/webapi/jwt/sign.js +0 -51
- package/app/node_modules/jose/dist/webapi/jwt/unsecured.js +0 -64
- package/app/node_modules/jose/dist/webapi/jwt/verify.js +0 -15
- package/app/node_modules/jose/dist/webapi/key/export.js +0 -44
- package/app/node_modules/jose/dist/webapi/key/generate_key_pair.js +0 -48
- package/app/node_modules/jose/dist/webapi/key/generate_secret.js +0 -40
- package/app/node_modules/jose/dist/webapi/key/import.js +0 -57
- package/app/node_modules/jose/dist/webapi/lib/asn1.js +0 -174
- package/app/node_modules/jose/dist/webapi/lib/base64.js +0 -22
- package/app/node_modules/jose/dist/webapi/lib/buffer_utils.js +0 -44
- package/app/node_modules/jose/dist/webapi/lib/content_encryption.js +0 -142
- package/app/node_modules/jose/dist/webapi/lib/crypto_key.js +0 -28
- package/app/node_modules/jose/dist/webapi/lib/deflate.js +0 -44
- package/app/node_modules/jose/dist/webapi/lib/helpers.js +0 -42
- package/app/node_modules/jose/dist/webapi/lib/invalid_key_input.js +0 -26
- package/app/node_modules/jose/dist/webapi/lib/is_key_like.js +0 -17
- package/app/node_modules/jose/dist/webapi/lib/jwe_algorithms.js +0 -107
- package/app/node_modules/jose/dist/webapi/lib/jwe_decrypt.js +0 -186
- package/app/node_modules/jose/dist/webapi/lib/jwe_encrypt.js +0 -110
- package/app/node_modules/jose/dist/webapi/lib/jwk_to_key.js +0 -17
- package/app/node_modules/jose/dist/webapi/lib/jws_algorithms.js +0 -73
- package/app/node_modules/jose/dist/webapi/lib/jws_sign.js +0 -74
- package/app/node_modules/jose/dist/webapi/lib/jws_verify.js +0 -107
- package/app/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +0 -197
- package/app/node_modules/jose/dist/webapi/lib/key.js +0 -132
- package/app/node_modules/jose/dist/webapi/lib/key_algorithm.js +0 -10
- package/app/node_modules/jose/dist/webapi/lib/key_descriptor.js +0 -7
- package/app/node_modules/jose/dist/webapi/lib/key_management.js +0 -256
- package/app/node_modules/jose/dist/webapi/lib/options.js +0 -48
- package/app/node_modules/jose/dist/webapi/lib/signing.js +0 -26
- package/app/node_modules/jose/dist/webapi/lib/type_checks.js +0 -35
- package/app/node_modules/jose/dist/webapi/util/base64url.js +0 -39
- package/app/node_modules/jose/dist/webapi/util/decode_jwt.js +0 -32
- package/app/node_modules/jose/dist/webapi/util/decode_protected_header.js +0 -24
- package/app/node_modules/jose/dist/webapi/util/errors.js +0 -99
- package/app/node_modules/jose/package.json +0 -198
- package/app/node_modules/json-schema-traverse/.eslintrc.yml +0 -27
- package/app/node_modules/json-schema-traverse/.github/FUNDING.yml +0 -2
- package/app/node_modules/json-schema-traverse/.github/workflows/build.yml +0 -28
- package/app/node_modules/json-schema-traverse/.github/workflows/publish.yml +0 -27
- package/app/node_modules/json-schema-traverse/LICENSE +0 -21
- package/app/node_modules/json-schema-traverse/README.md +0 -95
- package/app/node_modules/json-schema-traverse/index.d.ts +0 -40
- package/app/node_modules/json-schema-traverse/index.js +0 -93
- package/app/node_modules/json-schema-traverse/package.json +0 -43
- package/app/node_modules/json-schema-traverse/spec/.eslintrc.yml +0 -6
- package/app/node_modules/json-schema-traverse/spec/fixtures/schema.js +0 -125
- package/app/node_modules/json-schema-traverse/spec/index.spec.js +0 -171
- package/app/node_modules/json-schema-typed/LICENSE.md +0 -57
- package/app/node_modules/json-schema-typed/README.md +0 -108
- package/app/node_modules/json-schema-typed/draft_07.d.ts +0 -882
- package/app/node_modules/json-schema-typed/draft_07.js +0 -328
- package/app/node_modules/json-schema-typed/draft_2019_09.d.ts +0 -1247
- package/app/node_modules/json-schema-typed/draft_2019_09.js +0 -349
- package/app/node_modules/json-schema-typed/draft_2020_12.d.ts +0 -1239
- package/app/node_modules/json-schema-typed/draft_2020_12.js +0 -352
- package/app/node_modules/json-schema-typed/package.json +0 -44
- package/app/node_modules/math-intrinsics/.eslintrc +0 -16
- package/app/node_modules/math-intrinsics/.github/FUNDING.yml +0 -12
- package/app/node_modules/math-intrinsics/CHANGELOG.md +0 -24
- package/app/node_modules/math-intrinsics/LICENSE +0 -21
- package/app/node_modules/math-intrinsics/README.md +0 -50
- package/app/node_modules/math-intrinsics/abs.d.ts +0 -1
- package/app/node_modules/math-intrinsics/abs.js +0 -4
- package/app/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +0 -3
- package/app/node_modules/math-intrinsics/constants/maxArrayLength.js +0 -4
- package/app/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +0 -3
- package/app/node_modules/math-intrinsics/constants/maxSafeInteger.js +0 -5
- package/app/node_modules/math-intrinsics/constants/maxValue.d.ts +0 -3
- package/app/node_modules/math-intrinsics/constants/maxValue.js +0 -5
- package/app/node_modules/math-intrinsics/floor.d.ts +0 -1
- package/app/node_modules/math-intrinsics/floor.js +0 -4
- package/app/node_modules/math-intrinsics/isFinite.d.ts +0 -3
- package/app/node_modules/math-intrinsics/isFinite.js +0 -12
- package/app/node_modules/math-intrinsics/isInteger.d.ts +0 -3
- package/app/node_modules/math-intrinsics/isInteger.js +0 -16
- package/app/node_modules/math-intrinsics/isNaN.d.ts +0 -1
- package/app/node_modules/math-intrinsics/isNaN.js +0 -6
- package/app/node_modules/math-intrinsics/isNegativeZero.d.ts +0 -3
- package/app/node_modules/math-intrinsics/isNegativeZero.js +0 -6
- package/app/node_modules/math-intrinsics/max.d.ts +0 -1
- package/app/node_modules/math-intrinsics/max.js +0 -4
- package/app/node_modules/math-intrinsics/min.d.ts +0 -1
- package/app/node_modules/math-intrinsics/min.js +0 -4
- package/app/node_modules/math-intrinsics/mod.d.ts +0 -3
- package/app/node_modules/math-intrinsics/mod.js +0 -9
- package/app/node_modules/math-intrinsics/package.json +0 -86
- package/app/node_modules/math-intrinsics/pow.d.ts +0 -1
- package/app/node_modules/math-intrinsics/pow.js +0 -4
- package/app/node_modules/math-intrinsics/round.d.ts +0 -1
- package/app/node_modules/math-intrinsics/round.js +0 -4
- package/app/node_modules/math-intrinsics/sign.d.ts +0 -3
- package/app/node_modules/math-intrinsics/sign.js +0 -11
- package/app/node_modules/math-intrinsics/test/index.js +0 -192
- package/app/node_modules/math-intrinsics/tsconfig.json +0 -3
- package/app/node_modules/media-typer/HISTORY.md +0 -50
- package/app/node_modules/media-typer/LICENSE +0 -22
- package/app/node_modules/media-typer/README.md +0 -94
- package/app/node_modules/media-typer/index.js +0 -135
- package/app/node_modules/media-typer/package.json +0 -37
- package/app/node_modules/merge-descriptors/index.d.ts +0 -11
- package/app/node_modules/merge-descriptors/index.js +0 -26
- package/app/node_modules/merge-descriptors/license +0 -11
- package/app/node_modules/merge-descriptors/package.json +0 -50
- package/app/node_modules/merge-descriptors/readme.md +0 -55
- package/app/node_modules/mime-db/HISTORY.md +0 -541
- package/app/node_modules/mime-db/LICENSE +0 -23
- package/app/node_modules/mime-db/README.md +0 -109
- package/app/node_modules/mime-db/db.json +0 -9342
- package/app/node_modules/mime-db/index.js +0 -12
- package/app/node_modules/mime-db/package.json +0 -56
- package/app/node_modules/mime-types/HISTORY.md +0 -428
- package/app/node_modules/mime-types/LICENSE +0 -23
- package/app/node_modules/mime-types/README.md +0 -126
- package/app/node_modules/mime-types/index.js +0 -211
- package/app/node_modules/mime-types/mimeScore.js +0 -57
- package/app/node_modules/mime-types/package.json +0 -49
- package/app/node_modules/ms/index.js +0 -162
- package/app/node_modules/ms/license.md +0 -21
- package/app/node_modules/ms/package.json +0 -38
- package/app/node_modules/ms/readme.md +0 -59
- package/app/node_modules/negotiator/HISTORY.md +0 -114
- package/app/node_modules/negotiator/LICENSE +0 -24
- package/app/node_modules/negotiator/README.md +0 -212
- package/app/node_modules/negotiator/index.js +0 -83
- package/app/node_modules/negotiator/lib/charset.js +0 -169
- package/app/node_modules/negotiator/lib/encoding.js +0 -205
- package/app/node_modules/negotiator/lib/language.js +0 -179
- package/app/node_modules/negotiator/lib/mediaType.js +0 -294
- package/app/node_modules/negotiator/package.json +0 -43
- package/app/node_modules/object-assign/index.js +0 -90
- package/app/node_modules/object-assign/license +0 -21
- package/app/node_modules/object-assign/package.json +0 -42
- package/app/node_modules/object-assign/readme.md +0 -61
- package/app/node_modules/object-inspect/.eslintrc +0 -53
- package/app/node_modules/object-inspect/.github/FUNDING.yml +0 -12
- package/app/node_modules/object-inspect/.nycrc +0 -13
- package/app/node_modules/object-inspect/CHANGELOG.md +0 -424
- package/app/node_modules/object-inspect/LICENSE +0 -21
- package/app/node_modules/object-inspect/example/all.js +0 -23
- package/app/node_modules/object-inspect/example/circular.js +0 -6
- package/app/node_modules/object-inspect/example/fn.js +0 -5
- package/app/node_modules/object-inspect/example/inspect.js +0 -10
- package/app/node_modules/object-inspect/index.js +0 -544
- package/app/node_modules/object-inspect/package-support.json +0 -20
- package/app/node_modules/object-inspect/package.json +0 -105
- package/app/node_modules/object-inspect/readme.markdown +0 -84
- package/app/node_modules/object-inspect/test/bigint.js +0 -58
- package/app/node_modules/object-inspect/test/browser/dom.js +0 -15
- package/app/node_modules/object-inspect/test/circular.js +0 -16
- package/app/node_modules/object-inspect/test/deep.js +0 -12
- package/app/node_modules/object-inspect/test/element.js +0 -53
- package/app/node_modules/object-inspect/test/err.js +0 -48
- package/app/node_modules/object-inspect/test/fakes.js +0 -29
- package/app/node_modules/object-inspect/test/fn.js +0 -76
- package/app/node_modules/object-inspect/test/global.js +0 -17
- package/app/node_modules/object-inspect/test/has.js +0 -15
- package/app/node_modules/object-inspect/test/holes.js +0 -15
- package/app/node_modules/object-inspect/test/indent-option.js +0 -271
- package/app/node_modules/object-inspect/test/inspect.js +0 -139
- package/app/node_modules/object-inspect/test/lowbyte.js +0 -12
- package/app/node_modules/object-inspect/test/number.js +0 -58
- package/app/node_modules/object-inspect/test/quoteStyle.js +0 -26
- package/app/node_modules/object-inspect/test/toStringTag.js +0 -40
- package/app/node_modules/object-inspect/test/undef.js +0 -12
- package/app/node_modules/object-inspect/test/values.js +0 -261
- package/app/node_modules/object-inspect/test-core-js.js +0 -26
- package/app/node_modules/object-inspect/util.inspect.js +0 -1
- package/app/node_modules/on-finished/HISTORY.md +0 -98
- package/app/node_modules/on-finished/LICENSE +0 -23
- package/app/node_modules/on-finished/README.md +0 -162
- package/app/node_modules/on-finished/index.js +0 -234
- package/app/node_modules/on-finished/package.json +0 -39
- package/app/node_modules/once/LICENSE +0 -15
- package/app/node_modules/once/README.md +0 -79
- package/app/node_modules/once/once.js +0 -42
- package/app/node_modules/once/package.json +0 -33
- package/app/node_modules/parseurl/HISTORY.md +0 -58
- package/app/node_modules/parseurl/LICENSE +0 -24
- package/app/node_modules/parseurl/README.md +0 -133
- package/app/node_modules/parseurl/index.js +0 -158
- package/app/node_modules/parseurl/package.json +0 -40
- package/app/node_modules/path-key/index.d.ts +0 -40
- package/app/node_modules/path-key/index.js +0 -16
- package/app/node_modules/path-key/license +0 -9
- package/app/node_modules/path-key/package.json +0 -39
- package/app/node_modules/path-key/readme.md +0 -61
- package/app/node_modules/path-to-regexp/LICENSE +0 -21
- package/app/node_modules/path-to-regexp/Readme.md +0 -224
- package/app/node_modules/path-to-regexp/dist/index.d.ts +0 -147
- package/app/node_modules/path-to-regexp/dist/index.js +0 -431
- package/app/node_modules/path-to-regexp/package.json +0 -64
- package/app/node_modules/pkce-challenge/CHANGELOG.md +0 -114
- package/app/node_modules/pkce-challenge/LICENSE +0 -21
- package/app/node_modules/pkce-challenge/README.md +0 -55
- package/app/node_modules/pkce-challenge/dist/index.browser.d.ts +0 -19
- package/app/node_modules/pkce-challenge/dist/index.browser.js +0 -75
- package/app/node_modules/pkce-challenge/dist/index.node.cjs +0 -83
- package/app/node_modules/pkce-challenge/dist/index.node.d.cts +0 -19
- package/app/node_modules/pkce-challenge/dist/index.node.d.ts +0 -19
- package/app/node_modules/pkce-challenge/dist/index.node.js +0 -78
- package/app/node_modules/pkce-challenge/package.json +0 -59
- package/app/node_modules/proxy-addr/HISTORY.md +0 -161
- package/app/node_modules/proxy-addr/LICENSE +0 -22
- package/app/node_modules/proxy-addr/README.md +0 -139
- package/app/node_modules/proxy-addr/index.js +0 -327
- package/app/node_modules/proxy-addr/package.json +0 -47
- package/app/node_modules/qs/.editorconfig +0 -46
- package/app/node_modules/qs/.github/FUNDING.yml +0 -12
- package/app/node_modules/qs/.github/SECURITY.md +0 -11
- package/app/node_modules/qs/.github/THREAT_MODEL.md +0 -78
- package/app/node_modules/qs/.nycrc +0 -13
- package/app/node_modules/qs/CHANGELOG.md +0 -833
- package/app/node_modules/qs/LICENSE.md +0 -29
- package/app/node_modules/qs/README.md +0 -758
- package/app/node_modules/qs/dist/qs.js +0 -141
- package/app/node_modules/qs/eslint.config.mjs +0 -57
- package/app/node_modules/qs/lib/formats.js +0 -23
- package/app/node_modules/qs/lib/index.js +0 -11
- package/app/node_modules/qs/lib/parse.js +0 -414
- package/app/node_modules/qs/lib/stringify.js +0 -363
- package/app/node_modules/qs/lib/utils.js +0 -381
- package/app/node_modules/qs/package.json +0 -95
- package/app/node_modules/qs/test/empty-keys-cases.js +0 -267
- package/app/node_modules/qs/test/parse.js +0 -1933
- package/app/node_modules/qs/test/stringify.js +0 -1448
- package/app/node_modules/qs/test/utils.js +0 -626
- package/app/node_modules/range-parser/HISTORY.md +0 -56
- package/app/node_modules/range-parser/LICENSE +0 -23
- package/app/node_modules/range-parser/README.md +0 -85
- package/app/node_modules/range-parser/index.js +0 -181
- package/app/node_modules/range-parser/package.json +0 -48
- package/app/node_modules/raw-body/LICENSE +0 -22
- package/app/node_modules/raw-body/README.md +0 -223
- package/app/node_modules/raw-body/index.d.ts +0 -85
- package/app/node_modules/raw-body/index.js +0 -336
- package/app/node_modules/raw-body/package.json +0 -46
- package/app/node_modules/require-from-string/index.js +0 -34
- package/app/node_modules/require-from-string/license +0 -21
- package/app/node_modules/require-from-string/package.json +0 -28
- package/app/node_modules/require-from-string/readme.md +0 -56
- package/app/node_modules/router/HISTORY.md +0 -228
- package/app/node_modules/router/LICENSE +0 -23
- package/app/node_modules/router/README.md +0 -416
- package/app/node_modules/router/index.js +0 -748
- package/app/node_modules/router/lib/layer.js +0 -247
- package/app/node_modules/router/lib/route.js +0 -242
- package/app/node_modules/router/package.json +0 -44
- package/app/node_modules/safer-buffer/LICENSE +0 -21
- package/app/node_modules/safer-buffer/Porting-Buffer.md +0 -268
- package/app/node_modules/safer-buffer/Readme.md +0 -156
- package/app/node_modules/safer-buffer/dangerous.js +0 -58
- package/app/node_modules/safer-buffer/package.json +0 -34
- package/app/node_modules/safer-buffer/safer.js +0 -77
- package/app/node_modules/safer-buffer/tests.js +0 -406
- package/app/node_modules/send/LICENSE +0 -23
- package/app/node_modules/send/README.md +0 -317
- package/app/node_modules/send/index.js +0 -997
- package/app/node_modules/send/package.json +0 -63
- package/app/node_modules/serve-static/LICENSE +0 -25
- package/app/node_modules/serve-static/README.md +0 -253
- package/app/node_modules/serve-static/index.js +0 -208
- package/app/node_modules/serve-static/package.json +0 -44
- package/app/node_modules/setprototypeof/LICENSE +0 -13
- package/app/node_modules/setprototypeof/README.md +0 -31
- package/app/node_modules/setprototypeof/index.d.ts +0 -2
- package/app/node_modules/setprototypeof/index.js +0 -17
- package/app/node_modules/setprototypeof/package.json +0 -38
- package/app/node_modules/setprototypeof/test/index.js +0 -24
- package/app/node_modules/shebang-command/index.js +0 -19
- package/app/node_modules/shebang-command/license +0 -9
- package/app/node_modules/shebang-command/package.json +0 -34
- package/app/node_modules/shebang-command/readme.md +0 -34
- package/app/node_modules/shebang-regex/index.d.ts +0 -22
- package/app/node_modules/shebang-regex/index.js +0 -2
- package/app/node_modules/shebang-regex/license +0 -9
- package/app/node_modules/shebang-regex/package.json +0 -35
- package/app/node_modules/shebang-regex/readme.md +0 -33
- package/app/node_modules/side-channel/.editorconfig +0 -9
- package/app/node_modules/side-channel/.eslintrc +0 -12
- package/app/node_modules/side-channel/.github/FUNDING.yml +0 -12
- package/app/node_modules/side-channel/.nycrc +0 -13
- package/app/node_modules/side-channel/CHANGELOG.md +0 -120
- package/app/node_modules/side-channel/LICENSE +0 -21
- package/app/node_modules/side-channel/README.md +0 -61
- package/app/node_modules/side-channel/index.d.ts +0 -14
- package/app/node_modules/side-channel/index.js +0 -46
- package/app/node_modules/side-channel/package.json +0 -85
- package/app/node_modules/side-channel/test/index.js +0 -120
- package/app/node_modules/side-channel/tsconfig.json +0 -9
- package/app/node_modules/side-channel-list/.editorconfig +0 -9
- package/app/node_modules/side-channel-list/.eslintrc +0 -11
- package/app/node_modules/side-channel-list/.github/FUNDING.yml +0 -12
- package/app/node_modules/side-channel-list/.nycrc +0 -13
- package/app/node_modules/side-channel-list/CHANGELOG.md +0 -36
- package/app/node_modules/side-channel-list/LICENSE +0 -21
- package/app/node_modules/side-channel-list/README.md +0 -62
- package/app/node_modules/side-channel-list/index.d.ts +0 -13
- package/app/node_modules/side-channel-list/index.js +0 -111
- package/app/node_modules/side-channel-list/list.d.ts +0 -14
- package/app/node_modules/side-channel-list/package.json +0 -77
- package/app/node_modules/side-channel-list/test/index.js +0 -154
- package/app/node_modules/side-channel-list/tsconfig.json +0 -9
- package/app/node_modules/side-channel-map/.editorconfig +0 -9
- package/app/node_modules/side-channel-map/.eslintrc +0 -11
- package/app/node_modules/side-channel-map/.github/FUNDING.yml +0 -12
- package/app/node_modules/side-channel-map/.nycrc +0 -13
- package/app/node_modules/side-channel-map/CHANGELOG.md +0 -22
- package/app/node_modules/side-channel-map/LICENSE +0 -21
- package/app/node_modules/side-channel-map/README.md +0 -62
- package/app/node_modules/side-channel-map/index.d.ts +0 -15
- package/app/node_modules/side-channel-map/index.js +0 -68
- package/app/node_modules/side-channel-map/package.json +0 -80
- package/app/node_modules/side-channel-map/test/index.js +0 -114
- package/app/node_modules/side-channel-map/tsconfig.json +0 -9
- package/app/node_modules/side-channel-weakmap/.editorconfig +0 -9
- package/app/node_modules/side-channel-weakmap/.eslintrc +0 -12
- package/app/node_modules/side-channel-weakmap/.github/FUNDING.yml +0 -12
- package/app/node_modules/side-channel-weakmap/.nycrc +0 -13
- package/app/node_modules/side-channel-weakmap/CHANGELOG.md +0 -28
- package/app/node_modules/side-channel-weakmap/LICENSE +0 -21
- package/app/node_modules/side-channel-weakmap/README.md +0 -62
- package/app/node_modules/side-channel-weakmap/index.d.ts +0 -15
- package/app/node_modules/side-channel-weakmap/index.js +0 -84
- package/app/node_modules/side-channel-weakmap/package.json +0 -87
- package/app/node_modules/side-channel-weakmap/test/index.js +0 -114
- package/app/node_modules/side-channel-weakmap/tsconfig.json +0 -9
- package/app/node_modules/statuses/HISTORY.md +0 -87
- package/app/node_modules/statuses/LICENSE +0 -23
- package/app/node_modules/statuses/README.md +0 -139
- package/app/node_modules/statuses/codes.json +0 -65
- package/app/node_modules/statuses/index.js +0 -146
- package/app/node_modules/statuses/package.json +0 -49
- package/app/node_modules/toidentifier/HISTORY.md +0 -9
- package/app/node_modules/toidentifier/LICENSE +0 -21
- package/app/node_modules/toidentifier/README.md +0 -61
- package/app/node_modules/toidentifier/index.js +0 -32
- package/app/node_modules/toidentifier/package.json +0 -38
- package/app/node_modules/type-is/HISTORY.md +0 -292
- package/app/node_modules/type-is/LICENSE +0 -23
- package/app/node_modules/type-is/README.md +0 -198
- package/app/node_modules/type-is/index.js +0 -240
- package/app/node_modules/type-is/package.json +0 -51
- package/app/node_modules/unpipe/HISTORY.md +0 -4
- package/app/node_modules/unpipe/LICENSE +0 -22
- package/app/node_modules/unpipe/README.md +0 -43
- package/app/node_modules/unpipe/index.js +0 -69
- package/app/node_modules/unpipe/package.json +0 -27
- package/app/node_modules/vary/HISTORY.md +0 -39
- package/app/node_modules/vary/LICENSE +0 -22
- package/app/node_modules/vary/README.md +0 -101
- package/app/node_modules/vary/index.js +0 -149
- package/app/node_modules/vary/package.json +0 -43
- package/app/node_modules/which/CHANGELOG.md +0 -166
- package/app/node_modules/which/LICENSE +0 -15
- package/app/node_modules/which/README.md +0 -54
- package/app/node_modules/which/bin/node-which +0 -52
- package/app/node_modules/which/package.json +0 -43
- package/app/node_modules/which/which.js +0 -125
- package/app/node_modules/wrappy/LICENSE +0 -15
- package/app/node_modules/wrappy/README.md +0 -36
- package/app/node_modules/wrappy/package.json +0 -29
- package/app/node_modules/wrappy/wrappy.js +0 -33
- package/app/node_modules/zod-to-json-schema/.github/CR_logotype-full-color.png +0 -0
- package/app/node_modules/zod-to-json-schema/.github/FUNDING.yml +0 -1
- package/app/node_modules/zod-to-json-schema/.prettierrc.json +0 -1
- package/app/node_modules/zod-to-json-schema/LICENSE +0 -15
- package/app/node_modules/zod-to-json-schema/README.md +0 -390
- package/app/node_modules/zod-to-json-schema/changelog.md +0 -83
- package/app/node_modules/zod-to-json-schema/contributing.md +0 -9
- package/app/node_modules/zod-to-json-schema/createIndex.ts +0 -32
- package/app/node_modules/zod-to-json-schema/dist/cjs/Options.js +0 -51
- package/app/node_modules/zod-to-json-schema/dist/cjs/Refs.js +0 -26
- package/app/node_modules/zod-to-json-schema/dist/cjs/errorMessages.js +0 -19
- package/app/node_modules/zod-to-json-schema/dist/cjs/getRelativePath.js +0 -12
- package/app/node_modules/zod-to-json-schema/dist/cjs/index.js +0 -56
- package/app/node_modules/zod-to-json-schema/dist/cjs/package.json +0 -1
- package/app/node_modules/zod-to-json-schema/dist/cjs/parseDef.js +0 -66
- package/app/node_modules/zod-to-json-schema/dist/cjs/parseTypes.js +0 -2
- package/app/node_modules/zod-to-json-schema/dist/cjs/parsers/any.js +0 -21
- package/app/node_modules/zod-to-json-schema/dist/cjs/parsers/array.js +0 -30
- package/app/node_modules/zod-to-json-schema/dist/cjs/parsers/bigint.js +0 -53
- package/app/node_modules/zod-to-json-schema/dist/cjs/parsers/boolean.js +0 -9
- package/app/node_modules/zod-to-json-schema/dist/cjs/parsers/branded.js +0 -8
- package/app/node_modules/zod-to-json-schema/dist/cjs/parsers/catch.js +0 -8
- package/app/node_modules/zod-to-json-schema/dist/cjs/parsers/date.js +0 -50
- package/app/node_modules/zod-to-json-schema/dist/cjs/parsers/default.js +0 -11
- package/app/node_modules/zod-to-json-schema/dist/cjs/parsers/effects.js +0 -11
- package/app/node_modules/zod-to-json-schema/dist/cjs/parsers/enum.js +0 -10
- package/app/node_modules/zod-to-json-schema/dist/cjs/parsers/intersection.js +0 -56
- package/app/node_modules/zod-to-json-schema/dist/cjs/parsers/literal.js +0 -25
- package/app/node_modules/zod-to-json-schema/dist/cjs/parsers/map.js +0 -30
- package/app/node_modules/zod-to-json-schema/dist/cjs/parsers/nativeEnum.js +0 -20
- package/app/node_modules/zod-to-json-schema/dist/cjs/parsers/never.js +0 -15
- package/app/node_modules/zod-to-json-schema/dist/cjs/parsers/null.js +0 -14
- package/app/node_modules/zod-to-json-schema/dist/cjs/parsers/nullable.js +0 -37
- package/app/node_modules/zod-to-json-schema/dist/cjs/parsers/number.js +0 -56
- package/app/node_modules/zod-to-json-schema/dist/cjs/parsers/object.js +0 -76
- package/app/node_modules/zod-to-json-schema/dist/cjs/parsers/optional.js +0 -25
- package/app/node_modules/zod-to-json-schema/dist/cjs/parsers/pipeline.js +0 -24
- package/app/node_modules/zod-to-json-schema/dist/cjs/parsers/promise.js +0 -8
- package/app/node_modules/zod-to-json-schema/dist/cjs/parsers/readonly.js +0 -8
- package/app/node_modules/zod-to-json-schema/dist/cjs/parsers/record.js +0 -65
- package/app/node_modules/zod-to-json-schema/dist/cjs/parsers/set.js +0 -24
- package/app/node_modules/zod-to-json-schema/dist/cjs/parsers/string.js +0 -356
- package/app/node_modules/zod-to-json-schema/dist/cjs/parsers/tuple.js +0 -36
- package/app/node_modules/zod-to-json-schema/dist/cjs/parsers/undefined.js +0 -10
- package/app/node_modules/zod-to-json-schema/dist/cjs/parsers/union.js +0 -84
- package/app/node_modules/zod-to-json-schema/dist/cjs/parsers/unknown.js +0 -8
- package/app/node_modules/zod-to-json-schema/dist/cjs/selectParser.js +0 -109
- package/app/node_modules/zod-to-json-schema/dist/cjs/zodToJsonSchema.js +0 -90
- package/app/node_modules/zod-to-json-schema/dist/esm/Options.js +0 -46
- package/app/node_modules/zod-to-json-schema/dist/esm/Refs.js +0 -22
- package/app/node_modules/zod-to-json-schema/dist/esm/errorMessages.js +0 -14
- package/app/node_modules/zod-to-json-schema/dist/esm/getRelativePath.js +0 -8
- package/app/node_modules/zod-to-json-schema/dist/esm/index.js +0 -40
- package/app/node_modules/zod-to-json-schema/dist/esm/package.json +0 -1
- package/app/node_modules/zod-to-json-schema/dist/esm/parseDef.js +0 -62
- package/app/node_modules/zod-to-json-schema/dist/esm/parseTypes.js +0 -1
- package/app/node_modules/zod-to-json-schema/dist/esm/parsers/any.js +0 -17
- package/app/node_modules/zod-to-json-schema/dist/esm/parsers/array.js +0 -26
- package/app/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js +0 -49
- package/app/node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js +0 -5
- package/app/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js +0 -4
- package/app/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js +0 -4
- package/app/node_modules/zod-to-json-schema/dist/esm/parsers/date.js +0 -46
- package/app/node_modules/zod-to-json-schema/dist/esm/parsers/default.js +0 -7
- package/app/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js +0 -7
- package/app/node_modules/zod-to-json-schema/dist/esm/parsers/enum.js +0 -6
- package/app/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js +0 -52
- package/app/node_modules/zod-to-json-schema/dist/esm/parsers/literal.js +0 -21
- package/app/node_modules/zod-to-json-schema/dist/esm/parsers/map.js +0 -26
- package/app/node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js +0 -16
- package/app/node_modules/zod-to-json-schema/dist/esm/parsers/never.js +0 -11
- package/app/node_modules/zod-to-json-schema/dist/esm/parsers/null.js +0 -10
- package/app/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js +0 -33
- package/app/node_modules/zod-to-json-schema/dist/esm/parsers/number.js +0 -52
- package/app/node_modules/zod-to-json-schema/dist/esm/parsers/object.js +0 -72
- package/app/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js +0 -21
- package/app/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js +0 -20
- package/app/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js +0 -4
- package/app/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js +0 -4
- package/app/node_modules/zod-to-json-schema/dist/esm/parsers/record.js +0 -61
- package/app/node_modules/zod-to-json-schema/dist/esm/parsers/set.js +0 -20
- package/app/node_modules/zod-to-json-schema/dist/esm/parsers/string.js +0 -352
- package/app/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js +0 -32
- package/app/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js +0 -6
- package/app/node_modules/zod-to-json-schema/dist/esm/parsers/union.js +0 -80
- package/app/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js +0 -4
- package/app/node_modules/zod-to-json-schema/dist/esm/selectParser.js +0 -105
- package/app/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js +0 -87
- package/app/node_modules/zod-to-json-schema/dist/types/Options.d.ts +0 -37
- package/app/node_modules/zod-to-json-schema/dist/types/Refs.d.ts +0 -17
- package/app/node_modules/zod-to-json-schema/dist/types/errorMessages.d.ts +0 -15
- package/app/node_modules/zod-to-json-schema/dist/types/getRelativePath.d.ts +0 -1
- package/app/node_modules/zod-to-json-schema/dist/types/index.d.ts +0 -40
- package/app/node_modules/zod-to-json-schema/dist/types/parseDef.d.ts +0 -4
- package/app/node_modules/zod-to-json-schema/dist/types/parseTypes.d.ts +0 -34
- package/app/node_modules/zod-to-json-schema/dist/types/parsers/any.d.ts +0 -5
- package/app/node_modules/zod-to-json-schema/dist/types/parsers/array.d.ts +0 -12
- package/app/node_modules/zod-to-json-schema/dist/types/parsers/bigint.d.ts +0 -14
- package/app/node_modules/zod-to-json-schema/dist/types/parsers/boolean.d.ts +0 -4
- package/app/node_modules/zod-to-json-schema/dist/types/parsers/branded.d.ts +0 -3
- package/app/node_modules/zod-to-json-schema/dist/types/parsers/catch.d.ts +0 -3
- package/app/node_modules/zod-to-json-schema/dist/types/parsers/date.d.ts +0 -15
- package/app/node_modules/zod-to-json-schema/dist/types/parsers/default.d.ts +0 -6
- package/app/node_modules/zod-to-json-schema/dist/types/parsers/effects.d.ts +0 -4
- package/app/node_modules/zod-to-json-schema/dist/types/parsers/enum.d.ts +0 -6
- package/app/node_modules/zod-to-json-schema/dist/types/parsers/intersection.d.ts +0 -8
- package/app/node_modules/zod-to-json-schema/dist/types/parsers/literal.d.ts +0 -9
- package/app/node_modules/zod-to-json-schema/dist/types/parsers/map.d.ts +0 -15
- package/app/node_modules/zod-to-json-schema/dist/types/parsers/nativeEnum.d.ts +0 -6
- package/app/node_modules/zod-to-json-schema/dist/types/parsers/never.d.ts +0 -6
- package/app/node_modules/zod-to-json-schema/dist/types/parsers/null.d.ts +0 -5
- package/app/node_modules/zod-to-json-schema/dist/types/parsers/nullable.d.ts +0 -10
- package/app/node_modules/zod-to-json-schema/dist/types/parsers/number.d.ts +0 -13
- package/app/node_modules/zod-to-json-schema/dist/types/parsers/object.d.ts +0 -10
- package/app/node_modules/zod-to-json-schema/dist/types/parsers/optional.d.ts +0 -4
- package/app/node_modules/zod-to-json-schema/dist/types/parsers/pipeline.d.ts +0 -5
- package/app/node_modules/zod-to-json-schema/dist/types/parsers/promise.d.ts +0 -4
- package/app/node_modules/zod-to-json-schema/dist/types/parsers/readonly.d.ts +0 -3
- package/app/node_modules/zod-to-json-schema/dist/types/parsers/record.d.ts +0 -13
- package/app/node_modules/zod-to-json-schema/dist/types/parsers/set.d.ts +0 -13
- package/app/node_modules/zod-to-json-schema/dist/types/parsers/string.d.ts +0 -73
- package/app/node_modules/zod-to-json-schema/dist/types/parsers/tuple.d.ts +0 -13
- package/app/node_modules/zod-to-json-schema/dist/types/parsers/undefined.d.ts +0 -6
- package/app/node_modules/zod-to-json-schema/dist/types/parsers/union.d.ts +0 -23
- package/app/node_modules/zod-to-json-schema/dist/types/parsers/unknown.d.ts +0 -4
- package/app/node_modules/zod-to-json-schema/dist/types/selectParser.d.ts +0 -5
- package/app/node_modules/zod-to-json-schema/dist/types/zodToJsonSchema.d.ts +0 -10
- package/app/node_modules/zod-to-json-schema/package.json +0 -85
- package/app/node_modules/zod-to-json-schema/postcjs.ts +0 -3
- package/app/node_modules/zod-to-json-schema/postesm.ts +0 -3
- package/app/package.json +0 -43
- package/dist/ai-command-2LSCDGUE.js +0 -218
- package/dist/check-command-W52TXOPN.js +0 -101
- package/dist/chunk-FN63LYZH.js +0 -825
- package/dist/chunk-HFFASR7D.js +0 -789
- package/dist/chunk-K27F6QDR.js +0 -8050
- package/dist/chunk-MU4KCYKO.js +0 -107
- package/dist/chunk-RC6OXHI6.js +0 -1286
- package/dist/chunk-RX4GQLU2.js +0 -365
- package/dist/dist-7ZFLUTJ3.js +0 -292
- package/dist/dist-ON3THUVO.js +0 -73
- package/dist/md-command-PBOLZO5S.js +0 -278
- package/dist/next-command-3J7F27RT.js +0 -243
- package/dist/north-command-VZKU3BBM.js +0 -279
- package/dist/review-command-PWW276HI.js +0 -92
- package/dist/twin-command-OA2R6OUW.js +0 -1315
- /package/app/apps/web/.next-bundle/static/{IoWYBo4jj6B8WTfswm-wr → mhsTm5XiqL98MCgDVB08u}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
"use strict";exports.id=5251,exports.ids=[5251],exports.modules={24445:(a,b,c)=>{c.d(b,{oEh:()=>bz,C98:()=>c5,Meg:()=>c6,sWF:()=>dg,AaE:()=>df,q8B:()=>aj,qmj:()=>ci,qIJ:()=>cj,Iye:()=>ck,cM4:()=>dD,JAj:()=>cq,vfN:()=>ay,gY3:()=>cU,xT0:()=>cR,jjr:()=>cF,Flh:()=>ce,iPA:()=>bW,yg9:()=>cz,buH:()=>bM,Uiy:()=>cv,jfC:()=>as,lHl:()=>dJ,QKz:()=>cW,Vug:()=>cK,RtQ:()=>cX,qTp:()=>b3,Sn0:()=>cC,uto:()=>dS,UTO:()=>cL,hMS:()=>cr,Ill:()=>dA,l1Z:()=>dE,RBS:()=>cE,j7D:()=>dn,I9U:()=>bk,GGA:()=>cM,Z4Q:()=>cV,m$8:()=>cO,cgj:()=>de,dCc:()=>c9,X3u:()=>db,dsF:()=>aq,r$c:()=>dI,eJB:()=>al,s23:()=>aZ,Rv3:()=>dR,rjd:()=>d_,Q8z:()=>dW,XeQ:()=>d$,m4i:()=>dL,JHr:()=>dT,ntb:()=>ax,Wq3:()=>a$,Btt:()=>cH,SxX:()=>am,XTz:()=>ao,$wW:()=>av,aps:()=>bf,VEG:()=>aX,eGM:()=>cc,SP$:()=>a9,WjZ:()=>cg,U1E:()=>aU,xKw:()=>ba,lfl:()=>a3,F10:()=>b7,$ZG:()=>dX,GT0:()=>bd,ggW:()=>cQ,__u:()=>ar,zUG:()=>aC,sAR:()=>b$,jeu:()=>aD,eDs:()=>bw,sRG:()=>da,v_t:()=>dN,eED:()=>bU,Vj7:()=>cT,vcT:()=>c4,VWu:()=>c3,mRh:()=>dZ,cvP:()=>ap,ZEb:()=>by,w2W:()=>dz,h2G:()=>dy,lZV:()=>aW,P3l:()=>bb,rLp:()=>a0,v6G:()=>cb,RX3:()=>bS,qpk:()=>dj,wQT:()=>bt,Ad7:()=>be,fa_:()=>cY,gn7:()=>dd,JOm:()=>cN,Z$X:()=>cs,bM4:()=>a1,sHd:()=>dY,QNc:()=>c2,hFx:()=>aS,$Mt:()=>d0,M2A:()=>cw,ekx:()=>aV,j8u:()=>bj,MxO:()=>cJ,O13:()=>ca,KfB:()=>dm,Rdw:()=>dp,OjJ:()=>bF,MBe:()=>b0,JOG:()=>dM,N8S:()=>bQ,Uzr:()=>bR,R$g:()=>bP,GSS:()=>bX,yoV:()=>dl,hb_:()=>dk,Wok:()=>b8,cDq:()=>ct,x5m:()=>cu,vtC:()=>bu,fAx:()=>cI,ebA:()=>c8,H7H:()=>bn,xwF:()=>cd,HHm:()=>bi,n3B:()=>cp,NfF:()=>aQ,UHV:()=>c1,S6k:()=>b1,kPD:()=>dV,leP:()=>aA,Jmk:()=>c7,f4S:()=>cS,OKb:()=>cx,TLV:()=>b5,KIZ:()=>cG,Ldp:()=>bE,SOU:()=>bC,CwE:()=>az,qR9:()=>cD,IEk:()=>a4,YXe:()=>aw,mwX:()=>a7,kPZ:()=>dq,ilb:()=>bl,wBp:()=>a2,fQG:()=>b9,pmz:()=>a5,DLu:()=>bN,TAB:()=>di,fAp:()=>a8,bST:()=>br,xRO:()=>ch,Dt3:()=>a6,_W_:()=>b6,Pm4:()=>bV,_1A:()=>bg,pvW:()=>cy,wQj:()=>p,bc9:()=>c0,OI5:()=>dO,azs:()=>bD,mz7:()=>bG,ec3:()=>dF,QDV:()=>dG,NJV:()=>aY,VbO:()=>bv,GxA:()=>dU,xqS:()=>bA,Heg:()=>dc,nFp:()=>bI,ol1:()=>bO,c6C:()=>bY,L44:()=>aR,dZR:()=>b2,WtK:()=>bJ,y4r:()=>at,qi1:()=>cn,dKt:()=>a_,fyc:()=>an,n5g:()=>au,PDL:()=>bx,xEj:()=>cl,JJs:()=>cm,_2E:()=>bB,VYH:()=>dK});var d=c(63601),e=c(80704),f=c(5590),g=c(51173),h=c(67405),i=c(34981),j=c(82695),k=c(65217),l=c(9224),m=c(84589),n=c(75466),o=Object.defineProperty,p={};((a,b)=>{for(var c in b)o(a,c,{get:b[c],enumerable:!0})})(p,{advisories:()=>y,agentActivities:()=>G,agentSessions:()=>F,agents:()=>E,appJobs:()=>r,appWorkspaces:()=>s,apps:()=>q,beliefs:()=>W,consultations:()=>K,decisionEpisodes:()=>U,decisions:()=>O,designFingerprints:()=>X,distributions:()=>B,exclusions:()=>P,families:()=>Q,familyMembers:()=>R,launches:()=>M,looks:()=>_,memoryJobs:()=>H,modelCalls:()=>Z,narratives:()=>T,notes:()=>J,observations:()=>V,packages:()=>x,projectAgents:()=>D,projectDependencies:()=>A,projectLinks:()=>C,projectTechnologies:()=>w,projects:()=>t,reviews:()=>$,runs:()=>N,servings:()=>L,snapshots:()=>u,synthesisPasses:()=>Y,tasks:()=>I,technologies:()=>v,verdicts:()=>S,vulnerabilities:()=>z});var q=(0,e.cJ)("apps",{id:(0,f.Qq)("id").primaryKey(),pkg:(0,f.Qq)("pkg").notNull(),version:(0,f.Qq)("version"),stagedVersion:(0,f.Qq)("staged_version"),previousVersion:(0,f.Qq)("previous_version"),protocol:(0,f.Qq)("protocol"),status:(0,f.Qq)("status").notNull().default("absent"),enabled:(0,g.zM)("enabled").notNull().default(!0),manifest:(0,h.Fx)("manifest"),requirements:(0,h.Fx)("requirements"),requirementsAt:(0,i.vE)("requirements_at",{withTimezone:!0}),settings:(0,h.Fx)("settings").$type().notNull().default({brain:"none",voice:!1}),error:(0,f.Qq)("error"),installedAt:(0,i.vE)("installed_at",{withTimezone:!0}),updatedAt:(0,i.vE)("updated_at",{withTimezone:!0}).notNull().defaultNow()}),r=(0,e.cJ)("app_jobs",{id:(0,f.Qq)("id").primaryKey(),appId:(0,f.Qq)("app_id").notNull().references(()=>q.id,{onDelete:"cascade"}),identity:(0,f.Qq)("identity").notNull(),workspaceId:(0,f.Qq)("workspace_id"),tool:(0,f.Qq)("tool").notNull(),input:(0,h.Fx)("input").$type().notNull(),status:(0,f.Qq)("status").$type().notNull().default("pending"),progress:(0,h.Fx)("progress").$type(),result:(0,h.Fx)("result").$type(),error:(0,f.Qq)("error"),appVersion:(0,f.Qq)("app_version").notNull(),pid:(0,j.nd)("pid"),dedupeKey:(0,f.Qq)("dedupe_key").notNull(),reservedCalls:(0,j.nd)("reserved_calls").notNull().default(0),requestedAt:(0,i.vE)("requested_at",{withTimezone:!0}).notNull().defaultNow(),startedAt:(0,i.vE)("started_at",{withTimezone:!0}),finishedAt:(0,i.vE)("finished_at",{withTimezone:!0})},a=>[(0,k.Pe)("app_jobs_identity_idx").on(a.identity,a.requestedAt),(0,k.Pe)("app_jobs_status_idx").on(a.status),(0,k.GL)("app_jobs_dedupe_live").on(a.dedupeKey).where((0,d.ll)`status in ('pending', 'running', 'cancelling')`)]),s=(0,e.cJ)("app_workspaces",{appId:(0,f.Qq)("app_id").notNull().references(()=>q.id,{onDelete:"cascade"}),identity:(0,f.Qq)("identity").notNull(),workspaceId:(0,f.Qq)("workspace_id").notNull(),rootAtCreation:(0,f.Qq)("root_at_creation").notNull(),createdAt:(0,i.vE)("created_at",{withTimezone:!0}).notNull().defaultNow()},a=>[(0,l.ie)({columns:[a.appId,a.identity]})]),t=(0,e.cJ)("projects",{id:(0,f.Qq)("id").primaryKey(),name:(0,f.Qq)("name").notNull(),slug:(0,f.Qq)("slug").notNull().unique(),root:(0,f.Qq)("root").notNull().unique(),identity:(0,f.Qq)("identity"),description:(0,f.Qq)("description"),version:(0,f.Qq)("version"),iconDataUri:(0,f.Qq)("icon_data_uri"),iconHash:(0,f.Qq)("icon_hash"),primaryLanguage:(0,f.Qq)("primary_language"),healthScore:(0,j.nd)("health_score").notNull().default(0),healthGrade:(0,f.Qq)("health_grade").notNull().default("F"),sourceBytes:(0,j.nd)("source_bytes").notNull().default(0),fileCount:(0,j.nd)("file_count").notNull().default(0),gitBranch:(0,f.Qq)("git_branch"),gitRemoteUrl:(0,f.Qq)("git_remote_url"),gitCommitCount:(0,j.nd)("git_commit_count"),lastCommitAt:(0,i.vE)("last_commit_at",{withTimezone:!0}),summary:(0,f.Qq)("summary"),summarySource:(0,f.Qq)("summary_source"),summaryReadme:(0,f.Qq)("summary_readme"),summaryComposed:(0,f.Qq)("summary_composed"),summaryComposition:(0,h.Fx)("summary_composition"),originKind:(0,f.Qq)("origin_kind"),originStartedBy:(0,f.Qq)("origin_started_by"),originShare:(0,m.x)("origin_share"),originEvidence:(0,h.Fx)("origin_evidence"),runbook:(0,h.Fx)("runbook"),recentCommits:(0,h.Fx)("recent_commits"),agentsMd:(0,h.Fx)("agents_md"),gitVersioned:(0,g.zM)("git_versioned"),gitModified:(0,j.nd)("git_modified"),gitUntracked:(0,j.nd)("git_untracked"),gitAhead:(0,j.nd)("git_ahead"),gitBehind:(0,j.nd)("git_behind"),gitStashes:(0,j.nd)("git_stashes"),gitOwnRepo:(0,g.zM)("git_own_repo"),directDeps:(0,j.nd)("direct_deps").notNull().default(0),outdatedDeps:(0,j.nd)("outdated_deps").notNull().default(0),depsUnresolved:(0,f.Qq)("deps_unresolved"),majorBehind:(0,j.nd)("major_behind").notNull().default(0),vulnCount:(0,j.nd)("vuln_count").notNull().default(0),vulnCritical:(0,j.nd)("vuln_critical").notNull().default(0),enrichedAt:(0,i.vE)("enriched_at",{withTimezone:!0}),diskTotalBytes:(0,n.o)("disk_total_bytes",{mode:"number"}),diskReclaimableBytes:(0,n.o)("disk_reclaimable_bytes",{mode:"number"}),diskDirs:(0,h.Fx)("disk_dirs"),diskMeasuredAt:(0,i.vE)("disk_measured_at",{withTimezone:!0}),firstSeenAt:(0,i.vE)("first_seen_at",{withTimezone:!0}).notNull().defaultNow(),lastScannedAt:(0,i.vE)("last_scanned_at",{withTimezone:!0}).notNull().defaultNow()},a=>[(0,k.Pe)("projects_health_idx").on(a.healthScore),(0,k.Pe)("projects_last_commit_idx").on(a.lastCommitAt)]),u=(0,e.cJ)("snapshots",{id:(0,f.Qq)("id").primaryKey(),projectId:(0,f.Qq)("project_id").notNull().references(()=>t.id,{onDelete:"cascade"}),scannedAt:(0,i.vE)("scanned_at",{withTimezone:!0}).notNull(),commitSha:(0,f.Qq)("commit_sha"),engineVersion:(0,f.Qq)("engine_version").notNull(),healthScore:(0,j.nd)("health_score").notNull(),report:(0,h.Fx)("report").notNull()},a=>[(0,k.Pe)("snapshots_project_idx").on(a.projectId,a.scannedAt)]),v=(0,e.cJ)("technologies",{id:(0,f.Qq)("id").primaryKey(),name:(0,f.Qq)("name").notNull(),kind:(0,f.Qq)("kind").notNull(),iconSlug:(0,f.Qq)("icon_slug")}),w=(0,e.cJ)("project_technologies",{projectId:(0,f.Qq)("project_id").notNull().references(()=>t.id,{onDelete:"cascade"}),technologyId:(0,f.Qq)("technology_id").notNull().references(()=>v.id,{onDelete:"cascade"}),version:(0,f.Qq)("version"),confidence:(0,m.x)("confidence").notNull(),evidence:(0,h.Fx)("evidence").notNull()},a=>[(0,l.ie)({columns:[a.projectId,a.technologyId]}),(0,k.Pe)("project_technologies_tech_idx").on(a.technologyId)]),x=(0,e.cJ)("packages",{id:(0,f.Qq)("id").primaryKey(),ecosystem:(0,f.Qq)("ecosystem").notNull(),name:(0,f.Qq)("name").notNull(),latestVersion:(0,f.Qq)("latest_version"),latestCheckedAt:(0,i.vE)("latest_checked_at",{withTimezone:!0}),unresolvable:(0,g.zM)("unresolvable").notNull().default(!1),deprecated:(0,g.zM)("deprecated").notNull().default(!1),license:(0,f.Qq)("license")},a=>[(0,k.Pe)("packages_ecosystem_idx").on(a.ecosystem),(0,k.Pe)("packages_checked_idx").on(a.latestCheckedAt)]),y=(0,e.cJ)("advisories",{id:(0,f.Qq)("id").primaryKey(),summary:(0,f.Qq)("summary").notNull(),severity:(0,f.Qq)("severity").notNull().default("unknown"),publishedAt:(0,i.vE)("published_at",{withTimezone:!0}),url:(0,f.Qq)("url"),fixedVersions:(0,h.Fx)("fixed_versions")}),z=(0,e.cJ)("vulnerabilities",{packageId:(0,f.Qq)("package_id").notNull().references(()=>x.id,{onDelete:"cascade"}),version:(0,f.Qq)("version").notNull(),advisoryId:(0,f.Qq)("advisory_id").notNull().references(()=>y.id,{onDelete:"cascade"})},a=>[(0,l.ie)({columns:[a.packageId,a.version,a.advisoryId]}),(0,k.Pe)("vulnerabilities_package_idx").on(a.packageId,a.version)]),A=(0,e.cJ)("project_dependencies",{projectId:(0,f.Qq)("project_id").notNull().references(()=>t.id,{onDelete:"cascade"}),packageId:(0,f.Qq)("package_id").notNull().references(()=>x.id,{onDelete:"cascade"}),constraint:(0,f.Qq)("constraint").notNull(),resolvedVersion:(0,f.Qq)("resolved_version"),isDev:(0,g.zM)("is_dev").notNull().default(!1),isDirect:(0,g.zM)("is_direct").notNull().default(!0),source:(0,f.Qq)("source")},a=>[(0,l.ie)({columns:[a.projectId,a.packageId]}),(0,k.Pe)("project_dependencies_package_idx").on(a.packageId)]),B=(0,e.cJ)("distributions",{projectId:(0,f.Qq)("project_id").notNull().references(()=>t.id,{onDelete:"cascade"}),kind:(0,f.Qq)("kind").notNull(),label:(0,f.Qq)("label").notNull(),evidence:(0,f.Qq)("evidence").notNull(),url:(0,f.Qq)("url")},a=>[(0,l.ie)({columns:[a.projectId,a.kind,a.label]})]),C=(0,e.cJ)("project_links",{projectId:(0,f.Qq)("project_id").notNull().references(()=>t.id,{onDelete:"cascade"}),serviceId:(0,f.Qq)("service_id").notNull(),service:(0,f.Qq)("service").notNull(),label:(0,f.Qq)("label").notNull(),url:(0,f.Qq)("url").notNull(),kind:(0,f.Qq)("kind").notNull(),evidence:(0,f.Qq)("evidence").notNull(),iconSlug:(0,f.Qq)("icon_slug")},a=>[(0,l.ie)({columns:[a.projectId,a.serviceId]})]),D=(0,e.cJ)("project_agents",{projectId:(0,f.Qq)("project_id").notNull().references(()=>t.id,{onDelete:"cascade"}),agentName:(0,f.Qq)("agent_name").notNull(),commits:(0,j.nd)("commits").notNull(),source:(0,f.Qq)("source").notNull().default("git-trailer")},a=>[(0,l.ie)({columns:[a.projectId,a.agentName]})]),E=(0,e.cJ)("agents",{id:(0,f.Qq)("id").primaryKey(),name:(0,f.Qq)("name").notNull(),kind:(0,f.Qq)("kind").notNull().default("custom"),apiKeyHash:(0,f.Qq)("api_key_hash").notNull().unique(),createdAt:(0,i.vE)("created_at",{withTimezone:!0}).notNull().defaultNow(),lastSeenAt:(0,i.vE)("last_seen_at",{withTimezone:!0})}),F=(0,e.cJ)("agent_sessions",{id:(0,f.Qq)("id").primaryKey(),agentId:(0,f.Qq)("agent_id").notNull().references(()=>E.id,{onDelete:"cascade"}),projectId:(0,f.Qq)("project_id").notNull().references(()=>t.id,{onDelete:"cascade"}),startedAt:(0,i.vE)("started_at",{withTimezone:!0}).notNull().defaultNow(),endedAt:(0,i.vE)("ended_at",{withTimezone:!0}),summary:(0,f.Qq)("summary")},a=>[(0,k.Pe)("agent_sessions_project_idx").on(a.projectId,a.startedAt)]),G=(0,e.cJ)("agent_activities",{id:(0,f.Qq)("id").primaryKey(),sessionId:(0,f.Qq)("session_id").notNull().references(()=>F.id,{onDelete:"cascade"}),projectId:(0,f.Qq)("project_id").notNull().references(()=>t.id,{onDelete:"cascade"}),agentId:(0,f.Qq)("agent_id").notNull().references(()=>E.id,{onDelete:"cascade"}),kind:(0,f.Qq)("kind").notNull().default("change"),summary:(0,f.Qq)("summary").notNull(),details:(0,f.Qq)("details"),filesTouched:(0,h.Fx)("files_touched"),commitSha:(0,f.Qq)("commit_sha"),createdAt:(0,i.vE)("created_at",{withTimezone:!0}).notNull().defaultNow()},a=>[(0,k.Pe)("agent_activities_project_idx").on(a.projectId,a.createdAt),(0,k.Pe)("agent_activities_search_idx").using("gin",(0,d.ll)`to_tsvector('simple', ${a.summary} || ' ' || coalesce(${a.details}, ''))`)]),H=(0,e.cJ)("memory_jobs",{sessionId:(0,f.Qq)("session_id").primaryKey().references(()=>F.id,{onDelete:"cascade"}),status:(0,f.Qq)("status").$type().notNull().default("pending"),attempts:(0,j.nd)("attempts").notNull().default(0),availableAt:(0,i.vE)("available_at",{withTimezone:!0}).notNull().defaultNow(),createdAt:(0,i.vE)("created_at",{withTimezone:!0}).notNull().defaultNow(),startedAt:(0,i.vE)("started_at",{withTimezone:!0}),finishedAt:(0,i.vE)("finished_at",{withTimezone:!0}),leaseToken:(0,f.Qq)("lease_token"),reason:(0,f.Qq)("reason"),receipt:(0,h.Fx)("receipt").$type()},a=>[(0,k.Pe)("memory_jobs_ready_idx").on(a.status,a.availableAt)]),I=(0,e.cJ)("tasks",{id:(0,f.Qq)("id").primaryKey(),projectId:(0,f.Qq)("project_id").notNull().references(()=>t.id,{onDelete:"cascade"}),title:(0,f.Qq)("title").notNull(),body:(0,f.Qq)("body"),status:(0,f.Qq)("status").notNull().default("open"),createdBy:(0,f.Qq)("created_by").notNull().default("human"),fromLook:(0,f.Qq)("from_look"),fromFinding:(0,j.nd)("from_finding"),fromCritique:(0,f.Qq)("from_critique"),assignedAgentId:(0,f.Qq)("assigned_agent_id").references(()=>E.id,{onDelete:"set null"}),claimedAt:(0,i.vE)("claimed_at",{withTimezone:!0}),completedAt:(0,i.vE)("completed_at",{withTimezone:!0}),result:(0,f.Qq)("result"),createdAt:(0,i.vE)("created_at",{withTimezone:!0}).notNull().defaultNow()},a=>[(0,k.Pe)("tasks_project_idx").on(a.projectId,a.status)]),J=(0,e.cJ)("notes",{id:(0,f.Qq)("id").primaryKey(),projectId:(0,f.Qq)("project_id").notNull().references(()=>t.id,{onDelete:"cascade"}),body:(0,f.Qq)("body").notNull(),status:(0,f.Qq)("status").notNull().default("proposed"),createdBy:(0,f.Qq)("created_by").notNull(),createdAt:(0,i.vE)("created_at",{withTimezone:!0}).notNull().defaultNow(),decidedAt:(0,i.vE)("decided_at",{withTimezone:!0}),sentinels:(0,h.Fx)("sentinels").notNull().default([]),trigger:(0,f.Qq)("trigger"),challenge:(0,h.Fx)("challenge")},a=>[(0,k.Pe)("notes_project_idx").on(a.projectId,a.status)]),K=(0,e.cJ)("consultations",{id:(0,f.Qq)("id").primaryKey(),projectId:(0,f.Qq)("project_id").notNull().references(()=>t.id,{onDelete:"cascade"}),agentId:(0,f.Qq)("agent_id").notNull().references(()=>E.id,{onDelete:"cascade"}),question:(0,f.Qq)("question").notNull(),answer:(0,f.Qq)("answer"),beliefIds:(0,h.Fx)("belief_ids"),status:(0,f.Qq)("status").notNull().default("drafting"),verdict:(0,f.Qq)("verdict"),createdAt:(0,i.vE)("created_at",{withTimezone:!0}).notNull().defaultNow(),draftedAt:(0,i.vE)("drafted_at",{withTimezone:!0}),verdictAt:(0,i.vE)("verdict_at",{withTimezone:!0})},a=>[(0,k.Pe)("consultations_project_idx").on(a.projectId,a.createdAt)]),L=(0,e.cJ)("servings",{id:(0,f.Qq)("id").primaryKey(),projectId:(0,f.Qq)("project_id").notNull().references(()=>t.id,{onDelete:"cascade"}),agentId:(0,f.Qq)("agent_id").notNull().references(()=>E.id,{onDelete:"cascade"}),arm:(0,f.Qq)("arm").notNull(),experimentId:(0,f.Qq)("experiment_id"),noteIds:(0,h.Fx)("note_ids").notNull(),noteChars:(0,j.nd)("note_chars").notNull(),at:(0,i.vE)("at",{withTimezone:!0}).notNull().defaultNow()},a=>[(0,k.Pe)("servings_project_idx").on(a.projectId,a.at)]),M=(0,e.cJ)("launches",{id:(0,f.Qq)("id").primaryKey(),projectId:(0,f.Qq)("project_id").notNull().references(()=>t.id,{onDelete:"cascade"}),taskId:(0,f.Qq)("task_id").references(()=>I.id,{onDelete:"set null"}),kind:(0,f.Qq)("kind"),agent:(0,f.Qq)("agent").notNull(),at:(0,i.vE)("at",{withTimezone:!0}).notNull().defaultNow()},a=>[(0,k.Pe)("launches_project_idx").on(a.projectId,a.at)]),N=(0,e.cJ)("runs",{id:(0,f.Qq)("id").primaryKey(),projectId:(0,f.Qq)("project_id").notNull().references(()=>t.id,{onDelete:"cascade"}),taskId:(0,f.Qq)("task_id").references(()=>I.id,{onDelete:"set null"}),kind:(0,f.Qq)("kind").notNull(),status:(0,f.Qq)("status").notNull().default("pending"),target:(0,h.Fx)("target").notNull(),summary:(0,f.Qq)("summary"),verified:(0,g.zM)("verified").notNull().default(!1),isolation:(0,f.Qq)("isolation").notNull().default("local"),isolationNote:(0,f.Qq)("isolation_note"),branch:(0,f.Qq)("branch"),patch:(0,f.Qq)("patch"),commitSha:(0,f.Qq)("commit_sha"),steps:(0,h.Fx)("steps"),requestedBy:(0,f.Qq)("requested_by").notNull().default("human"),createdAt:(0,i.vE)("created_at",{withTimezone:!0}).notNull().defaultNow(),finishedAt:(0,i.vE)("finished_at",{withTimezone:!0})},a=>[(0,k.Pe)("runs_project_idx").on(a.projectId,a.createdAt)]),O=(0,e.cJ)("decisions",{identity:(0,f.Qq)("identity").primaryKey(),hidden:(0,g.zM)("hidden").notNull().default(!1),aiSummary:(0,f.Qq)("ai_summary"),aiSummaryModel:(0,f.Qq)("ai_summary_model"),aiSummaryAt:(0,i.vE)("ai_summary_at",{withTimezone:!0}),aiSummaryLang:(0,f.Qq)("ai_summary_lang"),aiSummaryHash:(0,f.Qq)("ai_summary_hash"),mdReview:(0,f.Qq)("md_review"),mdReviewModel:(0,f.Qq)("md_review_model"),mdReviewAt:(0,i.vE)("md_review_at",{withTimezone:!0}),mdReviewHash:(0,f.Qq)("md_review_hash"),mdReviewLang:(0,f.Qq)("md_review_lang"),accounts:(0,h.Fx)("accounts"),openPlan:(0,h.Fx)("open_plan"),buildCheck:(0,h.Fx)("build_check"),north:(0,f.Qq)("north"),lastName:(0,f.Qq)("last_name"),updatedAt:(0,i.vE)("updated_at",{withTimezone:!0}).notNull().defaultNow()}),P=(0,e.cJ)("exclusions",{root:(0,f.Qq)("root").primaryKey(),name:(0,f.Qq)("name").notNull(),excludedAt:(0,i.vE)("excluded_at",{withTimezone:!0}).notNull().defaultNow()}),Q=(0,e.cJ)("families",{id:(0,f.Qq)("id").primaryKey(),name:(0,f.Qq)("name").notNull(),canonicalProjectId:(0,f.Qq)("canonical_project_id").notNull().references(()=>t.id,{onDelete:"cascade"}),canonicalReason:(0,f.Qq)("canonical_reason").notNull(),redundantBytes:(0,j.nd)("redundant_bytes").notNull().default(0)}),R=(0,e.cJ)("family_members",{familyId:(0,f.Qq)("family_id").notNull().references(()=>Q.id,{onDelete:"cascade"}),projectId:(0,f.Qq)("project_id").notNull().references(()=>t.id,{onDelete:"cascade"}),confidence:(0,m.x)("confidence").notNull(),reason:(0,f.Qq)("reason").notNull(),daysBehind:(0,j.nd)("days_behind")},a=>[(0,l.ie)({columns:[a.familyId,a.projectId]}),(0,k.Pe)("family_members_project_idx").on(a.projectId)]),S=(0,e.cJ)("verdicts",{id:(0,f.Qq)("id").primaryKey(),identity:(0,f.Qq)("identity").notNull(),source:(0,f.Qq)("source").notNull(),sessionId:(0,f.Qq)("session_id").notNull(),at:(0,i.vE)("at",{withTimezone:!0}).notNull(),category:(0,f.Qq)("category"),quote:(0,f.Qq)("quote").notNull(),context:(0,f.Qq)("context"),signals:(0,h.Fx)("signals").notNull(),accepted:(0,g.zM)("accepted"),distilledAt:(0,i.vE)("distilled_at",{withTimezone:!0}),createdAt:(0,i.vE)("created_at",{withTimezone:!0}).notNull().defaultNow()},a=>[(0,k.Pe)("verdicts_identity_idx").on(a.identity,a.createdAt),(0,k.Pe)("verdicts_accepted_idx").on(a.accepted)]),T=(0,e.cJ)("narratives",{id:(0,f.Qq)("id").primaryKey(),identity:(0,f.Qq)("identity").notNull(),source:(0,f.Qq)("source").notNull(),sessionId:(0,f.Qq)("session_id").notNull(),at:(0,i.vE)("at",{withTimezone:!0}).notNull(),kind:(0,f.Qq)("kind",{enum:["opening","reaction","brief"]}).notNull(),text:(0,f.Qq)("text").notNull(),context:(0,f.Qq)("context"),truncated:(0,g.zM)("truncated").notNull().default(!1),readAt:(0,i.vE)("read_at",{withTimezone:!0}),failedAt:(0,i.vE)("failed_at",{withTimezone:!0}),createdAt:(0,i.vE)("created_at",{withTimezone:!0}).notNull().defaultNow()},a=>[(0,k.Pe)("narratives_identity_idx").on(a.identity,a.at),(0,k.Pe)("narratives_read_idx").on(a.readAt,a.at)]),U=(0,e.cJ)("decision_episodes",{id:(0,f.Qq)("id").primaryKey(),identity:(0,f.Qq)("identity"),supersedesId:(0,f.Qq)("supersedes_id"),origin:(0,f.Qq)("origin",{enum:["owner","history"]}).notNull(),fields:(0,h.Fx)("fields").notNull(),model:(0,f.Qq)("model"),status:(0,f.Qq)("status",{enum:["active","dismissed"]}).notNull().default("active"),validUntil:(0,i.vE)("valid_until",{withTimezone:!0}),createdAt:(0,i.vE)("created_at",{withTimezone:!0}).notNull().defaultNow(),updatedAt:(0,i.vE)("updated_at",{withTimezone:!0}).notNull().defaultNow()},a=>[(0,k.Pe)("decision_episodes_identity_idx").on(a.identity,a.status,a.createdAt),(0,k.Pe)("decision_episodes_supersedes_idx").on(a.supersedesId)]),V=(0,e.cJ)("observations",{id:(0,f.Qq)("id").primaryKey(),identity:(0,f.Qq)("identity"),topic:(0,f.Qq)("topic").notNull(),classified:(0,g.zM)("classified").notNull().default(!1),statement:(0,f.Qq)("statement").notNull(),citations:(0,h.Fx)("citations").notNull(),model:(0,f.Qq)("model").notNull(),at:(0,i.vE)("at",{withTimezone:!0}).notNull(),createdAt:(0,i.vE)("created_at",{withTimezone:!0}).notNull().defaultNow(),topicAt:(0,i.vE)("topic_at",{withTimezone:!0}).notNull().defaultNow()},a=>[(0,k.Pe)("observations_topic_idx").on(a.topic,a.at),(0,k.Pe)("observations_classified_idx").on(a.classified)]),W=(0,e.cJ)("beliefs",{id:(0,f.Qq)("id").primaryKey(),topic:(0,f.Qq)("topic").notNull(),classified:(0,g.zM)("classified").notNull().default(!0),statement:(0,f.Qq)("statement").notNull(),identity:(0,f.Qq)("identity"),state:(0,f.Qq)("state").notNull(),supersedes:(0,h.Fx)("supersedes"),citations:(0,h.Fx)("citations").notNull(),support:(0,h.Fx)("support").notNull(),model:(0,f.Qq)("model").notNull(),signedAt:(0,i.vE)("signed_at",{withTimezone:!0}),vetoedAt:(0,i.vE)("vetoed_at",{withTimezone:!0}),retiredAt:(0,i.vE)("retired_at",{withTimezone:!0}),publishedAs:(0,h.Fx)("published_as"),updatedAt:(0,i.vE)("updated_at",{withTimezone:!0}).notNull().defaultNow(),createdAt:(0,i.vE)("created_at",{withTimezone:!0}).notNull().defaultNow()},a=>[(0,k.Pe)("beliefs_topic_idx").on(a.topic,a.createdAt),(0,k.Pe)("beliefs_state_idx").on(a.state)]),X=(0,e.cJ)("design_fingerprints",{projectId:(0,f.Qq)("project_id").primaryKey().references(()=>t.id,{onDelete:"cascade"}),data:(0,h.Fx)("data").notNull(),updatedAt:(0,i.vE)("updated_at",{withTimezone:!0}).notNull().defaultNow()}),Y=(0,e.cJ)("synthesis_passes",{id:(0,f.Qq)("id").primaryKey(),topic:(0,f.Qq)("topic").notNull(),created:(0,j.nd)("created").notNull().default(0),refined:(0,j.nd)("refined").notNull().default(0),retired:(0,j.nd)("retired").notNull().default(0),proposed:(0,j.nd)("proposed").notNull().default(0),observations:(0,j.nd)("observations").notNull().default(0),at:(0,i.vE)("at",{withTimezone:!0}).notNull().defaultNow()},a=>[(0,k.Pe)("synthesis_passes_at_idx").on(a.at)]),Z=(0,e.cJ)("model_calls",{id:(0,f.Qq)("id").primaryKey(),kind:(0,f.Qq)("kind").notNull(),provider:(0,f.Qq)("provider").notNull(),model:(0,f.Qq)("model").notNull(),appId:(0,f.Qq)("app_id"),appJobId:(0,f.Qq)("app_job_id"),identity:(0,f.Qq)("identity"),inputTokens:(0,j.nd)("input_tokens"),outputTokens:(0,j.nd)("output_tokens"),images:(0,j.nd)("images").notNull().default(0),createdAt:(0,i.vE)("created_at",{withTimezone:!0}).notNull().defaultNow()},a=>[(0,k.Pe)("model_calls_kind_idx").on(a.kind,a.createdAt)]),$=(0,e.cJ)("reviews",{projectId:(0,f.Qq)("project_id").primaryKey().references(()=>t.id,{onDelete:"cascade"}),findings:(0,h.Fx)("findings").notNull(),sourcesRead:(0,j.nd)("sources_read").notNull().default(0),truncated:(0,g.zM)("truncated").notNull().default(!1),at:(0,i.vE)("at",{withTimezone:!0}).notNull().defaultNow()}),_=(0,e.cJ)("looks",{id:(0,f.Qq)("id").primaryKey(),identity:(0,f.Qq)("identity").notNull(),digest:(0,f.Qq)("digest").notNull(),shot:(0,f.Qq)("shot"),bytes:(0,j.nd)("bytes").notNull().default(0),fired:(0,f.Qq)("fired").notNull(),provider:(0,f.Qq)("provider").notNull(),model:(0,f.Qq)("model").notNull(),statements:(0,j.nd)("statements").notNull().default(0),dropped:(0,j.nd)("dropped").notNull().default(0),unreadable:(0,g.zM)("unreadable").notNull().default(!1),findings:(0,h.Fx)("findings").notNull(),at:(0,i.vE)("at",{withTimezone:!0}).notNull().defaultNow()},a=>[(0,k.Pe)("looks_identity_idx").on(a.identity,a.at),(0,k.Pe)("looks_digest_idx").on(a.identity,a.digest)]),aa=c(55511),ab=c(2090),ac=c(58672),ad=c(79748),ae=c(33873),af=c(26913),ag=c(37591),ah=c(49816),ai=["pending","running","cancelling"],aj=1e3,ak={pending:["running","cancelled"],running:["done","failed","cancelling"],cancelling:["cancelled","failed"],cancelled:[],failed:[],done:[]};async function al(a,b,c){await a.insert(q).values({id:b,pkg:c}).onConflictDoNothing()}async function am(a,b){return(await a.select().from(q).where((0,ab.eq)(q.id,b)).limit(1))[0]}async function an(a,b,c){await a.update(q).set({...c,updatedAt:new Date}).where((0,ab.eq)(q.id,b))}async function ao(a,b){return(await a.select().from(r).where((0,ab.eq)(r.id,b)).limit(1))[0]}async function ap(a,b={}){return a.select().from(r).where((0,ab.Uo)(void 0===b.appId?void 0:(0,ab.eq)(r.appId,b.appId),void 0===b.identity?void 0:(0,ab.eq)(r.identity,b.identity),void 0===b.statuses?void 0:(0,ab.RV)(r.status,b.statuses))).orderBy((0,ac.i)(r.requestedAt),(0,ac.i)(r.id)).limit(b.limit??50)}async function aq(a,b){var c,e,f,g;let h=(c=b.appId,e=b.identity,f=b.tool,g=b.input,(0,aa.createHash)("sha256").update(function a(b){return null===b||"object"!=typeof b?JSON.stringify(b)??"null":Array.isArray(b)?"["+b.map(a).join(",")+"]":"{"+Object.keys(b).sort().map(c=>JSON.stringify(c)+":"+a(b[c])).join(",")+"}"}([c,e,f,g])).digest("hex"));return a.transaction(async a=>{await a.execute((0,d.ll)`lock table ${r} in share row exclusive mode`);let[c]=await a.select().from(r).where((0,ab.Uo)((0,ab.eq)(r.dedupeKey,h),(0,ab.RV)(r.status,ai))).limit(1);if(c)return{job:c,duplicate:!0};let e=0;if(b.paid){let c=new Date;c.setHours(0,0,0,0);let[f]=await a.select({n:(0,d.ll)`count(*)::int`}).from(Z).where((0,ab.Uo)((0,ab.eq)(Z.kind,"app"),(0,ab.RO)(Z.createdAt,c))),[g]=await a.select({n:(0,d.ll)`coalesce(sum(${r.reservedCalls}), 0)::int`}).from(r).where((0,d.ll)`(${r.status} in ('pending','running','cancelling')
|
|
2
|
+
or ${r.finishedAt} >= ${c})`);if(!(e=Math.max(0,Math.floor(b.cap??0)-(f?.n??0)-(g?.n??0))))throw Error("app-budget-exhausted")}let[f]=await a.insert(r).values({id:(0,aa.randomUUID)(),appId:b.appId,identity:b.identity,workspaceId:b.workspaceId,tool:b.tool,input:b.input,appVersion:b.appVersion,dedupeKey:h,reservedCalls:e}).returning();return{job:f,duplicate:!1}})}async function ar(a){return(await a.select({id:r.id}).from(r).where((0,ab.eq)(r.status,"pending")).limit(1)).length>0}async function as(a){return a.transaction(async a=>{if(await a.execute((0,d.ll)`lock table ${r} in share row exclusive mode`),(await a.select({id:r.id}).from(r).where((0,ab.RV)(r.status,["running","cancelling"])).limit(1)).length)return;let[b]=await a.select().from(r).where((0,ab.eq)(r.status,"pending")).orderBy((0,ac.Y)(r.requestedAt),(0,ac.Y)(r.id)).limit(1);if(b)return(await a.update(r).set({status:"running",startedAt:new Date}).where((0,ab.eq)(r.id,b.id)).returning())[0]})}async function at(a,b,c,d,e={}){if(!ak[c].includes(d))throw Error("invalid-app-job-transition");let f=!ai.includes(d);return(await a.update(r).set({...e,status:d,...f?{pid:null,finishedAt:new Date}:{}}).where((0,ab.Uo)((0,ab.eq)(r.id,b),(0,ab.eq)(r.status,c))).returning({id:r.id})).length>0}async function au(a,b,c,d){await a.update(r).set({progress:c,...d?{pid:d}:{}}).where((0,ab.Uo)((0,ab.eq)(r.id,b),(0,ab.RV)(r.status,["running","cancelling"])))}async function av(a,b,c){return(await a.select().from(s).where((0,ab.Uo)((0,ab.eq)(s.appId,b),(0,ab.eq)(s.identity,c))).limit(1))[0]}async function aw(a,b){await a.insert(s).values(b).onConflictDoNothing()}async function ax(a,b){await a.delete(s).where((0,ab.eq)(s.appId,b))}async function ay(a,b,c){let d=await a.select({id:t.id,identity:t.identity,root:t.root,slug:t.slug,name:t.name}).from(t).where((0,ab.Uo)((0,ab.eq)(t.identity,b),c?(0,ab.eq)(t.id,c):void 0)).limit(2);if(1!==d.length)throw Error(d.length?"ambiguous-project":"project-not-found");return d[0]}async function az(a,b,c){return a.transaction(async a=>{await a.execute((0,d.ll)`lock table ${r} in share row exclusive mode`);let e=await ao(a,b.id);if(!e)throw Error("app-job-not-found");let f=new Date;f.setHours(0,0,0,0);let[g]=await a.select({n:(0,d.ll)`count(*)::int`}).from(Z).where((0,ab.Uo)((0,ab.eq)(Z.kind,"app"),(0,ab.RO)(Z.createdAt,f))),[h]=await a.select({n:(0,d.ll)`coalesce(sum(${r.reservedCalls}), 0)::int`}).from(r).where((0,ab.Uo)((0,ab.ne)(r.id,b.id),(0,d.ll)`(${r.status} in ('pending','running','cancelling') or ${r.finishedAt} >= ${f})`)),i=Number.isFinite(c)?Math.max(0,Math.floor(c)-(g?.n??0)-(h?.n??0)):0,j=Math.min(e.reservedCalls,b.reservedCalls,i),[k]=await a.update(r).set({reservedCalls:j}).where((0,ab.eq)(r.id,b.id)).returning();return k})}async function aA(a,b,c){if(c){if(!(Number.isSafeInteger(c.calls)&&c.calls>=0&&c.calls<=aj))throw Error("invalid-app-spend-receipt");await a.transaction(async a=>{await a.execute((0,d.ll)`lock table ${r} in share row exclusive mode`);let e=await ao(a,b.id);if(!e||0===e.reservedCalls)return;let f=Math.min(e.reservedCalls,c.calls);for(let d=0;d<f;d++)await a.insert(Z).values({id:"app:"+b.id+":"+d,kind:"app",appId:b.appId,appJobId:b.id,provider:c.provider??"unknown",model:c.model??"unmetered",identity:b.identity||null}).onConflictDoNothing();await a.update(r).set({reservedCalls:0}).where((0,ab.eq)(r.id,b.id))})}}var aB={".png":"image/png",".svg":"image/svg+xml",".jpg":"image/jpeg",".jpeg":"image/jpeg",".webp":"image/webp",".ico":"image/x-icon"};function aC(a){return(0,aa.createHash)("sha1").update(a).digest("hex").slice(0,24)}async function aD(a,b,c=[],d,e=[]){let f=new Map(e.map(a=>[a.root,a])),g=new Set((await a.select({root:P.root}).from(P)).map(a=>a.root)),h=b.filter(a=>g.has(a.root)).length;b=b.filter(a=>!g.has(a.root)),c=c.filter(a=>!g.has(a.canonicalRoot)).map(a=>({...a,copies:a.copies.filter(a=>!g.has(a.root))}));let i=new Map;for(let a of b)i.set(a.root,await aK(a));return a.transaction(a=>aF(a,{analyses:b,families:c,scope:d,originByRoot:f,icons:i,skipped:h}))}function aE(a){return[...a].length}async function aF(a,{analyses:b,families:c,scope:e,originByRoot:f,icons:g,skipped:h}){let i=new Set,j=new Set,k=[],l=new Map;for(let c of b){let b=aC(c.root);k.push(b),l.set(c.root,(0,af.cR)(c));let e=new Date(c.scannedAt),h=g.get(c.root)??null,m=h?.dataUri??null;for(let g of(await a.insert(t).values({id:b,name:c.name,slug:b,root:c.root,description:c.description,version:c.version,iconDataUri:m,iconHash:h?.hash??null,primaryLanguage:c.primaryLanguage,healthScore:c.health.score,healthGrade:c.health.grade,sourceBytes:c.stats.sourceBytes,fileCount:c.stats.files,gitBranch:c.git?.branch,gitRemoteUrl:c.git?.remoteUrl,gitCommitCount:c.git?.commitCount,lastCommitAt:c.git?.lastCommitAt?new Date(c.git.lastCommitAt):null,summary:c.summary?.text??null,summarySource:c.summary?.source??null,summaryReadme:c.summary?.readme??null,summaryComposed:c.summary?.composed??null,summaryComposition:c.summary?.composition??null,originKind:f.get(c.root)?.kind??null,originStartedBy:f.get(c.root)?.startedBy??null,originShare:f.get(c.root)?.yourShare??null,originEvidence:f.get(c.root)?.evidence??null,runbook:c.runbook,recentCommits:c.git?.recentCommits??null,agentsMd:c.agentsMd??null,gitVersioned:c.versioned??null,gitModified:c.git?.work?.modified??null,gitUntracked:c.git?.work?.untracked??null,gitAhead:c.git?.work?.ahead??null,gitBehind:c.git?.work?.behind??null,gitStashes:c.git?.work?.stashes??null,gitOwnRepo:c.git?.work?.ownRepo??null,depsUnresolved:function(a){let b=a.ecosystems.filter(a=>a.lockUnresolved).map(a=>a.lockfilePath).filter(a=>!!a);return b.length>0?[...new Set(b)].join(", "):null}(c),lastScannedAt:e}).onConflictDoUpdate({target:t.id,set:{name:(0,d.ll)`excluded.name`,description:(0,d.ll)`excluded.description`,version:(0,d.ll)`excluded.version`,iconDataUri:(0,d.ll)`excluded.icon_data_uri`,iconHash:(0,d.ll)`excluded.icon_hash`,primaryLanguage:(0,d.ll)`excluded.primary_language`,healthScore:(0,d.ll)`excluded.health_score`,healthGrade:(0,d.ll)`excluded.health_grade`,sourceBytes:(0,d.ll)`excluded.source_bytes`,fileCount:(0,d.ll)`excluded.file_count`,gitBranch:(0,d.ll)`excluded.git_branch`,gitRemoteUrl:(0,d.ll)`excluded.git_remote_url`,gitCommitCount:(0,d.ll)`excluded.git_commit_count`,lastCommitAt:(0,d.ll)`excluded.last_commit_at`,summary:(0,d.ll)`excluded.summary`,summarySource:(0,d.ll)`excluded.summary_source`,summaryReadme:(0,d.ll)`excluded.summary_readme`,summaryComposed:(0,d.ll)`excluded.summary_composed`,summaryComposition:(0,d.ll)`excluded.summary_composition`,originKind:(0,d.ll)`excluded.origin_kind`,originStartedBy:(0,d.ll)`excluded.origin_started_by`,originShare:(0,d.ll)`excluded.origin_share`,originEvidence:(0,d.ll)`excluded.origin_evidence`,runbook:(0,d.ll)`excluded.runbook`,recentCommits:(0,d.ll)`excluded.recent_commits`,agentsMd:(0,d.ll)`excluded.agents_md`,gitVersioned:(0,d.ll)`excluded.git_versioned`,gitModified:(0,d.ll)`excluded.git_modified`,gitUntracked:(0,d.ll)`excluded.git_untracked`,gitAhead:(0,d.ll)`excluded.git_ahead`,gitBehind:(0,d.ll)`excluded.git_behind`,gitStashes:(0,d.ll)`excluded.git_stashes`,gitOwnRepo:(0,d.ll)`excluded.git_own_repo`,depsUnresolved:(0,d.ll)`excluded.deps_unresolved`,lastScannedAt:(0,d.ll)`excluded.last_scanned_at`}}),await a.insert(u).values({id:aC(`${c.root}@${c.scannedAt}`),projectId:b,scannedAt:e,commitSha:c.git?.lastCommitSha,engineVersion:c.engineVersion,healthScore:c.health.score,report:c}).onConflictDoNothing(),c.technologies))i.has(g.id)||(i.add(g.id),await a.insert(v).values({id:g.id,name:g.name,kind:g.kind,iconSlug:g.iconSlug}).onConflictDoNothing());await a.delete(w).where((0,ab.eq)(w.projectId,b)),c.technologies.length>0&&await a.insert(w).values(c.technologies.map(a=>({projectId:b,technologyId:a.id,version:a.version,confidence:a.confidence,evidence:a.evidence})));let n=c.ecosystems.flatMap(a=>a.dependencies.map(b=>({...b,packageId:`${a.ecosystem}:${b.name}`}))),o=n.filter(a=>!j.has(a.packageId));for(let a of o)j.add(a.packageId);o.length>0&&await a.insert(x).values(aJ(o,a=>a.packageId).map(a=>({id:a.packageId,ecosystem:a.ecosystem,name:a.name}))).onConflictDoNothing(),await a.delete(A).where((0,ab.eq)(A.projectId,b)),n.length>0&&await a.insert(A).values(aJ(n,a=>a.packageId).map(a=>({projectId:b,packageId:a.packageId,constraint:a.constraint,resolvedVersion:a.resolvedVersion,isDev:a.isDev,isDirect:a.isDirect,source:a.source}))),await a.delete(B).where((0,ab.eq)(B.projectId,b)),c.distributions.length>0&&await a.insert(B).values(aJ(c.distributions,a=>`${a.kind}:${a.label}`).map(a=>({projectId:b,kind:a.kind,label:a.label,evidence:a.evidence,url:a.url}))),await a.delete(C).where((0,ab.eq)(C.projectId,b)),c.links.length>0&&await a.insert(C).values(c.links.map(a=>({projectId:b,serviceId:a.id,service:a.service,label:a.label,url:a.url,kind:a.kind,evidence:a.evidence,iconSlug:a.iconSlug}))),await a.delete(D).where((0,ab.eq)(D.projectId,b));let p=c.git?.agentContributors??[];p.length>0&&await a.insert(D).values(p.map(a=>({projectId:b,agentName:a.name,commits:a.commits})))}for(let d of(b.length>1&&await aL(a,e),c)){let b=aC(`family:${d.canonicalRoot}`);await a.insert(Q).values({id:b,name:d.name,canonicalProjectId:aC(d.canonicalRoot),canonicalReason:d.canonicalReason,redundantBytes:d.redundantBytes}).onConflictDoUpdate({target:Q.id,set:{name:d.name,canonicalProjectId:aC(d.canonicalRoot),canonicalReason:d.canonicalReason,redundantBytes:d.redundantBytes}}),d.copies.length>0&&await a.insert(R).values(d.copies.map(a=>({familyId:b,projectId:aC(a.root),confidence:a.confidence,reason:a.reason,daysBehind:a.daysBehind??null}))).onConflictDoNothing()}let m=new Map;for(let[a,b]of l)b.value&&m.set(aC(a),b.value);let n=e?await aM(a,e,k,m):0,o=await aH(a),p=await aG(a,l);return await aO(a),{projects:b.length,technologies:i.size,packages:j.size,families:c.length,removed:n,excluded:h,reslugged:o.reslugged,slugConflicts:o.conflicts,stableIdentities:p}}async function aG(a,b){let c=new Map;for(let[a,d]of b)d.value&&c.set(d.value,[...c.get(d.value)??[],a]);let d=0;for(let[e,f]of b){let b=f.value&&1===c.get(f.value).length,g=b?f.value:`ruta:${aC(e)}`;b&&d++,await a.update(t).set({identity:g}).where((0,ab.eq)(t.root,e))}return d}async function aH(a){let b=await a.select({id:t.id,name:t.name,root:t.root,slug:t.slug,lastCommitAt:t.lastCommitAt,isCopy:(0,d.ll)`exists (
|
|
3
|
+
select 1 from family_members fm where fm.project_id = projects.id
|
|
4
|
+
)`}).from(t),c=new Map;for(let a of b){let b=(0,af.Yv)(a.name)||"proyecto";c.set(b,[...c.get(b)??[],a])}let e=new Set,f=[],g=0;for(let[a,b]of c)for(let[c,d]of[...b].sort((a,b)=>{if(a.isCopy!==b.isCopy)return a.isCopy?1:-1;let c=(b.lastCommitAt?.getTime()??0)-(a.lastCommitAt?.getTime()??0);return 0!==c?c:a.root.localeCompare(b.root)}).entries()){let b=(0,af.Yv)((0,ae.basename)(d.root)),h=(0,af.Yv)((0,ae.basename)((0,ae.dirname)(d.root))),i=b=>b.startsWith(a)?b:`${a}-${b}`,j=(0===c?[a]:[i(b),i(`${h}-${b}`)].filter(b=>b!==a)).find(a=>a&&!e.has(a));if(!j){let b=2;for(;e.has(`${a}-${b}`);)b++;j=`${a}-${b}`}e.add(j),j!==d.slug&&(f.push({id:d.id,slug:j}),d.slug!==d.id&&(g+=1))}for(let b of f)await aI(a,b.id,[`~pendiente~${b.id}`]);let h=0;for(let b of f){let c=b.id.slice(0,6);(await aI(a,b.id,[b.slug,`${b.slug}-${c}`,b.id])).first||(h+=1)}return{reslugged:g,conflicts:h}}async function aI(a,b,c){for(let[d,e]of c.entries())try{return await a.transaction(async a=>{await a.update(t).set({slug:e}).where((0,ab.eq)(t.id,b))}),{first:0===d}}catch(a){if(!function(a){for(let b=a,c=0;b&&c<5;c+=1){if("23505"===b.code)return!0;let a=b.message;if("string"==typeof a&&a.includes("duplicate key value"))return!0;b=b.cause}return!1}(a))throw a}return{first:!1}}function aJ(a,b){let c=new Map;for(let d of a){let a=b(d);c.has(a)||c.set(a,d)}return[...c.values()]}async function aK(a){if(!a.iconPath)return null;let b=aB[(0,ae.extname)(a.iconPath).toLowerCase()];if(!b)return null;try{let c=await (0,ad.readFile)((0,ae.join)(a.root,a.iconPath));if(c.byteLength>1048576)return null;return{dataUri:`data:${b};base64,${c.toString("base64")}`,hash:(0,aa.createHash)("sha1").update(c).digest("hex")}}catch{return null}}async function aL(a,b){if(!b){await a.delete(R),await a.delete(Q);return}let c=b.replace(/\/+$/,""),e=(0,ab.or)((0,ab.eq)(t.root,c),(0,d.ll)`left(${t.root}, ${aE(c)+1}) = ${`${c}/`}`),f=(await a.select({id:t.id}).from(t).where((0,d.ll)`not (${e})`)).map(a=>a.id),g=new Set;if(f.length>0){for(let b of(await a.select({id:Q.id}).from(Q).where((0,ab.RV)(Q.canonicalProjectId,f))))g.add(b.id);for(let b of(await a.select({familyId:R.familyId}).from(R).where((0,ab.RV)(R.projectId,f))))g.add(b.familyId)}let h=(await a.select({id:Q.id}).from(Q)).map(a=>a.id).filter(a=>!g.has(a));0!==h.length&&(await a.delete(R).where((0,ab.RV)(R.familyId,h)),await a.delete(Q).where((0,ab.RV)(Q.id,h)))}async function aM(a,b,c,e=new Map){if(0===c.length)return 0;let f=b.replace(/\/+$/,""),g=await a.select({id:t.id,identity:t.identity}).from(t).where((0,ab.Uo)((0,ab.or)((0,ab.eq)(t.root,f),(0,d.ll)`left(${t.root}, ${aE(f)+1}) = ${`${f}/`}`),(0,ab.KL)(t.id,c)));if(0===g.length)return 0;if(g.length>c.length)throw Error(`La limpieza iba a retirar ${g.length} proyectos habiendo encontrado solo ${c.length} bajo ${f}. Se ha cancelado por si el escaneo fall\xf3 a medias. Vuelve a escanear esa ruta.`);return await aN(a,g,e),await a.delete(t).where((0,ab.RV)(t.id,g.map(a=>a.id))),g.length}async function aN(a,b,c){let d=b.filter(a=>a.identity?.startsWith("git:"));if(0===d.length)return;let e=b.map(a=>a.id),f=new Map;for(let[a,b]of c)f.set(b,[...f.get(b)??[],a]);let g=await a.select({id:t.id,identity:t.identity}).from(t).where((0,ab.Uo)((0,ab.RV)(t.identity,d.map(a=>a.identity)),(0,ab.KL)(t.id,e)));for(let b of d){let c=[...new Set([...f.get(b.identity)??[],...g.filter(a=>a.identity===b.identity).map(a=>a.id)])];if(1!==c.length)continue;let d=c[0];await a.update(J).set({projectId:d}).where((0,ab.eq)(J.projectId,b.id)),await a.update(F).set({projectId:d}).where((0,ab.eq)(F.projectId,b.id)),await a.update(G).set({projectId:d}).where((0,ab.eq)(G.projectId,b.id)),await a.update(I).set({projectId:d}).where((0,ab.eq)(I.projectId,b.id)),await a.update(K).set({projectId:d}).where((0,ab.eq)(K.projectId,b.id)),await a.update(L).set({projectId:d}).where((0,ab.eq)(L.projectId,b.id)),await a.update(M).set({projectId:d}).where((0,ab.eq)(M.projectId,b.id)),await a.update(N).set({projectId:d}).where((0,ab.eq)(N.projectId,b.id))}}async function aO(a,b=30){return(await a.delete(u).where((0,d.ll)`${u.id} in (
|
|
5
|
+
select id from (
|
|
6
|
+
select id,
|
|
7
|
+
row_number() over (
|
|
8
|
+
partition by project_id order by scanned_at desc, id desc
|
|
9
|
+
) as reciente,
|
|
10
|
+
row_number() over (
|
|
11
|
+
partition by project_id order by scanned_at asc, id asc
|
|
12
|
+
) as antiguo
|
|
13
|
+
from snapshots
|
|
14
|
+
) orden
|
|
15
|
+
where orden.reciente > ${b} and orden.antiguo <> 1
|
|
16
|
+
)`).returning({id:u.id})).length}var aP=globalThis;function aQ(a){let b=(aP.panomaWriteQueue??Promise.resolve()).then(a);return aP.panomaWriteQueue=b.then(()=>void 0,()=>void 0),b}function aR(a){if(!a)return"no-git";let b=(Date.now()-a.getTime())/864e5;return b>365?"dormant":b>60?"paused":"active"}async function aS(a){return(await a.select({id:t.id,identity:t.identity,name:t.name,slug:t.slug,root:t.root,description:t.description,summary:t.summary,summarySource:t.summarySource,originKind:t.originKind,originStartedBy:t.originStartedBy,hasIcon:(0,d.ll)`(projects.icon_data_uri is not null)`,primaryLanguage:t.primaryLanguage,healthScore:t.healthScore,healthGrade:t.healthGrade,lastCommitAt:t.lastCommitAt,gitCommitCount:t.gitCommitCount,gitRemoteUrl:t.gitRemoteUrl,gitVersioned:t.gitVersioned,gitModified:t.gitModified,gitUntracked:t.gitUntracked,gitAhead:t.gitAhead,gitBehind:t.gitBehind,gitStashes:t.gitStashes,gitOwnRepo:t.gitOwnRepo,sourceBytes:t.sourceBytes,outdatedDeps:t.outdatedDeps,directDeps:t.directDeps,vulnCount:t.vulnCount,vulnCritical:t.vulnCritical,depsUnresolved:t.depsUnresolved,technologies:(0,d.ll)`coalesce((
|
|
17
|
+
select json_agg(json_build_object(
|
|
18
|
+
'id', tech.id, 'name', tech.name, 'kind', tech.kind, 'version', pt.version
|
|
19
|
+
) order by pt.confidence desc, tech.name)
|
|
20
|
+
from project_technologies pt
|
|
21
|
+
join technologies tech on tech.id = pt.technology_id
|
|
22
|
+
where pt.project_id = projects.id
|
|
23
|
+
), '[]'::json)`,agents:(0,d.ll)`coalesce((
|
|
24
|
+
select json_agg(json_build_object('name', pa.agent_name, 'commits', pa.commits)
|
|
25
|
+
order by pa.commits desc)
|
|
26
|
+
from project_agents pa
|
|
27
|
+
where pa.project_id = projects.id
|
|
28
|
+
), '[]'::json)`,copyCount:(0,d.ll)`coalesce((
|
|
29
|
+
select count(*)::int from family_members fm
|
|
30
|
+
join families f on f.id = fm.family_id
|
|
31
|
+
where f.canonical_project_id = projects.id
|
|
32
|
+
), 0)`,copyOf:(0,d.ll)`(
|
|
33
|
+
select canon.name from family_members fm
|
|
34
|
+
join families f on f.id = fm.family_id
|
|
35
|
+
join projects canon on canon.id = f.canonical_project_id
|
|
36
|
+
where fm.project_id = projects.id
|
|
37
|
+
limit 1
|
|
38
|
+
)`,proposedRuns:(0,d.ll)`coalesce((
|
|
39
|
+
select count(*)::int from runs
|
|
40
|
+
where runs.project_id = projects.id and runs.status = 'propuesto'
|
|
41
|
+
), 0)`,lastCommitSubject:(0,d.ll)`(projects.recent_commits->0->>'subject')`}).from(t).where((0,d.ll)`(select d.hidden from decisions d where d.identity = projects.identity) is not true`).orderBy((0,d.ll)`${t.lastCommitAt} desc nulls last`,(0,ac.i)(t.healthScore))).map(a=>({...a,work:aT(a)}))}function aT(a){return null===a.gitOwnRepo?null:{modified:a.gitModified??0,untracked:a.gitUntracked??0,ahead:a.gitAhead??void 0,behind:a.gitBehind??void 0,stashes:a.gitStashes??0,ownRepo:a.gitOwnRepo}}async function aU(a,b){let[c]=await a.select().from(t).where((0,ab.eq)(t.slug,b)).limit(1);if(!c)return;let[d]=c.identity?await a.select().from(O).where((0,ab.eq)(O.identity,c.identity)).limit(1):[],[e,f,g,h,i,j,k]=await Promise.all([a.select({id:v.id,name:v.name,kind:v.kind,iconSlug:v.iconSlug,version:w.version,confidence:w.confidence,evidence:w.evidence}).from(w).innerJoin(v,(0,ab.eq)(v.id,w.technologyId)).where((0,ab.eq)(w.projectId,c.id)).orderBy((0,ac.i)(w.confidence)),a.select({ecosystem:x.ecosystem,name:x.name,latestVersion:x.latestVersion,constraint:A.constraint,resolvedVersion:A.resolvedVersion,isDev:A.isDev,isDirect:A.isDirect,source:A.source}).from(A).innerJoin(x,(0,ab.eq)(x.id,A.packageId)).where((0,ab.eq)(A.projectId,c.id)).orderBy(x.ecosystem,x.name),a.select().from(B).where((0,ab.eq)(B.projectId,c.id)),a.select().from(C).where((0,ab.eq)(C.projectId,c.id)).orderBy(C.kind,C.service),a.select().from(D).where((0,ab.eq)(D.projectId,c.id)).orderBy((0,ac.i)(D.commits)),a.select({advisoryId:y.id,summary:y.summary,severity:y.severity,url:y.url,fixedVersions:y.fixedVersions,packageName:x.name,ecosystem:x.ecosystem,affectedVersion:z.version}).from(A).innerJoin(x,(0,ab.eq)(x.id,A.packageId)).innerJoin(z,(0,ab.Uo)((0,ab.eq)(z.packageId,A.packageId),(0,ab.eq)(z.version,A.resolvedVersion))).innerJoin(y,(0,ab.eq)(y.id,z.advisoryId)).where((0,ab.eq)(A.projectId,c.id)),a.select({scannedAt:u.scannedAt,healthScore:u.healthScore,engineVersion:u.engineVersion}).from(u).where((0,ab.eq)(u.projectId,c.id)).orderBy((0,ac.i)(u.scannedAt)).limit(30)]);return{project:c,decision:d??null,review:await b7(a,c.id),work:aT(c),technologies:e,dependencies:f,distributions:g,links:h,agents:i,advisories:j,history:k}}async function aV(a){return(await a.select({id:t.id,name:t.name,slug:t.slug,root:t.root,hasIcon:(0,d.ll)`(projects.icon_data_uri is not null)`,gitBranch:t.gitBranch,gitRemoteUrl:t.gitRemoteUrl,gitCommitCount:t.gitCommitCount,lastCommitAt:t.lastCommitAt,fileCount:t.fileCount,gitVersioned:t.gitVersioned,gitModified:t.gitModified,gitUntracked:t.gitUntracked,gitAhead:t.gitAhead,gitBehind:t.gitBehind,gitStashes:t.gitStashes,gitOwnRepo:t.gitOwnRepo,copyOf:(0,d.ll)`(
|
|
42
|
+
select canon.name from family_members fm
|
|
43
|
+
join families f on f.id = fm.family_id
|
|
44
|
+
join projects canon on canon.id = f.canonical_project_id
|
|
45
|
+
where fm.project_id = projects.id
|
|
46
|
+
limit 1
|
|
47
|
+
)`}).from(t).where((0,ab.Uo)((0,d.ll)`${t.gitVersioned} is not null`,(0,ab.or)((0,d.ll)`${t.gitVersioned} = false`,(0,d.ll)`(${t.gitVersioned} and coalesce(${t.gitCommitCount}, 0) = 0)`,(0,d.ll)`${t.gitModified} > 0`,(0,d.ll)`${t.gitUntracked} > 0`,(0,d.ll)`${t.gitAhead} > 0`,(0,d.ll)`${t.gitStashes} > 0`,(0,d.ll)`(${t.gitOwnRepo}
|
|
48
|
+
and ${t.gitRemoteUrl} is null
|
|
49
|
+
and ${t.gitCommitCount} > 0)`))).orderBy((0,d.ll)`(case
|
|
50
|
+
when ${t.gitVersioned} = false then 0
|
|
51
|
+
when coalesce(${t.gitCommitCount}, 0) = 0 then 1
|
|
52
|
+
when ${t.gitOwnRepo} and ${t.gitRemoteUrl} is null then 2
|
|
53
|
+
else 3 end)`,(0,d.ll)`coalesce(${t.gitCommitCount}, 0) desc`,(0,d.ll)`coalesce(${t.gitAhead}, 0) desc`,(0,d.ll)`coalesce(${t.gitModified}, 0) + coalesce(${t.gitUntracked}, 0) desc`)).map(a=>({...a,work:aT(a)}))}async function aW(a){return(await a.select({id:t.id,name:t.name,slug:t.slug,root:t.root,hasIcon:(0,d.ll)`(projects.icon_data_uri is not null)`,lastCommitAt:t.lastCommitAt,totalBytes:t.diskTotalBytes,reclaimableBytes:t.diskReclaimableBytes,dirs:t.diskDirs,measuredAt:t.diskMeasuredAt,copyOf:(0,d.ll)`(
|
|
54
|
+
select canon.name from family_members fm
|
|
55
|
+
join families f on f.id = fm.family_id
|
|
56
|
+
join projects canon on canon.id = f.canonical_project_id
|
|
57
|
+
where fm.project_id = projects.id
|
|
58
|
+
limit 1
|
|
59
|
+
)`}).from(t).where((0,d.ll)`${t.diskMeasuredAt} is not null`).orderBy((0,d.ll)`coalesce(${t.diskReclaimableBytes}, 0) desc`)).map(a=>({...a,dirs:a.dirs??[]}))}async function aX(a){let[b]=await a.select({measured:(0,d.ll)`count(*)::int`,totalBytes:(0,d.ll)`coalesce(sum(disk_total_bytes), 0)::bigint`,reclaimableBytes:(0,d.ll)`coalesce(sum(disk_reclaimable_bytes), 0)::bigint`,dormantReclaimableBytes:(0,d.ll)`coalesce(sum(disk_reclaimable_bytes) filter (
|
|
60
|
+
where last_commit_at < now() - interval '${d.ll.raw(String(365))} days'
|
|
61
|
+
or last_commit_at is null), 0)::bigint`,measuredAt:(0,d.ll)`max(disk_measured_at)`}).from(t).where((0,d.ll)`${t.diskMeasuredAt} is not null`);return{measured:Number(b?.measured??0),totalBytes:Number(b?.totalBytes??0),reclaimableBytes:Number(b?.reclaimableBytes??0),dormantReclaimableBytes:Number(b?.dormantReclaimableBytes??0),measuredAt:b?.measuredAt?new Date(b.measuredAt):null}}async function aY(a,b,c){let[d]=await a.select({identity:t.identity,name:t.name}).from(t).where((0,ab.eq)(t.id,b)).limit(1);d?.identity&&await a.insert(O).values({identity:d.identity,hidden:c,lastName:d.name}).onConflictDoUpdate({target:O.identity,set:{hidden:c,lastName:d.name,updatedAt:new Date}})}async function aZ(a,b,c){let[d]=await a.select({name:t.name,root:t.root}).from(t).where((0,ab.eq)(t.id,b)).limit(1);if(d){if(void 0!==c&&c.trim()!==d.name)throw Error(`Para sacar \xab${d.name}\xbb del cat\xe1logo hay que escribir su nombre exactamente.`);return await a.insert(P).values({root:d.root,name:d.name}).onConflictDoNothing(),await a.delete(t).where((0,ab.eq)(t.id,b)),d}}async function a$(a,b){let c=b.replace(/\/+$/,""),e=await a.select({id:t.id}).from(t).where((0,ab.or)((0,ab.eq)(t.root,c),(0,d.ll)`left(${t.root}, ${c.length+1}) = ${`${c}/`}`));return 0===e.length?0:(await a.delete(t).where((0,ab.RV)(t.id,e.map(a=>a.id))),e.length)}async function a_(a,b){await a.delete(P).where((0,ab.eq)(P.root,b))}async function a0(a){let[b,c]=await Promise.all([a.select({id:t.id,name:t.name,slug:t.slug,root:t.root,hasIcon:(0,d.ll)`(projects.icon_data_uri is not null)`}).from(t).where((0,d.ll)`(select d.hidden from decisions d where d.identity = projects.identity) is true`).orderBy(t.name),a.select().from(P).orderBy((0,ac.i)(P.excludedAt))]);return{hidden:b,excluded:c}}async function a1(a){return a.select({id:t.id,name:t.name,slug:t.slug,root:t.root,identity:t.identity}).from(t).orderBy(t.name)}async function a2(a,b,c){await a.update(t).set({diskTotalBytes:c.totalBytes,diskReclaimableBytes:c.reclaimableBytes,diskDirs:c.dirs,diskMeasuredAt:new Date}).where((0,ab.eq)(t.id,b))}async function a3(a,b){let[c]=await a.select({root:t.root,name:t.name}).from(t).where((0,ab.eq)(t.id,b)).limit(1);return c}async function a4(a,b,c,d,e,f){let[g]=await a.select({identity:t.identity,name:t.name}).from(t).where((0,ab.eq)(t.id,b)).limit(1);if(!g?.identity)return;let h={aiSummary:c,aiSummaryModel:d,aiSummaryAt:new Date,aiSummaryLang:e,aiSummaryHash:f,lastName:g.name};await a.insert(O).values({identity:g.identity,...h}).onConflictDoUpdate({target:O.identity,set:{...h,updatedAt:new Date}})}async function a5(a,b,c,d,e,f){let[g]=await a.select({identity:t.identity,name:t.name}).from(t).where((0,ab.eq)(t.id,b)).limit(1);if(!g?.identity)return;let h={mdReview:c,mdReviewModel:d,mdReviewAt:new Date,mdReviewHash:e,mdReviewLang:f,lastName:g.name};await a.insert(O).values({identity:g.identity,...h}).onConflictDoUpdate({target:O.identity,set:{...h,updatedAt:new Date}})}async function a6(a,b,c){let[d]=await a.select({identity:t.identity,name:t.name}).from(t).where((0,ab.eq)(t.id,b)).limit(1);if(!d?.identity)return;let e={accounts:c,lastName:d.name};await a.insert(O).values({identity:d.identity,...e}).onConflictDoUpdate({target:O.identity,set:{...e,updatedAt:new Date}})}async function a7(a,b,c){let[d]=await a.select({identity:t.identity,name:t.name}).from(t).where((0,ab.eq)(t.id,b)).limit(1);if(!d?.identity)return;let e={buildCheck:c,lastName:d.name};await a.insert(O).values({identity:d.identity,...e}).onConflictDoUpdate({target:O.identity,set:{...e,updatedAt:new Date}})}async function a8(a,b,c){let[d]=await a.select({identity:t.identity,name:t.name}).from(t).where((0,ab.eq)(t.slug,b)).limit(1);if(!d?.identity)return;let e={north:c,lastName:d.name};await a.insert(O).values({identity:d.identity,...e}).onConflictDoUpdate({target:O.identity,set:{...e,updatedAt:new Date}})}async function a9(a,b){let[c]=await a.select({north:O.north}).from(O).where((0,ab.eq)(O.identity,b)).limit(1);return c?.north??void 0}async function ba(a,b){let[c]=await a.select({icon:t.iconDataUri,hash:t.iconHash}).from(t).where((0,ab.eq)(t.id,b)).limit(1),d=c?.icon?/^data:([^;]+);base64,(.+)$/.exec(c.icon):null;if(!d)return;let e=Buffer.from(d[2],"base64");return{body:e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength),contentType:d[1],hash:c?.hash??null}}async function bb(a){let b=(0,ag.n)(t,"canon");return await a.select({id:Q.id,name:Q.name,canonicalReason:Q.canonicalReason,redundantBytes:Q.redundantBytes,canonical:{name:b.name,root:b.root,slug:b.slug,lastCommitAt:b.lastCommitAt},copies:(0,d.ll)`coalesce((
|
|
62
|
+
select json_agg(json_build_object(
|
|
63
|
+
'name', p.name, 'root', p.root, 'slug', p.slug,
|
|
64
|
+
'confidence', fm.confidence, 'reason', fm.reason, 'daysBehind', fm.days_behind
|
|
65
|
+
) order by fm.days_behind nulls last)
|
|
66
|
+
from family_members fm
|
|
67
|
+
join projects p on p.id = fm.project_id
|
|
68
|
+
where fm.family_id = families.id
|
|
69
|
+
), '[]'::json)`}).from(Q).innerJoin(b,(0,ab.eq)(b.id,Q.canonicalProjectId)).orderBy((0,ac.i)(Q.redundantBytes))}var bc=(0,d.ll)`not exists (
|
|
70
|
+
select 1 from family_members fm where fm.project_id = projects.id
|
|
71
|
+
) and (select d.hidden from decisions d where d.identity = projects.identity) is not true`;async function bd(a){let[b]=await a.select({projects:(0,d.ll)`(select count(*)::int from ${t} where ${bc})`,live:(0,d.ll)`(select count(*)::int from ${t}
|
|
72
|
+
where ${bc}
|
|
73
|
+
and last_commit_at > now() - interval '${d.ll.raw(String(60))} days')`,paused:(0,d.ll)`(select count(*)::int from ${t}
|
|
74
|
+
where ${bc}
|
|
75
|
+
and last_commit_at <= now() - interval '${d.ll.raw(String(60))} days'
|
|
76
|
+
and last_commit_at >= now() - interval '${d.ll.raw(String(365))} days')`,dormant:(0,d.ll)`(select count(*)::int from ${t}
|
|
77
|
+
where ${bc}
|
|
78
|
+
and last_commit_at < now() - interval '${d.ll.raw(String(365))} days')`,noGit:(0,d.ll)`(select count(*)::int from ${t}
|
|
79
|
+
where ${bc} and last_commit_at is null)`,copies:(0,d.ll)`(select count(*)::int from ${R})`,hidden:(0,d.ll)`(select count(*)::int from ${t} p
|
|
80
|
+
where not exists (select 1 from family_members fm where fm.project_id = p.id)
|
|
81
|
+
and (select d.hidden from decisions d where d.identity = p.identity) is true)`,redundantBytes:(0,d.ll)`(select coalesce(sum(redundant_bytes), 0)::int from ${Q})`,agentCommits:(0,d.ll)`(select coalesce(sum(commits), 0)::int from ${D})`,technologies:(0,d.ll)`(select count(*)::int from ${v})`,packages:(0,d.ll)`(select count(*)::int from ${x})`,outdatedDeps:(0,d.ll)`(select coalesce(sum(outdated_deps), 0)::int from ${t})`,vulnerableProjects:(0,d.ll)`(select count(*)::int from ${t} where vuln_count > 0)`,advisories:(0,d.ll)`(select count(*)::int from ${y})`,enrichedAt:(0,d.ll)`(select max(enriched_at) from ${t})`,unsaved:(0,d.ll)`(select count(*)::int from ${t}
|
|
82
|
+
where git_versioned is not null
|
|
83
|
+
and (git_versioned = false
|
|
84
|
+
or (git_versioned and coalesce(git_commit_count, 0) = 0)
|
|
85
|
+
or git_modified > 0 or git_untracked > 0 or git_ahead > 0 or git_stashes > 0
|
|
86
|
+
or (git_own_repo and git_remote_url is null and git_commit_count > 0)))`,noRemote:(0,d.ll)`(select count(*)::int from ${t}
|
|
87
|
+
where git_own_repo and git_remote_url is null and git_commit_count > 0)`,unversioned:(0,d.ll)`(select count(*)::int from ${t}
|
|
88
|
+
where git_versioned = false)`,notMine:(0,d.ll)`(select count(*)::int from ${t}
|
|
89
|
+
where origin_kind in ('ajeno', 'bifurcado'))`,proposedRuns:(0,d.ll)`(select count(*)::int from ${N} where status = 'propuesto')`}).from((0,d.ll)`(select 1) as _`);return{...b,enrichedAt:b?.enrichedAt?new Date(b.enrichedAt):null}}async function be(a){return await a.select({id:x.id,ecosystem:x.ecosystem,name:x.name,latestVersion:x.latestVersion,deprecated:x.deprecated,projects:(0,d.ll)`(
|
|
90
|
+
select count(*)::int from project_dependencies pd where pd.package_id = packages.id
|
|
91
|
+
)`,versionsInUse:(0,d.ll)`coalesce((
|
|
92
|
+
select json_agg(v order by v.projects desc, v.version)
|
|
93
|
+
from (
|
|
94
|
+
select pd.resolved_version as version, count(*)::int as projects
|
|
95
|
+
from project_dependencies pd
|
|
96
|
+
where pd.package_id = packages.id and pd.resolved_version is not null
|
|
97
|
+
group by pd.resolved_version
|
|
98
|
+
) v
|
|
99
|
+
), '[]'::json)`,advisories:(0,d.ll)`(
|
|
100
|
+
select count(distinct vu.advisory_id)::int
|
|
101
|
+
from vulnerabilities vu where vu.package_id = packages.id
|
|
102
|
+
)`,worstSeverity:(0,d.ll)`(
|
|
103
|
+
select a.severity from vulnerabilities vu
|
|
104
|
+
join advisories a on a.id = vu.advisory_id
|
|
105
|
+
where vu.package_id = packages.id
|
|
106
|
+
order by case a.severity
|
|
107
|
+
when 'crítica' then 0 when 'alta' then 1 when 'media' then 2
|
|
108
|
+
when 'baja' then 3 else 4 end
|
|
109
|
+
limit 1
|
|
110
|
+
)`}).from(x).orderBy((0,d.ll)`(
|
|
111
|
+
select count(*) from project_dependencies pd where pd.package_id = packages.id
|
|
112
|
+
) desc`,x.name)}async function bf(a,b){let c=new Date,e=(b??new Date(c.getTime()-864e5)).toISOString(),[f]=await a.select({n:(0,d.ll)`count(*)::int`}).from(t),g=f?.n??0,h=await a.select({id:t.id,slug:t.slug,name:t.name,commits:(0,d.ll)`coalesce((
|
|
113
|
+
select json_agg(json_build_object(
|
|
114
|
+
'sha', c->>'sha', 'at', c->>'at', 'subject', c->>'subject', 'agent', c->>'agent'
|
|
115
|
+
) order by nullif(c->>'at', '')::timestamptz desc)
|
|
116
|
+
from jsonb_array_elements(projects.recent_commits) c
|
|
117
|
+
where nullif(c->>'at', '')::timestamptz > ${e}::timestamptz
|
|
118
|
+
), '[]'::json)`,agents:(0,d.ll)`coalesce((
|
|
119
|
+
select json_agg(json_build_object('name', ag.name, 'activities', n) order by n desc)
|
|
120
|
+
from (
|
|
121
|
+
select aa.agent_id, count(*)::int as n
|
|
122
|
+
from agent_activities aa
|
|
123
|
+
where aa.project_id = projects.id and aa.created_at > ${e}
|
|
124
|
+
group by aa.agent_id
|
|
125
|
+
) act
|
|
126
|
+
join agents ag on ag.id = act.agent_id
|
|
127
|
+
), '[]'::json)`}).from(t).where((0,d.ll)`(select d.hidden from decisions d where d.identity = projects.identity) is not true
|
|
128
|
+
and (
|
|
129
|
+
exists (
|
|
130
|
+
select 1 from jsonb_array_elements(projects.recent_commits) c
|
|
131
|
+
where nullif(c->>'at', '')::timestamptz > ${e}::timestamptz
|
|
132
|
+
)
|
|
133
|
+
or exists (
|
|
134
|
+
select 1 from agent_activities aa
|
|
135
|
+
where aa.project_id = projects.id and aa.created_at > ${e}
|
|
136
|
+
)
|
|
137
|
+
)`).orderBy((0,d.ll)`${t.lastCommitAt} desc nulls last`),i=await a.select({id:N.id,project:t.name,slug:t.slug,target:N.target,verified:N.verified,when:N.createdAt}).from(N).innerJoin(t,(0,ab.eq)(t.id,N.projectId)).where((0,ab.eq)(N.status,"proposed")).orderBy((0,ac.i)(N.createdAt)),j=await a.select({slug:t.slug,name:t.name,when:t.firstSeenAt}).from(t).where((0,d.ll)`projects.first_seen_at > ${e}`).orderBy((0,ac.i)(t.firstSeenAt)),[k]=await a.select({looks:(0,d.ll)`count(*)::int`,findings:(0,d.ll)`coalesce(sum(jsonb_array_length(${_.findings})), 0)::int`}).from(_).where((0,ab.Uo)((0,ab.eq)(_.fired,"watch"),(0,d.ll)`${_.at} > ${e}`)),[l]=await a.select({reviews:(0,d.ll)`count(*)::int`,findings:(0,d.ll)`coalesce(sum(jsonb_array_length(${$.findings})), 0)::int`}).from($).where((0,d.ll)`${$.at} > ${e}`),m=await a.select({slug:t.slug,name:t.name,findings:(0,d.ll)`coalesce(sum(jsonb_array_length(${_.findings})), 0)::int`}).from(_).innerJoin(t,(0,ab.eq)(t.identity,_.identity)).where((0,ab.Uo)((0,ab.eq)(_.fired,"watch"),(0,d.ll)`${_.at} > ${e}`)).groupBy(t.slug,t.name),n=await a.select({slug:t.slug,name:t.name,findings:(0,d.ll)`coalesce(sum(jsonb_array_length(${$.findings})), 0)::int`}).from($).innerJoin(t,(0,ab.eq)(t.id,$.projectId)).where((0,d.ll)`${$.at} > ${e}`).groupBy(t.slug,t.name),o=new Map;for(let a of[...m,...n]){if(0===a.findings)continue;let b=o.get(a.slug);b?b.findings+=a.findings:o.set(a.slug,{...a})}let p=[...o.values()].sort((a,b)=>b.findings-a.findings),q=await a.select({id:t.id,slug:t.slug,name:t.name,lastCommitAt:t.lastCommitAt,hasReadme:(0,d.ll)`(${t.summaryReadme} is not null)`,health:t.healthScore,outdated:t.outdatedDeps,notices:t.vulnCount,openTasks:(0,d.ll)`(
|
|
138
|
+
select count(*)::int from tasks
|
|
139
|
+
where tasks.project_id = ${t.id}
|
|
140
|
+
and tasks.status in ('open', 'in-progress')
|
|
141
|
+
)`,north:O.north,built:(0,d.ll)`(${O.buildCheck} is not null)`,critiques:(0,d.ll)`coalesce((
|
|
142
|
+
select jsonb_array_length(reviews.findings) from reviews
|
|
143
|
+
where reviews.project_id = ${t.id}
|
|
144
|
+
), 0)`,gitVersioned:t.gitVersioned,gitRemoteUrl:t.gitRemoteUrl,gitCommitCount:t.gitCommitCount,gitModified:t.gitModified,gitUntracked:t.gitUntracked,gitAhead:t.gitAhead,gitBehind:t.gitBehind,gitStashes:t.gitStashes,gitOwnRepo:t.gitOwnRepo}).from(t).leftJoin(O,(0,ab.eq)(O.identity,t.identity)).where((0,d.ll)`${O.hidden} is not true`).orderBy((0,d.ll)`${t.lastCommitAt} desc nulls last`),r=h.reduce((a,b)=>a+(b.commits?.length??0),0),s=h.reduce((a,b)=>a+(b.commits??[]).filter(a=>a.agent).length,0),u=function(a){let b=new Map;for(let c of a){let a=c.target??{},d=a.packageName??"—",e=`${c.slug}\0${d}`,f=b.get(e);if(f){f.repeats+=1;continue}b.set(e,{id:c.id,project:c.project,slug:c.slug,pkgName:d,a:a.targetVersion??null,verified:c.verified,when:c.when,repeats:1})}return[...b.values()]}(i);return{since:b?b.toISOString():null,now:c.toISOString(),catalog:g,summary:{touchedProjects:h.length,commits:r,byAgents:s,proposals:u.length,born:j.length},projects:h.map(a=>({id:a.id,slug:a.slug,name:a.name,commits:a.commits??[],agents:a.agents??[]})),proposals:u,born:j,critic:{looks:k?.looks??0,lookFindings:k?.findings??0,reviews:l?.reviews??0,reviewFindings:l?.findings??0,where:p},director:q.map(a=>{var b;return{id:a.id,slug:a.slug,name:a.name,state:aR(a.lastCommitAt),monthsIdle:(b=a.lastCommitAt)?Math.max(0,Math.floor((Date.now()-b.getTime())/(30*864e5))):0,hasReadme:a.hasReadme,health:a.health,outdated:a.outdated,notices:a.notices,openTasks:a.openTasks,north:a.north,built:a.built,critiques:a.critiques,gitVersioned:a.gitVersioned,gitRemoteUrl:a.gitRemoteUrl,gitCommitCount:a.gitCommitCount,work:aT(a)}})}}async function bg(a,b){let c=new Map;for(let a of b)c.set(aC([a.source,a.sessionId,a.at.toISOString(),a.quote].join("\0")),a);if(0===c.size)return{inserted:0,remapped:0};let d=[...c].map(([a,b])=>({id:a,...b})),e=0,f=0;for(let b=0;b<d.length;b+=500){let c=d.slice(b,b+500),g=await a.insert(S).values(c).onConflictDoNothing({target:S.id}).returning({id:S.id});e+=g.length,f+=await bh(a,c,new Set(g.map(a=>a.id)))}return{inserted:e,remapped:f}}async function bh(a,b,c){let d=b.filter(a=>!c.has(a.id));if(0===d.length)return 0;let e=new Map((await a.select({id:S.id,identity:S.identity}).from(S).where((0,ab.RV)(S.id,d.map(a=>a.id)))).map(a=>[a.id,a.identity])),f=new Map;for(let a of d){if(e.get(a.id)===a.identity)continue;let b=f.get(a.identity);b?b.push(a.id):f.set(a.identity,[a.id])}let g=0;for(let[b,c]of f)await a.update(S).set({identity:b}).where((0,ab.RV)(S.id,c)),g+=c.length;return g}async function bi(a){let b=await a.select({identity:t.identity,name:t.name}).from(t).where((0,d.ll)`${t.identity} is not null`),c={};for(let a of b)a.identity&&void 0===c[a.identity]&&(c[a.identity]=a.name);return c}async function bj(a,b={}){let{identity:c,accepted:d}=b,e=[];void 0!==c&&e.push((0,ab.eq)(S.identity,c)),null===d?e.push((0,ab.kZ)(S.accepted)):void 0!==d&&e.push((0,ab.eq)(S.accepted,d));let f=a.select().from(S).where(e.length>0?(0,ab.Uo)(...e):void 0).orderBy((0,ac.i)(S.createdAt),(0,ac.i)(S.at),(0,ac.Y)(S.id));return(void 0===b.limit?await f:await f.limit(b.limit)).map(a=>({...a,signals:a.signals??[]}))}async function bk(a,b={}){let c=[];return void 0!==b.source&&c.push((0,ab.eq)(S.source,b.source)),void 0!==b.sessionId&&c.push((0,ab.eq)(S.sessionId,b.sessionId)),void 0!==b.identity&&c.push((0,ab.eq)(S.identity,b.identity)),(await a.delete(S).where(c.length>0?(0,ab.Uo)(...c):void 0).returning({id:S.id})).length}async function bl(a,b,c){let[d]=await a.select({id:t.id}).from(t).where((0,ab.eq)(t.id,b)).limit(1);d&&await a.insert(X).values({projectId:b,data:c}).onConflictDoUpdate({target:X.projectId,set:{data:c,updatedAt:new Date}})}var bm={colors:12,fonts:8,radii:8};async function bn(a){let b=await a.select({data:X.data}).from(X).innerJoin(t,(0,ab.eq)(t.id,X.projectId)).where(bc),c=new Map,d=new Map,e=new Map,f=0,g=0,h=0;for(let a of b){let b=a.data;null!==b&&"object"==typeof b&&(!0===b.hasUi&&(f+=1),!0===b.darkMode&&(g+=1),!0===b.animation&&(h+=1),bo(c,(b.colors??[]).map(a=>[a.hex,a.count])),bo(d,(b.fonts??[]).map(a=>[function(a){let b=a.trim().replace(/\.(ttf|otf|woff2?|eot)$/i,""),c=b;for(;;){let a=/^(.+)[-_ ]([A-Za-z ]+)$/.exec(c);if(null===a)break;let b=a[2].toLowerCase().replace(/[^a-z]/g,"");if(!bp.has(b))break;c=a[1].trimEnd()}return c||b}(a.name),0])),bo(e,(b.radii??[]).map(a=>[function(a){let b=a.trim(),c=/^(\d+)\.0+([a-z%]*)$/i.exec(b);return c?`${c[1]}${c[2]??""}`:b}(a),0])))}return{read:b.length,withUi:f,colors:bq(c,bm.colors,!0),fonts:bq(d,bm.fonts,!1),radii:bq(e,bm.radii,!1),darkMode:g,animation:h}}function bo(a,b){let c=new Set;for(let[d,e]of b){let b=d.trim();if(""===b)continue;let f=a.get(b)??{projects:0,uses:0};c.has(b)||(c.add(b),f.projects+=1),f.uses+=e,a.set(b,f)}}var bp=new Set(["thin","extralight","ultralight","light","regular","book","normal","medium","semibold","demibold","bold","extrabold","black","heavy","italic","oblique","variablefont"]);function bq(a,b,c){return[...a.entries()].map(([a,b])=>({value:a,projects:b.projects,uses:c?b.uses:null})).sort((a,b)=>b.projects-a.projects||(b.uses??0)-(a.uses??0)||a.value.localeCompare(b.value)).slice(0,b)}async function br(a,b){let c=new Map;for(let a of b)c.set(aC([a.identity??"",a.statement].join("\0")),a);if(0===c.size)return 0;let d=[...new Set([...c.values()].map(a=>a.identity))],e=new Set((await a.select({identity:V.identity,statement:V.statement}).from(V).where((0,ab.or)(...d.map(a=>null===a?(0,ab.kZ)(V.identity):(0,ab.eq)(V.identity,a))))).map(a=>bs(a.identity,a.statement))),f=[...c].filter(([,a])=>!e.has(bs(a.identity,a.statement))).map(([a,b])=>({id:a,identity:b.identity,topic:b.topic,classified:b.classified??!0,statement:b.statement,citations:b.citations,model:b.model,at:function(a){let b=0;for(let c of a){let a=Date.parse(c.at);!Number.isNaN(a)&&a>b&&(b=a)}return 0===b?new Date:new Date(b)}(b.citations)}));return 0===f.length?0:(await a.insert(V).values(f).onConflictDoNothing({target:V.id}).returning({id:V.id})).length}function bs(a,b){let c=b.normalize("NFC").replace(/\s+/g," ").trim().toLowerCase();return`${a??""}\0${c}`}async function bt(a,b={}){let{topic:c,classified:d,identity:e}=b,f=[];void 0!==c&&f.push((0,ab.eq)(V.topic,c)),void 0!==d&&f.push((0,ab.eq)(V.classified,d)),null===e?f.push((0,ab.kZ)(V.identity)):void 0!==e&&f.push((0,ab.eq)(V.identity,e));let g=a.select().from(V).where(f.length>0?(0,ab.Uo)(...f):void 0).orderBy((0,ac.i)(V.at),(0,ac.Y)(V.id));return(void 0===b.limit?await g:await g.limit(b.limit)).map(a=>({...a,citations:a.citations??[]}))}async function bu(a){return(await a.select({topic:V.topic,observations:(0,d.ll)`count(*)::int`,unclassified:(0,d.ll)`count(*) filter (where not classified)::int`,newest:(0,d.ll)`extract(epoch from max(topic_at))::double precision`}).from(V).groupBy(V.topic).orderBy((0,ac.i)((0,d.ll)`count(*)`),(0,ac.Y)(V.topic))).map(a=>({...a,newest:null===a.newest?null:new Date(1e3*a.newest)}))}async function bv(a,b){let c=0;for(let d of b)c+=(await a.update(V).set({topic:d.topic,classified:!0,topicAt:new Date}).where((0,ab.eq)(V.id,d.id)).returning({id:V.id})).length;return c}async function bw(a,b){return 0===b.length?[]:(await a.insert(W).values(b.map(a=>({id:(0,aa.randomUUID)(),topic:a.topic,classified:a.classified??!0,statement:a.statement,identity:a.identity??null,state:a.state,supersedes:a.supersedes??[],citations:a.citations,support:a.support,model:a.model}))).returning({id:W.id})).map(a=>a.id)}async function bx(a,b,c){return(await a.update(W).set({...c,updatedAt:new Date}).where((0,ab.Uo)((0,ab.eq)(W.id,b),(0,ab.eq)(W.state,"inferred"))).returning({id:W.id})).length>0}async function by(a,b={}){let c=[];return void 0!==b.topic&&c.push((0,ab.eq)(W.topic,b.topic)),void 0!==b.states&&c.push((0,ab.RV)(W.state,b.states)),(await a.select().from(W).where(c.length>0?(0,ab.Uo)(...c):void 0).orderBy((0,ac.Y)(W.createdAt),(0,ac.Y)(W.id))).map(a=>({...a,state:a.state,publishedAs:function(a){if("object"!=typeof a||null===a)return null;let b="string"==typeof a.topic?a.topic:void 0,c="string"==typeof a.statement?a.statement:void 0;if(void 0===b||void 0===c)return null;let d="string"==typeof a.scope?a.scope:void 0;return{topic:b,statement:c,...d?{scope:d}:{}}}(a.publishedAs),supersedes:Array.isArray(a.supersedes)?a.supersedes.filter(a=>"string"==typeof a):[],citations:a.citations??[],support:a.support??{observations:0,projects:0,days:0}}))}var bz=["inferred","signed"];async function bA(a,b,c){let e=c?.replace(/\s+/g," ").trim();return(await a.update(W).set({state:"signed",signedAt:(0,d.ll)`coalesce(${W.signedAt}, now())`,...e?{statement:e,model:(0,d.ll)`case when ${W.model} = 'owner' then 'owner' else '' end`,updatedAt:new Date}:{}}).where((0,ab.Uo)((0,ab.eq)(W.id,b),(0,ab.RV)(W.state,bz))).returning({id:W.id})).length>0}async function bB(a,b){if(0===(await a.update(W).set({state:"vetoed",vetoedAt:(0,d.ll)`coalesce(${W.vetoedAt}, now())`}).where((0,ab.Uo)((0,ab.eq)(W.id,b),(0,ab.RV)(W.state,bz))).returning({id:W.id})).length)return!1;let c=(await a.select({id:W.id,supersedes:W.supersedes}).from(W).where((0,ab.eq)(W.state,"proposed"))).filter(a=>!!Array.isArray(a.supersedes)&&a.supersedes.includes(b));if(c.length>0){let b=new Set((await a.select({id:W.id}).from(W).where((0,ab.RV)(W.state,bz))).map(a=>a.id)),e=c.filter(a=>a.supersedes.every(a=>"string"!=typeof a||!b.has(a))).map(a=>a.id);e.length>0&&await a.update(W).set({state:"answered",retiredAt:(0,d.ll)`coalesce(${W.retiredAt}, now())`}).where((0,ab.RV)(W.id,e))}return!0}async function bC(a,b){return 0===b.length?0:(await a.update(W).set({state:"retired",retiredAt:(0,d.ll)`coalesce(${W.retiredAt}, now())`}).where((0,ab.Uo)((0,ab.RV)(W.id,b),(0,ab.eq)(W.state,"inferred"))).returning({id:W.id})).length}async function bD(a,b,c){return(await a.update(W).set({identity:c}).where((0,ab.Uo)((0,ab.eq)(W.id,b),(0,ab.RV)(W.state,bz))).returning({id:W.id})).length>0}async function bE(a,b,c){let[e]=await a.select().from(W).where((0,ab.Uo)((0,ab.eq)(W.id,b),(0,ab.eq)(W.state,"proposed")));if(!e)return!1;let f=Array.isArray(e.supersedes)?e.supersedes.filter(a=>"string"==typeof a):[],g=!c;if(c){let b;for(let c of f){if(void 0===b){(await a.update(W).set({statement:e.statement,citations:e.citations,support:e.support,updatedAt:new Date}).where((0,ab.Uo)((0,ab.eq)(W.id,c),(0,ab.eq)(W.state,"signed"))).returning({id:W.id})).length>0&&(b=c);continue}await a.update(W).set({state:"retired",retiredAt:(0,d.ll)`coalesce(${W.retiredAt}, now())`}).where((0,ab.Uo)((0,ab.eq)(W.id,c),(0,ab.eq)(W.state,"signed")))}g=void 0!==b}if(await a.update(W).set({state:"answered",retiredAt:(0,d.ll)`coalesce(${W.retiredAt}, now())`}).where((0,ab.eq)(W.id,b)),f.length>0){let b=(await a.select({id:W.id,supersedes:W.supersedes}).from(W).where((0,ab.eq)(W.state,"proposed"))).filter(a=>!!Array.isArray(a.supersedes)&&a.supersedes.some(a=>f.includes(a))).map(a=>a.id);b.length>0&&await a.update(W).set({state:"answered",retiredAt:(0,d.ll)`coalesce(${W.retiredAt}, now())`}).where((0,ab.RV)(W.id,b))}return g}async function bF(a,b){for(let c of b)await a.update(W).set({publishedAs:c.published}).where((0,ab.eq)(W.id,c.id))}async function bG(a,b){let c=0;for(let d of b)c+=(await a.update(W).set({topic:d.topic,classified:!0}).where((0,ab.eq)(W.id,d.id)).returning({id:W.id})).length;return c}var bH={observations:3,sources:2};function bI(a){return!(a.observations<bH.observations)&&(a.days>=bH.sources||a.projects>=bH.sources)}async function bJ(a){var b,c,e;let f=d.ll.raw(String(30)),g=d.ll.raw(String(60)),h=d.ll.raw(String(90)),i=d.ll.raw("(model <> 'owner' and (state = 'vetoed' or (state in ('signed', 'retired') and model = '')))"),j=d.ll.raw("state not in ('proposed', 'answered') and model <> 'owner'"),[k]=await a.select({alive:(0,d.ll)`count(*) filter (where state in ('inferred', 'signed'))::int`,signed:(0,d.ll)`count(*) filter (where state = 'signed')::int`,vetoed:(0,d.ll)`count(*) filter (where state = 'vetoed')::int`,retired:(0,d.ll)`count(*) filter (where state = 'retired')::int`,proposed:(0,d.ll)`count(*) filter (where state = 'proposed')::int`,shown:(0,d.ll)`count(*) filter (where ${j})::int`,corrections:(0,d.ll)`count(*) filter (where ${i})::int`,recentShown:(0,d.ll)`count(*) filter (
|
|
145
|
+
where ${j}
|
|
146
|
+
and created_at > now() - interval '${g} days'
|
|
147
|
+
and created_at <= now() - interval '${f} days')::int`,recentCorrections:(0,d.ll)`count(*) filter (
|
|
148
|
+
where ${j} and ${i}
|
|
149
|
+
and created_at > now() - interval '${g} days'
|
|
150
|
+
and created_at <= now() - interval '${f} days')::int`,earlierShown:(0,d.ll)`count(*) filter (
|
|
151
|
+
where ${j}
|
|
152
|
+
and created_at > now() - interval '${h} days'
|
|
153
|
+
and created_at <= now() - interval '${g} days')::int`,earlierCorrections:(0,d.ll)`count(*) filter (
|
|
154
|
+
where ${j} and ${i}
|
|
155
|
+
and created_at > now() - interval '${h} days'
|
|
156
|
+
and created_at <= now() - interval '${g} days')::int`}).from(W),l=k??{alive:0,signed:0,vetoed:0,retired:0,proposed:0,shown:0,corrections:0,recentShown:0,recentCorrections:0,earlierShown:0,earlierCorrections:0},m=await by(a,{states:bz}),n=m.filter(a=>"signed"===a.state||bI(a.support)).length,o=m.filter(a=>"owner"!==a.model),p=o.reduce((a,b)=>a+b.support.observations,0),[q]=await a.select({observations:(0,d.ll)`count(*)::int`}).from(V),r=q?.observations??0,s=bK(l.corrections,l.shown),t=bL(l.recentShown,l.recentCorrections),u=bL(l.earlierShown,l.earlierCorrections);return{beliefs:l.alive,standing:n,forming:l.alive-n,signed:l.signed,vetoed:l.vetoed,retired:l.retired,proposed:l.proposed,observations:r,density:0===o.length?null:Math.round(10*p/o.length)/10,corrections:l.corrections,shown:l.shown,rate:s,floor:20,recent:t,previous:u,reading:(b=s,c=t,e=u,null===b?"tooFew":null===c.rate||null===e.rate?"noTrend":c.rate<e.rate?"better":"notBetter")}}function bK(a,b){return b<20?null:Math.round(100*a/b)}function bL(a,b){return{shown:a,corrections:b,rate:bK(b,a)}}async function bM(a){let[b]=await a.select({findings:(0,d.ll)`coalesce(sum(jsonb_array_length(${_.findings})), 0)::int`}).from(_),[c]=await a.select({tasks:(0,d.ll)`count(*)::int`,claimed:(0,d.ll)`count(*) filter (where ${I.claimedAt} is not null)::int`,done:(0,d.ll)`count(*) filter (where ${I.status} = 'done')::int`}).from(I).where((0,ab.Uo)((0,ab.Pe)(I.fromLook),(0,ab.Pe)(I.fromFinding))),e=await a.select({alive:(0,d.ll)`count(*) filter (where ${I.status} <> 'discarded')::int`}).from(I).where((0,ab.Uo)((0,ab.Pe)(I.fromLook),(0,ab.Pe)(I.fromFinding))).groupBy(I.fromLook,I.fromFinding),f=await a.select({launched:(0,d.ll)`count(distinct ${M.taskId})::int`,launches:(0,d.ll)`count(*)::int`}).from(M).innerJoin(I,(0,ab.eq)(I.id,M.taskId)).where((0,ab.Uo)((0,ab.Pe)(I.fromLook),(0,ab.Pe)(I.fromFinding))),g=b?.findings??0,h=e.filter(a=>a.alive>0).length;return{findings:g,ordered:h,discarded:e.length-h,tasks:c?.tasks??0,claimed:c?.claimed??0,done:c?.done??0,launched:f[0]?.launched??0,launches:f[0]?.launches??0,rate:bK(h,g)}}async function bN(a,b){await a.insert(Z).values({id:(0,aa.randomUUID)(),kind:b.kind,provider:b.provider,model:b.model,appId:b.appId??null,appJobId:b.appJobId??null,identity:b.identity??null,inputTokens:b.input??null,outputTokens:b.output??null,images:b.images??0})}function bO(a=new Date){return new Date(a.getFullYear(),a.getMonth(),a.getDate())}async function bP(a,b,c=bO()){let d={calls:0,input:0,output:0,unmetered:0,images:0},e="string"==typeof b?[b]:b;if(0===e.length)return d;let[f]=await a.select(bZ).from(Z).where((0,ab.Uo)((0,ab.RV)(Z.kind,[...e]),(0,ab.RO)(Z.createdAt,c)));return f??d}async function bQ(a,b=bO(),c){return a.select({kind:Z.kind,...bZ}).from(Z).where(bT(b,c)).groupBy(Z.kind).orderBy((0,ac.Y)(Z.kind))}async function bR(a,b=bO(),c){return a.select({provider:Z.provider,model:Z.model,...bZ}).from(Z).where(bT(b,c)).groupBy(Z.provider,Z.model).orderBy((0,ac.Y)(Z.provider),(0,ac.Y)(Z.model))}async function bS(a,b){return await a.select({kind:Z.kind,provider:Z.provider,model:Z.model,identity:Z.identity,input:Z.inputTokens,output:Z.outputTokens,images:Z.images,createdAt:Z.createdAt}).from(Z).where(bT(b.since,b.until)).orderBy((0,ac.Y)(Z.createdAt),(0,ac.Y)(Z.id)).limit(b.limit??2e4)}function bT(a,b){return b?(0,ab.Uo)((0,ab.RO)(Z.createdAt,a),(0,ab.lt)(Z.createdAt,b)):(0,ab.RO)(Z.createdAt,a)}async function bU(a){return new Map((await a.select({topic:Y.topic,at:(0,d.ll)`extract(epoch from max(${Y.at}))::double precision`}).from(Y).groupBy(Y.topic)).map(a=>[a.topic,1e3*a.at]))}async function bV(a,b){await a.insert(Y).values({id:(0,aa.randomUUID)(),...b})}async function bW(a,b){let c=await a.select().from(Y).where((0,ab.RO)(Y.at,b)).orderBy((0,ac.i)(Y.at)),d=new Map;for(let a of c){let b=bX(a.at),c=d.get(b)??{month:b,topics:0,created:0,refined:0,retired:0,proposed:0,moved:0};c.topics+=1,c.created+=a.created,c.refined+=a.refined,c.retired+=a.retired,c.proposed+=a.proposed,c.moved+=a.created+a.refined+a.retired+a.proposed,d.set(b,c)}return[...d.values()].sort((a,b)=>b.month.localeCompare(a.month))}function bX(a){return`${a.getFullYear()}-${String(a.getMonth()+1).padStart(2,"0")}`}function bY(a,b=new Date){return new Date(b.getFullYear(),b.getMonth()-a,1)}var bZ={calls:(0,d.ll)`count(*)::int`,input:(0,d.ll)`coalesce(sum(input_tokens), 0)::int`,output:(0,d.ll)`coalesce(sum(output_tokens), 0)::int`,unmetered:(0,d.ll)`count(*) filter (where input_tokens is null)::int`,images:(0,d.ll)`coalesce(sum(images), 0)::int`};async function b$(a,b){return a.transaction(async a=>b(a))}async function b_(a){let b=await a.select({verdictId:(0,d.ll)`jsonb_array_elements(${V.citations})->>'verdictId'`}).from(V),c=new Set;for(let a of b)a.verdictId&&c.add(a.verdictId);return c}async function b0(a,b){0!==b.length&&await a.update(S).set({distilledAt:(0,d.ll)`coalesce(${S.distilledAt}, now())`}).where((0,ab.RV)(S.id,b))}async function b1(a){let b=await a.select({id:S.id}).from(S).where((0,ab.Pe)(S.distilledAt)),c=await b_(a);for(let a of b)c.add(a.id);return c}async function b2(a){let[b]=await a.select({projects:(0,d.ll)`count(*)::int`,reached:(0,d.ll)`count(*) filter (where exists (
|
|
157
|
+
select 1 from jsonb_array_elements(coalesce(${t.agentsMd}->'files', '[]'::jsonb)) f
|
|
158
|
+
where (f->>'managed')::boolean
|
|
159
|
+
))::int`}).from(t).where(bc);return{projects:b?.projects??0,reached:b?.reached??0}}async function b3(a){let[b]=await a.select({total:(0,d.ll)`count(*)::int`}).from(S),c=b?.total??0,e=await b1(a),f=await a.select({id:S.id,identity:S.identity,accepted:S.accepted}).from(S),g=0,h=0,i=new Map;for(let a of f)e.has(a.id)?g+=1:!1===a.accepted?h+=1:i.set(a.identity,(i.get(a.identity)??0)+1);let j=0;for(let a of i.values())a<b4&&(j+=a);return{total:Math.max(c-j-h,g),read:g}}var b4=2;async function b5(a){let b=await a.select({id:V.id,identity:V.identity,citations:V.citations}).from(V);if(0===b.length)return 0;let c=new Set,d=new Map;for(let a of b){let b=function(a){if(!Array.isArray(a))return[];let b=[];for(let c of a){if("object"!=typeof c||null===c)continue;let a=c.verdictId;"string"==typeof a&&a.length>0&&b.push(a)}return b}(a.citations);if(0!==b.length)for(let e of(d.set(a.id,b),b))c.add(e)}if(0===c.size)return 0;let e=new Map((await a.select({id:S.id,identity:S.identity}).from(S).where((0,ab.RV)(S.id,[...c]))).map(a=>[a.id,a.identity])),f=0;for(let c of b){let b,g=d.get(c.id);if(void 0===g)continue;let h=new Map;for(let a of g){let b=e.get(a);void 0!==b&&h.set(b,(h.get(b)??0)+1)}let i=0;for(let[a,c]of h)c>i&&(b=a,i=c);void 0!==b&&b!==c.identity&&(await a.update(V).set({identity:b}).where((0,ab.eq)(V.id,c.id)),f+=1)}return f}async function b6(a,b,c){let d={findings:c.findings,sourcesRead:c.sourcesRead,truncated:c.truncated,at:new Date};await a.insert($).values({projectId:b,...d}).onConflictDoUpdate({target:$.projectId,set:d})}async function b7(a,b){let[c]=await a.select().from($).where((0,ab.eq)($.projectId,b)).limit(1);if(void 0!==c)return{findings:function(a){if(!Array.isArray(a))return[];let b=[];for(let c of a)"object"==typeof c&&null!==c&&"string"==typeof c.kind&&"string"==typeof c.claim&&b.push({kind:c.kind,claim:c.claim,..."string"==typeof c.hint?{hint:c.hint}:{},..."string"==typeof c.file?{file:c.file}:{},..."number"==typeof c.line?{line:c.line}:{}});return b}(c.findings),sourcesRead:c.sourcesRead,truncated:c.truncated,at:c.at}}async function b8(a,b){return a.select({id:t.id,root:t.root,lastCommitAt:t.lastCommitAt}).from(t).leftJoin($,(0,ab.eq)($.projectId,t.id)).where((0,ab.kZ)($.projectId)).orderBy((0,d.ll)`${t.lastCommitAt} desc nulls last`).limit(b)}async function b9(a,b){let c=(0,aa.randomUUID)();return await a.insert(_).values({id:c,identity:b.identity,digest:b.digest,shot:b.shot??null,bytes:b.bytes,fired:b.fired,provider:b.provider,model:b.model,statements:b.statements,dropped:b.dropped,unreadable:b.unreadable,findings:b.findings}),c}async function ca(a,b,c){let[d]=await a.select({id:_.id}).from(_).where((0,ab.Uo)((0,ab.eq)(_.identity,b),(0,ab.eq)(_.digest,c))).limit(1);return void 0!==d}async function cb(a,b={}){let c=a.select().from(_).orderBy((0,ac.i)(_.at)).limit(b.limit??20);return(b.identity?await c.where((0,ab.eq)(_.identity,b.identity)):await c).map(a=>({id:a.id,identity:a.identity,digest:a.digest,...a.shot?{shot:a.shot}:{},bytes:a.bytes,fired:"watch"===a.fired?"watch":"hand",provider:a.provider,model:a.model,statements:a.statements,dropped:a.dropped,unreadable:a.unreadable,findings:cf(a.findings),at:a.at}))}async function cc(a,b){let[c]=await a.select().from(_).where((0,ab.eq)(_.id,b)).limit(1);if(void 0!==c)return{id:c.id,identity:c.identity,digest:c.digest,...c.shot?{shot:c.shot}:{},bytes:c.bytes,fired:"watch"===c.fired?"watch":"hand",provider:c.provider,model:c.model,statements:c.statements,dropped:c.dropped,unreadable:c.unreadable,findings:cf(c.findings),at:c.at}}async function cd(a,b){let[c]=await a.select({id:t.id,name:t.name,slug:t.slug,root:t.root}).from(t).where((0,ab.eq)(t.identity,b)).orderBy((0,d.ll)`${t.lastCommitAt} desc nulls last`,(0,ac.Y)(t.root)).limit(1);return c}async function ce(a,b=bO()){let[c]=await a.select({n:(0,d.ll)`count(*)::int`}).from(_).where((0,ab.Uo)((0,ab.eq)(_.fired,"watch"),(0,ab.RO)(_.at,b)));return c?.n??0}function cf(a){if(!Array.isArray(a))return[];let b=[];for(let c of a){if("object"!=typeof c||null===c)continue;let a="string"==typeof c.what?c.what:"",d="string"==typeof c.where?c.where:"",e="string"==typeof c.fix?c.fix:"";if(!a||!d||!e)continue;let f=Array.isArray(c.cites)?c.cites.filter(a=>"string"==typeof a):[];b.push({what:a,where:d,fix:e,cites:f})}return b}async function cg(a,b){let[c]=await a.select({id:t.id,name:t.name,slug:t.slug,root:t.root,identity:t.identity,gitRemoteUrl:t.gitRemoteUrl,runbook:t.runbook}).from(t).where((0,ab.eq)(t.id,b)).limit(1);if(!c)return;let[d]=c.identity?await a.select({accounts:O.accounts,openPlan:O.openPlan}).from(O).where((0,ab.eq)(O.identity,c.identity)).limit(1):[],[e,f]=await Promise.all([a.select().from(C).where((0,ab.eq)(C.projectId,c.id)).orderBy(C.kind,C.service),a.select().from(B).where((0,ab.eq)(B.projectId,c.id))]);return{project:c,decision:d??null,links:e,distributions:f}}async function ch(a,b,c){let[d]=await a.select({identity:t.identity,name:t.name}).from(t).where((0,ab.eq)(t.id,b)).limit(1);if(!d?.identity)return!1;let e={openPlan:c,lastName:d.name};return await a.insert(O).values({identity:d.identity,...e}).onConflictDoUpdate({target:O.identity,set:{...e,updatedAt:new Date}}),!0}var ci=500,cj=20,ck=30;function cl(a){return!(!a||a.length>2048||a!==a.trim()||/^[A-Za-z]:/.test(a)||a.includes("\\")||a.includes("*")||/\p{Cc}/u.test(a))&&a.split("/").every(a=>""!==a.trim()&&"."!==a&&".."!==a)}function cm(a){let b=a.endsWith("/**")?a.slice(0,-3):a;return a.length<=120&&cl(b)}function cn(a,b){if(a.endsWith("/**")){let c=a.slice(0,-3);return b===c||b.startsWith(`${c}/`)}return b===a}async function co(a,b){await a.select({id:t.id}).from(t).where((0,ab.eq)(t.id,b)).for("update")}async function cp(a,b){let c=(0,af.fp)(b.body.trim());if(0===c.length||c.length>ci)return{refused:"tooLong",max:ci};let e=b.trigger?.trim();return void 0===e||""===e||cm(e)?a.transaction(async a=>{await co(a,b.projectId);let[f]=await a.select({pending:(0,d.ll)`count(*)::int`}).from(J).where((0,ab.Uo)((0,ab.eq)(J.projectId,b.projectId),(0,ab.eq)(J.status,"proposed"))),g=f?.pending??0;if(g>=cj)return{refused:"pendingFull",max:cj};let h=cA("note");return await a.insert(J).values({id:h,projectId:b.projectId,body:c,createdBy:b.createdBy,trigger:e||null}),{id:h,pending:g+1}}):{refused:"badTrigger"}}async function cq(a,b){let c=(0,af.fp)(b.body.trim());if(0===c.length||c.length>ci)return{refused:"tooLong",max:ci};let d=b.trigger?.trim()||null;return null===d||cm(d)?a.transaction(async a=>{await co(a,b.projectId);let e=await ct(a,b.projectId);if(null===d&&e.used+c.length>2e3)return{refused:"overBudget",used:e.used,budget:2e3};if(null!==d&&e.sleeping>=ck)return{refused:"sleepingFull",used:e.sleeping,budget:ck};let f=cA("note");return await a.insert(J).values({id:f,projectId:b.projectId,body:c,trigger:d,status:"approved",createdBy:"human",decidedAt:new Date,sentinels:b.sentinels??[]}),{id:f,body:c}}):{refused:"badTrigger"}}async function cr(a,b,c,d={}){let e="approved"===c?["proposed","challenged"]:["proposed","approved","challenged"];return a.transaction(async a=>{let[f]=await a.select({projectId:J.projectId}).from(J).where((0,ab.Uo)((0,ab.eq)(J.id,b),void 0===d.projectId?void 0:(0,ab.eq)(J.projectId,d.projectId))).limit(1);if(!f)return{decided:!1,reason:"gone"};await co(a,f.projectId);let[g]=await a.select({body:J.body,trigger:J.trigger,decidedAt:J.decidedAt}).from(J).where((0,ab.Uo)((0,ab.eq)(J.id,b),(0,ab.eq)(J.projectId,f.projectId),(0,ab.RV)(J.status,e))).limit(1);if(!g)return{decided:!1,reason:"gone"};if("approved"===c){let b=await ct(a,f.projectId);if(null===g.trigger&&b.used+g.body.length>2e3)return{decided:!1,reason:"overBudget",used:b.used,budget:2e3};if(null!==g.trigger&&b.sleeping>=ck)return{decided:!1,reason:"sleepingFull",used:b.sleeping,budget:ck}}let h=new Date(Math.max(Date.now(),(g.decidedAt?.getTime()??0)+1)),i=await a.update(J).set({status:c,decidedAt:h,..."approved"===c?{challenge:null}:{},..."approved"===c&&void 0!==d.sentinels?{sentinels:d.sentinels}:{}}).where((0,ab.Uo)((0,ab.eq)(J.id,b),(0,ab.eq)(J.projectId,f.projectId),(0,ab.RV)(J.status,e))).returning({id:J.id,body:J.body,trigger:J.trigger});return 0===i.length?{decided:!1,reason:"gone"}:"approved"===c?{decided:!0,body:i[0]?.body,trigger:i[0]?.trigger??null}:{decided:!0}})}async function cs(a,b,c=["approved"]){return a.select({id:J.id,body:J.body,status:J.status,createdBy:J.createdBy,createdAt:J.createdAt,trigger:J.trigger,challenge:J.challenge,sentinels:J.sentinels}).from(J).where((0,ab.Uo)((0,ab.eq)(J.projectId,b),(0,ab.RV)(J.status,c))).orderBy((0,ac.i)(J.createdAt),(0,ac.Y)(J.id))}async function ct(a,b){let c=await a.select({body:J.body,status:J.status,trigger:J.trigger}).from(J).where((0,ab.Uo)((0,ab.eq)(J.projectId,b),(0,ab.RV)(J.status,["approved","proposed"]))),d={used:0,budget:2e3,count:0,sleeping:0,pending:0};for(let a of c)"proposed"===a.status?d.pending++:null!==a.trigger?d.sleeping++:(d.used+=a.body.length,d.count++);return d}async function cu(a,b,c){return(await a.select({id:J.id,body:J.body,status:J.status,createdBy:J.createdBy,createdAt:J.createdAt,trigger:J.trigger}).from(J).where((0,ab.Uo)((0,ab.eq)(J.projectId,b),(0,ab.eq)(J.status,"approved"),(0,d.ll)`${J.trigger} is not null`)).orderBy((0,ac.i)(J.createdAt),(0,ac.Y)(J.id))).filter(a=>null!==a.trigger&&cn(a.trigger,c))}async function cv(a,b,c,e){return(await a.update(J).set({status:"challenged",challenge:c}).where((0,ab.Uo)((0,ab.eq)(J.id,b),(0,ab.eq)(J.status,"approved"),void 0===e?void 0:(0,d.ll)`${J.decidedAt} is not distinct from ${e}`)).returning({id:J.id})).length>0}async function cw(a,b){return(await a.select({id:J.id,body:J.body,sentinels:J.sentinels,decidedAt:J.decidedAt}).from(J).where((0,ab.Uo)((0,ab.eq)(J.projectId,b),(0,ab.eq)(J.status,"approved")))).map(a=>({id:a.id,body:a.body,sentinels:a.sentinels??[],decidedAt:a.decidedAt})).filter(a=>a.sentinels.length>0)}async function cx(a,b){await a.insert(L).values({id:cA("srv"),projectId:b.projectId,agentId:b.agentId,arm:b.arm,experimentId:b.experimentId??null,noteIds:b.noteIds,noteChars:b.noteChars})}async function cy(a,b=30,c="memory-v1"){let e=new Date(Date.now()-864e5*b),f=await a.select({arm:L.arm,servings:(0,d.ll)`count(*)::int`,visits:(0,d.ll)`count(distinct (${L.agentId} || ':' || ${L.projectId} || ':' || ((${L.at} at time zone 'UTC')::date)))::int`,projects:(0,d.ll)`count(distinct ${L.projectId})::int`,launchesAfter:(0,d.ll)`sum((
|
|
160
|
+
select count(*) from ${M} l
|
|
161
|
+
where l.project_id = servings.project_id
|
|
162
|
+
and l.at > servings.at
|
|
163
|
+
and (l.at at time zone 'UTC')::date = (servings.at at time zone 'UTC')::date
|
|
164
|
+
))::int`}).from(L).where((0,ab.Uo)((0,d.ll)`${L.at} >= ${e}`,(0,ab.eq)(L.experimentId,c))).groupBy(L.arm).orderBy((0,ac.Y)(L.arm)),[g]=await a.select({count:(0,d.ll)`count(*)::int`}).from(L).where((0,ab.Uo)((0,d.ll)`${L.at} >= ${e}`,(0,d.ll)`${L.experimentId} is null`)),[h]=await a.select({pending:(0,d.ll)`count(*) filter (where ${J.status} = 'proposed')::int`,oldestPendingDays:(0,d.ll)`floor(extract(epoch from now() - min(${J.createdAt}) filter (where ${J.status} = 'proposed')) / 86400)::int`,decided:(0,d.ll)`count(*) filter (where ${J.decidedAt} >= ${e} and ${J.status} in ('approved', 'discarded'))::int`,approved:(0,d.ll)`count(*) filter (where ${J.decidedAt} >= ${e} and ${J.status} = 'approved')::int`,discarded:(0,d.ll)`count(*) filter (where ${J.decidedAt} >= ${e} and ${J.status} = 'discarded')::int`,medianHoursToDecision:(0,d.ll)`round((percentile_cont(0.5) within group (
|
|
165
|
+
order by extract(epoch from ${J.decidedAt} - ${J.createdAt})
|
|
166
|
+
) filter (where ${J.decidedAt} >= ${e}) / 3600)::numeric, 1)::float`}).from(J);return{days:b,observationalServings:g?.count??0,arms:f.map(a=>({arm:a.arm,servings:a.servings,visits:a.visits,projects:a.projects,launchesAfter:a.launchesAfter??0})),gate:{pending:h?.pending??0,oldestPendingDays:h?.oldestPendingDays??null,decided:h?.decided??0,approved:h?.approved??0,discarded:h?.discarded??0,medianHoursToDecision:h?.medianHoursToDecision??null}}}async function cz(a){let[b]=await a.select({activities:(0,d.ll)`(select count(*) from ${G})::int`,consultations:(0,d.ll)`(select count(*) from ${K})::int`,agentKeys:(0,d.ll)`(select count(*) from ${E})::int`,agentsConnected:(0,d.ll)`(select count(*) from ${E} where last_seen_at is not null)::int`,approved:(0,d.ll)`(select count(*) from ${J} where status = 'approved' and trigger is null)::int`,sleeping:(0,d.ll)`(select count(*) from ${J} where status = 'approved' and trigger is not null)::int`,pending:(0,d.ll)`(select count(*) from ${J} where status = 'proposed')::int`}).from((0,d.ll)`(select 1) as one`);return{activities:b?.activities??0,consultations:b?.consultations??0,agentKeys:b?.agentKeys??0,agentsConnected:b?.agentsConnected??0,approved:b?.approved??0,sleeping:b?.sleeping??0,pending:b?.pending??0}}function cA(a){return`${a}_${(0,aa.randomBytes)(9).toString("base64url")}`}function cB(a){return(0,aa.createHash)("sha256").update(a).digest("hex")}async function cC(a,b){let c=`panoma_${(0,aa.randomBytes)(24).toString("base64url")}`,d=cA("agt");return await a.insert(E).values({id:d,name:b.name,kind:(0,af.S6)(b.kind??"custom"),apiKeyHash:cB(c)}),{id:d,name:b.name,apiKey:c}}async function cD(a,b){let c=(0,af.S6)(b.kind),[d]=await a.select({id:E.id}).from(E).where((0,ab.RV)(E.kind,(0,af.q)(b.kind))).orderBy((0,ac.i)(E.createdAt)).limit(1);if(!d)return cC(a,{...b,kind:c});let e=`panoma_${(0,aa.randomBytes)(24).toString("base64url")}`;return await a.update(E).set({name:b.name,kind:c,apiKeyHash:cB(e)}).where((0,ab.eq)(E.id,d.id)),{id:d.id,name:b.name,apiKey:e}}async function cE(a,b){return(await a.delete(E).where((0,ab.eq)(E.id,b)).returning({id:E.id})).length>0}async function cF(a,b){if(!b)return;let[c]=await a.select().from(E).where((0,ab.eq)(E.apiKeyHash,cB(b))).limit(1);return c&&await a.update(E).set({lastSeenAt:new Date}).where((0,ab.eq)(E.id,c.id)),c}async function cG(a,b){if(b.slug){let[c]=await a.select().from(t).where((0,ab.eq)(t.slug,b.slug)).limit(1);if(c)return c}if(b.cwd){let[c]=await a.select().from(t).where((0,ab.eq)(t.root,b.cwd)).limit(1);if(c)return c;let[e]=await a.select().from(t).where((0,d.ll)`${b.cwd} like ${t.root} || '/%'`).orderBy((0,d.ll)`length(root) desc`).limit(1);if(e)return e}if(b.remote){let c=b.remote.replace(/\.git$/,""),[e]=await a.select().from(t).where((0,ab.eq)(t.gitRemoteUrl,c)).orderBy((0,d.ll)`last_commit_at desc nulls last`).limit(1);if(e)return e}}async function cH(a,b){let[c]=await a.select().from(t).where((0,ab.eq)(t.id,b)).limit(1);if(!c)return;let[e,f,g,h,[i],j,k,l]=await Promise.all([a.select({name:v.name,kind:v.kind,version:w.version}).from(w).innerJoin(v,(0,ab.eq)(v.id,w.technologyId)).where((0,ab.eq)(w.projectId,b)).orderBy((0,ac.i)(w.confidence),(0,ac.Y)(v.name)),a.select({name:x.name,ecosystem:x.ecosystem,current:A.resolvedVersion,latest:x.latestVersion,isDev:A.isDev}).from(A).innerJoin(x,(0,ab.eq)(x.id,A.packageId)).where((0,ab.eq)(A.projectId,b)),a.select({advisoryId:y.id,severity:y.severity,packageName:x.name,summary:y.summary,fixedVersions:y.fixedVersions}).from(A).innerJoin(x,(0,ab.eq)(x.id,A.packageId)).innerJoin(z,(0,ab.Uo)((0,ab.eq)(z.packageId,A.packageId),(0,ab.eq)(z.version,A.resolvedVersion))).innerJoin(y,(0,ab.eq)(y.id,z.advisoryId)).where((0,ab.eq)(A.projectId,b)),a.select({id:I.id,title:I.title,body:I.body,status:I.status}).from(I).where((0,ab.Uo)((0,ab.eq)(I.projectId,b),(0,ab.RV)(I.status,["open","in-progress"]))).orderBy((0,ac.i)(I.createdAt),(0,ac.Y)(I.id)).limit(200),a.select({n:(0,d.ll)`count(*)::int`}).from(I).where((0,ab.Uo)((0,ab.eq)(I.projectId,b),(0,ab.RV)(I.status,["open","in-progress"]))),a.select({agent:E.name,kind:G.kind,summary:G.summary,at:G.createdAt}).from(G).innerJoin(E,(0,ab.eq)(E.id,G.agentId)).where((0,ab.eq)(G.projectId,b)).orderBy((0,ac.i)(G.createdAt),(0,ac.Y)(G.id)).limit(15),cs(a,b).then(a=>a.filter(a=>null===a.trigger)),ct(a,b)]),m=f.filter(a=>!a.isDev&&a.current&&a.latest&&a.current!==a.latest).map(a=>({name:a.name,ecosystem:a.ecosystem,current:a.current,latest:a.latest})),n=f.filter(a=>!a.isDev&&(!a.current||!a.latest)).length;return{project:{name:c.name,slug:c.slug,root:c.root,description:c.description,state:aR(c.lastCommitAt),health:{score:c.healthScore,grade:c.healthGrade}},stack:e.map(a=>({name:a.name,kind:a.kind,version:a.version})),dependencies:{total:f.length,unpinned:n,outdated:m},security:g.map(a=>({advisoryId:a.advisoryId,severity:a.severity,package:a.packageName,summary:a.summary,fixedIn:Array.isArray(a.fixedVersions)?a.fixedVersions:[]})),openTasks:h,openTaskTotal:i?.n??h.length,recentWork:j,notes:k.map(a=>({id:a.id,body:a.body,createdBy:a.createdBy})),noteUsage:{used:l.used,budget:l.budget,sleeping:l.sleeping,pending:l.pending}}}async function cI(a,b,c){let[e]=await a.select({id:F.id}).from(F).where((0,ab.Uo)((0,ab.eq)(F.agentId,b),(0,ab.eq)(F.projectId,c),(0,d.ll)`ended_at is null`)).orderBy((0,ac.i)(F.startedAt)).limit(1);if(e)return e.id;let f=cA("ses");return await a.insert(F).values({id:f,agentId:b,projectId:c}),f}async function cJ(a,b){if(b.summary.length>500)return{refused:"tooLong",field:"summary",max:500};if(void 0!==b.details&&b.details.length>8e3)return{refused:"tooLong",field:"details",max:8e3};let c=cA("act");return await a.insert(G).values({id:c,sessionId:b.sessionId,projectId:b.projectId,agentId:b.agentId,kind:b.kind,summary:(0,af.fp)(b.summary),details:void 0===b.details?void 0:(0,af.fp)(b.details),filesTouched:b.filesTouched??[],commitSha:b.commitSha}),{id:c}}async function cK(a,b,c){await a.update(F).set({endedAt:new Date,summary:c}).where((0,ab.eq)(F.id,b))}async function cL(a,b){let c=cA("tsk");return await a.insert(I).values({id:c,projectId:b.projectId,title:b.title,body:b.body,status:b.status??"open",createdBy:b.createdBy??"human",fromLook:b.fromLook??null,fromFinding:b.fromFinding??null,fromCritique:b.fromCritique??null}),c}async function cM(a,b){return(await a.update(I).set({status:"discarded"}).where((0,ab.Uo)((0,ab.eq)(I.id,b),(0,ab.RV)(I.status,["open","in-progress"]))).returning({id:I.id})).length>0}async function cN(a,b){return a.select({id:M.id,at:M.at,agent:M.agent,kind:M.kind,taskId:M.taskId,taskTitle:I.title}).from(M).leftJoin(I,(0,ab.eq)(I.id,M.taskId)).where((0,ab.eq)(M.projectId,b)).orderBy((0,ac.i)(M.at)).limit(50)}async function cO(a){return cP((await a.select({fromLook:I.fromLook,fromFinding:I.fromFinding,status:I.status}).from(I).where((0,ab.Uo)((0,ab.Pe)(I.fromLook),(0,ab.Pe)(I.fromFinding))).orderBy((0,ac.i)(I.createdAt),(0,ac.i)(I.id))).map(a=>({key:null!==a.fromLook&&null!==a.fromFinding?`${a.fromLook} ${a.fromFinding}`:null,status:a.status})))}function cP(a){let b=new Map;for(let c of a)null===c.key||b.has(c.key)||b.set(c.key,c.status);let c=new Set;for(let[a,d]of b)"discarded"===d&&c.add(a);return c}async function cQ(a,b){let[c]=await a.select({id:I.id,title:I.title,body:I.body,status:I.status,projectId:I.projectId,projectSlug:t.slug,projectRoot:t.root}).from(I).innerJoin(t,(0,ab.eq)(t.id,I.projectId)).where((0,ab.eq)(I.id,b)).limit(1);return c}async function cR(a){let b=await a.select({id:I.id,fromLook:I.fromLook,fromFinding:I.fromFinding}).from(I).where((0,ab.Uo)((0,ab.Pe)(I.fromLook),(0,ab.RV)(I.status,["open","in-progress"]))),c=new Map;for(let a of b)null!==a.fromLook&&null!==a.fromFinding&&c.set(`${a.fromLook} ${a.fromFinding}`,a.id);return c}async function cS(a,b){try{await a.insert(M).values({id:cA("lnc"),projectId:b.projectId,taskId:b.taskId??null,kind:b.kind??null,agent:b.agent})}catch{}}async function cT(a){let b=await a.selectDistinct({taskId:M.taskId}).from(M).where((0,ab.Pe)(M.taskId)),c=new Set;for(let a of b)null!==a.taskId&&c.add(a.taskId);return c}async function cU(a,b){let c=await a.select({id:I.id,key:I.fromCritique}).from(I).where((0,ab.Uo)((0,ab.eq)(I.projectId,b),(0,ab.Pe)(I.fromCritique),(0,ab.RV)(I.status,["open","in-progress"]))),d=new Map;for(let a of c)null!==a.key&&d.set(a.key,a.id);return d}async function cV(a,b){return cP(await a.select({key:I.fromCritique,status:I.status}).from(I).where((0,ab.Uo)((0,ab.eq)(I.projectId,b),(0,ab.Pe)(I.fromCritique))).orderBy((0,ac.i)(I.createdAt),(0,ac.i)(I.id)))}async function cW(a,b,c){return(await a.update(I).set({status:"in-progress",assignedAgentId:c,claimedAt:new Date}).where((0,ab.Uo)((0,ab.eq)(I.id,b),(0,ab.eq)(I.status,"open"))).returning({id:I.id})).length>0}async function cX(a,b,c,e){return(await a.update(I).set({status:"done",completedAt:new Date,result:e}).where((0,ab.Uo)((0,ab.eq)(I.id,b),(0,ab.RV)(I.status,["open","in-progress"]),(0,ab.or)((0,ab.eq)(I.assignedAgentId,c),(0,d.ll)`assigned_agent_id is null`))).returning({id:I.id})).length>0}async function cY(a,b){return a.select({id:G.id,kind:G.kind,summary:G.summary,details:G.details,filesTouched:G.filesTouched,createdAt:G.createdAt,agentName:E.name,agentKind:E.kind,sessionId:G.sessionId}).from(G).innerJoin(E,(0,ab.eq)(E.id,G.agentId)).where((0,ab.eq)(G.projectId,b)).orderBy((0,ac.i)(G.createdAt)).limit(100)}var cZ="[[[panoma-match]]]",c$="[[[/panoma-match]]]";async function c_(a,b,c,e,f){return(await a.select({id:G.id,agent:E.name,kind:G.kind,summary:G.summary,details:G.details,at:G.createdAt,positionAt:(0,d.ll)`to_char(${G.createdAt} at time zone 'UTC', 'YYYY-MM-DD"T"HH24:MI:SS.US"Z"')`,headline:(0,d.ll)`ts_headline('simple',
|
|
167
|
+
replace(replace(${G.summary} || E'\n\n' || coalesce(${G.details}, ''), ${cZ}, ''), ${c$}, ''),
|
|
168
|
+
websearch_to_tsquery('simple', ${c}),
|
|
169
|
+
'StartSel=[[[panoma-match]]],StopSel=[[[/panoma-match]]],MaxWords=50,MinWords=15,MaxFragments=1')`}).from(G).innerJoin(E,(0,ab.eq)(E.id,G.agentId)).where((0,ab.Uo)((0,ab.eq)(G.projectId,b),(0,d.ll)`to_tsvector('simple', ${G.summary} || ' ' || coalesce(${G.details}, '')) @@ websearch_to_tsquery('simple', ${c})`,void 0===f?void 0:(0,d.ll)`(${G.createdAt} < ${f.at}::timestamptz or (${G.createdAt} = ${f.at}::timestamptz and ${G.id} > ${f.id}))`)).orderBy((0,ac.i)(G.createdAt),(0,ac.Y)(G.id)).limit(e)).map(({headline:a,...b})=>({...b,excerpt:function(a){let b=a.indexOf(cZ),c=a.replaceAll(cZ,"").replaceAll(c$,"");if(c.length<=1200)return c;let d=Math.max(0,b-100),e=Math.min(c.length,d+1200);return`${d>0?"…":""}${c.slice(d,e)}${e<c.length?"…":""}`}(a)}))}async function c0(a,b,c,d){let e,f=c.trim();if(void 0!==d)try{if(d.length>4096||!/^[A-Za-z0-9_-]+$/.test(d))throw Error();let a=JSON.parse(Buffer.from(d,"base64url").toString("utf8"));if(a.projectId!==b||a.query!==f||"string"!=typeof a.at||!/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{6}Z$/.test(a.at)||!Number.isFinite(Date.parse(a.at))||"string"!=typeof a.id||!/^[A-Za-z0-9_-]{1,128}$/.test(a.id))throw Error();e={at:a.at,id:a.id}}catch{throw RangeError("Invalid journal cursor. Repeat the search without a cursor.")}if(""===f)return{matches:[],nextCursor:null};let g=await c_(a,b,f,13,e),h=g.slice(0,12),i=h.at(-1);return{matches:h,nextCursor:g.length>12&&i?Buffer.from(JSON.stringify({projectId:b,query:f,at:i.positionAt,id:i.id})).toString("base64url"):null}}async function c1(a,b,c,d=0){if(!Number.isSafeInteger(d)||d<0)throw RangeError("Journal offset must be a non-negative integer.");let[e]=await a.select({id:G.id,agent:E.name,kind:G.kind,summary:G.summary,details:G.details,at:G.createdAt}).from(G).innerJoin(E,(0,ab.eq)(E.id,G.agentId)).where((0,ab.Uo)((0,ab.eq)(G.projectId,b),(0,ab.eq)(G.id,c))).limit(1);if(!e)return;let f=`${e.summary}${e.details?`
|
|
170
|
+
|
|
171
|
+
${e.details}`:""}`;if(d>f.length)throw RangeError("Journal offset is past the end of this entry.");let g=Math.min(f.length,d+4e3),{details:h,...i}=e;return{...i,text:f.slice(d,g),offset:d,totalChars:f.length,nextOffset:g<f.length?g:null}}async function c2(a,b,c){let d=(0,ab.eq)(I.projectId,b);return a.select({id:I.id,title:I.title,body:I.body,status:I.status,result:I.result,createdBy:I.createdBy,createdAt:I.createdAt,agentName:E.name}).from(I).leftJoin(E,(0,ab.eq)(E.id,I.assignedAgentId)).where(void 0===c?d:(0,ab.Uo)(d,(0,ab.RV)(I.status,c))).orderBy((0,ac.i)(I.createdAt))}async function c3(a,b=200){return a.select({id:G.id,kind:G.kind,summary:G.summary,createdAt:G.createdAt,agentName:E.name,projectName:t.name,projectSlug:t.slug}).from(G).innerJoin(E,(0,ab.eq)(E.id,G.agentId)).innerJoin(t,(0,ab.eq)(t.id,G.projectId)).orderBy((0,ac.i)(G.createdAt)).limit(b)}async function c4(a){return a.select({id:E.id,name:E.name,kind:E.kind,createdAt:E.createdAt,lastSeenAt:E.lastSeenAt,activities:(0,d.ll)`(
|
|
172
|
+
select count(*)::int from agent_activities aa where aa.agent_id = agents.id
|
|
173
|
+
)`,projects:(0,d.ll)`(
|
|
174
|
+
select count(distinct aa.project_id)::int from agent_activities aa
|
|
175
|
+
where aa.agent_id = agents.id
|
|
176
|
+
)`}).from(E).orderBy((0,ac.i)(E.lastSeenAt))}var c5=300,c6=20;async function c7(a,b){let c=(0,af.fp)(b.question.trim());if(0===c.length||c.length>c5)return{refused:"tooLong",max:c5};let d=await c8(a,b.projectId);if(d>=c6)return{refused:"queueFull",max:c6};let e=cA("ask");return await a.insert(K).values({id:e,projectId:b.projectId,agentId:b.agentId,question:c}),{id:e,pending:d+1}}async function c8(a,b){let[c]=await a.select({pending:(0,d.ll)`count(*)::int`}).from(K).where((0,ab.Uo)((0,ab.eq)(K.projectId,b),(0,ab.kZ)(K.verdict),(0,ab.or)((0,ab.eq)(K.status,"drafted"),(0,ab.Uo)((0,ab.eq)(K.status,"drafting"),(0,d.ll)`${K.createdAt} > now() - interval '24 hours'`))));return c?.pending??0}async function c9(a,b,c){let d="abstained"in c?{status:"abstained",draftedAt:new Date}:{status:"drafted",answer:c.answer,beliefIds:c.beliefIds,draftedAt:new Date};return(await a.update(K).set(d).where((0,ab.Uo)((0,ab.eq)(K.id,b),(0,ab.eq)(K.status,"drafting"))).returning({id:K.id})).length>0}async function da(a,b,c,d){return(await a.update(K).set({verdict:c,verdictAt:new Date}).where((0,ab.Uo)((0,ab.eq)(K.id,b),(0,ab.eq)(K.status,"drafted"),(0,ab.kZ)(K.verdict),...void 0===d?[]:[(0,ab.eq)(K.projectId,d)])).returning({id:K.id})).length>0}async function db(a,b){let[c]=await a.select({question:K.question}).from(K).where((0,ab.Uo)((0,ab.eq)(K.id,b),(0,ab.eq)(K.status,"drafting"))).limit(1);return c}async function dc(a,b,c=6e5,e=5,f=2592e6){let g=new Date(Date.now()-c),h=new Date(Date.now()-f);return a.select({id:K.id,question:K.question}).from(K).where((0,ab.Uo)((0,ab.eq)(K.projectId,b),(0,ab.eq)(K.status,"drafting"),(0,d.ll)`${K.createdAt} < ${g}`,(0,d.ll)`${K.createdAt} >= ${h}`)).orderBy((0,ac.Y)(K.createdAt)).limit(e)}async function dd(a,b,c=20){return(await a.select({id:K.id,question:K.question,answer:K.answer,beliefIds:K.beliefIds,status:K.status,verdict:K.verdict,agent:E.name,createdAt:K.createdAt}).from(K).innerJoin(E,(0,ab.eq)(E.id,K.agentId)).where((0,ab.eq)(K.projectId,b)).orderBy((0,ac.i)(K.createdAt),(0,ac.Y)(K.id)).limit(c)).map(a=>({...a,beliefIds:a.beliefIds??[]}))}async function de(a,b=30){let c=new Date(Date.now()-864e5*b),[e]=await a.select({questions:(0,d.ll)`count(*)::int`,drafted:(0,d.ll)`count(*) filter (where ${K.status} = 'drafted')::int`,abstained:(0,d.ll)`count(*) filter (where ${K.status} = 'abstained')::int`,labeled:(0,d.ll)`count(*) filter (where ${K.verdict} is not null)::int`,backed:(0,d.ll)`count(*) filter (where ${K.verdict} = 'backed')::int`,vetoed:(0,d.ll)`count(*) filter (where ${K.verdict} = 'vetoed')::int`}).from(K).where((0,d.ll)`${K.createdAt} >= ${c}`),f=e?.drafted??0,g=e?.abstained??0,h=e?.labeled??0,i=e?.backed??0,j=f+g;return{questions:e?.questions??0,drafted:f,abstained:g,labeled:h,backed:i,vetoed:e?.vetoed??0,coverage:j>0?Math.round(f/j*100)/100:null,fidelity:h>0?Math.round(i/h*100)/100:null}}var df=["context","goal","constraints","alternatives","decision","rationale","outcome","conditions","exceptions"],dg=class extends Error{constructor(a){super("stale"===a?"The decision episode changed since it was read.":"Another version of this decision is active."),this.code=a,this.name="DecisionEpisodeConflict"}};async function dh(a,b){return a.transaction(async a=>(await a.execute((0,d.ll)`lock table ${U} in share row exclusive mode`),b(a)))}async function di(a,b){let c=new Map;for(let a of b){let b={...a,text:(0,af.fp)(a.text.trim()),context:null===a.context?null:(0,af.fp)(a.context)};if(!b.text||!b.identity||!b.source||!b.sessionId||!Number.isFinite(b.at.getTime()))throw Error("Narratives require human text, a project identity, a source, a session and a valid date.");let d=aC(JSON.stringify([b.source,b.sessionId,b.at.toISOString(),b.text]));c.set(d,b)}let d=[...c].map(([a,b])=>({id:a,...b})),e=0;for(let b=0;b<d.length;b+=500){let c=d.slice(b,b+500),f=await a.insert(T).values(c).onConflictDoNothing().returning({id:T.id});e+=f.length;let g=new Set(f.map(a=>a.id)),h=c.filter(a=>!g.has(a.id));if(0===h.length)continue;let i=new Map((await dk(a,h.map(a=>a.id))).map(a=>[a.id,a.identity])),j=new Map;for(let a of h){if(i.get(a.id)===a.identity)continue;let b=j.get(a.identity)??[];b.push(a.id),j.set(a.identity,b)}for(let[b,c]of j)await a.update(T).set({identity:b,readAt:null}).where((0,ab.RV)(T.id,c))}return{inserted:e}}async function dj(a,b={}){let c=a.select().from(T).where((0,ab.Uo)(void 0===b.identity?void 0:(0,ab.eq)(T.identity,b.identity),b.unread?(0,ab.kZ)(T.readAt):void 0)).orderBy(...b.unread?[(0,d.ll)`${T.failedAt} asc nulls first`]:[],(0,ac.i)(T.at),(0,ac.Y)(T.id));return void 0===b.limit?c:c.limit(b.limit)}async function dk(a,b){let c=[...new Set(b)],d=[];for(let b=0;b<c.length;b+=500)d.push(...await a.select().from(T).where((0,ab.RV)(T.id,c.slice(b,b+500))));return d.sort((a,b)=>b.at.getTime()-a.at.getTime()||a.id.localeCompare(b.id))}async function dl(a){let[b]=await a.select({total:(0,d.ll)`count(*)::int`,pending:(0,d.ll)`count(*) filter (where ${T.readAt} is null)::int`,deferred:(0,d.ll)`count(*) filter (where ${T.readAt} is null and ${T.failedAt} is not null)::int`}).from(T);return b??{total:0,pending:0,deferred:0}}async function dm(a,b){let c=0,d=[...new Set(b)];for(let b=0;b<d.length;b+=500)c+=(await a.update(T).set({failedAt:new Date}).where((0,ab.Uo)((0,ab.RV)(T.id,d.slice(b,b+500)),(0,ab.kZ)(T.readAt))).returning({id:T.id})).length;return c}async function dn(a,b={}){let c=await a.delete(U).where((0,ab.Uo)((0,ab.eq)(U.origin,"history"),void 0===b.source?void 0:(0,d.ll)`exists (
|
|
177
|
+
select 1 from jsonb_each(${U.fields}) as field(name, evidence)
|
|
178
|
+
inner join ${T} on ${T.id} = field.evidence->>'narrativeId'
|
|
179
|
+
where ${T.source} = ${b.source}
|
|
180
|
+
)`)).returning({id:U.id});return{narratives:(await a.delete(T).where(void 0===b.source?void 0:(0,ab.eq)(T.source,b.source)).returning({id:T.id})).length,episodes:c.length}}async function dp(a,b,c){let d=0,e=[...new Set(b)];for(let b=0;b<e.length;b+=500)d+=(await a.update(T).set({readAt:new Date}).where((0,ab.Uo)((0,ab.RV)(T.id,e.slice(b,b+500)),(0,ab.kZ)(T.readAt),void 0===c?void 0:(0,ab.eq)(T.identity,c))).returning({id:T.id})).length;return d}async function dq(a,b,c={}){return 0===b.length?[]:dh(a,a=>dr(a,b,c))}async function dr(a,b,c){let e=new Map;for(let c of b){if("owner"!==c.origin&&"history"!==c.origin)throw Error("Unknown decision episode origin.");if("owner"===c.origin&&null!==c.model)throw Error("Owner-authored episodes cannot have a model attribution.");if("history"===c.origin&&(!c.identity||!c.model?.trim()))throw Error("Extracted episodes require a project identity and a model attribution.");if(void 0!==c.validUntil&&null!==c.validUntil&&!Number.isFinite(c.validUntil.getTime()))throw Error("A decision episode expiry must be a valid instant.");if(void 0!==c.supersedesId&&null!==c.supersedesId){if("owner"!==c.origin)throw Error("Only an owner-authored episode can revise a previous decision.");let b=await dA(a,c.supersedesId);if(!b||b.identity!==c.identity)throw Error("A revision must reference an existing episode in the same project scope.")}let b={...c,fields:function(a){let b={};for(let b of Object.keys(a.fields))if(!df.includes(b))throw Error("Unknown decision episode field.");for(let c of df){let d=a.fields[c];if(!d)continue;let e=(0,af.fp)(d.text.trim());if(!e)throw Error("Decision episode fields must contain text.");if("owner"===a.origin&&void 0!==d.narrativeId)throw Error("Owner-authored episodes cannot claim extracted narrative evidence.");if("history"===a.origin&&!d.narrativeId)throw Error("Every extracted field must cite its human narrative.");b[c]=d.narrativeId?{text:e,narrativeId:d.narrativeId}:{text:e}}if(0===Object.keys(b).length)throw Error("A decision episode must contain at least one field.");return b}(c)};e.set(function(a){let b=df.flatMap(b=>{let c=a.fields[b];return c?[[b,"owner"===a.origin?c.text.normalize("NFC").replace(/\s+/g," ").trim().toLowerCase():c.text,c.narrativeId??null]]:[]});return aC(JSON.stringify([a.origin,"owner"===a.origin?a.identity:null,a.supersedesId??null,b]))}(b),b)}let f=[...e.values()].flatMap(a=>Object.values(a.fields).flatMap(a=>a.narrativeId?[a.narrativeId]:[])),g=new Map((await dk(a,f)).map(a=>[a.id,a]));for(let a of e.values())if("history"===a.origin)for(let b of Object.values(a.fields)){let c=g.get(b.narrativeId);if(!c||c.identity!==a.identity||!c.text.includes(b.text))throw Error("Extracted fields must quote an existing human narrative from the same project.")}let h=[];for(let[b,f]of e){let e=await dA(a,b);if(e){h.push(e);continue}if(f.supersedesId){let b=await dA(a,f.supersedesId);if(c.expectedPreviousUpdatedAt&&b?.updatedAt.getTime()!==c.expectedPreviousUpdatedAt.getTime())throw new dg("stale");if(await dC(a,f.supersedesId))throw new dg("activeSuccessor")}let[g]=await a.insert(U).values({id:b,...f}).onConflictDoNothing().returning();if(g){f.supersedesId&&await a.update(U).set({status:"dismissed",updatedAt:(0,d.ll)`greatest(current_timestamp, ${U.updatedAt} + interval '1 millisecond')`}).where((0,ab.eq)(U.id,f.supersedesId)),h.push(ds(g));continue}"history"===f.origin&&await a.update(U).set({identity:f.identity,updatedAt:new Date}).where((0,ab.Uo)((0,ab.eq)(U.id,b),(0,d.ll)`${U.identity} is distinct from ${f.identity}`));let i=await dA(a,b);i&&h.push(i)}return h}function ds(a){return{...a,fields:a.fields}}function dt(a=U){return(0,d.ll)`(${a.origin} = 'owner' or not exists (
|
|
181
|
+
select 1 from jsonb_each(${a.fields}) as field(name, evidence)
|
|
182
|
+
left join ${T} on ${T.id} = field.evidence->>'narrativeId'
|
|
183
|
+
where ${T.id} is null
|
|
184
|
+
or ${T.identity} is distinct from ${a.identity}
|
|
185
|
+
))`}var du={origin:(0,d.ll)`candidate.origin`,fields:(0,d.ll)`candidate.fields`,identity:(0,d.ll)`candidate.identity`};function dv(){return(0,d.ll)`exists (
|
|
186
|
+
select 1 from decision_episodes candidate
|
|
187
|
+
where candidate.id in (${dB((0,d.ll)`decision_episodes.id`)})
|
|
188
|
+
and candidate.id <> decision_episodes.id and candidate.status = 'active'
|
|
189
|
+
and ${dt(du)}
|
|
190
|
+
)`}var dw=(0,d.ll)`date_trunc('milliseconds', ${U.createdAt})`,dx=["goal","decision","rationale","conditions","exceptions","context"];async function dy(a,b={}){let c=b.query?.trim()??"",e=`%${c.replace(/[\\%_]/g,a=>`\\${a}`)}%`,f=a.select().from(U).where((0,ab.Uo)(dt(),void 0===b.identity?void 0:null===b.identity?(0,ab.kZ)(U.identity):(0,ab.eq)(U.identity,b.identity),void 0===b.status?void 0:(0,ab.eq)(U.status,b.status),b.unambiguousOnly?(0,d.ll)`not ${dv()}`:void 0,void 0===b.activeAt?void 0:(0,d.ll)`(${U.validUntil} is null
|
|
191
|
+
or ${U.validUntil} > ${b.activeAt.toISOString()}::timestamptz)`,b.ownerDecisionsOnly?(0,ab.Uo)((0,ab.eq)(U.origin,"owner"),(0,d.ll)`nullif(btrim(${U.fields}->'decision'->>'text'), '') is not null`):void 0,""===c?void 0:(0,d.ll)`concat_ws(' ', ${d.ll.join(dx.map(a=>(0,d.ll)`coalesce(${U.fields}->${d.ll.raw(`'${a}'`)}->>'text', '')`),(0,d.ll)`, `)}) ilike ${e} escape '\\'`,void 0===b.before?void 0:(0,d.ll)`(${dw} < ${b.before.createdAt.toISOString()}::timestamptz
|
|
192
|
+
or (${dw} = ${b.before.createdAt.toISOString()}::timestamptz and ${U.id} > ${b.before.id}))`)).orderBy((0,d.ll)`${dw} desc`,(0,ac.Y)(U.id));return(await (void 0===b.limit?f:f.limit(b.limit))).map(ds)}async function dz(a){let b=await a.select({...(0,ah.YD)(U),members:(0,d.ll)`(
|
|
193
|
+
select string_agg(candidate.id, ',' order by candidate.created_at desc, candidate.id asc)
|
|
194
|
+
from decision_episodes candidate
|
|
195
|
+
where candidate.id in (${dB((0,d.ll)`decision_episodes.id`)})
|
|
196
|
+
and candidate.status = 'active'
|
|
197
|
+
and ${dt(du)}
|
|
198
|
+
)`}).from(U).where((0,ab.Uo)((0,ab.eq)(U.status,"active"),dt(),dv())).orderBy((0,d.ll)`${dw} desc`,(0,ac.Y)(U.id)),c=new Map;for(let{members:a,...d}of b){let b=c.get(a)??[];b.push(ds(d)),c.set(a,b)}return[...c.values()]}async function dA(a,b){let[c]=await a.select().from(U).where((0,ab.Uo)((0,ab.eq)(U.id,b),dt())).limit(1);return c?ds(c):void 0}function dB(a){return(0,d.ll)`with recursive family(id) as (
|
|
199
|
+
select ${a}::text
|
|
200
|
+
union
|
|
201
|
+
select case when edge.id = family.id then edge.supersedes_id else edge.id end
|
|
202
|
+
from decision_episodes edge inner join family
|
|
203
|
+
on edge.id = family.id or edge.supersedes_id = family.id
|
|
204
|
+
where case when edge.id = family.id then edge.supersedes_id else edge.id end is not null
|
|
205
|
+
) select id from family`}async function dC(a,b){let[c]=await a.select().from(U).where((0,ab.Uo)((0,d.ll)`${U.id} in (${dB(b)})`,(0,d.ll)`${U.id} <> ${b}`,(0,ab.eq)(U.status,"active"),dt())).orderBy((0,ac.i)(U.createdAt),(0,ac.Y)(U.id)).limit(1);return c?ds(c):void 0}async function dD(a,b){let c={},e=[...new Set(b)];for(let b=0;b<e.length;b+=500)for(let f of(await a.select({id:U.id,activeId:(0,d.ll)`(
|
|
206
|
+
select candidate.id from decision_episodes candidate
|
|
207
|
+
where candidate.id in (${dB((0,d.ll)`decision_episodes.id`)})
|
|
208
|
+
and candidate.id <> decision_episodes.id and candidate.status = 'active'
|
|
209
|
+
and ${dt(du)}
|
|
210
|
+
order by candidate.created_at desc, candidate.id asc limit 1
|
|
211
|
+
)`}).from(U).where((0,ab.RV)(U.id,e.slice(b,b+500)))))f.activeId&&(c[f.id]=f.activeId);return c}async function dE(a){let[b]=await a.select({count:(0,d.ll)`count(*)::int`}).from(U).where((0,ab.Uo)((0,ab.eq)(U.status,"active"),dt()));return b?.count??0}async function dF(a,b,c,e={}){if("active"!==c&&"dismissed"!==c)throw Error("Unknown decision episode status.");return dh(a,async a=>{let f=await dA(a,b);if(!f||f.status===c)return!1;if(e.expectedUpdatedAt&&f.updatedAt.getTime()!==e.expectedUpdatedAt.getTime())throw new dg("stale");if("active"===c&&await dC(a,b))throw new dg("activeSuccessor");return(await a.update(U).set({status:c,updatedAt:(0,d.ll)`greatest(current_timestamp, ${U.updatedAt} + interval '1 millisecond')`}).where((0,ab.Uo)((0,ab.eq)(U.id,b),dt(),(0,ab.eq)(U.status,f.status))).returning({id:U.id})).length>0})}async function dG(a,b,c,e={}){if(null!==c&&!Number.isFinite(c.getTime()))throw Error("A decision episode expiry must be a valid instant.");return dh(a,async a=>{let f=await dA(a,b);if(!f||(f.validUntil?f.validUntil.getTime():null)===(c?c.getTime():null))return!1;if(e.expectedUpdatedAt&&f.updatedAt.getTime()!==e.expectedUpdatedAt.getTime())throw new dg("stale");return(await a.update(U).set({validUntil:c,updatedAt:(0,d.ll)`greatest(current_timestamp, ${U.updatedAt} + interval '1 millisecond')`}).where((0,ab.Uo)((0,ab.eq)(U.id,b),dt())).returning({id:U.id})).length>0})}var dH=5*6e4;async function dI(a,b){let[c]=await a.select({id:F.id}).from(F).where((0,ab.Uo)((0,ab.eq)(F.id,b),(0,ab.Pe)(F.endedAt))).limit(1);return!!c&&(await a.insert(H).values({sessionId:b}).onConflictDoNothing().returning({sessionId:H.sessionId})).length>0}async function dJ(a,b={}){let c=b.now??new Date,e=b.leaseMs??dH;if(!Number.isFinite(c.getTime())||!Number.isFinite(e)||e<1)throw Error("Invalid memory job lease.");let f=new Date(c.getTime()-e);return a.transaction(async a=>{await a.execute((0,d.ll)`lock table ${H} in share row exclusive mode`),await a.update(H).set({status:"failed",reason:"leaseExpired",leaseToken:null,finishedAt:c}).where((0,ab.Uo)((0,ab.eq)(H.status,"running"),(0,ab.wJ)(H.startedAt,f),(0,d.ll)`${H.attempts} >= ${3}`));let[b]=await a.select({sessionId:H.sessionId,attempts:H.attempts,projectId:F.projectId,identity:t.identity,root:t.root}).from(H).innerJoin(F,(0,ab.eq)(F.id,H.sessionId)).innerJoin(t,(0,ab.eq)(t.id,F.projectId)).where((0,ab.Uo)((0,ab.Pe)(F.endedAt),(0,d.ll)`${H.attempts} < ${3}`,(0,d.ll)`(( ${H.status} in ('pending', 'deferred', 'failed') and ${H.availableAt} <= ${c})
|
|
212
|
+
or (${H.status} = 'running' and ${H.startedAt} <= ${f}))`)).orderBy((0,ac.Y)(H.availableAt),(0,ac.Y)(H.createdAt),(0,ac.Y)(H.sessionId)).limit(1);if(!b)return;let e=(0,aa.randomUUID)();return await a.update(H).set({status:"running",attempts:b.attempts+1,startedAt:c,finishedAt:null,leaseToken:e,reason:null}).where((0,ab.eq)(H.sessionId,b.sessionId)),{...b,attempts:b.attempts+1,leaseToken:e}})}async function dK(a,b,c,d,e){return a.transaction(async a=>{let[f]=await a.select({sessionId:H.sessionId}).from(H).innerJoin(F,(0,ab.eq)(F.id,H.sessionId)).where((0,ab.Uo)((0,ab.eq)(H.sessionId,b),(0,ab.eq)(H.status,"running"),(0,ab.eq)(H.leaseToken,c),void 0===e?void 0:(0,ab.eq)(F.projectId,e))).for("update");return f?{current:!0,value:await d(a)}:{current:!1}})}async function dL(a,b,c,e){if(!["complete","deferred","failed"].includes(e.status))throw Error("Invalid memory job result.");if(!1===e.consumeAttempt&&"deferred"!==e.status)throw Error("Only deferred work can refund an attempt.");if(void 0!==e.retriesLeft&&("failed"!==e.status||!1===e.consumeAttempt))throw Error("Only failed work can cap its retries.");if(void 0!==e.retriesLeft&&(!Number.isInteger(e.retriesLeft)||e.retriesLeft<0||e.retriesLeft>=3))throw Error("Memory job retries must fit under the attempt ceiling.");if(e.runAfter&&!Number.isFinite(e.runAfter.getTime()))throw Error("Invalid memory retry date.");if(e.reason&&!/^[a-zA-Z][a-zA-Z0-9_-]{0,79}$/.test(e.reason))throw Error("Memory job reasons must be bounded codes.");let f=new Date;return(await a.update(H).set({status:e.status,reason:e.reason??null,finishedAt:f,leaseToken:null,...void 0===e.receipt?{}:{receipt:e.receipt},...!1===e.consumeAttempt?{attempts:(0,d.ll)`greatest(0, ${H.attempts} - 1)`}:{},...void 0===e.retriesLeft?{}:{attempts:(0,d.ll)`greatest(${H.attempts}, ${3-e.retriesLeft})`},availableAt:e.runAfter??(0,d.ll)`${f}::timestamptz + (interval '1 minute' * power(2, greatest(0, ${H.attempts} - 1)))`}).where((0,ab.Uo)((0,ab.eq)(H.sessionId,b),(0,ab.eq)(H.status,"running"),(0,ab.eq)(H.leaseToken,c))).returning({sessionId:H.sessionId})).length>0}async function dM(a,b){let[c]=await a.select({pending:(0,d.ll)`count(*) filter (where ${H.status} = 'pending')::int`,running:(0,d.ll)`count(*) filter (where ${H.status} = 'running')::int`,deferred:(0,d.ll)`count(*) filter (where ${H.status} = 'deferred')::int`,failed:(0,d.ll)`count(*) filter (where ${H.status} = 'failed')::int`,complete:(0,d.ll)`count(*) filter (where ${H.status} = 'complete')::int`}).from(H).innerJoin(F,(0,ab.eq)(F.id,H.sessionId)).where(void 0===b?void 0:(0,ab.eq)(F.projectId,b));return c??{pending:0,running:0,deferred:0,failed:0,complete:0}}async function dN(a,b){let[c]=await a.select({sessionId:H.sessionId,status:H.status,reason:H.reason,attempts:H.attempts,receipt:H.receipt,availableAt:H.availableAt,finishedAt:H.finishedAt}).from(H).innerJoin(F,(0,ab.eq)(F.id,H.sessionId)).where((0,ab.eq)(F.projectId,b)).orderBy((0,ac.i)(H.createdAt),(0,ac.i)(H.sessionId)).limit(1);return c}async function dO(a,b){let c=await a.select({total:(0,d.ll)`(count(*) over ())::int`,kind:G.kind,summary:G.summary,details:G.details,filesTouched:G.filesTouched}).from(G).where((0,ab.eq)(G.sessionId,b)).orderBy((0,ac.i)(G.createdAt),(0,ac.i)(G.id)).limit(100),e=c[0]?.total??0;return{activities:c.reverse().map(({kind:a,summary:b,details:c,filesTouched:d})=>({kind:a,summary:b,details:c,filesTouched:d})),total:e,omitted:Math.max(0,e-c.length)}}function dP(a){return a?a.toISOString():null}async function dQ(a,b){let c=await a.select({id:U.id,identity:U.identity,supersedesId:U.supersedesId,origin:U.origin,fields:U.fields,model:U.model,status:U.status,validUntil:U.validUntil,createdAt:U.createdAt,updatedAt:U.updatedAt,evidenceValid:(0,d.ll)`(${U.origin} = 'owner' or not exists (
|
|
213
|
+
select 1 from jsonb_each(${U.fields}) as field(name, evidence)
|
|
214
|
+
left join ${T} on ${T.id} = field.evidence->>'narrativeId'
|
|
215
|
+
where ${T.id} is null
|
|
216
|
+
or ${T.identity} is distinct from ${U.identity}
|
|
217
|
+
))`}).from(U).where(null===b?(0,ab.kZ)(U.identity):(0,ab.eq)(U.identity,b)).orderBy((0,ac.i)(U.createdAt),(0,ac.Y)(U.id)),e=await dD(a,c.map(a=>a.id));return c.map(a=>({id:a.id,identity:a.identity,supersedesId:a.supersedesId,activeRevisionId:e[a.id]??null,evidenceValid:a.evidenceValid,origin:a.origin,fields:a.fields,model:a.model,status:a.status,validUntil:dP(a.validUntil),createdAt:a.createdAt.toISOString(),updatedAt:a.updatedAt.toISOString()}))}async function dR(a,b){let c=await a.select({id:J.id,body:J.body,status:J.status,createdBy:J.createdBy,createdAt:J.createdAt,decidedAt:J.decidedAt,trigger:J.trigger,sentinels:J.sentinels,challenge:J.challenge}).from(J).where((0,ab.eq)(J.projectId,b.id)).orderBy((0,ac.i)(J.createdAt),(0,ac.Y)(J.id)),[d,e,f]=await Promise.all([null===b.identity?Promise.resolve([]):dQ(a,b.identity),dQ(a,null),dM(a,b.id)]),g=await a.select({sessionId:H.sessionId,status:H.status,reason:H.reason,attempts:H.attempts,availableAt:H.availableAt,startedAt:H.startedAt,finishedAt:H.finishedAt,receipt:H.receipt}).from(H).innerJoin(F,(0,ab.eq)(F.id,H.sessionId)).where((0,ab.eq)(F.projectId,b.id)).orderBy((0,ac.i)(H.createdAt),(0,ac.i)(H.sessionId));return{version:1,exportedAt:new Date().toISOString(),project:{id:b.id,slug:b.slug,name:b.name,root:b.root,identity:b.identity},notes:c.map(a=>({id:a.id,body:a.body,status:a.status,createdBy:a.createdBy,createdAt:a.createdAt.toISOString(),decidedAt:dP(a.decidedAt),where:a.trigger,anchors:a.sentinels,challenge:a.challenge})),decisions:d,generalDecisions:e,receipts:{counts:f,jobs:g.map(a=>({sessionId:a.sessionId,status:a.status,reason:a.reason,attempts:a.attempts,availableAt:a.availableAt.toISOString(),startedAt:dP(a.startedAt),finishedAt:dP(a.finishedAt),receipt:a.receipt??null}))}}}async function dS(a,b){let c=cA("run");return await a.insert(N).values({id:c,projectId:b.projectId,kind:b.kind,target:b.target,taskId:b.taskId,requestedBy:b.requestedBy??"human",status:"running"}),c}async function dT(a,b,c){await a.update(N).set({...c,finishedAt:new Date}).where((0,ab.eq)(N.id,b))}async function dU(a,b,c){await a.update(N).set({status:c}).where((0,ab.eq)(N.id,b))}async function dV(a){let b=new Date(Date.now()-12e5);return(await a.update(N).set({status:"failed",summary:"Interrumpida: el proceso que la ejecutaba desapareci\xf3 sin dejar resultado. No sabemos por d\xf3nde iba, as\xed que no se puede afirmar nada sobre el paquete.",finishedAt:new Date}).where((0,ab.Uo)((0,ab.eq)(N.status,"running"),(0,ab.lt)(N.createdAt,b))).returning({id:N.id})).length}async function dW(a,b){let[c]=await a.select({id:N.id,createdAt:N.createdAt}).from(N).where((0,ab.Uo)((0,ab.eq)(N.projectId,b),(0,ab.eq)(N.status,"running"))).orderBy((0,ac.i)(N.createdAt)).limit(1);return c}async function dX(a,b){let[c]=await a.select({id:N.id,projectId:N.projectId,kind:N.kind,status:N.status,target:N.target,summary:N.summary,verified:N.verified,isolation:N.isolation,isolationNote:N.isolationNote,branch:N.branch,patch:N.patch,commitSha:N.commitSha,steps:N.steps,requestedBy:N.requestedBy,createdAt:N.createdAt,finishedAt:N.finishedAt,projectName:t.name,projectSlug:t.slug,projectRoot:t.root}).from(N).innerJoin(t,(0,ab.eq)(t.id,N.projectId)).where((0,ab.eq)(N.id,b)).limit(1);return c}async function dY(a,b){return a.select({id:N.id,kind:N.kind,status:N.status,target:N.target,summary:N.summary,verified:N.verified,isolation:N.isolation,isolationNote:N.isolationNote,branch:N.branch,commitSha:N.commitSha,requestedBy:N.requestedBy,createdAt:N.createdAt,finishedAt:N.finishedAt}).from(N).where((0,ab.eq)(N.projectId,b)).orderBy((0,ac.i)(N.createdAt)).limit(50)}async function dZ(a,b=100){return a.select({id:N.id,kind:N.kind,status:N.status,target:N.target,summary:N.summary,verified:N.verified,isolation:N.isolation,isolationNote:N.isolationNote,branch:N.branch,requestedBy:N.requestedBy,createdAt:N.createdAt,projectName:t.name,projectSlug:t.slug}).from(N).innerJoin(t,(0,ab.eq)(t.id,N.projectId)).orderBy((0,ac.i)(N.createdAt)).limit(b)}async function d$(a,b,c){let[d]=await a.select({latestVersion:x.latestVersion,ecosystem:x.ecosystem}).from(A).innerJoin(x,(0,ab.eq)(x.id,A.packageId)).where((0,ab.Uo)((0,ab.eq)(A.projectId,b),(0,ab.eq)(x.name,c))).limit(1);return d?.latestVersion?{latestVersion:d.latestVersion,ecosystem:d.ecosystem}:void 0}async function d_(a,b,c,e){let[f]=await a.select({id:N.id,summary:N.summary,createdAt:N.createdAt,steps:N.steps}).from(N).where((0,ab.Uo)((0,ab.eq)(N.projectId,b),(0,ab.eq)(N.status,"failed"),(0,d.ll)`${N.target}->>'packageName' = ${c}`,(0,d.ll)`${N.target}->>'targetVersion' = ${e}`)).orderBy((0,ac.i)(N.createdAt)).limit(1);return f}async function d0(a,b){let c=await a.select({packageName:x.name,ecosystem:x.ecosystem,currentVersion:A.resolvedVersion,advisoryId:y.id,severity:y.severity,summary:y.summary,fixedVersions:y.fixedVersions}).from(A).innerJoin(x,(0,ab.eq)(x.id,A.packageId)).innerJoin(z,(0,ab.Uo)((0,ab.eq)(z.packageId,A.packageId),(0,ab.eq)(z.version,A.resolvedVersion))).innerJoin(y,(0,ab.eq)(y.id,z.advisoryId)).where((0,ab.eq)(A.projectId,b)),d=[];for(let a of c){let b=Array.isArray(a.fixedVersions)?a.fixedVersions:[];0!==b.length&&a.currentVersion&&d.push({packageName:a.packageName,ecosystem:a.ecosystem,currentVersion:a.currentVersion,fixedVersion:b[0],advisoryId:a.advisoryId,severity:a.severity,summary:a.summary,fixedVersionCandidates:b})}return d}},63351:(a,b,c)=>{c.d(b,{db:()=>f});let d=Function("specifier","return import(specifier)"),e=globalThis;function f(){return e.panomaDb??=d("@panoma/db/client").then(a=>a.openDatabase()).then(a=>{var b;return b=a,e.panomaDbCuidada||(e.panomaDbCuidada=!0,process.env.DATABASE_URL||Promise.all([c.e(4810),c.e(4498)]).then(c.bind(c,44498)).then(({startMemoryWorker:a})=>{e.panomaClosing||(e.panomaMemoryStop=a(b.db))}),c.e(170).then(c.bind(c,90170)).then(({manageLifecycle:a})=>{a({checkpoint:b.checkpoint,close:async()=>{e.panomaClosing=!0,e.panomaMemoryStop?.();let{stopAppSupervisor:a}=await Promise.all([c.e(314),c.e(8887),c.e(4810),c.e(4528),c.e(5103),c.e(3834)]).then(c.bind(c,35103));await a(b.db),await b.close()}},{onSignal:(a,b)=>process.once(a,b),everyMs:(a,b)=>setInterval(b,a),wait:a=>new Promise(b=>setTimeout(b,a)),exit:a=>process.exit(a),log:a=>console.error(a)})})),a}).catch(a=>{throw e.panomaDb=void 0,a}),e.panomaDb}}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
exports.id=5741,exports.ids=[5741],exports.modules={5123:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>g});var d=c(62490),e=c(17245),f=c(48077);async function g(){let a=await (0,e.JK)();return(0,d.jsx)(f.n,{es:"es"===a})}},9562:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,79068,23)),Promise.resolve().then(c.t.bind(c,19647,23)),Promise.resolve().then(c.t.bind(c,8515,23)),Promise.resolve().then(c.t.bind(c,59558,23)),Promise.resolve().then(c.t.bind(c,26306,23)),Promise.resolve().then(c.t.bind(c,902,23)),Promise.resolve().then(c.t.bind(c,81446,23)),Promise.resolve().then(c.t.bind(c,9811,23)),Promise.resolve().then(c.bind(c,82950))},19565:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>e});var d=c(56099);let e=async a=>[{type:"image/png",sizes:"64x64",url:(0,d.fillMetadataSegment)(".",await a.params,"icon.png")+"?f1a203a899ce38a5"}]},48077:(a,b,c)=>{"use strict";c.d(b,{n:()=>h});var d=c(62490),e=c(26785),f=c.n(e);let g="#0a0a0a";function h({es:a}){return(0,d.jsxs)("main",{style:{minHeight:"100dvh",margin:0,display:"grid",placeContent:"center",gap:14,padding:24,textAlign:"center",background:"#fafafa",color:g,fontFamily:"ui-sans-serif, system-ui, sans-serif",WebkitFontSmoothing:"antialiased"},children:[(0,d.jsx)("img",{src:"/assets/brand/panoma.svg",alt:"",width:36,height:36,style:{display:"block",margin:"0 auto 6px"}}),(0,d.jsx)("h1",{style:{margin:0,fontSize:20,fontWeight:650,letterSpacing:"-0.02em"},children:a?"Aqu\xed no hay nada":"Nothing here"}),(0,d.jsx)("p",{style:{margin:0,fontSize:14,color:"#5c5c5c"},children:a?"Esta direcci\xf3n no lleva a ninguna parte.":"This address doesn't lead anywhere."}),(0,d.jsx)(f(),{href:"/",style:{marginTop:6,justifySelf:"center",padding:"9px 16px",borderRadius:6,background:g,color:"#ffffff",fontSize:13,fontWeight:600,textDecoration:"none"},children:a?"Ir al cat\xe1logo":"Go to the catalog"})]})}},55653:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>e});var d=c(56099);let e=async a=>[{type:"image/png",sizes:"180x180",url:(0,d.fillMetadataSegment)(".",await a.params,"apple-icon.png")+"?01e055d15a833be4"}]},59897:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,26785,23))},62706:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,17346,23)),Promise.resolve().then(c.t.bind(c,7549,23)),Promise.resolve().then(c.t.bind(c,65933,23)),Promise.resolve().then(c.t.bind(c,37316,23)),Promise.resolve().then(c.t.bind(c,47868,23)),Promise.resolve().then(c.t.bind(c,34080,23)),Promise.resolve().then(c.t.bind(c,68376,23)),Promise.resolve().then(c.t.bind(c,22689,23)),Promise.resolve().then(c.t.bind(c,37e3,23))},80337:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>g});var d=c(62490),e=c(17245),f=c(48077);async function g(){let a=await (0,e.JK)();return(0,d.jsx)("html",{lang:a,children:(0,d.jsx)("body",{style:{margin:0},children:(0,d.jsx)(f.n,{es:"es"===a})})})}},96345:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,65059,23))}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";exports.id=5941,exports.ids=[5941],exports.modules={16010:(a,b,c)=>{c.d(b,{AppDetail:()=>w,u:()=>q,j:()=>x});var d=c(17016),e=c(65065),f=c(45157),g=c(65862),h=c(7581),i=c(86206),j=c(65059),k=c.n(j);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}){let j=(0,g.kj)(),m=(0,g.Ym)(),[o,p]=(0,e.useState)(null),[q,r]=(0,e.useState)(null),[s,t]=(0,e.useState)(!1),[u,v]=(0,e.useState)(!1),[w,x]=(0,e.useState)(!1),[y,z]=(0,e.useState)(!1),[A,B]=(0,e.useState)(null),[C,D]=(0,e.useState)(!1),[E,F]=(0,e.useState)(!0),G=(0,e.useRef)(!1),H=o??a.settings?.brain??"none",I=q??a.settings?.voice??!1,J="none"!==H&&H!==(a.settings?.brain??"none")||I&&!a.settings?.voice,K=I&&!A?.configured,L=b||u,M=`/api/apps/${encodeURIComponent(a.id)}/credentials`,N=(0,e.useCallback)(async a=>{F(!0),D(!1);try{let b=await (0,i.Tl)(M,void 0,"GET",a);a?.aborted||B(b)}catch{a?.aborted||D(!0)}finally{a?.aborted||F(!1)}},[M]);function O(){t(!1),x(!1),z(!1)}async function P(){if(!G.current&&!L&&!K&&(!J||s)){G.current=!0,v(!0),x(!1),z(!1);try{let b=await (0,i.Tl)(`/api/apps/${encodeURIComponent(a.id)}/settings`,{brain:H,voice:I,confirm:s},"PATCH");p(b.settings.brain),r(b.settings.voice),await c(),t(!1),x(!0)}catch{z(!0)}finally{G.current=!1,v(!1)}}}return(0,d.jsxs)(h.Zp,{as:"section","aria-labelledby":"app-providers-title",children:[(0,d.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[(0,d.jsx)("h2",{id:"app-providers-title",className:"text-base font-semibold",children:j("apps.providers")}),(0,d.jsx)(h.vw,{size:"md",children:j("apps.optional")})]}),(0,d.jsx)("p",{className:"mt-2 text-sm leading-relaxed text-smoke",children:j("apps.providersIntro")}),(0,d.jsxs)("div",{className:"mt-5",children:[(0,d.jsxs)(h.l6,{label:j("apps.brain"),value:H,disabled:L,onChange:a=>{p(a.target.value),O()},children:[(0,d.jsx)("option",{value:"none",children:j("apps.none")}),(0,d.jsx)("option",{value:"auto",children:j("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:j("apps.brainHint")}),(0,d.jsx)(k(),{href:"/ai",className:"mt-2 inline-block text-xs underline underline-offset-4",children:j("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)(f.INy,{"aria-hidden":!0,className:"h-5 w-5"}),(0,d.jsx)("h3",{className:"text-sm font-semibold",children:j("apps.voice")})]}),(0,d.jsx)("p",{className:"mt-2 text-xs leading-relaxed text-smoke",children:j("apps.voiceHint")}),E?(0,d.jsx)("p",{role:"status",className:"mt-3 text-xs text-smoke",children:j("apps.key.loading")}):C?(0,d.jsxs)("div",{className:"mt-3",children:[(0,d.jsx)(h.lZ,{text:j("apps.key.loadFailed")}),(0,d.jsx)(h.rA,{type:"button",tone:"surface",className:"mt-2",onClick:()=>void N(),children:j("apps.retry")})]}):A&&(0,d.jsx)(n,{endpoint:M,status:A,busy:L,onChanged:a=>{B(a),O()}}),(0,d.jsx)(h.Jl,{size:"lg",className:"mt-4",checked:I,disabled:L||E&&!I||!A?.configured&&!I,onChange:a=>{r(a.target.checked),O()},children:j("apps.enableVoice")}),K&&(0,d.jsx)("p",{className:"mt-2 text-xs text-smoke",children:j("apps.key.required")})]}),J&&(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"!==H:I)??[]).map(a=>(0,d.jsx)("p",{children:a.sends[m]},a.id))}),(0,d.jsx)(h.Jl,{size:"lg",className:"mt-3",checked:s,disabled:L,onChange:a=>t(a.target.checked),children:j("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)(h.rA,{type:"button",tone:"accent",busy:u,busyLabel:j("apps.saving"),disabled:L||K||J&&!s,onClick:()=>void P(),children:j("apps.providerSave")}),(0,d.jsx)("p",{role:"status",className:"text-xs text-smoke",children:w?j("apps.providersSaved"):""})]}),y&&(0,d.jsx)(h.lZ,{text:j("apps.providersFailed"),className:"mt-3"}),(0,d.jsx)(k(),{href:"/spend",className:"mt-3 inline-block text-xs underline underline-offset-4",children:j("apps.spendLink")})]})}function n({endpoint:a,status:b,busy:c,onChanged:j}){let k=(0,g.kj)(),[l,m]=(0,e.useState)(""),[n,o]=(0,e.useState)(!1),[p,q]=(0,e.useState)(!1),[r,s]=(0,e.useState)(!1),[t,u]=(0,e.useState)(!1),[v,w]=(0,e.useState)(null),x=(0,e.useRef)(!1),y=c||r,z=(0,e.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"),j(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)(f.JPZ,{"aria-hidden":!0,className:"h-4 w-4"}),(0,d.jsx)(h.vw,{size:"md",tone:b.configured?"strong":"neutral",children:k(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)(h.D0,{label:k("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:k("apps.key.hint")}),(0,d.jsxs)("div",{className:"mt-3 flex flex-wrap items-center gap-3",children:[(0,d.jsx)(h.rA,{type:"submit",tone:"surface",busy:r,busyLabel:k("apps.saving"),disabled:y||!l.trim(),children:k("apps.key.save")}),n&&(0,d.jsx)(h.rA,{type:"button",tone:"quiet",disabled:y,onClick:()=>{o(!1),m("")},children:k("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:k("apps.key.get")})]})]}),b.configured&&!n&&!p&&(0,d.jsxs)("div",{className:"mt-3 flex flex-wrap gap-2",children:[(0,d.jsx)(h.rA,{type:"button",tone:"surface",disabled:y,onClick:()=>{o(!0),w(null)},children:k("apps.key.replace")}),(0,d.jsx)(h.rA,{type:"button",tone:"quiet",disabled:y,onClick:()=>q(!0),children:k("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:k("apps.key.removeConfirm")}),(0,d.jsxs)("div",{className:"mt-2 flex flex-wrap gap-2",children:[(0,d.jsx)(h.rA,{type:"button",tone:"danger",busy:r,disabled:y,onClick:()=>void A("DELETE"),children:k("apps.key.remove")}),(0,d.jsx)(h.rA,{type:"button",tone:"quiet",disabled:y,onClick:()=>q(!1),children:k("apps.cancel")})]})]}),(0,d.jsx)("p",{role:"status",className:"mt-2 text-xs text-smoke",children:v?k("saved"===v?"apps.key.saved":"apps.key.removed"):""}),t&&(0,d.jsx)(h.lZ,{text:k("apps.key.saveFailed"),className:"mt-2"})]})}var o=c(74198);function p({ready:a,project:b,projects:c,loadError:i=!1}){let j=(0,g.kj)(),l=(0,o.useRouter)(),m=(0,e.useId)(),[n,p]=(0,e.useTransition)(),[q,r]=(0,e.useState)(null),s=q&&q.queryProject===b?q.slug:b??"",t=c.find(a=>a.slug===s),u=!!(s&&!t),v=new Map;for(let a of c)v.set(a.name,(v.get(a.name)??0)+1);return(0,d.jsxs)(h.Zp,{as:"section","aria-labelledby":`${m}-title`,"aria-busy":n||void 0,children:[(0,d.jsx)("h2",{id:`${m}-title`,className:"text-base font-semibold text-chalk",children:j("apps.launch.title")}),(0,d.jsx)("p",{className:"mt-2 text-sm leading-relaxed text-smoke",children:j("apps.launch.intro")}),i?(0,d.jsxs)("div",{className:"mt-4",children:[(0,d.jsx)(h.lZ,{text:j("apps.launch.loadError")}),(0,d.jsx)(h.rA,{tone:"surface",className:"mt-3",type:"button",onClick:function(){p(()=>l.refresh())},busy:n,busyLabel:j("apps.launch.loading"),children:j("apps.retry")})]}):0===c.length?(0,d.jsx)(h.pp,{variant:"bare",className:"mt-4",title:j("apps.launch.empty"),action:(0,d.jsx)(k(),{href:"/",className:"text-xs text-chalk underline underline-offset-4",children:j("apps.launch.catalog")}),children:j("apps.launch.emptyHint")}):(0,d.jsxs)("div",{className:"mt-4 space-y-3",children:[(0,d.jsxs)(h.l6,{label:j("apps.launch.project"),size:"lg",value:t?.slug??"",disabled:n,"aria-describedby":`${m}-open-hint${u?` ${m}-missing`:""}`,onChange:a=>r({queryProject:b,slug:a.target.value}),children:[(0,d.jsx)("option",{value:"",children:j("apps.launch.choose")}),c.map(a=>(0,d.jsx)("option",{value:a.slug,children:(v.get(a.name)??0)>1?`${a.name} \xb7 ${a.slug}`:a.name},a.slug))]}),u&&(0,d.jsx)("p",{id:`${m}-missing`,role:"status",className:"text-xs leading-relaxed text-smoke",children:j("apps.launch.missingProject")}),a&&t?(0,d.jsxs)(k(),{href:`/p/${encodeURIComponent(t.slug)}/video`,prefetch:!1,className:"apps-button apps-button-primary gap-2",children:[j("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:[j("apps.launch.open"),(0,d.jsx)(f.r9I,{className:"size-4","aria-hidden":!0})]}),(0,d.jsx)("p",{id:`${m}-open-hint`,className:"text-xs leading-relaxed text-smoke",children:j("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:j("apps.launch.setupHint")}),(0,d.jsx)(k(),{href:"#app-requirements",className:"mt-2 inline-block text-xs text-chalk underline underline-offset-4",children:j("apps.launch.setupLink")})]}),(0,d.jsx)("p",{role:"status",className:"sr-only",children:n?j("apps.launch.loading"):""})]})}function q({error:a}){let b=(0,g.kj)();if(!a)return null;let c=(0,i.hz)(a);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,c.vars)}),c.quote&&(0,d.jsx)("blockquote",{className:"mt-1 break-words",children:c.quote})]})}function r({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 s({t:a,locale:b,requirement:c,app:e,busy:f,onOperate:g}){let i=!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?"strong":"neutral",children:a(i)})]}),(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:[!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:()=>g("browser"),children:a("apps.download")})})]}):!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 t({t:a,locale:b,app:c,busy:e,onOperate:f}){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)("h2",{id:"app-requirements-title",className:"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:()=>f("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:()=>f("enable"),children:a("apps.enable")}),c.version&&(0,d.jsx)("button",{className:"apps-button mt-3",disabled:e,onClick:()=>f("doctor"),children:a("apps.refreshRequirements")}),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(g=>(0,d.jsx)(s,{t:a,locale:b,requirement:g,app:c,busy:e,onOperate:f},g.id))]})}function u({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)(r,{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 v({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 w({id:a,project:b,projects:c,projectsError:j}){let k=(0,g.kj)(),l=(0,g.Ym)(),{app:n,error:o,setError:r,reload:s}=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),[w,y]=(0,e.useState)(!1),z=(0,e.useCallback)(async b=>{y(!0),r(null);try{await (0,i.Tl)(`/api/apps/${encodeURIComponent(a)}/${b}`,{}),await s()}catch(a){r(a.message)}finally{y(!1)}},[a,s,r]),A=(0,e.useCallback)(a=>{z(a)},[z]);if(!n)return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(q,{error:o}),(0,d.jsx)("p",{className:"mt-6 text-smoke",children:k("apps.loading")}),o&&(0,d.jsx)("button",{className:"apps-button mt-3",onClick:()=>void s(),children:k("apps.retry")})]});let B=w||!!n.jobs?.some(a=>i.Cn.has(a.status));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:k("apps.official")}),(0,d.jsx)("h1",{className:"page-shell__title mt-1",children:(0,i.JB)(n,l)})]}),(0,d.jsx)(h.vw,{size:"md",tone:"strong",children:k((0,i.nN)(n))})]}),(0,d.jsx)("p",{className:"mt-3 max-w-2xl text-sm leading-relaxed text-smoke",children:n.manifest?.summary?.[l]??k("apps.videoSummary")})]}),(0,d.jsx)(q,{error:o??n.error}),n.npm?.present===!1&&(0,d.jsx)("p",{className:"mt-4 text-sm text-smoke",children:k("apps.npmMissing")}),(0,d.jsxs)("div",{className:"mt-6 grid items-start gap-4 lg:grid-cols-2",children:[(0,d.jsxs)("div",{className:"space-y-4",children:[(0,d.jsx)(p,{ready:!!(n.ready&&!1!==n.enabled),project:b,projects:c,loadError:j}),(0,d.jsx)(t,{t:k,locale:l,app:n,busy:B,onOperate:A})]}),(0,d.jsx)(m,{app:n,busy:B,onSave:s})]}),(0,d.jsxs)("div",{className:"mt-4 grid items-start gap-4 lg:grid-cols-2",children:[(0,d.jsx)(u,{t:k,locale:l,app:n,busy:B,onOperate:A}),(0,d.jsx)(v,{t:k,app:n})]}),(0,d.jsxs)("section",{className:"mt-8",children:[(0,d.jsx)("h2",{className:"text-base font-semibold",children:k("apps.jobs.title")}),(0,d.jsx)(x,{jobs:n.jobs??[],onCancel:a=>{(0,i.Tl)(`/api/apps/jobs/${a.id}/cancel`,{}).then(s).catch(a=>r(a.message))}})]})]})}function x({jobs:a,onCancel:b}){let c=(0,g.kj)();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 e=(0,i.xK)(a);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))]}),b&&i.Cn.has(a.status)&&(0,d.jsx)("button",{className:"apps-button",disabled:"cancelling"===a.status,onClick:()=>b(a),children:c("apps.jobs.cancel")})]}),a.progress?.message&&(0,d.jsx)("blockquote",{className:"mt-2 text-sm text-smoke",children:a.progress.message}),void 0!==e&&(0,d.jsx)("progress",{className:"mt-3 w-full",max:100,value:e,"aria-label":c("apps.jobs.progress",{n:e})}),(0,d.jsx)(q,{error:a.error})]},a.id)})]})}},86206:(a,b,c)=>{c.d(b,{Cn:()=>e,Jn:()=>f,I:()=>g,hz:()=>n,JB:()=>i,Tl:()=>x,nN:()=>h,Wk:()=>q,nn:()=>t,Zp:()=>p,xK:()=>o,$J:()=>k,KU:()=>s,EQ:()=>r,Ht:()=>u,Lu:()=>v,CG:()=>j,Ej:()=>w,E4:()=>y});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=new Set(["pending","running","cancelling"]),f="app:panoma-video:create-video",g=["scout","brand","brain","serve","tour","record","score","study","plan","narrate","render","review"];function h(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 i(a,b){return a.manifest?.displayName?.[b]??("panoma-video"===a.id?"panoma video":a.id)}function j(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 k(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 l={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"},m=new Set(["node-too-old","npm-too-old"]);function n(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=l[b];if(!m.has(b))return{key:e,...c?{quote:c}:{}};let[f,g,...h]=(c??"").split(" | ");return f&&g&&!h.length?{key:e,vars:{needed:f,running:g}}:{key:"apps.fault.engineUnsupported"}}function o(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 p(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 q(a,b){return`/api/apps/jobs/${encodeURIComponent(a)}/artifact?path=${encodeURIComponent(b)}`}function r(a){return{goal:a.goal,format:a.format,langs:[a.language],until:"preview"}}function s(a,b){let c=v([],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 t(a,b){let c=v([],b).brief;return c?a.find(a=>"panoma_video_auto"===a.tool&&v([],a).brief===c):b}function u(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 v(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 w(a,b){return b?`/p/${encodeURIComponent(a)}/video`:`/apps/panoma-video?project=${encodeURIComponent(a)}`}async function x(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 y(a,b,c,d){for(;!b.aborted;)try{let d=await x(`/api/apps/jobs/${encodeURIComponent(a)}?wait=1`,void 0,"GET",b);if(b.aborted||(c(d),!e.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})})}}},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]})}}};
|