@xemahq/llm-registry-api-client 0.2.0 → 0.4.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-agents/agent-agents.d.ts +66 -0
- package/dist/endpoints/agent-agents/agent-agents.js +217 -0
- package/dist/endpoints/agent-definitions/agent-definitions.d.ts +43 -43
- package/dist/endpoints/agent-definitions/agent-definitions.js +108 -108
- package/dist/endpoints/agent-kernels/agent-kernels.d.ts +113 -0
- package/dist/endpoints/agent-kernels/agent-kernels.js +403 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/models/agentBiomeAvailabilityDto.d.ts +13 -0
- package/dist/models/agentBiomeAvailabilityDto.js +9 -0
- package/dist/models/agentCapabilityLayerDto.d.ts +15 -0
- package/dist/models/agentCapabilityLayerDto.js +2 -0
- package/dist/models/agentCapabilityLayerDtoMayEditRepos.d.ts +12 -0
- package/dist/models/agentCapabilityLayerDtoMayEditRepos.js +14 -0
- package/dist/models/agentCapabilityLayerDtoWritePolicy.d.ts +13 -0
- package/dist/models/agentCapabilityLayerDtoWritePolicy.js +15 -0
- package/dist/models/agentControllerListParams.d.ts +12 -0
- package/dist/models/agentControllerListParams.js +9 -0
- package/dist/models/agentControllerResolveDraftCapableParams.d.ts +10 -0
- package/dist/models/agentControllerResolveDraftCapableParams.js +9 -0
- package/dist/models/agentControllerResolveParams.d.ts +10 -0
- package/dist/models/agentControllerResolveParams.js +9 -0
- package/dist/models/agentCredentialDto.d.ts +16 -0
- package/dist/models/agentCredentialDto.js +2 -0
- package/dist/models/agentEnvVarDto.d.ts +12 -0
- package/dist/models/agentEnvVarDto.js +9 -0
- package/dist/models/agentKernelControllerBrowseTalentPoolParams.d.ts +25 -0
- package/dist/models/agentKernelControllerBrowseTalentPoolParams.js +9 -0
- package/dist/models/agentKernelControllerListDefinitionsParams.d.ts +15 -0
- package/dist/models/agentKernelControllerListDefinitionsParams.js +2 -0
- package/dist/models/agentKernelControllerListInteractiveCatalogParams.d.ts +21 -0
- package/dist/models/agentKernelControllerListInteractiveCatalogParams.js +9 -0
- package/dist/models/agentKernelControllerResolveAgentBlocksParams.d.ts +13 -0
- package/dist/models/agentKernelControllerResolveAgentBlocksParams.js +9 -0
- package/dist/models/agentKernelControllerResolveAgentBundleFileAgentMode.d.ts +12 -0
- package/dist/models/agentKernelControllerResolveAgentBundleFileAgentMode.js +14 -0
- package/dist/models/agentKernelControllerResolveAgentBundleFileParams.d.ts +14 -0
- package/dist/models/agentKernelControllerResolveAgentBundleFileParams.js +2 -0
- package/dist/models/agentKernelResponseDto.d.ts +58 -0
- package/dist/models/agentKernelResponseDto.js +2 -0
- package/dist/models/agentKernelResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/agentKernelResponseDtoDataEnvelope.js +2 -0
- package/dist/models/agentKernelResponseDtoDefinitionHash.d.ts +10 -0
- package/dist/models/agentKernelResponseDtoDefinitionHash.js +9 -0
- package/dist/models/agentKernelResponseDtoModelClass.d.ts +15 -0
- package/dist/models/agentKernelResponseDtoModelClass.js +17 -0
- package/dist/models/agentKernelResponseDtoPaginatedEnvelope.d.ts +13 -0
- package/dist/models/agentKernelResponseDtoPaginatedEnvelope.js +2 -0
- package/dist/models/agentModelOverrideDto.d.ts +20 -0
- package/dist/models/agentModelOverrideDto.js +2 -0
- package/dist/models/agentModelOverrideDtoKind.d.ts +12 -0
- package/dist/models/agentModelOverrideDtoKind.js +14 -0
- package/dist/models/agentModelOverrideDtoModelClass.d.ts +15 -0
- package/dist/models/agentModelOverrideDtoModelClass.js +17 -0
- package/dist/models/agentMountLayoutDto.d.ts +20 -0
- package/dist/models/agentMountLayoutDto.js +2 -0
- package/dist/models/agentMountLayoutDtoInputs.d.ts +13 -0
- package/dist/models/agentMountLayoutDtoInputs.js +9 -0
- package/dist/models/agentMountLayoutDtoMounts.d.ts +13 -0
- package/dist/models/agentMountLayoutDtoMounts.js +9 -0
- package/dist/models/agentMountLayoutDtoSeedFilesItem.d.ts +10 -0
- package/dist/models/agentMountLayoutDtoSeedFilesItem.js +9 -0
- package/dist/models/agentNodeDto.d.ts +31 -0
- package/dist/models/agentNodeDto.js +2 -0
- package/dist/models/agentNodeDtoPermission.d.ts +13 -0
- package/dist/models/agentNodeDtoPermission.js +9 -0
- package/dist/models/agentOutputSurfaceDto.d.ts +25 -0
- package/dist/models/agentOutputSurfaceDto.js +2 -0
- package/dist/models/agentOutputSurfaceDtoMode.d.ts +12 -0
- package/dist/models/agentOutputSurfaceDtoMode.js +14 -0
- package/dist/models/agentPermissionsDto.d.ts +11 -0
- package/dist/models/agentPermissionsDto.js +2 -0
- package/dist/models/agentPermissionsToolsDto.d.ts +12 -0
- package/dist/models/agentPermissionsToolsDto.js +2 -0
- package/dist/models/agentPersistenceDto.d.ts +14 -0
- package/dist/models/agentPersistenceDto.js +2 -0
- package/dist/models/agentPersistenceDtoOverrides.d.ts +13 -0
- package/dist/models/agentPersistenceDtoOverrides.js +9 -0
- package/dist/models/agentRefDto.d.ts +12 -0
- package/dist/models/agentRefDto.js +9 -0
- package/dist/models/agentResponseDto.d.ts +42 -0
- package/dist/models/agentResponseDto.js +2 -0
- package/dist/models/agentResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/agentResponseDtoDataEnvelope.js +2 -0
- package/dist/models/agentResponseDtoLifecycle.d.ts +13 -0
- package/dist/models/agentResponseDtoLifecycle.js +15 -0
- package/dist/models/agentResponseDtoPaginatedEnvelope.d.ts +13 -0
- package/dist/models/agentResponseDtoPaginatedEnvelope.js +2 -0
- package/dist/models/agentRunConfigDto.d.ts +15 -0
- package/dist/models/agentRunConfigDto.js +9 -0
- package/dist/models/agentSkillRefDto.d.ts +12 -0
- package/dist/models/agentSkillRefDto.js +9 -0
- package/dist/models/agentToolRefDto.d.ts +16 -0
- package/dist/models/agentToolRefDto.js +2 -0
- package/dist/models/agentToolRefDtoKind.d.ts +12 -0
- package/dist/models/agentToolRefDtoKind.js +14 -0
- package/dist/models/agentWorkingFileDto.d.ts +18 -0
- package/dist/models/agentWorkingFileDto.js +2 -0
- package/dist/models/agentWorkingFileDtoFormat.d.ts +15 -0
- package/dist/models/agentWorkingFileDtoFormat.js +17 -0
- package/dist/models/agentWorkingFileDtoSourceRef.d.ts +10 -0
- package/dist/models/agentWorkingFileDtoSourceRef.js +9 -0
- package/dist/models/agentWorkingFileDtoSyncDirection.d.ts +13 -0
- package/dist/models/agentWorkingFileDtoSyncDirection.js +15 -0
- package/dist/models/agentWorkspaceDto.d.ts +26 -0
- package/dist/models/agentWorkspaceDto.js +2 -0
- package/dist/models/createAgentDto.d.ts +27 -0
- package/dist/models/createAgentDto.js +2 -0
- package/dist/models/createAgentKernelDto.d.ts +35 -0
- package/dist/models/createAgentKernelDto.js +2 -0
- package/dist/models/createAgentKernelDtoModelClass.d.ts +18 -0
- package/dist/models/createAgentKernelDtoModelClass.js +17 -0
- package/dist/models/index.d.ts +59 -59
- package/dist/models/index.js +59 -59
- package/dist/models/publishAgentDto.d.ts +19 -0
- package/dist/models/publishAgentDto.js +2 -0
- package/dist/models/resolvedAgentKernelResponseDto.d.ts +22 -0
- package/dist/models/resolvedAgentKernelResponseDto.js +2 -0
- package/dist/models/resolvedAgentKernelResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/resolvedAgentKernelResponseDtoDataEnvelope.js +2 -0
- package/dist/models/resolvedAgentKernelResponseDtoModelClass.d.ts +15 -0
- package/dist/models/resolvedAgentKernelResponseDtoModelClass.js +17 -0
- package/dist/models/resolvedAgentResponseDto.d.ts +12 -11
- package/dist/models/updateAgentDto.d.ts +18 -0
- package/dist/models/updateAgentDto.js +2 -0
- package/dist/models/updateAgentKernelDto.d.ts +20 -0
- package/dist/models/updateAgentKernelDto.js +2 -0
- package/dist/models/updateAgentKernelDtoModelClass.d.ts +15 -0
- package/dist/models/updateAgentKernelDtoModelClass.js +17 -0
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* LLM Registry API
|
|
5
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { ToolsetKey } from './toolsetKey.js';
|
|
9
|
+
export interface AgentPermissionsToolsDto {
|
|
10
|
+
allow: ToolsetKey[];
|
|
11
|
+
deny: ToolsetKey[];
|
|
12
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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 { AgentPersistenceDtoOverrides } from './agentPersistenceDtoOverrides.js';
|
|
9
|
+
export interface AgentPersistenceDto {
|
|
10
|
+
/** Workspace-relative paths. No leading "/", no "..". */
|
|
11
|
+
paths: string[];
|
|
12
|
+
/** Per-slot persistence-policy overrides keyed by AWP slot key. Values are the SlotPersistencePolicy union; only git-push slots are overridable. */
|
|
13
|
+
overrides?: AgentPersistenceDtoOverrides;
|
|
14
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
* Per-slot persistence-policy overrides keyed by AWP slot key. Values are the SlotPersistencePolicy union; only git-push slots are overridable.
|
|
10
|
+
*/
|
|
11
|
+
export type AgentPersistenceDtoOverrides = {
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
};
|
|
@@ -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 });
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* LLM Registry API
|
|
5
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export interface AgentRefDto {
|
|
9
|
+
slug: string;
|
|
10
|
+
/** Pinned version; omitted = latest. */
|
|
11
|
+
version?: string;
|
|
12
|
+
}
|
|
@@ -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 });
|
|
@@ -0,0 +1,42 @@
|
|
|
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 { AgentCapabilityLayerDto } from './agentCapabilityLayerDto.js';
|
|
9
|
+
import type { AgentNodeDto } from './agentNodeDto.js';
|
|
10
|
+
import type { AgentResponseDtoLifecycle } from './agentResponseDtoLifecycle.js';
|
|
11
|
+
import type { AgentWorkspaceDto } from './agentWorkspaceDto.js';
|
|
12
|
+
import type { ScopeSource } from './scopeSource.js';
|
|
13
|
+
export interface AgentResponseDto {
|
|
14
|
+
id: string;
|
|
15
|
+
orgId: string;
|
|
16
|
+
/** @nullable */
|
|
17
|
+
projectId?: string | null;
|
|
18
|
+
/** @nullable */
|
|
19
|
+
biomeId?: string | null;
|
|
20
|
+
/**
|
|
21
|
+
* Owning user id when scope = 'user', otherwise null.
|
|
22
|
+
* @nullable
|
|
23
|
+
*/
|
|
24
|
+
ownerUserId?: string | null;
|
|
25
|
+
slug: string;
|
|
26
|
+
version: string;
|
|
27
|
+
displayName: string;
|
|
28
|
+
/** @nullable */
|
|
29
|
+
description?: string | null;
|
|
30
|
+
scope: ScopeSource;
|
|
31
|
+
lifecycle: AgentResponseDtoLifecycle;
|
|
32
|
+
/** The recursive root (primary agent) node. */
|
|
33
|
+
root: AgentNodeDto;
|
|
34
|
+
capability?: AgentCapabilityLayerDto | null;
|
|
35
|
+
/** Authored workspace-layout config — persist-paths, env vars, output surface surface. Null when the composition declares no workspace block. */
|
|
36
|
+
workspace?: AgentWorkspaceDto | null;
|
|
37
|
+
/** @nullable */
|
|
38
|
+
forkedFrom?: string | null;
|
|
39
|
+
createdBy: string;
|
|
40
|
+
createdAt: string;
|
|
41
|
+
updatedAt: string;
|
|
42
|
+
}
|
|
@@ -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 { AgentResponseDto } from './agentResponseDto.js';
|
|
9
|
+
export interface AgentResponseDtoDataEnvelope {
|
|
10
|
+
data: AgentResponseDto;
|
|
11
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
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 AgentResponseDtoLifecycle = typeof AgentResponseDtoLifecycle[keyof typeof AgentResponseDtoLifecycle];
|
|
9
|
+
export declare const AgentResponseDtoLifecycle: {
|
|
10
|
+
readonly draft: "draft";
|
|
11
|
+
readonly published: "published";
|
|
12
|
+
readonly archived: "archived";
|
|
13
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
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.AgentResponseDtoLifecycle = void 0;
|
|
11
|
+
exports.AgentResponseDtoLifecycle = {
|
|
12
|
+
draft: 'draft',
|
|
13
|
+
published: 'published',
|
|
14
|
+
archived: 'archived',
|
|
15
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
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 { AgentResponseDto } from './agentResponseDto.js';
|
|
9
|
+
import type { PaginationMeta } from './paginationMeta.js';
|
|
10
|
+
export interface AgentResponseDtoPaginatedEnvelope {
|
|
11
|
+
data: AgentResponseDto[];
|
|
12
|
+
pagination?: PaginationMeta;
|
|
13
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* LLM Registry API
|
|
5
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export interface AgentRunConfigDto {
|
|
9
|
+
/** Stage key. */
|
|
10
|
+
stage: string;
|
|
11
|
+
/** Canonical AgentRunRole — drives renderer + system-overlay framing. */
|
|
12
|
+
role: string;
|
|
13
|
+
/** Deliverable-spec ref. May carry a `${input.x}` token — resolved downstream by the workspace pipeline against the run bind inputs. */
|
|
14
|
+
deliverableSpecRef?: string;
|
|
15
|
+
}
|
|
@@ -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 });
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* LLM Registry API
|
|
5
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export interface AgentSkillRefDto {
|
|
9
|
+
slug: string;
|
|
10
|
+
/** Pinned version; omitted = latest approved. */
|
|
11
|
+
version?: string;
|
|
12
|
+
}
|
|
@@ -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 });
|
|
@@ -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
|
+
import type { AgentToolRefDtoKind } from './agentToolRefDtoKind.js';
|
|
9
|
+
export interface AgentToolRefDto {
|
|
10
|
+
kind: AgentToolRefDtoKind;
|
|
11
|
+
/** Tool provider kind (see ToolProviderKind). */
|
|
12
|
+
providerKind: string;
|
|
13
|
+
resourceId: string;
|
|
14
|
+
/** Canonical MCP tool name. Required when kind = tool. */
|
|
15
|
+
toolName?: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* LLM Registry API
|
|
5
|
+
* Central registry for LLM providers, models, and per-project model configuration
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export type AgentToolRefDtoKind = typeof AgentToolRefDtoKind[keyof typeof AgentToolRefDtoKind];
|
|
9
|
+
export declare const AgentToolRefDtoKind: {
|
|
10
|
+
readonly provider: "provider";
|
|
11
|
+
readonly tool: "tool";
|
|
12
|
+
};
|
|
@@ -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.AgentToolRefDtoKind = void 0;
|
|
11
|
+
exports.AgentToolRefDtoKind = {
|
|
12
|
+
provider: 'provider',
|
|
13
|
+
tool: 'tool',
|
|
14
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
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 { AgentWorkingFileDtoFormat } from './agentWorkingFileDtoFormat.js';
|
|
9
|
+
import type { AgentWorkingFileDtoSourceRef } from './agentWorkingFileDtoSourceRef.js';
|
|
10
|
+
import type { AgentWorkingFileDtoSyncDirection } from './agentWorkingFileDtoSyncDirection.js';
|
|
11
|
+
export interface AgentWorkingFileDto {
|
|
12
|
+
slug: string;
|
|
13
|
+
path: string;
|
|
14
|
+
format: AgentWorkingFileDtoFormat;
|
|
15
|
+
syncDirection: AgentWorkingFileDtoSyncDirection;
|
|
16
|
+
sourceKind: string;
|
|
17
|
+
sourceRef: AgentWorkingFileDtoSourceRef;
|
|
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 AgentWorkingFileDtoFormat = typeof AgentWorkingFileDtoFormat[keyof typeof AgentWorkingFileDtoFormat];
|
|
9
|
+
export declare const AgentWorkingFileDtoFormat: {
|
|
10
|
+
readonly markdown: "markdown";
|
|
11
|
+
readonly html: "html";
|
|
12
|
+
readonly json: "json";
|
|
13
|
+
readonly yaml: "yaml";
|
|
14
|
+
readonly text: "text";
|
|
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.AgentWorkingFileDtoFormat = void 0;
|
|
11
|
+
exports.AgentWorkingFileDtoFormat = {
|
|
12
|
+
markdown: 'markdown',
|
|
13
|
+
html: 'html',
|
|
14
|
+
json: 'json',
|
|
15
|
+
yaml: 'yaml',
|
|
16
|
+
text: 'text',
|
|
17
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
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 AgentWorkingFileDtoSourceRef = {
|
|
9
|
+
[key: string]: string;
|
|
10
|
+
};
|
|
@@ -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 });
|
|
@@ -0,0 +1,13 @@
|
|
|
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 AgentWorkingFileDtoSyncDirection = typeof AgentWorkingFileDtoSyncDirection[keyof typeof AgentWorkingFileDtoSyncDirection];
|
|
9
|
+
export declare const AgentWorkingFileDtoSyncDirection: {
|
|
10
|
+
readonly 'down-only': "down-only";
|
|
11
|
+
readonly 'up-only': "up-only";
|
|
12
|
+
readonly bidirectional: "bidirectional";
|
|
13
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
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.AgentWorkingFileDtoSyncDirection = void 0;
|
|
11
|
+
exports.AgentWorkingFileDtoSyncDirection = {
|
|
12
|
+
'down-only': 'down-only',
|
|
13
|
+
'up-only': 'up-only',
|
|
14
|
+
bidirectional: 'bidirectional',
|
|
15
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
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 { AgentCredentialDto } from './agentCredentialDto.js';
|
|
9
|
+
import type { AgentEnvVarDto } from './agentEnvVarDto.js';
|
|
10
|
+
import type { AgentMountLayoutDto } from './agentMountLayoutDto.js';
|
|
11
|
+
import type { AgentOutputSurfaceDto } from './agentOutputSurfaceDto.js';
|
|
12
|
+
import type { AgentPermissionsDto } from './agentPermissionsDto.js';
|
|
13
|
+
import type { AgentPersistenceDto } from './agentPersistenceDto.js';
|
|
14
|
+
import type { AgentWorkingFileDto } from './agentWorkingFileDto.js';
|
|
15
|
+
export interface AgentWorkspaceDto {
|
|
16
|
+
persistence?: AgentPersistenceDto;
|
|
17
|
+
env?: AgentEnvVarDto[];
|
|
18
|
+
outputSurface?: AgentOutputSurfaceDto;
|
|
19
|
+
/** Declared credential requirements projected from the source manifest compiled `spec.credentials[]`. Read by the runtime EnvironmentResolver (snapshot + resume drift detection). Present only when the source manifest authored at least one credential. */
|
|
20
|
+
credentials?: AgentCredentialDto[];
|
|
21
|
+
/** Coarse toolset allow/deny gate projected from the source manifest compiled `spec.permissions`. Read by the runtime EnvironmentResolver (snapshot + resume drift detection). Present only when the source manifest authored a non-empty allow or deny list. */
|
|
22
|
+
permissions?: AgentPermissionsDto;
|
|
23
|
+
mountLayout?: AgentMountLayoutDto;
|
|
24
|
+
/** Working files the platform materialises for sessions on this composition. Raw form — `path` / `sourceRef` values may carry `${input.x}` tokens that the bundle-apply path resolves against the session's `customConfig.manifestInputs`. */
|
|
25
|
+
workingFiles?: AgentWorkingFileDto[];
|
|
26
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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 { AgentCapabilityLayerDto } from './agentCapabilityLayerDto.js';
|
|
9
|
+
import type { AgentNodeDto } from './agentNodeDto.js';
|
|
10
|
+
import type { AgentWorkspaceDto } from './agentWorkspaceDto.js';
|
|
11
|
+
import type { ScopeSource } from './scopeSource.js';
|
|
12
|
+
export interface CreateAgentDto {
|
|
13
|
+
/** Stable slug; lowercase, hyphenated. */
|
|
14
|
+
slug: string;
|
|
15
|
+
/** Semantic version of this composition. */
|
|
16
|
+
version: string;
|
|
17
|
+
displayName: string;
|
|
18
|
+
description?: string;
|
|
19
|
+
/** Owner tier. Customer-authorable tiers only — `org` (default) or `user`. `project` is reached via re-scope; `biome`/`system` are platform-seeded. */
|
|
20
|
+
scope: ScopeSource;
|
|
21
|
+
/** The recursive root (primary agent) node. */
|
|
22
|
+
root: AgentNodeDto;
|
|
23
|
+
/** Capability envelope applied at runtime. When omitted, a read-only default is applied at publish time. */
|
|
24
|
+
capability?: AgentCapabilityLayerDto;
|
|
25
|
+
/** Authored workspace-layout config — persist-paths + per-slot overrides, env vars, output surface. Optional + additive: a composition with no workspace block runs on the AWP base slots alone. Projected onto the run's WorkspaceSpec by the resolution service. */
|
|
26
|
+
workspace?: AgentWorkspaceDto;
|
|
27
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 { CreateAgentKernelDtoModelClass } from './createAgentKernelDtoModelClass.js';
|
|
9
|
+
import type { ScopeSource } from './scopeSource.js';
|
|
10
|
+
export interface CreateAgentKernelDto {
|
|
11
|
+
/** Unique slug for the agent definition. */
|
|
12
|
+
slug: string;
|
|
13
|
+
/** Display name for the agent. */
|
|
14
|
+
displayName: string;
|
|
15
|
+
/** Free-text description rendered on the agent profile. */
|
|
16
|
+
description?: string;
|
|
17
|
+
/** Base system prompt. */
|
|
18
|
+
systemPrompt: string;
|
|
19
|
+
/** LLM-routing tier. Strategy entries map class → modelSlug. Distinct from AgentRunRole (permissions). */
|
|
20
|
+
modelClass: CreateAgentKernelDtoModelClass;
|
|
21
|
+
/** LLM temperature override. */
|
|
22
|
+
temperature?: number;
|
|
23
|
+
/** MCP service keys this agent can access. */
|
|
24
|
+
mcpServices?: string[];
|
|
25
|
+
/** Origin reference set when this row was forked from a biome/system agent. Format: `<source>:<biomeId|"">:<slug>`. Survives uninstall — UI surfaces "fork without origin" if the origin is gone. */
|
|
26
|
+
forkedFrom?: string;
|
|
27
|
+
/** DiceBear avatar seed (defaults to slug). */
|
|
28
|
+
avatarSeed?: string;
|
|
29
|
+
/** DiceBear avatar style family. */
|
|
30
|
+
avatarStyle?: string;
|
|
31
|
+
/** Open-world skill tags. */
|
|
32
|
+
skills?: string[];
|
|
33
|
+
/** Owner tier the agent is created under. Customer-authorable tiers only — `org` (the org owns it; default) or `user` (private to the creator, promotable later via re-scope). `biome` and `system` rows are seeded by the platform, never created through this endpoint; `project` rows are created via re-scope from `user`/`org`. */
|
|
34
|
+
scope?: ScopeSource;
|
|
35
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
* LLM-routing tier. Strategy entries map class → modelSlug. Distinct from AgentRunRole (permissions).
|
|
10
|
+
*/
|
|
11
|
+
export type CreateAgentKernelDtoModelClass = typeof CreateAgentKernelDtoModelClass[keyof typeof CreateAgentKernelDtoModelClass];
|
|
12
|
+
export declare const CreateAgentKernelDtoModelClass: {
|
|
13
|
+
readonly coding: "coding";
|
|
14
|
+
readonly review: "review";
|
|
15
|
+
readonly creative: "creative";
|
|
16
|
+
readonly planning: "planning";
|
|
17
|
+
readonly utility: "utility";
|
|
18
|
+
};
|
|
@@ -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.CreateAgentKernelDtoModelClass = void 0;
|
|
11
|
+
exports.CreateAgentKernelDtoModelClass = {
|
|
12
|
+
coding: 'coding',
|
|
13
|
+
review: 'review',
|
|
14
|
+
creative: 'creative',
|
|
15
|
+
planning: 'planning',
|
|
16
|
+
utility: 'utility',
|
|
17
|
+
};
|