@xemahq/llm-registry-api-client 0.3.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +0 -1
- package/dist/endpoints/agent-agents/agent-agents.d.ts +6 -1
- package/dist/endpoints/agent-agents/agent-agents.js +34 -1
- package/dist/endpoints/{agent-definitions/agent-definitions.d.ts → agent-kernels/agent-kernels.d.ts} +5 -5
- package/dist/endpoints/{agent-definitions/agent-definitions.js → agent-kernels/agent-kernels.js} +14 -31
- package/dist/endpoints/catalog/catalog.d.ts +2 -2
- package/dist/endpoints/llm-registry/llm-registry.d.ts +16 -1
- package/dist/endpoints/llm-registry/llm-registry.js +45 -1
- package/dist/endpoints/tool-profiles/tool-profiles.d.ts +7 -7
- package/dist/endpoints/tool-profiles/tool-profiles.js +12 -69
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/agentBundleRenderDto.d.ts +19 -0
- package/dist/models/{agentKernelControllerResolveAgentBundleFileAgentMode.d.ts → agentBundleRenderDtoAgentMode.d.ts} +5 -2
- package/dist/models/{agentKernelControllerResolveAgentBundleFileAgentMode.js → agentBundleRenderDtoAgentMode.js} +2 -2
- package/dist/models/agentCapabilityAnalysisDto.d.ts +21 -0
- package/dist/models/{agentDefinitionResponseDtoDataEnvelope.d.ts → agentCapabilityAnalysisDtoDataEnvelope.d.ts} +3 -3
- package/dist/models/{compositionControllerResolveParams.d.ts → agentControllerCapabilityAnalysisParams.d.ts} +1 -1
- package/dist/models/agentNodeDto.d.ts +4 -4
- package/dist/models/agentNodeDtoPromptMode.d.ts +15 -0
- package/dist/models/{compositionToolRefDtoKind.js → agentNodeDtoPromptMode.js} +4 -4
- package/dist/models/agentReachTier.d.ts +17 -0
- package/dist/models/{compositionModelOverrideDtoKind.js → agentReachTier.js} +6 -4
- package/dist/models/agentResponseDto.d.ts +11 -0
- package/dist/models/agentSessionLifecycle.d.ts +15 -0
- package/dist/models/{compositionOutputSurfaceDtoMode.js → agentSessionLifecycle.js} +4 -4
- package/dist/models/{catalogProviderDtoDataEnvelope.d.ts → catalogProviderDtoDataArrayEnvelope.d.ts} +2 -2
- package/dist/models/createAgentDto.d.ts +11 -0
- package/dist/models/index.d.ts +21 -6
- package/dist/models/index.js +21 -6
- package/dist/models/modelMode.d.ts +15 -0
- package/dist/models/modelMode.js +14 -0
- package/dist/models/modelPricingTierDto.d.ts +19 -0
- package/dist/models/modelResolutionSelectorDto.d.ts +3 -0
- package/dist/models/{createAgentDefinitionDtoModelClass.d.ts → modelResolutionSelectorDtoModelClass.d.ts} +3 -3
- package/dist/models/{agentDefinitionResponseDtoModelClass.js → modelResolutionSelectorDtoModelClass.js} +2 -2
- package/dist/models/modelResolutionSelectorResponseDto.d.ts +3 -0
- package/dist/models/{agentDefinitionResponseDtoModelClass.d.ts → modelResolutionSelectorResponseDtoModelClass.d.ts} +5 -2
- package/dist/models/{compositionModelOverrideDtoModelClass.js → modelResolutionSelectorResponseDtoModelClass.js} +2 -2
- package/dist/models/modelResponseDto.d.ts +77 -0
- package/dist/models/{compositionPermissionsDto.d.ts → probeProviderDto.d.ts} +5 -3
- package/dist/models/{createSystemProviderDtoApiType.d.ts → probeProviderDtoApiType.d.ts} +3 -3
- package/dist/models/{createSystemProviderDtoApiType.js → probeProviderDtoApiType.js} +3 -3
- package/dist/models/probedModelDto.d.ts +15 -0
- package/dist/models/promptMergeMode.d.ts +15 -0
- package/dist/models/promptMergeMode.js +14 -0
- package/dist/models/providerProbeResponseDto.d.ts +12 -0
- package/dist/models/{compositionAgentRefDto.d.ts → providerProbeResponseDtoDataEnvelope.d.ts} +3 -4
- package/dist/models/resolvedAgentResponseDto.d.ts +13 -0
- package/dist/models/resolvedConfigSnapshotResponseDto.d.ts +0 -5
- package/dist/models/toolProfileResponseDto.d.ts +0 -2
- package/dist/models/{agentDefinitionResponseDtoDefinitionHash.d.ts → unresolvedToolDto.d.ts} +5 -3
- package/dist/models/updateAgentDto.d.ts +11 -0
- package/dist/models/workspaceSharingPolicy.d.ts +15 -0
- package/dist/models/workspaceSharingPolicy.js +14 -0
- package/package.json +14 -3
- package/dist/endpoints/admin-platform-providers/admin-platform-providers.d.ts +0 -38
- package/dist/endpoints/admin-platform-providers/admin-platform-providers.js +0 -94
- package/dist/endpoints/agent-compositions/agent-compositions.d.ts +0 -66
- package/dist/endpoints/agent-compositions/agent-compositions.js +0 -217
- package/dist/endpoints/describe-objects/describe-objects.d.ts +0 -14
- package/dist/endpoints/describe-objects/describe-objects.js +0 -19
- package/dist/endpoints/health/health.d.ts +0 -15
- package/dist/endpoints/health/health.js +0 -53
- package/dist/models/agentDefinitionControllerBrowseTalentPoolParams.d.ts +0 -25
- package/dist/models/agentDefinitionControllerListDefinitionsParams.d.ts +0 -15
- package/dist/models/agentDefinitionControllerListInteractiveCatalogParams.d.ts +0 -21
- package/dist/models/agentDefinitionControllerResolveAgentBlocksParams.d.ts +0 -13
- package/dist/models/agentDefinitionControllerResolveAgentBundleFileAgentMode.d.ts +0 -12
- package/dist/models/agentDefinitionControllerResolveAgentBundleFileAgentMode.js +0 -14
- package/dist/models/agentDefinitionControllerResolveAgentBundleFileParams.d.ts +0 -14
- package/dist/models/agentDefinitionResponseDto.d.ts +0 -58
- package/dist/models/agentDefinitionResponseDtoPaginatedEnvelope.d.ts +0 -13
- package/dist/models/agentKernelControllerResolveAgentBundleFileParams.d.ts +0 -14
- package/dist/models/compositionAgentRefDto.js +0 -9
- package/dist/models/compositionAgentRunConfigDto.d.ts +0 -15
- package/dist/models/compositionAgentRunConfigDto.js +0 -9
- package/dist/models/compositionBiomeAvailabilityDto.d.ts +0 -13
- package/dist/models/compositionBiomeAvailabilityDto.js +0 -9
- package/dist/models/compositionCapabilityLayerDto.d.ts +0 -15
- package/dist/models/compositionCapabilityLayerDto.js +0 -2
- package/dist/models/compositionCapabilityLayerDtoMayEditRepos.d.ts +0 -12
- package/dist/models/compositionCapabilityLayerDtoMayEditRepos.js +0 -14
- package/dist/models/compositionCapabilityLayerDtoWritePolicy.d.ts +0 -13
- package/dist/models/compositionCapabilityLayerDtoWritePolicy.js +0 -15
- package/dist/models/compositionControllerListParams.d.ts +0 -12
- package/dist/models/compositionControllerListParams.js +0 -9
- package/dist/models/compositionControllerResolveDraftCapableParams.d.ts +0 -10
- package/dist/models/compositionControllerResolveDraftCapableParams.js +0 -9
- package/dist/models/compositionControllerResolveParams.js +0 -9
- package/dist/models/compositionCredentialDto.d.ts +0 -16
- package/dist/models/compositionCredentialDto.js +0 -2
- package/dist/models/compositionEnvVarDto.d.ts +0 -12
- package/dist/models/compositionEnvVarDto.js +0 -9
- package/dist/models/compositionModelOverrideDto.d.ts +0 -20
- package/dist/models/compositionModelOverrideDto.js +0 -2
- package/dist/models/compositionModelOverrideDtoKind.d.ts +0 -12
- package/dist/models/compositionModelOverrideDtoModelClass.d.ts +0 -15
- package/dist/models/compositionMountLayoutDto.d.ts +0 -20
- package/dist/models/compositionMountLayoutDto.js +0 -2
- package/dist/models/compositionMountLayoutDtoInputs.d.ts +0 -13
- package/dist/models/compositionMountLayoutDtoInputs.js +0 -9
- package/dist/models/compositionMountLayoutDtoMounts.d.ts +0 -13
- package/dist/models/compositionMountLayoutDtoMounts.js +0 -9
- package/dist/models/compositionMountLayoutDtoSeedFilesItem.d.ts +0 -10
- package/dist/models/compositionMountLayoutDtoSeedFilesItem.js +0 -9
- package/dist/models/compositionNodeDto.d.ts +0 -31
- package/dist/models/compositionNodeDto.js +0 -2
- package/dist/models/compositionNodeDtoPermission.d.ts +0 -13
- package/dist/models/compositionNodeDtoPermission.js +0 -9
- package/dist/models/compositionOutputSurfaceDto.d.ts +0 -25
- package/dist/models/compositionOutputSurfaceDto.js +0 -2
- package/dist/models/compositionOutputSurfaceDtoMode.d.ts +0 -12
- package/dist/models/compositionPermissionsDto.js +0 -2
- package/dist/models/compositionPermissionsToolsDto.d.ts +0 -12
- package/dist/models/compositionPermissionsToolsDto.js +0 -2
- package/dist/models/compositionPersistenceDto.d.ts +0 -14
- package/dist/models/compositionPersistenceDto.js +0 -2
- package/dist/models/compositionPersistenceDtoOverrides.d.ts +0 -13
- package/dist/models/compositionPersistenceDtoOverrides.js +0 -9
- package/dist/models/compositionResponseDto.d.ts +0 -42
- package/dist/models/compositionResponseDto.js +0 -2
- package/dist/models/compositionResponseDtoDataEnvelope.d.ts +0 -11
- package/dist/models/compositionResponseDtoDataEnvelope.js +0 -2
- package/dist/models/compositionResponseDtoLifecycle.d.ts +0 -13
- package/dist/models/compositionResponseDtoLifecycle.js +0 -15
- package/dist/models/compositionResponseDtoPaginatedEnvelope.d.ts +0 -13
- package/dist/models/compositionResponseDtoPaginatedEnvelope.js +0 -2
- package/dist/models/compositionSkillRefDto.d.ts +0 -12
- package/dist/models/compositionSkillRefDto.js +0 -9
- package/dist/models/compositionToolRefDto.d.ts +0 -16
- package/dist/models/compositionToolRefDto.js +0 -2
- package/dist/models/compositionToolRefDtoKind.d.ts +0 -12
- package/dist/models/compositionWorkingFileDto.d.ts +0 -18
- package/dist/models/compositionWorkingFileDto.js +0 -2
- package/dist/models/compositionWorkingFileDtoFormat.d.ts +0 -15
- package/dist/models/compositionWorkingFileDtoFormat.js +0 -17
- package/dist/models/compositionWorkingFileDtoSourceRef.d.ts +0 -10
- package/dist/models/compositionWorkingFileDtoSourceRef.js +0 -9
- package/dist/models/compositionWorkingFileDtoSyncDirection.d.ts +0 -13
- package/dist/models/compositionWorkingFileDtoSyncDirection.js +0 -15
- package/dist/models/compositionWorkspaceDto.d.ts +0 -26
- package/dist/models/compositionWorkspaceDto.js +0 -2
- package/dist/models/createAgentDefinitionDto.d.ts +0 -35
- package/dist/models/createAgentDefinitionDto.js +0 -2
- package/dist/models/createAgentDefinitionDtoModelClass.js +0 -17
- package/dist/models/createCompositionDto.d.ts +0 -27
- package/dist/models/createCompositionDto.js +0 -2
- package/dist/models/createSystemProviderDto.d.ts +0 -27
- package/dist/models/createSystemProviderDto.js +0 -2
- package/dist/models/createSystemProviderDtoAuthType.d.ts +0 -12
- package/dist/models/createSystemProviderDtoAuthType.js +0 -14
- package/dist/models/describeObjectsResponseDto.d.ts +0 -14
- package/dist/models/describeObjectsResponseDto.js +0 -2
- package/dist/models/objectLifecycle.d.ts +0 -16
- package/dist/models/objectLifecycle.js +0 -15
- package/dist/models/publishCompositionDto.d.ts +0 -19
- package/dist/models/publishCompositionDto.js +0 -2
- package/dist/models/resolvedAgentResponseDtoModelClass.d.ts +0 -15
- package/dist/models/resolvedAgentResponseDtoModelClass.js +0 -17
- package/dist/models/resolvedCompositionResponseDto.d.ts +0 -23
- package/dist/models/resolvedCompositionResponseDto.js +0 -2
- package/dist/models/resolvedCompositionResponseDtoDataEnvelope.d.ts +0 -11
- package/dist/models/resolvedCompositionResponseDtoDataEnvelope.js +0 -2
- package/dist/models/rotateKeyDto.d.ts +0 -10
- package/dist/models/rotateKeyDto.js +0 -9
- package/dist/models/spaceKind.d.ts +0 -20
- package/dist/models/spaceKind.js +0 -19
- package/dist/models/toolProfileControllerDeleteProfileParams.d.ts +0 -13
- package/dist/models/toolProfileControllerDeleteProfileParams.js +0 -9
- package/dist/models/toolProfileControllerResolveProfilesParams.d.ts +0 -13
- package/dist/models/toolProfileControllerResolveProfilesParams.js +0 -9
- package/dist/models/toolProfileControllerUpsertProfileParams.d.ts +0 -13
- package/dist/models/toolProfileControllerUpsertProfileParams.js +0 -9
- package/dist/models/updateAgentDefinitionDto.d.ts +0 -20
- package/dist/models/updateAgentDefinitionDto.js +0 -2
- package/dist/models/updateAgentDefinitionDtoModelClass.d.ts +0 -15
- package/dist/models/updateAgentDefinitionDtoModelClass.js +0 -17
- package/dist/models/updateCompositionDto.d.ts +0 -18
- package/dist/models/updateCompositionDto.js +0 -2
- package/dist/models/updateSystemProviderDto.d.ts +0 -22
- package/dist/models/updateSystemProviderDto.js +0 -2
- package/dist/models/updateSystemProviderDtoApiType.d.ts +0 -13
- package/dist/models/updateSystemProviderDtoApiType.js +0 -15
- package/dist/models/updateSystemProviderDtoAuthType.d.ts +0 -12
- package/dist/models/updateSystemProviderDtoAuthType.js +0 -14
- package/dist/models/widgetKindDtoSource.d.ts +0 -12
- package/dist/models/widgetKindDtoSource.js +0 -14
- package/dist/models/xemaObjectKind.d.ts +0 -51
- package/dist/models/xemaObjectKind.js +0 -50
- package/dist/models/xemaObjectResponseDto.d.ts +0 -26
- package/dist/models/xemaObjectResponseDto.js +0 -2
- package/dist/models/xemaObjectResponseDtoPayload.d.ts +0 -13
- package/dist/models/xemaObjectResponseDtoPayload.js +0 -9
- package/dist/models/xemaSpaceRefDto.d.ts +0 -16
- package/dist/models/xemaSpaceRefDto.js +0 -2
- package/dist/models/xemaSubjectRefDto.d.ts +0 -11
- package/dist/models/xemaSubjectRefDto.js +0 -9
- /package/dist/models/{agentDefinitionControllerListDefinitionsParams.js → agentBundleRenderDto.js} +0 -0
- /package/dist/models/{agentDefinitionControllerResolveAgentBundleFileParams.js → agentCapabilityAnalysisDto.js} +0 -0
- /package/dist/models/{agentDefinitionResponseDto.js → agentCapabilityAnalysisDtoDataEnvelope.js} +0 -0
- /package/dist/models/{agentDefinitionControllerBrowseTalentPoolParams.js → agentControllerCapabilityAnalysisParams.js} +0 -0
- /package/dist/models/{agentDefinitionResponseDtoDataEnvelope.js → catalogProviderDtoDataArrayEnvelope.js} +0 -0
- /package/dist/models/{agentDefinitionControllerListInteractiveCatalogParams.js → modelPricingTierDto.js} +0 -0
- /package/dist/models/{agentDefinitionResponseDtoPaginatedEnvelope.js → probeProviderDto.js} +0 -0
- /package/dist/models/{agentDefinitionControllerResolveAgentBlocksParams.js → probedModelDto.js} +0 -0
- /package/dist/models/{agentKernelControllerResolveAgentBundleFileParams.js → providerProbeResponseDto.js} +0 -0
- /package/dist/models/{catalogProviderDtoDataEnvelope.js → providerProbeResponseDtoDataEnvelope.js} +0 -0
- /package/dist/models/{agentDefinitionResponseDtoDefinitionHash.js → unresolvedToolDto.js} +0 -0
|
@@ -1,217 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.compositionControllerResolveDraftCapable = exports.getCompositionControllerResolveDraftCapableUrl = exports.compositionControllerResolve = exports.getCompositionControllerResolveUrl = exports.compositionControllerRescope = exports.getCompositionControllerRescopeUrl = exports.compositionControllerArchive = exports.getCompositionControllerArchiveUrl = exports.compositionControllerPublishDraft = exports.getCompositionControllerPublishDraftUrl = exports.compositionControllerDelete = exports.getCompositionControllerDeleteUrl = exports.compositionControllerUpdate = exports.getCompositionControllerUpdateUrl = exports.compositionControllerGet = exports.getCompositionControllerGetUrl = exports.compositionControllerList = exports.getCompositionControllerListUrl = exports.compositionControllerCreate = exports.getCompositionControllerCreateUrl = void 0;
|
|
4
|
-
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
|
-
const getCompositionControllerCreateUrl = () => {
|
|
6
|
-
return `/compositions`;
|
|
7
|
-
};
|
|
8
|
-
exports.getCompositionControllerCreateUrl = getCompositionControllerCreateUrl;
|
|
9
|
-
/**
|
|
10
|
-
* @summary Create an Agent. Created in draft lifecycle; publish separately.
|
|
11
|
-
*/
|
|
12
|
-
const compositionControllerCreate = async (createCompositionDto, options) => {
|
|
13
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getCompositionControllerCreateUrl)(), {
|
|
14
|
-
...options,
|
|
15
|
-
method: 'POST',
|
|
16
|
-
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
17
|
-
body: JSON.stringify(createCompositionDto)
|
|
18
|
-
});
|
|
19
|
-
};
|
|
20
|
-
exports.compositionControllerCreate = compositionControllerCreate;
|
|
21
|
-
const getCompositionControllerListUrl = (params) => {
|
|
22
|
-
const normalizedParams = new URLSearchParams();
|
|
23
|
-
Object.entries(params || {}).forEach(([key, value]) => {
|
|
24
|
-
if (value === undefined)
|
|
25
|
-
return;
|
|
26
|
-
if (value === null) {
|
|
27
|
-
normalizedParams.append(key, 'null');
|
|
28
|
-
return;
|
|
29
|
-
}
|
|
30
|
-
if (Array.isArray(value)) {
|
|
31
|
-
for (const item of value) {
|
|
32
|
-
if (item === undefined || item === null)
|
|
33
|
-
continue;
|
|
34
|
-
normalizedParams.append(key, item.toString());
|
|
35
|
-
}
|
|
36
|
-
return;
|
|
37
|
-
}
|
|
38
|
-
normalizedParams.append(key, value.toString());
|
|
39
|
-
});
|
|
40
|
-
const stringifiedParams = normalizedParams.toString();
|
|
41
|
-
return stringifiedParams.length > 0 ? `/compositions?${stringifiedParams}` : `/compositions`;
|
|
42
|
-
};
|
|
43
|
-
exports.getCompositionControllerListUrl = getCompositionControllerListUrl;
|
|
44
|
-
/**
|
|
45
|
-
* @summary List Agent Compositions for the org.
|
|
46
|
-
*/
|
|
47
|
-
const compositionControllerList = async (params, options) => {
|
|
48
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getCompositionControllerListUrl)(params), {
|
|
49
|
-
...options,
|
|
50
|
-
method: 'GET'
|
|
51
|
-
});
|
|
52
|
-
};
|
|
53
|
-
exports.compositionControllerList = compositionControllerList;
|
|
54
|
-
const getCompositionControllerGetUrl = (id) => {
|
|
55
|
-
return `/compositions/${id}`;
|
|
56
|
-
};
|
|
57
|
-
exports.getCompositionControllerGetUrl = getCompositionControllerGetUrl;
|
|
58
|
-
/**
|
|
59
|
-
* @summary Get a single Agent by id.
|
|
60
|
-
*/
|
|
61
|
-
const compositionControllerGet = async (id, options) => {
|
|
62
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getCompositionControllerGetUrl)(id), {
|
|
63
|
-
...options,
|
|
64
|
-
method: 'GET'
|
|
65
|
-
});
|
|
66
|
-
};
|
|
67
|
-
exports.compositionControllerGet = compositionControllerGet;
|
|
68
|
-
const getCompositionControllerUpdateUrl = (id) => {
|
|
69
|
-
return `/compositions/${id}`;
|
|
70
|
-
};
|
|
71
|
-
exports.getCompositionControllerUpdateUrl = getCompositionControllerUpdateUrl;
|
|
72
|
-
/**
|
|
73
|
-
* @summary Update a draft Agent. Published/archived compositions are immutable.
|
|
74
|
-
*/
|
|
75
|
-
const compositionControllerUpdate = async (id, updateCompositionDto, options) => {
|
|
76
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getCompositionControllerUpdateUrl)(id), {
|
|
77
|
-
...options,
|
|
78
|
-
method: 'PATCH',
|
|
79
|
-
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
80
|
-
body: JSON.stringify(updateCompositionDto)
|
|
81
|
-
});
|
|
82
|
-
};
|
|
83
|
-
exports.compositionControllerUpdate = compositionControllerUpdate;
|
|
84
|
-
const getCompositionControllerDeleteUrl = (id) => {
|
|
85
|
-
return `/compositions/${id}`;
|
|
86
|
-
};
|
|
87
|
-
exports.getCompositionControllerDeleteUrl = getCompositionControllerDeleteUrl;
|
|
88
|
-
/**
|
|
89
|
-
* @summary Delete a draft Agent. Published/archived rows are kept.
|
|
90
|
-
*/
|
|
91
|
-
const compositionControllerDelete = async (id, options) => {
|
|
92
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getCompositionControllerDeleteUrl)(id), {
|
|
93
|
-
...options,
|
|
94
|
-
method: 'DELETE'
|
|
95
|
-
});
|
|
96
|
-
};
|
|
97
|
-
exports.compositionControllerDelete = compositionControllerDelete;
|
|
98
|
-
const getCompositionControllerPublishDraftUrl = (slug) => {
|
|
99
|
-
return `/compositions/${slug}/publish`;
|
|
100
|
-
};
|
|
101
|
-
exports.getCompositionControllerPublishDraftUrl = getCompositionControllerPublishDraftUrl;
|
|
102
|
-
/**
|
|
103
|
-
* @summary Publish a draft revision of an Agent as a NEW immutable `published` version. The service:
|
|
104
|
-
|
|
105
|
-
1. Loads the draft row by (`slug`, `fromDraftRevisionId`).
|
|
106
|
-
2. Computes the next version by applying `semverBump` to the latest published version for `slug`.
|
|
107
|
-
3. Creates a new `published` Agent row at the bumped version (immutable; the only state the resolver serves).
|
|
108
|
-
4. Archives the source draft as a "consumed" lineage marker.
|
|
109
|
-
5. Emits `xema.composition.published.v1`.
|
|
110
|
-
|
|
111
|
-
Mediated by `composition:publish@1` against xema-capability-router (fail-CLOSED — a gateway 5xx aborts the publish). Typed denials map to the closed `CompositionPublishError` set.
|
|
112
|
-
*/
|
|
113
|
-
const compositionControllerPublishDraft = async (slug, publishCompositionDto, options) => {
|
|
114
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getCompositionControllerPublishDraftUrl)(slug), {
|
|
115
|
-
...options,
|
|
116
|
-
method: 'POST',
|
|
117
|
-
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
118
|
-
body: JSON.stringify(publishCompositionDto)
|
|
119
|
-
});
|
|
120
|
-
};
|
|
121
|
-
exports.compositionControllerPublishDraft = compositionControllerPublishDraft;
|
|
122
|
-
const getCompositionControllerArchiveUrl = (id) => {
|
|
123
|
-
return `/compositions/${id}/archive`;
|
|
124
|
-
};
|
|
125
|
-
exports.getCompositionControllerArchiveUrl = getCompositionControllerArchiveUrl;
|
|
126
|
-
/**
|
|
127
|
-
* @summary Archive an Agent version. Archived rows are never resolved.
|
|
128
|
-
*/
|
|
129
|
-
const compositionControllerArchive = async (id, options) => {
|
|
130
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getCompositionControllerArchiveUrl)(id), {
|
|
131
|
-
...options,
|
|
132
|
-
method: 'PATCH'
|
|
133
|
-
});
|
|
134
|
-
};
|
|
135
|
-
exports.compositionControllerArchive = compositionControllerArchive;
|
|
136
|
-
const getCompositionControllerRescopeUrl = (id) => {
|
|
137
|
-
return `/compositions/${id}/rescope`;
|
|
138
|
-
};
|
|
139
|
-
exports.getCompositionControllerRescopeUrl = getCompositionControllerRescopeUrl;
|
|
140
|
-
/**
|
|
141
|
-
* @summary Re-scope an Agent — promote its owner UP the scope ladder (the "add to project" / "publish to org" action). Legal promotions: user → project|org, project → org. Touches only the owner columns; the slug, version and node tree are unchanged, so it is allowed in any lifecycle state. Illegal promotions / non-owner attempts fail fast with 400/403.
|
|
142
|
-
*/
|
|
143
|
-
const compositionControllerRescope = async (id, rescopeDto, options) => {
|
|
144
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getCompositionControllerRescopeUrl)(id), {
|
|
145
|
-
...options,
|
|
146
|
-
method: 'POST',
|
|
147
|
-
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
148
|
-
body: JSON.stringify(rescopeDto)
|
|
149
|
-
});
|
|
150
|
-
};
|
|
151
|
-
exports.compositionControllerRescope = compositionControllerRescope;
|
|
152
|
-
const getCompositionControllerResolveUrl = (ref, params) => {
|
|
153
|
-
const normalizedParams = new URLSearchParams();
|
|
154
|
-
Object.entries(params || {}).forEach(([key, value]) => {
|
|
155
|
-
if (value === undefined)
|
|
156
|
-
return;
|
|
157
|
-
if (value === null) {
|
|
158
|
-
normalizedParams.append(key, 'null');
|
|
159
|
-
return;
|
|
160
|
-
}
|
|
161
|
-
if (Array.isArray(value)) {
|
|
162
|
-
for (const item of value) {
|
|
163
|
-
if (item === undefined || item === null)
|
|
164
|
-
continue;
|
|
165
|
-
normalizedParams.append(key, item.toString());
|
|
166
|
-
}
|
|
167
|
-
return;
|
|
168
|
-
}
|
|
169
|
-
normalizedParams.append(key, value.toString());
|
|
170
|
-
});
|
|
171
|
-
const stringifiedParams = normalizedParams.toString();
|
|
172
|
-
return stringifiedParams.length > 0 ? `/compositions/resolve/${ref}?${stringifiedParams}` : `/compositions/resolve/${ref}`;
|
|
173
|
-
};
|
|
174
|
-
exports.getCompositionControllerResolveUrl = getCompositionControllerResolveUrl;
|
|
175
|
-
/**
|
|
176
|
-
* @summary Resolve a composition by `slug@version` (or bare `slug` = latest published) into the runtime-facing tree (agent versions pinned, capability envelope present). agent-session-api and the workflow runtime call this at session/dispatch time.
|
|
177
|
-
*/
|
|
178
|
-
const compositionControllerResolve = async (ref, params, options) => {
|
|
179
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getCompositionControllerResolveUrl)(ref, params), {
|
|
180
|
-
...options,
|
|
181
|
-
method: 'GET'
|
|
182
|
-
});
|
|
183
|
-
};
|
|
184
|
-
exports.compositionControllerResolve = compositionControllerResolve;
|
|
185
|
-
const getCompositionControllerResolveDraftCapableUrl = (id, params) => {
|
|
186
|
-
const normalizedParams = new URLSearchParams();
|
|
187
|
-
Object.entries(params || {}).forEach(([key, value]) => {
|
|
188
|
-
if (value === undefined)
|
|
189
|
-
return;
|
|
190
|
-
if (value === null) {
|
|
191
|
-
normalizedParams.append(key, 'null');
|
|
192
|
-
return;
|
|
193
|
-
}
|
|
194
|
-
if (Array.isArray(value)) {
|
|
195
|
-
for (const item of value) {
|
|
196
|
-
if (item === undefined || item === null)
|
|
197
|
-
continue;
|
|
198
|
-
normalizedParams.append(key, item.toString());
|
|
199
|
-
}
|
|
200
|
-
return;
|
|
201
|
-
}
|
|
202
|
-
normalizedParams.append(key, value.toString());
|
|
203
|
-
});
|
|
204
|
-
const stringifiedParams = normalizedParams.toString();
|
|
205
|
-
return stringifiedParams.length > 0 ? `/compositions/${id}/resolved?${stringifiedParams}` : `/compositions/${id}/resolved`;
|
|
206
|
-
};
|
|
207
|
-
exports.getCompositionControllerResolveDraftCapableUrl = getCompositionControllerResolveDraftCapableUrl;
|
|
208
|
-
/**
|
|
209
|
-
* @summary Resolve a composition by row id into the runtime-facing tree, allowing a DRAFT composition. Used only by the Agent Studio sandbox harness so an author can test an in-progress composition before publishing. An archived composition is still refused.
|
|
210
|
-
*/
|
|
211
|
-
const compositionControllerResolveDraftCapable = async (id, params, options) => {
|
|
212
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getCompositionControllerResolveDraftCapableUrl)(id, params), {
|
|
213
|
-
...options,
|
|
214
|
-
method: 'GET'
|
|
215
|
-
});
|
|
216
|
-
};
|
|
217
|
-
exports.compositionControllerResolveDraftCapable = compositionControllerResolveDraftCapable;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval v8.6.2 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* LLM Registry API
|
|
5
|
-
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
-
* OpenAPI spec version: 0.1.0
|
|
7
|
-
*/
|
|
8
|
-
import type { DescribeObjectsResponseDto } from '../../models';
|
|
9
|
-
/**
|
|
10
|
-
* 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.
|
|
11
|
-
* @summary Return this service's slice of the XemaObject universe (agents, compositions, models, rules).
|
|
12
|
-
*/
|
|
13
|
-
export declare const getDescribeObjectsControllerDescribeUrl: () => string;
|
|
14
|
-
export declare const describeObjectsControllerDescribe: (options?: RequestInit) => Promise<DescribeObjectsResponseDto>;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.describeObjectsControllerDescribe = exports.getDescribeObjectsControllerDescribeUrl = void 0;
|
|
4
|
-
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
|
-
/**
|
|
6
|
-
* 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.
|
|
7
|
-
* @summary Return this service's slice of the XemaObject universe (agents, compositions, models, rules).
|
|
8
|
-
*/
|
|
9
|
-
const getDescribeObjectsControllerDescribeUrl = () => {
|
|
10
|
-
return `/describe-objects`;
|
|
11
|
-
};
|
|
12
|
-
exports.getDescribeObjectsControllerDescribeUrl = getDescribeObjectsControllerDescribeUrl;
|
|
13
|
-
const describeObjectsControllerDescribe = async (options) => {
|
|
14
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getDescribeObjectsControllerDescribeUrl)(), {
|
|
15
|
-
...options,
|
|
16
|
-
method: 'GET'
|
|
17
|
-
});
|
|
18
|
-
};
|
|
19
|
-
exports.describeObjectsControllerDescribe = describeObjectsControllerDescribe;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @summary Health check
|
|
3
|
-
*/
|
|
4
|
-
export declare const getHealthControllerCheckUrl: () => string;
|
|
5
|
-
export declare const healthControllerCheck: (options?: RequestInit) => Promise<void>;
|
|
6
|
-
/**
|
|
7
|
-
* @summary Liveness probe
|
|
8
|
-
*/
|
|
9
|
-
export declare const getHealthControllerLiveUrl: () => string;
|
|
10
|
-
export declare const healthControllerLive: (options?: RequestInit) => Promise<void>;
|
|
11
|
-
/**
|
|
12
|
-
* @summary Readiness probe — checks database connectivity
|
|
13
|
-
*/
|
|
14
|
-
export declare const getHealthControllerReadyUrl: () => string;
|
|
15
|
-
export declare const healthControllerReady: (options?: RequestInit) => Promise<void>;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.healthControllerReady = exports.getHealthControllerReadyUrl = exports.healthControllerLive = exports.getHealthControllerLiveUrl = exports.healthControllerCheck = exports.getHealthControllerCheckUrl = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Generated by orval v8.6.2 🍺
|
|
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.0
|
|
10
|
-
*/
|
|
11
|
-
const custom_fetch_1 = require("../../custom-fetch");
|
|
12
|
-
/**
|
|
13
|
-
* @summary Health check
|
|
14
|
-
*/
|
|
15
|
-
const getHealthControllerCheckUrl = () => {
|
|
16
|
-
return `/health`;
|
|
17
|
-
};
|
|
18
|
-
exports.getHealthControllerCheckUrl = getHealthControllerCheckUrl;
|
|
19
|
-
const healthControllerCheck = async (options) => {
|
|
20
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getHealthControllerCheckUrl)(), {
|
|
21
|
-
...options,
|
|
22
|
-
method: 'GET'
|
|
23
|
-
});
|
|
24
|
-
};
|
|
25
|
-
exports.healthControllerCheck = healthControllerCheck;
|
|
26
|
-
/**
|
|
27
|
-
* @summary Liveness probe
|
|
28
|
-
*/
|
|
29
|
-
const getHealthControllerLiveUrl = () => {
|
|
30
|
-
return `/health/live`;
|
|
31
|
-
};
|
|
32
|
-
exports.getHealthControllerLiveUrl = getHealthControllerLiveUrl;
|
|
33
|
-
const healthControllerLive = async (options) => {
|
|
34
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getHealthControllerLiveUrl)(), {
|
|
35
|
-
...options,
|
|
36
|
-
method: 'GET'
|
|
37
|
-
});
|
|
38
|
-
};
|
|
39
|
-
exports.healthControllerLive = healthControllerLive;
|
|
40
|
-
/**
|
|
41
|
-
* @summary Readiness probe — checks database connectivity
|
|
42
|
-
*/
|
|
43
|
-
const getHealthControllerReadyUrl = () => {
|
|
44
|
-
return `/health/ready`;
|
|
45
|
-
};
|
|
46
|
-
exports.getHealthControllerReadyUrl = getHealthControllerReadyUrl;
|
|
47
|
-
const healthControllerReady = async (options) => {
|
|
48
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getHealthControllerReadyUrl)(), {
|
|
49
|
-
...options,
|
|
50
|
-
method: 'GET'
|
|
51
|
-
});
|
|
52
|
-
};
|
|
53
|
-
exports.healthControllerReady = healthControllerReady;
|
|
@@ -1,25 +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.0
|
|
7
|
-
*/
|
|
8
|
-
export type AgentDefinitionControllerBrowseTalentPoolParams = {
|
|
9
|
-
/**
|
|
10
|
-
* Search term for agent name or description
|
|
11
|
-
*/
|
|
12
|
-
search?: string;
|
|
13
|
-
/**
|
|
14
|
-
* Filter by skill
|
|
15
|
-
*/
|
|
16
|
-
skill?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Page number (default: 1)
|
|
19
|
-
*/
|
|
20
|
-
page?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Results per page (default: 20)
|
|
23
|
-
*/
|
|
24
|
-
limit?: string;
|
|
25
|
-
};
|
|
@@ -1,15 +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.0
|
|
7
|
-
*/
|
|
8
|
-
import type { ScopeSource } from './scopeSource.js';
|
|
9
|
-
export type AgentDefinitionControllerListDefinitionsParams = {
|
|
10
|
-
source?: ScopeSource;
|
|
11
|
-
/**
|
|
12
|
-
* Biome id filter; only relevant when source=biome.
|
|
13
|
-
*/
|
|
14
|
-
biomeId?: string;
|
|
15
|
-
};
|
|
@@ -1,21 +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.0
|
|
7
|
-
*/
|
|
8
|
-
export type AgentDefinitionControllerListInteractiveCatalogParams = {
|
|
9
|
-
/**
|
|
10
|
-
* Search term
|
|
11
|
-
*/
|
|
12
|
-
search?: string;
|
|
13
|
-
/**
|
|
14
|
-
* Page number (default: 1)
|
|
15
|
-
*/
|
|
16
|
-
page?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Results per page (default: 50)
|
|
19
|
-
*/
|
|
20
|
-
limit?: string;
|
|
21
|
-
};
|
|
@@ -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.0
|
|
7
|
-
*/
|
|
8
|
-
export type AgentDefinitionControllerResolveAgentBlocksParams = {
|
|
9
|
-
/**
|
|
10
|
-
* Comma-separated list of agent slugs (e.g. "build,plan,explore,manifest-reconciler"). Required — empty or absent returns 400.
|
|
11
|
-
*/
|
|
12
|
-
slugs: string;
|
|
13
|
-
};
|
|
@@ -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.0
|
|
7
|
-
*/
|
|
8
|
-
export type AgentDefinitionControllerResolveAgentBundleFileAgentMode = typeof AgentDefinitionControllerResolveAgentBundleFileAgentMode[keyof typeof AgentDefinitionControllerResolveAgentBundleFileAgentMode];
|
|
9
|
-
export declare const AgentDefinitionControllerResolveAgentBundleFileAgentMode: {
|
|
10
|
-
readonly primary: "primary";
|
|
11
|
-
readonly subagent: "subagent";
|
|
12
|
-
};
|
|
@@ -1,14 +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.0
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.AgentDefinitionControllerResolveAgentBundleFileAgentMode = void 0;
|
|
11
|
-
exports.AgentDefinitionControllerResolveAgentBundleFileAgentMode = {
|
|
12
|
-
primary: 'primary',
|
|
13
|
-
subagent: 'subagent',
|
|
14
|
-
};
|
|
@@ -1,14 +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.0
|
|
7
|
-
*/
|
|
8
|
-
import type { AgentDefinitionControllerResolveAgentBundleFileAgentMode } from './agentDefinitionControllerResolveAgentBundleFileAgentMode.js';
|
|
9
|
-
export type AgentDefinitionControllerResolveAgentBundleFileParams = {
|
|
10
|
-
/**
|
|
11
|
-
* Frontmatter `mode` value — primary for the root agent, subagent for delegated entries.
|
|
12
|
-
*/
|
|
13
|
-
agentMode: AgentDefinitionControllerResolveAgentBundleFileAgentMode;
|
|
14
|
-
};
|
|
@@ -1,58 +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.0
|
|
7
|
-
*/
|
|
8
|
-
import type { AgentDefinitionResponseDtoDefinitionHash } from './agentDefinitionResponseDtoDefinitionHash.js';
|
|
9
|
-
import type { AgentDefinitionResponseDtoModelClass } from './agentDefinitionResponseDtoModelClass.js';
|
|
10
|
-
import type { ScopeSource } from './scopeSource.js';
|
|
11
|
-
export interface AgentDefinitionResponseDto {
|
|
12
|
-
id: string;
|
|
13
|
-
orgId: string;
|
|
14
|
-
source: ScopeSource;
|
|
15
|
-
/**
|
|
16
|
-
* Biome id when source='biome', otherwise null.
|
|
17
|
-
* @nullable
|
|
18
|
-
*/
|
|
19
|
-
biomeId?: string | null;
|
|
20
|
-
/** @nullable */
|
|
21
|
-
projectId?: string | null;
|
|
22
|
-
/**
|
|
23
|
-
* Owning user id when source='user', otherwise null.
|
|
24
|
-
* @nullable
|
|
25
|
-
*/
|
|
26
|
-
ownerUserId?: string | null;
|
|
27
|
-
/**
|
|
28
|
-
* Origin reference (`<source>:<biomeId|""">:<slug>`) when this row was forked from a biome/system row. Survives uninstall — UI surfaces "fork without origin" if the origin is gone.
|
|
29
|
-
* @nullable
|
|
30
|
-
*/
|
|
31
|
-
forkedFrom?: string | null;
|
|
32
|
-
slug: string;
|
|
33
|
-
displayName: string;
|
|
34
|
-
/** @nullable */
|
|
35
|
-
description?: string | null;
|
|
36
|
-
systemPrompt: string;
|
|
37
|
-
modelClass: AgentDefinitionResponseDtoModelClass;
|
|
38
|
-
/**
|
|
39
|
-
* `null` defers to the engine/model default.
|
|
40
|
-
* @nullable
|
|
41
|
-
*/
|
|
42
|
-
temperature?: number | null;
|
|
43
|
-
mcpServices: string[];
|
|
44
|
-
isActive: boolean;
|
|
45
|
-
createdBy: string;
|
|
46
|
-
createdAt: string;
|
|
47
|
-
updatedAt: string;
|
|
48
|
-
/** @nullable */
|
|
49
|
-
avatarSeed?: string | null;
|
|
50
|
-
avatarStyle: string;
|
|
51
|
-
skills: string[];
|
|
52
|
-
executionMode: string;
|
|
53
|
-
supportsAgentSessions: boolean;
|
|
54
|
-
/** Hidden from user-facing pickers. Stays invocable via `task` delegation and workflow `agentRef:`. */
|
|
55
|
-
hidden: boolean;
|
|
56
|
-
identityVersion: number;
|
|
57
|
-
definitionHash?: AgentDefinitionResponseDtoDefinitionHash;
|
|
58
|
-
}
|
|
@@ -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.0
|
|
7
|
-
*/
|
|
8
|
-
import type { AgentDefinitionResponseDto } from './agentDefinitionResponseDto.js';
|
|
9
|
-
import type { PaginationMeta } from './paginationMeta.js';
|
|
10
|
-
export interface AgentDefinitionResponseDtoPaginatedEnvelope {
|
|
11
|
-
data: AgentDefinitionResponseDto[];
|
|
12
|
-
pagination?: PaginationMeta;
|
|
13
|
-
}
|
|
@@ -1,14 +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.0
|
|
7
|
-
*/
|
|
8
|
-
import type { AgentKernelControllerResolveAgentBundleFileAgentMode } from './agentKernelControllerResolveAgentBundleFileAgentMode.js';
|
|
9
|
-
export type AgentKernelControllerResolveAgentBundleFileParams = {
|
|
10
|
-
/**
|
|
11
|
-
* Frontmatter `mode` value — primary for the root agent, subagent for delegated entries.
|
|
12
|
-
*/
|
|
13
|
-
agentMode: AgentKernelControllerResolveAgentBundleFileAgentMode;
|
|
14
|
-
};
|
|
@@ -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.0
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,15 +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.0
|
|
7
|
-
*/
|
|
8
|
-
export interface CompositionAgentRunConfigDto {
|
|
9
|
-
/** Stage key. */
|
|
10
|
-
stage: string;
|
|
11
|
-
/** Canonical AgentRunRole — drives renderer + system-overlay framing. */
|
|
12
|
-
role: string;
|
|
13
|
-
/** Deliverable-spec ref. May carry a `${input.x}` token — resolved downstream by the workspace pipeline against the run bind inputs. */
|
|
14
|
-
deliverableSpecRef?: string;
|
|
15
|
-
}
|
|
@@ -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.0
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -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.0
|
|
7
|
-
*/
|
|
8
|
-
export interface CompositionBiomeAvailabilityDto {
|
|
9
|
-
/** Allow-list of biome ids. When non-empty, ONLY contributions whose owning biome is listed survive (non-biome contributions always pass). Absent/empty ⇒ all biomes allowed unless excluded. */
|
|
10
|
-
include?: string[];
|
|
11
|
-
/** Deny-list of biome ids. A contribution whose owning biome is listed is always dropped, even if it also appears in include. Absent/empty ⇒ nothing force-excluded. */
|
|
12
|
-
exclude?: string[];
|
|
13
|
-
}
|
|
@@ -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.0
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,15 +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.0
|
|
7
|
-
*/
|
|
8
|
-
import type { CompositionCapabilityLayerDtoMayEditRepos } from './compositionCapabilityLayerDtoMayEditRepos.js';
|
|
9
|
-
import type { CompositionCapabilityLayerDtoWritePolicy } from './compositionCapabilityLayerDtoWritePolicy.js';
|
|
10
|
-
export interface CompositionCapabilityLayerDto {
|
|
11
|
-
writePolicy: CompositionCapabilityLayerDtoWritePolicy;
|
|
12
|
-
mayEditRepos: CompositionCapabilityLayerDtoMayEditRepos;
|
|
13
|
-
mayWriteKnowledgeBase: boolean;
|
|
14
|
-
allowedXemaTools: string[];
|
|
15
|
-
}
|
|
@@ -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.0
|
|
7
|
-
*/
|
|
8
|
-
export type CompositionCapabilityLayerDtoMayEditRepos = typeof CompositionCapabilityLayerDtoMayEditRepos[keyof typeof CompositionCapabilityLayerDtoMayEditRepos];
|
|
9
|
-
export declare const CompositionCapabilityLayerDtoMayEditRepos: {
|
|
10
|
-
readonly never: "never";
|
|
11
|
-
readonly 'when-granted': "when-granted";
|
|
12
|
-
};
|
|
@@ -1,14 +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.0
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.CompositionCapabilityLayerDtoMayEditRepos = void 0;
|
|
11
|
-
exports.CompositionCapabilityLayerDtoMayEditRepos = {
|
|
12
|
-
never: 'never',
|
|
13
|
-
'when-granted': 'when-granted',
|
|
14
|
-
};
|
|
@@ -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.0
|
|
7
|
-
*/
|
|
8
|
-
export type CompositionCapabilityLayerDtoWritePolicy = typeof CompositionCapabilityLayerDtoWritePolicy[keyof typeof CompositionCapabilityLayerDtoWritePolicy];
|
|
9
|
-
export declare const CompositionCapabilityLayerDtoWritePolicy: {
|
|
10
|
-
readonly 'read-only': "read-only";
|
|
11
|
-
readonly 'own-pages-only': "own-pages-only";
|
|
12
|
-
readonly 'full-write': "full-write";
|
|
13
|
-
};
|