@xemahq/llm-registry-api-client 0.18.0 → 0.19.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/dist/endpoints/agent-kernels/agent-kernels.d.ts +1 -6
- package/dist/endpoints/agent-kernels/agent-kernels.js +1 -15
- package/dist/endpoints/llm-registry/llm-registry.d.ts +8 -3
- package/dist/endpoints/llm-registry/llm-registry.js +18 -2
- package/dist/endpoints/project-kits/project-kits.d.ts +0 -5
- package/dist/endpoints/project-kits/project-kits.js +1 -15
- package/dist/models/createProviderDto.d.ts +3 -2
- package/dist/models/createProviderDtoAuthType.d.ts +4 -0
- package/dist/models/createProviderDtoAuthType.js +1 -0
- package/dist/models/index.d.ts +12 -3
- package/dist/models/index.js +12 -3
- package/dist/models/listedModelProviderDto.d.ts +17 -0
- package/dist/models/listedModelProviderDtoAuthType.d.ts +14 -0
- package/dist/models/listedModelProviderDtoAuthType.js +13 -0
- package/dist/models/listedModelResponseDto.d.ts +196 -0
- package/dist/models/listedModelResponseDtoContextWindow.d.ts +11 -0
- package/dist/models/listedModelResponseDtoDataArrayEnvelope.d.ts +9 -0
- package/dist/models/listedModelResponseDtoDataArrayEnvelope.js +2 -0
- package/dist/models/modelResolutionPreviewOutcome.d.ts +10 -0
- package/dist/models/modelResolutionPreviewOutcome.js +12 -0
- package/dist/models/modelResolutionPreviewResponseDto.d.ts +15 -0
- package/dist/models/modelResolutionPreviewResponseDto.js +2 -0
- package/dist/models/modelResolutionPreviewResponseDtoDataEnvelope.d.ts +9 -0
- package/dist/models/modelResolutionPreviewResponseDtoDataEnvelope.js +2 -0
- package/dist/models/modelResolutionRefusalCode.d.ts +10 -0
- package/dist/models/modelResolutionRefusalCode.js +12 -0
- package/dist/models/modelResolutionRefusalDto.d.ts +11 -0
- package/dist/models/modelResolutionRefusalDto.js +2 -0
- package/dist/models/previewModelResolutionDto.d.ts +18 -0
- package/dist/models/previewModelResolutionDto.js +7 -0
- package/dist/models/probeProviderDto.d.ts +5 -1
- package/dist/models/probeProviderDtoAuthType.d.ts +14 -0
- package/dist/models/probeProviderDtoAuthType.js +13 -0
- package/dist/models/providerResponseDtoAuthType.d.ts +1 -0
- package/dist/models/providerResponseDtoAuthType.js +1 -0
- package/dist/models/updateProviderDtoAuthType.d.ts +1 -0
- package/dist/models/updateProviderDtoAuthType.js +1 -0
- package/package.json +2 -2
- package/dist/models/orgInteractiveSubagentDto.d.ts +0 -20
- package/dist/models/orgInteractiveSubagentsResponseDto.d.ts +0 -12
- package/dist/models/orgInteractiveSubagentsResponseDtoDataEnvelope.d.ts +0 -9
- /package/dist/models/{orgInteractiveSubagentsResponseDto.js → listedModelProviderDto.js} +0 -0
- /package/dist/models/{orgInteractiveSubagentsResponseDtoDataEnvelope.js → listedModelResponseDto.js} +0 -0
- /package/dist/models/{orgInteractiveSubagentDto.js → listedModelResponseDtoContextWindow.js} +0 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* LLM Registry API
|
|
4
4
|
* OpenAPI spec version: 0.1.3
|
|
5
5
|
*/
|
|
6
|
-
import type { AgentBundleRenderDto, AgentConfigBlocksResponseDtoDataEnvelope, AgentKernelControllerBrowseTalentPoolParams, AgentKernelControllerListDefinitionsParams, AgentKernelControllerListInteractiveCatalogParams, AgentKernelControllerResolveAgentBlocksParams, AgentKernelResponseDtoDataArrayEnvelope, AgentKernelResponseDtoDataEnvelope, AgentKernelResponseDtoPaginatedEnvelope, AgentProfileDtoDataEnvelope, AgentProfileDtoPaginatedEnvelope, AgentTalentPoolStatsDtoDataEnvelope, BundleFileResponseDtoDataEnvelope, CreateAgentKernelDto, CreateProjectAgentOverrideDto,
|
|
6
|
+
import type { AgentBundleRenderDto, AgentConfigBlocksResponseDtoDataEnvelope, AgentKernelControllerBrowseTalentPoolParams, AgentKernelControllerListDefinitionsParams, AgentKernelControllerListInteractiveCatalogParams, AgentKernelControllerResolveAgentBlocksParams, AgentKernelResponseDtoDataArrayEnvelope, AgentKernelResponseDtoDataEnvelope, AgentKernelResponseDtoPaginatedEnvelope, AgentProfileDtoDataEnvelope, AgentProfileDtoPaginatedEnvelope, AgentTalentPoolStatsDtoDataEnvelope, BundleFileResponseDtoDataEnvelope, CreateAgentKernelDto, CreateProjectAgentOverrideDto, ProjectAgentOverrideResponseDtoDataArrayEnvelope, ProjectAgentOverrideResponseDtoDataEnvelope, RescopeDto, ResolveFullResponseDtoDataEnvelope, ResolvedAgentKernelResponseDtoDataEnvelope, ResolvedConfigSnapshotResponseDtoDataEnvelope, UpdateAgentKernelDto, UpdateProjectAgentOverrideDto } from '../../models';
|
|
7
7
|
export declare const getAgentKernelControllerListDefinitionsUrl: (params?: AgentKernelControllerListDefinitionsParams) => string;
|
|
8
8
|
/**
|
|
9
9
|
* @summary List agent definitions. Agents declaring `hidden` in their biome frontmatter are omitted unless `includeHidden=true` — `hidden` is listability only, and such an agent stays invocable by ref either way. Biome-attributed rows are filtered through `@xemahq/biome-governance-client` against the caller org's enablement view; agents shipped by disabled biomes are omitted.
|
|
@@ -34,11 +34,6 @@ export declare const getAgentKernelControllerListInteractiveCatalogUrl: (params?
|
|
|
34
34
|
* @summary List agents available for interactive sessions — filtered by supportsAgentSessions=true
|
|
35
35
|
*/
|
|
36
36
|
export declare const agentKernelControllerListInteractiveCatalog: (params?: AgentKernelControllerListInteractiveCatalogParams, options?: RequestInit) => Promise<AgentKernelResponseDtoPaginatedEnvelope>;
|
|
37
|
-
export declare const getAgentKernelControllerListOrgInteractiveSubagentsUrl: () => string;
|
|
38
|
-
/**
|
|
39
|
-
* @summary Internal: list org-defined subagents eligible for mounting on interactive workers. Consumed by opencode-pool at session-acquire time so org-defined agents are staged in /workspace/.opencode/agents/<slug>.md. Returns only org-owned (NOT system) isActive definitions with executionMode=subagent.
|
|
40
|
-
*/
|
|
41
|
-
export declare const agentKernelControllerListOrgInteractiveSubagents: (options?: RequestInit) => Promise<OrgInteractiveSubagentsResponseDtoDataEnvelope>;
|
|
42
37
|
export declare const getAgentKernelControllerResolveAgentBundleFileUrl: (slug: string) => string;
|
|
43
38
|
/**
|
|
44
39
|
* @summary Internal: resolve a single agent's `.opencode/agents/<slug>.md` content for the mount-apply pipeline. Honors project → org → biome → system precedence. `agentMode` controls the rendered frontmatter `mode` field (primary or subagent). `instructions`/`promptMode` carry the optional per-composition-node prompt overlay in the BODY (not the query string) because a full system prompt can exceed Node's HTTP header/URL length limit.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.agentKernelControllerResolveAgent = exports.getAgentKernelControllerResolveAgentUrl = exports.agentKernelControllerDeleteOverride = exports.getAgentKernelControllerDeleteOverrideUrl = exports.agentKernelControllerUpdateOverride = exports.getAgentKernelControllerUpdateOverrideUrl = exports.agentKernelControllerCreateOverride = exports.getAgentKernelControllerCreateOverrideUrl = exports.agentKernelControllerListOverrides = exports.getAgentKernelControllerListOverridesUrl = exports.agentKernelControllerRescopeDefinition = exports.getAgentKernelControllerRescopeDefinitionUrl = exports.agentKernelControllerDeleteDefinition = exports.getAgentKernelControllerDeleteDefinitionUrl = exports.agentKernelControllerUpdateDefinition = exports.getAgentKernelControllerUpdateDefinitionUrl = exports.agentKernelControllerGetDefinitionBySlug = exports.getAgentKernelControllerGetDefinitionBySlugUrl = exports.agentKernelControllerGetResolvedSnapshot = exports.getAgentKernelControllerGetResolvedSnapshotUrl = exports.agentKernelControllerResolveFullConfig = exports.getAgentKernelControllerResolveFullConfigUrl = exports.agentKernelControllerResolveAgentBlocks = exports.getAgentKernelControllerResolveAgentBlocksUrl = exports.agentKernelControllerResolveAgentBundleFile = exports.getAgentKernelControllerResolveAgentBundleFileUrl = exports.
|
|
3
|
+
exports.agentKernelControllerResolveAgent = exports.getAgentKernelControllerResolveAgentUrl = exports.agentKernelControllerDeleteOverride = exports.getAgentKernelControllerDeleteOverrideUrl = exports.agentKernelControllerUpdateOverride = exports.getAgentKernelControllerUpdateOverrideUrl = exports.agentKernelControllerCreateOverride = exports.getAgentKernelControllerCreateOverrideUrl = exports.agentKernelControllerListOverrides = exports.getAgentKernelControllerListOverridesUrl = exports.agentKernelControllerRescopeDefinition = exports.getAgentKernelControllerRescopeDefinitionUrl = exports.agentKernelControllerDeleteDefinition = exports.getAgentKernelControllerDeleteDefinitionUrl = exports.agentKernelControllerUpdateDefinition = exports.getAgentKernelControllerUpdateDefinitionUrl = exports.agentKernelControllerGetDefinitionBySlug = exports.getAgentKernelControllerGetDefinitionBySlugUrl = exports.agentKernelControllerGetResolvedSnapshot = exports.getAgentKernelControllerGetResolvedSnapshotUrl = exports.agentKernelControllerResolveFullConfig = exports.getAgentKernelControllerResolveFullConfigUrl = exports.agentKernelControllerResolveAgentBlocks = exports.getAgentKernelControllerResolveAgentBlocksUrl = exports.agentKernelControllerResolveAgentBundleFile = exports.getAgentKernelControllerResolveAgentBundleFileUrl = exports.agentKernelControllerListInteractiveCatalog = exports.getAgentKernelControllerListInteractiveCatalogUrl = exports.agentKernelControllerGetTalentPoolStats = exports.getAgentKernelControllerGetTalentPoolStatsUrl = exports.agentKernelControllerGetTalentPoolProfile = exports.getAgentKernelControllerGetTalentPoolProfileUrl = exports.agentKernelControllerBrowseTalentPool = exports.getAgentKernelControllerBrowseTalentPoolUrl = exports.agentKernelControllerCreateDefinition = exports.getAgentKernelControllerCreateDefinitionUrl = exports.agentKernelControllerListDefinitions = exports.getAgentKernelControllerListDefinitionsUrl = void 0;
|
|
4
4
|
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
5
|
const getAgentKernelControllerListDefinitionsUrl = (params) => {
|
|
6
6
|
const normalizedParams = new URLSearchParams();
|
|
@@ -145,20 +145,6 @@ const agentKernelControllerListInteractiveCatalog = async (params, options) => {
|
|
|
145
145
|
});
|
|
146
146
|
};
|
|
147
147
|
exports.agentKernelControllerListInteractiveCatalog = agentKernelControllerListInteractiveCatalog;
|
|
148
|
-
const getAgentKernelControllerListOrgInteractiveSubagentsUrl = () => {
|
|
149
|
-
return `/agent-kernels/internal/org-interactive-subagents`;
|
|
150
|
-
};
|
|
151
|
-
exports.getAgentKernelControllerListOrgInteractiveSubagentsUrl = getAgentKernelControllerListOrgInteractiveSubagentsUrl;
|
|
152
|
-
/**
|
|
153
|
-
* @summary Internal: list org-defined subagents eligible for mounting on interactive workers. Consumed by opencode-pool at session-acquire time so org-defined agents are staged in /workspace/.opencode/agents/<slug>.md. Returns only org-owned (NOT system) isActive definitions with executionMode=subagent.
|
|
154
|
-
*/
|
|
155
|
-
const agentKernelControllerListOrgInteractiveSubagents = async (options) => {
|
|
156
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getAgentKernelControllerListOrgInteractiveSubagentsUrl)(), {
|
|
157
|
-
...options,
|
|
158
|
-
method: 'GET'
|
|
159
|
-
});
|
|
160
|
-
};
|
|
161
|
-
exports.agentKernelControllerListOrgInteractiveSubagents = agentKernelControllerListOrgInteractiveSubagents;
|
|
162
148
|
const getAgentKernelControllerResolveAgentBundleFileUrl = (slug) => {
|
|
163
149
|
return `/agent-kernels/internal/agents/${slug}/bundle`;
|
|
164
150
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* LLM Registry API
|
|
4
4
|
* OpenAPI spec version: 0.1.3
|
|
5
5
|
*/
|
|
6
|
-
import type { CreateModelDto, CreateProviderDto, LlmRegistryControllerDeleteModelParams, LlmRegistryControllerDeleteProviderParams, LlmRegistryControllerGetResolvedModelConfig200, ModelResponseDtoDataArrayEnvelope, ModelResponseDtoDataEnvelope, ProbeProviderDto, ProviderDeletionImpactResponseDtoDataEnvelope, ProviderProbeResponseDtoDataEnvelope, ProviderResponseDtoDataArrayEnvelope, ProviderResponseDtoDataEnvelope, ProviderTestResponseDtoDataEnvelope, ResolveModelForInvocationDto, ResolvedPhaseConfigDtoDataEnvelope, SyncModelsResponseDtoDataEnvelope, UpdateModelDto, UpdateProviderDto } from '../../models';
|
|
6
|
+
import type { CreateModelDto, CreateProviderDto, ListedModelResponseDtoDataArrayEnvelope, LlmRegistryControllerDeleteModelParams, LlmRegistryControllerDeleteProviderParams, LlmRegistryControllerGetResolvedModelConfig200, ModelResolutionPreviewResponseDtoDataEnvelope, ModelResponseDtoDataArrayEnvelope, ModelResponseDtoDataEnvelope, PreviewModelResolutionDto, ProbeProviderDto, ProviderDeletionImpactResponseDtoDataEnvelope, ProviderProbeResponseDtoDataEnvelope, ProviderResponseDtoDataArrayEnvelope, ProviderResponseDtoDataEnvelope, ProviderTestResponseDtoDataEnvelope, ResolveModelForInvocationDto, ResolvedPhaseConfigDtoDataEnvelope, SyncModelsResponseDtoDataEnvelope, UpdateModelDto, UpdateProviderDto } from '../../models';
|
|
7
7
|
export declare const getLlmRegistryControllerCreateProviderUrl: () => string;
|
|
8
8
|
/**
|
|
9
9
|
* @summary Create an LLM provider
|
|
@@ -61,9 +61,9 @@ export declare const getLlmRegistryControllerListModelsUrl: (providerId: string)
|
|
|
61
61
|
export declare const llmRegistryControllerListModels: (providerId: string, options?: RequestInit) => Promise<ModelResponseDtoDataArrayEnvelope>;
|
|
62
62
|
export declare const getLlmRegistryControllerListAllModelsUrl: () => string;
|
|
63
63
|
/**
|
|
64
|
-
* @summary List
|
|
64
|
+
* @summary List the organisation's models across its providers, each with its provider and whether resolution would serve it
|
|
65
65
|
*/
|
|
66
|
-
export declare const llmRegistryControllerListAllModels: (options?: RequestInit) => Promise<
|
|
66
|
+
export declare const llmRegistryControllerListAllModels: (options?: RequestInit) => Promise<ListedModelResponseDtoDataArrayEnvelope>;
|
|
67
67
|
export declare const getLlmRegistryControllerGetModelUrl: (id: string) => string;
|
|
68
68
|
/**
|
|
69
69
|
* @summary Get a model by id (org-scoped, across providers)
|
|
@@ -89,3 +89,8 @@ export declare const getModelConfigResolveControllerResolveModelForInvocationUrl
|
|
|
89
89
|
* @summary Resolve the model for one invocation, in a given Space (internal)
|
|
90
90
|
*/
|
|
91
91
|
export declare const modelConfigResolveControllerResolveModelForInvocation: (resolveModelForInvocationDto: ResolveModelForInvocationDto, options?: RequestInit) => Promise<ResolvedPhaseConfigDtoDataEnvelope>;
|
|
92
|
+
export declare const getModelResolutionPreviewControllerPreviewUrl: () => string;
|
|
93
|
+
/**
|
|
94
|
+
* @summary Preview which model a lane resolves to in an organisation Space (org admin)
|
|
95
|
+
*/
|
|
96
|
+
export declare const modelResolutionPreviewControllerPreview: (previewModelResolutionDto: PreviewModelResolutionDto, options?: RequestInit) => Promise<ModelResolutionPreviewResponseDtoDataEnvelope>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.modelConfigResolveControllerResolveModelForInvocation = exports.getModelConfigResolveControllerResolveModelForInvocationUrl = exports.llmRegistryControllerGetResolvedModelConfig = exports.getLlmRegistryControllerGetResolvedModelConfigUrl = exports.llmRegistryControllerUpdateModel = exports.getLlmRegistryControllerUpdateModelUrl = exports.llmRegistryControllerDeleteModel = exports.getLlmRegistryControllerDeleteModelUrl = exports.llmRegistryControllerGetModel = exports.getLlmRegistryControllerGetModelUrl = exports.llmRegistryControllerListAllModels = exports.getLlmRegistryControllerListAllModelsUrl = exports.llmRegistryControllerListModels = exports.getLlmRegistryControllerListModelsUrl = exports.llmRegistryControllerCreateModel = exports.getLlmRegistryControllerCreateModelUrl = exports.llmRegistryControllerSyncModels = exports.getLlmRegistryControllerSyncModelsUrl = exports.llmRegistryControllerTestProvider = exports.getLlmRegistryControllerTestProviderUrl = exports.llmRegistryControllerProbeProvider = exports.getLlmRegistryControllerProbeProviderUrl = exports.llmRegistryControllerGetProviderDeletionImpact = exports.getLlmRegistryControllerGetProviderDeletionImpactUrl = exports.llmRegistryControllerDeleteProvider = exports.getLlmRegistryControllerDeleteProviderUrl = exports.llmRegistryControllerUpdateProvider = exports.getLlmRegistryControllerUpdateProviderUrl = exports.llmRegistryControllerGetProvider = exports.getLlmRegistryControllerGetProviderUrl = exports.llmRegistryControllerListProviders = exports.getLlmRegistryControllerListProvidersUrl = exports.llmRegistryControllerCreateProvider = exports.getLlmRegistryControllerCreateProviderUrl = void 0;
|
|
3
|
+
exports.modelResolutionPreviewControllerPreview = exports.getModelResolutionPreviewControllerPreviewUrl = exports.modelConfigResolveControllerResolveModelForInvocation = exports.getModelConfigResolveControllerResolveModelForInvocationUrl = exports.llmRegistryControllerGetResolvedModelConfig = exports.getLlmRegistryControllerGetResolvedModelConfigUrl = exports.llmRegistryControllerUpdateModel = exports.getLlmRegistryControllerUpdateModelUrl = exports.llmRegistryControllerDeleteModel = exports.getLlmRegistryControllerDeleteModelUrl = exports.llmRegistryControllerGetModel = exports.getLlmRegistryControllerGetModelUrl = exports.llmRegistryControllerListAllModels = exports.getLlmRegistryControllerListAllModelsUrl = exports.llmRegistryControllerListModels = exports.getLlmRegistryControllerListModelsUrl = exports.llmRegistryControllerCreateModel = exports.getLlmRegistryControllerCreateModelUrl = exports.llmRegistryControllerSyncModels = exports.getLlmRegistryControllerSyncModelsUrl = exports.llmRegistryControllerTestProvider = exports.getLlmRegistryControllerTestProviderUrl = exports.llmRegistryControllerProbeProvider = exports.getLlmRegistryControllerProbeProviderUrl = exports.llmRegistryControllerGetProviderDeletionImpact = exports.getLlmRegistryControllerGetProviderDeletionImpactUrl = exports.llmRegistryControllerDeleteProvider = exports.getLlmRegistryControllerDeleteProviderUrl = exports.llmRegistryControllerUpdateProvider = exports.getLlmRegistryControllerUpdateProviderUrl = exports.llmRegistryControllerGetProvider = exports.getLlmRegistryControllerGetProviderUrl = exports.llmRegistryControllerListProviders = exports.getLlmRegistryControllerListProvidersUrl = exports.llmRegistryControllerCreateProvider = exports.getLlmRegistryControllerCreateProviderUrl = void 0;
|
|
4
4
|
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
5
|
const getLlmRegistryControllerCreateProviderUrl = () => {
|
|
6
6
|
return `/providers`;
|
|
@@ -188,7 +188,7 @@ const getLlmRegistryControllerListAllModelsUrl = () => {
|
|
|
188
188
|
};
|
|
189
189
|
exports.getLlmRegistryControllerListAllModelsUrl = getLlmRegistryControllerListAllModelsUrl;
|
|
190
190
|
/**
|
|
191
|
-
* @summary List
|
|
191
|
+
* @summary List the organisation's models across its providers, each with its provider and whether resolution would serve it
|
|
192
192
|
*/
|
|
193
193
|
const llmRegistryControllerListAllModels = async (options) => {
|
|
194
194
|
return (0, custom_fetch_1.customFetch)((0, exports.getLlmRegistryControllerListAllModelsUrl)(), {
|
|
@@ -290,3 +290,19 @@ const modelConfigResolveControllerResolveModelForInvocation = async (resolveMode
|
|
|
290
290
|
});
|
|
291
291
|
};
|
|
292
292
|
exports.modelConfigResolveControllerResolveModelForInvocation = modelConfigResolveControllerResolveModelForInvocation;
|
|
293
|
+
const getModelResolutionPreviewControllerPreviewUrl = () => {
|
|
294
|
+
return `/model-config/preview`;
|
|
295
|
+
};
|
|
296
|
+
exports.getModelResolutionPreviewControllerPreviewUrl = getModelResolutionPreviewControllerPreviewUrl;
|
|
297
|
+
/**
|
|
298
|
+
* @summary Preview which model a lane resolves to in an organisation Space (org admin)
|
|
299
|
+
*/
|
|
300
|
+
const modelResolutionPreviewControllerPreview = async (previewModelResolutionDto, options) => {
|
|
301
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getModelResolutionPreviewControllerPreviewUrl)(), {
|
|
302
|
+
...options,
|
|
303
|
+
method: 'POST',
|
|
304
|
+
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
305
|
+
body: JSON.stringify(previewModelResolutionDto)
|
|
306
|
+
});
|
|
307
|
+
};
|
|
308
|
+
exports.modelResolutionPreviewControllerPreview = modelResolutionPreviewControllerPreview;
|
|
@@ -9,11 +9,6 @@ export declare const getProjectKitsControllerListUrl: (params?: ProjectKitsContr
|
|
|
9
9
|
* @summary List Project Kits. Optionally filtered to kits compatible with a tech-stack target.
|
|
10
10
|
*/
|
|
11
11
|
export declare const projectKitsControllerList: (params?: ProjectKitsControllerListParams, options?: RequestInit) => Promise<ProjectKitDefinitionDtoPaginatedEnvelope>;
|
|
12
|
-
export declare const getProjectKitsControllerGetInternalBySlugUrl: (slug: string) => string;
|
|
13
|
-
/**
|
|
14
|
-
* @summary Internal: resolve a single Project Kit by slug under a delegation lending project-kit:project-kit.read@1. Same resolution as GET /project-kits/:slug. Unknown slugs raise 404.
|
|
15
|
-
*/
|
|
16
|
-
export declare const projectKitsControllerGetInternalBySlug: (slug: string, options?: RequestInit) => Promise<ProjectKitDefinitionDtoDataEnvelope>;
|
|
17
12
|
export declare const getProjectKitsControllerGetBySlugUrl: (slug: string) => string;
|
|
18
13
|
/**
|
|
19
14
|
* @summary Resolve a single Project Kit by slug. Unknown slugs raise 404.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.projectKitsControllerGetBySlug = exports.getProjectKitsControllerGetBySlugUrl = exports.
|
|
3
|
+
exports.projectKitsControllerGetBySlug = exports.getProjectKitsControllerGetBySlugUrl = exports.projectKitsControllerList = exports.getProjectKitsControllerListUrl = void 0;
|
|
4
4
|
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
5
|
const getProjectKitsControllerListUrl = (params) => {
|
|
6
6
|
const normalizedParams = new URLSearchParams();
|
|
@@ -35,20 +35,6 @@ const projectKitsControllerList = async (params, options) => {
|
|
|
35
35
|
});
|
|
36
36
|
};
|
|
37
37
|
exports.projectKitsControllerList = projectKitsControllerList;
|
|
38
|
-
const getProjectKitsControllerGetInternalBySlugUrl = (slug) => {
|
|
39
|
-
return `/project-kits/internal/${slug}`;
|
|
40
|
-
};
|
|
41
|
-
exports.getProjectKitsControllerGetInternalBySlugUrl = getProjectKitsControllerGetInternalBySlugUrl;
|
|
42
|
-
/**
|
|
43
|
-
* @summary Internal: resolve a single Project Kit by slug under a delegation lending project-kit:project-kit.read@1. Same resolution as GET /project-kits/:slug. Unknown slugs raise 404.
|
|
44
|
-
*/
|
|
45
|
-
const projectKitsControllerGetInternalBySlug = async (slug, options) => {
|
|
46
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getProjectKitsControllerGetInternalBySlugUrl)(slug), {
|
|
47
|
-
...options,
|
|
48
|
-
method: 'GET'
|
|
49
|
-
});
|
|
50
|
-
};
|
|
51
|
-
exports.projectKitsControllerGetInternalBySlug = projectKitsControllerGetInternalBySlug;
|
|
52
38
|
const getProjectKitsControllerGetBySlugUrl = (slug) => {
|
|
53
39
|
return `/project-kits/${slug}`;
|
|
54
40
|
};
|
|
@@ -14,11 +14,12 @@ export interface CreateProviderDto {
|
|
|
14
14
|
slug: string;
|
|
15
15
|
apiType: CreateProviderDtoApiType;
|
|
16
16
|
baseUrl: string;
|
|
17
|
+
/** How the provider authenticates upstream. Omitted = `bearer`. `none` declares a keyless endpoint (openai-compatible only): neither `apiKey` nor `credentialRef` may then be supplied, and no credential header is sent. */
|
|
17
18
|
authType?: CreateProviderDtoAuthType;
|
|
18
|
-
/** Raw API key. ENROLMENT ONLY: it is sealed into the credential plane on arrival and never stored on the provider. Mutually exclusive with `credentialRef`; exactly one of the two is required. Prefer `credentialRef` in declarative configuration, where a raw key would reach a tfvars file, a plan and the state backend. */
|
|
19
|
+
/** Raw API key. ENROLMENT ONLY: it is sealed into the credential plane on arrival and never stored on the provider. Mutually exclusive with `credentialRef`; exactly one of the two is required unless `authType` is `none`, which admits neither. Prefer `credentialRef` in declarative configuration, where a raw key would reach a tfvars file, a plan and the state backend. */
|
|
19
20
|
apiKey?: string;
|
|
20
21
|
/**
|
|
21
|
-
* Opaque credential-binding id held by the credential plane. Mutually exclusive with `apiKey`; exactly one of the two is required
|
|
22
|
+
* Opaque credential-binding id held by the credential plane. Mutually exclusive with `apiKey`; exactly one of the two is required unless `authType` is `none`. The raw key never crosses this door when this form is used.
|
|
22
23
|
* @minLength 1
|
|
23
24
|
* @maxLength 200
|
|
24
25
|
*/
|
|
@@ -3,8 +3,12 @@
|
|
|
3
3
|
* LLM Registry API
|
|
4
4
|
* OpenAPI spec version: 0.1.3
|
|
5
5
|
*/
|
|
6
|
+
/**
|
|
7
|
+
* How the provider authenticates upstream. Omitted = `bearer`. `none` declares a keyless endpoint (openai-compatible only): neither `apiKey` nor `credentialRef` may then be supplied, and no credential header is sent.
|
|
8
|
+
*/
|
|
6
9
|
export type CreateProviderDtoAuthType = typeof CreateProviderDtoAuthType[keyof typeof CreateProviderDtoAuthType];
|
|
7
10
|
export declare const CreateProviderDtoAuthType: {
|
|
8
11
|
readonly bearer: "bearer";
|
|
9
12
|
readonly 'api-key-header': "api-key-header";
|
|
13
|
+
readonly none: "none";
|
|
10
14
|
};
|
package/dist/models/index.d.ts
CHANGED
|
@@ -158,6 +158,11 @@ export * from './exactAgentRevisionAuthorityResponseDtoDataEnvelope';
|
|
|
158
158
|
export * from './exactAgentRevisionAuthorityResponseDtoReachTier';
|
|
159
159
|
export * from './exactAgentRevisionResolvedGraphDto';
|
|
160
160
|
export * from './inputArtifactEntryDto';
|
|
161
|
+
export * from './listedModelProviderDto';
|
|
162
|
+
export * from './listedModelProviderDtoAuthType';
|
|
163
|
+
export * from './listedModelResponseDto';
|
|
164
|
+
export * from './listedModelResponseDtoContextWindow';
|
|
165
|
+
export * from './listedModelResponseDtoDataArrayEnvelope';
|
|
161
166
|
export * from './llmReadinessDetailsDto';
|
|
162
167
|
export * from './llmReadinessResponseDto';
|
|
163
168
|
export * from './llmReadinessResponseDtoAction';
|
|
@@ -190,6 +195,11 @@ export * from './modelFactSource';
|
|
|
190
195
|
export * from './modelModality';
|
|
191
196
|
export * from './modelMode';
|
|
192
197
|
export * from './modelPricingTierDto';
|
|
198
|
+
export * from './modelResolutionPreviewOutcome';
|
|
199
|
+
export * from './modelResolutionPreviewResponseDto';
|
|
200
|
+
export * from './modelResolutionPreviewResponseDtoDataEnvelope';
|
|
201
|
+
export * from './modelResolutionRefusalCode';
|
|
202
|
+
export * from './modelResolutionRefusalDto';
|
|
193
203
|
export * from './modelResolutionRuleResponseDto';
|
|
194
204
|
export * from './modelResolutionRuleResponseDtoDataArrayEnvelope';
|
|
195
205
|
export * from './modelResolutionRuleResponseDtoDataEnvelope';
|
|
@@ -218,15 +228,14 @@ export * from './modelVocabularyListDtoDataEnvelope';
|
|
|
218
228
|
export * from './mountEntryDto';
|
|
219
229
|
export * from './mountEntryDtoMode';
|
|
220
230
|
export * from './moveRevisionPinsDto';
|
|
221
|
-
export * from './orgInteractiveSubagentDto';
|
|
222
|
-
export * from './orgInteractiveSubagentsResponseDto';
|
|
223
|
-
export * from './orgInteractiveSubagentsResponseDtoDataEnvelope';
|
|
224
231
|
export * from './orgModelDefaultResponseDto';
|
|
225
232
|
export * from './orgModelDefaultResponseDtoDataEnvelope';
|
|
226
233
|
export * from './outputSurfaceKind';
|
|
227
234
|
export * from './paginationMeta';
|
|
235
|
+
export * from './previewModelResolutionDto';
|
|
228
236
|
export * from './probeProviderDto';
|
|
229
237
|
export * from './probeProviderDtoApiType';
|
|
238
|
+
export * from './probeProviderDtoAuthType';
|
|
230
239
|
export * from './probedModelDto';
|
|
231
240
|
export * from './problemActionableBy';
|
|
232
241
|
export * from './problemDetailsDto';
|
package/dist/models/index.js
CHANGED
|
@@ -175,6 +175,11 @@ __exportStar(require("./exactAgentRevisionAuthorityResponseDtoDataEnvelope"), ex
|
|
|
175
175
|
__exportStar(require("./exactAgentRevisionAuthorityResponseDtoReachTier"), exports);
|
|
176
176
|
__exportStar(require("./exactAgentRevisionResolvedGraphDto"), exports);
|
|
177
177
|
__exportStar(require("./inputArtifactEntryDto"), exports);
|
|
178
|
+
__exportStar(require("./listedModelProviderDto"), exports);
|
|
179
|
+
__exportStar(require("./listedModelProviderDtoAuthType"), exports);
|
|
180
|
+
__exportStar(require("./listedModelResponseDto"), exports);
|
|
181
|
+
__exportStar(require("./listedModelResponseDtoContextWindow"), exports);
|
|
182
|
+
__exportStar(require("./listedModelResponseDtoDataArrayEnvelope"), exports);
|
|
178
183
|
__exportStar(require("./llmReadinessDetailsDto"), exports);
|
|
179
184
|
__exportStar(require("./llmReadinessResponseDto"), exports);
|
|
180
185
|
__exportStar(require("./llmReadinessResponseDtoAction"), exports);
|
|
@@ -207,6 +212,11 @@ __exportStar(require("./modelFactSource"), exports);
|
|
|
207
212
|
__exportStar(require("./modelModality"), exports);
|
|
208
213
|
__exportStar(require("./modelMode"), exports);
|
|
209
214
|
__exportStar(require("./modelPricingTierDto"), exports);
|
|
215
|
+
__exportStar(require("./modelResolutionPreviewOutcome"), exports);
|
|
216
|
+
__exportStar(require("./modelResolutionPreviewResponseDto"), exports);
|
|
217
|
+
__exportStar(require("./modelResolutionPreviewResponseDtoDataEnvelope"), exports);
|
|
218
|
+
__exportStar(require("./modelResolutionRefusalCode"), exports);
|
|
219
|
+
__exportStar(require("./modelResolutionRefusalDto"), exports);
|
|
210
220
|
__exportStar(require("./modelResolutionRuleResponseDto"), exports);
|
|
211
221
|
__exportStar(require("./modelResolutionRuleResponseDtoDataArrayEnvelope"), exports);
|
|
212
222
|
__exportStar(require("./modelResolutionRuleResponseDtoDataEnvelope"), exports);
|
|
@@ -235,15 +245,14 @@ __exportStar(require("./modelVocabularyListDtoDataEnvelope"), exports);
|
|
|
235
245
|
__exportStar(require("./mountEntryDto"), exports);
|
|
236
246
|
__exportStar(require("./mountEntryDtoMode"), exports);
|
|
237
247
|
__exportStar(require("./moveRevisionPinsDto"), exports);
|
|
238
|
-
__exportStar(require("./orgInteractiveSubagentDto"), exports);
|
|
239
|
-
__exportStar(require("./orgInteractiveSubagentsResponseDto"), exports);
|
|
240
|
-
__exportStar(require("./orgInteractiveSubagentsResponseDtoDataEnvelope"), exports);
|
|
241
248
|
__exportStar(require("./orgModelDefaultResponseDto"), exports);
|
|
242
249
|
__exportStar(require("./orgModelDefaultResponseDtoDataEnvelope"), exports);
|
|
243
250
|
__exportStar(require("./outputSurfaceKind"), exports);
|
|
244
251
|
__exportStar(require("./paginationMeta"), exports);
|
|
252
|
+
__exportStar(require("./previewModelResolutionDto"), exports);
|
|
245
253
|
__exportStar(require("./probeProviderDto"), exports);
|
|
246
254
|
__exportStar(require("./probeProviderDtoApiType"), exports);
|
|
255
|
+
__exportStar(require("./probeProviderDtoAuthType"), exports);
|
|
247
256
|
__exportStar(require("./probedModelDto"), exports);
|
|
248
257
|
__exportStar(require("./problemActionableBy"), exports);
|
|
249
258
|
__exportStar(require("./problemDetailsDto"), exports);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* LLM Registry API
|
|
4
|
+
* OpenAPI spec version: 0.1.3
|
|
5
|
+
*/
|
|
6
|
+
import type { ListedModelProviderDtoAuthType } from './listedModelProviderDtoAuthType.js';
|
|
7
|
+
export interface ListedModelProviderDto {
|
|
8
|
+
id: string;
|
|
9
|
+
slug: string;
|
|
10
|
+
name: string;
|
|
11
|
+
/** How the provider authenticates upstream. `none` = a keyless endpoint, which holds no credential by design, so `hasCredentials: false` is not a misconfiguration there. */
|
|
12
|
+
authType: ListedModelProviderDtoAuthType;
|
|
13
|
+
/** Whether the provider is active. An inactive provider serves no model. */
|
|
14
|
+
isActive: boolean;
|
|
15
|
+
/** Whether the provider holds a credential reference. The credential itself is never returned. */
|
|
16
|
+
hasCredentials: boolean;
|
|
17
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* LLM Registry API
|
|
4
|
+
* OpenAPI spec version: 0.1.3
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* How the provider authenticates upstream. `none` = a keyless endpoint, which holds no credential by design, so `hasCredentials: false` is not a misconfiguration there.
|
|
8
|
+
*/
|
|
9
|
+
export type ListedModelProviderDtoAuthType = typeof ListedModelProviderDtoAuthType[keyof typeof ListedModelProviderDtoAuthType];
|
|
10
|
+
export declare const ListedModelProviderDtoAuthType: {
|
|
11
|
+
readonly bearer: "bearer";
|
|
12
|
+
readonly 'api-key-header': "api-key-header";
|
|
13
|
+
readonly none: "none";
|
|
14
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
4
|
+
* LLM Registry API
|
|
5
|
+
* OpenAPI spec version: 0.1.3
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.ListedModelProviderDtoAuthType = void 0;
|
|
9
|
+
exports.ListedModelProviderDtoAuthType = {
|
|
10
|
+
bearer: 'bearer',
|
|
11
|
+
'api-key-header': 'api-key-header',
|
|
12
|
+
none: 'none',
|
|
13
|
+
};
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* LLM Registry API
|
|
4
|
+
* OpenAPI spec version: 0.1.3
|
|
5
|
+
*/
|
|
6
|
+
import type { ListedModelProviderDto } from './listedModelProviderDto.js';
|
|
7
|
+
import type { ListedModelResponseDtoContextWindow } from './listedModelResponseDtoContextWindow.js';
|
|
8
|
+
import type { ModelFactConflictDto } from './modelFactConflictDto.js';
|
|
9
|
+
import type { ModelFactSource } from './modelFactSource.js';
|
|
10
|
+
import type { ModelModality } from './modelModality.js';
|
|
11
|
+
import type { ModelMode } from './modelMode.js';
|
|
12
|
+
import type { ModelPricingTierDto } from './modelPricingTierDto.js';
|
|
13
|
+
export interface ListedModelResponseDto {
|
|
14
|
+
id: string;
|
|
15
|
+
providerId: string;
|
|
16
|
+
modelId: string;
|
|
17
|
+
displayName: string;
|
|
18
|
+
/** @nullable */
|
|
19
|
+
contextWindow?: ListedModelResponseDtoContextWindow;
|
|
20
|
+
/**
|
|
21
|
+
* Max generation/output tokens. Bounded by contextWindow, which is the TOTAL budget (prompt + reasoning + answer). Null when no authoritative source declares one.
|
|
22
|
+
* @nullable
|
|
23
|
+
*/
|
|
24
|
+
maxOutputTokens?: number | null;
|
|
25
|
+
/** Where a model size fact came from, highest rank first: `operator` (a person set it; no provider sync ever overwrites it), `provider` (provider discovery reported it), `curated_catalog` (the curated per-provider catalogue). For `contextWindow`, null = provenance not recorded (a model registered before sources were tracked). */
|
|
26
|
+
contextWindowSource: ModelFactSource | null;
|
|
27
|
+
/**
|
|
28
|
+
* When the source of `contextWindow` last asserted this value (ISO 8601). Null exactly when its source is null.
|
|
29
|
+
* @nullable
|
|
30
|
+
*/
|
|
31
|
+
contextWindowVerifiedAt: string | null;
|
|
32
|
+
/**
|
|
33
|
+
* Max prompt (input) tokens, when the service caps input below the context window. Null when no source declares a cap (only the context window applies).
|
|
34
|
+
* @nullable
|
|
35
|
+
*/
|
|
36
|
+
maxInputTokens: number | null;
|
|
37
|
+
/** Where a model size fact came from, highest rank first: `operator` (a person set it; no provider sync ever overwrites it), `provider` (provider discovery reported it), `curated_catalog` (the curated per-provider catalogue). For `maxInputTokens`, null = the fact is unknown. */
|
|
38
|
+
maxInputTokensSource: ModelFactSource | null;
|
|
39
|
+
/**
|
|
40
|
+
* When the source of `maxInputTokens` last asserted this value (ISO 8601). Null exactly when its source is null.
|
|
41
|
+
* @nullable
|
|
42
|
+
*/
|
|
43
|
+
maxInputTokensVerifiedAt: string | null;
|
|
44
|
+
/** Where a model size fact came from, highest rank first: `operator` (a person set it; no provider sync ever overwrites it), `provider` (provider discovery reported it), `curated_catalog` (the curated per-provider catalogue). For `maxOutputTokens`, null with a null value = the fact is unknown; null beside a value = provenance not recorded (a model registered before sources were tracked). */
|
|
45
|
+
maxOutputTokensSource: ModelFactSource | null;
|
|
46
|
+
/**
|
|
47
|
+
* When the source of `maxOutputTokens` last asserted this value (ISO 8601). Null exactly when its source is null.
|
|
48
|
+
* @nullable
|
|
49
|
+
*/
|
|
50
|
+
maxOutputTokensVerifiedAt: string | null;
|
|
51
|
+
/** False when the effective size facts conflict (see `factConflicts`). An inconsistent model is refused for selection and use with `MODEL_FACTS_CONFLICT` until an admin changes or clears the overriding value. */
|
|
52
|
+
factsConsistent: boolean;
|
|
53
|
+
/** Every violated size-fact bound, with both sides' sources. Empty when consistent. */
|
|
54
|
+
factConflicts: ModelFactConflictDto[];
|
|
55
|
+
/** Operating mode of the model. Null when no signal resolved one. */
|
|
56
|
+
mode?: ModelMode | null;
|
|
57
|
+
/**
|
|
58
|
+
* Embedding output vector dimension (only for embedding models).
|
|
59
|
+
* @nullable
|
|
60
|
+
*/
|
|
61
|
+
embeddingDimension?: number | null;
|
|
62
|
+
capabilities: string[];
|
|
63
|
+
/** Closed-enum INPUT modalities the model accepts — a capability fact (see `modalitiesSource`). Empty when nobody declared any. */
|
|
64
|
+
modalities: ModelModality[];
|
|
65
|
+
/** Where the `modalities` capability fact came from, highest rank first: `operator` (no sync overwrites it), `provider` (the provider declared it), `curated_catalog`. an empty set with a null source = the fact is unknown (nobody declared it); a non-default value with a null source = provenance not recorded. */
|
|
66
|
+
modalitiesSource: ModelFactSource | null;
|
|
67
|
+
/**
|
|
68
|
+
* When the source of `modalities` last asserted it (ISO 8601). Null exactly when its source is null.
|
|
69
|
+
* @nullable
|
|
70
|
+
*/
|
|
71
|
+
modalitiesVerifiedAt: string | null;
|
|
72
|
+
/** Model exposes function/tool calling. */
|
|
73
|
+
supportsTools: boolean;
|
|
74
|
+
/** Model accepts image inputs. */
|
|
75
|
+
supportsVision: boolean;
|
|
76
|
+
/** Model performs explicit reasoning. */
|
|
77
|
+
supportsReasoning: boolean;
|
|
78
|
+
/** Model accepts audio inputs. */
|
|
79
|
+
supportsAudioInput: boolean;
|
|
80
|
+
/** Model accepts PDF inputs. */
|
|
81
|
+
supportsPdfInput: boolean;
|
|
82
|
+
/** Model supports prompt caching. */
|
|
83
|
+
supportsPromptCaching: boolean;
|
|
84
|
+
/** Model supports structured JSON output mode. */
|
|
85
|
+
supportsJsonMode: boolean;
|
|
86
|
+
/** Model supports built-in web search. */
|
|
87
|
+
supportsWebSearch: boolean;
|
|
88
|
+
/** Where the `supportsTools` capability fact came from, highest rank first: `operator` (no sync overwrites it), `provider` (the provider declared it), `curated_catalog`. `false` with a null source = the fact is unknown (nobody declared it); a non-default value with a null source = provenance not recorded. */
|
|
89
|
+
supportsToolsSource: ModelFactSource | null;
|
|
90
|
+
/**
|
|
91
|
+
* When the source of `supportsTools` last asserted it (ISO 8601). Null exactly when its source is null.
|
|
92
|
+
* @nullable
|
|
93
|
+
*/
|
|
94
|
+
supportsToolsVerifiedAt: string | null;
|
|
95
|
+
/** Where the `supportsVision` capability fact came from, highest rank first: `operator` (no sync overwrites it), `provider` (the provider declared it), `curated_catalog`. `false` with a null source = the fact is unknown (nobody declared it); a non-default value with a null source = provenance not recorded. */
|
|
96
|
+
supportsVisionSource: ModelFactSource | null;
|
|
97
|
+
/**
|
|
98
|
+
* When the source of `supportsVision` last asserted it (ISO 8601). Null exactly when its source is null.
|
|
99
|
+
* @nullable
|
|
100
|
+
*/
|
|
101
|
+
supportsVisionVerifiedAt: string | null;
|
|
102
|
+
/** Where the `supportsReasoning` capability fact came from, highest rank first: `operator` (no sync overwrites it), `provider` (the provider declared it), `curated_catalog`. `false` with a null source = the fact is unknown (nobody declared it); a non-default value with a null source = provenance not recorded. */
|
|
103
|
+
supportsReasoningSource: ModelFactSource | null;
|
|
104
|
+
/**
|
|
105
|
+
* When the source of `supportsReasoning` last asserted it (ISO 8601). Null exactly when its source is null.
|
|
106
|
+
* @nullable
|
|
107
|
+
*/
|
|
108
|
+
supportsReasoningVerifiedAt: string | null;
|
|
109
|
+
/** Where the `supportsAudioInput` capability fact came from, highest rank first: `operator` (no sync overwrites it), `provider` (the provider declared it), `curated_catalog`. `false` with a null source = the fact is unknown (nobody declared it); a non-default value with a null source = provenance not recorded. */
|
|
110
|
+
supportsAudioInputSource: ModelFactSource | null;
|
|
111
|
+
/**
|
|
112
|
+
* When the source of `supportsAudioInput` last asserted it (ISO 8601). Null exactly when its source is null.
|
|
113
|
+
* @nullable
|
|
114
|
+
*/
|
|
115
|
+
supportsAudioInputVerifiedAt: string | null;
|
|
116
|
+
/** Where the `supportsPdfInput` capability fact came from, highest rank first: `operator` (no sync overwrites it), `provider` (the provider declared it), `curated_catalog`. `false` with a null source = the fact is unknown (nobody declared it); a non-default value with a null source = provenance not recorded. */
|
|
117
|
+
supportsPdfInputSource: ModelFactSource | null;
|
|
118
|
+
/**
|
|
119
|
+
* When the source of `supportsPdfInput` last asserted it (ISO 8601). Null exactly when its source is null.
|
|
120
|
+
* @nullable
|
|
121
|
+
*/
|
|
122
|
+
supportsPdfInputVerifiedAt: string | null;
|
|
123
|
+
/** Where the `supportsPromptCaching` capability fact came from, highest rank first: `operator` (no sync overwrites it), `provider` (the provider declared it), `curated_catalog`. `false` with a null source = the fact is unknown (nobody declared it); a non-default value with a null source = provenance not recorded. */
|
|
124
|
+
supportsPromptCachingSource: ModelFactSource | null;
|
|
125
|
+
/**
|
|
126
|
+
* When the source of `supportsPromptCaching` last asserted it (ISO 8601). Null exactly when its source is null.
|
|
127
|
+
* @nullable
|
|
128
|
+
*/
|
|
129
|
+
supportsPromptCachingVerifiedAt: string | null;
|
|
130
|
+
/** Where the `supportsJsonMode` capability fact came from, highest rank first: `operator` (no sync overwrites it), `provider` (the provider declared it), `curated_catalog`. `false` with a null source = the fact is unknown (nobody declared it); a non-default value with a null source = provenance not recorded. */
|
|
131
|
+
supportsJsonModeSource: ModelFactSource | null;
|
|
132
|
+
/**
|
|
133
|
+
* When the source of `supportsJsonMode` last asserted it (ISO 8601). Null exactly when its source is null.
|
|
134
|
+
* @nullable
|
|
135
|
+
*/
|
|
136
|
+
supportsJsonModeVerifiedAt: string | null;
|
|
137
|
+
/** Where the `supportsWebSearch` capability fact came from, highest rank first: `operator` (no sync overwrites it), `provider` (the provider declared it), `curated_catalog`. `false` with a null source = the fact is unknown (nobody declared it); a non-default value with a null source = provenance not recorded. */
|
|
138
|
+
supportsWebSearchSource: ModelFactSource | null;
|
|
139
|
+
/**
|
|
140
|
+
* When the source of `supportsWebSearch` last asserted it (ISO 8601). Null exactly when its source is null.
|
|
141
|
+
* @nullable
|
|
142
|
+
*/
|
|
143
|
+
supportsWebSearchVerifiedAt: string | null;
|
|
144
|
+
/** Model has rolled out of the current window. */
|
|
145
|
+
deprecated: boolean;
|
|
146
|
+
/**
|
|
147
|
+
* Retirement date (ISO 8601) when a source publishes one; null otherwise.
|
|
148
|
+
* @nullable
|
|
149
|
+
*/
|
|
150
|
+
deprecationDate?: string | null;
|
|
151
|
+
/**
|
|
152
|
+
* Input price (USD per 1M tokens).
|
|
153
|
+
* @nullable
|
|
154
|
+
*/
|
|
155
|
+
inputPricePerMToken?: number | null;
|
|
156
|
+
/**
|
|
157
|
+
* Output price (USD per 1M tokens).
|
|
158
|
+
* @nullable
|
|
159
|
+
*/
|
|
160
|
+
outputPricePerMToken?: number | null;
|
|
161
|
+
/**
|
|
162
|
+
* Cache-read price (USD per 1M tokens).
|
|
163
|
+
* @nullable
|
|
164
|
+
*/
|
|
165
|
+
cacheReadPerMToken?: number | null;
|
|
166
|
+
/**
|
|
167
|
+
* Cache-write price (USD per 1M tokens).
|
|
168
|
+
* @nullable
|
|
169
|
+
*/
|
|
170
|
+
cacheWritePerMToken?: number | null;
|
|
171
|
+
/**
|
|
172
|
+
* Currency of the price columns ('USD' when any price is present, null otherwise).
|
|
173
|
+
* @nullable
|
|
174
|
+
*/
|
|
175
|
+
priceCurrency?: string | null;
|
|
176
|
+
/**
|
|
177
|
+
* Context-tier pricing overlay sorted ascending by minInputTokens. Null when no tier is published.
|
|
178
|
+
* @nullable
|
|
179
|
+
*/
|
|
180
|
+
tieredPricing?: ModelPricingTierDto[] | null;
|
|
181
|
+
/**
|
|
182
|
+
* Per-input-image price (USD per unit).
|
|
183
|
+
* @nullable
|
|
184
|
+
*/
|
|
185
|
+
imageInputPerUnit?: number | null;
|
|
186
|
+
/**
|
|
187
|
+
* Per-input-audio-second price (USD per second).
|
|
188
|
+
* @nullable
|
|
189
|
+
*/
|
|
190
|
+
audioInputPerSecond?: number | null;
|
|
191
|
+
isActive: boolean;
|
|
192
|
+
createdAt: string;
|
|
193
|
+
provider: ListedModelProviderDto;
|
|
194
|
+
/** True iff model resolution would serve this model to the organisation: the model is active, its provider is active and usable by the org (the same predicate resolution refuses with `MODEL_NOT_SERVED`), and its size facts agree (else resolution refuses with `MODEL_FACTS_CONFLICT`). Model pickers offer only servable models. */
|
|
195
|
+
servable: boolean;
|
|
196
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* LLM Registry API
|
|
4
|
+
* OpenAPI spec version: 0.1.3
|
|
5
|
+
*/
|
|
6
|
+
import type { ListedModelResponseDto } from './listedModelResponseDto.js';
|
|
7
|
+
export interface ListedModelResponseDtoDataArrayEnvelope {
|
|
8
|
+
data: ListedModelResponseDto[];
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* LLM Registry API
|
|
4
|
+
* OpenAPI spec version: 0.1.3
|
|
5
|
+
*/
|
|
6
|
+
export type ModelResolutionPreviewOutcome = typeof ModelResolutionPreviewOutcome[keyof typeof ModelResolutionPreviewOutcome];
|
|
7
|
+
export declare const ModelResolutionPreviewOutcome: {
|
|
8
|
+
readonly resolved: "resolved";
|
|
9
|
+
readonly refused: "refused";
|
|
10
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
4
|
+
* LLM Registry API
|
|
5
|
+
* OpenAPI spec version: 0.1.3
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.ModelResolutionPreviewOutcome = void 0;
|
|
9
|
+
exports.ModelResolutionPreviewOutcome = {
|
|
10
|
+
resolved: 'resolved',
|
|
11
|
+
refused: 'refused',
|
|
12
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* LLM Registry API
|
|
4
|
+
* OpenAPI spec version: 0.1.3
|
|
5
|
+
*/
|
|
6
|
+
import type { ModelResolutionPreviewOutcome } from './modelResolutionPreviewOutcome.js';
|
|
7
|
+
import type { ModelResolutionRefusalDto } from './modelResolutionRefusalDto.js';
|
|
8
|
+
import type { ResolvedPhaseConfigDto } from './resolvedPhaseConfigDto.js';
|
|
9
|
+
export interface ModelResolutionPreviewResponseDto {
|
|
10
|
+
outcome: ModelResolutionPreviewOutcome;
|
|
11
|
+
/** The resolved model. Present exactly when `outcome` is `resolved`. */
|
|
12
|
+
resolved?: ResolvedPhaseConfigDto;
|
|
13
|
+
/** Why resolution refused. Present exactly when `outcome` is `refused`. */
|
|
14
|
+
refusal?: ModelResolutionRefusalDto;
|
|
15
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* LLM Registry API
|
|
4
|
+
* OpenAPI spec version: 0.1.3
|
|
5
|
+
*/
|
|
6
|
+
import type { ModelResolutionPreviewResponseDto } from './modelResolutionPreviewResponseDto.js';
|
|
7
|
+
export interface ModelResolutionPreviewResponseDtoDataEnvelope {
|
|
8
|
+
data: ModelResolutionPreviewResponseDto;
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* LLM Registry API
|
|
4
|
+
* OpenAPI spec version: 0.1.3
|
|
5
|
+
*/
|
|
6
|
+
export type ModelResolutionRefusalCode = typeof ModelResolutionRefusalCode[keyof typeof ModelResolutionRefusalCode];
|
|
7
|
+
export declare const ModelResolutionRefusalCode: {
|
|
8
|
+
readonly MODEL_NOT_CONFIGURED: "MODEL_NOT_CONFIGURED";
|
|
9
|
+
readonly MODEL_NOT_SERVED: "MODEL_NOT_SERVED";
|
|
10
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
4
|
+
* LLM Registry API
|
|
5
|
+
* OpenAPI spec version: 0.1.3
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.ModelResolutionRefusalCode = void 0;
|
|
9
|
+
exports.ModelResolutionRefusalCode = {
|
|
10
|
+
MODEL_NOT_CONFIGURED: 'MODEL_NOT_CONFIGURED',
|
|
11
|
+
MODEL_NOT_SERVED: 'MODEL_NOT_SERVED',
|
|
12
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* LLM Registry API
|
|
4
|
+
* OpenAPI spec version: 0.1.3
|
|
5
|
+
*/
|
|
6
|
+
import type { ModelResolutionRefusalCode } from './modelResolutionRefusalCode.js';
|
|
7
|
+
export interface ModelResolutionRefusalDto {
|
|
8
|
+
code: ModelResolutionRefusalCode;
|
|
9
|
+
/** What is missing and how to fix it. */
|
|
10
|
+
message: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* LLM Registry API
|
|
4
|
+
* OpenAPI spec version: 0.1.3
|
|
5
|
+
*/
|
|
6
|
+
export interface PreviewModelResolutionDto {
|
|
7
|
+
/**
|
|
8
|
+
* The Space to resolve in: `xema://orgs/<id>` or `xema://orgs/<id>/projects/<id>`. It must name the organisation the caller is an admin of; it selects a Space inside it and never widens it.
|
|
9
|
+
* @minLength 1
|
|
10
|
+
* @maxLength 2048
|
|
11
|
+
*/
|
|
12
|
+
space: string;
|
|
13
|
+
/**
|
|
14
|
+
* The model lane to resolve — the Matrix `modelLane` dimension. Must be a declared lane.
|
|
15
|
+
* @maxLength 512
|
|
16
|
+
*/
|
|
17
|
+
modelLane: string;
|
|
18
|
+
}
|
|
@@ -4,8 +4,12 @@
|
|
|
4
4
|
* OpenAPI spec version: 0.1.3
|
|
5
5
|
*/
|
|
6
6
|
import type { ProbeProviderDtoApiType } from './probeProviderDtoApiType.js';
|
|
7
|
+
import type { ProbeProviderDtoAuthType } from './probeProviderDtoAuthType.js';
|
|
7
8
|
export interface ProbeProviderDto {
|
|
8
9
|
apiType: ProbeProviderDtoApiType;
|
|
9
10
|
baseUrl: string;
|
|
10
|
-
|
|
11
|
+
/** Omitted = `bearer`. `none` probes a keyless endpoint (openai-compatible only): `apiKey` must then be absent and no credential header is sent. */
|
|
12
|
+
authType?: ProbeProviderDtoAuthType;
|
|
13
|
+
/** The key to probe with. Required unless `authType` is `none`. */
|
|
14
|
+
apiKey?: string;
|
|
11
15
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* LLM Registry API
|
|
4
|
+
* OpenAPI spec version: 0.1.3
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Omitted = `bearer`. `none` probes a keyless endpoint (openai-compatible only): `apiKey` must then be absent and no credential header is sent.
|
|
8
|
+
*/
|
|
9
|
+
export type ProbeProviderDtoAuthType = typeof ProbeProviderDtoAuthType[keyof typeof ProbeProviderDtoAuthType];
|
|
10
|
+
export declare const ProbeProviderDtoAuthType: {
|
|
11
|
+
readonly bearer: "bearer";
|
|
12
|
+
readonly 'api-key-header': "api-key-header";
|
|
13
|
+
readonly none: "none";
|
|
14
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
4
|
+
* LLM Registry API
|
|
5
|
+
* OpenAPI spec version: 0.1.3
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.ProbeProviderDtoAuthType = void 0;
|
|
9
|
+
exports.ProbeProviderDtoAuthType = {
|
|
10
|
+
bearer: 'bearer',
|
|
11
|
+
'api-key-header': 'api-key-header',
|
|
12
|
+
none: 'none',
|
|
13
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xemahq/llm-registry-api-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -60,6 +60,6 @@
|
|
|
60
60
|
"build": "tsc -p tsconfig.json"
|
|
61
61
|
},
|
|
62
62
|
"xemaRelease": {
|
|
63
|
-
"sourceDigest": "sha256:
|
|
63
|
+
"sourceDigest": "sha256:c305c2bc8d27343ef60c0b392c5951845ad8987108e89ec08c7fdae2f1fa34ac"
|
|
64
64
|
}
|
|
65
65
|
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
-
* LLM Registry API
|
|
4
|
-
* OpenAPI spec version: 0.1.3
|
|
5
|
-
*/
|
|
6
|
-
export interface OrgInteractiveSubagentDto {
|
|
7
|
-
/** Unique agent slug — becomes the .md filename. */
|
|
8
|
-
slug: string;
|
|
9
|
-
/** Human-readable display name surfaced to the LLM as the agent description. */
|
|
10
|
-
displayName: string;
|
|
11
|
-
/** System prompt rendered as the body of the .md file. OpenCode auto-loads it when the subagent is invoked via the task tool. */
|
|
12
|
-
systemPrompt: string;
|
|
13
|
-
/**
|
|
14
|
-
* LLM sampling temperature for this subagent. Lower = more deterministic. `null` defers to the engine/model default.
|
|
15
|
-
* @nullable
|
|
16
|
-
*/
|
|
17
|
-
temperature?: number | null;
|
|
18
|
-
/** MCP service keys this subagent is allowed to use. Injected as the `mcp` block in the .md frontmatter. */
|
|
19
|
-
mcpServices: string[];
|
|
20
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
-
* LLM Registry API
|
|
4
|
-
* OpenAPI spec version: 0.1.3
|
|
5
|
-
*/
|
|
6
|
-
import type { OrgInteractiveSubagentDto } from './orgInteractiveSubagentDto.js';
|
|
7
|
-
export interface OrgInteractiveSubagentsResponseDto {
|
|
8
|
-
/** Org for which these subagents are scoped (X-Xema-Org-Id). */
|
|
9
|
-
orgId: string;
|
|
10
|
-
/** Ordered list of org-defined subagents to mount on an interactive worker. Only isActive + executionMode=subagent definitions are returned. */
|
|
11
|
-
subagents: OrgInteractiveSubagentDto[];
|
|
12
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
-
* LLM Registry API
|
|
4
|
-
* OpenAPI spec version: 0.1.3
|
|
5
|
-
*/
|
|
6
|
-
import type { OrgInteractiveSubagentsResponseDto } from './orgInteractiveSubagentsResponseDto.js';
|
|
7
|
-
export interface OrgInteractiveSubagentsResponseDtoDataEnvelope {
|
|
8
|
-
data: OrgInteractiveSubagentsResponseDto;
|
|
9
|
-
}
|
|
File without changes
|
/package/dist/models/{orgInteractiveSubagentsResponseDtoDataEnvelope.js → listedModelResponseDto.js}
RENAMED
|
File without changes
|
/package/dist/models/{orgInteractiveSubagentDto.js → listedModelResponseDtoContextWindow.js}
RENAMED
|
File without changes
|