@morlay/sandbox-profile 0.0.4 → 0.0.5

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
@@ -3,10 +3,11 @@
3
3
  可配置沙箱与审批的运行时策略面:禁官方 `sandbox` / `fs-sandbox` 两行、插入替换行,并在**同一个 bundle 里**给出访问
4
4
  规则的值。替换行同时接管模型看到的运行时快照(`sandbox:policy` / `approval:policy`)。
5
5
 
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` |
6
+ | 装什么 | 数据从哪来 |
7
+ | ------------------------------- | ------------------------------------------------------------------------------- |
8
+ | 禁官方两行 + 插 `sandbox-local` | [`@morlay/dsh-sandbox-local/rows`](../../sandbox/dsh-sandbox-local/src/rows.ts) |
9
+ | `sandbox-local` 的 `access` 值 | 本包的 `tsdown.config.ts` |
10
+
11
+ 基础面(`@morlay/dsh-client-ui-primitives`)随用到它的 client 行内联,本包不插这一行。
11
12
 
12
13
  行的语义(`rw` / `r-` / `--`)与两条运行时快照的接管在[能力包的 README](../../sandbox/dsh-sandbox-local/README.md)。
package/cordis.patch.yml CHANGED
@@ -1,7 +1,4 @@
1
1
  # 本文件由 packages/bundles/sandbox-profile/tsdown.config.ts 生成,请勿手工编辑
2
- - insert:
3
- - id: ui-primitives-fork
4
- name: "@morlay/dsh-client-ui-primitives"
5
2
  - id: sandbox
6
3
  disabled: true
7
4
  - id: fs-sandbox
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@morlay/sandbox-profile",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "可配置沙箱与审批的运行时策略面:禁用官方 sandbox / fs-sandbox 两行、插入替换行、给出访问规则的值,由替换行接管运行时快照(sandbox:policy / approval:policy)。",
5
5
  "keywords": [
6
6
  "bundle-entry",
@@ -28,8 +28,7 @@
28
28
  "./locale/*.json": "./locale/*.json"
29
29
  },
30
30
  "dependencies": {
31
- "@morlay/dsh-client-ui-primitives": "0.0.6",
32
- "@morlay/dsh-sandbox-local": "0.0.6"
31
+ "@morlay/dsh-sandbox-local": "0.0.7"
33
32
  },
34
33
  "devDependencies": {
35
34
  "@local/devkit": "0.1.0"