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

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.
@@ -174,6 +174,7 @@ export * from './migrationHeartbeatDtoConsumer';
174
174
  export * from './migrationProvisionDto';
175
175
  export * from './migrationProvisionDtoConsumer';
176
176
  export * from './migrationTargetDto';
177
+ export * from './modelBindingResponseDto';
177
178
  export * from './modelCapability';
178
179
  export * from './modelModality';
179
180
  export * from './modelMode';
@@ -331,6 +332,7 @@ export * from './updateCodeStandardDto';
331
332
  export * from './updateModelDto';
332
333
  export * from './updateModelResolutionRuleDto';
333
334
  export * from './updateModelResolutionRuleDtoTargetKind';
335
+ export * from './updateModelStrategyDefaultBindingDto';
334
336
  export * from './updateModelStrategyDto';
335
337
  export * from './updateProjectAgentOverrideDto';
336
338
  export * from './updateProviderDto';
@@ -191,6 +191,7 @@ __exportStar(require("./migrationHeartbeatDtoConsumer"), exports);
191
191
  __exportStar(require("./migrationProvisionDto"), exports);
192
192
  __exportStar(require("./migrationProvisionDtoConsumer"), exports);
193
193
  __exportStar(require("./migrationTargetDto"), exports);
194
+ __exportStar(require("./modelBindingResponseDto"), exports);
194
195
  __exportStar(require("./modelCapability"), exports);
195
196
  __exportStar(require("./modelModality"), exports);
196
197
  __exportStar(require("./modelMode"), exports);
@@ -348,6 +349,7 @@ __exportStar(require("./updateCodeStandardDto"), exports);
348
349
  __exportStar(require("./updateModelDto"), exports);
349
350
  __exportStar(require("./updateModelResolutionRuleDto"), exports);
350
351
  __exportStar(require("./updateModelResolutionRuleDtoTargetKind"), exports);
352
+ __exportStar(require("./updateModelStrategyDefaultBindingDto"), exports);
351
353
  __exportStar(require("./updateModelStrategyDto"), exports);
352
354
  __exportStar(require("./updateProjectAgentOverrideDto"), exports);
353
355
  __exportStar(require("./updateProviderDto"), exports);
@@ -0,0 +1,19 @@
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 interface ModelBindingResponseDto {
7
+ /** Model slug, matched against `LlmModel.modelId` for the org. */
8
+ modelSlug: string;
9
+ /**
10
+ * `null` defers to the engine/model default.
11
+ * @nullable
12
+ */
13
+ temperature?: number | null;
14
+ /**
15
+ * `null` defers to the engine/model default.
16
+ * @nullable
17
+ */
18
+ reasoningEffort?: string | null;
19
+ }
@@ -0,0 +1,7 @@
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 });
@@ -3,6 +3,7 @@
3
3
  * LLM Registry API
4
4
  * OpenAPI spec version: 0.1.3
5
5
  */
6
+ import type { ModelBindingResponseDto } from './modelBindingResponseDto.js';
6
7
  import type { ModelStrategyEntryResponseDto } from './modelStrategyEntryResponseDto.js';
7
8
  export interface ModelStrategyResponseDto {
8
9
  id: string;
@@ -43,4 +44,6 @@ export interface ModelStrategyResponseDto {
43
44
  /** Show recommended badge in wizard */
44
45
  recommended?: boolean;
45
46
  entries?: ModelStrategyEntryResponseDto[];
47
+ /** The model an invocation routes to when the requested model lane has no entry of its own — the ONE systemic fallback in the routing plane. `null` means this organisation has not selected a default model, and in that state every unbound lane REFUSES with a typed unavailability rather than resolving something the platform picked. No lane is mandatory; THIS is the mandatory thing. */
48
+ defaultBinding: ModelBindingResponseDto | null;
46
49
  }
@@ -3,6 +3,7 @@
3
3
  * LLM Registry API
4
4
  * OpenAPI spec version: 0.1.3
5
5
  */
6
+ import type { ModelBindingResponseDto } from './modelBindingResponseDto.js';
6
7
  import type { StrategyTemplateAvailabilityDto } from './strategyTemplateAvailabilityDto.js';
7
8
  import type { StrategyTemplateEntryDto } from './strategyTemplateEntryDto.js';
8
9
  export interface StrategyTemplateResponseDto {
@@ -27,4 +28,6 @@ export interface StrategyTemplateResponseDto {
27
28
  recommended: boolean;
28
29
  entries: StrategyTemplateEntryDto[];
29
30
  availability: StrategyTemplateAvailabilityDto;
31
+ /** The model an unbound model lane routes to if this template is adopted. All 19 shipped templates declare one, so in practice this is never `null` here — the type admits it because the SHAPE is shared with a stored strategy, where an organisation legitimately may not have chosen. */
32
+ defaultBinding: ModelBindingResponseDto | null;
30
33
  }
@@ -0,0 +1,21 @@
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 interface UpdateModelStrategyDefaultBindingDto {
7
+ /** The model an unbound model lane routes to. Required within this object: a PATCH may change the default, not remove it. */
8
+ modelSlug: string;
9
+ /**
10
+ * Temperature for the default binding (0-2). Omitted or `null` = the engine/model owns it; no platform value is ever materialized.
11
+ * @minimum 0
12
+ * @maximum 2
13
+ * @nullable
14
+ */
15
+ temperature?: number | null;
16
+ /**
17
+ * Reasoning effort for the default binding. Same posture as `temperature`: omitted or `null` = the engine/model owns it.
18
+ * @nullable
19
+ */
20
+ reasoningEffort?: string | null;
21
+ }
@@ -0,0 +1,7 @@
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 });
@@ -3,10 +3,13 @@
3
3
  * LLM Registry API
4
4
  * OpenAPI spec version: 0.1.3
5
5
  */
6
+ import type { UpdateModelStrategyDefaultBindingDto } from './updateModelStrategyDefaultBindingDto.js';
6
7
  export interface UpdateModelStrategyDto {
7
8
  displayName?: string;
8
9
  /** @nullable */
9
10
  description?: string | null;
10
- /** Set as the org default strategy */
11
+ /** Make this the org's DEFAULT STRATEGY — which strategy an invocation uses when a project binds none. A different axis from `defaultBinding`, which is the model an unbound LANE routes to WITHIN a strategy. Both are called "default" in the domain and they are not the same decision. */
11
12
  isDefault?: boolean;
13
+ /** Replace this strategy's default binding — the model an invocation routes to when the requested model lane has no entry. Before this existed the field could be set ONLY at create, so a strategy adopted from a template or created without one could not be repaired at all. */
14
+ defaultBinding?: UpdateModelStrategyDefaultBindingDto;
12
15
  }
@@ -1,7 +1,2 @@
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
- */
7
2
  Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xemahq/llm-registry-api-client",
3
- "version": "0.8.4",
3
+ "version": "0.8.5",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [