@xemahq/llm-registry-internal-api-client 0.2.0 → 0.5.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 +0 -1
- package/dist/endpoints/contribution-sync/contribution-sync.d.ts +2 -0
- package/dist/endpoints/contribution-sync/contribution-sync.js +22 -0
- package/dist/endpoints/describe-objects/describe-objects.d.ts +3 -3
- package/dist/endpoints/internal-agent-invocation/internal-agent-invocation.d.ts +3 -3
- package/dist/endpoints/internal-agent-invocation/internal-agent-invocation.js +2 -2
- package/dist/endpoints/internal-managed-model-resolution-rules/internal-managed-model-resolution-rules.d.ts +32 -0
- package/dist/endpoints/internal-managed-model-resolution-rules/internal-managed-model-resolution-rules.js +68 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/models/{compositionInvokeRequestDto.d.ts → agentInvokeRequestDto.d.ts} +4 -4
- package/dist/models/{compositionInvokeRequestDtoInput.d.ts → agentInvokeRequestDtoInput.d.ts} +2 -2
- package/dist/models/{compositionInvokeRequestDtoInput.js → agentInvokeRequestDtoInput.js} +1 -1
- package/dist/models/defaultTargetRefDto.d.ts +13 -0
- package/dist/models/defaultTargetRefDto.js +9 -0
- package/dist/models/describeObjectsResponseDto.d.ts +1 -1
- package/dist/models/describeObjectsResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/describeObjectsResponseDtoDataEnvelope.js +2 -0
- package/dist/models/errorDetailsDto.d.ts +1 -1
- package/dist/models/errorDetailsDtoDetails.d.ts +1 -1
- package/dist/models/errorDetailsDtoDetails.js +1 -1
- package/dist/models/errorPayloadDto.d.ts +1 -1
- package/dist/models/errorResponseDto.d.ts +1 -1
- package/dist/models/executionRequirementsDto.d.ts +3 -3
- package/dist/models/executionRequirementsDtoMode.d.ts +1 -1
- package/dist/models/executionRequirementsDtoMode.js +1 -1
- package/dist/models/executionRequirementsDtoPriority.d.ts +1 -1
- package/dist/models/executionRequirementsDtoPriority.js +1 -1
- package/dist/models/index.d.ts +23 -3
- package/dist/models/index.js +23 -3
- package/dist/models/invocationLimitsDto.d.ts +1 -1
- package/dist/models/invocationLimitsDto.js +1 -1
- package/dist/models/{executionRequirementsDtoIsolation.d.ts → isolationLevel.d.ts} +3 -3
- package/dist/models/{executionRequirementsDtoIsolation.js → isolationLevel.js} +3 -3
- package/dist/models/modelResolutionRuleResponseDto.d.ts +76 -0
- package/dist/models/modelResolutionRuleResponseDto.js +2 -0
- package/dist/models/modelResolutionRuleResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/modelResolutionRuleResponseDtoDataEnvelope.js +2 -0
- package/dist/models/modelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass.d.ts +19 -0
- package/dist/models/modelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass.js +17 -0
- package/dist/models/modelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind.d.ts +16 -0
- package/dist/models/modelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind.js +14 -0
- package/dist/models/modelResolutionRuleResponseDtoTargetKind.d.ts +12 -0
- package/dist/models/modelResolutionRuleResponseDtoTargetKind.js +14 -0
- package/dist/models/modelResolutionRuleResponseDtoTargetModelClass.d.ts +18 -0
- package/dist/models/modelResolutionRuleResponseDtoTargetModelClass.js +17 -0
- package/dist/models/modelResolutionSelectorDto.d.ts +28 -0
- package/dist/models/modelResolutionSelectorDto.js +2 -0
- package/dist/models/modelResolutionSelectorDtoExtra.d.ts +13 -0
- package/dist/models/modelResolutionSelectorDtoExtra.js +9 -0
- package/dist/models/modelResolutionSelectorDtoModelCapability.d.ts +19 -0
- package/dist/models/modelResolutionSelectorDtoModelCapability.js +18 -0
- package/dist/models/modelResolutionSelectorDtoModelClass.d.ts +18 -0
- package/dist/models/modelResolutionSelectorDtoModelClass.js +17 -0
- package/dist/models/modelResolutionSelectorResponseDto.d.ts +28 -0
- package/dist/models/modelResolutionSelectorResponseDto.js +2 -0
- package/dist/models/modelResolutionSelectorResponseDtoExtra.d.ts +13 -0
- package/dist/models/modelResolutionSelectorResponseDtoExtra.js +9 -0
- package/dist/models/modelResolutionSelectorResponseDtoModelCapability.d.ts +19 -0
- package/dist/models/modelResolutionSelectorResponseDtoModelCapability.js +18 -0
- package/dist/models/modelResolutionSelectorResponseDtoModelClass.d.ts +18 -0
- package/dist/models/modelResolutionSelectorResponseDtoModelClass.js +17 -0
- package/dist/models/objectLifecycle.d.ts +1 -1
- package/dist/models/objectLifecycle.js +1 -1
- package/dist/models/repointDefaultTargetDto.d.ts +12 -0
- package/dist/models/repointDefaultTargetDto.js +2 -0
- package/dist/models/spaceKind.d.ts +1 -1
- package/dist/models/spaceKind.js +1 -1
- package/dist/models/upsertManagedModelResolutionRuleDto.d.ts +28 -0
- package/dist/models/upsertManagedModelResolutionRuleDto.js +2 -0
- package/dist/models/upsertManagedModelResolutionRuleDtoTargetKind.d.ts +15 -0
- package/dist/models/upsertManagedModelResolutionRuleDtoTargetKind.js +14 -0
- package/dist/models/upsertManagedModelResolutionRuleDtoTargetModelClass.d.ts +18 -0
- package/dist/models/upsertManagedModelResolutionRuleDtoTargetModelClass.js +17 -0
- package/dist/models/xemaObjectKind.d.ts +1 -2
- package/dist/models/xemaObjectKind.js +1 -2
- package/dist/models/xemaObjectResponseDto.d.ts +2 -2
- package/dist/models/xemaObjectResponseDtoPayload.d.ts +2 -2
- package/dist/models/xemaObjectResponseDtoPayload.js +1 -1
- package/dist/models/xemaSpaceRefDto.d.ts +1 -1
- package/dist/models/xemaSubjectRefDto.d.ts +1 -1
- package/dist/models/xemaSubjectRefDto.js +1 -1
- package/package.json +14 -4
- package/dist/endpoints/internal-composition-invocation/internal-composition-invocation.d.ts +0 -14
- package/dist/endpoints/internal-composition-invocation/internal-composition-invocation.js +0 -21
- /package/dist/models/{compositionInvokeRequestDto.js → agentInvokeRequestDto.js} +0 -0
package/LICENSE
CHANGED
|
@@ -116,7 +116,6 @@ 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
|
-
|
|
120
119
|
Change Date: Four years from the date the specific version of the Licensed
|
|
121
120
|
Work is first publicly released by Licensor.
|
|
122
121
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.contributionSyncControllerSync = exports.getContributionSyncControllerSyncUrl = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Generated by orval v8.16.0 🍺
|
|
6
|
+
* Do not edit manually.
|
|
7
|
+
* LLM Registry API
|
|
8
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
9
|
+
* OpenAPI spec version: 0.1.2
|
|
10
|
+
*/
|
|
11
|
+
const custom_fetch_1 = require("../../custom-fetch");
|
|
12
|
+
const getContributionSyncControllerSyncUrl = () => {
|
|
13
|
+
return `/contributions/sync`;
|
|
14
|
+
};
|
|
15
|
+
exports.getContributionSyncControllerSyncUrl = getContributionSyncControllerSyncUrl;
|
|
16
|
+
const contributionSyncControllerSync = async (options) => {
|
|
17
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getContributionSyncControllerSyncUrl)(), {
|
|
18
|
+
...options,
|
|
19
|
+
method: 'PUT'
|
|
20
|
+
});
|
|
21
|
+
};
|
|
22
|
+
exports.contributionSyncControllerSync = contributionSyncControllerSync;
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* LLM Registry API
|
|
5
5
|
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
-
* OpenAPI spec version: 0.1.
|
|
6
|
+
* OpenAPI spec version: 0.1.2
|
|
7
7
|
*/
|
|
8
|
-
import type {
|
|
8
|
+
import type { DescribeObjectsResponseDtoDataEnvelope } from '../../models';
|
|
9
9
|
export declare const getDescribeObjectsControllerDescribeUrl: () => string;
|
|
10
10
|
/**
|
|
11
11
|
* Wire shape mirrors the `xema.object-registry.projection.published.v1` CloudEvent `data` field. Consumers (object-registry-api) replace their cache slice for `source` atomically on each fetch.
|
|
12
12
|
* @summary Return this service's slice of the XemaObject universe (agents, compositions, models, rules).
|
|
13
13
|
*/
|
|
14
|
-
export declare const describeObjectsControllerDescribe: (options?: RequestInit) => Promise<
|
|
14
|
+
export declare const describeObjectsControllerDescribe: (options?: RequestInit) => Promise<DescribeObjectsResponseDtoDataEnvelope>;
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* LLM Registry API
|
|
5
5
|
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
-
* OpenAPI spec version: 0.1.
|
|
6
|
+
* OpenAPI spec version: 0.1.2
|
|
7
7
|
*/
|
|
8
|
-
import type {
|
|
8
|
+
import type { AgentInvokeRequestDto } from '../../models';
|
|
9
9
|
export declare const getInvocationControllerInvokeUrl: () => string;
|
|
10
10
|
/**
|
|
11
11
|
* 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
12
|
* @summary Invoke a published composition synchronously and return its terminal result.
|
|
13
13
|
*/
|
|
14
|
-
export declare const invocationControllerInvoke: (
|
|
14
|
+
export declare const invocationControllerInvoke: (agentInvokeRequestDto: AgentInvokeRequestDto, options?: RequestInit) => Promise<void>;
|
|
@@ -10,12 +10,12 @@ exports.getInvocationControllerInvokeUrl = getInvocationControllerInvokeUrl;
|
|
|
10
10
|
* 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`.
|
|
11
11
|
* @summary Invoke a published composition synchronously and return its terminal result.
|
|
12
12
|
*/
|
|
13
|
-
const invocationControllerInvoke = async (
|
|
13
|
+
const invocationControllerInvoke = async (agentInvokeRequestDto, options) => {
|
|
14
14
|
return (0, custom_fetch_1.customFetch)((0, exports.getInvocationControllerInvokeUrl)(), {
|
|
15
15
|
...options,
|
|
16
16
|
method: 'POST',
|
|
17
17
|
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
18
|
-
body: JSON.stringify(
|
|
18
|
+
body: JSON.stringify(agentInvokeRequestDto)
|
|
19
19
|
});
|
|
20
20
|
};
|
|
21
21
|
exports.invocationControllerInvoke = invocationControllerInvoke;
|
|
@@ -0,0 +1,32 @@
|
|
|
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.2
|
|
7
|
+
*/
|
|
8
|
+
import type { ModelResolutionRuleResponseDtoDataEnvelope, RepointDefaultTargetDto, UpsertManagedModelResolutionRuleDto } from '../../models';
|
|
9
|
+
export declare const getManagedModelResolutionRuleControllerUpsertUrl: (orgId: string) => string;
|
|
10
|
+
/**
|
|
11
|
+
* Upserts a rule keyed by (orgId, owner, managedKey). The owner is derived from the authenticated service subject. Re-PUT with the same managedKey updates the rule in place. A managed rule can never be the org default.
|
|
12
|
+
* @summary Idempotently upsert a service-owned Model Resolution Matrix rule
|
|
13
|
+
*/
|
|
14
|
+
export declare const managedModelResolutionRuleControllerUpsert: (orgId: string, upsertManagedModelResolutionRuleDto: UpsertManagedModelResolutionRuleDto, options?: RequestInit) => Promise<ModelResolutionRuleResponseDtoDataEnvelope>;
|
|
15
|
+
export declare const getManagedModelResolutionRuleControllerRepointDefaultTargetUrl: (orgId: string) => string;
|
|
16
|
+
/**
|
|
17
|
+
* Repoints the TARGET of the org's EXISTING single default rule (empty selector) to a concrete model. Does NOT create a second default, change the selector, or transfer ownership — the rule stays provisioning-owned. Captures the prior target on the first override (for revert) under the authenticated service subject; a second service is refused (403). Fail-fast 404 if the org has no default rule.
|
|
18
|
+
* @summary Repoint ONLY the org default rule's target (managed steer)
|
|
19
|
+
*/
|
|
20
|
+
export declare const managedModelResolutionRuleControllerRepointDefaultTarget: (orgId: string, repointDefaultTargetDto: RepointDefaultTargetDto, options?: RequestInit) => Promise<ModelResolutionRuleResponseDtoDataEnvelope>;
|
|
21
|
+
export declare const getManagedModelResolutionRuleControllerRevertDefaultTargetUrl: (orgId: string) => string;
|
|
22
|
+
/**
|
|
23
|
+
* Restores the target captured before the FIRST service override and clears all override state. Idempotent — an absent override is a no-op success. Only the service that set the override may clear it (403 otherwise). Fail-fast 404 if the org has no default rule.
|
|
24
|
+
* @summary Revert the org default rule's target to its pre-override value
|
|
25
|
+
*/
|
|
26
|
+
export declare const managedModelResolutionRuleControllerRevertDefaultTarget: (orgId: string, options?: RequestInit) => Promise<ModelResolutionRuleResponseDtoDataEnvelope>;
|
|
27
|
+
export declare const getManagedModelResolutionRuleControllerRemoveUrl: (orgId: string, managedKey: string) => string;
|
|
28
|
+
/**
|
|
29
|
+
* Deletes the caller's own rule identified by (orgId, owner, managedKey). Idempotent — removing a non-existent rule succeeds. Scoped to the authenticated service's ownership; a service can only delete its own rules.
|
|
30
|
+
* @summary Remove a service-owned Model Resolution Matrix rule
|
|
31
|
+
*/
|
|
32
|
+
export declare const managedModelResolutionRuleControllerRemove: (orgId: string, managedKey: string, options?: RequestInit) => Promise<unknown>;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.managedModelResolutionRuleControllerRemove = exports.getManagedModelResolutionRuleControllerRemoveUrl = exports.managedModelResolutionRuleControllerRevertDefaultTarget = exports.getManagedModelResolutionRuleControllerRevertDefaultTargetUrl = exports.managedModelResolutionRuleControllerRepointDefaultTarget = exports.getManagedModelResolutionRuleControllerRepointDefaultTargetUrl = exports.managedModelResolutionRuleControllerUpsert = exports.getManagedModelResolutionRuleControllerUpsertUrl = void 0;
|
|
4
|
+
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
|
+
const getManagedModelResolutionRuleControllerUpsertUrl = (orgId) => {
|
|
6
|
+
return `/internal/orgs/${orgId}/model-resolution-rules`;
|
|
7
|
+
};
|
|
8
|
+
exports.getManagedModelResolutionRuleControllerUpsertUrl = getManagedModelResolutionRuleControllerUpsertUrl;
|
|
9
|
+
/**
|
|
10
|
+
* Upserts a rule keyed by (orgId, owner, managedKey). The owner is derived from the authenticated service subject. Re-PUT with the same managedKey updates the rule in place. A managed rule can never be the org default.
|
|
11
|
+
* @summary Idempotently upsert a service-owned Model Resolution Matrix rule
|
|
12
|
+
*/
|
|
13
|
+
const managedModelResolutionRuleControllerUpsert = async (orgId, upsertManagedModelResolutionRuleDto, options) => {
|
|
14
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getManagedModelResolutionRuleControllerUpsertUrl)(orgId), {
|
|
15
|
+
...options,
|
|
16
|
+
method: 'PUT',
|
|
17
|
+
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
18
|
+
body: JSON.stringify(upsertManagedModelResolutionRuleDto)
|
|
19
|
+
});
|
|
20
|
+
};
|
|
21
|
+
exports.managedModelResolutionRuleControllerUpsert = managedModelResolutionRuleControllerUpsert;
|
|
22
|
+
const getManagedModelResolutionRuleControllerRepointDefaultTargetUrl = (orgId) => {
|
|
23
|
+
return `/internal/orgs/${orgId}/model-resolution-rules/default-target`;
|
|
24
|
+
};
|
|
25
|
+
exports.getManagedModelResolutionRuleControllerRepointDefaultTargetUrl = getManagedModelResolutionRuleControllerRepointDefaultTargetUrl;
|
|
26
|
+
/**
|
|
27
|
+
* Repoints the TARGET of the org's EXISTING single default rule (empty selector) to a concrete model. Does NOT create a second default, change the selector, or transfer ownership — the rule stays provisioning-owned. Captures the prior target on the first override (for revert) under the authenticated service subject; a second service is refused (403). Fail-fast 404 if the org has no default rule.
|
|
28
|
+
* @summary Repoint ONLY the org default rule's target (managed steer)
|
|
29
|
+
*/
|
|
30
|
+
const managedModelResolutionRuleControllerRepointDefaultTarget = async (orgId, repointDefaultTargetDto, options) => {
|
|
31
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getManagedModelResolutionRuleControllerRepointDefaultTargetUrl)(orgId), {
|
|
32
|
+
...options,
|
|
33
|
+
method: 'PUT',
|
|
34
|
+
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
35
|
+
body: JSON.stringify(repointDefaultTargetDto)
|
|
36
|
+
});
|
|
37
|
+
};
|
|
38
|
+
exports.managedModelResolutionRuleControllerRepointDefaultTarget = managedModelResolutionRuleControllerRepointDefaultTarget;
|
|
39
|
+
const getManagedModelResolutionRuleControllerRevertDefaultTargetUrl = (orgId) => {
|
|
40
|
+
return `/internal/orgs/${orgId}/model-resolution-rules/default-target`;
|
|
41
|
+
};
|
|
42
|
+
exports.getManagedModelResolutionRuleControllerRevertDefaultTargetUrl = getManagedModelResolutionRuleControllerRevertDefaultTargetUrl;
|
|
43
|
+
/**
|
|
44
|
+
* Restores the target captured before the FIRST service override and clears all override state. Idempotent — an absent override is a no-op success. Only the service that set the override may clear it (403 otherwise). Fail-fast 404 if the org has no default rule.
|
|
45
|
+
* @summary Revert the org default rule's target to its pre-override value
|
|
46
|
+
*/
|
|
47
|
+
const managedModelResolutionRuleControllerRevertDefaultTarget = async (orgId, options) => {
|
|
48
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getManagedModelResolutionRuleControllerRevertDefaultTargetUrl)(orgId), {
|
|
49
|
+
...options,
|
|
50
|
+
method: 'DELETE'
|
|
51
|
+
});
|
|
52
|
+
};
|
|
53
|
+
exports.managedModelResolutionRuleControllerRevertDefaultTarget = managedModelResolutionRuleControllerRevertDefaultTarget;
|
|
54
|
+
const getManagedModelResolutionRuleControllerRemoveUrl = (orgId, managedKey) => {
|
|
55
|
+
return `/internal/orgs/${orgId}/model-resolution-rules/${managedKey}`;
|
|
56
|
+
};
|
|
57
|
+
exports.getManagedModelResolutionRuleControllerRemoveUrl = getManagedModelResolutionRuleControllerRemoveUrl;
|
|
58
|
+
/**
|
|
59
|
+
* Deletes the caller's own rule identified by (orgId, owner, managedKey). Idempotent — removing a non-existent rule succeeds. Scoped to the authenticated service's ownership; a service can only delete its own rules.
|
|
60
|
+
* @summary Remove a service-owned Model Resolution Matrix rule
|
|
61
|
+
*/
|
|
62
|
+
const managedModelResolutionRuleControllerRemove = async (orgId, managedKey, options) => {
|
|
63
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getManagedModelResolutionRuleControllerRemoveUrl)(orgId, managedKey), {
|
|
64
|
+
...options,
|
|
65
|
+
method: 'DELETE'
|
|
66
|
+
});
|
|
67
|
+
};
|
|
68
|
+
exports.managedModelResolutionRuleControllerRemove = managedModelResolutionRuleControllerRemove;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export { configureClient, getClientConfig, ClientError, customFetch, type ClientConfig } from './custom-fetch';
|
|
2
2
|
export * from './models';
|
|
3
|
+
export * from './endpoints/contribution-sync/contribution-sync';
|
|
3
4
|
export * from './endpoints/describe-objects/describe-objects';
|
|
4
5
|
export * from './endpoints/internal-agent-invocation/internal-agent-invocation';
|
|
6
|
+
export * from './endpoints/internal-managed-model-resolution-rules/internal-managed-model-resolution-rules';
|
package/dist/index.js
CHANGED
|
@@ -22,5 +22,7 @@ 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/contribution-sync/contribution-sync"), exports);
|
|
25
26
|
__exportStar(require("./endpoints/describe-objects/describe-objects"), exports);
|
|
26
27
|
__exportStar(require("./endpoints/internal-agent-invocation/internal-agent-invocation"), exports);
|
|
28
|
+
__exportStar(require("./endpoints/internal-managed-model-resolution-rules/internal-managed-model-resolution-rules"), exports);
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* LLM Registry API
|
|
5
5
|
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
-
* OpenAPI spec version: 0.1.
|
|
6
|
+
* OpenAPI spec version: 0.1.2
|
|
7
7
|
*/
|
|
8
|
-
import type {
|
|
8
|
+
import type { AgentInvokeRequestDtoInput } from './agentInvokeRequestDtoInput.js';
|
|
9
9
|
import type { ExecutionRequirementsDto } from './executionRequirementsDto.js';
|
|
10
|
-
export interface
|
|
10
|
+
export interface AgentInvokeRequestDto {
|
|
11
11
|
/** Agent ref (`slug` or `slug@version`) to execute. */
|
|
12
12
|
agentRef: string;
|
|
13
13
|
/** Tenant scope: organization id. */
|
|
@@ -19,6 +19,6 @@ export interface CompositionInvokeRequestDto {
|
|
|
19
19
|
/** Correlation id propagated through execution and audit. */
|
|
20
20
|
correlationId?: string;
|
|
21
21
|
/** Input payload handed to the composition root as the turn content. */
|
|
22
|
-
input:
|
|
22
|
+
input: AgentInvokeRequestDtoInput;
|
|
23
23
|
requirements: ExecutionRequirementsDto;
|
|
24
24
|
}
|
package/dist/models/{compositionInvokeRequestDtoInput.d.ts → agentInvokeRequestDtoInput.d.ts}
RENAMED
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* LLM Registry API
|
|
5
5
|
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
-
* OpenAPI spec version: 0.1.
|
|
6
|
+
* OpenAPI spec version: 0.1.2
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
9
|
* Input payload handed to the composition root as the turn content.
|
|
10
10
|
*/
|
|
11
|
-
export type
|
|
11
|
+
export type AgentInvokeRequestDtoInput = {
|
|
12
12
|
[key: string]: unknown;
|
|
13
13
|
};
|
|
@@ -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.2
|
|
7
|
+
*/
|
|
8
|
+
export interface DefaultTargetRefDto {
|
|
9
|
+
/** Concrete model id the default rule should resolve to. */
|
|
10
|
+
modelId: string;
|
|
11
|
+
/** Provider slug disambiguating the concrete model. Optional partner to modelId. */
|
|
12
|
+
providerSlug?: string;
|
|
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.2
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* LLM Registry API
|
|
5
5
|
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
-
* OpenAPI spec version: 0.1.
|
|
6
|
+
* OpenAPI spec version: 0.1.2
|
|
7
7
|
*/
|
|
8
8
|
import type { XemaObjectResponseDto } from './xemaObjectResponseDto.js';
|
|
9
9
|
export interface DescribeObjectsResponseDto {
|
|
@@ -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.2
|
|
7
|
+
*/
|
|
8
|
+
import type { DescribeObjectsResponseDto } from './describeObjectsResponseDto.js';
|
|
9
|
+
export interface DescribeObjectsResponseDtoDataEnvelope {
|
|
10
|
+
data: DescribeObjectsResponseDto;
|
|
11
|
+
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* LLM Registry API
|
|
5
5
|
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
-
* OpenAPI spec version: 0.1.
|
|
6
|
+
* OpenAPI spec version: 0.1.2
|
|
7
7
|
*/
|
|
8
8
|
import type { ErrorDetailsDtoDetails } from './errorDetailsDtoDetails.js';
|
|
9
9
|
export interface ErrorDetailsDto {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* LLM Registry API
|
|
5
5
|
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
-
* OpenAPI spec version: 0.1.
|
|
6
|
+
* OpenAPI spec version: 0.1.2
|
|
7
7
|
*/
|
|
8
8
|
import type { ErrorDetailsDto } from './errorDetailsDto.js';
|
|
9
9
|
export interface ErrorPayloadDto {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* LLM Registry API
|
|
5
5
|
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
-
* OpenAPI spec version: 0.1.
|
|
6
|
+
* OpenAPI spec version: 0.1.2
|
|
7
7
|
*/
|
|
8
8
|
import type { ErrorPayloadDto } from './errorPayloadDto.js';
|
|
9
9
|
export interface ErrorResponseDto {
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* LLM Registry API
|
|
5
5
|
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
-
* OpenAPI spec version: 0.1.
|
|
6
|
+
* OpenAPI spec version: 0.1.2
|
|
7
7
|
*/
|
|
8
|
-
import type { ExecutionRequirementsDtoIsolation } from './executionRequirementsDtoIsolation.js';
|
|
9
8
|
import type { ExecutionRequirementsDtoMode } from './executionRequirementsDtoMode.js';
|
|
10
9
|
import type { ExecutionRequirementsDtoPriority } from './executionRequirementsDtoPriority.js';
|
|
11
10
|
import type { InvocationLimitsDto } from './invocationLimitsDto.js';
|
|
11
|
+
import type { IsolationLevel } from './isolationLevel.js';
|
|
12
12
|
export interface ExecutionRequirementsDto {
|
|
13
13
|
/** Requested execution mode. Hint — the platform may override by policy. Phase 1 supports `sync` only. */
|
|
14
14
|
mode?: ExecutionRequirementsDtoMode;
|
|
15
15
|
/** Thread isolation level. `strict` = fresh, never-reused thread context per invocation. */
|
|
16
|
-
isolation:
|
|
16
|
+
isolation: IsolationLevel;
|
|
17
17
|
/** Target latency in ms (mode-selection hint). */
|
|
18
18
|
latencyTargetMs?: number;
|
|
19
19
|
/** Scheduling priority hint. */
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* LLM Registry API
|
|
5
5
|
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
-
* OpenAPI spec version: 0.1.
|
|
6
|
+
* OpenAPI spec version: 0.1.2
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
9
|
* Requested execution mode. Hint — the platform may override by policy. Phase 1 supports `sync` only.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Do not edit manually.
|
|
5
5
|
* LLM Registry API
|
|
6
6
|
* Central registry for LLM providers, models, and per-project model configuration
|
|
7
|
-
* OpenAPI spec version: 0.1.
|
|
7
|
+
* OpenAPI spec version: 0.1.2
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.ExecutionRequirementsDtoMode = void 0;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Do not edit manually.
|
|
5
5
|
* LLM Registry API
|
|
6
6
|
* Central registry for LLM providers, models, and per-project model configuration
|
|
7
|
-
* OpenAPI spec version: 0.1.
|
|
7
|
+
* OpenAPI spec version: 0.1.2
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.ExecutionRequirementsDtoPriority = void 0;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,17 +1,37 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './
|
|
1
|
+
export * from './agentInvokeRequestDto';
|
|
2
|
+
export * from './agentInvokeRequestDtoInput';
|
|
3
|
+
export * from './defaultTargetRefDto';
|
|
3
4
|
export * from './describeObjectsResponseDto';
|
|
5
|
+
export * from './describeObjectsResponseDtoDataEnvelope';
|
|
4
6
|
export * from './errorDetailsDto';
|
|
5
7
|
export * from './errorDetailsDtoDetails';
|
|
6
8
|
export * from './errorPayloadDto';
|
|
7
9
|
export * from './errorResponseDto';
|
|
8
10
|
export * from './executionRequirementsDto';
|
|
9
|
-
export * from './executionRequirementsDtoIsolation';
|
|
10
11
|
export * from './executionRequirementsDtoMode';
|
|
11
12
|
export * from './executionRequirementsDtoPriority';
|
|
12
13
|
export * from './invocationLimitsDto';
|
|
14
|
+
export * from './isolationLevel';
|
|
15
|
+
export * from './modelResolutionRuleResponseDto';
|
|
16
|
+
export * from './modelResolutionRuleResponseDtoDataEnvelope';
|
|
17
|
+
export * from './modelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass';
|
|
18
|
+
export * from './modelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind';
|
|
19
|
+
export * from './modelResolutionRuleResponseDtoTargetKind';
|
|
20
|
+
export * from './modelResolutionRuleResponseDtoTargetModelClass';
|
|
21
|
+
export * from './modelResolutionSelectorDto';
|
|
22
|
+
export * from './modelResolutionSelectorDtoExtra';
|
|
23
|
+
export * from './modelResolutionSelectorDtoModelCapability';
|
|
24
|
+
export * from './modelResolutionSelectorDtoModelClass';
|
|
25
|
+
export * from './modelResolutionSelectorResponseDto';
|
|
26
|
+
export * from './modelResolutionSelectorResponseDtoExtra';
|
|
27
|
+
export * from './modelResolutionSelectorResponseDtoModelCapability';
|
|
28
|
+
export * from './modelResolutionSelectorResponseDtoModelClass';
|
|
13
29
|
export * from './objectLifecycle';
|
|
30
|
+
export * from './repointDefaultTargetDto';
|
|
14
31
|
export * from './spaceKind';
|
|
32
|
+
export * from './upsertManagedModelResolutionRuleDto';
|
|
33
|
+
export * from './upsertManagedModelResolutionRuleDtoTargetKind';
|
|
34
|
+
export * from './upsertManagedModelResolutionRuleDtoTargetModelClass';
|
|
15
35
|
export * from './xemaObjectKind';
|
|
16
36
|
export * from './xemaObjectResponseDto';
|
|
17
37
|
export * from './xemaObjectResponseDtoPayload';
|
package/dist/models/index.js
CHANGED
|
@@ -15,20 +15,40 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
// Auto-generated by tooling/codegen/regenerate-models-barrel.js — do not edit manually.
|
|
18
|
-
__exportStar(require("./
|
|
19
|
-
__exportStar(require("./
|
|
18
|
+
__exportStar(require("./agentInvokeRequestDto"), exports);
|
|
19
|
+
__exportStar(require("./agentInvokeRequestDtoInput"), exports);
|
|
20
|
+
__exportStar(require("./defaultTargetRefDto"), exports);
|
|
20
21
|
__exportStar(require("./describeObjectsResponseDto"), exports);
|
|
22
|
+
__exportStar(require("./describeObjectsResponseDtoDataEnvelope"), exports);
|
|
21
23
|
__exportStar(require("./errorDetailsDto"), exports);
|
|
22
24
|
__exportStar(require("./errorDetailsDtoDetails"), exports);
|
|
23
25
|
__exportStar(require("./errorPayloadDto"), exports);
|
|
24
26
|
__exportStar(require("./errorResponseDto"), exports);
|
|
25
27
|
__exportStar(require("./executionRequirementsDto"), exports);
|
|
26
|
-
__exportStar(require("./executionRequirementsDtoIsolation"), exports);
|
|
27
28
|
__exportStar(require("./executionRequirementsDtoMode"), exports);
|
|
28
29
|
__exportStar(require("./executionRequirementsDtoPriority"), exports);
|
|
29
30
|
__exportStar(require("./invocationLimitsDto"), exports);
|
|
31
|
+
__exportStar(require("./isolationLevel"), exports);
|
|
32
|
+
__exportStar(require("./modelResolutionRuleResponseDto"), exports);
|
|
33
|
+
__exportStar(require("./modelResolutionRuleResponseDtoDataEnvelope"), exports);
|
|
34
|
+
__exportStar(require("./modelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass"), exports);
|
|
35
|
+
__exportStar(require("./modelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind"), exports);
|
|
36
|
+
__exportStar(require("./modelResolutionRuleResponseDtoTargetKind"), exports);
|
|
37
|
+
__exportStar(require("./modelResolutionRuleResponseDtoTargetModelClass"), exports);
|
|
38
|
+
__exportStar(require("./modelResolutionSelectorDto"), exports);
|
|
39
|
+
__exportStar(require("./modelResolutionSelectorDtoExtra"), exports);
|
|
40
|
+
__exportStar(require("./modelResolutionSelectorDtoModelCapability"), exports);
|
|
41
|
+
__exportStar(require("./modelResolutionSelectorDtoModelClass"), exports);
|
|
42
|
+
__exportStar(require("./modelResolutionSelectorResponseDto"), exports);
|
|
43
|
+
__exportStar(require("./modelResolutionSelectorResponseDtoExtra"), exports);
|
|
44
|
+
__exportStar(require("./modelResolutionSelectorResponseDtoModelCapability"), exports);
|
|
45
|
+
__exportStar(require("./modelResolutionSelectorResponseDtoModelClass"), exports);
|
|
30
46
|
__exportStar(require("./objectLifecycle"), exports);
|
|
47
|
+
__exportStar(require("./repointDefaultTargetDto"), exports);
|
|
31
48
|
__exportStar(require("./spaceKind"), exports);
|
|
49
|
+
__exportStar(require("./upsertManagedModelResolutionRuleDto"), exports);
|
|
50
|
+
__exportStar(require("./upsertManagedModelResolutionRuleDtoTargetKind"), exports);
|
|
51
|
+
__exportStar(require("./upsertManagedModelResolutionRuleDtoTargetModelClass"), exports);
|
|
32
52
|
__exportStar(require("./xemaObjectKind"), exports);
|
|
33
53
|
__exportStar(require("./xemaObjectResponseDto"), exports);
|
|
34
54
|
__exportStar(require("./xemaObjectResponseDtoPayload"), exports);
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* LLM Registry API
|
|
5
5
|
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
-
* OpenAPI spec version: 0.1.
|
|
6
|
+
* OpenAPI spec version: 0.1.2
|
|
7
7
|
*/
|
|
8
8
|
export interface InvocationLimitsDto {
|
|
9
9
|
/** Hard wall-clock limit for the invocation, in ms. */
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* LLM Registry API
|
|
5
5
|
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
-
* OpenAPI spec version: 0.1.
|
|
6
|
+
* OpenAPI spec version: 0.1.2
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
9
|
* Thread isolation level. `strict` = fresh, never-reused thread context per invocation.
|
|
10
10
|
*/
|
|
11
|
-
export type
|
|
12
|
-
export declare const
|
|
11
|
+
export type IsolationLevel = typeof IsolationLevel[keyof typeof IsolationLevel];
|
|
12
|
+
export declare const IsolationLevel: {
|
|
13
13
|
readonly strict: "strict";
|
|
14
14
|
readonly 'pooled-thread': "pooled-thread";
|
|
15
15
|
};
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
* Do not edit manually.
|
|
5
5
|
* LLM Registry API
|
|
6
6
|
* Central registry for LLM providers, models, and per-project model configuration
|
|
7
|
-
* OpenAPI spec version: 0.1.
|
|
7
|
+
* OpenAPI spec version: 0.1.2
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
10
|
+
exports.IsolationLevel = void 0;
|
|
11
|
+
exports.IsolationLevel = {
|
|
12
12
|
strict: 'strict',
|
|
13
13
|
'pooled-thread': 'pooled-thread',
|
|
14
14
|
};
|