@xemahq/llm-registry-api-client 0.4.0 → 0.4.2
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 +12 -7
- package/dist/endpoints/agent-agents/agent-agents.js +34 -1
- package/dist/endpoints/agent-kernels/agent-kernels.d.ts +5 -5
- package/dist/endpoints/agent-kernels/agent-kernels.js +9 -26
- package/dist/endpoints/catalog/catalog.d.ts +2 -2
- package/dist/endpoints/chat-widget-catalogue/chat-widget-catalogue.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/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/agentControllerCapabilityAnalysisParams.d.ts +13 -0
- package/dist/models/agentControllerListParams.d.ts +12 -3
- package/dist/models/agentControllerResolveDraftCapableParams.d.ts +4 -1
- package/dist/models/agentControllerResolveParams.d.ts +4 -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/agentReachTier.js +16 -0
- package/dist/models/agentResponseDto.d.ts +17 -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 +17 -0
- package/dist/models/durableWorkspaceRefDto.d.ts +11 -0
- package/dist/models/index.d.ts +29 -6
- package/dist/models/index.js +29 -6
- package/dist/models/llmRegistryControllerResolveForInvocationParams.d.ts +5 -0
- package/dist/models/{compositionModelOverrideDtoModelClass.d.ts → llmRegistryControllerResolveForInvocationPreferredModelClass.d.ts} +2 -2
- package/dist/models/{createAgentDefinitionDtoModelClass.js → llmRegistryControllerResolveForInvocationPreferredModelClass.js} +2 -2
- 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/modelResolutionRuleResponseDto.d.ts +47 -0
- package/dist/models/modelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass.d.ts +19 -0
- package/dist/models/{resolvedAgentResponseDtoModelClass.js → modelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass.js} +2 -2
- package/dist/models/modelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind.d.ts +16 -0
- package/dist/models/{compositionModelOverrideDtoKind.js → modelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind.js} +2 -2
- package/dist/models/modelResolutionSelectorDto.d.ts +6 -0
- package/dist/models/modelResolutionSelectorDtoModelCapability.d.ts +19 -0
- package/dist/models/modelResolutionSelectorDtoModelCapability.js +18 -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 +6 -0
- package/dist/models/modelResolutionSelectorResponseDtoModelCapability.d.ts +19 -0
- package/dist/models/modelResolutionSelectorResponseDtoModelCapability.js +18 -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/{compositionPermissionsToolsDto.d.ts → providerProbeResponseDtoDataEnvelope.d.ts} +3 -4
- package/dist/models/resolvedAgentResponseDto.d.ts +19 -0
- package/dist/models/resolvedConfigSnapshotResponseDto.d.ts +0 -5
- package/dist/models/standingSessionRefDto.d.ts +11 -0
- 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 +17 -0
- package/dist/models/{compositionAgentRefDto.d.ts → widgetKindListDtoDataEnvelope.d.ts} +3 -4
- package/dist/models/workspaceSharingPolicy.d.ts +16 -0
- package/dist/models/workspaceSharingPolicy.js +15 -0
- package/package.json +14 -4
- 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/agent-definitions/agent-definitions.d.ts +0 -113
- package/dist/endpoints/agent-definitions/agent-definitions.js +0 -403
- 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/compositionAgentRunConfigDto.d.ts +0 -15
- 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/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.d.ts +0 -10
- 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/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.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/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/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 → durableWorkspaceRefDto.js} +0 -0
- /package/dist/models/{agentDefinitionControllerResolveAgentBlocksParams.js → modelPricingTierDto.js} +0 -0
- /package/dist/models/{agentDefinitionResponseDtoPaginatedEnvelope.js → probeProviderDto.js} +0 -0
- /package/dist/models/{agentDefinitionResponseDtoDefinitionHash.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/{compositionAgentRefDto.js → standingSessionRefDto.js} +0 -0
- /package/dist/models/{compositionAgentRunConfigDto.js → unresolvedToolDto.js} +0 -0
- /package/dist/models/{compositionCapabilityLayerDto.js → widgetKindListDtoDataEnvelope.js} +0 -0
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
+
import type { ModelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass } from './modelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass.js';
|
|
9
|
+
import type { ModelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind } from './modelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind.js';
|
|
8
10
|
import type { ModelResolutionRuleResponseDtoTargetKind } from './modelResolutionRuleResponseDtoTargetKind.js';
|
|
9
11
|
import type { ModelResolutionRuleResponseDtoTargetModelClass } from './modelResolutionRuleResponseDtoTargetModelClass.js';
|
|
10
12
|
import type { ModelResolutionSelectorResponseDto } from './modelResolutionSelectorResponseDto.js';
|
|
@@ -23,6 +25,51 @@ export interface ModelResolutionRuleResponseDto {
|
|
|
23
25
|
targetTemperature?: number | null;
|
|
24
26
|
priority: number;
|
|
25
27
|
isDefault: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* ResourceManagedBy ownership KIND (`ui`/`iac`/`seeder`/`runtime_registered`/`system`). NULL for a plain user/org-admin-authored rule.
|
|
30
|
+
* @nullable
|
|
31
|
+
*/
|
|
32
|
+
managedBy?: string | null;
|
|
33
|
+
/**
|
|
34
|
+
* Owning service identity for a service-actor-upserted rule (derived from the service subject). NULL for authored/reconciler rules.
|
|
35
|
+
* @nullable
|
|
36
|
+
*/
|
|
37
|
+
managedOwner?: string | null;
|
|
38
|
+
/**
|
|
39
|
+
* The owner's stable natural key. NULL for authored rules; non-null for managed/reconciler rows.
|
|
40
|
+
* @nullable
|
|
41
|
+
*/
|
|
42
|
+
managedKey?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* SEAM #2: the service that repointed THIS org-default rule's target (derived from its subject). Non-null ONLY on the default row while a default-target override is active; the flag that an override is in effect. NULL otherwise.
|
|
45
|
+
* @nullable
|
|
46
|
+
*/
|
|
47
|
+
defaultTargetOverrideOwner?: string | null;
|
|
48
|
+
/**
|
|
49
|
+
* SEAM #2: the target KIND the default rule had before the first override, restored on revert. NULL when no override is active.
|
|
50
|
+
* @nullable
|
|
51
|
+
*/
|
|
52
|
+
defaultTargetOverridePrevTargetKind?: ModelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind;
|
|
53
|
+
/**
|
|
54
|
+
* SEAM #2: the concrete model id the default rule had before the first override. NULL when no override is active or the prior default was not concrete.
|
|
55
|
+
* @nullable
|
|
56
|
+
*/
|
|
57
|
+
defaultTargetOverridePrevModelId?: string | null;
|
|
58
|
+
/**
|
|
59
|
+
* SEAM #2: the provider slug the default rule had before the first override. NULL when no override is active.
|
|
60
|
+
* @nullable
|
|
61
|
+
*/
|
|
62
|
+
defaultTargetOverridePrevProviderSlug?: string | null;
|
|
63
|
+
/**
|
|
64
|
+
* SEAM #2: the strategy class the default rule had before the first override. NULL when no override is active or the prior default was not a strategy ref.
|
|
65
|
+
* @nullable
|
|
66
|
+
*/
|
|
67
|
+
defaultTargetOverridePrevModelClass?: ModelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass;
|
|
68
|
+
/**
|
|
69
|
+
* SEAM #2: the temperature the default rule carried before the first override. NULL when no override is active or none was set.
|
|
70
|
+
* @nullable
|
|
71
|
+
*/
|
|
72
|
+
defaultTargetOverridePrevTemperature?: number | null;
|
|
26
73
|
createdBy: string;
|
|
27
74
|
createdAt: string;
|
|
28
75
|
updatedAt: string;
|
|
@@ -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.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* SEAM #2: the strategy class the default rule had before the first override. NULL when no override is active or the prior default was not a strategy ref.
|
|
10
|
+
* @nullable
|
|
11
|
+
*/
|
|
12
|
+
export type ModelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass = typeof ModelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass[keyof typeof ModelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass] | null;
|
|
13
|
+
export declare const ModelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass: {
|
|
14
|
+
readonly coding: "coding";
|
|
15
|
+
readonly review: "review";
|
|
16
|
+
readonly creative: "creative";
|
|
17
|
+
readonly planning: "planning";
|
|
18
|
+
readonly utility: "utility";
|
|
19
|
+
};
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
* OpenAPI spec version: 0.1.0
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
10
|
+
exports.ModelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass = void 0;
|
|
11
|
+
exports.ModelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass = {
|
|
12
12
|
coding: 'coding',
|
|
13
13
|
review: 'review',
|
|
14
14
|
creative: 'creative',
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
/**
|
|
9
|
+
* SEAM #2: the target KIND the default rule had before the first override, restored on revert. NULL when no override is active.
|
|
10
|
+
* @nullable
|
|
11
|
+
*/
|
|
12
|
+
export type ModelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind = typeof ModelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind[keyof typeof ModelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind] | null;
|
|
13
|
+
export declare const ModelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind: {
|
|
14
|
+
readonly concrete: "concrete";
|
|
15
|
+
readonly strategy: "strategy";
|
|
16
|
+
};
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
* OpenAPI spec version: 0.1.0
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
10
|
+
exports.ModelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind = void 0;
|
|
11
|
+
exports.ModelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind = {
|
|
12
12
|
concrete: 'concrete',
|
|
13
13
|
strategy: 'strategy',
|
|
14
14
|
};
|
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
8
|
import type { ModelResolutionSelectorDtoExtra } from './modelResolutionSelectorDtoExtra.js';
|
|
9
|
+
import type { ModelResolutionSelectorDtoModelCapability } from './modelResolutionSelectorDtoModelCapability.js';
|
|
10
|
+
import type { ModelResolutionSelectorDtoModelClass } from './modelResolutionSelectorDtoModelClass.js';
|
|
9
11
|
export interface ModelResolutionSelectorDto {
|
|
10
12
|
/** Match when the resolving agent slug equals this value. */
|
|
11
13
|
agent?: string;
|
|
@@ -17,6 +19,10 @@ export interface ModelResolutionSelectorDto {
|
|
|
17
19
|
stage?: string;
|
|
18
20
|
/** Match when the non-agent invocation purpose equals this value. Used by system flows that route LLM calls outside the agent/skill model (memory summarization, embedding, reorganization). Closed value set is owned per consumer (see `MemoryMatrixPurpose` in memory-api). */
|
|
19
21
|
purpose?: string;
|
|
22
|
+
/** Match when the resolving agent's model class equals this value (the Phase-4 `modelClass` dimension — one rule routes e.g. every `review`-class agent). */
|
|
23
|
+
modelClass?: ModelResolutionSelectorDtoModelClass;
|
|
24
|
+
/** Match when the invocation REQUIRES this model capability/modality (the `modelCapability` dimension — one rule routes e.g. every vision-requiring invocation to a multimodal model without pinning a provider). */
|
|
25
|
+
modelCapability?: ModelResolutionSelectorDtoModelCapability;
|
|
20
26
|
/** Forward-compat bag of additional registry dimensions → required literal. Omit / {} when only structured dimensions are used. */
|
|
21
27
|
extra?: ModelResolutionSelectorDtoExtra;
|
|
22
28
|
}
|
|
@@ -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.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Match when the invocation REQUIRES this model capability/modality (the `modelCapability` dimension — one rule routes e.g. every vision-requiring invocation to a multimodal model without pinning a provider).
|
|
10
|
+
*/
|
|
11
|
+
export type ModelResolutionSelectorDtoModelCapability = typeof ModelResolutionSelectorDtoModelCapability[keyof typeof ModelResolutionSelectorDtoModelCapability];
|
|
12
|
+
export declare const ModelResolutionSelectorDtoModelCapability: {
|
|
13
|
+
readonly vision: "vision";
|
|
14
|
+
readonly long_context: "long_context";
|
|
15
|
+
readonly reasoning: "reasoning";
|
|
16
|
+
readonly function_calling: "function_calling";
|
|
17
|
+
readonly audio: "audio";
|
|
18
|
+
readonly embedding: "embedding";
|
|
19
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
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.ModelResolutionSelectorDtoModelCapability = void 0;
|
|
11
|
+
exports.ModelResolutionSelectorDtoModelCapability = {
|
|
12
|
+
vision: 'vision',
|
|
13
|
+
long_context: 'long_context',
|
|
14
|
+
reasoning: 'reasoning',
|
|
15
|
+
function_calling: 'function_calling',
|
|
16
|
+
audio: 'audio',
|
|
17
|
+
embedding: 'embedding',
|
|
18
|
+
};
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Match when the resolving agent's model class equals this value (the Phase-4 `modelClass` dimension — one rule routes e.g. every `review`-class agent).
|
|
10
10
|
*/
|
|
11
|
-
export type
|
|
12
|
-
export declare const
|
|
11
|
+
export type ModelResolutionSelectorDtoModelClass = typeof ModelResolutionSelectorDtoModelClass[keyof typeof ModelResolutionSelectorDtoModelClass];
|
|
12
|
+
export declare const ModelResolutionSelectorDtoModelClass: {
|
|
13
13
|
readonly coding: "coding";
|
|
14
14
|
readonly review: "review";
|
|
15
15
|
readonly creative: "creative";
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
* OpenAPI spec version: 0.1.0
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
10
|
+
exports.ModelResolutionSelectorDtoModelClass = void 0;
|
|
11
|
+
exports.ModelResolutionSelectorDtoModelClass = {
|
|
12
12
|
coding: 'coding',
|
|
13
13
|
review: 'review',
|
|
14
14
|
creative: 'creative',
|
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
8
|
import type { ModelResolutionSelectorResponseDtoExtra } from './modelResolutionSelectorResponseDtoExtra.js';
|
|
9
|
+
import type { ModelResolutionSelectorResponseDtoModelCapability } from './modelResolutionSelectorResponseDtoModelCapability.js';
|
|
10
|
+
import type { ModelResolutionSelectorResponseDtoModelClass } from './modelResolutionSelectorResponseDtoModelClass.js';
|
|
9
11
|
export interface ModelResolutionSelectorResponseDto {
|
|
10
12
|
/** @nullable */
|
|
11
13
|
agent?: string | null;
|
|
@@ -17,6 +19,10 @@ export interface ModelResolutionSelectorResponseDto {
|
|
|
17
19
|
stage?: string | null;
|
|
18
20
|
/** @nullable */
|
|
19
21
|
purpose?: string | null;
|
|
22
|
+
/** @nullable */
|
|
23
|
+
modelClass?: ModelResolutionSelectorResponseDtoModelClass;
|
|
24
|
+
/** @nullable */
|
|
25
|
+
modelCapability?: ModelResolutionSelectorResponseDtoModelCapability;
|
|
20
26
|
/** Additional registry dimensions. `{}` when none. */
|
|
21
27
|
extra: ModelResolutionSelectorResponseDtoExtra;
|
|
22
28
|
}
|
|
@@ -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.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @nullable
|
|
10
|
+
*/
|
|
11
|
+
export type ModelResolutionSelectorResponseDtoModelCapability = typeof ModelResolutionSelectorResponseDtoModelCapability[keyof typeof ModelResolutionSelectorResponseDtoModelCapability] | null;
|
|
12
|
+
export declare const ModelResolutionSelectorResponseDtoModelCapability: {
|
|
13
|
+
readonly vision: "vision";
|
|
14
|
+
readonly long_context: "long_context";
|
|
15
|
+
readonly reasoning: "reasoning";
|
|
16
|
+
readonly function_calling: "function_calling";
|
|
17
|
+
readonly audio: "audio";
|
|
18
|
+
readonly embedding: "embedding";
|
|
19
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
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.ModelResolutionSelectorResponseDtoModelCapability = void 0;
|
|
11
|
+
exports.ModelResolutionSelectorResponseDtoModelCapability = {
|
|
12
|
+
vision: 'vision',
|
|
13
|
+
long_context: 'long_context',
|
|
14
|
+
reasoning: 'reasoning',
|
|
15
|
+
function_calling: 'function_calling',
|
|
16
|
+
audio: 'audio',
|
|
17
|
+
embedding: 'embedding',
|
|
18
|
+
};
|
|
@@ -5,8 +5,11 @@
|
|
|
5
5
|
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
/**
|
|
9
|
+
* @nullable
|
|
10
|
+
*/
|
|
11
|
+
export type ModelResolutionSelectorResponseDtoModelClass = typeof ModelResolutionSelectorResponseDtoModelClass[keyof typeof ModelResolutionSelectorResponseDtoModelClass] | null;
|
|
12
|
+
export declare const ModelResolutionSelectorResponseDtoModelClass: {
|
|
10
13
|
readonly coding: "coding";
|
|
11
14
|
readonly review: "review";
|
|
12
15
|
readonly creative: "creative";
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
* OpenAPI spec version: 0.1.0
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
10
|
+
exports.ModelResolutionSelectorResponseDtoModelClass = void 0;
|
|
11
|
+
exports.ModelResolutionSelectorResponseDtoModelClass = {
|
|
12
12
|
coding: 'coding',
|
|
13
13
|
review: 'review',
|
|
14
14
|
creative: 'creative',
|
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
8
|
import type { ModelModality } from './modelModality.js';
|
|
9
|
+
import type { ModelMode } from './modelMode.js';
|
|
10
|
+
import type { ModelPricingTierDto } from './modelPricingTierDto.js';
|
|
9
11
|
import type { ModelResponseDtoContextWindow } from './modelResponseDtoContextWindow.js';
|
|
10
12
|
export interface ModelResponseDto {
|
|
11
13
|
id: string;
|
|
@@ -13,9 +15,84 @@ export interface ModelResponseDto {
|
|
|
13
15
|
modelId: string;
|
|
14
16
|
displayName: string;
|
|
15
17
|
contextWindow?: ModelResponseDtoContextWindow;
|
|
18
|
+
/**
|
|
19
|
+
* Max generation/output tokens. Distinct from contextWindow (the input budget). Null when no authoritative source declares one.
|
|
20
|
+
* @nullable
|
|
21
|
+
*/
|
|
22
|
+
maxOutputTokens?: number | null;
|
|
23
|
+
/** Operating mode of the model. Null when no signal resolved one. */
|
|
24
|
+
mode?: ModelMode | null;
|
|
25
|
+
/**
|
|
26
|
+
* Embedding output vector dimension (only for embedding models).
|
|
27
|
+
* @nullable
|
|
28
|
+
*/
|
|
29
|
+
embeddingDimension?: number | null;
|
|
16
30
|
capabilities: string[];
|
|
17
31
|
/** Closed-enum input/output modalities the model serves. Empty when none declared. */
|
|
18
32
|
modalities: ModelModality[];
|
|
33
|
+
/** Model exposes function/tool calling. */
|
|
34
|
+
supportsTools: boolean;
|
|
35
|
+
/** Model accepts image inputs. */
|
|
36
|
+
supportsVision: boolean;
|
|
37
|
+
/** Model performs explicit reasoning. */
|
|
38
|
+
supportsReasoning: boolean;
|
|
39
|
+
/** Model accepts audio inputs. */
|
|
40
|
+
supportsAudioInput: boolean;
|
|
41
|
+
/** Model accepts PDF inputs. */
|
|
42
|
+
supportsPdfInput: boolean;
|
|
43
|
+
/** Model supports prompt caching. */
|
|
44
|
+
supportsPromptCaching: boolean;
|
|
45
|
+
/** Model supports structured JSON output mode. */
|
|
46
|
+
supportsJsonMode: boolean;
|
|
47
|
+
/** Model supports built-in web search. */
|
|
48
|
+
supportsWebSearch: boolean;
|
|
49
|
+
/** Model has rolled out of the current window. */
|
|
50
|
+
deprecated: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Retirement date (ISO 8601) when a source publishes one; null otherwise.
|
|
53
|
+
* @nullable
|
|
54
|
+
*/
|
|
55
|
+
deprecationDate?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
* Input price (USD per 1M tokens).
|
|
58
|
+
* @nullable
|
|
59
|
+
*/
|
|
60
|
+
inputPricePerMToken?: number | null;
|
|
61
|
+
/**
|
|
62
|
+
* Output price (USD per 1M tokens).
|
|
63
|
+
* @nullable
|
|
64
|
+
*/
|
|
65
|
+
outputPricePerMToken?: number | null;
|
|
66
|
+
/**
|
|
67
|
+
* Cache-read price (USD per 1M tokens).
|
|
68
|
+
* @nullable
|
|
69
|
+
*/
|
|
70
|
+
cacheReadPerMToken?: number | null;
|
|
71
|
+
/**
|
|
72
|
+
* Cache-write price (USD per 1M tokens).
|
|
73
|
+
* @nullable
|
|
74
|
+
*/
|
|
75
|
+
cacheWritePerMToken?: number | null;
|
|
76
|
+
/**
|
|
77
|
+
* Currency of the price columns ('USD' when any price is present, null otherwise).
|
|
78
|
+
* @nullable
|
|
79
|
+
*/
|
|
80
|
+
priceCurrency?: string | null;
|
|
81
|
+
/**
|
|
82
|
+
* Context-tier pricing overlay sorted ascending by minInputTokens. Null when no tier is published.
|
|
83
|
+
* @nullable
|
|
84
|
+
*/
|
|
85
|
+
tieredPricing?: ModelPricingTierDto[] | null;
|
|
86
|
+
/**
|
|
87
|
+
* Per-input-image price (USD per unit).
|
|
88
|
+
* @nullable
|
|
89
|
+
*/
|
|
90
|
+
imageInputPerUnit?: number | null;
|
|
91
|
+
/**
|
|
92
|
+
* Per-input-audio-second price (USD per second).
|
|
93
|
+
* @nullable
|
|
94
|
+
*/
|
|
95
|
+
audioInputPerSecond?: number | null;
|
|
19
96
|
isActive: boolean;
|
|
20
97
|
createdAt: string;
|
|
21
98
|
}
|
|
@@ -5,7 +5,9 @@
|
|
|
5
5
|
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type {
|
|
9
|
-
export interface
|
|
10
|
-
|
|
8
|
+
import type { ProbeProviderDtoApiType } from './probeProviderDtoApiType.js';
|
|
9
|
+
export interface ProbeProviderDto {
|
|
10
|
+
apiType: ProbeProviderDtoApiType;
|
|
11
|
+
baseUrl: string;
|
|
12
|
+
apiKey: string;
|
|
11
13
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* LLM Registry API
|
|
5
5
|
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
export type
|
|
9
|
-
export declare const
|
|
8
|
+
export type ProbeProviderDtoApiType = typeof ProbeProviderDtoApiType[keyof typeof ProbeProviderDtoApiType];
|
|
9
|
+
export declare const ProbeProviderDtoApiType: {
|
|
10
10
|
readonly 'openai-compatible': "openai-compatible";
|
|
11
11
|
readonly anthropic: "anthropic";
|
|
12
12
|
readonly google: "google";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Generated by orval v8.
|
|
3
|
+
* Generated by orval v8.16.0 🍺
|
|
4
4
|
* Do not edit manually.
|
|
5
5
|
* LLM Registry API
|
|
6
6
|
* Central registry for LLM providers, models, and per-project model configuration
|
|
7
7
|
* OpenAPI spec version: 0.1.0
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
10
|
+
exports.ProbeProviderDtoApiType = void 0;
|
|
11
|
+
exports.ProbeProviderDtoApiType = {
|
|
12
12
|
'openai-compatible': 'openai-compatible',
|
|
13
13
|
anthropic: 'anthropic',
|
|
14
14
|
google: 'google',
|
|
@@ -0,0 +1,15 @@
|
|
|
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 ProbedModelDto {
|
|
9
|
+
/** Model ID as reported by the provider /models endpoint. */
|
|
10
|
+
id: string;
|
|
11
|
+
/** Human-readable model name, when the provider reports one. */
|
|
12
|
+
displayName?: string;
|
|
13
|
+
/** Context window resolved from the provider /models response or gateway metadata. Absent when no authoritative value was found. */
|
|
14
|
+
contextWindow?: number;
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
/**
|
|
9
|
+
* How `instructions` combine with the base agent `systemPrompt`. `append` appends after the base prompt; `replace` makes `instructions` the prompt body (config still inherited). Absent ⇒ append.
|
|
10
|
+
*/
|
|
11
|
+
export type PromptMergeMode = typeof PromptMergeMode[keyof typeof PromptMergeMode];
|
|
12
|
+
export declare const PromptMergeMode: {
|
|
13
|
+
readonly append: "append";
|
|
14
|
+
readonly replace: "replace";
|
|
15
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
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.PromptMergeMode = void 0;
|
|
11
|
+
exports.PromptMergeMode = {
|
|
12
|
+
append: 'append',
|
|
13
|
+
replace: 'replace',
|
|
14
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
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 { ProbedModelDto } from './probedModelDto.js';
|
|
9
|
+
export interface ProviderProbeResponseDto {
|
|
10
|
+
/** Models discovered at the probed endpoint (server-side, before the provider is saved). */
|
|
11
|
+
models: ProbedModelDto[];
|
|
12
|
+
}
|
|
@@ -5,8 +5,7 @@
|
|
|
5
5
|
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type {
|
|
9
|
-
export interface
|
|
10
|
-
|
|
11
|
-
deny: ToolsetKey[];
|
|
8
|
+
import type { ProviderProbeResponseDto } from './providerProbeResponseDto.js';
|
|
9
|
+
export interface ProviderProbeResponseDtoDataEnvelope {
|
|
10
|
+
data: ProviderProbeResponseDto;
|
|
12
11
|
}
|
|
@@ -7,8 +7,13 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import type { AgentCapabilityLayerDto } from './agentCapabilityLayerDto.js';
|
|
9
9
|
import type { AgentNodeDto } from './agentNodeDto.js';
|
|
10
|
+
import type { AgentReachTier } from './agentReachTier.js';
|
|
11
|
+
import type { AgentSessionLifecycle } from './agentSessionLifecycle.js';
|
|
10
12
|
import type { AgentWorkspaceDto } from './agentWorkspaceDto.js';
|
|
13
|
+
import type { DurableWorkspaceRefDto } from './durableWorkspaceRefDto.js';
|
|
11
14
|
import type { ScopeSource } from './scopeSource.js';
|
|
15
|
+
import type { StandingSessionRefDto } from './standingSessionRefDto.js';
|
|
16
|
+
import type { WorkspaceSharingPolicy } from './workspaceSharingPolicy.js';
|
|
12
17
|
export interface ResolvedAgentResponseDto {
|
|
13
18
|
slug: string;
|
|
14
19
|
version: string;
|
|
@@ -18,6 +23,20 @@ export interface ResolvedAgentResponseDto {
|
|
|
18
23
|
root: AgentNodeDto;
|
|
19
24
|
/** Capability envelope applied to the whole composition at runtime. Always present. */
|
|
20
25
|
capability: AgentCapabilityLayerDto;
|
|
26
|
+
/** 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. */
|
|
27
|
+
reachTier: AgentReachTier;
|
|
28
|
+
/** 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. */
|
|
29
|
+
sessionLifecycle?: AgentSessionLifecycle | null;
|
|
30
|
+
/** Resolved workspace-sharing policy — whether a session launch of this agent may POOL onto a compatible running pod as a new thread (`shareable`) or must always run in its own isolated worker (`isolated`). Always populated: a row with no stored value resolves to `isolated` (WORKSPACE_SHARING_DEFAULT). agent-session-api reads this to gate session-thread pooling at launch. */
|
|
31
|
+
workspaceSharing: WorkspaceSharingPolicy;
|
|
32
|
+
/** Resolved standing-session pin — present only when the agent declares one. When present, agent-session-api does a `(orgId, projectId, pinKey)` get-or-create at `POST /sessions` and ADOPTS a non-terminal existing session instead of minting a fresh one. Absent ⇒ a fresh session per launch. */
|
|
33
|
+
standingSession?: StandingSessionRefDto | null;
|
|
34
|
+
/** Resolved durable shared-workspace binding — present only when the agent declares one. When present, agent-session-api stores `workspaceRef` on `Session.workspaceRef` so the session attaches to the SHARED, workspaceRef-keyed durable workspace (multi-pod `WorkspaceSharingPolicy.Shared`) instead of a private per-session one. Absent ⇒ a private per-session workspace. */
|
|
35
|
+
durableWorkspace?: DurableWorkspaceRefDto | null;
|
|
36
|
+
/** Chunk 3 — the deduped, sorted union of every CapabilityRef the agent needs to drive its armed tools + skills across the whole sub-agent tree (the auto-grant-from-arming manifest). Derived at resolve time from the MCP catalog (tools) + skill frontmatter (skills). Empty when nothing armed declares a capability — the default-safe no-op. The capability-analysis endpoint returns the same union plus the unresolved-ref diagnostics. */
|
|
37
|
+
requiredCapabilities: string[];
|
|
38
|
+
/** Special-ability CapabilityRefs granted on top of the reach tier; unioned into the auto-grant manifest (so they also appear in `requiredCapabilities`). Always present (defaults to []). */
|
|
39
|
+
abilities: string[];
|
|
21
40
|
/** 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. */
|
|
22
41
|
workspace?: AgentWorkspaceDto;
|
|
23
42
|
}
|
|
@@ -16,11 +16,6 @@ export interface ResolvedConfigSnapshotResponseDto {
|
|
|
16
16
|
resolvedConfigHash: string;
|
|
17
17
|
/** Agent slug captured by this snapshot. */
|
|
18
18
|
agentSlug: string;
|
|
19
|
-
/**
|
|
20
|
-
* Phase key captured by this snapshot.
|
|
21
|
-
* @nullable
|
|
22
|
-
*/
|
|
23
|
-
stageKey?: string | null;
|
|
24
19
|
/**
|
|
25
20
|
* External payload object key when the snapshot is offloaded from the database.
|
|
26
21
|
* @nullable
|
|
@@ -0,0 +1,11 @@
|
|
|
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 StandingSessionRefDto {
|
|
9
|
+
/** Stable key identifying the standing session for a purpose/biome, e.g. `{biomeId}:{purpose}`. Two launches of the same agent within the same `(orgId, projectId)` that resolve this key reuse ONE session row. */
|
|
10
|
+
pinKey: string;
|
|
11
|
+
}
|
package/dist/models/{agentDefinitionResponseDtoDefinitionHash.d.ts → unresolvedToolDto.d.ts}
RENAMED
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
export
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
export interface UnresolvedToolDto {
|
|
9
|
+
providerKind: string;
|
|
10
|
+
resourceId: string;
|
|
11
|
+
toolName?: string;
|
|
12
|
+
}
|
|
@@ -7,7 +7,12 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import type { AgentCapabilityLayerDto } from './agentCapabilityLayerDto.js';
|
|
9
9
|
import type { AgentNodeDto } from './agentNodeDto.js';
|
|
10
|
+
import type { AgentReachTier } from './agentReachTier.js';
|
|
11
|
+
import type { AgentSessionLifecycle } from './agentSessionLifecycle.js';
|
|
10
12
|
import type { AgentWorkspaceDto } from './agentWorkspaceDto.js';
|
|
13
|
+
import type { DurableWorkspaceRefDto } from './durableWorkspaceRefDto.js';
|
|
14
|
+
import type { StandingSessionRefDto } from './standingSessionRefDto.js';
|
|
15
|
+
import type { WorkspaceSharingPolicy } from './workspaceSharingPolicy.js';
|
|
11
16
|
export interface UpdateAgentDto {
|
|
12
17
|
displayName?: string;
|
|
13
18
|
description?: string;
|
|
@@ -15,4 +20,16 @@ export interface UpdateAgentDto {
|
|
|
15
20
|
capability?: AgentCapabilityLayerDto;
|
|
16
21
|
/** Authored workspace-layout config — persist-paths + per-slot overrides, env vars, output surface. */
|
|
17
22
|
workspace?: AgentWorkspaceDto;
|
|
23
|
+
/** The agent's permission ceiling. Omitted leaves the stored value unchanged; a NULL stored value reads as `as-owner`. */
|
|
24
|
+
reachTier?: AgentReachTier;
|
|
25
|
+
/** The agent's default session lifecycle (`ephemeral`|`persistent`). Omitted leaves the stored value unchanged; a NULL stored value means the agent declares no preference. */
|
|
26
|
+
sessionLifecycle?: AgentSessionLifecycle;
|
|
27
|
+
/** Whether a session launch may POOL onto a compatible running pod (`shareable`) or must always run isolated (`isolated`). Omitted leaves the stored value unchanged; the column default is `isolated`. */
|
|
28
|
+
workspaceSharing?: WorkspaceSharingPolicy;
|
|
29
|
+
/** Standing-session pin. Omitted leaves the stored value unchanged; set `{ pinKey }` to make every launch reuse ONE session keyed by `pinKey`; pass `null` to clear the pin (the agent stops being a standing agent). */
|
|
30
|
+
standingSession?: StandingSessionRefDto | null;
|
|
31
|
+
/** Durable shared-workspace binding. Omitted leaves the stored value unchanged; set `{ workspaceRef }` to attach every session this agent launches to ONE durable shared workspace; pass `null` to clear it (the agent reverts to a private per-session workspace). */
|
|
32
|
+
durableWorkspace?: DurableWorkspaceRefDto | null;
|
|
33
|
+
/** Special-ability CapabilityRefs granted on top of the reach tier; unioned into the auto-grant manifest. */
|
|
34
|
+
abilities?: string[];
|
|
18
35
|
}
|