@xemahq/llm-registry-api-client 0.11.2 → 0.13.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.
@@ -15,7 +15,11 @@ export interface AgentKernelResponseDto {
15
15
  * @minimum 1
16
16
  */
17
17
  revisionNumber: number;
18
- orgId: string;
18
+ /**
19
+ * The owning organisation, or null for a platform-owned agent (`system` / `biome` tier).
20
+ * @nullable
21
+ */
22
+ orgId: string | null;
19
23
  /**
20
24
  * 5-tier owner-scope label for UI source-filter and fork CTA. Matches
21
25
  * the `source` column on the row; defaults to `org` for legacy rows.
@@ -80,7 +80,6 @@ export * from './agentRollbackResponseDto';
80
80
  export * from './agentRollbackResponseDtoDataEnvelope';
81
81
  export * from './agentRollbackResponseDtoStatus';
82
82
  export * from './agentRunConfigDto';
83
- export * from './agentRunRole';
84
83
  export * from './agentRuntimeControllerAnalyzeParams';
85
84
  export * from './agentRuntimeControllerResolveDraftParams';
86
85
  export * from './agentRuntimeControllerResolveExactRevisionAuthorityParams';
@@ -97,7 +97,6 @@ __exportStar(require("./agentRollbackResponseDto"), exports);
97
97
  __exportStar(require("./agentRollbackResponseDtoDataEnvelope"), exports);
98
98
  __exportStar(require("./agentRollbackResponseDtoStatus"), exports);
99
99
  __exportStar(require("./agentRunConfigDto"), exports);
100
- __exportStar(require("./agentRunRole"), exports);
101
100
  __exportStar(require("./agentRuntimeControllerAnalyzeParams"), exports);
102
101
  __exportStar(require("./agentRuntimeControllerResolveDraftParams"), exports);
103
102
  __exportStar(require("./agentRuntimeControllerResolveExactRevisionAuthorityParams"), exports);
@@ -3,7 +3,6 @@
3
3
  * LLM Registry API
4
4
  * OpenAPI spec version: 0.1.3
5
5
  */
6
- import type { AgentRunRole } from './agentRunRole.js';
7
6
  import type { InputArtifactEntryDto } from './inputArtifactEntryDto.js';
8
7
  import type { MountEntryDto } from './mountEntryDto.js';
9
8
  import type { RenderAgentRunContextRequestDtoWorkflowInputs } from './renderAgentRunContextRequestDtoWorkflowInputs.js';
@@ -12,7 +11,16 @@ export interface RenderAgentRunContextRequestDto {
12
11
  /** @minLength 1 */
13
12
  agentSlug: string;
14
13
  projectId: string;
15
- role: AgentRunRole;
14
+ /**
15
+ * The role this invocation takes: the key of a role-capability profile some
16
+ * installed biome contributes. An OPEN vocabulary (contracts 0.46 deleted the
17
+ * closed `AGENT_RUN_ROLES` list), so the DTO validates the GRAMMAR only — the
18
+ * same `RESOURCE_ROLE_PATTERN` the kernel's `AgentRunRoleSchema` uses. A
19
+ * well-formed role no visible biome declares is refused by
20
+ * `RoleCapabilityRegistryService.getByRole`, which names the declared roles.
21
+ * @pattern ^[a-z][a-z0-9-]{0,62}$
22
+ */
23
+ role: string;
16
24
  /** @nullable */
17
25
  deliverableSpecRef?: string | null;
18
26
  /** @nullable */
@@ -10,6 +10,5 @@ export type RoleCapabilityProfileDtoSurface = typeof RoleCapabilityProfileDtoSur
10
10
  export declare const RoleCapabilityProfileDtoSurface: {
11
11
  readonly 'pipeline-run': "pipeline-run";
12
12
  readonly 'agent-session': "agent-session";
13
- readonly 'design-system-builder': "design-system-builder";
14
13
  readonly 'gate-review': "gate-review";
15
14
  };
@@ -9,6 +9,5 @@ exports.RoleCapabilityProfileDtoSurface = void 0;
9
9
  exports.RoleCapabilityProfileDtoSurface = {
10
10
  'pipeline-run': 'pipeline-run',
11
11
  'agent-session': 'agent-session',
12
- 'design-system-builder': 'design-system-builder',
13
12
  'gate-review': 'gate-review',
14
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xemahq/llm-registry-api-client",
3
- "version": "0.11.2",
3
+ "version": "0.13.0",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [
@@ -1,21 +0,0 @@
1
- /**
2
- * Generated by @xemahq/api-client-generator — do not edit manually.
3
- * LLM Registry API
4
- * OpenAPI spec version: 0.1.3
5
- */
6
- export type AgentRunRole = typeof AgentRunRole[keyof typeof AgentRunRole];
7
- export declare const AgentRunRole: {
8
- readonly 'unit-worker': "unit-worker";
9
- readonly coordinator: "coordinator";
10
- readonly 'gate-reviewer': "gate-reviewer";
11
- readonly 'clarification-coordinator': "clarification-coordinator";
12
- readonly 'scope-validator': "scope-validator";
13
- readonly 'agent-session': "agent-session";
14
- readonly 'design-system-builder': "design-system-builder";
15
- readonly 'generic-agent': "generic-agent";
16
- readonly auditor: "auditor";
17
- readonly engineer: "engineer";
18
- readonly 'studio-author': "studio-author";
19
- readonly 'webapp-studio': "webapp-studio";
20
- readonly document: "document";
21
- };
@@ -1,23 +0,0 @@
1
- "use strict";
2
- /**
3
- * Generated by @xemahq/api-client-generator — do not edit manually.
4
- * LLM Registry API
5
- * OpenAPI spec version: 0.1.3
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.AgentRunRole = void 0;
9
- exports.AgentRunRole = {
10
- 'unit-worker': 'unit-worker',
11
- coordinator: 'coordinator',
12
- 'gate-reviewer': 'gate-reviewer',
13
- 'clarification-coordinator': 'clarification-coordinator',
14
- 'scope-validator': 'scope-validator',
15
- 'agent-session': 'agent-session',
16
- 'design-system-builder': 'design-system-builder',
17
- 'generic-agent': 'generic-agent',
18
- auditor: 'auditor',
19
- engineer: 'engineer',
20
- 'studio-author': 'studio-author',
21
- 'webapp-studio': 'webapp-studio',
22
- document: 'document',
23
- };