@intentic/extension-manifest 1.216.0 → 1.218.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/points/files.js
CHANGED
|
@@ -6,7 +6,7 @@ export const FileContributionSchema = z.object({
|
|
|
6
6
|
.refine((value) => !value.startsWith("/") && !value.split("/").includes(".."), {
|
|
7
7
|
message: "path must be workspace-root-relative and stay inside the workspace",
|
|
8
8
|
})
|
|
9
|
-
.describe("Workspace-root-relative, forward-slash, matched by prefix — so one entry covers an exact file (`.intentic/automations.json`), a directory (`.intentic/drafts/`, with the trailing slash so it cannot match a sibling file) or a name family (`.intentic/environment.`). Not a glob."),
|
|
9
|
+
.describe("Workspace-root-relative, forward-slash, matched by prefix — so one entry covers an exact file (`.intentic/config/automations.json`), a directory (`.intentic/config/drafts/`, with the trailing slash so it cannot match a sibling file) or a name family (`.intentic/environment.`). Not a glob."),
|
|
10
10
|
invalidates: z
|
|
11
11
|
.array(z.string().min(1))
|
|
12
12
|
.min(1)
|
package/dist/points/files.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"files.js","sourceRoot":"","sources":["../../src/points/files.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAiBxB,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAK3C,IAAI,EAAE,CAAC;SACF,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE;QAC3E,OAAO,EAAE,oEAAoE;KAChF,CAAC;SACD,QAAQ,CACL,
|
|
1
|
+
{"version":3,"file":"files.js","sourceRoot":"","sources":["../../src/points/files.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAiBxB,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAK3C,IAAI,EAAE,CAAC;SACF,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE;QAC3E,OAAO,EAAE,oEAAoE;KAChF,CAAC;SACD,QAAQ,CACL,mSAAmS,CACtS;IASL,WAAW,EAAE,CAAC;SACT,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;SACxB,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,CACL,mPAAmP,CACtP;CACR,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,UAAU,GAAG;IACtB,IAAI,EAAE,OAAO;IACb,WAAW,EACP,2PAA2P;IAC/P,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC;CACL,CAAC"}
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
"path": {
|
|
131
131
|
"type": "string",
|
|
132
132
|
"minLength": 1,
|
|
133
|
-
"description": "Workspace-root-relative, forward-slash, matched by prefix — so one entry covers an exact file (`.intentic/automations.json`), a directory (`.intentic/drafts/`, with the trailing slash so it cannot match a sibling file) or a name family (`.intentic/environment.`). Not a glob."
|
|
133
|
+
"description": "Workspace-root-relative, forward-slash, matched by prefix — so one entry covers an exact file (`.intentic/config/automations.json`), a directory (`.intentic/config/drafts/`, with the trailing slash so it cannot match a sibling file) or a name family (`.intentic/environment.`). Not a glob."
|
|
134
134
|
},
|
|
135
135
|
"invalidates": {
|
|
136
136
|
"minItems": 1,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intentic/extension-manifest",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.218.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",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"tslib": "2.8.1",
|
|
36
36
|
"zod": "4.4.3",
|
|
37
|
-
"@intentic/base": "1.
|
|
37
|
+
"@intentic/base": "1.218.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/node": "24.13.2",
|
package/src/points/files.ts
CHANGED
|
@@ -17,7 +17,7 @@ import type { ContributionPoint } from "../contribution-point.js";
|
|
|
17
17
|
* subscribe, no unsubscribe, no listener that quietly stops firing. */
|
|
18
18
|
export const FileContributionSchema = z.object({
|
|
19
19
|
/* Workspace-root-relative, forward-slash — the space the watcher's changed paths arrive in. Matched by
|
|
20
|
-
* PREFIX, so one entry covers an exact file (`.intentic/automations.json`), a directory (`.intentic/drafts/`
|
|
20
|
+
* PREFIX, so one entry covers an exact file (`.intentic/config/automations.json`), a directory (`.intentic/config/drafts/`
|
|
21
21
|
* — keep the trailing slash so it cannot match a sibling file) or a name family (`.intentic/environment.`).
|
|
22
22
|
* Deliberately not a glob: prefix is the whole matching rule on both sides of this union. */
|
|
23
23
|
path: z
|
|
@@ -27,7 +27,7 @@ export const FileContributionSchema = z.object({
|
|
|
27
27
|
message: "path must be workspace-root-relative and stay inside the workspace",
|
|
28
28
|
})
|
|
29
29
|
.describe(
|
|
30
|
-
"Workspace-root-relative, forward-slash, matched by prefix — so one entry covers an exact file (`.intentic/automations.json`), a directory (`.intentic/drafts/`, with the trailing slash so it cannot match a sibling file) or a name family (`.intentic/environment.`). Not a glob.",
|
|
30
|
+
"Workspace-root-relative, forward-slash, matched by prefix — so one entry covers an exact file (`.intentic/config/automations.json`), a directory (`.intentic/config/drafts/`, with the trailing slash so it cannot match a sibling file) or a name family (`.intentic/environment.`). Not a glob.",
|
|
31
31
|
),
|
|
32
32
|
/* The browser query keys those contents feed — the first element of the extension's own
|
|
33
33
|
* `api.sandbox.key(...)` keys, which is what makes them match (the sandbox id is a SUFFIX). Empty is not
|