@xemahq/llm-registry-internal-api-client 0.7.11 → 0.7.21

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 (33) hide show
  1. package/dist/custom-fetch.d.ts +22 -0
  2. package/dist/custom-fetch.js +27 -0
  3. package/dist/endpoints/internal-exact-model-matrix-resolution/internal-exact-model-matrix-resolution.d.ts +8 -0
  4. package/dist/endpoints/internal-exact-model-matrix-resolution/internal-exact-model-matrix-resolution.js +17 -0
  5. package/dist/index.d.ts +1 -0
  6. package/dist/index.js +1 -0
  7. package/dist/models/agentInvokeRequestDto.d.ts +8 -4
  8. package/dist/models/agentInvokeRequestDtoLaunchDefinition.d.ts +11 -0
  9. package/dist/models/agentInvokeRequestDtoLaunchDefinition.js +7 -0
  10. package/dist/models/agentInvokeRequestDtoWorkspace.d.ts +11 -0
  11. package/dist/models/agentInvokeRequestDtoWorkspace.js +7 -0
  12. package/dist/models/exactContentPinDto.d.ts +9 -0
  13. package/dist/models/exactContentPinDto.js +7 -0
  14. package/dist/models/exactLogicalModelResolutionDto.d.ts +25 -0
  15. package/dist/models/exactLogicalModelResolutionDto.js +2 -0
  16. package/dist/models/exactLogicalModelResolutionDtoContextWindow.d.ts +11 -0
  17. package/dist/models/exactLogicalModelResolutionDtoContextWindow.js +7 -0
  18. package/dist/models/exactLogicalModelResolutionDtoDataEnvelope.d.ts +9 -0
  19. package/dist/models/exactLogicalModelResolutionDtoDataEnvelope.js +2 -0
  20. package/dist/models/executionRequirementsDto.d.ts +1 -1
  21. package/dist/models/executionRequirementsDtoMode.d.ts +1 -3
  22. package/dist/models/executionRequirementsDtoMode.js +0 -2
  23. package/dist/models/index.d.ts +9 -0
  24. package/dist/models/index.js +9 -0
  25. package/dist/models/logicalModelIntentDto.d.ts +9 -0
  26. package/dist/models/logicalModelIntentDto.js +2 -0
  27. package/dist/models/modelClass.d.ts +13 -0
  28. package/dist/models/modelClass.js +15 -0
  29. package/dist/models/resolveExactLogicalModelDto.d.ts +13 -0
  30. package/dist/models/resolveExactLogicalModelDto.js +2 -0
  31. package/dist/models/xemaObjectKind.d.ts +2 -2
  32. package/dist/models/xemaObjectKind.js +2 -2
  33. package/package.json +2 -2
@@ -47,6 +47,28 @@ export interface ClientConfig {
47
47
  getAuthToken?: () => Promise<string>;
48
48
  /** Optional callback returning headers to inject on every request. Per-call headers take precedence. */
49
49
  getHeaders?: () => Record<string, string> | Promise<Record<string, string>>;
50
+ /**
51
+ * Optional resolver for the CORRELATION ID of the request being made — the
52
+ * handle that ties one causal chain together across every service hop.
53
+ *
54
+ * WHY IT IS A CALLBACK AND NOT A VALUE. `ClientConfig` is process-global
55
+ * (`configureClient` is called once at wiring time), and a correlation id is
56
+ * per-request. This is invoked INSIDE the request, so a server can point it
57
+ * at whatever carries its ambient request context and get the CURRENT id
58
+ * rather than the one that happened to be live at boot.
59
+ *
60
+ * WHY THE TRANSPORT DOES NOT MINT ONE. Returning `undefined` sends no header,
61
+ * and the receiving service's `RequestContextMiddleware` mints its own — a
62
+ * new trace, which is honest. A transport that minted per call would produce
63
+ * a FRESH id on every hop while looking like propagation, which is strictly
64
+ * worse than none: every row would carry a correlation id and no two rows
65
+ * that belong together would share one. That is the exact defect this exists
66
+ * to fix, so the transport must not reproduce it one layer down.
67
+ *
68
+ * A caller-supplied `X-Correlation-Id` header always wins, and so does one
69
+ * from `getHeaders`.
70
+ */
71
+ getCorrelationId?: () => string | undefined | Promise<string | undefined>;
50
72
  /**
51
73
  * Optional callback invoked on a 401 before ONE re-attempt. Supplying it is
52
74
  * what opts this client into that re-attempt; without it a 401 comes back to
@@ -89,6 +89,16 @@ function getClientConfig() {
89
89
  */
90
90
  /** The only statuses that state the request was NOT processed. See above. */
91
91
  const RETRYABLE_STATUSES = [429, 503];
92
+ /**
93
+ * The platform's correlation header, spelled once.
94
+ *
95
+ * Value-identical to what `RequestContextMiddleware` reads in
96
+ * `@xemahq/platform-common`. It is a literal here rather than an import
97
+ * because this file has ZERO imports on purpose: it ships byte-identical into
98
+ * browser-target clients as well as server-target ones, and a dependency on a
99
+ * NestJS-peer package would follow it into every one of them.
100
+ */
101
+ const CORRELATION_ID_HEADER = 'X-Correlation-Id';
92
102
  /** Backoff floor, doubling per attempt up to {@link MAX_BACKOFF_MS}. */
93
103
  const BASE_BACKOFF_MS = 1000;
94
104
  /** Ceiling on a single backoff, however many attempts have elapsed. */
@@ -104,6 +114,23 @@ async function buildHeaders(config, callerHeaders) {
104
114
  }
105
115
  }
106
116
  }
117
+ // Correlation id (caller and global headers still take precedence).
118
+ //
119
+ // Without this, every server-to-server hop through a generated client started
120
+ // a NEW trace: the id is read-or-minted per hop by the receiving service's
121
+ // RequestContextMiddleware, and nothing carried it outbound — so an audit
122
+ // journal could record a whole causal chain and offer no way to join it back
123
+ // together.
124
+ //
125
+ // Absent resolver, or a resolver that answers `undefined`: NO header. The
126
+ // receiver mints and a new trace begins, which is the truthful outcome when
127
+ // there is nothing to continue.
128
+ if (config.getCorrelationId && !headers.has(CORRELATION_ID_HEADER)) {
129
+ const correlationId = await Promise.resolve(config.getCorrelationId());
130
+ if (correlationId) {
131
+ headers.set(CORRELATION_ID_HEADER, correlationId);
132
+ }
133
+ }
107
134
  // Auth token (caller or global headers take precedence)
108
135
  if (config.getAuthToken && !headers.has('Authorization')) {
109
136
  const token = await config.getAuthToken();
@@ -0,0 +1,8 @@
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 { ExactLogicalModelResolutionDtoDataEnvelope, ResolveExactLogicalModelDto } from '../../models';
7
+ export declare const getExactModelResolutionControllerResolveExactUrl: () => string;
8
+ export declare const exactModelResolutionControllerResolveExact: (resolveExactLogicalModelDto: ResolveExactLogicalModelDto, options?: RequestInit) => Promise<ExactLogicalModelResolutionDtoDataEnvelope>;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.exactModelResolutionControllerResolveExact = exports.getExactModelResolutionControllerResolveExactUrl = void 0;
4
+ const custom_fetch_1 = require("../../custom-fetch");
5
+ const getExactModelResolutionControllerResolveExactUrl = () => {
6
+ return `/internal/model-matrix/resolve-exact`;
7
+ };
8
+ exports.getExactModelResolutionControllerResolveExactUrl = getExactModelResolutionControllerResolveExactUrl;
9
+ const exactModelResolutionControllerResolveExact = async (resolveExactLogicalModelDto, options) => {
10
+ return (0, custom_fetch_1.customFetch)((0, exports.getExactModelResolutionControllerResolveExactUrl)(), {
11
+ ...options,
12
+ method: 'POST',
13
+ headers: { 'Content-Type': 'application/json', ...options?.headers },
14
+ body: JSON.stringify(resolveExactLogicalModelDto)
15
+ });
16
+ };
17
+ exports.exactModelResolutionControllerResolveExact = exactModelResolutionControllerResolveExact;
package/dist/index.d.ts CHANGED
@@ -3,5 +3,6 @@ export * from './models';
3
3
  export * from './endpoints/contribution-sync/contribution-sync';
4
4
  export * from './endpoints/describe-objects/describe-objects';
5
5
  export * from './endpoints/internal-agent-invocation/internal-agent-invocation';
6
+ export * from './endpoints/internal-exact-model-matrix-resolution/internal-exact-model-matrix-resolution';
6
7
  export * from './endpoints/internal-managed-model-resolution-rules/internal-managed-model-resolution-rules';
7
8
  export * from './endpoints/org-erasure/org-erasure';
package/dist/index.js CHANGED
@@ -25,5 +25,6 @@ __exportStar(require("./models"), exports);
25
25
  __exportStar(require("./endpoints/contribution-sync/contribution-sync"), exports);
26
26
  __exportStar(require("./endpoints/describe-objects/describe-objects"), exports);
27
27
  __exportStar(require("./endpoints/internal-agent-invocation/internal-agent-invocation"), exports);
28
+ __exportStar(require("./endpoints/internal-exact-model-matrix-resolution/internal-exact-model-matrix-resolution"), exports);
28
29
  __exportStar(require("./endpoints/internal-managed-model-resolution-rules/internal-managed-model-resolution-rules"), exports);
29
30
  __exportStar(require("./endpoints/org-erasure/org-erasure"), exports);
@@ -4,14 +4,18 @@
4
4
  * OpenAPI spec version: 0.1.3
5
5
  */
6
6
  import type { AgentInvokeRequestDtoInput } from './agentInvokeRequestDtoInput.js';
7
+ import type { AgentInvokeRequestDtoLaunchDefinition } from './agentInvokeRequestDtoLaunchDefinition.js';
8
+ import type { AgentInvokeRequestDtoWorkspace } from './agentInvokeRequestDtoWorkspace.js';
7
9
  import type { ExecutionRequirementsDto } from './executionRequirementsDto.js';
8
10
  export interface AgentInvokeRequestDto {
9
- /** Agent ref (`slug` or `slug@generatedRevisionNumber`) to execute. */
10
- agentRef: string;
11
+ /** Canonical LaunchDefinition RevisionTarget. Stable/channel selection is resolved centrally by agent-session. */
12
+ launchDefinition: AgentInvokeRequestDtoLaunchDefinition;
13
+ /** Canonical workspace action for the session launch. */
14
+ workspace: AgentInvokeRequestDtoWorkspace;
11
15
  /** Tenant scope: organization id. */
12
16
  orgId: string;
13
- /** Tenant scope: project id (optional). */
14
- projectId?: string;
17
+ /** Tenant scope: project id. */
18
+ projectId: string;
15
19
  /** Thread key (org+mailbox+emailThreadId for mail). Carries thread-continuity intent; STRICT isolation in Phase 1. */
16
20
  threadKey: string;
17
21
  /** Correlation id propagated through execution and audit. */
@@ -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
+ * Canonical LaunchDefinition RevisionTarget. Stable/channel selection is resolved centrally by agent-session.
8
+ */
9
+ export type AgentInvokeRequestDtoLaunchDefinition = {
10
+ [key: string]: unknown;
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,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
+ * Canonical workspace action for the session launch.
8
+ */
9
+ export type AgentInvokeRequestDtoWorkspace = {
10
+ [key: string]: unknown;
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,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
+ export interface ExactContentPinDto {
7
+ ref: string;
8
+ contentHash: string;
9
+ }
@@ -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,25 @@
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 { ExactContentPinDto } from './exactContentPinDto.js';
7
+ import type { ExactLogicalModelResolutionDtoContextWindow } from './exactLogicalModelResolutionDtoContextWindow.js';
8
+ import type { LogicalModelIntentDto } from './logicalModelIntentDto.js';
9
+ export interface ExactLogicalModelResolutionDto {
10
+ intent: LogicalModelIntentDto;
11
+ matrixRevision: ExactContentPinDto;
12
+ /** Opaque secret-free pin for the exact centrally selected provider/model deployment. */
13
+ deployment: ExactContentPinDto;
14
+ /** Concrete model identity selected by the Matrix. Callers cannot submit this value. */
15
+ modelRef: string;
16
+ /** Secret-free exact provider routing slug covered by the deployment pin. */
17
+ providerSlug: string;
18
+ /** Exact OpenCode provider namespace covered by the deployment pin. */
19
+ opencodeProviderId: string;
20
+ /** @nullable */
21
+ contextWindow: ExactLogicalModelResolutionDtoContextWindow;
22
+ capabilities: string[];
23
+ /** Content-addressed evidence for the exact Matrix context, decision, and deployment. */
24
+ decisionEvidence: ExactContentPinDto;
25
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
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
+ * @nullable
8
+ */
9
+ export type ExactLogicalModelResolutionDtoContextWindow = {
10
+ [key: string]: unknown;
11
+ } | null;
@@ -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,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 { ExactLogicalModelResolutionDto } from './exactLogicalModelResolutionDto.js';
7
+ export interface ExactLogicalModelResolutionDtoDataEnvelope {
8
+ data: ExactLogicalModelResolutionDto;
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -8,7 +8,7 @@ import type { ExecutionRequirementsDtoPriority } from './executionRequirementsDt
8
8
  import type { InvocationLimitsDto } from './invocationLimitsDto.js';
9
9
  import type { IsolationLevel } from './isolationLevel.js';
10
10
  export interface ExecutionRequirementsDto {
11
- /** Requested delivery mode. Omitted ⇒ `sync` (the documented wire default). A mode this runtime cannot execute is refused with a 400 never silently changed. Only `sync` is executable today. */
11
+ /** Requested delivery mode. Omitted ⇒ `sync`. `sync` is the only currently supported public value. */
12
12
  mode?: ExecutionRequirementsDtoMode;
13
13
  /** Thread isolation level. `strict` = fresh, never-reused thread context per invocation. */
14
14
  isolation: IsolationLevel;
@@ -4,11 +4,9 @@
4
4
  * OpenAPI spec version: 0.1.3
5
5
  */
6
6
  /**
7
- * Requested delivery mode. Omitted ⇒ `sync` (the documented wire default). A mode this runtime cannot execute is refused with a 400 never silently changed. Only `sync` is executable today.
7
+ * Requested delivery mode. Omitted ⇒ `sync`. `sync` is the only currently supported public value.
8
8
  */
9
9
  export type ExecutionRequirementsDtoMode = typeof ExecutionRequirementsDtoMode[keyof typeof ExecutionRequirementsDtoMode];
10
10
  export declare const ExecutionRequirementsDtoMode: {
11
11
  readonly sync: "sync";
12
- readonly async: "async";
13
- readonly event: "event";
14
12
  };
@@ -8,6 +8,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.ExecutionRequirementsDtoMode = void 0;
9
9
  exports.ExecutionRequirementsDtoMode = {
10
10
  sync: 'sync',
11
- async: 'async',
12
- event: 'event',
13
11
  };
@@ -1,5 +1,7 @@
1
1
  export * from './agentInvokeRequestDto';
2
2
  export * from './agentInvokeRequestDtoInput';
3
+ export * from './agentInvokeRequestDtoLaunchDefinition';
4
+ export * from './agentInvokeRequestDtoWorkspace';
3
5
  export * from './agentInvokeResponseDto';
4
6
  export * from './agentInvokeResponseDtoDataEnvelope';
5
7
  export * from './agentInvokeResponseDtoMode';
@@ -12,6 +14,10 @@ export * from './errorDetailsDto';
12
14
  export * from './errorDetailsDtoDetails';
13
15
  export * from './errorPayloadDto';
14
16
  export * from './errorResponseDto';
17
+ export * from './exactContentPinDto';
18
+ export * from './exactLogicalModelResolutionDto';
19
+ export * from './exactLogicalModelResolutionDtoContextWindow';
20
+ export * from './exactLogicalModelResolutionDtoDataEnvelope';
15
21
  export * from './executionRequirementsDto';
16
22
  export * from './executionRequirementsDtoMode';
17
23
  export * from './executionRequirementsDtoPriority';
@@ -19,6 +25,8 @@ export * from './invocationDecisionDto';
19
25
  export * from './invocationDecisionDtoPayload';
20
26
  export * from './invocationLimitsDto';
21
27
  export * from './isolationLevel';
28
+ export * from './logicalModelIntentDto';
29
+ export * from './modelClass';
22
30
  export * from './modelResolutionRuleResponseDto';
23
31
  export * from './modelResolutionRuleResponseDtoDataEnvelope';
24
32
  export * from './modelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass';
@@ -35,6 +43,7 @@ export * from './modelResolutionSelectorResponseDtoModelCapability';
35
43
  export * from './modelResolutionSelectorResponseDtoModelClass';
36
44
  export * from './objectLifecycle';
37
45
  export * from './repointDefaultTargetDto';
46
+ export * from './resolveExactLogicalModelDto';
38
47
  export * from './spaceKind';
39
48
  export * from './upsertManagedModelResolutionRuleDto';
40
49
  export * from './upsertManagedModelResolutionRuleDtoTargetKind';
@@ -17,6 +17,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  // Auto-generated by tooling/codegen/regenerate-models-barrel.js — do not edit manually.
18
18
  __exportStar(require("./agentInvokeRequestDto"), exports);
19
19
  __exportStar(require("./agentInvokeRequestDtoInput"), exports);
20
+ __exportStar(require("./agentInvokeRequestDtoLaunchDefinition"), exports);
21
+ __exportStar(require("./agentInvokeRequestDtoWorkspace"), exports);
20
22
  __exportStar(require("./agentInvokeResponseDto"), exports);
21
23
  __exportStar(require("./agentInvokeResponseDtoDataEnvelope"), exports);
22
24
  __exportStar(require("./agentInvokeResponseDtoMode"), exports);
@@ -29,6 +31,10 @@ __exportStar(require("./errorDetailsDto"), exports);
29
31
  __exportStar(require("./errorDetailsDtoDetails"), exports);
30
32
  __exportStar(require("./errorPayloadDto"), exports);
31
33
  __exportStar(require("./errorResponseDto"), exports);
34
+ __exportStar(require("./exactContentPinDto"), exports);
35
+ __exportStar(require("./exactLogicalModelResolutionDto"), exports);
36
+ __exportStar(require("./exactLogicalModelResolutionDtoContextWindow"), exports);
37
+ __exportStar(require("./exactLogicalModelResolutionDtoDataEnvelope"), exports);
32
38
  __exportStar(require("./executionRequirementsDto"), exports);
33
39
  __exportStar(require("./executionRequirementsDtoMode"), exports);
34
40
  __exportStar(require("./executionRequirementsDtoPriority"), exports);
@@ -36,6 +42,8 @@ __exportStar(require("./invocationDecisionDto"), exports);
36
42
  __exportStar(require("./invocationDecisionDtoPayload"), exports);
37
43
  __exportStar(require("./invocationLimitsDto"), exports);
38
44
  __exportStar(require("./isolationLevel"), exports);
45
+ __exportStar(require("./logicalModelIntentDto"), exports);
46
+ __exportStar(require("./modelClass"), exports);
39
47
  __exportStar(require("./modelResolutionRuleResponseDto"), exports);
40
48
  __exportStar(require("./modelResolutionRuleResponseDtoDataEnvelope"), exports);
41
49
  __exportStar(require("./modelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass"), exports);
@@ -52,6 +60,7 @@ __exportStar(require("./modelResolutionSelectorResponseDtoModelCapability"), exp
52
60
  __exportStar(require("./modelResolutionSelectorResponseDtoModelClass"), exports);
53
61
  __exportStar(require("./objectLifecycle"), exports);
54
62
  __exportStar(require("./repointDefaultTargetDto"), exports);
63
+ __exportStar(require("./resolveExactLogicalModelDto"), exports);
55
64
  __exportStar(require("./spaceKind"), exports);
56
65
  __exportStar(require("./upsertManagedModelResolutionRuleDto"), exports);
57
66
  __exportStar(require("./upsertManagedModelResolutionRuleDtoTargetKind"), exports);
@@ -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 { ModelClass } from './modelClass.js';
7
+ export interface LogicalModelIntentDto {
8
+ modelClass: ModelClass;
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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
+ export type ModelClass = typeof ModelClass[keyof typeof ModelClass];
7
+ export declare const ModelClass: {
8
+ readonly coding: "coding";
9
+ readonly review: "review";
10
+ readonly creative: "creative";
11
+ readonly planning: "planning";
12
+ readonly utility: "utility";
13
+ };
@@ -0,0 +1,15 @@
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
+ coding: 'coding',
11
+ review: 'review',
12
+ creative: 'creative',
13
+ planning: 'planning',
14
+ utility: 'utility',
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
+ import type { LogicalModelIntentDto } from './logicalModelIntentDto.js';
7
+ export interface ResolveExactLogicalModelDto {
8
+ /** Exact Agent revision resource identity used only as a Matrix dimension. */
9
+ agentRef: string;
10
+ /** Exact project Matrix dimension. Omitted for an org-owned Workspace. */
11
+ projectRef?: string;
12
+ intent: LogicalModelIntentDto;
13
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -27,10 +27,10 @@ export declare const XemaObjectKind: {
27
27
  readonly 'mount-source': "mount-source";
28
28
  readonly 'artifact-type': "artifact-type";
29
29
  readonly artifact: "artifact";
30
+ readonly 'output-route': "output-route";
31
+ readonly resource: "resource";
30
32
  readonly 'knowledge-space': "knowledge-space";
31
33
  readonly 'knowledge-page': "knowledge-page";
32
- readonly 'document-template': "document-template";
33
- readonly 'document-theme': "document-theme";
34
34
  readonly 'chart-runtime': "chart-runtime";
35
35
  readonly 'presentation-runtime': "presentation-runtime";
36
36
  readonly 'widget-kind': "widget-kind";
@@ -26,10 +26,10 @@ exports.XemaObjectKind = {
26
26
  'mount-source': 'mount-source',
27
27
  'artifact-type': 'artifact-type',
28
28
  artifact: 'artifact',
29
+ 'output-route': 'output-route',
30
+ resource: 'resource',
29
31
  'knowledge-space': 'knowledge-space',
30
32
  'knowledge-page': 'knowledge-page',
31
- 'document-template': 'document-template',
32
- 'document-theme': 'document-theme',
33
33
  'chart-runtime': 'chart-runtime',
34
34
  'presentation-runtime': 'presentation-runtime',
35
35
  'widget-kind': 'widget-kind',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xemahq/llm-registry-internal-api-client",
3
- "version": "0.7.11",
3
+ "version": "0.7.21",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [
@@ -19,7 +19,7 @@
19
19
  "service": "llm-registry-api",
20
20
  "biome": "agent-runtime",
21
21
  "target": "server",
22
- "generator": "@xemahq/api-client-generator@0.13.0",
22
+ "generator": "@xemahq/api-client-generator@0.14.1",
23
23
  "source": "openapi.internal.json"
24
24
  },
25
25
  "license": "LicenseRef-Xema-BSL-1.1",