@morlay/sandbox-profile 0.0.2 → 0.0.4

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/README.md CHANGED
@@ -1,10 +1,12 @@
1
1
  # @morlay/sandbox-profile
2
2
 
3
- 可配置沙箱:禁官方 `sandbox` / `fs-sandbox` 两行、插入替换行,并在**同一个 bundle 里**给出访问规则的值。
3
+ 可配置沙箱与审批的运行时策略面:禁官方 `sandbox` / `fs-sandbox` 两行、插入替换行,并在**同一个 bundle 里**给出访问
4
+ 规则的值。替换行同时接管模型看到的运行时快照(`sandbox:policy` / `approval:policy`)。
4
5
 
5
- | 装什么 | 数据从哪来 |
6
- | ------------------------------- | ------------------------------------------------------------------------------- |
7
- | 禁官方两行 + 插 `sandbox-local` | [`@morlay/dsh-sandbox-local/rows`](../../sandbox/dsh-sandbox-local/src/rows.ts) |
8
- | `sandbox-local` 的 `access` 值 | 本包的 `tsdown.config.ts` |
6
+ | 装什么 | 数据从哪来 |
7
+ | -------------------------------------- | ------------------------------------------------------------------------------------ |
8
+ | `ui-primitives-fork`(共享 client 行) | 每个 client bundle 各插一次:同 id 重复插入是幂等的(Loader 复用同一 Entry,后者胜) |
9
+ | 禁官方两行 + 插 `sandbox-local` | [`@morlay/dsh-sandbox-local/rows`](../../sandbox/dsh-sandbox-local/src/rows.ts) |
10
+ | `sandbox-local` 的 `access` 值 | 本包的 `tsdown.config.ts` |
9
11
 
10
- 行的语义(`rw` / `r-` / `--`)在[能力包的 README](../../sandbox/dsh-sandbox-local/README.md)。
12
+ 行的语义(`rw` / `r-` / `--`)与两条运行时快照的接管在[能力包的 README](../../sandbox/dsh-sandbox-local/README.md)。
package/locale/en.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "meta": {
3
- "title": "Configurable Sandbox",
4
- "description": "Disables the official sandbox / fs-sandbox rows for a configurable implementation, with the access rules (rw / r- / --) as values."
3
+ "title": "Configurable Sandbox & Approval",
4
+ "description": "Disables the official sandbox / fs-sandbox rows for a configurable implementation, with the access rules (rw / r- / --) as values; the replacement row also owns the runtime-context snapshot (sandbox:policy / approval:policy)."
5
5
  }
6
6
  }
package/locale/zh.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "meta": {
3
- "title": "可配置沙箱",
4
- "description": "禁用官方 sandbox / fs-sandbox 两行并换成可配置实现,附访问规则(rw / r- / --)的值。"
3
+ "title": "可配置沙箱与审批",
4
+ "description": "禁用官方 sandbox / fs-sandbox 两行并换成可配置实现,附访问规则(rw / r- / --)的值,并让替换行接管运行时快照(sandbox:policy / approval:policy)。"
5
5
  }
6
6
  }
package/package.json CHANGED
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "name": "@morlay/sandbox-profile",
3
- "version": "0.0.2",
4
- "description": "可配置沙箱:禁用官方 sandbox / fs-sandbox 两行、插入替换行,并给出访问规则的值。",
5
- "icon": "./icon.svg",
3
+ "version": "0.0.4",
4
+ "description": "可配置沙箱与审批的运行时策略面:禁用官方 sandbox / fs-sandbox 两行、插入替换行、给出访问规则的值,由替换行接管运行时快照(sandbox:policy / approval:policy)。",
6
5
  "keywords": [
7
6
  "bundle-entry",
8
7
  "dsh",
@@ -29,8 +28,8 @@
29
28
  "./locale/*.json": "./locale/*.json"
30
29
  },
31
30
  "dependencies": {
32
- "@morlay/dsh-client-ui-primitives": "0.0.4",
33
- "@morlay/dsh-sandbox-local": "0.0.4"
31
+ "@morlay/dsh-client-ui-primitives": "0.0.6",
32
+ "@morlay/dsh-sandbox-local": "0.0.6"
34
33
  },
35
34
  "devDependencies": {
36
35
  "@local/devkit": "0.1.0"
@@ -38,6 +37,7 @@
38
37
  "peerDependencies": {
39
38
  "@deepseek-ai/cordis": "^4.0.4"
40
39
  },
40
+ "icon": "./icon.svg",
41
41
  "dsh": {
42
42
  "bundle": {
43
43
  "patch": "./cordis.patch.yml"