@xemahq/llm-registry-internal-api-client 0.6.0 → 0.7.1
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 +2 -1
- package/dist/endpoints/contribution-sync/contribution-sync.js +2 -4
- package/dist/endpoints/describe-objects/describe-objects.d.ts +1 -3
- package/dist/endpoints/describe-objects/describe-objects.js +1 -1
- package/dist/endpoints/internal-agent-invocation/internal-agent-invocation.d.ts +3 -5
- package/dist/endpoints/internal-agent-invocation/internal-agent-invocation.js +1 -1
- package/dist/endpoints/internal-managed-model-resolution-rules/internal-managed-model-resolution-rules.d.ts +1 -3
- package/dist/endpoints/internal-managed-model-resolution-rules/internal-managed-model-resolution-rules.js +4 -4
- package/dist/index.d.ts +1 -2
- package/dist/index.js +0 -1
- package/dist/models/agentInvokeRequestDto.d.ts +1 -3
- package/dist/models/agentInvokeRequestDtoInput.d.ts +1 -3
- package/dist/models/agentInvokeRequestDtoInput.js +1 -3
- package/dist/models/agentInvokeResponseDto.d.ts +28 -0
- package/dist/models/agentInvokeResponseDtoDataEnvelope.d.ts +9 -0
- package/dist/models/agentInvokeResponseDtoDataEnvelope.js +2 -0
- package/dist/models/agentInvokeResponseDtoMode.d.ts +14 -0
- package/dist/models/agentInvokeResponseDtoMode.js +13 -0
- package/dist/models/agentInvokeResponseDtoOutput.d.ts +11 -0
- package/dist/models/agentInvokeResponseDtoOutput.js +7 -0
- package/dist/models/agentInvokeResponseDtoStatus.d.ts +19 -0
- package/dist/models/agentInvokeResponseDtoStatus.js +18 -0
- package/dist/models/defaultTargetRefDto.d.ts +1 -3
- package/dist/models/defaultTargetRefDto.js +1 -3
- package/dist/models/describeObjectsResponseDto.d.ts +1 -3
- package/dist/models/describeObjectsResponseDtoDataEnvelope.d.ts +1 -3
- package/dist/models/errorDetailsDto.d.ts +1 -3
- package/dist/models/errorDetailsDtoDetails.d.ts +1 -3
- package/dist/models/errorDetailsDtoDetails.js +1 -3
- package/dist/models/errorPayloadDto.d.ts +1 -3
- package/dist/models/errorResponseDto.d.ts +1 -3
- package/dist/models/executionRequirementsDto.d.ts +2 -4
- package/dist/models/executionRequirementsDtoMode.d.ts +3 -5
- package/dist/models/executionRequirementsDtoMode.js +1 -3
- package/dist/models/executionRequirementsDtoPriority.d.ts +2 -4
- package/dist/models/executionRequirementsDtoPriority.js +1 -3
- package/dist/models/index.d.ts +7 -3
- package/dist/models/index.js +7 -3
- package/dist/models/invocationDecisionDto.d.ts +14 -0
- package/dist/models/invocationDecisionDto.js +2 -0
- package/dist/models/invocationDecisionDtoPayload.d.ts +11 -0
- package/dist/models/invocationDecisionDtoPayload.js +7 -0
- package/dist/models/invocationLimitsDto.d.ts +1 -3
- package/dist/models/invocationLimitsDto.js +1 -3
- package/dist/models/isolationLevel.d.ts +2 -4
- package/dist/models/isolationLevel.js +1 -3
- package/dist/models/modelResolutionRuleResponseDto.d.ts +28 -30
- package/dist/models/modelResolutionRuleResponseDtoDataEnvelope.d.ts +1 -3
- package/dist/models/modelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass.d.ts +2 -4
- package/dist/models/modelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass.js +1 -3
- package/dist/models/modelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind.d.ts +2 -4
- package/dist/models/modelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind.js +1 -3
- package/dist/models/modelResolutionRuleResponseDtoTargetKind.d.ts +2 -4
- package/dist/models/modelResolutionRuleResponseDtoTargetKind.js +1 -3
- package/dist/models/modelResolutionRuleResponseDtoTargetModelClass.d.ts +2 -4
- package/dist/models/modelResolutionRuleResponseDtoTargetModelClass.js +1 -3
- package/dist/models/modelResolutionSelectorDto.d.ts +1 -3
- package/dist/models/modelResolutionSelectorDtoExtra.d.ts +1 -3
- package/dist/models/modelResolutionSelectorDtoExtra.js +1 -3
- package/dist/models/modelResolutionSelectorDtoModelCapability.d.ts +2 -4
- package/dist/models/modelResolutionSelectorDtoModelCapability.js +1 -3
- package/dist/models/modelResolutionSelectorDtoModelClass.d.ts +2 -4
- package/dist/models/modelResolutionSelectorDtoModelClass.js +1 -3
- package/dist/models/modelResolutionSelectorResponseDto.d.ts +1 -3
- package/dist/models/modelResolutionSelectorResponseDtoExtra.d.ts +1 -3
- package/dist/models/modelResolutionSelectorResponseDtoExtra.js +1 -3
- package/dist/models/modelResolutionSelectorResponseDtoModelCapability.d.ts +2 -4
- package/dist/models/modelResolutionSelectorResponseDtoModelCapability.js +1 -3
- package/dist/models/modelResolutionSelectorResponseDtoModelClass.d.ts +2 -4
- package/dist/models/modelResolutionSelectorResponseDtoModelClass.js +1 -3
- package/dist/models/objectLifecycle.d.ts +2 -4
- package/dist/models/objectLifecycle.js +1 -3
- package/dist/models/repointDefaultTargetDto.d.ts +1 -3
- package/dist/models/spaceKind.d.ts +2 -4
- package/dist/models/spaceKind.js +1 -3
- package/dist/models/upsertManagedModelResolutionRuleDto.d.ts +1 -3
- package/dist/models/upsertManagedModelResolutionRuleDtoTargetKind.d.ts +2 -4
- package/dist/models/upsertManagedModelResolutionRuleDtoTargetKind.js +1 -3
- package/dist/models/upsertManagedModelResolutionRuleDtoTargetModelClass.d.ts +2 -4
- package/dist/models/upsertManagedModelResolutionRuleDtoTargetModelClass.js +1 -3
- package/dist/models/xemaObjectKind.d.ts +2 -4
- package/dist/models/xemaObjectKind.js +1 -3
- package/dist/models/xemaObjectResponseDto.d.ts +1 -3
- package/dist/models/xemaObjectResponseDtoPayload.d.ts +1 -3
- package/dist/models/xemaObjectResponseDtoPayload.js +1 -3
- package/dist/models/xemaSpaceRefDto.d.ts +1 -3
- package/dist/models/xemaSubjectRefDto.d.ts +1 -3
- package/dist/models/xemaSubjectRefDto.js +1 -3
- package/package.json +3 -3
- package/dist/endpoints/agent-launch-preparation/agent-launch-preparation.d.ts +0 -13
- package/dist/endpoints/agent-launch-preparation/agent-launch-preparation.js +0 -20
- package/dist/models/compiledLaunchPlanPinResponseDto.d.ts +0 -12
- package/dist/models/compiledLaunchPlanPinResponseDto.js +0 -9
- package/dist/models/compiledLaunchPlanPinResponseDtoDataEnvelope.d.ts +0 -11
- package/dist/models/pinCompiledLaunchPlanDto.d.ts +0 -11
- package/dist/models/pinCompiledLaunchPlanDto.js +0 -9
- /package/dist/models/{compiledLaunchPlanPinResponseDtoDataEnvelope.js → agentInvokeResponseDto.js} +0 -0
package/LICENSE
CHANGED
|
@@ -9,7 +9,7 @@ Parameters
|
|
|
9
9
|
|
|
10
10
|
Licensor: Neuralchowder Inc.
|
|
11
11
|
|
|
12
|
-
Licensed Work: Xema. The Licensed Work is (c) 2026 Neuralchowder Inc
|
|
12
|
+
Licensed Work: Xema. The Licensed Work is (c) 2026 Neuralchowder Inc.
|
|
13
13
|
|
|
14
14
|
The Licensed Work includes, without limitation, Xema Core, Xema Runtime,
|
|
15
15
|
Xema Kernel, Xema control plane, Xema application runtime, Xema biome
|
|
@@ -116,6 +116,7 @@ the interpretation of, the Additional Use Grant set out above.
|
|
|
116
116
|
and effect. The Licensor reserves all rights not expressly granted
|
|
117
117
|
by this License.
|
|
118
118
|
|
|
119
|
+
|
|
119
120
|
Change Date: Four years from the date the specific version of the Licensed
|
|
120
121
|
Work is first publicly released by Licensor.
|
|
121
122
|
|
|
@@ -2,10 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.contributionSyncControllerSync = exports.getContributionSyncControllerSyncUrl = void 0;
|
|
4
4
|
/**
|
|
5
|
-
* Generated by
|
|
6
|
-
* Do not edit manually.
|
|
5
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
7
6
|
* LLM Registry API
|
|
8
|
-
* Central registry for LLM providers, models, and per-project model configuration
|
|
9
7
|
* OpenAPI spec version: 0.1.3
|
|
10
8
|
*/
|
|
11
9
|
const custom_fetch_1 = require("../../custom-fetch");
|
|
@@ -16,7 +14,7 @@ exports.getContributionSyncControllerSyncUrl = getContributionSyncControllerSync
|
|
|
16
14
|
const contributionSyncControllerSync = async (options) => {
|
|
17
15
|
return (0, custom_fetch_1.customFetch)((0, exports.getContributionSyncControllerSyncUrl)(), {
|
|
18
16
|
...options,
|
|
19
|
-
method: 'PUT'
|
|
17
|
+
method: 'PUT'
|
|
20
18
|
});
|
|
21
19
|
};
|
|
22
20
|
exports.contributionSyncControllerSync = contributionSyncControllerSync;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by
|
|
3
|
-
* Do not edit manually.
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
4
3
|
* LLM Registry API
|
|
5
|
-
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
4
|
* OpenAPI spec version: 0.1.3
|
|
7
5
|
*/
|
|
8
6
|
import type { DescribeObjectsResponseDtoDataEnvelope } from '../../models';
|
|
@@ -13,7 +13,7 @@ exports.getDescribeObjectsControllerDescribeUrl = getDescribeObjectsControllerDe
|
|
|
13
13
|
const describeObjectsControllerDescribe = async (options) => {
|
|
14
14
|
return (0, custom_fetch_1.customFetch)((0, exports.getDescribeObjectsControllerDescribeUrl)(), {
|
|
15
15
|
...options,
|
|
16
|
-
method: 'GET'
|
|
16
|
+
method: 'GET'
|
|
17
17
|
});
|
|
18
18
|
};
|
|
19
19
|
exports.describeObjectsControllerDescribe = describeObjectsControllerDescribe;
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by
|
|
3
|
-
* Do not edit manually.
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
4
3
|
* LLM Registry API
|
|
5
|
-
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
4
|
* OpenAPI spec version: 0.1.3
|
|
7
5
|
*/
|
|
8
|
-
import type { AgentInvokeRequestDto } from '../../models';
|
|
6
|
+
import type { AgentInvokeRequestDto, AgentInvokeResponseDtoDataEnvelope } from '../../models';
|
|
9
7
|
export declare const getInvocationControllerInvokeUrl: () => string;
|
|
10
8
|
/**
|
|
11
9
|
* Validates the request, dedups on `(orgId, idempotencyKey)`, resolves the composition, dispatches one agent turn through agent-session-api, enforces the output schema when `outputSchemaRef` is set, writes a terminal Invocation record, and returns the root structured output as `output`.
|
|
12
10
|
* @summary Invoke a published composition synchronously and return its terminal result.
|
|
13
11
|
*/
|
|
14
|
-
export declare const invocationControllerInvoke: (agentInvokeRequestDto: AgentInvokeRequestDto, options?: RequestInit) => Promise<
|
|
12
|
+
export declare const invocationControllerInvoke: (agentInvokeRequestDto: AgentInvokeRequestDto, options?: RequestInit) => Promise<AgentInvokeResponseDtoDataEnvelope>;
|
|
@@ -15,7 +15,7 @@ const invocationControllerInvoke = async (agentInvokeRequestDto, options) => {
|
|
|
15
15
|
...options,
|
|
16
16
|
method: 'POST',
|
|
17
17
|
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
18
|
-
body: JSON.stringify(agentInvokeRequestDto)
|
|
18
|
+
body: JSON.stringify(agentInvokeRequestDto)
|
|
19
19
|
});
|
|
20
20
|
};
|
|
21
21
|
exports.invocationControllerInvoke = invocationControllerInvoke;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by
|
|
3
|
-
* Do not edit manually.
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
4
3
|
* LLM Registry API
|
|
5
|
-
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
4
|
* OpenAPI spec version: 0.1.3
|
|
7
5
|
*/
|
|
8
6
|
import type { ModelResolutionRuleResponseDtoDataEnvelope, RepointDefaultTargetDto, UpsertManagedModelResolutionRuleDto } from '../../models';
|
|
@@ -15,7 +15,7 @@ const managedModelResolutionRuleControllerUpsert = async (orgId, upsertManagedMo
|
|
|
15
15
|
...options,
|
|
16
16
|
method: 'PUT',
|
|
17
17
|
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
18
|
-
body: JSON.stringify(upsertManagedModelResolutionRuleDto)
|
|
18
|
+
body: JSON.stringify(upsertManagedModelResolutionRuleDto)
|
|
19
19
|
});
|
|
20
20
|
};
|
|
21
21
|
exports.managedModelResolutionRuleControllerUpsert = managedModelResolutionRuleControllerUpsert;
|
|
@@ -32,7 +32,7 @@ const managedModelResolutionRuleControllerRepointDefaultTarget = async (orgId, r
|
|
|
32
32
|
...options,
|
|
33
33
|
method: 'PUT',
|
|
34
34
|
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
35
|
-
body: JSON.stringify(repointDefaultTargetDto)
|
|
35
|
+
body: JSON.stringify(repointDefaultTargetDto)
|
|
36
36
|
});
|
|
37
37
|
};
|
|
38
38
|
exports.managedModelResolutionRuleControllerRepointDefaultTarget = managedModelResolutionRuleControllerRepointDefaultTarget;
|
|
@@ -47,7 +47,7 @@ exports.getManagedModelResolutionRuleControllerRevertDefaultTargetUrl = getManag
|
|
|
47
47
|
const managedModelResolutionRuleControllerRevertDefaultTarget = async (orgId, options) => {
|
|
48
48
|
return (0, custom_fetch_1.customFetch)((0, exports.getManagedModelResolutionRuleControllerRevertDefaultTargetUrl)(orgId), {
|
|
49
49
|
...options,
|
|
50
|
-
method: 'DELETE'
|
|
50
|
+
method: 'DELETE'
|
|
51
51
|
});
|
|
52
52
|
};
|
|
53
53
|
exports.managedModelResolutionRuleControllerRevertDefaultTarget = managedModelResolutionRuleControllerRevertDefaultTarget;
|
|
@@ -62,7 +62,7 @@ exports.getManagedModelResolutionRuleControllerRemoveUrl = getManagedModelResolu
|
|
|
62
62
|
const managedModelResolutionRuleControllerRemove = async (orgId, managedKey, options) => {
|
|
63
63
|
return (0, custom_fetch_1.customFetch)((0, exports.getManagedModelResolutionRuleControllerRemoveUrl)(orgId, managedKey), {
|
|
64
64
|
...options,
|
|
65
|
-
method: 'DELETE'
|
|
65
|
+
method: 'DELETE'
|
|
66
66
|
});
|
|
67
67
|
};
|
|
68
68
|
exports.managedModelResolutionRuleControllerRemove = managedModelResolutionRuleControllerRemove;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
export { configureClient, getClientConfig, ClientError, customFetch, type ClientConfig
|
|
1
|
+
export { configureClient, getClientConfig, ClientError, customFetch, type ClientConfig } from './custom-fetch';
|
|
2
2
|
export * from './models';
|
|
3
|
-
export * from './endpoints/agent-launch-preparation/agent-launch-preparation';
|
|
4
3
|
export * from './endpoints/contribution-sync/contribution-sync';
|
|
5
4
|
export * from './endpoints/describe-objects/describe-objects';
|
|
6
5
|
export * from './endpoints/internal-agent-invocation/internal-agent-invocation';
|
package/dist/index.js
CHANGED
|
@@ -22,7 +22,6 @@ Object.defineProperty(exports, "getClientConfig", { enumerable: true, get: funct
|
|
|
22
22
|
Object.defineProperty(exports, "ClientError", { enumerable: true, get: function () { return custom_fetch_1.ClientError; } });
|
|
23
23
|
Object.defineProperty(exports, "customFetch", { enumerable: true, get: function () { return custom_fetch_1.customFetch; } });
|
|
24
24
|
__exportStar(require("./models"), exports);
|
|
25
|
-
__exportStar(require("./endpoints/agent-launch-preparation/agent-launch-preparation"), exports);
|
|
26
25
|
__exportStar(require("./endpoints/contribution-sync/contribution-sync"), exports);
|
|
27
26
|
__exportStar(require("./endpoints/describe-objects/describe-objects"), exports);
|
|
28
27
|
__exportStar(require("./endpoints/internal-agent-invocation/internal-agent-invocation"), exports);
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by
|
|
3
|
-
* Do not edit manually.
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
4
3
|
* LLM Registry API
|
|
5
|
-
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
4
|
* OpenAPI spec version: 0.1.3
|
|
7
5
|
*/
|
|
8
6
|
import type { AgentInvokeRequestDtoInput } from './agentInvokeRequestDtoInput.js';
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by
|
|
3
|
-
* Do not edit manually.
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
4
3
|
* LLM Registry API
|
|
5
|
-
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
4
|
* OpenAPI spec version: 0.1.3
|
|
7
5
|
*/
|
|
8
6
|
/**
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Generated by
|
|
4
|
-
* Do not edit manually.
|
|
3
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
5
4
|
* LLM Registry API
|
|
6
|
-
* Central registry for LLM providers, models, and per-project model configuration
|
|
7
5
|
* OpenAPI spec version: 0.1.3
|
|
8
6
|
*/
|
|
9
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,28 @@
|
|
|
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 { AgentInvokeResponseDtoMode } from './agentInvokeResponseDtoMode.js';
|
|
7
|
+
import type { AgentInvokeResponseDtoOutput } from './agentInvokeResponseDtoOutput.js';
|
|
8
|
+
import type { AgentInvokeResponseDtoStatus } from './agentInvokeResponseDtoStatus.js';
|
|
9
|
+
import type { InvocationDecisionDto } from './invocationDecisionDto.js';
|
|
10
|
+
export interface AgentInvokeResponseDto {
|
|
11
|
+
/** Durable Invocation row id. */
|
|
12
|
+
invocationId: string;
|
|
13
|
+
/** Terminal (or in-flight) execution status. */
|
|
14
|
+
status: AgentInvokeResponseDtoStatus;
|
|
15
|
+
/** Mode the runtime executed in. */
|
|
16
|
+
mode: AgentInvokeResponseDtoMode;
|
|
17
|
+
/** Sync mode: the composition root structured output. */
|
|
18
|
+
output?: AgentInvokeResponseDtoOutput;
|
|
19
|
+
decisions?: InvocationDecisionDto[];
|
|
20
|
+
/** Cost of the invocation, in USD. */
|
|
21
|
+
costUsd?: number;
|
|
22
|
+
/** Wall-clock duration, in ms. */
|
|
23
|
+
durationMs?: number;
|
|
24
|
+
/** Resolved model ref the root agent ran on. */
|
|
25
|
+
modelRef?: string;
|
|
26
|
+
/** Gateway audit row id that authorized the invocation. */
|
|
27
|
+
auditId?: string;
|
|
28
|
+
}
|
|
@@ -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 { AgentInvokeResponseDto } from './agentInvokeResponseDto.js';
|
|
7
|
+
export interface AgentInvokeResponseDtoDataEnvelope {
|
|
8
|
+
data: AgentInvokeResponseDto;
|
|
9
|
+
}
|
|
@@ -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
|
+
* Mode the runtime executed in.
|
|
8
|
+
*/
|
|
9
|
+
export type AgentInvokeResponseDtoMode = typeof AgentInvokeResponseDtoMode[keyof typeof AgentInvokeResponseDtoMode];
|
|
10
|
+
export declare const AgentInvokeResponseDtoMode: {
|
|
11
|
+
readonly sync: "sync";
|
|
12
|
+
readonly async: "async";
|
|
13
|
+
readonly event: "event";
|
|
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.AgentInvokeResponseDtoMode = void 0;
|
|
9
|
+
exports.AgentInvokeResponseDtoMode = {
|
|
10
|
+
sync: 'sync',
|
|
11
|
+
async: 'async',
|
|
12
|
+
event: 'event',
|
|
13
|
+
};
|
|
@@ -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
|
+
* Sync mode: the composition root structured output.
|
|
8
|
+
*/
|
|
9
|
+
export type AgentInvokeResponseDtoOutput = {
|
|
10
|
+
[key: string]: unknown;
|
|
11
|
+
};
|
|
@@ -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
|
+
/**
|
|
7
|
+
* Terminal (or in-flight) execution status.
|
|
8
|
+
*/
|
|
9
|
+
export type AgentInvokeResponseDtoStatus = typeof AgentInvokeResponseDtoStatus[keyof typeof AgentInvokeResponseDtoStatus];
|
|
10
|
+
export declare const AgentInvokeResponseDtoStatus: {
|
|
11
|
+
readonly pending: "pending";
|
|
12
|
+
readonly queued: "queued";
|
|
13
|
+
readonly running: "running";
|
|
14
|
+
readonly succeeded: "succeeded";
|
|
15
|
+
readonly failed: "failed";
|
|
16
|
+
readonly denied: "denied";
|
|
17
|
+
readonly 'timed-out': "timed-out";
|
|
18
|
+
readonly cancelled: "cancelled";
|
|
19
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
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.AgentInvokeResponseDtoStatus = void 0;
|
|
9
|
+
exports.AgentInvokeResponseDtoStatus = {
|
|
10
|
+
pending: 'pending',
|
|
11
|
+
queued: 'queued',
|
|
12
|
+
running: 'running',
|
|
13
|
+
succeeded: 'succeeded',
|
|
14
|
+
failed: 'failed',
|
|
15
|
+
denied: 'denied',
|
|
16
|
+
'timed-out': 'timed-out',
|
|
17
|
+
cancelled: 'cancelled',
|
|
18
|
+
};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by
|
|
3
|
-
* Do not edit manually.
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
4
3
|
* LLM Registry API
|
|
5
|
-
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
4
|
* OpenAPI spec version: 0.1.3
|
|
7
5
|
*/
|
|
8
6
|
export interface DefaultTargetRefDto {
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Generated by
|
|
4
|
-
* Do not edit manually.
|
|
3
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
5
4
|
* LLM Registry API
|
|
6
|
-
* Central registry for LLM providers, models, and per-project model configuration
|
|
7
5
|
* OpenAPI spec version: 0.1.3
|
|
8
6
|
*/
|
|
9
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by
|
|
3
|
-
* Do not edit manually.
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
4
3
|
* LLM Registry API
|
|
5
|
-
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
4
|
* OpenAPI spec version: 0.1.3
|
|
7
5
|
*/
|
|
8
6
|
import type { XemaObjectResponseDto } from './xemaObjectResponseDto.js';
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by
|
|
3
|
-
* Do not edit manually.
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
4
3
|
* LLM Registry API
|
|
5
|
-
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
4
|
* OpenAPI spec version: 0.1.3
|
|
7
5
|
*/
|
|
8
6
|
import type { DescribeObjectsResponseDto } from './describeObjectsResponseDto.js';
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by
|
|
3
|
-
* Do not edit manually.
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
4
3
|
* LLM Registry API
|
|
5
|
-
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
4
|
* OpenAPI spec version: 0.1.3
|
|
7
5
|
*/
|
|
8
6
|
import type { ErrorDetailsDtoDetails } from './errorDetailsDtoDetails.js';
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by
|
|
3
|
-
* Do not edit manually.
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
4
3
|
* LLM Registry API
|
|
5
|
-
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
4
|
* OpenAPI spec version: 0.1.3
|
|
7
5
|
*/
|
|
8
6
|
/**
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Generated by
|
|
4
|
-
* Do not edit manually.
|
|
3
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
5
4
|
* LLM Registry API
|
|
6
|
-
* Central registry for LLM providers, models, and per-project model configuration
|
|
7
5
|
* OpenAPI spec version: 0.1.3
|
|
8
6
|
*/
|
|
9
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by
|
|
3
|
-
* Do not edit manually.
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
4
3
|
* LLM Registry API
|
|
5
|
-
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
4
|
* OpenAPI spec version: 0.1.3
|
|
7
5
|
*/
|
|
8
6
|
import type { ErrorDetailsDto } from './errorDetailsDto.js';
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by
|
|
3
|
-
* Do not edit manually.
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
4
3
|
* LLM Registry API
|
|
5
|
-
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
4
|
* OpenAPI spec version: 0.1.3
|
|
7
5
|
*/
|
|
8
6
|
import type { ErrorPayloadDto } from './errorPayloadDto.js';
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by
|
|
3
|
-
* Do not edit manually.
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
4
3
|
* LLM Registry API
|
|
5
|
-
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
4
|
* OpenAPI spec version: 0.1.3
|
|
7
5
|
*/
|
|
8
6
|
import type { ExecutionRequirementsDtoMode } from './executionRequirementsDtoMode.js';
|
|
@@ -10,7 +8,7 @@ import type { ExecutionRequirementsDtoPriority } from './executionRequirementsDt
|
|
|
10
8
|
import type { InvocationLimitsDto } from './invocationLimitsDto.js';
|
|
11
9
|
import type { IsolationLevel } from './isolationLevel.js';
|
|
12
10
|
export interface ExecutionRequirementsDto {
|
|
13
|
-
/** Requested
|
|
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. */
|
|
14
12
|
mode?: ExecutionRequirementsDtoMode;
|
|
15
13
|
/** Thread isolation level. `strict` = fresh, never-reused thread context per invocation. */
|
|
16
14
|
isolation: IsolationLevel;
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by
|
|
3
|
-
* Do not edit manually.
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
4
3
|
* LLM Registry API
|
|
5
|
-
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
4
|
* OpenAPI spec version: 0.1.3
|
|
7
5
|
*/
|
|
8
6
|
/**
|
|
9
|
-
* Requested
|
|
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.
|
|
10
8
|
*/
|
|
11
|
-
export type ExecutionRequirementsDtoMode =
|
|
9
|
+
export type ExecutionRequirementsDtoMode = typeof ExecutionRequirementsDtoMode[keyof typeof ExecutionRequirementsDtoMode];
|
|
12
10
|
export declare const ExecutionRequirementsDtoMode: {
|
|
13
11
|
readonly sync: "sync";
|
|
14
12
|
readonly async: "async";
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Generated by
|
|
4
|
-
* Do not edit manually.
|
|
3
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
5
4
|
* LLM Registry API
|
|
6
|
-
* Central registry for LLM providers, models, and per-project model configuration
|
|
7
5
|
* OpenAPI spec version: 0.1.3
|
|
8
6
|
*/
|
|
9
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by
|
|
3
|
-
* Do not edit manually.
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
4
3
|
* LLM Registry API
|
|
5
|
-
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
4
|
* OpenAPI spec version: 0.1.3
|
|
7
5
|
*/
|
|
8
6
|
/**
|
|
9
7
|
* Scheduling priority hint.
|
|
10
8
|
*/
|
|
11
|
-
export type ExecutionRequirementsDtoPriority =
|
|
9
|
+
export type ExecutionRequirementsDtoPriority = typeof ExecutionRequirementsDtoPriority[keyof typeof ExecutionRequirementsDtoPriority];
|
|
12
10
|
export declare const ExecutionRequirementsDtoPriority: {
|
|
13
11
|
readonly low: "low";
|
|
14
12
|
readonly normal: "normal";
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Generated by
|
|
4
|
-
* Do not edit manually.
|
|
3
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
5
4
|
* LLM Registry API
|
|
6
|
-
* Central registry for LLM providers, models, and per-project model configuration
|
|
7
5
|
* OpenAPI spec version: 0.1.3
|
|
8
6
|
*/
|
|
9
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
export * from './agentInvokeRequestDto';
|
|
2
2
|
export * from './agentInvokeRequestDtoInput';
|
|
3
|
-
export * from './
|
|
4
|
-
export * from './
|
|
3
|
+
export * from './agentInvokeResponseDto';
|
|
4
|
+
export * from './agentInvokeResponseDtoDataEnvelope';
|
|
5
|
+
export * from './agentInvokeResponseDtoMode';
|
|
6
|
+
export * from './agentInvokeResponseDtoOutput';
|
|
7
|
+
export * from './agentInvokeResponseDtoStatus';
|
|
5
8
|
export * from './defaultTargetRefDto';
|
|
6
9
|
export * from './describeObjectsResponseDto';
|
|
7
10
|
export * from './describeObjectsResponseDtoDataEnvelope';
|
|
@@ -12,6 +15,8 @@ export * from './errorResponseDto';
|
|
|
12
15
|
export * from './executionRequirementsDto';
|
|
13
16
|
export * from './executionRequirementsDtoMode';
|
|
14
17
|
export * from './executionRequirementsDtoPriority';
|
|
18
|
+
export * from './invocationDecisionDto';
|
|
19
|
+
export * from './invocationDecisionDtoPayload';
|
|
15
20
|
export * from './invocationLimitsDto';
|
|
16
21
|
export * from './isolationLevel';
|
|
17
22
|
export * from './modelResolutionRuleResponseDto';
|
|
@@ -29,7 +34,6 @@ export * from './modelResolutionSelectorResponseDtoExtra';
|
|
|
29
34
|
export * from './modelResolutionSelectorResponseDtoModelCapability';
|
|
30
35
|
export * from './modelResolutionSelectorResponseDtoModelClass';
|
|
31
36
|
export * from './objectLifecycle';
|
|
32
|
-
export * from './pinCompiledLaunchPlanDto';
|
|
33
37
|
export * from './repointDefaultTargetDto';
|
|
34
38
|
export * from './spaceKind';
|
|
35
39
|
export * from './upsertManagedModelResolutionRuleDto';
|
package/dist/models/index.js
CHANGED
|
@@ -17,8 +17,11 @@ 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("./
|
|
21
|
-
__exportStar(require("./
|
|
20
|
+
__exportStar(require("./agentInvokeResponseDto"), exports);
|
|
21
|
+
__exportStar(require("./agentInvokeResponseDtoDataEnvelope"), exports);
|
|
22
|
+
__exportStar(require("./agentInvokeResponseDtoMode"), exports);
|
|
23
|
+
__exportStar(require("./agentInvokeResponseDtoOutput"), exports);
|
|
24
|
+
__exportStar(require("./agentInvokeResponseDtoStatus"), exports);
|
|
22
25
|
__exportStar(require("./defaultTargetRefDto"), exports);
|
|
23
26
|
__exportStar(require("./describeObjectsResponseDto"), exports);
|
|
24
27
|
__exportStar(require("./describeObjectsResponseDtoDataEnvelope"), exports);
|
|
@@ -29,6 +32,8 @@ __exportStar(require("./errorResponseDto"), exports);
|
|
|
29
32
|
__exportStar(require("./executionRequirementsDto"), exports);
|
|
30
33
|
__exportStar(require("./executionRequirementsDtoMode"), exports);
|
|
31
34
|
__exportStar(require("./executionRequirementsDtoPriority"), exports);
|
|
35
|
+
__exportStar(require("./invocationDecisionDto"), exports);
|
|
36
|
+
__exportStar(require("./invocationDecisionDtoPayload"), exports);
|
|
32
37
|
__exportStar(require("./invocationLimitsDto"), exports);
|
|
33
38
|
__exportStar(require("./isolationLevel"), exports);
|
|
34
39
|
__exportStar(require("./modelResolutionRuleResponseDto"), exports);
|
|
@@ -46,7 +51,6 @@ __exportStar(require("./modelResolutionSelectorResponseDtoExtra"), exports);
|
|
|
46
51
|
__exportStar(require("./modelResolutionSelectorResponseDtoModelCapability"), exports);
|
|
47
52
|
__exportStar(require("./modelResolutionSelectorResponseDtoModelClass"), exports);
|
|
48
53
|
__exportStar(require("./objectLifecycle"), exports);
|
|
49
|
-
__exportStar(require("./pinCompiledLaunchPlanDto"), exports);
|
|
50
54
|
__exportStar(require("./repointDefaultTargetDto"), exports);
|
|
51
55
|
__exportStar(require("./spaceKind"), exports);
|
|
52
56
|
__exportStar(require("./upsertManagedModelResolutionRuleDto"), exports);
|
|
@@ -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
|
+
import type { InvocationDecisionDtoPayload } from './invocationDecisionDtoPayload.js';
|
|
7
|
+
export interface InvocationDecisionDto {
|
|
8
|
+
/** Decision kind, e.g. `classification`, `route`. */
|
|
9
|
+
kind: string;
|
|
10
|
+
/** Decision payload. */
|
|
11
|
+
payload: InvocationDecisionDtoPayload;
|
|
12
|
+
/** Confidence in [0,1] when the producer reports one. */
|
|
13
|
+
confidence?: number;
|
|
14
|
+
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by
|
|
3
|
-
* Do not edit manually.
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
4
3
|
* LLM Registry API
|
|
5
|
-
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
4
|
* OpenAPI spec version: 0.1.3
|
|
7
5
|
*/
|
|
8
6
|
export interface InvocationLimitsDto {
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Generated by
|
|
4
|
-
* Do not edit manually.
|
|
3
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
5
4
|
* LLM Registry API
|
|
6
|
-
* Central registry for LLM providers, models, and per-project model configuration
|
|
7
5
|
* OpenAPI spec version: 0.1.3
|
|
8
6
|
*/
|
|
9
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|