@morlay/sandbox-profile 0.0.6 → 0.0.7

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.
Files changed (2) hide show
  1. package/README.md +4 -0
  2. package/package.json +12 -5
package/README.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # @morlay/sandbox-profile
2
2
 
3
+ [![NPM Version](https://img.shields.io/npm/v/%2540morlay%252Fsandbox-profile)](https://www.npmjs.com/package/@morlay/sandbox-profile)
4
+ [![NPM Downloads](https://img.shields.io/npm/dw/%40morlay%2Fsandbox-profile)](https://www.npmjs.com/package/@morlay/sandbox-profile)
5
+ [![NPM Downloads (18 months)](https://img.shields.io/npm/d18m/%2540morlay%252Fsandbox-profile)](https://www.npmjs.com/package/@morlay/sandbox-profile)
6
+
3
7
  可配置沙箱与审批的运行时策略面:禁官方 `sandbox` / `fs-sandbox` 两行、插入替换行,并在**同一个 bundle 里**给出访问
4
8
  规则的值。替换行同时接管模型看到的运行时快照(`sandbox:policy` / `approval:policy`)。
5
9
 
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@morlay/sandbox-profile",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "可配置沙箱与审批的运行时策略面:禁用官方 sandbox / fs-sandbox 两行、插入替换行、给出访问规则的值,由替换行接管运行时快照(sandbox:policy / approval:policy)。",
5
5
  "keywords": [
6
6
  "bundle-entry",
7
7
  "dsh",
8
- "dsh-bundle"
8
+ "dsh-bundle",
9
+ "dsh-plugin"
9
10
  ],
10
11
  "license": "MIT",
11
12
  "repository": {
@@ -22,21 +23,27 @@
22
23
  ],
23
24
  "type": "module",
24
25
  "exports": {
25
- ".": "./dist/index.mjs",
26
+ ".": {
27
+ "types": "./dist/index.d.mts",
28
+ "default": "./dist/index.mjs"
29
+ },
26
30
  "./package.json": "./package.json",
27
31
  "./cordis.patch.yml": "./cordis.patch.yml",
28
32
  "./locale/*.json": "./locale/*.json"
29
33
  },
30
34
  "dependencies": {
31
- "@morlay/dsh-sandbox-local": "0.0.8"
35
+ "@morlay/dsh-sandbox-local": "0.0.9"
32
36
  },
33
37
  "devDependencies": {
34
38
  "@local/devkit": "0.1.0"
35
39
  },
36
40
  "peerDependencies": {
37
- "@deepseek-ai/cordis": "^4.0.4"
41
+ "@deepseek-ai/cordis": "^4.0.5-alpha.2"
38
42
  },
39
43
  "icon": "./icon.svg",
44
+ "engines": {
45
+ "dsh": ">= 0.2.1-alpha.5 < 0.2.2"
46
+ },
40
47
  "dsh": {
41
48
  "bundle": {
42
49
  "patch": "./cordis.patch.yml"