@forge/manifest 13.2.0-next.6 → 13.3.0-next.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/CHANGELOG.md CHANGED
@@ -1,5 +1,36 @@
1
1
  # @forge/manifest
2
2
 
3
+ ## 13.3.0-next.0
4
+
5
+ ### Minor Changes
6
+
7
+ - d706cd8: Add "package" property to resource manifest definition to allow custom bundling for UI Kit resources
8
+
9
+ ## 13.2.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 2b30ef8: Add SKILL.md file validation
14
+ - 8826ca3: add personal apps support for Forge app creation
15
+
16
+ ### Patch Changes
17
+
18
+ - 4c5ba1c: Add `permissions.sandbox` to the manifest schema. When `allow-storage-access-by-user-activation` is included in the `sandbox` array, the app iframe sandbox will include the corresponding token, enabling the app to request third-party storage access (e.g. cookies) via the Storage Access API when triggered by a user gesture.
19
+
20
+ Example usage:
21
+
22
+ ```yaml
23
+ permissions:
24
+ sandbox:
25
+ - allow-storage-access-by-user-activation
26
+ ```
27
+
28
+ - 5abe69e: add support for personal app installation contexts
29
+ - 7195f29: Update manifest definitions
30
+ - 3252a62: Update manifest definitions
31
+ - 119be75: Update manifest definitions
32
+ - c67b720: Update manifest definitions
33
+
3
34
  ## 13.2.0-next.6
4
35
 
5
36
  ### Patch Changes
@@ -33253,6 +33253,11 @@
33253
33253
  "path": {
33254
33254
  "type": "string"
33255
33255
  },
33256
+ "package": {
33257
+ "type": "string",
33258
+ "enum": ["manual@2026"],
33259
+ "description": "For UI Kit resources only. When set, the CLI treats the resource path as already-built output."
33260
+ },
33256
33261
  "entry": {
33257
33262
  "type": "object",
33258
33263
  "minProperties": 1,
@@ -76621,6 +76621,10 @@ export interface HostedResourcesSchema {
76621
76621
  */
76622
76622
  key: string;
76623
76623
  path: string;
76624
+ /**
76625
+ * For UI Kit resources only. When set, the CLI treats the resource path as already-built output.
76626
+ */
76627
+ package?: 'manual@2026';
76624
76628
  entry?: {
76625
76629
  [k: string]: string;
76626
76630
  };
@@ -1 +1 @@
1
- {"version":3,"file":"resources-validator.d.ts","sourceRoot":"","sources":["../../src/validators/resources-validator.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAAmB,MAAM,UAAU,CAAC;AAGrF,OAAO,EAAyB,cAAc,EAAmB,MAAM,oBAAoB,CAAC;AAC5F,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE3D,eAAO,MAAM,kBAAkB,KAAK,CAAC;AAUrC,qBAAa,kBACX,YAAW,kBAAkB,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,EAAE,cAAc,CAAC;IAEzF,OAAO,CAAC,eAAe;IAIvB,OAAO,CAAC,8BAA8B;IAoGtC,OAAO,CAAC,4BAA4B;IAwBpC,OAAO,CAAC,+BAA+B;IAwCjC,QAAQ,CACZ,QAAQ,EAAE,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,GACnD,OAAO,CAAC,wBAAwB,CAAC,cAAc,CAAC,CAAC;CAsOrD"}
1
+ {"version":3,"file":"resources-validator.d.ts","sourceRoot":"","sources":["../../src/validators/resources-validator.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAAmB,MAAM,UAAU,CAAC;AAGrF,OAAO,EAAyB,cAAc,EAAmB,MAAM,oBAAoB,CAAC;AAC5F,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE3D,eAAO,MAAM,kBAAkB,KAAK,CAAC;AAUrC,qBAAa,kBACX,YAAW,kBAAkB,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,EAAE,cAAc,CAAC;IAEzF,OAAO,CAAC,eAAe;IAIvB,OAAO,CAAC,8BAA8B;IAqGtC,OAAO,CAAC,4BAA4B;IAwBpC,OAAO,CAAC,+BAA+B;IAwCjC,QAAQ,CACZ,QAAQ,EAAE,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,GACnD,OAAO,CAAC,wBAAwB,CAAC,cAAc,CAAC,CAAC;CAsOrD"}
@@ -66,7 +66,7 @@ class ResourcesValidator {
66
66
  });
67
67
  return;
68
68
  }
69
- if (module.render === 'native' && this.isHtmlEntryFile(entryPath)) {
69
+ if (module.render === 'native' && !resource.package && this.isHtmlEntryFile(entryPath)) {
70
70
  validationErrors.push({
71
71
  message: text_1.errors.resources.invalidUiKitEntryFileType(displayEntryPath, moduleKey),
72
72
  reference: text_1.References.Resources,
@@ -112,7 +112,7 @@ class ResourcesValidator {
112
112
  return;
113
113
  }
114
114
  Object.entries(entryMap).forEach(([entryKey, entryPath]) => {
115
- if (resourceType === 'native' && this.isHtmlEntryFile(entryPath)) {
115
+ if (resourceType === 'native' && !resource.package && this.isHtmlEntryFile(entryPath)) {
116
116
  validationErrors.push({
117
117
  message: text_1.errors.resources.invalidUiKitResourceEntryFileType(resource.key, entryKey, entryPath),
118
118
  reference: text_1.References.Resources,
@@ -190,7 +190,7 @@ class ResourcesValidator {
190
190
  if (!fs_1.default.existsSync(resourcePathDir)) {
191
191
  return;
192
192
  }
193
- if (module.render === 'native') {
193
+ if (module.render === 'native' && !resource.package) {
194
194
  if (fs_1.default.lstatSync(resourcePathDir).isDirectory()) {
195
195
  validationErrors.push({
196
196
  message: text_1.errors.modules.wrongResourceType(resourcePath),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "13.2.0-next.6",
3
+ "version": "13.3.0-next.0",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {