@xemahq/llm-registry-api-client 0.8.5 → 0.8.7
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/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/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/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
|
@@ -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
|
/**
|
|
@@ -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.
|
|
@@ -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
|
};
|