@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
|
@@ -34,9 +34,9 @@ export interface RenderAgentRunContextRequestDto {
|
|
|
34
34
|
/** @nullable */
|
|
35
35
|
jobRunId?: string | null;
|
|
36
36
|
/**
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
* Interactive-surface analogue of `workflowRunId`. Set by workspace-proxy when composing mount sources for an interactive session (chat / brainstorming) so `contextJson.invocation.sessionId` is populated instead of `runId`. Pipeline flows leave this null.
|
|
38
|
+
* @nullable
|
|
39
|
+
*/
|
|
40
40
|
sessionId?: string | null;
|
|
41
41
|
/** @nullable */
|
|
42
42
|
correlationId?: string | null;
|
|
@@ -16,9 +16,9 @@ export interface ResolveFullResponseDto {
|
|
|
16
16
|
/** Agent display name. */
|
|
17
17
|
displayName: string;
|
|
18
18
|
/**
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
* Agent description.
|
|
20
|
+
* @nullable
|
|
21
|
+
*/
|
|
22
22
|
description?: string | null;
|
|
23
23
|
/** Execution mode (primary, subagent). */
|
|
24
24
|
executionMode: string;
|
|
@@ -27,14 +27,14 @@ export interface ResolveFullResponseDto {
|
|
|
27
27
|
/** Merged system prompt (base + project override append). */
|
|
28
28
|
systemPrompt: string;
|
|
29
29
|
/**
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
* Effective temperature. `null` defers to the engine/model default.
|
|
31
|
+
* @nullable
|
|
32
|
+
*/
|
|
33
33
|
temperature?: number | null;
|
|
34
34
|
/**
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
* AGENTS.md default content.
|
|
36
|
+
* @nullable
|
|
37
|
+
*/
|
|
38
38
|
agentsmdDefault?: string | null;
|
|
39
39
|
/** Merged tool profiles. */
|
|
40
40
|
toolProfiles: ResolvedAgentToolProfileDto[];
|
|
@@ -57,8 +57,8 @@ export interface ResolveFullResponseDto {
|
|
|
57
57
|
/** Full LLM routing record (modelId + providerSlug + opencodeProviderId + temperature + contextWindow). Carries the same data as `model` plus the worker-side `opencodeProviderId`. Decoupled from `structuralConfigHash` on purpose. */
|
|
58
58
|
modelSelection: ResolvedModelSelectionDto;
|
|
59
59
|
/**
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
60
|
+
* Frozen resolved snapshot ID for this top-level resolution.
|
|
61
|
+
* @nullable
|
|
62
|
+
*/
|
|
63
63
|
snapshotId?: string | null;
|
|
64
64
|
}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/**
|
|
9
9
|
* LLM-routing tier. Distinct from AgentRunRole (permissions).
|
|
10
10
|
*/
|
|
11
|
-
export type ResolveFullResponseDtoModelClass =
|
|
11
|
+
export type ResolveFullResponseDtoModelClass = typeof ResolveFullResponseDtoModelClass[keyof typeof ResolveFullResponseDtoModelClass];
|
|
12
12
|
export declare const ResolveFullResponseDtoModelClass: {
|
|
13
13
|
readonly coding: "coding";
|
|
14
14
|
readonly review: "review";
|
|
@@ -12,9 +12,9 @@ export interface ResolvedAgentKernelResponseDto {
|
|
|
12
12
|
modelClass: ResolvedAgentKernelResponseDtoModelClass;
|
|
13
13
|
systemPrompt: string;
|
|
14
14
|
/**
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
* `null` defers to the engine/model default.
|
|
16
|
+
* @nullable
|
|
17
|
+
*/
|
|
18
18
|
temperature?: number | null;
|
|
19
19
|
mcpServices: string[];
|
|
20
20
|
source: 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 ResolvedAgentKernelResponseDtoModelClass =
|
|
8
|
+
export type ResolvedAgentKernelResponseDtoModelClass = typeof ResolvedAgentKernelResponseDtoModelClass[keyof typeof ResolvedAgentKernelResponseDtoModelClass];
|
|
9
9
|
export declare const ResolvedAgentKernelResponseDtoModelClass: {
|
|
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 ResolvedAgentModelResponseDtoSource =
|
|
8
|
+
export type ResolvedAgentModelResponseDtoSource = typeof ResolvedAgentModelResponseDtoSource[keyof typeof ResolvedAgentModelResponseDtoSource];
|
|
9
9
|
export declare const ResolvedAgentModelResponseDtoSource: {
|
|
10
10
|
readonly project: "project";
|
|
11
11
|
readonly user: "user";
|
|
@@ -16,15 +16,15 @@ import type { StandingSessionRefDto } from './standingSessionRefDto.js';
|
|
|
16
16
|
import type { WorkspaceSharingPolicy } from './workspaceSharingPolicy.js';
|
|
17
17
|
export interface ResolvedAgentResponseDto {
|
|
18
18
|
/**
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
* Immutable AgentRevision id selected at published resolution. Null only for mutable Studio drafts.
|
|
20
|
+
* @nullable
|
|
21
|
+
*/
|
|
22
22
|
agentRevisionId?: string | null;
|
|
23
23
|
/**
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
* SHA-256 of the immutable AgentRevision content. Null only for mutable Studio drafts.
|
|
25
|
+
* @nullable
|
|
26
|
+
* @pattern ^[a-f0-9]{64}$
|
|
27
|
+
*/
|
|
28
28
|
agentContentHash?: string | null;
|
|
29
29
|
slug: string;
|
|
30
30
|
/** Server-generated immutable revision number. */
|
|
@@ -52,13 +52,13 @@ export interface ResolvedAgentResponseDto {
|
|
|
52
52
|
/** Resolved workspace-layout config — present when the source composition declared a workspace block. The `${input.x}` interpolation in env values is already resolved here. The workspace pipeline projects this onto the run's WorkspaceSpec. */
|
|
53
53
|
workspace?: AgentWorkspaceDto;
|
|
54
54
|
/**
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
* Content address of the prepared immutable session launch plan.
|
|
56
|
+
* @nullable
|
|
57
|
+
*/
|
|
58
58
|
compiledLaunchPlanHash?: string | null;
|
|
59
59
|
/**
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
60
|
+
* Hash of the prepared plan RuntimeTemplateKey.
|
|
61
|
+
* @nullable
|
|
62
|
+
*/
|
|
63
63
|
runtimeTemplateHash?: string | null;
|
|
64
64
|
}
|
|
@@ -15,9 +15,9 @@ export interface ResolvedAgentToolProfileDto {
|
|
|
15
15
|
/** Explicitly denied tools. */
|
|
16
16
|
deniedTools: string[];
|
|
17
17
|
/**
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
* Catalog ID for the tool source.
|
|
19
|
+
* @nullable
|
|
20
|
+
*/
|
|
21
21
|
catalogId?: string | null;
|
|
22
22
|
/** Whether this tool profile is optional. */
|
|
23
23
|
isOptional: boolean;
|
|
@@ -17,14 +17,14 @@ export interface ResolvedConfigSnapshotResponseDto {
|
|
|
17
17
|
/** Agent slug captured by this snapshot. */
|
|
18
18
|
agentSlug: string;
|
|
19
19
|
/**
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
* External payload object key when the snapshot is offloaded from the database.
|
|
21
|
+
* @nullable
|
|
22
|
+
*/
|
|
23
23
|
payloadObjectKey?: ResolvedConfigSnapshotResponseDtoPayloadObjectKey;
|
|
24
24
|
/**
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
* Inline snapshot payload stored in the database.
|
|
26
|
+
* @nullable
|
|
27
|
+
*/
|
|
28
28
|
payload?: ResolvedConfigSnapshotResponseDtoPayload;
|
|
29
29
|
/** Snapshot schema version. */
|
|
30
30
|
snapshotSchemaVersion: number;
|
|
@@ -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 ResolvedEmbeddingCommitmentDtoState =
|
|
8
|
+
export type ResolvedEmbeddingCommitmentDtoState = typeof ResolvedEmbeddingCommitmentDtoState[keyof typeof ResolvedEmbeddingCommitmentDtoState];
|
|
9
9
|
export declare const ResolvedEmbeddingCommitmentDtoState: {
|
|
10
10
|
readonly proposed: "proposed";
|
|
11
11
|
readonly active: "active";
|
|
@@ -10,9 +10,9 @@ export interface ResolvedModelDecisionDto {
|
|
|
10
10
|
/** The resolved model reference. */
|
|
11
11
|
model: ResolvedModelRefDto;
|
|
12
12
|
/**
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
* Id of the rule that won; null when the implicit default fallback was used.
|
|
14
|
+
* @nullable
|
|
15
|
+
*/
|
|
16
16
|
matchedRuleId?: string | null;
|
|
17
17
|
/** Dimensions the winning rule matched on. */
|
|
18
18
|
matchedDimensions: string[];
|
|
@@ -10,19 +10,19 @@ import type { ResolvedModelRefDtoModelClass } from './resolvedModelRefDtoModelCl
|
|
|
10
10
|
export interface ResolvedModelRefDto {
|
|
11
11
|
kind: ResolvedModelRefDtoKind;
|
|
12
12
|
/**
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
* Concrete model id (kind=concrete).
|
|
14
|
+
* @nullable
|
|
15
|
+
*/
|
|
16
16
|
modelId?: string | null;
|
|
17
17
|
/**
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
* Provider slug pinned by the rule (kind=concrete).
|
|
19
|
+
* @nullable
|
|
20
|
+
*/
|
|
21
21
|
providerSlug?: string | null;
|
|
22
22
|
/**
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
* Strategy routing class (kind=strategy).
|
|
24
|
+
* @nullable
|
|
25
|
+
*/
|
|
26
26
|
modelClass?: ResolvedModelRefDtoModelClass;
|
|
27
27
|
/** @nullable */
|
|
28
28
|
temperature?: number | null;
|
|
@@ -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 ResolvedModelRefDtoKind =
|
|
8
|
+
export type ResolvedModelRefDtoKind = typeof ResolvedModelRefDtoKind[keyof typeof ResolvedModelRefDtoKind];
|
|
9
9
|
export declare const ResolvedModelRefDtoKind: {
|
|
10
10
|
readonly concrete: "concrete";
|
|
11
11
|
readonly strategy: "strategy";
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* Strategy routing class (kind=strategy).
|
|
10
10
|
* @nullable
|
|
11
11
|
*/
|
|
12
|
-
export type ResolvedModelRefDtoModelClass =
|
|
12
|
+
export type ResolvedModelRefDtoModelClass = typeof ResolvedModelRefDtoModelClass[keyof typeof ResolvedModelRefDtoModelClass] | null;
|
|
13
13
|
export declare const ResolvedModelRefDtoModelClass: {
|
|
14
14
|
readonly coding: "coding";
|
|
15
15
|
readonly review: "review";
|
|
@@ -12,19 +12,19 @@ export interface ResolvedModelSelectionDto {
|
|
|
12
12
|
/** @nullable */
|
|
13
13
|
providerSlug?: string | null;
|
|
14
14
|
/**
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
* OpenCode provider ID (worker-side routing).
|
|
16
|
+
* @nullable
|
|
17
|
+
*/
|
|
18
18
|
opencodeProviderId?: string | null;
|
|
19
19
|
/**
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
* `null` defers to the engine/model default.
|
|
21
|
+
* @nullable
|
|
22
|
+
*/
|
|
23
23
|
temperature?: number | null;
|
|
24
24
|
/**
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
* Context window (tokens).
|
|
26
|
+
* @nullable
|
|
27
|
+
*/
|
|
28
28
|
contextWindow?: number | null;
|
|
29
29
|
/** Model capabilities (e.g. vision). */
|
|
30
30
|
capabilities?: string[];
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/**
|
|
9
9
|
* Source of the model resolution.
|
|
10
10
|
*/
|
|
11
|
-
export type ResolvedModelSelectionDtoSource =
|
|
11
|
+
export type ResolvedModelSelectionDtoSource = typeof ResolvedModelSelectionDtoSource[keyof typeof ResolvedModelSelectionDtoSource];
|
|
12
12
|
export declare const ResolvedModelSelectionDtoSource: {
|
|
13
13
|
readonly matrix: "matrix";
|
|
14
14
|
readonly strategy: "strategy";
|
|
@@ -8,19 +8,19 @@
|
|
|
8
8
|
import type { ResolvedModelStubDtoSource } from './resolvedModelStubDtoSource.js';
|
|
9
9
|
export interface ResolvedModelStubDto {
|
|
10
10
|
/**
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
* Resolved model ID (null when unresolved).
|
|
12
|
+
* @nullable
|
|
13
|
+
*/
|
|
14
14
|
modelId?: string | null;
|
|
15
15
|
/**
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
* Provider slug (null when unresolved).
|
|
17
|
+
* @nullable
|
|
18
|
+
*/
|
|
19
19
|
providerSlug?: string | null;
|
|
20
20
|
/**
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
* Temperature for the model. `null` defers to the engine/model default.
|
|
22
|
+
* @nullable
|
|
23
|
+
*/
|
|
24
24
|
temperature?: number | null;
|
|
25
25
|
/** Source of the model resolution. */
|
|
26
26
|
source: ResolvedModelStubDtoSource;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/**
|
|
9
9
|
* Source of the model resolution.
|
|
10
10
|
*/
|
|
11
|
-
export type ResolvedModelStubDtoSource =
|
|
11
|
+
export type ResolvedModelStubDtoSource = typeof ResolvedModelStubDtoSource[keyof typeof ResolvedModelStubDtoSource];
|
|
12
12
|
export declare const ResolvedModelStubDtoSource: {
|
|
13
13
|
readonly matrix: "matrix";
|
|
14
14
|
readonly strategy: "strategy";
|
|
@@ -15,9 +15,9 @@ export interface ResolvedPhaseConfigDto {
|
|
|
15
15
|
providerBaseUrl: string;
|
|
16
16
|
providerApiType: string;
|
|
17
17
|
/**
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
* `null` defers to the engine/model default.
|
|
19
|
+
* @nullable
|
|
20
|
+
*/
|
|
21
21
|
temperature?: number | null;
|
|
22
22
|
source: string;
|
|
23
23
|
/** Model Resolution Matrix win-reason trace — which rule won and why. Null only for the persisted per-agent override path. */
|
|
@@ -10,9 +10,9 @@ export interface ResolvedSkillEntryDto {
|
|
|
10
10
|
/** Skill key/slug. */
|
|
11
11
|
key: string;
|
|
12
12
|
/**
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
* Display name.
|
|
14
|
+
* @nullable
|
|
15
|
+
*/
|
|
16
16
|
displayName?: string | null;
|
|
17
17
|
/** How this skill was selected (resolution layer). */
|
|
18
18
|
source: ResolvedSkillEntryDtoSource;
|
|
@@ -8,10 +8,8 @@
|
|
|
8
8
|
/**
|
|
9
9
|
* How this skill was selected (resolution layer).
|
|
10
10
|
*/
|
|
11
|
-
export type ResolvedSkillEntryDtoSource =
|
|
11
|
+
export type ResolvedSkillEntryDtoSource = typeof ResolvedSkillEntryDtoSource[keyof typeof ResolvedSkillEntryDtoSource];
|
|
12
12
|
export declare const ResolvedSkillEntryDtoSource: {
|
|
13
13
|
readonly system: "system";
|
|
14
14
|
readonly base: "base";
|
|
15
|
-
readonly pinned: "pinned";
|
|
16
|
-
readonly context: "context";
|
|
17
15
|
};
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/**
|
|
9
9
|
* Whether the role may edit repositories
|
|
10
10
|
*/
|
|
11
|
-
export type RoleCapabilityProfileDtoMayEditRepos =
|
|
11
|
+
export type RoleCapabilityProfileDtoMayEditRepos = typeof RoleCapabilityProfileDtoMayEditRepos[keyof typeof RoleCapabilityProfileDtoMayEditRepos];
|
|
12
12
|
export declare const RoleCapabilityProfileDtoMayEditRepos: {
|
|
13
13
|
readonly never: "never";
|
|
14
14
|
readonly 'when-granted': "when-granted";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/**
|
|
9
9
|
* Where this role may run
|
|
10
10
|
*/
|
|
11
|
-
export type RoleCapabilityProfileDtoSurface =
|
|
11
|
+
export type RoleCapabilityProfileDtoSurface = typeof RoleCapabilityProfileDtoSurface[keyof typeof RoleCapabilityProfileDtoSurface];
|
|
12
12
|
export declare const RoleCapabilityProfileDtoSurface: {
|
|
13
13
|
readonly 'pipeline-run': "pipeline-run";
|
|
14
14
|
readonly 'agent-session': "agent-session";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/**
|
|
9
9
|
* Workspace write policy
|
|
10
10
|
*/
|
|
11
|
-
export type RoleCapabilityProfileDtoWritePolicy =
|
|
11
|
+
export type RoleCapabilityProfileDtoWritePolicy = typeof RoleCapabilityProfileDtoWritePolicy[keyof typeof RoleCapabilityProfileDtoWritePolicy];
|
|
12
12
|
export declare const RoleCapabilityProfileDtoWritePolicy: {
|
|
13
13
|
readonly 'read-only': "read-only";
|
|
14
14
|
readonly 'own-pages-only': "own-pages-only";
|
|
@@ -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 ScopeSource =
|
|
8
|
+
export type ScopeSource = typeof ScopeSource[keyof typeof ScopeSource];
|
|
9
9
|
export declare const ScopeSource: {
|
|
10
10
|
readonly system: "system";
|
|
11
11
|
readonly biome: "biome";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* LLM Registry API
|
|
5
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
+
* OpenAPI spec version: 0.1.3
|
|
7
|
+
*/
|
|
8
|
+
import type { StrategyTemplateAvailabilityDtoReasonsItem } from './strategyTemplateAvailabilityDtoReasonsItem.js';
|
|
9
|
+
import type { StrategyTemplateEntryDto } from './strategyTemplateEntryDto.js';
|
|
10
|
+
export interface StrategyTemplateAvailabilityDto {
|
|
11
|
+
/** Whether this org can run every entry in the template today. */
|
|
12
|
+
available: boolean;
|
|
13
|
+
/** Why the template is unavailable. Empty when available. */
|
|
14
|
+
reasons: StrategyTemplateAvailabilityDtoReasonsItem[];
|
|
15
|
+
/** Entries whose model this org has not registered. */
|
|
16
|
+
missingModels: StrategyTemplateEntryDto[];
|
|
17
|
+
/** Provider slugs that would supply the missing models, for a one-click fix. */
|
|
18
|
+
suggestedProviderSlugs: string[];
|
|
19
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* LLM Registry API
|
|
5
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
+
* OpenAPI spec version: 0.1.3
|
|
7
|
+
*/
|
|
8
|
+
export type StrategyTemplateAvailabilityDtoReasonsItem = typeof StrategyTemplateAvailabilityDtoReasonsItem[keyof typeof StrategyTemplateAvailabilityDtoReasonsItem];
|
|
9
|
+
export declare const StrategyTemplateAvailabilityDtoReasonsItem: {
|
|
10
|
+
readonly missing_provider: "missing_provider";
|
|
11
|
+
readonly missing_credentials: "missing_credentials";
|
|
12
|
+
readonly missing_model: "missing_model";
|
|
13
|
+
readonly inactive_model: "inactive_model";
|
|
14
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.16.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* LLM Registry API
|
|
6
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
7
|
+
* OpenAPI spec version: 0.1.3
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.StrategyTemplateAvailabilityDtoReasonsItem = void 0;
|
|
11
|
+
exports.StrategyTemplateAvailabilityDtoReasonsItem = {
|
|
12
|
+
missing_provider: 'missing_provider',
|
|
13
|
+
missing_credentials: 'missing_credentials',
|
|
14
|
+
missing_model: 'missing_model',
|
|
15
|
+
inactive_model: 'inactive_model',
|
|
16
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* LLM Registry API
|
|
5
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
+
* OpenAPI spec version: 0.1.3
|
|
7
|
+
*/
|
|
8
|
+
export interface StrategyTemplateEntryDto {
|
|
9
|
+
/** Routing tier this entry configures. */
|
|
10
|
+
modelClass: string;
|
|
11
|
+
/** Model the tier resolves to. */
|
|
12
|
+
modelSlug: string;
|
|
13
|
+
/**
|
|
14
|
+
* Sampling temperature, or null to let the engine/model own the default.
|
|
15
|
+
* @nullable
|
|
16
|
+
*/
|
|
17
|
+
temperature: number | null;
|
|
18
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.16.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* LLM Registry API
|
|
6
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
7
|
+
* OpenAPI spec version: 0.1.3
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* LLM Registry API
|
|
5
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
+
* OpenAPI spec version: 0.1.3
|
|
7
|
+
*/
|
|
8
|
+
import type { StrategyTemplateAvailabilityDto } from './strategyTemplateAvailabilityDto.js';
|
|
9
|
+
import type { StrategyTemplateEntryDto } from './strategyTemplateEntryDto.js';
|
|
10
|
+
export interface StrategyTemplateResponseDto {
|
|
11
|
+
/** Stable identifier. Adopt by this. */
|
|
12
|
+
slug: string;
|
|
13
|
+
displayName: string;
|
|
14
|
+
/** @nullable */
|
|
15
|
+
description: string | null;
|
|
16
|
+
/** ultra | balanced | fast | turbo */
|
|
17
|
+
tier: string;
|
|
18
|
+
/** Cosmetic grouping label. Read by no server-side logic — it does not participate in model resolution, readiness, or availability. */
|
|
19
|
+
providerFocus: string;
|
|
20
|
+
/** @nullable */
|
|
21
|
+
highlight: string | null;
|
|
22
|
+
costLevel: number;
|
|
23
|
+
/** @nullable */
|
|
24
|
+
speedLabel: string | null;
|
|
25
|
+
/** @nullable */
|
|
26
|
+
qualityLabel: string | null;
|
|
27
|
+
/** @nullable */
|
|
28
|
+
iconHint: string | null;
|
|
29
|
+
recommended: boolean;
|
|
30
|
+
entries: StrategyTemplateEntryDto[];
|
|
31
|
+
availability: StrategyTemplateAvailabilityDto;
|
|
32
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* LLM Registry API
|
|
5
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
+
* OpenAPI spec version: 0.1.3
|
|
7
|
+
*/
|
|
8
|
+
import type { PaginationMeta } from './paginationMeta.js';
|
|
9
|
+
import type { StrategyTemplateResponseDto } from './strategyTemplateResponseDto.js';
|
|
10
|
+
export interface StrategyTemplateResponseDtoPaginatedEnvelope {
|
|
11
|
+
data: StrategyTemplateResponseDto[];
|
|
12
|
+
pagination: PaginationMeta;
|
|
13
|
+
}
|
|
@@ -12,21 +12,21 @@ export interface ToolProfileResponseDto {
|
|
|
12
12
|
orgId?: string | null;
|
|
13
13
|
source: ScopeSource;
|
|
14
14
|
/**
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
* Biome id when source='biome', otherwise null.
|
|
16
|
+
* @nullable
|
|
17
|
+
*/
|
|
18
18
|
biomeId?: string | null;
|
|
19
19
|
/** @nullable */
|
|
20
20
|
projectId?: string | null;
|
|
21
21
|
/**
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
* Owning user id when source='user', otherwise null.
|
|
23
|
+
* @nullable
|
|
24
|
+
*/
|
|
25
25
|
ownerUserId?: string | null;
|
|
26
26
|
/**
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
* Origin reference (`<source>:<biomeId|"">:<key>`) when this row was forked from a biome/system tool profile.
|
|
28
|
+
* @nullable
|
|
29
|
+
*/
|
|
30
30
|
forkedFrom?: string | null;
|
|
31
31
|
agentSlug: string;
|
|
32
32
|
mcpServiceKey: 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 ToolsetKey =
|
|
8
|
+
export type ToolsetKey = typeof ToolsetKey[keyof typeof ToolsetKey];
|
|
9
9
|
export declare const ToolsetKey: {
|
|
10
10
|
readonly read: "read";
|
|
11
11
|
readonly write: "write";
|
|
@@ -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 UpdateAgentKernelDtoModelClass =
|
|
8
|
+
export type UpdateAgentKernelDtoModelClass = typeof UpdateAgentKernelDtoModelClass[keyof typeof UpdateAgentKernelDtoModelClass];
|
|
9
9
|
export declare const UpdateAgentKernelDtoModelClass: {
|
|
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 UpdateModelResolutionRuleDtoTargetKind =
|
|
8
|
+
export type UpdateModelResolutionRuleDtoTargetKind = typeof UpdateModelResolutionRuleDtoTargetKind[keyof typeof UpdateModelResolutionRuleDtoTargetKind];
|
|
9
9
|
export declare const UpdateModelResolutionRuleDtoTargetKind: {
|
|
10
10
|
readonly concrete: "concrete";
|
|
11
11
|
readonly strategy: "strategy";
|