@xemahq/llm-registry-api-client 0.7.8 → 0.7.11

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.
@@ -6,8 +6,10 @@
6
6
  import type { AgentCapabilityLayerDtoMayEditRepos } from './agentCapabilityLayerDtoMayEditRepos.js';
7
7
  import type { AgentCapabilityLayerDtoWritePolicy } from './agentCapabilityLayerDtoWritePolicy.js';
8
8
  export interface AgentCapabilityLayerDto {
9
- writePolicy: AgentCapabilityLayerDtoWritePolicy;
10
- mayEditRepos: AgentCapabilityLayerDtoMayEditRepos;
11
- mayWriteKnowledgeBase: boolean;
12
- allowedXemaTools: string[];
9
+ writePolicy?: AgentCapabilityLayerDtoWritePolicy;
10
+ mayEditRepos?: AgentCapabilityLayerDtoMayEditRepos;
11
+ mayWriteKnowledgeBase?: boolean;
12
+ allowedXemaTools?: string[];
13
+ /** Canonical capability refs this agent is ARMED with. OMIT the field for "everything the authority verdict allows"; send an EMPTY ARRAY for "armed with nothing". The two are different statements and are stored distinctly — never send `[]` to mean "unspecified". */
14
+ armedCapabilityRefs?: string[];
13
15
  }
@@ -3,6 +3,7 @@
3
3
  * LLM Registry API
4
4
  * OpenAPI spec version: 0.1.3
5
5
  */
6
+ import type { AgentCapabilityLayerDto } from './agentCapabilityLayerDto.js';
6
7
  import type { AgentExecutionMode } from './agentExecutionMode.js';
7
8
  import type { AgentKernelResponseDtoDefinitionHash } from './agentKernelResponseDtoDefinitionHash.js';
8
9
  import type { AgentKernelResponseDtoModelClass } from './agentKernelResponseDtoModelClass.js';
@@ -62,4 +63,6 @@ export interface AgentKernelResponseDto {
62
63
  definitionHash?: AgentKernelResponseDtoDefinitionHash;
63
64
  /** Authored workspace intent for launch compatibility checks. */
64
65
  workspace?: AgentWorkspaceDto | null;
66
+ /** The agent's resolved capability envelope, including its arming (`armedCapabilityRefs`). Always present. */
67
+ capability: AgentCapabilityLayerDto;
65
68
  }
@@ -10,8 +10,6 @@ export interface ResolvedAgentToolProfileDto {
10
10
  toolGroups: string[];
11
11
  /** Explicitly allowed tools. */
12
12
  allowedTools: string[];
13
- /** Explicitly denied tools. */
14
- deniedTools: string[];
15
13
  /**
16
14
  * Catalog ID for the tool source.
17
15
  * @nullable
@@ -9,7 +9,6 @@ export interface ResolvedToolProfileDto {
9
9
  mcpServiceKey: string;
10
10
  toolGroups: string[];
11
11
  allowedTools: string[];
12
- deniedTools: string[];
13
12
  catalogId?: ResolvedToolProfileDtoCatalogId;
14
13
  isOptional: boolean;
15
14
  source: ScopeSource;
@@ -30,7 +30,6 @@ export interface ToolProfileResponseDto {
30
30
  mcpServiceKey: string;
31
31
  toolGroups: string[];
32
32
  allowedTools: string[];
33
- deniedTools: string[];
34
33
  /** @nullable */
35
34
  catalogId?: string | null;
36
35
  isOptional: boolean;
@@ -10,8 +10,6 @@ export interface UpsertToolProfileDto {
10
10
  toolGroups?: string[];
11
11
  /** Explicitly allowed tool names. */
12
12
  allowedTools?: string[];
13
- /** Explicitly denied tool names. */
14
- deniedTools?: string[];
15
13
  /** Catalog identifier for tool discovery. */
16
14
  catalogId?: string;
17
15
  /** Whether this MCP service is optional for the agent. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xemahq/llm-registry-api-client",
3
- "version": "0.7.8",
3
+ "version": "0.7.11",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [
@@ -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.12.1",
22
+ "generator": "@xemahq/api-client-generator@0.13.0",
23
23
  "source": "openapi.public.json"
24
24
  },
25
25
  "license": "LicenseRef-Xema-BSL-1.1",