@xemahq/llm-registry-api-client 0.8.5 → 0.8.8
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/model-strategies/model-strategies.d.ts +6 -1
- package/dist/endpoints/model-strategies/model-strategies.js +15 -1
- package/dist/models/agentKernelResponseDto.d.ts +1 -1
- package/dist/models/agentModelOverrideDto.d.ts +1 -1
- package/dist/models/agentProfileDto.d.ts +1 -1
- package/dist/models/createAgentKernelDto.d.ts +1 -1
- package/dist/models/createModelResolutionRuleDto.d.ts +1 -1
- package/dist/models/createModelStrategyEntryDto.d.ts +1 -1
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/models/modelResolutionRuleResponseDto.d.ts +2 -2
- package/dist/models/modelResolutionSelectorDto.d.ts +2 -2
- package/dist/models/modelResolutionSelectorResponseDto.d.ts +1 -1
- package/dist/models/modelStrategyEntryResponseDto.d.ts +1 -1
- package/dist/models/modelVocabularyKeyDto.d.ts +1 -1
- package/dist/models/modelVocabularyKind.d.ts +1 -1
- package/dist/models/resolveFullResponseDto.d.ts +1 -1
- package/dist/models/resolveModelForInvocationDto.d.ts +4 -4
- package/dist/models/resolvedAgentKernelResponseDto.d.ts +1 -1
- package/dist/models/resolvedModelRefDto.d.ts +1 -1
- package/dist/models/strategyDeletionAffectedProjectDto.d.ts +9 -0
- package/dist/models/strategyDeletionAffectedProjectDto.js +7 -0
- package/dist/models/strategyDeletionImpactResponseDto.d.ts +27 -0
- package/dist/models/strategyDeletionImpactResponseDto.js +2 -0
- package/dist/models/strategyDeletionImpactResponseDtoDataEnvelope.d.ts +9 -0
- package/dist/models/strategyDeletionImpactResponseDtoDataEnvelope.js +2 -0
- package/dist/models/strategyTemplateEntryDto.d.ts +1 -1
- package/dist/models/updateAgentKernelDto.d.ts +1 -1
- package/dist/models/updateModelResolutionRuleDto.d.ts +1 -1
- package/dist/models/workKindControllerListParams.d.ts +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* LLM Registry API
|
|
4
4
|
* OpenAPI spec version: 0.1.3
|
|
5
5
|
*/
|
|
6
|
-
import type { BindModelStrategyDto, CreateModelStrategyDto, ModelStrategyControllerGetProjectBinding200, ModelStrategyResponseDtoDataArrayEnvelope, ModelStrategyResponseDtoDataEnvelope, OrgDefaultStrategyStatusResponseDtoDataEnvelope, ProjectModelStrategyBindingResponseDtoDataEnvelope, StrategyTemplateResponseDtoDataArrayEnvelope, UpdateModelStrategyDto, UpsertModelStrategyEntriesDto } from '../../models';
|
|
6
|
+
import type { BindModelStrategyDto, CreateModelStrategyDto, ModelStrategyControllerGetProjectBinding200, ModelStrategyResponseDtoDataArrayEnvelope, ModelStrategyResponseDtoDataEnvelope, OrgDefaultStrategyStatusResponseDtoDataEnvelope, ProjectModelStrategyBindingResponseDtoDataEnvelope, StrategyDeletionImpactResponseDtoDataEnvelope, StrategyTemplateResponseDtoDataArrayEnvelope, UpdateModelStrategyDto, UpsertModelStrategyEntriesDto } from '../../models';
|
|
7
7
|
export declare const getModelStrategyControllerCreateStrategyUrl: () => string;
|
|
8
8
|
/**
|
|
9
9
|
* @summary Create a model strategy
|
|
@@ -44,6 +44,11 @@ export declare const getModelStrategyControllerDeleteStrategyUrl: (id: string) =
|
|
|
44
44
|
* @summary Delete a model strategy
|
|
45
45
|
*/
|
|
46
46
|
export declare const modelStrategyControllerDeleteStrategy: (id: string, options?: RequestInit) => Promise<unknown>;
|
|
47
|
+
export declare const getModelStrategyControllerGetStrategyDeletionImpactUrl: (id: string) => string;
|
|
48
|
+
/**
|
|
49
|
+
* @summary What deleting this model strategy would change for projects bound to it
|
|
50
|
+
*/
|
|
51
|
+
export declare const modelStrategyControllerGetStrategyDeletionImpact: (id: string, options?: RequestInit) => Promise<StrategyDeletionImpactResponseDtoDataEnvelope>;
|
|
47
52
|
export declare const getModelStrategyControllerUpsertEntriesUrl: (id: string) => string;
|
|
48
53
|
/**
|
|
49
54
|
* @summary Replace all strategy entries
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.modelStrategyControllerUnbindStrategy = exports.getModelStrategyControllerUnbindStrategyUrl = exports.modelStrategyControllerGetProjectBinding = exports.getModelStrategyControllerGetProjectBindingUrl = exports.modelStrategyControllerBindStrategy = exports.getModelStrategyControllerBindStrategyUrl = exports.modelStrategyControllerUpsertEntries = exports.getModelStrategyControllerUpsertEntriesUrl = exports.modelStrategyControllerDeleteStrategy = exports.getModelStrategyControllerDeleteStrategyUrl = exports.modelStrategyControllerUpdateStrategy = exports.getModelStrategyControllerUpdateStrategyUrl = exports.modelStrategyControllerGetStrategy = exports.getModelStrategyControllerGetStrategyUrl = exports.modelStrategyControllerAdoptTemplate = exports.getModelStrategyControllerAdoptTemplateUrl = exports.modelStrategyControllerListTemplates = exports.getModelStrategyControllerListTemplatesUrl = exports.modelStrategyControllerGetOrgDefaultStatus = exports.getModelStrategyControllerGetOrgDefaultStatusUrl = exports.modelStrategyControllerListStrategies = exports.getModelStrategyControllerListStrategiesUrl = exports.modelStrategyControllerCreateStrategy = exports.getModelStrategyControllerCreateStrategyUrl = void 0;
|
|
3
|
+
exports.modelStrategyControllerUnbindStrategy = exports.getModelStrategyControllerUnbindStrategyUrl = exports.modelStrategyControllerGetProjectBinding = exports.getModelStrategyControllerGetProjectBindingUrl = exports.modelStrategyControllerBindStrategy = exports.getModelStrategyControllerBindStrategyUrl = exports.modelStrategyControllerUpsertEntries = exports.getModelStrategyControllerUpsertEntriesUrl = exports.modelStrategyControllerGetStrategyDeletionImpact = exports.getModelStrategyControllerGetStrategyDeletionImpactUrl = exports.modelStrategyControllerDeleteStrategy = exports.getModelStrategyControllerDeleteStrategyUrl = exports.modelStrategyControllerUpdateStrategy = exports.getModelStrategyControllerUpdateStrategyUrl = exports.modelStrategyControllerGetStrategy = exports.getModelStrategyControllerGetStrategyUrl = exports.modelStrategyControllerAdoptTemplate = exports.getModelStrategyControllerAdoptTemplateUrl = exports.modelStrategyControllerListTemplates = exports.getModelStrategyControllerListTemplatesUrl = exports.modelStrategyControllerGetOrgDefaultStatus = exports.getModelStrategyControllerGetOrgDefaultStatusUrl = exports.modelStrategyControllerListStrategies = exports.getModelStrategyControllerListStrategiesUrl = exports.modelStrategyControllerCreateStrategy = exports.getModelStrategyControllerCreateStrategyUrl = void 0;
|
|
4
4
|
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
5
|
const getModelStrategyControllerCreateStrategyUrl = () => {
|
|
6
6
|
return `/model-strategies`;
|
|
@@ -118,6 +118,20 @@ const modelStrategyControllerDeleteStrategy = async (id, options) => {
|
|
|
118
118
|
});
|
|
119
119
|
};
|
|
120
120
|
exports.modelStrategyControllerDeleteStrategy = modelStrategyControllerDeleteStrategy;
|
|
121
|
+
const getModelStrategyControllerGetStrategyDeletionImpactUrl = (id) => {
|
|
122
|
+
return `/model-strategies/${id}/deletion-impact`;
|
|
123
|
+
};
|
|
124
|
+
exports.getModelStrategyControllerGetStrategyDeletionImpactUrl = getModelStrategyControllerGetStrategyDeletionImpactUrl;
|
|
125
|
+
/**
|
|
126
|
+
* @summary What deleting this model strategy would change for projects bound to it
|
|
127
|
+
*/
|
|
128
|
+
const modelStrategyControllerGetStrategyDeletionImpact = async (id, options) => {
|
|
129
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getModelStrategyControllerGetStrategyDeletionImpactUrl)(id), {
|
|
130
|
+
...options,
|
|
131
|
+
method: 'GET'
|
|
132
|
+
});
|
|
133
|
+
};
|
|
134
|
+
exports.modelStrategyControllerGetStrategyDeletionImpact = modelStrategyControllerGetStrategyDeletionImpact;
|
|
121
135
|
const getModelStrategyControllerUpsertEntriesUrl = (id) => {
|
|
122
136
|
return `/model-strategies/${id}/entries`;
|
|
123
137
|
};
|
|
@@ -47,7 +47,7 @@ export interface AgentKernelResponseDto {
|
|
|
47
47
|
* The model LANE this agent routes on — strategy entries map a lane to a modelSlug. An OPEN vocabulary: every key is declared by a `model-lane` contribution, and `GET /work-kinds?kind=model-lane` enumerates what this organisation may use. Distinct from AgentRunRole (permissions).
|
|
48
48
|
* @pattern ^[a-z][a-z0-9-]{0,62}$
|
|
49
49
|
*/
|
|
50
|
-
|
|
50
|
+
modelLane: string;
|
|
51
51
|
/**
|
|
52
52
|
* `null` defers to the engine/model default.
|
|
53
53
|
* @nullable
|
|
@@ -12,7 +12,7 @@ export interface AgentModelOverrideDto {
|
|
|
12
12
|
* Work kind this node's model resolves through (kind=strategy). OPEN vocabulary with no kernel core: every lane is declared by a `model-lane` contribution, so `GET /work-kinds?kind=model-lane` enumerates the lanes this organisation may use. Checked against the org's visible set on write.
|
|
13
13
|
* @pattern ^[a-z][a-z0-9-]{0,62}$
|
|
14
14
|
*/
|
|
15
|
-
|
|
15
|
+
modelLane?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @minimum 0
|
|
18
18
|
* @maximum 2
|
|
@@ -19,7 +19,7 @@ export interface AgentProfileDto {
|
|
|
19
19
|
* The model LANE this agent routes on — strategy entries map a lane to a modelSlug. An OPEN vocabulary: every key is declared by a `model-lane` contribution, and `GET /work-kinds?kind=model-lane` enumerates what this organisation may use. Distinct from AgentRunRole (permissions).
|
|
20
20
|
* @pattern ^[a-z][a-z0-9-]{0,62}$
|
|
21
21
|
*/
|
|
22
|
-
|
|
22
|
+
modelLane: string;
|
|
23
23
|
skills: string[];
|
|
24
24
|
isActive: boolean;
|
|
25
25
|
identityVersion: number;
|
|
@@ -17,7 +17,7 @@ export interface CreateAgentKernelDto {
|
|
|
17
17
|
* The model LANE this agent routes on — strategy entries map a lane to a modelSlug. An OPEN vocabulary: every key is declared by a `model-lane` contribution, and `GET /work-kinds?kind=model-lane` enumerates what this organisation may use. Distinct from AgentRunRole (permissions).
|
|
18
18
|
* @pattern ^[a-z][a-z0-9-]{0,62}$
|
|
19
19
|
*/
|
|
20
|
-
|
|
20
|
+
modelLane: string;
|
|
21
21
|
/** LLM temperature override. */
|
|
22
22
|
temperature?: number;
|
|
23
23
|
/** MCP service keys this agent can access. */
|
|
@@ -18,7 +18,7 @@ export interface CreateModelResolutionRuleDto {
|
|
|
18
18
|
* Work kind this rule routes through. Required when targetKind=strategy. OPEN vocabulary with no kernel core: every lane is declared by a `model-lane` contribution, so `GET /work-kinds?kind=model-lane` enumerates the lanes this organisation may use. Checked against the org's declared set on write.
|
|
19
19
|
* @pattern ^[a-z][a-z0-9-]{0,62}$
|
|
20
20
|
*/
|
|
21
|
-
|
|
21
|
+
targetModelLane?: string;
|
|
22
22
|
/**
|
|
23
23
|
* Optional temperature override carried by the resolved model.
|
|
24
24
|
* @minimum 0
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
export interface CreateModelStrategyEntryDto {
|
|
7
7
|
/** The work kind this entry routes. An OPEN vocabulary: the kernel core plus every key a biome or this organisation has declared. Lower-kebab; validated for GRAMMAR here and for DECLARATION where org context exists. */
|
|
8
|
-
|
|
8
|
+
modelLane: string;
|
|
9
9
|
/** Model slug/ID to match against LlmModel.modelId */
|
|
10
10
|
modelSlug: string;
|
|
11
11
|
/**
|
package/dist/models/index.d.ts
CHANGED
|
@@ -309,6 +309,9 @@ export * from './rollbackAgentRevisionDto';
|
|
|
309
309
|
export * from './scopeSource';
|
|
310
310
|
export * from './standingSessionRefDto';
|
|
311
311
|
export * from './startEmbeddingMigrationDto';
|
|
312
|
+
export * from './strategyDeletionAffectedProjectDto';
|
|
313
|
+
export * from './strategyDeletionImpactResponseDto';
|
|
314
|
+
export * from './strategyDeletionImpactResponseDtoDataEnvelope';
|
|
312
315
|
export * from './strategyTemplateAvailabilityDto';
|
|
313
316
|
export * from './strategyTemplateAvailabilityDtoReasonsItem';
|
|
314
317
|
export * from './strategyTemplateEntryDto';
|
package/dist/models/index.js
CHANGED
|
@@ -326,6 +326,9 @@ __exportStar(require("./rollbackAgentRevisionDto"), exports);
|
|
|
326
326
|
__exportStar(require("./scopeSource"), exports);
|
|
327
327
|
__exportStar(require("./standingSessionRefDto"), exports);
|
|
328
328
|
__exportStar(require("./startEmbeddingMigrationDto"), exports);
|
|
329
|
+
__exportStar(require("./strategyDeletionAffectedProjectDto"), exports);
|
|
330
|
+
__exportStar(require("./strategyDeletionImpactResponseDto"), exports);
|
|
331
|
+
__exportStar(require("./strategyDeletionImpactResponseDtoDataEnvelope"), exports);
|
|
329
332
|
__exportStar(require("./strategyTemplateAvailabilityDto"), exports);
|
|
330
333
|
__exportStar(require("./strategyTemplateAvailabilityDtoReasonsItem"), exports);
|
|
331
334
|
__exportStar(require("./strategyTemplateEntryDto"), exports);
|
|
@@ -16,7 +16,7 @@ export interface ModelResolutionRuleResponseDto {
|
|
|
16
16
|
/** @nullable */
|
|
17
17
|
targetProviderSlug?: string | null;
|
|
18
18
|
/** @nullable */
|
|
19
|
-
|
|
19
|
+
targetModelLane?: string | null;
|
|
20
20
|
/** @nullable */
|
|
21
21
|
targetTemperature?: number | null;
|
|
22
22
|
/** @nullable */
|
|
@@ -62,7 +62,7 @@ export interface ModelResolutionRuleResponseDto {
|
|
|
62
62
|
* SEAM #2: the work kind the default rule had before the first override. NULL when no override is active or the prior default was not a strategy ref.
|
|
63
63
|
* @nullable
|
|
64
64
|
*/
|
|
65
|
-
|
|
65
|
+
defaultTargetOverridePrevModelLane?: string | null;
|
|
66
66
|
/**
|
|
67
67
|
* SEAM #2: the temperature the default rule carried before the first override. NULL when no override is active or none was set.
|
|
68
68
|
* @nullable
|
|
@@ -17,10 +17,10 @@ export interface ModelResolutionSelectorDto {
|
|
|
17
17
|
/** 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). */
|
|
18
18
|
purpose?: string;
|
|
19
19
|
/**
|
|
20
|
-
* Match when the resolving agent's work kind equals this value (the `
|
|
20
|
+
* Match when the resolving agent's work kind equals this value (the `modelLane` dimension — one rule routes e.g. every `review`-kind agent). OPEN vocabulary with no kernel core: every lane is declared by a `model-lane` contribution, so `GET /work-kinds?kind=model-lane` enumerates the lanes this organisation may use. Checked against the org's visible set on write.
|
|
21
21
|
* @pattern ^[a-z][a-z0-9-]{0,62}$
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
modelLane?: string;
|
|
24
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
25
|
modelCapability?: ModelResolutionSelectorDtoModelCapability;
|
|
26
26
|
/** Forward-compat bag of additional registry dimensions → required literal. Omit / {} when only structured dimensions are used. */
|
|
@@ -17,7 +17,7 @@ export interface ModelResolutionSelectorResponseDto {
|
|
|
17
17
|
/** @nullable */
|
|
18
18
|
purpose?: string | null;
|
|
19
19
|
/** @nullable */
|
|
20
|
-
|
|
20
|
+
modelLane?: string | null;
|
|
21
21
|
/** @nullable */
|
|
22
22
|
modelCapability?: ModelResolutionSelectorResponseDtoModelCapability;
|
|
23
23
|
/** Additional registry dimensions. `{}` when none. */
|
|
@@ -7,7 +7,7 @@ export interface ModelStrategyEntryResponseDto {
|
|
|
7
7
|
id: string;
|
|
8
8
|
strategyId: string;
|
|
9
9
|
/** The model LANE this entry routes. An OPEN vocabulary declared by `model-lane` contributions — `GET /work-kinds?kind=model-lane` enumerates what this organisation may use. */
|
|
10
|
-
|
|
10
|
+
modelLane: string;
|
|
11
11
|
/** Model slug matched against LlmModel.modelId */
|
|
12
12
|
modelSlug: string;
|
|
13
13
|
/**
|
|
@@ -7,7 +7,7 @@ import type { ModelVocabularyKind } from './modelVocabularyKind.js';
|
|
|
7
7
|
export interface ModelVocabularyKeyDto {
|
|
8
8
|
/** The routing key. Lower-kebab and NOT namespaced by the declaring biome: a key that encoded it would move when that biome is renamed or replaced, silently invalidating every rule and strategy entry that names it. */
|
|
9
9
|
key: string;
|
|
10
|
-
/** Which Matrix dimension this key may select, and which contribution kind declared it. `model-lane` — work an agent does, selecting `
|
|
10
|
+
/** Which Matrix dimension this key may select, and which contribution kind declared it. `model-lane` — work an agent does, selecting `modelLane`. `model-purpose` — a use the platform or a biome makes of a model on nobody's behalf, selecting `purpose`. */
|
|
11
11
|
kind: ModelVocabularyKind;
|
|
12
12
|
title: string;
|
|
13
13
|
/** What work this key names, in the reader's words. */
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OpenAPI spec version: 0.1.3
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* Which Matrix dimension this key may select, and which contribution kind declared it. `model-lane` — work an agent does, selecting `
|
|
7
|
+
* Which Matrix dimension this key may select, and which contribution kind declared it. `model-lane` — work an agent does, selecting `modelLane`. `model-purpose` — a use the platform or a biome makes of a model on nobody's behalf, selecting `purpose`.
|
|
8
8
|
*/
|
|
9
9
|
export type ModelVocabularyKind = typeof ModelVocabularyKind[keyof typeof ModelVocabularyKind];
|
|
10
10
|
export declare const ModelVocabularyKind: {
|
|
@@ -23,7 +23,7 @@ export interface ResolveFullResponseDto {
|
|
|
23
23
|
/** Execution mode (primary, subagent). */
|
|
24
24
|
executionMode: AgentExecutionMode;
|
|
25
25
|
/** The model LANE this agent routes on. An OPEN vocabulary: every key is declared by a `model-lane` contribution, so there is no closed set to publish here. `GET /work-kinds?kind=model-lane` enumerates what this organisation may use. Distinct from AgentRunRole (permissions). */
|
|
26
|
-
|
|
26
|
+
modelLane: string;
|
|
27
27
|
/** Merged system prompt (base + project override append). */
|
|
28
28
|
systemPrompt: string;
|
|
29
29
|
/**
|
|
@@ -23,10 +23,10 @@ export interface ResolveModelForInvocationDto {
|
|
|
23
23
|
*/
|
|
24
24
|
agentSlug?: string;
|
|
25
25
|
/**
|
|
26
|
-
* ABOVE-RULES strategy-class override. When supplied, resolution routes through the named work kind directly and the Matrix rule evaluation is pre-empted entirely. This is NOT `
|
|
26
|
+
* ABOVE-RULES strategy-class override. When supplied, resolution routes through the named work kind directly and the Matrix rule evaluation is pre-empted entirely. This is NOT `preferredModelLane`.
|
|
27
27
|
* @maxLength 512
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
modelLane?: string;
|
|
30
30
|
/**
|
|
31
31
|
* ABOVE-RULES concrete-model override. Pins this credentialed model and skips the strategy cascade.
|
|
32
32
|
* @maxLength 512
|
|
@@ -42,8 +42,8 @@ export interface ResolveModelForInvocationDto {
|
|
|
42
42
|
* @maxLength 512
|
|
43
43
|
*/
|
|
44
44
|
purpose?: string;
|
|
45
|
-
/** Per-session "smartness" preference — the Matrix `
|
|
46
|
-
|
|
45
|
+
/** Per-session "smartness" preference — the Matrix `modelLane` MATCHED dimension, NOT an above-rules override. It populates the resolution context so a tier-injected managed rule can CLAMP it, and an unmapped kind falls through to the org default rule. Ignored when an explicit `modelLane`/`modelId` override is present. An AGENT-axis work kind: the kernel core plus every key a biome or this organisation has declared. Lower-kebab; an undeclared value is a 400 so a typo never silently lands on the default rule's match path — the same posture `purpose` has one field up. */
|
|
46
|
+
preferredModelLane?: string;
|
|
47
47
|
/**
|
|
48
48
|
* The active/launched skill — the Matrix `skill` dimension. Free-form: the skill vocabulary is open and owned by `skill-registry-api`, so an unknown value simply matches no rule rather than being refused.
|
|
49
49
|
* @maxLength 512
|
|
@@ -10,7 +10,7 @@ export interface ResolvedAgentKernelResponseDto {
|
|
|
10
10
|
* The model LANE this agent routes on — strategy entries map a lane to a modelSlug. An OPEN vocabulary: every key is declared by a `model-lane` contribution, and `GET /work-kinds?kind=model-lane` enumerates what this organisation may use. Distinct from AgentRunRole (permissions).
|
|
11
11
|
* @pattern ^[a-z][a-z0-9-]{0,62}$
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
modelLane: string;
|
|
14
14
|
systemPrompt: string;
|
|
15
15
|
/**
|
|
16
16
|
* `null` defers to the engine/model default.
|
|
@@ -0,0 +1,27 @@
|
|
|
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 { StrategyDeletionAffectedProjectDto } from './strategyDeletionAffectedProjectDto.js';
|
|
7
|
+
export interface StrategyDeletionImpactResponseDto {
|
|
8
|
+
strategyId: string;
|
|
9
|
+
displayName: string;
|
|
10
|
+
/** Whether this strategy is the organisation default. When true, deleting it leaves bound projects with no fallback — there is no platform-level default beneath it. */
|
|
11
|
+
isOrgDefault: boolean;
|
|
12
|
+
/** Projects explicitly bound to this strategy. Their bindings cascade-delete. */
|
|
13
|
+
boundProjectCount: number;
|
|
14
|
+
affectedProjects: StrategyDeletionAffectedProjectDto[];
|
|
15
|
+
/**
|
|
16
|
+
* The strategy those projects resolve to after deletion, or null when the organisation would be left with no default at all.
|
|
17
|
+
* @nullable
|
|
18
|
+
*/
|
|
19
|
+
fallsBackToStrategyId: string | null;
|
|
20
|
+
/**
|
|
21
|
+
* Display name of `fallsBackToStrategyId`.
|
|
22
|
+
* @nullable
|
|
23
|
+
*/
|
|
24
|
+
fallsBackToDisplayName: string | null;
|
|
25
|
+
/** True when at least one project would have NO resolvable strategy after this deletion. The caller should treat this as destructive. */
|
|
26
|
+
leavesProjectsUnresolved: boolean;
|
|
27
|
+
}
|
|
@@ -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 { StrategyDeletionImpactResponseDto } from './strategyDeletionImpactResponseDto.js';
|
|
7
|
+
export interface StrategyDeletionImpactResponseDtoDataEnvelope {
|
|
8
|
+
data: StrategyDeletionImpactResponseDto;
|
|
9
|
+
}
|
|
@@ -11,7 +11,7 @@ export interface UpdateAgentKernelDto {
|
|
|
11
11
|
* The model LANE this agent routes on — strategy entries map a lane to a modelSlug. An OPEN vocabulary: every key is declared by a `model-lane` contribution, and `GET /work-kinds?kind=model-lane` enumerates what this organisation may use. Distinct from AgentRunRole (permissions).
|
|
12
12
|
* @pattern ^[a-z][a-z0-9-]{0,62}$
|
|
13
13
|
*/
|
|
14
|
-
|
|
14
|
+
modelLane?: string;
|
|
15
15
|
temperature?: number;
|
|
16
16
|
mcpServices?: string[];
|
|
17
17
|
isActive?: boolean;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import type { ModelVocabularyKind } from './modelVocabularyKind.js';
|
|
7
7
|
export type WorkKindControllerListParams = {
|
|
8
8
|
/**
|
|
9
|
-
* Narrow to one vocabulary. `model-lane` is what an agent declares about itself and what a `
|
|
9
|
+
* Narrow to one vocabulary. `model-lane` is what an agent declares about itself and what a `modelLane` selector matches; `model-purpose` is what a platform-owned call carries as its `purpose`. Omitted returns both.
|
|
10
10
|
*/
|
|
11
11
|
kind?: ModelVocabularyKind;
|
|
12
12
|
};
|