Skip to content

sandbox-profile

Verified

@morlay/sandbox-profile · v0.0.9 · MIT

可配置沙箱与审批的运行时策略面:禁用官方 sandbox / fs-sandbox 两行、插入替换行、给出访问规则的值,由替换行接管运行时快照(sandbox:policy / approval:policy)。

Install

dsh plugin add @morlay/sandbox-profile

Confirm the layer applied with dsh --profile default --dump-config — see the install guide.

Source

Published to npm without a public repository. Inspect the package contents before installing.

Tags

Readme

@morlay/sandbox-profile

NPM Version NPM Downloads NPM Downloads (18 months)

可配置沙箱与审批的运行时策略面:禁官方 sandbox / fs-sandbox 两行、插入替换行,并在同一个 bundle 里给出访问 规则的值。替换行同时接管模型看到的运行时快照(sandbox:policy / approval:policy)。

装什么 数据从哪来
禁官方两行 + 插 sandbox-local @morlay/dsh-sandbox-local/rows
sandbox-local 的 access 值 本包的 tsdown.config.ts

基础面(@morlay/dsh-client-ui-primitives)随用到它的 client 行内联,本包不插这一行。

行的语义(rw / r- / --)与两条运行时快照的接管在能力包的 README。