@circuitwall/jarela 2.7.0 → 3.0.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/.next/standalone/.next/BUILD_ID +1 -1
- package/.next/standalone/.next/app-path-routes-manifest.json +2 -1
- package/.next/standalone/.next/build-manifest.json +2 -2
- package/.next/standalone/.next/prerender-manifest.json +3 -3
- package/.next/standalone/.next/routes-manifest.json +6 -0
- package/.next/standalone/.next/server/app/_global-error/page.js +68 -68
- package/.next/standalone/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/_global-error.html +1 -1
- package/.next/standalone/.next/server/app/_global-error.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found/page.js +58 -58
- package/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/_not-found.html +2 -2
- package/.next/standalone/.next/server/app/_not-found.rsc +2 -2
- package/.next/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/api/v1/access/[identity]/route.js +127 -127
- package/.next/standalone/.next/server/app/api/v1/access/route.js +372 -372
- package/.next/standalone/.next/server/app/api/v1/agents/[id]/compact/route.js +79 -79
- package/.next/standalone/.next/server/app/api/v1/agents/[id]/display-filters/route.js +641 -641
- package/.next/standalone/.next/server/app/api/v1/agents/[id]/duplicate/route.js +723 -723
- package/.next/standalone/.next/server/app/api/v1/agents/[id]/route.js +100 -100
- package/.next/standalone/.next/server/app/api/v1/agents/[id]/thread/route.js +65 -65
- package/.next/standalone/.next/server/app/api/v1/agents/recent-replies/route.js +227 -227
- package/.next/standalone/.next/server/app/api/v1/agents/route.js +16 -16
- package/.next/standalone/.next/server/app/api/v1/allowed-sites/[hostname]/route.js +384 -384
- package/.next/standalone/.next/server/app/api/v1/allowed-sites/route.js +9 -9
- package/.next/standalone/.next/server/app/api/v1/artifacts/lifecycle/route.js +23 -23
- package/.next/standalone/.next/server/app/api/v1/attachments/files/route.js +203 -203
- package/.next/standalone/.next/server/app/api/v1/attachments/images/route.js +17 -17
- package/.next/standalone/.next/server/app/api/v1/bridges/[id]/chats/route.js +2 -2
- package/.next/standalone/.next/server/app/api/v1/bridges/[id]/chats/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/bridges/[id]/ignores/[remote_jid]/route.js +760 -760
- package/.next/standalone/.next/server/app/api/v1/bridges/[id]/ignores/route.js +699 -699
- package/.next/standalone/.next/server/app/api/v1/bridges/[id]/lookup/route.js +30 -30
- package/.next/standalone/.next/server/app/api/v1/bridges/[id]/lookup/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/bridges/[id]/pair/route.js +37 -37
- package/.next/standalone/.next/server/app/api/v1/bridges/[id]/pair/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/bridges/[id]/route.js +480 -480
- package/.next/standalone/.next/server/app/api/v1/bridges/[id]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/bridges/[id]/routes/[route_id]/route.js +675 -675
- package/.next/standalone/.next/server/app/api/v1/bridges/[id]/routes/route.js +559 -559
- package/.next/standalone/.next/server/app/api/v1/bridges/[id]/status/route.js +23 -23
- package/.next/standalone/.next/server/app/api/v1/bridges/[id]/status/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/bridges/kinds/route.js +37 -37
- package/.next/standalone/.next/server/app/api/v1/bridges/route.js +1269 -1269
- package/.next/standalone/.next/server/app/api/v1/builtin-tools/route.js +199 -199
- package/.next/standalone/.next/server/app/api/v1/builtin-tools/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/config/route.js +99 -99
- package/.next/standalone/.next/server/app/api/v1/credentials/[id]/route.js +23 -23
- package/.next/standalone/.next/server/app/api/v1/credentials/[id]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/credentials/route.js +169 -169
- package/.next/standalone/.next/server/app/api/v1/credentials/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/dashboard/currency/route.js +515 -515
- package/.next/standalone/.next/server/app/api/v1/dashboard/metrics/route.js +380 -380
- package/.next/standalone/.next/server/app/api/v1/dashboard/metrics/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/dashboard/pricing/route.js +256 -256
- package/.next/standalone/.next/server/app/api/v1/dashboard/pricing/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/dashboard/pricing-task/route.js +80 -97
- package/.next/standalone/.next/server/app/api/v1/dashboard/pricing-task/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/delegations/codex/[job_id]/route.js +677 -677
- package/.next/standalone/.next/server/app/api/v1/delegations/codex/[job_id]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/documents/recall-policy/route.js +856 -0
- package/.next/standalone/.next/server/app/api/v1/documents/recall-policy/route.js.nft.json +1 -0
- package/.next/standalone/.next/server/app/api/v1/documents/recall-policy/route_client-reference-manifest.js +1 -0
- package/.next/standalone/.next/server/app/api/v1/documents/search/route.js +299 -247
- package/.next/standalone/.next/server/app/api/v1/documents/settings/route.js +486 -486
- package/.next/standalone/.next/server/app/api/v1/documents/sources/[id]/reindex/route.js +18 -11
- package/.next/standalone/.next/server/app/api/v1/documents/sources/[id]/reindex/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/documents/sources/[id]/route.js +666 -666
- package/.next/standalone/.next/server/app/api/v1/documents/sources/[id]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/documents/sources/route.js +128 -100
- package/.next/standalone/.next/server/app/api/v1/documents/sources/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/env/route.js +207 -207
- package/.next/standalone/.next/server/app/api/v1/env-sync/allowlist/route.js +128 -128
- package/.next/standalone/.next/server/app/api/v1/env-sync/route.js +16 -16
- package/.next/standalone/.next/server/app/api/v1/events/route.js +154 -154
- package/.next/standalone/.next/server/app/api/v1/events/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/events/test/route.js +16 -16
- package/.next/standalone/.next/server/app/api/v1/extension/agents/route.js +97 -97
- package/.next/standalone/.next/server/app/api/v1/extension/agents/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/extension/browser/activate/route.js +188 -188
- package/.next/standalone/.next/server/app/api/v1/extension/browser/foreground/route.js +93 -93
- package/.next/standalone/.next/server/app/api/v1/extension/browser/history/route.js +9 -9
- package/.next/standalone/.next/server/app/api/v1/extension/browser/poll/route.js +93 -93
- package/.next/standalone/.next/server/app/api/v1/extension/browser/progress/route.js +69 -69
- package/.next/standalone/.next/server/app/api/v1/extension/browser/result/route.js +69 -69
- package/.next/standalone/.next/server/app/api/v1/extension/browser/retry/route.js +65 -65
- package/.next/standalone/.next/server/app/api/v1/extension/browser/status/route.js +223 -223
- package/.next/standalone/.next/server/app/api/v1/extension/browser/tabs/route.js +44 -44
- package/.next/standalone/.next/server/app/api/v1/extension/fill/route.js +93 -93
- package/.next/standalone/.next/server/app/api/v1/extension/fill/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/extension/refine/route.js +44 -44
- package/.next/standalone/.next/server/app/api/v1/extension/refine/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/extension/turn/route.js +16 -16
- package/.next/standalone/.next/server/app/api/v1/extension/turn/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/extensions/route.js +722 -722
- package/.next/standalone/.next/server/app/api/v1/extensions/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/extensions/tools/[name]/config/route.js +481 -481
- package/.next/standalone/.next/server/app/api/v1/extensions/tools/[name]/config/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/extensions/tools/[name]/route.js +378 -378
- package/.next/standalone/.next/server/app/api/v1/extensions/tools/[name]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/extensions/tools/[name]/secrets/route.js +510 -510
- package/.next/standalone/.next/server/app/api/v1/extensions/tools/[name]/secrets/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/files/[name]/route.js +17 -17
- package/.next/standalone/.next/server/app/api/v1/fs/browse/route.js +33 -33
- package/.next/standalone/.next/server/app/api/v1/harnesses/[id]/route.js +397 -397
- package/.next/standalone/.next/server/app/api/v1/harnesses/default/route.js +129 -129
- package/.next/standalone/.next/server/app/api/v1/harnesses/route.js +9 -9
- package/.next/standalone/.next/server/app/api/v1/health/probes/route.js +757 -757
- package/.next/standalone/.next/server/app/api/v1/health/probes/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/health/route.js +228 -228
- package/.next/standalone/.next/server/app/api/v1/integrations/[name]/route.js +37 -37
- package/.next/standalone/.next/server/app/api/v1/integrations/[name]/test/route.js +198 -198
- package/.next/standalone/.next/server/app/api/v1/integrations/[name]/test/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/integrations/gmail/oauth/callback/route.js +9 -9
- package/.next/standalone/.next/server/app/api/v1/integrations/gmail/oauth/start/route.js +845 -845
- package/.next/standalone/.next/server/app/api/v1/integrations/gmail/oauth/status/route.js +23 -23
- package/.next/standalone/.next/server/app/api/v1/integrations/outlook/oauth/callback/route.js +106 -106
- package/.next/standalone/.next/server/app/api/v1/integrations/outlook/oauth/start/route.js +747 -747
- package/.next/standalone/.next/server/app/api/v1/integrations/outlook/oauth/status/route.js +37 -37
- package/.next/standalone/.next/server/app/api/v1/integrations/route.js +37 -37
- package/.next/standalone/.next/server/app/api/v1/lifecycle/adoption/route.js +420 -420
- package/.next/standalone/.next/server/app/api/v1/local-file/route.js +34 -34
- package/.next/standalone/.next/server/app/api/v1/logs/route.js +819 -819
- package/.next/standalone/.next/server/app/api/v1/maps/embed/route.js +217 -217
- package/.next/standalone/.next/server/app/api/v1/mcp-servers/[name]/route.js +1034 -1034
- package/.next/standalone/.next/server/app/api/v1/mcp-servers/registry/route.js +2 -2
- package/.next/standalone/.next/server/app/api/v1/mcp-servers/route.js +58 -58
- package/.next/standalone/.next/server/app/api/v1/memory/[namespace]/[key]/route.js +150 -150
- package/.next/standalone/.next/server/app/api/v1/memory/policy/route.js +72 -72
- package/.next/standalone/.next/server/app/api/v1/memory/route.js +9 -9
- package/.next/standalone/.next/server/app/api/v1/memory/search/route.js +16 -16
- package/.next/standalone/.next/server/app/api/v1/models/[name]/compact-threads/route.js +72 -72
- package/.next/standalone/.next/server/app/api/v1/models/[name]/route.js +87 -538
- package/.next/standalone/.next/server/app/api/v1/models/[name]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/models/route.js +273 -722
- package/.next/standalone/.next/server/app/api/v1/models/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/packages/catalog/route.js +73 -73
- package/.next/standalone/.next/server/app/api/v1/packages/defaults/[id]/route.js +248 -239
- package/.next/standalone/.next/server/app/api/v1/packages/defaults/[id]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/packages/install/[id]/route.js +128 -128
- package/.next/standalone/.next/server/app/api/v1/packages/install/[id]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/packages/install/route.js +44 -44
- package/.next/standalone/.next/server/app/api/v1/packages/install/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/packages/manifests/[name]/enabled/route.js +72 -72
- package/.next/standalone/.next/server/app/api/v1/packages/manifests/[name]/enabled/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/packages/manifests/[name]/route.js +37 -37
- package/.next/standalone/.next/server/app/api/v1/packages/manifests/[name]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/packages/manifests/route.js +81 -81
- package/.next/standalone/.next/server/app/api/v1/packages/manifests/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/packages/reload/route.js +34 -25
- package/.next/standalone/.next/server/app/api/v1/packages/reload/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/packages/route.js +48 -39
- package/.next/standalone/.next/server/app/api/v1/packages/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/page-capture/route.js +51 -51
- package/.next/standalone/.next/server/app/api/v1/page-capture/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/pending-actions/[id]/approve/route.js +863 -863
- package/.next/standalone/.next/server/app/api/v1/pending-actions/[id]/approve/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/pending-actions/[id]/deny/route.js +230 -230
- package/.next/standalone/.next/server/app/api/v1/pending-actions/[id]/deny/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/pending-actions/route.js +44 -44
- package/.next/standalone/.next/server/app/api/v1/pending-actions/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/profile/location/route.js +138 -138
- package/.next/standalone/.next/server/app/api/v1/profile/route.js +51 -51
- package/.next/standalone/.next/server/app/api/v1/providers/[provider]/models/route.js +853 -680
- package/.next/standalone/.next/server/app/api/v1/providers/[provider]/probe/route.js +65 -65
- package/.next/standalone/.next/server/app/api/v1/providers/github-copilot/auth/route.js +171 -171
- package/.next/standalone/.next/server/app/api/v1/providers/route.js +96 -96
- package/.next/standalone/.next/server/app/api/v1/proxy-config/route.js +157 -157
- package/.next/standalone/.next/server/app/api/v1/redaction/init/route.js +47 -47
- package/.next/standalone/.next/server/app/api/v1/redaction/route.js +206 -206
- package/.next/standalone/.next/server/app/api/v1/scheduled-tasks/[id]/route.js +140 -140
- package/.next/standalone/.next/server/app/api/v1/scheduled-tasks/[id]/run/route.js +166 -166
- package/.next/standalone/.next/server/app/api/v1/scheduled-tasks/[id]/run/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/scheduled-tasks/route.js +52 -52
- package/.next/standalone/.next/server/app/api/v1/security/idle-timeout/route.js +722 -722
- package/.next/standalone/.next/server/app/api/v1/security/pin/route.js +23 -23
- package/.next/standalone/.next/server/app/api/v1/security/state/route.js +243 -243
- package/.next/standalone/.next/server/app/api/v1/security/unlock/route.js +518 -518
- package/.next/standalone/.next/server/app/api/v1/security/verify-pin/route.js +9 -9
- package/.next/standalone/.next/server/app/api/v1/setup/test-key/route.js +25 -25
- package/.next/standalone/.next/server/app/api/v1/skills/[id]/route.js +9 -9
- package/.next/standalone/.next/server/app/api/v1/skills/repos/[id]/route.js +609 -609
- package/.next/standalone/.next/server/app/api/v1/skills/repos/route.js +129 -129
- package/.next/standalone/.next/server/app/api/v1/skills/route.js +9 -9
- package/.next/standalone/.next/server/app/api/v1/system/abort/route.js +112 -112
- package/.next/standalone/.next/server/app/api/v1/system/restart/route.js +86 -86
- package/.next/standalone/.next/server/app/api/v1/system/restart/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/tailscale/route.js +9 -9
- package/.next/standalone/.next/server/app/api/v1/tasks/[agent_id]/route.js +83 -83
- package/.next/standalone/.next/server/app/api/v1/tasks/route.js +23 -23
- package/.next/standalone/.next/server/app/api/v1/threads/[thread_id]/activity/route.js +121 -121
- package/.next/standalone/.next/server/app/api/v1/threads/[thread_id]/context-pin/route.js +139 -139
- package/.next/standalone/.next/server/app/api/v1/threads/[thread_id]/messages/[message_id]/route.js +51 -51
- package/.next/standalone/.next/server/app/api/v1/threads/[thread_id]/route.js +58 -58
- package/.next/standalone/.next/server/app/api/v1/threads/[thread_id]/run/route.js +1182 -1182
- package/.next/standalone/.next/server/app/api/v1/threads/[thread_id]/run/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/threads/route.js +158 -158
- package/.next/standalone/.next/server/app/api/v1/tools/route.js +137 -137
- package/.next/standalone/.next/server/app/api/v1/tools/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/update/apply/route.js +73 -73
- package/.next/standalone/.next/server/app/api/v1/update/apply/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/update/route.js +72 -72
- package/.next/standalone/.next/server/app/api/v1/voice/transcribe/route.js +30 -30
- package/.next/standalone/.next/server/app/api/v1/voice/tts/route.js +79 -79
- package/.next/standalone/.next/server/app/api/v1/watchers/[id]/route.js +9 -9
- package/.next/standalone/.next/server/app/api/v1/watchers/[id]/run/route.js +45 -45
- package/.next/standalone/.next/server/app/api/v1/watchers/[id]/run/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/watchers/reaction-scripts/route.js +2 -2
- package/.next/standalone/.next/server/app/api/v1/watchers/route.js +37 -37
- package/.next/standalone/.next/server/app/api/v1/watchers/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/icon.svg/route.js +55 -55
- package/.next/standalone/.next/server/app/manifest.webmanifest/route.js +18 -18
- package/.next/standalone/.next/server/app/page.js +2112 -1235
- package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/setup/page.js +91 -91
- package/.next/standalone/.next/server/app/setup/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app-paths-manifest.json +2 -1
- package/.next/standalone/.next/server/chunks/1244.js +136 -4
- package/.next/standalone/.next/server/chunks/1387.js +733 -57
- package/.next/standalone/.next/server/chunks/1433.js +1 -1
- package/.next/standalone/.next/server/chunks/210.js +3 -3
- package/.next/standalone/.next/server/chunks/2175.js +874 -0
- package/.next/standalone/.next/server/chunks/3042.js +34 -32
- package/.next/standalone/.next/server/chunks/309.js +21 -40
- package/.next/standalone/.next/server/chunks/3272.js +21 -40
- package/.next/standalone/.next/server/chunks/{540.js → 3326.js} +189 -61
- package/.next/standalone/.next/server/chunks/{6142.js → 3479.js} +170 -159
- package/.next/standalone/.next/server/chunks/3566.js +1 -1
- package/.next/standalone/.next/server/chunks/{5323.js → 3692.js} +31 -3
- package/.next/standalone/.next/server/chunks/4189.js +14 -2
- package/.next/standalone/.next/server/chunks/4377.js +2 -2
- package/.next/standalone/.next/server/chunks/4596.js +18 -9
- package/.next/standalone/.next/server/chunks/{639.js → 4728.js} +23676 -22755
- package/.next/standalone/.next/server/chunks/4955.js +81 -14
- package/.next/standalone/.next/server/chunks/5290.js +136 -5
- package/.next/standalone/.next/server/chunks/{2267.js → 6408.js} +990 -926
- package/.next/standalone/.next/server/chunks/{9667.js → 6911.js} +31 -3
- package/.next/standalone/.next/server/chunks/7033.js +7 -4
- package/.next/standalone/.next/server/chunks/7377.js +7 -4
- package/.next/standalone/.next/server/chunks/8461.js +31 -29
- package/.next/standalone/.next/server/chunks/9032.js +3 -3
- package/.next/standalone/.next/server/chunks/9174.js +18 -9
- package/.next/standalone/.next/server/chunks/9408.js +37 -15
- package/.next/standalone/.next/server/chunks/9824.js +2288 -2288
- package/.next/standalone/.next/server/middleware-build-manifest.js +2 -2
- package/.next/standalone/.next/server/middleware.js +104638 -104532
- package/.next/standalone/.next/server/pages/404.html +2 -2
- package/.next/standalone/.next/server/pages/500.html +1 -1
- package/.next/standalone/.next/server/preview-props.json +3 -3
- package/.next/standalone/.next/server/server-reference-manifest.json +1 -1
- package/.next/standalone/.next/static/2BAUJZ7x8eXCYpuZ-Kp7h/_buildManifest.js +1 -0
- package/.next/standalone/.next/static/chunks/{877-145c9df8aa0aee63.js → 877-367eb49b20edd3d6.js} +38 -16
- package/.next/standalone/.next/static/chunks/app/_global-error/page-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/access/[identity]/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/access/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/agents/[id]/compact/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/agents/[id]/display-filters/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/agents/[id]/duplicate/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/agents/[id]/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/agents/[id]/thread/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/agents/recent-replies/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/agents/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/allowed-sites/[hostname]/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/allowed-sites/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/artifacts/lifecycle/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/attachments/files/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/attachments/images/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/[id]/chats/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/[id]/ignores/[remote_jid]/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/[id]/ignores/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/[id]/lookup/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/[id]/pair/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/[id]/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/[id]/routes/[route_id]/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/[id]/routes/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/[id]/status/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/kinds/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/builtin-tools/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/config/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/credentials/[id]/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/credentials/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/dashboard/currency/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/dashboard/metrics/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/dashboard/pricing/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/dashboard/pricing-task/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/delegations/codex/[job_id]/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/documents/recall-policy/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/documents/search/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/documents/settings/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/documents/sources/[id]/reindex/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/documents/sources/[id]/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/documents/sources/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/env/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/env-sync/allowlist/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/env-sync/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/events/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/events/test/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/agents/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/browser/activate/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/browser/foreground/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/browser/history/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/browser/poll/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/browser/progress/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/browser/result/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/browser/retry/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/browser/status/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/browser/tabs/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/fill/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/refine/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/turn/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/extensions/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/extensions/tools/[name]/config/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/extensions/tools/[name]/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/extensions/tools/[name]/secrets/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/files/[name]/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/fs/browse/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/harnesses/[id]/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/harnesses/default/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/harnesses/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/health/probes/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/health/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/integrations/[name]/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/integrations/[name]/test/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/integrations/gmail/oauth/callback/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/integrations/gmail/oauth/start/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/integrations/gmail/oauth/status/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/integrations/outlook/oauth/callback/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/integrations/outlook/oauth/start/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/integrations/outlook/oauth/status/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/integrations/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/lifecycle/adoption/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/local-file/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/logs/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/maps/embed/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/mcp-servers/[name]/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/mcp-servers/registry/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/mcp-servers/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/memory/[namespace]/[key]/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/memory/policy/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/memory/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/memory/search/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/models/[name]/compact-threads/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/models/[name]/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/models/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/packages/catalog/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/packages/defaults/[id]/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/packages/install/[id]/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/packages/install/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/packages/manifests/[name]/enabled/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/packages/manifests/[name]/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/packages/manifests/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/packages/reload/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/packages/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/page-capture/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/pending-actions/[id]/approve/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/pending-actions/[id]/deny/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/pending-actions/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/profile/location/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/profile/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/providers/[provider]/models/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/providers/[provider]/probe/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/providers/github-copilot/auth/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/providers/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/proxy-config/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/redaction/init/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/redaction/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/scheduled-tasks/[id]/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/scheduled-tasks/[id]/run/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/scheduled-tasks/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/security/idle-timeout/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/security/pin/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/security/state/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/security/unlock/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/security/verify-pin/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/setup/test-key/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/skills/[id]/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/skills/repos/[id]/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/skills/repos/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/skills/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/system/abort/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/system/restart/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/tailscale/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/tasks/[agent_id]/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/tasks/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/threads/[thread_id]/activity/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/threads/[thread_id]/context-pin/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/threads/[thread_id]/messages/[message_id]/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/threads/[thread_id]/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/threads/[thread_id]/run/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/threads/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/tools/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/update/apply/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/update/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/voice/transcribe/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/voice/tts/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/watchers/[id]/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/watchers/[id]/run/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/watchers/reaction-scripts/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/watchers/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/manifest.webmanifest/route-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/app/{page-64585ef79400f17f.js → page-a584dfa806a1afdb.js} +1082 -205
- package/.next/standalone/.next/static/chunks/next/dist/client/components/builtin/app-error-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/next/dist/client/components/builtin/forbidden-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/next/dist/client/components/builtin/not-found-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/chunks/next/dist/client/components/builtin/unauthorized-6cda89771c3f8ea4.js +17 -0
- package/.next/standalone/.next/static/css/19e1cd815490b47c.css +5 -0
- package/.next/standalone/docs/adoption/changesets.json +148 -0
- package/.next/standalone/package.json +5 -4
- package/CHANGELOG.md +51 -0
- package/README.md +115 -1
- package/api/client.startup.test.ts +29 -0
- package/api/client.ts +9 -2
- package/api/types.ts +20 -1
- package/app/api/v1/dashboard/pricing-task/route.ts +3 -1
- package/app/api/v1/documents/recall-policy/route.test.ts +59 -0
- package/app/api/v1/documents/recall-policy/route.ts +20 -0
- package/app/api/v1/documents/search/route.test.ts +36 -0
- package/app/api/v1/documents/search/route.ts +17 -5
- package/app/api/v1/documents/sources/[id]/reindex/route.test.ts +44 -0
- package/app/api/v1/documents/sources/[id]/reindex/route.ts +4 -1
- package/app/api/v1/documents/sources/route.test.ts +67 -0
- package/app/api/v1/documents/sources/route.ts +20 -2
- package/app/api/v1/models/[name]/route.ts +2 -0
- package/app/api/v1/models/route.ts +4 -0
- package/app/api/v1/providers/[provider]/models/route.test.ts +28 -0
- package/app/api/v1/providers/[provider]/models/route.ts +16 -2
- package/app/globals.css +51 -4
- package/components/agents/AgentsPanel.tsx +2 -2
- package/components/agents/agent-editor/AdvancedSection.tsx +1 -1
- package/components/agents/agent-editor/ModelSection.tsx +2 -2
- package/components/bridges/BridgeEditor.tsx +1 -1
- package/components/bridges/BridgesPanel.tsx +1 -1
- package/components/chat/InputBar.tsx +1 -1
- package/components/chat/MessageList.tsx +3 -3
- package/components/chat/useUserProfileAndAgent.test.tsx +43 -1
- package/components/chat/useUserProfileAndAgent.ts +16 -5
- package/components/credentials/CredentialsPanel.tsx +1 -1
- package/components/dashboard/CostBreakdown.test.tsx +34 -0
- package/components/dashboard/CostBreakdown.tsx +21 -0
- package/components/dashboard/DashboardPanel.test.tsx +9 -0
- package/components/dashboard/DashboardPanel.tsx +3 -3
- package/components/dashboard/Donuts.tsx +5 -2
- package/components/dashboard/ModelPricingSection.test.tsx +42 -0
- package/components/dashboard/ModelPricingSection.tsx +23 -21
- package/components/dashboard/Series.test.tsx +1 -0
- package/components/dashboard/Series.tsx +5 -0
- package/components/dashboard/SummaryCards.tsx +39 -27
- package/components/dashboard/VendorModelReportSection.tsx +2 -0
- package/components/documents/AddSourceFields.tsx +52 -15
- package/components/documents/AddSourceForm.tsx +61 -19
- package/components/documents/DocumentsPanel.tsx +22 -2
- package/components/documents/RecallExclusions.tsx +73 -0
- package/components/documents/SearchProbe.tsx +42 -5
- package/components/documents/helpers.ts +17 -3
- package/components/documents/indexing-controls.test.tsx +137 -0
- package/components/documents/useDocumentsPanel.test.tsx +87 -0
- package/components/documents/useDocumentsPanel.ts +47 -6
- package/components/env/EnvVarsPanel.tsx +1 -1
- package/components/harness/HarnessPanel.tsx +2 -2
- package/components/integrations/NetworkPanel.tsx +1 -1
- package/components/layout/AgentCardControls.test.tsx +162 -0
- package/components/layout/AgentCardControls.tsx +126 -0
- package/components/layout/AgentSwitcher.test.tsx +37 -0
- package/components/layout/AgentSwitcher.tsx +28 -3
- package/components/layout/AppShell.tsx +16 -9
- package/components/layout/MenuPanel.test.tsx +125 -2
- package/components/layout/MenuPanel.tsx +96 -2
- package/components/logs/LogsPanel.tsx +1 -1
- package/components/mcp/MCPPanel.tsx +1 -1
- package/components/memory/UnifiedMemoryPanel.tsx +4 -4
- package/components/models/CapBadges.tsx +1 -1
- package/components/models/EmbeddingModelSection.test.tsx +41 -0
- package/components/models/EmbeddingModelSection.tsx +5 -0
- package/components/models/ModelFeatureGuide.tsx +16 -8
- package/components/models/ModelsPanel.tsx +8 -3
- package/components/models/model-editor/ModelEditorBody.tsx +1 -0
- package/components/models/model-editor/ModelIdSection.tsx +5 -0
- package/components/profile/ProfileEditor.test.tsx +70 -0
- package/components/profile/ProfileEditor.tsx +6 -2
- package/components/profile/ProfilePanel.test.tsx +6 -0
- package/components/profile/ProfilePanel.tsx +1 -1
- package/components/scheduled-tasks/ScheduledTasksPanel.tsx +1 -1
- package/components/settings/AppearancePanel.tsx +1 -1
- package/components/settings/SettingsPanel.test.tsx +23 -0
- package/components/settings/SettingsPanel.tsx +2 -2
- package/components/skills/SkillsPanel.tsx +1 -1
- package/components/tools/BrowserPanel.tsx +1 -1
- package/components/tools/PackagesPanel.tsx +1 -1
- package/components/tools/UnifiedPackageList.tsx +1 -1
- package/components/ui/PanelHeader.tsx +1 -1
- package/components/ui/SubTabBar.tsx +1 -1
- package/docs/INSTALL.md +7 -5
- package/hooks/useAgents.ts +2 -2
- package/lib/agents/prepare/system-prompt.test.ts +65 -0
- package/lib/agents/prepare/system-prompt.ts +27 -20
- package/lib/agents/prompt-registry.test.ts +42 -0
- package/lib/agents/prompt-registry.ts +21 -0
- package/lib/bridges/whatsapp.inbound.test.ts +38 -1
- package/lib/bridges/whatsapp.ts +10 -33
- package/lib/db/index.ts +2 -0
- package/lib/db/migrations.test.ts +10 -0
- package/lib/db/migrations.ts +10 -0
- package/lib/db/statement-cache.test.ts +77 -0
- package/lib/db/statement-cache.ts +31 -0
- package/lib/documents/indexer.test.ts +16 -1
- package/lib/documents/indexer.ts +8 -7
- package/lib/documents/mail-source-config.ts +31 -0
- package/lib/documents/recall-policy.ts +24 -0
- package/lib/documents/remote/icloud.ts +56 -0
- package/lib/documents/remote/index.ts +4 -1
- package/lib/documents/remote/mail.test.ts +232 -0
- package/lib/documents/remote/mail.ts +48 -40
- package/lib/documents/search.test.ts +81 -2
- package/lib/documents/search.ts +47 -7
- package/lib/embeddings/cache.test.ts +16 -2
- package/lib/embeddings/index.test.ts +7 -0
- package/lib/embeddings/index.ts +12 -1
- package/lib/integrations/deepseek-web/manifest.ts +68 -0
- package/lib/integrations/gmail/manifest.ts +2 -3
- package/lib/integrations/icloud/manifest.ts +19 -5
- package/lib/integrations/registry.test.ts +8 -0
- package/lib/integrations/registry.ts +2 -0
- package/lib/lifecycle/changeset-build.test.ts +3 -0
- package/lib/lifecycle/changeset-build.ts +6 -0
- package/lib/lifecycle/changesets.ts +9 -0
- package/lib/pricing/llm-extract.ts +1 -1
- package/lib/pricing/maintenance-task.ts +19 -3
- package/lib/pricing/model-updates.test.ts +192 -0
- package/lib/pricing/model-updates.ts +205 -0
- package/lib/stores/app-settings.ts +17 -1
- package/lib/stores/dashboard-metrics-cache.test.ts +44 -0
- package/lib/stores/dashboard-metrics.test.ts +47 -4
- package/lib/stores/dashboard-metrics.ts +73 -8
- package/lib/stores/document-sources.ts +1 -0
- package/lib/stores/integrations.test.ts +20 -0
- package/lib/stores/integrations.ts +15 -4
- package/lib/stores/langgraph-store.test.ts +53 -0
- package/lib/stores/langgraph-store.ts +9 -21
- package/lib/stores/model-metadata.ts +89 -0
- package/lib/stores/threads.test.ts +34 -0
- package/lib/stores/threads.ts +17 -20
- package/lib/stores/tool-stats.test.ts +31 -0
- package/lib/stores/tool-stats.ts +16 -0
- package/lib/stores/version-adoption.test.ts +8 -0
- package/lib/stores/version-adoption.ts +5 -2
- package/lib/tools/general/documents.test.ts +5 -0
- package/lib/tools/general/pricing-maintenance.test.ts +5 -0
- package/lib/tools/general/pricing-maintenance.ts +4 -1
- package/lib/tools/packages/default-packages/icloud.test.ts +49 -0
- package/lib/tools/packages/default-packages/icloud.ts +8 -6
- package/lib/tools/packages/default-packages.test.ts +16 -0
- package/lib/tools/packages/langchain-packages.ts +2 -2
- package/lib/tools/runtime/category-filter.test.ts +22 -0
- package/lib/tools/web/deepseek.test.ts +76 -0
- package/lib/tools/web/deepseek.ts +68 -0
- package/lib/tools/web/fetch.test.ts +130 -2
- package/lib/tools/web/fetch.ts +48 -1
- package/lib/tools/web/search.test.ts +139 -2
- package/lib/tools/web/search.ts +48 -1
- package/lib/triggers/handlers/scheduled-task.test.ts +18 -0
- package/lib/triggers/handlers/scheduled-task.ts +6 -0
- package/lib/ui/feature-readiness.test.ts +7 -0
- package/lib/ui/feature-readiness.ts +2 -1
- package/package.json +5 -4
- package/scripts/check-npm-package.mjs +1 -0
- package/scripts/jarela-bin.mjs +3 -0
- package/scripts/runtime-version.mjs +19 -0
- package/scripts/start-prod.mjs +3 -0
- package/.next/standalone/.next/static/6qLnqWdsfBTJOAJApUYXy/_buildManifest.js +0 -1
- package/.next/standalone/.next/static/chunks/app/_global-error/page-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/access/[identity]/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/access/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/agents/[id]/compact/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/agents/[id]/display-filters/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/agents/[id]/duplicate/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/agents/[id]/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/agents/[id]/thread/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/agents/recent-replies/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/agents/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/allowed-sites/[hostname]/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/allowed-sites/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/artifacts/lifecycle/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/attachments/files/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/attachments/images/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/[id]/chats/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/[id]/ignores/[remote_jid]/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/[id]/ignores/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/[id]/lookup/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/[id]/pair/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/[id]/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/[id]/routes/[route_id]/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/[id]/routes/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/[id]/status/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/kinds/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/builtin-tools/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/config/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/credentials/[id]/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/credentials/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/dashboard/currency/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/dashboard/metrics/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/dashboard/pricing/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/dashboard/pricing-task/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/delegations/codex/[job_id]/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/documents/search/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/documents/settings/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/documents/sources/[id]/reindex/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/documents/sources/[id]/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/documents/sources/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/env/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/env-sync/allowlist/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/env-sync/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/events/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/events/test/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/agents/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/browser/activate/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/browser/foreground/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/browser/history/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/browser/poll/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/browser/progress/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/browser/result/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/browser/retry/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/browser/status/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/browser/tabs/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/fill/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/refine/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/turn/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/extensions/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/extensions/tools/[name]/config/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/extensions/tools/[name]/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/extensions/tools/[name]/secrets/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/files/[name]/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/fs/browse/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/harnesses/[id]/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/harnesses/default/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/harnesses/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/health/probes/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/health/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/integrations/[name]/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/integrations/[name]/test/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/integrations/gmail/oauth/callback/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/integrations/gmail/oauth/start/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/integrations/gmail/oauth/status/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/integrations/outlook/oauth/callback/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/integrations/outlook/oauth/start/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/integrations/outlook/oauth/status/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/integrations/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/lifecycle/adoption/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/local-file/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/logs/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/maps/embed/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/mcp-servers/[name]/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/mcp-servers/registry/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/mcp-servers/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/memory/[namespace]/[key]/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/memory/policy/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/memory/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/memory/search/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/models/[name]/compact-threads/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/models/[name]/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/models/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/packages/catalog/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/packages/defaults/[id]/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/packages/install/[id]/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/packages/install/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/packages/manifests/[name]/enabled/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/packages/manifests/[name]/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/packages/manifests/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/packages/reload/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/packages/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/page-capture/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/pending-actions/[id]/approve/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/pending-actions/[id]/deny/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/pending-actions/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/profile/location/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/profile/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/providers/[provider]/models/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/providers/[provider]/probe/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/providers/github-copilot/auth/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/providers/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/proxy-config/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/redaction/init/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/redaction/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/scheduled-tasks/[id]/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/scheduled-tasks/[id]/run/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/scheduled-tasks/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/security/idle-timeout/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/security/pin/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/security/state/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/security/unlock/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/security/verify-pin/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/setup/test-key/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/skills/[id]/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/skills/repos/[id]/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/skills/repos/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/skills/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/system/abort/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/system/restart/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/tailscale/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/tasks/[agent_id]/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/tasks/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/threads/[thread_id]/activity/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/threads/[thread_id]/context-pin/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/threads/[thread_id]/messages/[message_id]/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/threads/[thread_id]/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/threads/[thread_id]/run/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/threads/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/tools/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/update/apply/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/update/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/voice/transcribe/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/voice/tts/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/watchers/[id]/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/watchers/[id]/run/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/watchers/reaction-scripts/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/watchers/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/app/manifest.webmanifest/route-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/next/dist/client/components/builtin/app-error-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/next/dist/client/components/builtin/forbidden-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/next/dist/client/components/builtin/not-found-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/chunks/next/dist/client/components/builtin/unauthorized-f6b126e5c5b11551.js +0 -17
- package/.next/standalone/.next/static/css/c4a8bed1da2c748f.css +0 -5
- /package/.next/standalone/.next/static/{6qLnqWdsfBTJOAJApUYXy → 2BAUJZ7x8eXCYpuZ-Kp7h}/_ssgManifest.js +0 -0
|
@@ -54,806 +54,806 @@ module.exports = require("next/dist/server/runtime-reacts.external.js");
|
|
|
54
54
|
|
|
55
55
|
/***/ }),
|
|
56
56
|
|
|
57
|
-
/***/
|
|
58
|
-
/***/ ((
|
|
57
|
+
/***/ 157075:
|
|
58
|
+
/***/ ((module) => {
|
|
59
59
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
/* harmony import */ var next_dist_shared_lib_router_utils_app_paths__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(200261);
|
|
81
|
-
/* harmony import */ var next_dist_shared_lib_router_utils_app_paths__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(next_dist_shared_lib_router_utils_app_paths__WEBPACK_IMPORTED_MODULE_6__);
|
|
82
|
-
/* harmony import */ var next_dist_server_base_http_node__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(754365);
|
|
83
|
-
/* harmony import */ var next_dist_server_base_http_node__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_base_http_node__WEBPACK_IMPORTED_MODULE_7__);
|
|
84
|
-
/* harmony import */ var next_dist_server_web_spec_extension_adapters_next_request__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(590771);
|
|
85
|
-
/* harmony import */ var next_dist_server_web_spec_extension_adapters_next_request__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_web_spec_extension_adapters_next_request__WEBPACK_IMPORTED_MODULE_8__);
|
|
86
|
-
/* harmony import */ var next_dist_server_lib_trace_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(473461);
|
|
87
|
-
/* harmony import */ var next_dist_server_lib_trace_constants__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_lib_trace_constants__WEBPACK_IMPORTED_MODULE_9__);
|
|
88
|
-
/* harmony import */ var next_dist_server_instrumentation_utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(767798);
|
|
89
|
-
/* harmony import */ var next_dist_server_send_response__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(192280);
|
|
90
|
-
/* harmony import */ var next_dist_server_web_utils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(662018);
|
|
91
|
-
/* harmony import */ var next_dist_server_web_utils__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_web_utils__WEBPACK_IMPORTED_MODULE_12__);
|
|
92
|
-
/* harmony import */ var next_dist_server_lib_cache_control__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(445696);
|
|
93
|
-
/* harmony import */ var next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(347929);
|
|
94
|
-
/* harmony import */ var next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_14__);
|
|
95
|
-
/* harmony import */ var next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(986439);
|
|
96
|
-
/* harmony import */ var next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_15__);
|
|
97
|
-
/* harmony import */ var next_dist_server_lib_route_cache_key__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(710246);
|
|
98
|
-
/* harmony import */ var next_dist_server_lib_route_cache_key__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_lib_route_cache_key__WEBPACK_IMPORTED_MODULE_16__);
|
|
99
|
-
/* harmony import */ var next_dist_server_response_cache__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(137527);
|
|
100
|
-
/* harmony import */ var next_dist_server_response_cache__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_response_cache__WEBPACK_IMPORTED_MODULE_17__);
|
|
60
|
+
module.exports = require("node:stream");
|
|
61
|
+
|
|
62
|
+
/***/ }),
|
|
63
|
+
|
|
64
|
+
/***/ 176760:
|
|
65
|
+
/***/ ((module) => {
|
|
66
|
+
|
|
67
|
+
module.exports = require("node:path");
|
|
68
|
+
|
|
69
|
+
/***/ }),
|
|
70
|
+
|
|
71
|
+
/***/ 200261:
|
|
72
|
+
/***/ ((module) => {
|
|
73
|
+
|
|
74
|
+
module.exports = require("next/dist/shared/lib/router/utils/app-paths");
|
|
75
|
+
|
|
76
|
+
/***/ }),
|
|
77
|
+
|
|
78
|
+
/***/ 257975:
|
|
79
|
+
/***/ ((module) => {
|
|
101
80
|
|
|
81
|
+
module.exports = require("node:util");
|
|
102
82
|
|
|
83
|
+
/***/ }),
|
|
103
84
|
|
|
85
|
+
/***/ 309956:
|
|
86
|
+
/***/ ((module) => {
|
|
104
87
|
|
|
88
|
+
module.exports = require("undici");
|
|
105
89
|
|
|
90
|
+
/***/ }),
|
|
106
91
|
|
|
92
|
+
/***/ 328354:
|
|
93
|
+
/***/ ((module) => {
|
|
107
94
|
|
|
95
|
+
module.exports = require("util");
|
|
108
96
|
|
|
97
|
+
/***/ }),
|
|
109
98
|
|
|
99
|
+
/***/ 333873:
|
|
100
|
+
/***/ ((module) => {
|
|
110
101
|
|
|
102
|
+
module.exports = require("path");
|
|
111
103
|
|
|
104
|
+
/***/ }),
|
|
112
105
|
|
|
106
|
+
/***/ 344708:
|
|
107
|
+
/***/ ((module) => {
|
|
113
108
|
|
|
109
|
+
module.exports = require("node:https");
|
|
114
110
|
|
|
111
|
+
/***/ }),
|
|
115
112
|
|
|
113
|
+
/***/ 358500:
|
|
114
|
+
/***/ ((module) => {
|
|
116
115
|
|
|
116
|
+
module.exports = require("node:timers/promises");
|
|
117
117
|
|
|
118
|
+
/***/ }),
|
|
118
119
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
120
|
+
/***/ 379551:
|
|
121
|
+
/***/ ((module) => {
|
|
122
|
+
|
|
123
|
+
module.exports = require("url");
|
|
124
|
+
|
|
125
|
+
/***/ }),
|
|
126
|
+
|
|
127
|
+
/***/ 380481:
|
|
128
|
+
/***/ ((module) => {
|
|
129
|
+
|
|
130
|
+
module.exports = require("node:readline");
|
|
131
|
+
|
|
132
|
+
/***/ }),
|
|
133
|
+
|
|
134
|
+
/***/ 399253:
|
|
135
|
+
/***/ ((module) => {
|
|
136
|
+
|
|
137
|
+
module.exports = import("@huggingface/transformers");;
|
|
138
|
+
|
|
139
|
+
/***/ }),
|
|
140
|
+
|
|
141
|
+
/***/ 419121:
|
|
142
|
+
/***/ ((module) => {
|
|
143
|
+
|
|
144
|
+
module.exports = require("next/dist/server/app-render/action-async-storage.external.js");
|
|
145
|
+
|
|
146
|
+
/***/ }),
|
|
147
|
+
|
|
148
|
+
/***/ 455511:
|
|
149
|
+
/***/ ((module) => {
|
|
150
|
+
|
|
151
|
+
module.exports = require("crypto");
|
|
152
|
+
|
|
153
|
+
/***/ }),
|
|
154
|
+
|
|
155
|
+
/***/ 529294:
|
|
156
|
+
/***/ ((module) => {
|
|
157
|
+
|
|
158
|
+
module.exports = require("next/dist/server/app-render/work-async-storage.external.js");
|
|
159
|
+
|
|
160
|
+
/***/ }),
|
|
161
|
+
|
|
162
|
+
/***/ 590347:
|
|
163
|
+
/***/ ((module) => {
|
|
164
|
+
|
|
165
|
+
module.exports = import("@langchain/mcp-adapters");;
|
|
166
|
+
|
|
167
|
+
/***/ }),
|
|
168
|
+
|
|
169
|
+
/***/ 594735:
|
|
170
|
+
/***/ ((module) => {
|
|
171
|
+
|
|
172
|
+
module.exports = require("events");
|
|
173
|
+
|
|
174
|
+
/***/ }),
|
|
175
|
+
|
|
176
|
+
/***/ 629021:
|
|
177
|
+
/***/ ((module) => {
|
|
178
|
+
|
|
179
|
+
module.exports = require("fs");
|
|
180
|
+
|
|
181
|
+
/***/ }),
|
|
182
|
+
|
|
183
|
+
/***/ 638522:
|
|
184
|
+
/***/ ((module) => {
|
|
185
|
+
|
|
186
|
+
module.exports = require("node:zlib");
|
|
187
|
+
|
|
188
|
+
/***/ }),
|
|
189
|
+
|
|
190
|
+
/***/ 663033:
|
|
191
|
+
/***/ ((module) => {
|
|
192
|
+
|
|
193
|
+
module.exports = require("next/dist/server/app-render/work-unit-async-storage.external.js");
|
|
194
|
+
|
|
195
|
+
/***/ }),
|
|
196
|
+
|
|
197
|
+
/***/ 710846:
|
|
198
|
+
/***/ ((module) => {
|
|
199
|
+
|
|
200
|
+
module.exports = require("next/dist/compiled/next-server/app-page.runtime.prod.js");
|
|
201
|
+
|
|
202
|
+
/***/ }),
|
|
203
|
+
|
|
204
|
+
/***/ 731421:
|
|
205
|
+
/***/ ((module) => {
|
|
206
|
+
|
|
207
|
+
module.exports = require("node:child_process");
|
|
208
|
+
|
|
209
|
+
/***/ }),
|
|
210
|
+
|
|
211
|
+
/***/ 739947:
|
|
212
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
213
|
+
|
|
214
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
215
|
+
/* harmony export */ Bm: () => (/* binding */ cachedJson),
|
|
216
|
+
/* harmony export */ HN: () => (/* binding */ notFoundResponse),
|
|
217
|
+
/* harmony export */ Jb: () => (/* binding */ validateBody),
|
|
218
|
+
/* harmony export */ K2: () => (/* binding */ createdResponse),
|
|
219
|
+
/* harmony export */ Ng: () => (/* binding */ noStoreJson),
|
|
220
|
+
/* harmony export */ yj: () => (/* binding */ errorResponse)
|
|
221
|
+
/* harmony export */ });
|
|
222
|
+
/* harmony import */ var next_server__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(945592);
|
|
223
|
+
// Shared HTTP response builders for app/api/v1/** route handlers.
|
|
224
|
+
//
|
|
225
|
+
// Goal: every error/success payload across the v1 surface has the same
|
|
226
|
+
// shape. Before this lived inline, response bodies drifted —
|
|
227
|
+
// `{error: "x"}` vs `{message: "x"}`, 400 vs 422 for the same condition,
|
|
228
|
+
// some routes returned Zod's raw issue array, others stringified it.
|
|
229
|
+
|
|
230
|
+
function errorResponse(message, status = 400) {
|
|
231
|
+
return next_server__WEBPACK_IMPORTED_MODULE_0__.NextResponse.json({
|
|
232
|
+
error: message
|
|
233
|
+
}, {
|
|
234
|
+
status
|
|
156
235
|
});
|
|
157
236
|
}
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
if (ctx.requestMeta) {
|
|
161
|
-
(0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_3__.setRequestMeta)(req, ctx.requestMeta);
|
|
162
|
-
}
|
|
163
|
-
if (routeModule.isDev) {
|
|
164
|
-
(0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_3__.addRequestMeta)(req, 'devRequestTimingInternalsEnd', process.hrtime.bigint());
|
|
165
|
-
}
|
|
166
|
-
let srcPage = "/api/v1/extensions/route";
|
|
167
|
-
// turbopack doesn't normalize `/index` in the page name
|
|
168
|
-
// so we need to to process dynamic routes properly
|
|
169
|
-
// TODO: fix turbopack providing differing value from webpack
|
|
170
|
-
if (false) {} else if (srcPage === '/index') {
|
|
171
|
-
// we always normalize /index specifically
|
|
172
|
-
srcPage = '/';
|
|
173
|
-
}
|
|
174
|
-
const multiZoneDraftMode = false;
|
|
175
|
-
// Registering `instrumentation.ts` usually installs the tracer provider, so
|
|
176
|
-
// do it before starting the request span. The span is started before
|
|
177
|
-
// `prepare`, so route module preparation is part of the request's trace.
|
|
178
|
-
// When this request triggers registration, the lifecycle spans of
|
|
179
|
-
// `instrumentation.ts` are emitted inside the request span.
|
|
180
|
-
const { instrumentation } = await routeModule.ensureInstrumentation(req, {
|
|
181
|
-
deferSpans: true
|
|
182
|
-
});
|
|
183
|
-
return routeModule.traceRequest(req, {
|
|
184
|
-
tracer: (0,next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_4__.getTracer)(),
|
|
185
|
-
spanName: `${req.method || 'GET'} ${srcPage}`,
|
|
186
|
-
httpTarget: req.url,
|
|
187
|
-
instrumentation
|
|
188
|
-
}, (requestSpan, requestRootSpan)=>handleRequest(req, res, ctx, srcPage, multiZoneDraftMode, requestSpan, requestRootSpan));
|
|
237
|
+
function notFoundResponse(message = "Not found") {
|
|
238
|
+
return errorResponse(message, 404);
|
|
189
239
|
}
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
multiZoneDraftMode
|
|
240
|
+
function createdResponse(data) {
|
|
241
|
+
return next_server__WEBPACK_IMPORTED_MODULE_0__.NextResponse.json(data, {
|
|
242
|
+
status: 201
|
|
194
243
|
});
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
244
|
+
}
|
|
245
|
+
// Wrap a 200 JSON response with a private Cache-Control header. Use on safe
|
|
246
|
+
// GET endpoints that serve user-scoped data the client refetches often (panel
|
|
247
|
+
// mounts, navigation back/forward) but mutates rarely. The TTL is short
|
|
248
|
+
// enough that explicit mutations — which patch the client-side ApiClient
|
|
249
|
+
// cache in place — stay observably consistent without an extra roundtrip.
|
|
250
|
+
//
|
|
251
|
+
// swrSeconds (optional): stale-while-revalidate window. When set, the browser
|
|
252
|
+
// serves the cached response immediately and refreshes in the background,
|
|
253
|
+
// making navigation feel instant. Use for data that can tolerate brief
|
|
254
|
+
// staleness (tool list, agent configs, model list). Omit for real-time data
|
|
255
|
+
// (dashboard metrics, credential state).
|
|
256
|
+
function cachedJson(data, maxAgeSeconds, swrSeconds) {
|
|
257
|
+
const swr = swrSeconds ? `, stale-while-revalidate=${swrSeconds}` : "";
|
|
258
|
+
return next_server__WEBPACK_IMPORTED_MODULE_0__.NextResponse.json(data, {
|
|
259
|
+
headers: {
|
|
260
|
+
"Cache-Control": `private, max-age=${maxAgeSeconds}${swr}`
|
|
212
261
|
}
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
}
|
|
222
|
-
throw new next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_15__.NoFallbackError();
|
|
223
|
-
}
|
|
262
|
+
});
|
|
263
|
+
}
|
|
264
|
+
// Use for endpoints whose response contains live state that must never be
|
|
265
|
+
// served from cache — credentials, connection status, live config values.
|
|
266
|
+
function noStoreJson(data) {
|
|
267
|
+
return next_server__WEBPACK_IMPORTED_MODULE_0__.NextResponse.json(data, {
|
|
268
|
+
headers: {
|
|
269
|
+
"Cache-Control": "no-store"
|
|
224
270
|
}
|
|
271
|
+
});
|
|
272
|
+
}
|
|
273
|
+
// Validate a JSON request body against a zod schema.
|
|
274
|
+
// Returns either the parsed data or a 400 NextResponse explaining the issue.
|
|
275
|
+
// Caller pattern:
|
|
276
|
+
// const parsed = await validateBody(req, Schema);
|
|
277
|
+
// if (parsed instanceof NextResponse) return parsed;
|
|
278
|
+
// // use parsed.field
|
|
279
|
+
async function validateBody(req, schema) {
|
|
280
|
+
let raw;
|
|
281
|
+
try {
|
|
282
|
+
raw = await req.json();
|
|
283
|
+
} catch {
|
|
284
|
+
return errorResponse("Request body must be valid JSON", 400);
|
|
225
285
|
}
|
|
226
|
-
|
|
227
|
-
if (
|
|
228
|
-
|
|
229
|
-
// ensure /index and / is normalized to one key
|
|
230
|
-
cacheKey = cacheKey === '/index' ? '/' : cacheKey;
|
|
231
|
-
}
|
|
232
|
-
// Before rendering (which initializes component tree modules), we have to
|
|
233
|
-
// set the reference manifests to our global store so Server Action's
|
|
234
|
-
// encryption util can access to them at the top level of the page module.
|
|
235
|
-
if (serverActionsManifest && clientReferenceManifest) {
|
|
236
|
-
(0,next_dist_server_app_render_manifests_singleton__WEBPACK_IMPORTED_MODULE_5__.setManifestsSingleton)({
|
|
237
|
-
page: srcPage,
|
|
238
|
-
clientReferenceManifest,
|
|
239
|
-
serverActionsManifest
|
|
240
|
-
});
|
|
286
|
+
const parsed = schema.safeParse(raw);
|
|
287
|
+
if (!parsed.success) {
|
|
288
|
+
return errorResponse(parsed.error.issues[0]?.message ?? "invalid body", 400);
|
|
241
289
|
}
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
290
|
+
return parsed.data;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
/***/ }),
|
|
295
|
+
|
|
296
|
+
/***/ 744870:
|
|
297
|
+
/***/ ((module) => {
|
|
298
|
+
|
|
299
|
+
module.exports = require("next/dist/compiled/next-server/app-route.runtime.prod.js");
|
|
300
|
+
|
|
301
|
+
/***/ }),
|
|
302
|
+
|
|
303
|
+
/***/ 775919:
|
|
304
|
+
/***/ ((module) => {
|
|
305
|
+
|
|
306
|
+
module.exports = require("node:worker_threads");
|
|
307
|
+
|
|
308
|
+
/***/ }),
|
|
309
|
+
|
|
310
|
+
/***/ 777030:
|
|
311
|
+
/***/ ((module) => {
|
|
312
|
+
|
|
313
|
+
module.exports = require("node:net");
|
|
314
|
+
|
|
315
|
+
/***/ }),
|
|
316
|
+
|
|
317
|
+
/***/ 781630:
|
|
318
|
+
/***/ ((module) => {
|
|
319
|
+
|
|
320
|
+
module.exports = require("http");
|
|
321
|
+
|
|
322
|
+
/***/ }),
|
|
323
|
+
|
|
324
|
+
/***/ 813701:
|
|
325
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
326
|
+
|
|
327
|
+
__webpack_require__.r(__webpack_exports__);
|
|
328
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
329
|
+
/* harmony export */ GET: () => (/* binding */ GET)
|
|
330
|
+
/* harmony export */ });
|
|
331
|
+
/* harmony import */ var _lib_providers_external__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(590378);
|
|
332
|
+
/* harmony import */ var _lib_providers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(360034);
|
|
333
|
+
/* harmony import */ var _lib_tools_runtime_external__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(416836);
|
|
334
|
+
/* harmony import */ var _lib_tools__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(951369);
|
|
335
|
+
/* harmony import */ var _lib_stores_tool_secrets__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(181753);
|
|
336
|
+
/* harmony import */ var _lib_stores_tool_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(167032);
|
|
337
|
+
/* harmony import */ var _lib_stores_disabled_dropin_tools__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(620052);
|
|
338
|
+
/* harmony import */ var _lib_api_responses__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(739947);
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
function GET() {
|
|
348
|
+
const provs = (0,_lib_providers_external__WEBPACK_IMPORTED_MODULE_0__/* .loadExternalProvidersDetailed */ .uo)(_lib_providers__WEBPACK_IMPORTED_MODULE_1__/* .BUILTIN_PROVIDER_NAMES */ .X4);
|
|
349
|
+
const tools = (0,_lib_tools_runtime_external__WEBPACK_IMPORTED_MODULE_2__/* .loadExternalTools */ .H$)((0,_lib_tools__WEBPACK_IMPORTED_MODULE_3__/* .getBuiltinToolNames */ .sT)());
|
|
350
|
+
return (0,_lib_api_responses__WEBPACK_IMPORTED_MODULE_7__/* .noStoreJson */ .Ng)({
|
|
351
|
+
directories: {
|
|
352
|
+
providers: _lib_providers_external__WEBPACK_IMPORTED_MODULE_0__/* .PROVIDERS_DIR */ .N4,
|
|
353
|
+
tools: (0,_lib_tools_runtime_external__WEBPACK_IMPORTED_MODULE_2__/* .getToolsDir */ .lQ)()
|
|
270
354
|
},
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
}
|
|
299
|
-
const cacheTags = context.renderOpts.collectedTags;
|
|
300
|
-
// If the request is for a static response, we can cache it so long
|
|
301
|
-
// as it's not edge.
|
|
302
|
-
if (isIsr) {
|
|
303
|
-
const blob = await response.blob();
|
|
304
|
-
// Copy the headers from the response.
|
|
305
|
-
const headers = (0,next_dist_server_web_utils__WEBPACK_IMPORTED_MODULE_12__.toNodeOutgoingHttpHeaders)(response.headers);
|
|
306
|
-
if (cacheTags) {
|
|
307
|
-
headers[next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_14__.NEXT_CACHE_TAGS_HEADER] = cacheTags;
|
|
308
|
-
}
|
|
309
|
-
if (!headers['content-type'] && blob.type) {
|
|
310
|
-
headers['content-type'] = blob.type;
|
|
311
|
-
}
|
|
312
|
-
const revalidate = typeof context.renderOpts.collectedRevalidate === 'undefined' || context.renderOpts.collectedRevalidate >= next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_14__.INFINITE_CACHE ? false : context.renderOpts.collectedRevalidate;
|
|
313
|
-
const expire = typeof context.renderOpts.collectedExpire === 'undefined' || context.renderOpts.collectedExpire >= next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_14__.INFINITE_CACHE ? // route has a numeric `revalidate` but didn't declare an
|
|
314
|
-
// explicit `expire` (e.g. via `cacheLife`). This mirrors the
|
|
315
|
-
// build-time fallback in `build/index.ts` so cache entries
|
|
316
|
-
// and the response Cache-Control header agree on the route's
|
|
317
|
-
// effective expire. Routes that opt out of revalidation
|
|
318
|
-
// (`revalidate: false`) or that are dynamic (`revalidate: 0`)
|
|
319
|
-
// keep `expire: undefined`.
|
|
320
|
-
revalidate !== false && revalidate > 0 ? nextConfig.expireTime : undefined : context.renderOpts.collectedExpire;
|
|
321
|
-
// Create the cache entry for the response.
|
|
322
|
-
const cacheEntry = {
|
|
323
|
-
value: {
|
|
324
|
-
kind: next_dist_server_response_cache__WEBPACK_IMPORTED_MODULE_17__.CachedRouteKind.APP_ROUTE,
|
|
325
|
-
status: response.status,
|
|
326
|
-
body: Buffer.from(await blob.arrayBuffer()),
|
|
327
|
-
headers
|
|
328
|
-
},
|
|
329
|
-
cacheControl: {
|
|
330
|
-
revalidate,
|
|
331
|
-
expire
|
|
332
|
-
}
|
|
333
|
-
};
|
|
334
|
-
return cacheEntry;
|
|
335
|
-
} else {
|
|
336
|
-
// send response without caching if not ISR
|
|
337
|
-
await (0,next_dist_server_send_response__WEBPACK_IMPORTED_MODULE_11__/* .sendResponse */ .I)(nodeNextReq, nodeNextRes, response, pendingWaitUntil);
|
|
338
|
-
return null;
|
|
339
|
-
}
|
|
340
|
-
} catch (err) {
|
|
341
|
-
// if this is a background revalidate we need to report
|
|
342
|
-
// the request error here as it won't be bubbled
|
|
343
|
-
if (previousCacheEntry == null ? void 0 : previousCacheEntry.isStale) {
|
|
344
|
-
const silenceLog = false;
|
|
345
|
-
await routeModule.onRequestError(req, err, {
|
|
346
|
-
routerKind: 'App Router',
|
|
347
|
-
routePath: srcPage,
|
|
348
|
-
routeType: 'route',
|
|
349
|
-
revalidateReason: (0,next_dist_server_instrumentation_utils__WEBPACK_IMPORTED_MODULE_10__.getRevalidateReason)({
|
|
350
|
-
isStaticGeneration: cacheKey !== null,
|
|
351
|
-
isOnDemandRevalidate
|
|
352
|
-
})
|
|
353
|
-
}, silenceLog, routerServerContext);
|
|
354
|
-
}
|
|
355
|
-
throw err;
|
|
356
|
-
}
|
|
357
|
-
};
|
|
358
|
-
const handleResponse = async (currentSpan)=>{
|
|
359
|
-
try {
|
|
360
|
-
var _cacheEntry_value;
|
|
361
|
-
const cacheEntry = await routeModule.handleResponse({
|
|
362
|
-
req,
|
|
363
|
-
nextConfig,
|
|
364
|
-
cacheKey,
|
|
365
|
-
routeKind: next_dist_server_route_kind__WEBPACK_IMPORTED_MODULE_1__.RouteKind.APP_ROUTE,
|
|
366
|
-
isFallback: false,
|
|
367
|
-
previewProps,
|
|
368
|
-
prerenderManifest,
|
|
369
|
-
isRoutePPREnabled: false,
|
|
370
|
-
isOnDemandRevalidate,
|
|
371
|
-
revalidateOnlyGenerated,
|
|
372
|
-
responseGenerator,
|
|
373
|
-
waitUntil: ctx.waitUntil,
|
|
374
|
-
isMinimalMode
|
|
375
|
-
});
|
|
376
|
-
if (cacheEntry !== null && 'error' in cacheEntry) {
|
|
377
|
-
throw cacheEntry.error;
|
|
378
|
-
}
|
|
379
|
-
// we don't create a cacheEntry for ISR
|
|
380
|
-
if (!isIsr) {
|
|
381
|
-
return;
|
|
382
|
-
}
|
|
383
|
-
if ((cacheEntry == null ? void 0 : (_cacheEntry_value = cacheEntry.value) == null ? void 0 : _cacheEntry_value.kind) !== next_dist_server_response_cache__WEBPACK_IMPORTED_MODULE_17__.CachedRouteKind.APP_ROUTE) {
|
|
384
|
-
var _cacheEntry_value1;
|
|
385
|
-
throw new Error(`Invariant: app-route received invalid cache entry ${cacheEntry == null ? void 0 : (_cacheEntry_value1 = cacheEntry.value) == null ? void 0 : _cacheEntry_value1.kind}`);
|
|
386
|
-
}
|
|
387
|
-
if (!isMinimalMode) {
|
|
388
|
-
res.setHeader('x-nextjs-cache', isOnDemandRevalidate ? 'REVALIDATED' : cacheEntry.isMiss ? 'MISS' : cacheEntry.isStale ? 'STALE' : 'HIT');
|
|
389
|
-
}
|
|
390
|
-
// Draft mode should never be cached
|
|
391
|
-
if (isDraftMode) {
|
|
392
|
-
res.setHeader('Cache-Control', 'private, no-cache, no-store, max-age=0, must-revalidate');
|
|
393
|
-
}
|
|
394
|
-
const headers = (0,next_dist_server_web_utils__WEBPACK_IMPORTED_MODULE_12__.fromNodeOutgoingHttpHeaders)(cacheEntry.value.headers);
|
|
395
|
-
if (!(isMinimalMode && isIsr)) {
|
|
396
|
-
headers.delete(next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_14__.NEXT_CACHE_TAGS_HEADER);
|
|
397
|
-
}
|
|
398
|
-
// If cache control is already set on the response we don't
|
|
399
|
-
// override it to allow users to customize it via next.config
|
|
400
|
-
if (cacheEntry.cacheControl && !res.getHeader('Cache-Control') && !headers.get('Cache-Control')) {
|
|
401
|
-
headers.set('Cache-Control', (0,next_dist_server_lib_cache_control__WEBPACK_IMPORTED_MODULE_13__.getCacheControlHeader)(cacheEntry.cacheControl));
|
|
402
|
-
}
|
|
403
|
-
await (0,next_dist_server_send_response__WEBPACK_IMPORTED_MODULE_11__/* .sendResponse */ .I)(nodeNextReq, nodeNextRes, // @ts-expect-error - Argument of type 'Buffer<ArrayBufferLike>' is not assignable to parameter of type 'BodyInit | null | undefined'.
|
|
404
|
-
new Response(cacheEntry.value.body, {
|
|
405
|
-
headers,
|
|
406
|
-
status: cacheEntry.value.status || 200
|
|
407
|
-
}));
|
|
408
|
-
return;
|
|
409
|
-
} catch (err) {
|
|
410
|
-
if (!(err instanceof next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_15__.NoFallbackError)) {
|
|
411
|
-
const silenceLog = false;
|
|
412
|
-
await routeModule.onRequestError(req, err, {
|
|
413
|
-
routerKind: 'App Router',
|
|
414
|
-
routePath: normalizedSrcPage,
|
|
415
|
-
routeType: 'route',
|
|
416
|
-
revalidateReason: (0,next_dist_server_instrumentation_utils__WEBPACK_IMPORTED_MODULE_10__.getRevalidateReason)({
|
|
417
|
-
isStaticGeneration: cacheKey !== null,
|
|
418
|
-
isOnDemandRevalidate
|
|
419
|
-
})
|
|
420
|
-
}, silenceLog, routerServerContext);
|
|
421
|
-
}
|
|
422
|
-
// rethrow so that we can handle serving error page
|
|
423
|
-
// If this is during static generation, throw the error again.
|
|
424
|
-
if (isIsr) throw err;
|
|
425
|
-
// Otherwise, send a 500 response unless the original response has
|
|
426
|
-
// already committed. In that case, preserve its status code for
|
|
427
|
-
// telemetry while still recording the failure and terminating a response
|
|
428
|
-
// that the failed pipeline left open.
|
|
429
|
-
if (res.headersSent) {
|
|
430
|
-
if (currentSpan) {
|
|
431
|
-
const error = err instanceof Error ? err : new Error('Unknown app route error');
|
|
432
|
-
currentSpan.recordException(error);
|
|
433
|
-
currentSpan.setStatus({
|
|
434
|
-
code: next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_4__.SpanStatusCode.ERROR,
|
|
435
|
-
message: error.message
|
|
436
|
-
});
|
|
437
|
-
currentSpan.setAttribute('error.type', error.name);
|
|
438
|
-
}
|
|
439
|
-
if (!res.writableEnded && !res.destroyed) {
|
|
440
|
-
res.end();
|
|
441
|
-
}
|
|
442
|
-
} else {
|
|
443
|
-
await (0,next_dist_server_send_response__WEBPACK_IMPORTED_MODULE_11__/* .sendResponse */ .I)(nodeNextReq, nodeNextRes, new Response(null, {
|
|
444
|
-
status: 500
|
|
445
|
-
}));
|
|
446
|
-
}
|
|
447
|
-
return;
|
|
448
|
-
} finally{
|
|
449
|
-
;
|
|
450
|
-
(()=>{
|
|
451
|
-
if (!currentSpan) {
|
|
452
|
-
return;
|
|
453
|
-
}
|
|
454
|
-
let statusCode = res.statusCode;
|
|
455
|
-
currentSpan.setAttributes({
|
|
456
|
-
'http.status_code': statusCode,
|
|
457
|
-
'next.rsc': false
|
|
458
|
-
});
|
|
459
|
-
if (statusCode && statusCode >= 500) {
|
|
460
|
-
// For 5xx status codes: SHOULD be set to 'Error' span status.
|
|
461
|
-
// x-ref: https://opentelemetry.io/docs/specs/semconv/http/http-spans/#status
|
|
462
|
-
currentSpan.setStatus({
|
|
463
|
-
code: next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_4__.SpanStatusCode.ERROR
|
|
464
|
-
});
|
|
465
|
-
// For span status 'Error', SHOULD set 'error.type' attribute.
|
|
466
|
-
currentSpan.setAttribute('error.type', statusCode.toString());
|
|
467
|
-
}
|
|
468
|
-
const rootSpanAttributes = tracer.getRootSpanAttributes();
|
|
469
|
-
// We were unable to get attributes, probably OTEL is not enabled
|
|
470
|
-
if (!rootSpanAttributes) {
|
|
471
|
-
return;
|
|
472
|
-
}
|
|
473
|
-
if (rootSpanAttributes.get('next.span_type') !== next_dist_server_lib_trace_constants__WEBPACK_IMPORTED_MODULE_9__.BaseServerSpan.handleRequest) {
|
|
474
|
-
console.warn(`Unexpected root span type '${rootSpanAttributes.get('next.span_type')}'. Please report this Next.js issue https://github.com/vercel/next.js`);
|
|
475
|
-
return;
|
|
476
|
-
}
|
|
477
|
-
const route = rootSpanAttributes.get('next.route') || normalizedSrcPage;
|
|
478
|
-
const name = `${method} ${route}`;
|
|
479
|
-
currentSpan.setAttributes({
|
|
480
|
-
'next.route': route,
|
|
481
|
-
'http.route': route,
|
|
482
|
-
'next.span_name': name
|
|
483
|
-
});
|
|
484
|
-
currentSpan.updateName(name);
|
|
485
|
-
// Propagate http.route to the request's root span if it isn't the
|
|
486
|
-
// request span (e.g. a platform-created HTTP span in adapter
|
|
487
|
-
// deployments).
|
|
488
|
-
if (requestRootSpan && requestRootSpan !== currentSpan) {
|
|
489
|
-
requestRootSpan.setAttribute('http.route', route);
|
|
490
|
-
requestRootSpan.updateName(name);
|
|
491
|
-
}
|
|
492
|
-
})();
|
|
493
|
-
}
|
|
494
|
-
};
|
|
495
|
-
// When invoked directly, the request span was started before `prepare`;
|
|
496
|
-
// record the request target as normalized by it. next-server's request span
|
|
497
|
-
// already has it.
|
|
498
|
-
if (!isWrappedByNextServer && req.url !== undefined) {
|
|
499
|
-
requestSpan == null ? void 0 : requestSpan.setAttribute('http.target', req.url);
|
|
500
|
-
}
|
|
501
|
-
await handleResponse(requestSpan);
|
|
355
|
+
providers: Object.values(provs.providers).map((p)=>({
|
|
356
|
+
name: p.name,
|
|
357
|
+
file: provs.files.get(p.name) ?? null,
|
|
358
|
+
label: provs.labels.get(p.name) ?? p.name,
|
|
359
|
+
description: provs.descriptions.get(p.name) ?? "",
|
|
360
|
+
credentials: provs.credentials.get(p.name) ?? []
|
|
361
|
+
})),
|
|
362
|
+
tools: tools.tools.map((t)=>({
|
|
363
|
+
name: t.name,
|
|
364
|
+
description: t.description ?? "",
|
|
365
|
+
file: tools.files.get(t.name) ?? null,
|
|
366
|
+
category: tools.categories.get(t.name) ?? null,
|
|
367
|
+
enabled: !(0,_lib_stores_disabled_dropin_tools__WEBPACK_IMPORTED_MODULE_6__/* .isDropinDisabled */ .H)(t.name),
|
|
368
|
+
secrets: (0,_lib_stores_tool_secrets__WEBPACK_IMPORTED_MODULE_4__/* .describeToolSecrets */ .Fp)(t.name, tools.secrets.get(t.name) ?? []),
|
|
369
|
+
config: (0,_lib_stores_tool_config__WEBPACK_IMPORTED_MODULE_5__/* .describeToolConfig */ .CS)(t.name, tools.configs.get(t.name) ?? [])
|
|
370
|
+
})),
|
|
371
|
+
errors: [
|
|
372
|
+
...provs.errors.map((e)=>({
|
|
373
|
+
kind: "provider",
|
|
374
|
+
...e
|
|
375
|
+
})),
|
|
376
|
+
...tools.errors.map((e)=>({
|
|
377
|
+
kind: "tool",
|
|
378
|
+
...e
|
|
379
|
+
}))
|
|
380
|
+
]
|
|
381
|
+
});
|
|
502
382
|
}
|
|
503
383
|
|
|
504
|
-
//# sourceMappingURL=app-route.js.map
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
/***/ }),
|
|
508
|
-
|
|
509
|
-
/***/ 157075:
|
|
510
|
-
/***/ ((module) => {
|
|
511
|
-
|
|
512
|
-
module.exports = require("node:stream");
|
|
513
|
-
|
|
514
|
-
/***/ }),
|
|
515
|
-
|
|
516
|
-
/***/ 176760:
|
|
517
|
-
/***/ ((module) => {
|
|
518
|
-
|
|
519
|
-
module.exports = require("node:path");
|
|
520
|
-
|
|
521
|
-
/***/ }),
|
|
522
|
-
|
|
523
|
-
/***/ 200261:
|
|
524
|
-
/***/ ((module) => {
|
|
525
|
-
|
|
526
|
-
module.exports = require("next/dist/shared/lib/router/utils/app-paths");
|
|
527
|
-
|
|
528
|
-
/***/ }),
|
|
529
|
-
|
|
530
|
-
/***/ 257975:
|
|
531
|
-
/***/ ((module) => {
|
|
532
|
-
|
|
533
|
-
module.exports = require("node:util");
|
|
534
|
-
|
|
535
|
-
/***/ }),
|
|
536
|
-
|
|
537
|
-
/***/ 309956:
|
|
538
|
-
/***/ ((module) => {
|
|
539
|
-
|
|
540
|
-
module.exports = require("undici");
|
|
541
384
|
|
|
542
385
|
/***/ }),
|
|
543
386
|
|
|
544
|
-
/***/
|
|
387
|
+
/***/ 840610:
|
|
545
388
|
/***/ ((module) => {
|
|
546
389
|
|
|
547
|
-
module.exports = require("
|
|
390
|
+
module.exports = require("node:dns");
|
|
548
391
|
|
|
549
392
|
/***/ }),
|
|
550
393
|
|
|
551
|
-
/***/
|
|
394
|
+
/***/ 842482:
|
|
552
395
|
/***/ ((module) => {
|
|
553
396
|
|
|
554
|
-
module.exports =
|
|
397
|
+
module.exports = import("sharp");;
|
|
555
398
|
|
|
556
399
|
/***/ }),
|
|
557
400
|
|
|
558
|
-
/***/
|
|
401
|
+
/***/ 848161:
|
|
559
402
|
/***/ ((module) => {
|
|
560
403
|
|
|
561
|
-
module.exports = require("node:
|
|
404
|
+
module.exports = require("node:os");
|
|
562
405
|
|
|
563
406
|
/***/ }),
|
|
564
407
|
|
|
565
|
-
/***/
|
|
566
|
-
/***/ ((
|
|
567
|
-
|
|
568
|
-
module.exports = require("node:timers/promises");
|
|
569
|
-
|
|
570
|
-
/***/ }),
|
|
408
|
+
/***/ 884838:
|
|
409
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
571
410
|
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
/***/ 590347:
|
|
615
|
-
/***/ ((module) => {
|
|
616
|
-
|
|
617
|
-
module.exports = import("@langchain/mcp-adapters");;
|
|
618
|
-
|
|
619
|
-
/***/ }),
|
|
620
|
-
|
|
621
|
-
/***/ 594735:
|
|
622
|
-
/***/ ((module) => {
|
|
623
|
-
|
|
624
|
-
module.exports = require("events");
|
|
625
|
-
|
|
626
|
-
/***/ }),
|
|
411
|
+
__webpack_require__.r(__webpack_exports__);
|
|
412
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
413
|
+
/* harmony export */ handler: () => (/* binding */ handler),
|
|
414
|
+
/* harmony export */ patchFetch: () => (/* binding */ patchFetch),
|
|
415
|
+
/* harmony export */ routeModule: () => (/* binding */ routeModule),
|
|
416
|
+
/* harmony export */ serverHooks: () => (/* binding */ serverHooks),
|
|
417
|
+
/* harmony export */ workAsyncStorage: () => (/* binding */ workAsyncStorage),
|
|
418
|
+
/* harmony export */ workUnitAsyncStorage: () => (/* binding */ workUnitAsyncStorage)
|
|
419
|
+
/* harmony export */ });
|
|
420
|
+
/* harmony import */ var next_dist_server_route_modules_app_route_module_compiled__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(319225);
|
|
421
|
+
/* harmony import */ var next_dist_server_route_modules_app_route_module_compiled__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_route_modules_app_route_module_compiled__WEBPACK_IMPORTED_MODULE_0__);
|
|
422
|
+
/* harmony import */ var next_dist_server_route_kind__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(684006);
|
|
423
|
+
/* harmony import */ var next_dist_server_lib_patch_fetch__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8317);
|
|
424
|
+
/* harmony import */ var next_dist_server_lib_patch_fetch__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_lib_patch_fetch__WEBPACK_IMPORTED_MODULE_2__);
|
|
425
|
+
/* harmony import */ var next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(799373);
|
|
426
|
+
/* harmony import */ var next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_3__);
|
|
427
|
+
/* harmony import */ var next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(434775);
|
|
428
|
+
/* harmony import */ var next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_4__);
|
|
429
|
+
/* harmony import */ var next_dist_server_app_render_manifests_singleton__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(524235);
|
|
430
|
+
/* harmony import */ var next_dist_server_app_render_manifests_singleton__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_app_render_manifests_singleton__WEBPACK_IMPORTED_MODULE_5__);
|
|
431
|
+
/* harmony import */ var next_dist_shared_lib_router_utils_app_paths__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(200261);
|
|
432
|
+
/* harmony import */ var next_dist_shared_lib_router_utils_app_paths__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(next_dist_shared_lib_router_utils_app_paths__WEBPACK_IMPORTED_MODULE_6__);
|
|
433
|
+
/* harmony import */ var next_dist_server_base_http_node__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(754365);
|
|
434
|
+
/* harmony import */ var next_dist_server_base_http_node__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_base_http_node__WEBPACK_IMPORTED_MODULE_7__);
|
|
435
|
+
/* harmony import */ var next_dist_server_web_spec_extension_adapters_next_request__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(590771);
|
|
436
|
+
/* harmony import */ var next_dist_server_web_spec_extension_adapters_next_request__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_web_spec_extension_adapters_next_request__WEBPACK_IMPORTED_MODULE_8__);
|
|
437
|
+
/* harmony import */ var next_dist_server_lib_trace_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(473461);
|
|
438
|
+
/* harmony import */ var next_dist_server_lib_trace_constants__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_lib_trace_constants__WEBPACK_IMPORTED_MODULE_9__);
|
|
439
|
+
/* harmony import */ var next_dist_server_instrumentation_utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(767798);
|
|
440
|
+
/* harmony import */ var next_dist_server_send_response__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(192280);
|
|
441
|
+
/* harmony import */ var next_dist_server_web_utils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(662018);
|
|
442
|
+
/* harmony import */ var next_dist_server_web_utils__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_web_utils__WEBPACK_IMPORTED_MODULE_12__);
|
|
443
|
+
/* harmony import */ var next_dist_server_lib_cache_control__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(445696);
|
|
444
|
+
/* harmony import */ var next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(347929);
|
|
445
|
+
/* harmony import */ var next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_14__);
|
|
446
|
+
/* harmony import */ var next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(986439);
|
|
447
|
+
/* harmony import */ var next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_15__);
|
|
448
|
+
/* harmony import */ var next_dist_server_lib_route_cache_key__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(710246);
|
|
449
|
+
/* harmony import */ var next_dist_server_lib_route_cache_key__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_lib_route_cache_key__WEBPACK_IMPORTED_MODULE_16__);
|
|
450
|
+
/* harmony import */ var next_dist_server_response_cache__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(137527);
|
|
451
|
+
/* harmony import */ var next_dist_server_response_cache__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_response_cache__WEBPACK_IMPORTED_MODULE_17__);
|
|
627
452
|
|
|
628
|
-
/***/ 629021:
|
|
629
|
-
/***/ ((module) => {
|
|
630
453
|
|
|
631
|
-
module.exports = require("fs");
|
|
632
454
|
|
|
633
|
-
/***/ }),
|
|
634
455
|
|
|
635
|
-
/***/ 638522:
|
|
636
|
-
/***/ ((module) => {
|
|
637
456
|
|
|
638
|
-
module.exports = require("node:zlib");
|
|
639
457
|
|
|
640
|
-
/***/ }),
|
|
641
458
|
|
|
642
|
-
/***/ 663033:
|
|
643
|
-
/***/ ((module) => {
|
|
644
459
|
|
|
645
|
-
module.exports = require("next/dist/server/app-render/work-unit-async-storage.external.js");
|
|
646
460
|
|
|
647
|
-
/***/ }),
|
|
648
461
|
|
|
649
|
-
/***/ 710846:
|
|
650
|
-
/***/ ((module) => {
|
|
651
462
|
|
|
652
|
-
module.exports = require("next/dist/compiled/next-server/app-page.runtime.prod.js");
|
|
653
463
|
|
|
654
|
-
/***/ }),
|
|
655
464
|
|
|
656
|
-
/***/ 731421:
|
|
657
|
-
/***/ ((module) => {
|
|
658
465
|
|
|
659
|
-
module.exports = require("node:child_process");
|
|
660
466
|
|
|
661
|
-
/***/ }),
|
|
662
467
|
|
|
663
|
-
/***/ 739947:
|
|
664
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
665
468
|
|
|
666
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
667
|
-
/* harmony export */ Bm: () => (/* binding */ cachedJson),
|
|
668
|
-
/* harmony export */ HN: () => (/* binding */ notFoundResponse),
|
|
669
|
-
/* harmony export */ Jb: () => (/* binding */ validateBody),
|
|
670
|
-
/* harmony export */ K2: () => (/* binding */ createdResponse),
|
|
671
|
-
/* harmony export */ Ng: () => (/* binding */ noStoreJson),
|
|
672
|
-
/* harmony export */ yj: () => (/* binding */ errorResponse)
|
|
673
|
-
/* harmony export */ });
|
|
674
|
-
/* harmony import */ var next_server__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(945592);
|
|
675
|
-
// Shared HTTP response builders for app/api/v1/** route handlers.
|
|
676
|
-
//
|
|
677
|
-
// Goal: every error/success payload across the v1 surface has the same
|
|
678
|
-
// shape. Before this lived inline, response bodies drifted —
|
|
679
|
-
// `{error: "x"}` vs `{message: "x"}`, 400 vs 422 for the same condition,
|
|
680
|
-
// some routes returned Zod's raw issue array, others stringified it.
|
|
681
469
|
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
470
|
+
// We inject the nextConfigOutput here so that we can use them in the route
|
|
471
|
+
// module.
|
|
472
|
+
const nextConfigOutput = "standalone"
|
|
473
|
+
const routeModule = new next_dist_server_route_modules_app_route_module_compiled__WEBPACK_IMPORTED_MODULE_0__.AppRouteRouteModule({
|
|
474
|
+
definition: {
|
|
475
|
+
kind: next_dist_server_route_kind__WEBPACK_IMPORTED_MODULE_1__.RouteKind.APP_ROUTE,
|
|
476
|
+
page: "/api/v1/extensions/route",
|
|
477
|
+
pathname: "/api/v1/extensions",
|
|
478
|
+
filename: "route",
|
|
479
|
+
bundlePath: "app/api/v1/extensions/route"
|
|
480
|
+
},
|
|
481
|
+
distDir: ".next" || 0,
|
|
482
|
+
relativeProjectDir: false || '',
|
|
483
|
+
resolvedPagePath: "/home/runner/work/jarela/jarela/app/api/v1/extensions/route.ts",
|
|
484
|
+
nextConfigOutput,
|
|
485
|
+
// The lazy require factory ensures that:
|
|
486
|
+
// - In dev: devRequestTimingInternalsEnd is set before userland executes,
|
|
487
|
+
// correctly attributing module load time to application-code rather than
|
|
488
|
+
// framework internals.
|
|
489
|
+
// - In all modes: async modules (route files with top-level await) are
|
|
490
|
+
// handled correctly — require() returns a Promise for such modules, which
|
|
491
|
+
// ensureUserland() awaits before the first request is handled.
|
|
492
|
+
userland: ()=>__webpack_require__(813701),
|
|
493
|
+
// In Turbopack dev mode, also provide a synchronous per-request getter so
|
|
494
|
+
// server HMR updates are picked up without re-executing the entry chunk.
|
|
495
|
+
// Using require() (synchronous) avoids adding async overhead that would be
|
|
496
|
+
// incorrectly attributed to application-code time in devRequestTiming.
|
|
497
|
+
... false ? 0 : {}
|
|
498
|
+
});
|
|
499
|
+
// Pull out the exports that we need to expose from the module. This should
|
|
500
|
+
// be eliminated when we've moved the other routes to the new format. These
|
|
501
|
+
// are used to hook into the route.
|
|
502
|
+
const { workAsyncStorage, workUnitAsyncStorage, serverHooks } = routeModule;
|
|
503
|
+
function patchFetch() {
|
|
504
|
+
return (0,next_dist_server_lib_patch_fetch__WEBPACK_IMPORTED_MODULE_2__.patchFetch)({
|
|
505
|
+
workAsyncStorage,
|
|
506
|
+
workUnitAsyncStorage
|
|
687
507
|
});
|
|
688
508
|
}
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
509
|
+
|
|
510
|
+
async function handler(req, res, ctx) {
|
|
511
|
+
if (ctx.requestMeta) {
|
|
512
|
+
(0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_3__.setRequestMeta)(req, ctx.requestMeta);
|
|
513
|
+
}
|
|
514
|
+
if (routeModule.isDev) {
|
|
515
|
+
(0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_3__.addRequestMeta)(req, 'devRequestTimingInternalsEnd', process.hrtime.bigint());
|
|
516
|
+
}
|
|
517
|
+
let srcPage = "/api/v1/extensions/route";
|
|
518
|
+
// turbopack doesn't normalize `/index` in the page name
|
|
519
|
+
// so we need to to process dynamic routes properly
|
|
520
|
+
// TODO: fix turbopack providing differing value from webpack
|
|
521
|
+
if (false) {} else if (srcPage === '/index') {
|
|
522
|
+
// we always normalize /index specifically
|
|
523
|
+
srcPage = '/';
|
|
524
|
+
}
|
|
525
|
+
const multiZoneDraftMode = false;
|
|
526
|
+
// Registering `instrumentation.ts` usually installs the tracer provider, so
|
|
527
|
+
// do it before starting the request span. The span is started before
|
|
528
|
+
// `prepare`, so route module preparation is part of the request's trace.
|
|
529
|
+
// When this request triggers registration, the lifecycle spans of
|
|
530
|
+
// `instrumentation.ts` are emitted inside the request span.
|
|
531
|
+
const { instrumentation } = await routeModule.ensureInstrumentation(req, {
|
|
532
|
+
deferSpans: true
|
|
695
533
|
});
|
|
534
|
+
return routeModule.traceRequest(req, {
|
|
535
|
+
tracer: (0,next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_4__.getTracer)(),
|
|
536
|
+
spanName: `${req.method || 'GET'} ${srcPage}`,
|
|
537
|
+
httpTarget: req.url,
|
|
538
|
+
instrumentation
|
|
539
|
+
}, (requestSpan, requestRootSpan)=>handleRequest(req, res, ctx, srcPage, multiZoneDraftMode, requestSpan, requestRootSpan));
|
|
696
540
|
}
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
// cache in place — stay observably consistent without an extra roundtrip.
|
|
702
|
-
//
|
|
703
|
-
// swrSeconds (optional): stale-while-revalidate window. When set, the browser
|
|
704
|
-
// serves the cached response immediately and refreshes in the background,
|
|
705
|
-
// making navigation feel instant. Use for data that can tolerate brief
|
|
706
|
-
// staleness (tool list, agent configs, model list). Omit for real-time data
|
|
707
|
-
// (dashboard metrics, credential state).
|
|
708
|
-
function cachedJson(data, maxAgeSeconds, swrSeconds) {
|
|
709
|
-
const swr = swrSeconds ? `, stale-while-revalidate=${swrSeconds}` : "";
|
|
710
|
-
return next_server__WEBPACK_IMPORTED_MODULE_0__.NextResponse.json(data, {
|
|
711
|
-
headers: {
|
|
712
|
-
"Cache-Control": `private, max-age=${maxAgeSeconds}${swr}`
|
|
713
|
-
}
|
|
541
|
+
async function handleRequest(req, res, ctx, srcPage, multiZoneDraftMode, requestSpan, requestRootSpan) {
|
|
542
|
+
const prepareResult = await routeModule.prepare(req, res, {
|
|
543
|
+
srcPage,
|
|
544
|
+
multiZoneDraftMode
|
|
714
545
|
});
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
546
|
+
if (!prepareResult) {
|
|
547
|
+
res.statusCode = 400;
|
|
548
|
+
res.end('Bad Request');
|
|
549
|
+
ctx.waitUntil == null ? void 0 : ctx.waitUntil.call(ctx, Promise.resolve());
|
|
550
|
+
return null;
|
|
551
|
+
}
|
|
552
|
+
const { buildId, deploymentId, params, nextConfig, parsedUrl, isDraftMode, prerenderManifest, routerServerContext, isOnDemandRevalidate, revalidateOnlyGenerated, resolvedPathname, clientReferenceManifest, serverActionsManifest, previewProps } = prepareResult;
|
|
553
|
+
const normalizedSrcPage = (0,next_dist_shared_lib_router_utils_app_paths__WEBPACK_IMPORTED_MODULE_6__.normalizeAppPath)(srcPage);
|
|
554
|
+
// Only this route's prerenders can establish ISR or admit generated params.
|
|
555
|
+
const isPrerendered = Boolean(prerenderManifest.routes[resolvedPathname]) && (routeModule.isDev || (0,next_dist_server_lib_route_cache_key__WEBPACK_IMPORTED_MODULE_16__.isRouteCacheOwner)(resolvedPathname, routeModule.cacheOwner, prerenderManifest.routes[resolvedPathname]));
|
|
556
|
+
let isIsr = Boolean(prerenderManifest.dynamicRoutes[normalizedSrcPage] || isPrerendered);
|
|
557
|
+
const render404 = async ()=>{
|
|
558
|
+
// TODO: should route-module itself handle rendering the 404
|
|
559
|
+
if (routerServerContext == null ? void 0 : routerServerContext.render404) {
|
|
560
|
+
await routerServerContext.render404(req, res, parsedUrl, false);
|
|
561
|
+
} else {
|
|
562
|
+
res.end('This page could not be found');
|
|
563
|
+
}
|
|
564
|
+
return null;
|
|
565
|
+
};
|
|
566
|
+
if (isIsr && !isDraftMode) {
|
|
567
|
+
const prerenderInfo = prerenderManifest.dynamicRoutes[normalizedSrcPage];
|
|
568
|
+
if (prerenderInfo) {
|
|
569
|
+
if (prerenderInfo.fallback === false && !isPrerendered) {
|
|
570
|
+
if (nextConfig.adapterPath) {
|
|
571
|
+
return await render404();
|
|
572
|
+
}
|
|
573
|
+
throw new next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_15__.NoFallbackError();
|
|
574
|
+
}
|
|
722
575
|
}
|
|
723
|
-
});
|
|
724
|
-
}
|
|
725
|
-
// Validate a JSON request body against a zod schema.
|
|
726
|
-
// Returns either the parsed data or a 400 NextResponse explaining the issue.
|
|
727
|
-
// Caller pattern:
|
|
728
|
-
// const parsed = await validateBody(req, Schema);
|
|
729
|
-
// if (parsed instanceof NextResponse) return parsed;
|
|
730
|
-
// // use parsed.field
|
|
731
|
-
async function validateBody(req, schema) {
|
|
732
|
-
let raw;
|
|
733
|
-
try {
|
|
734
|
-
raw = await req.json();
|
|
735
|
-
} catch {
|
|
736
|
-
return errorResponse("Request body must be valid JSON", 400);
|
|
737
576
|
}
|
|
738
|
-
|
|
739
|
-
if (!
|
|
740
|
-
|
|
577
|
+
let cacheKey = null;
|
|
578
|
+
if (isIsr && !routeModule.isDev && !isDraftMode) {
|
|
579
|
+
cacheKey = resolvedPathname;
|
|
580
|
+
// ensure /index and / is normalized to one key
|
|
581
|
+
cacheKey = cacheKey === '/index' ? '/' : cacheKey;
|
|
741
582
|
}
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
781
|
-
/* harmony export */ GET: () => (/* binding */ GET)
|
|
782
|
-
/* harmony export */ });
|
|
783
|
-
/* harmony import */ var _lib_providers_external__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(590378);
|
|
784
|
-
/* harmony import */ var _lib_providers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(360034);
|
|
785
|
-
/* harmony import */ var _lib_tools_runtime_external__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(416836);
|
|
786
|
-
/* harmony import */ var _lib_tools__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(938669);
|
|
787
|
-
/* harmony import */ var _lib_stores_tool_secrets__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(181753);
|
|
788
|
-
/* harmony import */ var _lib_stores_tool_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(167032);
|
|
789
|
-
/* harmony import */ var _lib_stores_disabled_dropin_tools__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(620052);
|
|
790
|
-
/* harmony import */ var _lib_api_responses__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(739947);
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
function GET() {
|
|
800
|
-
const provs = (0,_lib_providers_external__WEBPACK_IMPORTED_MODULE_0__/* .loadExternalProvidersDetailed */ .uo)(_lib_providers__WEBPACK_IMPORTED_MODULE_1__/* .BUILTIN_PROVIDER_NAMES */ .X4);
|
|
801
|
-
const tools = (0,_lib_tools_runtime_external__WEBPACK_IMPORTED_MODULE_2__/* .loadExternalTools */ .H$)((0,_lib_tools__WEBPACK_IMPORTED_MODULE_3__/* .getBuiltinToolNames */ .sT)());
|
|
802
|
-
return (0,_lib_api_responses__WEBPACK_IMPORTED_MODULE_7__/* .noStoreJson */ .Ng)({
|
|
803
|
-
directories: {
|
|
804
|
-
providers: _lib_providers_external__WEBPACK_IMPORTED_MODULE_0__/* .PROVIDERS_DIR */ .N4,
|
|
805
|
-
tools: (0,_lib_tools_runtime_external__WEBPACK_IMPORTED_MODULE_2__/* .getToolsDir */ .lQ)()
|
|
583
|
+
// Before rendering (which initializes component tree modules), we have to
|
|
584
|
+
// set the reference manifests to our global store so Server Action's
|
|
585
|
+
// encryption util can access to them at the top level of the page module.
|
|
586
|
+
if (serverActionsManifest && clientReferenceManifest) {
|
|
587
|
+
(0,next_dist_server_app_render_manifests_singleton__WEBPACK_IMPORTED_MODULE_5__.setManifestsSingleton)({
|
|
588
|
+
page: srcPage,
|
|
589
|
+
clientReferenceManifest,
|
|
590
|
+
serverActionsManifest
|
|
591
|
+
});
|
|
592
|
+
}
|
|
593
|
+
const method = req.method || 'GET';
|
|
594
|
+
const tracer = (0,next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_4__.getTracer)();
|
|
595
|
+
const isWrappedByNextServer = Boolean(routerServerContext == null ? void 0 : routerServerContext.isWrappedByNextServer);
|
|
596
|
+
const isMinimalMode = Boolean((0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_3__.getRequestMeta)(req, 'minimalMode'));
|
|
597
|
+
const incrementalCache = (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_3__.getRequestMeta)(req, 'incrementalCache') || await routeModule.getIncrementalCache(req, nextConfig, previewProps, prerenderManifest, isMinimalMode);
|
|
598
|
+
incrementalCache == null ? void 0 : incrementalCache.resetRequestCache();
|
|
599
|
+
globalThis.__incrementalCache = incrementalCache;
|
|
600
|
+
const context = {
|
|
601
|
+
params,
|
|
602
|
+
previewProps,
|
|
603
|
+
renderOpts: {
|
|
604
|
+
experimental: {
|
|
605
|
+
authInterrupts: Boolean(nextConfig.experimental.authInterrupts),
|
|
606
|
+
useCacheTimeout: nextConfig.experimental.useCacheTimeout,
|
|
607
|
+
durableUseCacheEntries: Boolean(nextConfig.experimental.durableUseCacheEntries)
|
|
608
|
+
},
|
|
609
|
+
cacheComponents: Boolean(nextConfig.cacheComponents),
|
|
610
|
+
validationLevel: nextConfig.experimental.instantInsights.validationLevel,
|
|
611
|
+
isDraftMode,
|
|
612
|
+
incrementalCache,
|
|
613
|
+
hmrRefreshHash: (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_3__.getRequestMeta)(req, 'hmrRefreshHash'),
|
|
614
|
+
cacheLifeProfiles: nextConfig.cacheLife,
|
|
615
|
+
staticPageGenerationTimeout: nextConfig.staticPageGenerationTimeout,
|
|
616
|
+
waitUntil: ctx.waitUntil,
|
|
617
|
+
onClose: (cb)=>{
|
|
618
|
+
res.on('close', cb);
|
|
619
|
+
},
|
|
620
|
+
onAfterTaskError: undefined
|
|
806
621
|
},
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
622
|
+
sharedContext: {
|
|
623
|
+
buildId,
|
|
624
|
+
deploymentId
|
|
625
|
+
}
|
|
626
|
+
};
|
|
627
|
+
const nodeNextReq = new next_dist_server_base_http_node__WEBPACK_IMPORTED_MODULE_7__.NodeNextRequest(req);
|
|
628
|
+
const nodeNextRes = new next_dist_server_base_http_node__WEBPACK_IMPORTED_MODULE_7__.NodeNextResponse(res);
|
|
629
|
+
const nextReq = next_dist_server_web_spec_extension_adapters_next_request__WEBPACK_IMPORTED_MODULE_8__.NextRequestAdapter.fromNodeNextRequest(nodeNextReq, (0,next_dist_server_web_spec_extension_adapters_next_request__WEBPACK_IMPORTED_MODULE_8__.signalFromNodeResponse)(res));
|
|
630
|
+
const responseGenerator = async ({ previousCacheEntry })=>{
|
|
631
|
+
try {
|
|
632
|
+
if (!isMinimalMode && isOnDemandRevalidate && revalidateOnlyGenerated && !previousCacheEntry) {
|
|
633
|
+
res.statusCode = 404;
|
|
634
|
+
// on-demand revalidate always sets this header
|
|
635
|
+
res.setHeader('x-nextjs-cache', 'REVALIDATED');
|
|
636
|
+
res.end('This page could not be found');
|
|
637
|
+
return null;
|
|
638
|
+
}
|
|
639
|
+
const response = cacheKey === null ? await routeModule.handle(nextReq, context) : await routeModule.prerender(nextReq, context);
|
|
640
|
+
req.fetchMetrics = context.renderOpts.fetchMetrics;
|
|
641
|
+
let pendingWaitUntil = context.renderOpts.pendingWaitUntil;
|
|
642
|
+
// Attempt using provided waitUntil if available
|
|
643
|
+
// if it's not we fallback to sendResponse's handling
|
|
644
|
+
if (pendingWaitUntil) {
|
|
645
|
+
if (ctx.waitUntil) {
|
|
646
|
+
ctx.waitUntil(pendingWaitUntil);
|
|
647
|
+
pendingWaitUntil = undefined;
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
const cacheTags = context.renderOpts.collectedTags;
|
|
651
|
+
// If the request is for a static response, we can cache it so long
|
|
652
|
+
// as it's not edge.
|
|
653
|
+
if (isIsr) {
|
|
654
|
+
const blob = await response.blob();
|
|
655
|
+
// Copy the headers from the response.
|
|
656
|
+
const headers = (0,next_dist_server_web_utils__WEBPACK_IMPORTED_MODULE_12__.toNodeOutgoingHttpHeaders)(response.headers);
|
|
657
|
+
if (cacheTags) {
|
|
658
|
+
headers[next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_14__.NEXT_CACHE_TAGS_HEADER] = cacheTags;
|
|
659
|
+
}
|
|
660
|
+
if (!headers['content-type'] && blob.type) {
|
|
661
|
+
headers['content-type'] = blob.type;
|
|
662
|
+
}
|
|
663
|
+
const revalidate = typeof context.renderOpts.collectedRevalidate === 'undefined' || context.renderOpts.collectedRevalidate >= next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_14__.INFINITE_CACHE ? false : context.renderOpts.collectedRevalidate;
|
|
664
|
+
const expire = typeof context.renderOpts.collectedExpire === 'undefined' || context.renderOpts.collectedExpire >= next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_14__.INFINITE_CACHE ? // route has a numeric `revalidate` but didn't declare an
|
|
665
|
+
// explicit `expire` (e.g. via `cacheLife`). This mirrors the
|
|
666
|
+
// build-time fallback in `build/index.ts` so cache entries
|
|
667
|
+
// and the response Cache-Control header agree on the route's
|
|
668
|
+
// effective expire. Routes that opt out of revalidation
|
|
669
|
+
// (`revalidate: false`) or that are dynamic (`revalidate: 0`)
|
|
670
|
+
// keep `expire: undefined`.
|
|
671
|
+
revalidate !== false && revalidate > 0 ? nextConfig.expireTime : undefined : context.renderOpts.collectedExpire;
|
|
672
|
+
// Create the cache entry for the response.
|
|
673
|
+
const cacheEntry = {
|
|
674
|
+
value: {
|
|
675
|
+
kind: next_dist_server_response_cache__WEBPACK_IMPORTED_MODULE_17__.CachedRouteKind.APP_ROUTE,
|
|
676
|
+
status: response.status,
|
|
677
|
+
body: Buffer.from(await blob.arrayBuffer()),
|
|
678
|
+
headers
|
|
679
|
+
},
|
|
680
|
+
cacheControl: {
|
|
681
|
+
revalidate,
|
|
682
|
+
expire
|
|
683
|
+
}
|
|
684
|
+
};
|
|
685
|
+
return cacheEntry;
|
|
686
|
+
} else {
|
|
687
|
+
// send response without caching if not ISR
|
|
688
|
+
await (0,next_dist_server_send_response__WEBPACK_IMPORTED_MODULE_11__/* .sendResponse */ .I)(nodeNextReq, nodeNextRes, response, pendingWaitUntil);
|
|
689
|
+
return null;
|
|
690
|
+
}
|
|
691
|
+
} catch (err) {
|
|
692
|
+
// if this is a background revalidate we need to report
|
|
693
|
+
// the request error here as it won't be bubbled
|
|
694
|
+
if (previousCacheEntry == null ? void 0 : previousCacheEntry.isStale) {
|
|
695
|
+
const silenceLog = false;
|
|
696
|
+
await routeModule.onRequestError(req, err, {
|
|
697
|
+
routerKind: 'App Router',
|
|
698
|
+
routePath: srcPage,
|
|
699
|
+
routeType: 'route',
|
|
700
|
+
revalidateReason: (0,next_dist_server_instrumentation_utils__WEBPACK_IMPORTED_MODULE_10__.getRevalidateReason)({
|
|
701
|
+
isStaticGeneration: cacheKey !== null,
|
|
702
|
+
isOnDemandRevalidate
|
|
703
|
+
})
|
|
704
|
+
}, silenceLog, routerServerContext);
|
|
705
|
+
}
|
|
706
|
+
throw err;
|
|
707
|
+
}
|
|
708
|
+
};
|
|
709
|
+
const handleResponse = async (currentSpan)=>{
|
|
710
|
+
try {
|
|
711
|
+
var _cacheEntry_value;
|
|
712
|
+
const cacheEntry = await routeModule.handleResponse({
|
|
713
|
+
req,
|
|
714
|
+
nextConfig,
|
|
715
|
+
cacheKey,
|
|
716
|
+
routeKind: next_dist_server_route_kind__WEBPACK_IMPORTED_MODULE_1__.RouteKind.APP_ROUTE,
|
|
717
|
+
isFallback: false,
|
|
718
|
+
previewProps,
|
|
719
|
+
prerenderManifest,
|
|
720
|
+
isRoutePPREnabled: false,
|
|
721
|
+
isOnDemandRevalidate,
|
|
722
|
+
revalidateOnlyGenerated,
|
|
723
|
+
responseGenerator,
|
|
724
|
+
waitUntil: ctx.waitUntil,
|
|
725
|
+
isMinimalMode
|
|
726
|
+
});
|
|
727
|
+
if (cacheEntry !== null && 'error' in cacheEntry) {
|
|
728
|
+
throw cacheEntry.error;
|
|
729
|
+
}
|
|
730
|
+
// we don't create a cacheEntry for ISR
|
|
731
|
+
if (!isIsr) {
|
|
732
|
+
return;
|
|
733
|
+
}
|
|
734
|
+
if ((cacheEntry == null ? void 0 : (_cacheEntry_value = cacheEntry.value) == null ? void 0 : _cacheEntry_value.kind) !== next_dist_server_response_cache__WEBPACK_IMPORTED_MODULE_17__.CachedRouteKind.APP_ROUTE) {
|
|
735
|
+
var _cacheEntry_value1;
|
|
736
|
+
throw new Error(`Invariant: app-route received invalid cache entry ${cacheEntry == null ? void 0 : (_cacheEntry_value1 = cacheEntry.value) == null ? void 0 : _cacheEntry_value1.kind}`);
|
|
737
|
+
}
|
|
738
|
+
if (!isMinimalMode) {
|
|
739
|
+
res.setHeader('x-nextjs-cache', isOnDemandRevalidate ? 'REVALIDATED' : cacheEntry.isMiss ? 'MISS' : cacheEntry.isStale ? 'STALE' : 'HIT');
|
|
740
|
+
}
|
|
741
|
+
// Draft mode should never be cached
|
|
742
|
+
if (isDraftMode) {
|
|
743
|
+
res.setHeader('Cache-Control', 'private, no-cache, no-store, max-age=0, must-revalidate');
|
|
744
|
+
}
|
|
745
|
+
const headers = (0,next_dist_server_web_utils__WEBPACK_IMPORTED_MODULE_12__.fromNodeOutgoingHttpHeaders)(cacheEntry.value.headers);
|
|
746
|
+
if (!(isMinimalMode && isIsr)) {
|
|
747
|
+
headers.delete(next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_14__.NEXT_CACHE_TAGS_HEADER);
|
|
748
|
+
}
|
|
749
|
+
// If cache control is already set on the response we don't
|
|
750
|
+
// override it to allow users to customize it via next.config
|
|
751
|
+
if (cacheEntry.cacheControl && !res.getHeader('Cache-Control') && !headers.get('Cache-Control')) {
|
|
752
|
+
headers.set('Cache-Control', (0,next_dist_server_lib_cache_control__WEBPACK_IMPORTED_MODULE_13__.getCacheControlHeader)(cacheEntry.cacheControl));
|
|
753
|
+
}
|
|
754
|
+
await (0,next_dist_server_send_response__WEBPACK_IMPORTED_MODULE_11__/* .sendResponse */ .I)(nodeNextReq, nodeNextRes, // @ts-expect-error - Argument of type 'Buffer<ArrayBufferLike>' is not assignable to parameter of type 'BodyInit | null | undefined'.
|
|
755
|
+
new Response(cacheEntry.value.body, {
|
|
756
|
+
headers,
|
|
757
|
+
status: cacheEntry.value.status || 200
|
|
758
|
+
}));
|
|
759
|
+
return;
|
|
760
|
+
} catch (err) {
|
|
761
|
+
if (!(err instanceof next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_15__.NoFallbackError)) {
|
|
762
|
+
const silenceLog = false;
|
|
763
|
+
await routeModule.onRequestError(req, err, {
|
|
764
|
+
routerKind: 'App Router',
|
|
765
|
+
routePath: normalizedSrcPage,
|
|
766
|
+
routeType: 'route',
|
|
767
|
+
revalidateReason: (0,next_dist_server_instrumentation_utils__WEBPACK_IMPORTED_MODULE_10__.getRevalidateReason)({
|
|
768
|
+
isStaticGeneration: cacheKey !== null,
|
|
769
|
+
isOnDemandRevalidate
|
|
770
|
+
})
|
|
771
|
+
}, silenceLog, routerServerContext);
|
|
772
|
+
}
|
|
773
|
+
// rethrow so that we can handle serving error page
|
|
774
|
+
// If this is during static generation, throw the error again.
|
|
775
|
+
if (isIsr) throw err;
|
|
776
|
+
// Otherwise, send a 500 response unless the original response has
|
|
777
|
+
// already committed. In that case, preserve its status code for
|
|
778
|
+
// telemetry while still recording the failure and terminating a response
|
|
779
|
+
// that the failed pipeline left open.
|
|
780
|
+
if (res.headersSent) {
|
|
781
|
+
if (currentSpan) {
|
|
782
|
+
const error = err instanceof Error ? err : new Error('Unknown app route error');
|
|
783
|
+
currentSpan.recordException(error);
|
|
784
|
+
currentSpan.setStatus({
|
|
785
|
+
code: next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_4__.SpanStatusCode.ERROR,
|
|
786
|
+
message: error.message
|
|
787
|
+
});
|
|
788
|
+
currentSpan.setAttribute('error.type', error.name);
|
|
789
|
+
}
|
|
790
|
+
if (!res.writableEnded && !res.destroyed) {
|
|
791
|
+
res.end();
|
|
792
|
+
}
|
|
793
|
+
} else {
|
|
794
|
+
await (0,next_dist_server_send_response__WEBPACK_IMPORTED_MODULE_11__/* .sendResponse */ .I)(nodeNextReq, nodeNextRes, new Response(null, {
|
|
795
|
+
status: 500
|
|
796
|
+
}));
|
|
797
|
+
}
|
|
798
|
+
return;
|
|
799
|
+
} finally{
|
|
800
|
+
;
|
|
801
|
+
(()=>{
|
|
802
|
+
if (!currentSpan) {
|
|
803
|
+
return;
|
|
804
|
+
}
|
|
805
|
+
let statusCode = res.statusCode;
|
|
806
|
+
currentSpan.setAttributes({
|
|
807
|
+
'http.status_code': statusCode,
|
|
808
|
+
'next.rsc': false
|
|
809
|
+
});
|
|
810
|
+
if (statusCode && statusCode >= 500) {
|
|
811
|
+
// For 5xx status codes: SHOULD be set to 'Error' span status.
|
|
812
|
+
// x-ref: https://opentelemetry.io/docs/specs/semconv/http/http-spans/#status
|
|
813
|
+
currentSpan.setStatus({
|
|
814
|
+
code: next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_4__.SpanStatusCode.ERROR
|
|
815
|
+
});
|
|
816
|
+
// For span status 'Error', SHOULD set 'error.type' attribute.
|
|
817
|
+
currentSpan.setAttribute('error.type', statusCode.toString());
|
|
818
|
+
}
|
|
819
|
+
const rootSpanAttributes = tracer.getRootSpanAttributes();
|
|
820
|
+
// We were unable to get attributes, probably OTEL is not enabled
|
|
821
|
+
if (!rootSpanAttributes) {
|
|
822
|
+
return;
|
|
823
|
+
}
|
|
824
|
+
if (rootSpanAttributes.get('next.span_type') !== next_dist_server_lib_trace_constants__WEBPACK_IMPORTED_MODULE_9__.BaseServerSpan.handleRequest) {
|
|
825
|
+
console.warn(`Unexpected root span type '${rootSpanAttributes.get('next.span_type')}'. Please report this Next.js issue https://github.com/vercel/next.js`);
|
|
826
|
+
return;
|
|
827
|
+
}
|
|
828
|
+
const route = rootSpanAttributes.get('next.route') || normalizedSrcPage;
|
|
829
|
+
const name = `${method} ${route}`;
|
|
830
|
+
currentSpan.setAttributes({
|
|
831
|
+
'next.route': route,
|
|
832
|
+
'http.route': route,
|
|
833
|
+
'next.span_name': name
|
|
834
|
+
});
|
|
835
|
+
currentSpan.updateName(name);
|
|
836
|
+
// Propagate http.route to the request's root span if it isn't the
|
|
837
|
+
// request span (e.g. a platform-created HTTP span in adapter
|
|
838
|
+
// deployments).
|
|
839
|
+
if (requestRootSpan && requestRootSpan !== currentSpan) {
|
|
840
|
+
requestRootSpan.setAttribute('http.route', route);
|
|
841
|
+
requestRootSpan.updateName(name);
|
|
842
|
+
}
|
|
843
|
+
})();
|
|
844
|
+
}
|
|
845
|
+
};
|
|
846
|
+
// When invoked directly, the request span was started before `prepare`;
|
|
847
|
+
// record the request target as normalized by it. next-server's request span
|
|
848
|
+
// already has it.
|
|
849
|
+
if (!isWrappedByNextServer && req.url !== undefined) {
|
|
850
|
+
requestSpan == null ? void 0 : requestSpan.setAttribute('http.target', req.url);
|
|
851
|
+
}
|
|
852
|
+
await handleResponse(requestSpan);
|
|
834
853
|
}
|
|
835
854
|
|
|
855
|
+
//# sourceMappingURL=app-route.js.map
|
|
836
856
|
|
|
837
|
-
/***/ }),
|
|
838
|
-
|
|
839
|
-
/***/ 840610:
|
|
840
|
-
/***/ ((module) => {
|
|
841
|
-
|
|
842
|
-
module.exports = require("node:dns");
|
|
843
|
-
|
|
844
|
-
/***/ }),
|
|
845
|
-
|
|
846
|
-
/***/ 842482:
|
|
847
|
-
/***/ ((module) => {
|
|
848
|
-
|
|
849
|
-
module.exports = import("sharp");;
|
|
850
|
-
|
|
851
|
-
/***/ }),
|
|
852
|
-
|
|
853
|
-
/***/ 848161:
|
|
854
|
-
/***/ ((module) => {
|
|
855
|
-
|
|
856
|
-
module.exports = require("node:os");
|
|
857
857
|
|
|
858
858
|
/***/ }),
|
|
859
859
|
|
|
@@ -913,7 +913,7 @@ module.exports = require("next/dist/shared/lib/no-fallback-error.external");
|
|
|
913
913
|
var __webpack_require__ = require("../../../../webpack-runtime.js");
|
|
914
914
|
__webpack_require__.C(exports);
|
|
915
915
|
var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
|
|
916
|
-
var __webpack_exports__ = __webpack_require__.X(0, [2970,7377,1813,4891,513,6299,563,8808,
|
|
916
|
+
var __webpack_exports__ = __webpack_require__.X(0, [2970,7377,1813,4891,513,6299,563,8808,3692,4992,1244,3042,3566,2068,4377,1638,5585,6923,9174,3175,3479,4189,3326,4955,6408,6845,1387], () => (__webpack_exec__(884838)));
|
|
917
917
|
module.exports = __webpack_exports__;
|
|
918
918
|
|
|
919
919
|
})();
|