@circuitwall/jarela 2.2.1 → 2.4.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 +8 -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 +76 -76
- 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 +100 -93
- package/.next/standalone/.next/server/app/api/v1/access/route.js +176 -169
- package/.next/standalone/.next/server/app/api/v1/agents/[id]/compact/route.js +89 -56
- package/.next/standalone/.next/server/app/api/v1/agents/[id]/compact/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/agents/[id]/display-filters/route.js +139 -127
- package/.next/standalone/.next/server/app/api/v1/agents/[id]/route.js +107 -100
- package/.next/standalone/.next/server/app/api/v1/agents/[id]/thread/route.js +765 -753
- package/.next/standalone/.next/server/app/api/v1/agents/route.js +72 -65
- package/.next/standalone/.next/server/app/api/v1/allowed-sites/[hostname]/route.js +371 -364
- package/.next/standalone/.next/server/app/api/v1/allowed-sites/route.js +809 -802
- package/.next/standalone/.next/server/app/api/v1/artifacts/lifecycle/route.js +9 -2
- package/.next/standalone/.next/server/app/api/v1/attachments/files/route.js +49 -49
- package/.next/standalone/.next/server/app/api/v1/attachments/images/route.js +910 -910
- package/.next/standalone/.next/server/app/api/v1/bridges/[id]/chats/route.js +583 -16
- 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 +41 -30
- package/.next/standalone/.next/server/app/api/v1/bridges/[id]/ignores/route.js +48 -37
- package/.next/standalone/.next/server/app/api/v1/bridges/[id]/lookup/route.js +697 -130
- 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 +703 -136
- 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 +796 -229
- 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 +762 -746
- package/.next/standalone/.next/server/app/api/v1/bridges/[id]/routes/route.js +1050 -1034
- package/.next/standalone/.next/server/app/api/v1/bridges/[id]/status/route.js +673 -106
- 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 +811 -804
- package/.next/standalone/.next/server/app/api/v1/bridges/kinds/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/bridges/route.js +718 -706
- package/.next/standalone/.next/server/app/api/v1/bridges/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/builtin-tools/route.js +9 -9
- 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 +85 -85
- package/.next/standalone/.next/server/app/api/v1/credentials/[id]/route.js +709 -709
- 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 +2 -2
- 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 +10 -10
- package/.next/standalone/.next/server/app/api/v1/dashboard/metrics/route.js +796 -784
- package/.next/standalone/.next/server/app/api/v1/dashboard/pricing/route.js +30 -23
- package/.next/standalone/.next/server/app/api/v1/dashboard/pricing-task/route.js +86 -86
- 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 +57 -57
- 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/search/route.js +385 -378
- package/.next/standalone/.next/server/app/api/v1/documents/settings/route.js +51 -44
- package/.next/standalone/.next/server/app/api/v1/documents/sources/[id]/reindex/route.js +65 -65
- 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 +122 -122
- 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 +37 -37
- 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 +9 -9
- package/.next/standalone/.next/server/app/api/v1/env-sync/allowlist/route.js +375 -368
- package/.next/standalone/.next/server/app/api/v1/env-sync/route.js +51 -44
- package/.next/standalone/.next/server/app/api/v1/events/route.js +745 -178
- 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 +77 -77
- package/.next/standalone/.next/server/app/api/v1/extension/agents/route.js +763 -763
- 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 +51 -44
- package/.next/standalone/.next/server/app/api/v1/extension/browser/foreground/route.js +16 -9
- package/.next/standalone/.next/server/app/api/v1/extension/browser/history/route.js +72 -65
- package/.next/standalone/.next/server/app/api/v1/extension/browser/poll/route.js +41 -34
- package/.next/standalone/.next/server/app/api/v1/extension/browser/progress/route.js +211 -204
- package/.next/standalone/.next/server/app/api/v1/extension/browser/result/route.js +140 -133
- package/.next/standalone/.next/server/app/api/v1/extension/browser/retry/route.js +113 -106
- package/.next/standalone/.next/server/app/api/v1/extension/browser/status/route.js +121 -114
- package/.next/standalone/.next/server/app/api/v1/extension/browser/tabs/route.js +141 -134
- package/.next/standalone/.next/server/app/api/v1/extension/fill/route.js +690 -690
- 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 +93 -93
- 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 +9 -9
- 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 +185 -185
- 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 +171 -171
- 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 +396 -396
- 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 +212 -212
- 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 +235 -235
- package/.next/standalone/.next/server/app/api/v1/fs/browse/route.js +26 -26
- package/.next/standalone/.next/server/app/api/v1/harnesses/[id]/route.js +228 -221
- package/.next/standalone/.next/server/app/api/v1/harnesses/default/route.js +65 -58
- package/.next/standalone/.next/server/app/api/v1/harnesses/route.js +79 -72
- package/.next/standalone/.next/server/app/api/v1/health/probes/route.js +9 -9
- 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 +783 -771
- package/.next/standalone/.next/server/app/api/v1/integrations/[name]/route.js +140 -133
- package/.next/standalone/.next/server/app/api/v1/integrations/[name]/test/route.js +9 -9
- 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 +370 -363
- package/.next/standalone/.next/server/app/api/v1/integrations/gmail/oauth/start/route.js +240 -233
- package/.next/standalone/.next/server/app/api/v1/integrations/gmail/oauth/status/route.js +689 -682
- package/.next/standalone/.next/server/app/api/v1/integrations/outlook/oauth/callback/route.js +886 -879
- package/.next/standalone/.next/server/app/api/v1/integrations/outlook/oauth/start/route.js +115 -108
- package/.next/standalone/.next/server/app/api/v1/integrations/outlook/oauth/status/route.js +955 -948
- package/.next/standalone/.next/server/app/api/v1/integrations/route.js +223 -216
- package/.next/standalone/.next/server/app/api/v1/lifecycle/adoption/route.js +876 -847
- package/.next/standalone/.next/server/app/api/v1/lifecycle/adoption/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/local-file/route.js +26 -26
- package/.next/standalone/.next/server/app/api/v1/logs/route.js +70 -70
- package/.next/standalone/.next/server/app/api/v1/maps/embed/route.js +79 -72
- package/.next/standalone/.next/server/app/api/v1/mcp-servers/[name]/route.js +991 -979
- package/.next/standalone/.next/server/app/api/v1/mcp-servers/registry/route.js +196 -196
- package/.next/standalone/.next/server/app/api/v1/mcp-servers/route.js +19 -7
- package/.next/standalone/.next/server/app/api/v1/memory/[namespace]/[key]/route.js +539 -532
- package/.next/standalone/.next/server/app/api/v1/memory/policy/route.js +86 -79
- package/.next/standalone/.next/server/app/api/v1/memory/route.js +58 -51
- package/.next/standalone/.next/server/app/api/v1/memory/search/route.js +138 -131
- package/.next/standalone/.next/server/app/api/v1/models/[name]/compact-threads/route.js +381 -369
- package/.next/standalone/.next/server/app/api/v1/models/[name]/compact-threads/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/models/[name]/route.js +150 -143
- package/.next/standalone/.next/server/app/api/v1/models/route.js +634 -627
- package/.next/standalone/.next/server/app/api/v1/packages/catalog/route.js +445 -445
- package/.next/standalone/.next/server/app/api/v1/packages/defaults/[id]/route.js +120 -120
- 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 +234 -234
- 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 +407 -407
- 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 +37 -37
- 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 +107 -107
- 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 +228 -228
- 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 +9 -9
- 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 +148 -148
- 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 +787 -787
- 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 +529 -514
- 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 +181 -181
- 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 +258 -258
- 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 +37 -30
- package/.next/standalone/.next/server/app/api/v1/profile/route.js +171 -164
- package/.next/standalone/.next/server/app/api/v1/providers/[provider]/models/route.js +51 -44
- package/.next/standalone/.next/server/app/api/v1/providers/[provider]/probe/route.js +15 -8
- package/.next/standalone/.next/server/app/api/v1/providers/github-copilot/auth/route.js +171 -164
- package/.next/standalone/.next/server/app/api/v1/providers/route.js +101 -94
- package/.next/standalone/.next/server/app/api/v1/proxy-config/route.js +457 -450
- package/.next/standalone/.next/server/app/api/v1/redaction/init/route.js +44 -37
- package/.next/standalone/.next/server/app/api/v1/redaction/route.js +65 -58
- package/.next/standalone/.next/server/app/api/v1/scheduled-tasks/[id]/route.js +617 -605
- package/.next/standalone/.next/server/app/api/v1/scheduled-tasks/[id]/run/route.js +44 -44
- 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 +739 -732
- package/.next/standalone/.next/server/app/api/v1/security/idle-timeout/route.js +329 -322
- package/.next/standalone/.next/server/app/api/v1/security/pin/route.js +204 -197
- package/.next/standalone/.next/server/app/api/v1/security/state/route.js +58 -51
- package/.next/standalone/.next/server/app/api/v1/security/unlock/route.js +183 -176
- package/.next/standalone/.next/server/app/api/v1/security/verify-pin/route.js +194 -187
- package/.next/standalone/.next/server/app/api/v1/setup/test-key/route.js +26 -26
- package/.next/standalone/.next/server/app/api/v1/skills/[id]/route.js +776 -769
- package/.next/standalone/.next/server/app/api/v1/skills/repos/[id]/route.js +122 -115
- package/.next/standalone/.next/server/app/api/v1/skills/repos/route.js +334 -327
- package/.next/standalone/.next/server/app/api/v1/skills/route.js +873 -866
- package/.next/standalone/.next/server/app/api/v1/system/abort/route.js +838 -808
- package/.next/standalone/.next/server/app/api/v1/system/restart/route.js +177 -177
- 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 +164 -164
- package/.next/standalone/.next/server/app/api/v1/tasks/[agent_id]/route.js +122 -115
- package/.next/standalone/.next/server/app/api/v1/tasks/route.js +30 -23
- package/.next/standalone/.next/server/app/api/v1/threads/[thread_id]/activity/route.js +1436 -0
- package/.next/standalone/.next/server/app/api/v1/threads/[thread_id]/activity/route.js.nft.json +1 -0
- package/.next/standalone/.next/server/app/api/v1/threads/[thread_id]/activity/route_client-reference-manifest.js +1 -0
- package/.next/standalone/.next/server/app/api/v1/threads/[thread_id]/context-pin/route.js +638 -631
- package/.next/standalone/.next/server/app/api/v1/threads/[thread_id]/context-pin/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/threads/[thread_id]/route.js +60 -439
- package/.next/standalone/.next/server/app/api/v1/threads/[thread_id]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/v1/threads/[thread_id]/run/route.js +172 -173
- 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 +925 -913
- package/.next/standalone/.next/server/app/api/v1/tools/route.js +2 -2
- 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 +17 -17
- 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 +570 -570
- package/.next/standalone/.next/server/app/api/v1/voice/transcribe/route.js +241 -229
- package/.next/standalone/.next/server/app/api/v1/voice/tts/route.js +989 -977
- package/.next/standalone/.next/server/app/api/v1/watchers/[id]/route.js +40 -28
- package/.next/standalone/.next/server/app/api/v1/watchers/[id]/run/route.js +72 -72
- 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 +128 -128
- package/.next/standalone/.next/server/app/api/v1/watchers/route.js +164 -164
- 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 +62 -62
- package/.next/standalone/.next/server/app/manifest.webmanifest/route.js +436 -436
- package/.next/standalone/.next/server/app/page.js +1179 -743
- package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/setup/page.js +99 -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/{424.js → 1388.js} +441 -1022
- package/.next/standalone/.next/server/chunks/1433.js +1 -1
- package/.next/standalone/.next/server/chunks/1638.js +1 -2
- package/.next/standalone/.next/server/chunks/1738.js +1 -1
- package/.next/standalone/.next/server/chunks/2068.js +47 -10
- package/.next/standalone/.next/server/chunks/210.js +3 -3
- package/.next/standalone/.next/server/chunks/2151.js +31 -1
- package/.next/standalone/.next/server/chunks/2207.js +1 -0
- package/.next/standalone/.next/server/chunks/2447.js +10 -5
- package/.next/standalone/.next/server/chunks/2471.js +45 -45
- package/.next/standalone/.next/server/chunks/2504.js +1 -1
- package/.next/standalone/.next/server/chunks/2695.js +17 -17
- package/.next/standalone/.next/server/chunks/3042.js +24 -16
- package/.next/standalone/.next/server/chunks/{4540.js → 309.js} +104 -38
- package/.next/standalone/.next/server/chunks/{2350.js → 3272.js} +104 -37
- package/.next/standalone/.next/server/chunks/3399.js +526 -526
- package/.next/standalone/.next/server/chunks/3524.js +150 -67
- package/.next/standalone/.next/server/chunks/3566.js +1 -1
- package/.next/standalone/.next/server/chunks/4189.js +946 -0
- package/.next/standalone/.next/server/chunks/4433.js +146 -146
- package/.next/standalone/.next/server/chunks/4508.js +3 -3
- package/.next/standalone/.next/server/chunks/4588.js +1 -0
- package/.next/standalone/.next/server/chunks/46.js +78 -28
- package/.next/standalone/.next/server/chunks/466.js +12 -0
- package/.next/standalone/.next/server/chunks/4868.js +206 -206
- package/.next/standalone/.next/server/chunks/4992.js +13 -0
- package/.next/standalone/.next/server/chunks/5120.js +963 -0
- package/.next/standalone/.next/server/chunks/5701.js +1 -1
- package/.next/standalone/.next/server/chunks/5900.js +1 -1
- package/.next/standalone/.next/server/chunks/5908.js +63 -42
- package/.next/standalone/.next/server/chunks/6142.js +10 -2
- package/.next/standalone/.next/server/chunks/6210.js +1 -0
- package/.next/standalone/.next/server/chunks/6213.js +1 -1
- package/.next/standalone/.next/server/chunks/6649.js +3 -3
- package/.next/standalone/.next/server/chunks/6703.js +3 -3
- package/.next/standalone/.next/server/chunks/7445.js +1 -0
- package/.next/standalone/.next/server/chunks/8067.js +12 -0
- package/.next/standalone/.next/server/chunks/8461.js +24 -17
- package/.next/standalone/.next/server/chunks/8558.js +1 -1
- package/.next/standalone/.next/server/chunks/8724.js +1 -1
- package/.next/standalone/.next/server/chunks/8849.js +91 -91
- package/.next/standalone/.next/server/chunks/9032.js +4 -3
- package/.next/standalone/.next/server/chunks/{2563.js → 9164.js} +33389 -31418
- package/.next/standalone/.next/server/chunks/9237.js +396 -396
- package/.next/standalone/.next/server/chunks/{9640.js → 9304.js} +1672 -575
- package/.next/standalone/.next/server/chunks/9406.js +1 -1
- package/.next/standalone/.next/server/chunks/9590.js +68 -18
- package/.next/standalone/.next/server/chunks/9824.js +98 -98
- package/.next/standalone/.next/server/chunks/9826.js +1 -0
- package/.next/standalone/.next/server/middleware-build-manifest.js +2 -2
- package/.next/standalone/.next/server/middleware.js +486 -415
- 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/chunks/{1395-a340fb0a345382a4.js → 1395-e4a99912b8f83044.js} +13 -1
- package/.next/standalone/.next/static/chunks/app/_global-error/{page-36cb8b428b38b26a.js → page-6fc5f8e744c81802.js} +1 -1
- package/.next/standalone/.next/static/chunks/app/api/v1/access/[identity]/{route-36cb8b428b38b26a.js → route-6fc5f8e744c81802.js} +1 -1
- package/.next/standalone/.next/static/chunks/app/api/v1/access/{route-36cb8b428b38b26a.js → route-6fc5f8e744c81802.js} +1 -1
- package/.next/standalone/.next/static/chunks/app/api/v1/agents/[id]/compact/{route-36cb8b428b38b26a.js → route-6fc5f8e744c81802.js} +1 -1
- package/.next/standalone/.next/static/chunks/app/api/v1/agents/[id]/display-filters/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/agents/[id]/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/agents/[id]/thread/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/agents/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/allowed-sites/[hostname]/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/allowed-sites/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/artifacts/lifecycle/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/attachments/files/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/attachments/images/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/[id]/chats/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/[id]/ignores/[remote_jid]/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/[id]/ignores/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/[id]/lookup/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/[id]/pair/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/[id]/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/[id]/routes/[route_id]/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/[id]/routes/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/[id]/status/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/kinds/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/builtin-tools/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/config/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/credentials/[id]/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/credentials/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/dashboard/currency/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/dashboard/metrics/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/dashboard/pricing/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/dashboard/pricing-task/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/delegations/codex/[job_id]/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/documents/search/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/documents/settings/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/documents/sources/[id]/reindex/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/documents/sources/[id]/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/documents/sources/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/env/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/env-sync/allowlist/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/env-sync/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/events/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/events/test/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/agents/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/browser/activate/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/browser/foreground/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/browser/history/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/browser/poll/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/browser/progress/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/browser/result/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/browser/retry/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/browser/status/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/browser/tabs/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/fill/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/refine/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/turn/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/extensions/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/extensions/tools/[name]/config/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/extensions/tools/[name]/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/extensions/tools/[name]/secrets/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/files/[name]/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/fs/browse/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/harnesses/[id]/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/harnesses/default/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/harnesses/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/health/probes/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/health/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/integrations/[name]/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/integrations/[name]/test/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/integrations/gmail/oauth/callback/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/integrations/gmail/oauth/start/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/integrations/gmail/oauth/status/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/integrations/outlook/oauth/callback/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/integrations/outlook/oauth/start/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/integrations/outlook/oauth/status/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/integrations/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/lifecycle/adoption/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/local-file/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/logs/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/maps/embed/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/mcp-servers/[name]/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/mcp-servers/registry/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/mcp-servers/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/memory/[namespace]/[key]/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/memory/policy/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/memory/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/memory/search/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/models/[name]/compact-threads/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/models/[name]/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/models/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/packages/catalog/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/packages/defaults/[id]/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/packages/install/[id]/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/packages/install/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/packages/manifests/[name]/enabled/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/packages/manifests/[name]/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/packages/manifests/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/packages/reload/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/packages/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/page-capture/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/pending-actions/[id]/approve/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/pending-actions/[id]/deny/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/pending-actions/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/profile/location/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/profile/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/providers/[provider]/models/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/providers/[provider]/probe/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/providers/github-copilot/auth/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/providers/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/proxy-config/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/redaction/init/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/redaction/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/scheduled-tasks/[id]/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/scheduled-tasks/[id]/run/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/scheduled-tasks/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/security/idle-timeout/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/security/pin/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/security/state/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/security/unlock/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/security/verify-pin/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/setup/test-key/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/skills/[id]/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/skills/repos/[id]/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/skills/repos/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/skills/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/system/abort/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/system/restart/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/tailscale/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/tasks/[agent_id]/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/tasks/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/threads/[thread_id]/activity/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/threads/[thread_id]/context-pin/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/threads/[thread_id]/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/threads/[thread_id]/run/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/threads/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/tools/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/update/apply/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/update/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/voice/transcribe/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/voice/tts/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/watchers/[id]/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/watchers/[id]/run/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/watchers/reaction-scripts/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/api/v1/watchers/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/manifest.webmanifest/route-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/app/{page-7017f07f8a7a083c.js → page-04748847c6ff866f.js} +1013 -585
- package/.next/standalone/.next/static/chunks/next/dist/client/components/builtin/app-error-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/next/dist/client/components/builtin/forbidden-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/next/dist/client/components/builtin/not-found-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/chunks/next/dist/client/components/builtin/unauthorized-6fc5f8e744c81802.js +17 -0
- package/.next/standalone/.next/static/css/{d80058f0b9b41c09.css → 2669e8744cc8c212.css} +2 -2
- package/.next/standalone/docs/adoption/changesets.json +358 -0
- package/.next/standalone/lib/skills/builtins/memory-organization/SKILL.md +16 -0
- package/.next/standalone/package.json +3 -3
- package/CHANGELOG.md +44 -0
- package/api/client.ts +9 -0
- package/api/types.ts +29 -0
- package/app/api/v1/lifecycle/adoption/route.ts +14 -2
- package/app/api/v1/models/[name]/compact-threads/route.ts +14 -11
- package/app/api/v1/threads/[thread_id]/activity/route.ts +19 -0
- package/app/api/v1/threads/[thread_id]/context-pin/route.test.ts +1 -0
- package/app/api/v1/threads/[thread_id]/context-pin/route.ts +2 -1
- package/app/api/v1/threads/[thread_id]/route.ts +5 -1
- package/app/api/v1/threads/[thread_id]/run/route.ts +0 -1
- package/components/chat/ChatView.tsx +52 -11
- package/components/chat/ContextBoundary.test.tsx +68 -1
- package/components/chat/ContextBoundary.tsx +92 -13
- package/components/chat/MessageBubble.tsx +12 -0
- package/components/chat/MessageList.test.tsx +31 -0
- package/components/chat/MessageList.tsx +49 -28
- package/components/chat/ToolList.test.tsx +92 -16
- package/components/chat/ToolList.tsx +59 -4
- package/components/chat/chat-helpers.test.tsx +24 -1
- package/components/chat/chat-helpers.ts +47 -4
- package/components/chat/useThreadActivity.test.tsx +113 -0
- package/components/chat/useThreadActivity.ts +94 -0
- package/components/chat/useThreadData.ts +16 -16
- package/components/chat/workflow-step-retry.ts +25 -0
- package/components/integrations/NetworkSection.tsx +2 -2
- package/components/ui/BootScreen.tsx +17 -0
- package/components/ui/WorkflowChecklist.tsx +71 -33
- package/hooks/useSSE.ts +28 -3
- package/lib/agents/citation-checker.test.ts +40 -2
- package/lib/agents/citation-checker.ts +56 -11
- package/lib/agents/compaction-pipeline.test.ts +202 -0
- package/lib/agents/compaction-pipeline.ts +483 -0
- package/lib/agents/context-boundary.ts +5 -6
- package/lib/agents/conversation-summary.ts +37 -21
- package/lib/agents/instruction-edits.test.ts +120 -0
- package/lib/agents/instruction-edits.ts +65 -42
- package/lib/agents/prepare/history-window.test.ts +18 -0
- package/lib/agents/prepare/history-window.ts +11 -2
- package/lib/agents/prepare/request.ts +4 -2
- package/lib/agents/prepare/system-prompt.test.ts +49 -0
- package/lib/agents/prepare/system-prompt.ts +16 -5
- package/lib/agents/prompt-registry.test.ts +5 -140
- package/lib/agents/prompt-registry.ts +45 -1
- package/lib/agents/prompt-variants.ts +146 -0
- package/lib/agents/proposals.test.ts +76 -0
- package/lib/agents/proposals.ts +13 -5
- package/lib/agents/run-registry.test.ts +22 -0
- package/lib/agents/run-registry.ts +29 -0
- package/lib/agents/run-thread.auto-boundary.test.ts +125 -5
- package/lib/agents/run-thread.retry.test.ts +67 -1
- package/lib/agents/run-thread.ts +110 -10
- package/lib/agents/sqlite-checkpoint-saver.test.ts +91 -0
- package/lib/agents/thread-activity.test.ts +31 -0
- package/lib/agents/thread-activity.ts +27 -0
- package/lib/agents/thread-compaction-state.test.ts +82 -0
- package/lib/agents/thread-compaction-state.ts +121 -0
- package/lib/agents/thread-compaction.test.ts +83 -4
- package/lib/agents/thread-compaction.ts +34 -11
- package/lib/agents/warm-summary-background.test.ts +219 -5
- package/lib/agents/warm-summary-background.ts +346 -143
- package/lib/agents/warm-topics.test.ts +191 -0
- package/lib/agents/warm-topics.ts +317 -0
- package/lib/agents/workflow-step-retry.test.ts +96 -0
- package/lib/agents/workflow-step-retry.ts +216 -0
- package/lib/api/browser-control.ts +0 -3
- package/lib/bridges/dispatcher.ts +1 -0
- package/lib/bridges/message-role.test.ts +81 -0
- package/lib/bridges/message-role.ts +23 -10
- package/lib/bridges/types.ts +6 -0
- package/lib/bridges/whatsapp-link.test.ts +32 -0
- package/lib/bridges/whatsapp-link.ts +21 -0
- package/lib/bridges/whatsapp.inbound.test.ts +239 -0
- package/lib/bridges/whatsapp.sender.test.ts +80 -1
- package/lib/bridges/whatsapp.ts +76 -38
- package/lib/db/migrations.ts +5 -0
- package/lib/env/config.ts +2 -0
- package/lib/env/schema.ts +12 -0
- package/lib/lifecycle/changeset-build.test.ts +93 -0
- package/lib/lifecycle/changeset-build.ts +210 -0
- package/lib/lifecycle/changesets.test.ts +101 -0
- package/lib/lifecycle/changesets.ts +166 -0
- package/lib/lifecycle/surface-collect.test.ts +88 -0
- package/lib/lifecycle/surface-collect.ts +64 -0
- package/lib/lifecycle/surface-snapshot.test.ts +104 -0
- package/lib/lifecycle/surface-snapshot.ts +210 -0
- package/lib/memory/record.ts +0 -2
- package/lib/pricing/snapshot.test.ts +70 -0
- package/lib/pricing/snapshot.ts +10 -2
- package/lib/providers/external.ts +0 -2
- package/lib/proxy/dispatcher.test.ts +119 -1
- package/lib/proxy/dispatcher.ts +22 -9
- package/lib/skills/builtins/memory-organization/SKILL.md +16 -0
- package/lib/stores/agent-configs.ts +10 -5
- package/lib/stores/bridges.test.ts +81 -0
- package/lib/stores/bridges.ts +9 -8
- package/lib/stores/proxy-config.test.ts +120 -0
- package/lib/stores/proxy-config.ts +22 -4
- package/lib/stores/threads.test.ts +9 -0
- package/lib/stores/threads.ts +33 -19
- package/lib/stores/version-adoption.test.ts +96 -0
- package/lib/stores/version-adoption.ts +239 -26
- package/lib/stores/workflow-progress.ts +3 -0
- package/lib/tools/communications/calendar.test.ts +43 -2
- package/lib/tools/communications/calendar.ts +2 -0
- package/lib/tools/communications/gmail.test.ts +51 -1
- package/lib/tools/communications/gmail.ts +44 -2
- package/lib/tools/communications/ms-todo.ts +0 -7
- package/lib/tools/communications/outlook-calendar.ts +2 -0
- package/lib/tools/communications/outlook.test.ts +33 -2
- package/lib/tools/communications/outlook.ts +2 -0
- package/lib/tools/filesystem/edit-match.test.ts +133 -0
- package/lib/tools/filesystem/edit-match.ts +7 -2
- package/lib/tools/general/memory.ts +1 -1
- package/lib/tools/general/workflow-progress.ts +2 -0
- package/lib/tools/runtime/catalog.ts +1 -25
- package/lib/tools/support/result-refs.test.ts +131 -0
- package/lib/tools/support/result-refs.ts +41 -9
- package/lib/triggers/registry.ts +0 -4
- package/lib/utils/source-link.test.ts +51 -0
- package/lib/utils/source-link.ts +45 -0
- package/package.json +3 -3
- package/scripts/install-to-system.ps1 +39 -11
- package/scripts/install-to-system.sh +37 -3
- package/.next/standalone/.next/server/chunks/3979.js +0 -581
- package/.next/standalone/.next/server/chunks/5936.js +0 -594
- package/.next/standalone/.next/static/chunks/app/api/v1/agents/[id]/display-filters/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/agents/[id]/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/agents/[id]/thread/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/agents/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/allowed-sites/[hostname]/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/allowed-sites/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/artifacts/lifecycle/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/attachments/files/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/attachments/images/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/[id]/chats/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/[id]/ignores/[remote_jid]/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/[id]/ignores/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/[id]/lookup/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/[id]/pair/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/[id]/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/[id]/routes/[route_id]/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/[id]/routes/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/[id]/status/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/kinds/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/bridges/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/builtin-tools/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/config/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/credentials/[id]/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/credentials/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/dashboard/currency/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/dashboard/metrics/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/dashboard/pricing/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/dashboard/pricing-task/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/delegations/codex/[job_id]/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/documents/search/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/documents/settings/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/documents/sources/[id]/reindex/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/documents/sources/[id]/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/documents/sources/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/env/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/env-sync/allowlist/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/env-sync/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/events/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/events/test/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/agents/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/browser/activate/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/browser/foreground/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/browser/history/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/browser/poll/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/browser/progress/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/browser/result/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/browser/retry/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/browser/status/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/browser/tabs/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/fill/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/refine/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/extension/turn/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/extensions/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/extensions/tools/[name]/config/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/extensions/tools/[name]/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/extensions/tools/[name]/secrets/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/files/[name]/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/fs/browse/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/harnesses/[id]/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/harnesses/default/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/harnesses/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/health/probes/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/health/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/integrations/[name]/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/integrations/[name]/test/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/integrations/gmail/oauth/callback/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/integrations/gmail/oauth/start/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/integrations/gmail/oauth/status/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/integrations/outlook/oauth/callback/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/integrations/outlook/oauth/start/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/integrations/outlook/oauth/status/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/integrations/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/lifecycle/adoption/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/local-file/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/logs/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/maps/embed/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/mcp-servers/[name]/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/mcp-servers/registry/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/mcp-servers/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/memory/[namespace]/[key]/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/memory/policy/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/memory/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/memory/search/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/models/[name]/compact-threads/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/models/[name]/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/models/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/packages/catalog/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/packages/defaults/[id]/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/packages/install/[id]/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/packages/install/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/packages/manifests/[name]/enabled/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/packages/manifests/[name]/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/packages/manifests/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/packages/reload/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/packages/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/page-capture/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/pending-actions/[id]/approve/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/pending-actions/[id]/deny/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/pending-actions/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/profile/location/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/profile/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/providers/[provider]/models/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/providers/[provider]/probe/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/providers/github-copilot/auth/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/providers/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/proxy-config/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/redaction/init/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/redaction/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/scheduled-tasks/[id]/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/scheduled-tasks/[id]/run/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/scheduled-tasks/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/security/idle-timeout/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/security/pin/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/security/state/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/security/unlock/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/security/verify-pin/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/setup/test-key/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/skills/[id]/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/skills/repos/[id]/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/skills/repos/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/skills/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/system/abort/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/system/restart/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/tailscale/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/tasks/[agent_id]/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/tasks/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/threads/[thread_id]/context-pin/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/threads/[thread_id]/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/threads/[thread_id]/run/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/threads/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/tools/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/update/apply/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/update/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/voice/transcribe/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/voice/tts/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/watchers/[id]/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/watchers/[id]/run/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/watchers/reaction-scripts/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/api/v1/watchers/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/app/manifest.webmanifest/route-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/next/dist/client/components/builtin/app-error-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/next/dist/client/components/builtin/forbidden-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/next/dist/client/components/builtin/not-found-36cb8b428b38b26a.js +0 -17
- package/.next/standalone/.next/static/chunks/next/dist/client/components/builtin/unauthorized-36cb8b428b38b26a.js +0 -17
- /package/.next/standalone/.next/static/{NUrC9xax1sp1Q70nlFqS6 → hwujW4hR1b-r3k5WdMxZO}/_buildManifest.js +0 -0
- /package/.next/standalone/.next/static/{NUrC9xax1sp1Q70nlFqS6 → hwujW4hR1b-r3k5WdMxZO}/_ssgManifest.js +0 -0
|
@@ -52,443 +52,51 @@ module.exports = require("next/dist/server/app-render/work-async-storage.externa
|
|
|
52
52
|
|
|
53
53
|
/***/ }),
|
|
54
54
|
|
|
55
|
-
/***/
|
|
56
|
-
/***/ ((
|
|
55
|
+
/***/ 32683:
|
|
56
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
57
57
|
|
|
58
58
|
"use strict";
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
}
|
|
101
|
-
return resolveArray(value);
|
|
102
|
-
}
|
|
103
|
-
function getOrigin(url) {
|
|
104
|
-
let origin = undefined;
|
|
105
|
-
if (typeof url === 'string') {
|
|
106
|
-
try {
|
|
107
|
-
url = new URL(url);
|
|
108
|
-
origin = url.origin;
|
|
109
|
-
} catch {}
|
|
110
|
-
}
|
|
111
|
-
return origin;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
//# sourceMappingURL=utils.js.map
|
|
115
|
-
|
|
116
|
-
/***/ }),
|
|
117
|
-
|
|
118
|
-
/***/ 44870:
|
|
119
|
-
/***/ ((module) => {
|
|
120
|
-
|
|
121
|
-
"use strict";
|
|
122
|
-
module.exports = require("next/dist/compiled/next-server/app-route.runtime.prod.js");
|
|
123
|
-
|
|
124
|
-
/***/ }),
|
|
125
|
-
|
|
126
|
-
/***/ 48954:
|
|
127
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
128
|
-
|
|
129
|
-
"use strict";
|
|
130
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
131
|
-
/* harmony export */ Dg: () => (/* binding */ getAppAccentColor),
|
|
132
|
-
/* harmony export */ Ng: () => (/* binding */ getAppAccentHoverColor),
|
|
133
|
-
/* harmony export */ SN: () => (/* binding */ getAppIssueUrl),
|
|
134
|
-
/* harmony export */ Sy: () => (/* binding */ getAppDescription),
|
|
135
|
-
/* harmony export */ fS: () => (/* binding */ getAppShortName),
|
|
136
|
-
/* harmony export */ fj: () => (/* binding */ getAppName),
|
|
137
|
-
/* harmony export */ qc: () => (/* binding */ getAppIcons)
|
|
138
|
-
/* harmony export */ });
|
|
139
|
-
/* unused harmony exports UPSTREAM_NAME, UPSTREAM_URL, getAppLogoLight, getAppLogoDark */
|
|
140
|
-
// Branding knobs sourced from NEXT_PUBLIC_* env vars so forks can rebrand
|
|
141
|
-
// the app without patching source. NEXT_PUBLIC_* is the right
|
|
142
|
-
// channel here because Next.js inlines these at build time, which lets
|
|
143
|
-
// client components read them directly (no React Context, no server
|
|
144
|
-
// round-trip). Server-only modules read the same keys at runtime.
|
|
145
|
-
//
|
|
146
|
-
// Keep this module client-safe — no Node-only imports, no DB/FS access.
|
|
147
|
-
//
|
|
148
|
-
// IMPORTANT: every read below must spell out `process.env.NEXT_PUBLIC_X` as
|
|
149
|
-
// a literal member expression. Next.js performs a *textual* substitution at
|
|
150
|
-
// build time, so a computed lookup (`process.env[key]`) is left untouched
|
|
151
|
-
// and resolves to `undefined` in the browser bundle.
|
|
152
|
-
const DEFAULT_APP_NAME = "Jarela";
|
|
153
|
-
const DEFAULT_APP_DESCRIPTION = "Jarela — local chat interface for LangGraph agents";
|
|
154
|
-
const DEFAULT_ISSUE_URL = "https://github.com/CircuitWall/jarela/issues/new";
|
|
155
|
-
const DEFAULT_LOGO_LIGHT = "/logo-mark-transparent.png";
|
|
156
|
-
const DEFAULT_LOGO_DARK = "/logo-mark-transparent-dark.png";
|
|
157
|
-
const DEFAULT_ICONS = {
|
|
158
|
-
faviconSvg: "/favicon.svg",
|
|
159
|
-
faviconIco: "/favicon.ico",
|
|
160
|
-
icon192: "/icon-192.png",
|
|
161
|
-
icon512: "/icon-512.png",
|
|
162
|
-
icon192Maskable: "/icon-192-maskable.png",
|
|
163
|
-
icon512Maskable: "/icon-512-maskable.png",
|
|
164
|
-
icon192Light: "/icon-192-light.png",
|
|
165
|
-
icon512Light: "/icon-512-light.png",
|
|
166
|
-
icon192MaskableLight: "/icon-192-maskable-light.png",
|
|
167
|
-
icon512MaskableLight: "/icon-512-maskable-light.png",
|
|
168
|
-
appleTouchIcon: "/apple-touch-icon.png"
|
|
169
|
-
};
|
|
170
|
-
/**
|
|
171
|
-
* Upstream project identity. Deliberately NOT overridable: rebranded
|
|
172
|
-
* overlays still surface a "Powered by Jarela" credit, and upstream-facing
|
|
173
|
-
* machinery (update checks, tool-telemetry issue drafts) keeps pointing
|
|
174
|
-
* here. `getAppIssueUrl()` is the separate, overridable knob for a fork's
|
|
175
|
-
* *own* bug tracker.
|
|
176
|
-
*
|
|
177
|
-
* @public
|
|
178
|
-
*/ const UPSTREAM_NAME = "Jarela";
|
|
179
|
-
/** @public */ const UPSTREAM_URL = "https://github.com/CircuitWall/jarela";
|
|
180
|
-
function pick(value, fallback) {
|
|
181
|
-
const trimmed = value?.trim();
|
|
182
|
-
return trimmed ? trimmed : fallback;
|
|
183
|
-
}
|
|
184
|
-
/** @public */ function getAppName() {
|
|
185
|
-
return pick(process.env.NEXT_PUBLIC_APP_NAME, DEFAULT_APP_NAME);
|
|
186
|
-
}
|
|
187
|
-
/**
|
|
188
|
-
* PWA `short_name`. Falls back to the full app name, so an overlay only has
|
|
189
|
-
* to set `NEXT_PUBLIC_APP_SHORT_NAME` when its name is too long for a
|
|
190
|
-
* home-screen label.
|
|
191
|
-
*
|
|
192
|
-
* @public
|
|
193
|
-
*/ function getAppShortName() {
|
|
194
|
-
return pick(process.env.NEXT_PUBLIC_APP_SHORT_NAME, getAppName());
|
|
195
|
-
}
|
|
196
|
-
/** @public */ function getAppDescription() {
|
|
197
|
-
return pick(process.env.NEXT_PUBLIC_APP_DESCRIPTION, DEFAULT_APP_DESCRIPTION);
|
|
198
|
-
}
|
|
199
|
-
/** @public */ function getAppIssueUrl() {
|
|
200
|
-
return pick(process.env.NEXT_PUBLIC_APP_ISSUE_URL, DEFAULT_ISSUE_URL);
|
|
201
|
-
}
|
|
202
|
-
/**
|
|
203
|
-
* In-app wordmark. Two variants so an overlay can supply marks tuned for
|
|
204
|
-
* light and dark surfaces; the dark one falls back to the light one when a
|
|
205
|
-
* fork ships only a single asset.
|
|
206
|
-
*
|
|
207
|
-
* @public
|
|
208
|
-
*/ function getAppLogoLight() {
|
|
209
|
-
return pick(process.env.NEXT_PUBLIC_APP_LOGO_LIGHT, DEFAULT_LOGO_LIGHT);
|
|
210
|
-
}
|
|
211
|
-
/** @public */ function getAppLogoDark() {
|
|
212
|
-
const dark = process.env.NEXT_PUBLIC_APP_LOGO_DARK?.trim();
|
|
213
|
-
if (dark) return dark;
|
|
214
|
-
const light = process.env.NEXT_PUBLIC_APP_LOGO_LIGHT?.trim();
|
|
215
|
-
return light ? light : DEFAULT_LOGO_DARK;
|
|
216
|
-
}
|
|
217
|
-
/**
|
|
218
|
-
* Favicon / PWA icon set. An overlay that drops replacement files into
|
|
219
|
-
* `public/` under the same names needs none of these; the env vars exist
|
|
220
|
-
* for overlays that keep their assets on other paths or a CDN.
|
|
221
|
-
*
|
|
222
|
-
* @public
|
|
223
|
-
*/ function getAppIcons() {
|
|
224
|
-
return {
|
|
225
|
-
faviconSvg: pick(process.env.NEXT_PUBLIC_APP_FAVICON_SVG, DEFAULT_ICONS.faviconSvg),
|
|
226
|
-
faviconIco: pick(process.env.NEXT_PUBLIC_APP_FAVICON_ICO, DEFAULT_ICONS.faviconIco),
|
|
227
|
-
icon192: pick(process.env.NEXT_PUBLIC_APP_ICON_192, DEFAULT_ICONS.icon192),
|
|
228
|
-
icon512: pick(process.env.NEXT_PUBLIC_APP_ICON_512, DEFAULT_ICONS.icon512),
|
|
229
|
-
icon192Maskable: pick(process.env.NEXT_PUBLIC_APP_ICON_192_MASKABLE, DEFAULT_ICONS.icon192Maskable),
|
|
230
|
-
icon512Maskable: pick(process.env.NEXT_PUBLIC_APP_ICON_512_MASKABLE, DEFAULT_ICONS.icon512Maskable),
|
|
231
|
-
icon192Light: pick(process.env.NEXT_PUBLIC_APP_ICON_192_LIGHT, DEFAULT_ICONS.icon192Light),
|
|
232
|
-
icon512Light: pick(process.env.NEXT_PUBLIC_APP_ICON_512_LIGHT, DEFAULT_ICONS.icon512Light),
|
|
233
|
-
icon192MaskableLight: pick(process.env.NEXT_PUBLIC_APP_ICON_192_MASKABLE_LIGHT, DEFAULT_ICONS.icon192MaskableLight),
|
|
234
|
-
icon512MaskableLight: pick(process.env.NEXT_PUBLIC_APP_ICON_512_MASKABLE_LIGHT, DEFAULT_ICONS.icon512MaskableLight),
|
|
235
|
-
appleTouchIcon: pick(process.env.NEXT_PUBLIC_APP_APPLE_TOUCH_ICON, DEFAULT_ICONS.appleTouchIcon)
|
|
236
|
-
};
|
|
237
|
-
}
|
|
238
|
-
const HEX = /^#(?:[0-9a-f]{3}|[0-9a-f]{6})$/i;
|
|
239
|
-
function hexOrNull(raw) {
|
|
240
|
-
const v = raw?.trim();
|
|
241
|
-
if (!v) return null;
|
|
242
|
-
// We inject this straight into a <style> block, so reject anything that
|
|
243
|
-
// isn't a plain hex literal rather than passing it through.
|
|
244
|
-
return HEX.test(v) ? v : null;
|
|
245
|
-
}
|
|
246
|
-
/**
|
|
247
|
-
* Accent recolor for the overlay's brand color. `null` means "leave the
|
|
248
|
-
* stylesheet alone".
|
|
249
|
-
*
|
|
250
|
-
* @public
|
|
251
|
-
*/ function getAppAccentColor() {
|
|
252
|
-
return hexOrNull(process.env.NEXT_PUBLIC_APP_ACCENT_COLOR);
|
|
253
|
-
}
|
|
254
|
-
/**
|
|
255
|
-
* Hover shade for the accent. When the overlay sets only the base accent,
|
|
256
|
-
* this derives a darker shade so hover states stay coherent.
|
|
257
|
-
*
|
|
258
|
-
* @public
|
|
259
|
-
*/ function getAppAccentHoverColor() {
|
|
260
|
-
const explicit = hexOrNull(process.env.NEXT_PUBLIC_APP_ACCENT_HOVER_COLOR);
|
|
261
|
-
if (explicit) return explicit;
|
|
262
|
-
const accent = getAppAccentColor();
|
|
263
|
-
return accent ? darken(accent, 0.15) : null;
|
|
264
|
-
}
|
|
265
|
-
function darken(hex, amount) {
|
|
266
|
-
const full = hex.length === 4 ? `#${hex[1]}${hex[1]}${hex[2]}${hex[2]}${hex[3]}${hex[3]}` : hex;
|
|
267
|
-
const n = Number.parseInt(full.slice(1), 16);
|
|
268
|
-
const clamp = (c)=>Math.max(0, Math.min(255, Math.round(c * (1 - amount))));
|
|
269
|
-
const r = clamp(n >> 16 & 0xff);
|
|
270
|
-
const g = clamp(n >> 8 & 0xff);
|
|
271
|
-
const b = clamp(n & 0xff);
|
|
272
|
-
return `#${(r << 16 | g << 8 | b).toString(16).padStart(6, "0")}`;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
/***/ }),
|
|
277
|
-
|
|
278
|
-
/***/ 55511:
|
|
279
|
-
/***/ ((module) => {
|
|
280
|
-
|
|
281
|
-
"use strict";
|
|
282
|
-
module.exports = require("crypto");
|
|
283
|
-
|
|
284
|
-
/***/ }),
|
|
285
|
-
|
|
286
|
-
/***/ 63033:
|
|
287
|
-
/***/ ((module) => {
|
|
288
|
-
|
|
289
|
-
"use strict";
|
|
290
|
-
module.exports = require("next/dist/server/app-render/work-unit-async-storage.external.js");
|
|
291
|
-
|
|
292
|
-
/***/ }),
|
|
293
|
-
|
|
294
|
-
/***/ 77651:
|
|
295
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
296
|
-
|
|
297
|
-
"use strict";
|
|
298
|
-
// ESM COMPAT FLAG
|
|
299
|
-
__webpack_require__.r(__webpack_exports__);
|
|
300
|
-
|
|
301
|
-
// EXPORTS
|
|
302
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
303
|
-
GET: () => (/* binding */ GET)
|
|
304
|
-
});
|
|
305
|
-
|
|
306
|
-
// EXTERNAL MODULE: ./node_modules/next/dist/api/server.js
|
|
307
|
-
var server = __webpack_require__(23211);
|
|
308
|
-
// EXTERNAL MODULE: ./lib/env/app-config.ts
|
|
309
|
-
var app_config = __webpack_require__(48954);
|
|
310
|
-
;// ./lib/env/app-manifest.ts
|
|
311
|
-
|
|
312
|
-
// PWA manifest content, derived from the brand config rather than a static
|
|
313
|
-
// public/manifest.json, so a rebranded overlay gets its own name /
|
|
314
|
-
// short_name / description / icons from the NEXT_PUBLIC_APP_* knobs without
|
|
315
|
-
// editing JSON inside the package.
|
|
316
|
-
//
|
|
317
|
-
// Lives in lib/ (not app/) so it's unit-testable — app/manifest.ts is a thin
|
|
318
|
-
// route wrapper that Next serves at /manifest.webmanifest.
|
|
319
|
-
function buildManifest() {
|
|
320
|
-
const icons = (0,app_config/* getAppIcons */.qc)();
|
|
321
|
-
return {
|
|
322
|
-
name: (0,app_config/* getAppName */.fj)(),
|
|
323
|
-
short_name: (0,app_config/* getAppShortName */.fS)(),
|
|
324
|
-
description: (0,app_config/* getAppDescription */.Sy)(),
|
|
325
|
-
start_url: "/",
|
|
326
|
-
scope: "/",
|
|
327
|
-
display: "standalone",
|
|
328
|
-
display_override: [
|
|
329
|
-
"minimal-ui",
|
|
330
|
-
"standalone"
|
|
331
|
-
],
|
|
332
|
-
background_color: "#09090b",
|
|
333
|
-
theme_color: "#09090b",
|
|
334
|
-
// Not in Next's Manifest type, but valid per the Edge side-panel spec —
|
|
335
|
-
// carried over from the static manifest this replaced.
|
|
336
|
-
...{
|
|
337
|
-
edge_side_panel: {
|
|
338
|
-
preferred_width: 480
|
|
339
|
-
}
|
|
340
|
-
},
|
|
341
|
-
icons: [
|
|
342
|
-
{
|
|
343
|
-
src: icons.icon192,
|
|
344
|
-
sizes: "192x192",
|
|
345
|
-
type: "image/png",
|
|
346
|
-
purpose: "any"
|
|
347
|
-
},
|
|
348
|
-
{
|
|
349
|
-
src: icons.icon192Maskable,
|
|
350
|
-
sizes: "192x192",
|
|
351
|
-
type: "image/png",
|
|
352
|
-
purpose: "maskable"
|
|
353
|
-
},
|
|
354
|
-
{
|
|
355
|
-
src: icons.icon512,
|
|
356
|
-
sizes: "512x512",
|
|
357
|
-
type: "image/png",
|
|
358
|
-
purpose: "any"
|
|
359
|
-
},
|
|
360
|
-
{
|
|
361
|
-
src: icons.icon512Maskable,
|
|
362
|
-
sizes: "512x512",
|
|
363
|
-
type: "image/png",
|
|
364
|
-
purpose: "maskable"
|
|
365
|
-
},
|
|
366
|
-
{
|
|
367
|
-
src: icons.icon192Light,
|
|
368
|
-
sizes: "192x192",
|
|
369
|
-
type: "image/png",
|
|
370
|
-
purpose: "any"
|
|
371
|
-
},
|
|
372
|
-
{
|
|
373
|
-
src: icons.icon192MaskableLight,
|
|
374
|
-
sizes: "192x192",
|
|
375
|
-
type: "image/png",
|
|
376
|
-
purpose: "maskable"
|
|
377
|
-
},
|
|
378
|
-
{
|
|
379
|
-
src: icons.icon512Light,
|
|
380
|
-
sizes: "512x512",
|
|
381
|
-
type: "image/png",
|
|
382
|
-
purpose: "any"
|
|
383
|
-
},
|
|
384
|
-
{
|
|
385
|
-
src: icons.icon512MaskableLight,
|
|
386
|
-
sizes: "512x512",
|
|
387
|
-
type: "image/png",
|
|
388
|
-
purpose: "maskable"
|
|
389
|
-
},
|
|
390
|
-
{
|
|
391
|
-
src: icons.appleTouchIcon,
|
|
392
|
-
sizes: "180x180",
|
|
393
|
-
type: "image/png",
|
|
394
|
-
purpose: "any"
|
|
395
|
-
}
|
|
396
|
-
]
|
|
397
|
-
};
|
|
398
|
-
}
|
|
399
|
-
|
|
400
|
-
;// ./app/manifest.ts
|
|
401
|
-
|
|
402
|
-
// Next serves this at /manifest.webmanifest; app/layout.tsx points
|
|
403
|
-
// metadata.manifest there. Content is brand-config driven — see
|
|
404
|
-
// lib/env/app-manifest.ts.
|
|
405
|
-
/* harmony default export */ const manifest = (buildManifest);
|
|
406
|
-
|
|
407
|
-
// EXTERNAL MODULE: ./node_modules/next/dist/build/webpack/loaders/metadata/resolve-route-data.js
|
|
408
|
-
var resolve_route_data = __webpack_require__(87905);
|
|
409
|
-
;// ./node_modules/next/dist/build/webpack/loaders/next-metadata-route-loader.js?filePath=%2Fhome%2Frunner%2Fwork%2Fjarela%2Fjarela%2Fapp%2Fmanifest.ts&isDynamicRouteExtension=1!?__next_metadata_route__
|
|
410
|
-
/* dynamic asset route */
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
const contentType = "application/manifest+json"
|
|
416
|
-
const fileType = "manifest"
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
if (typeof manifest !== 'function') {
|
|
420
|
-
throw new Error('Default export is missing in "/home/runner/work/jarela/jarela/app/manifest.ts"')
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
async function GET() {
|
|
426
|
-
const data = await manifest()
|
|
427
|
-
const content = (0,resolve_route_data.resolveRouteData)(data, fileType)
|
|
428
|
-
|
|
429
|
-
return new server.NextResponse(content, {
|
|
430
|
-
headers: {
|
|
431
|
-
'Content-Type': contentType,
|
|
432
|
-
'Cache-Control': "public, max-age=0, must-revalidate",
|
|
433
|
-
},
|
|
434
|
-
})
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
/***/ }),
|
|
439
|
-
|
|
440
|
-
/***/ 78335:
|
|
441
|
-
/***/ (() => {
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
/***/ }),
|
|
446
|
-
|
|
447
|
-
/***/ 82885:
|
|
448
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
449
|
-
|
|
450
|
-
"use strict";
|
|
451
|
-
__webpack_require__.r(__webpack_exports__);
|
|
452
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
453
|
-
/* harmony export */ handler: () => (/* binding */ handler),
|
|
454
|
-
/* harmony export */ patchFetch: () => (/* binding */ patchFetch),
|
|
455
|
-
/* harmony export */ routeModule: () => (/* binding */ routeModule),
|
|
456
|
-
/* harmony export */ serverHooks: () => (/* binding */ serverHooks),
|
|
457
|
-
/* harmony export */ workAsyncStorage: () => (/* binding */ workAsyncStorage),
|
|
458
|
-
/* harmony export */ workUnitAsyncStorage: () => (/* binding */ workUnitAsyncStorage)
|
|
459
|
-
/* harmony export */ });
|
|
460
|
-
/* harmony import */ var next_dist_server_route_modules_app_route_module_compiled__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(19225);
|
|
461
|
-
/* 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__);
|
|
462
|
-
/* harmony import */ var next_dist_server_route_kind__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(84006);
|
|
463
|
-
/* harmony import */ var next_dist_server_lib_patch_fetch__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8317);
|
|
464
|
-
/* 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__);
|
|
465
|
-
/* harmony import */ var next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(99373);
|
|
466
|
-
/* 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__);
|
|
467
|
-
/* harmony import */ var next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34775);
|
|
468
|
-
/* 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__);
|
|
469
|
-
/* harmony import */ var next_dist_server_app_render_manifests_singleton__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(24235);
|
|
470
|
-
/* 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__);
|
|
471
|
-
/* harmony import */ var next_dist_shared_lib_router_utils_app_paths__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(261);
|
|
472
|
-
/* 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__);
|
|
473
|
-
/* harmony import */ var next_dist_server_base_http_node__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(54365);
|
|
474
|
-
/* 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__);
|
|
475
|
-
/* harmony import */ var next_dist_server_web_spec_extension_adapters_next_request__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(90771);
|
|
476
|
-
/* 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__);
|
|
477
|
-
/* harmony import */ var next_dist_server_lib_trace_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(73461);
|
|
478
|
-
/* 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__);
|
|
479
|
-
/* harmony import */ var next_dist_server_instrumentation_utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(67798);
|
|
480
|
-
/* harmony import */ var next_dist_server_send_response__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(92280);
|
|
481
|
-
/* harmony import */ var next_dist_server_web_utils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(62018);
|
|
482
|
-
/* 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__);
|
|
483
|
-
/* harmony import */ var next_dist_server_lib_cache_control__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(45696);
|
|
484
|
-
/* harmony import */ var next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(47929);
|
|
485
|
-
/* harmony import */ var next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_14__);
|
|
486
|
-
/* harmony import */ var next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(86439);
|
|
487
|
-
/* 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__);
|
|
488
|
-
/* harmony import */ var next_dist_server_lib_route_cache_key__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(10246);
|
|
489
|
-
/* 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__);
|
|
490
|
-
/* harmony import */ var next_dist_server_response_cache__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(37527);
|
|
491
|
-
/* 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__);
|
|
59
|
+
__webpack_require__.r(__webpack_exports__);
|
|
60
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
61
|
+
/* harmony export */ handler: () => (/* binding */ handler),
|
|
62
|
+
/* harmony export */ patchFetch: () => (/* binding */ patchFetch),
|
|
63
|
+
/* harmony export */ routeModule: () => (/* binding */ routeModule),
|
|
64
|
+
/* harmony export */ serverHooks: () => (/* binding */ serverHooks),
|
|
65
|
+
/* harmony export */ workAsyncStorage: () => (/* binding */ workAsyncStorage),
|
|
66
|
+
/* harmony export */ workUnitAsyncStorage: () => (/* binding */ workUnitAsyncStorage)
|
|
67
|
+
/* harmony export */ });
|
|
68
|
+
/* harmony import */ var next_dist_server_route_modules_app_route_module_compiled__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(19225);
|
|
69
|
+
/* 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__);
|
|
70
|
+
/* harmony import */ var next_dist_server_route_kind__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(84006);
|
|
71
|
+
/* harmony import */ var next_dist_server_lib_patch_fetch__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8317);
|
|
72
|
+
/* 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__);
|
|
73
|
+
/* harmony import */ var next_dist_server_request_meta__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(99373);
|
|
74
|
+
/* 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__);
|
|
75
|
+
/* harmony import */ var next_dist_server_lib_trace_tracer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(34775);
|
|
76
|
+
/* 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__);
|
|
77
|
+
/* harmony import */ var next_dist_server_app_render_manifests_singleton__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(24235);
|
|
78
|
+
/* 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__);
|
|
79
|
+
/* harmony import */ var next_dist_shared_lib_router_utils_app_paths__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(261);
|
|
80
|
+
/* 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__);
|
|
81
|
+
/* harmony import */ var next_dist_server_base_http_node__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(54365);
|
|
82
|
+
/* 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__);
|
|
83
|
+
/* harmony import */ var next_dist_server_web_spec_extension_adapters_next_request__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(90771);
|
|
84
|
+
/* 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__);
|
|
85
|
+
/* harmony import */ var next_dist_server_lib_trace_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(73461);
|
|
86
|
+
/* 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__);
|
|
87
|
+
/* harmony import */ var next_dist_server_instrumentation_utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(67798);
|
|
88
|
+
/* harmony import */ var next_dist_server_send_response__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(92280);
|
|
89
|
+
/* harmony import */ var next_dist_server_web_utils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(62018);
|
|
90
|
+
/* 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__);
|
|
91
|
+
/* harmony import */ var next_dist_server_lib_cache_control__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(45696);
|
|
92
|
+
/* harmony import */ var next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(47929);
|
|
93
|
+
/* harmony import */ var next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(next_dist_lib_constants__WEBPACK_IMPORTED_MODULE_14__);
|
|
94
|
+
/* harmony import */ var next_dist_shared_lib_no_fallback_error_external__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(86439);
|
|
95
|
+
/* 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__);
|
|
96
|
+
/* harmony import */ var next_dist_server_lib_route_cache_key__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(10246);
|
|
97
|
+
/* 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__);
|
|
98
|
+
/* harmony import */ var next_dist_server_response_cache__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(37527);
|
|
99
|
+
/* 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__);
|
|
492
100
|
|
|
493
101
|
|
|
494
102
|
|
|
@@ -887,6 +495,398 @@ async function handler(req, res, ctx) {
|
|
|
887
495
|
//# sourceMappingURL=app-route.js.map
|
|
888
496
|
|
|
889
497
|
|
|
498
|
+
/***/ }),
|
|
499
|
+
|
|
500
|
+
/***/ 33873:
|
|
501
|
+
/***/ ((module) => {
|
|
502
|
+
|
|
503
|
+
"use strict";
|
|
504
|
+
module.exports = require("path");
|
|
505
|
+
|
|
506
|
+
/***/ }),
|
|
507
|
+
|
|
508
|
+
/***/ 37551:
|
|
509
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
510
|
+
|
|
511
|
+
"use strict";
|
|
512
|
+
|
|
513
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
514
|
+
value: true
|
|
515
|
+
}));
|
|
516
|
+
0 && (0);
|
|
517
|
+
function _export(target, all) {
|
|
518
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
519
|
+
enumerable: true,
|
|
520
|
+
get: all[name]
|
|
521
|
+
});
|
|
522
|
+
}
|
|
523
|
+
_export(exports, {
|
|
524
|
+
getOrigin: function() {
|
|
525
|
+
return getOrigin;
|
|
526
|
+
},
|
|
527
|
+
resolveArray: function() {
|
|
528
|
+
return resolveArray;
|
|
529
|
+
},
|
|
530
|
+
resolveAsArrayOrUndefined: function() {
|
|
531
|
+
return resolveAsArrayOrUndefined;
|
|
532
|
+
}
|
|
533
|
+
});
|
|
534
|
+
function resolveArray(value) {
|
|
535
|
+
if (Array.isArray(value)) {
|
|
536
|
+
return value;
|
|
537
|
+
}
|
|
538
|
+
return [
|
|
539
|
+
value
|
|
540
|
+
];
|
|
541
|
+
}
|
|
542
|
+
function resolveAsArrayOrUndefined(value) {
|
|
543
|
+
if (typeof value === 'undefined' || value === null) {
|
|
544
|
+
return undefined;
|
|
545
|
+
}
|
|
546
|
+
return resolveArray(value);
|
|
547
|
+
}
|
|
548
|
+
function getOrigin(url) {
|
|
549
|
+
let origin = undefined;
|
|
550
|
+
if (typeof url === 'string') {
|
|
551
|
+
try {
|
|
552
|
+
url = new URL(url);
|
|
553
|
+
origin = url.origin;
|
|
554
|
+
} catch {}
|
|
555
|
+
}
|
|
556
|
+
return origin;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
//# sourceMappingURL=utils.js.map
|
|
560
|
+
|
|
561
|
+
/***/ }),
|
|
562
|
+
|
|
563
|
+
/***/ 44870:
|
|
564
|
+
/***/ ((module) => {
|
|
565
|
+
|
|
566
|
+
"use strict";
|
|
567
|
+
module.exports = require("next/dist/compiled/next-server/app-route.runtime.prod.js");
|
|
568
|
+
|
|
569
|
+
/***/ }),
|
|
570
|
+
|
|
571
|
+
/***/ 48954:
|
|
572
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
573
|
+
|
|
574
|
+
"use strict";
|
|
575
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
576
|
+
/* harmony export */ Dg: () => (/* binding */ getAppAccentColor),
|
|
577
|
+
/* harmony export */ Ng: () => (/* binding */ getAppAccentHoverColor),
|
|
578
|
+
/* harmony export */ SN: () => (/* binding */ getAppIssueUrl),
|
|
579
|
+
/* harmony export */ Sy: () => (/* binding */ getAppDescription),
|
|
580
|
+
/* harmony export */ fS: () => (/* binding */ getAppShortName),
|
|
581
|
+
/* harmony export */ fj: () => (/* binding */ getAppName),
|
|
582
|
+
/* harmony export */ qc: () => (/* binding */ getAppIcons)
|
|
583
|
+
/* harmony export */ });
|
|
584
|
+
/* unused harmony exports UPSTREAM_NAME, UPSTREAM_URL, getAppLogoLight, getAppLogoDark */
|
|
585
|
+
// Branding knobs sourced from NEXT_PUBLIC_* env vars so forks can rebrand
|
|
586
|
+
// the app without patching source. NEXT_PUBLIC_* is the right
|
|
587
|
+
// channel here because Next.js inlines these at build time, which lets
|
|
588
|
+
// client components read them directly (no React Context, no server
|
|
589
|
+
// round-trip). Server-only modules read the same keys at runtime.
|
|
590
|
+
//
|
|
591
|
+
// Keep this module client-safe — no Node-only imports, no DB/FS access.
|
|
592
|
+
//
|
|
593
|
+
// IMPORTANT: every read below must spell out `process.env.NEXT_PUBLIC_X` as
|
|
594
|
+
// a literal member expression. Next.js performs a *textual* substitution at
|
|
595
|
+
// build time, so a computed lookup (`process.env[key]`) is left untouched
|
|
596
|
+
// and resolves to `undefined` in the browser bundle.
|
|
597
|
+
const DEFAULT_APP_NAME = "Jarela";
|
|
598
|
+
const DEFAULT_APP_DESCRIPTION = "Jarela — local chat interface for LangGraph agents";
|
|
599
|
+
const DEFAULT_ISSUE_URL = "https://github.com/CircuitWall/jarela/issues/new";
|
|
600
|
+
const DEFAULT_LOGO_LIGHT = "/logo-mark-transparent.png";
|
|
601
|
+
const DEFAULT_LOGO_DARK = "/logo-mark-transparent-dark.png";
|
|
602
|
+
const DEFAULT_ICONS = {
|
|
603
|
+
faviconSvg: "/favicon.svg",
|
|
604
|
+
faviconIco: "/favicon.ico",
|
|
605
|
+
icon192: "/icon-192.png",
|
|
606
|
+
icon512: "/icon-512.png",
|
|
607
|
+
icon192Maskable: "/icon-192-maskable.png",
|
|
608
|
+
icon512Maskable: "/icon-512-maskable.png",
|
|
609
|
+
icon192Light: "/icon-192-light.png",
|
|
610
|
+
icon512Light: "/icon-512-light.png",
|
|
611
|
+
icon192MaskableLight: "/icon-192-maskable-light.png",
|
|
612
|
+
icon512MaskableLight: "/icon-512-maskable-light.png",
|
|
613
|
+
appleTouchIcon: "/apple-touch-icon.png"
|
|
614
|
+
};
|
|
615
|
+
/**
|
|
616
|
+
* Upstream project identity. Deliberately NOT overridable: rebranded
|
|
617
|
+
* overlays still surface a "Powered by Jarela" credit, and upstream-facing
|
|
618
|
+
* machinery (update checks, tool-telemetry issue drafts) keeps pointing
|
|
619
|
+
* here. `getAppIssueUrl()` is the separate, overridable knob for a fork's
|
|
620
|
+
* *own* bug tracker.
|
|
621
|
+
*
|
|
622
|
+
* @public
|
|
623
|
+
*/ const UPSTREAM_NAME = "Jarela";
|
|
624
|
+
/** @public */ const UPSTREAM_URL = "https://github.com/CircuitWall/jarela";
|
|
625
|
+
function pick(value, fallback) {
|
|
626
|
+
const trimmed = value?.trim();
|
|
627
|
+
return trimmed ? trimmed : fallback;
|
|
628
|
+
}
|
|
629
|
+
/** @public */ function getAppName() {
|
|
630
|
+
return pick(process.env.NEXT_PUBLIC_APP_NAME, DEFAULT_APP_NAME);
|
|
631
|
+
}
|
|
632
|
+
/**
|
|
633
|
+
* PWA `short_name`. Falls back to the full app name, so an overlay only has
|
|
634
|
+
* to set `NEXT_PUBLIC_APP_SHORT_NAME` when its name is too long for a
|
|
635
|
+
* home-screen label.
|
|
636
|
+
*
|
|
637
|
+
* @public
|
|
638
|
+
*/ function getAppShortName() {
|
|
639
|
+
return pick(process.env.NEXT_PUBLIC_APP_SHORT_NAME, getAppName());
|
|
640
|
+
}
|
|
641
|
+
/** @public */ function getAppDescription() {
|
|
642
|
+
return pick(process.env.NEXT_PUBLIC_APP_DESCRIPTION, DEFAULT_APP_DESCRIPTION);
|
|
643
|
+
}
|
|
644
|
+
/** @public */ function getAppIssueUrl() {
|
|
645
|
+
return pick(process.env.NEXT_PUBLIC_APP_ISSUE_URL, DEFAULT_ISSUE_URL);
|
|
646
|
+
}
|
|
647
|
+
/**
|
|
648
|
+
* In-app wordmark. Two variants so an overlay can supply marks tuned for
|
|
649
|
+
* light and dark surfaces; the dark one falls back to the light one when a
|
|
650
|
+
* fork ships only a single asset.
|
|
651
|
+
*
|
|
652
|
+
* @public
|
|
653
|
+
*/ function getAppLogoLight() {
|
|
654
|
+
return pick(process.env.NEXT_PUBLIC_APP_LOGO_LIGHT, DEFAULT_LOGO_LIGHT);
|
|
655
|
+
}
|
|
656
|
+
/** @public */ function getAppLogoDark() {
|
|
657
|
+
const dark = process.env.NEXT_PUBLIC_APP_LOGO_DARK?.trim();
|
|
658
|
+
if (dark) return dark;
|
|
659
|
+
const light = process.env.NEXT_PUBLIC_APP_LOGO_LIGHT?.trim();
|
|
660
|
+
return light ? light : DEFAULT_LOGO_DARK;
|
|
661
|
+
}
|
|
662
|
+
/**
|
|
663
|
+
* Favicon / PWA icon set. An overlay that drops replacement files into
|
|
664
|
+
* `public/` under the same names needs none of these; the env vars exist
|
|
665
|
+
* for overlays that keep their assets on other paths or a CDN.
|
|
666
|
+
*
|
|
667
|
+
* @public
|
|
668
|
+
*/ function getAppIcons() {
|
|
669
|
+
return {
|
|
670
|
+
faviconSvg: pick(process.env.NEXT_PUBLIC_APP_FAVICON_SVG, DEFAULT_ICONS.faviconSvg),
|
|
671
|
+
faviconIco: pick(process.env.NEXT_PUBLIC_APP_FAVICON_ICO, DEFAULT_ICONS.faviconIco),
|
|
672
|
+
icon192: pick(process.env.NEXT_PUBLIC_APP_ICON_192, DEFAULT_ICONS.icon192),
|
|
673
|
+
icon512: pick(process.env.NEXT_PUBLIC_APP_ICON_512, DEFAULT_ICONS.icon512),
|
|
674
|
+
icon192Maskable: pick(process.env.NEXT_PUBLIC_APP_ICON_192_MASKABLE, DEFAULT_ICONS.icon192Maskable),
|
|
675
|
+
icon512Maskable: pick(process.env.NEXT_PUBLIC_APP_ICON_512_MASKABLE, DEFAULT_ICONS.icon512Maskable),
|
|
676
|
+
icon192Light: pick(process.env.NEXT_PUBLIC_APP_ICON_192_LIGHT, DEFAULT_ICONS.icon192Light),
|
|
677
|
+
icon512Light: pick(process.env.NEXT_PUBLIC_APP_ICON_512_LIGHT, DEFAULT_ICONS.icon512Light),
|
|
678
|
+
icon192MaskableLight: pick(process.env.NEXT_PUBLIC_APP_ICON_192_MASKABLE_LIGHT, DEFAULT_ICONS.icon192MaskableLight),
|
|
679
|
+
icon512MaskableLight: pick(process.env.NEXT_PUBLIC_APP_ICON_512_MASKABLE_LIGHT, DEFAULT_ICONS.icon512MaskableLight),
|
|
680
|
+
appleTouchIcon: pick(process.env.NEXT_PUBLIC_APP_APPLE_TOUCH_ICON, DEFAULT_ICONS.appleTouchIcon)
|
|
681
|
+
};
|
|
682
|
+
}
|
|
683
|
+
const HEX = /^#(?:[0-9a-f]{3}|[0-9a-f]{6})$/i;
|
|
684
|
+
function hexOrNull(raw) {
|
|
685
|
+
const v = raw?.trim();
|
|
686
|
+
if (!v) return null;
|
|
687
|
+
// We inject this straight into a <style> block, so reject anything that
|
|
688
|
+
// isn't a plain hex literal rather than passing it through.
|
|
689
|
+
return HEX.test(v) ? v : null;
|
|
690
|
+
}
|
|
691
|
+
/**
|
|
692
|
+
* Accent recolor for the overlay's brand color. `null` means "leave the
|
|
693
|
+
* stylesheet alone".
|
|
694
|
+
*
|
|
695
|
+
* @public
|
|
696
|
+
*/ function getAppAccentColor() {
|
|
697
|
+
return hexOrNull(process.env.NEXT_PUBLIC_APP_ACCENT_COLOR);
|
|
698
|
+
}
|
|
699
|
+
/**
|
|
700
|
+
* Hover shade for the accent. When the overlay sets only the base accent,
|
|
701
|
+
* this derives a darker shade so hover states stay coherent.
|
|
702
|
+
*
|
|
703
|
+
* @public
|
|
704
|
+
*/ function getAppAccentHoverColor() {
|
|
705
|
+
const explicit = hexOrNull(process.env.NEXT_PUBLIC_APP_ACCENT_HOVER_COLOR);
|
|
706
|
+
if (explicit) return explicit;
|
|
707
|
+
const accent = getAppAccentColor();
|
|
708
|
+
return accent ? darken(accent, 0.15) : null;
|
|
709
|
+
}
|
|
710
|
+
function darken(hex, amount) {
|
|
711
|
+
const full = hex.length === 4 ? `#${hex[1]}${hex[1]}${hex[2]}${hex[2]}${hex[3]}${hex[3]}` : hex;
|
|
712
|
+
const n = Number.parseInt(full.slice(1), 16);
|
|
713
|
+
const clamp = (c)=>Math.max(0, Math.min(255, Math.round(c * (1 - amount))));
|
|
714
|
+
const r = clamp(n >> 16 & 0xff);
|
|
715
|
+
const g = clamp(n >> 8 & 0xff);
|
|
716
|
+
const b = clamp(n & 0xff);
|
|
717
|
+
return `#${(r << 16 | g << 8 | b).toString(16).padStart(6, "0")}`;
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
|
|
721
|
+
/***/ }),
|
|
722
|
+
|
|
723
|
+
/***/ 55511:
|
|
724
|
+
/***/ ((module) => {
|
|
725
|
+
|
|
726
|
+
"use strict";
|
|
727
|
+
module.exports = require("crypto");
|
|
728
|
+
|
|
729
|
+
/***/ }),
|
|
730
|
+
|
|
731
|
+
/***/ 63033:
|
|
732
|
+
/***/ ((module) => {
|
|
733
|
+
|
|
734
|
+
"use strict";
|
|
735
|
+
module.exports = require("next/dist/server/app-render/work-unit-async-storage.external.js");
|
|
736
|
+
|
|
737
|
+
/***/ }),
|
|
738
|
+
|
|
739
|
+
/***/ 77651:
|
|
740
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
741
|
+
|
|
742
|
+
"use strict";
|
|
743
|
+
// ESM COMPAT FLAG
|
|
744
|
+
__webpack_require__.r(__webpack_exports__);
|
|
745
|
+
|
|
746
|
+
// EXPORTS
|
|
747
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
748
|
+
GET: () => (/* binding */ GET)
|
|
749
|
+
});
|
|
750
|
+
|
|
751
|
+
// EXTERNAL MODULE: ./node_modules/next/dist/api/server.js
|
|
752
|
+
var server = __webpack_require__(23211);
|
|
753
|
+
// EXTERNAL MODULE: ./lib/env/app-config.ts
|
|
754
|
+
var app_config = __webpack_require__(48954);
|
|
755
|
+
;// ./lib/env/app-manifest.ts
|
|
756
|
+
|
|
757
|
+
// PWA manifest content, derived from the brand config rather than a static
|
|
758
|
+
// public/manifest.json, so a rebranded overlay gets its own name /
|
|
759
|
+
// short_name / description / icons from the NEXT_PUBLIC_APP_* knobs without
|
|
760
|
+
// editing JSON inside the package.
|
|
761
|
+
//
|
|
762
|
+
// Lives in lib/ (not app/) so it's unit-testable — app/manifest.ts is a thin
|
|
763
|
+
// route wrapper that Next serves at /manifest.webmanifest.
|
|
764
|
+
function buildManifest() {
|
|
765
|
+
const icons = (0,app_config/* getAppIcons */.qc)();
|
|
766
|
+
return {
|
|
767
|
+
name: (0,app_config/* getAppName */.fj)(),
|
|
768
|
+
short_name: (0,app_config/* getAppShortName */.fS)(),
|
|
769
|
+
description: (0,app_config/* getAppDescription */.Sy)(),
|
|
770
|
+
start_url: "/",
|
|
771
|
+
scope: "/",
|
|
772
|
+
display: "standalone",
|
|
773
|
+
display_override: [
|
|
774
|
+
"minimal-ui",
|
|
775
|
+
"standalone"
|
|
776
|
+
],
|
|
777
|
+
background_color: "#09090b",
|
|
778
|
+
theme_color: "#09090b",
|
|
779
|
+
// Not in Next's Manifest type, but valid per the Edge side-panel spec —
|
|
780
|
+
// carried over from the static manifest this replaced.
|
|
781
|
+
...{
|
|
782
|
+
edge_side_panel: {
|
|
783
|
+
preferred_width: 480
|
|
784
|
+
}
|
|
785
|
+
},
|
|
786
|
+
icons: [
|
|
787
|
+
{
|
|
788
|
+
src: icons.icon192,
|
|
789
|
+
sizes: "192x192",
|
|
790
|
+
type: "image/png",
|
|
791
|
+
purpose: "any"
|
|
792
|
+
},
|
|
793
|
+
{
|
|
794
|
+
src: icons.icon192Maskable,
|
|
795
|
+
sizes: "192x192",
|
|
796
|
+
type: "image/png",
|
|
797
|
+
purpose: "maskable"
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
src: icons.icon512,
|
|
801
|
+
sizes: "512x512",
|
|
802
|
+
type: "image/png",
|
|
803
|
+
purpose: "any"
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
src: icons.icon512Maskable,
|
|
807
|
+
sizes: "512x512",
|
|
808
|
+
type: "image/png",
|
|
809
|
+
purpose: "maskable"
|
|
810
|
+
},
|
|
811
|
+
{
|
|
812
|
+
src: icons.icon192Light,
|
|
813
|
+
sizes: "192x192",
|
|
814
|
+
type: "image/png",
|
|
815
|
+
purpose: "any"
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
src: icons.icon192MaskableLight,
|
|
819
|
+
sizes: "192x192",
|
|
820
|
+
type: "image/png",
|
|
821
|
+
purpose: "maskable"
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
src: icons.icon512Light,
|
|
825
|
+
sizes: "512x512",
|
|
826
|
+
type: "image/png",
|
|
827
|
+
purpose: "any"
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
src: icons.icon512MaskableLight,
|
|
831
|
+
sizes: "512x512",
|
|
832
|
+
type: "image/png",
|
|
833
|
+
purpose: "maskable"
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
src: icons.appleTouchIcon,
|
|
837
|
+
sizes: "180x180",
|
|
838
|
+
type: "image/png",
|
|
839
|
+
purpose: "any"
|
|
840
|
+
}
|
|
841
|
+
]
|
|
842
|
+
};
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
;// ./app/manifest.ts
|
|
846
|
+
|
|
847
|
+
// Next serves this at /manifest.webmanifest; app/layout.tsx points
|
|
848
|
+
// metadata.manifest there. Content is brand-config driven — see
|
|
849
|
+
// lib/env/app-manifest.ts.
|
|
850
|
+
/* harmony default export */ const manifest = (buildManifest);
|
|
851
|
+
|
|
852
|
+
// EXTERNAL MODULE: ./node_modules/next/dist/build/webpack/loaders/metadata/resolve-route-data.js
|
|
853
|
+
var resolve_route_data = __webpack_require__(87905);
|
|
854
|
+
;// ./node_modules/next/dist/build/webpack/loaders/next-metadata-route-loader.js?filePath=%2Fhome%2Frunner%2Fwork%2Fjarela%2Fjarela%2Fapp%2Fmanifest.ts&isDynamicRouteExtension=1!?__next_metadata_route__
|
|
855
|
+
/* dynamic asset route */
|
|
856
|
+
|
|
857
|
+
|
|
858
|
+
|
|
859
|
+
|
|
860
|
+
const contentType = "application/manifest+json"
|
|
861
|
+
const fileType = "manifest"
|
|
862
|
+
|
|
863
|
+
|
|
864
|
+
if (typeof manifest !== 'function') {
|
|
865
|
+
throw new Error('Default export is missing in "/home/runner/work/jarela/jarela/app/manifest.ts"')
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
|
|
869
|
+
|
|
870
|
+
async function GET() {
|
|
871
|
+
const data = await manifest()
|
|
872
|
+
const content = (0,resolve_route_data.resolveRouteData)(data, fileType)
|
|
873
|
+
|
|
874
|
+
return new server.NextResponse(content, {
|
|
875
|
+
headers: {
|
|
876
|
+
'Content-Type': contentType,
|
|
877
|
+
'Cache-Control': "public, max-age=0, must-revalidate",
|
|
878
|
+
},
|
|
879
|
+
})
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
|
|
883
|
+
/***/ }),
|
|
884
|
+
|
|
885
|
+
/***/ 78335:
|
|
886
|
+
/***/ (() => {
|
|
887
|
+
|
|
888
|
+
|
|
889
|
+
|
|
890
890
|
/***/ }),
|
|
891
891
|
|
|
892
892
|
/***/ 86439:
|
|
@@ -1096,7 +1096,7 @@ function resolveRouteData(data, fileType) {
|
|
|
1096
1096
|
var __webpack_require__ = require("../../webpack-runtime.js");
|
|
1097
1097
|
__webpack_require__.C(exports);
|
|
1098
1098
|
var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
|
|
1099
|
-
var __webpack_exports__ = __webpack_require__.X(0, [2970,1813], () => (__webpack_exec__(
|
|
1099
|
+
var __webpack_exports__ = __webpack_require__.X(0, [2970,1813], () => (__webpack_exec__(32683)));
|
|
1100
1100
|
module.exports = __webpack_exports__;
|
|
1101
1101
|
|
|
1102
1102
|
})();
|