@intentic/extension-manifest 1.269.0 → 1.270.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/dist/manifest.d.ts +1 -0
- package/dist/manifest.d.ts.map +1 -1
- package/dist/points/commands.d.ts +2 -0
- package/dist/points/commands.d.ts.map +1 -1
- package/dist/points/commands.js +5 -0
- package/dist/points/commands.js.map +1 -1
- package/dist/points/index.d.ts +2 -0
- package/dist/points/index.d.ts.map +1 -1
- package/intentic-extension.schema.json +5 -0
- package/package.json +2 -2
- package/src/points/commands.ts +7 -0
package/dist/manifest.d.ts
CHANGED
|
@@ -277,6 +277,7 @@ export declare const ExtensionManifestSchema: z.ZodObject<{
|
|
|
277
277
|
commands: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
278
278
|
command: z.ZodString;
|
|
279
279
|
title: z.ZodString;
|
|
280
|
+
category: z.ZodOptional<z.ZodString>;
|
|
280
281
|
icon: z.ZodOptional<z.ZodString>;
|
|
281
282
|
keybinding: z.ZodOptional<z.ZodString>;
|
|
282
283
|
when: z.ZodOptional<z.ZodString>;
|
package/dist/manifest.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest.d.ts","sourceRoot":"","sources":["../src/manifest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"manifest.d.ts","sourceRoot":"","sources":["../src/manifest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA6DlC,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAIxE,eAAO,MAAM,aAAa,aAAc,IAAI,CAAC,iBAAiB,EAAE,WAAW,GAAG,MAAM,CAAC,KAAG,MAAkD,CAAC"}
|
|
@@ -2,6 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const CommandContributionSchema: z.ZodObject<{
|
|
3
3
|
command: z.ZodString;
|
|
4
4
|
title: z.ZodString;
|
|
5
|
+
category: z.ZodOptional<z.ZodString>;
|
|
5
6
|
icon: z.ZodOptional<z.ZodString>;
|
|
6
7
|
keybinding: z.ZodOptional<z.ZodString>;
|
|
7
8
|
when: z.ZodOptional<z.ZodString>;
|
|
@@ -13,6 +14,7 @@ export declare const commandsPoint: {
|
|
|
13
14
|
readonly schema: z.ZodArray<z.ZodObject<{
|
|
14
15
|
command: z.ZodString;
|
|
15
16
|
title: z.ZodString;
|
|
17
|
+
category: z.ZodOptional<z.ZodString>;
|
|
16
18
|
icon: z.ZodOptional<z.ZodString>;
|
|
17
19
|
keybinding: z.ZodOptional<z.ZodString>;
|
|
18
20
|
when: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../src/points/commands.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../src/points/commands.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,yBAAyB;;;;;;;iBA6BpC,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E,eAAO,MAAM,aAAa;mBAChB,UAAU;0BAEZ,6NAA6N;;;;;;;;;CAE/L,CAAC"}
|
package/dist/points/commands.js
CHANGED
|
@@ -3,6 +3,11 @@ import { z } from "zod";
|
|
|
3
3
|
export const CommandContributionSchema = z.object({
|
|
4
4
|
command: z.string().regex(/^[a-z0-9][a-z0-9-]*(\.[a-z0-9][a-z0-9-]*)+$/),
|
|
5
5
|
title: z.string().min(1).describe("What the command palette shows. The manifest's value wins over the one passed at registration."),
|
|
6
|
+
category: z
|
|
7
|
+
.string()
|
|
8
|
+
.min(1)
|
|
9
|
+
.optional()
|
|
10
|
+
.describe('What the command acts on ("Deployments", "Knowledge"), drawn ahead of the title as "Category: Title" and searched with it. Use the extension\'s own name so its commands group together; omit it and the command stands alone.'),
|
|
6
11
|
icon: z.string().optional().describe("A name from the host's icon set, drawn beside the title."),
|
|
7
12
|
keybinding: z
|
|
8
13
|
.string()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commands.js","sourceRoot":"","sources":["../../src/points/commands.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,6CAA6C,CAAC;IACxE,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,gGAAgG,CAAC;IAC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K,CAAC,OAAO,CAAC;SACd,QAAQ,EAAE;SACV,QAAQ,CACL,iOAAiO,CACpO;IAGL,IAAI,EAAE,CAAC;SACF,MAAM,EAAE;SACR,MAAM,CAAC,gBAAgB,EAAE,EAAE,OAAO,EAAE,8BAA8B,EAAE,CAAC;SACrE,QAAQ,EAAE;SACV,QAAQ,CACL,6TAA6T,CAChU;CACR,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,aAAa,GAAG;IACzB,IAAI,EAAE,UAAU;IAChB,WAAW,EACP,6NAA6N;IACjO,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC;CACR,CAAC"}
|
package/dist/points/index.d.ts
CHANGED
|
@@ -57,6 +57,7 @@ export declare const CONTRIBUTION_POINTS: readonly [{
|
|
|
57
57
|
readonly schema: z.ZodArray<z.ZodObject<{
|
|
58
58
|
command: z.ZodString;
|
|
59
59
|
title: z.ZodString;
|
|
60
|
+
category: z.ZodOptional<z.ZodString>;
|
|
60
61
|
icon: z.ZodOptional<z.ZodString>;
|
|
61
62
|
keybinding: z.ZodOptional<z.ZodString>;
|
|
62
63
|
when: z.ZodOptional<z.ZodString>;
|
|
@@ -650,6 +651,7 @@ export declare const contributesSchema: z.ZodObject<{
|
|
|
650
651
|
commands: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
651
652
|
command: z.ZodString;
|
|
652
653
|
title: z.ZodString;
|
|
654
|
+
category: z.ZodOptional<z.ZodString>;
|
|
653
655
|
icon: z.ZodOptional<z.ZodString>;
|
|
654
656
|
keybinding: z.ZodOptional<z.ZodString>;
|
|
655
657
|
when: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/points/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAgBxB,cAAc,YAAY,CAAC;AAC3B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,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;;;;;;;;EAciB,CAAC;AAUlD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAE7B,CAAC"}
|
|
@@ -224,6 +224,11 @@
|
|
|
224
224
|
"minLength": 1,
|
|
225
225
|
"description": "What the command palette shows. The manifest's value wins over the one passed at registration."
|
|
226
226
|
},
|
|
227
|
+
"category": {
|
|
228
|
+
"description": "What the command acts on (\"Deployments\", \"Knowledge\"), drawn ahead of the title as \"Category: Title\" and searched with it. Use the extension's own name so its commands group together; omit it and the command stands alone.",
|
|
229
|
+
"type": "string",
|
|
230
|
+
"minLength": 1
|
|
231
|
+
},
|
|
227
232
|
"icon": {
|
|
228
233
|
"description": "A name from the host's icon set, drawn beside the title.",
|
|
229
234
|
"type": "string"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intentic/extension-manifest",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.270.0",
|
|
4
4
|
"description": "What an intentic extension DECLARES, the intentic-extension.json schema and the sandbox-route allowlist rule",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@intentic/base": "1.
|
|
35
|
+
"@intentic/base": "1.270.0",
|
|
36
36
|
"tslib": "2.8.1",
|
|
37
37
|
"zod": "4.5.4"
|
|
38
38
|
},
|
package/src/points/commands.ts
CHANGED
|
@@ -6,6 +6,13 @@ import type { ContributionPoint } from "../contribution-point.js";
|
|
|
6
6
|
export const CommandContributionSchema = z.object({
|
|
7
7
|
command: z.string().regex(/^[a-z0-9][a-z0-9-]*(\.[a-z0-9][a-z0-9-]*)+$/),
|
|
8
8
|
title: z.string().min(1).describe("What the command palette shows. The manifest's value wins over the one passed at registration."),
|
|
9
|
+
category: z
|
|
10
|
+
.string()
|
|
11
|
+
.min(1)
|
|
12
|
+
.optional()
|
|
13
|
+
.describe(
|
|
14
|
+
'What the command acts on ("Deployments", "Knowledge"), drawn ahead of the title as "Category: Title" and searched with it. Use the extension\'s own name so its commands group together; omit it and the command stands alone.',
|
|
15
|
+
),
|
|
9
16
|
icon: z.string().optional().describe("A name from the host's icon set, drawn beside the title."),
|
|
10
17
|
// Global keyboard shortcut in the host's chord notation. Declared here so it rides the install dialog's approval;
|
|
11
18
|
// the host binds only what was approved.
|