@xemahq/llm-registry-api-client 0.11.0 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,7 +15,11 @@ export interface AgentKernelResponseDto {
15
15
  * @minimum 1
16
16
  */
17
17
  revisionNumber: number;
18
- orgId: string;
18
+ /**
19
+ * The owning organisation, or null for a platform-owned agent (`system` / `biome` tier).
20
+ * @nullable
21
+ */
22
+ orgId: string | null;
19
23
  /**
20
24
  * 5-tier owner-scope label for UI source-filter and fork CTA. Matches
21
25
  * the `source` column on the row; defaults to `org` for legacy rows.
@@ -14,7 +14,7 @@ export interface CreateModelDto {
14
14
  contextWindow: number;
15
15
  /** Model capabilities */
16
16
  capabilities?: string[];
17
- /** Closed-enum input/output modalities the model serves. Empty when omitted. Consumed by the model-modality capability provider-binding. */
17
+ /** Closed-enum INPUT modalities the model accepts, recorded with source `operator`. Omitted or empty means unknown (a provider sync may fill it). Consumed by the model-modality capability provider-binding. */
18
18
  modalities?: ModelModality[];
19
19
  /** Embedding vector dimension (for embedding models only) */
20
20
  embeddingDimension?: number;
@@ -232,8 +232,12 @@ export * from './paginationMeta';
232
232
  export * from './probeProviderDto';
233
233
  export * from './probeProviderDtoApiType';
234
234
  export * from './probedModelDto';
235
+ export * from './problemActionableBy';
235
236
  export * from './problemDetailsDto';
237
+ export * from './problemDetailsDtoParams';
236
238
  export * from './problemFieldIssueDto';
239
+ export * from './problemFieldIssueDtoParams';
240
+ export * from './problemRetry';
237
241
  export * from './projectAgentOverrideResponseDto';
238
242
  export * from './projectAgentOverrideResponseDtoDataArrayEnvelope';
239
243
  export * from './projectAgentOverrideResponseDtoDataEnvelope';
@@ -249,8 +249,12 @@ __exportStar(require("./paginationMeta"), exports);
249
249
  __exportStar(require("./probeProviderDto"), exports);
250
250
  __exportStar(require("./probeProviderDtoApiType"), exports);
251
251
  __exportStar(require("./probedModelDto"), exports);
252
+ __exportStar(require("./problemActionableBy"), exports);
252
253
  __exportStar(require("./problemDetailsDto"), exports);
254
+ __exportStar(require("./problemDetailsDtoParams"), exports);
253
255
  __exportStar(require("./problemFieldIssueDto"), exports);
256
+ __exportStar(require("./problemFieldIssueDtoParams"), exports);
257
+ __exportStar(require("./problemRetry"), exports);
254
258
  __exportStar(require("./projectAgentOverrideResponseDto"), exports);
255
259
  __exportStar(require("./projectAgentOverrideResponseDtoDataArrayEnvelope"), exports);
256
260
  __exportStar(require("./projectAgentOverrideResponseDtoDataEnvelope"), exports);
@@ -4,7 +4,7 @@
4
4
  * OpenAPI spec version: 0.1.3
5
5
  */
6
6
  /**
7
- * Closed-enum input/output modalities the model serves. Empty when none declared.
7
+ * Closed-enum INPUT modalities the model accepts — a capability fact (see `modalitiesSource`). Empty when nobody declared any.
8
8
  */
9
9
  export type ModelModality = typeof ModelModality[keyof typeof ModelModality];
10
10
  export declare const ModelModality: {
@@ -59,8 +59,15 @@ export interface ModelResponseDto {
59
59
  */
60
60
  embeddingDimension?: number | null;
61
61
  capabilities: string[];
62
- /** Closed-enum input/output modalities the model serves. Empty when none declared. */
62
+ /** Closed-enum INPUT modalities the model accepts — a capability fact (see `modalitiesSource`). Empty when nobody declared any. */
63
63
  modalities: ModelModality[];
64
+ /** Where the `modalities` capability fact came from, highest rank first: `operator` (no sync overwrites it), `provider` (the provider declared it), `curated_catalog`. an empty set with a null source = the fact is unknown (nobody declared it); a non-default value with a null source = provenance not recorded. */
65
+ modalitiesSource: ModelFactSource | null;
66
+ /**
67
+ * When the source of `modalities` last asserted it (ISO 8601). Null exactly when its source is null.
68
+ * @nullable
69
+ */
70
+ modalitiesVerifiedAt: string | null;
64
71
  /** Model exposes function/tool calling. */
65
72
  supportsTools: boolean;
66
73
  /** Model accepts image inputs. */
@@ -77,6 +84,62 @@ export interface ModelResponseDto {
77
84
  supportsJsonMode: boolean;
78
85
  /** Model supports built-in web search. */
79
86
  supportsWebSearch: boolean;
87
+ /** Where the `supportsTools` capability fact came from, highest rank first: `operator` (no sync overwrites it), `provider` (the provider declared it), `curated_catalog`. `false` with a null source = the fact is unknown (nobody declared it); a non-default value with a null source = provenance not recorded. */
88
+ supportsToolsSource: ModelFactSource | null;
89
+ /**
90
+ * When the source of `supportsTools` last asserted it (ISO 8601). Null exactly when its source is null.
91
+ * @nullable
92
+ */
93
+ supportsToolsVerifiedAt: string | null;
94
+ /** Where the `supportsVision` capability fact came from, highest rank first: `operator` (no sync overwrites it), `provider` (the provider declared it), `curated_catalog`. `false` with a null source = the fact is unknown (nobody declared it); a non-default value with a null source = provenance not recorded. */
95
+ supportsVisionSource: ModelFactSource | null;
96
+ /**
97
+ * When the source of `supportsVision` last asserted it (ISO 8601). Null exactly when its source is null.
98
+ * @nullable
99
+ */
100
+ supportsVisionVerifiedAt: string | null;
101
+ /** Where the `supportsReasoning` capability fact came from, highest rank first: `operator` (no sync overwrites it), `provider` (the provider declared it), `curated_catalog`. `false` with a null source = the fact is unknown (nobody declared it); a non-default value with a null source = provenance not recorded. */
102
+ supportsReasoningSource: ModelFactSource | null;
103
+ /**
104
+ * When the source of `supportsReasoning` last asserted it (ISO 8601). Null exactly when its source is null.
105
+ * @nullable
106
+ */
107
+ supportsReasoningVerifiedAt: string | null;
108
+ /** Where the `supportsAudioInput` capability fact came from, highest rank first: `operator` (no sync overwrites it), `provider` (the provider declared it), `curated_catalog`. `false` with a null source = the fact is unknown (nobody declared it); a non-default value with a null source = provenance not recorded. */
109
+ supportsAudioInputSource: ModelFactSource | null;
110
+ /**
111
+ * When the source of `supportsAudioInput` last asserted it (ISO 8601). Null exactly when its source is null.
112
+ * @nullable
113
+ */
114
+ supportsAudioInputVerifiedAt: string | null;
115
+ /** Where the `supportsPdfInput` capability fact came from, highest rank first: `operator` (no sync overwrites it), `provider` (the provider declared it), `curated_catalog`. `false` with a null source = the fact is unknown (nobody declared it); a non-default value with a null source = provenance not recorded. */
116
+ supportsPdfInputSource: ModelFactSource | null;
117
+ /**
118
+ * When the source of `supportsPdfInput` last asserted it (ISO 8601). Null exactly when its source is null.
119
+ * @nullable
120
+ */
121
+ supportsPdfInputVerifiedAt: string | null;
122
+ /** Where the `supportsPromptCaching` capability fact came from, highest rank first: `operator` (no sync overwrites it), `provider` (the provider declared it), `curated_catalog`. `false` with a null source = the fact is unknown (nobody declared it); a non-default value with a null source = provenance not recorded. */
123
+ supportsPromptCachingSource: ModelFactSource | null;
124
+ /**
125
+ * When the source of `supportsPromptCaching` last asserted it (ISO 8601). Null exactly when its source is null.
126
+ * @nullable
127
+ */
128
+ supportsPromptCachingVerifiedAt: string | null;
129
+ /** Where the `supportsJsonMode` capability fact came from, highest rank first: `operator` (no sync overwrites it), `provider` (the provider declared it), `curated_catalog`. `false` with a null source = the fact is unknown (nobody declared it); a non-default value with a null source = provenance not recorded. */
130
+ supportsJsonModeSource: ModelFactSource | null;
131
+ /**
132
+ * When the source of `supportsJsonMode` last asserted it (ISO 8601). Null exactly when its source is null.
133
+ * @nullable
134
+ */
135
+ supportsJsonModeVerifiedAt: string | null;
136
+ /** Where the `supportsWebSearch` capability fact came from, highest rank first: `operator` (no sync overwrites it), `provider` (the provider declared it), `curated_catalog`. `false` with a null source = the fact is unknown (nobody declared it); a non-default value with a null source = provenance not recorded. */
137
+ supportsWebSearchSource: ModelFactSource | null;
138
+ /**
139
+ * When the source of `supportsWebSearch` last asserted it (ISO 8601). Null exactly when its source is null.
140
+ * @nullable
141
+ */
142
+ supportsWebSearchVerifiedAt: string | null;
80
143
  /** Model has rolled out of the current window. */
81
144
  deprecated: boolean;
82
145
  /**
@@ -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
+ /**
7
+ * Who can act on this refusal: `user` (correct the input, sign in), `org-admin` (an administrator of the organisation), `platform` (the operators of this installation), `none` (nobody — it cannot succeed). ABSENT when not known; never guessed.
8
+ */
9
+ export type ProblemActionableBy = typeof ProblemActionableBy[keyof typeof ProblemActionableBy];
10
+ export declare const ProblemActionableBy: {
11
+ readonly user: "user";
12
+ readonly 'org-admin': "org-admin";
13
+ readonly platform: "platform";
14
+ readonly none: "none";
15
+ };
@@ -0,0 +1,14 @@
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.ProblemActionableBy = void 0;
9
+ exports.ProblemActionableBy = {
10
+ user: 'user',
11
+ 'org-admin': 'org-admin',
12
+ platform: 'platform',
13
+ none: 'none',
14
+ };
@@ -3,7 +3,10 @@
3
3
  * LLM Registry API
4
4
  * OpenAPI spec version: 0.1.3
5
5
  */
6
+ import type { ProblemActionableBy } from './problemActionableBy.js';
7
+ import type { ProblemDetailsDtoParams } from './problemDetailsDtoParams.js';
6
8
  import type { ProblemFieldIssueDto } from './problemFieldIssueDto.js';
9
+ import type { ProblemRetry } from './problemRetry.js';
7
10
  /**
8
11
  * RFC 9457 problem document. The declared members are the reserved core; extension members are TOP-LEVEL and OPEN, owned by the refusing plane.
9
12
  */
@@ -24,5 +27,11 @@ export interface ProblemDetailsDto {
24
27
  traceId?: string;
25
28
  /** Field-level issues, when the refusal is about the request body. */
26
29
  errors?: ProblemFieldIssueDto[];
30
+ /** Who can act on this refusal: `user` (correct the input, sign in), `org-admin` (an administrator of the organisation), `platform` (the operators of this installation), `none` (nobody — it cannot succeed). ABSENT when not known; never guessed. */
31
+ actionableBy?: ProblemActionableBy;
32
+ /** What a retry can achieve: `transient` (later, unchanged), `after-change` (only after someone changes something), `never` (a defect until a fixed version ships). ABSENT when not known. */
33
+ retry?: ProblemRetry;
34
+ /** Safe i18n interpolation values for the message keyed by `code` — typed and allowlisted per code by its declaration. Never server-authored copy, never internal diagnostics. */
35
+ params?: ProblemDetailsDtoParams;
27
36
  [key: string]: unknown;
28
37
  }
@@ -0,0 +1,11 @@
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
+ * Safe i18n interpolation values for the message keyed by `code` — typed and allowlisted per code by its declaration. Never server-authored copy, never internal diagnostics.
8
+ */
9
+ export type ProblemDetailsDtoParams = {
10
+ [key: string]: string | number | boolean;
11
+ };
@@ -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,8 +3,14 @@
3
3
  * LLM Registry API
4
4
  * OpenAPI spec version: 0.1.3
5
5
  */
6
+ import type { ProblemFieldIssueDtoParams } from './problemFieldIssueDtoParams.js';
6
7
  export interface ProblemFieldIssueDto {
7
8
  /** RFC 6901 JSON Pointer into the request body. Root is "/". */
8
9
  pointer: string;
10
+ /** Prose for logs and developers. A frontend localises from `code` + `params` instead. */
9
11
  detail: string;
12
+ /** SCREAMING_SNAKE_CASE code of THIS issue, for a frontend i18n key. Present when the issue was minted by a declared problem. */
13
+ code?: string;
14
+ /** Safe i18n interpolation values for this issue's `code`. */
15
+ params?: ProblemFieldIssueDtoParams;
10
16
  }
@@ -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 });
@@ -0,0 +1,11 @@
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
+ * Safe i18n interpolation values for this issue's `code`.
8
+ */
9
+ export type ProblemFieldIssueDtoParams = {
10
+ [key: string]: string | number | boolean;
11
+ };
@@ -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 });
@@ -0,0 +1,14 @@
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
+ * What a retry can achieve: `transient` (later, unchanged), `after-change` (only after someone changes something), `never` (a defect until a fixed version ships). ABSENT when not known.
8
+ */
9
+ export type ProblemRetry = typeof ProblemRetry[keyof typeof ProblemRetry];
10
+ export declare const ProblemRetry: {
11
+ readonly transient: "transient";
12
+ readonly 'after-change': "after-change";
13
+ readonly never: "never";
14
+ };
@@ -0,0 +1,13 @@
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.ProblemRetry = void 0;
9
+ exports.ProblemRetry = {
10
+ transient: 'transient',
11
+ 'after-change': 'after-change',
12
+ never: 'never',
13
+ };
@@ -26,7 +26,47 @@ export interface UpdateModelDto {
26
26
  maxOutputTokens?: number | null;
27
27
  /** Model capabilities */
28
28
  capabilities?: string[];
29
- /** Closed-enum input/output modalities the model serves. Replaces the stored set when provided; omit to leave it unchanged. */
29
+ /**
30
+ * The model exposes function/tool calling. `true`/`false` is recorded with source `operator`, which no sync overwrites. `null` clears the fact to unknown so the next sync may fill it. Omit to leave it unchanged.
31
+ * @nullable
32
+ */
33
+ supportsTools?: boolean | null;
34
+ /**
35
+ * The model accepts image inputs. `true`/`false` is recorded with source `operator`, which no sync overwrites. `null` clears the fact to unknown so the next sync may fill it. Omit to leave it unchanged.
36
+ * @nullable
37
+ */
38
+ supportsVision?: boolean | null;
39
+ /**
40
+ * The model performs explicit reasoning. `true`/`false` is recorded with source `operator`, which no sync overwrites. `null` clears the fact to unknown so the next sync may fill it. Omit to leave it unchanged.
41
+ * @nullable
42
+ */
43
+ supportsReasoning?: boolean | null;
44
+ /**
45
+ * The model accepts audio inputs. `true`/`false` is recorded with source `operator`, which no sync overwrites. `null` clears the fact to unknown so the next sync may fill it. Omit to leave it unchanged.
46
+ * @nullable
47
+ */
48
+ supportsAudioInput?: boolean | null;
49
+ /**
50
+ * The model accepts PDF inputs. `true`/`false` is recorded with source `operator`, which no sync overwrites. `null` clears the fact to unknown so the next sync may fill it. Omit to leave it unchanged.
51
+ * @nullable
52
+ */
53
+ supportsPdfInput?: boolean | null;
54
+ /**
55
+ * The model supports prompt caching. `true`/`false` is recorded with source `operator`, which no sync overwrites. `null` clears the fact to unknown so the next sync may fill it. Omit to leave it unchanged.
56
+ * @nullable
57
+ */
58
+ supportsPromptCaching?: boolean | null;
59
+ /**
60
+ * The model supports structured JSON output. `true`/`false` is recorded with source `operator`, which no sync overwrites. `null` clears the fact to unknown so the next sync may fill it. Omit to leave it unchanged.
61
+ * @nullable
62
+ */
63
+ supportsJsonMode?: boolean | null;
64
+ /**
65
+ * The model supports built-in web search. `true`/`false` is recorded with source `operator`, which no sync overwrites. `null` clears the fact to unknown so the next sync may fill it. Omit to leave it unchanged.
66
+ * @nullable
67
+ */
68
+ supportsWebSearch?: boolean | null;
69
+ /** Closed-enum INPUT modalities the model accepts — an operator declaration recorded with source `operator`, which no sync overwrites. An empty array clears the fact to unknown so the next sync may fill it. Omit to leave it unchanged. */
30
70
  modalities?: ModelModality[];
31
71
  /** Embedding vector dimension (for embedding models only) */
32
72
  embeddingDimension?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xemahq/llm-registry-api-client",
3
- "version": "0.11.0",
3
+ "version": "0.12.0",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [