@xemahq/llm-registry-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/agent-kernels/agent-kernels.js +25 -33
- package/dist/endpoints/agent-model-overrides/agent-model-overrides.js +8 -14
- package/dist/endpoints/agent-run-context/agent-run-context.js +1 -1
- package/dist/endpoints/agent-runtime/agent-runtime.js +8 -16
- package/dist/endpoints/agents/agents.js +8 -8
- package/dist/endpoints/catalog/catalog.js +7 -13
- package/dist/endpoints/chat-widget-catalogue/chat-widget-catalogue.js +1 -1
- package/dist/endpoints/code-standards/code-standards.js +7 -9
- package/dist/endpoints/embedding-commitment/embedding-commitment.js +11 -11
- package/dist/endpoints/instruction-sections/instruction-sections.d.ts +3 -3
- package/dist/endpoints/instruction-sections/instruction-sections.js +6 -6
- package/dist/endpoints/llm-readiness/llm-readiness.js +2 -2
- package/dist/endpoints/llm-registry/llm-registry.js +18 -20
- package/dist/endpoints/model-resolution-matrix/model-resolution-matrix.js +5 -5
- package/dist/endpoints/model-strategies/model-strategies.d.ts +11 -6
- package/dist/endpoints/model-strategies/model-strategies.js +39 -25
- package/dist/endpoints/project-kits/project-kits.js +3 -5
- package/dist/endpoints/role-capabilities/role-capabilities.js +2 -2
- package/dist/endpoints/tool-profiles/tool-profiles.js +5 -5
- package/dist/index.d.ts +1 -1
- package/dist/models/agentAuthoringResponseDtoState.d.ts +1 -1
- package/dist/models/agentBundleRenderDtoAgentMode.d.ts +1 -1
- package/dist/models/agentCapabilityLayerDtoMayEditRepos.d.ts +1 -1
- package/dist/models/agentCapabilityLayerDtoWritePolicy.d.ts +1 -1
- package/dist/models/agentConfigBlockDto.d.ts +15 -15
- package/dist/models/agentKernelResponseDto.d.ts +15 -15
- package/dist/models/agentKernelResponseDtoModelClass.d.ts +1 -1
- package/dist/models/agentModelOverrideDto.d.ts +3 -3
- package/dist/models/agentModelOverrideDtoKind.d.ts +1 -1
- package/dist/models/agentModelOverrideDtoModelClass.d.ts +1 -1
- package/dist/models/agentModelOverrideResponseDtoScope.d.ts +1 -1
- package/dist/models/agentNodeDtoPromptMode.d.ts +1 -1
- package/dist/models/agentOutputSurfaceDto.d.ts +3 -3
- package/dist/models/agentOutputSurfaceDtoMode.d.ts +1 -1
- package/dist/models/agentProfileDto.d.ts +3 -3
- package/dist/models/agentProfileDtoModelClass.d.ts +1 -1
- package/dist/models/agentReachTier.d.ts +1 -1
- package/dist/models/agentRevisionHistoryEntryDto.d.ts +3 -3
- package/dist/models/agentRunRole.d.ts +1 -1
- package/dist/models/agentSessionLifecycle.d.ts +1 -1
- package/dist/models/agentToolRefDtoKind.d.ts +1 -1
- package/dist/models/agentWorkingFileDtoFormat.d.ts +1 -1
- package/dist/models/agentWorkingFileDtoSyncDirection.d.ts +1 -1
- package/dist/models/catalogProviderDtoApiType.d.ts +1 -1
- package/dist/models/catalogProviderDtoAuthType.d.ts +1 -1
- package/dist/models/catalogProviderDtoTier.d.ts +1 -1
- package/dist/models/createAgentKernelDtoModelClass.d.ts +1 -1
- package/dist/models/createCodeStandardDto.d.ts +3 -3
- package/dist/models/createCodeStandardDtoCategory.d.ts +1 -1
- package/dist/models/createModelResolutionRuleDtoTargetKind.d.ts +1 -1
- package/dist/models/createModelResolutionRuleDtoTargetModelClass.d.ts +1 -1
- package/dist/models/createModelStrategyDtoProviderFocus.d.ts +1 -1
- package/dist/models/createModelStrategyDtoTier.d.ts +1 -1
- package/dist/models/createModelStrategyEntryDtoModelClass.d.ts +1 -1
- package/dist/models/createProviderDto.d.ts +3 -3
- package/dist/models/createProviderDtoApiType.d.ts +1 -1
- package/dist/models/createProviderDtoAuthType.d.ts +1 -1
- package/dist/models/credentialKind.d.ts +1 -1
- package/dist/models/embeddingCommitmentDtoState.d.ts +1 -1
- package/dist/models/embeddingMigrationDtoState.d.ts +1 -1
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/dist/models/llmReadinessResponseDto.d.ts +3 -3
- package/dist/models/llmReadinessResponseDtoAction.d.ts +1 -1
- package/dist/models/llmReadinessResponseDtoStatus.d.ts +1 -1
- package/dist/models/llmRegistryControllerResolveForInvocationModelClass.d.ts +1 -1
- package/dist/models/llmRegistryControllerResolveForInvocationPreferredModelClass.d.ts +1 -1
- package/dist/models/llmRegistryControllerResolveForInvocationPurpose.d.ts +1 -1
- package/dist/models/migrationConsumerDoneDtoConsumer.d.ts +1 -1
- package/dist/models/migrationConsumerFailedDtoConsumer.d.ts +1 -1
- package/dist/models/migrationConsumerProgressDtoConsumer.d.ts +1 -1
- package/dist/models/migrationConsumerProgressDtoState.d.ts +1 -1
- package/dist/models/migrationHeartbeatDtoConsumer.d.ts +1 -1
- package/dist/models/migrationProvisionDtoConsumer.d.ts +1 -1
- package/dist/models/modelModality.d.ts +1 -1
- package/dist/models/modelMode.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/modelResponseDto.d.ts +33 -33
- package/dist/models/modelStrategyEntryResponseDto.d.ts +3 -3
- package/dist/models/modelStrategyEntryResponseDtoModelClass.d.ts +1 -1
- package/dist/models/modelStrategyResponseDto.d.ts +12 -12
- package/dist/models/mountEntryDtoMode.d.ts +1 -1
- package/dist/models/mutabilityTier.d.ts +1 -1
- package/dist/models/orgInteractiveSubagentDto.d.ts +3 -3
- package/dist/models/outputSurfaceKind.d.ts +1 -1
- package/dist/models/probeProviderDtoApiType.d.ts +1 -1
- package/dist/models/projectAgentOverrideResponseDto.d.ts +3 -3
- package/dist/models/projectKitKind.d.ts +1 -1
- package/dist/models/projectKitPurpose.d.ts +1 -1
- package/dist/models/projectKitSourceKind.d.ts +1 -1
- package/dist/models/promptMergeMode.d.ts +1 -1
- package/dist/models/providerResponseDto.d.ts +3 -3
- package/dist/models/providerResponseDtoApiType.d.ts +1 -1
- package/dist/models/providerResponseDtoAuthType.d.ts +1 -1
- package/dist/models/publishAgentRevisionDto.d.ts +9 -9
- package/dist/models/registryVisibilityTier.d.ts +1 -1
- package/dist/models/renderAgentRunContextRequestDto.d.ts +3 -3
- package/dist/models/resolveFullResponseDto.d.ts +12 -12
- package/dist/models/resolveFullResponseDtoModelClass.d.ts +1 -1
- package/dist/models/resolvedAgentKernelResponseDto.d.ts +3 -3
- package/dist/models/resolvedAgentKernelResponseDtoModelClass.d.ts +1 -1
- package/dist/models/resolvedAgentModelResponseDtoSource.d.ts +1 -1
- package/dist/models/resolvedAgentResponseDto.d.ts +13 -13
- package/dist/models/resolvedAgentToolProfileDto.d.ts +3 -3
- package/dist/models/resolvedConfigSnapshotResponseDto.d.ts +6 -6
- package/dist/models/resolvedEmbeddingCommitmentDtoState.d.ts +1 -1
- package/dist/models/resolvedModelDecisionDto.d.ts +3 -3
- package/dist/models/resolvedModelRefDto.d.ts +9 -9
- package/dist/models/resolvedModelRefDtoKind.d.ts +1 -1
- package/dist/models/resolvedModelRefDtoModelClass.d.ts +1 -1
- package/dist/models/resolvedModelSelectionDto.d.ts +9 -9
- package/dist/models/resolvedModelSelectionDtoSource.d.ts +1 -1
- package/dist/models/resolvedModelStubDto.d.ts +9 -9
- package/dist/models/resolvedModelStubDtoSource.d.ts +1 -1
- package/dist/models/resolvedPhaseConfigDto.d.ts +3 -3
- package/dist/models/resolvedSkillEntryDto.d.ts +3 -3
- package/dist/models/resolvedSkillEntryDtoSource.d.ts +1 -3
- package/dist/models/resolvedSkillEntryDtoSource.js +0 -2
- package/dist/models/roleCapabilityProfileDtoMayEditRepos.d.ts +1 -1
- package/dist/models/roleCapabilityProfileDtoSurface.d.ts +1 -1
- package/dist/models/roleCapabilityProfileDtoWritePolicy.d.ts +1 -1
- package/dist/models/scopeSource.d.ts +1 -1
- package/dist/models/strategyTemplateAvailabilityDto.d.ts +19 -0
- package/dist/models/strategyTemplateAvailabilityDto.js +2 -0
- package/dist/models/strategyTemplateAvailabilityDtoReasonsItem.d.ts +14 -0
- package/dist/models/strategyTemplateAvailabilityDtoReasonsItem.js +16 -0
- package/dist/models/strategyTemplateEntryDto.d.ts +18 -0
- package/dist/models/strategyTemplateEntryDto.js +9 -0
- package/dist/models/strategyTemplateResponseDto.d.ts +32 -0
- package/dist/models/strategyTemplateResponseDto.js +2 -0
- package/dist/models/strategyTemplateResponseDtoPaginatedEnvelope.d.ts +13 -0
- package/dist/models/strategyTemplateResponseDtoPaginatedEnvelope.js +2 -0
- package/dist/models/toolProfileResponseDto.d.ts +9 -9
- package/dist/models/toolsetKey.d.ts +1 -1
- package/dist/models/updateAgentKernelDtoModelClass.d.ts +1 -1
- package/dist/models/updateModelResolutionRuleDtoTargetKind.d.ts +1 -1
- package/dist/models/updateModelResolutionRuleDtoTargetModelClass.d.ts +1 -1
- package/dist/models/updateProviderDto.d.ts +3 -3
- package/dist/models/updateProviderDtoApiType.d.ts +1 -1
- package/dist/models/updateProviderDtoAuthType.d.ts +1 -1
- package/dist/models/upsertAgentModelOverrideDtoScope.d.ts +1 -1
- package/dist/models/widgetKindSource.d.ts +1 -1
- package/dist/models/workspaceSharingPolicy.d.ts +1 -1
- package/package.json +2 -2
|
@@ -12,7 +12,7 @@ exports.getToolProfileControllerListProfilesUrl = getToolProfileControllerListPr
|
|
|
12
12
|
const toolProfileControllerListProfiles = async (slug, options) => {
|
|
13
13
|
return (0, custom_fetch_1.customFetch)((0, exports.getToolProfileControllerListProfilesUrl)(slug), {
|
|
14
14
|
...options,
|
|
15
|
-
method: 'GET'
|
|
15
|
+
method: 'GET'
|
|
16
16
|
});
|
|
17
17
|
};
|
|
18
18
|
exports.toolProfileControllerListProfiles = toolProfileControllerListProfiles;
|
|
@@ -26,7 +26,7 @@ exports.getToolProfileControllerResolveProfilesUrl = getToolProfileControllerRes
|
|
|
26
26
|
const toolProfileControllerResolveProfiles = async (slug, options) => {
|
|
27
27
|
return (0, custom_fetch_1.customFetch)((0, exports.getToolProfileControllerResolveProfilesUrl)(slug), {
|
|
28
28
|
...options,
|
|
29
|
-
method: 'GET'
|
|
29
|
+
method: 'GET'
|
|
30
30
|
});
|
|
31
31
|
};
|
|
32
32
|
exports.toolProfileControllerResolveProfiles = toolProfileControllerResolveProfiles;
|
|
@@ -42,7 +42,7 @@ const toolProfileControllerUpsertProfile = async (slug, mcpServiceKey, upsertToo
|
|
|
42
42
|
...options,
|
|
43
43
|
method: 'PUT',
|
|
44
44
|
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
45
|
-
body: JSON.stringify(upsertToolProfileDto)
|
|
45
|
+
body: JSON.stringify(upsertToolProfileDto)
|
|
46
46
|
});
|
|
47
47
|
};
|
|
48
48
|
exports.toolProfileControllerUpsertProfile = toolProfileControllerUpsertProfile;
|
|
@@ -56,7 +56,7 @@ exports.getToolProfileControllerDeleteProfileUrl = getToolProfileControllerDelet
|
|
|
56
56
|
const toolProfileControllerDeleteProfile = async (slug, mcpServiceKey, options) => {
|
|
57
57
|
return (0, custom_fetch_1.customFetch)((0, exports.getToolProfileControllerDeleteProfileUrl)(slug, mcpServiceKey), {
|
|
58
58
|
...options,
|
|
59
|
-
method: 'DELETE'
|
|
59
|
+
method: 'DELETE'
|
|
60
60
|
});
|
|
61
61
|
};
|
|
62
62
|
exports.toolProfileControllerDeleteProfile = toolProfileControllerDeleteProfile;
|
|
@@ -72,7 +72,7 @@ const toolProfileControllerRescopeProfile = async (id, rescopeDto, options) => {
|
|
|
72
72
|
...options,
|
|
73
73
|
method: 'PUT',
|
|
74
74
|
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
75
|
-
body: JSON.stringify(rescopeDto)
|
|
75
|
+
body: JSON.stringify(rescopeDto)
|
|
76
76
|
});
|
|
77
77
|
};
|
|
78
78
|
exports.toolProfileControllerRescopeProfile = toolProfileControllerRescopeProfile;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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
3
|
export * from './endpoints/agent-kernels/agent-kernels';
|
|
4
4
|
export * from './endpoints/agent-model-overrides/agent-model-overrides';
|
|
@@ -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 AgentAuthoringResponseDtoState =
|
|
8
|
+
export type AgentAuthoringResponseDtoState = typeof AgentAuthoringResponseDtoState[keyof typeof AgentAuthoringResponseDtoState];
|
|
9
9
|
export declare const AgentAuthoringResponseDtoState: {
|
|
10
10
|
readonly draft: "draft";
|
|
11
11
|
readonly live: "live";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/**
|
|
9
9
|
* Whether this agent is the root primary or a delegated subagent
|
|
10
10
|
*/
|
|
11
|
-
export type AgentBundleRenderDtoAgentMode =
|
|
11
|
+
export type AgentBundleRenderDtoAgentMode = typeof AgentBundleRenderDtoAgentMode[keyof typeof AgentBundleRenderDtoAgentMode];
|
|
12
12
|
export declare const AgentBundleRenderDtoAgentMode: {
|
|
13
13
|
readonly primary: "primary";
|
|
14
14
|
readonly subagent: "subagent";
|
|
@@ -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 AgentCapabilityLayerDtoMayEditRepos =
|
|
8
|
+
export type AgentCapabilityLayerDtoMayEditRepos = typeof AgentCapabilityLayerDtoMayEditRepos[keyof typeof AgentCapabilityLayerDtoMayEditRepos];
|
|
9
9
|
export declare const AgentCapabilityLayerDtoMayEditRepos: {
|
|
10
10
|
readonly never: "never";
|
|
11
11
|
readonly 'when-granted': "when-granted";
|
|
@@ -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 AgentCapabilityLayerDtoWritePolicy =
|
|
8
|
+
export type AgentCapabilityLayerDtoWritePolicy = typeof AgentCapabilityLayerDtoWritePolicy[keyof typeof AgentCapabilityLayerDtoWritePolicy];
|
|
9
9
|
export declare const AgentCapabilityLayerDtoWritePolicy: {
|
|
10
10
|
readonly 'read-only': "read-only";
|
|
11
11
|
readonly 'own-pages-only': "own-pages-only";
|
|
@@ -16,28 +16,28 @@ export interface AgentConfigBlockDto {
|
|
|
16
16
|
/** Free-text description shown to the model */
|
|
17
17
|
description: string;
|
|
18
18
|
/**
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
* Display color in the agent picker UI
|
|
20
|
+
* @nullable
|
|
21
|
+
*/
|
|
22
22
|
color?: AgentConfigBlockDtoColor;
|
|
23
23
|
/**
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
* Maximum agentic step count
|
|
25
|
+
* @nullable
|
|
26
|
+
*/
|
|
27
27
|
steps?: AgentConfigBlockDtoSteps;
|
|
28
28
|
/**
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
* Sampling temperature
|
|
30
|
+
* @nullable
|
|
31
|
+
*/
|
|
32
32
|
temperature?: AgentConfigBlockDtoTemperature;
|
|
33
33
|
/**
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
* OpenCode tools allow-list (nested map)
|
|
35
|
+
* @nullable
|
|
36
|
+
*/
|
|
37
37
|
tools?: AgentConfigBlockDtoTools;
|
|
38
38
|
/**
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
* OpenCode permission map (nested)
|
|
40
|
+
* @nullable
|
|
41
|
+
*/
|
|
42
42
|
permission?: AgentConfigBlockDtoPermission;
|
|
43
43
|
}
|
|
@@ -12,28 +12,28 @@ import type { ScopeSource } from './scopeSource.js';
|
|
|
12
12
|
export interface AgentKernelResponseDto {
|
|
13
13
|
id: string;
|
|
14
14
|
/**
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
* Server-generated immutable revision number.
|
|
16
|
+
* @minimum 1
|
|
17
|
+
*/
|
|
18
18
|
revisionNumber: number;
|
|
19
19
|
orgId: string;
|
|
20
20
|
source: ScopeSource;
|
|
21
21
|
/**
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
* Biome id when source='biome', otherwise null.
|
|
23
|
+
* @nullable
|
|
24
|
+
*/
|
|
25
25
|
biomeId?: string | null;
|
|
26
26
|
/** @nullable */
|
|
27
27
|
projectId?: string | null;
|
|
28
28
|
/**
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
* Owning user id when source='user', otherwise null.
|
|
30
|
+
* @nullable
|
|
31
|
+
*/
|
|
32
32
|
ownerUserId?: string | null;
|
|
33
33
|
/**
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
* 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.
|
|
35
|
+
* @nullable
|
|
36
|
+
*/
|
|
37
37
|
forkedFrom?: string | null;
|
|
38
38
|
slug: string;
|
|
39
39
|
displayName: string;
|
|
@@ -42,9 +42,9 @@ export interface AgentKernelResponseDto {
|
|
|
42
42
|
systemPrompt: string;
|
|
43
43
|
modelClass: AgentKernelResponseDtoModelClass;
|
|
44
44
|
/**
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
* `null` defers to the engine/model default.
|
|
46
|
+
* @nullable
|
|
47
|
+
*/
|
|
48
48
|
temperature?: number | null;
|
|
49
49
|
mcpServices: string[];
|
|
50
50
|
isActive: boolean;
|
|
@@ -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 AgentKernelResponseDtoModelClass =
|
|
8
|
+
export type AgentKernelResponseDtoModelClass = typeof AgentKernelResponseDtoModelClass[keyof typeof AgentKernelResponseDtoModelClass];
|
|
9
9
|
export declare const AgentKernelResponseDtoModelClass: {
|
|
10
10
|
readonly coding: "coding";
|
|
11
11
|
readonly review: "review";
|
|
@@ -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 AgentModelOverrideDtoKind =
|
|
8
|
+
export type AgentModelOverrideDtoKind = typeof AgentModelOverrideDtoKind[keyof typeof AgentModelOverrideDtoKind];
|
|
9
9
|
export declare const AgentModelOverrideDtoKind: {
|
|
10
10
|
readonly concrete: "concrete";
|
|
11
11
|
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 AgentModelOverrideDtoModelClass =
|
|
8
|
+
export type AgentModelOverrideDtoModelClass = typeof AgentModelOverrideDtoModelClass[keyof typeof AgentModelOverrideDtoModelClass];
|
|
9
9
|
export declare const AgentModelOverrideDtoModelClass: {
|
|
10
10
|
readonly coding: "coding";
|
|
11
11
|
readonly review: "review";
|
|
@@ -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 AgentModelOverrideResponseDtoScope =
|
|
8
|
+
export type AgentModelOverrideResponseDtoScope = typeof AgentModelOverrideResponseDtoScope[keyof typeof AgentModelOverrideResponseDtoScope];
|
|
9
9
|
export declare const AgentModelOverrideResponseDtoScope: {
|
|
10
10
|
readonly org: "org";
|
|
11
11
|
readonly user: "user";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/**
|
|
9
9
|
* How this node’s instructions combine with the referenced agent systemPrompt. "append" (default) appends after the base prompt; "replace" makes instructions the prompt body (config still inherited).
|
|
10
10
|
*/
|
|
11
|
-
export type AgentNodeDtoPromptMode =
|
|
11
|
+
export type AgentNodeDtoPromptMode = typeof AgentNodeDtoPromptMode[keyof typeof AgentNodeDtoPromptMode];
|
|
12
12
|
export declare const AgentNodeDtoPromptMode: {
|
|
13
13
|
readonly append: "append";
|
|
14
14
|
readonly replace: "replace";
|
|
@@ -10,9 +10,9 @@ import type { OutputSurfaceKind } from './outputSurfaceKind.js';
|
|
|
10
10
|
export interface AgentOutputSurfaceDto {
|
|
11
11
|
kind: OutputSurfaceKind;
|
|
12
12
|
/**
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
* @minimum 1
|
|
14
|
+
* @maximum 65535
|
|
15
|
+
*/
|
|
16
16
|
port?: number;
|
|
17
17
|
healthPath?: string;
|
|
18
18
|
/** Auto-open the output surface pane on first ready signal. */
|
|
@@ -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 AgentOutputSurfaceDtoMode =
|
|
8
|
+
export type AgentOutputSurfaceDtoMode = typeof AgentOutputSurfaceDtoMode[keyof typeof AgentOutputSurfaceDtoMode];
|
|
9
9
|
export declare const AgentOutputSurfaceDtoMode: {
|
|
10
10
|
readonly single: "single";
|
|
11
11
|
readonly multi: "multi";
|
|
@@ -24,8 +24,8 @@ export interface AgentProfileDto {
|
|
|
24
24
|
/** Scope tier the row lives in. `system` rows ship with the platform; `biome` rows are contributed by an installed biome and grouped by `biomeId`; `org` rows are authored in the org; `project` rows are scoped to a single project. */
|
|
25
25
|
source: string;
|
|
26
26
|
/**
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
* Biome id when source='biome', otherwise null. Used by the FE talent-pool view to group biome-contributed agents under a single category bucket.
|
|
28
|
+
* @nullable
|
|
29
|
+
*/
|
|
30
30
|
biomeId?: string | null;
|
|
31
31
|
}
|
|
@@ -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 AgentProfileDtoModelClass =
|
|
8
|
+
export type AgentProfileDtoModelClass = typeof AgentProfileDtoModelClass[keyof typeof AgentProfileDtoModelClass];
|
|
9
9
|
export declare const AgentProfileDtoModelClass: {
|
|
10
10
|
readonly coding: "coding";
|
|
11
11
|
readonly review: "review";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/**
|
|
9
9
|
* The root composition agent's reach-tier permission ceiling (Chunk 2). A composition row with no explicit tier resolves to `as-owner` (the default), so this field is always populated. agent-session-api persists it onto the session and stamps it onto `ExecutionContext.reachTier` so authorization-api applies the tier constraint inside the verdict.
|
|
10
10
|
*/
|
|
11
|
-
export type AgentReachTier =
|
|
11
|
+
export type AgentReachTier = typeof AgentReachTier[keyof typeof AgentReachTier];
|
|
12
12
|
export declare const AgentReachTier: {
|
|
13
13
|
readonly sandbox: "sandbox";
|
|
14
14
|
readonly 'as-owner': "as-owner";
|
|
@@ -16,8 +16,8 @@ export interface AgentRevisionHistoryEntryDto {
|
|
|
16
16
|
restoredFromRevisionId?: string | null;
|
|
17
17
|
createdBy: string;
|
|
18
18
|
/**
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
* Advanced provenance only. May contain sourceVersion/sourceCommit; it is not a version selector.
|
|
20
|
+
* @nullable
|
|
21
|
+
*/
|
|
22
22
|
sourceProvenance?: AgentRevisionHistoryEntryDtoSourceProvenance;
|
|
23
23
|
}
|
|
@@ -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 AgentRunRole =
|
|
8
|
+
export type AgentRunRole = typeof AgentRunRole[keyof typeof AgentRunRole];
|
|
9
9
|
export declare const AgentRunRole: {
|
|
10
10
|
readonly 'unit-worker': "unit-worker";
|
|
11
11
|
readonly coordinator: "coordinator";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/**
|
|
9
9
|
* The resolved agent's declared default session lifecycle (`ephemeral`|`persistent`), or null when it declares no preference. agent-session-api inherits this as the session `lifecyclePolicy` unless the launch passes an explicit override; null ⇒ agent-session applies its own `ephemeral` default last.
|
|
10
10
|
*/
|
|
11
|
-
export type AgentSessionLifecycle =
|
|
11
|
+
export type AgentSessionLifecycle = typeof AgentSessionLifecycle[keyof typeof AgentSessionLifecycle];
|
|
12
12
|
export declare const AgentSessionLifecycle: {
|
|
13
13
|
readonly ephemeral: "ephemeral";
|
|
14
14
|
readonly persistent: "persistent";
|
|
@@ -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 AgentToolRefDtoKind =
|
|
8
|
+
export type AgentToolRefDtoKind = typeof AgentToolRefDtoKind[keyof typeof AgentToolRefDtoKind];
|
|
9
9
|
export declare const AgentToolRefDtoKind: {
|
|
10
10
|
readonly provider: "provider";
|
|
11
11
|
readonly tool: "tool";
|
|
@@ -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 AgentWorkingFileDtoFormat =
|
|
8
|
+
export type AgentWorkingFileDtoFormat = typeof AgentWorkingFileDtoFormat[keyof typeof AgentWorkingFileDtoFormat];
|
|
9
9
|
export declare const AgentWorkingFileDtoFormat: {
|
|
10
10
|
readonly markdown: "markdown";
|
|
11
11
|
readonly html: "html";
|
|
@@ -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 AgentWorkingFileDtoSyncDirection =
|
|
8
|
+
export type AgentWorkingFileDtoSyncDirection = typeof AgentWorkingFileDtoSyncDirection[keyof typeof AgentWorkingFileDtoSyncDirection];
|
|
9
9
|
export declare const AgentWorkingFileDtoSyncDirection: {
|
|
10
10
|
readonly 'down-only': "down-only";
|
|
11
11
|
readonly 'up-only': "up-only";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/**
|
|
9
9
|
* SDK / API type
|
|
10
10
|
*/
|
|
11
|
-
export type CatalogProviderDtoApiType =
|
|
11
|
+
export type CatalogProviderDtoApiType = typeof CatalogProviderDtoApiType[keyof typeof CatalogProviderDtoApiType];
|
|
12
12
|
export declare const CatalogProviderDtoApiType: {
|
|
13
13
|
readonly 'openai-compatible': "openai-compatible";
|
|
14
14
|
readonly anthropic: "anthropic";
|
|
@@ -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 CatalogProviderDtoAuthType =
|
|
8
|
+
export type CatalogProviderDtoAuthType = typeof CatalogProviderDtoAuthType[keyof typeof CatalogProviderDtoAuthType];
|
|
9
9
|
export declare const CatalogProviderDtoAuthType: {
|
|
10
10
|
readonly bearer: "bearer";
|
|
11
11
|
readonly 'api-key-header': "api-key-header";
|
|
@@ -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 CatalogProviderDtoTier =
|
|
8
|
+
export type CatalogProviderDtoTier = typeof CatalogProviderDtoTier[keyof typeof CatalogProviderDtoTier];
|
|
9
9
|
export declare const CatalogProviderDtoTier: {
|
|
10
10
|
readonly featured: "featured";
|
|
11
11
|
readonly popular: "popular";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/**
|
|
9
9
|
* LLM-routing tier. Strategy entries map class → modelSlug. Distinct from AgentRunRole (permissions).
|
|
10
10
|
*/
|
|
11
|
-
export type CreateAgentKernelDtoModelClass =
|
|
11
|
+
export type CreateAgentKernelDtoModelClass = typeof CreateAgentKernelDtoModelClass[keyof typeof CreateAgentKernelDtoModelClass];
|
|
12
12
|
export declare const CreateAgentKernelDtoModelClass: {
|
|
13
13
|
readonly coding: "coding";
|
|
14
14
|
readonly review: "review";
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
import type { CreateCodeStandardDtoCategory } from './createCodeStandardDtoCategory.js';
|
|
9
9
|
export interface CreateCodeStandardDto {
|
|
10
10
|
/**
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
* Project ID — null for org-wide standard
|
|
12
|
+
* @nullable
|
|
13
|
+
*/
|
|
14
14
|
projectId?: string | null;
|
|
15
15
|
category: CreateCodeStandardDtoCategory;
|
|
16
16
|
name: string;
|
|
@@ -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 CreateCodeStandardDtoCategory =
|
|
8
|
+
export type CreateCodeStandardDtoCategory = typeof CreateCodeStandardDtoCategory[keyof typeof CreateCodeStandardDtoCategory];
|
|
9
9
|
export declare const CreateCodeStandardDtoCategory: {
|
|
10
10
|
readonly code_style: "code_style";
|
|
11
11
|
readonly api_conventions: "api_conventions";
|
|
@@ -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 CreateModelResolutionRuleDtoTargetKind =
|
|
11
|
+
export type CreateModelResolutionRuleDtoTargetKind = typeof CreateModelResolutionRuleDtoTargetKind[keyof typeof CreateModelResolutionRuleDtoTargetKind];
|
|
12
12
|
export declare const CreateModelResolutionRuleDtoTargetKind: {
|
|
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 CreateModelResolutionRuleDtoTargetModelClass =
|
|
11
|
+
export type CreateModelResolutionRuleDtoTargetModelClass = typeof CreateModelResolutionRuleDtoTargetModelClass[keyof typeof CreateModelResolutionRuleDtoTargetModelClass];
|
|
12
12
|
export declare const CreateModelResolutionRuleDtoTargetModelClass: {
|
|
13
13
|
readonly coding: "coding";
|
|
14
14
|
readonly review: "review";
|
|
@@ -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 CreateModelStrategyDtoProviderFocus =
|
|
8
|
+
export type CreateModelStrategyDtoProviderFocus = typeof CreateModelStrategyDtoProviderFocus[keyof typeof CreateModelStrategyDtoProviderFocus];
|
|
9
9
|
export declare const CreateModelStrategyDtoProviderFocus: {
|
|
10
10
|
readonly claude: "claude";
|
|
11
11
|
readonly openai: "openai";
|
|
@@ -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 CreateModelStrategyDtoTier =
|
|
8
|
+
export type CreateModelStrategyDtoTier = typeof CreateModelStrategyDtoTier[keyof typeof CreateModelStrategyDtoTier];
|
|
9
9
|
export declare const CreateModelStrategyDtoTier: {
|
|
10
10
|
readonly ultra: "ultra";
|
|
11
11
|
readonly balanced: "balanced";
|
|
@@ -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 CreateModelStrategyEntryDtoModelClass =
|
|
8
|
+
export type CreateModelStrategyEntryDtoModelClass = typeof CreateModelStrategyEntryDtoModelClass[keyof typeof CreateModelStrategyEntryDtoModelClass];
|
|
9
9
|
export declare const CreateModelStrategyEntryDtoModelClass: {
|
|
10
10
|
readonly coding: "coding";
|
|
11
11
|
readonly review: "review";
|
|
@@ -18,8 +18,8 @@ export interface CreateProviderDto {
|
|
|
18
18
|
/** Catalog provider slug — used to seed known models on creation */
|
|
19
19
|
catalogSlug?: string;
|
|
20
20
|
/**
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
* Maximum concurrent requests allowed to this provider. Null = unlimited.
|
|
22
|
+
* @minimum 1
|
|
23
|
+
*/
|
|
24
24
|
maxConcurrentRequests?: number;
|
|
25
25
|
}
|
|
@@ -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 CreateProviderDtoApiType =
|
|
8
|
+
export type CreateProviderDtoApiType = typeof CreateProviderDtoApiType[keyof typeof CreateProviderDtoApiType];
|
|
9
9
|
export declare const CreateProviderDtoApiType: {
|
|
10
10
|
readonly 'openai-compatible': "openai-compatible";
|
|
11
11
|
readonly anthropic: "anthropic";
|
|
@@ -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 CreateProviderDtoAuthType =
|
|
8
|
+
export type CreateProviderDtoAuthType = typeof CreateProviderDtoAuthType[keyof typeof CreateProviderDtoAuthType];
|
|
9
9
|
export declare const CreateProviderDtoAuthType: {
|
|
10
10
|
readonly bearer: "bearer";
|
|
11
11
|
readonly 'api-key-header': "api-key-header";
|
|
@@ -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 CredentialKind =
|
|
8
|
+
export type CredentialKind = typeof CredentialKind[keyof typeof CredentialKind];
|
|
9
9
|
export declare const CredentialKind: {
|
|
10
10
|
readonly 'llm-provider': "llm-provider";
|
|
11
11
|
readonly 'scm-token': "scm-token";
|
|
@@ -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 EmbeddingCommitmentDtoState =
|
|
8
|
+
export type EmbeddingCommitmentDtoState = typeof EmbeddingCommitmentDtoState[keyof typeof EmbeddingCommitmentDtoState];
|
|
9
9
|
export declare const EmbeddingCommitmentDtoState: {
|
|
10
10
|
readonly proposed: "proposed";
|
|
11
11
|
readonly active: "active";
|
|
@@ -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 EmbeddingMigrationDtoState =
|
|
8
|
+
export type EmbeddingMigrationDtoState = typeof EmbeddingMigrationDtoState[keyof typeof EmbeddingMigrationDtoState];
|
|
9
9
|
export declare const EmbeddingMigrationDtoState: {
|
|
10
10
|
readonly approved: "approved";
|
|
11
11
|
readonly in_progress: "in_progress";
|
package/dist/models/index.d.ts
CHANGED
|
@@ -280,6 +280,11 @@ export * from './roleCapabilityProfileDtoWritePolicy';
|
|
|
280
280
|
export * from './scopeSource';
|
|
281
281
|
export * from './standingSessionRefDto';
|
|
282
282
|
export * from './startEmbeddingMigrationDto';
|
|
283
|
+
export * from './strategyTemplateAvailabilityDto';
|
|
284
|
+
export * from './strategyTemplateAvailabilityDtoReasonsItem';
|
|
285
|
+
export * from './strategyTemplateEntryDto';
|
|
286
|
+
export * from './strategyTemplateResponseDto';
|
|
287
|
+
export * from './strategyTemplateResponseDtoPaginatedEnvelope';
|
|
283
288
|
export * from './syncModelsResponseDto';
|
|
284
289
|
export * from './syncModelsResponseDtoDataEnvelope';
|
|
285
290
|
export * from './toolProfileResponseDto';
|
package/dist/models/index.js
CHANGED
|
@@ -297,6 +297,11 @@ __exportStar(require("./roleCapabilityProfileDtoWritePolicy"), exports);
|
|
|
297
297
|
__exportStar(require("./scopeSource"), exports);
|
|
298
298
|
__exportStar(require("./standingSessionRefDto"), exports);
|
|
299
299
|
__exportStar(require("./startEmbeddingMigrationDto"), exports);
|
|
300
|
+
__exportStar(require("./strategyTemplateAvailabilityDto"), exports);
|
|
301
|
+
__exportStar(require("./strategyTemplateAvailabilityDtoReasonsItem"), exports);
|
|
302
|
+
__exportStar(require("./strategyTemplateEntryDto"), exports);
|
|
303
|
+
__exportStar(require("./strategyTemplateResponseDto"), exports);
|
|
304
|
+
__exportStar(require("./strategyTemplateResponseDtoPaginatedEnvelope"), exports);
|
|
300
305
|
__exportStar(require("./syncModelsResponseDto"), exports);
|
|
301
306
|
__exportStar(require("./syncModelsResponseDtoDataEnvelope"), exports);
|
|
302
307
|
__exportStar(require("./toolProfileResponseDto"), exports);
|
|
@@ -15,9 +15,9 @@ export interface LlmReadinessResponseDto {
|
|
|
15
15
|
/** Human-readable status message */
|
|
16
16
|
message: string;
|
|
17
17
|
/**
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
* Suggested remediation action
|
|
19
|
+
* @nullable
|
|
20
|
+
*/
|
|
21
21
|
action?: LlmReadinessResponseDtoAction;
|
|
22
22
|
/** Additional diagnostic details */
|
|
23
23
|
details?: LlmReadinessDetailsDto;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* Suggested remediation action
|
|
10
10
|
* @nullable
|
|
11
11
|
*/
|
|
12
|
-
export type LlmReadinessResponseDtoAction =
|
|
12
|
+
export type LlmReadinessResponseDtoAction = typeof LlmReadinessResponseDtoAction[keyof typeof LlmReadinessResponseDtoAction] | null;
|
|
13
13
|
export declare const LlmReadinessResponseDtoAction: {
|
|
14
14
|
readonly add_provider: "add_provider";
|
|
15
15
|
readonly add_credentials: "add_credentials";
|
|
@@ -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 LlmReadinessResponseDtoStatus =
|
|
8
|
+
export type LlmReadinessResponseDtoStatus = typeof LlmReadinessResponseDtoStatus[keyof typeof LlmReadinessResponseDtoStatus];
|
|
9
9
|
export declare const LlmReadinessResponseDtoStatus: {
|
|
10
10
|
readonly ready: "ready";
|
|
11
11
|
readonly missing_provider: "missing_provider";
|