@xemahq/llm-registry-internal-api-client 0.2.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.
- package/LICENSE +175 -0
- package/README.md +62 -0
- package/dist/custom-fetch.d.ts +52 -0
- package/dist/custom-fetch.js +152 -0
- package/dist/endpoints/describe-objects/describe-objects.d.ts +14 -0
- package/dist/endpoints/describe-objects/describe-objects.js +19 -0
- package/dist/endpoints/internal-agent-invocation/internal-agent-invocation.d.ts +14 -0
- package/dist/endpoints/internal-agent-invocation/internal-agent-invocation.js +21 -0
- package/dist/endpoints/internal-composition-invocation/internal-composition-invocation.d.ts +14 -0
- package/dist/endpoints/internal-composition-invocation/internal-composition-invocation.js +21 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +26 -0
- package/dist/models/compositionInvokeRequestDto.d.ts +24 -0
- package/dist/models/compositionInvokeRequestDto.js +2 -0
- package/dist/models/compositionInvokeRequestDtoInput.d.ts +13 -0
- package/dist/models/compositionInvokeRequestDtoInput.js +9 -0
- package/dist/models/describeObjectsResponseDto.d.ts +14 -0
- package/dist/models/describeObjectsResponseDto.js +2 -0
- package/dist/models/errorDetailsDto.d.ts +12 -0
- package/dist/models/errorDetailsDto.js +2 -0
- package/dist/models/errorDetailsDtoDetails.d.ts +13 -0
- package/dist/models/errorDetailsDtoDetails.js +9 -0
- package/dist/models/errorPayloadDto.d.ts +13 -0
- package/dist/models/errorPayloadDto.js +2 -0
- package/dist/models/errorResponseDto.d.ts +11 -0
- package/dist/models/errorResponseDto.js +2 -0
- package/dist/models/executionRequirementsDto.d.ts +28 -0
- package/dist/models/executionRequirementsDto.js +2 -0
- package/dist/models/executionRequirementsDtoIsolation.d.ts +15 -0
- package/dist/models/executionRequirementsDtoIsolation.js +14 -0
- package/dist/models/executionRequirementsDtoMode.d.ts +16 -0
- package/dist/models/executionRequirementsDtoMode.js +15 -0
- package/dist/models/executionRequirementsDtoPriority.d.ts +16 -0
- package/dist/models/executionRequirementsDtoPriority.js +15 -0
- package/dist/models/index.d.ts +19 -0
- package/dist/models/index.js +36 -0
- package/dist/models/invocationLimitsDto.d.ts +19 -0
- package/dist/models/invocationLimitsDto.js +9 -0
- package/dist/models/objectLifecycle.d.ts +16 -0
- package/dist/models/objectLifecycle.js +15 -0
- package/dist/models/spaceKind.d.ts +20 -0
- package/dist/models/spaceKind.js +19 -0
- package/dist/models/xemaObjectKind.d.ts +51 -0
- package/dist/models/xemaObjectKind.js +50 -0
- package/dist/models/xemaObjectResponseDto.d.ts +26 -0
- package/dist/models/xemaObjectResponseDto.js +2 -0
- package/dist/models/xemaObjectResponseDtoPayload.d.ts +13 -0
- package/dist/models/xemaObjectResponseDtoPayload.js +9 -0
- package/dist/models/xemaSpaceRefDto.d.ts +16 -0
- package/dist/models/xemaSpaceRefDto.js +2 -0
- package/dist/models/xemaSubjectRefDto.d.ts +11 -0
- package/dist/models/xemaSubjectRefDto.js +9 -0
- package/package.json +28 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* LLM Registry API
|
|
5
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { ErrorDetailsDtoDetails } from './errorDetailsDtoDetails.js';
|
|
9
|
+
export interface ErrorDetailsDto {
|
|
10
|
+
/** @nullable */
|
|
11
|
+
details: ErrorDetailsDtoDetails;
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* LLM Registry API
|
|
5
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @nullable
|
|
10
|
+
*/
|
|
11
|
+
export type ErrorDetailsDtoDetails = {
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
} | null;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.16.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* LLM Registry API
|
|
6
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* LLM Registry API
|
|
5
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { ErrorDetailsDto } from './errorDetailsDto.js';
|
|
9
|
+
export interface ErrorPayloadDto {
|
|
10
|
+
code: string;
|
|
11
|
+
message: string;
|
|
12
|
+
details: ErrorDetailsDto | null;
|
|
13
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* LLM Registry API
|
|
5
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { ErrorPayloadDto } from './errorPayloadDto.js';
|
|
9
|
+
export interface ErrorResponseDto {
|
|
10
|
+
error: ErrorPayloadDto;
|
|
11
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* LLM Registry API
|
|
5
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { ExecutionRequirementsDtoIsolation } from './executionRequirementsDtoIsolation.js';
|
|
9
|
+
import type { ExecutionRequirementsDtoMode } from './executionRequirementsDtoMode.js';
|
|
10
|
+
import type { ExecutionRequirementsDtoPriority } from './executionRequirementsDtoPriority.js';
|
|
11
|
+
import type { InvocationLimitsDto } from './invocationLimitsDto.js';
|
|
12
|
+
export interface ExecutionRequirementsDto {
|
|
13
|
+
/** Requested execution mode. Hint — the platform may override by policy. Phase 1 supports `sync` only. */
|
|
14
|
+
mode?: ExecutionRequirementsDtoMode;
|
|
15
|
+
/** Thread isolation level. `strict` = fresh, never-reused thread context per invocation. */
|
|
16
|
+
isolation: ExecutionRequirementsDtoIsolation;
|
|
17
|
+
/** Target latency in ms (mode-selection hint). */
|
|
18
|
+
latencyTargetMs?: number;
|
|
19
|
+
/** Scheduling priority hint. */
|
|
20
|
+
priority?: ExecutionRequirementsDtoPriority;
|
|
21
|
+
/** Strategy / model-class hint for the Model Resolution Matrix. */
|
|
22
|
+
modelCapability?: string;
|
|
23
|
+
/** deliverable-spec / JSON-schema ref the root output is enforced against (fail-closed). */
|
|
24
|
+
outputSchemaRef?: string;
|
|
25
|
+
/** Caller idempotency key. A duplicate `(orgId, idempotencyKey)` returns the prior invocation rather than re-executing. */
|
|
26
|
+
idempotencyKey?: string;
|
|
27
|
+
limits?: InvocationLimitsDto;
|
|
28
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* LLM Registry API
|
|
5
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Thread isolation level. `strict` = fresh, never-reused thread context per invocation.
|
|
10
|
+
*/
|
|
11
|
+
export type ExecutionRequirementsDtoIsolation = typeof ExecutionRequirementsDtoIsolation[keyof typeof ExecutionRequirementsDtoIsolation];
|
|
12
|
+
export declare const ExecutionRequirementsDtoIsolation: {
|
|
13
|
+
readonly strict: "strict";
|
|
14
|
+
readonly 'pooled-thread': "pooled-thread";
|
|
15
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.16.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* LLM Registry API
|
|
6
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.ExecutionRequirementsDtoIsolation = void 0;
|
|
11
|
+
exports.ExecutionRequirementsDtoIsolation = {
|
|
12
|
+
strict: 'strict',
|
|
13
|
+
'pooled-thread': 'pooled-thread',
|
|
14
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* LLM Registry API
|
|
5
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Requested execution mode. Hint — the platform may override by policy. Phase 1 supports `sync` only.
|
|
10
|
+
*/
|
|
11
|
+
export type ExecutionRequirementsDtoMode = typeof ExecutionRequirementsDtoMode[keyof typeof ExecutionRequirementsDtoMode];
|
|
12
|
+
export declare const ExecutionRequirementsDtoMode: {
|
|
13
|
+
readonly sync: "sync";
|
|
14
|
+
readonly async: "async";
|
|
15
|
+
readonly event: "event";
|
|
16
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.16.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* LLM Registry API
|
|
6
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.ExecutionRequirementsDtoMode = void 0;
|
|
11
|
+
exports.ExecutionRequirementsDtoMode = {
|
|
12
|
+
sync: 'sync',
|
|
13
|
+
async: 'async',
|
|
14
|
+
event: 'event',
|
|
15
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* LLM Registry API
|
|
5
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Scheduling priority hint.
|
|
10
|
+
*/
|
|
11
|
+
export type ExecutionRequirementsDtoPriority = typeof ExecutionRequirementsDtoPriority[keyof typeof ExecutionRequirementsDtoPriority];
|
|
12
|
+
export declare const ExecutionRequirementsDtoPriority: {
|
|
13
|
+
readonly low: "low";
|
|
14
|
+
readonly normal: "normal";
|
|
15
|
+
readonly high: "high";
|
|
16
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.16.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* LLM Registry API
|
|
6
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.ExecutionRequirementsDtoPriority = void 0;
|
|
11
|
+
exports.ExecutionRequirementsDtoPriority = {
|
|
12
|
+
low: 'low',
|
|
13
|
+
normal: 'normal',
|
|
14
|
+
high: 'high',
|
|
15
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export * from './compositionInvokeRequestDto';
|
|
2
|
+
export * from './compositionInvokeRequestDtoInput';
|
|
3
|
+
export * from './describeObjectsResponseDto';
|
|
4
|
+
export * from './errorDetailsDto';
|
|
5
|
+
export * from './errorDetailsDtoDetails';
|
|
6
|
+
export * from './errorPayloadDto';
|
|
7
|
+
export * from './errorResponseDto';
|
|
8
|
+
export * from './executionRequirementsDto';
|
|
9
|
+
export * from './executionRequirementsDtoIsolation';
|
|
10
|
+
export * from './executionRequirementsDtoMode';
|
|
11
|
+
export * from './executionRequirementsDtoPriority';
|
|
12
|
+
export * from './invocationLimitsDto';
|
|
13
|
+
export * from './objectLifecycle';
|
|
14
|
+
export * from './spaceKind';
|
|
15
|
+
export * from './xemaObjectKind';
|
|
16
|
+
export * from './xemaObjectResponseDto';
|
|
17
|
+
export * from './xemaObjectResponseDtoPayload';
|
|
18
|
+
export * from './xemaSpaceRefDto';
|
|
19
|
+
export * from './xemaSubjectRefDto';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
// Auto-generated by tooling/codegen/regenerate-models-barrel.js — do not edit manually.
|
|
18
|
+
__exportStar(require("./compositionInvokeRequestDto"), exports);
|
|
19
|
+
__exportStar(require("./compositionInvokeRequestDtoInput"), exports);
|
|
20
|
+
__exportStar(require("./describeObjectsResponseDto"), exports);
|
|
21
|
+
__exportStar(require("./errorDetailsDto"), exports);
|
|
22
|
+
__exportStar(require("./errorDetailsDtoDetails"), exports);
|
|
23
|
+
__exportStar(require("./errorPayloadDto"), exports);
|
|
24
|
+
__exportStar(require("./errorResponseDto"), exports);
|
|
25
|
+
__exportStar(require("./executionRequirementsDto"), exports);
|
|
26
|
+
__exportStar(require("./executionRequirementsDtoIsolation"), exports);
|
|
27
|
+
__exportStar(require("./executionRequirementsDtoMode"), exports);
|
|
28
|
+
__exportStar(require("./executionRequirementsDtoPriority"), exports);
|
|
29
|
+
__exportStar(require("./invocationLimitsDto"), exports);
|
|
30
|
+
__exportStar(require("./objectLifecycle"), exports);
|
|
31
|
+
__exportStar(require("./spaceKind"), exports);
|
|
32
|
+
__exportStar(require("./xemaObjectKind"), exports);
|
|
33
|
+
__exportStar(require("./xemaObjectResponseDto"), exports);
|
|
34
|
+
__exportStar(require("./xemaObjectResponseDtoPayload"), exports);
|
|
35
|
+
__exportStar(require("./xemaSpaceRefDto"), exports);
|
|
36
|
+
__exportStar(require("./xemaSubjectRefDto"), exports);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* LLM Registry API
|
|
5
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export interface InvocationLimitsDto {
|
|
9
|
+
/** Hard wall-clock limit for the invocation, in ms. */
|
|
10
|
+
maxDurationMs?: number;
|
|
11
|
+
/** Token budget across the invocation. */
|
|
12
|
+
maxTokens?: number;
|
|
13
|
+
/** Tool-call budget across the invocation. */
|
|
14
|
+
maxToolCalls?: number;
|
|
15
|
+
/** Retry budget for the invocation. */
|
|
16
|
+
maxRetries?: number;
|
|
17
|
+
/** Cost ceiling for the invocation, in USD. */
|
|
18
|
+
maxCostUsd?: number;
|
|
19
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.16.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* LLM Registry API
|
|
6
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* LLM Registry API
|
|
5
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Always `published` — the projection only carries resolvable rows.
|
|
10
|
+
*/
|
|
11
|
+
export type ObjectLifecycle = typeof ObjectLifecycle[keyof typeof ObjectLifecycle];
|
|
12
|
+
export declare const ObjectLifecycle: {
|
|
13
|
+
readonly draft: "draft";
|
|
14
|
+
readonly published: "published";
|
|
15
|
+
readonly archived: "archived";
|
|
16
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.16.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* LLM Registry API
|
|
6
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.ObjectLifecycle = void 0;
|
|
11
|
+
exports.ObjectLifecycle = {
|
|
12
|
+
draft: 'draft',
|
|
13
|
+
published: 'published',
|
|
14
|
+
archived: 'archived',
|
|
15
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* LLM Registry API
|
|
5
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Ownership tier (system | biome | org | project | user)
|
|
10
|
+
*/
|
|
11
|
+
export type SpaceKind = typeof SpaceKind[keyof typeof SpaceKind];
|
|
12
|
+
export declare const SpaceKind: {
|
|
13
|
+
readonly system: "system";
|
|
14
|
+
readonly org: "org";
|
|
15
|
+
readonly project: "project";
|
|
16
|
+
readonly app: "app";
|
|
17
|
+
readonly session: "session";
|
|
18
|
+
readonly biome: "biome";
|
|
19
|
+
readonly user: "user";
|
|
20
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.16.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* LLM Registry API
|
|
6
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.SpaceKind = void 0;
|
|
11
|
+
exports.SpaceKind = {
|
|
12
|
+
system: 'system',
|
|
13
|
+
org: 'org',
|
|
14
|
+
project: 'project',
|
|
15
|
+
app: 'app',
|
|
16
|
+
session: 'session',
|
|
17
|
+
biome: 'biome',
|
|
18
|
+
user: 'user',
|
|
19
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* LLM Registry API
|
|
5
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* One of: agent | agent-composition | model | model-resolution-rule from this producer.
|
|
10
|
+
*/
|
|
11
|
+
export type XemaObjectKind = typeof XemaObjectKind[keyof typeof XemaObjectKind];
|
|
12
|
+
export declare const XemaObjectKind: {
|
|
13
|
+
readonly biome: "biome";
|
|
14
|
+
readonly app: "app";
|
|
15
|
+
readonly 'app-client': "app-client";
|
|
16
|
+
readonly 'audience-policy': "audience-policy";
|
|
17
|
+
readonly 'external-subject': "external-subject";
|
|
18
|
+
readonly 'delegated-session': "delegated-session";
|
|
19
|
+
readonly 'agent-kernel': "agent-kernel";
|
|
20
|
+
readonly agent: "agent";
|
|
21
|
+
readonly skill: "skill";
|
|
22
|
+
readonly tool: "tool";
|
|
23
|
+
readonly model: "model";
|
|
24
|
+
readonly 'model-resolution-rule': "model-resolution-rule";
|
|
25
|
+
readonly workflow: "workflow";
|
|
26
|
+
readonly 'workflow-run': "workflow-run";
|
|
27
|
+
readonly 'gate-action': "gate-action";
|
|
28
|
+
readonly connector: "connector";
|
|
29
|
+
readonly 'connector-binding': "connector-binding";
|
|
30
|
+
readonly 'mount-source': "mount-source";
|
|
31
|
+
readonly 'artifact-type': "artifact-type";
|
|
32
|
+
readonly artifact: "artifact";
|
|
33
|
+
readonly 'knowledge-space': "knowledge-space";
|
|
34
|
+
readonly 'knowledge-page': "knowledge-page";
|
|
35
|
+
readonly 'document-template': "document-template";
|
|
36
|
+
readonly 'document-theme': "document-theme";
|
|
37
|
+
readonly 'chart-runtime': "chart-runtime";
|
|
38
|
+
readonly 'presentation-runtime': "presentation-runtime";
|
|
39
|
+
readonly 'widget-kind': "widget-kind";
|
|
40
|
+
readonly capability: "capability";
|
|
41
|
+
readonly 'execution-environment': "execution-environment";
|
|
42
|
+
readonly 'capability-grant': "capability-grant";
|
|
43
|
+
readonly 'approval-rule': "approval-rule";
|
|
44
|
+
readonly memory: "memory";
|
|
45
|
+
readonly 'memory-relation': "memory-relation";
|
|
46
|
+
readonly session: "session";
|
|
47
|
+
readonly 'event-stream': "event-stream";
|
|
48
|
+
readonly 'event-subscription': "event-subscription";
|
|
49
|
+
readonly 'contribution-entry': "contribution-entry";
|
|
50
|
+
readonly concept: "concept";
|
|
51
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.16.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* LLM Registry API
|
|
6
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.XemaObjectKind = void 0;
|
|
11
|
+
exports.XemaObjectKind = {
|
|
12
|
+
biome: 'biome',
|
|
13
|
+
app: 'app',
|
|
14
|
+
'app-client': 'app-client',
|
|
15
|
+
'audience-policy': 'audience-policy',
|
|
16
|
+
'external-subject': 'external-subject',
|
|
17
|
+
'delegated-session': 'delegated-session',
|
|
18
|
+
'agent-kernel': 'agent-kernel',
|
|
19
|
+
agent: 'agent',
|
|
20
|
+
skill: 'skill',
|
|
21
|
+
tool: 'tool',
|
|
22
|
+
model: 'model',
|
|
23
|
+
'model-resolution-rule': 'model-resolution-rule',
|
|
24
|
+
workflow: 'workflow',
|
|
25
|
+
'workflow-run': 'workflow-run',
|
|
26
|
+
'gate-action': 'gate-action',
|
|
27
|
+
connector: 'connector',
|
|
28
|
+
'connector-binding': 'connector-binding',
|
|
29
|
+
'mount-source': 'mount-source',
|
|
30
|
+
'artifact-type': 'artifact-type',
|
|
31
|
+
artifact: 'artifact',
|
|
32
|
+
'knowledge-space': 'knowledge-space',
|
|
33
|
+
'knowledge-page': 'knowledge-page',
|
|
34
|
+
'document-template': 'document-template',
|
|
35
|
+
'document-theme': 'document-theme',
|
|
36
|
+
'chart-runtime': 'chart-runtime',
|
|
37
|
+
'presentation-runtime': 'presentation-runtime',
|
|
38
|
+
'widget-kind': 'widget-kind',
|
|
39
|
+
capability: 'capability',
|
|
40
|
+
'execution-environment': 'execution-environment',
|
|
41
|
+
'capability-grant': 'capability-grant',
|
|
42
|
+
'approval-rule': 'approval-rule',
|
|
43
|
+
memory: 'memory',
|
|
44
|
+
'memory-relation': 'memory-relation',
|
|
45
|
+
session: 'session',
|
|
46
|
+
'event-stream': 'event-stream',
|
|
47
|
+
'event-subscription': 'event-subscription',
|
|
48
|
+
'contribution-entry': 'contribution-entry',
|
|
49
|
+
concept: 'concept',
|
|
50
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* LLM Registry API
|
|
5
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { ObjectLifecycle } from './objectLifecycle.js';
|
|
9
|
+
import type { XemaObjectKind } from './xemaObjectKind.js';
|
|
10
|
+
import type { XemaObjectResponseDtoPayload } from './xemaObjectResponseDtoPayload.js';
|
|
11
|
+
import type { XemaSpaceRefDto } from './xemaSpaceRefDto.js';
|
|
12
|
+
import type { XemaSubjectRefDto } from './xemaSubjectRefDto.js';
|
|
13
|
+
export interface XemaObjectResponseDto {
|
|
14
|
+
/** Canonical XemaObjectRef. */
|
|
15
|
+
ref: string;
|
|
16
|
+
/** One of: agent | agent-composition | model | model-resolution-rule from this producer. */
|
|
17
|
+
kind: XemaObjectKind;
|
|
18
|
+
scope: XemaSpaceRefDto;
|
|
19
|
+
owner: XemaSubjectRefDto;
|
|
20
|
+
/** Object version (semver or "1"). */
|
|
21
|
+
version: string;
|
|
22
|
+
/** Always `published` — the projection only carries resolvable rows. */
|
|
23
|
+
lifecycle: ObjectLifecycle;
|
|
24
|
+
/** Kind-specific payload. Narrows to AgentPayloadDto | CompositionPayloadDto | ModelPayloadDto | ModelResolutionRulePayloadDto based on `kind`. */
|
|
25
|
+
payload: XemaObjectResponseDtoPayload;
|
|
26
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* LLM Registry API
|
|
5
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Kind-specific payload. Narrows to AgentPayloadDto | CompositionPayloadDto | ModelPayloadDto | ModelResolutionRulePayloadDto based on `kind`.
|
|
10
|
+
*/
|
|
11
|
+
export type XemaObjectResponseDtoPayload = {
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.16.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* LLM Registry API
|
|
6
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* LLM Registry API
|
|
5
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { SpaceKind } from './spaceKind.js';
|
|
9
|
+
export interface XemaSpaceRefDto {
|
|
10
|
+
/** Ownership tier (system | biome | org | project | user) */
|
|
11
|
+
tier: SpaceKind;
|
|
12
|
+
orgId?: string;
|
|
13
|
+
projectId?: string;
|
|
14
|
+
biomeId?: string;
|
|
15
|
+
userId?: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* LLM Registry API
|
|
5
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export interface XemaSubjectRefDto {
|
|
9
|
+
kind: string;
|
|
10
|
+
ref: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.16.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* LLM Registry API
|
|
6
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/package.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@xemahq/llm-registry-internal-api-client",
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"main": "./dist/index.js",
|
|
5
|
+
"types": "./dist/index.d.ts",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist"
|
|
8
|
+
],
|
|
9
|
+
"publishConfig": {
|
|
10
|
+
"registry": "https://registry.npmjs.org/",
|
|
11
|
+
"access": "public"
|
|
12
|
+
},
|
|
13
|
+
"devDependencies": {
|
|
14
|
+
"typescript": "5.9.3"
|
|
15
|
+
},
|
|
16
|
+
"xema": {
|
|
17
|
+
"kind": "api-client",
|
|
18
|
+
"surface": "internal",
|
|
19
|
+
"service": "llm-registry-api",
|
|
20
|
+
"biome": "agent-runtime",
|
|
21
|
+
"target": "server",
|
|
22
|
+
"generator": "@xemahq/api-client-generator@0.1.2",
|
|
23
|
+
"source": "openapi.internal.json"
|
|
24
|
+
},
|
|
25
|
+
"scripts": {
|
|
26
|
+
"build": "tsc -p tsconfig.json"
|
|
27
|
+
}
|
|
28
|
+
}
|