dsh-cc-permissions 0.3.0 → 0.4.0
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 +7 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# dsh-cc-permissions
|
|
2
2
|
|
|
3
|
+
> [!IMPORTANT]
|
|
4
|
+
> **Only upgrade to the `v0.3.x` line when upgrading DSH to `0.1.5-rc.2` or later.**
|
|
5
|
+
> It binds to the 0.1.5 host contracts (`snapshotEvents()` / `eventAt()`,
|
|
6
|
+
> `^0.1.5-rc.2` peer ranges) and **does not work on older DSH**. If your DSH is
|
|
7
|
+
> still `0.1.0-rc.7`–`0.1.1-rc.2`, **do not upgrade** — stay on `v0.2.x`.
|
|
8
|
+
> The two lines are mutually exclusive.
|
|
9
|
+
|
|
3
10
|
Enforce Claude Code permission rules in DSH.
|
|
4
11
|
|
|
5
12
|
Reads `.claude/settings.json` (user `~/.claude`, project, and `settings.local.json`)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-cc-permissions",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Enforce Claude Code permission rules (.claude/settings.json allow/deny/ask, deny>ask>allow) in DSH via a tools/pre-execute gate; CC allow rules auto-answer the approval/request seam (incl. sandbox escalation). Reads CC settings as a read-only source; DSH-side approvals never write back to .claude.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
],
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"dsh-cc-loader": "^0.
|
|
29
|
+
"dsh-cc-loader": "^0.3.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@deepseek-ai/cordis": "4.0.2",
|