@xemahq/llm-registry-api-client 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/endpoints/agent-agents/agent-agents.d.ts +8 -8
- package/dist/endpoints/chat-widget-catalogue/chat-widget-catalogue.d.ts +2 -2
- package/dist/models/agentControllerCapabilityAnalysisParams.d.ts +4 -1
- package/dist/models/agentControllerListParams.d.ts +12 -3
- package/dist/models/agentControllerResolveDraftCapableParams.d.ts +4 -1
- package/dist/models/agentControllerResolveParams.d.ts +4 -1
- package/dist/models/agentResponseDto.d.ts +6 -0
- package/dist/models/createAgentDto.d.ts +6 -0
- package/dist/models/durableWorkspaceRefDto.d.ts +11 -0
- package/dist/models/durableWorkspaceRefDto.js +9 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/dist/models/llmRegistryControllerResolveForInvocationParams.d.ts +5 -0
- package/dist/models/llmRegistryControllerResolveForInvocationPreferredModelClass.d.ts +15 -0
- package/dist/models/llmRegistryControllerResolveForInvocationPreferredModelClass.js +17 -0
- package/dist/models/modelResolutionRuleResponseDto.d.ts +47 -0
- package/dist/models/modelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass.d.ts +19 -0
- package/dist/models/modelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass.js +17 -0
- package/dist/models/modelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind.d.ts +16 -0
- package/dist/models/modelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind.js +14 -0
- package/dist/models/modelResolutionSelectorDto.d.ts +3 -0
- package/dist/models/modelResolutionSelectorDtoModelCapability.d.ts +19 -0
- package/dist/models/modelResolutionSelectorDtoModelCapability.js +18 -0
- package/dist/models/modelResolutionSelectorResponseDto.d.ts +3 -0
- package/dist/models/modelResolutionSelectorResponseDtoModelCapability.d.ts +19 -0
- package/dist/models/modelResolutionSelectorResponseDtoModelCapability.js +18 -0
- package/dist/models/resolvedAgentResponseDto.d.ts +6 -0
- package/dist/models/standingSessionRefDto.d.ts +11 -0
- package/dist/models/standingSessionRefDto.js +9 -0
- package/dist/models/updateAgentDto.d.ts +6 -0
- package/dist/models/widgetKindListDtoDataEnvelope.d.ts +11 -0
- package/dist/models/widgetKindListDtoDataEnvelope.js +2 -0
- package/dist/models/workspaceSharingPolicy.d.ts +1 -0
- package/dist/models/workspaceSharingPolicy.js +1 -0
- package/package.json +4 -4
|
@@ -11,11 +11,11 @@ export declare const getAgentControllerCreateUrl: () => string;
|
|
|
11
11
|
* @summary Create an Agent. Created in draft lifecycle; publish separately.
|
|
12
12
|
*/
|
|
13
13
|
export declare const agentControllerCreate: (createAgentDto: CreateAgentDto, options?: RequestInit) => Promise<AgentResponseDtoDataEnvelope>;
|
|
14
|
-
export declare const getAgentControllerListUrl: (params
|
|
14
|
+
export declare const getAgentControllerListUrl: (params?: AgentControllerListParams) => string;
|
|
15
15
|
/**
|
|
16
16
|
* @summary List Agent Agents for the org.
|
|
17
17
|
*/
|
|
18
|
-
export declare const agentControllerList: (params
|
|
18
|
+
export declare const agentControllerList: (params?: AgentControllerListParams, options?: RequestInit) => Promise<AgentResponseDtoPaginatedEnvelope>;
|
|
19
19
|
export declare const getAgentControllerGetUrl: (id: string) => string;
|
|
20
20
|
/**
|
|
21
21
|
* @summary Get a single Agent by id.
|
|
@@ -54,18 +54,18 @@ export declare const getAgentControllerRescopeUrl: (id: string) => string;
|
|
|
54
54
|
* @summary Re-scope an Agent — promote its owner UP the scope ladder (the "add to project" / "publish to org" action). Legal promotions: user → project|org, project → org. Touches only the owner columns; the slug, version and node tree are unchanged, so it is allowed in any lifecycle state. Illegal promotions / non-owner attempts fail fast with 400/403.
|
|
55
55
|
*/
|
|
56
56
|
export declare const agentControllerRescope: (id: string, rescopeDto: RescopeDto, options?: RequestInit) => Promise<AgentResponseDtoDataEnvelope>;
|
|
57
|
-
export declare const getAgentControllerResolveUrl: (ref: string, params
|
|
57
|
+
export declare const getAgentControllerResolveUrl: (ref: string, params?: AgentControllerResolveParams) => string;
|
|
58
58
|
/**
|
|
59
59
|
* @summary Resolve a composition by `slug@version` (or bare `slug` = latest published) into the runtime-facing tree (agent versions pinned, capability envelope present). agent-session-api and the workflow runtime call this at session/dispatch time.
|
|
60
60
|
*/
|
|
61
|
-
export declare const agentControllerResolve: (ref: string, params
|
|
62
|
-
export declare const getAgentControllerResolveDraftCapableUrl: (id: string, params
|
|
61
|
+
export declare const agentControllerResolve: (ref: string, params?: AgentControllerResolveParams, options?: RequestInit) => Promise<ResolvedAgentResponseDtoDataEnvelope>;
|
|
62
|
+
export declare const getAgentControllerResolveDraftCapableUrl: (id: string, params?: AgentControllerResolveDraftCapableParams) => string;
|
|
63
63
|
/**
|
|
64
64
|
* @summary Resolve a composition by row id into the runtime-facing tree, allowing a DRAFT composition. Used only by the Agent Studio sandbox harness so an author can test an in-progress composition before publishing. An archived composition is still refused.
|
|
65
65
|
*/
|
|
66
|
-
export declare const agentControllerResolveDraftCapable: (id: string, params
|
|
67
|
-
export declare const getAgentControllerCapabilityAnalysisUrl: (id: string, params
|
|
66
|
+
export declare const agentControllerResolveDraftCapable: (id: string, params?: AgentControllerResolveDraftCapableParams, options?: RequestInit) => Promise<ResolvedAgentResponseDtoDataEnvelope>;
|
|
67
|
+
export declare const getAgentControllerCapabilityAnalysisUrl: (id: string, params?: AgentControllerCapabilityAnalysisParams) => string;
|
|
68
68
|
/**
|
|
69
69
|
* @summary Chunk 3 — the read-only auto-grant-from-arming manifest: the union of CapabilityRefs the agent needs to drive its armed tools + skills across the whole sub-agent tree, plus the unresolved-ref diagnostics. Powers the Agent Studio "review & approve" surface. Draft-capable; computes nothing to disk.
|
|
70
70
|
*/
|
|
71
|
-
export declare const agentControllerCapabilityAnalysis: (id: string, params
|
|
71
|
+
export declare const agentControllerCapabilityAnalysis: (id: string, params?: AgentControllerCapabilityAnalysisParams, options?: RequestInit) => Promise<AgentCapabilityAnalysisDtoDataEnvelope>;
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type {
|
|
8
|
+
import type { WidgetKindListDtoDataEnvelope } from '../../models';
|
|
9
9
|
export declare const getWidgetCatalogueControllerListUrl: () => string;
|
|
10
10
|
/**
|
|
11
11
|
* @summary List every ChatWidget kind (first-party + biome-contributed) with its payload JSON Schema, so the frontend can render and register them.
|
|
12
12
|
*/
|
|
13
|
-
export declare const widgetCatalogueControllerList: (options?: RequestInit) => Promise<
|
|
13
|
+
export declare const widgetCatalogueControllerList: (options?: RequestInit) => Promise<WidgetKindListDtoDataEnvelope>;
|
|
@@ -6,5 +6,8 @@
|
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
8
|
export type AgentControllerCapabilityAnalysisParams = {
|
|
9
|
-
|
|
9
|
+
/**
|
|
10
|
+
* Optional project scope for the resolution ladder. Omit for an org-layer (project-less) caller — resolution then runs the org/biome/system tiers only.
|
|
11
|
+
*/
|
|
12
|
+
projectId?: string;
|
|
10
13
|
};
|
|
@@ -6,7 +6,16 @@
|
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
8
|
export type AgentControllerListParams = {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
/**
|
|
10
|
+
* Optional project scope for the resolution ladder. Omit for an org-layer (project-less) caller — resolution then runs the org/biome/system tiers only.
|
|
11
|
+
*/
|
|
12
|
+
projectId?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Optional `ScopeSource` filter.
|
|
15
|
+
*/
|
|
16
|
+
scope?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Optional `CompositionLifecycle` filter.
|
|
19
|
+
*/
|
|
20
|
+
lifecycle?: string;
|
|
12
21
|
};
|
|
@@ -6,5 +6,8 @@
|
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
8
|
export type AgentControllerResolveDraftCapableParams = {
|
|
9
|
-
|
|
9
|
+
/**
|
|
10
|
+
* Optional project scope for the resolution ladder. Omit for an org-layer (project-less) caller — resolution then runs the org/biome/system tiers only.
|
|
11
|
+
*/
|
|
12
|
+
projectId?: string;
|
|
10
13
|
};
|
|
@@ -6,5 +6,8 @@
|
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
8
|
export type AgentControllerResolveParams = {
|
|
9
|
-
|
|
9
|
+
/**
|
|
10
|
+
* Optional project scope for the resolution ladder. Omit for an org-layer (project-less) caller — resolution then runs the org/biome/system tiers only.
|
|
11
|
+
*/
|
|
12
|
+
projectId?: string;
|
|
10
13
|
};
|
|
@@ -11,7 +11,9 @@ import type { AgentReachTier } from './agentReachTier.js';
|
|
|
11
11
|
import type { AgentResponseDtoLifecycle } from './agentResponseDtoLifecycle.js';
|
|
12
12
|
import type { AgentSessionLifecycle } from './agentSessionLifecycle.js';
|
|
13
13
|
import type { AgentWorkspaceDto } from './agentWorkspaceDto.js';
|
|
14
|
+
import type { DurableWorkspaceRefDto } from './durableWorkspaceRefDto.js';
|
|
14
15
|
import type { ScopeSource } from './scopeSource.js';
|
|
16
|
+
import type { StandingSessionRefDto } from './standingSessionRefDto.js';
|
|
15
17
|
import type { WorkspaceSharingPolicy } from './workspaceSharingPolicy.js';
|
|
16
18
|
export interface AgentResponseDto {
|
|
17
19
|
id: string;
|
|
@@ -43,6 +45,10 @@ export interface AgentResponseDto {
|
|
|
43
45
|
sessionLifecycle?: AgentSessionLifecycle | null;
|
|
44
46
|
/** The agent's workspace-sharing policy — whether a session launch may POOL onto a compatible running pod (`shareable`) or must always run isolated (`isolated`). Always a concrete value — a row with no stored value reads `isolated` (WORKSPACE_SHARING_DEFAULT). */
|
|
45
47
|
workspaceSharing: WorkspaceSharingPolicy;
|
|
48
|
+
/** The agent's standing-session pin, or absent when it declares none. When present, every launch reuses ONE session keyed by `pinKey` (agent-session-api adopts-or-creates by `(orgId, projectId, pinKey)`). */
|
|
49
|
+
standingSession?: StandingSessionRefDto | null;
|
|
50
|
+
/** The agent's durable shared-workspace binding, or absent when it declares none. When present, every session it launches attaches to ONE durable, NAMED workspace shared across sessions/pods keyed by `workspaceRef`. */
|
|
51
|
+
durableWorkspace?: DurableWorkspaceRefDto | null;
|
|
46
52
|
/** Special-ability CapabilityRefs granted on top of the reach tier; unioned into the auto-grant manifest. Always present (defaults to []). */
|
|
47
53
|
abilities: string[];
|
|
48
54
|
/** @nullable */
|
|
@@ -10,7 +10,9 @@ import type { AgentNodeDto } from './agentNodeDto.js';
|
|
|
10
10
|
import type { AgentReachTier } from './agentReachTier.js';
|
|
11
11
|
import type { AgentSessionLifecycle } from './agentSessionLifecycle.js';
|
|
12
12
|
import type { AgentWorkspaceDto } from './agentWorkspaceDto.js';
|
|
13
|
+
import type { DurableWorkspaceRefDto } from './durableWorkspaceRefDto.js';
|
|
13
14
|
import type { ScopeSource } from './scopeSource.js';
|
|
15
|
+
import type { StandingSessionRefDto } from './standingSessionRefDto.js';
|
|
14
16
|
import type { WorkspaceSharingPolicy } from './workspaceSharingPolicy.js';
|
|
15
17
|
export interface CreateAgentDto {
|
|
16
18
|
/** Stable slug; lowercase, hyphenated. */
|
|
@@ -33,6 +35,10 @@ export interface CreateAgentDto {
|
|
|
33
35
|
sessionLifecycle?: AgentSessionLifecycle;
|
|
34
36
|
/** Whether a session launch of this agent may POOL onto a compatible, already-running pod as a new thread (`shareable`) or must always run in its own isolated worker (`isolated`). Omitted ⇒ the DB default `isolated` (the fail-safe) — mark `shareable` ONLY for workspace-stateless / chat-style agents that never mutate `/workspace`. */
|
|
35
37
|
workspaceSharing?: WorkspaceSharingPolicy;
|
|
38
|
+
/** Declares that every launch of this agent runs in ONE reusable "standing" session keyed by `pinKey` — agent-session-api adopts a non-terminal existing session for `(orgId, projectId, pinKey)` instead of minting a fresh one. Omitted / `null` ⇒ a fresh session per launch (the default). */
|
|
39
|
+
standingSession?: StandingSessionRefDto | null;
|
|
40
|
+
/** Declares that every session this agent launches attaches to ONE durable, NAMED workspace shared across independent sessions/pods (multi-pod `WorkspaceSharingPolicy.Shared`) keyed by `workspaceRef` — its files are the source of truth and cross-session mutating turns serialize through a write-lease. Omitted / `null` ⇒ a private per-session workspace (the default). */
|
|
41
|
+
durableWorkspace?: DurableWorkspaceRefDto | null;
|
|
36
42
|
/** Special-ability CapabilityRefs granted on top of the reach tier; unioned into the auto-grant manifest. */
|
|
37
43
|
abilities?: string[];
|
|
38
44
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* LLM Registry API
|
|
5
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export interface DurableWorkspaceRefDto {
|
|
9
|
+
/** Stable identity of the durable shared workspace. Every session of every agent that resolves this ref within the same `(orgId, projectId)` mounts the SAME durable `/workspace` (its files are the source of truth; a session is a disposable cache). */
|
|
10
|
+
workspaceRef: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.16.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* LLM Registry API
|
|
6
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/models/index.d.ts
CHANGED
|
@@ -119,6 +119,7 @@ export * from './createProviderDto';
|
|
|
119
119
|
export * from './createProviderDtoApiType';
|
|
120
120
|
export * from './createProviderDtoAuthType';
|
|
121
121
|
export * from './credentialKind';
|
|
122
|
+
export * from './durableWorkspaceRefDto';
|
|
122
123
|
export * from './embeddingCommitmentDto';
|
|
123
124
|
export * from './embeddingCommitmentDtoDataEnvelope';
|
|
124
125
|
export * from './embeddingCommitmentDtoState';
|
|
@@ -144,6 +145,7 @@ export * from './llmReadinessResponseDtoDataEnvelope';
|
|
|
144
145
|
export * from './llmReadinessResponseDtoStatus';
|
|
145
146
|
export * from './llmRegistryControllerResolveForInvocationModelClass';
|
|
146
147
|
export * from './llmRegistryControllerResolveForInvocationParams';
|
|
148
|
+
export * from './llmRegistryControllerResolveForInvocationPreferredModelClass';
|
|
147
149
|
export * from './llmRegistryControllerResolveForInvocationPurpose';
|
|
148
150
|
export * from './migrationConsumerDoneDto';
|
|
149
151
|
export * from './migrationConsumerDoneDtoConsumer';
|
|
@@ -162,14 +164,18 @@ export * from './modelMode';
|
|
|
162
164
|
export * from './modelPricingTierDto';
|
|
163
165
|
export * from './modelResolutionRuleResponseDto';
|
|
164
166
|
export * from './modelResolutionRuleResponseDtoDataEnvelope';
|
|
167
|
+
export * from './modelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass';
|
|
168
|
+
export * from './modelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind';
|
|
165
169
|
export * from './modelResolutionRuleResponseDtoPaginatedEnvelope';
|
|
166
170
|
export * from './modelResolutionRuleResponseDtoTargetKind';
|
|
167
171
|
export * from './modelResolutionRuleResponseDtoTargetModelClass';
|
|
168
172
|
export * from './modelResolutionSelectorDto';
|
|
169
173
|
export * from './modelResolutionSelectorDtoExtra';
|
|
174
|
+
export * from './modelResolutionSelectorDtoModelCapability';
|
|
170
175
|
export * from './modelResolutionSelectorDtoModelClass';
|
|
171
176
|
export * from './modelResolutionSelectorResponseDto';
|
|
172
177
|
export * from './modelResolutionSelectorResponseDtoExtra';
|
|
178
|
+
export * from './modelResolutionSelectorResponseDtoModelCapability';
|
|
173
179
|
export * from './modelResolutionSelectorResponseDtoModelClass';
|
|
174
180
|
export * from './modelResponseDto';
|
|
175
181
|
export * from './modelResponseDtoContextWindow';
|
|
@@ -273,6 +279,7 @@ export * from './roleCapabilityProfileDtoPaginatedEnvelope';
|
|
|
273
279
|
export * from './roleCapabilityProfileDtoSurface';
|
|
274
280
|
export * from './roleCapabilityProfileDtoWritePolicy';
|
|
275
281
|
export * from './scopeSource';
|
|
282
|
+
export * from './standingSessionRefDto';
|
|
276
283
|
export * from './startEmbeddingMigrationDto';
|
|
277
284
|
export * from './syncModelsResponseDto';
|
|
278
285
|
export * from './syncModelsResponseDtoDataEnvelope';
|
|
@@ -304,6 +311,7 @@ export * from './upsertToolProfileDto';
|
|
|
304
311
|
export * from './widgetKindDto';
|
|
305
312
|
export * from './widgetKindDtoPayloadSchema';
|
|
306
313
|
export * from './widgetKindListDto';
|
|
314
|
+
export * from './widgetKindListDtoDataEnvelope';
|
|
307
315
|
export * from './widgetKindSource';
|
|
308
316
|
export * from './workingFileEntryDto';
|
|
309
317
|
export * from './workingFileEntryDtoSourceRef';
|
package/dist/models/index.js
CHANGED
|
@@ -136,6 +136,7 @@ __exportStar(require("./createProviderDto"), exports);
|
|
|
136
136
|
__exportStar(require("./createProviderDtoApiType"), exports);
|
|
137
137
|
__exportStar(require("./createProviderDtoAuthType"), exports);
|
|
138
138
|
__exportStar(require("./credentialKind"), exports);
|
|
139
|
+
__exportStar(require("./durableWorkspaceRefDto"), exports);
|
|
139
140
|
__exportStar(require("./embeddingCommitmentDto"), exports);
|
|
140
141
|
__exportStar(require("./embeddingCommitmentDtoDataEnvelope"), exports);
|
|
141
142
|
__exportStar(require("./embeddingCommitmentDtoState"), exports);
|
|
@@ -161,6 +162,7 @@ __exportStar(require("./llmReadinessResponseDtoDataEnvelope"), exports);
|
|
|
161
162
|
__exportStar(require("./llmReadinessResponseDtoStatus"), exports);
|
|
162
163
|
__exportStar(require("./llmRegistryControllerResolveForInvocationModelClass"), exports);
|
|
163
164
|
__exportStar(require("./llmRegistryControllerResolveForInvocationParams"), exports);
|
|
165
|
+
__exportStar(require("./llmRegistryControllerResolveForInvocationPreferredModelClass"), exports);
|
|
164
166
|
__exportStar(require("./llmRegistryControllerResolveForInvocationPurpose"), exports);
|
|
165
167
|
__exportStar(require("./migrationConsumerDoneDto"), exports);
|
|
166
168
|
__exportStar(require("./migrationConsumerDoneDtoConsumer"), exports);
|
|
@@ -179,14 +181,18 @@ __exportStar(require("./modelMode"), exports);
|
|
|
179
181
|
__exportStar(require("./modelPricingTierDto"), exports);
|
|
180
182
|
__exportStar(require("./modelResolutionRuleResponseDto"), exports);
|
|
181
183
|
__exportStar(require("./modelResolutionRuleResponseDtoDataEnvelope"), exports);
|
|
184
|
+
__exportStar(require("./modelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass"), exports);
|
|
185
|
+
__exportStar(require("./modelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind"), exports);
|
|
182
186
|
__exportStar(require("./modelResolutionRuleResponseDtoPaginatedEnvelope"), exports);
|
|
183
187
|
__exportStar(require("./modelResolutionRuleResponseDtoTargetKind"), exports);
|
|
184
188
|
__exportStar(require("./modelResolutionRuleResponseDtoTargetModelClass"), exports);
|
|
185
189
|
__exportStar(require("./modelResolutionSelectorDto"), exports);
|
|
186
190
|
__exportStar(require("./modelResolutionSelectorDtoExtra"), exports);
|
|
191
|
+
__exportStar(require("./modelResolutionSelectorDtoModelCapability"), exports);
|
|
187
192
|
__exportStar(require("./modelResolutionSelectorDtoModelClass"), exports);
|
|
188
193
|
__exportStar(require("./modelResolutionSelectorResponseDto"), exports);
|
|
189
194
|
__exportStar(require("./modelResolutionSelectorResponseDtoExtra"), exports);
|
|
195
|
+
__exportStar(require("./modelResolutionSelectorResponseDtoModelCapability"), exports);
|
|
190
196
|
__exportStar(require("./modelResolutionSelectorResponseDtoModelClass"), exports);
|
|
191
197
|
__exportStar(require("./modelResponseDto"), exports);
|
|
192
198
|
__exportStar(require("./modelResponseDtoContextWindow"), exports);
|
|
@@ -290,6 +296,7 @@ __exportStar(require("./roleCapabilityProfileDtoPaginatedEnvelope"), exports);
|
|
|
290
296
|
__exportStar(require("./roleCapabilityProfileDtoSurface"), exports);
|
|
291
297
|
__exportStar(require("./roleCapabilityProfileDtoWritePolicy"), exports);
|
|
292
298
|
__exportStar(require("./scopeSource"), exports);
|
|
299
|
+
__exportStar(require("./standingSessionRefDto"), exports);
|
|
293
300
|
__exportStar(require("./startEmbeddingMigrationDto"), exports);
|
|
294
301
|
__exportStar(require("./syncModelsResponseDto"), exports);
|
|
295
302
|
__exportStar(require("./syncModelsResponseDtoDataEnvelope"), exports);
|
|
@@ -321,6 +328,7 @@ __exportStar(require("./upsertToolProfileDto"), exports);
|
|
|
321
328
|
__exportStar(require("./widgetKindDto"), exports);
|
|
322
329
|
__exportStar(require("./widgetKindDtoPayloadSchema"), exports);
|
|
323
330
|
__exportStar(require("./widgetKindListDto"), exports);
|
|
331
|
+
__exportStar(require("./widgetKindListDtoDataEnvelope"), exports);
|
|
324
332
|
__exportStar(require("./widgetKindSource"), exports);
|
|
325
333
|
__exportStar(require("./workingFileEntryDto"), exports);
|
|
326
334
|
__exportStar(require("./workingFileEntryDtoSourceRef"), exports);
|
|
@@ -6,8 +6,13 @@
|
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
8
|
import type { LlmRegistryControllerResolveForInvocationModelClass } from './llmRegistryControllerResolveForInvocationModelClass.js';
|
|
9
|
+
import type { LlmRegistryControllerResolveForInvocationPreferredModelClass } from './llmRegistryControllerResolveForInvocationPreferredModelClass.js';
|
|
9
10
|
import type { LlmRegistryControllerResolveForInvocationPurpose } from './llmRegistryControllerResolveForInvocationPurpose.js';
|
|
10
11
|
export type LlmRegistryControllerResolveForInvocationParams = {
|
|
12
|
+
/**
|
|
13
|
+
* Per-session "smartness" preference — the matrix `modelClass` MATCHED DIMENSION (NOT an above-rules override, unlike `modelClass`). Populates `context.modelClass` so the Matrix still runs its full rule evaluation: a tier-injected managed rule selecting on `modelClass` CLAMPS the preference (a managed org can never reach a model outside its tier); an unmapped class falls through to the org default rule (safe); a BYOK org resolves directly. Not privilege-escalating — it can only match existing rules. Ignored when an explicit `modelClass`/`modelId` override is present (the override pre-empts the matrix). The route as a whole is service-actor gated.
|
|
14
|
+
*/
|
|
15
|
+
preferredModelClass?: LlmRegistryControllerResolveForInvocationPreferredModelClass;
|
|
11
16
|
/**
|
|
12
17
|
* Non-agent invocation purpose — matrix `purpose` dimension. Set by system flows that route LLM calls outside the agent/skill model (memory summarization, embedding, reorganization). Falls through to the org default rule when no purpose-specific rule exists.
|
|
13
18
|
*/
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* LLM Registry API
|
|
5
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export type LlmRegistryControllerResolveForInvocationPreferredModelClass = typeof LlmRegistryControllerResolveForInvocationPreferredModelClass[keyof typeof LlmRegistryControllerResolveForInvocationPreferredModelClass];
|
|
9
|
+
export declare const LlmRegistryControllerResolveForInvocationPreferredModelClass: {
|
|
10
|
+
readonly coding: "coding";
|
|
11
|
+
readonly review: "review";
|
|
12
|
+
readonly creative: "creative";
|
|
13
|
+
readonly planning: "planning";
|
|
14
|
+
readonly utility: "utility";
|
|
15
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.16.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* LLM Registry API
|
|
6
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.LlmRegistryControllerResolveForInvocationPreferredModelClass = void 0;
|
|
11
|
+
exports.LlmRegistryControllerResolveForInvocationPreferredModelClass = {
|
|
12
|
+
coding: 'coding',
|
|
13
|
+
review: 'review',
|
|
14
|
+
creative: 'creative',
|
|
15
|
+
planning: 'planning',
|
|
16
|
+
utility: 'utility',
|
|
17
|
+
};
|
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
+
import type { ModelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass } from './modelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass.js';
|
|
9
|
+
import type { ModelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind } from './modelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind.js';
|
|
8
10
|
import type { ModelResolutionRuleResponseDtoTargetKind } from './modelResolutionRuleResponseDtoTargetKind.js';
|
|
9
11
|
import type { ModelResolutionRuleResponseDtoTargetModelClass } from './modelResolutionRuleResponseDtoTargetModelClass.js';
|
|
10
12
|
import type { ModelResolutionSelectorResponseDto } from './modelResolutionSelectorResponseDto.js';
|
|
@@ -23,6 +25,51 @@ export interface ModelResolutionRuleResponseDto {
|
|
|
23
25
|
targetTemperature?: number | null;
|
|
24
26
|
priority: number;
|
|
25
27
|
isDefault: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* ResourceManagedBy ownership KIND (`ui`/`iac`/`seeder`/`runtime_registered`/`system`). NULL for a plain user/org-admin-authored rule.
|
|
30
|
+
* @nullable
|
|
31
|
+
*/
|
|
32
|
+
managedBy?: string | null;
|
|
33
|
+
/**
|
|
34
|
+
* Owning service identity for a service-actor-upserted rule (derived from the service subject). NULL for authored/reconciler rules.
|
|
35
|
+
* @nullable
|
|
36
|
+
*/
|
|
37
|
+
managedOwner?: string | null;
|
|
38
|
+
/**
|
|
39
|
+
* The owner's stable natural key. NULL for authored rules; non-null for managed/reconciler rows.
|
|
40
|
+
* @nullable
|
|
41
|
+
*/
|
|
42
|
+
managedKey?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* SEAM #2: the service that repointed THIS org-default rule's target (derived from its subject). Non-null ONLY on the default row while a default-target override is active; the flag that an override is in effect. NULL otherwise.
|
|
45
|
+
* @nullable
|
|
46
|
+
*/
|
|
47
|
+
defaultTargetOverrideOwner?: string | null;
|
|
48
|
+
/**
|
|
49
|
+
* SEAM #2: the target KIND the default rule had before the first override, restored on revert. NULL when no override is active.
|
|
50
|
+
* @nullable
|
|
51
|
+
*/
|
|
52
|
+
defaultTargetOverridePrevTargetKind?: ModelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind;
|
|
53
|
+
/**
|
|
54
|
+
* SEAM #2: the concrete model id the default rule had before the first override. NULL when no override is active or the prior default was not concrete.
|
|
55
|
+
* @nullable
|
|
56
|
+
*/
|
|
57
|
+
defaultTargetOverridePrevModelId?: string | null;
|
|
58
|
+
/**
|
|
59
|
+
* SEAM #2: the provider slug the default rule had before the first override. NULL when no override is active.
|
|
60
|
+
* @nullable
|
|
61
|
+
*/
|
|
62
|
+
defaultTargetOverridePrevProviderSlug?: string | null;
|
|
63
|
+
/**
|
|
64
|
+
* SEAM #2: the strategy class the default rule had before the first override. NULL when no override is active or the prior default was not a strategy ref.
|
|
65
|
+
* @nullable
|
|
66
|
+
*/
|
|
67
|
+
defaultTargetOverridePrevModelClass?: ModelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass;
|
|
68
|
+
/**
|
|
69
|
+
* SEAM #2: the temperature the default rule carried before the first override. NULL when no override is active or none was set.
|
|
70
|
+
* @nullable
|
|
71
|
+
*/
|
|
72
|
+
defaultTargetOverridePrevTemperature?: number | null;
|
|
26
73
|
createdBy: string;
|
|
27
74
|
createdAt: string;
|
|
28
75
|
updatedAt: string;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* LLM Registry API
|
|
5
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* SEAM #2: the strategy class the default rule had before the first override. NULL when no override is active or the prior default was not a strategy ref.
|
|
10
|
+
* @nullable
|
|
11
|
+
*/
|
|
12
|
+
export type ModelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass = typeof ModelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass[keyof typeof ModelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass] | null;
|
|
13
|
+
export declare const ModelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass: {
|
|
14
|
+
readonly coding: "coding";
|
|
15
|
+
readonly review: "review";
|
|
16
|
+
readonly creative: "creative";
|
|
17
|
+
readonly planning: "planning";
|
|
18
|
+
readonly utility: "utility";
|
|
19
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.16.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* LLM Registry API
|
|
6
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.ModelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass = void 0;
|
|
11
|
+
exports.ModelResolutionRuleResponseDtoDefaultTargetOverridePrevModelClass = {
|
|
12
|
+
coding: 'coding',
|
|
13
|
+
review: 'review',
|
|
14
|
+
creative: 'creative',
|
|
15
|
+
planning: 'planning',
|
|
16
|
+
utility: 'utility',
|
|
17
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* LLM Registry API
|
|
5
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* SEAM #2: the target KIND the default rule had before the first override, restored on revert. NULL when no override is active.
|
|
10
|
+
* @nullable
|
|
11
|
+
*/
|
|
12
|
+
export type ModelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind = typeof ModelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind[keyof typeof ModelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind] | null;
|
|
13
|
+
export declare const ModelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind: {
|
|
14
|
+
readonly concrete: "concrete";
|
|
15
|
+
readonly strategy: "strategy";
|
|
16
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.16.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* LLM Registry API
|
|
6
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.ModelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind = void 0;
|
|
11
|
+
exports.ModelResolutionRuleResponseDtoDefaultTargetOverridePrevTargetKind = {
|
|
12
|
+
concrete: 'concrete',
|
|
13
|
+
strategy: 'strategy',
|
|
14
|
+
};
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
8
|
import type { ModelResolutionSelectorDtoExtra } from './modelResolutionSelectorDtoExtra.js';
|
|
9
|
+
import type { ModelResolutionSelectorDtoModelCapability } from './modelResolutionSelectorDtoModelCapability.js';
|
|
9
10
|
import type { ModelResolutionSelectorDtoModelClass } from './modelResolutionSelectorDtoModelClass.js';
|
|
10
11
|
export interface ModelResolutionSelectorDto {
|
|
11
12
|
/** Match when the resolving agent slug equals this value. */
|
|
@@ -20,6 +21,8 @@ export interface ModelResolutionSelectorDto {
|
|
|
20
21
|
purpose?: string;
|
|
21
22
|
/** Match when the resolving agent's model class equals this value (the Phase-4 `modelClass` dimension — one rule routes e.g. every `review`-class agent). */
|
|
22
23
|
modelClass?: ModelResolutionSelectorDtoModelClass;
|
|
24
|
+
/** Match when the invocation REQUIRES this model capability/modality (the `modelCapability` dimension — one rule routes e.g. every vision-requiring invocation to a multimodal model without pinning a provider). */
|
|
25
|
+
modelCapability?: ModelResolutionSelectorDtoModelCapability;
|
|
23
26
|
/** Forward-compat bag of additional registry dimensions → required literal. Omit / {} when only structured dimensions are used. */
|
|
24
27
|
extra?: ModelResolutionSelectorDtoExtra;
|
|
25
28
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* LLM Registry API
|
|
5
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Match when the invocation REQUIRES this model capability/modality (the `modelCapability` dimension — one rule routes e.g. every vision-requiring invocation to a multimodal model without pinning a provider).
|
|
10
|
+
*/
|
|
11
|
+
export type ModelResolutionSelectorDtoModelCapability = typeof ModelResolutionSelectorDtoModelCapability[keyof typeof ModelResolutionSelectorDtoModelCapability];
|
|
12
|
+
export declare const ModelResolutionSelectorDtoModelCapability: {
|
|
13
|
+
readonly vision: "vision";
|
|
14
|
+
readonly long_context: "long_context";
|
|
15
|
+
readonly reasoning: "reasoning";
|
|
16
|
+
readonly function_calling: "function_calling";
|
|
17
|
+
readonly audio: "audio";
|
|
18
|
+
readonly embedding: "embedding";
|
|
19
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.16.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* LLM Registry API
|
|
6
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.ModelResolutionSelectorDtoModelCapability = void 0;
|
|
11
|
+
exports.ModelResolutionSelectorDtoModelCapability = {
|
|
12
|
+
vision: 'vision',
|
|
13
|
+
long_context: 'long_context',
|
|
14
|
+
reasoning: 'reasoning',
|
|
15
|
+
function_calling: 'function_calling',
|
|
16
|
+
audio: 'audio',
|
|
17
|
+
embedding: 'embedding',
|
|
18
|
+
};
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
8
|
import type { ModelResolutionSelectorResponseDtoExtra } from './modelResolutionSelectorResponseDtoExtra.js';
|
|
9
|
+
import type { ModelResolutionSelectorResponseDtoModelCapability } from './modelResolutionSelectorResponseDtoModelCapability.js';
|
|
9
10
|
import type { ModelResolutionSelectorResponseDtoModelClass } from './modelResolutionSelectorResponseDtoModelClass.js';
|
|
10
11
|
export interface ModelResolutionSelectorResponseDto {
|
|
11
12
|
/** @nullable */
|
|
@@ -20,6 +21,8 @@ export interface ModelResolutionSelectorResponseDto {
|
|
|
20
21
|
purpose?: string | null;
|
|
21
22
|
/** @nullable */
|
|
22
23
|
modelClass?: ModelResolutionSelectorResponseDtoModelClass;
|
|
24
|
+
/** @nullable */
|
|
25
|
+
modelCapability?: ModelResolutionSelectorResponseDtoModelCapability;
|
|
23
26
|
/** Additional registry dimensions. `{}` when none. */
|
|
24
27
|
extra: ModelResolutionSelectorResponseDtoExtra;
|
|
25
28
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* LLM Registry API
|
|
5
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @nullable
|
|
10
|
+
*/
|
|
11
|
+
export type ModelResolutionSelectorResponseDtoModelCapability = typeof ModelResolutionSelectorResponseDtoModelCapability[keyof typeof ModelResolutionSelectorResponseDtoModelCapability] | null;
|
|
12
|
+
export declare const ModelResolutionSelectorResponseDtoModelCapability: {
|
|
13
|
+
readonly vision: "vision";
|
|
14
|
+
readonly long_context: "long_context";
|
|
15
|
+
readonly reasoning: "reasoning";
|
|
16
|
+
readonly function_calling: "function_calling";
|
|
17
|
+
readonly audio: "audio";
|
|
18
|
+
readonly embedding: "embedding";
|
|
19
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.16.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* LLM Registry API
|
|
6
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.ModelResolutionSelectorResponseDtoModelCapability = void 0;
|
|
11
|
+
exports.ModelResolutionSelectorResponseDtoModelCapability = {
|
|
12
|
+
vision: 'vision',
|
|
13
|
+
long_context: 'long_context',
|
|
14
|
+
reasoning: 'reasoning',
|
|
15
|
+
function_calling: 'function_calling',
|
|
16
|
+
audio: 'audio',
|
|
17
|
+
embedding: 'embedding',
|
|
18
|
+
};
|
|
@@ -10,7 +10,9 @@ import type { AgentNodeDto } from './agentNodeDto.js';
|
|
|
10
10
|
import type { AgentReachTier } from './agentReachTier.js';
|
|
11
11
|
import type { AgentSessionLifecycle } from './agentSessionLifecycle.js';
|
|
12
12
|
import type { AgentWorkspaceDto } from './agentWorkspaceDto.js';
|
|
13
|
+
import type { DurableWorkspaceRefDto } from './durableWorkspaceRefDto.js';
|
|
13
14
|
import type { ScopeSource } from './scopeSource.js';
|
|
15
|
+
import type { StandingSessionRefDto } from './standingSessionRefDto.js';
|
|
14
16
|
import type { WorkspaceSharingPolicy } from './workspaceSharingPolicy.js';
|
|
15
17
|
export interface ResolvedAgentResponseDto {
|
|
16
18
|
slug: string;
|
|
@@ -27,6 +29,10 @@ export interface ResolvedAgentResponseDto {
|
|
|
27
29
|
sessionLifecycle?: AgentSessionLifecycle | null;
|
|
28
30
|
/** Resolved workspace-sharing policy — whether a session launch of this agent may POOL onto a compatible running pod as a new thread (`shareable`) or must always run in its own isolated worker (`isolated`). Always populated: a row with no stored value resolves to `isolated` (WORKSPACE_SHARING_DEFAULT). agent-session-api reads this to gate session-thread pooling at launch. */
|
|
29
31
|
workspaceSharing: WorkspaceSharingPolicy;
|
|
32
|
+
/** Resolved standing-session pin — present only when the agent declares one. When present, agent-session-api does a `(orgId, projectId, pinKey)` get-or-create at `POST /sessions` and ADOPTS a non-terminal existing session instead of minting a fresh one. Absent ⇒ a fresh session per launch. */
|
|
33
|
+
standingSession?: StandingSessionRefDto | null;
|
|
34
|
+
/** Resolved durable shared-workspace binding — present only when the agent declares one. When present, agent-session-api stores `workspaceRef` on `Session.workspaceRef` so the session attaches to the SHARED, workspaceRef-keyed durable workspace (multi-pod `WorkspaceSharingPolicy.Shared`) instead of a private per-session one. Absent ⇒ a private per-session workspace. */
|
|
35
|
+
durableWorkspace?: DurableWorkspaceRefDto | null;
|
|
30
36
|
/** Chunk 3 — the deduped, sorted union of every CapabilityRef the agent needs to drive its armed tools + skills across the whole sub-agent tree (the auto-grant-from-arming manifest). Derived at resolve time from the MCP catalog (tools) + skill frontmatter (skills). Empty when nothing armed declares a capability — the default-safe no-op. The capability-analysis endpoint returns the same union plus the unresolved-ref diagnostics. */
|
|
31
37
|
requiredCapabilities: string[];
|
|
32
38
|
/** Special-ability CapabilityRefs granted on top of the reach tier; unioned into the auto-grant manifest (so they also appear in `requiredCapabilities`). Always present (defaults to []). */
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* LLM Registry API
|
|
5
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export interface StandingSessionRefDto {
|
|
9
|
+
/** Stable key identifying the standing session for a purpose/biome, e.g. `{biomeId}:{purpose}`. Two launches of the same agent within the same `(orgId, projectId)` that resolve this key reuse ONE session row. */
|
|
10
|
+
pinKey: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.16.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* LLM Registry API
|
|
6
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -10,6 +10,8 @@ import type { AgentNodeDto } from './agentNodeDto.js';
|
|
|
10
10
|
import type { AgentReachTier } from './agentReachTier.js';
|
|
11
11
|
import type { AgentSessionLifecycle } from './agentSessionLifecycle.js';
|
|
12
12
|
import type { AgentWorkspaceDto } from './agentWorkspaceDto.js';
|
|
13
|
+
import type { DurableWorkspaceRefDto } from './durableWorkspaceRefDto.js';
|
|
14
|
+
import type { StandingSessionRefDto } from './standingSessionRefDto.js';
|
|
13
15
|
import type { WorkspaceSharingPolicy } from './workspaceSharingPolicy.js';
|
|
14
16
|
export interface UpdateAgentDto {
|
|
15
17
|
displayName?: string;
|
|
@@ -24,6 +26,10 @@ export interface UpdateAgentDto {
|
|
|
24
26
|
sessionLifecycle?: AgentSessionLifecycle;
|
|
25
27
|
/** Whether a session launch may POOL onto a compatible running pod (`shareable`) or must always run isolated (`isolated`). Omitted leaves the stored value unchanged; the column default is `isolated`. */
|
|
26
28
|
workspaceSharing?: WorkspaceSharingPolicy;
|
|
29
|
+
/** Standing-session pin. Omitted leaves the stored value unchanged; set `{ pinKey }` to make every launch reuse ONE session keyed by `pinKey`; pass `null` to clear the pin (the agent stops being a standing agent). */
|
|
30
|
+
standingSession?: StandingSessionRefDto | null;
|
|
31
|
+
/** Durable shared-workspace binding. Omitted leaves the stored value unchanged; set `{ workspaceRef }` to attach every session this agent launches to ONE durable shared workspace; pass `null` to clear it (the agent reverts to a private per-session workspace). */
|
|
32
|
+
durableWorkspace?: DurableWorkspaceRefDto | null;
|
|
27
33
|
/** Special-ability CapabilityRefs granted on top of the reach tier; unioned into the auto-grant manifest. */
|
|
28
34
|
abilities?: string[];
|
|
29
35
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* LLM Registry API
|
|
5
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { WidgetKindListDto } from './widgetKindListDto.js';
|
|
9
|
+
export interface WidgetKindListDtoDataEnvelope {
|
|
10
|
+
data: WidgetKindListDto;
|
|
11
|
+
}
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xemahq/llm-registry-api-client",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
8
8
|
],
|
|
9
9
|
"publishConfig": {
|
|
10
|
-
"
|
|
11
|
-
"
|
|
10
|
+
"access": "public",
|
|
11
|
+
"registry": "https://registry.npmjs.org/"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"typescript": "5.9.3"
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"service": "llm-registry-api",
|
|
20
20
|
"biome": "agent-runtime",
|
|
21
21
|
"target": "server",
|
|
22
|
-
"generator": "@xemahq/api-client-generator@0.
|
|
22
|
+
"generator": "@xemahq/api-client-generator@0.2.0",
|
|
23
23
|
"source": "openapi.public.json"
|
|
24
24
|
},
|
|
25
25
|
"license": "LicenseRef-Xema-BSL-1.1",
|