You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: assets/manifest.schema.json
+25-1
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,8 @@
59
59
"type": "string"
60
60
}
61
61
},
62
-
"required": ["name"]
62
+
"required": ["name"],
63
+
"additionalProperties": false
63
64
}
64
65
},
65
66
"legacyIds": {
@@ -92,6 +93,29 @@
92
93
"entrypoint": {
93
94
"type": "string",
94
95
"description": "Entrypoint to pass to the runtime. eg index.js"
96
+
},
97
+
"permissions": {
98
+
"type": "object",
99
+
"description": "Permissions required by the module. This is used to inform the user of the permissions required by the module.\nNote: this requires the node22 or newer runtime",
100
+
"properties": {
101
+
"worker-threads": {
102
+
"type": "boolean",
103
+
"description": "Enable if the module uses worker threads"
104
+
},
105
+
"child-process": {
106
+
"type": "boolean",
107
+
"description": "Enable if the module uses child processes"
108
+
},
109
+
"native-addons": {
110
+
"type": "boolean",
111
+
"description": "Enable if the module uses native addons"
112
+
},
113
+
"filesystem": {
114
+
"type": "boolean",
115
+
"description": "Enable if the module requires read/write access to the filesystem"
0 commit comments