@xemahq/biome-host-api-client 0.3.12 → 0.3.13

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.
@@ -3,7 +3,7 @@
3
3
  * Biome Host API
4
4
  * OpenAPI spec version: 0.1.1
5
5
  */
6
- import type { BiomeInstallationDeleteResponseDtoDataEnvelope, BiomeInstallationResponseDtoDataArrayEnvelope, BiomeInstallationResponseDtoDataEnvelope, BiomeInstallationsControllerCreateChain201, BiomeInstallationsControllerListParams, BiomeLifecycleTransitionResponseDtoDataEnvelope, BiomeMcpToolsManifestResponseDtoDataEnvelope, ChainInstallBiomesDto, CreateBiomeInstallationDto, LifecycleTransitionAckDto, PromoteBiomeInstallationDto, UpdateBiomeInstallationResourcesDto } from '../../models';
6
+ import type { BiomeInstallationDeleteResponseDtoDataEnvelope, BiomeInstallationResponseDtoDataArrayEnvelope, BiomeInstallationResponseDtoDataEnvelope, BiomeInstallationsControllerCreateChain201, BiomeInstallationsControllerListParams, BiomeLifecycleTransitionResponseDtoDataEnvelope, ChainInstallBiomesDto, CreateBiomeInstallationDto, LifecycleTransitionAckDto, PromoteBiomeInstallationDto, UpdateBiomeInstallationResourcesDto } from '../../models';
7
7
  export declare const getBiomeInstallationsControllerCreateUrl: (projectId: string) => string;
8
8
  /**
9
9
  * @summary Install a biome on this project with initial bindings + selectors
@@ -29,11 +29,6 @@ export declare const getBiomeInstallationsControllerRemoveUrl: (projectId: strin
29
29
  * @summary Hard-delete a biome installation. Tears down the sidecar workload, deletes the row, then starts `uninstallBiomeCascadeWorkflow` which fans cleanup out to every downstream service that owns biome-scoped rows (webapp-studio, workflow-engine, deliverable-specs, biome-storage, mcp-gateway). The response carries the `workflowId` — clients poll the workflow for the terminal outcome (`clean` | `dirty`). Use `disable` instead when you want a temporary, reversible teardown.
30
30
  */
31
31
  export declare const biomeInstallationsControllerRemove: (projectId: string, id: string, options?: RequestInit) => Promise<BiomeInstallationDeleteResponseDtoDataEnvelope>;
32
- export declare const getBiomeInstallationsControllerGetMcpToolsManifestUrl: (projectId: string, id: string) => string;
33
- /**
34
- * @summary Manifest-derived projection of MCP tools the biome ships. Workflow tools come from `xema.mcpWorkflowTools[]`; code tools from `xema.mcpTools[]`. Surfaces both kinds for the unified ToolSelectionPicker without per-kind fan-out.
35
- */
36
- export declare const biomeInstallationsControllerGetMcpToolsManifest: (projectId: string, id: string, options?: RequestInit) => Promise<BiomeMcpToolsManifestResponseDtoDataEnvelope>;
37
32
  export declare const getBiomeInstallationsControllerUpdateResourcesUrl: (projectId: string, id: string) => string;
38
33
  /**
39
34
  * @summary Replace the per-adapter resource selector slices on an installation
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.biomeLifecycleControllerArchive = exports.getBiomeLifecycleControllerArchiveUrl = exports.biomeLifecycleControllerApproveInStore = exports.getBiomeLifecycleControllerApproveInStoreUrl = exports.biomeLifecycleControllerSubmitToStore = exports.getBiomeLifecycleControllerSubmitToStoreUrl = exports.biomeLifecycleControllerPromote = exports.getBiomeLifecycleControllerPromoteUrl = exports.biomeInstallationsControllerDisable = exports.getBiomeInstallationsControllerDisableUrl = exports.biomeInstallationsControllerUpdateResources = exports.getBiomeInstallationsControllerUpdateResourcesUrl = exports.biomeInstallationsControllerGetMcpToolsManifest = exports.getBiomeInstallationsControllerGetMcpToolsManifestUrl = exports.biomeInstallationsControllerRemove = exports.getBiomeInstallationsControllerRemoveUrl = exports.biomeInstallationsControllerGet = exports.getBiomeInstallationsControllerGetUrl = exports.biomeInstallationsControllerCreateChain = exports.getBiomeInstallationsControllerCreateChainUrl = exports.biomeInstallationsControllerList = exports.getBiomeInstallationsControllerListUrl = exports.biomeInstallationsControllerCreate = exports.getBiomeInstallationsControllerCreateUrl = void 0;
3
+ exports.biomeLifecycleControllerArchive = exports.getBiomeLifecycleControllerArchiveUrl = exports.biomeLifecycleControllerApproveInStore = exports.getBiomeLifecycleControllerApproveInStoreUrl = exports.biomeLifecycleControllerSubmitToStore = exports.getBiomeLifecycleControllerSubmitToStoreUrl = exports.biomeLifecycleControllerPromote = exports.getBiomeLifecycleControllerPromoteUrl = exports.biomeInstallationsControllerDisable = exports.getBiomeInstallationsControllerDisableUrl = exports.biomeInstallationsControllerUpdateResources = exports.getBiomeInstallationsControllerUpdateResourcesUrl = exports.biomeInstallationsControllerRemove = exports.getBiomeInstallationsControllerRemoveUrl = exports.biomeInstallationsControllerGet = exports.getBiomeInstallationsControllerGetUrl = exports.biomeInstallationsControllerCreateChain = exports.getBiomeInstallationsControllerCreateChainUrl = exports.biomeInstallationsControllerList = exports.getBiomeInstallationsControllerListUrl = exports.biomeInstallationsControllerCreate = exports.getBiomeInstallationsControllerCreateUrl = void 0;
4
4
  const custom_fetch_1 = require("../../custom-fetch");
5
5
  const getBiomeInstallationsControllerCreateUrl = (projectId) => {
6
6
  return `/projects/${projectId}/biome-installations`;
@@ -95,20 +95,6 @@ const biomeInstallationsControllerRemove = async (projectId, id, options) => {
95
95
  });
96
96
  };
97
97
  exports.biomeInstallationsControllerRemove = biomeInstallationsControllerRemove;
98
- const getBiomeInstallationsControllerGetMcpToolsManifestUrl = (projectId, id) => {
99
- return `/projects/${projectId}/biome-installations/${id}/mcp-tools-manifest`;
100
- };
101
- exports.getBiomeInstallationsControllerGetMcpToolsManifestUrl = getBiomeInstallationsControllerGetMcpToolsManifestUrl;
102
- /**
103
- * @summary Manifest-derived projection of MCP tools the biome ships. Workflow tools come from `xema.mcpWorkflowTools[]`; code tools from `xema.mcpTools[]`. Surfaces both kinds for the unified ToolSelectionPicker without per-kind fan-out.
104
- */
105
- const biomeInstallationsControllerGetMcpToolsManifest = async (projectId, id, options) => {
106
- return (0, custom_fetch_1.customFetch)((0, exports.getBiomeInstallationsControllerGetMcpToolsManifestUrl)(projectId, id), {
107
- ...options,
108
- method: 'GET'
109
- });
110
- };
111
- exports.biomeInstallationsControllerGetMcpToolsManifest = biomeInstallationsControllerGetMcpToolsManifest;
112
98
  const getBiomeInstallationsControllerUpdateResourcesUrl = (projectId, id) => {
113
99
  return `/projects/${projectId}/biome-installations/${id}/resources`;
114
100
  };
@@ -7,7 +7,7 @@ import type { ContributionKind } from './contributionKind.js';
7
7
  export interface ContributionFileGuidanceDto {
8
8
  /** The `kind` discriminator the contribution envelope must carry. Must match the file-name suffix exactly — a mismatch is a fail-fast parse error at biome discovery. */
9
9
  kind: ContributionKind;
10
- /** Directory (relative to the biome root) scanned for contribution files. This is the DEFAULT; a biome may relocate it via `xema.contributions.directory` in its xema-biome.json. */
10
+ /** Fixed directory, relative to the biome root, scanned for contribution files. */
11
11
  defaultDirectory: string;
12
12
  /** File-name pattern for the file-per-descriptor form. `<slug>` is free-form and becomes the contribution id; it is not parsed for meaning. */
13
13
  fileNamePattern: string;
@@ -13,6 +13,6 @@ export interface CreateBiomeInstallationDto {
13
13
  configJson: CreateBiomeInstallationDtoConfigJson;
14
14
  /** OrgConnection bindings, one per AdapterKind the biome requires. */
15
15
  connections: BiomeInstallationConnectionBindingInputDto[];
16
- /** Per-adapter resource selector slices the dispatcher will feed into the biome's webhookFilters predicate as $selector.*. */
16
+ /** Per-adapter resource selector slices the dispatcher feeds into the selected connector contribution as $selector.*. */
17
17
  resources: BiomeInstallationResourceInputDto[];
18
18
  }
@@ -47,13 +47,6 @@ export * from './biomeInstallationsControllerListParams';
47
47
  export * from './biomeLifecycle';
48
48
  export * from './biomeLifecycleTransitionResponseDto';
49
49
  export * from './biomeLifecycleTransitionResponseDtoDataEnvelope';
50
- export * from './biomeMcpCodeToolManifestEntryDto';
51
- export * from './biomeMcpCodeToolManifestEntryDtoHandlerKind';
52
- export * from './biomeMcpCodeToolManifestEntryDtoHandlerMethod';
53
- export * from './biomeMcpToolsManifestResponseDto';
54
- export * from './biomeMcpToolsManifestResponseDtoDataEnvelope';
55
- export * from './biomeMcpWorkflowToolManifestEntryDto';
56
- export * from './biomeMcpWorkflowToolManifestEntryDtoMountSlot';
57
50
  export * from './biomeProvidesDto';
58
51
  export * from './biomeProvidesDtoTarget';
59
52
  export * from './biomeProvisioningScaffoldDto';
@@ -64,13 +64,6 @@ __exportStar(require("./biomeInstallationsControllerListParams"), exports);
64
64
  __exportStar(require("./biomeLifecycle"), exports);
65
65
  __exportStar(require("./biomeLifecycleTransitionResponseDto"), exports);
66
66
  __exportStar(require("./biomeLifecycleTransitionResponseDtoDataEnvelope"), exports);
67
- __exportStar(require("./biomeMcpCodeToolManifestEntryDto"), exports);
68
- __exportStar(require("./biomeMcpCodeToolManifestEntryDtoHandlerKind"), exports);
69
- __exportStar(require("./biomeMcpCodeToolManifestEntryDtoHandlerMethod"), exports);
70
- __exportStar(require("./biomeMcpToolsManifestResponseDto"), exports);
71
- __exportStar(require("./biomeMcpToolsManifestResponseDtoDataEnvelope"), exports);
72
- __exportStar(require("./biomeMcpWorkflowToolManifestEntryDto"), exports);
73
- __exportStar(require("./biomeMcpWorkflowToolManifestEntryDtoMountSlot"), exports);
74
67
  __exportStar(require("./biomeProvidesDto"), exports);
75
68
  __exportStar(require("./biomeProvidesDtoTarget"), exports);
76
69
  __exportStar(require("./biomeProvisioningScaffoldDto"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xemahq/biome-host-api-client",
3
- "version": "0.3.12",
3
+ "version": "0.3.13",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [
@@ -1,12 +0,0 @@
1
- /**
2
- * Generated by @xemahq/api-client-generator — do not edit manually.
3
- * Biome Host API
4
- * OpenAPI spec version: 0.1.1
5
- */
6
- import type { BiomeMcpCodeToolManifestEntryDtoHandlerKind } from './biomeMcpCodeToolManifestEntryDtoHandlerKind.js';
7
- import type { BiomeMcpCodeToolManifestEntryDtoHandlerMethod } from './biomeMcpCodeToolManifestEntryDtoHandlerMethod.js';
8
- export interface BiomeMcpCodeToolManifestEntryDto {
9
- key: string;
10
- handlerKind: BiomeMcpCodeToolManifestEntryDtoHandlerKind;
11
- handlerMethod: BiomeMcpCodeToolManifestEntryDtoHandlerMethod;
12
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,9 +0,0 @@
1
- /**
2
- * Generated by @xemahq/api-client-generator — do not edit manually.
3
- * Biome Host API
4
- * OpenAPI spec version: 0.1.1
5
- */
6
- export type BiomeMcpCodeToolManifestEntryDtoHandlerKind = typeof BiomeMcpCodeToolManifestEntryDtoHandlerKind[keyof typeof BiomeMcpCodeToolManifestEntryDtoHandlerKind];
7
- export declare const BiomeMcpCodeToolManifestEntryDtoHandlerKind: {
8
- readonly biome_api: "biome_api";
9
- };
@@ -1,11 +0,0 @@
1
- "use strict";
2
- /**
3
- * Generated by @xemahq/api-client-generator — do not edit manually.
4
- * Biome Host API
5
- * OpenAPI spec version: 0.1.1
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.BiomeMcpCodeToolManifestEntryDtoHandlerKind = void 0;
9
- exports.BiomeMcpCodeToolManifestEntryDtoHandlerKind = {
10
- biome_api: 'biome_api',
11
- };
@@ -1,9 +0,0 @@
1
- /**
2
- * Generated by @xemahq/api-client-generator — do not edit manually.
3
- * Biome Host API
4
- * OpenAPI spec version: 0.1.1
5
- */
6
- export type BiomeMcpCodeToolManifestEntryDtoHandlerMethod = typeof BiomeMcpCodeToolManifestEntryDtoHandlerMethod[keyof typeof BiomeMcpCodeToolManifestEntryDtoHandlerMethod];
7
- export declare const BiomeMcpCodeToolManifestEntryDtoHandlerMethod: {
8
- readonly POST: "POST";
9
- };
@@ -1,11 +0,0 @@
1
- "use strict";
2
- /**
3
- * Generated by @xemahq/api-client-generator — do not edit manually.
4
- * Biome Host API
5
- * OpenAPI spec version: 0.1.1
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.BiomeMcpCodeToolManifestEntryDtoHandlerMethod = void 0;
9
- exports.BiomeMcpCodeToolManifestEntryDtoHandlerMethod = {
10
- POST: 'POST',
11
- };
@@ -1,14 +0,0 @@
1
- /**
2
- * Generated by @xemahq/api-client-generator — do not edit manually.
3
- * Biome Host API
4
- * OpenAPI spec version: 0.1.1
5
- */
6
- import type { BiomeMcpCodeToolManifestEntryDto } from './biomeMcpCodeToolManifestEntryDto.js';
7
- import type { BiomeMcpWorkflowToolManifestEntryDto } from './biomeMcpWorkflowToolManifestEntryDto.js';
8
- export interface BiomeMcpToolsManifestResponseDto {
9
- biomeId: string;
10
- /** Workflow-backed MCP tools the biome declares via `xema.mcpWorkflowTools[]`. */
11
- workflowTools: BiomeMcpWorkflowToolManifestEntryDto[];
12
- /** Code-handler MCP tools the biome declares via `xema.mcpTools[]`. The full descriptor (inputSchema, displayName, output kind) is served by the biome API service at `GET /code-tools-manifest`. */
13
- codeTools: BiomeMcpCodeToolManifestEntryDto[];
14
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,9 +0,0 @@
1
- /**
2
- * Generated by @xemahq/api-client-generator — do not edit manually.
3
- * Biome Host API
4
- * OpenAPI spec version: 0.1.1
5
- */
6
- import type { BiomeMcpToolsManifestResponseDto } from './biomeMcpToolsManifestResponseDto.js';
7
- export interface BiomeMcpToolsManifestResponseDtoDataEnvelope {
8
- data: BiomeMcpToolsManifestResponseDto;
9
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,15 +0,0 @@
1
- /**
2
- * Generated by @xemahq/api-client-generator — do not edit manually.
3
- * Biome Host API
4
- * OpenAPI spec version: 0.1.1
5
- */
6
- import type { BiomeMcpWorkflowToolManifestEntryDtoMountSlot } from './biomeMcpWorkflowToolManifestEntryDtoMountSlot.js';
7
- export interface BiomeMcpWorkflowToolManifestEntryDto {
8
- key: string;
9
- workflowSlug: string;
10
- displayName: string;
11
- description: string;
12
- outputSlug: string;
13
- mountSlot?: BiomeMcpWorkflowToolManifestEntryDtoMountSlot;
14
- mountAs?: string;
15
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,11 +0,0 @@
1
- /**
2
- * Generated by @xemahq/api-client-generator — do not edit manually.
3
- * Biome Host API
4
- * OpenAPI spec version: 0.1.1
5
- */
6
- export type BiomeMcpWorkflowToolManifestEntryDtoMountSlot = typeof BiomeMcpWorkflowToolManifestEntryDtoMountSlot[keyof typeof BiomeMcpWorkflowToolManifestEntryDtoMountSlot];
7
- export declare const BiomeMcpWorkflowToolManifestEntryDtoMountSlot: {
8
- readonly inputs: "inputs";
9
- readonly references: "references";
10
- readonly deliverables: "deliverables";
11
- };
@@ -1,13 +0,0 @@
1
- "use strict";
2
- /**
3
- * Generated by @xemahq/api-client-generator — do not edit manually.
4
- * Biome Host API
5
- * OpenAPI spec version: 0.1.1
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.BiomeMcpWorkflowToolManifestEntryDtoMountSlot = void 0;
9
- exports.BiomeMcpWorkflowToolManifestEntryDtoMountSlot = {
10
- inputs: 'inputs',
11
- references: 'references',
12
- deliverables: 'deliverables',
13
- };