@xemahq/llm-registry-internal-api-client 0.6.0 → 0.7.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 +2 -1
- package/dist/endpoints/contribution-sync/contribution-sync.js +1 -1
- package/dist/endpoints/describe-objects/describe-objects.js +1 -1
- 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.js +4 -4
- package/dist/index.d.ts +1 -2
- package/dist/index.js +0 -1
- package/dist/models/executionRequirementsDto.d.ts +1 -1
- package/dist/models/executionRequirementsDtoMode.d.ts +2 -2
- package/dist/models/executionRequirementsDtoPriority.d.ts +1 -1
- package/dist/models/index.d.ts +0 -3
- package/dist/models/index.js +0 -3
- package/dist/models/isolationLevel.d.ts +1 -1
- package/dist/models/modelResolutionRuleResponseDto.d.ts +27 -27
- package/dist/models/modelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass.d.ts +1 -1
- package/dist/models/modelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind.d.ts +1 -1
- package/dist/models/modelResolutionRuleResponseDtoTargetKind.d.ts +1 -1
- package/dist/models/modelResolutionRuleResponseDtoTargetModelClass.d.ts +1 -1
- package/dist/models/modelResolutionSelectorDtoModelCapability.d.ts +1 -1
- package/dist/models/modelResolutionSelectorDtoModelClass.d.ts +1 -1
- package/dist/models/modelResolutionSelectorResponseDtoModelCapability.d.ts +1 -1
- package/dist/models/modelResolutionSelectorResponseDtoModelClass.d.ts +1 -1
- package/dist/models/objectLifecycle.d.ts +1 -1
- package/dist/models/spaceKind.d.ts +1 -1
- package/dist/models/upsertManagedModelResolutionRuleDtoTargetKind.d.ts +1 -1
- package/dist/models/upsertManagedModelResolutionRuleDtoTargetModelClass.d.ts +1 -1
- package/dist/models/xemaObjectKind.d.ts +1 -1
- package/package.json +2 -2
- 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/compiledLaunchPlanPinResponseDtoDataEnvelope.js +0 -2
- package/dist/models/pinCompiledLaunchPlanDto.d.ts +0 -11
- package/dist/models/pinCompiledLaunchPlanDto.js +0 -9
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
|
|
|
@@ -16,7 +16,7 @@ exports.getContributionSyncControllerSyncUrl = getContributionSyncControllerSync
|
|
|
16
16
|
const contributionSyncControllerSync = async (options) => {
|
|
17
17
|
return (0, custom_fetch_1.customFetch)((0, exports.getContributionSyncControllerSyncUrl)(), {
|
|
18
18
|
...options,
|
|
19
|
-
method: 'PUT'
|
|
19
|
+
method: 'PUT'
|
|
20
20
|
});
|
|
21
21
|
};
|
|
22
22
|
exports.contributionSyncControllerSync = contributionSyncControllerSync;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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);
|
|
@@ -10,7 +10,7 @@ import type { ExecutionRequirementsDtoPriority } from './executionRequirementsDt
|
|
|
10
10
|
import type { InvocationLimitsDto } from './invocationLimitsDto.js';
|
|
11
11
|
import type { IsolationLevel } from './isolationLevel.js';
|
|
12
12
|
export interface ExecutionRequirementsDto {
|
|
13
|
-
/** Requested
|
|
13
|
+
/** 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
14
|
mode?: ExecutionRequirementsDtoMode;
|
|
15
15
|
/** Thread isolation level. `strict` = fresh, never-reused thread context per invocation. */
|
|
16
16
|
isolation: IsolationLevel;
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
* OpenAPI spec version: 0.1.3
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
|
-
* Requested
|
|
9
|
+
* 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
10
|
*/
|
|
11
|
-
export type ExecutionRequirementsDtoMode =
|
|
11
|
+
export type ExecutionRequirementsDtoMode = typeof ExecutionRequirementsDtoMode[keyof typeof ExecutionRequirementsDtoMode];
|
|
12
12
|
export declare const ExecutionRequirementsDtoMode: {
|
|
13
13
|
readonly sync: "sync";
|
|
14
14
|
readonly async: "async";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/**
|
|
9
9
|
* Scheduling priority hint.
|
|
10
10
|
*/
|
|
11
|
-
export type ExecutionRequirementsDtoPriority =
|
|
11
|
+
export type ExecutionRequirementsDtoPriority = typeof ExecutionRequirementsDtoPriority[keyof typeof ExecutionRequirementsDtoPriority];
|
|
12
12
|
export declare const ExecutionRequirementsDtoPriority: {
|
|
13
13
|
readonly low: "low";
|
|
14
14
|
readonly normal: "normal";
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
export * from './agentInvokeRequestDto';
|
|
2
2
|
export * from './agentInvokeRequestDtoInput';
|
|
3
|
-
export * from './compiledLaunchPlanPinResponseDto';
|
|
4
|
-
export * from './compiledLaunchPlanPinResponseDtoDataEnvelope';
|
|
5
3
|
export * from './defaultTargetRefDto';
|
|
6
4
|
export * from './describeObjectsResponseDto';
|
|
7
5
|
export * from './describeObjectsResponseDtoDataEnvelope';
|
|
@@ -29,7 +27,6 @@ export * from './modelResolutionSelectorResponseDtoExtra';
|
|
|
29
27
|
export * from './modelResolutionSelectorResponseDtoModelCapability';
|
|
30
28
|
export * from './modelResolutionSelectorResponseDtoModelClass';
|
|
31
29
|
export * from './objectLifecycle';
|
|
32
|
-
export * from './pinCompiledLaunchPlanDto';
|
|
33
30
|
export * from './repointDefaultTargetDto';
|
|
34
31
|
export * from './spaceKind';
|
|
35
32
|
export * from './upsertManagedModelResolutionRuleDto';
|
package/dist/models/index.js
CHANGED
|
@@ -17,8 +17,6 @@ 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("./compiledLaunchPlanPinResponseDto"), exports);
|
|
21
|
-
__exportStar(require("./compiledLaunchPlanPinResponseDtoDataEnvelope"), exports);
|
|
22
20
|
__exportStar(require("./defaultTargetRefDto"), exports);
|
|
23
21
|
__exportStar(require("./describeObjectsResponseDto"), exports);
|
|
24
22
|
__exportStar(require("./describeObjectsResponseDtoDataEnvelope"), exports);
|
|
@@ -46,7 +44,6 @@ __exportStar(require("./modelResolutionSelectorResponseDtoExtra"), exports);
|
|
|
46
44
|
__exportStar(require("./modelResolutionSelectorResponseDtoModelCapability"), exports);
|
|
47
45
|
__exportStar(require("./modelResolutionSelectorResponseDtoModelClass"), exports);
|
|
48
46
|
__exportStar(require("./objectLifecycle"), exports);
|
|
49
|
-
__exportStar(require("./pinCompiledLaunchPlanDto"), exports);
|
|
50
47
|
__exportStar(require("./repointDefaultTargetDto"), exports);
|
|
51
48
|
__exportStar(require("./spaceKind"), exports);
|
|
52
49
|
__exportStar(require("./upsertManagedModelResolutionRuleDto"), exports);
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/**
|
|
9
9
|
* Thread isolation level. `strict` = fresh, never-reused thread context per invocation.
|
|
10
10
|
*/
|
|
11
|
-
export type IsolationLevel =
|
|
11
|
+
export type IsolationLevel = typeof IsolationLevel[keyof typeof IsolationLevel];
|
|
12
12
|
export declare const IsolationLevel: {
|
|
13
13
|
readonly strict: "strict";
|
|
14
14
|
readonly 'pooled-thread': "pooled-thread";
|
|
@@ -26,49 +26,49 @@ export interface ModelResolutionRuleResponseDto {
|
|
|
26
26
|
priority: number;
|
|
27
27
|
isDefault: boolean;
|
|
28
28
|
/**
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
* ResourceManagedBy ownership KIND (`ui`/`iac`/`seeder`/`runtime_registered`/`system`). NULL for a plain user/org-admin-authored rule.
|
|
30
|
+
* @nullable
|
|
31
|
+
*/
|
|
32
32
|
managedBy?: string | null;
|
|
33
33
|
/**
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
* Owning service identity for a service-actor-upserted rule (derived from the service subject). NULL for authored/reconciler rules.
|
|
35
|
+
* @nullable
|
|
36
|
+
*/
|
|
37
37
|
managedOwner?: string | null;
|
|
38
38
|
/**
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
* The owner's stable natural key. NULL for authored rules; non-null for managed/reconciler rows.
|
|
40
|
+
* @nullable
|
|
41
|
+
*/
|
|
42
42
|
managedKey?: string | null;
|
|
43
43
|
/**
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
* SEAM #2: the service that repointed THIS org-default rule's target (derived from its subject). Non-null ONLY on the default row while a default-target override is active; the flag that an override is in effect. NULL otherwise.
|
|
45
|
+
* @nullable
|
|
46
|
+
*/
|
|
47
47
|
defaultTargetOverrideOwner?: string | null;
|
|
48
48
|
/**
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
* SEAM #2: the target KIND the default rule had before the first override, restored on revert. NULL when no override is active.
|
|
50
|
+
* @nullable
|
|
51
|
+
*/
|
|
52
52
|
defaultTargetOverridePrevTargetKind?: ModelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind;
|
|
53
53
|
/**
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
* SEAM #2: the concrete model id the default rule had before the first override. NULL when no override is active or the prior default was not concrete.
|
|
55
|
+
* @nullable
|
|
56
|
+
*/
|
|
57
57
|
defaultTargetOverridePrevModelId?: string | null;
|
|
58
58
|
/**
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
59
|
+
* SEAM #2: the provider slug the default rule had before the first override. NULL when no override is active.
|
|
60
|
+
* @nullable
|
|
61
|
+
*/
|
|
62
62
|
defaultTargetOverridePrevProviderSlug?: string | null;
|
|
63
63
|
/**
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
64
|
+
* SEAM #2: the strategy class the default rule had before the first override. NULL when no override is active or the prior default was not a strategy ref.
|
|
65
|
+
* @nullable
|
|
66
|
+
*/
|
|
67
67
|
defaultTargetOverridePrevModelClass?: ModelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass;
|
|
68
68
|
/**
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
69
|
+
* SEAM #2: the temperature the default rule carried before the first override. NULL when no override is active or none was set.
|
|
70
|
+
* @nullable
|
|
71
|
+
*/
|
|
72
72
|
defaultTargetOverridePrevTemperature?: number | null;
|
|
73
73
|
createdBy: string;
|
|
74
74
|
createdAt: string;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* SEAM #2: the strategy class the default rule had before the first override. NULL when no override is active or the prior default was not a strategy ref.
|
|
10
10
|
* @nullable
|
|
11
11
|
*/
|
|
12
|
-
export type ModelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass =
|
|
12
|
+
export type ModelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass = typeof ModelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass[keyof typeof ModelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass] | null;
|
|
13
13
|
export declare const ModelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass: {
|
|
14
14
|
readonly coding: "coding";
|
|
15
15
|
readonly review: "review";
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* SEAM #2: the target KIND the default rule had before the first override, restored on revert. NULL when no override is active.
|
|
10
10
|
* @nullable
|
|
11
11
|
*/
|
|
12
|
-
export type ModelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind =
|
|
12
|
+
export type ModelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind = typeof ModelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind[keyof typeof ModelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind] | null;
|
|
13
13
|
export declare const ModelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind: {
|
|
14
14
|
readonly concrete: "concrete";
|
|
15
15
|
readonly strategy: "strategy";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
6
|
* OpenAPI spec version: 0.1.3
|
|
7
7
|
*/
|
|
8
|
-
export type ModelResolutionRuleResponseDtoTargetKind =
|
|
8
|
+
export type ModelResolutionRuleResponseDtoTargetKind = typeof ModelResolutionRuleResponseDtoTargetKind[keyof typeof ModelResolutionRuleResponseDtoTargetKind];
|
|
9
9
|
export declare const ModelResolutionRuleResponseDtoTargetKind: {
|
|
10
10
|
readonly concrete: "concrete";
|
|
11
11
|
readonly strategy: "strategy";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/**
|
|
9
9
|
* @nullable
|
|
10
10
|
*/
|
|
11
|
-
export type ModelResolutionRuleResponseDtoTargetModelClass =
|
|
11
|
+
export type ModelResolutionRuleResponseDtoTargetModelClass = typeof ModelResolutionRuleResponseDtoTargetModelClass[keyof typeof ModelResolutionRuleResponseDtoTargetModelClass] | null;
|
|
12
12
|
export declare const ModelResolutionRuleResponseDtoTargetModelClass: {
|
|
13
13
|
readonly coding: "coding";
|
|
14
14
|
readonly review: "review";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/**
|
|
9
9
|
* Match when the invocation REQUIRES this model capability/modality (the `modelCapability` dimension — one rule routes e.g. every vision-requiring invocation to a multimodal model without pinning a provider).
|
|
10
10
|
*/
|
|
11
|
-
export type ModelResolutionSelectorDtoModelCapability =
|
|
11
|
+
export type ModelResolutionSelectorDtoModelCapability = typeof ModelResolutionSelectorDtoModelCapability[keyof typeof ModelResolutionSelectorDtoModelCapability];
|
|
12
12
|
export declare const ModelResolutionSelectorDtoModelCapability: {
|
|
13
13
|
readonly vision: "vision";
|
|
14
14
|
readonly long_context: "long_context";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/**
|
|
9
9
|
* Match when the resolving agent's model class equals this value (the Phase-4 `modelClass` dimension — one rule routes e.g. every `review`-class agent).
|
|
10
10
|
*/
|
|
11
|
-
export type ModelResolutionSelectorDtoModelClass =
|
|
11
|
+
export type ModelResolutionSelectorDtoModelClass = typeof ModelResolutionSelectorDtoModelClass[keyof typeof ModelResolutionSelectorDtoModelClass];
|
|
12
12
|
export declare const ModelResolutionSelectorDtoModelClass: {
|
|
13
13
|
readonly coding: "coding";
|
|
14
14
|
readonly review: "review";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/**
|
|
9
9
|
* @nullable
|
|
10
10
|
*/
|
|
11
|
-
export type ModelResolutionSelectorResponseDtoModelCapability =
|
|
11
|
+
export type ModelResolutionSelectorResponseDtoModelCapability = typeof ModelResolutionSelectorResponseDtoModelCapability[keyof typeof ModelResolutionSelectorResponseDtoModelCapability] | null;
|
|
12
12
|
export declare const ModelResolutionSelectorResponseDtoModelCapability: {
|
|
13
13
|
readonly vision: "vision";
|
|
14
14
|
readonly long_context: "long_context";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/**
|
|
9
9
|
* @nullable
|
|
10
10
|
*/
|
|
11
|
-
export type ModelResolutionSelectorResponseDtoModelClass =
|
|
11
|
+
export type ModelResolutionSelectorResponseDtoModelClass = typeof ModelResolutionSelectorResponseDtoModelClass[keyof typeof ModelResolutionSelectorResponseDtoModelClass] | null;
|
|
12
12
|
export declare const ModelResolutionSelectorResponseDtoModelClass: {
|
|
13
13
|
readonly coding: "coding";
|
|
14
14
|
readonly review: "review";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/**
|
|
9
9
|
* Always `published` — the projection only carries resolvable rows.
|
|
10
10
|
*/
|
|
11
|
-
export type ObjectLifecycle =
|
|
11
|
+
export type ObjectLifecycle = typeof ObjectLifecycle[keyof typeof ObjectLifecycle];
|
|
12
12
|
export declare const ObjectLifecycle: {
|
|
13
13
|
readonly draft: "draft";
|
|
14
14
|
readonly published: "published";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/**
|
|
9
9
|
* Ownership tier (system | biome | org | project | user)
|
|
10
10
|
*/
|
|
11
|
-
export type SpaceKind =
|
|
11
|
+
export type SpaceKind = typeof SpaceKind[keyof typeof SpaceKind];
|
|
12
12
|
export declare const SpaceKind: {
|
|
13
13
|
readonly system: "system";
|
|
14
14
|
readonly org: "org";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/**
|
|
9
9
|
* Target kind: `concrete` pins (modelId, providerSlug); `strategy` routes through a ModelStrategy class.
|
|
10
10
|
*/
|
|
11
|
-
export type UpsertManagedModelResolutionRuleDtoTargetKind =
|
|
11
|
+
export type UpsertManagedModelResolutionRuleDtoTargetKind = typeof UpsertManagedModelResolutionRuleDtoTargetKind[keyof typeof UpsertManagedModelResolutionRuleDtoTargetKind];
|
|
12
12
|
export declare const UpsertManagedModelResolutionRuleDtoTargetKind: {
|
|
13
13
|
readonly concrete: "concrete";
|
|
14
14
|
readonly strategy: "strategy";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/**
|
|
9
9
|
* Strategy routing class. Required when targetKind=strategy.
|
|
10
10
|
*/
|
|
11
|
-
export type UpsertManagedModelResolutionRuleDtoTargetModelClass =
|
|
11
|
+
export type UpsertManagedModelResolutionRuleDtoTargetModelClass = typeof UpsertManagedModelResolutionRuleDtoTargetModelClass[keyof typeof UpsertManagedModelResolutionRuleDtoTargetModelClass];
|
|
12
12
|
export declare const UpsertManagedModelResolutionRuleDtoTargetModelClass: {
|
|
13
13
|
readonly coding: "coding";
|
|
14
14
|
readonly review: "review";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/**
|
|
9
9
|
* One of: agent | agent-composition | model | model-resolution-rule from this producer.
|
|
10
10
|
*/
|
|
11
|
-
export type XemaObjectKind =
|
|
11
|
+
export type XemaObjectKind = typeof XemaObjectKind[keyof typeof XemaObjectKind];
|
|
12
12
|
export declare const XemaObjectKind: {
|
|
13
13
|
readonly biome: "biome";
|
|
14
14
|
readonly app: "app";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xemahq/llm-registry-internal-api-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"bugs": "https://github.com/xema-dev/xema-community/issues",
|
|
29
29
|
"repository": {
|
|
30
30
|
"type": "git",
|
|
31
|
-
"url": "git+https://github.com/xema-dev/xema-
|
|
31
|
+
"url": "git+https://github.com/xema-dev/xema-base.git",
|
|
32
32
|
"directory": "packages/clients/llm-registry-internal-api"
|
|
33
33
|
},
|
|
34
34
|
"description": "Generated internal API client for the Xema llm-registry-api service.",
|
|
@@ -1,13 +0,0 @@
|
|
|
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.3
|
|
7
|
-
*/
|
|
8
|
-
import type { CompiledLaunchPlanPinResponseDtoDataEnvelope, PinCompiledLaunchPlanDto } from '../../models';
|
|
9
|
-
export declare const getInternalAgentLaunchPlanControllerPinUrl: (ref: string) => string;
|
|
10
|
-
/**
|
|
11
|
-
* @summary Write-once pin a verified compiled launch-plan hash and RuntimeTemplateKey hash onto an immutable published Agent revision.
|
|
12
|
-
*/
|
|
13
|
-
export declare const internalAgentLaunchPlanControllerPin: (ref: string, pinCompiledLaunchPlanDto: PinCompiledLaunchPlanDto, options?: RequestInit) => Promise<CompiledLaunchPlanPinResponseDtoDataEnvelope>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.internalAgentLaunchPlanControllerPin = exports.getInternalAgentLaunchPlanControllerPinUrl = void 0;
|
|
4
|
-
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
|
-
const getInternalAgentLaunchPlanControllerPinUrl = (ref) => {
|
|
6
|
-
return `/agents/${ref}/compiled-launch-plan`;
|
|
7
|
-
};
|
|
8
|
-
exports.getInternalAgentLaunchPlanControllerPinUrl = getInternalAgentLaunchPlanControllerPinUrl;
|
|
9
|
-
/**
|
|
10
|
-
* @summary Write-once pin a verified compiled launch-plan hash and RuntimeTemplateKey hash onto an immutable published Agent revision.
|
|
11
|
-
*/
|
|
12
|
-
const internalAgentLaunchPlanControllerPin = async (ref, pinCompiledLaunchPlanDto, options) => {
|
|
13
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getInternalAgentLaunchPlanControllerPinUrl)(ref), {
|
|
14
|
-
...options,
|
|
15
|
-
method: 'PUT',
|
|
16
|
-
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
17
|
-
body: JSON.stringify(pinCompiledLaunchPlanDto),
|
|
18
|
-
});
|
|
19
|
-
};
|
|
20
|
-
exports.internalAgentLaunchPlanControllerPin = internalAgentLaunchPlanControllerPin;
|
|
@@ -1,12 +0,0 @@
|
|
|
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.3
|
|
7
|
-
*/
|
|
8
|
-
export interface CompiledLaunchPlanPinResponseDto {
|
|
9
|
-
compiledLaunchPlanHash: string;
|
|
10
|
-
runtimeTemplateHash: string;
|
|
11
|
-
agentRef: string;
|
|
12
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
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.3
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,11 +0,0 @@
|
|
|
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.3
|
|
7
|
-
*/
|
|
8
|
-
import type { CompiledLaunchPlanPinResponseDto } from './compiledLaunchPlanPinResponseDto.js';
|
|
9
|
-
export interface CompiledLaunchPlanPinResponseDtoDataEnvelope {
|
|
10
|
-
data: CompiledLaunchPlanPinResponseDto;
|
|
11
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
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.3
|
|
7
|
-
*/
|
|
8
|
-
export interface PinCompiledLaunchPlanDto {
|
|
9
|
-
compiledLaunchPlanHash: string;
|
|
10
|
-
runtimeTemplateHash: string;
|
|
11
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
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.3
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|