@xemahq/llm-registry-api-client 0.8.3 → 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 (45) 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/index.d.ts +4 -11
  9. package/dist/models/index.js +4 -11
  10. package/dist/models/modelResolutionSelectorDto.d.ts +1 -1
  11. package/dist/models/modelStrategyEntryResponseDto.d.ts +2 -3
  12. package/dist/models/modelStrategyEntryResponseDto.js +5 -0
  13. package/dist/models/modelVocabularyKeyDto.d.ts +15 -0
  14. package/dist/models/modelVocabularyKind.d.ts +13 -0
  15. package/dist/models/{workKindAxis.js → modelVocabularyKind.js} +4 -4
  16. package/dist/models/modelVocabularyListDto.d.ts +9 -0
  17. package/dist/models/modelVocabularyListDtoDataEnvelope.d.ts +9 -0
  18. package/dist/models/resolveFullResponseDto.d.ts +2 -3
  19. package/dist/models/resolvedAgentKernelResponseDto.d.ts +5 -2
  20. package/dist/models/resolvedAgentKernelResponseDto.js +5 -0
  21. package/dist/models/updateAgentKernelDto.d.ts +5 -2
  22. package/dist/models/updateAgentKernelDto.js +5 -0
  23. package/dist/models/workKindControllerListParams.d.ts +3 -3
  24. package/package.json +1 -1
  25. package/dist/models/agentKernelResponseDtoModelClass.d.ts +0 -14
  26. package/dist/models/agentKernelResponseDtoModelClass.js +0 -16
  27. package/dist/models/agentProfileDtoModelClass.d.ts +0 -14
  28. package/dist/models/agentProfileDtoModelClass.js +0 -16
  29. package/dist/models/createAgentKernelDtoModelClass.d.ts +0 -17
  30. package/dist/models/createAgentKernelDtoModelClass.js +0 -16
  31. package/dist/models/modelStrategyEntryResponseDtoModelClass.d.ts +0 -17
  32. package/dist/models/modelStrategyEntryResponseDtoModelClass.js +0 -16
  33. package/dist/models/resolveFullResponseDtoModelClass.d.ts +0 -17
  34. package/dist/models/resolveFullResponseDtoModelClass.js +0 -16
  35. package/dist/models/resolvedAgentKernelResponseDtoModelClass.d.ts +0 -14
  36. package/dist/models/resolvedAgentKernelResponseDtoModelClass.js +0 -16
  37. package/dist/models/updateAgentKernelDtoModelClass.d.ts +0 -14
  38. package/dist/models/updateAgentKernelDtoModelClass.js +0 -16
  39. package/dist/models/workKindAxis.d.ts +0 -13
  40. package/dist/models/workKindDto.d.ts +0 -19
  41. package/dist/models/workKindListDto.d.ts +0 -9
  42. package/dist/models/workKindListDtoDataEnvelope.d.ts +0 -9
  43. /package/dist/models/{workKindDto.js → modelVocabularyKeyDto.js} +0 -0
  44. /package/dist/models/{workKindListDto.js → modelVocabularyListDto.js} +0 -0
  45. /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;
@@ -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';
@@ -201,10 +198,13 @@ export * from './modelStatusDto';
201
198
  export * from './modelStatusDtoDataEnvelope';
202
199
  export * from './modelStrategyControllerGetProjectBinding200';
203
200
  export * from './modelStrategyEntryResponseDto';
204
- export * from './modelStrategyEntryResponseDtoModelClass';
205
201
  export * from './modelStrategyResponseDto';
206
202
  export * from './modelStrategyResponseDtoDataArrayEnvelope';
207
203
  export * from './modelStrategyResponseDtoDataEnvelope';
204
+ export * from './modelVocabularyKeyDto';
205
+ export * from './modelVocabularyKind';
206
+ export * from './modelVocabularyListDto';
207
+ export * from './modelVocabularyListDtoDataEnvelope';
208
208
  export * from './mountEntryDto';
209
209
  export * from './mountEntryDtoMode';
210
210
  export * from './moveRevisionPinsDto';
@@ -261,11 +261,9 @@ export * from './rescopeDto';
261
261
  export * from './resolveFullResponseDto';
262
262
  export * from './resolveFullResponseDtoDataEnvelope';
263
263
  export * from './resolveFullResponseDtoIntrinsicSubAgentPins';
264
- export * from './resolveFullResponseDtoModelClass';
265
264
  export * from './resolveModelForInvocationDto';
266
265
  export * from './resolvedAgentKernelResponseDto';
267
266
  export * from './resolvedAgentKernelResponseDtoDataEnvelope';
268
- export * from './resolvedAgentKernelResponseDtoModelClass';
269
267
  export * from './resolvedAgentModelResponseDto';
270
268
  export * from './resolvedAgentModelResponseDtoDataEnvelope';
271
269
  export * from './resolvedAgentModelResponseDtoSource';
@@ -329,7 +327,6 @@ export * from './toolsetKey';
329
327
  export * from './unresolvedToolDto';
330
328
  export * from './updateAgentDraftDto';
331
329
  export * from './updateAgentKernelDto';
332
- export * from './updateAgentKernelDtoModelClass';
333
330
  export * from './updateCodeStandardDto';
334
331
  export * from './updateModelDto';
335
332
  export * from './updateModelResolutionRuleDto';
@@ -349,11 +346,7 @@ export * from './widgetKindDtoPayloadSchema';
349
346
  export * from './widgetKindListDto';
350
347
  export * from './widgetKindListDtoDataEnvelope';
351
348
  export * from './widgetKindSource';
352
- export * from './workKindAxis';
353
349
  export * from './workKindControllerListParams';
354
- export * from './workKindDto';
355
- export * from './workKindListDto';
356
- export * from './workKindListDtoDataEnvelope';
357
350
  export * from './workingFileEntryDto';
358
351
  export * from './workingFileEntryDtoSourceRef';
359
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);
@@ -218,10 +215,13 @@ __exportStar(require("./modelStatusDto"), exports);
218
215
  __exportStar(require("./modelStatusDtoDataEnvelope"), exports);
219
216
  __exportStar(require("./modelStrategyControllerGetProjectBinding200"), exports);
220
217
  __exportStar(require("./modelStrategyEntryResponseDto"), exports);
221
- __exportStar(require("./modelStrategyEntryResponseDtoModelClass"), exports);
222
218
  __exportStar(require("./modelStrategyResponseDto"), exports);
223
219
  __exportStar(require("./modelStrategyResponseDtoDataArrayEnvelope"), exports);
224
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);
225
225
  __exportStar(require("./mountEntryDto"), exports);
226
226
  __exportStar(require("./mountEntryDtoMode"), exports);
227
227
  __exportStar(require("./moveRevisionPinsDto"), exports);
@@ -278,11 +278,9 @@ __exportStar(require("./rescopeDto"), exports);
278
278
  __exportStar(require("./resolveFullResponseDto"), exports);
279
279
  __exportStar(require("./resolveFullResponseDtoDataEnvelope"), exports);
280
280
  __exportStar(require("./resolveFullResponseDtoIntrinsicSubAgentPins"), exports);
281
- __exportStar(require("./resolveFullResponseDtoModelClass"), exports);
282
281
  __exportStar(require("./resolveModelForInvocationDto"), exports);
283
282
  __exportStar(require("./resolvedAgentKernelResponseDto"), exports);
284
283
  __exportStar(require("./resolvedAgentKernelResponseDtoDataEnvelope"), exports);
285
- __exportStar(require("./resolvedAgentKernelResponseDtoModelClass"), exports);
286
284
  __exportStar(require("./resolvedAgentModelResponseDto"), exports);
287
285
  __exportStar(require("./resolvedAgentModelResponseDtoDataEnvelope"), exports);
288
286
  __exportStar(require("./resolvedAgentModelResponseDtoSource"), exports);
@@ -346,7 +344,6 @@ __exportStar(require("./toolsetKey"), exports);
346
344
  __exportStar(require("./unresolvedToolDto"), exports);
347
345
  __exportStar(require("./updateAgentDraftDto"), exports);
348
346
  __exportStar(require("./updateAgentKernelDto"), exports);
349
- __exportStar(require("./updateAgentKernelDtoModelClass"), exports);
350
347
  __exportStar(require("./updateCodeStandardDto"), exports);
351
348
  __exportStar(require("./updateModelDto"), exports);
352
349
  __exportStar(require("./updateModelResolutionRuleDto"), exports);
@@ -366,11 +363,7 @@ __exportStar(require("./widgetKindDtoPayloadSchema"), exports);
366
363
  __exportStar(require("./widgetKindListDto"), exports);
367
364
  __exportStar(require("./widgetKindListDtoDataEnvelope"), exports);
368
365
  __exportStar(require("./widgetKindSource"), exports);
369
- __exportStar(require("./workKindAxis"), exports);
370
366
  __exportStar(require("./workKindControllerListParams"), exports);
371
- __exportStar(require("./workKindDto"), exports);
372
- __exportStar(require("./workKindListDto"), exports);
373
- __exportStar(require("./workKindListDtoDataEnvelope"), exports);
374
367
  __exportStar(require("./workingFileEntryDto"), exports);
375
368
  __exportStar(require("./workingFileEntryDtoSourceRef"), exports);
376
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;
@@ -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
  /**
@@ -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 });
@@ -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.3",
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
- * 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 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. `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
- }