oh-my-customcode 0.125.0 → 0.126.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/dist/cli/index.js CHANGED
@@ -2334,7 +2334,7 @@ var init_package = __esm(() => {
2334
2334
  workspaces: [
2335
2335
  "packages/*"
2336
2336
  ],
2337
- version: "0.125.0",
2337
+ version: "0.126.0",
2338
2338
  description: "Batteries-included agent harness for Claude Code",
2339
2339
  type: "module",
2340
2340
  bin: {
@@ -2382,7 +2382,7 @@ var init_package = __esm(() => {
2382
2382
  yaml: "^2.8.2"
2383
2383
  },
2384
2384
  devDependencies: {
2385
- "@anthropic-ai/sdk": "^0.90.0",
2385
+ "@anthropic-ai/sdk": "^0.92.0",
2386
2386
  "@biomejs/biome": "^2.3.12",
2387
2387
  "@types/bun": "^1.3.6",
2388
2388
  "@types/js-yaml": "^4.0.9",
@@ -2413,6 +2413,8 @@ var init_package = __esm(() => {
2413
2413
  engines: {
2414
2414
  node: ">=18.0.0"
2415
2415
  },
2416
+ omcustomMinClaudeCode: "2.1.121",
2417
+ omcustomMinClaudeCodeReason: "Sensitive-path direct Write/Edit on .claude/** under bypassPermissions (R010 deprecation, #1101)",
2416
2418
  overrides: {
2417
2419
  rollup: "^4.59.0",
2418
2420
  esbuild: "^0.25.0"
package/dist/index.js CHANGED
@@ -2014,7 +2014,7 @@ var package_default = {
2014
2014
  workspaces: [
2015
2015
  "packages/*"
2016
2016
  ],
2017
- version: "0.125.0",
2017
+ version: "0.126.0",
2018
2018
  description: "Batteries-included agent harness for Claude Code",
2019
2019
  type: "module",
2020
2020
  bin: {
@@ -2062,7 +2062,7 @@ var package_default = {
2062
2062
  yaml: "^2.8.2"
2063
2063
  },
2064
2064
  devDependencies: {
2065
- "@anthropic-ai/sdk": "^0.90.0",
2065
+ "@anthropic-ai/sdk": "^0.92.0",
2066
2066
  "@biomejs/biome": "^2.3.12",
2067
2067
  "@types/bun": "^1.3.6",
2068
2068
  "@types/js-yaml": "^4.0.9",
@@ -2093,6 +2093,8 @@ var package_default = {
2093
2093
  engines: {
2094
2094
  node: ">=18.0.0"
2095
2095
  },
2096
+ omcustomMinClaudeCode: "2.1.121",
2097
+ omcustomMinClaudeCodeReason: "Sensitive-path direct Write/Edit on .claude/** under bypassPermissions (R010 deprecation, #1101)",
2096
2098
  overrides: {
2097
2099
  rollup: "^4.59.0",
2098
2100
  esbuild: "^0.25.0"
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "workspaces": [
4
4
  "packages/*"
5
5
  ],
6
- "version": "0.125.0",
6
+ "version": "0.126.0",
7
7
  "description": "Batteries-included agent harness for Claude Code",
8
8
  "type": "module",
9
9
  "bin": {
@@ -51,7 +51,7 @@
51
51
  "yaml": "^2.8.2"
52
52
  },
53
53
  "devDependencies": {
54
- "@anthropic-ai/sdk": "^0.90.0",
54
+ "@anthropic-ai/sdk": "^0.92.0",
55
55
  "@biomejs/biome": "^2.3.12",
56
56
  "@types/bun": "^1.3.6",
57
57
  "@types/js-yaml": "^4.0.9",
@@ -82,6 +82,8 @@
82
82
  "engines": {
83
83
  "node": ">=18.0.0"
84
84
  },
85
+ "omcustomMinClaudeCode": "2.1.121",
86
+ "omcustomMinClaudeCodeReason": "Sensitive-path direct Write/Edit on .claude/** under bypassPermissions (R010 deprecation, #1101)",
85
87
  "overrides": {
86
88
  "rollup": "^4.59.0",
87
89
  "esbuild": "^0.25.0"
@@ -244,9 +244,14 @@ Skills persist output to `.claude/outputs/sessions/{YYYY-MM-DD}/{skill-name}-{HH
244
244
 
245
245
  ### Sensitive Path Handling
246
246
 
247
- CC treats `.claude/` as a sensitive directory, enforced across **all tool categories** — Bash, Write, and Edit. The sensitive-path check runs **above** `bypassPermissions` and explicit allow rules (e.g., `Write(.claude/**)`), so operations on sensitive paths may trigger permission prompts regardless of settings.
247
+ > **Status (CC v2.1.121+)**: `.claude/`, `.git/`, `.vscode/` direct Write/Edit/Bash works without prompts under `mode: "bypassPermissions"`. The historical `/tmp/*.sh` bypass pattern is deprecated. See #1101.
248
248
 
249
- **Key rule**: `.claude/` Bash/Write/Edit triggers sensitive-path prompt regardless of allow rules. Only bypass: use `/tmp/*.sh` scripts via Bash. See full behavior table and recommended practice via Read tool.
249
+ Current CC behavior: under `bypassPermissions`, all `.claude/**` paths (including `.claude/outputs/**`, `.claude/agents/**`, `.claude/skills/**`, `.claude/rules/**`, `templates/.claude/**`) accept Write/Edit/Bash directly. Catastrophic shell operations remain blocked by independent safety guards.
250
+
251
+ **Recommended practice**:
252
+ 1. Pass `mode: "bypassPermissions"` on every Agent tool call (R010 Universal bypassPermissions)
253
+ 2. Use Write/Edit directly for `.claude/**` paths — no `/tmp/*.sh` wrapping needed
254
+ 3. For CC < v2.1.121: see git history of this section (pre-v0.126.0) for the legacy bypass pattern
250
255
 
251
256
  <!-- DETAIL: Sensitive Path Behavior table and Recommended practice
252
257
  #### Sensitive Path Behavior
@@ -257,44 +257,17 @@ Before spawning any agent:
257
257
  ```
258
258
 
259
259
 
260
- ## Universal /tmp Script Bypass for Sensitive Paths
261
-
262
- **ALL tool calls targeting `.claude/` MUST be routed through `/tmp/*.sh` script via Bash.**
263
-
264
- | Tool | `.claude/` target | Required pattern |
265
- |------|------------------|------------------|
266
- | Read | `.claude/*` | OK — Read tool is sensitive-path exempt |
267
- | Bash (read-only: sed, cat, wc, ls, grep, head, tail, find, file) | `.claude/*` | **/tmp/*.sh bypass required** — direct invocation triggers prompt |
268
- | Bash (write: mkdir, cp, mv, rm, redirect) | `.claude/*` | **/tmp/*.sh bypass required** |
269
- | Write | `.claude/*` | **/tmp/*.sh + Bash heredoc required** — Write tool itself triggers prompt |
270
- | Edit | `.claude/*` | **/tmp/*.sh + Bash sed -i required** — Edit tool itself triggers prompt |
271
-
272
- ### Pattern (mandatory)
273
-
274
- ```bash
275
- cat > /tmp/fix-topic.sh << 'OUTER'
276
- sed -i 's/old/new/' .claude/path/file # Edit equivalent
277
- cat > .claude/path/file << 'INNER' # Write equivalent
278
- ... content ...
279
- INNER
280
- sed '/<!--/,/-->/d' .claude/path/file | wc -c # measurement
281
- OUTER
282
- bash /tmp/fix-topic.sh
283
- ```
284
-
285
- ### Why
286
-
287
- CC sensitive-path check inspects tool-call **target paths** but does NOT audit script-internal file operations. Bypass works because Bash target = `/tmp/`, while internal commands access `.claude/`.
260
+ ## Sensitive Path Handling (Historical: pre-CC v2.1.121)
288
261
 
289
- ### Scope
262
+ > **Status**: Deprecated as of CC v2.1.121 (2026-04-28) and further relaxed in v2.1.126 (2026-05-01). Direct Write/Edit/Bash on `.claude/`, `.git/`, `.vscode/` works without prompts under `bypassPermissions` mode in CC v2.1.121+ (issue #1101).
290
263
 
291
- Universal applies to ALL subagents (not just fork skills). Applies to ALL `.claude/` paths regardless of subdirectory (`.claude/agents/`, `.claude/skills/`, `.claude/rules/`, `.claude/output-styles/`, `.claude/agent-memory/`, etc.).
264
+ Current CC versions (>=2.1.121): direct Write/Edit/Bash on `.claude/**` paths are permitted under `mode: "bypassPermissions"`. The `/tmp/*.sh` script wrapping pattern previously required is no longer necessary. Catastrophic operations (e.g., `rm -rf /`) remain blocked by independent safety guards.
292
265
 
293
- ### Failure mode
266
+ `mode: "bypassPermissions"` on every Agent tool call is still required (see "Universal bypassPermissions" above).
294
267
 
295
- Direct Write/Edit/Bash on `.claude/` triggers user approval prompt blocks unattended automation defeats `/pipeline auto-dev` and `/loop` workflows.
268
+ **For CC < v2.1.121 only**: see git history of this rule for the legacy `/tmp/*.sh` bypass pattern (commit before v0.126.0).
296
269
 
297
- > **Reference**: #1052, #1016 (origin), #1046 (directive loss in delegation chain)
270
+ > **References**: #1052 (origin v0.116.2), #1016 (v0.111.1), #1046 (delegation directive loss v0.116.1), #1099 (CC v2.1.126 tracking), #1101 (v0.126.0 deprecation).
298
271
 
299
272
  ## Session Continuity
300
273
 
@@ -18,9 +18,11 @@
18
18
  | Operation | Allowed | Prohibited |
19
19
  |-----------|---------|-----------|
20
20
  | Read | All source, configs, docs | - |
21
- | Write | Source code, new files in project | .env, .git/config, paths outside project |
21
+ | Write | Source code, new files in project, `.claude/**` (CC v2.1.121+ under `bypassPermissions`) | .env, .git/config, paths outside project |
22
22
  | Delete | Temp files created by agent | Existing files (without request), entire directories |
23
23
 
24
+ > **Sensitive paths note**: As of CC v2.1.121 (2026-04-28) and further relaxed in v2.1.126 (2026-05-01), `.claude/`, `.git/`, `.vscode/` are no longer prompted for Write/Edit/Bash under `mode: "bypassPermissions"`. The legacy `/tmp/*.sh` script bypass (R010 historical section) is deprecated for CC >= v2.1.121. Catastrophic operations (`rm -rf /`) remain blocked. See #1101.
25
+
24
26
  ## Permission Request Format
25
27
 
26
28
  ```
@@ -1,4 +1,5 @@
1
1
  <!-- omcustom:start -->
2
+ <!-- omcustomMinClaudeCode: 2.1.121 — sensitive-path direct Write under bypassPermissions (#1101) -->
2
3
  # AI 에이전트 시스템
3
4
 
4
5
  oh-my-customcode로 구동됩니다.
@@ -1,6 +1,8 @@
1
1
  {
2
- "version": "0.124.0",
2
+ "version": "0.126.0",
3
3
  "lastUpdated": "2026-04-24T07:30:00.000Z",
4
+ "omcustomMinClaudeCode": "2.1.121",
5
+ "omcustomMinClaudeCodeReason": "Sensitive-path direct Write/Edit on .claude/** under bypassPermissions (R010 deprecation, #1101)",
4
6
  "components": [
5
7
  {
6
8
  "name": "rules",