@xemahq/biome-host-api-client 0.3.25 → 0.3.27

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.
@@ -4,7 +4,7 @@
4
4
  * OpenAPI spec version: 0.1.1
5
5
  */
6
6
  /**
7
- * The fetcher's provenance verdict on the bundle. Only `first-party-runtime` — a bundle carrying a valid signature from a configured trust anchor — may share the shared adapter host process. A bundle that never claimed a signature is `third-party` and gets a container of its own instead.
7
+ * The fetcher's provenance verdict on the bundle, or null when the fetcher refused to serve it and never assigned one. Only `first-party-runtime` — a bundle carrying a valid signature from a configured trust anchor — may share the shared adapter host process. A bundle that never claimed a signature is `third-party` and gets a container of its own instead.
8
8
  */
9
9
  export type BundleTrustTier = typeof BundleTrustTier[keyof typeof BundleTrustTier];
10
10
  export declare const BundleTrustTier: {
@@ -11,7 +11,8 @@ export declare const ContributionKind: {
11
11
  readonly 'workflow-step': "workflow-step";
12
12
  readonly 'agent-skill': "agent-skill";
13
13
  readonly 'agent-kernel': "agent-kernel";
14
- readonly 'work-kind': "work-kind";
14
+ readonly 'model-lane': "model-lane";
15
+ readonly 'model-purpose': "model-purpose";
15
16
  readonly 'widget-kind': "widget-kind";
16
17
  readonly 'surface-kind': "surface-kind";
17
18
  readonly 'artifact-type': "artifact-type";
@@ -10,7 +10,8 @@ exports.ContributionKind = {
10
10
  'workflow-step': 'workflow-step',
11
11
  'agent-skill': 'agent-skill',
12
12
  'agent-kernel': 'agent-kernel',
13
- 'work-kind': 'work-kind',
13
+ 'model-lane': 'model-lane',
14
+ 'model-purpose': 'model-purpose',
14
15
  'widget-kind': 'widget-kind',
15
16
  'surface-kind': 'surface-kind',
16
17
  'artifact-type': 'artifact-type',
@@ -0,0 +1,13 @@
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
+ /**
7
+ * WHERE the module was refused, which decides which of the two fields below carries the reason. `admission` means the bundle WAS fetched and graded and the grade may not share the heap, so `trustTier` is set. `fetch` means biome-fetcher-api declined to vouch for the bytes at all, so nothing was graded and `refusalCode` carries its supply-chain verdict instead. They are different facts and neither field alone can express both.
8
+ */
9
+ export type HostModuleRefusedAt = typeof HostModuleRefusedAt[keyof typeof HostModuleRefusedAt];
10
+ export declare const HostModuleRefusedAt: {
11
+ readonly admission: "admission";
12
+ readonly fetch: "fetch";
13
+ };
@@ -0,0 +1,12 @@
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.HostModuleRefusedAt = void 0;
9
+ exports.HostModuleRefusedAt = {
10
+ admission: 'admission',
11
+ fetch: 'fetch',
12
+ };
@@ -93,6 +93,7 @@ export * from './executionTargetResponseDtoDataArrayEnvelope';
93
93
  export * from './executionTargetResponseDtoDataEnvelope';
94
94
  export * from './executionTargetResponseDtoLabels';
95
95
  export * from './executionTargetStatus';
96
+ export * from './hostModuleRefusedAt';
96
97
  export * from './inFlightRevocationPolicy';
97
98
  export * from './lifecycleTransitionAckDto';
98
99
  export * from './orgBiomeEffectiveEnablementDto';
@@ -114,6 +115,7 @@ export * from './problemFieldIssueDto';
114
115
  export * from './promoteBiomeInstallationDto';
115
116
  export * from './quarantinedBiomeDto';
116
117
  export * from './refusedHostModuleDto';
118
+ export * from './refusedHostModuleDtoRefusalCode';
117
119
  export * from './requestApprovalDto';
118
120
  export * from './rescopeBiomeInstallationDto';
119
121
  export * from './rescopeTargetSpaceDto';
@@ -110,6 +110,7 @@ __exportStar(require("./executionTargetResponseDtoDataArrayEnvelope"), exports);
110
110
  __exportStar(require("./executionTargetResponseDtoDataEnvelope"), exports);
111
111
  __exportStar(require("./executionTargetResponseDtoLabels"), exports);
112
112
  __exportStar(require("./executionTargetStatus"), exports);
113
+ __exportStar(require("./hostModuleRefusedAt"), exports);
113
114
  __exportStar(require("./inFlightRevocationPolicy"), exports);
114
115
  __exportStar(require("./lifecycleTransitionAckDto"), exports);
115
116
  __exportStar(require("./orgBiomeEffectiveEnablementDto"), exports);
@@ -131,6 +132,7 @@ __exportStar(require("./problemFieldIssueDto"), exports);
131
132
  __exportStar(require("./promoteBiomeInstallationDto"), exports);
132
133
  __exportStar(require("./quarantinedBiomeDto"), exports);
133
134
  __exportStar(require("./refusedHostModuleDto"), exports);
135
+ __exportStar(require("./refusedHostModuleDtoRefusalCode"), exports);
134
136
  __exportStar(require("./requestApprovalDto"), exports);
135
137
  __exportStar(require("./rescopeBiomeInstallationDto"), exports);
136
138
  __exportStar(require("./rescopeTargetSpaceDto"), exports);
@@ -4,10 +4,19 @@
4
4
  * OpenAPI spec version: 0.1.1
5
5
  */
6
6
  import type { BundleTrustTier } from './bundleTrustTier.js';
7
+ import type { HostModuleRefusedAt } from './hostModuleRefusedAt.js';
8
+ import type { RefusedHostModuleDtoRefusalCode } from './refusedHostModuleDtoRefusalCode.js';
7
9
  export interface RefusedHostModuleDto {
8
10
  biomeId: string;
9
11
  version: string;
10
12
  componentKey: string;
11
- /** The fetcher's provenance verdict on the bundle. Only `first-party-runtime` a bundle carrying a valid signature from a configured trust anchor — may share the shared adapter host process. A bundle that never claimed a signature is `third-party` and gets a container of its own instead. */
12
- trustTier: BundleTrustTier;
13
+ /** WHERE the module was refused, which decides which of the two fields below carries the reason. `admission` means the bundle WAS fetched and graded and the grade may not share the heap, so `trustTier` is set. `fetch` means biome-fetcher-api declined to vouch for the bytes at all, so nothing was graded and `refusalCode` carries its supply-chain verdict instead. They are different facts and neither field alone can express both. */
14
+ refusedAt: HostModuleRefusedAt;
15
+ /** The fetcher's provenance verdict on the bundle, or null when the fetcher refused to serve it and never assigned one. Only `first-party-runtime` — a bundle carrying a valid signature from a configured trust anchor — may share the shared adapter host process. A bundle that never claimed a signature is `third-party` and gets a container of its own instead. */
16
+ trustTier: BundleTrustTier | null;
17
+ /**
18
+ * biome-fetcher-api's supply-chain verdict code when it refused to serve the bundle (`CosignErrorCode`), or null when the bundle was served and refused on its trust tier instead. `BIOME_SIGNATURE_MISSING` is the ordinary case for an unsigned npm bundle in a deployment with trust anchors configured.
19
+ * @nullable
20
+ */
21
+ refusalCode: RefusedHostModuleDtoRefusalCode;
13
22
  }
@@ -0,0 +1,12 @@
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
+ /**
7
+ * biome-fetcher-api's supply-chain verdict code when it refused to serve the bundle (`CosignErrorCode`), or null when the bundle was served and refused on its trust tier instead. `BIOME_SIGNATURE_MISSING` is the ordinary case for an unsigned npm bundle in a deployment with trust anchors configured.
8
+ * @nullable
9
+ */
10
+ export type RefusedHostModuleDtoRefusalCode = {
11
+ [key: string]: unknown;
12
+ } | null;
@@ -0,0 +1,7 @@
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 });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xemahq/biome-host-api-client",
3
- "version": "0.3.25",
3
+ "version": "0.3.27",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [