@xemahq/kernel-contracts 0.43.0 → 0.43.1
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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xemahq/kernel-contracts",
|
|
3
|
-
"version": "0.43.
|
|
3
|
+
"version": "0.43.1",
|
|
4
4
|
"description": "Consolidated Xema OS kernel wire contracts — pure types + zod schemas for the kernel protocol surfaces. One package, one npm scope, wildcard per-surface subpath exports. No framework/runtime deps.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Neuralchowder Inc. <developer@xema.dev> (https://xema.dev)",
|
|
@@ -15,7 +15,7 @@ import { z } from 'zod';
|
|
|
15
15
|
* ONE Connector concept. See
|
|
16
16
|
* `.claude/plans/connector-architecture-convergence.md`.
|
|
17
17
|
*
|
|
18
|
-
* - `native-provider` — a biome-shipped `
|
|
18
|
+
* - `native-provider` — a biome-shipped `ConnectorAdapterModule` executes
|
|
19
19
|
* the operation directly (the curated, code-capable connector: Gmail
|
|
20
20
|
* module, an SCM connector, …). This is the CODE escape hatch, hosted by
|
|
21
21
|
* `biome-adapter-host`.
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* connectors.
|
|
11
11
|
*
|
|
12
12
|
* This descriptor is the connector-registry face of an
|
|
13
|
-
* `
|
|
13
|
+
* `ConnectorAdapterModule`: the module carries the executable
|
|
14
14
|
* webhook/action/resource handlers; this descriptor carries the
|
|
15
15
|
* *catalog + connect* metadata the framework needs
|
|
16
16
|
* to render the provider-grouped catalog, drive consent with the right scopes,
|
|
@@ -31,7 +31,7 @@ import { BuiltInAdapterKind, type AdapterKindRef } from './adapter-kind';
|
|
|
31
31
|
*/
|
|
32
32
|
export const UNION_ENTITY_KIND = '*';
|
|
33
33
|
|
|
34
|
-
/** Inherited base envelope fields (defined on `
|
|
34
|
+
/** Inherited base envelope fields (defined on `ConnectorWebhookEnvelopeDto`). */
|
|
35
35
|
const BASE_ENVELOPE_PATHS = [
|
|
36
36
|
'provider',
|
|
37
37
|
'adapterKey',
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* ─────────────────────────────────────────────────────────────────────────
|
|
3
3
|
* Provider onboarding manifest — install-wizard UX contract
|
|
4
4
|
*
|
|
5
|
-
* Each `
|
|
5
|
+
* Each `ConnectorAdapterModule` declares an `onboarding` manifest so the
|
|
6
6
|
* frontend can render the "Connect <provider>" surface generically from the
|
|
7
7
|
* registry instead of carrying a hardcoded provider catalogue.
|
|
8
8
|
*
|
|
@@ -137,7 +137,7 @@ export const CredentialFieldSpecSchema = z.strictObject({
|
|
|
137
137
|
* state.
|
|
138
138
|
*/
|
|
139
139
|
export interface ProviderOnboardingManifest {
|
|
140
|
-
/** Provider slug (same as `
|
|
140
|
+
/** Provider slug (same as `ConnectorAdapterModule.provider`). */
|
|
141
141
|
readonly provider: string;
|
|
142
142
|
/** Human-readable provider name (e.g. `GitHub`, `Atlassian Cloud`). */
|
|
143
143
|
readonly displayName: string;
|