@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
|
@@ -29582,7 +29582,7 @@ Object.defineProperty(exports, "getImplicitTags", ({
|
|
|
29582
29582
|
}));
|
|
29583
29583
|
const _constants = __webpack_require__(96100);
|
|
29584
29584
|
const _handlers = __webpack_require__(57155);
|
|
29585
|
-
const _encodeheadersafe = __webpack_require__(
|
|
29585
|
+
const _encodeheadersafe = __webpack_require__(37809);
|
|
29586
29586
|
const _lazyresult = __webpack_require__(31147);
|
|
29587
29587
|
const getDerivedTags = (pathname)=>{
|
|
29588
29588
|
const derivedTags = [
|
|
@@ -33056,6 +33056,57 @@ function _stringFormat(Class, format, fnOrRegex, _params = {}) {
|
|
|
33056
33056
|
}
|
|
33057
33057
|
|
|
33058
33058
|
|
|
33059
|
+
/***/ }),
|
|
33060
|
+
|
|
33061
|
+
/***/ 37809:
|
|
33062
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
33063
|
+
|
|
33064
|
+
"use strict";
|
|
33065
|
+
/**
|
|
33066
|
+
* Percent-encode every character other than horizontal tab and printable ASCII
|
|
33067
|
+
* so a value can be safely serialized into an HTTP header.
|
|
33068
|
+
*
|
|
33069
|
+
* Node's `validateHeaderValue` and `fetch`'s ByteString conversion accept
|
|
33070
|
+
* different character ranges. Restricting values to `\t\x20-\x7e` produces a
|
|
33071
|
+
* conservative representation that both can serialize. Characters outside a
|
|
33072
|
+
* transport's accepted range (Hebrew, Arabic, Chinese, emoji, …) would
|
|
33073
|
+
* otherwise throw `ERR_INVALID_CHAR` or a `TypeError`, which crashes ISR or
|
|
33074
|
+
* fails a cache read on every affected request.
|
|
33075
|
+
*
|
|
33076
|
+
* Cache tags are encoded at the public boundaries — tag construction
|
|
33077
|
+
* (`getImplicitTags`, `validateTags`) and invalidation input
|
|
33078
|
+
* (`revalidatePath`, `revalidateTag`, `updateTag`) — so storage, comparison,
|
|
33079
|
+
* and the wire all see the same canonical form.
|
|
33080
|
+
*
|
|
33081
|
+
* The class is narrower than either transport accepts. Everything inside it
|
|
33082
|
+
* passes through byte-for-byte, including `,`, `/`, `%`, `[`, `]`, `_`, `-` and
|
|
33083
|
+
* `\t`, which preserves the comma-separated header format and the
|
|
33084
|
+
* dynamic-segment markers in derived tags (`_N_T_/[slug]/page`).
|
|
33085
|
+
*
|
|
33086
|
+
* Properties:
|
|
33087
|
+
* - Fast-path: input that already fits the class is returned unchanged. This
|
|
33088
|
+
* makes the encoder idempotent on already-encoded `%xx` sequences.
|
|
33089
|
+
* - Matches *runs* of out-of-class code units so surrogate pairs (e.g. an
|
|
33090
|
+
* emoji) are handed to `encodeURIComponent` as a complete code point — a
|
|
33091
|
+
* per-code-unit regex would split the pair and throw `URIError`.
|
|
33092
|
+
*/
|
|
33093
|
+
Object.defineProperty(exports, "__esModule", ({
|
|
33094
|
+
value: true
|
|
33095
|
+
}));
|
|
33096
|
+
Object.defineProperty(exports, "encodeHeaderSafe", ({
|
|
33097
|
+
enumerable: true,
|
|
33098
|
+
get: function() {
|
|
33099
|
+
return encodeHeaderSafe;
|
|
33100
|
+
}
|
|
33101
|
+
}));
|
|
33102
|
+
const OUT_OF_CLASS_CHAR = /[^\t\x20-\x7e]/;
|
|
33103
|
+
const OUT_OF_CLASS_RUN = /[^\t\x20-\x7e]+/g;
|
|
33104
|
+
function encodeHeaderSafe(value) {
|
|
33105
|
+
return OUT_OF_CLASS_CHAR.test(value) ? value.replace(OUT_OF_CLASS_RUN, (run)=>encodeURIComponent(run)) : value;
|
|
33106
|
+
}
|
|
33107
|
+
|
|
33108
|
+
//# sourceMappingURL=encode-header-safe.js.map
|
|
33109
|
+
|
|
33059
33110
|
/***/ }),
|
|
33060
33111
|
|
|
33061
33112
|
/***/ 38169:
|
|
@@ -37202,350 +37253,6 @@ class InvariantError extends Error {
|
|
|
37202
37253
|
} //# sourceMappingURL=invariant-error.js.map
|
|
37203
37254
|
|
|
37204
37255
|
|
|
37205
|
-
/***/ }),
|
|
37206
|
-
|
|
37207
|
-
/***/ 42851:
|
|
37208
|
-
/***/ ((module) => {
|
|
37209
|
-
|
|
37210
|
-
"use strict";
|
|
37211
|
-
|
|
37212
|
-
|
|
37213
|
-
var has = Object.prototype.hasOwnProperty
|
|
37214
|
-
, prefix = '~';
|
|
37215
|
-
|
|
37216
|
-
/**
|
|
37217
|
-
* Constructor to create a storage for our `EE` objects.
|
|
37218
|
-
* An `Events` instance is a plain object whose properties are event names.
|
|
37219
|
-
*
|
|
37220
|
-
* @constructor
|
|
37221
|
-
* @private
|
|
37222
|
-
*/
|
|
37223
|
-
function Events() {}
|
|
37224
|
-
|
|
37225
|
-
//
|
|
37226
|
-
// We try to not inherit from `Object.prototype`. In some engines creating an
|
|
37227
|
-
// instance in this way is faster than calling `Object.create(null)` directly.
|
|
37228
|
-
// If `Object.create(null)` is not supported we prefix the event names with a
|
|
37229
|
-
// character to make sure that the built-in object properties are not
|
|
37230
|
-
// overridden or used as an attack vector.
|
|
37231
|
-
//
|
|
37232
|
-
if (Object.create) {
|
|
37233
|
-
Events.prototype = Object.create(null);
|
|
37234
|
-
|
|
37235
|
-
//
|
|
37236
|
-
// This hack is needed because the `__proto__` property is still inherited in
|
|
37237
|
-
// some old browsers like Android 4, iPhone 5.1, Opera 11 and Safari 5.
|
|
37238
|
-
//
|
|
37239
|
-
if (!new Events().__proto__) prefix = false;
|
|
37240
|
-
}
|
|
37241
|
-
|
|
37242
|
-
/**
|
|
37243
|
-
* Representation of a single event listener.
|
|
37244
|
-
*
|
|
37245
|
-
* @param {Function} fn The listener function.
|
|
37246
|
-
* @param {*} context The context to invoke the listener with.
|
|
37247
|
-
* @param {Boolean} [once=false] Specify if the listener is a one-time listener.
|
|
37248
|
-
* @constructor
|
|
37249
|
-
* @private
|
|
37250
|
-
*/
|
|
37251
|
-
function EE(fn, context, once) {
|
|
37252
|
-
this.fn = fn;
|
|
37253
|
-
this.context = context;
|
|
37254
|
-
this.once = once || false;
|
|
37255
|
-
}
|
|
37256
|
-
|
|
37257
|
-
/**
|
|
37258
|
-
* Add a listener for a given event.
|
|
37259
|
-
*
|
|
37260
|
-
* @param {EventEmitter} emitter Reference to the `EventEmitter` instance.
|
|
37261
|
-
* @param {(String|Symbol)} event The event name.
|
|
37262
|
-
* @param {Function} fn The listener function.
|
|
37263
|
-
* @param {*} context The context to invoke the listener with.
|
|
37264
|
-
* @param {Boolean} once Specify if the listener is a one-time listener.
|
|
37265
|
-
* @returns {EventEmitter}
|
|
37266
|
-
* @private
|
|
37267
|
-
*/
|
|
37268
|
-
function addListener(emitter, event, fn, context, once) {
|
|
37269
|
-
if (typeof fn !== 'function') {
|
|
37270
|
-
throw new TypeError('The listener must be a function');
|
|
37271
|
-
}
|
|
37272
|
-
|
|
37273
|
-
var listener = new EE(fn, context || emitter, once)
|
|
37274
|
-
, evt = prefix ? prefix + event : event;
|
|
37275
|
-
|
|
37276
|
-
if (!emitter._events[evt]) emitter._events[evt] = listener, emitter._eventsCount++;
|
|
37277
|
-
else if (!emitter._events[evt].fn) emitter._events[evt].push(listener);
|
|
37278
|
-
else emitter._events[evt] = [emitter._events[evt], listener];
|
|
37279
|
-
|
|
37280
|
-
return emitter;
|
|
37281
|
-
}
|
|
37282
|
-
|
|
37283
|
-
/**
|
|
37284
|
-
* Clear event by name.
|
|
37285
|
-
*
|
|
37286
|
-
* @param {EventEmitter} emitter Reference to the `EventEmitter` instance.
|
|
37287
|
-
* @param {(String|Symbol)} evt The Event name.
|
|
37288
|
-
* @private
|
|
37289
|
-
*/
|
|
37290
|
-
function clearEvent(emitter, evt) {
|
|
37291
|
-
if (--emitter._eventsCount === 0) emitter._events = new Events();
|
|
37292
|
-
else delete emitter._events[evt];
|
|
37293
|
-
}
|
|
37294
|
-
|
|
37295
|
-
/**
|
|
37296
|
-
* Minimal `EventEmitter` interface that is molded against the Node.js
|
|
37297
|
-
* `EventEmitter` interface.
|
|
37298
|
-
*
|
|
37299
|
-
* @constructor
|
|
37300
|
-
* @public
|
|
37301
|
-
*/
|
|
37302
|
-
function EventEmitter() {
|
|
37303
|
-
this._events = new Events();
|
|
37304
|
-
this._eventsCount = 0;
|
|
37305
|
-
}
|
|
37306
|
-
|
|
37307
|
-
/**
|
|
37308
|
-
* Return an array listing the events for which the emitter has registered
|
|
37309
|
-
* listeners.
|
|
37310
|
-
*
|
|
37311
|
-
* @returns {Array}
|
|
37312
|
-
* @public
|
|
37313
|
-
*/
|
|
37314
|
-
EventEmitter.prototype.eventNames = function eventNames() {
|
|
37315
|
-
var names = []
|
|
37316
|
-
, events
|
|
37317
|
-
, name;
|
|
37318
|
-
|
|
37319
|
-
if (this._eventsCount === 0) return names;
|
|
37320
|
-
|
|
37321
|
-
for (name in (events = this._events)) {
|
|
37322
|
-
if (has.call(events, name)) names.push(prefix ? name.slice(1) : name);
|
|
37323
|
-
}
|
|
37324
|
-
|
|
37325
|
-
if (Object.getOwnPropertySymbols) {
|
|
37326
|
-
return names.concat(Object.getOwnPropertySymbols(events));
|
|
37327
|
-
}
|
|
37328
|
-
|
|
37329
|
-
return names;
|
|
37330
|
-
};
|
|
37331
|
-
|
|
37332
|
-
/**
|
|
37333
|
-
* Return the listeners registered for a given event.
|
|
37334
|
-
*
|
|
37335
|
-
* @param {(String|Symbol)} event The event name.
|
|
37336
|
-
* @returns {Array} The registered listeners.
|
|
37337
|
-
* @public
|
|
37338
|
-
*/
|
|
37339
|
-
EventEmitter.prototype.listeners = function listeners(event) {
|
|
37340
|
-
var evt = prefix ? prefix + event : event
|
|
37341
|
-
, handlers = this._events[evt];
|
|
37342
|
-
|
|
37343
|
-
if (!handlers) return [];
|
|
37344
|
-
if (handlers.fn) return [handlers.fn];
|
|
37345
|
-
|
|
37346
|
-
for (var i = 0, l = handlers.length, ee = new Array(l); i < l; i++) {
|
|
37347
|
-
ee[i] = handlers[i].fn;
|
|
37348
|
-
}
|
|
37349
|
-
|
|
37350
|
-
return ee;
|
|
37351
|
-
};
|
|
37352
|
-
|
|
37353
|
-
/**
|
|
37354
|
-
* Return the number of listeners listening to a given event.
|
|
37355
|
-
*
|
|
37356
|
-
* @param {(String|Symbol)} event The event name.
|
|
37357
|
-
* @returns {Number} The number of listeners.
|
|
37358
|
-
* @public
|
|
37359
|
-
*/
|
|
37360
|
-
EventEmitter.prototype.listenerCount = function listenerCount(event) {
|
|
37361
|
-
var evt = prefix ? prefix + event : event
|
|
37362
|
-
, listeners = this._events[evt];
|
|
37363
|
-
|
|
37364
|
-
if (!listeners) return 0;
|
|
37365
|
-
if (listeners.fn) return 1;
|
|
37366
|
-
return listeners.length;
|
|
37367
|
-
};
|
|
37368
|
-
|
|
37369
|
-
/**
|
|
37370
|
-
* Calls each of the listeners registered for a given event.
|
|
37371
|
-
*
|
|
37372
|
-
* @param {(String|Symbol)} event The event name.
|
|
37373
|
-
* @returns {Boolean} `true` if the event had listeners, else `false`.
|
|
37374
|
-
* @public
|
|
37375
|
-
*/
|
|
37376
|
-
EventEmitter.prototype.emit = function emit(event, a1, a2, a3, a4, a5) {
|
|
37377
|
-
var evt = prefix ? prefix + event : event;
|
|
37378
|
-
|
|
37379
|
-
if (!this._events[evt]) return false;
|
|
37380
|
-
|
|
37381
|
-
var listeners = this._events[evt]
|
|
37382
|
-
, len = arguments.length
|
|
37383
|
-
, args
|
|
37384
|
-
, i;
|
|
37385
|
-
|
|
37386
|
-
if (listeners.fn) {
|
|
37387
|
-
if (listeners.once) this.removeListener(event, listeners.fn, undefined, true);
|
|
37388
|
-
|
|
37389
|
-
switch (len) {
|
|
37390
|
-
case 1: return listeners.fn.call(listeners.context), true;
|
|
37391
|
-
case 2: return listeners.fn.call(listeners.context, a1), true;
|
|
37392
|
-
case 3: return listeners.fn.call(listeners.context, a1, a2), true;
|
|
37393
|
-
case 4: return listeners.fn.call(listeners.context, a1, a2, a3), true;
|
|
37394
|
-
case 5: return listeners.fn.call(listeners.context, a1, a2, a3, a4), true;
|
|
37395
|
-
case 6: return listeners.fn.call(listeners.context, a1, a2, a3, a4, a5), true;
|
|
37396
|
-
}
|
|
37397
|
-
|
|
37398
|
-
for (i = 1, args = new Array(len -1); i < len; i++) {
|
|
37399
|
-
args[i - 1] = arguments[i];
|
|
37400
|
-
}
|
|
37401
|
-
|
|
37402
|
-
listeners.fn.apply(listeners.context, args);
|
|
37403
|
-
} else {
|
|
37404
|
-
var length = listeners.length
|
|
37405
|
-
, j;
|
|
37406
|
-
|
|
37407
|
-
for (i = 0; i < length; i++) {
|
|
37408
|
-
if (listeners[i].once) this.removeListener(event, listeners[i].fn, undefined, true);
|
|
37409
|
-
|
|
37410
|
-
switch (len) {
|
|
37411
|
-
case 1: listeners[i].fn.call(listeners[i].context); break;
|
|
37412
|
-
case 2: listeners[i].fn.call(listeners[i].context, a1); break;
|
|
37413
|
-
case 3: listeners[i].fn.call(listeners[i].context, a1, a2); break;
|
|
37414
|
-
case 4: listeners[i].fn.call(listeners[i].context, a1, a2, a3); break;
|
|
37415
|
-
default:
|
|
37416
|
-
if (!args) for (j = 1, args = new Array(len -1); j < len; j++) {
|
|
37417
|
-
args[j - 1] = arguments[j];
|
|
37418
|
-
}
|
|
37419
|
-
|
|
37420
|
-
listeners[i].fn.apply(listeners[i].context, args);
|
|
37421
|
-
}
|
|
37422
|
-
}
|
|
37423
|
-
}
|
|
37424
|
-
|
|
37425
|
-
return true;
|
|
37426
|
-
};
|
|
37427
|
-
|
|
37428
|
-
/**
|
|
37429
|
-
* Add a listener for a given event.
|
|
37430
|
-
*
|
|
37431
|
-
* @param {(String|Symbol)} event The event name.
|
|
37432
|
-
* @param {Function} fn The listener function.
|
|
37433
|
-
* @param {*} [context=this] The context to invoke the listener with.
|
|
37434
|
-
* @returns {EventEmitter} `this`.
|
|
37435
|
-
* @public
|
|
37436
|
-
*/
|
|
37437
|
-
EventEmitter.prototype.on = function on(event, fn, context) {
|
|
37438
|
-
return addListener(this, event, fn, context, false);
|
|
37439
|
-
};
|
|
37440
|
-
|
|
37441
|
-
/**
|
|
37442
|
-
* Add a one-time listener for a given event.
|
|
37443
|
-
*
|
|
37444
|
-
* @param {(String|Symbol)} event The event name.
|
|
37445
|
-
* @param {Function} fn The listener function.
|
|
37446
|
-
* @param {*} [context=this] The context to invoke the listener with.
|
|
37447
|
-
* @returns {EventEmitter} `this`.
|
|
37448
|
-
* @public
|
|
37449
|
-
*/
|
|
37450
|
-
EventEmitter.prototype.once = function once(event, fn, context) {
|
|
37451
|
-
return addListener(this, event, fn, context, true);
|
|
37452
|
-
};
|
|
37453
|
-
|
|
37454
|
-
/**
|
|
37455
|
-
* Remove the listeners of a given event.
|
|
37456
|
-
*
|
|
37457
|
-
* @param {(String|Symbol)} event The event name.
|
|
37458
|
-
* @param {Function} fn Only remove the listeners that match this function.
|
|
37459
|
-
* @param {*} context Only remove the listeners that have this context.
|
|
37460
|
-
* @param {Boolean} once Only remove one-time listeners.
|
|
37461
|
-
* @returns {EventEmitter} `this`.
|
|
37462
|
-
* @public
|
|
37463
|
-
*/
|
|
37464
|
-
EventEmitter.prototype.removeListener = function removeListener(event, fn, context, once) {
|
|
37465
|
-
var evt = prefix ? prefix + event : event;
|
|
37466
|
-
|
|
37467
|
-
if (!this._events[evt]) return this;
|
|
37468
|
-
if (!fn) {
|
|
37469
|
-
clearEvent(this, evt);
|
|
37470
|
-
return this;
|
|
37471
|
-
}
|
|
37472
|
-
|
|
37473
|
-
var listeners = this._events[evt];
|
|
37474
|
-
|
|
37475
|
-
if (listeners.fn) {
|
|
37476
|
-
if (
|
|
37477
|
-
listeners.fn === fn &&
|
|
37478
|
-
(!once || listeners.once) &&
|
|
37479
|
-
(!context || listeners.context === context)
|
|
37480
|
-
) {
|
|
37481
|
-
clearEvent(this, evt);
|
|
37482
|
-
}
|
|
37483
|
-
} else {
|
|
37484
|
-
for (var i = 0, events = [], length = listeners.length; i < length; i++) {
|
|
37485
|
-
if (
|
|
37486
|
-
listeners[i].fn !== fn ||
|
|
37487
|
-
(once && !listeners[i].once) ||
|
|
37488
|
-
(context && listeners[i].context !== context)
|
|
37489
|
-
) {
|
|
37490
|
-
events.push(listeners[i]);
|
|
37491
|
-
}
|
|
37492
|
-
}
|
|
37493
|
-
|
|
37494
|
-
//
|
|
37495
|
-
// Reset the array, or remove it completely if we have no more listeners.
|
|
37496
|
-
//
|
|
37497
|
-
if (events.length) this._events[evt] = events.length === 1 ? events[0] : events;
|
|
37498
|
-
else clearEvent(this, evt);
|
|
37499
|
-
}
|
|
37500
|
-
|
|
37501
|
-
return this;
|
|
37502
|
-
};
|
|
37503
|
-
|
|
37504
|
-
/**
|
|
37505
|
-
* Remove all listeners, or those of the specified event.
|
|
37506
|
-
*
|
|
37507
|
-
* @param {(String|Symbol)} [event] The event name.
|
|
37508
|
-
* @returns {EventEmitter} `this`.
|
|
37509
|
-
* @public
|
|
37510
|
-
*/
|
|
37511
|
-
EventEmitter.prototype.removeAllListeners = function removeAllListeners(event) {
|
|
37512
|
-
var evt;
|
|
37513
|
-
|
|
37514
|
-
if (event) {
|
|
37515
|
-
evt = prefix ? prefix + event : event;
|
|
37516
|
-
if (this._events[evt]) clearEvent(this, evt);
|
|
37517
|
-
} else {
|
|
37518
|
-
this._events = new Events();
|
|
37519
|
-
this._eventsCount = 0;
|
|
37520
|
-
}
|
|
37521
|
-
|
|
37522
|
-
return this;
|
|
37523
|
-
};
|
|
37524
|
-
|
|
37525
|
-
//
|
|
37526
|
-
// Alias methods names because people roll like that.
|
|
37527
|
-
//
|
|
37528
|
-
EventEmitter.prototype.off = EventEmitter.prototype.removeListener;
|
|
37529
|
-
EventEmitter.prototype.addListener = EventEmitter.prototype.on;
|
|
37530
|
-
|
|
37531
|
-
//
|
|
37532
|
-
// Expose the prefix.
|
|
37533
|
-
//
|
|
37534
|
-
EventEmitter.prefixed = prefix;
|
|
37535
|
-
|
|
37536
|
-
//
|
|
37537
|
-
// Allow `EventEmitter` to be imported as module namespace.
|
|
37538
|
-
//
|
|
37539
|
-
EventEmitter.EventEmitter = EventEmitter;
|
|
37540
|
-
|
|
37541
|
-
//
|
|
37542
|
-
// Expose the module.
|
|
37543
|
-
//
|
|
37544
|
-
if (true) {
|
|
37545
|
-
module.exports = EventEmitter;
|
|
37546
|
-
}
|
|
37547
|
-
|
|
37548
|
-
|
|
37549
37256
|
/***/ }),
|
|
37550
37257
|
|
|
37551
37258
|
/***/ 42868:
|
|
@@ -49607,6 +49314,11 @@ function ensureThreadChannelSummariesTable(db) {
|
|
|
49607
49314
|
if (!cols.some((column)=>column.name === "summary_before_seq")) {
|
|
49608
49315
|
db.exec("ALTER TABLE thread_channel_summaries ADD COLUMN summary_before_seq INTEGER");
|
|
49609
49316
|
}
|
|
49317
|
+
// Stored topic segments (JSON array) so the next compaction can merge new
|
|
49318
|
+
// activity into them instead of re-summarising the channel from scratch.
|
|
49319
|
+
if (!cols.some((column)=>column.name === "topics")) {
|
|
49320
|
+
db.exec("ALTER TABLE thread_channel_summaries ADD COLUMN topics TEXT");
|
|
49321
|
+
}
|
|
49610
49322
|
}
|
|
49611
49323
|
// ADR-0041. Immutable per-assistant-turn snapshot of LLM usage. Written once
|
|
49612
49324
|
// alongside addMessage(...,"assistant",...) and never updated, so the
|
|
@@ -50707,6 +50419,8 @@ function runCryptoMigration(db) {
|
|
|
50707
50419
|
var external_node_util_ = __webpack_require__(57975);
|
|
50708
50420
|
// EXTERNAL MODULE: external "undici"
|
|
50709
50421
|
var external_undici_ = __webpack_require__(9956);
|
|
50422
|
+
// EXTERNAL MODULE: external "node:net"
|
|
50423
|
+
var external_node_net_ = __webpack_require__(77030);
|
|
50710
50424
|
// EXTERNAL MODULE: ./node_modules/@anthropic-ai/sdk/internal/tslib.mjs
|
|
50711
50425
|
var tslib = __webpack_require__(74300);
|
|
50712
50426
|
// EXTERNAL MODULE: ./node_modules/@anthropic-ai/sdk/internal/utils/values.mjs
|
|
@@ -98491,6 +98205,7 @@ const ENV_DEFAULTS = {
|
|
|
98491
98205
|
streamParseTripwire: 6,
|
|
98492
98206
|
recallBudgetMs: 1500,
|
|
98493
98207
|
warmSummaryBudgetMs: 5000,
|
|
98208
|
+
compactionTimeoutMs: 10 * 60000,
|
|
98494
98209
|
maxThreadMessages: 1000,
|
|
98495
98210
|
maxSessionArchives: 50,
|
|
98496
98211
|
// tools
|
|
@@ -98696,6 +98411,17 @@ const ENV_SCHEMA = [
|
|
|
98696
98411
|
agentWritable: false,
|
|
98697
98412
|
min: 60000
|
|
98698
98413
|
},
|
|
98414
|
+
{
|
|
98415
|
+
name: "JARELA_COMPACTION_TIMEOUT_MS",
|
|
98416
|
+
type: "int",
|
|
98417
|
+
default: ENV_DEFAULTS.compactionTimeoutMs,
|
|
98418
|
+
description: "Deadline for one warm-context compaction of a thread; a late result is discarded and the thread is released.",
|
|
98419
|
+
category: "agent",
|
|
98420
|
+
tier: "B",
|
|
98421
|
+
requiresRestart: false,
|
|
98422
|
+
agentWritable: false,
|
|
98423
|
+
min: 30000
|
|
98424
|
+
},
|
|
98699
98425
|
{
|
|
98700
98426
|
name: "JARELA_RUN_REGISTRY_TTL_MS",
|
|
98701
98427
|
type: "int",
|
|
@@ -99344,6 +99070,7 @@ function getConfig() {
|
|
|
99344
99070
|
streamParseTripwire: parsePositiveInt(env.JARELA_STREAM_PARSE_TRIPWIRE, ENV_DEFAULTS.streamParseTripwire),
|
|
99345
99071
|
recallBudgetMs: parseNonNegativeInt(env.JARELA_RECALL_BUDGET_MS, ENV_DEFAULTS.recallBudgetMs),
|
|
99346
99072
|
warmSummaryBudgetMs: parseNonNegativeInt(env.JARELA_WARM_SUMMARY_BUDGET_MS, ENV_DEFAULTS.warmSummaryBudgetMs),
|
|
99073
|
+
compactionTimeoutMs: parsePositiveInt(env.JARELA_COMPACTION_TIMEOUT_MS, ENV_DEFAULTS.compactionTimeoutMs),
|
|
99347
99074
|
maxThreadMessages: parsePositiveInt(env.JARELA_MAX_THREAD_MESSAGES, ENV_DEFAULTS.maxThreadMessages),
|
|
99348
99075
|
maxSessionArchives: parsePositiveInt(env.JARELA_MAX_SESSION_ARCHIVES, ENV_DEFAULTS.maxSessionArchives),
|
|
99349
99076
|
// tools
|
|
@@ -105881,6 +105608,7 @@ function maskSecrets(name, values) {
|
|
|
105881
105608
|
|
|
105882
105609
|
|
|
105883
105610
|
|
|
105611
|
+
|
|
105884
105612
|
const DEFAULT_STATUS = {
|
|
105885
105613
|
mode: "off",
|
|
105886
105614
|
scheme: "http",
|
|
@@ -105931,15 +105659,26 @@ function saveProxyConfig(input) {
|
|
|
105931
105659
|
};
|
|
105932
105660
|
const scheme = input.scheme === "https" ? "https" : "http";
|
|
105933
105661
|
// Manual mode requires host + port. system / off don't.
|
|
105662
|
+
let host = proxy_config_nullable(input.host);
|
|
105934
105663
|
if (input.mode === "manual") {
|
|
105935
|
-
if (!
|
|
105664
|
+
if (!host) return {
|
|
105936
105665
|
error: "host is required in manual mode"
|
|
105937
105666
|
};
|
|
105938
|
-
|
|
105667
|
+
const normalisedHost = normaliseProxyHost(host);
|
|
105668
|
+
if (!normalisedHost) {
|
|
105939
105669
|
return {
|
|
105940
|
-
error: "
|
|
105670
|
+
error: "host must be a hostname or IP address, without scheme, port, path or credentials"
|
|
105941
105671
|
};
|
|
105942
105672
|
}
|
|
105673
|
+
host = normalisedHost;
|
|
105674
|
+
if (input.port == null) return {
|
|
105675
|
+
error: "port must be between 1 and 65535"
|
|
105676
|
+
};
|
|
105677
|
+
}
|
|
105678
|
+
if (input.port != null && (!Number.isInteger(input.port) || input.port <= 0 || input.port > 65535)) {
|
|
105679
|
+
return {
|
|
105680
|
+
error: "port must be between 1 and 65535"
|
|
105681
|
+
};
|
|
105943
105682
|
}
|
|
105944
105683
|
// CA bundle: empty/null clears; non-empty must look like PEM.
|
|
105945
105684
|
let storedCaBundle = null;
|
|
@@ -105974,7 +105713,7 @@ function saveProxyConfig(input) {
|
|
|
105974
105713
|
password = excluded.password,
|
|
105975
105714
|
no_proxy = excluded.no_proxy,
|
|
105976
105715
|
ca_bundle = excluded.ca_bundle,
|
|
105977
|
-
updated_at = excluded.updated_at`).run(input.mode, scheme,
|
|
105716
|
+
updated_at = excluded.updated_at`).run(input.mode, scheme, host, input.port ?? null, proxy_config_nullable(input.username), storedPassword, proxy_config_nullable(input.no_proxy), storedCaBundle, now);
|
|
105978
105717
|
return getProxyConfigStatus();
|
|
105979
105718
|
}
|
|
105980
105719
|
function deleteProxyConfig() {
|
|
@@ -105996,6 +105735,15 @@ function normaliseMode(m) {
|
|
|
105996
105735
|
function normaliseScheme(s) {
|
|
105997
105736
|
return s === "https" ? "https" : "http";
|
|
105998
105737
|
}
|
|
105738
|
+
// The dispatcher builds `${scheme}://${auth}${host}:${port}`, so a pasted URL
|
|
105739
|
+
// or host:port would produce an unusable proxy URL. IPv6 is stored unbracketed;
|
|
105740
|
+
// the dispatcher adds the brackets.
|
|
105741
|
+
function normaliseProxyHost(host) {
|
|
105742
|
+
const unbracketed = host.startsWith("[") && host.endsWith("]") ? host.slice(1, -1) : host;
|
|
105743
|
+
if (/^[A-Za-z0-9](?:[A-Za-z0-9.-]*[A-Za-z0-9])?$/.test(unbracketed)) return unbracketed;
|
|
105744
|
+
if (isIPv6(unbracketed)) return unbracketed;
|
|
105745
|
+
return null;
|
|
105746
|
+
}
|
|
105999
105747
|
function proxy_config_nullable(v) {
|
|
106000
105748
|
if (v == null) return null;
|
|
106001
105749
|
const trimmed = v.trim();
|
|
@@ -106284,7 +106032,25 @@ async function applyProxyConfigFromDb() {
|
|
|
106284
106032
|
// ---------------------------------------------------------------------
|
|
106285
106033
|
function buildProxyUrl(scheme, host, port, username, password) {
|
|
106286
106034
|
const auth = username ? `${encodeURIComponent(username)}${password ? `:${encodeURIComponent(password)}` : ""}@` : "";
|
|
106287
|
-
|
|
106035
|
+
const urlHost = host.includes(":") && !host.startsWith("[") ? `[${host}]` : host;
|
|
106036
|
+
return `${scheme}://${auth}${urlHost}:${port}`;
|
|
106037
|
+
}
|
|
106038
|
+
// undici's EnvHttpProxyAgent has no implicit loopback exemption, so without
|
|
106039
|
+
// these a configured proxy would also receive local traffic (Ollama, the
|
|
106040
|
+
// WhatsApp bridge sidecar, the app's own loopback API).
|
|
106041
|
+
const LOOPBACK_NO_PROXY = [
|
|
106042
|
+
"localhost",
|
|
106043
|
+
"127.0.0.1",
|
|
106044
|
+
"::1"
|
|
106045
|
+
];
|
|
106046
|
+
function mergeNoProxy(noProxy) {
|
|
106047
|
+
const entries = (noProxy ?? "").split(/[,\s]+/).map((entry)=>entry.trim()).filter(Boolean);
|
|
106048
|
+
return [
|
|
106049
|
+
...new Set([
|
|
106050
|
+
...entries,
|
|
106051
|
+
...LOOPBACK_NO_PROXY
|
|
106052
|
+
])
|
|
106053
|
+
].join(",");
|
|
106288
106054
|
}
|
|
106289
106055
|
function installProxy(url, noProxy, caBundle) {
|
|
106290
106056
|
// Set process.env so EnvHttpProxyAgent honors NO_PROXY semantics
|
|
@@ -106292,27 +106058,31 @@ function installProxy(url, noProxy, caBundle) {
|
|
|
106292
106058
|
// We still treat the boot-time env snapshot as authoritative for the
|
|
106293
106059
|
// "env beats DB" rule — this mutation only happens after we've
|
|
106294
106060
|
// confirmed the user did NOT set HTTP_PROXY at launch.
|
|
106061
|
+
const merged = mergeNoProxy(noProxy);
|
|
106295
106062
|
process.env.HTTP_PROXY = url;
|
|
106296
106063
|
process.env.HTTPS_PROXY = url;
|
|
106297
|
-
|
|
106298
|
-
process.env.NO_PROXY = noProxy.trim();
|
|
106299
|
-
} else {
|
|
106300
|
-
delete process.env.NO_PROXY;
|
|
106301
|
-
}
|
|
106064
|
+
process.env.NO_PROXY = merged;
|
|
106302
106065
|
// ADR-0012: when the user pasted a corporate root CA, inject it on
|
|
106303
106066
|
// both TLS legs — the proxy hop (proxyTls) for https-scheme proxies
|
|
106304
106067
|
// signed by the corporate root, and the upstream tunnel (requestTls)
|
|
106305
106068
|
// for proxies that MITM outbound HTTPS with the same internal CA.
|
|
106306
106069
|
// Same blob is correct: the corporate trust chain typically signs
|
|
106307
106070
|
// both ends.
|
|
106308
|
-
|
|
106309
|
-
|
|
106310
|
-
|
|
106311
|
-
|
|
106312
|
-
|
|
106313
|
-
|
|
106314
|
-
|
|
106315
|
-
|
|
106071
|
+
// Pass the values explicitly too: undici prefers lowercase http_proxy /
|
|
106072
|
+
// no_proxy from the environment over the uppercase ones set above.
|
|
106073
|
+
const opts = {
|
|
106074
|
+
httpProxy: url,
|
|
106075
|
+
httpsProxy: url,
|
|
106076
|
+
noProxy: merged,
|
|
106077
|
+
...caBundle ? {
|
|
106078
|
+
requestTls: {
|
|
106079
|
+
ca: caBundle
|
|
106080
|
+
},
|
|
106081
|
+
proxyTls: {
|
|
106082
|
+
ca: caBundle
|
|
106083
|
+
}
|
|
106084
|
+
} : {}
|
|
106085
|
+
};
|
|
106316
106086
|
(0,external_undici_.setGlobalDispatcher)(new external_undici_.EnvHttpProxyAgent(opts));
|
|
106317
106087
|
}
|
|
106318
106088
|
function resetToBaseline() {
|
|
@@ -107863,57 +107633,6 @@ function interceptionPrefixFromParamType(paramType) {
|
|
|
107863
107633
|
|
|
107864
107634
|
/***/ }),
|
|
107865
107635
|
|
|
107866
|
-
/***/ 60190:
|
|
107867
|
-
/***/ ((__unused_webpack_module, exports) => {
|
|
107868
|
-
|
|
107869
|
-
"use strict";
|
|
107870
|
-
/**
|
|
107871
|
-
* Percent-encode every character other than horizontal tab and printable ASCII
|
|
107872
|
-
* so a value can be safely serialized into an HTTP header.
|
|
107873
|
-
*
|
|
107874
|
-
* Node's `validateHeaderValue` and `fetch`'s ByteString conversion accept
|
|
107875
|
-
* different character ranges. Restricting values to `\t\x20-\x7e` produces a
|
|
107876
|
-
* conservative representation that both can serialize. Characters outside a
|
|
107877
|
-
* transport's accepted range (Hebrew, Arabic, Chinese, emoji, …) would
|
|
107878
|
-
* otherwise throw `ERR_INVALID_CHAR` or a `TypeError`, which crashes ISR or
|
|
107879
|
-
* fails a cache read on every affected request.
|
|
107880
|
-
*
|
|
107881
|
-
* Cache tags are encoded at the public boundaries — tag construction
|
|
107882
|
-
* (`getImplicitTags`, `validateTags`) and invalidation input
|
|
107883
|
-
* (`revalidatePath`, `revalidateTag`, `updateTag`) — so storage, comparison,
|
|
107884
|
-
* and the wire all see the same canonical form.
|
|
107885
|
-
*
|
|
107886
|
-
* The class is narrower than either transport accepts. Everything inside it
|
|
107887
|
-
* passes through byte-for-byte, including `,`, `/`, `%`, `[`, `]`, `_`, `-` and
|
|
107888
|
-
* `\t`, which preserves the comma-separated header format and the
|
|
107889
|
-
* dynamic-segment markers in derived tags (`_N_T_/[slug]/page`).
|
|
107890
|
-
*
|
|
107891
|
-
* Properties:
|
|
107892
|
-
* - Fast-path: input that already fits the class is returned unchanged. This
|
|
107893
|
-
* makes the encoder idempotent on already-encoded `%xx` sequences.
|
|
107894
|
-
* - Matches *runs* of out-of-class code units so surrogate pairs (e.g. an
|
|
107895
|
-
* emoji) are handed to `encodeURIComponent` as a complete code point — a
|
|
107896
|
-
* per-code-unit regex would split the pair and throw `URIError`.
|
|
107897
|
-
*/
|
|
107898
|
-
Object.defineProperty(exports, "__esModule", ({
|
|
107899
|
-
value: true
|
|
107900
|
-
}));
|
|
107901
|
-
Object.defineProperty(exports, "encodeHeaderSafe", ({
|
|
107902
|
-
enumerable: true,
|
|
107903
|
-
get: function() {
|
|
107904
|
-
return encodeHeaderSafe;
|
|
107905
|
-
}
|
|
107906
|
-
}));
|
|
107907
|
-
const OUT_OF_CLASS_CHAR = /[^\t\x20-\x7e]/;
|
|
107908
|
-
const OUT_OF_CLASS_RUN = /[^\t\x20-\x7e]+/g;
|
|
107909
|
-
function encodeHeaderSafe(value) {
|
|
107910
|
-
return OUT_OF_CLASS_CHAR.test(value) ? value.replace(OUT_OF_CLASS_RUN, (run)=>encodeURIComponent(run)) : value;
|
|
107911
|
-
}
|
|
107912
|
-
|
|
107913
|
-
//# sourceMappingURL=encode-header-safe.js.map
|
|
107914
|
-
|
|
107915
|
-
/***/ }),
|
|
107916
|
-
|
|
107917
107636
|
/***/ 61081:
|
|
107918
107637
|
/***/ ((module) => {
|
|
107919
107638
|
|
|
@@ -109731,6 +109450,350 @@ function getRelativeURL(url, base) {
|
|
|
109731
109450
|
} //# sourceMappingURL=relativize-url.js.map
|
|
109732
109451
|
|
|
109733
109452
|
|
|
109453
|
+
/***/ }),
|
|
109454
|
+
|
|
109455
|
+
/***/ 65232:
|
|
109456
|
+
/***/ ((module) => {
|
|
109457
|
+
|
|
109458
|
+
"use strict";
|
|
109459
|
+
|
|
109460
|
+
|
|
109461
|
+
var has = Object.prototype.hasOwnProperty
|
|
109462
|
+
, prefix = '~';
|
|
109463
|
+
|
|
109464
|
+
/**
|
|
109465
|
+
* Constructor to create a storage for our `EE` objects.
|
|
109466
|
+
* An `Events` instance is a plain object whose properties are event names.
|
|
109467
|
+
*
|
|
109468
|
+
* @constructor
|
|
109469
|
+
* @private
|
|
109470
|
+
*/
|
|
109471
|
+
function Events() {}
|
|
109472
|
+
|
|
109473
|
+
//
|
|
109474
|
+
// We try to not inherit from `Object.prototype`. In some engines creating an
|
|
109475
|
+
// instance in this way is faster than calling `Object.create(null)` directly.
|
|
109476
|
+
// If `Object.create(null)` is not supported we prefix the event names with a
|
|
109477
|
+
// character to make sure that the built-in object properties are not
|
|
109478
|
+
// overridden or used as an attack vector.
|
|
109479
|
+
//
|
|
109480
|
+
if (Object.create) {
|
|
109481
|
+
Events.prototype = Object.create(null);
|
|
109482
|
+
|
|
109483
|
+
//
|
|
109484
|
+
// This hack is needed because the `__proto__` property is still inherited in
|
|
109485
|
+
// some old browsers like Android 4, iPhone 5.1, Opera 11 and Safari 5.
|
|
109486
|
+
//
|
|
109487
|
+
if (!new Events().__proto__) prefix = false;
|
|
109488
|
+
}
|
|
109489
|
+
|
|
109490
|
+
/**
|
|
109491
|
+
* Representation of a single event listener.
|
|
109492
|
+
*
|
|
109493
|
+
* @param {Function} fn The listener function.
|
|
109494
|
+
* @param {*} context The context to invoke the listener with.
|
|
109495
|
+
* @param {Boolean} [once=false] Specify if the listener is a one-time listener.
|
|
109496
|
+
* @constructor
|
|
109497
|
+
* @private
|
|
109498
|
+
*/
|
|
109499
|
+
function EE(fn, context, once) {
|
|
109500
|
+
this.fn = fn;
|
|
109501
|
+
this.context = context;
|
|
109502
|
+
this.once = once || false;
|
|
109503
|
+
}
|
|
109504
|
+
|
|
109505
|
+
/**
|
|
109506
|
+
* Add a listener for a given event.
|
|
109507
|
+
*
|
|
109508
|
+
* @param {EventEmitter} emitter Reference to the `EventEmitter` instance.
|
|
109509
|
+
* @param {(String|Symbol)} event The event name.
|
|
109510
|
+
* @param {Function} fn The listener function.
|
|
109511
|
+
* @param {*} context The context to invoke the listener with.
|
|
109512
|
+
* @param {Boolean} once Specify if the listener is a one-time listener.
|
|
109513
|
+
* @returns {EventEmitter}
|
|
109514
|
+
* @private
|
|
109515
|
+
*/
|
|
109516
|
+
function addListener(emitter, event, fn, context, once) {
|
|
109517
|
+
if (typeof fn !== 'function') {
|
|
109518
|
+
throw new TypeError('The listener must be a function');
|
|
109519
|
+
}
|
|
109520
|
+
|
|
109521
|
+
var listener = new EE(fn, context || emitter, once)
|
|
109522
|
+
, evt = prefix ? prefix + event : event;
|
|
109523
|
+
|
|
109524
|
+
if (!emitter._events[evt]) emitter._events[evt] = listener, emitter._eventsCount++;
|
|
109525
|
+
else if (!emitter._events[evt].fn) emitter._events[evt].push(listener);
|
|
109526
|
+
else emitter._events[evt] = [emitter._events[evt], listener];
|
|
109527
|
+
|
|
109528
|
+
return emitter;
|
|
109529
|
+
}
|
|
109530
|
+
|
|
109531
|
+
/**
|
|
109532
|
+
* Clear event by name.
|
|
109533
|
+
*
|
|
109534
|
+
* @param {EventEmitter} emitter Reference to the `EventEmitter` instance.
|
|
109535
|
+
* @param {(String|Symbol)} evt The Event name.
|
|
109536
|
+
* @private
|
|
109537
|
+
*/
|
|
109538
|
+
function clearEvent(emitter, evt) {
|
|
109539
|
+
if (--emitter._eventsCount === 0) emitter._events = new Events();
|
|
109540
|
+
else delete emitter._events[evt];
|
|
109541
|
+
}
|
|
109542
|
+
|
|
109543
|
+
/**
|
|
109544
|
+
* Minimal `EventEmitter` interface that is molded against the Node.js
|
|
109545
|
+
* `EventEmitter` interface.
|
|
109546
|
+
*
|
|
109547
|
+
* @constructor
|
|
109548
|
+
* @public
|
|
109549
|
+
*/
|
|
109550
|
+
function EventEmitter() {
|
|
109551
|
+
this._events = new Events();
|
|
109552
|
+
this._eventsCount = 0;
|
|
109553
|
+
}
|
|
109554
|
+
|
|
109555
|
+
/**
|
|
109556
|
+
* Return an array listing the events for which the emitter has registered
|
|
109557
|
+
* listeners.
|
|
109558
|
+
*
|
|
109559
|
+
* @returns {Array}
|
|
109560
|
+
* @public
|
|
109561
|
+
*/
|
|
109562
|
+
EventEmitter.prototype.eventNames = function eventNames() {
|
|
109563
|
+
var names = []
|
|
109564
|
+
, events
|
|
109565
|
+
, name;
|
|
109566
|
+
|
|
109567
|
+
if (this._eventsCount === 0) return names;
|
|
109568
|
+
|
|
109569
|
+
for (name in (events = this._events)) {
|
|
109570
|
+
if (has.call(events, name)) names.push(prefix ? name.slice(1) : name);
|
|
109571
|
+
}
|
|
109572
|
+
|
|
109573
|
+
if (Object.getOwnPropertySymbols) {
|
|
109574
|
+
return names.concat(Object.getOwnPropertySymbols(events));
|
|
109575
|
+
}
|
|
109576
|
+
|
|
109577
|
+
return names;
|
|
109578
|
+
};
|
|
109579
|
+
|
|
109580
|
+
/**
|
|
109581
|
+
* Return the listeners registered for a given event.
|
|
109582
|
+
*
|
|
109583
|
+
* @param {(String|Symbol)} event The event name.
|
|
109584
|
+
* @returns {Array} The registered listeners.
|
|
109585
|
+
* @public
|
|
109586
|
+
*/
|
|
109587
|
+
EventEmitter.prototype.listeners = function listeners(event) {
|
|
109588
|
+
var evt = prefix ? prefix + event : event
|
|
109589
|
+
, handlers = this._events[evt];
|
|
109590
|
+
|
|
109591
|
+
if (!handlers) return [];
|
|
109592
|
+
if (handlers.fn) return [handlers.fn];
|
|
109593
|
+
|
|
109594
|
+
for (var i = 0, l = handlers.length, ee = new Array(l); i < l; i++) {
|
|
109595
|
+
ee[i] = handlers[i].fn;
|
|
109596
|
+
}
|
|
109597
|
+
|
|
109598
|
+
return ee;
|
|
109599
|
+
};
|
|
109600
|
+
|
|
109601
|
+
/**
|
|
109602
|
+
* Return the number of listeners listening to a given event.
|
|
109603
|
+
*
|
|
109604
|
+
* @param {(String|Symbol)} event The event name.
|
|
109605
|
+
* @returns {Number} The number of listeners.
|
|
109606
|
+
* @public
|
|
109607
|
+
*/
|
|
109608
|
+
EventEmitter.prototype.listenerCount = function listenerCount(event) {
|
|
109609
|
+
var evt = prefix ? prefix + event : event
|
|
109610
|
+
, listeners = this._events[evt];
|
|
109611
|
+
|
|
109612
|
+
if (!listeners) return 0;
|
|
109613
|
+
if (listeners.fn) return 1;
|
|
109614
|
+
return listeners.length;
|
|
109615
|
+
};
|
|
109616
|
+
|
|
109617
|
+
/**
|
|
109618
|
+
* Calls each of the listeners registered for a given event.
|
|
109619
|
+
*
|
|
109620
|
+
* @param {(String|Symbol)} event The event name.
|
|
109621
|
+
* @returns {Boolean} `true` if the event had listeners, else `false`.
|
|
109622
|
+
* @public
|
|
109623
|
+
*/
|
|
109624
|
+
EventEmitter.prototype.emit = function emit(event, a1, a2, a3, a4, a5) {
|
|
109625
|
+
var evt = prefix ? prefix + event : event;
|
|
109626
|
+
|
|
109627
|
+
if (!this._events[evt]) return false;
|
|
109628
|
+
|
|
109629
|
+
var listeners = this._events[evt]
|
|
109630
|
+
, len = arguments.length
|
|
109631
|
+
, args
|
|
109632
|
+
, i;
|
|
109633
|
+
|
|
109634
|
+
if (listeners.fn) {
|
|
109635
|
+
if (listeners.once) this.removeListener(event, listeners.fn, undefined, true);
|
|
109636
|
+
|
|
109637
|
+
switch (len) {
|
|
109638
|
+
case 1: return listeners.fn.call(listeners.context), true;
|
|
109639
|
+
case 2: return listeners.fn.call(listeners.context, a1), true;
|
|
109640
|
+
case 3: return listeners.fn.call(listeners.context, a1, a2), true;
|
|
109641
|
+
case 4: return listeners.fn.call(listeners.context, a1, a2, a3), true;
|
|
109642
|
+
case 5: return listeners.fn.call(listeners.context, a1, a2, a3, a4), true;
|
|
109643
|
+
case 6: return listeners.fn.call(listeners.context, a1, a2, a3, a4, a5), true;
|
|
109644
|
+
}
|
|
109645
|
+
|
|
109646
|
+
for (i = 1, args = new Array(len -1); i < len; i++) {
|
|
109647
|
+
args[i - 1] = arguments[i];
|
|
109648
|
+
}
|
|
109649
|
+
|
|
109650
|
+
listeners.fn.apply(listeners.context, args);
|
|
109651
|
+
} else {
|
|
109652
|
+
var length = listeners.length
|
|
109653
|
+
, j;
|
|
109654
|
+
|
|
109655
|
+
for (i = 0; i < length; i++) {
|
|
109656
|
+
if (listeners[i].once) this.removeListener(event, listeners[i].fn, undefined, true);
|
|
109657
|
+
|
|
109658
|
+
switch (len) {
|
|
109659
|
+
case 1: listeners[i].fn.call(listeners[i].context); break;
|
|
109660
|
+
case 2: listeners[i].fn.call(listeners[i].context, a1); break;
|
|
109661
|
+
case 3: listeners[i].fn.call(listeners[i].context, a1, a2); break;
|
|
109662
|
+
case 4: listeners[i].fn.call(listeners[i].context, a1, a2, a3); break;
|
|
109663
|
+
default:
|
|
109664
|
+
if (!args) for (j = 1, args = new Array(len -1); j < len; j++) {
|
|
109665
|
+
args[j - 1] = arguments[j];
|
|
109666
|
+
}
|
|
109667
|
+
|
|
109668
|
+
listeners[i].fn.apply(listeners[i].context, args);
|
|
109669
|
+
}
|
|
109670
|
+
}
|
|
109671
|
+
}
|
|
109672
|
+
|
|
109673
|
+
return true;
|
|
109674
|
+
};
|
|
109675
|
+
|
|
109676
|
+
/**
|
|
109677
|
+
* Add a listener for a given event.
|
|
109678
|
+
*
|
|
109679
|
+
* @param {(String|Symbol)} event The event name.
|
|
109680
|
+
* @param {Function} fn The listener function.
|
|
109681
|
+
* @param {*} [context=this] The context to invoke the listener with.
|
|
109682
|
+
* @returns {EventEmitter} `this`.
|
|
109683
|
+
* @public
|
|
109684
|
+
*/
|
|
109685
|
+
EventEmitter.prototype.on = function on(event, fn, context) {
|
|
109686
|
+
return addListener(this, event, fn, context, false);
|
|
109687
|
+
};
|
|
109688
|
+
|
|
109689
|
+
/**
|
|
109690
|
+
* Add a one-time listener for a given event.
|
|
109691
|
+
*
|
|
109692
|
+
* @param {(String|Symbol)} event The event name.
|
|
109693
|
+
* @param {Function} fn The listener function.
|
|
109694
|
+
* @param {*} [context=this] The context to invoke the listener with.
|
|
109695
|
+
* @returns {EventEmitter} `this`.
|
|
109696
|
+
* @public
|
|
109697
|
+
*/
|
|
109698
|
+
EventEmitter.prototype.once = function once(event, fn, context) {
|
|
109699
|
+
return addListener(this, event, fn, context, true);
|
|
109700
|
+
};
|
|
109701
|
+
|
|
109702
|
+
/**
|
|
109703
|
+
* Remove the listeners of a given event.
|
|
109704
|
+
*
|
|
109705
|
+
* @param {(String|Symbol)} event The event name.
|
|
109706
|
+
* @param {Function} fn Only remove the listeners that match this function.
|
|
109707
|
+
* @param {*} context Only remove the listeners that have this context.
|
|
109708
|
+
* @param {Boolean} once Only remove one-time listeners.
|
|
109709
|
+
* @returns {EventEmitter} `this`.
|
|
109710
|
+
* @public
|
|
109711
|
+
*/
|
|
109712
|
+
EventEmitter.prototype.removeListener = function removeListener(event, fn, context, once) {
|
|
109713
|
+
var evt = prefix ? prefix + event : event;
|
|
109714
|
+
|
|
109715
|
+
if (!this._events[evt]) return this;
|
|
109716
|
+
if (!fn) {
|
|
109717
|
+
clearEvent(this, evt);
|
|
109718
|
+
return this;
|
|
109719
|
+
}
|
|
109720
|
+
|
|
109721
|
+
var listeners = this._events[evt];
|
|
109722
|
+
|
|
109723
|
+
if (listeners.fn) {
|
|
109724
|
+
if (
|
|
109725
|
+
listeners.fn === fn &&
|
|
109726
|
+
(!once || listeners.once) &&
|
|
109727
|
+
(!context || listeners.context === context)
|
|
109728
|
+
) {
|
|
109729
|
+
clearEvent(this, evt);
|
|
109730
|
+
}
|
|
109731
|
+
} else {
|
|
109732
|
+
for (var i = 0, events = [], length = listeners.length; i < length; i++) {
|
|
109733
|
+
if (
|
|
109734
|
+
listeners[i].fn !== fn ||
|
|
109735
|
+
(once && !listeners[i].once) ||
|
|
109736
|
+
(context && listeners[i].context !== context)
|
|
109737
|
+
) {
|
|
109738
|
+
events.push(listeners[i]);
|
|
109739
|
+
}
|
|
109740
|
+
}
|
|
109741
|
+
|
|
109742
|
+
//
|
|
109743
|
+
// Reset the array, or remove it completely if we have no more listeners.
|
|
109744
|
+
//
|
|
109745
|
+
if (events.length) this._events[evt] = events.length === 1 ? events[0] : events;
|
|
109746
|
+
else clearEvent(this, evt);
|
|
109747
|
+
}
|
|
109748
|
+
|
|
109749
|
+
return this;
|
|
109750
|
+
};
|
|
109751
|
+
|
|
109752
|
+
/**
|
|
109753
|
+
* Remove all listeners, or those of the specified event.
|
|
109754
|
+
*
|
|
109755
|
+
* @param {(String|Symbol)} [event] The event name.
|
|
109756
|
+
* @returns {EventEmitter} `this`.
|
|
109757
|
+
* @public
|
|
109758
|
+
*/
|
|
109759
|
+
EventEmitter.prototype.removeAllListeners = function removeAllListeners(event) {
|
|
109760
|
+
var evt;
|
|
109761
|
+
|
|
109762
|
+
if (event) {
|
|
109763
|
+
evt = prefix ? prefix + event : event;
|
|
109764
|
+
if (this._events[evt]) clearEvent(this, evt);
|
|
109765
|
+
} else {
|
|
109766
|
+
this._events = new Events();
|
|
109767
|
+
this._eventsCount = 0;
|
|
109768
|
+
}
|
|
109769
|
+
|
|
109770
|
+
return this;
|
|
109771
|
+
};
|
|
109772
|
+
|
|
109773
|
+
//
|
|
109774
|
+
// Alias methods names because people roll like that.
|
|
109775
|
+
//
|
|
109776
|
+
EventEmitter.prototype.off = EventEmitter.prototype.removeListener;
|
|
109777
|
+
EventEmitter.prototype.addListener = EventEmitter.prototype.on;
|
|
109778
|
+
|
|
109779
|
+
//
|
|
109780
|
+
// Expose the prefix.
|
|
109781
|
+
//
|
|
109782
|
+
EventEmitter.prefixed = prefix;
|
|
109783
|
+
|
|
109784
|
+
//
|
|
109785
|
+
// Allow `EventEmitter` to be imported as module namespace.
|
|
109786
|
+
//
|
|
109787
|
+
EventEmitter.EventEmitter = EventEmitter;
|
|
109788
|
+
|
|
109789
|
+
//
|
|
109790
|
+
// Expose the module.
|
|
109791
|
+
//
|
|
109792
|
+
if (true) {
|
|
109793
|
+
module.exports = EventEmitter;
|
|
109794
|
+
}
|
|
109795
|
+
|
|
109796
|
+
|
|
109734
109797
|
/***/ }),
|
|
109735
109798
|
|
|
109736
109799
|
/***/ 65621:
|
|
@@ -109766,7 +109829,7 @@ const readEnv = (env) => {
|
|
|
109766
109829
|
"use strict";
|
|
109767
109830
|
|
|
109768
109831
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
109769
|
-
const EventEmitter = __webpack_require__(
|
|
109832
|
+
const EventEmitter = __webpack_require__(65232);
|
|
109770
109833
|
const p_timeout_1 = __webpack_require__(36288);
|
|
109771
109834
|
const priority_queue_1 = __webpack_require__(69833);
|
|
109772
109835
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
@@ -115275,6 +115338,14 @@ module.exports = require("node:path");
|
|
|
115275
115338
|
|
|
115276
115339
|
/***/ }),
|
|
115277
115340
|
|
|
115341
|
+
/***/ 77030:
|
|
115342
|
+
/***/ ((module) => {
|
|
115343
|
+
|
|
115344
|
+
"use strict";
|
|
115345
|
+
module.exports = require("node:net");
|
|
115346
|
+
|
|
115347
|
+
/***/ }),
|
|
115348
|
+
|
|
115278
115349
|
/***/ 77150:
|
|
115279
115350
|
/***/ ((__unused_webpack_module, exports) => {
|
|
115280
115351
|
|