@xemahq/biome-host-api-client 0.1.4 → 0.1.6

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.
Files changed (83) hide show
  1. package/dist/endpoints/authoring/authoring.d.ts +23 -0
  2. package/dist/endpoints/authoring/authoring.js +52 -0
  3. package/dist/endpoints/biome-installations/biome-installations.d.ts +2 -2
  4. package/dist/endpoints/platform-biomes-enablement/platform-biomes-enablement.d.ts +6 -1
  5. package/dist/endpoints/platform-biomes-enablement/platform-biomes-enablement.js +15 -1
  6. package/dist/index.d.ts +1 -1
  7. package/dist/index.js +1 -1
  8. package/dist/models/authorBiomeBundleDto.d.ts +27 -0
  9. package/dist/models/authorBiomeBundleResponseDto.d.ts +17 -0
  10. package/dist/models/{xemaSubjectRefDto.d.ts → authorBiomeBundleResponseDtoDataEnvelope.d.ts} +3 -3
  11. package/dist/models/authoredBiomeBundleDto.d.ts +19 -0
  12. package/dist/models/authoredFileDto.d.ts +13 -0
  13. package/dist/models/authoringIssueCode.d.ts +15 -0
  14. package/dist/models/authoringIssueCode.js +14 -0
  15. package/dist/models/authoringIssueDto.d.ts +16 -0
  16. package/dist/models/authoringIssueDto.js +2 -0
  17. package/dist/models/backfillEnablementResponseDto.d.ts +14 -0
  18. package/dist/models/backfillEnablementResponseDtoDataEnvelope.d.ts +11 -0
  19. package/dist/models/backfillEnablementResponseDtoDataEnvelope.js +2 -0
  20. package/dist/models/{biomeIntegrationRequirementDto.d.ts → biomeConnectorRequirementDto.d.ts} +1 -1
  21. package/dist/models/biomeInstallationsControllerCreateChain201.d.ts +11 -0
  22. package/dist/models/biomeInstallationsControllerCreateChain201.js +2 -0
  23. package/dist/models/biomeKind.d.ts +17 -0
  24. package/dist/models/{objectLifecycle.js → biomeKind.js} +6 -5
  25. package/dist/models/biomeProvidesDto.d.ts +17 -0
  26. package/dist/models/biomeProvidesDto.js +2 -0
  27. package/dist/models/biomeProvidesDtoTarget.d.ts +12 -0
  28. package/dist/models/biomeProvidesDtoTarget.js +14 -0
  29. package/dist/models/biomeTarget.d.ts +15 -0
  30. package/dist/models/biomeTarget.js +14 -0
  31. package/dist/models/biomeTier.d.ts +17 -0
  32. package/dist/models/biomeTier.js +16 -0
  33. package/dist/models/capabilityDescriptorValidationDto.d.ts +23 -0
  34. package/dist/models/capabilityDescriptorValidationDto.js +2 -0
  35. package/dist/models/capabilityDescriptorValidationDtoDataEnvelope.d.ts +11 -0
  36. package/dist/models/capabilityDescriptorValidationDtoDataEnvelope.js +2 -0
  37. package/dist/models/capabilityDescriptorValidationDtoManifest.d.ts +13 -0
  38. package/dist/models/capabilityManifestSchemaKind.d.ts +15 -0
  39. package/dist/models/{spaceKind.js → capabilityManifestSchemaKind.js} +4 -9
  40. package/dist/models/contributionFileGuidanceDto.d.ts +20 -0
  41. package/dist/models/contributionFileGuidanceDto.js +2 -0
  42. package/dist/models/contributionKind.d.ts +42 -0
  43. package/dist/models/contributionKind.js +41 -0
  44. package/dist/models/index.d.ts +29 -10
  45. package/dist/models/index.js +29 -10
  46. package/dist/models/serverBiomeRegistrationResponseDto.d.ts +2 -2
  47. package/dist/models/surfaceKindValidationDto.d.ts +24 -0
  48. package/dist/models/surfaceKindValidationDto.js +2 -0
  49. package/dist/models/{biomeInstallationIntegrationResponseDto.d.ts → surfaceKindValidationDtoDataEnvelope.d.ts} +3 -4
  50. package/dist/models/surfaceKindValidationDtoDataEnvelope.js +2 -0
  51. package/dist/models/surfaceKindValidationDtoManifest.d.ts +13 -0
  52. package/dist/models/surfaceKindValidationDtoManifest.js +9 -0
  53. package/dist/models/validateCapabilityDescriptorDto.d.ts +12 -0
  54. package/dist/models/validateCapabilityDescriptorDto.js +2 -0
  55. package/dist/models/validateCapabilityDescriptorDtoManifest.d.ts +13 -0
  56. package/dist/models/validateCapabilityDescriptorDtoManifest.js +9 -0
  57. package/dist/models/validateSurfaceKindDto.d.ts +14 -0
  58. package/dist/models/validateSurfaceKindDto.js +2 -0
  59. package/dist/models/validateSurfaceKindDtoManifest.d.ts +13 -0
  60. package/dist/models/validateSurfaceKindDtoManifest.js +9 -0
  61. package/dist/models/webBiomeRegistrationResponseDto.d.ts +3 -0
  62. package/package.json +2 -2
  63. package/dist/endpoints/describe-objects/describe-objects.d.ts +0 -14
  64. package/dist/endpoints/describe-objects/describe-objects.js +0 -19
  65. package/dist/models/biomeInstallationIntegrationBindingInputDto.d.ts +0 -13
  66. package/dist/models/biomePayloadDto.d.ts +0 -19
  67. package/dist/models/biomeTrustTier.d.ts +0 -19
  68. package/dist/models/biomeTrustTier.js +0 -18
  69. package/dist/models/describeObjectsResponseDto.d.ts +0 -14
  70. package/dist/models/objectLifecycle.d.ts +0 -16
  71. package/dist/models/spaceKind.d.ts +0 -20
  72. package/dist/models/xemaObjectKind.d.ts +0 -50
  73. package/dist/models/xemaObjectKind.js +0 -49
  74. package/dist/models/xemaObjectResponseDto.d.ts +0 -25
  75. package/dist/models/xemaSpaceRefDto.d.ts +0 -16
  76. /package/dist/models/{biomePayloadDto.js → authorBiomeBundleDto.js} +0 -0
  77. /package/dist/models/{describeObjectsResponseDto.js → authorBiomeBundleResponseDto.js} +0 -0
  78. /package/dist/models/{xemaObjectResponseDto.js → authorBiomeBundleResponseDtoDataEnvelope.js} +0 -0
  79. /package/dist/models/{xemaSpaceRefDto.js → authoredBiomeBundleDto.js} +0 -0
  80. /package/dist/models/{biomeInstallationIntegrationBindingInputDto.js → authoredFileDto.js} +0 -0
  81. /package/dist/models/{biomeInstallationIntegrationResponseDto.js → backfillEnablementResponseDto.js} +0 -0
  82. /package/dist/models/{biomeIntegrationRequirementDto.js → biomeConnectorRequirementDto.js} +0 -0
  83. /package/dist/models/{xemaSubjectRefDto.js → capabilityDescriptorValidationDtoManifest.js} +0 -0
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Generated by orval v8.16.0 🍺
3
+ * Do not edit manually.
4
+ * Biome Host API
5
+ * Platform biome registry consumed by frontend hosts at bootstrap.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { ContributionKind } from './contributionKind.js';
9
+ export interface ContributionFileGuidanceDto {
10
+ /** 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. */
11
+ kind: ContributionKind;
12
+ /** 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. */
13
+ defaultDirectory: string;
14
+ /** File-name pattern for the file-per-descriptor form. `<slug>` is free-form and becomes the contribution id; it is not parsed for meaning. */
15
+ fileNamePattern: string;
16
+ /** JSON shape of the contribution envelope. The validated manifest goes verbatim under `manifest`; provenance (biome id/version) is stamped by the ingestion pipeline and MUST NOT be declared inline. */
17
+ envelopeShape: string;
18
+ /** Where to put the same envelope instead, if the author prefers a single manifest file over a directory of descriptors. */
19
+ inlineAlternative: string;
20
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,42 @@
1
+ /**
2
+ * Generated by orval v8.16.0 🍺
3
+ * Do not edit manually.
4
+ * Biome Host API
5
+ * Platform biome registry consumed by frontend hosts at bootstrap.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ /**
9
+ * 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.
10
+ */
11
+ export type ContributionKind = typeof ContributionKind[keyof typeof ContributionKind];
12
+ export declare const ContributionKind: {
13
+ readonly 'mount-source': "mount-source";
14
+ readonly 'workflow-step': "workflow-step";
15
+ readonly 'agent-skill': "agent-skill";
16
+ readonly 'agent-kernel': "agent-kernel";
17
+ readonly 'model-resolution-dimension': "model-resolution-dimension";
18
+ readonly 'widget-kind': "widget-kind";
19
+ readonly 'surface-kind': "surface-kind";
20
+ readonly 'artifact-type': "artifact-type";
21
+ readonly 'inquiry-kind': "inquiry-kind";
22
+ readonly 'role-capability': "role-capability";
23
+ readonly 'biome-install-schema': "biome-install-schema";
24
+ readonly icon: "icon";
25
+ readonly 'project-kit': "project-kit";
26
+ readonly 'provisioning-scaffold': "provisioning-scaffold";
27
+ readonly 'connector-adapter': "connector-adapter";
28
+ readonly 'workflow-config': "workflow-config";
29
+ readonly 'deliverable-spec': "deliverable-spec";
30
+ readonly 'workspace-manifest': "workspace-manifest";
31
+ readonly 'tool-profile': "tool-profile";
32
+ readonly 'mcp-catalog': "mcp-catalog";
33
+ readonly 'opencode-tool': "opencode-tool";
34
+ readonly 'opencode-plugin': "opencode-plugin";
35
+ readonly capability: "capability";
36
+ readonly 'resource-ownership': "resource-ownership";
37
+ readonly 'stage-machine': "stage-machine";
38
+ readonly 'search-type': "search-type";
39
+ readonly 'credential-strategy': "credential-strategy";
40
+ readonly 'canonical-object-type': "canonical-object-type";
41
+ readonly 'ingestion-source': "ingestion-source";
42
+ };
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.16.0 🍺
4
+ * Do not edit manually.
5
+ * Biome Host API
6
+ * Platform biome registry consumed by frontend hosts at bootstrap.
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.ContributionKind = void 0;
11
+ exports.ContributionKind = {
12
+ 'mount-source': 'mount-source',
13
+ 'workflow-step': 'workflow-step',
14
+ 'agent-skill': 'agent-skill',
15
+ 'agent-kernel': 'agent-kernel',
16
+ 'model-resolution-dimension': 'model-resolution-dimension',
17
+ 'widget-kind': 'widget-kind',
18
+ 'surface-kind': 'surface-kind',
19
+ 'artifact-type': 'artifact-type',
20
+ 'inquiry-kind': 'inquiry-kind',
21
+ 'role-capability': 'role-capability',
22
+ 'biome-install-schema': 'biome-install-schema',
23
+ icon: 'icon',
24
+ 'project-kit': 'project-kit',
25
+ 'provisioning-scaffold': 'provisioning-scaffold',
26
+ 'connector-adapter': 'connector-adapter',
27
+ 'workflow-config': 'workflow-config',
28
+ 'deliverable-spec': 'deliverable-spec',
29
+ 'workspace-manifest': 'workspace-manifest',
30
+ 'tool-profile': 'tool-profile',
31
+ 'mcp-catalog': 'mcp-catalog',
32
+ 'opencode-tool': 'opencode-tool',
33
+ 'opencode-plugin': 'opencode-plugin',
34
+ capability: 'capability',
35
+ 'resource-ownership': 'resource-ownership',
36
+ 'stage-machine': 'stage-machine',
37
+ 'search-type': 'search-type',
38
+ 'credential-strategy': 'credential-strategy',
39
+ 'canonical-object-type': 'canonical-object-type',
40
+ 'ingestion-source': 'ingestion-source',
41
+ };
@@ -1,5 +1,14 @@
1
1
  export * from './addRemoteBiomeOriginDto';
2
+ export * from './authorBiomeBundleDto';
3
+ export * from './authorBiomeBundleResponseDto';
4
+ export * from './authorBiomeBundleResponseDtoDataEnvelope';
5
+ export * from './authoredBiomeBundleDto';
6
+ export * from './authoredFileDto';
7
+ export * from './authoringIssueCode';
8
+ export * from './authoringIssueDto';
2
9
  export * from './availabilitySubjectDto';
10
+ export * from './backfillEnablementResponseDto';
11
+ export * from './backfillEnablementResponseDtoDataEnvelope';
3
12
  export * from './biomeApprovalResponseDto';
4
13
  export * from './biomeApprovalResponseDtoDataEnvelope';
5
14
  export * from './biomeApprovalResponseDtoResolveReason';
@@ -8,6 +17,7 @@ export * from './biomeApprovalResponseDtoResolvedBy';
8
17
  export * from './biomeApprovalStatus';
9
18
  export * from './biomeAvailabilityResponseDto';
10
19
  export * from './biomeAvailabilityResponseDtoDataEnvelope';
20
+ export * from './biomeConnectorRequirementDto';
11
21
  export * from './biomeContributionResponseDto';
12
22
  export * from './biomeContributionResponseDtoDataEnvelope';
13
23
  export * from './biomeContributionResponseDtoPath';
@@ -33,7 +43,8 @@ export * from './biomeInstallationResponseDtoDataArrayEnvelope';
33
43
  export * from './biomeInstallationResponseDtoDataEnvelope';
34
44
  export * from './biomeInstallationResponseDtoDisabledAt';
35
45
  export * from './biomeInstallationState';
36
- export * from './biomeIntegrationRequirementDto';
46
+ export * from './biomeInstallationsControllerCreateChain201';
47
+ export * from './biomeKind';
37
48
  export * from './biomeLifecycle';
38
49
  export * from './biomeLifecycleTransitionResponseDto';
39
50
  export * from './biomeLifecycleTransitionResponseDtoDataEnvelope';
@@ -44,30 +55,36 @@ export * from './biomeMcpToolsManifestResponseDto';
44
55
  export * from './biomeMcpToolsManifestResponseDtoDataEnvelope';
45
56
  export * from './biomeMcpWorkflowToolManifestEntryDto';
46
57
  export * from './biomeMcpWorkflowToolManifestEntryDtoMountSlot';
47
- export * from './biomePayloadDto';
58
+ export * from './biomeProvidesDto';
59
+ export * from './biomeProvidesDtoTarget';
48
60
  export * from './biomeProvisioningScaffoldDto';
49
61
  export * from './biomeProvisioningScaffoldDtoDeclaration';
50
62
  export * from './biomeProvisioningScaffoldDtoTemplates';
51
63
  export * from './biomeProvisioningScaffoldsResponseDto';
52
64
  export * from './biomeProvisioningScaffoldsResponseDtoDataEnvelope';
53
65
  export * from './biomeScope';
54
- export * from './biomeTrustTier';
66
+ export * from './biomeTarget';
67
+ export * from './biomeTier';
68
+ export * from './capabilityDescriptorValidationDto';
69
+ export * from './capabilityDescriptorValidationDtoDataEnvelope';
70
+ export * from './capabilityDescriptorValidationDtoManifest';
71
+ export * from './capabilityManifestSchemaKind';
55
72
  export * from './chainInstallBiomesDto';
56
73
  export * from './chainedInstallEntryDto';
57
74
  export * from './chainedInstallEntryDtoConfigJson';
75
+ export * from './contributionFileGuidanceDto';
76
+ export * from './contributionKind';
58
77
  export * from './contributionSyncStatus';
59
78
  export * from './createBiomeInstallationDto';
60
79
  export * from './createBiomeInstallationDtoConfigJson';
61
80
  export * from './createRuntimeBindingDto';
62
81
  export * from './createRuntimeBindingDtoDeniedLabels';
63
82
  export * from './createRuntimeBindingDtoRequiredLabels';
64
- export * from './describeObjectsResponseDto';
65
83
  export * from './errorDetailsDto';
66
84
  export * from './errorDetailsDtoDetails';
67
85
  export * from './errorPayloadDto';
68
86
  export * from './errorResponseDto';
69
87
  export * from './lifecycleTransitionAckDto';
70
- export * from './objectLifecycle';
71
88
  export * from './orgBiomeEffectiveEnablementDto';
72
89
  export * from './orgBiomeEffectiveEnablementDtoDataArrayEnvelope';
73
90
  export * from './orgBiomeEffectiveEnablementDtoDataEnvelope';
@@ -110,8 +127,10 @@ export * from './serviceMeshEntryDto';
110
127
  export * from './serviceMeshResponseDto';
111
128
  export * from './serviceMeshResponseDtoDataEnvelope';
112
129
  export * from './setBiomeAvailabilityDto';
113
- export * from './spaceKind';
114
130
  export * from './subjectKind';
131
+ export * from './surfaceKindValidationDto';
132
+ export * from './surfaceKindValidationDtoDataEnvelope';
133
+ export * from './surfaceKindValidationDtoManifest';
115
134
  export * from './updateBiomeInstallationResourcesDto';
116
135
  export * from './updateOrgBiomeEnablementDto';
117
136
  export * from './updateOrgBiomeInstallationDto';
@@ -119,6 +138,10 @@ export * from './updateOrgBiomeInstallationDtoConfigJson';
119
138
  export * from './updateRuntimeBindingDto';
120
139
  export * from './updateRuntimeBindingDtoDeniedLabels';
121
140
  export * from './updateRuntimeBindingDtoRequiredLabels';
141
+ export * from './validateCapabilityDescriptorDto';
142
+ export * from './validateCapabilityDescriptorDtoManifest';
143
+ export * from './validateSurfaceKindDto';
144
+ export * from './validateSurfaceKindDtoManifest';
122
145
  export * from './webBiomeDisplayDto';
123
146
  export * from './webBiomeLoaderDto';
124
147
  export * from './webBiomeLoaderKind';
@@ -129,7 +152,3 @@ export * from './webBiomeRegistrationResponseDtoDataArrayEnvelope';
129
152
  export * from './webBiomeRegistrationResponseDtoDataEnvelope';
130
153
  export * from './webBiomeSignatureVerdict';
131
154
  export * from './webBiomesControllerListParams';
132
- export * from './xemaObjectKind';
133
- export * from './xemaObjectResponseDto';
134
- export * from './xemaSpaceRefDto';
135
- export * from './xemaSubjectRefDto';
@@ -16,7 +16,16 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  // Auto-generated by tooling/codegen/regenerate-models-barrel.js — do not edit manually.
18
18
  __exportStar(require("./addRemoteBiomeOriginDto"), exports);
19
+ __exportStar(require("./authorBiomeBundleDto"), exports);
20
+ __exportStar(require("./authorBiomeBundleResponseDto"), exports);
21
+ __exportStar(require("./authorBiomeBundleResponseDtoDataEnvelope"), exports);
22
+ __exportStar(require("./authoredBiomeBundleDto"), exports);
23
+ __exportStar(require("./authoredFileDto"), exports);
24
+ __exportStar(require("./authoringIssueCode"), exports);
25
+ __exportStar(require("./authoringIssueDto"), exports);
19
26
  __exportStar(require("./availabilitySubjectDto"), exports);
27
+ __exportStar(require("./backfillEnablementResponseDto"), exports);
28
+ __exportStar(require("./backfillEnablementResponseDtoDataEnvelope"), exports);
20
29
  __exportStar(require("./biomeApprovalResponseDto"), exports);
21
30
  __exportStar(require("./biomeApprovalResponseDtoDataEnvelope"), exports);
22
31
  __exportStar(require("./biomeApprovalResponseDtoResolveReason"), exports);
@@ -25,6 +34,7 @@ __exportStar(require("./biomeApprovalResponseDtoResolvedBy"), exports);
25
34
  __exportStar(require("./biomeApprovalStatus"), exports);
26
35
  __exportStar(require("./biomeAvailabilityResponseDto"), exports);
27
36
  __exportStar(require("./biomeAvailabilityResponseDtoDataEnvelope"), exports);
37
+ __exportStar(require("./biomeConnectorRequirementDto"), exports);
28
38
  __exportStar(require("./biomeContributionResponseDto"), exports);
29
39
  __exportStar(require("./biomeContributionResponseDtoDataEnvelope"), exports);
30
40
  __exportStar(require("./biomeContributionResponseDtoPath"), exports);
@@ -50,7 +60,8 @@ __exportStar(require("./biomeInstallationResponseDtoDataArrayEnvelope"), exports
50
60
  __exportStar(require("./biomeInstallationResponseDtoDataEnvelope"), exports);
51
61
  __exportStar(require("./biomeInstallationResponseDtoDisabledAt"), exports);
52
62
  __exportStar(require("./biomeInstallationState"), exports);
53
- __exportStar(require("./biomeIntegrationRequirementDto"), exports);
63
+ __exportStar(require("./biomeInstallationsControllerCreateChain201"), exports);
64
+ __exportStar(require("./biomeKind"), exports);
54
65
  __exportStar(require("./biomeLifecycle"), exports);
55
66
  __exportStar(require("./biomeLifecycleTransitionResponseDto"), exports);
56
67
  __exportStar(require("./biomeLifecycleTransitionResponseDtoDataEnvelope"), exports);
@@ -61,30 +72,36 @@ __exportStar(require("./biomeMcpToolsManifestResponseDto"), exports);
61
72
  __exportStar(require("./biomeMcpToolsManifestResponseDtoDataEnvelope"), exports);
62
73
  __exportStar(require("./biomeMcpWorkflowToolManifestEntryDto"), exports);
63
74
  __exportStar(require("./biomeMcpWorkflowToolManifestEntryDtoMountSlot"), exports);
64
- __exportStar(require("./biomePayloadDto"), exports);
75
+ __exportStar(require("./biomeProvidesDto"), exports);
76
+ __exportStar(require("./biomeProvidesDtoTarget"), exports);
65
77
  __exportStar(require("./biomeProvisioningScaffoldDto"), exports);
66
78
  __exportStar(require("./biomeProvisioningScaffoldDtoDeclaration"), exports);
67
79
  __exportStar(require("./biomeProvisioningScaffoldDtoTemplates"), exports);
68
80
  __exportStar(require("./biomeProvisioningScaffoldsResponseDto"), exports);
69
81
  __exportStar(require("./biomeProvisioningScaffoldsResponseDtoDataEnvelope"), exports);
70
82
  __exportStar(require("./biomeScope"), exports);
71
- __exportStar(require("./biomeTrustTier"), exports);
83
+ __exportStar(require("./biomeTarget"), exports);
84
+ __exportStar(require("./biomeTier"), exports);
85
+ __exportStar(require("./capabilityDescriptorValidationDto"), exports);
86
+ __exportStar(require("./capabilityDescriptorValidationDtoDataEnvelope"), exports);
87
+ __exportStar(require("./capabilityDescriptorValidationDtoManifest"), exports);
88
+ __exportStar(require("./capabilityManifestSchemaKind"), exports);
72
89
  __exportStar(require("./chainInstallBiomesDto"), exports);
73
90
  __exportStar(require("./chainedInstallEntryDto"), exports);
74
91
  __exportStar(require("./chainedInstallEntryDtoConfigJson"), exports);
92
+ __exportStar(require("./contributionFileGuidanceDto"), exports);
93
+ __exportStar(require("./contributionKind"), exports);
75
94
  __exportStar(require("./contributionSyncStatus"), exports);
76
95
  __exportStar(require("./createBiomeInstallationDto"), exports);
77
96
  __exportStar(require("./createBiomeInstallationDtoConfigJson"), exports);
78
97
  __exportStar(require("./createRuntimeBindingDto"), exports);
79
98
  __exportStar(require("./createRuntimeBindingDtoDeniedLabels"), exports);
80
99
  __exportStar(require("./createRuntimeBindingDtoRequiredLabels"), exports);
81
- __exportStar(require("./describeObjectsResponseDto"), exports);
82
100
  __exportStar(require("./errorDetailsDto"), exports);
83
101
  __exportStar(require("./errorDetailsDtoDetails"), exports);
84
102
  __exportStar(require("./errorPayloadDto"), exports);
85
103
  __exportStar(require("./errorResponseDto"), exports);
86
104
  __exportStar(require("./lifecycleTransitionAckDto"), exports);
87
- __exportStar(require("./objectLifecycle"), exports);
88
105
  __exportStar(require("./orgBiomeEffectiveEnablementDto"), exports);
89
106
  __exportStar(require("./orgBiomeEffectiveEnablementDtoDataArrayEnvelope"), exports);
90
107
  __exportStar(require("./orgBiomeEffectiveEnablementDtoDataEnvelope"), exports);
@@ -127,8 +144,10 @@ __exportStar(require("./serviceMeshEntryDto"), exports);
127
144
  __exportStar(require("./serviceMeshResponseDto"), exports);
128
145
  __exportStar(require("./serviceMeshResponseDtoDataEnvelope"), exports);
129
146
  __exportStar(require("./setBiomeAvailabilityDto"), exports);
130
- __exportStar(require("./spaceKind"), exports);
131
147
  __exportStar(require("./subjectKind"), exports);
148
+ __exportStar(require("./surfaceKindValidationDto"), exports);
149
+ __exportStar(require("./surfaceKindValidationDtoDataEnvelope"), exports);
150
+ __exportStar(require("./surfaceKindValidationDtoManifest"), exports);
132
151
  __exportStar(require("./updateBiomeInstallationResourcesDto"), exports);
133
152
  __exportStar(require("./updateOrgBiomeEnablementDto"), exports);
134
153
  __exportStar(require("./updateOrgBiomeInstallationDto"), exports);
@@ -136,6 +155,10 @@ __exportStar(require("./updateOrgBiomeInstallationDtoConfigJson"), exports);
136
155
  __exportStar(require("./updateRuntimeBindingDto"), exports);
137
156
  __exportStar(require("./updateRuntimeBindingDtoDeniedLabels"), exports);
138
157
  __exportStar(require("./updateRuntimeBindingDtoRequiredLabels"), exports);
158
+ __exportStar(require("./validateCapabilityDescriptorDto"), exports);
159
+ __exportStar(require("./validateCapabilityDescriptorDtoManifest"), exports);
160
+ __exportStar(require("./validateSurfaceKindDto"), exports);
161
+ __exportStar(require("./validateSurfaceKindDtoManifest"), exports);
139
162
  __exportStar(require("./webBiomeDisplayDto"), exports);
140
163
  __exportStar(require("./webBiomeLoaderDto"), exports);
141
164
  __exportStar(require("./webBiomeLoaderKind"), exports);
@@ -146,7 +169,3 @@ __exportStar(require("./webBiomeRegistrationResponseDtoDataArrayEnvelope"), expo
146
169
  __exportStar(require("./webBiomeRegistrationResponseDtoDataEnvelope"), exports);
147
170
  __exportStar(require("./webBiomeSignatureVerdict"), exports);
148
171
  __exportStar(require("./webBiomesControllerListParams"), exports);
149
- __exportStar(require("./xemaObjectKind"), exports);
150
- __exportStar(require("./xemaObjectResponseDto"), exports);
151
- __exportStar(require("./xemaSpaceRefDto"), exports);
152
- __exportStar(require("./xemaSubjectRefDto"), exports);
@@ -5,8 +5,8 @@
5
5
  * Platform biome registry consumed by frontend hosts at bootstrap.
6
6
  * OpenAPI spec version: 0.1.0
7
7
  */
8
+ import type { BiomeConnectorRequirementDto } from './biomeConnectorRequirementDto.js';
8
9
  import type { BiomeEffectiveState } from './biomeEffectiveState.js';
9
- import type { BiomeIntegrationRequirementDto } from './biomeIntegrationRequirementDto.js';
10
10
  import type { BiomeScope } from './biomeScope.js';
11
11
  import type { ServerBiomeRegistrationResponseDtoContributionPaths } from './serverBiomeRegistrationResponseDtoContributionPaths.js';
12
12
  export interface ServerBiomeRegistrationResponseDto {
@@ -29,7 +29,7 @@ export interface ServerBiomeRegistrationResponseDto {
29
29
  /** Resolved absolute paths for each content directory present on disk, keyed by content kind. Discovered by presence of the biome-host kind→dir convention directories. */
30
30
  contributionPaths: ServerBiomeRegistrationResponseDtoContributionPaths;
31
31
  /** Integration dependencies declared in the manifest. Empty for biomes that do not touch external systems. */
32
- integrationRequirements: BiomeIntegrationRequirementDto[];
32
+ connectorRequirements: BiomeConnectorRequirementDto[];
33
33
  /**
34
34
  * Free-form description from the manifest. Surfaced on biome cards + the install consent screen.
35
35
  * @nullable
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Generated by orval v8.16.0 🍺
3
+ * Do not edit manually.
4
+ * Biome Host API
5
+ * Platform biome registry consumed by frontend hosts at bootstrap.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { AuthoringIssueDto } from './authoringIssueDto.js';
9
+ import type { ContributionFileGuidanceDto } from './contributionFileGuidanceDto.js';
10
+ import type { SurfaceKindValidationDtoManifest } from './surfaceKindValidationDtoManifest.js';
11
+ export interface SurfaceKindValidationDto {
12
+ /** True only when the candidate satisfies the kernel schema AND claims no reserved first-party kind. */
13
+ valid: boolean;
14
+ /** The NORMALIZED manifest as the kernel schema parsed it, with unknown keys stripped. Present only when `valid` is true. */
15
+ manifest?: SurfaceKindValidationDtoManifest;
16
+ /** The fully-namespaced catalogue slug `<biomeId>:<kind>` the frontend Vista registry keys by — the slug the biome's renderer must register against. Present only when `valid` is true. */
17
+ namespacedKind?: string;
18
+ /** Every violation, one row per offending field. Empty when `valid` is true. */
19
+ issues: AuthoringIssueDto[];
20
+ /** How to ship the validated manifest from a biome. Returned whether or not the candidate is valid. */
21
+ contributionFile: ContributionFileGuidanceDto;
22
+ /** The closed first-party `SurfaceKind` set. Every value is RESERVED: the frontend registry owns it, so a biome that claims one would be shadowed and can never be accepted. Returned on every response so an author can pick a free slug without a second call. */
23
+ reservedFirstPartyKinds: string[];
24
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -5,8 +5,7 @@
5
5
  * Platform biome registry consumed by frontend hosts at bootstrap.
6
6
  * OpenAPI spec version: 0.1.0
7
7
  */
8
- export interface BiomeInstallationIntegrationResponseDto {
9
- id: string;
10
- adapterKind: string;
11
- orgIntegrationId: string;
8
+ import type { SurfaceKindValidationDto } from './surfaceKindValidationDto.js';
9
+ export interface SurfaceKindValidationDtoDataEnvelope {
10
+ data: SurfaceKindValidationDto;
12
11
  }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Generated by orval v8.16.0 🍺
3
+ * Do not edit manually.
4
+ * Biome Host API
5
+ * Platform biome registry consumed by frontend hosts at bootstrap.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ /**
9
+ * The NORMALIZED manifest as the kernel schema parsed it, with unknown keys stripped. Present only when `valid` is true.
10
+ */
11
+ export type SurfaceKindValidationDtoManifest = {
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
+ * Biome Host API
6
+ * Platform biome registry consumed by frontend hosts at bootstrap.
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
+ * Biome Host API
5
+ * Platform biome registry consumed by frontend hosts at bootstrap.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { ValidateCapabilityDescriptorDtoManifest } from './validateCapabilityDescriptorDtoManifest.js';
9
+ export interface ValidateCapabilityDescriptorDto {
10
+ /** The `manifest` body of a capability contribution envelope — i.e. what goes under `manifest` in a `<slug>.capability.contribution.json` file. Do NOT include provenance (`biome.id` / `biome.version`): it is stamped by the ingestion pipeline from the discovering biome and is not an authored field. */
11
+ manifest: ValidateCapabilityDescriptorDtoManifest;
12
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Generated by orval v8.16.0 🍺
3
+ * Do not edit manually.
4
+ * Biome Host API
5
+ * Platform biome registry consumed by frontend hosts at bootstrap.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ /**
9
+ * The `manifest` body of a capability contribution envelope — i.e. what goes under `manifest` in a `<slug>.capability.contribution.json` file. Do NOT include provenance (`biome.id` / `biome.version`): it is stamped by the ingestion pipeline from the discovering biome and is not an authored field.
10
+ */
11
+ export type ValidateCapabilityDescriptorDtoManifest = {
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
+ * Biome Host API
6
+ * Platform biome registry consumed by frontend hosts at bootstrap.
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Generated by orval v8.16.0 🍺
3
+ * Do not edit manually.
4
+ * Biome Host API
5
+ * Platform biome registry consumed by frontend hosts at bootstrap.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { ValidateSurfaceKindDtoManifest } from './validateSurfaceKindDtoManifest.js';
9
+ export interface ValidateSurfaceKindDto {
10
+ /** Id of the biome that will ship this contribution. Used to compute the namespaced catalogue slug `<biomeId>:<kind>`; never persisted. */
11
+ biomeId: string;
12
+ /** The `manifest` body of a surface-kind contribution envelope. `kind` is the BARE, biome-local slug — the catalogue namespaces it, so do not pre-prefix it with the biome id. */
13
+ manifest: ValidateSurfaceKindDtoManifest;
14
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Generated by orval v8.16.0 🍺
3
+ * Do not edit manually.
4
+ * Biome Host API
5
+ * Platform biome registry consumed by frontend hosts at bootstrap.
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ /**
9
+ * The `manifest` body of a surface-kind contribution envelope. `kind` is the BARE, biome-local slug — the catalogue namespaces it, so do not pre-prefix it with the biome id.
10
+ */
11
+ export type ValidateSurfaceKindDtoManifest = {
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
+ * Biome Host API
6
+ * Platform biome registry consumed by frontend hosts at bootstrap.
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -6,6 +6,7 @@
6
6
  * OpenAPI spec version: 0.1.0
7
7
  */
8
8
  import type { BiomeEffectiveState } from './biomeEffectiveState.js';
9
+ import type { BiomeProvidesDto } from './biomeProvidesDto.js';
9
10
  import type { BiomeScope } from './biomeScope.js';
10
11
  import type { WebBiomeDisplayDto } from './webBiomeDisplayDto.js';
11
12
  import type { WebBiomeLoaderDto } from './webBiomeLoaderDto.js';
@@ -32,4 +33,6 @@ export interface WebBiomeRegistrationResponseDto {
32
33
  storeListed: boolean;
33
34
  /** Optional presentation metadata from the manifest `xema.display` block (icon, category, summary, accent). Cosmetic only; absent when the manifest declares no display block. */
34
35
  display?: WebBiomeDisplayDto;
36
+ /** Deterministically-derived summary of what this biome provides (services + server-biome dependencies + target). A pure function of the manifest — never hand-authored; auto-updates as the biome changes. */
37
+ provides: BiomeProvidesDto;
35
38
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xemahq/biome-host-api-client",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [
@@ -19,7 +19,7 @@
19
19
  "service": "biome-host-api",
20
20
  "biome": "biome-host",
21
21
  "target": "server",
22
- "generator": "@xemahq/api-client-generator@0.1.5",
22
+ "generator": "@xemahq/api-client-generator@0.2.0",
23
23
  "source": "openapi.public.json"
24
24
  },
25
25
  "license": "LicenseRef-Xema-BSL-1.1",
@@ -1,14 +0,0 @@
1
- /**
2
- * Generated by orval v8.16.0 🍺
3
- * Do not edit manually.
4
- * Biome Host API
5
- * Platform biome registry consumed by frontend hosts at bootstrap.
6
- * OpenAPI spec version: 0.1.0
7
- */
8
- import type { DescribeObjectsResponseDto } from '../../models';
9
- export declare const getDescribeObjectsControllerDescribeUrl: () => string;
10
- /**
11
- * Wire shape mirrors the `xema.object-registry.projection.published.v1` CloudEvent `data` field. Consumers (object-registry-api) replace their cache slice for `source` atomically on each fetch.
12
- * @summary Return this service's slice of the XemaObject universe (biomes).
13
- */
14
- export declare const describeObjectsControllerDescribe: (options?: RequestInit) => Promise<DescribeObjectsResponseDto>;
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.describeObjectsControllerDescribe = exports.getDescribeObjectsControllerDescribeUrl = void 0;
4
- const custom_fetch_1 = require("../../custom-fetch");
5
- const getDescribeObjectsControllerDescribeUrl = () => {
6
- return `/describe-objects`;
7
- };
8
- exports.getDescribeObjectsControllerDescribeUrl = getDescribeObjectsControllerDescribeUrl;
9
- /**
10
- * Wire shape mirrors the `xema.object-registry.projection.published.v1` CloudEvent `data` field. Consumers (object-registry-api) replace their cache slice for `source` atomically on each fetch.
11
- * @summary Return this service's slice of the XemaObject universe (biomes).
12
- */
13
- const describeObjectsControllerDescribe = async (options) => {
14
- return (0, custom_fetch_1.customFetch)((0, exports.getDescribeObjectsControllerDescribeUrl)(), {
15
- ...options,
16
- method: 'GET'
17
- });
18
- };
19
- exports.describeObjectsControllerDescribe = describeObjectsControllerDescribe;
@@ -1,13 +0,0 @@
1
- /**
2
- * Generated by orval v8.16.0 🍺
3
- * Do not edit manually.
4
- * Biome Host API
5
- * Platform biome registry consumed by frontend hosts at bootstrap.
6
- * OpenAPI spec version: 0.1.0
7
- */
8
- export interface BiomeInstallationIntegrationBindingInputDto {
9
- /** Adapter kind slug the biome requires (e.g. "scm", "tracker"). */
10
- adapterKind: string;
11
- /** Id of the OrgIntegration row in integration-adapters-api this installation binds against. */
12
- orgIntegrationId: string;
13
- }
@@ -1,19 +0,0 @@
1
- /**
2
- * Generated by orval v8.16.0 🍺
3
- * Do not edit manually.
4
- * Biome Host API
5
- * Platform biome registry consumed by frontend hosts at bootstrap.
6
- * OpenAPI spec version: 0.1.0
7
- */
8
- import type { BiomeInstallationState } from './biomeInstallationState.js';
9
- import type { BiomeTrustTier } from './biomeTrustTier.js';
10
- export interface BiomePayloadDto {
11
- /** Biome id (today) / biome id (after Phase 6). Stable across the rename. */
12
- biomeId: string;
13
- /** Human-readable display name from the biome manifest. */
14
- displayName: string;
15
- /** Provenance tier. Mapped from the legacy biome trust tier — `first-party-runtime` → `first-party`, `third-party` → `community-store`. Biomes with no remote bundle (kernel-shipped) map to `system`. */
16
- trustTier: BiomeTrustTier;
17
- /** Per-install runtime state (active | pending_config | disabled). Carried in addition to top-level `lifecycle` because that field uses the kernel `ObjectLifecycle` enum (draft/published/archived) which loses install-specific detail. */
18
- lifecycleStage: BiomeInstallationState;
19
- }
@@ -1,19 +0,0 @@
1
- /**
2
- * Generated by orval v8.16.0 🍺
3
- * Do not edit manually.
4
- * Biome Host API
5
- * Platform biome registry consumed by frontend hosts at bootstrap.
6
- * OpenAPI spec version: 0.1.0
7
- */
8
- /**
9
- * Provenance tier. Mapped from the legacy biome trust tier — `first-party-runtime` → `first-party`, `third-party` → `community-store`. Biomes with no remote bundle (kernel-shipped) map to `system`.
10
- */
11
- export type BiomeTrustTier = typeof BiomeTrustTier[keyof typeof BiomeTrustTier];
12
- export declare const BiomeTrustTier: {
13
- readonly system: "system";
14
- readonly 'first-party': "first-party";
15
- readonly 'verified-store': "verified-store";
16
- readonly 'community-store': "community-store";
17
- readonly 'private-org': "private-org";
18
- readonly 'generated-sandbox': "generated-sandbox";
19
- };