@xemahq/llm-registry-api-client 0.7.12 → 0.7.22
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/dist/endpoints/agent-runtime/agent-runtime.d.ts +6 -1
- package/dist/endpoints/agent-runtime/agent-runtime.js +34 -1
- package/dist/endpoints/agents/agents.d.ts +2 -2
- package/dist/endpoints/agents/agents.js +2 -2
- package/dist/models/agentBundleRenderDto.d.ts +5 -0
- package/dist/models/agentCapabilityApertureDto.d.ts +15 -0
- package/dist/models/agentCapabilityApertureDto.js +2 -0
- package/dist/models/agentCapabilityApertureDtoDefaultEffect.d.ts +14 -0
- package/dist/models/agentCapabilityApertureDtoDefaultEffect.js +13 -0
- package/dist/models/agentCapabilityApertureDtoDomains.d.ts +8 -0
- package/dist/models/agentCapabilityApertureDtoDomains.js +7 -0
- package/dist/models/agentCapabilityApertureDtoKind.d.ts +11 -0
- package/dist/models/agentCapabilityApertureDtoKind.js +13 -0
- package/dist/models/agentCapabilityLayerDto.d.ts +2 -2
- package/dist/models/agentKernelResponseDto.d.ts +1 -1
- package/dist/models/agentNodeDto.d.ts +1 -1
- package/dist/models/agentOwnerSpaceDto.d.ts +15 -0
- package/dist/models/agentOwnerSpaceDto.js +2 -0
- package/dist/models/agentOwnerSpaceDtoTier.d.ts +15 -0
- package/dist/models/agentOwnerSpaceDtoTier.js +17 -0
- package/dist/models/agentOwnerSpaceRefDto.d.ts +13 -0
- package/dist/models/agentOwnerSpaceRefDto.js +2 -0
- package/dist/models/agentOwnerSpaceRefDtoFence.d.ts +10 -0
- package/dist/models/agentOwnerSpaceRefDtoFence.js +12 -0
- package/dist/models/agentRollbackResponseDto.d.ts +5 -16
- package/dist/models/agentRollbackResponseDto.js +0 -5
- package/dist/models/agentRollbackResponseDtoStatus.d.ts +12 -0
- package/dist/models/agentRollbackResponseDtoStatus.js +14 -0
- package/dist/models/agentRuntimeControllerResolveExactRevisionAuthorityParams.d.ts +9 -0
- package/dist/models/agentRuntimeControllerResolveExactRevisionAuthorityParams.js +7 -0
- package/dist/models/exactAgentRevisionAuthorityResponseDto.d.ts +19 -0
- package/dist/models/exactAgentRevisionAuthorityResponseDto.js +2 -0
- package/dist/models/exactAgentRevisionAuthorityResponseDtoDataEnvelope.d.ts +9 -0
- package/dist/models/exactAgentRevisionAuthorityResponseDtoDataEnvelope.js +2 -0
- package/dist/models/exactAgentRevisionAuthorityResponseDtoReachTier.d.ts +12 -0
- package/dist/models/exactAgentRevisionAuthorityResponseDtoReachTier.js +14 -0
- package/dist/models/exactAgentRevisionResolvedGraphDto.d.ts +9 -0
- package/dist/models/exactAgentRevisionResolvedGraphDto.js +2 -0
- package/dist/models/index.d.ts +14 -0
- package/dist/models/index.js +14 -0
- package/dist/models/resolvedAgentResponseDto.d.ts +7 -0
- package/dist/models/rollbackAgentRevisionDto.d.ts +4 -2
- package/package.json +2 -2
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* LLM Registry API
|
|
4
4
|
* OpenAPI spec version: 0.1.3
|
|
5
5
|
*/
|
|
6
|
-
import type { AgentCapabilityAnalysisDtoDataEnvelope, AgentRuntimeControllerAnalyzeParams, AgentRuntimeControllerResolveDraftParams, AgentRuntimeControllerResolveParams, AgentRuntimeControllerResolveRevisionParams, ResolvedAgentResponseDtoDataEnvelope } from '../../models';
|
|
6
|
+
import type { AgentCapabilityAnalysisDtoDataEnvelope, AgentRuntimeControllerAnalyzeParams, AgentRuntimeControllerResolveDraftParams, AgentRuntimeControllerResolveExactRevisionAuthorityParams, AgentRuntimeControllerResolveParams, AgentRuntimeControllerResolveRevisionParams, ExactAgentRevisionAuthorityResponseDtoDataEnvelope, ResolvedAgentResponseDtoDataEnvelope } from '../../models';
|
|
7
7
|
export declare const getAgentRuntimeControllerResolveUrl: (ref: string, params?: AgentRuntimeControllerResolveParams) => string;
|
|
8
8
|
/**
|
|
9
9
|
* @summary Resolve a stable Agent ref into an exact immutable runtime revision.
|
|
@@ -14,6 +14,11 @@ export declare const getAgentRuntimeControllerResolveRevisionUrl: (revisionId: s
|
|
|
14
14
|
* @summary Resolve an exact immutable Agent revision.
|
|
15
15
|
*/
|
|
16
16
|
export declare const agentRuntimeControllerResolveRevision: (revisionId: string, params?: AgentRuntimeControllerResolveRevisionParams, options?: RequestInit) => Promise<ResolvedAgentResponseDtoDataEnvelope>;
|
|
17
|
+
export declare const getAgentRuntimeControllerResolveExactRevisionAuthorityUrl: (resourceId: string, revisionId: string, params: AgentRuntimeControllerResolveExactRevisionAuthorityParams) => string;
|
|
18
|
+
/**
|
|
19
|
+
* @summary Resolve canonical authority facts for one exact immutable Agent pin.
|
|
20
|
+
*/
|
|
21
|
+
export declare const agentRuntimeControllerResolveExactRevisionAuthority: (resourceId: string, revisionId: string, params: AgentRuntimeControllerResolveExactRevisionAuthorityParams, options?: RequestInit) => Promise<ExactAgentRevisionAuthorityResponseDtoDataEnvelope>;
|
|
17
22
|
export declare const getAgentRuntimeControllerResolveDraftUrl: (identityId: string, params?: AgentRuntimeControllerResolveDraftParams) => string;
|
|
18
23
|
/**
|
|
19
24
|
* @summary Resolve the current draft for the authoring sandbox.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.agentRuntimeControllerAnalyze = exports.getAgentRuntimeControllerAnalyzeUrl = exports.agentRuntimeControllerResolveDraft = exports.getAgentRuntimeControllerResolveDraftUrl = exports.agentRuntimeControllerResolveRevision = exports.getAgentRuntimeControllerResolveRevisionUrl = exports.agentRuntimeControllerResolve = exports.getAgentRuntimeControllerResolveUrl = void 0;
|
|
3
|
+
exports.agentRuntimeControllerAnalyze = exports.getAgentRuntimeControllerAnalyzeUrl = exports.agentRuntimeControllerResolveDraft = exports.getAgentRuntimeControllerResolveDraftUrl = exports.agentRuntimeControllerResolveExactRevisionAuthority = exports.getAgentRuntimeControllerResolveExactRevisionAuthorityUrl = exports.agentRuntimeControllerResolveRevision = exports.getAgentRuntimeControllerResolveRevisionUrl = exports.agentRuntimeControllerResolve = exports.getAgentRuntimeControllerResolveUrl = void 0;
|
|
4
4
|
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
5
|
const getAgentRuntimeControllerResolveUrl = (ref, params) => {
|
|
6
6
|
const normalizedParams = new URLSearchParams();
|
|
@@ -68,6 +68,39 @@ const agentRuntimeControllerResolveRevision = async (revisionId, params, options
|
|
|
68
68
|
});
|
|
69
69
|
};
|
|
70
70
|
exports.agentRuntimeControllerResolveRevision = agentRuntimeControllerResolveRevision;
|
|
71
|
+
const getAgentRuntimeControllerResolveExactRevisionAuthorityUrl = (resourceId, revisionId, params) => {
|
|
72
|
+
const normalizedParams = new URLSearchParams();
|
|
73
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
74
|
+
if (value === undefined)
|
|
75
|
+
return;
|
|
76
|
+
if (value === null) {
|
|
77
|
+
normalizedParams.append(key, 'null');
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
if (Array.isArray(value)) {
|
|
81
|
+
for (const item of value) {
|
|
82
|
+
if (item === undefined || item === null)
|
|
83
|
+
continue;
|
|
84
|
+
normalizedParams.append(key, item.toString());
|
|
85
|
+
}
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
normalizedParams.append(key, value.toString());
|
|
89
|
+
});
|
|
90
|
+
const stringifiedParams = normalizedParams.toString();
|
|
91
|
+
return stringifiedParams.length > 0 ? `/agents/${resourceId}/revisions/${revisionId}/authority?${stringifiedParams}` : `/agents/${resourceId}/revisions/${revisionId}/authority`;
|
|
92
|
+
};
|
|
93
|
+
exports.getAgentRuntimeControllerResolveExactRevisionAuthorityUrl = getAgentRuntimeControllerResolveExactRevisionAuthorityUrl;
|
|
94
|
+
/**
|
|
95
|
+
* @summary Resolve canonical authority facts for one exact immutable Agent pin.
|
|
96
|
+
*/
|
|
97
|
+
const agentRuntimeControllerResolveExactRevisionAuthority = async (resourceId, revisionId, params, options) => {
|
|
98
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getAgentRuntimeControllerResolveExactRevisionAuthorityUrl)(resourceId, revisionId, params), {
|
|
99
|
+
...options,
|
|
100
|
+
method: 'GET'
|
|
101
|
+
});
|
|
102
|
+
};
|
|
103
|
+
exports.agentRuntimeControllerResolveExactRevisionAuthority = agentRuntimeControllerResolveExactRevisionAuthority;
|
|
71
104
|
const getAgentRuntimeControllerResolveDraftUrl = (identityId, params) => {
|
|
72
105
|
const normalizedParams = new URLSearchParams();
|
|
73
106
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -16,7 +16,7 @@ export declare const getAgentAuthoringControllerListUrl: () => string;
|
|
|
16
16
|
export declare const agentAuthoringControllerList: (options?: RequestInit) => Promise<AgentAuthoringResponseDtoDataArrayEnvelope>;
|
|
17
17
|
export declare const getAgentAuthoringControllerGetUrl: (identityId: string) => string;
|
|
18
18
|
/**
|
|
19
|
-
* @summary Get a stable Agent identity and current draft/
|
|
19
|
+
* @summary Get a stable Agent identity and current draft/stable ReleaseChannels.
|
|
20
20
|
*/
|
|
21
21
|
export declare const agentAuthoringControllerGet: (identityId: string, options?: RequestInit) => Promise<AgentAuthoringResponseDtoDataEnvelope>;
|
|
22
22
|
export declare const getAgentAuthoringControllerDeleteDraftOnlyUrl: (identityId: string) => string;
|
|
@@ -46,7 +46,7 @@ export declare const getAgentAuthoringControllerRestoreUrl: (identityId: string,
|
|
|
46
46
|
export declare const agentAuthoringControllerRestore: (identityId: string, revisionId: string, restoreAgentRevisionDto: RestoreAgentRevisionDto, options?: RequestInit) => Promise<AgentAuthoringResponseDtoDataEnvelope>;
|
|
47
47
|
export declare const getAgentAuthoringControllerRollbackUrl: (identityId: string) => string;
|
|
48
48
|
/**
|
|
49
|
-
* @summary
|
|
49
|
+
* @summary Replay a prior immutable stable ReleaseSet under channel CAS.
|
|
50
50
|
*/
|
|
51
51
|
export declare const agentAuthoringControllerRollback: (identityId: string, rollbackAgentRevisionDto: RollbackAgentRevisionDto, options?: RequestInit) => Promise<AgentRollbackResponseDtoDataEnvelope>;
|
|
52
52
|
export declare const getAgentAuthoringControllerDraftsUrl: (identityId: string) => string;
|
|
@@ -37,7 +37,7 @@ const getAgentAuthoringControllerGetUrl = (identityId) => {
|
|
|
37
37
|
};
|
|
38
38
|
exports.getAgentAuthoringControllerGetUrl = getAgentAuthoringControllerGetUrl;
|
|
39
39
|
/**
|
|
40
|
-
* @summary Get a stable Agent identity and current draft/
|
|
40
|
+
* @summary Get a stable Agent identity and current draft/stable ReleaseChannels.
|
|
41
41
|
*/
|
|
42
42
|
const agentAuthoringControllerGet = async (identityId, options) => {
|
|
43
43
|
return (0, custom_fetch_1.customFetch)((0, exports.getAgentAuthoringControllerGetUrl)(identityId), {
|
|
@@ -127,7 +127,7 @@ const getAgentAuthoringControllerRollbackUrl = (identityId) => {
|
|
|
127
127
|
};
|
|
128
128
|
exports.getAgentAuthoringControllerRollbackUrl = getAgentAuthoringControllerRollbackUrl;
|
|
129
129
|
/**
|
|
130
|
-
* @summary
|
|
130
|
+
* @summary Replay a prior immutable stable ReleaseSet under channel CAS.
|
|
131
131
|
*/
|
|
132
132
|
const agentAuthoringControllerRollback = async (identityId, rollbackAgentRevisionDto, options) => {
|
|
133
133
|
return (0, custom_fetch_1.customFetch)((0, exports.getAgentAuthoringControllerRollbackUrl)(identityId), {
|
|
@@ -10,6 +10,11 @@ export interface AgentBundleRenderDto {
|
|
|
10
10
|
stageKey?: string;
|
|
11
11
|
/** Whether this agent is the root primary or a delegated subagent */
|
|
12
12
|
agentMode: AgentExecutionMode;
|
|
13
|
+
/**
|
|
14
|
+
* Exact folded definition hash selected by session authority. Rendering fails if the current scoped definition differs.
|
|
15
|
+
* @pattern ^[a-f0-9]{64}$
|
|
16
|
+
*/
|
|
17
|
+
expectedDefinitionContentHash?: string;
|
|
13
18
|
/** Per-composition-node instructions resolved from the AgentNode. Combined with the base agent prompt per `promptMode`. Absent → the base agent prompt renders verbatim. */
|
|
14
19
|
instructions?: string;
|
|
15
20
|
/** How `instructions` combine with the base agent `systemPrompt`. `append` appends after the base prompt; `replace` makes `instructions` the prompt body (config still inherited). Absent ⇒ append. */
|
|
@@ -0,0 +1,15 @@
|
|
|
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 { AgentCapabilityApertureDtoDefaultEffect } from './agentCapabilityApertureDtoDefaultEffect.js';
|
|
7
|
+
import type { AgentCapabilityApertureDtoDomains } from './agentCapabilityApertureDtoDomains.js';
|
|
8
|
+
import type { AgentCapabilityApertureDtoKind } from './agentCapabilityApertureDtoKind.js';
|
|
9
|
+
export interface AgentCapabilityApertureDto {
|
|
10
|
+
kind: AgentCapabilityApertureDtoKind;
|
|
11
|
+
refs?: string[];
|
|
12
|
+
domains?: AgentCapabilityApertureDtoDomains;
|
|
13
|
+
/** @nullable */
|
|
14
|
+
defaultEffect?: AgentCapabilityApertureDtoDefaultEffect;
|
|
15
|
+
}
|
|
@@ -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
|
+
* @nullable
|
|
8
|
+
*/
|
|
9
|
+
export type AgentCapabilityApertureDtoDefaultEffect = typeof AgentCapabilityApertureDtoDefaultEffect[keyof typeof AgentCapabilityApertureDtoDefaultEffect] | null;
|
|
10
|
+
export declare const AgentCapabilityApertureDtoDefaultEffect: {
|
|
11
|
+
readonly read: "read";
|
|
12
|
+
readonly write: "write";
|
|
13
|
+
readonly admin: "admin";
|
|
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.AgentCapabilityApertureDtoDefaultEffect = void 0;
|
|
9
|
+
exports.AgentCapabilityApertureDtoDefaultEffect = {
|
|
10
|
+
read: 'read',
|
|
11
|
+
write: 'write',
|
|
12
|
+
admin: 'admin',
|
|
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
|
+
export type AgentCapabilityApertureDtoKind = typeof AgentCapabilityApertureDtoKind[keyof typeof AgentCapabilityApertureDtoKind];
|
|
7
|
+
export declare const AgentCapabilityApertureDtoKind: {
|
|
8
|
+
readonly unrestricted: "unrestricted";
|
|
9
|
+
readonly armed: "armed";
|
|
10
|
+
readonly scoped: "scoped";
|
|
11
|
+
};
|
|
@@ -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.AgentCapabilityApertureDtoKind = void 0;
|
|
9
|
+
exports.AgentCapabilityApertureDtoKind = {
|
|
10
|
+
unrestricted: 'unrestricted',
|
|
11
|
+
armed: 'armed',
|
|
12
|
+
scoped: 'scoped',
|
|
13
|
+
};
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* LLM Registry API
|
|
4
4
|
* OpenAPI spec version: 0.1.3
|
|
5
5
|
*/
|
|
6
|
+
import type { AgentCapabilityApertureDto } from './agentCapabilityApertureDto.js';
|
|
6
7
|
import type { AgentCapabilityLayerDtoMayEditRepos } from './agentCapabilityLayerDtoMayEditRepos.js';
|
|
7
8
|
import type { AgentCapabilityLayerDtoWritePolicy } from './agentCapabilityLayerDtoWritePolicy.js';
|
|
8
9
|
export interface AgentCapabilityLayerDto {
|
|
@@ -10,6 +11,5 @@ export interface AgentCapabilityLayerDto {
|
|
|
10
11
|
mayEditRepos?: AgentCapabilityLayerDtoMayEditRepos;
|
|
11
12
|
mayWriteKnowledgeBase?: boolean;
|
|
12
13
|
allowedXemaTools?: string[];
|
|
13
|
-
|
|
14
|
-
armedCapabilityRefs?: string[];
|
|
14
|
+
aperture: AgentCapabilityApertureDto;
|
|
15
15
|
}
|
|
@@ -63,6 +63,6 @@ export interface AgentKernelResponseDto {
|
|
|
63
63
|
definitionHash?: AgentKernelResponseDtoDefinitionHash;
|
|
64
64
|
/** Authored workspace intent for launch compatibility checks. */
|
|
65
65
|
workspace?: AgentWorkspaceDto | null;
|
|
66
|
-
/** The agent's resolved capability envelope
|
|
66
|
+
/** The agent's resolved capability envelope and explicit aperture. Always present. */
|
|
67
67
|
capability: AgentCapabilityLayerDto;
|
|
68
68
|
}
|
|
@@ -25,7 +25,7 @@ export interface AgentNodeDto {
|
|
|
25
25
|
modelOverride?: AgentModelOverrideDto;
|
|
26
26
|
biomeAvailability?: AgentBiomeAvailabilityDto;
|
|
27
27
|
/**
|
|
28
|
-
* Server-stamped, resolve-only: SHA-256 of the
|
|
28
|
+
* Server-stamped, resolve-only: SHA-256 of the STABLE revision of the agent this node references. Rejected on write.
|
|
29
29
|
* @pattern ^[a-f0-9]{64}$
|
|
30
30
|
*/
|
|
31
31
|
agentContentHash?: string;
|
|
@@ -0,0 +1,15 @@
|
|
|
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 { AgentOwnerSpaceDtoTier } from './agentOwnerSpaceDtoTier.js';
|
|
7
|
+
export interface AgentOwnerSpaceDto {
|
|
8
|
+
tier: AgentOwnerSpaceDtoTier;
|
|
9
|
+
orgId?: string;
|
|
10
|
+
projectId?: string;
|
|
11
|
+
appId?: string;
|
|
12
|
+
sessionId?: string;
|
|
13
|
+
biomeId?: string;
|
|
14
|
+
userId?: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* LLM Registry API
|
|
4
|
+
* OpenAPI spec version: 0.1.3
|
|
5
|
+
*/
|
|
6
|
+
export type AgentOwnerSpaceDtoTier = typeof AgentOwnerSpaceDtoTier[keyof typeof AgentOwnerSpaceDtoTier];
|
|
7
|
+
export declare const AgentOwnerSpaceDtoTier: {
|
|
8
|
+
readonly system: "system";
|
|
9
|
+
readonly org: "org";
|
|
10
|
+
readonly project: "project";
|
|
11
|
+
readonly app: "app";
|
|
12
|
+
readonly session: "session";
|
|
13
|
+
readonly biome: "biome";
|
|
14
|
+
readonly user: "user";
|
|
15
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
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.AgentOwnerSpaceDtoTier = void 0;
|
|
9
|
+
exports.AgentOwnerSpaceDtoTier = {
|
|
10
|
+
system: 'system',
|
|
11
|
+
org: 'org',
|
|
12
|
+
project: 'project',
|
|
13
|
+
app: 'app',
|
|
14
|
+
session: 'session',
|
|
15
|
+
biome: 'biome',
|
|
16
|
+
user: 'user',
|
|
17
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* LLM Registry API
|
|
4
|
+
* OpenAPI spec version: 0.1.3
|
|
5
|
+
*/
|
|
6
|
+
import type { AgentOwnerSpaceDto } from './agentOwnerSpaceDto.js';
|
|
7
|
+
import type { AgentOwnerSpaceRefDtoFence } from './agentOwnerSpaceRefDtoFence.js';
|
|
8
|
+
export interface AgentOwnerSpaceRefDto {
|
|
9
|
+
fence: AgentOwnerSpaceRefDtoFence;
|
|
10
|
+
/** @nullable */
|
|
11
|
+
orgId: string | null;
|
|
12
|
+
space: AgentOwnerSpaceDto;
|
|
13
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* LLM Registry API
|
|
4
|
+
* OpenAPI spec version: 0.1.3
|
|
5
|
+
*/
|
|
6
|
+
export type AgentOwnerSpaceRefDtoFence = typeof AgentOwnerSpaceRefDtoFence[keyof typeof AgentOwnerSpaceRefDtoFence];
|
|
7
|
+
export declare const AgentOwnerSpaceRefDtoFence: {
|
|
8
|
+
readonly global: "global";
|
|
9
|
+
readonly tenant: "tenant";
|
|
10
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
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.AgentOwnerSpaceRefDtoFence = void 0;
|
|
9
|
+
exports.AgentOwnerSpaceRefDtoFence = {
|
|
10
|
+
global: 'global',
|
|
11
|
+
tenant: 'tenant',
|
|
12
|
+
};
|
|
@@ -3,23 +3,12 @@
|
|
|
3
3
|
* LLM Registry API
|
|
4
4
|
* OpenAPI spec version: 0.1.3
|
|
5
5
|
*/
|
|
6
|
+
import type { AgentRollbackResponseDtoStatus } from './agentRollbackResponseDtoStatus.js';
|
|
6
7
|
export interface AgentRollbackResponseDto {
|
|
7
8
|
identityId: string;
|
|
8
|
-
|
|
9
|
-
fromRevisionId: string;
|
|
10
|
-
/** The revision that is live now. */
|
|
11
|
-
toRevisionId: string;
|
|
9
|
+
priorReleaseSetId: string;
|
|
12
10
|
/** @minimum 1 */
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
* Prepared-launch generation the identity served before the flip, or null when it was not serving one.
|
|
17
|
-
* @nullable
|
|
18
|
-
*/
|
|
19
|
-
fromPreparationGenerationId: string | null;
|
|
20
|
-
/**
|
|
21
|
-
* Prepared-launch generation the identity serves now. Moves WITH the revision pointer — the two are covered by one composite foreign key.
|
|
22
|
-
* @nullable
|
|
23
|
-
*/
|
|
24
|
-
toPreparationGenerationId: string | null;
|
|
11
|
+
expectedChannelVersion: number;
|
|
12
|
+
releaseIntentId: string;
|
|
13
|
+
status: AgentRollbackResponseDtoStatus;
|
|
25
14
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* LLM Registry API
|
|
4
|
+
* OpenAPI spec version: 0.1.3
|
|
5
|
+
*/
|
|
6
|
+
export type AgentRollbackResponseDtoStatus = typeof AgentRollbackResponseDtoStatus[keyof typeof AgentRollbackResponseDtoStatus];
|
|
7
|
+
export declare const AgentRollbackResponseDtoStatus: {
|
|
8
|
+
readonly pending: "pending";
|
|
9
|
+
readonly reconciling: "reconciling";
|
|
10
|
+
readonly applied: "applied";
|
|
11
|
+
readonly failed: "failed";
|
|
12
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
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.AgentRollbackResponseDtoStatus = void 0;
|
|
9
|
+
exports.AgentRollbackResponseDtoStatus = {
|
|
10
|
+
pending: 'pending',
|
|
11
|
+
reconciling: 'reconciling',
|
|
12
|
+
applied: 'applied',
|
|
13
|
+
failed: 'failed',
|
|
14
|
+
};
|
|
@@ -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
|
+
import type { AgentCapabilityApertureDto } from './agentCapabilityApertureDto.js';
|
|
7
|
+
import type { AgentOwnerSpaceRefDto } from './agentOwnerSpaceRefDto.js';
|
|
8
|
+
import type { ExactAgentRevisionAuthorityResponseDtoReachTier } from './exactAgentRevisionAuthorityResponseDtoReachTier.js';
|
|
9
|
+
import type { ExactAgentRevisionResolvedGraphDto } from './exactAgentRevisionResolvedGraphDto.js';
|
|
10
|
+
export interface ExactAgentRevisionAuthorityResponseDto {
|
|
11
|
+
resourceId: string;
|
|
12
|
+
revisionId: string;
|
|
13
|
+
contentHash: string;
|
|
14
|
+
preparationGenerationId: string;
|
|
15
|
+
ownerSpaceRef: AgentOwnerSpaceRefDto;
|
|
16
|
+
resolvedGraph: ExactAgentRevisionResolvedGraphDto;
|
|
17
|
+
capabilityAperture: AgentCapabilityApertureDto;
|
|
18
|
+
reachTier: ExactAgentRevisionAuthorityResponseDtoReachTier;
|
|
19
|
+
}
|
|
@@ -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 { ExactAgentRevisionAuthorityResponseDto } from './exactAgentRevisionAuthorityResponseDto.js';
|
|
7
|
+
export interface ExactAgentRevisionAuthorityResponseDtoDataEnvelope {
|
|
8
|
+
data: ExactAgentRevisionAuthorityResponseDto;
|
|
9
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* LLM Registry API
|
|
4
|
+
* OpenAPI spec version: 0.1.3
|
|
5
|
+
*/
|
|
6
|
+
export type ExactAgentRevisionAuthorityResponseDtoReachTier = typeof ExactAgentRevisionAuthorityResponseDtoReachTier[keyof typeof ExactAgentRevisionAuthorityResponseDtoReachTier];
|
|
7
|
+
export declare const ExactAgentRevisionAuthorityResponseDtoReachTier: {
|
|
8
|
+
readonly sandbox: "sandbox";
|
|
9
|
+
readonly 'as-owner': "as-owner";
|
|
10
|
+
readonly connected: "connected";
|
|
11
|
+
readonly full: "full";
|
|
12
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
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.ExactAgentRevisionAuthorityResponseDtoReachTier = void 0;
|
|
9
|
+
exports.ExactAgentRevisionAuthorityResponseDtoReachTier = {
|
|
10
|
+
sandbox: 'sandbox',
|
|
11
|
+
'as-owner': 'as-owner',
|
|
12
|
+
connected: 'connected',
|
|
13
|
+
full: 'full',
|
|
14
|
+
};
|
|
@@ -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 { AgentNodeDto } from './agentNodeDto.js';
|
|
7
|
+
export interface ExactAgentRevisionResolvedGraphDto {
|
|
8
|
+
root: AgentNodeDto;
|
|
9
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -6,6 +6,10 @@ export * from './agentBiomeAvailabilityDto';
|
|
|
6
6
|
export * from './agentBundleRenderDto';
|
|
7
7
|
export * from './agentCapabilityAnalysisDto';
|
|
8
8
|
export * from './agentCapabilityAnalysisDtoDataEnvelope';
|
|
9
|
+
export * from './agentCapabilityApertureDto';
|
|
10
|
+
export * from './agentCapabilityApertureDtoDefaultEffect';
|
|
11
|
+
export * from './agentCapabilityApertureDtoDomains';
|
|
12
|
+
export * from './agentCapabilityApertureDtoKind';
|
|
9
13
|
export * from './agentCapabilityLayerDto';
|
|
10
14
|
export * from './agentCapabilityLayerDtoMayEditRepos';
|
|
11
15
|
export * from './agentCapabilityLayerDtoWritePolicy';
|
|
@@ -55,6 +59,10 @@ export * from './agentNodeDtoPermission';
|
|
|
55
59
|
export * from './agentNodeDtoPromptMode';
|
|
56
60
|
export * from './agentOutputSurfaceDto';
|
|
57
61
|
export * from './agentOutputSurfaceDtoMode';
|
|
62
|
+
export * from './agentOwnerSpaceDto';
|
|
63
|
+
export * from './agentOwnerSpaceDtoTier';
|
|
64
|
+
export * from './agentOwnerSpaceRefDto';
|
|
65
|
+
export * from './agentOwnerSpaceRefDtoFence';
|
|
58
66
|
export * from './agentPermissionsDto';
|
|
59
67
|
export * from './agentPermissionsToolsDto';
|
|
60
68
|
export * from './agentPersistenceDto';
|
|
@@ -72,10 +80,12 @@ export * from './agentRevisionHistoryEntryDtoDataArrayEnvelope';
|
|
|
72
80
|
export * from './agentRevisionHistoryEntryDtoSourceProvenance';
|
|
73
81
|
export * from './agentRollbackResponseDto';
|
|
74
82
|
export * from './agentRollbackResponseDtoDataEnvelope';
|
|
83
|
+
export * from './agentRollbackResponseDtoStatus';
|
|
75
84
|
export * from './agentRunConfigDto';
|
|
76
85
|
export * from './agentRunRole';
|
|
77
86
|
export * from './agentRuntimeControllerAnalyzeParams';
|
|
78
87
|
export * from './agentRuntimeControllerResolveDraftParams';
|
|
88
|
+
export * from './agentRuntimeControllerResolveExactRevisionAuthorityParams';
|
|
79
89
|
export * from './agentRuntimeControllerResolveParams';
|
|
80
90
|
export * from './agentRuntimeControllerResolveRevisionParams';
|
|
81
91
|
export * from './agentSessionLifecycle';
|
|
@@ -148,6 +158,10 @@ export * from './errorDetailsDto';
|
|
|
148
158
|
export * from './errorDetailsDtoDetails';
|
|
149
159
|
export * from './errorPayloadDto';
|
|
150
160
|
export * from './errorResponseDto';
|
|
161
|
+
export * from './exactAgentRevisionAuthorityResponseDto';
|
|
162
|
+
export * from './exactAgentRevisionAuthorityResponseDtoDataEnvelope';
|
|
163
|
+
export * from './exactAgentRevisionAuthorityResponseDtoReachTier';
|
|
164
|
+
export * from './exactAgentRevisionResolvedGraphDto';
|
|
151
165
|
export * from './inputArtifactEntryDto';
|
|
152
166
|
export * from './instructionSectionResponseDto';
|
|
153
167
|
export * from './instructionSectionResponseDtoDataArrayEnvelope';
|
package/dist/models/index.js
CHANGED
|
@@ -23,6 +23,10 @@ __exportStar(require("./agentBiomeAvailabilityDto"), exports);
|
|
|
23
23
|
__exportStar(require("./agentBundleRenderDto"), exports);
|
|
24
24
|
__exportStar(require("./agentCapabilityAnalysisDto"), exports);
|
|
25
25
|
__exportStar(require("./agentCapabilityAnalysisDtoDataEnvelope"), exports);
|
|
26
|
+
__exportStar(require("./agentCapabilityApertureDto"), exports);
|
|
27
|
+
__exportStar(require("./agentCapabilityApertureDtoDefaultEffect"), exports);
|
|
28
|
+
__exportStar(require("./agentCapabilityApertureDtoDomains"), exports);
|
|
29
|
+
__exportStar(require("./agentCapabilityApertureDtoKind"), exports);
|
|
26
30
|
__exportStar(require("./agentCapabilityLayerDto"), exports);
|
|
27
31
|
__exportStar(require("./agentCapabilityLayerDtoMayEditRepos"), exports);
|
|
28
32
|
__exportStar(require("./agentCapabilityLayerDtoWritePolicy"), exports);
|
|
@@ -72,6 +76,10 @@ __exportStar(require("./agentNodeDtoPermission"), exports);
|
|
|
72
76
|
__exportStar(require("./agentNodeDtoPromptMode"), exports);
|
|
73
77
|
__exportStar(require("./agentOutputSurfaceDto"), exports);
|
|
74
78
|
__exportStar(require("./agentOutputSurfaceDtoMode"), exports);
|
|
79
|
+
__exportStar(require("./agentOwnerSpaceDto"), exports);
|
|
80
|
+
__exportStar(require("./agentOwnerSpaceDtoTier"), exports);
|
|
81
|
+
__exportStar(require("./agentOwnerSpaceRefDto"), exports);
|
|
82
|
+
__exportStar(require("./agentOwnerSpaceRefDtoFence"), exports);
|
|
75
83
|
__exportStar(require("./agentPermissionsDto"), exports);
|
|
76
84
|
__exportStar(require("./agentPermissionsToolsDto"), exports);
|
|
77
85
|
__exportStar(require("./agentPersistenceDto"), exports);
|
|
@@ -89,10 +97,12 @@ __exportStar(require("./agentRevisionHistoryEntryDtoDataArrayEnvelope"), exports
|
|
|
89
97
|
__exportStar(require("./agentRevisionHistoryEntryDtoSourceProvenance"), exports);
|
|
90
98
|
__exportStar(require("./agentRollbackResponseDto"), exports);
|
|
91
99
|
__exportStar(require("./agentRollbackResponseDtoDataEnvelope"), exports);
|
|
100
|
+
__exportStar(require("./agentRollbackResponseDtoStatus"), exports);
|
|
92
101
|
__exportStar(require("./agentRunConfigDto"), exports);
|
|
93
102
|
__exportStar(require("./agentRunRole"), exports);
|
|
94
103
|
__exportStar(require("./agentRuntimeControllerAnalyzeParams"), exports);
|
|
95
104
|
__exportStar(require("./agentRuntimeControllerResolveDraftParams"), exports);
|
|
105
|
+
__exportStar(require("./agentRuntimeControllerResolveExactRevisionAuthorityParams"), exports);
|
|
96
106
|
__exportStar(require("./agentRuntimeControllerResolveParams"), exports);
|
|
97
107
|
__exportStar(require("./agentRuntimeControllerResolveRevisionParams"), exports);
|
|
98
108
|
__exportStar(require("./agentSessionLifecycle"), exports);
|
|
@@ -165,6 +175,10 @@ __exportStar(require("./errorDetailsDto"), exports);
|
|
|
165
175
|
__exportStar(require("./errorDetailsDtoDetails"), exports);
|
|
166
176
|
__exportStar(require("./errorPayloadDto"), exports);
|
|
167
177
|
__exportStar(require("./errorResponseDto"), exports);
|
|
178
|
+
__exportStar(require("./exactAgentRevisionAuthorityResponseDto"), exports);
|
|
179
|
+
__exportStar(require("./exactAgentRevisionAuthorityResponseDtoDataEnvelope"), exports);
|
|
180
|
+
__exportStar(require("./exactAgentRevisionAuthorityResponseDtoReachTier"), exports);
|
|
181
|
+
__exportStar(require("./exactAgentRevisionResolvedGraphDto"), exports);
|
|
168
182
|
__exportStar(require("./inputArtifactEntryDto"), exports);
|
|
169
183
|
__exportStar(require("./instructionSectionResponseDto"), exports);
|
|
170
184
|
__exportStar(require("./instructionSectionResponseDtoDataArrayEnvelope"), exports);
|
|
@@ -13,6 +13,8 @@ import type { ScopeSource } from './scopeSource.js';
|
|
|
13
13
|
import type { StandingSessionRefDto } from './standingSessionRefDto.js';
|
|
14
14
|
import type { WorkspaceSharingPolicy } from './workspaceSharingPolicy.js';
|
|
15
15
|
export interface ResolvedAgentResponseDto {
|
|
16
|
+
/** Stable Agent AuthoredResource identity selected by resolution. */
|
|
17
|
+
resourceId: string;
|
|
16
18
|
/**
|
|
17
19
|
* Immutable AgentRevision id selected at published resolution. Null only for mutable Studio drafts.
|
|
18
20
|
* @nullable
|
|
@@ -24,6 +26,11 @@ export interface ResolvedAgentResponseDto {
|
|
|
24
26
|
* @pattern ^[a-f0-9]{64}$
|
|
25
27
|
*/
|
|
26
28
|
agentContentHash?: string | null;
|
|
29
|
+
/** @nullable */
|
|
30
|
+
preparationGenerationId?: string | null;
|
|
31
|
+
/** @minimum 1 */
|
|
32
|
+
channelVersion?: number;
|
|
33
|
+
releaseSetId?: string;
|
|
27
34
|
slug: string;
|
|
28
35
|
/** Server-generated immutable revision number. */
|
|
29
36
|
version: string;
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
* OpenAPI spec version: 0.1.3
|
|
5
5
|
*/
|
|
6
6
|
export interface RollbackAgentRevisionDto {
|
|
7
|
-
/**
|
|
8
|
-
|
|
7
|
+
/** Owner-fenced immutable ReleaseSet whose stable state should be replayed. */
|
|
8
|
+
priorReleaseSetId: string;
|
|
9
|
+
/** @minimum 1 */
|
|
10
|
+
expectedChannelVersion: number;
|
|
9
11
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xemahq/llm-registry-api-client",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.22",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"service": "llm-registry-api",
|
|
20
20
|
"biome": "agent-runtime",
|
|
21
21
|
"target": "server",
|
|
22
|
-
"generator": "@xemahq/api-client-generator@0.
|
|
22
|
+
"generator": "@xemahq/api-client-generator@0.15.0",
|
|
23
23
|
"source": "openapi.public.json"
|
|
24
24
|
},
|
|
25
25
|
"license": "LicenseRef-Xema-BSL-1.1",
|