cc-safety-net 2.6.0 → 2.6.2

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.
@@ -2,7 +2,7 @@
2
2
  "id": "cc-safety-net",
3
3
  "name": "CC Safety Net",
4
4
  "description": "Block destructive commands and secret-file access before OpenClaw runs a tool.",
5
- "version": "2.6.0",
5
+ "version": "2.6.2",
6
6
  "activation": {
7
7
  "onStartup": true
8
8
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-safety-net",
3
- "version": "2.6.0",
3
+ "version": "2.6.2",
4
4
  "description": "Block destructive commands and secret-file access before OpenClaw runs a tool.",
5
5
  "type": "module",
6
6
  "openclaw": {
package/dist/pi/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import{Y,P,it,u}from"../chunks/index-wwg1vy7s.js";import{re}from"../chunks/index-5ht7pdm3.js";import{j,de,Se}from"../chunks/index-6r8xp8d7.js";import"../chunks/index-a00fdxyv.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()}
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-7r6br8vt.js";import"../chunks/index-tef36kbd.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.0",
3
+ "version": "2.6.2",
4
4
  "description": "A coding agent CLI hook - block destructive commands and secret file access",
5
5
  "keywords": [
6
6
  "amp",
@@ -60,6 +60,7 @@
60
60
  "scripts": {
61
61
  "audit:dependencies": "bun audit --ignore=GHSA-ch52-4w7c-c8xp",
62
62
  "build": "bun run clean && bun scripts/project-bun.ts scripts/build.ts",
63
+ "build:plugin": "bun scripts/project-bun.ts scripts/build-plugin-tree.ts",
63
64
  "build:types": "tsc --project tsconfig.build.json --emitDeclarationOnly --declaration",
64
65
  "verify:package": "bun run scripts/verify-package.ts",
65
66
  "verify:repository-plugin": "bun run scripts/verify-repository-plugin.ts",
@@ -78,10 +79,11 @@
78
79
  "test:e2e:live": "CC_SAFETY_NET_E2E_LIVE=1 bun test tests/e2e-live",
79
80
  "test:coverage": "AGENT=1 bun test tests --path-ignore-patterns 'tests/e2e-live/**' --coverage --coverage-reporter=text --coverage-reporter=lcov",
80
81
  "cc-safety-net": "bun run src/entries/bin.ts",
82
+ "gui:dev": "bun scripts/gui-dev.ts",
81
83
  "eval": "claude plugin eval . --ablation with-without --judge-model sonnet --allow-tools \"Bash(npx -y cc-safety-net:*)\" \"Bash(npx cc-safety-net:*)\"",
82
84
  "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"
85
+ "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",
86
+ "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
87
  },
86
88
  "devDependencies": {
87
89
  "@ampcode/plugin": "0.0.0-20260724002649-ga3413e7",
@@ -116,7 +118,7 @@
116
118
  "js-yaml": "^4.3.1",
117
119
  "picomatch@^2.3.1": "2.3.2",
118
120
  "picomatch@^4.0.1": "^4.0.5",
119
- "smol-toml": "^1.7.0",
121
+ "smol-toml": "^1.9.0",
120
122
  "yaml": "^2.9.0"
121
123
  },
122
124
  "engines": {
@@ -133,5 +135,5 @@
133
135
  "./dist/pi/index.js"
134
136
  ]
135
137
  },
136
- "gitHead": "3793a43e9b1cab3458622c95175103bcf48ef1c6"
138
+ "gitHead": "5ec6058f1fe26bd48a924d470710a73dc8d261e8"
137
139
  }