@circuitwall/jarela 2.2.1 → 2.3.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 +6 -5
- 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 +93 -93
- package/.next/standalone/.next/server/app/api/v1/access/route.js +169 -169
- package/.next/standalone/.next/server/app/api/v1/agents/[id]/compact/route.js +82 -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 +122 -122
- package/.next/standalone/.next/server/app/api/v1/agents/[id]/route.js +100 -100
- package/.next/standalone/.next/server/app/api/v1/agents/[id]/thread/route.js +753 -753
- package/.next/standalone/.next/server/app/api/v1/agents/route.js +65 -65
- package/.next/standalone/.next/server/app/api/v1/allowed-sites/[hostname]/route.js +364 -364
- package/.next/standalone/.next/server/app/api/v1/allowed-sites/route.js +802 -802
- package/.next/standalone/.next/server/app/api/v1/artifacts/lifecycle/route.js +2 -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 +589 -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 +23 -23
- package/.next/standalone/.next/server/app/api/v1/bridges/[id]/ignores/route.js +30 -30
- package/.next/standalone/.next/server/app/api/v1/bridges/[id]/lookup/route.js +703 -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 +708 -135
- 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 +802 -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 +739 -739
- package/.next/standalone/.next/server/app/api/v1/bridges/[id]/routes/route.js +1035 -1035
- package/.next/standalone/.next/server/app/api/v1/bridges/[id]/status/route.js +679 -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 +804 -804
- package/.next/standalone/.next/server/app/api/v1/bridges/route.js +700 -700
- 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 +784 -784
- package/.next/standalone/.next/server/app/api/v1/dashboard/pricing/route.js +23 -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 +523 -523
- package/.next/standalone/.next/server/app/api/v1/documents/settings/route.js +44 -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 +368 -368
- package/.next/standalone/.next/server/app/api/v1/env-sync/route.js +44 -44
- package/.next/standalone/.next/server/app/api/v1/events/route.js +751 -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 +44 -44
- package/.next/standalone/.next/server/app/api/v1/extension/browser/foreground/route.js +9 -9
- package/.next/standalone/.next/server/app/api/v1/extension/browser/history/route.js +65 -65
- package/.next/standalone/.next/server/app/api/v1/extension/browser/poll/route.js +34 -34
- package/.next/standalone/.next/server/app/api/v1/extension/browser/progress/route.js +204 -204
- package/.next/standalone/.next/server/app/api/v1/extension/browser/result/route.js +133 -133
- package/.next/standalone/.next/server/app/api/v1/extension/browser/retry/route.js +106 -106
- package/.next/standalone/.next/server/app/api/v1/extension/browser/status/route.js +114 -114
- package/.next/standalone/.next/server/app/api/v1/extension/browser/tabs/route.js +134 -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 +221 -221
- package/.next/standalone/.next/server/app/api/v1/harnesses/default/route.js +58 -58
- package/.next/standalone/.next/server/app/api/v1/harnesses/route.js +72 -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 +772 -772
- package/.next/standalone/.next/server/app/api/v1/integrations/[name]/route.js +133 -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 +363 -363
- package/.next/standalone/.next/server/app/api/v1/integrations/gmail/oauth/start/route.js +233 -233
- package/.next/standalone/.next/server/app/api/v1/integrations/gmail/oauth/status/route.js +682 -682
- package/.next/standalone/.next/server/app/api/v1/integrations/outlook/oauth/callback/route.js +879 -879
- package/.next/standalone/.next/server/app/api/v1/integrations/outlook/oauth/start/route.js +108 -108
- package/.next/standalone/.next/server/app/api/v1/integrations/outlook/oauth/status/route.js +952 -952
- package/.next/standalone/.next/server/app/api/v1/integrations/route.js +216 -216
- package/.next/standalone/.next/server/app/api/v1/lifecycle/adoption/route.js +864 -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 +72 -72
- package/.next/standalone/.next/server/app/api/v1/mcp-servers/[name]/route.js +979 -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 +2 -2
- package/.next/standalone/.next/server/app/api/v1/memory/[namespace]/[key]/route.js +381 -381
- package/.next/standalone/.next/server/app/api/v1/memory/policy/route.js +79 -79
- package/.next/standalone/.next/server/app/api/v1/memory/route.js +51 -51
- package/.next/standalone/.next/server/app/api/v1/memory/search/route.js +131 -131
- package/.next/standalone/.next/server/app/api/v1/models/[name]/compact-threads/route.js +374 -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 +143 -143
- package/.next/standalone/.next/server/app/api/v1/models/route.js +543 -543
- 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 +507 -507
- 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 +30 -30
- package/.next/standalone/.next/server/app/api/v1/profile/route.js +164 -164
- package/.next/standalone/.next/server/app/api/v1/providers/[provider]/models/route.js +44 -44
- package/.next/standalone/.next/server/app/api/v1/providers/[provider]/probe/route.js +9 -9
- package/.next/standalone/.next/server/app/api/v1/providers/github-copilot/auth/route.js +164 -164
- package/.next/standalone/.next/server/app/api/v1/providers/route.js +94 -94
- package/.next/standalone/.next/server/app/api/v1/proxy-config/route.js +450 -450
- package/.next/standalone/.next/server/app/api/v1/redaction/init/route.js +37 -37
- package/.next/standalone/.next/server/app/api/v1/redaction/route.js +58 -58
- package/.next/standalone/.next/server/app/api/v1/scheduled-tasks/[id]/route.js +600 -600
- 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 +732 -732
- package/.next/standalone/.next/server/app/api/v1/security/idle-timeout/route.js +359 -359
- package/.next/standalone/.next/server/app/api/v1/security/pin/route.js +197 -197
- package/.next/standalone/.next/server/app/api/v1/security/state/route.js +51 -51
- package/.next/standalone/.next/server/app/api/v1/security/unlock/route.js +176 -176
- package/.next/standalone/.next/server/app/api/v1/security/verify-pin/route.js +190 -190
- 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 +770 -770
- package/.next/standalone/.next/server/app/api/v1/skills/repos/[id]/route.js +115 -115
- package/.next/standalone/.next/server/app/api/v1/skills/repos/route.js +327 -327
- package/.next/standalone/.next/server/app/api/v1/skills/route.js +870 -870
- 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 +115 -115
- package/.next/standalone/.next/server/app/api/v1/tasks/route.js +23 -23
- package/.next/standalone/.next/server/app/api/v1/threads/[thread_id]/activity/route.js +1429 -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 +635 -634
- 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 +53 -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 -172
- 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 +908 -908
- 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 +224 -224
- package/.next/standalone/.next/server/app/api/v1/voice/tts/route.js +975 -975
- package/.next/standalone/.next/server/app/api/v1/watchers/[id]/route.js +23 -23
- 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 +1243 -854
- package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/setup/page.js +91 -91
- package/.next/standalone/.next/server/app/setup/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app-paths-manifest.json +6 -5
- package/.next/standalone/.next/server/chunks/{424.js → 1388.js} +335 -986
- 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/210.js +6 -6
- 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/2471.js +28 -28
- 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 +14 -8
- package/.next/standalone/.next/server/chunks/3399.js +1 -1
- 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/{9590.js → 423.js} +8 -3
- package/.next/standalone/.next/server/chunks/4433.js +146 -146
- package/.next/standalone/.next/server/chunks/4508.js +1 -1
- package/.next/standalone/.next/server/chunks/4588.js +1 -0
- package/.next/standalone/.next/server/chunks/46.js +5 -0
- 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/6210.js +1 -0
- package/.next/standalone/.next/server/chunks/6213.js +1 -1
- package/.next/standalone/.next/server/chunks/6649.js +2 -2
- 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 +14 -9
- 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 +6 -5
- package/.next/standalone/.next/server/chunks/{2563.js → 9164.js} +33173 -31461
- package/.next/standalone/.next/server/chunks/9237.js +396 -396
- package/.next/standalone/.next/server/chunks/{9640.js → 9304.js} +1628 -570
- package/.next/standalone/.next/server/chunks/9406.js +1 -1
- 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 +415 -397
- 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-213a623b37226452.js} +1041 -652
- 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 → 312542a5725ba0d5.css} +2 -2
- package/.next/standalone/docs/adoption/changesets.json +309 -0
- package/.next/standalone/lib/skills/builtins/memory-organization/SKILL.md +16 -0
- package/.next/standalone/package.json +3 -3
- package/CHANGELOG.md +25 -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/components/chat/ChatView.tsx +52 -11
- package/components/chat/ContextBoundary.test.tsx +68 -1
- package/components/chat/ContextBoundary.tsx +92 -13
- 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/ui/BootScreen.tsx +17 -0
- package/components/ui/WorkflowChecklist.tsx +71 -33
- package/hooks/useSSE.ts +28 -3
- package/lib/agents/compaction-pipeline.test.ts +202 -0
- package/lib/agents/compaction-pipeline.ts +483 -0
- package/lib/agents/conversation-summary.ts +37 -21
- 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 -0
- package/lib/agents/prepare/system-prompt.test.ts +39 -0
- package/lib/agents/prepare/system-prompt.ts +8 -3
- 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/run-registry.test.ts +22 -0
- package/lib/agents/run-registry.ts +29 -0
- package/lib/agents/run-thread.retry.test.ts +67 -1
- package/lib/agents/run-thread.ts +86 -1
- 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 +325 -142
- package/lib/agents/warm-topics.test.ts +37 -0
- package/lib/agents/warm-topics.ts +297 -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/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/providers/external.ts +0 -2
- package/lib/skills/builtins/memory-organization/SKILL.md +16 -0
- package/lib/stores/threads.test.ts +9 -0
- package/lib/stores/threads.ts +21 -11
- 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/ms-todo.ts +0 -7
- 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/triggers/registry.ts +0 -4
- 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 → bMRK5y3ruT7c3WtBfCQOG}/_buildManifest.js +0 -0
- /package/.next/standalone/.next/static/{NUrC9xax1sp1Q70nlFqS6 → bMRK5y3ruT7c3WtBfCQOG}/_ssgManifest.js +0 -0
|
@@ -4919,54 +4919,6 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
4919
4919
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4920
4920
|
|
|
4921
4921
|
|
|
4922
|
-
/***/ }),
|
|
4923
|
-
|
|
4924
|
-
/***/ 11740:
|
|
4925
|
-
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
4926
|
-
|
|
4927
|
-
"use strict";
|
|
4928
|
-
|
|
4929
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
4930
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4931
|
-
if (k2 === undefined) k2 = k;
|
|
4932
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
4933
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
4934
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
4935
|
-
}
|
|
4936
|
-
Object.defineProperty(o, k2, desc);
|
|
4937
|
-
}) : (function(o, m, k, k2) {
|
|
4938
|
-
if (k2 === undefined) k2 = k;
|
|
4939
|
-
o[k2] = m[k];
|
|
4940
|
-
}));
|
|
4941
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
4942
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
4943
|
-
}) : function(o, v) {
|
|
4944
|
-
o["default"] = v;
|
|
4945
|
-
});
|
|
4946
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
4947
|
-
var ownKeys = function(o) {
|
|
4948
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
4949
|
-
var ar = [];
|
|
4950
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
4951
|
-
return ar;
|
|
4952
|
-
};
|
|
4953
|
-
return ownKeys(o);
|
|
4954
|
-
};
|
|
4955
|
-
return function (mod) {
|
|
4956
|
-
if (mod && mod.__esModule) return mod;
|
|
4957
|
-
var result = {};
|
|
4958
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
4959
|
-
__setModuleDefault(result, mod);
|
|
4960
|
-
return result;
|
|
4961
|
-
};
|
|
4962
|
-
})();
|
|
4963
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4964
|
-
exports.ChatMessages = void 0;
|
|
4965
|
-
const core = __importStar(__webpack_require__(84584));
|
|
4966
|
-
const ChatMessageV2_1 = __webpack_require__(41534);
|
|
4967
|
-
exports.ChatMessages = core.serialization.list(ChatMessageV2_1.ChatMessageV2);
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
4922
|
/***/ }),
|
|
4971
4923
|
|
|
4972
4924
|
/***/ 11862:
|
|
@@ -6557,272 +6509,6 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
6557
6509
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6558
6510
|
|
|
6559
6511
|
|
|
6560
|
-
/***/ }),
|
|
6561
|
-
|
|
6562
|
-
/***/ 16844:
|
|
6563
|
-
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
6564
|
-
|
|
6565
|
-
"use strict";
|
|
6566
|
-
|
|
6567
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
6568
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6569
|
-
if (k2 === undefined) k2 = k;
|
|
6570
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6571
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6572
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
6573
|
-
}
|
|
6574
|
-
Object.defineProperty(o, k2, desc);
|
|
6575
|
-
}) : (function(o, m, k, k2) {
|
|
6576
|
-
if (k2 === undefined) k2 = k;
|
|
6577
|
-
o[k2] = m[k];
|
|
6578
|
-
}));
|
|
6579
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
6580
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
6581
|
-
}) : function(o, v) {
|
|
6582
|
-
o["default"] = v;
|
|
6583
|
-
});
|
|
6584
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
6585
|
-
var ownKeys = function(o) {
|
|
6586
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
6587
|
-
var ar = [];
|
|
6588
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
6589
|
-
return ar;
|
|
6590
|
-
};
|
|
6591
|
-
return ownKeys(o);
|
|
6592
|
-
};
|
|
6593
|
-
return function (mod) {
|
|
6594
|
-
if (mod && mod.__esModule) return mod;
|
|
6595
|
-
var result = {};
|
|
6596
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
6597
|
-
__setModuleDefault(result, mod);
|
|
6598
|
-
return result;
|
|
6599
|
-
};
|
|
6600
|
-
})();
|
|
6601
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
6602
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
6603
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
6604
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6605
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6606
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
6607
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
6608
|
-
});
|
|
6609
|
-
};
|
|
6610
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6611
|
-
exports.ModelsClient = void 0;
|
|
6612
|
-
const BaseClient_1 = __webpack_require__(24586);
|
|
6613
|
-
const core = __importStar(__webpack_require__(84584));
|
|
6614
|
-
const headers_1 = __webpack_require__(60518);
|
|
6615
|
-
const environments = __importStar(__webpack_require__(60858));
|
|
6616
|
-
const handleNonStatusCodeError_1 = __webpack_require__(78250);
|
|
6617
|
-
const errors = __importStar(__webpack_require__(13448));
|
|
6618
|
-
const serializers = __importStar(__webpack_require__(42599));
|
|
6619
|
-
const Cohere = __importStar(__webpack_require__(79115));
|
|
6620
|
-
class ModelsClient {
|
|
6621
|
-
constructor(options = {}) {
|
|
6622
|
-
this._options = (0, BaseClient_1.normalizeClientOptionsWithAuth)(options);
|
|
6623
|
-
}
|
|
6624
|
-
/**
|
|
6625
|
-
* Returns the details of a model, provided its name.
|
|
6626
|
-
*
|
|
6627
|
-
* @param {string} model
|
|
6628
|
-
* @param {ModelsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
6629
|
-
*
|
|
6630
|
-
* @throws {@link Cohere.BadRequestError}
|
|
6631
|
-
* @throws {@link Cohere.UnauthorizedError}
|
|
6632
|
-
* @throws {@link Cohere.ForbiddenError}
|
|
6633
|
-
* @throws {@link Cohere.NotFoundError}
|
|
6634
|
-
* @throws {@link Cohere.UnprocessableEntityError}
|
|
6635
|
-
* @throws {@link Cohere.TooManyRequestsError}
|
|
6636
|
-
* @throws {@link Cohere.InvalidTokenError}
|
|
6637
|
-
* @throws {@link Cohere.ClientClosedRequestError}
|
|
6638
|
-
* @throws {@link Cohere.InternalServerError}
|
|
6639
|
-
* @throws {@link Cohere.NotImplementedError}
|
|
6640
|
-
* @throws {@link Cohere.ServiceUnavailableError}
|
|
6641
|
-
* @throws {@link Cohere.GatewayTimeoutError}
|
|
6642
|
-
*
|
|
6643
|
-
* @example
|
|
6644
|
-
* await client.models.get("command-a-03-2025")
|
|
6645
|
-
*/
|
|
6646
|
-
get(model, requestOptions) {
|
|
6647
|
-
return core.HttpResponsePromise.fromPromise(this.__get(model, requestOptions));
|
|
6648
|
-
}
|
|
6649
|
-
__get(model, requestOptions) {
|
|
6650
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
6651
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
6652
|
-
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
6653
|
-
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "X-Client-Name": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.clientName) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.clientName }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
6654
|
-
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
6655
|
-
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.CohereEnvironment.Production, `v1/models/${core.url.encodePathParam(model)}`),
|
|
6656
|
-
method: "GET",
|
|
6657
|
-
headers: _headers,
|
|
6658
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
6659
|
-
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 300) * 1000,
|
|
6660
|
-
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
6661
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
6662
|
-
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
6663
|
-
logging: this._options.logging,
|
|
6664
|
-
});
|
|
6665
|
-
if (_response.ok) {
|
|
6666
|
-
return {
|
|
6667
|
-
data: serializers.GetModelResponse.parseOrThrow(_response.body, {
|
|
6668
|
-
unrecognizedObjectKeys: "passthrough",
|
|
6669
|
-
allowUnrecognizedUnionMembers: true,
|
|
6670
|
-
allowUnrecognizedEnumValues: true,
|
|
6671
|
-
skipValidation: true,
|
|
6672
|
-
breadcrumbsPrefix: ["response"],
|
|
6673
|
-
}),
|
|
6674
|
-
rawResponse: _response.rawResponse,
|
|
6675
|
-
};
|
|
6676
|
-
}
|
|
6677
|
-
if (_response.error.reason === "status-code") {
|
|
6678
|
-
switch (_response.error.statusCode) {
|
|
6679
|
-
case 400:
|
|
6680
|
-
throw new Cohere.BadRequestError(_response.error.body, _response.rawResponse);
|
|
6681
|
-
case 401:
|
|
6682
|
-
throw new Cohere.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
6683
|
-
case 403:
|
|
6684
|
-
throw new Cohere.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
6685
|
-
case 404:
|
|
6686
|
-
throw new Cohere.NotFoundError(_response.error.body, _response.rawResponse);
|
|
6687
|
-
case 422:
|
|
6688
|
-
throw new Cohere.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
6689
|
-
case 429:
|
|
6690
|
-
throw new Cohere.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
6691
|
-
case 498:
|
|
6692
|
-
throw new Cohere.InvalidTokenError(_response.error.body, _response.rawResponse);
|
|
6693
|
-
case 499:
|
|
6694
|
-
throw new Cohere.ClientClosedRequestError(_response.error.body, _response.rawResponse);
|
|
6695
|
-
case 500:
|
|
6696
|
-
throw new Cohere.InternalServerError(_response.error.body, _response.rawResponse);
|
|
6697
|
-
case 501:
|
|
6698
|
-
throw new Cohere.NotImplementedError(_response.error.body, _response.rawResponse);
|
|
6699
|
-
case 503:
|
|
6700
|
-
throw new Cohere.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
6701
|
-
case 504:
|
|
6702
|
-
throw new Cohere.GatewayTimeoutError(_response.error.body, _response.rawResponse);
|
|
6703
|
-
default:
|
|
6704
|
-
throw new errors.CohereError({
|
|
6705
|
-
statusCode: _response.error.statusCode,
|
|
6706
|
-
body: _response.error.body,
|
|
6707
|
-
rawResponse: _response.rawResponse,
|
|
6708
|
-
});
|
|
6709
|
-
}
|
|
6710
|
-
}
|
|
6711
|
-
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/models/{model}");
|
|
6712
|
-
});
|
|
6713
|
-
}
|
|
6714
|
-
/**
|
|
6715
|
-
* Returns a list of models available for use.
|
|
6716
|
-
*
|
|
6717
|
-
* @param {Cohere.ModelsListRequest} request
|
|
6718
|
-
* @param {ModelsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
6719
|
-
*
|
|
6720
|
-
* @throws {@link Cohere.BadRequestError}
|
|
6721
|
-
* @throws {@link Cohere.UnauthorizedError}
|
|
6722
|
-
* @throws {@link Cohere.ForbiddenError}
|
|
6723
|
-
* @throws {@link Cohere.NotFoundError}
|
|
6724
|
-
* @throws {@link Cohere.UnprocessableEntityError}
|
|
6725
|
-
* @throws {@link Cohere.TooManyRequestsError}
|
|
6726
|
-
* @throws {@link Cohere.InvalidTokenError}
|
|
6727
|
-
* @throws {@link Cohere.ClientClosedRequestError}
|
|
6728
|
-
* @throws {@link Cohere.InternalServerError}
|
|
6729
|
-
* @throws {@link Cohere.NotImplementedError}
|
|
6730
|
-
* @throws {@link Cohere.ServiceUnavailableError}
|
|
6731
|
-
* @throws {@link Cohere.GatewayTimeoutError}
|
|
6732
|
-
*
|
|
6733
|
-
* @example
|
|
6734
|
-
* await client.models.list({
|
|
6735
|
-
* pageSize: 1.1,
|
|
6736
|
-
* pageToken: "page_token",
|
|
6737
|
-
* endpoint: "chat",
|
|
6738
|
-
* defaultOnly: true
|
|
6739
|
-
* })
|
|
6740
|
-
*/
|
|
6741
|
-
list(request = {}, requestOptions) {
|
|
6742
|
-
return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
|
|
6743
|
-
}
|
|
6744
|
-
__list() {
|
|
6745
|
-
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
6746
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
6747
|
-
const { pageSize, pageToken, endpoint, defaultOnly } = request;
|
|
6748
|
-
const _queryParams = {
|
|
6749
|
-
page_size: pageSize,
|
|
6750
|
-
page_token: pageToken,
|
|
6751
|
-
endpoint: endpoint != null
|
|
6752
|
-
? serializers.CompatibleEndpoint.jsonOrThrow(endpoint, {
|
|
6753
|
-
unrecognizedObjectKeys: "passthrough",
|
|
6754
|
-
allowUnrecognizedUnionMembers: true,
|
|
6755
|
-
allowUnrecognizedEnumValues: true,
|
|
6756
|
-
})
|
|
6757
|
-
: undefined,
|
|
6758
|
-
default_only: defaultOnly,
|
|
6759
|
-
};
|
|
6760
|
-
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
6761
|
-
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "X-Client-Name": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.clientName) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.clientName }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
6762
|
-
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
6763
|
-
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.CohereEnvironment.Production, "v1/models"),
|
|
6764
|
-
method: "GET",
|
|
6765
|
-
headers: _headers,
|
|
6766
|
-
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
6767
|
-
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 300) * 1000,
|
|
6768
|
-
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
6769
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
6770
|
-
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
6771
|
-
logging: this._options.logging,
|
|
6772
|
-
});
|
|
6773
|
-
if (_response.ok) {
|
|
6774
|
-
return {
|
|
6775
|
-
data: serializers.ListModelsResponse.parseOrThrow(_response.body, {
|
|
6776
|
-
unrecognizedObjectKeys: "passthrough",
|
|
6777
|
-
allowUnrecognizedUnionMembers: true,
|
|
6778
|
-
allowUnrecognizedEnumValues: true,
|
|
6779
|
-
skipValidation: true,
|
|
6780
|
-
breadcrumbsPrefix: ["response"],
|
|
6781
|
-
}),
|
|
6782
|
-
rawResponse: _response.rawResponse,
|
|
6783
|
-
};
|
|
6784
|
-
}
|
|
6785
|
-
if (_response.error.reason === "status-code") {
|
|
6786
|
-
switch (_response.error.statusCode) {
|
|
6787
|
-
case 400:
|
|
6788
|
-
throw new Cohere.BadRequestError(_response.error.body, _response.rawResponse);
|
|
6789
|
-
case 401:
|
|
6790
|
-
throw new Cohere.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
6791
|
-
case 403:
|
|
6792
|
-
throw new Cohere.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
6793
|
-
case 404:
|
|
6794
|
-
throw new Cohere.NotFoundError(_response.error.body, _response.rawResponse);
|
|
6795
|
-
case 422:
|
|
6796
|
-
throw new Cohere.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
6797
|
-
case 429:
|
|
6798
|
-
throw new Cohere.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
6799
|
-
case 498:
|
|
6800
|
-
throw new Cohere.InvalidTokenError(_response.error.body, _response.rawResponse);
|
|
6801
|
-
case 499:
|
|
6802
|
-
throw new Cohere.ClientClosedRequestError(_response.error.body, _response.rawResponse);
|
|
6803
|
-
case 500:
|
|
6804
|
-
throw new Cohere.InternalServerError(_response.error.body, _response.rawResponse);
|
|
6805
|
-
case 501:
|
|
6806
|
-
throw new Cohere.NotImplementedError(_response.error.body, _response.rawResponse);
|
|
6807
|
-
case 503:
|
|
6808
|
-
throw new Cohere.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
6809
|
-
case 504:
|
|
6810
|
-
throw new Cohere.GatewayTimeoutError(_response.error.body, _response.rawResponse);
|
|
6811
|
-
default:
|
|
6812
|
-
throw new errors.CohereError({
|
|
6813
|
-
statusCode: _response.error.statusCode,
|
|
6814
|
-
body: _response.error.body,
|
|
6815
|
-
rawResponse: _response.rawResponse,
|
|
6816
|
-
});
|
|
6817
|
-
}
|
|
6818
|
-
}
|
|
6819
|
-
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/models");
|
|
6820
|
-
});
|
|
6821
|
-
}
|
|
6822
|
-
}
|
|
6823
|
-
exports.ModelsClient = ModelsClient;
|
|
6824
|
-
|
|
6825
|
-
|
|
6826
6512
|
/***/ }),
|
|
6827
6513
|
|
|
6828
6514
|
/***/ 16853:
|
|
@@ -16687,7 +16373,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
16687
16373
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
16688
16374
|
exports.V2ChatRequest = void 0;
|
|
16689
16375
|
const core = __importStar(__webpack_require__(84584));
|
|
16690
|
-
const ChatMessages_1 = __webpack_require__(
|
|
16376
|
+
const ChatMessages_1 = __webpack_require__(89359);
|
|
16691
16377
|
const CitationOptions_1 = __webpack_require__(65102);
|
|
16692
16378
|
const ResponseFormatV2_1 = __webpack_require__(31917);
|
|
16693
16379
|
const Thinking_1 = __webpack_require__(14245);
|
|
@@ -18880,7 +18566,7 @@ __exportStar(__webpack_require__(13429), exports);
|
|
|
18880
18566
|
__exportStar(__webpack_require__(82090), exports);
|
|
18881
18567
|
__exportStar(__webpack_require__(89894), exports);
|
|
18882
18568
|
__exportStar(__webpack_require__(79429), exports);
|
|
18883
|
-
__exportStar(__webpack_require__(
|
|
18569
|
+
__exportStar(__webpack_require__(89359), exports);
|
|
18884
18570
|
__exportStar(__webpack_require__(41534), exports);
|
|
18885
18571
|
__exportStar(__webpack_require__(9960), exports);
|
|
18886
18572
|
__exportStar(__webpack_require__(5775), exports);
|
|
@@ -18972,7 +18658,7 @@ __exportStar(__webpack_require__(72872), exports);
|
|
|
18972
18658
|
__exportStar(__webpack_require__(34808), exports);
|
|
18973
18659
|
__exportStar(__webpack_require__(19634), exports);
|
|
18974
18660
|
__exportStar(__webpack_require__(58903), exports);
|
|
18975
|
-
__exportStar(__webpack_require__(
|
|
18661
|
+
__exportStar(__webpack_require__(62241), exports);
|
|
18976
18662
|
__exportStar(__webpack_require__(50632), exports);
|
|
18977
18663
|
__exportStar(__webpack_require__(39660), exports);
|
|
18978
18664
|
__exportStar(__webpack_require__(81274), exports);
|
|
@@ -26646,7 +26332,7 @@ var hex_encoding = __webpack_require__(38107);
|
|
|
26646
26332
|
// EXTERNAL MODULE: ./node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUint8Array.js
|
|
26647
26333
|
var toUint8Array = __webpack_require__(17698);
|
|
26648
26334
|
// EXTERNAL MODULE: ./node_modules/@smithy/core/dist-es/submodules/transport/hasOwn.js
|
|
26649
|
-
var hasOwn = __webpack_require__(
|
|
26335
|
+
var hasOwn = __webpack_require__(97454);
|
|
26650
26336
|
// EXTERNAL MODULE: ./node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/fromUtf8.js
|
|
26651
26337
|
var fromUtf8 = __webpack_require__(5819);
|
|
26652
26338
|
;// ./node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js
|
|
@@ -27835,6 +27521,62 @@ exports.BaseType = {
|
|
|
27835
27521
|
};
|
|
27836
27522
|
|
|
27837
27523
|
|
|
27524
|
+
/***/ }),
|
|
27525
|
+
|
|
27526
|
+
/***/ 62241:
|
|
27527
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
27528
|
+
|
|
27529
|
+
"use strict";
|
|
27530
|
+
|
|
27531
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
27532
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
27533
|
+
if (k2 === undefined) k2 = k;
|
|
27534
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
27535
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
27536
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
27537
|
+
}
|
|
27538
|
+
Object.defineProperty(o, k2, desc);
|
|
27539
|
+
}) : (function(o, m, k, k2) {
|
|
27540
|
+
if (k2 === undefined) k2 = k;
|
|
27541
|
+
o[k2] = m[k];
|
|
27542
|
+
}));
|
|
27543
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
27544
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
27545
|
+
}) : function(o, v) {
|
|
27546
|
+
o["default"] = v;
|
|
27547
|
+
});
|
|
27548
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
27549
|
+
var ownKeys = function(o) {
|
|
27550
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
27551
|
+
var ar = [];
|
|
27552
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
27553
|
+
return ar;
|
|
27554
|
+
};
|
|
27555
|
+
return ownKeys(o);
|
|
27556
|
+
};
|
|
27557
|
+
return function (mod) {
|
|
27558
|
+
if (mod && mod.__esModule) return mod;
|
|
27559
|
+
var result = {};
|
|
27560
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
27561
|
+
__setModuleDefault(result, mod);
|
|
27562
|
+
return result;
|
|
27563
|
+
};
|
|
27564
|
+
})();
|
|
27565
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
27566
|
+
exports.GenerateStreamEnd = void 0;
|
|
27567
|
+
const core = __importStar(__webpack_require__(84584));
|
|
27568
|
+
const FinishReason_1 = __webpack_require__(34808);
|
|
27569
|
+
const GenerateStreamEndResponse_1 = __webpack_require__(50632);
|
|
27570
|
+
const GenerateStreamEvent_1 = __webpack_require__(81274);
|
|
27571
|
+
exports.GenerateStreamEnd = core.serialization
|
|
27572
|
+
.object({
|
|
27573
|
+
isFinished: core.serialization.property("is_finished", core.serialization.boolean()),
|
|
27574
|
+
finishReason: core.serialization.property("finish_reason", FinishReason_1.FinishReason.optional()),
|
|
27575
|
+
response: GenerateStreamEndResponse_1.GenerateStreamEndResponse,
|
|
27576
|
+
})
|
|
27577
|
+
.extend(GenerateStreamEvent_1.GenerateStreamEvent);
|
|
27578
|
+
|
|
27579
|
+
|
|
27838
27580
|
/***/ }),
|
|
27839
27581
|
|
|
27840
27582
|
/***/ 62489:
|
|
@@ -32791,7 +32533,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
32791
32533
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
32792
32534
|
/* harmony export */ $: () => (/* binding */ getCanonicalQuery)
|
|
32793
32535
|
/* harmony export */ });
|
|
32794
|
-
/* harmony import */ var _smithy_core_serde__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
32536
|
+
/* harmony import */ var _smithy_core_serde__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(97454);
|
|
32795
32537
|
/* harmony import */ var _smithy_core_protocols__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(13515);
|
|
32796
32538
|
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(49908);
|
|
32797
32539
|
|
|
@@ -33374,7 +33116,7 @@ Object.defineProperty(exports, "UpdateConnectorRequest", ({ enumerable: true, ge
|
|
|
33374
33116
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
33375
33117
|
/* harmony export */ n: () => (/* binding */ prepareRequest)
|
|
33376
33118
|
/* harmony export */ });
|
|
33377
|
-
/* harmony import */ var _smithy_core_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
33119
|
+
/* harmony import */ var _smithy_core_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(97454);
|
|
33378
33120
|
/* harmony import */ var _smithy_core_protocols__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51810);
|
|
33379
33121
|
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(49908);
|
|
33380
33122
|
|
|
@@ -34298,7 +34040,7 @@ exports.WandbConfig = core.serialization.object({
|
|
|
34298
34040
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
34299
34041
|
/* harmony export */ p: () => (/* binding */ getPayloadHash)
|
|
34300
34042
|
/* harmony export */ });
|
|
34301
|
-
/* harmony import */ var _smithy_core_serde__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
34043
|
+
/* harmony import */ var _smithy_core_serde__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(97454);
|
|
34302
34044
|
/* harmony import */ var _smithy_core_serde__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(47088);
|
|
34303
34045
|
/* harmony import */ var _smithy_core_serde__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(17698);
|
|
34304
34046
|
/* harmony import */ var _smithy_core_serde__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(38107);
|
|
@@ -34525,20 +34267,6 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
34525
34267
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
34526
34268
|
|
|
34527
34269
|
|
|
34528
|
-
/***/ }),
|
|
34529
|
-
|
|
34530
|
-
/***/ 75073:
|
|
34531
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
34532
|
-
|
|
34533
|
-
"use strict";
|
|
34534
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
34535
|
-
/* harmony export */ $: () => (/* binding */ hasOwn)
|
|
34536
|
-
/* harmony export */ });
|
|
34537
|
-
function hasOwn(o, k) {
|
|
34538
|
-
return Object.prototype.hasOwnProperty.call(o, k);
|
|
34539
|
-
}
|
|
34540
|
-
|
|
34541
|
-
|
|
34542
34270
|
/***/ }),
|
|
34543
34271
|
|
|
34544
34272
|
/***/ 75136:
|
|
@@ -35363,7 +35091,7 @@ const Client_3 = __webpack_require__(25277);
|
|
|
35363
35091
|
const Client_4 = __webpack_require__(21490);
|
|
35364
35092
|
const Client_5 = __webpack_require__(85590);
|
|
35365
35093
|
const Client_6 = __webpack_require__(64146);
|
|
35366
|
-
const Client_7 = __webpack_require__(
|
|
35094
|
+
const Client_7 = __webpack_require__(94463);
|
|
35367
35095
|
const Client_8 = __webpack_require__(15117);
|
|
35368
35096
|
const BaseClient_1 = __webpack_require__(24586);
|
|
35369
35097
|
const core = __importStar(__webpack_require__(84584));
|
|
@@ -37498,7 +37226,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
37498
37226
|
/* harmony export */ ou: () => (/* binding */ hasHeader)
|
|
37499
37227
|
/* harmony export */ });
|
|
37500
37228
|
/* unused harmony exports getHeaderValue, deleteHeader */
|
|
37501
|
-
/* harmony import */ var _smithy_core_serde__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
37229
|
+
/* harmony import */ var _smithy_core_serde__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(97454);
|
|
37502
37230
|
|
|
37503
37231
|
const hasHeader = (soughtHeader, headers) => {
|
|
37504
37232
|
soughtHeader = soughtHeader.toLowerCase();
|
|
@@ -38431,7 +38159,7 @@ Object.defineProperty(exports, "NoOpAuthProvider", ({ enumerable: true, get: fun
|
|
|
38431
38159
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
38432
38160
|
/* harmony export */ b: () => (/* binding */ moveHeadersToQuery)
|
|
38433
38161
|
/* harmony export */ });
|
|
38434
|
-
/* harmony import */ var _smithy_core_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
38162
|
+
/* harmony import */ var _smithy_core_serde__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(97454);
|
|
38435
38163
|
/* harmony import */ var _smithy_core_protocols__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51810);
|
|
38436
38164
|
|
|
38437
38165
|
|
|
@@ -38775,7 +38503,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38775
38503
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
38776
38504
|
exports.GenerateStreamedResponse = void 0;
|
|
38777
38505
|
const core = __importStar(__webpack_require__(84584));
|
|
38778
|
-
const GenerateStreamEnd_1 = __webpack_require__(
|
|
38506
|
+
const GenerateStreamEnd_1 = __webpack_require__(62241);
|
|
38779
38507
|
const GenerateStreamError_1 = __webpack_require__(39660);
|
|
38780
38508
|
const GenerateStreamText_1 = __webpack_require__(90429);
|
|
38781
38509
|
exports.GenerateStreamedResponse = core.serialization
|
|
@@ -38964,62 +38692,6 @@ __exportStar(__webpack_require__(79615), exports);
|
|
|
38964
38692
|
exports.url = __importStar(__webpack_require__(45686));
|
|
38965
38693
|
|
|
38966
38694
|
|
|
38967
|
-
/***/ }),
|
|
38968
|
-
|
|
38969
|
-
/***/ 84622:
|
|
38970
|
-
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
38971
|
-
|
|
38972
|
-
"use strict";
|
|
38973
|
-
|
|
38974
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
38975
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
38976
|
-
if (k2 === undefined) k2 = k;
|
|
38977
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
38978
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
38979
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
38980
|
-
}
|
|
38981
|
-
Object.defineProperty(o, k2, desc);
|
|
38982
|
-
}) : (function(o, m, k, k2) {
|
|
38983
|
-
if (k2 === undefined) k2 = k;
|
|
38984
|
-
o[k2] = m[k];
|
|
38985
|
-
}));
|
|
38986
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
38987
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
38988
|
-
}) : function(o, v) {
|
|
38989
|
-
o["default"] = v;
|
|
38990
|
-
});
|
|
38991
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
38992
|
-
var ownKeys = function(o) {
|
|
38993
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
38994
|
-
var ar = [];
|
|
38995
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
38996
|
-
return ar;
|
|
38997
|
-
};
|
|
38998
|
-
return ownKeys(o);
|
|
38999
|
-
};
|
|
39000
|
-
return function (mod) {
|
|
39001
|
-
if (mod && mod.__esModule) return mod;
|
|
39002
|
-
var result = {};
|
|
39003
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
39004
|
-
__setModuleDefault(result, mod);
|
|
39005
|
-
return result;
|
|
39006
|
-
};
|
|
39007
|
-
})();
|
|
39008
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
39009
|
-
exports.GenerateStreamEnd = void 0;
|
|
39010
|
-
const core = __importStar(__webpack_require__(84584));
|
|
39011
|
-
const FinishReason_1 = __webpack_require__(34808);
|
|
39012
|
-
const GenerateStreamEndResponse_1 = __webpack_require__(50632);
|
|
39013
|
-
const GenerateStreamEvent_1 = __webpack_require__(81274);
|
|
39014
|
-
exports.GenerateStreamEnd = core.serialization
|
|
39015
|
-
.object({
|
|
39016
|
-
isFinished: core.serialization.property("is_finished", core.serialization.boolean()),
|
|
39017
|
-
finishReason: core.serialization.property("finish_reason", FinishReason_1.FinishReason.optional()),
|
|
39018
|
-
response: GenerateStreamEndResponse_1.GenerateStreamEndResponse,
|
|
39019
|
-
})
|
|
39020
|
-
.extend(GenerateStreamEvent_1.GenerateStreamEvent);
|
|
39021
|
-
|
|
39022
|
-
|
|
39023
38695
|
/***/ }),
|
|
39024
38696
|
|
|
39025
38697
|
/***/ 84647:
|
|
@@ -48683,6 +48355,54 @@ exports.RerankRequest = core.serialization.object({
|
|
|
48683
48355
|
});
|
|
48684
48356
|
|
|
48685
48357
|
|
|
48358
|
+
/***/ }),
|
|
48359
|
+
|
|
48360
|
+
/***/ 89359:
|
|
48361
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
48362
|
+
|
|
48363
|
+
"use strict";
|
|
48364
|
+
|
|
48365
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
48366
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
48367
|
+
if (k2 === undefined) k2 = k;
|
|
48368
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
48369
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
48370
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
48371
|
+
}
|
|
48372
|
+
Object.defineProperty(o, k2, desc);
|
|
48373
|
+
}) : (function(o, m, k, k2) {
|
|
48374
|
+
if (k2 === undefined) k2 = k;
|
|
48375
|
+
o[k2] = m[k];
|
|
48376
|
+
}));
|
|
48377
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
48378
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
48379
|
+
}) : function(o, v) {
|
|
48380
|
+
o["default"] = v;
|
|
48381
|
+
});
|
|
48382
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
48383
|
+
var ownKeys = function(o) {
|
|
48384
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
48385
|
+
var ar = [];
|
|
48386
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
48387
|
+
return ar;
|
|
48388
|
+
};
|
|
48389
|
+
return ownKeys(o);
|
|
48390
|
+
};
|
|
48391
|
+
return function (mod) {
|
|
48392
|
+
if (mod && mod.__esModule) return mod;
|
|
48393
|
+
var result = {};
|
|
48394
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
48395
|
+
__setModuleDefault(result, mod);
|
|
48396
|
+
return result;
|
|
48397
|
+
};
|
|
48398
|
+
})();
|
|
48399
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
48400
|
+
exports.ChatMessages = void 0;
|
|
48401
|
+
const core = __importStar(__webpack_require__(84584));
|
|
48402
|
+
const ChatMessageV2_1 = __webpack_require__(41534);
|
|
48403
|
+
exports.ChatMessages = core.serialization.list(ChatMessageV2_1.ChatMessageV2);
|
|
48404
|
+
|
|
48405
|
+
|
|
48686
48406
|
/***/ }),
|
|
48687
48407
|
|
|
48688
48408
|
/***/ 89481:
|
|
@@ -50272,6 +49992,272 @@ const parseIni = (iniData) => {
|
|
|
50272
49992
|
};
|
|
50273
49993
|
|
|
50274
49994
|
|
|
49995
|
+
/***/ }),
|
|
49996
|
+
|
|
49997
|
+
/***/ 94463:
|
|
49998
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
49999
|
+
|
|
50000
|
+
"use strict";
|
|
50001
|
+
|
|
50002
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
50003
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
50004
|
+
if (k2 === undefined) k2 = k;
|
|
50005
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
50006
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
50007
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
50008
|
+
}
|
|
50009
|
+
Object.defineProperty(o, k2, desc);
|
|
50010
|
+
}) : (function(o, m, k, k2) {
|
|
50011
|
+
if (k2 === undefined) k2 = k;
|
|
50012
|
+
o[k2] = m[k];
|
|
50013
|
+
}));
|
|
50014
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
50015
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
50016
|
+
}) : function(o, v) {
|
|
50017
|
+
o["default"] = v;
|
|
50018
|
+
});
|
|
50019
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
50020
|
+
var ownKeys = function(o) {
|
|
50021
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
50022
|
+
var ar = [];
|
|
50023
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
50024
|
+
return ar;
|
|
50025
|
+
};
|
|
50026
|
+
return ownKeys(o);
|
|
50027
|
+
};
|
|
50028
|
+
return function (mod) {
|
|
50029
|
+
if (mod && mod.__esModule) return mod;
|
|
50030
|
+
var result = {};
|
|
50031
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
50032
|
+
__setModuleDefault(result, mod);
|
|
50033
|
+
return result;
|
|
50034
|
+
};
|
|
50035
|
+
})();
|
|
50036
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
50037
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
50038
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
50039
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
50040
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
50041
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
50042
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
50043
|
+
});
|
|
50044
|
+
};
|
|
50045
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
50046
|
+
exports.ModelsClient = void 0;
|
|
50047
|
+
const BaseClient_1 = __webpack_require__(24586);
|
|
50048
|
+
const core = __importStar(__webpack_require__(84584));
|
|
50049
|
+
const headers_1 = __webpack_require__(60518);
|
|
50050
|
+
const environments = __importStar(__webpack_require__(60858));
|
|
50051
|
+
const handleNonStatusCodeError_1 = __webpack_require__(78250);
|
|
50052
|
+
const errors = __importStar(__webpack_require__(13448));
|
|
50053
|
+
const serializers = __importStar(__webpack_require__(42599));
|
|
50054
|
+
const Cohere = __importStar(__webpack_require__(79115));
|
|
50055
|
+
class ModelsClient {
|
|
50056
|
+
constructor(options = {}) {
|
|
50057
|
+
this._options = (0, BaseClient_1.normalizeClientOptionsWithAuth)(options);
|
|
50058
|
+
}
|
|
50059
|
+
/**
|
|
50060
|
+
* Returns the details of a model, provided its name.
|
|
50061
|
+
*
|
|
50062
|
+
* @param {string} model
|
|
50063
|
+
* @param {ModelsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
50064
|
+
*
|
|
50065
|
+
* @throws {@link Cohere.BadRequestError}
|
|
50066
|
+
* @throws {@link Cohere.UnauthorizedError}
|
|
50067
|
+
* @throws {@link Cohere.ForbiddenError}
|
|
50068
|
+
* @throws {@link Cohere.NotFoundError}
|
|
50069
|
+
* @throws {@link Cohere.UnprocessableEntityError}
|
|
50070
|
+
* @throws {@link Cohere.TooManyRequestsError}
|
|
50071
|
+
* @throws {@link Cohere.InvalidTokenError}
|
|
50072
|
+
* @throws {@link Cohere.ClientClosedRequestError}
|
|
50073
|
+
* @throws {@link Cohere.InternalServerError}
|
|
50074
|
+
* @throws {@link Cohere.NotImplementedError}
|
|
50075
|
+
* @throws {@link Cohere.ServiceUnavailableError}
|
|
50076
|
+
* @throws {@link Cohere.GatewayTimeoutError}
|
|
50077
|
+
*
|
|
50078
|
+
* @example
|
|
50079
|
+
* await client.models.get("command-a-03-2025")
|
|
50080
|
+
*/
|
|
50081
|
+
get(model, requestOptions) {
|
|
50082
|
+
return core.HttpResponsePromise.fromPromise(this.__get(model, requestOptions));
|
|
50083
|
+
}
|
|
50084
|
+
__get(model, requestOptions) {
|
|
50085
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
50086
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
50087
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
50088
|
+
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "X-Client-Name": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.clientName) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.clientName }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
50089
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
50090
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.CohereEnvironment.Production, `v1/models/${core.url.encodePathParam(model)}`),
|
|
50091
|
+
method: "GET",
|
|
50092
|
+
headers: _headers,
|
|
50093
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
50094
|
+
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 300) * 1000,
|
|
50095
|
+
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
50096
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
50097
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
50098
|
+
logging: this._options.logging,
|
|
50099
|
+
});
|
|
50100
|
+
if (_response.ok) {
|
|
50101
|
+
return {
|
|
50102
|
+
data: serializers.GetModelResponse.parseOrThrow(_response.body, {
|
|
50103
|
+
unrecognizedObjectKeys: "passthrough",
|
|
50104
|
+
allowUnrecognizedUnionMembers: true,
|
|
50105
|
+
allowUnrecognizedEnumValues: true,
|
|
50106
|
+
skipValidation: true,
|
|
50107
|
+
breadcrumbsPrefix: ["response"],
|
|
50108
|
+
}),
|
|
50109
|
+
rawResponse: _response.rawResponse,
|
|
50110
|
+
};
|
|
50111
|
+
}
|
|
50112
|
+
if (_response.error.reason === "status-code") {
|
|
50113
|
+
switch (_response.error.statusCode) {
|
|
50114
|
+
case 400:
|
|
50115
|
+
throw new Cohere.BadRequestError(_response.error.body, _response.rawResponse);
|
|
50116
|
+
case 401:
|
|
50117
|
+
throw new Cohere.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
50118
|
+
case 403:
|
|
50119
|
+
throw new Cohere.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
50120
|
+
case 404:
|
|
50121
|
+
throw new Cohere.NotFoundError(_response.error.body, _response.rawResponse);
|
|
50122
|
+
case 422:
|
|
50123
|
+
throw new Cohere.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
50124
|
+
case 429:
|
|
50125
|
+
throw new Cohere.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
50126
|
+
case 498:
|
|
50127
|
+
throw new Cohere.InvalidTokenError(_response.error.body, _response.rawResponse);
|
|
50128
|
+
case 499:
|
|
50129
|
+
throw new Cohere.ClientClosedRequestError(_response.error.body, _response.rawResponse);
|
|
50130
|
+
case 500:
|
|
50131
|
+
throw new Cohere.InternalServerError(_response.error.body, _response.rawResponse);
|
|
50132
|
+
case 501:
|
|
50133
|
+
throw new Cohere.NotImplementedError(_response.error.body, _response.rawResponse);
|
|
50134
|
+
case 503:
|
|
50135
|
+
throw new Cohere.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
50136
|
+
case 504:
|
|
50137
|
+
throw new Cohere.GatewayTimeoutError(_response.error.body, _response.rawResponse);
|
|
50138
|
+
default:
|
|
50139
|
+
throw new errors.CohereError({
|
|
50140
|
+
statusCode: _response.error.statusCode,
|
|
50141
|
+
body: _response.error.body,
|
|
50142
|
+
rawResponse: _response.rawResponse,
|
|
50143
|
+
});
|
|
50144
|
+
}
|
|
50145
|
+
}
|
|
50146
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/models/{model}");
|
|
50147
|
+
});
|
|
50148
|
+
}
|
|
50149
|
+
/**
|
|
50150
|
+
* Returns a list of models available for use.
|
|
50151
|
+
*
|
|
50152
|
+
* @param {Cohere.ModelsListRequest} request
|
|
50153
|
+
* @param {ModelsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
50154
|
+
*
|
|
50155
|
+
* @throws {@link Cohere.BadRequestError}
|
|
50156
|
+
* @throws {@link Cohere.UnauthorizedError}
|
|
50157
|
+
* @throws {@link Cohere.ForbiddenError}
|
|
50158
|
+
* @throws {@link Cohere.NotFoundError}
|
|
50159
|
+
* @throws {@link Cohere.UnprocessableEntityError}
|
|
50160
|
+
* @throws {@link Cohere.TooManyRequestsError}
|
|
50161
|
+
* @throws {@link Cohere.InvalidTokenError}
|
|
50162
|
+
* @throws {@link Cohere.ClientClosedRequestError}
|
|
50163
|
+
* @throws {@link Cohere.InternalServerError}
|
|
50164
|
+
* @throws {@link Cohere.NotImplementedError}
|
|
50165
|
+
* @throws {@link Cohere.ServiceUnavailableError}
|
|
50166
|
+
* @throws {@link Cohere.GatewayTimeoutError}
|
|
50167
|
+
*
|
|
50168
|
+
* @example
|
|
50169
|
+
* await client.models.list({
|
|
50170
|
+
* pageSize: 1.1,
|
|
50171
|
+
* pageToken: "page_token",
|
|
50172
|
+
* endpoint: "chat",
|
|
50173
|
+
* defaultOnly: true
|
|
50174
|
+
* })
|
|
50175
|
+
*/
|
|
50176
|
+
list(request = {}, requestOptions) {
|
|
50177
|
+
return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
|
|
50178
|
+
}
|
|
50179
|
+
__list() {
|
|
50180
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
50181
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
50182
|
+
const { pageSize, pageToken, endpoint, defaultOnly } = request;
|
|
50183
|
+
const _queryParams = {
|
|
50184
|
+
page_size: pageSize,
|
|
50185
|
+
page_token: pageToken,
|
|
50186
|
+
endpoint: endpoint != null
|
|
50187
|
+
? serializers.CompatibleEndpoint.jsonOrThrow(endpoint, {
|
|
50188
|
+
unrecognizedObjectKeys: "passthrough",
|
|
50189
|
+
allowUnrecognizedUnionMembers: true,
|
|
50190
|
+
allowUnrecognizedEnumValues: true,
|
|
50191
|
+
})
|
|
50192
|
+
: undefined,
|
|
50193
|
+
default_only: defaultOnly,
|
|
50194
|
+
};
|
|
50195
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
50196
|
+
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "X-Client-Name": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.clientName) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.clientName }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
50197
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
50198
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.CohereEnvironment.Production, "v1/models"),
|
|
50199
|
+
method: "GET",
|
|
50200
|
+
headers: _headers,
|
|
50201
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
50202
|
+
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 300) * 1000,
|
|
50203
|
+
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
50204
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
50205
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
50206
|
+
logging: this._options.logging,
|
|
50207
|
+
});
|
|
50208
|
+
if (_response.ok) {
|
|
50209
|
+
return {
|
|
50210
|
+
data: serializers.ListModelsResponse.parseOrThrow(_response.body, {
|
|
50211
|
+
unrecognizedObjectKeys: "passthrough",
|
|
50212
|
+
allowUnrecognizedUnionMembers: true,
|
|
50213
|
+
allowUnrecognizedEnumValues: true,
|
|
50214
|
+
skipValidation: true,
|
|
50215
|
+
breadcrumbsPrefix: ["response"],
|
|
50216
|
+
}),
|
|
50217
|
+
rawResponse: _response.rawResponse,
|
|
50218
|
+
};
|
|
50219
|
+
}
|
|
50220
|
+
if (_response.error.reason === "status-code") {
|
|
50221
|
+
switch (_response.error.statusCode) {
|
|
50222
|
+
case 400:
|
|
50223
|
+
throw new Cohere.BadRequestError(_response.error.body, _response.rawResponse);
|
|
50224
|
+
case 401:
|
|
50225
|
+
throw new Cohere.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
50226
|
+
case 403:
|
|
50227
|
+
throw new Cohere.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
50228
|
+
case 404:
|
|
50229
|
+
throw new Cohere.NotFoundError(_response.error.body, _response.rawResponse);
|
|
50230
|
+
case 422:
|
|
50231
|
+
throw new Cohere.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
50232
|
+
case 429:
|
|
50233
|
+
throw new Cohere.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
50234
|
+
case 498:
|
|
50235
|
+
throw new Cohere.InvalidTokenError(_response.error.body, _response.rawResponse);
|
|
50236
|
+
case 499:
|
|
50237
|
+
throw new Cohere.ClientClosedRequestError(_response.error.body, _response.rawResponse);
|
|
50238
|
+
case 500:
|
|
50239
|
+
throw new Cohere.InternalServerError(_response.error.body, _response.rawResponse);
|
|
50240
|
+
case 501:
|
|
50241
|
+
throw new Cohere.NotImplementedError(_response.error.body, _response.rawResponse);
|
|
50242
|
+
case 503:
|
|
50243
|
+
throw new Cohere.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
50244
|
+
case 504:
|
|
50245
|
+
throw new Cohere.GatewayTimeoutError(_response.error.body, _response.rawResponse);
|
|
50246
|
+
default:
|
|
50247
|
+
throw new errors.CohereError({
|
|
50248
|
+
statusCode: _response.error.statusCode,
|
|
50249
|
+
body: _response.error.body,
|
|
50250
|
+
rawResponse: _response.rawResponse,
|
|
50251
|
+
});
|
|
50252
|
+
}
|
|
50253
|
+
}
|
|
50254
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/models");
|
|
50255
|
+
});
|
|
50256
|
+
}
|
|
50257
|
+
}
|
|
50258
|
+
exports.ModelsClient = ModelsClient;
|
|
50259
|
+
|
|
50260
|
+
|
|
50275
50261
|
/***/ }),
|
|
50276
50262
|
|
|
50277
50263
|
/***/ 94502:
|
|
@@ -52306,6 +52292,20 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
52306
52292
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
52307
52293
|
|
|
52308
52294
|
|
|
52295
|
+
/***/ }),
|
|
52296
|
+
|
|
52297
|
+
/***/ 97454:
|
|
52298
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
52299
|
+
|
|
52300
|
+
"use strict";
|
|
52301
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
52302
|
+
/* harmony export */ $: () => (/* binding */ hasOwn)
|
|
52303
|
+
/* harmony export */ });
|
|
52304
|
+
function hasOwn(o, k) {
|
|
52305
|
+
return Object.prototype.hasOwnProperty.call(o, k);
|
|
52306
|
+
}
|
|
52307
|
+
|
|
52308
|
+
|
|
52309
52309
|
/***/ }),
|
|
52310
52310
|
|
|
52311
52311
|
/***/ 97776:
|
|
@@ -52844,7 +52844,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
52844
52844
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
52845
52845
|
exports.V2ChatStreamRequest = void 0;
|
|
52846
52846
|
const core = __importStar(__webpack_require__(84584));
|
|
52847
|
-
const ChatMessages_1 = __webpack_require__(
|
|
52847
|
+
const ChatMessages_1 = __webpack_require__(89359);
|
|
52848
52848
|
const CitationOptions_1 = __webpack_require__(65102);
|
|
52849
52849
|
const ResponseFormatV2_1 = __webpack_require__(31917);
|
|
52850
52850
|
const Thinking_1 = __webpack_require__(14245);
|