cc-safety-net 2.6.0 → 2.6.1
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/dist/amp/cc-safety-net/index.ts +46 -44
- package/dist/api.js +1 -1
- package/dist/bin/hook.js +45 -43
- package/dist/chunks/{index-a00fdxyv.js → index-k4yfpsk1.js} +3 -3
- package/dist/chunks/index-mqmy0cce.js +49 -0
- package/dist/chunks/{index-6r8xp8d7.js → index-tyab2dd4.js} +1 -1
- package/dist/cli.js +3752 -3953
- package/dist/deepseek-harness/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/openclaw/cc-safety-net/index.js +44 -42
- package/dist/openclaw/cc-safety-net/openclaw.plugin.json +1 -1
- package/dist/openclaw/cc-safety-net/package.json +1 -1
- package/dist/pi/index.js +1 -1
- package/package.json +6 -5
- package/dist/chunks/index-wwg1vy7s.js +0 -47
package/dist/pi/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Y,P,it,u}from"../chunks/index-
|
|
1
|
+
import{Y,P,it,u}from"../chunks/index-mqmy0cce.js";import{re}from"../chunks/index-5ht7pdm3.js";import{j,de,Se}from"../chunks/index-tyab2dd4.js";import"../chunks/index-k4yfpsk1.js";var m="cc-safety-net",C="Operate CC Safety Net: explain blocks, rules, integrations, diagnostics",p="Help me with CC Safety Net.";function s(o){o.registerCommand(m,{description:C,handler:async(n,t)=>{o.sendUserMessage(c(n),t.isIdle()?void 0:{deliverAs:"followUp"})}})}function c(o){return`${re.slice(re.indexOf("# CC Safety Net")).trimEnd()}
|
|
2
2
|
|
|
3
3
|
## User request
|
|
4
4
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cc-safety-net",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.1",
|
|
4
4
|
"description": "A coding agent CLI hook - block destructive commands and secret file access",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"amp",
|
|
@@ -78,10 +78,11 @@
|
|
|
78
78
|
"test:e2e:live": "CC_SAFETY_NET_E2E_LIVE=1 bun test tests/e2e-live",
|
|
79
79
|
"test:coverage": "AGENT=1 bun test tests --path-ignore-patterns 'tests/e2e-live/**' --coverage --coverage-reporter=text --coverage-reporter=lcov",
|
|
80
80
|
"cc-safety-net": "bun run src/entries/bin.ts",
|
|
81
|
+
"gui:dev": "bun scripts/gui-dev.ts",
|
|
81
82
|
"eval": "claude plugin eval . --ablation with-without --judge-model sonnet --allow-tools \"Bash(npx -y cc-safety-net:*)\" \"Bash(npx cc-safety-net:*)\"",
|
|
82
83
|
"lint:fix": "oxlint --fix src tests scripts knip.ts",
|
|
83
|
-
"format": "oxfmt src tests scripts knip.ts .oxfmtrc.json .oxlintrc.json package.json kimi.plugin.json tsconfig.json tsconfig.build.json tsconfig.gui.json .claude-plugin .codex-plugin assets/cc-safety-net.schema.json docs/residual-risk-registry.json hooks",
|
|
84
|
-
"format:check": "oxfmt --check src tests scripts knip.ts .oxfmtrc.json .oxlintrc.json package.json kimi.plugin.json tsconfig.json tsconfig.build.json tsconfig.gui.json .claude-plugin .codex-plugin assets/cc-safety-net.schema.json docs/residual-risk-registry.json hooks"
|
|
84
|
+
"format": "oxfmt src tests scripts knip.ts .oxfmtrc.json .oxlintrc.json package.json kimi.plugin.json tsconfig.json tsconfig.build.json tsconfig.gui.json .claude-plugin .codex-plugin .cursor-plugin assets/cc-safety-net.schema.json docs/residual-risk-registry.json hooks",
|
|
85
|
+
"format:check": "oxfmt --check src tests scripts knip.ts .oxfmtrc.json .oxlintrc.json package.json kimi.plugin.json tsconfig.json tsconfig.build.json tsconfig.gui.json .claude-plugin .codex-plugin .cursor-plugin assets/cc-safety-net.schema.json docs/residual-risk-registry.json hooks"
|
|
85
86
|
},
|
|
86
87
|
"devDependencies": {
|
|
87
88
|
"@ampcode/plugin": "0.0.0-20260724002649-ga3413e7",
|
|
@@ -116,7 +117,7 @@
|
|
|
116
117
|
"js-yaml": "^4.3.1",
|
|
117
118
|
"picomatch@^2.3.1": "2.3.2",
|
|
118
119
|
"picomatch@^4.0.1": "^4.0.5",
|
|
119
|
-
"smol-toml": "^1.
|
|
120
|
+
"smol-toml": "^1.9.0",
|
|
120
121
|
"yaml": "^2.9.0"
|
|
121
122
|
},
|
|
122
123
|
"engines": {
|
|
@@ -133,5 +134,5 @@
|
|
|
133
134
|
"./dist/pi/index.js"
|
|
134
135
|
]
|
|
135
136
|
},
|
|
136
|
-
"gitHead": "
|
|
137
|
+
"gitHead": "9c1af13ca623246b76470ee714b5cb90b92af71a"
|
|
137
138
|
}
|