@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
|
@@ -33,846 +33,846 @@ module.exports = require("https");
|
|
|
33
33
|
|
|
34
34
|
/***/ }),
|
|
35
35
|
|
|
36
|
-
/***/
|
|
37
|
-
/***/ ((
|
|
36
|
+
/***/ 79748:
|
|
37
|
+
/***/ ((module) => {
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
/* harmony import */ var next_dist_shared_lib_router_utils_app_paths__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(200261);
|
|
60
|
-
/* 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__);
|
|
61
|
-
/* harmony import */ var next_dist_server_base_http_node__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(754365);
|
|
62
|
-
/* 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__);
|
|
63
|
-
/* harmony import */ var next_dist_server_web_spec_extension_adapters_next_request__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(590771);
|
|
64
|
-
/* 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__);
|
|
65
|
-
/* harmony import */ var next_dist_server_lib_trace_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(473461);
|
|
66
|
-
/* 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__);
|
|
67
|
-
/* harmony import */ var next_dist_server_instrumentation_utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(767798);
|
|
68
|
-
/* harmony import */ var next_dist_server_send_response__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(192280);
|
|
69
|
-
/* harmony import */ var next_dist_server_web_utils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(662018);
|
|
70
|
-
/* 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__);
|
|
71
|
-
/* harmony import */ var next_dist_server_lib_cache_control__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(445696);
|
|
72
|
-
/* harmony import */ var next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(347929);
|
|
73
|
-
/* harmony import */ var next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_14__);
|
|
74
|
-
/* harmony import */ var next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(986439);
|
|
75
|
-
/* 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__);
|
|
76
|
-
/* harmony import */ var next_dist_server_lib_route_cache_key__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(710246);
|
|
77
|
-
/* 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__);
|
|
78
|
-
/* harmony import */ var next_dist_server_response_cache__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(137527);
|
|
79
|
-
/* 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__);
|
|
39
|
+
module.exports = require("fs/promises");
|
|
40
|
+
|
|
41
|
+
/***/ }),
|
|
42
|
+
|
|
43
|
+
/***/ 79868:
|
|
44
|
+
/***/ ((module) => {
|
|
45
|
+
|
|
46
|
+
module.exports = require("node:sqlite");
|
|
47
|
+
|
|
48
|
+
/***/ }),
|
|
49
|
+
|
|
50
|
+
/***/ 108128:
|
|
51
|
+
/***/ ((module) => {
|
|
52
|
+
|
|
53
|
+
module.exports = require("next/dist/server/runtime-reacts.external.js");
|
|
54
|
+
|
|
55
|
+
/***/ }),
|
|
56
|
+
|
|
57
|
+
/***/ 157075:
|
|
58
|
+
/***/ ((module) => {
|
|
80
59
|
|
|
60
|
+
module.exports = require("node:stream");
|
|
81
61
|
|
|
62
|
+
/***/ }),
|
|
82
63
|
|
|
64
|
+
/***/ 176760:
|
|
65
|
+
/***/ ((module) => {
|
|
83
66
|
|
|
67
|
+
module.exports = require("node:path");
|
|
84
68
|
|
|
69
|
+
/***/ }),
|
|
85
70
|
|
|
71
|
+
/***/ 200261:
|
|
72
|
+
/***/ ((module) => {
|
|
86
73
|
|
|
74
|
+
module.exports = require("next/dist/shared/lib/router/utils/app-paths");
|
|
87
75
|
|
|
76
|
+
/***/ }),
|
|
88
77
|
|
|
78
|
+
/***/ 257975:
|
|
79
|
+
/***/ ((module) => {
|
|
89
80
|
|
|
81
|
+
module.exports = require("node:util");
|
|
90
82
|
|
|
83
|
+
/***/ }),
|
|
91
84
|
|
|
85
|
+
/***/ 309956:
|
|
86
|
+
/***/ ((module) => {
|
|
92
87
|
|
|
88
|
+
module.exports = require("undici");
|
|
93
89
|
|
|
90
|
+
/***/ }),
|
|
94
91
|
|
|
92
|
+
/***/ 328354:
|
|
93
|
+
/***/ ((module) => {
|
|
95
94
|
|
|
95
|
+
module.exports = require("util");
|
|
96
96
|
|
|
97
|
+
/***/ }),
|
|
97
98
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
99
|
+
/***/ 333873:
|
|
100
|
+
/***/ ((module) => {
|
|
101
|
+
|
|
102
|
+
module.exports = require("path");
|
|
103
|
+
|
|
104
|
+
/***/ }),
|
|
105
|
+
|
|
106
|
+
/***/ 344708:
|
|
107
|
+
/***/ ((module) => {
|
|
108
|
+
|
|
109
|
+
module.exports = require("node:https");
|
|
110
|
+
|
|
111
|
+
/***/ }),
|
|
112
|
+
|
|
113
|
+
/***/ 358500:
|
|
114
|
+
/***/ ((module) => {
|
|
115
|
+
|
|
116
|
+
module.exports = require("node:timers/promises");
|
|
117
|
+
|
|
118
|
+
/***/ }),
|
|
119
|
+
|
|
120
|
+
/***/ 378488:
|
|
121
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
122
|
+
|
|
123
|
+
__webpack_require__.r(__webpack_exports__);
|
|
124
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
125
|
+
/* harmony export */ DELETE: () => (/* binding */ DELETE),
|
|
126
|
+
/* harmony export */ GET: () => (/* binding */ GET),
|
|
127
|
+
/* harmony export */ PATCH: () => (/* binding */ PATCH)
|
|
128
|
+
/* harmony export */ });
|
|
129
|
+
/* harmony import */ var next_server__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(945592);
|
|
130
|
+
/* harmony import */ var zod__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(497377);
|
|
131
|
+
/* harmony import */ var _lib_stores_document_sources__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91441);
|
|
132
|
+
/* harmony import */ var _lib_triggers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(102522);
|
|
133
|
+
/* harmony import */ var _lib_api_responses__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(739947);
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
const PatchSchema = zod__WEBPACK_IMPORTED_MODULE_4__/* .object */ .Ikc({
|
|
140
|
+
label: zod__WEBPACK_IMPORTED_MODULE_4__/* .string */ .YjP().nullable().optional(),
|
|
141
|
+
enabled: zod__WEBPACK_IMPORTED_MODULE_4__/* .boolean */ .zMY().optional()
|
|
126
142
|
});
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
143
|
+
async function GET(_req, { params }) {
|
|
144
|
+
const { id } = await params;
|
|
145
|
+
const row = (0,_lib_stores_document_sources__WEBPACK_IMPORTED_MODULE_1__/* .getDocumentSource */ .f8)(id);
|
|
146
|
+
if (!row) return (0,_lib_api_responses__WEBPACK_IMPORTED_MODULE_3__/* .notFoundResponse */ .HN)();
|
|
147
|
+
return next_server__WEBPACK_IMPORTED_MODULE_0__.NextResponse.json({
|
|
148
|
+
id: row.id,
|
|
149
|
+
path: row.path,
|
|
150
|
+
label: row.label,
|
|
151
|
+
enabled: row.enabled === 1,
|
|
152
|
+
last_scan_at: row.last_scan_at,
|
|
153
|
+
last_error: row.last_error,
|
|
154
|
+
created_at: row.created_at,
|
|
155
|
+
updated_at: row.updated_at,
|
|
156
|
+
kind: row.kind,
|
|
157
|
+
config: row.config ? JSON.parse(row.config) : null,
|
|
158
|
+
stats: (0,_lib_stores_document_sources__WEBPACK_IMPORTED_MODULE_1__/* .getDocumentSourceStats */ .Io)(row.id)
|
|
135
159
|
});
|
|
136
160
|
}
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
if (
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
// `prepare`, so route module preparation is part of the request's trace.
|
|
157
|
-
// When this request triggers registration, the lifecycle spans of
|
|
158
|
-
// `instrumentation.ts` are emitted inside the request span.
|
|
159
|
-
const { instrumentation } = await routeModule.ensureInstrumentation(req, {
|
|
160
|
-
deferSpans: true
|
|
161
|
+
async function PATCH(req, { params }) {
|
|
162
|
+
const { id } = await params;
|
|
163
|
+
const parsed = await (0,_lib_api_responses__WEBPACK_IMPORTED_MODULE_3__/* .validateBody */ .Jb)(req, PatchSchema);
|
|
164
|
+
if (parsed instanceof next_server__WEBPACK_IMPORTED_MODULE_0__.NextResponse) return parsed;
|
|
165
|
+
const row = (0,_lib_stores_document_sources__WEBPACK_IMPORTED_MODULE_1__/* .updateDocumentSource */ .QD)(id, parsed);
|
|
166
|
+
if (!row) return (0,_lib_api_responses__WEBPACK_IMPORTED_MODULE_3__/* .notFoundResponse */ .HN)();
|
|
167
|
+
await (0,_lib_triggers__WEBPACK_IMPORTED_MODULE_2__/* .notifyTriggerHandlers */ .HH)("source_changed");
|
|
168
|
+
return next_server__WEBPACK_IMPORTED_MODULE_0__.NextResponse.json({
|
|
169
|
+
id: row.id,
|
|
170
|
+
path: row.path,
|
|
171
|
+
label: row.label,
|
|
172
|
+
enabled: row.enabled === 1,
|
|
173
|
+
last_scan_at: row.last_scan_at,
|
|
174
|
+
last_error: row.last_error,
|
|
175
|
+
created_at: row.created_at,
|
|
176
|
+
updated_at: row.updated_at,
|
|
177
|
+
kind: row.kind,
|
|
178
|
+
config: row.config ? JSON.parse(row.config) : null,
|
|
179
|
+
stats: (0,_lib_stores_document_sources__WEBPACK_IMPORTED_MODULE_1__/* .getDocumentSourceStats */ .Io)(row.id)
|
|
161
180
|
});
|
|
162
|
-
return routeModule.traceRequest(req, {
|
|
163
|
-
tracer: (0,next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_4__.getTracer)(),
|
|
164
|
-
spanName: `${req.method || 'GET'} ${srcPage}`,
|
|
165
|
-
httpTarget: req.url,
|
|
166
|
-
instrumentation
|
|
167
|
-
}, (requestSpan, requestRootSpan)=>handleRequest(req, res, ctx, srcPage, multiZoneDraftMode, requestSpan, requestRootSpan));
|
|
168
181
|
}
|
|
169
|
-
async function
|
|
170
|
-
const
|
|
171
|
-
|
|
172
|
-
|
|
182
|
+
async function DELETE(_req, { params }) {
|
|
183
|
+
const { id } = await params;
|
|
184
|
+
const ok = (0,_lib_stores_document_sources__WEBPACK_IMPORTED_MODULE_1__/* .deleteDocumentSource */ .q5)(id);
|
|
185
|
+
if (!ok) return (0,_lib_api_responses__WEBPACK_IMPORTED_MODULE_3__/* .notFoundResponse */ .HN)();
|
|
186
|
+
await (0,_lib_triggers__WEBPACK_IMPORTED_MODULE_2__/* .notifyTriggerHandlers */ .HH)("source_changed");
|
|
187
|
+
return next_server__WEBPACK_IMPORTED_MODULE_0__.NextResponse.json({
|
|
188
|
+
deleted: true
|
|
173
189
|
});
|
|
174
|
-
if (!prepareResult) {
|
|
175
|
-
res.statusCode = 400;
|
|
176
|
-
res.end('Bad Request');
|
|
177
|
-
ctx.waitUntil == null ? void 0 : ctx.waitUntil.call(ctx, Promise.resolve());
|
|
178
|
-
return null;
|
|
179
|
-
}
|
|
180
|
-
const { buildId, deploymentId, params, nextConfig, parsedUrl, isDraftMode, prerenderManifest, routerServerContext, isOnDemandRevalidate, revalidateOnlyGenerated, resolvedPathname, clientReferenceManifest, serverActionsManifest, previewProps } = prepareResult;
|
|
181
|
-
const normalizedSrcPage = (0,next_dist_shared_lib_router_utils_app_paths__WEBPACK_IMPORTED_MODULE_6__.normalizeAppPath)(srcPage);
|
|
182
|
-
// Only this route's prerenders can establish ISR or admit generated params.
|
|
183
|
-
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]));
|
|
184
|
-
let isIsr = Boolean(prerenderManifest.dynamicRoutes[normalizedSrcPage] || isPrerendered);
|
|
185
|
-
const render404 = async ()=>{
|
|
186
|
-
// TODO: should route-module itself handle rendering the 404
|
|
187
|
-
if (routerServerContext == null ? void 0 : routerServerContext.render404) {
|
|
188
|
-
await routerServerContext.render404(req, res, parsedUrl, false);
|
|
189
|
-
} else {
|
|
190
|
-
res.end('This page could not be found');
|
|
191
|
-
}
|
|
192
|
-
return null;
|
|
193
|
-
};
|
|
194
|
-
if (isIsr && !isDraftMode) {
|
|
195
|
-
const prerenderInfo = prerenderManifest.dynamicRoutes[normalizedSrcPage];
|
|
196
|
-
if (prerenderInfo) {
|
|
197
|
-
if (prerenderInfo.fallback === false && !isPrerendered) {
|
|
198
|
-
if (nextConfig.adapterPath) {
|
|
199
|
-
return await render404();
|
|
200
|
-
}
|
|
201
|
-
throw new next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_15__.NoFallbackError();
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
let cacheKey = null;
|
|
206
|
-
if (isIsr && !routeModule.isDev && !isDraftMode) {
|
|
207
|
-
cacheKey = resolvedPathname;
|
|
208
|
-
// ensure /index and / is normalized to one key
|
|
209
|
-
cacheKey = cacheKey === '/index' ? '/' : cacheKey;
|
|
210
|
-
}
|
|
211
|
-
// Before rendering (which initializes component tree modules), we have to
|
|
212
|
-
// set the reference manifests to our global store so Server Action's
|
|
213
|
-
// encryption util can access to them at the top level of the page module.
|
|
214
|
-
if (serverActionsManifest && clientReferenceManifest) {
|
|
215
|
-
(0,next_dist_server_app_render_manifests_singleton__WEBPACK_IMPORTED_MODULE_5__.setManifestsSingleton)({
|
|
216
|
-
page: srcPage,
|
|
217
|
-
clientReferenceManifest,
|
|
218
|
-
serverActionsManifest
|
|
219
|
-
});
|
|
220
|
-
}
|
|
221
|
-
const method = req.method || 'GET';
|
|
222
|
-
const tracer = (0,next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_4__.getTracer)();
|
|
223
|
-
const isWrappedByNextServer = Boolean(routerServerContext == null ? void 0 : routerServerContext.isWrappedByNextServer);
|
|
224
|
-
const isMinimalMode = Boolean((0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_3__.getRequestMeta)(req, 'minimalMode'));
|
|
225
|
-
const incrementalCache = (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_3__.getRequestMeta)(req, 'incrementalCache') || await routeModule.getIncrementalCache(req, nextConfig, previewProps, prerenderManifest, isMinimalMode);
|
|
226
|
-
incrementalCache == null ? void 0 : incrementalCache.resetRequestCache();
|
|
227
|
-
globalThis.__incrementalCache = incrementalCache;
|
|
228
|
-
const context = {
|
|
229
|
-
params,
|
|
230
|
-
previewProps,
|
|
231
|
-
renderOpts: {
|
|
232
|
-
experimental: {
|
|
233
|
-
authInterrupts: Boolean(nextConfig.experimental.authInterrupts),
|
|
234
|
-
useCacheTimeout: nextConfig.experimental.useCacheTimeout,
|
|
235
|
-
durableUseCacheEntries: Boolean(nextConfig.experimental.durableUseCacheEntries)
|
|
236
|
-
},
|
|
237
|
-
cacheComponents: Boolean(nextConfig.cacheComponents),
|
|
238
|
-
validationLevel: nextConfig.experimental.instantInsights.validationLevel,
|
|
239
|
-
isDraftMode,
|
|
240
|
-
incrementalCache,
|
|
241
|
-
hmrRefreshHash: (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_3__.getRequestMeta)(req, 'hmrRefreshHash'),
|
|
242
|
-
cacheLifeProfiles: nextConfig.cacheLife,
|
|
243
|
-
staticPageGenerationTimeout: nextConfig.staticPageGenerationTimeout,
|
|
244
|
-
waitUntil: ctx.waitUntil,
|
|
245
|
-
onClose: (cb)=>{
|
|
246
|
-
res.on('close', cb);
|
|
247
|
-
},
|
|
248
|
-
onAfterTaskError: undefined
|
|
249
|
-
},
|
|
250
|
-
sharedContext: {
|
|
251
|
-
buildId,
|
|
252
|
-
deploymentId
|
|
253
|
-
}
|
|
254
|
-
};
|
|
255
|
-
const nodeNextReq = new next_dist_server_base_http_node__WEBPACK_IMPORTED_MODULE_7__.NodeNextRequest(req);
|
|
256
|
-
const nodeNextRes = new next_dist_server_base_http_node__WEBPACK_IMPORTED_MODULE_7__.NodeNextResponse(res);
|
|
257
|
-
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));
|
|
258
|
-
const responseGenerator = async ({ previousCacheEntry })=>{
|
|
259
|
-
try {
|
|
260
|
-
if (!isMinimalMode && isOnDemandRevalidate && revalidateOnlyGenerated && !previousCacheEntry) {
|
|
261
|
-
res.statusCode = 404;
|
|
262
|
-
// on-demand revalidate always sets this header
|
|
263
|
-
res.setHeader('x-nextjs-cache', 'REVALIDATED');
|
|
264
|
-
res.end('This page could not be found');
|
|
265
|
-
return null;
|
|
266
|
-
}
|
|
267
|
-
const response = cacheKey === null ? await routeModule.handle(nextReq, context) : await routeModule.prerender(nextReq, context);
|
|
268
|
-
req.fetchMetrics = context.renderOpts.fetchMetrics;
|
|
269
|
-
let pendingWaitUntil = context.renderOpts.pendingWaitUntil;
|
|
270
|
-
// Attempt using provided waitUntil if available
|
|
271
|
-
// if it's not we fallback to sendResponse's handling
|
|
272
|
-
if (pendingWaitUntil) {
|
|
273
|
-
if (ctx.waitUntil) {
|
|
274
|
-
ctx.waitUntil(pendingWaitUntil);
|
|
275
|
-
pendingWaitUntil = undefined;
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
const cacheTags = context.renderOpts.collectedTags;
|
|
279
|
-
// If the request is for a static response, we can cache it so long
|
|
280
|
-
// as it's not edge.
|
|
281
|
-
if (isIsr) {
|
|
282
|
-
const blob = await response.blob();
|
|
283
|
-
// Copy the headers from the response.
|
|
284
|
-
const headers = (0,next_dist_server_web_utils__WEBPACK_IMPORTED_MODULE_12__.toNodeOutgoingHttpHeaders)(response.headers);
|
|
285
|
-
if (cacheTags) {
|
|
286
|
-
headers[next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_14__.NEXT_CACHE_TAGS_HEADER] = cacheTags;
|
|
287
|
-
}
|
|
288
|
-
if (!headers['content-type'] && blob.type) {
|
|
289
|
-
headers['content-type'] = blob.type;
|
|
290
|
-
}
|
|
291
|
-
const revalidate = typeof context.renderOpts.collectedRevalidate === 'undefined' || context.renderOpts.collectedRevalidate >= next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_14__.INFINITE_CACHE ? false : context.renderOpts.collectedRevalidate;
|
|
292
|
-
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
|
|
293
|
-
// explicit `expire` (e.g. via `cacheLife`). This mirrors the
|
|
294
|
-
// build-time fallback in `build/index.ts` so cache entries
|
|
295
|
-
// and the response Cache-Control header agree on the route's
|
|
296
|
-
// effective expire. Routes that opt out of revalidation
|
|
297
|
-
// (`revalidate: false`) or that are dynamic (`revalidate: 0`)
|
|
298
|
-
// keep `expire: undefined`.
|
|
299
|
-
revalidate !== false && revalidate > 0 ? nextConfig.expireTime : undefined : context.renderOpts.collectedExpire;
|
|
300
|
-
// Create the cache entry for the response.
|
|
301
|
-
const cacheEntry = {
|
|
302
|
-
value: {
|
|
303
|
-
kind: next_dist_server_response_cache__WEBPACK_IMPORTED_MODULE_17__.CachedRouteKind.APP_ROUTE,
|
|
304
|
-
status: response.status,
|
|
305
|
-
body: Buffer.from(await blob.arrayBuffer()),
|
|
306
|
-
headers
|
|
307
|
-
},
|
|
308
|
-
cacheControl: {
|
|
309
|
-
revalidate,
|
|
310
|
-
expire
|
|
311
|
-
}
|
|
312
|
-
};
|
|
313
|
-
return cacheEntry;
|
|
314
|
-
} else {
|
|
315
|
-
// send response without caching if not ISR
|
|
316
|
-
await (0,next_dist_server_send_response__WEBPACK_IMPORTED_MODULE_11__/* .sendResponse */ .I)(nodeNextReq, nodeNextRes, response, pendingWaitUntil);
|
|
317
|
-
return null;
|
|
318
|
-
}
|
|
319
|
-
} catch (err) {
|
|
320
|
-
// if this is a background revalidate we need to report
|
|
321
|
-
// the request error here as it won't be bubbled
|
|
322
|
-
if (previousCacheEntry == null ? void 0 : previousCacheEntry.isStale) {
|
|
323
|
-
const silenceLog = false;
|
|
324
|
-
await routeModule.onRequestError(req, err, {
|
|
325
|
-
routerKind: 'App Router',
|
|
326
|
-
routePath: srcPage,
|
|
327
|
-
routeType: 'route',
|
|
328
|
-
revalidateReason: (0,next_dist_server_instrumentation_utils__WEBPACK_IMPORTED_MODULE_10__.getRevalidateReason)({
|
|
329
|
-
isStaticGeneration: cacheKey !== null,
|
|
330
|
-
isOnDemandRevalidate
|
|
331
|
-
})
|
|
332
|
-
}, silenceLog, routerServerContext);
|
|
333
|
-
}
|
|
334
|
-
throw err;
|
|
335
|
-
}
|
|
336
|
-
};
|
|
337
|
-
const handleResponse = async (currentSpan)=>{
|
|
338
|
-
try {
|
|
339
|
-
var _cacheEntry_value;
|
|
340
|
-
const cacheEntry = await routeModule.handleResponse({
|
|
341
|
-
req,
|
|
342
|
-
nextConfig,
|
|
343
|
-
cacheKey,
|
|
344
|
-
routeKind: next_dist_server_route_kind__WEBPACK_IMPORTED_MODULE_1__.RouteKind.APP_ROUTE,
|
|
345
|
-
isFallback: false,
|
|
346
|
-
previewProps,
|
|
347
|
-
prerenderManifest,
|
|
348
|
-
isRoutePPREnabled: false,
|
|
349
|
-
isOnDemandRevalidate,
|
|
350
|
-
revalidateOnlyGenerated,
|
|
351
|
-
responseGenerator,
|
|
352
|
-
waitUntil: ctx.waitUntil,
|
|
353
|
-
isMinimalMode
|
|
354
|
-
});
|
|
355
|
-
if (cacheEntry !== null && 'error' in cacheEntry) {
|
|
356
|
-
throw cacheEntry.error;
|
|
357
|
-
}
|
|
358
|
-
// we don't create a cacheEntry for ISR
|
|
359
|
-
if (!isIsr) {
|
|
360
|
-
return;
|
|
361
|
-
}
|
|
362
|
-
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) {
|
|
363
|
-
var _cacheEntry_value1;
|
|
364
|
-
throw new Error(`Invariant: app-route received invalid cache entry ${cacheEntry == null ? void 0 : (_cacheEntry_value1 = cacheEntry.value) == null ? void 0 : _cacheEntry_value1.kind}`);
|
|
365
|
-
}
|
|
366
|
-
if (!isMinimalMode) {
|
|
367
|
-
res.setHeader('x-nextjs-cache', isOnDemandRevalidate ? 'REVALIDATED' : cacheEntry.isMiss ? 'MISS' : cacheEntry.isStale ? 'STALE' : 'HIT');
|
|
368
|
-
}
|
|
369
|
-
// Draft mode should never be cached
|
|
370
|
-
if (isDraftMode) {
|
|
371
|
-
res.setHeader('Cache-Control', 'private, no-cache, no-store, max-age=0, must-revalidate');
|
|
372
|
-
}
|
|
373
|
-
const headers = (0,next_dist_server_web_utils__WEBPACK_IMPORTED_MODULE_12__.fromNodeOutgoingHttpHeaders)(cacheEntry.value.headers);
|
|
374
|
-
if (!(isMinimalMode && isIsr)) {
|
|
375
|
-
headers.delete(next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_14__.NEXT_CACHE_TAGS_HEADER);
|
|
376
|
-
}
|
|
377
|
-
// If cache control is already set on the response we don't
|
|
378
|
-
// override it to allow users to customize it via next.config
|
|
379
|
-
if (cacheEntry.cacheControl && !res.getHeader('Cache-Control') && !headers.get('Cache-Control')) {
|
|
380
|
-
headers.set('Cache-Control', (0,next_dist_server_lib_cache_control__WEBPACK_IMPORTED_MODULE_13__.getCacheControlHeader)(cacheEntry.cacheControl));
|
|
381
|
-
}
|
|
382
|
-
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'.
|
|
383
|
-
new Response(cacheEntry.value.body, {
|
|
384
|
-
headers,
|
|
385
|
-
status: cacheEntry.value.status || 200
|
|
386
|
-
}));
|
|
387
|
-
return;
|
|
388
|
-
} catch (err) {
|
|
389
|
-
if (!(err instanceof next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_15__.NoFallbackError)) {
|
|
390
|
-
const silenceLog = false;
|
|
391
|
-
await routeModule.onRequestError(req, err, {
|
|
392
|
-
routerKind: 'App Router',
|
|
393
|
-
routePath: normalizedSrcPage,
|
|
394
|
-
routeType: 'route',
|
|
395
|
-
revalidateReason: (0,next_dist_server_instrumentation_utils__WEBPACK_IMPORTED_MODULE_10__.getRevalidateReason)({
|
|
396
|
-
isStaticGeneration: cacheKey !== null,
|
|
397
|
-
isOnDemandRevalidate
|
|
398
|
-
})
|
|
399
|
-
}, silenceLog, routerServerContext);
|
|
400
|
-
}
|
|
401
|
-
// rethrow so that we can handle serving error page
|
|
402
|
-
// If this is during static generation, throw the error again.
|
|
403
|
-
if (isIsr) throw err;
|
|
404
|
-
// Otherwise, send a 500 response unless the original response has
|
|
405
|
-
// already committed. In that case, preserve its status code for
|
|
406
|
-
// telemetry while still recording the failure and terminating a response
|
|
407
|
-
// that the failed pipeline left open.
|
|
408
|
-
if (res.headersSent) {
|
|
409
|
-
if (currentSpan) {
|
|
410
|
-
const error = err instanceof Error ? err : new Error('Unknown app route error');
|
|
411
|
-
currentSpan.recordException(error);
|
|
412
|
-
currentSpan.setStatus({
|
|
413
|
-
code: next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_4__.SpanStatusCode.ERROR,
|
|
414
|
-
message: error.message
|
|
415
|
-
});
|
|
416
|
-
currentSpan.setAttribute('error.type', error.name);
|
|
417
|
-
}
|
|
418
|
-
if (!res.writableEnded && !res.destroyed) {
|
|
419
|
-
res.end();
|
|
420
|
-
}
|
|
421
|
-
} else {
|
|
422
|
-
await (0,next_dist_server_send_response__WEBPACK_IMPORTED_MODULE_11__/* .sendResponse */ .I)(nodeNextReq, nodeNextRes, new Response(null, {
|
|
423
|
-
status: 500
|
|
424
|
-
}));
|
|
425
|
-
}
|
|
426
|
-
return;
|
|
427
|
-
} finally{
|
|
428
|
-
;
|
|
429
|
-
(()=>{
|
|
430
|
-
if (!currentSpan) {
|
|
431
|
-
return;
|
|
432
|
-
}
|
|
433
|
-
let statusCode = res.statusCode;
|
|
434
|
-
currentSpan.setAttributes({
|
|
435
|
-
'http.status_code': statusCode,
|
|
436
|
-
'next.rsc': false
|
|
437
|
-
});
|
|
438
|
-
if (statusCode && statusCode >= 500) {
|
|
439
|
-
// For 5xx status codes: SHOULD be set to 'Error' span status.
|
|
440
|
-
// x-ref: https://opentelemetry.io/docs/specs/semconv/http/http-spans/#status
|
|
441
|
-
currentSpan.setStatus({
|
|
442
|
-
code: next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_4__.SpanStatusCode.ERROR
|
|
443
|
-
});
|
|
444
|
-
// For span status 'Error', SHOULD set 'error.type' attribute.
|
|
445
|
-
currentSpan.setAttribute('error.type', statusCode.toString());
|
|
446
|
-
}
|
|
447
|
-
const rootSpanAttributes = tracer.getRootSpanAttributes();
|
|
448
|
-
// We were unable to get attributes, probably OTEL is not enabled
|
|
449
|
-
if (!rootSpanAttributes) {
|
|
450
|
-
return;
|
|
451
|
-
}
|
|
452
|
-
if (rootSpanAttributes.get('next.span_type') !== next_dist_server_lib_trace_constants__WEBPACK_IMPORTED_MODULE_9__.BaseServerSpan.handleRequest) {
|
|
453
|
-
console.warn(`Unexpected root span type '${rootSpanAttributes.get('next.span_type')}'. Please report this Next.js issue https://github.com/vercel/next.js`);
|
|
454
|
-
return;
|
|
455
|
-
}
|
|
456
|
-
const route = rootSpanAttributes.get('next.route') || normalizedSrcPage;
|
|
457
|
-
const name = `${method} ${route}`;
|
|
458
|
-
currentSpan.setAttributes({
|
|
459
|
-
'next.route': route,
|
|
460
|
-
'http.route': route,
|
|
461
|
-
'next.span_name': name
|
|
462
|
-
});
|
|
463
|
-
currentSpan.updateName(name);
|
|
464
|
-
// Propagate http.route to the request's root span if it isn't the
|
|
465
|
-
// request span (e.g. a platform-created HTTP span in adapter
|
|
466
|
-
// deployments).
|
|
467
|
-
if (requestRootSpan && requestRootSpan !== currentSpan) {
|
|
468
|
-
requestRootSpan.setAttribute('http.route', route);
|
|
469
|
-
requestRootSpan.updateName(name);
|
|
470
|
-
}
|
|
471
|
-
})();
|
|
472
|
-
}
|
|
473
|
-
};
|
|
474
|
-
// When invoked directly, the request span was started before `prepare`;
|
|
475
|
-
// record the request target as normalized by it. next-server's request span
|
|
476
|
-
// already has it.
|
|
477
|
-
if (!isWrappedByNextServer && req.url !== undefined) {
|
|
478
|
-
requestSpan == null ? void 0 : requestSpan.setAttribute('http.target', req.url);
|
|
479
|
-
}
|
|
480
|
-
await handleResponse(requestSpan);
|
|
481
190
|
}
|
|
482
191
|
|
|
483
|
-
//# sourceMappingURL=app-route.js.map
|
|
484
192
|
|
|
193
|
+
/***/ }),
|
|
194
|
+
|
|
195
|
+
/***/ 379551:
|
|
196
|
+
/***/ ((module) => {
|
|
197
|
+
|
|
198
|
+
module.exports = require("url");
|
|
485
199
|
|
|
486
200
|
/***/ }),
|
|
487
201
|
|
|
488
|
-
/***/
|
|
202
|
+
/***/ 380481:
|
|
489
203
|
/***/ ((module) => {
|
|
490
204
|
|
|
491
|
-
module.exports = require("
|
|
205
|
+
module.exports = require("node:readline");
|
|
492
206
|
|
|
493
207
|
/***/ }),
|
|
494
208
|
|
|
495
|
-
/***/
|
|
209
|
+
/***/ 399253:
|
|
496
210
|
/***/ ((module) => {
|
|
497
211
|
|
|
498
|
-
module.exports =
|
|
212
|
+
module.exports = import("@huggingface/transformers");;
|
|
499
213
|
|
|
500
214
|
/***/ }),
|
|
501
215
|
|
|
502
|
-
/***/
|
|
216
|
+
/***/ 419121:
|
|
503
217
|
/***/ ((module) => {
|
|
504
218
|
|
|
505
|
-
module.exports = require("next/dist/server/
|
|
219
|
+
module.exports = require("next/dist/server/app-render/action-async-storage.external.js");
|
|
506
220
|
|
|
507
221
|
/***/ }),
|
|
508
222
|
|
|
509
|
-
/***/
|
|
223
|
+
/***/ 455511:
|
|
510
224
|
/***/ ((module) => {
|
|
511
225
|
|
|
512
|
-
module.exports = require("
|
|
226
|
+
module.exports = require("crypto");
|
|
513
227
|
|
|
514
228
|
/***/ }),
|
|
515
229
|
|
|
516
|
-
/***/
|
|
230
|
+
/***/ 529294:
|
|
517
231
|
/***/ ((module) => {
|
|
518
232
|
|
|
519
|
-
module.exports = require("
|
|
233
|
+
module.exports = require("next/dist/server/app-render/work-async-storage.external.js");
|
|
520
234
|
|
|
521
235
|
/***/ }),
|
|
522
236
|
|
|
523
|
-
/***/
|
|
237
|
+
/***/ 590347:
|
|
524
238
|
/***/ ((module) => {
|
|
525
239
|
|
|
526
|
-
module.exports =
|
|
240
|
+
module.exports = import("@langchain/mcp-adapters");;
|
|
527
241
|
|
|
528
242
|
/***/ }),
|
|
529
243
|
|
|
530
|
-
/***/
|
|
244
|
+
/***/ 594735:
|
|
531
245
|
/***/ ((module) => {
|
|
532
246
|
|
|
533
|
-
module.exports = require("
|
|
247
|
+
module.exports = require("events");
|
|
534
248
|
|
|
535
249
|
/***/ }),
|
|
536
250
|
|
|
537
|
-
/***/
|
|
251
|
+
/***/ 629021:
|
|
538
252
|
/***/ ((module) => {
|
|
539
253
|
|
|
540
|
-
module.exports = require("
|
|
254
|
+
module.exports = require("fs");
|
|
541
255
|
|
|
542
256
|
/***/ }),
|
|
543
257
|
|
|
544
|
-
/***/
|
|
258
|
+
/***/ 638522:
|
|
545
259
|
/***/ ((module) => {
|
|
546
260
|
|
|
547
|
-
module.exports = require("
|
|
261
|
+
module.exports = require("node:zlib");
|
|
548
262
|
|
|
549
263
|
/***/ }),
|
|
550
264
|
|
|
551
|
-
/***/
|
|
265
|
+
/***/ 663033:
|
|
552
266
|
/***/ ((module) => {
|
|
553
267
|
|
|
554
|
-
module.exports = require("
|
|
268
|
+
module.exports = require("next/dist/server/app-render/work-unit-async-storage.external.js");
|
|
555
269
|
|
|
556
270
|
/***/ }),
|
|
557
271
|
|
|
558
|
-
/***/
|
|
272
|
+
/***/ 710846:
|
|
559
273
|
/***/ ((module) => {
|
|
560
274
|
|
|
561
|
-
module.exports = require("
|
|
275
|
+
module.exports = require("next/dist/compiled/next-server/app-page.runtime.prod.js");
|
|
562
276
|
|
|
563
277
|
/***/ }),
|
|
564
278
|
|
|
565
|
-
/***/
|
|
279
|
+
/***/ 731421:
|
|
566
280
|
/***/ ((module) => {
|
|
567
281
|
|
|
568
|
-
module.exports = require("node:
|
|
282
|
+
module.exports = require("node:child_process");
|
|
569
283
|
|
|
570
284
|
/***/ }),
|
|
571
285
|
|
|
572
|
-
/***/
|
|
286
|
+
/***/ 739947:
|
|
573
287
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
574
288
|
|
|
575
|
-
__webpack_require__.r(__webpack_exports__);
|
|
576
289
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
577
|
-
/* harmony export */
|
|
578
|
-
/* harmony export */
|
|
579
|
-
/* harmony export */
|
|
290
|
+
/* harmony export */ Bm: () => (/* binding */ cachedJson),
|
|
291
|
+
/* harmony export */ HN: () => (/* binding */ notFoundResponse),
|
|
292
|
+
/* harmony export */ Jb: () => (/* binding */ validateBody),
|
|
293
|
+
/* harmony export */ K2: () => (/* binding */ createdResponse),
|
|
294
|
+
/* harmony export */ Ng: () => (/* binding */ noStoreJson),
|
|
295
|
+
/* harmony export */ yj: () => (/* binding */ errorResponse)
|
|
580
296
|
/* harmony export */ });
|
|
581
297
|
/* harmony import */ var next_server__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(945592);
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
298
|
+
// Shared HTTP response builders for app/api/v1/** route handlers.
|
|
299
|
+
//
|
|
300
|
+
// Goal: every error/success payload across the v1 surface has the same
|
|
301
|
+
// shape. Before this lived inline, response bodies drifted —
|
|
302
|
+
// `{error: "x"}` vs `{message: "x"}`, 400 vs 422 for the same condition,
|
|
303
|
+
// some routes returned Zod's raw issue array, others stringified it.
|
|
590
304
|
|
|
591
|
-
|
|
592
|
-
label: zod__WEBPACK_IMPORTED_MODULE_4__/* .string */ .YjP().nullable().optional(),
|
|
593
|
-
enabled: zod__WEBPACK_IMPORTED_MODULE_4__/* .boolean */ .zMY().optional()
|
|
594
|
-
});
|
|
595
|
-
async function GET(_req, { params }) {
|
|
596
|
-
const { id } = await params;
|
|
597
|
-
const row = (0,_lib_stores_document_sources__WEBPACK_IMPORTED_MODULE_1__/* .getDocumentSource */ .f8)(id);
|
|
598
|
-
if (!row) return (0,_lib_api_responses__WEBPACK_IMPORTED_MODULE_3__/* .notFoundResponse */ .HN)();
|
|
305
|
+
function errorResponse(message, status = 400) {
|
|
599
306
|
return next_server__WEBPACK_IMPORTED_MODULE_0__.NextResponse.json({
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
enabled: row.enabled === 1,
|
|
604
|
-
last_scan_at: row.last_scan_at,
|
|
605
|
-
last_error: row.last_error,
|
|
606
|
-
created_at: row.created_at,
|
|
607
|
-
updated_at: row.updated_at,
|
|
608
|
-
kind: row.kind,
|
|
609
|
-
config: row.config ? JSON.parse(row.config) : null,
|
|
610
|
-
stats: (0,_lib_stores_document_sources__WEBPACK_IMPORTED_MODULE_1__/* .getDocumentSourceStats */ .Io)(row.id)
|
|
307
|
+
error: message
|
|
308
|
+
}, {
|
|
309
|
+
status
|
|
611
310
|
});
|
|
612
311
|
}
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
await (0,_lib_triggers__WEBPACK_IMPORTED_MODULE_2__/* .notifyTriggerHandlers */ .HH)("source_changed");
|
|
620
|
-
return next_server__WEBPACK_IMPORTED_MODULE_0__.NextResponse.json({
|
|
621
|
-
id: row.id,
|
|
622
|
-
path: row.path,
|
|
623
|
-
label: row.label,
|
|
624
|
-
enabled: row.enabled === 1,
|
|
625
|
-
last_scan_at: row.last_scan_at,
|
|
626
|
-
last_error: row.last_error,
|
|
627
|
-
created_at: row.created_at,
|
|
628
|
-
updated_at: row.updated_at,
|
|
629
|
-
kind: row.kind,
|
|
630
|
-
config: row.config ? JSON.parse(row.config) : null,
|
|
631
|
-
stats: (0,_lib_stores_document_sources__WEBPACK_IMPORTED_MODULE_1__/* .getDocumentSourceStats */ .Io)(row.id)
|
|
312
|
+
function notFoundResponse(message = "Not found") {
|
|
313
|
+
return errorResponse(message, 404);
|
|
314
|
+
}
|
|
315
|
+
function createdResponse(data) {
|
|
316
|
+
return next_server__WEBPACK_IMPORTED_MODULE_0__.NextResponse.json(data, {
|
|
317
|
+
status: 201
|
|
632
318
|
});
|
|
633
319
|
}
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
320
|
+
// Wrap a 200 JSON response with a private Cache-Control header. Use on safe
|
|
321
|
+
// GET endpoints that serve user-scoped data the client refetches often (panel
|
|
322
|
+
// mounts, navigation back/forward) but mutates rarely. The TTL is short
|
|
323
|
+
// enough that explicit mutations — which patch the client-side ApiClient
|
|
324
|
+
// cache in place — stay observably consistent without an extra roundtrip.
|
|
325
|
+
//
|
|
326
|
+
// swrSeconds (optional): stale-while-revalidate window. When set, the browser
|
|
327
|
+
// serves the cached response immediately and refreshes in the background,
|
|
328
|
+
// making navigation feel instant. Use for data that can tolerate brief
|
|
329
|
+
// staleness (tool list, agent configs, model list). Omit for real-time data
|
|
330
|
+
// (dashboard metrics, credential state).
|
|
331
|
+
function cachedJson(data, maxAgeSeconds, swrSeconds) {
|
|
332
|
+
const swr = swrSeconds ? `, stale-while-revalidate=${swrSeconds}` : "";
|
|
333
|
+
return next_server__WEBPACK_IMPORTED_MODULE_0__.NextResponse.json(data, {
|
|
334
|
+
headers: {
|
|
335
|
+
"Cache-Control": `private, max-age=${maxAgeSeconds}${swr}`
|
|
336
|
+
}
|
|
337
|
+
});
|
|
338
|
+
}
|
|
339
|
+
// Use for endpoints whose response contains live state that must never be
|
|
340
|
+
// served from cache — credentials, connection status, live config values.
|
|
341
|
+
function noStoreJson(data) {
|
|
342
|
+
return next_server__WEBPACK_IMPORTED_MODULE_0__.NextResponse.json(data, {
|
|
343
|
+
headers: {
|
|
344
|
+
"Cache-Control": "no-store"
|
|
345
|
+
}
|
|
641
346
|
});
|
|
642
347
|
}
|
|
348
|
+
// Validate a JSON request body against a zod schema.
|
|
349
|
+
// Returns either the parsed data or a 400 NextResponse explaining the issue.
|
|
350
|
+
// Caller pattern:
|
|
351
|
+
// const parsed = await validateBody(req, Schema);
|
|
352
|
+
// if (parsed instanceof NextResponse) return parsed;
|
|
353
|
+
// // use parsed.field
|
|
354
|
+
async function validateBody(req, schema) {
|
|
355
|
+
let raw;
|
|
356
|
+
try {
|
|
357
|
+
raw = await req.json();
|
|
358
|
+
} catch {
|
|
359
|
+
return errorResponse("Request body must be valid JSON", 400);
|
|
360
|
+
}
|
|
361
|
+
const parsed = schema.safeParse(raw);
|
|
362
|
+
if (!parsed.success) {
|
|
363
|
+
return errorResponse(parsed.error.issues[0]?.message ?? "invalid body", 400);
|
|
364
|
+
}
|
|
365
|
+
return parsed.data;
|
|
366
|
+
}
|
|
643
367
|
|
|
644
368
|
|
|
645
369
|
/***/ }),
|
|
646
370
|
|
|
647
|
-
/***/
|
|
371
|
+
/***/ 744870:
|
|
648
372
|
/***/ ((module) => {
|
|
649
373
|
|
|
650
|
-
module.exports = require("
|
|
374
|
+
module.exports = require("next/dist/compiled/next-server/app-route.runtime.prod.js");
|
|
651
375
|
|
|
652
376
|
/***/ }),
|
|
653
377
|
|
|
654
|
-
/***/
|
|
378
|
+
/***/ 775919:
|
|
655
379
|
/***/ ((module) => {
|
|
656
380
|
|
|
657
|
-
module.exports = require("node:
|
|
381
|
+
module.exports = require("node:worker_threads");
|
|
658
382
|
|
|
659
383
|
/***/ }),
|
|
660
384
|
|
|
661
|
-
/***/
|
|
385
|
+
/***/ 777030:
|
|
662
386
|
/***/ ((module) => {
|
|
663
387
|
|
|
664
|
-
module.exports =
|
|
388
|
+
module.exports = require("node:net");
|
|
665
389
|
|
|
666
390
|
/***/ }),
|
|
667
391
|
|
|
668
|
-
/***/
|
|
392
|
+
/***/ 781630:
|
|
669
393
|
/***/ ((module) => {
|
|
670
394
|
|
|
671
|
-
module.exports = require("
|
|
395
|
+
module.exports = require("http");
|
|
672
396
|
|
|
673
397
|
/***/ }),
|
|
674
398
|
|
|
675
|
-
/***/
|
|
399
|
+
/***/ 840610:
|
|
676
400
|
/***/ ((module) => {
|
|
677
401
|
|
|
678
|
-
module.exports = require("
|
|
402
|
+
module.exports = require("node:dns");
|
|
679
403
|
|
|
680
404
|
/***/ }),
|
|
681
405
|
|
|
682
|
-
/***/
|
|
406
|
+
/***/ 842482:
|
|
683
407
|
/***/ ((module) => {
|
|
684
408
|
|
|
685
|
-
module.exports =
|
|
409
|
+
module.exports = import("sharp");;
|
|
686
410
|
|
|
687
411
|
/***/ }),
|
|
688
412
|
|
|
689
|
-
/***/
|
|
413
|
+
/***/ 848161:
|
|
690
414
|
/***/ ((module) => {
|
|
691
415
|
|
|
692
|
-
module.exports =
|
|
416
|
+
module.exports = require("node:os");
|
|
693
417
|
|
|
694
418
|
/***/ }),
|
|
695
419
|
|
|
696
|
-
/***/
|
|
420
|
+
/***/ 903295:
|
|
697
421
|
/***/ ((module) => {
|
|
698
422
|
|
|
699
|
-
module.exports = require("
|
|
423
|
+
module.exports = require("next/dist/server/app-render/after-task-async-storage.external.js");
|
|
700
424
|
|
|
701
425
|
/***/ }),
|
|
702
426
|
|
|
703
|
-
/***/
|
|
704
|
-
/***/ ((
|
|
427
|
+
/***/ 914248:
|
|
428
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
429
|
+
|
|
430
|
+
__webpack_require__.r(__webpack_exports__);
|
|
431
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
432
|
+
/* harmony export */ handler: () => (/* binding */ handler),
|
|
433
|
+
/* harmony export */ patchFetch: () => (/* binding */ patchFetch),
|
|
434
|
+
/* harmony export */ routeModule: () => (/* binding */ routeModule),
|
|
435
|
+
/* harmony export */ serverHooks: () => (/* binding */ serverHooks),
|
|
436
|
+
/* harmony export */ workAsyncStorage: () => (/* binding */ workAsyncStorage),
|
|
437
|
+
/* harmony export */ workUnitAsyncStorage: () => (/* binding */ workUnitAsyncStorage)
|
|
438
|
+
/* harmony export */ });
|
|
439
|
+
/* harmony import */ var next_dist_server_route_modules_app_route_module_compiled__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(319225);
|
|
440
|
+
/* 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__);
|
|
441
|
+
/* harmony import */ var next_dist_server_route_kind__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(684006);
|
|
442
|
+
/* harmony import */ var next_dist_server_lib_patch_fetch__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8317);
|
|
443
|
+
/* 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__);
|
|
444
|
+
/* harmony import */ var next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(799373);
|
|
445
|
+
/* 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__);
|
|
446
|
+
/* harmony import */ var next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(434775);
|
|
447
|
+
/* 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__);
|
|
448
|
+
/* harmony import */ var next_dist_server_app_render_manifests_singleton__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(524235);
|
|
449
|
+
/* 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__);
|
|
450
|
+
/* harmony import */ var next_dist_shared_lib_router_utils_app_paths__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(200261);
|
|
451
|
+
/* 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__);
|
|
452
|
+
/* harmony import */ var next_dist_server_base_http_node__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(754365);
|
|
453
|
+
/* 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__);
|
|
454
|
+
/* harmony import */ var next_dist_server_web_spec_extension_adapters_next_request__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(590771);
|
|
455
|
+
/* 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__);
|
|
456
|
+
/* harmony import */ var next_dist_server_lib_trace_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(473461);
|
|
457
|
+
/* 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__);
|
|
458
|
+
/* harmony import */ var next_dist_server_instrumentation_utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(767798);
|
|
459
|
+
/* harmony import */ var next_dist_server_send_response__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(192280);
|
|
460
|
+
/* harmony import */ var next_dist_server_web_utils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(662018);
|
|
461
|
+
/* 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__);
|
|
462
|
+
/* harmony import */ var next_dist_server_lib_cache_control__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(445696);
|
|
463
|
+
/* harmony import */ var next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(347929);
|
|
464
|
+
/* harmony import */ var next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_14__);
|
|
465
|
+
/* harmony import */ var next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(986439);
|
|
466
|
+
/* 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__);
|
|
467
|
+
/* harmony import */ var next_dist_server_lib_route_cache_key__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(710246);
|
|
468
|
+
/* 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__);
|
|
469
|
+
/* harmony import */ var next_dist_server_response_cache__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(137527);
|
|
470
|
+
/* 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__);
|
|
471
|
+
|
|
705
472
|
|
|
706
|
-
module.exports = require("fs");
|
|
707
473
|
|
|
708
|
-
/***/ }),
|
|
709
474
|
|
|
710
|
-
/***/ 638522:
|
|
711
|
-
/***/ ((module) => {
|
|
712
475
|
|
|
713
|
-
module.exports = require("node:zlib");
|
|
714
476
|
|
|
715
|
-
/***/ }),
|
|
716
477
|
|
|
717
|
-
/***/ 663033:
|
|
718
|
-
/***/ ((module) => {
|
|
719
478
|
|
|
720
|
-
module.exports = require("next/dist/server/app-render/work-unit-async-storage.external.js");
|
|
721
479
|
|
|
722
|
-
/***/ }),
|
|
723
480
|
|
|
724
|
-
/***/ 710846:
|
|
725
|
-
/***/ ((module) => {
|
|
726
481
|
|
|
727
|
-
module.exports = require("next/dist/compiled/next-server/app-page.runtime.prod.js");
|
|
728
482
|
|
|
729
|
-
/***/ }),
|
|
730
483
|
|
|
731
|
-
/***/ 731421:
|
|
732
|
-
/***/ ((module) => {
|
|
733
484
|
|
|
734
|
-
module.exports = require("node:child_process");
|
|
735
485
|
|
|
736
|
-
/***/ }),
|
|
737
486
|
|
|
738
|
-
/***/ 739947:
|
|
739
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
740
487
|
|
|
741
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
742
|
-
/* harmony export */ Bm: () => (/* binding */ cachedJson),
|
|
743
|
-
/* harmony export */ HN: () => (/* binding */ notFoundResponse),
|
|
744
|
-
/* harmony export */ Jb: () => (/* binding */ validateBody),
|
|
745
|
-
/* harmony export */ K2: () => (/* binding */ createdResponse),
|
|
746
|
-
/* harmony export */ Ng: () => (/* binding */ noStoreJson),
|
|
747
|
-
/* harmony export */ yj: () => (/* binding */ errorResponse)
|
|
748
|
-
/* harmony export */ });
|
|
749
|
-
/* harmony import */ var next_server__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(945592);
|
|
750
|
-
// Shared HTTP response builders for app/api/v1/** route handlers.
|
|
751
|
-
//
|
|
752
|
-
// Goal: every error/success payload across the v1 surface has the same
|
|
753
|
-
// shape. Before this lived inline, response bodies drifted —
|
|
754
|
-
// `{error: "x"}` vs `{message: "x"}`, 400 vs 422 for the same condition,
|
|
755
|
-
// some routes returned Zod's raw issue array, others stringified it.
|
|
756
488
|
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
489
|
+
// We inject the nextConfigOutput here so that we can use them in the route
|
|
490
|
+
// module.
|
|
491
|
+
const nextConfigOutput = "standalone"
|
|
492
|
+
const routeModule = new next_dist_server_route_modules_app_route_module_compiled__WEBPACK_IMPORTED_MODULE_0__.AppRouteRouteModule({
|
|
493
|
+
definition: {
|
|
494
|
+
kind: next_dist_server_route_kind__WEBPACK_IMPORTED_MODULE_1__.RouteKind.APP_ROUTE,
|
|
495
|
+
page: "/api/v1/documents/sources/[id]/route",
|
|
496
|
+
pathname: "/api/v1/documents/sources/[id]",
|
|
497
|
+
filename: "route",
|
|
498
|
+
bundlePath: "app/api/v1/documents/sources/[id]/route"
|
|
499
|
+
},
|
|
500
|
+
distDir: ".next" || 0,
|
|
501
|
+
relativeProjectDir: false || '',
|
|
502
|
+
resolvedPagePath: "/home/runner/work/jarela/jarela/app/api/v1/documents/sources/[id]/route.ts",
|
|
503
|
+
nextConfigOutput,
|
|
504
|
+
// The lazy require factory ensures that:
|
|
505
|
+
// - In dev: devRequestTimingInternalsEnd is set before userland executes,
|
|
506
|
+
// correctly attributing module load time to application-code rather than
|
|
507
|
+
// framework internals.
|
|
508
|
+
// - In all modes: async modules (route files with top-level await) are
|
|
509
|
+
// handled correctly — require() returns a Promise for such modules, which
|
|
510
|
+
// ensureUserland() awaits before the first request is handled.
|
|
511
|
+
userland: ()=>__webpack_require__(378488),
|
|
512
|
+
// In Turbopack dev mode, also provide a synchronous per-request getter so
|
|
513
|
+
// server HMR updates are picked up without re-executing the entry chunk.
|
|
514
|
+
// Using require() (synchronous) avoids adding async overhead that would be
|
|
515
|
+
// incorrectly attributed to application-code time in devRequestTiming.
|
|
516
|
+
... false ? 0 : {}
|
|
517
|
+
});
|
|
518
|
+
// Pull out the exports that we need to expose from the module. This should
|
|
519
|
+
// be eliminated when we've moved the other routes to the new format. These
|
|
520
|
+
// are used to hook into the route.
|
|
521
|
+
const { workAsyncStorage, workUnitAsyncStorage, serverHooks } = routeModule;
|
|
522
|
+
function patchFetch() {
|
|
523
|
+
return (0,next_dist_server_lib_patch_fetch__WEBPACK_IMPORTED_MODULE_2__.patchFetch)({
|
|
524
|
+
workAsyncStorage,
|
|
525
|
+
workUnitAsyncStorage
|
|
762
526
|
});
|
|
763
527
|
}
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
528
|
+
|
|
529
|
+
async function handler(req, res, ctx) {
|
|
530
|
+
if (ctx.requestMeta) {
|
|
531
|
+
(0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_3__.setRequestMeta)(req, ctx.requestMeta);
|
|
532
|
+
}
|
|
533
|
+
if (routeModule.isDev) {
|
|
534
|
+
(0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_3__.addRequestMeta)(req, 'devRequestTimingInternalsEnd', process.hrtime.bigint());
|
|
535
|
+
}
|
|
536
|
+
let srcPage = "/api/v1/documents/sources/[id]/route";
|
|
537
|
+
// turbopack doesn't normalize `/index` in the page name
|
|
538
|
+
// so we need to to process dynamic routes properly
|
|
539
|
+
// TODO: fix turbopack providing differing value from webpack
|
|
540
|
+
if (false) {} else if (srcPage === '/index') {
|
|
541
|
+
// we always normalize /index specifically
|
|
542
|
+
srcPage = '/';
|
|
543
|
+
}
|
|
544
|
+
const multiZoneDraftMode = false;
|
|
545
|
+
// Registering `instrumentation.ts` usually installs the tracer provider, so
|
|
546
|
+
// do it before starting the request span. The span is started before
|
|
547
|
+
// `prepare`, so route module preparation is part of the request's trace.
|
|
548
|
+
// When this request triggers registration, the lifecycle spans of
|
|
549
|
+
// `instrumentation.ts` are emitted inside the request span.
|
|
550
|
+
const { instrumentation } = await routeModule.ensureInstrumentation(req, {
|
|
551
|
+
deferSpans: true
|
|
770
552
|
});
|
|
553
|
+
return routeModule.traceRequest(req, {
|
|
554
|
+
tracer: (0,next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_4__.getTracer)(),
|
|
555
|
+
spanName: `${req.method || 'GET'} ${srcPage}`,
|
|
556
|
+
httpTarget: req.url,
|
|
557
|
+
instrumentation
|
|
558
|
+
}, (requestSpan, requestRootSpan)=>handleRequest(req, res, ctx, srcPage, multiZoneDraftMode, requestSpan, requestRootSpan));
|
|
771
559
|
}
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
const
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
560
|
+
async function handleRequest(req, res, ctx, srcPage, multiZoneDraftMode, requestSpan, requestRootSpan) {
|
|
561
|
+
const prepareResult = await routeModule.prepare(req, res, {
|
|
562
|
+
srcPage,
|
|
563
|
+
multiZoneDraftMode
|
|
564
|
+
});
|
|
565
|
+
if (!prepareResult) {
|
|
566
|
+
res.statusCode = 400;
|
|
567
|
+
res.end('Bad Request');
|
|
568
|
+
ctx.waitUntil == null ? void 0 : ctx.waitUntil.call(ctx, Promise.resolve());
|
|
569
|
+
return null;
|
|
570
|
+
}
|
|
571
|
+
const { buildId, deploymentId, params, nextConfig, parsedUrl, isDraftMode, prerenderManifest, routerServerContext, isOnDemandRevalidate, revalidateOnlyGenerated, resolvedPathname, clientReferenceManifest, serverActionsManifest, previewProps } = prepareResult;
|
|
572
|
+
const normalizedSrcPage = (0,next_dist_shared_lib_router_utils_app_paths__WEBPACK_IMPORTED_MODULE_6__.normalizeAppPath)(srcPage);
|
|
573
|
+
// Only this route's prerenders can establish ISR or admit generated params.
|
|
574
|
+
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]));
|
|
575
|
+
let isIsr = Boolean(prerenderManifest.dynamicRoutes[normalizedSrcPage] || isPrerendered);
|
|
576
|
+
const render404 = async ()=>{
|
|
577
|
+
// TODO: should route-module itself handle rendering the 404
|
|
578
|
+
if (routerServerContext == null ? void 0 : routerServerContext.render404) {
|
|
579
|
+
await routerServerContext.render404(req, res, parsedUrl, false);
|
|
580
|
+
} else {
|
|
581
|
+
res.end('This page could not be found');
|
|
582
|
+
}
|
|
583
|
+
return null;
|
|
584
|
+
};
|
|
585
|
+
if (isIsr && !isDraftMode) {
|
|
586
|
+
const prerenderInfo = prerenderManifest.dynamicRoutes[normalizedSrcPage];
|
|
587
|
+
if (prerenderInfo) {
|
|
588
|
+
if (prerenderInfo.fallback === false && !isPrerendered) {
|
|
589
|
+
if (nextConfig.adapterPath) {
|
|
590
|
+
return await render404();
|
|
591
|
+
}
|
|
592
|
+
throw new next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_15__.NoFallbackError();
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
let cacheKey = null;
|
|
597
|
+
if (isIsr && !routeModule.isDev && !isDraftMode) {
|
|
598
|
+
cacheKey = resolvedPathname;
|
|
599
|
+
// ensure /index and / is normalized to one key
|
|
600
|
+
cacheKey = cacheKey === '/index' ? '/' : cacheKey;
|
|
601
|
+
}
|
|
602
|
+
// Before rendering (which initializes component tree modules), we have to
|
|
603
|
+
// set the reference manifests to our global store so Server Action's
|
|
604
|
+
// encryption util can access to them at the top level of the page module.
|
|
605
|
+
if (serverActionsManifest && clientReferenceManifest) {
|
|
606
|
+
(0,next_dist_server_app_render_manifests_singleton__WEBPACK_IMPORTED_MODULE_5__.setManifestsSingleton)({
|
|
607
|
+
page: srcPage,
|
|
608
|
+
clientReferenceManifest,
|
|
609
|
+
serverActionsManifest
|
|
610
|
+
});
|
|
611
|
+
}
|
|
612
|
+
const method = req.method || 'GET';
|
|
613
|
+
const tracer = (0,next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_4__.getTracer)();
|
|
614
|
+
const isWrappedByNextServer = Boolean(routerServerContext == null ? void 0 : routerServerContext.isWrappedByNextServer);
|
|
615
|
+
const isMinimalMode = Boolean((0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_3__.getRequestMeta)(req, 'minimalMode'));
|
|
616
|
+
const incrementalCache = (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_3__.getRequestMeta)(req, 'incrementalCache') || await routeModule.getIncrementalCache(req, nextConfig, previewProps, prerenderManifest, isMinimalMode);
|
|
617
|
+
incrementalCache == null ? void 0 : incrementalCache.resetRequestCache();
|
|
618
|
+
globalThis.__incrementalCache = incrementalCache;
|
|
619
|
+
const context = {
|
|
620
|
+
params,
|
|
621
|
+
previewProps,
|
|
622
|
+
renderOpts: {
|
|
623
|
+
experimental: {
|
|
624
|
+
authInterrupts: Boolean(nextConfig.experimental.authInterrupts),
|
|
625
|
+
useCacheTimeout: nextConfig.experimental.useCacheTimeout,
|
|
626
|
+
durableUseCacheEntries: Boolean(nextConfig.experimental.durableUseCacheEntries)
|
|
627
|
+
},
|
|
628
|
+
cacheComponents: Boolean(nextConfig.cacheComponents),
|
|
629
|
+
validationLevel: nextConfig.experimental.instantInsights.validationLevel,
|
|
630
|
+
isDraftMode,
|
|
631
|
+
incrementalCache,
|
|
632
|
+
hmrRefreshHash: (0,next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_3__.getRequestMeta)(req, 'hmrRefreshHash'),
|
|
633
|
+
cacheLifeProfiles: nextConfig.cacheLife,
|
|
634
|
+
staticPageGenerationTimeout: nextConfig.staticPageGenerationTimeout,
|
|
635
|
+
waitUntil: ctx.waitUntil,
|
|
636
|
+
onClose: (cb)=>{
|
|
637
|
+
res.on('close', cb);
|
|
638
|
+
},
|
|
639
|
+
onAfterTaskError: undefined
|
|
640
|
+
},
|
|
641
|
+
sharedContext: {
|
|
642
|
+
buildId,
|
|
643
|
+
deploymentId
|
|
644
|
+
}
|
|
645
|
+
};
|
|
646
|
+
const nodeNextReq = new next_dist_server_base_http_node__WEBPACK_IMPORTED_MODULE_7__.NodeNextRequest(req);
|
|
647
|
+
const nodeNextRes = new next_dist_server_base_http_node__WEBPACK_IMPORTED_MODULE_7__.NodeNextResponse(res);
|
|
648
|
+
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));
|
|
649
|
+
const responseGenerator = async ({ previousCacheEntry })=>{
|
|
650
|
+
try {
|
|
651
|
+
if (!isMinimalMode && isOnDemandRevalidate && revalidateOnlyGenerated && !previousCacheEntry) {
|
|
652
|
+
res.statusCode = 404;
|
|
653
|
+
// on-demand revalidate always sets this header
|
|
654
|
+
res.setHeader('x-nextjs-cache', 'REVALIDATED');
|
|
655
|
+
res.end('This page could not be found');
|
|
656
|
+
return null;
|
|
657
|
+
}
|
|
658
|
+
const response = cacheKey === null ? await routeModule.handle(nextReq, context) : await routeModule.prerender(nextReq, context);
|
|
659
|
+
req.fetchMetrics = context.renderOpts.fetchMetrics;
|
|
660
|
+
let pendingWaitUntil = context.renderOpts.pendingWaitUntil;
|
|
661
|
+
// Attempt using provided waitUntil if available
|
|
662
|
+
// if it's not we fallback to sendResponse's handling
|
|
663
|
+
if (pendingWaitUntil) {
|
|
664
|
+
if (ctx.waitUntil) {
|
|
665
|
+
ctx.waitUntil(pendingWaitUntil);
|
|
666
|
+
pendingWaitUntil = undefined;
|
|
667
|
+
}
|
|
668
|
+
}
|
|
669
|
+
const cacheTags = context.renderOpts.collectedTags;
|
|
670
|
+
// If the request is for a static response, we can cache it so long
|
|
671
|
+
// as it's not edge.
|
|
672
|
+
if (isIsr) {
|
|
673
|
+
const blob = await response.blob();
|
|
674
|
+
// Copy the headers from the response.
|
|
675
|
+
const headers = (0,next_dist_server_web_utils__WEBPACK_IMPORTED_MODULE_12__.toNodeOutgoingHttpHeaders)(response.headers);
|
|
676
|
+
if (cacheTags) {
|
|
677
|
+
headers[next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_14__.NEXT_CACHE_TAGS_HEADER] = cacheTags;
|
|
678
|
+
}
|
|
679
|
+
if (!headers['content-type'] && blob.type) {
|
|
680
|
+
headers['content-type'] = blob.type;
|
|
681
|
+
}
|
|
682
|
+
const revalidate = typeof context.renderOpts.collectedRevalidate === 'undefined' || context.renderOpts.collectedRevalidate >= next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_14__.INFINITE_CACHE ? false : context.renderOpts.collectedRevalidate;
|
|
683
|
+
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
|
|
684
|
+
// explicit `expire` (e.g. via `cacheLife`). This mirrors the
|
|
685
|
+
// build-time fallback in `build/index.ts` so cache entries
|
|
686
|
+
// and the response Cache-Control header agree on the route's
|
|
687
|
+
// effective expire. Routes that opt out of revalidation
|
|
688
|
+
// (`revalidate: false`) or that are dynamic (`revalidate: 0`)
|
|
689
|
+
// keep `expire: undefined`.
|
|
690
|
+
revalidate !== false && revalidate > 0 ? nextConfig.expireTime : undefined : context.renderOpts.collectedExpire;
|
|
691
|
+
// Create the cache entry for the response.
|
|
692
|
+
const cacheEntry = {
|
|
693
|
+
value: {
|
|
694
|
+
kind: next_dist_server_response_cache__WEBPACK_IMPORTED_MODULE_17__.CachedRouteKind.APP_ROUTE,
|
|
695
|
+
status: response.status,
|
|
696
|
+
body: Buffer.from(await blob.arrayBuffer()),
|
|
697
|
+
headers
|
|
698
|
+
},
|
|
699
|
+
cacheControl: {
|
|
700
|
+
revalidate,
|
|
701
|
+
expire
|
|
702
|
+
}
|
|
703
|
+
};
|
|
704
|
+
return cacheEntry;
|
|
705
|
+
} else {
|
|
706
|
+
// send response without caching if not ISR
|
|
707
|
+
await (0,next_dist_server_send_response__WEBPACK_IMPORTED_MODULE_11__/* .sendResponse */ .I)(nodeNextReq, nodeNextRes, response, pendingWaitUntil);
|
|
708
|
+
return null;
|
|
709
|
+
}
|
|
710
|
+
} catch (err) {
|
|
711
|
+
// if this is a background revalidate we need to report
|
|
712
|
+
// the request error here as it won't be bubbled
|
|
713
|
+
if (previousCacheEntry == null ? void 0 : previousCacheEntry.isStale) {
|
|
714
|
+
const silenceLog = false;
|
|
715
|
+
await routeModule.onRequestError(req, err, {
|
|
716
|
+
routerKind: 'App Router',
|
|
717
|
+
routePath: srcPage,
|
|
718
|
+
routeType: 'route',
|
|
719
|
+
revalidateReason: (0,next_dist_server_instrumentation_utils__WEBPACK_IMPORTED_MODULE_10__.getRevalidateReason)({
|
|
720
|
+
isStaticGeneration: cacheKey !== null,
|
|
721
|
+
isOnDemandRevalidate
|
|
722
|
+
})
|
|
723
|
+
}, silenceLog, routerServerContext);
|
|
724
|
+
}
|
|
725
|
+
throw err;
|
|
788
726
|
}
|
|
789
|
-
}
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
727
|
+
};
|
|
728
|
+
const handleResponse = async (currentSpan)=>{
|
|
729
|
+
try {
|
|
730
|
+
var _cacheEntry_value;
|
|
731
|
+
const cacheEntry = await routeModule.handleResponse({
|
|
732
|
+
req,
|
|
733
|
+
nextConfig,
|
|
734
|
+
cacheKey,
|
|
735
|
+
routeKind: next_dist_server_route_kind__WEBPACK_IMPORTED_MODULE_1__.RouteKind.APP_ROUTE,
|
|
736
|
+
isFallback: false,
|
|
737
|
+
previewProps,
|
|
738
|
+
prerenderManifest,
|
|
739
|
+
isRoutePPREnabled: false,
|
|
740
|
+
isOnDemandRevalidate,
|
|
741
|
+
revalidateOnlyGenerated,
|
|
742
|
+
responseGenerator,
|
|
743
|
+
waitUntil: ctx.waitUntil,
|
|
744
|
+
isMinimalMode
|
|
745
|
+
});
|
|
746
|
+
if (cacheEntry !== null && 'error' in cacheEntry) {
|
|
747
|
+
throw cacheEntry.error;
|
|
748
|
+
}
|
|
749
|
+
// we don't create a cacheEntry for ISR
|
|
750
|
+
if (!isIsr) {
|
|
751
|
+
return;
|
|
752
|
+
}
|
|
753
|
+
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) {
|
|
754
|
+
var _cacheEntry_value1;
|
|
755
|
+
throw new Error(`Invariant: app-route received invalid cache entry ${cacheEntry == null ? void 0 : (_cacheEntry_value1 = cacheEntry.value) == null ? void 0 : _cacheEntry_value1.kind}`);
|
|
756
|
+
}
|
|
757
|
+
if (!isMinimalMode) {
|
|
758
|
+
res.setHeader('x-nextjs-cache', isOnDemandRevalidate ? 'REVALIDATED' : cacheEntry.isMiss ? 'MISS' : cacheEntry.isStale ? 'STALE' : 'HIT');
|
|
759
|
+
}
|
|
760
|
+
// Draft mode should never be cached
|
|
761
|
+
if (isDraftMode) {
|
|
762
|
+
res.setHeader('Cache-Control', 'private, no-cache, no-store, max-age=0, must-revalidate');
|
|
763
|
+
}
|
|
764
|
+
const headers = (0,next_dist_server_web_utils__WEBPACK_IMPORTED_MODULE_12__.fromNodeOutgoingHttpHeaders)(cacheEntry.value.headers);
|
|
765
|
+
if (!(isMinimalMode && isIsr)) {
|
|
766
|
+
headers.delete(next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_14__.NEXT_CACHE_TAGS_HEADER);
|
|
767
|
+
}
|
|
768
|
+
// If cache control is already set on the response we don't
|
|
769
|
+
// override it to allow users to customize it via next.config
|
|
770
|
+
if (cacheEntry.cacheControl && !res.getHeader('Cache-Control') && !headers.get('Cache-Control')) {
|
|
771
|
+
headers.set('Cache-Control', (0,next_dist_server_lib_cache_control__WEBPACK_IMPORTED_MODULE_13__.getCacheControlHeader)(cacheEntry.cacheControl));
|
|
772
|
+
}
|
|
773
|
+
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'.
|
|
774
|
+
new Response(cacheEntry.value.body, {
|
|
775
|
+
headers,
|
|
776
|
+
status: cacheEntry.value.status || 200
|
|
777
|
+
}));
|
|
778
|
+
return;
|
|
779
|
+
} catch (err) {
|
|
780
|
+
if (!(err instanceof next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_15__.NoFallbackError)) {
|
|
781
|
+
const silenceLog = false;
|
|
782
|
+
await routeModule.onRequestError(req, err, {
|
|
783
|
+
routerKind: 'App Router',
|
|
784
|
+
routePath: normalizedSrcPage,
|
|
785
|
+
routeType: 'route',
|
|
786
|
+
revalidateReason: (0,next_dist_server_instrumentation_utils__WEBPACK_IMPORTED_MODULE_10__.getRevalidateReason)({
|
|
787
|
+
isStaticGeneration: cacheKey !== null,
|
|
788
|
+
isOnDemandRevalidate
|
|
789
|
+
})
|
|
790
|
+
}, silenceLog, routerServerContext);
|
|
791
|
+
}
|
|
792
|
+
// rethrow so that we can handle serving error page
|
|
793
|
+
// If this is during static generation, throw the error again.
|
|
794
|
+
if (isIsr) throw err;
|
|
795
|
+
// Otherwise, send a 500 response unless the original response has
|
|
796
|
+
// already committed. In that case, preserve its status code for
|
|
797
|
+
// telemetry while still recording the failure and terminating a response
|
|
798
|
+
// that the failed pipeline left open.
|
|
799
|
+
if (res.headersSent) {
|
|
800
|
+
if (currentSpan) {
|
|
801
|
+
const error = err instanceof Error ? err : new Error('Unknown app route error');
|
|
802
|
+
currentSpan.recordException(error);
|
|
803
|
+
currentSpan.setStatus({
|
|
804
|
+
code: next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_4__.SpanStatusCode.ERROR,
|
|
805
|
+
message: error.message
|
|
806
|
+
});
|
|
807
|
+
currentSpan.setAttribute('error.type', error.name);
|
|
808
|
+
}
|
|
809
|
+
if (!res.writableEnded && !res.destroyed) {
|
|
810
|
+
res.end();
|
|
811
|
+
}
|
|
812
|
+
} else {
|
|
813
|
+
await (0,next_dist_server_send_response__WEBPACK_IMPORTED_MODULE_11__/* .sendResponse */ .I)(nodeNextReq, nodeNextRes, new Response(null, {
|
|
814
|
+
status: 500
|
|
815
|
+
}));
|
|
816
|
+
}
|
|
817
|
+
return;
|
|
818
|
+
} finally{
|
|
819
|
+
;
|
|
820
|
+
(()=>{
|
|
821
|
+
if (!currentSpan) {
|
|
822
|
+
return;
|
|
823
|
+
}
|
|
824
|
+
let statusCode = res.statusCode;
|
|
825
|
+
currentSpan.setAttributes({
|
|
826
|
+
'http.status_code': statusCode,
|
|
827
|
+
'next.rsc': false
|
|
828
|
+
});
|
|
829
|
+
if (statusCode && statusCode >= 500) {
|
|
830
|
+
// For 5xx status codes: SHOULD be set to 'Error' span status.
|
|
831
|
+
// x-ref: https://opentelemetry.io/docs/specs/semconv/http/http-spans/#status
|
|
832
|
+
currentSpan.setStatus({
|
|
833
|
+
code: next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_4__.SpanStatusCode.ERROR
|
|
834
|
+
});
|
|
835
|
+
// For span status 'Error', SHOULD set 'error.type' attribute.
|
|
836
|
+
currentSpan.setAttribute('error.type', statusCode.toString());
|
|
837
|
+
}
|
|
838
|
+
const rootSpanAttributes = tracer.getRootSpanAttributes();
|
|
839
|
+
// We were unable to get attributes, probably OTEL is not enabled
|
|
840
|
+
if (!rootSpanAttributes) {
|
|
841
|
+
return;
|
|
842
|
+
}
|
|
843
|
+
if (rootSpanAttributes.get('next.span_type') !== next_dist_server_lib_trace_constants__WEBPACK_IMPORTED_MODULE_9__.BaseServerSpan.handleRequest) {
|
|
844
|
+
console.warn(`Unexpected root span type '${rootSpanAttributes.get('next.span_type')}'. Please report this Next.js issue https://github.com/vercel/next.js`);
|
|
845
|
+
return;
|
|
846
|
+
}
|
|
847
|
+
const route = rootSpanAttributes.get('next.route') || normalizedSrcPage;
|
|
848
|
+
const name = `${method} ${route}`;
|
|
849
|
+
currentSpan.setAttributes({
|
|
850
|
+
'next.route': route,
|
|
851
|
+
'http.route': route,
|
|
852
|
+
'next.span_name': name
|
|
853
|
+
});
|
|
854
|
+
currentSpan.updateName(name);
|
|
855
|
+
// Propagate http.route to the request's root span if it isn't the
|
|
856
|
+
// request span (e.g. a platform-created HTTP span in adapter
|
|
857
|
+
// deployments).
|
|
858
|
+
if (requestRootSpan && requestRootSpan !== currentSpan) {
|
|
859
|
+
requestRootSpan.setAttribute('http.route', route);
|
|
860
|
+
requestRootSpan.updateName(name);
|
|
861
|
+
}
|
|
862
|
+
})();
|
|
797
863
|
}
|
|
798
|
-
}
|
|
799
|
-
|
|
800
|
-
//
|
|
801
|
-
//
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
// if (parsed instanceof NextResponse) return parsed;
|
|
805
|
-
// // use parsed.field
|
|
806
|
-
async function validateBody(req, schema) {
|
|
807
|
-
let raw;
|
|
808
|
-
try {
|
|
809
|
-
raw = await req.json();
|
|
810
|
-
} catch {
|
|
811
|
-
return errorResponse("Request body must be valid JSON", 400);
|
|
812
|
-
}
|
|
813
|
-
const parsed = schema.safeParse(raw);
|
|
814
|
-
if (!parsed.success) {
|
|
815
|
-
return errorResponse(parsed.error.issues[0]?.message ?? "invalid body", 400);
|
|
864
|
+
};
|
|
865
|
+
// When invoked directly, the request span was started before `prepare`;
|
|
866
|
+
// record the request target as normalized by it. next-server's request span
|
|
867
|
+
// already has it.
|
|
868
|
+
if (!isWrappedByNextServer && req.url !== undefined) {
|
|
869
|
+
requestSpan == null ? void 0 : requestSpan.setAttribute('http.target', req.url);
|
|
816
870
|
}
|
|
817
|
-
|
|
871
|
+
await handleResponse(requestSpan);
|
|
818
872
|
}
|
|
819
873
|
|
|
874
|
+
//# sourceMappingURL=app-route.js.map
|
|
820
875
|
|
|
821
|
-
/***/ }),
|
|
822
|
-
|
|
823
|
-
/***/ 744870:
|
|
824
|
-
/***/ ((module) => {
|
|
825
|
-
|
|
826
|
-
module.exports = require("next/dist/compiled/next-server/app-route.runtime.prod.js");
|
|
827
|
-
|
|
828
|
-
/***/ }),
|
|
829
|
-
|
|
830
|
-
/***/ 775919:
|
|
831
|
-
/***/ ((module) => {
|
|
832
|
-
|
|
833
|
-
module.exports = require("node:worker_threads");
|
|
834
|
-
|
|
835
|
-
/***/ }),
|
|
836
|
-
|
|
837
|
-
/***/ 777030:
|
|
838
|
-
/***/ ((module) => {
|
|
839
|
-
|
|
840
|
-
module.exports = require("node:net");
|
|
841
|
-
|
|
842
|
-
/***/ }),
|
|
843
|
-
|
|
844
|
-
/***/ 781630:
|
|
845
|
-
/***/ ((module) => {
|
|
846
|
-
|
|
847
|
-
module.exports = require("http");
|
|
848
|
-
|
|
849
|
-
/***/ }),
|
|
850
|
-
|
|
851
|
-
/***/ 840610:
|
|
852
|
-
/***/ ((module) => {
|
|
853
|
-
|
|
854
|
-
module.exports = require("node:dns");
|
|
855
|
-
|
|
856
|
-
/***/ }),
|
|
857
|
-
|
|
858
|
-
/***/ 842482:
|
|
859
|
-
/***/ ((module) => {
|
|
860
|
-
|
|
861
|
-
module.exports = import("sharp");;
|
|
862
|
-
|
|
863
|
-
/***/ }),
|
|
864
|
-
|
|
865
|
-
/***/ 848161:
|
|
866
|
-
/***/ ((module) => {
|
|
867
|
-
|
|
868
|
-
module.exports = require("node:os");
|
|
869
|
-
|
|
870
|
-
/***/ }),
|
|
871
|
-
|
|
872
|
-
/***/ 903295:
|
|
873
|
-
/***/ ((module) => {
|
|
874
|
-
|
|
875
|
-
module.exports = require("next/dist/server/app-render/after-task-async-storage.external.js");
|
|
876
876
|
|
|
877
877
|
/***/ }),
|
|
878
878
|
|
|
@@ -925,7 +925,7 @@ module.exports = require("next/dist/shared/lib/no-fallback-error.external");
|
|
|
925
925
|
var __webpack_require__ = require("../../../../../../webpack-runtime.js");
|
|
926
926
|
__webpack_require__.C(exports);
|
|
927
927
|
var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
|
|
928
|
-
var __webpack_exports__ = __webpack_require__.X(0, [2970,7377,1813,4891,513,6299,563,8808,
|
|
928
|
+
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__(914248)));
|
|
929
929
|
module.exports = __webpack_exports__;
|
|
930
930
|
|
|
931
931
|
})();
|