@xemahq/llm-registry-api-client 0.8.2 → 0.8.4

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 (57) hide show
  1. package/dist/endpoints/work-kinds/work-kinds.d.ts +3 -3
  2. package/dist/endpoints/work-kinds/work-kinds.js +1 -1
  3. package/dist/models/agentKernelResponseDto.d.ts +5 -2
  4. package/dist/models/agentModelOverrideDto.d.ts +1 -1
  5. package/dist/models/agentProfileDto.d.ts +5 -2
  6. package/dist/models/createAgentKernelDto.d.ts +5 -3
  7. package/dist/models/createModelResolutionRuleDto.d.ts +1 -1
  8. package/dist/models/createModelStrategyDto.d.ts +11 -1
  9. package/dist/models/createModelStrategyEntryDto.d.ts +2 -2
  10. package/dist/models/createModelStrategyEntryDto.js +5 -0
  11. package/dist/models/index.d.ts +4 -12
  12. package/dist/models/index.js +4 -12
  13. package/dist/models/modelResolutionSelectorDto.d.ts +1 -1
  14. package/dist/models/modelResolutionSource.d.ts +0 -1
  15. package/dist/models/modelResolutionSource.js +0 -1
  16. package/dist/models/modelStrategyEntryResponseDto.d.ts +2 -3
  17. package/dist/models/modelStrategyEntryResponseDto.js +5 -0
  18. package/dist/models/modelVocabularyKeyDto.d.ts +15 -0
  19. package/dist/models/modelVocabularyKind.d.ts +13 -0
  20. package/dist/models/{workKindAxis.js → modelVocabularyKind.js} +4 -4
  21. package/dist/models/modelVocabularyListDto.d.ts +9 -0
  22. package/dist/models/modelVocabularyListDtoDataEnvelope.d.ts +9 -0
  23. package/dist/models/resolveFullResponseDto.d.ts +2 -3
  24. package/dist/models/resolveModelForInvocationDto.d.ts +2 -3
  25. package/dist/models/resolvedAgentKernelResponseDto.d.ts +5 -2
  26. package/dist/models/resolvedAgentKernelResponseDto.js +5 -0
  27. package/dist/models/resolvedModelSelectionDtoSource.d.ts +0 -1
  28. package/dist/models/resolvedModelSelectionDtoSource.js +0 -1
  29. package/dist/models/resolvedModelStubDtoSource.d.ts +0 -1
  30. package/dist/models/resolvedModelStubDtoSource.js +0 -1
  31. package/dist/models/updateAgentKernelDto.d.ts +5 -2
  32. package/dist/models/updateAgentKernelDto.js +5 -0
  33. package/dist/models/workKindControllerListParams.d.ts +3 -3
  34. package/package.json +1 -1
  35. package/dist/models/agentKernelResponseDtoModelClass.d.ts +0 -14
  36. package/dist/models/agentKernelResponseDtoModelClass.js +0 -16
  37. package/dist/models/agentProfileDtoModelClass.d.ts +0 -14
  38. package/dist/models/agentProfileDtoModelClass.js +0 -16
  39. package/dist/models/createAgentKernelDtoModelClass.d.ts +0 -17
  40. package/dist/models/createAgentKernelDtoModelClass.js +0 -16
  41. package/dist/models/modelClass.d.ts +0 -17
  42. package/dist/models/modelClass.js +0 -16
  43. package/dist/models/modelStrategyEntryResponseDtoModelClass.d.ts +0 -17
  44. package/dist/models/modelStrategyEntryResponseDtoModelClass.js +0 -16
  45. package/dist/models/resolveFullResponseDtoModelClass.d.ts +0 -17
  46. package/dist/models/resolveFullResponseDtoModelClass.js +0 -16
  47. package/dist/models/resolvedAgentKernelResponseDtoModelClass.d.ts +0 -14
  48. package/dist/models/resolvedAgentKernelResponseDtoModelClass.js +0 -16
  49. package/dist/models/updateAgentKernelDtoModelClass.d.ts +0 -14
  50. package/dist/models/updateAgentKernelDtoModelClass.js +0 -16
  51. package/dist/models/workKindAxis.d.ts +0 -13
  52. package/dist/models/workKindDto.d.ts +0 -19
  53. package/dist/models/workKindListDto.d.ts +0 -9
  54. package/dist/models/workKindListDtoDataEnvelope.d.ts +0 -9
  55. /package/dist/models/{workKindDto.js → modelVocabularyKeyDto.js} +0 -0
  56. /package/dist/models/{workKindListDto.js → modelVocabularyListDto.js} +0 -0
  57. /package/dist/models/{workKindListDtoDataEnvelope.js → modelVocabularyListDtoDataEnvelope.js} +0 -0
@@ -3,9 +3,9 @@
3
3
  * LLM Registry API
4
4
  * OpenAPI spec version: 0.1.3
5
5
  */
6
- import type { WorkKindControllerListParams, WorkKindListDtoDataEnvelope } from '../../models';
6
+ import type { ModelVocabularyListDtoDataEnvelope, WorkKindControllerListParams } from '../../models';
7
7
  export declare const getWorkKindControllerListUrl: (params?: WorkKindControllerListParams) => string;
8
8
  /**
9
- * @summary List every work kind this organisation can route on — the kernel core set plus every contributed kind.
9
+ * @summary List every model-routing key this organisation can route on — every key declared by an installed biome, in both vocabularies.
10
10
  */
11
- export declare const workKindControllerList: (params?: WorkKindControllerListParams, options?: RequestInit) => Promise<WorkKindListDtoDataEnvelope>;
11
+ export declare const workKindControllerList: (params?: WorkKindControllerListParams, options?: RequestInit) => Promise<ModelVocabularyListDtoDataEnvelope>;
@@ -26,7 +26,7 @@ const getWorkKindControllerListUrl = (params) => {
26
26
  };
27
27
  exports.getWorkKindControllerListUrl = getWorkKindControllerListUrl;
28
28
  /**
29
- * @summary List every work kind this organisation can route on — the kernel core set plus every contributed kind.
29
+ * @summary List every model-routing key this organisation can route on — every key declared by an installed biome, in both vocabularies.
30
30
  */
31
31
  const workKindControllerList = async (params, options) => {
32
32
  return (0, custom_fetch_1.customFetch)((0, exports.getWorkKindControllerListUrl)(params), {
@@ -6,7 +6,6 @@
6
6
  import type { AgentCapabilityLayerDto } from './agentCapabilityLayerDto.js';
7
7
  import type { AgentExecutionMode } from './agentExecutionMode.js';
8
8
  import type { AgentKernelResponseDtoDefinitionHash } from './agentKernelResponseDtoDefinitionHash.js';
9
- import type { AgentKernelResponseDtoModelClass } from './agentKernelResponseDtoModelClass.js';
10
9
  import type { AgentWorkspaceDto } from './agentWorkspaceDto.js';
11
10
  import type { ScopeSource } from './scopeSource.js';
12
11
  export interface AgentKernelResponseDto {
@@ -44,7 +43,11 @@ export interface AgentKernelResponseDto {
44
43
  /** @nullable */
45
44
  description?: string | null;
46
45
  systemPrompt: string;
47
- modelClass: AgentKernelResponseDtoModelClass;
46
+ /**
47
+ * The model LANE this agent routes on — strategy entries map a lane to a modelSlug. An OPEN vocabulary: every key is declared by a `model-lane` contribution, and `GET /work-kinds?kind=model-lane` enumerates what this organisation may use. Distinct from AgentRunRole (permissions).
48
+ * @pattern ^[a-z][a-z0-9-]{0,62}$
49
+ */
50
+ modelClass: string;
48
51
  /**
49
52
  * `null` defers to the engine/model default.
50
53
  * @nullable
@@ -9,7 +9,7 @@ export interface AgentModelOverrideDto {
9
9
  modelId?: string;
10
10
  providerSlug?: string;
11
11
  /**
12
- * Work kind this node's model resolves through (kind=strategy). OPEN vocabulary: the kernel core is generic | coding | review | creative | planning | utility, plus any key a biome or this org has declared. Checked against the org's visible set on write.
12
+ * Work kind this node's model resolves through (kind=strategy). OPEN vocabulary with no kernel core: every lane is declared by a `model-lane` contribution, so `GET /work-kinds?kind=model-lane` enumerates the lanes this organisation may use. Checked against the org's visible set on write.
13
13
  * @pattern ^[a-z][a-z0-9-]{0,62}$
14
14
  */
15
15
  modelClass?: string;
@@ -6,7 +6,6 @@
6
6
  import type { AgentExecutionMode } from './agentExecutionMode.js';
7
7
  import type { AgentProfileDtoAvatarSeed } from './agentProfileDtoAvatarSeed.js';
8
8
  import type { AgentProfileDtoDescription } from './agentProfileDtoDescription.js';
9
- import type { AgentProfileDtoModelClass } from './agentProfileDtoModelClass.js';
10
9
  export interface AgentProfileDto {
11
10
  id: string;
12
11
  slug: string;
@@ -16,7 +15,11 @@ export interface AgentProfileDto {
16
15
  /** @nullable */
17
16
  avatarSeed?: AgentProfileDtoAvatarSeed;
18
17
  avatarStyle: string;
19
- modelClass: AgentProfileDtoModelClass;
18
+ /**
19
+ * The model LANE this agent routes on — strategy entries map a lane to a modelSlug. An OPEN vocabulary: every key is declared by a `model-lane` contribution, and `GET /work-kinds?kind=model-lane` enumerates what this organisation may use. Distinct from AgentRunRole (permissions).
20
+ * @pattern ^[a-z][a-z0-9-]{0,62}$
21
+ */
22
+ modelClass: string;
20
23
  skills: string[];
21
24
  isActive: boolean;
22
25
  identityVersion: number;
@@ -3,7 +3,6 @@
3
3
  * LLM Registry API
4
4
  * OpenAPI spec version: 0.1.3
5
5
  */
6
- import type { CreateAgentKernelDtoModelClass } from './createAgentKernelDtoModelClass.js';
7
6
  import type { ScopeSource } from './scopeSource.js';
8
7
  export interface CreateAgentKernelDto {
9
8
  /** Unique slug for the agent definition. */
@@ -14,8 +13,11 @@ export interface CreateAgentKernelDto {
14
13
  description?: string;
15
14
  /** Base system prompt. */
16
15
  systemPrompt: string;
17
- /** LLM-routing tier. Strategy entries map class → modelSlug. Distinct from AgentRunRole (permissions). */
18
- modelClass: CreateAgentKernelDtoModelClass;
16
+ /**
17
+ * The model LANE this agent routes on — strategy entries map a lane to a modelSlug. An OPEN vocabulary: every key is declared by a `model-lane` contribution, and `GET /work-kinds?kind=model-lane` enumerates what this organisation may use. Distinct from AgentRunRole (permissions).
18
+ * @pattern ^[a-z][a-z0-9-]{0,62}$
19
+ */
20
+ modelClass: string;
19
21
  /** LLM temperature override. */
20
22
  temperature?: number;
21
23
  /** MCP service keys this agent can access. */
@@ -15,7 +15,7 @@ export interface CreateModelResolutionRuleDto {
15
15
  /** Provider slug disambiguating the concrete model. Optional partner to targetModelId. */
16
16
  targetProviderSlug?: string;
17
17
  /**
18
- * Work kind this rule routes through. Required when targetKind=strategy. OPEN vocabulary: the kernel core is generic | coding | review | creative | planning | utility, plus any key a biome or this org has declared. Checked against the org's declared set on write.
18
+ * Work kind this rule routes through. Required when targetKind=strategy. OPEN vocabulary with no kernel core: every lane is declared by a `model-lane` contribution, so `GET /work-kinds?kind=model-lane` enumerates the lanes this organisation may use. Checked against the org's declared set on write.
19
19
  * @pattern ^[a-z][a-z0-9-]{0,62}$
20
20
  */
21
21
  targetModelClass?: string;
@@ -18,6 +18,16 @@ export interface CreateModelStrategyDto {
18
18
  appliesToAgentSlugs?: string[];
19
19
  /** Stage keys this child strategy applies to */
20
20
  appliesToStageKeys?: string[];
21
- /** Class → model entries (one per modelClass) */
21
+ /** This strategy's DEFAULT model — what an invocation routes to when the requested work kind has no entry below. REQUIRED when authoring a strategy: a strategy with no default cannot answer an unbound kind, and the platform will not choose a model on an organisation's behalf. (A stored strategy may legitimately have none — that is an organisation that has not chosen yet. Authoring one that way is a different thing, and it is refused here, where the person who can fix it is present.) */
22
+ defaultModelSlug: string;
23
+ /**
24
+ * Temperature for the default binding (0-2). Omitted = the engine/model owns it; no platform value is ever materialized.
25
+ * @minimum 0
26
+ * @maximum 2
27
+ */
28
+ defaultTemperature?: number;
29
+ /** Reasoning effort for the default binding. Same posture as `defaultTemperature`: omitted = the engine/model owns it. */
30
+ defaultReasoningEffort?: string;
31
+ /** Work kind → model entries (at most one per kind). An entry OVERRIDES the default binding for the kind it names; a kind with no entry uses the default. */
22
32
  entries: CreateModelStrategyEntryDto[];
23
33
  }
@@ -3,9 +3,9 @@
3
3
  * LLM Registry API
4
4
  * OpenAPI spec version: 0.1.3
5
5
  */
6
- import type { ModelClass } from './modelClass.js';
7
6
  export interface CreateModelStrategyEntryDto {
8
- modelClass: ModelClass;
7
+ /** The work kind this entry routes. An OPEN vocabulary: the kernel core plus every key a biome or this organisation has declared. Lower-kebab; validated for GRAMMAR here and for DECLARATION where org context exists. */
8
+ modelClass: string;
9
9
  /** Model slug/ID to match against LlmModel.modelId */
10
10
  modelSlug: string;
11
11
  /**
@@ -1,2 +1,7 @@
1
1
  "use strict";
2
+ /**
3
+ * Generated by @xemahq/api-client-generator — do not edit manually.
4
+ * LLM Registry API
5
+ * OpenAPI spec version: 0.1.3
6
+ */
2
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -34,7 +34,6 @@ export * from './agentKernelResponseDto';
34
34
  export * from './agentKernelResponseDtoDataArrayEnvelope';
35
35
  export * from './agentKernelResponseDtoDataEnvelope';
36
36
  export * from './agentKernelResponseDtoDefinitionHash';
37
- export * from './agentKernelResponseDtoModelClass';
38
37
  export * from './agentKernelResponseDtoPaginatedEnvelope';
39
38
  export * from './agentLiveRevisionDto';
40
39
  export * from './agentModelOverrideControllerListParams';
@@ -70,7 +69,6 @@ export * from './agentProfileDto';
70
69
  export * from './agentProfileDtoAvatarSeed';
71
70
  export * from './agentProfileDtoDataEnvelope';
72
71
  export * from './agentProfileDtoDescription';
73
- export * from './agentProfileDtoModelClass';
74
72
  export * from './agentProfileDtoPaginatedEnvelope';
75
73
  export * from './agentReachTier';
76
74
  export * from './agentRefDto';
@@ -122,7 +120,6 @@ export * from './codeStandardResponseDtoDataArrayEnvelope';
122
120
  export * from './codeStandardResponseDtoDataEnvelope';
123
121
  export * from './createAgentDto';
124
122
  export * from './createAgentKernelDto';
125
- export * from './createAgentKernelDtoModelClass';
126
123
  export * from './createCodeStandardDto';
127
124
  export * from './createCodeStandardDtoCategory';
128
125
  export * from './createModelDto';
@@ -178,7 +175,6 @@ export * from './migrationProvisionDto';
178
175
  export * from './migrationProvisionDtoConsumer';
179
176
  export * from './migrationTargetDto';
180
177
  export * from './modelCapability';
181
- export * from './modelClass';
182
178
  export * from './modelModality';
183
179
  export * from './modelMode';
184
180
  export * from './modelPricingTierDto';
@@ -202,10 +198,13 @@ export * from './modelStatusDto';
202
198
  export * from './modelStatusDtoDataEnvelope';
203
199
  export * from './modelStrategyControllerGetProjectBinding200';
204
200
  export * from './modelStrategyEntryResponseDto';
205
- export * from './modelStrategyEntryResponseDtoModelClass';
206
201
  export * from './modelStrategyResponseDto';
207
202
  export * from './modelStrategyResponseDtoDataArrayEnvelope';
208
203
  export * from './modelStrategyResponseDtoDataEnvelope';
204
+ export * from './modelVocabularyKeyDto';
205
+ export * from './modelVocabularyKind';
206
+ export * from './modelVocabularyListDto';
207
+ export * from './modelVocabularyListDtoDataEnvelope';
209
208
  export * from './mountEntryDto';
210
209
  export * from './mountEntryDtoMode';
211
210
  export * from './moveRevisionPinsDto';
@@ -262,11 +261,9 @@ export * from './rescopeDto';
262
261
  export * from './resolveFullResponseDto';
263
262
  export * from './resolveFullResponseDtoDataEnvelope';
264
263
  export * from './resolveFullResponseDtoIntrinsicSubAgentPins';
265
- export * from './resolveFullResponseDtoModelClass';
266
264
  export * from './resolveModelForInvocationDto';
267
265
  export * from './resolvedAgentKernelResponseDto';
268
266
  export * from './resolvedAgentKernelResponseDtoDataEnvelope';
269
- export * from './resolvedAgentKernelResponseDtoModelClass';
270
267
  export * from './resolvedAgentModelResponseDto';
271
268
  export * from './resolvedAgentModelResponseDtoDataEnvelope';
272
269
  export * from './resolvedAgentModelResponseDtoSource';
@@ -330,7 +327,6 @@ export * from './toolsetKey';
330
327
  export * from './unresolvedToolDto';
331
328
  export * from './updateAgentDraftDto';
332
329
  export * from './updateAgentKernelDto';
333
- export * from './updateAgentKernelDtoModelClass';
334
330
  export * from './updateCodeStandardDto';
335
331
  export * from './updateModelDto';
336
332
  export * from './updateModelResolutionRuleDto';
@@ -350,11 +346,7 @@ export * from './widgetKindDtoPayloadSchema';
350
346
  export * from './widgetKindListDto';
351
347
  export * from './widgetKindListDtoDataEnvelope';
352
348
  export * from './widgetKindSource';
353
- export * from './workKindAxis';
354
349
  export * from './workKindControllerListParams';
355
- export * from './workKindDto';
356
- export * from './workKindListDto';
357
- export * from './workKindListDtoDataEnvelope';
358
350
  export * from './workingFileEntryDto';
359
351
  export * from './workingFileEntryDtoSourceRef';
360
352
  export * from './workspaceSharingPolicy';
@@ -51,7 +51,6 @@ __exportStar(require("./agentKernelResponseDto"), exports);
51
51
  __exportStar(require("./agentKernelResponseDtoDataArrayEnvelope"), exports);
52
52
  __exportStar(require("./agentKernelResponseDtoDataEnvelope"), exports);
53
53
  __exportStar(require("./agentKernelResponseDtoDefinitionHash"), exports);
54
- __exportStar(require("./agentKernelResponseDtoModelClass"), exports);
55
54
  __exportStar(require("./agentKernelResponseDtoPaginatedEnvelope"), exports);
56
55
  __exportStar(require("./agentLiveRevisionDto"), exports);
57
56
  __exportStar(require("./agentModelOverrideControllerListParams"), exports);
@@ -87,7 +86,6 @@ __exportStar(require("./agentProfileDto"), exports);
87
86
  __exportStar(require("./agentProfileDtoAvatarSeed"), exports);
88
87
  __exportStar(require("./agentProfileDtoDataEnvelope"), exports);
89
88
  __exportStar(require("./agentProfileDtoDescription"), exports);
90
- __exportStar(require("./agentProfileDtoModelClass"), exports);
91
89
  __exportStar(require("./agentProfileDtoPaginatedEnvelope"), exports);
92
90
  __exportStar(require("./agentReachTier"), exports);
93
91
  __exportStar(require("./agentRefDto"), exports);
@@ -139,7 +137,6 @@ __exportStar(require("./codeStandardResponseDtoDataArrayEnvelope"), exports);
139
137
  __exportStar(require("./codeStandardResponseDtoDataEnvelope"), exports);
140
138
  __exportStar(require("./createAgentDto"), exports);
141
139
  __exportStar(require("./createAgentKernelDto"), exports);
142
- __exportStar(require("./createAgentKernelDtoModelClass"), exports);
143
140
  __exportStar(require("./createCodeStandardDto"), exports);
144
141
  __exportStar(require("./createCodeStandardDtoCategory"), exports);
145
142
  __exportStar(require("./createModelDto"), exports);
@@ -195,7 +192,6 @@ __exportStar(require("./migrationProvisionDto"), exports);
195
192
  __exportStar(require("./migrationProvisionDtoConsumer"), exports);
196
193
  __exportStar(require("./migrationTargetDto"), exports);
197
194
  __exportStar(require("./modelCapability"), exports);
198
- __exportStar(require("./modelClass"), exports);
199
195
  __exportStar(require("./modelModality"), exports);
200
196
  __exportStar(require("./modelMode"), exports);
201
197
  __exportStar(require("./modelPricingTierDto"), exports);
@@ -219,10 +215,13 @@ __exportStar(require("./modelStatusDto"), exports);
219
215
  __exportStar(require("./modelStatusDtoDataEnvelope"), exports);
220
216
  __exportStar(require("./modelStrategyControllerGetProjectBinding200"), exports);
221
217
  __exportStar(require("./modelStrategyEntryResponseDto"), exports);
222
- __exportStar(require("./modelStrategyEntryResponseDtoModelClass"), exports);
223
218
  __exportStar(require("./modelStrategyResponseDto"), exports);
224
219
  __exportStar(require("./modelStrategyResponseDtoDataArrayEnvelope"), exports);
225
220
  __exportStar(require("./modelStrategyResponseDtoDataEnvelope"), exports);
221
+ __exportStar(require("./modelVocabularyKeyDto"), exports);
222
+ __exportStar(require("./modelVocabularyKind"), exports);
223
+ __exportStar(require("./modelVocabularyListDto"), exports);
224
+ __exportStar(require("./modelVocabularyListDtoDataEnvelope"), exports);
226
225
  __exportStar(require("./mountEntryDto"), exports);
227
226
  __exportStar(require("./mountEntryDtoMode"), exports);
228
227
  __exportStar(require("./moveRevisionPinsDto"), exports);
@@ -279,11 +278,9 @@ __exportStar(require("./rescopeDto"), exports);
279
278
  __exportStar(require("./resolveFullResponseDto"), exports);
280
279
  __exportStar(require("./resolveFullResponseDtoDataEnvelope"), exports);
281
280
  __exportStar(require("./resolveFullResponseDtoIntrinsicSubAgentPins"), exports);
282
- __exportStar(require("./resolveFullResponseDtoModelClass"), exports);
283
281
  __exportStar(require("./resolveModelForInvocationDto"), exports);
284
282
  __exportStar(require("./resolvedAgentKernelResponseDto"), exports);
285
283
  __exportStar(require("./resolvedAgentKernelResponseDtoDataEnvelope"), exports);
286
- __exportStar(require("./resolvedAgentKernelResponseDtoModelClass"), exports);
287
284
  __exportStar(require("./resolvedAgentModelResponseDto"), exports);
288
285
  __exportStar(require("./resolvedAgentModelResponseDtoDataEnvelope"), exports);
289
286
  __exportStar(require("./resolvedAgentModelResponseDtoSource"), exports);
@@ -347,7 +344,6 @@ __exportStar(require("./toolsetKey"), exports);
347
344
  __exportStar(require("./unresolvedToolDto"), exports);
348
345
  __exportStar(require("./updateAgentDraftDto"), exports);
349
346
  __exportStar(require("./updateAgentKernelDto"), exports);
350
- __exportStar(require("./updateAgentKernelDtoModelClass"), exports);
351
347
  __exportStar(require("./updateCodeStandardDto"), exports);
352
348
  __exportStar(require("./updateModelDto"), exports);
353
349
  __exportStar(require("./updateModelResolutionRuleDto"), exports);
@@ -367,11 +363,7 @@ __exportStar(require("./widgetKindDtoPayloadSchema"), exports);
367
363
  __exportStar(require("./widgetKindListDto"), exports);
368
364
  __exportStar(require("./widgetKindListDtoDataEnvelope"), exports);
369
365
  __exportStar(require("./widgetKindSource"), exports);
370
- __exportStar(require("./workKindAxis"), exports);
371
366
  __exportStar(require("./workKindControllerListParams"), exports);
372
- __exportStar(require("./workKindDto"), exports);
373
- __exportStar(require("./workKindListDto"), exports);
374
- __exportStar(require("./workKindListDtoDataEnvelope"), exports);
375
367
  __exportStar(require("./workingFileEntryDto"), exports);
376
368
  __exportStar(require("./workingFileEntryDtoSourceRef"), exports);
377
369
  __exportStar(require("./workspaceSharingPolicy"), exports);
@@ -17,7 +17,7 @@ export interface ModelResolutionSelectorDto {
17
17
  /** Match when the non-agent invocation purpose equals this value. Used by system flows that route LLM calls outside the agent/skill model (memory summarization, embedding, reorganization). Closed value set is owned per consumer (see `MemoryMatrixPurpose` in memory-api). */
18
18
  purpose?: string;
19
19
  /**
20
- * Match when the resolving agent's work kind equals this value (the `modelClass` dimension — one rule routes e.g. every `review`-kind agent). OPEN vocabulary: the kernel core is generic | coding | review | creative | planning | utility, plus any key a biome or this org has declared. Checked against the org's visible set on write.
20
+ * Match when the resolving agent's work kind equals this value (the `modelClass` dimension — one rule routes e.g. every `review`-kind agent). OPEN vocabulary with no kernel core: every lane is declared by a `model-lane` contribution, so `GET /work-kinds?kind=model-lane` enumerates the lanes this organisation may use. Checked against the org's visible set on write.
21
21
  * @pattern ^[a-z][a-z0-9-]{0,62}$
22
22
  */
23
23
  modelClass?: string;
@@ -10,7 +10,6 @@ export type ModelResolutionSource = typeof ModelResolutionSource[keyof typeof Mo
10
10
  export declare const ModelResolutionSource: {
11
11
  readonly matrix: "matrix";
12
12
  readonly strategy: "strategy";
13
- readonly role: "role";
14
13
  readonly override: "override";
15
14
  readonly unresolved: "unresolved";
16
15
  };
@@ -9,7 +9,6 @@ exports.ModelResolutionSource = void 0;
9
9
  exports.ModelResolutionSource = {
10
10
  matrix: 'matrix',
11
11
  strategy: 'strategy',
12
- role: 'role',
13
12
  override: 'override',
14
13
  unresolved: 'unresolved',
15
14
  };
@@ -3,12 +3,11 @@
3
3
  * LLM Registry API
4
4
  * OpenAPI spec version: 0.1.3
5
5
  */
6
- import type { ModelStrategyEntryResponseDtoModelClass } from './modelStrategyEntryResponseDtoModelClass.js';
7
6
  export interface ModelStrategyEntryResponseDto {
8
7
  id: string;
9
8
  strategyId: string;
10
- /** LLM-routing class. */
11
- modelClass: ModelStrategyEntryResponseDtoModelClass;
9
+ /** The model LANE this entry routes. An OPEN vocabulary declared by `model-lane` contributions — `GET /work-kinds?kind=model-lane` enumerates what this organisation may use. */
10
+ modelClass: string;
12
11
  /** Model slug matched against LlmModel.modelId */
13
12
  modelSlug: string;
14
13
  /**
@@ -1,2 +1,7 @@
1
1
  "use strict";
2
+ /**
3
+ * Generated by @xemahq/api-client-generator — do not edit manually.
4
+ * LLM Registry API
5
+ * OpenAPI spec version: 0.1.3
6
+ */
2
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Generated by @xemahq/api-client-generator — do not edit manually.
3
+ * LLM Registry API
4
+ * OpenAPI spec version: 0.1.3
5
+ */
6
+ import type { ModelVocabularyKind } from './modelVocabularyKind.js';
7
+ export interface ModelVocabularyKeyDto {
8
+ /** The routing key. Lower-kebab and NOT namespaced by the declaring biome: a key that encoded it would move when that biome is renamed or replaced, silently invalidating every rule and strategy entry that names it. */
9
+ key: string;
10
+ /** Which Matrix dimension this key may select, and which contribution kind declared it. `model-lane` — work an agent does, selecting `modelClass`. `model-purpose` — a use the platform or a biome makes of a model on nobody's behalf, selecting `purpose`. */
11
+ kind: ModelVocabularyKind;
12
+ title: string;
13
+ /** What work this key names, in the reader's words. */
14
+ description: string;
15
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Generated by @xemahq/api-client-generator — do not edit manually.
3
+ * LLM Registry API
4
+ * OpenAPI spec version: 0.1.3
5
+ */
6
+ /**
7
+ * Which Matrix dimension this key may select, and which contribution kind declared it. `model-lane` — work an agent does, selecting `modelClass`. `model-purpose` — a use the platform or a biome makes of a model on nobody's behalf, selecting `purpose`.
8
+ */
9
+ export type ModelVocabularyKind = typeof ModelVocabularyKind[keyof typeof ModelVocabularyKind];
10
+ export declare const ModelVocabularyKind: {
11
+ readonly 'model-lane': "model-lane";
12
+ readonly 'model-purpose': "model-purpose";
13
+ };
@@ -5,8 +5,8 @@
5
5
  * OpenAPI spec version: 0.1.3
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.WorkKindAxis = void 0;
9
- exports.WorkKindAxis = {
10
- agent: 'agent',
11
- machine: 'machine',
8
+ exports.ModelVocabularyKind = void 0;
9
+ exports.ModelVocabularyKind = {
10
+ 'model-lane': 'model-lane',
11
+ 'model-purpose': 'model-purpose',
12
12
  };
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Generated by @xemahq/api-client-generator — do not edit manually.
3
+ * LLM Registry API
4
+ * OpenAPI spec version: 0.1.3
5
+ */
6
+ import type { ModelVocabularyKeyDto } from './modelVocabularyKeyDto.js';
7
+ export interface ModelVocabularyListDto {
8
+ keys: ModelVocabularyKeyDto[];
9
+ }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Generated by @xemahq/api-client-generator — do not edit manually.
3
+ * LLM Registry API
4
+ * OpenAPI spec version: 0.1.3
5
+ */
6
+ import type { ModelVocabularyListDto } from './modelVocabularyListDto.js';
7
+ export interface ModelVocabularyListDtoDataEnvelope {
8
+ data: ModelVocabularyListDto;
9
+ }
@@ -10,7 +10,6 @@ import type { ResolvedModelSelectionDto } from './resolvedModelSelectionDto.js';
10
10
  import type { ResolvedModelStubDto } from './resolvedModelStubDto.js';
11
11
  import type { ResolvedSkillEntryDto } from './resolvedSkillEntryDto.js';
12
12
  import type { ResolveFullResponseDtoIntrinsicSubAgentPins } from './resolveFullResponseDtoIntrinsicSubAgentPins.js';
13
- import type { ResolveFullResponseDtoModelClass } from './resolveFullResponseDtoModelClass.js';
14
13
  export interface ResolveFullResponseDto {
15
14
  /** Agent definition slug. */
16
15
  slug: string;
@@ -23,8 +22,8 @@ export interface ResolveFullResponseDto {
23
22
  description?: string | null;
24
23
  /** Execution mode (primary, subagent). */
25
24
  executionMode: AgentExecutionMode;
26
- /** LLM-routing tier. Distinct from AgentRunRole (permissions). */
27
- modelClass: ResolveFullResponseDtoModelClass;
25
+ /** The model LANE this agent routes on. An OPEN vocabulary: every key is declared by a `model-lane` contribution, so there is no closed set to publish here. `GET /work-kinds?kind=model-lane` enumerates what this organisation may use. Distinct from AgentRunRole (permissions). */
26
+ modelClass: string;
28
27
  /** Merged system prompt (base + project override append). */
29
28
  systemPrompt: string;
30
29
  /**
@@ -4,7 +4,6 @@
4
4
  * OpenAPI spec version: 0.1.3
5
5
  */
6
6
  import type { ModelCapability } from './modelCapability.js';
7
- import type { ModelClass } from './modelClass.js';
8
7
  export interface ResolveModelForInvocationDto {
9
8
  /**
10
9
  * The Space this invocation happens in, as a canonical `xema://` SpaceRef. `xema://orgs/<orgId>` for an org-scoped invocation (a Canopy turn, a memory summarization, an org-layer session); `xema://orgs/<orgId>/projects/<projectId>` when the invocation genuinely belongs to a project. The org segment MUST match the calling context's org — it selects a Space inside the tenant the token already proved, and never widens it. Only the `project` form contributes the Matrix's `project` dimension; an org-scoped resolve carries no project dimension at all, so a `project` selector rule cannot match it.
@@ -43,8 +42,8 @@ export interface ResolveModelForInvocationDto {
43
42
  * @maxLength 512
44
43
  */
45
44
  purpose?: string;
46
- /** Per-session "smartness" preference — the Matrix `modelClass` MATCHED dimension, NOT an above-rules override. It populates the resolution context so a tier-injected managed rule can CLAMP it, and an unmapped class falls through to the org default rule. Ignored when an explicit `modelClass`/`modelId` override is present. */
47
- preferredModelClass?: ModelClass;
45
+ /** Per-session "smartness" preference — the Matrix `modelClass` MATCHED dimension, NOT an above-rules override. It populates the resolution context so a tier-injected managed rule can CLAMP it, and an unmapped kind falls through to the org default rule. Ignored when an explicit `modelClass`/`modelId` override is present. An AGENT-axis work kind: the kernel core plus every key a biome or this organisation has declared. Lower-kebab; an undeclared value is a 400 so a typo never silently lands on the default rule's match path — the same posture `purpose` has one field up. */
46
+ preferredModelClass?: string;
48
47
  /**
49
48
  * The active/launched skill — the Matrix `skill` dimension. Free-form: the skill vocabulary is open and owned by `skill-registry-api`, so an unknown value simply matches no rule rather than being refused.
50
49
  * @maxLength 512
@@ -3,11 +3,14 @@
3
3
  * LLM Registry API
4
4
  * OpenAPI spec version: 0.1.3
5
5
  */
6
- import type { ResolvedAgentKernelResponseDtoModelClass } from './resolvedAgentKernelResponseDtoModelClass.js';
7
6
  export interface ResolvedAgentKernelResponseDto {
8
7
  slug: string;
9
8
  displayName: string;
10
- modelClass: ResolvedAgentKernelResponseDtoModelClass;
9
+ /**
10
+ * The model LANE this agent routes on — strategy entries map a lane to a modelSlug. An OPEN vocabulary: every key is declared by a `model-lane` contribution, and `GET /work-kinds?kind=model-lane` enumerates what this organisation may use. Distinct from AgentRunRole (permissions).
11
+ * @pattern ^[a-z][a-z0-9-]{0,62}$
12
+ */
13
+ modelClass: string;
11
14
  systemPrompt: string;
12
15
  /**
13
16
  * `null` defers to the engine/model default.
@@ -1,2 +1,7 @@
1
1
  "use strict";
2
+ /**
3
+ * Generated by @xemahq/api-client-generator — do not edit manually.
4
+ * LLM Registry API
5
+ * OpenAPI spec version: 0.1.3
6
+ */
2
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -10,7 +10,6 @@ export type ResolvedModelSelectionDtoSource = typeof ResolvedModelSelectionDtoSo
10
10
  export declare const ResolvedModelSelectionDtoSource: {
11
11
  readonly matrix: "matrix";
12
12
  readonly strategy: "strategy";
13
- readonly role: "role";
14
13
  readonly override: "override";
15
14
  readonly unresolved: "unresolved";
16
15
  };
@@ -9,7 +9,6 @@ exports.ResolvedModelSelectionDtoSource = void 0;
9
9
  exports.ResolvedModelSelectionDtoSource = {
10
10
  matrix: 'matrix',
11
11
  strategy: 'strategy',
12
- role: 'role',
13
12
  override: 'override',
14
13
  unresolved: 'unresolved',
15
14
  };
@@ -10,7 +10,6 @@ export type ResolvedModelStubDtoSource = typeof ResolvedModelStubDtoSource[keyof
10
10
  export declare const ResolvedModelStubDtoSource: {
11
11
  readonly matrix: "matrix";
12
12
  readonly strategy: "strategy";
13
- readonly role: "role";
14
13
  readonly override: "override";
15
14
  readonly unresolved: "unresolved";
16
15
  };
@@ -9,7 +9,6 @@ exports.ResolvedModelStubDtoSource = void 0;
9
9
  exports.ResolvedModelStubDtoSource = {
10
10
  matrix: 'matrix',
11
11
  strategy: 'strategy',
12
- role: 'role',
13
12
  override: 'override',
14
13
  unresolved: 'unresolved',
15
14
  };
@@ -3,12 +3,15 @@
3
3
  * LLM Registry API
4
4
  * OpenAPI spec version: 0.1.3
5
5
  */
6
- import type { UpdateAgentKernelDtoModelClass } from './updateAgentKernelDtoModelClass.js';
7
6
  export interface UpdateAgentKernelDto {
8
7
  displayName?: string;
9
8
  description?: string;
10
9
  systemPrompt?: string;
11
- modelClass?: UpdateAgentKernelDtoModelClass;
10
+ /**
11
+ * The model LANE this agent routes on — strategy entries map a lane to a modelSlug. An OPEN vocabulary: every key is declared by a `model-lane` contribution, and `GET /work-kinds?kind=model-lane` enumerates what this organisation may use. Distinct from AgentRunRole (permissions).
12
+ * @pattern ^[a-z][a-z0-9-]{0,62}$
13
+ */
14
+ modelClass?: string;
12
15
  temperature?: number;
13
16
  mcpServices?: string[];
14
17
  isActive?: boolean;
@@ -1,2 +1,7 @@
1
1
  "use strict";
2
+ /**
3
+ * Generated by @xemahq/api-client-generator — do not edit manually.
4
+ * LLM Registry API
5
+ * OpenAPI spec version: 0.1.3
6
+ */
2
7
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,10 +3,10 @@
3
3
  * LLM Registry API
4
4
  * OpenAPI spec version: 0.1.3
5
5
  */
6
- import type { WorkKindAxis } from './workKindAxis.js';
6
+ import type { ModelVocabularyKind } from './modelVocabularyKind.js';
7
7
  export type WorkKindControllerListParams = {
8
8
  /**
9
- * Narrow to one axis. `agent` is what an agent declares about itself and what a `modelClass` selector matches; `machine` is what a platform-owned call carries as its `purpose`. Omitted returns both.
9
+ * Narrow to one vocabulary. `model-lane` is what an agent declares about itself and what a `modelClass` selector matches; `model-purpose` is what a platform-owned call carries as its `purpose`. Omitted returns both.
10
10
  */
11
- axis?: WorkKindAxis;
11
+ kind?: ModelVocabularyKind;
12
12
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xemahq/llm-registry-api-client",
3
- "version": "0.8.2",
3
+ "version": "0.8.4",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [
@@ -1,14 +0,0 @@
1
- /**
2
- * Generated by @xemahq/api-client-generator — do not edit manually.
3
- * LLM Registry API
4
- * OpenAPI spec version: 0.1.3
5
- */
6
- export type AgentKernelResponseDtoModelClass = typeof AgentKernelResponseDtoModelClass[keyof typeof AgentKernelResponseDtoModelClass];
7
- export declare const AgentKernelResponseDtoModelClass: {
8
- readonly generic: "generic";
9
- readonly coding: "coding";
10
- readonly review: "review";
11
- readonly creative: "creative";
12
- readonly planning: "planning";
13
- readonly utility: "utility";
14
- };
@@ -1,16 +0,0 @@
1
- "use strict";
2
- /**
3
- * Generated by @xemahq/api-client-generator — do not edit manually.
4
- * LLM Registry API
5
- * OpenAPI spec version: 0.1.3
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.AgentKernelResponseDtoModelClass = void 0;
9
- exports.AgentKernelResponseDtoModelClass = {
10
- generic: 'generic',
11
- coding: 'coding',
12
- review: 'review',
13
- creative: 'creative',
14
- planning: 'planning',
15
- utility: 'utility',
16
- };
@@ -1,14 +0,0 @@
1
- /**
2
- * Generated by @xemahq/api-client-generator — do not edit manually.
3
- * LLM Registry API
4
- * OpenAPI spec version: 0.1.3
5
- */
6
- export type AgentProfileDtoModelClass = typeof AgentProfileDtoModelClass[keyof typeof AgentProfileDtoModelClass];
7
- export declare const AgentProfileDtoModelClass: {
8
- readonly generic: "generic";
9
- readonly coding: "coding";
10
- readonly review: "review";
11
- readonly creative: "creative";
12
- readonly planning: "planning";
13
- readonly utility: "utility";
14
- };
@@ -1,16 +0,0 @@
1
- "use strict";
2
- /**
3
- * Generated by @xemahq/api-client-generator — do not edit manually.
4
- * LLM Registry API
5
- * OpenAPI spec version: 0.1.3
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.AgentProfileDtoModelClass = void 0;
9
- exports.AgentProfileDtoModelClass = {
10
- generic: 'generic',
11
- coding: 'coding',
12
- review: 'review',
13
- creative: 'creative',
14
- planning: 'planning',
15
- utility: 'utility',
16
- };
@@ -1,17 +0,0 @@
1
- /**
2
- * Generated by @xemahq/api-client-generator — do not edit manually.
3
- * LLM Registry API
4
- * OpenAPI spec version: 0.1.3
5
- */
6
- /**
7
- * LLM-routing tier. Strategy entries map class → modelSlug. Distinct from AgentRunRole (permissions).
8
- */
9
- export type CreateAgentKernelDtoModelClass = typeof CreateAgentKernelDtoModelClass[keyof typeof CreateAgentKernelDtoModelClass];
10
- export declare const CreateAgentKernelDtoModelClass: {
11
- readonly generic: "generic";
12
- readonly coding: "coding";
13
- readonly review: "review";
14
- readonly creative: "creative";
15
- readonly planning: "planning";
16
- readonly utility: "utility";
17
- };
@@ -1,16 +0,0 @@
1
- "use strict";
2
- /**
3
- * Generated by @xemahq/api-client-generator — do not edit manually.
4
- * LLM Registry API
5
- * OpenAPI spec version: 0.1.3
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.CreateAgentKernelDtoModelClass = void 0;
9
- exports.CreateAgentKernelDtoModelClass = {
10
- generic: 'generic',
11
- coding: 'coding',
12
- review: 'review',
13
- creative: 'creative',
14
- planning: 'planning',
15
- utility: 'utility',
16
- };
@@ -1,17 +0,0 @@
1
- /**
2
- * Generated by @xemahq/api-client-generator — do not edit manually.
3
- * LLM Registry API
4
- * OpenAPI spec version: 0.1.3
5
- */
6
- /**
7
- * Per-session "smartness" preference — the Matrix `modelClass` MATCHED dimension, NOT an above-rules override. It populates the resolution context so a tier-injected managed rule can CLAMP it, and an unmapped class falls through to the org default rule. Ignored when an explicit `modelClass`/`modelId` override is present.
8
- */
9
- export type ModelClass = typeof ModelClass[keyof typeof ModelClass];
10
- export declare const ModelClass: {
11
- readonly generic: "generic";
12
- readonly coding: "coding";
13
- readonly review: "review";
14
- readonly creative: "creative";
15
- readonly planning: "planning";
16
- readonly utility: "utility";
17
- };
@@ -1,16 +0,0 @@
1
- "use strict";
2
- /**
3
- * Generated by @xemahq/api-client-generator — do not edit manually.
4
- * LLM Registry API
5
- * OpenAPI spec version: 0.1.3
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.ModelClass = void 0;
9
- exports.ModelClass = {
10
- generic: 'generic',
11
- coding: 'coding',
12
- review: 'review',
13
- creative: 'creative',
14
- planning: 'planning',
15
- utility: 'utility',
16
- };
@@ -1,17 +0,0 @@
1
- /**
2
- * Generated by @xemahq/api-client-generator — do not edit manually.
3
- * LLM Registry API
4
- * OpenAPI spec version: 0.1.3
5
- */
6
- /**
7
- * LLM-routing class.
8
- */
9
- export type ModelStrategyEntryResponseDtoModelClass = typeof ModelStrategyEntryResponseDtoModelClass[keyof typeof ModelStrategyEntryResponseDtoModelClass];
10
- export declare const ModelStrategyEntryResponseDtoModelClass: {
11
- readonly generic: "generic";
12
- readonly coding: "coding";
13
- readonly review: "review";
14
- readonly creative: "creative";
15
- readonly planning: "planning";
16
- readonly utility: "utility";
17
- };
@@ -1,16 +0,0 @@
1
- "use strict";
2
- /**
3
- * Generated by @xemahq/api-client-generator — do not edit manually.
4
- * LLM Registry API
5
- * OpenAPI spec version: 0.1.3
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.ModelStrategyEntryResponseDtoModelClass = void 0;
9
- exports.ModelStrategyEntryResponseDtoModelClass = {
10
- generic: 'generic',
11
- coding: 'coding',
12
- review: 'review',
13
- creative: 'creative',
14
- planning: 'planning',
15
- utility: 'utility',
16
- };
@@ -1,17 +0,0 @@
1
- /**
2
- * Generated by @xemahq/api-client-generator — do not edit manually.
3
- * LLM Registry API
4
- * OpenAPI spec version: 0.1.3
5
- */
6
- /**
7
- * LLM-routing tier. Distinct from AgentRunRole (permissions).
8
- */
9
- export type ResolveFullResponseDtoModelClass = typeof ResolveFullResponseDtoModelClass[keyof typeof ResolveFullResponseDtoModelClass];
10
- export declare const ResolveFullResponseDtoModelClass: {
11
- readonly generic: "generic";
12
- readonly coding: "coding";
13
- readonly review: "review";
14
- readonly creative: "creative";
15
- readonly planning: "planning";
16
- readonly utility: "utility";
17
- };
@@ -1,16 +0,0 @@
1
- "use strict";
2
- /**
3
- * Generated by @xemahq/api-client-generator — do not edit manually.
4
- * LLM Registry API
5
- * OpenAPI spec version: 0.1.3
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.ResolveFullResponseDtoModelClass = void 0;
9
- exports.ResolveFullResponseDtoModelClass = {
10
- generic: 'generic',
11
- coding: 'coding',
12
- review: 'review',
13
- creative: 'creative',
14
- planning: 'planning',
15
- utility: 'utility',
16
- };
@@ -1,14 +0,0 @@
1
- /**
2
- * Generated by @xemahq/api-client-generator — do not edit manually.
3
- * LLM Registry API
4
- * OpenAPI spec version: 0.1.3
5
- */
6
- export type ResolvedAgentKernelResponseDtoModelClass = typeof ResolvedAgentKernelResponseDtoModelClass[keyof typeof ResolvedAgentKernelResponseDtoModelClass];
7
- export declare const ResolvedAgentKernelResponseDtoModelClass: {
8
- readonly generic: "generic";
9
- readonly coding: "coding";
10
- readonly review: "review";
11
- readonly creative: "creative";
12
- readonly planning: "planning";
13
- readonly utility: "utility";
14
- };
@@ -1,16 +0,0 @@
1
- "use strict";
2
- /**
3
- * Generated by @xemahq/api-client-generator — do not edit manually.
4
- * LLM Registry API
5
- * OpenAPI spec version: 0.1.3
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.ResolvedAgentKernelResponseDtoModelClass = void 0;
9
- exports.ResolvedAgentKernelResponseDtoModelClass = {
10
- generic: 'generic',
11
- coding: 'coding',
12
- review: 'review',
13
- creative: 'creative',
14
- planning: 'planning',
15
- utility: 'utility',
16
- };
@@ -1,14 +0,0 @@
1
- /**
2
- * Generated by @xemahq/api-client-generator — do not edit manually.
3
- * LLM Registry API
4
- * OpenAPI spec version: 0.1.3
5
- */
6
- export type UpdateAgentKernelDtoModelClass = typeof UpdateAgentKernelDtoModelClass[keyof typeof UpdateAgentKernelDtoModelClass];
7
- export declare const UpdateAgentKernelDtoModelClass: {
8
- readonly generic: "generic";
9
- readonly coding: "coding";
10
- readonly review: "review";
11
- readonly creative: "creative";
12
- readonly planning: "planning";
13
- readonly utility: "utility";
14
- };
@@ -1,16 +0,0 @@
1
- "use strict";
2
- /**
3
- * Generated by @xemahq/api-client-generator — do not edit manually.
4
- * LLM Registry API
5
- * OpenAPI spec version: 0.1.3
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.UpdateAgentKernelDtoModelClass = void 0;
9
- exports.UpdateAgentKernelDtoModelClass = {
10
- generic: 'generic',
11
- coding: 'coding',
12
- review: 'review',
13
- creative: 'creative',
14
- planning: 'planning',
15
- utility: 'utility',
16
- };
@@ -1,13 +0,0 @@
1
- /**
2
- * Generated by @xemahq/api-client-generator — do not edit manually.
3
- * LLM Registry API
4
- * OpenAPI spec version: 0.1.3
5
- */
6
- /**
7
- * Which Matrix dimension this key may select. `agent` — work an agent does, selecting `modelClass`. `machine` — a use the platform or a biome makes of a model on nobody's behalf, selecting `purpose`.
8
- */
9
- export type WorkKindAxis = typeof WorkKindAxis[keyof typeof WorkKindAxis];
10
- export declare const WorkKindAxis: {
11
- readonly agent: "agent";
12
- readonly machine: "machine";
13
- };
@@ -1,19 +0,0 @@
1
- /**
2
- * Generated by @xemahq/api-client-generator — do not edit manually.
3
- * LLM Registry API
4
- * OpenAPI spec version: 0.1.3
5
- */
6
- import type { WorkKindAxis } from './workKindAxis.js';
7
- export interface WorkKindDto {
8
- /** The work-kind key. Lower-kebab, and the same grammar a model-role name has — a kind resolves through `model.<key>` on the role plane. */
9
- key: string;
10
- /** Which Matrix dimension this key may select. `agent` — work an agent does, selecting `modelClass`. `machine` — a use the platform or a biome makes of a model on nobody's behalf, selecting `purpose`. */
11
- axis: WorkKindAxis;
12
- title: string;
13
- /** What work this kind names, in the reader's words. */
14
- description: string;
15
- /** The kind to resolve when THIS one is unbound. Absent means `generic`, which is the terminus of every chain and is always bound. Only ever present on the `agent` axis. */
16
- fallbackKind?: string;
17
- /** True for one of the kernel's six neutral core kinds. A core kind is declared by the platform, is present in every deployment, and cannot be shadowed or removed by a contribution. */
18
- core: boolean;
19
- }
@@ -1,9 +0,0 @@
1
- /**
2
- * Generated by @xemahq/api-client-generator — do not edit manually.
3
- * LLM Registry API
4
- * OpenAPI spec version: 0.1.3
5
- */
6
- import type { WorkKindDto } from './workKindDto.js';
7
- export interface WorkKindListDto {
8
- workKinds: WorkKindDto[];
9
- }
@@ -1,9 +0,0 @@
1
- /**
2
- * Generated by @xemahq/api-client-generator — do not edit manually.
3
- * LLM Registry API
4
- * OpenAPI spec version: 0.1.3
5
- */
6
- import type { WorkKindListDto } from './workKindListDto.js';
7
- export interface WorkKindListDtoDataEnvelope {
8
- data: WorkKindListDto;
9
- }