oh-my-customcode 0.86.1 → 0.87.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/cli/index.js
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -64,7 +64,7 @@ disableSkillShellExecution: true # Disable inline shell execution in skills (v2
|
|
|
64
64
|
|
|
65
65
|
> **Note**: When `disableSkillShellExecution` is enabled (v2.1.91+), skills that rely on inline shell execution (e.g., `codex-exec`, `gemini-exec`, `rtk-exec`) will have their shell blocks disabled. This is a security hardening option.
|
|
66
66
|
|
|
67
|
-
> **Note**: `isolation`, `background`, `maxTurns`, `maxTokens`, `mcpServers`, `hooks`, `permissionMode`, `disallowedTools`, `limitations` are supported in Claude Code v2.1.63+. Hook types `PostCompact`, `Elicitation`, `ElicitationResult` require v2.1.76+. `CwdChanged`, `FileChanged` hook events and `managed-settings.d/` drop-in directory require v2.1.83+. Conditional `if` field for hooks requires v2.1.85+. `PermissionDenied` hook event requires v2.1.88+. Monitor tool and subprocess sandboxing (`CLAUDE_CODE_SUBPROCESS_ENV_SCRUB`, `CLAUDE_CODE_SCRIPT_CAPS`) added in v2.1.98+. Settings resilience (unrecognized hook event names no longer cause settings.json to be ignored) improved in v2.1.101+.
|
|
67
|
+
> **Note**: `isolation`, `background`, `maxTurns`, `maxTokens`, `mcpServers`, `hooks`, `permissionMode`, `disallowedTools`, `limitations` are supported in Claude Code v2.1.63+. Hook types `PostCompact`, `Elicitation`, `ElicitationResult` require v2.1.76+. `CwdChanged`, `FileChanged` hook events and `managed-settings.d/` drop-in directory require v2.1.83+. Conditional `if` field for hooks requires v2.1.85+. `PermissionDenied` hook event requires v2.1.88+. Monitor tool and subprocess sandboxing (`CLAUDE_CODE_SUBPROCESS_ENV_SCRUB`, `CLAUDE_CODE_SCRIPT_CAPS`) added in v2.1.98+. Settings resilience (unrecognized hook event names no longer cause settings.json to be ignored) improved in v2.1.101+. PreCompact hook block support (exit 2 / `{"decision":"block"}`) added in v2.1.105+. Skill description listing cap raised from 250 to 1,536 characters in v2.1.105+. Plugin `monitors` manifest key for background monitors added in v2.1.105+.
|
|
68
68
|
|
|
69
69
|
## Hook Event Types
|
|
70
70
|
|
|
@@ -113,6 +113,16 @@ All supported hook event types in Claude Code. Agents and skills can reference t
|
|
|
113
113
|
|
|
114
114
|
The `defer` decision allows headless sessions to pause at a tool call for human review.
|
|
115
115
|
|
|
116
|
+
### PreCompact Hook Return Values
|
|
117
|
+
|
|
118
|
+
| Return | Behavior | CC Version |
|
|
119
|
+
|--------|----------|------------|
|
|
120
|
+
| `exit 0` | Allow compaction | All |
|
|
121
|
+
| `exit 2` + stderr | Block compaction with message | v2.1.105+ |
|
|
122
|
+
| `{"decision": "block"}` | Block compaction (JSON response) | v2.1.105+ |
|
|
123
|
+
|
|
124
|
+
PreCompact hooks can now prevent context compaction, useful for preserving critical context during multi-step workflows.
|
|
125
|
+
|
|
116
126
|
### Hook Matcher Syntax
|
|
117
127
|
|
|
118
128
|
```yaml
|
|
@@ -298,7 +308,7 @@ Default: `core` (when field is omitted)
|
|
|
298
308
|
|
|
299
309
|
### Context Fork Criteria
|
|
300
310
|
|
|
301
|
-
Use `context: fork` for multi-agent orchestration skills only. Cap: **12 total**. Current:
|
|
311
|
+
Use `context: fork` for multi-agent orchestration skills only. Cap: **12 total**. Current: 12/12 (secretary/dev-lead/de-lead/qa-lead-routing, dag-orchestration, task-decomposition, worker-reviewer-pipeline, pipeline-guards, deep-plan, professor-triage, evaluator-optimizer, sauron-watch).
|
|
302
312
|
|
|
303
313
|
<!-- DETAIL: Context Fork decision table
|
|
304
314
|
| Use context:fork | Do NOT use context:fork |
|
|
@@ -75,6 +75,10 @@ EnterWorktree(name: "feature-x")
|
|
|
75
75
|
# Creates .claude/worktrees/feature-x with a new branch based on HEAD
|
|
76
76
|
# Session working directory switches to the worktree
|
|
77
77
|
|
|
78
|
+
EnterWorktree(path: "/absolute/path/to/existing-worktree")
|
|
79
|
+
# Switches into an existing worktree of the current repository (v2.1.105+)
|
|
80
|
+
# No new branch is created — uses the worktree as-is
|
|
81
|
+
|
|
78
82
|
ExitWorktree()
|
|
79
83
|
# Returns to the main repository
|
|
80
84
|
# Prompts to keep or remove the worktree
|
package/templates/manifest.json
CHANGED