@intentic/extension-api 1.429.0 → 1.431.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.
- package/README.md +6 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/dist/wire.d.ts +5 -0
- package/dist/wire.d.ts.map +1 -0
- package/dist/wire.js +45 -0
- package/dist/wire.js.map +1 -0
- package/package.json +15 -4
- package/src/surface.json +6191 -1
- package/src/version.ts +12 -1
- package/src/wire.ts +64 -0
package/README.md
CHANGED
|
@@ -54,6 +54,12 @@ flowchart LR
|
|
|
54
54
|
version (`uiKitDeprecated`: each deprecated kit name and retired prop or recipe member, `<what> → <use instead>`).
|
|
55
55
|
The package exports the record as `./surface.json`, which the kit's `intentic-kit-check` reads to hold an
|
|
56
56
|
extension's `engines.intentic` floor to the names it imports.
|
|
57
|
+
- From 2.44.0 the record also versions the part of `@intentic/sandbox-contract` an extension reads (`wireExports`).
|
|
58
|
+
The contract moves with the product release, so `EXTENSION_WIRE` (`./wire`, [src/wire.ts](src/wire.ts)) names the
|
|
59
|
+
bare package and the subpaths an extension may import, and the record holds, per one, its runtime export names and a
|
|
60
|
+
sha256 of every zod schema it exports as JSON Schema: a reshaped schema an extension parses fails the guard until a
|
|
61
|
+
new version is recorded. A subpath joins in a minor and leaves only in a major. The `_extensions/**` lint override
|
|
62
|
+
and `intentic-kit-check` (which reads the list off the newest record, so it needs no build) refuse any other.
|
|
57
63
|
From 2.36.0, settings choices can carry `enumItemLabels` and `enumDescriptions` for their labels and explanations.
|
|
58
64
|
- A bundle links by name both this package's runtime exports (`moduleExports`) and the UI kit's, so those two grains
|
|
59
65
|
are held to semver as well: a version that adds a name is at least a minor, and one that drops a name is a major, for
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const extensionApiVersion = "2.
|
|
1
|
+
export declare const extensionApiVersion = "2.48.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/version.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AA2CA,eAAO,MAAM,mBAAmB,WAAW,CAAC"}
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const extensionApiVersion = "2.
|
|
1
|
+
export const extensionApiVersion = "2.48.0";
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
package/dist/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AA2CA,MAAM,CAAC,MAAM,mBAAmB,GAAG,QAAQ,CAAC"}
|
package/dist/wire.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const EXTENSION_WIRE: readonly ["@intentic/sandbox-contract", "@intentic/sandbox-contract/app-routes", "@intentic/sandbox-contract/batch-runs", "@intentic/sandbox-contract/capability-env", "@intentic/sandbox-contract/chores", "@intentic/sandbox-contract/ids/conversation-ids", "@intentic/sandbox-contract/message-limits", "@intentic/sandbox-contract/models/agent-catalog", "@intentic/sandbox-contract/oauth/google-workspace", "@intentic/sandbox-contract/policy/capability-env", "@intentic/sandbox-contract/policy/command-run", "@intentic/sandbox-contract/policy/keyring-origins", "@intentic/sandbox-contract/policy/role-capability", "@intentic/sandbox-contract/protocol/doors/listener-protocol", "@intentic/sandbox-contract/schemas/access-profiles", "@intentic/sandbox-contract/schemas/activity", "@intentic/sandbox-contract/schemas/agent", "@intentic/sandbox-contract/schemas/agents", "@intentic/sandbox-contract/schemas/approvals", "@intentic/sandbox-contract/schemas/automations", "@intentic/sandbox-contract/schemas/ci", "@intentic/sandbox-contract/schemas/git/git", "@intentic/sandbox-contract/schemas/git/git-history", "@intentic/sandbox-contract/schemas/history", "@intentic/sandbox-contract/schemas/keyring", "@intentic/sandbox-contract/schemas/ports", "@intentic/sandbox-contract/schemas/public", "@intentic/sandbox-contract/schemas/roles", "@intentic/sandbox-contract/schemas/services", "@intentic/sandbox-contract/schemas/share", "@intentic/sandbox-contract/schemas/shared", "@intentic/sandbox-contract/schemas/terminal", "@intentic/sandbox-contract/schemas/workspace/workspace-graph", "@intentic/sandbox-contract/schemas/workspace/workspace-repos", "@intentic/sandbox-contract/session-names", "@intentic/sandbox-contract/state/fix-attempt-plan", "@intentic/sandbox-contract/state/fix-stance", "@intentic/sandbox-contract/time", "@intentic/sandbox-contract/workspace-state"];
|
|
2
|
+
export type ExtensionWireSpecifier = (typeof EXTENSION_WIRE)[number];
|
|
3
|
+
export declare const namesWireContract: (specifier: string) => boolean;
|
|
4
|
+
export declare const isExtensionWire: (specifier: string) => boolean;
|
|
5
|
+
//# sourceMappingURL=wire.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wire.d.ts","sourceRoot":"","sources":["../src/wire.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,cAAc,YACvB,4BAA4B,EAC5B,uCAAuC,EACvC,uCAAuC,EACvC,2CAA2C,EAC3C,mCAAmC,EACnC,iDAAiD,EACjD,2CAA2C,EAC3C,iDAAiD,EACjD,mDAAmD,EACnD,kDAAkD,EAClD,+CAA+C,EAC/C,mDAAmD,EACnD,mDAAmD,EACnD,6DAA6D,EAC7D,oDAAoD,EACpD,6CAA6C,EAC7C,0CAA0C,EAC1C,2CAA2C,EAC3C,8CAA8C,EAC9C,gDAAgD,EAChD,uCAAuC,EACvC,4CAA4C,EAC5C,oDAAoD,EACpD,4CAA4C,EAC5C,4CAA4C,EAC5C,0CAA0C,EAC1C,2CAA2C,EAC3C,0CAA0C,EAC1C,6CAA6C,EAC7C,0CAA0C,EAC1C,2CAA2C,EAC3C,6CAA6C,EAC7C,8DAA8D,EAC9D,8DAA8D,EAC9D,0CAA0C,EAC1C,mDAAmD,EACnD,6CAA6C,EAC7C,iCAAiC,EACjC,4CAA4C,CACtC,CAAC;AAEX,MAAM,MAAM,sBAAsB,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC;AAGrE,eAAO,MAAM,iBAAiB,cAAe,MAAM,KAAG,OAC+C,CAAC;AAKtG,eAAO,MAAM,eAAe,cAAe,MAAM,KAAG,OAAiC,CAAC"}
|
package/dist/wire.js
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export const EXTENSION_WIRE = [
|
|
2
|
+
"@intentic/sandbox-contract",
|
|
3
|
+
"@intentic/sandbox-contract/app-routes",
|
|
4
|
+
"@intentic/sandbox-contract/batch-runs",
|
|
5
|
+
"@intentic/sandbox-contract/capability-env",
|
|
6
|
+
"@intentic/sandbox-contract/chores",
|
|
7
|
+
"@intentic/sandbox-contract/ids/conversation-ids",
|
|
8
|
+
"@intentic/sandbox-contract/message-limits",
|
|
9
|
+
"@intentic/sandbox-contract/models/agent-catalog",
|
|
10
|
+
"@intentic/sandbox-contract/oauth/google-workspace",
|
|
11
|
+
"@intentic/sandbox-contract/policy/capability-env",
|
|
12
|
+
"@intentic/sandbox-contract/policy/command-run",
|
|
13
|
+
"@intentic/sandbox-contract/policy/keyring-origins",
|
|
14
|
+
"@intentic/sandbox-contract/policy/role-capability",
|
|
15
|
+
"@intentic/sandbox-contract/protocol/doors/listener-protocol",
|
|
16
|
+
"@intentic/sandbox-contract/schemas/access-profiles",
|
|
17
|
+
"@intentic/sandbox-contract/schemas/activity",
|
|
18
|
+
"@intentic/sandbox-contract/schemas/agent",
|
|
19
|
+
"@intentic/sandbox-contract/schemas/agents",
|
|
20
|
+
"@intentic/sandbox-contract/schemas/approvals",
|
|
21
|
+
"@intentic/sandbox-contract/schemas/automations",
|
|
22
|
+
"@intentic/sandbox-contract/schemas/ci",
|
|
23
|
+
"@intentic/sandbox-contract/schemas/git/git",
|
|
24
|
+
"@intentic/sandbox-contract/schemas/git/git-history",
|
|
25
|
+
"@intentic/sandbox-contract/schemas/history",
|
|
26
|
+
"@intentic/sandbox-contract/schemas/keyring",
|
|
27
|
+
"@intentic/sandbox-contract/schemas/ports",
|
|
28
|
+
"@intentic/sandbox-contract/schemas/public",
|
|
29
|
+
"@intentic/sandbox-contract/schemas/roles",
|
|
30
|
+
"@intentic/sandbox-contract/schemas/services",
|
|
31
|
+
"@intentic/sandbox-contract/schemas/share",
|
|
32
|
+
"@intentic/sandbox-contract/schemas/shared",
|
|
33
|
+
"@intentic/sandbox-contract/schemas/terminal",
|
|
34
|
+
"@intentic/sandbox-contract/schemas/workspace/workspace-graph",
|
|
35
|
+
"@intentic/sandbox-contract/schemas/workspace/workspace-repos",
|
|
36
|
+
"@intentic/sandbox-contract/session-names",
|
|
37
|
+
"@intentic/sandbox-contract/state/fix-attempt-plan",
|
|
38
|
+
"@intentic/sandbox-contract/state/fix-stance",
|
|
39
|
+
"@intentic/sandbox-contract/time",
|
|
40
|
+
"@intentic/sandbox-contract/workspace-state",
|
|
41
|
+
];
|
|
42
|
+
export const namesWireContract = (specifier) => specifier === `@intentic/sandbox-contract` || specifier.startsWith(`@intentic/sandbox-contract/`);
|
|
43
|
+
const allowed = new Set(EXTENSION_WIRE);
|
|
44
|
+
export const isExtensionWire = (specifier) => allowed.has(specifier);
|
|
45
|
+
//# sourceMappingURL=wire.js.map
|
package/dist/wire.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wire.js","sourceRoot":"","sources":["../src/wire.ts"],"names":[],"mappings":"AAYA,MAAM,CAAC,MAAM,cAAc,GAAG;IAC1B,4BAA4B;IAC5B,uCAAuC;IACvC,uCAAuC;IACvC,2CAA2C;IAC3C,mCAAmC;IACnC,iDAAiD;IACjD,2CAA2C;IAC3C,iDAAiD;IACjD,mDAAmD;IACnD,kDAAkD;IAClD,+CAA+C;IAC/C,mDAAmD;IACnD,mDAAmD;IACnD,6DAA6D;IAC7D,oDAAoD;IACpD,6CAA6C;IAC7C,0CAA0C;IAC1C,2CAA2C;IAC3C,8CAA8C;IAC9C,gDAAgD;IAChD,uCAAuC;IACvC,4CAA4C;IAC5C,oDAAoD;IACpD,4CAA4C;IAC5C,4CAA4C;IAC5C,0CAA0C;IAC1C,2CAA2C;IAC3C,0CAA0C;IAC1C,6CAA6C;IAC7C,0CAA0C;IAC1C,2CAA2C;IAC3C,6CAA6C;IAC7C,8DAA8D;IAC9D,8DAA8D;IAC9D,0CAA0C;IAC1C,mDAAmD;IACnD,6CAA6C;IAC7C,iCAAiC;IACjC,4CAA4C;CACtC,CAAC;AAKX,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,SAAiB,EAAW,EAAE,CAC5D,SAAS,KAAK,4BAA4B,IAAI,SAAS,CAAC,UAAU,CAAC,6BAA6B,CAAC,CAAC;AAEtG,MAAM,OAAO,GAAwB,IAAI,GAAG,CAAC,cAAc,CAAC,CAAC;AAG7D,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,SAAiB,EAAW,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intentic/extension-api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.431.0",
|
|
4
4
|
"description": "The versioned public API intentic extensions compile against, manifest schema, detection facts and the host API",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -62,12 +62,23 @@
|
|
|
62
62
|
"default": "./dist/testing.js"
|
|
63
63
|
}
|
|
64
64
|
},
|
|
65
|
+
"./wire": {
|
|
66
|
+
"types": "./dist/wire.d.ts",
|
|
67
|
+
"import": {
|
|
68
|
+
"@intentic/src": "./src/wire.ts",
|
|
69
|
+
"default": "./dist/wire.js"
|
|
70
|
+
},
|
|
71
|
+
"require": {
|
|
72
|
+
"@intentic/src": "./src/wire.ts",
|
|
73
|
+
"default": "./dist/wire.js"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
65
76
|
"./surface.json": "./src/surface.json"
|
|
66
77
|
},
|
|
67
78
|
"dependencies": {
|
|
68
|
-
"@intentic/base": "1.
|
|
69
|
-
"@intentic/extension-manifest": "1.
|
|
70
|
-
"@intentic/sandbox-contract": "1.
|
|
79
|
+
"@intentic/base": "1.431.0",
|
|
80
|
+
"@intentic/extension-manifest": "1.431.0",
|
|
81
|
+
"@intentic/sandbox-contract": "1.431.0",
|
|
71
82
|
"@orpc/client": "1.16.1",
|
|
72
83
|
"@orpc/contract": "1.16.1",
|
|
73
84
|
"@orpc/openapi-client": "1.16.1"
|