@datalayer/agent-runtimes 1.3.15 → 1.3.16

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.
Files changed (45) hide show
  1. package/README.md +1 -1
  2. package/lib/chat/base/ChatBase.js +3 -2
  3. package/lib/config/AgentConfiguration.d.ts +1 -1
  4. package/lib/loop/embed/LoopEmbed.d.ts +6 -1
  5. package/lib/loop/embed/LoopEmbed.js +3 -2
  6. package/lib/loop/plugins/chat/ChatView.js +9 -4
  7. package/lib/loop/plugins/chat/index.d.ts +10 -0
  8. package/lib/loop/plugins/chat/index.js +1 -0
  9. package/lib/loop/presets.d.ts +6 -0
  10. package/lib/loop/presets.js +2 -1
  11. package/lib/loop/shell/LoopWorkspace.d.ts +14 -0
  12. package/lib/loop/shell/LoopWorkspace.js +20 -6
  13. package/lib/loop/shell/index.d.ts +1 -1
  14. package/lib/loop/shell/index.js +1 -1
  15. package/lib/loop/shell/useWorkspaceFullScreen.d.ts +17 -4
  16. package/lib/loop/shell/useWorkspaceFullScreen.js +23 -6
  17. package/lib/specs/agents/agents.d.ts +1 -0
  18. package/lib/specs/agents/agents.js +338 -284
  19. package/lib/specs/events.d.ts +6 -1
  20. package/lib/specs/events.js +144 -1
  21. package/lib/specs/index.d.ts +2 -0
  22. package/lib/specs/index.js +2 -0
  23. package/lib/specs/mcpServers.js +2 -2
  24. package/lib/specs/memory.js +4 -0
  25. package/lib/specs/modelProviders.d.ts +22 -0
  26. package/lib/specs/modelProviders.js +102 -0
  27. package/lib/specs/models.d.ts +31 -0
  28. package/lib/specs/models.js +215 -0
  29. package/lib/specs/outputs.js +2 -2
  30. package/lib/specs/skills.js +1 -1
  31. package/lib/specs/teams/teams.js +18 -18
  32. package/lib/specs/uiPlugins.d.ts +16 -0
  33. package/lib/specs/uiPlugins.js +40 -0
  34. package/lib/types/agentspecs.d.ts +18 -2
  35. package/lib/types/memory.d.ts +2 -0
  36. package/lib/types/models.d.ts +52 -0
  37. package/package.json +1 -1
  38. package/scripts/check-cloudflare-models.py +122 -0
  39. package/scripts/codegen/generate_agents.py +6 -4
  40. package/scripts/codegen/generate_memory.py +2 -0
  41. package/scripts/codegen/generate_model_providers.py +246 -0
  42. package/scripts/codegen/generate_models.py +135 -4
  43. package/scripts/codegen/generate_sandbox_agents.py +1 -1
  44. package/scripts/codegen/generate_ui_plugins.py +226 -0
  45. package/scripts/gen_workers.py +2 -2
@@ -7,13 +7,18 @@
7
7
  * DO NOT EDIT MANUALLY - run 'make specs' to regenerate.
8
8
  */
9
9
  import type { EventSpec } from '../types';
10
+ export declare const AGENT_ASSIGNED_EVENT_SPEC_0_0_1: EventSpec;
10
11
  export declare const AGENT_ENDED_EVENT_SPEC_0_0_1: EventSpec;
12
+ export declare const AGENT_OUTPUT_EVENT_SPEC_0_0_1: EventSpec;
11
13
  export declare const AGENT_STARTED_EVENT_SPEC_0_0_1: EventSpec;
14
+ export declare const GENERIC_EVENT_SPEC_0_0_1: EventSpec;
12
15
  export declare const TOOL_APPROVAL_REQUESTED_EVENT_SPEC_0_0_1: EventSpec;
16
+ export declare const EVENT_KIND_AGENT_ASSIGNED = "agent-assigned";
13
17
  export declare const EVENT_KIND_AGENT_ENDED = "agent-ended";
18
+ export declare const EVENT_KIND_AGENT_OUTPUT = "agent-output";
14
19
  export declare const EVENT_KIND_AGENT_STARTED = "agent-started";
20
+ export declare const EVENT_KIND_GENERIC = "generic";
15
21
  export declare const EVENT_KIND_TOOL_APPROVAL_REQUESTED = "tool-approval-requested";
16
- export declare const EVENT_KIND_AGENT_ASSIGNED = "agent-assigned";
17
22
  export declare const EVENT_CATALOG: Record<string, EventSpec>;
18
23
  export declare function getEventSpecs(): EventSpec[];
19
24
  export declare function getEventSpec(eventId: string): EventSpec | undefined;
@@ -5,6 +5,64 @@
5
5
  // ============================================================================
6
6
  // Event Definitions
7
7
  // ============================================================================
8
+ export const AGENT_ASSIGNED_EVENT_SPEC_0_0_1 = {
9
+ id: 'agent-assigned',
10
+ version: '0.0.1',
11
+ name: 'Agent Assigned',
12
+ description: 'Emitted when a running runtime is given its agent: the agent is created in the runtime, its MCP servers started and its environment set.',
13
+ kind: 'agent-assigned',
14
+ fields: [
15
+ {
16
+ name: 'agent_runtime_id',
17
+ label: 'Agent Runtime ID',
18
+ type: 'string',
19
+ required: true,
20
+ description: 'Runtime pod or instance identifier.',
21
+ },
22
+ {
23
+ name: 'agent_name',
24
+ label: 'Agent Name',
25
+ type: 'string',
26
+ required: true,
27
+ description: 'Name of the agent assigned to the runtime.',
28
+ },
29
+ {
30
+ name: 'assignment_source',
31
+ label: 'Assignment Source',
32
+ type: 'string',
33
+ required: true,
34
+ description: 'What assigned the agent (e.g. the launch request, the pool).',
35
+ },
36
+ {
37
+ name: 'assigned_at',
38
+ label: 'Assigned At',
39
+ type: 'string',
40
+ required: true,
41
+ description: 'ISO 8601 timestamp when the agent was assigned.',
42
+ },
43
+ {
44
+ name: 'sandbox_variant',
45
+ label: 'Sandbox Variant',
46
+ type: 'string',
47
+ required: false,
48
+ description: 'The sandbox the agent executes code in.',
49
+ },
50
+ {
51
+ name: 'mcp_proxy_url',
52
+ label: 'MCP Proxy URL',
53
+ type: 'string',
54
+ required: false,
55
+ description: 'Address of the MCP proxy the agent reaches its tools through.',
56
+ },
57
+ {
58
+ name: 'env_vars_set',
59
+ label: 'Env Vars Set',
60
+ type: 'number',
61
+ required: false,
62
+ description: 'How many environment variables were set for the agent.',
63
+ },
64
+ ],
65
+ };
8
66
  export const AGENT_ENDED_EVENT_SPEC_0_0_1 = {
9
67
  id: 'agent-ended',
10
68
  version: '0.0.1',
@@ -70,6 +128,78 @@ export const AGENT_ENDED_EVENT_SPEC_0_0_1 = {
70
128
  },
71
129
  ],
72
130
  };
131
+ export const AGENT_OUTPUT_EVENT_SPEC_0_0_1 = {
132
+ id: 'agent-output',
133
+ version: '0.0.1',
134
+ name: 'Agent Output',
135
+ description: "Emitted when an agent run produces its output: a triggered run that finished (with its timing and exit status) or a chat turn that completed. The event's status is the run's exit status.",
136
+ kind: 'agent-output',
137
+ fields: [
138
+ {
139
+ name: 'outputs',
140
+ label: 'Outputs',
141
+ type: 'string',
142
+ required: false,
143
+ description: 'The text the agent produced, or a summary of the artifacts it generated.',
144
+ },
145
+ {
146
+ name: 'exit_status',
147
+ label: 'Exit Status',
148
+ type: 'string',
149
+ required: true,
150
+ description: 'Final status of the run (e.g. completed, error).',
151
+ },
152
+ {
153
+ name: 'duration_ms',
154
+ label: 'Duration (ms)',
155
+ type: 'number',
156
+ required: true,
157
+ description: 'Execution time of the run or the turn, in milliseconds.',
158
+ },
159
+ {
160
+ name: 'agent_runtime_id',
161
+ label: 'Agent Runtime ID',
162
+ type: 'string',
163
+ required: false,
164
+ description: 'Runtime pod or instance identifier; set by a triggered run.',
165
+ },
166
+ {
167
+ name: 'agent_spec_id',
168
+ label: 'Agent Spec ID',
169
+ type: 'string',
170
+ required: false,
171
+ description: 'Identifier of the agent specification that ran; set by a triggered run.',
172
+ },
173
+ {
174
+ name: 'agent_id',
175
+ label: 'Agent ID',
176
+ type: 'string',
177
+ required: false,
178
+ description: 'Identifier of the agent in the runtime; set by a chat turn.',
179
+ },
180
+ {
181
+ name: 'started_at',
182
+ label: 'Started At',
183
+ type: 'string',
184
+ required: false,
185
+ description: 'ISO 8601 timestamp when the run started; set by a triggered run.',
186
+ },
187
+ {
188
+ name: 'ended_at',
189
+ label: 'Ended At',
190
+ type: 'string',
191
+ required: false,
192
+ description: 'ISO 8601 timestamp when the run ended; set by a triggered run.',
193
+ },
194
+ {
195
+ name: 'error_message',
196
+ label: 'Error Message',
197
+ type: 'string',
198
+ required: false,
199
+ description: 'Error description if the run failed.',
200
+ },
201
+ ],
202
+ };
73
203
  export const AGENT_STARTED_EVENT_SPEC_0_0_1 = {
74
204
  id: 'agent-started',
75
205
  version: '0.0.1',
@@ -114,6 +244,14 @@ export const AGENT_STARTED_EVENT_SPEC_0_0_1 = {
114
244
  },
115
245
  ],
116
246
  };
247
+ export const GENERIC_EVENT_SPEC_0_0_1 = {
248
+ id: 'generic',
249
+ version: '0.0.1',
250
+ name: 'Generic',
251
+ description: 'An event with no kind of its own: what the events client and the CLI create when none is named. It carries a title and a status, and no typed payload.',
252
+ kind: 'generic',
253
+ fields: [],
254
+ };
117
255
  export const TOOL_APPROVAL_REQUESTED_EVENT_SPEC_0_0_1 = {
118
256
  id: 'tool-approval-requested',
119
257
  version: '0.0.1',
@@ -152,16 +290,21 @@ export const TOOL_APPROVAL_REQUESTED_EVENT_SPEC_0_0_1 = {
152
290
  ],
153
291
  };
154
292
  // Event kind constants for programmatic use
293
+ export const EVENT_KIND_AGENT_ASSIGNED = 'agent-assigned';
155
294
  export const EVENT_KIND_AGENT_ENDED = 'agent-ended';
295
+ export const EVENT_KIND_AGENT_OUTPUT = 'agent-output';
156
296
  export const EVENT_KIND_AGENT_STARTED = 'agent-started';
297
+ export const EVENT_KIND_GENERIC = 'generic';
157
298
  export const EVENT_KIND_TOOL_APPROVAL_REQUESTED = 'tool-approval-requested';
158
- export const EVENT_KIND_AGENT_ASSIGNED = 'agent-assigned';
159
299
  // ============================================================================
160
300
  // Event Catalog
161
301
  // ============================================================================
162
302
  export const EVENT_CATALOG = {
303
+ 'agent-assigned': AGENT_ASSIGNED_EVENT_SPEC_0_0_1,
163
304
  'agent-ended': AGENT_ENDED_EVENT_SPEC_0_0_1,
305
+ 'agent-output': AGENT_OUTPUT_EVENT_SPEC_0_0_1,
164
306
  'agent-started': AGENT_STARTED_EVENT_SPEC_0_0_1,
307
+ generic: GENERIC_EVENT_SPEC_0_0_1,
165
308
  'tool-approval-requested': TOOL_APPROVAL_REQUESTED_EVENT_SPEC_0_0_1,
166
309
  };
167
310
  export function getEventSpecs() {
@@ -12,8 +12,10 @@ export * from './loops';
12
12
  export * from './mcpServers';
13
13
  export * from './memory';
14
14
  export * from './models';
15
+ export * from './modelProviders';
15
16
  export * from './notifications';
16
17
  export * from './outputs';
17
18
  export * from './skills';
18
19
  export * from './tools';
19
20
  export * from './triggers';
21
+ export * from './uiPlugins';
@@ -16,8 +16,10 @@ export * from './loops';
16
16
  export * from './mcpServers';
17
17
  export * from './memory';
18
18
  export * from './models';
19
+ export * from './modelProviders';
19
20
  export * from './notifications';
20
21
  export * from './outputs';
21
22
  export * from './skills';
22
23
  export * from './tools';
23
24
  export * from './triggers';
25
+ export * from './uiPlugins';
@@ -70,7 +70,7 @@ export const EARTHDATA_MCP_SERVER_0_0_1 = {
70
70
  command: 'npx',
71
71
  args: ['-y', 'earthdata-mcp-server'],
72
72
  transport: 'stdio',
73
- enabled: false,
73
+ enabled: true,
74
74
  isAvailable: false,
75
75
  tools: [],
76
76
  requiredEnvVars: ['EARTHDATA_USERNAME:0.0.1', 'EARTHDATA_PASSWORD:0.0.1'],
@@ -259,7 +259,7 @@ export const TAVILY_MCP_SERVER_0_0_1 = {
259
259
  command: 'npx',
260
260
  args: ['-y', 'tavily-mcp'],
261
261
  transport: 'stdio',
262
- enabled: false,
262
+ enabled: true,
263
263
  isAvailable: false,
264
264
  tools: [],
265
265
  requiredEnvVars: ['TAVILY_API_KEY:0.0.1'],
@@ -22,6 +22,7 @@ export const EPHEMERAL_MEMORY_0_0_1 = {
22
22
  persistence: 'none',
23
23
  scope: 'agent',
24
24
  backend: 'in-memory',
25
+ enabled: false,
25
26
  icon: 'zap',
26
27
  emoji: '⚡',
27
28
  };
@@ -33,6 +34,7 @@ export const MEM0_MEMORY_0_0_1 = {
33
34
  persistence: 'permanent',
34
35
  scope: 'user',
35
36
  backend: 'mem0',
37
+ enabled: true,
36
38
  icon: 'brain',
37
39
  emoji: '🧠',
38
40
  };
@@ -44,6 +46,7 @@ export const MEMU_MEMORY_0_0_1 = {
44
46
  persistence: 'permanent',
45
47
  scope: 'user',
46
48
  backend: 'memu',
49
+ enabled: false,
47
50
  icon: 'eye',
48
51
  emoji: '👁️',
49
52
  };
@@ -55,6 +58,7 @@ export const SIMPLEMEM_MEMORY_0_0_1 = {
55
58
  persistence: 'cross-session',
56
59
  scope: 'agent',
57
60
  backend: 'lancedb',
61
+ enabled: false,
58
62
  icon: 'archive',
59
63
  emoji: '🗜️',
60
64
  };
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Model Provider Catalog.
3
+ *
4
+ * Who serves a model: the vendor's own API, a cloud that hosts it, or the
5
+ * user's machine — with its site, documentation, terms, privacy policy and
6
+ * what it says about the data a request carries.
7
+ *
8
+ * This file is AUTO-GENERATED from YAML specifications.
9
+ * DO NOT EDIT MANUALLY - run 'make specs' to regenerate.
10
+ */
11
+ import type { ModelProvider } from '../types/models';
12
+ export declare const ALIBABA_0_0_1: ModelProvider;
13
+ export declare const ANTHROPIC_0_0_1: ModelProvider;
14
+ export declare const AZURE_OPENAI_0_0_1: ModelProvider;
15
+ export declare const BEDROCK_0_0_1: ModelProvider;
16
+ export declare const CLOUDFLARE_0_0_1: ModelProvider;
17
+ export declare const OLLAMA_0_0_1: ModelProvider;
18
+ export declare const OPENAI_0_0_1: ModelProvider;
19
+ export declare const MODEL_PROVIDER_CATALOGUE: Record<string, ModelProvider>;
20
+ /** The provider a model spec's `provider` names, or undefined. */
21
+ export declare function getModelProvider(providerId: string): ModelProvider | undefined;
22
+ export declare function listModelProviders(): ModelProvider[];
@@ -0,0 +1,102 @@
1
+ /*
2
+ * Copyright (c) 2025-2026 Datalayer, Inc.
3
+ * Distributed under the terms of the Modified BSD License.
4
+ */
5
+ export const ALIBABA_0_0_1 = {
6
+ id: 'alibaba',
7
+ version: '0.0.1',
8
+ name: 'Alibaba Cloud Model Studio',
9
+ description: "Alibaba Cloud's model service for the Qwen family, through an OpenAI-compatible endpoint, under Alibaba Cloud's international product terms.",
10
+ website: 'https://www.alibabacloud.com/en/product/modelstudio',
11
+ docsUrl: 'https://www.alibabacloud.com/help/en/model-studio/',
12
+ termsUrl: 'https://www.alibabacloud.com/help/en/legal/latest/alibaba-cloud-international-website-product-terms-of-service',
13
+ privacyUrl: 'https://www.alibabacloud.com/help/en/legal/latest/privacy-policy',
14
+ hosting: 'cloud',
15
+ };
16
+ export const ANTHROPIC_0_0_1 = {
17
+ id: 'anthropic',
18
+ version: '0.0.1',
19
+ name: 'Anthropic',
20
+ description: "Anthropic's own API for the Claude models — the vendor's endpoint, with the newest models first and the vendor's own usage policy.",
21
+ website: 'https://www.anthropic.com',
22
+ docsUrl: 'https://docs.claude.com/en/home',
23
+ termsUrl: 'https://www.anthropic.com/legal/commercial-terms',
24
+ privacyUrl: 'https://www.anthropic.com/legal/privacy',
25
+ dataUsageUrl: 'https://www.anthropic.com/legal/aup',
26
+ hosting: 'cloud',
27
+ };
28
+ export const AZURE_OPENAI_0_0_1 = {
29
+ id: 'azure-openai',
30
+ version: '0.0.1',
31
+ name: 'Azure OpenAI',
32
+ description: "OpenAI's models served by Microsoft Azure (Foundry Models sold by Azure) — an Azure resource, endpoint and key, under the Microsoft Product Terms and Azure's data-privacy commitments.",
33
+ website: 'https://azure.microsoft.com/en-us/products/ai-foundry/models/openai',
34
+ docsUrl: 'https://learn.microsoft.com/en-us/azure/ai-foundry/openai/overview',
35
+ termsUrl: 'https://www.microsoft.com/licensing/terms/productoffering/MicrosoftAzure/EAEAS',
36
+ privacyUrl: 'https://www.microsoft.com/en-us/privacy/privacystatement',
37
+ dataUsageUrl: 'https://learn.microsoft.com/en-us/legal/cognitive-services/openai/data-privacy',
38
+ hosting: 'cloud',
39
+ };
40
+ export const BEDROCK_0_0_1 = {
41
+ id: 'bedrock',
42
+ version: '0.0.1',
43
+ name: 'Amazon Bedrock',
44
+ description: "AWS's managed service for foundation models, among them Anthropic's Claude — called with AWS credentials, in an AWS region, under AWS's service terms and data protection.",
45
+ website: 'https://aws.amazon.com/bedrock/',
46
+ docsUrl: 'https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-bedrock.html',
47
+ termsUrl: 'https://aws.amazon.com/service-terms/',
48
+ privacyUrl: 'https://aws.amazon.com/privacy/',
49
+ dataUsageUrl: 'https://docs.aws.amazon.com/bedrock/latest/userguide/data-protection.html',
50
+ hosting: 'cloud',
51
+ };
52
+ export const CLOUDFLARE_0_0_1 = {
53
+ id: 'cloudflare',
54
+ version: '0.0.1',
55
+ name: 'Cloudflare',
56
+ description: "Cloudflare Workers AI, the models Cloudflare hosts at its edge, and AI Gateway, which sits in front of them and of the third-party models it fronts (Typesafe's Jev) with logs, caching, rate limits and prepaid credits. A model's route (`wrk`, `gtw`) says which of the two it is reached through.",
57
+ website: 'https://www.cloudflare.com/developer-platform/products/workers-ai/',
58
+ docsUrl: 'https://developers.cloudflare.com/workers-ai/',
59
+ termsUrl: 'https://www.cloudflare.com/terms/',
60
+ privacyUrl: 'https://www.cloudflare.com/privacypolicy/',
61
+ dataUsageUrl: 'https://developers.cloudflare.com/workers-ai/platform/data-usage/',
62
+ hosting: 'cloud',
63
+ };
64
+ export const OLLAMA_0_0_1 = {
65
+ id: 'ollama',
66
+ version: '0.0.1',
67
+ name: 'Ollama',
68
+ description: "Open models run on the user's own machine through Ollama's local server — no API key, no data leaving the machine; the terms and privacy below are Ollama's for its site and registry.",
69
+ website: 'https://ollama.com/',
70
+ docsUrl: 'https://docs.ollama.com/',
71
+ termsUrl: 'https://ollama.com/terms',
72
+ privacyUrl: 'https://ollama.com/privacy',
73
+ hosting: 'local',
74
+ };
75
+ export const OPENAI_0_0_1 = {
76
+ id: 'openai',
77
+ version: '0.0.1',
78
+ name: 'OpenAI',
79
+ description: "OpenAI's platform API for the GPT and o-series models — the vendor's endpoint, under its business terms; API data is not used for training by default.",
80
+ website: 'https://openai.com',
81
+ docsUrl: 'https://platform.openai.com/docs/overview',
82
+ termsUrl: 'https://openai.com/policies/business-terms/',
83
+ privacyUrl: 'https://openai.com/policies/privacy-policy/',
84
+ dataUsageUrl: 'https://platform.openai.com/docs/guides/your-data',
85
+ hosting: 'cloud',
86
+ };
87
+ export const MODEL_PROVIDER_CATALOGUE = {
88
+ alibaba: ALIBABA_0_0_1,
89
+ anthropic: ANTHROPIC_0_0_1,
90
+ 'azure-openai': AZURE_OPENAI_0_0_1,
91
+ bedrock: BEDROCK_0_0_1,
92
+ cloudflare: CLOUDFLARE_0_0_1,
93
+ ollama: OLLAMA_0_0_1,
94
+ openai: OPENAI_0_0_1,
95
+ };
96
+ /** The provider a model spec's `provider` names, or undefined. */
97
+ export function getModelProvider(providerId) {
98
+ return MODEL_PROVIDER_CATALOGUE[providerId];
99
+ }
100
+ export function listModelProviders() {
101
+ return Object.values(MODEL_PROVIDER_CATALOGUE);
102
+ }
@@ -30,6 +30,14 @@ export declare const AIModels: {
30
30
  readonly BEDROCK_US_ANTHROPIC_CLAUDE_SONNET_4_5_20250929_V1_0: "bedrock:us.anthropic.claude-sonnet-4-5-20250929-v1:0";
31
31
  readonly BEDROCK_US_ANTHROPIC_CLAUDE_SONNET_4_6: "bedrock:us.anthropic.claude-sonnet-4-6";
32
32
  readonly BEDROCK_US_ANTHROPIC_CLAUDE_SONNET_4_20250514_V1_0: "bedrock:us.anthropic.claude-sonnet-4-20250514-v1:0";
33
+ readonly CLOUDFLARE_GTW_TYPESAFE_JEV: "cloudflare:gtw/typesafe/jev";
34
+ readonly CLOUDFLARE_WRK_GOOGLE_GEMMA_4_26B_A4B_IT: "cloudflare:wrk/google/gemma-4-26b-a4b-it";
35
+ readonly CLOUDFLARE_WRK_ZAI_ORG_GLM_5_2: "cloudflare:wrk/zai-org/glm-5.2";
36
+ readonly CLOUDFLARE_WRK_OPENAI_GPT_OSS_120B: "cloudflare:wrk/openai/gpt-oss-120b";
37
+ readonly CLOUDFLARE_WRK_MOONSHOTAI_KIMI_K2_6: "cloudflare:wrk/moonshotai/kimi-k2.6";
38
+ readonly CLOUDFLARE_WRK_META_LLAMA_3_3_70B_INSTRUCT_FP8_FAST: "cloudflare:wrk/meta/llama-3.3-70b-instruct-fp8-fast";
39
+ readonly CLOUDFLARE_WRK_QWEN_QWEN3_8_27B: "cloudflare:wrk/qwen/qwen3.8-27b";
40
+ readonly CLOUDFLARE_WRK_TYPESAFE_JEV: "cloudflare:wrk/typesafe/jev";
33
41
  readonly OLLAMA_GEMMA3_4B: "ollama:gemma3:4b";
34
42
  readonly OLLAMA_LLAMA3_1_8B: "ollama:llama3.1:8b";
35
43
  readonly OLLAMA_QWEN2_5_CODER_7B: "ollama:qwen2.5-coder:7b";
@@ -63,6 +71,14 @@ export declare const BEDROCK_US_ANTHROPIC_CLAUDE_OPUS_5_0_0_1: AIModel;
63
71
  export declare const BEDROCK_US_ANTHROPIC_CLAUDE_SONNET_4_5_20250929_V1_0_0_0_1: AIModel;
64
72
  export declare const BEDROCK_US_ANTHROPIC_CLAUDE_SONNET_4_6_0_0_1: AIModel;
65
73
  export declare const BEDROCK_US_ANTHROPIC_CLAUDE_SONNET_4_20250514_V1_0_0_0_1: AIModel;
74
+ export declare const CLOUDFLARE_GTW_TYPESAFE_JEV_0_0_1: AIModel;
75
+ export declare const CLOUDFLARE_WRK_GOOGLE_GEMMA_4_26B_A4B_IT_0_0_1: AIModel;
76
+ export declare const CLOUDFLARE_WRK_ZAI_ORG_GLM_5_2_0_0_1: AIModel;
77
+ export declare const CLOUDFLARE_WRK_OPENAI_GPT_OSS_120B_0_0_1: AIModel;
78
+ export declare const CLOUDFLARE_WRK_MOONSHOTAI_KIMI_K2_6_0_0_1: AIModel;
79
+ export declare const CLOUDFLARE_WRK_META_LLAMA_3_3_70B_INSTRUCT_FP8_FAST_0_0_1: AIModel;
80
+ export declare const CLOUDFLARE_WRK_QWEN_QWEN3_8_27B_0_0_1: AIModel;
81
+ export declare const CLOUDFLARE_WRK_TYPESAFE_JEV_0_0_1: AIModel;
66
82
  export declare const OLLAMA_GEMMA3_4B_0_0_1: AIModel;
67
83
  export declare const OLLAMA_LLAMA3_1_8B_0_0_1: AIModel;
68
84
  export declare const OLLAMA_QWEN2_5_CODER_7B_0_0_1: AIModel;
@@ -73,5 +89,20 @@ export declare const OPENAI_GPT_4O_MINI_0_0_1: AIModel;
73
89
  export declare const OPENAI_GPT_4O_0_0_1: AIModel;
74
90
  export declare const OPENAI_O3_MINI_0_0_1: AIModel;
75
91
  export declare const AI_MODEL_CATALOGUE: Record<string, AIModel>;
92
+ /**
93
+ * The ids a model answered to before its id moved, to the id it has now.
94
+ * Kept apart from the catalogue, which lists each model once.
95
+ */
96
+ export declare const AI_MODEL_ALIASES: Record<string, string>;
97
+ /** A model by its id, or by an id it had before; undefined when the catalogue has neither. */
98
+ export declare function getModel(modelId: string): AIModel | undefined;
99
+ /**
100
+ * A model a chat can run on: not a typed-judgment model (Jev), which
101
+ * answers typed questions about a state and nothing else. A spec that
102
+ * states no capability is read as a chat model.
103
+ */
104
+ export declare function isChatModel(model: AIModel): boolean;
105
+ /** The models a person choosing a chat model is offered from. */
106
+ export declare function listChatModels(): AIModel[];
76
107
  export declare const DEFAULT_MODEL: AIModelId;
77
108
  export declare const DEFAULT_MODEL_SPEC: AIModel;