oh-my-customcodex 0.4.5 → 0.4.7

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
@@ -3091,7 +3091,7 @@ var init_package = __esm(() => {
3091
3091
  workspaces: [
3092
3092
  "packages/*"
3093
3093
  ],
3094
- version: "0.4.5",
3094
+ version: "0.4.7",
3095
3095
  description: "Batteries-included agent harness on top of GPT Codex + OMX",
3096
3096
  type: "module",
3097
3097
  bin: {
package/dist/index.js CHANGED
@@ -2180,7 +2180,7 @@ var package_default = {
2180
2180
  workspaces: [
2181
2181
  "packages/*"
2182
2182
  ],
2183
- version: "0.4.5",
2183
+ version: "0.4.7",
2184
2184
  description: "Batteries-included agent harness on top of GPT Codex + OMX",
2185
2185
  type: "module",
2186
2186
  bin: {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "workspaces": [
4
4
  "packages/*"
5
5
  ],
6
- "version": "0.4.5",
6
+ "version": "0.4.7",
7
7
  "description": "Batteries-included agent harness on top of GPT Codex + OMX",
8
8
  "type": "module",
9
9
  "bin": {
@@ -29,6 +29,9 @@ Extended context suffix: `[1m]` (e.g., `claude-opus-4-6[1m]`) — enables 1M tok
29
29
 
30
30
  ### Optional Frontmatter
31
31
 
32
+ Key optional fields: `memory`, `effort`, `skills`, `soul`, `isolation`, `background`, `maxTurns`, `maxTokens`, `mcpServers`, `hooks`, `permissionMode`, `disallowedTools`, `limitations`, `domain`, `disableSkillShellExecution`. Supported since CC v2.1.63+. See full optional frontmatter via Read tool.
33
+
34
+ <!-- DETAIL: Optional Frontmatter (full yaml block)
32
35
  ```yaml
33
36
  memory: project # user | project | local
34
37
  effort: high # low | medium | high | xhigh | default | max
@@ -64,8 +67,7 @@ disableSkillShellExecution: true # Disable inline shell execution in skills (v2
64
67
  ```
65
68
 
66
69
  > **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.
67
-
68
- > **Note**: Optional frontmatter fields supported since CC v2.1.63+. Version-specific features listed in HTML comment below — access via Read tool.
70
+ -->
69
71
 
70
72
  <!-- DETAIL: CC Version Compatibility History
71
73
  `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+. `refreshInterval` setting for status line auto-refresh interval added in v2.1.97+. 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+. `ENABLE_PROMPT_CACHING_1H` and `FORCE_PROMPT_CACHING_5M` env vars for prompt cache TTL control added in v2.1.108+. Skill tool can now discover and invoke built-in slash commands (`/init`, `/review`, `/security-review`) in v2.1.108+. `/recap` session context feature and `/undo` alias for `/rewind` added in v2.1.108+. `/tui` command and `tui` setting for fullscreen rendering added in v2.1.110+. PushNotification tool for mobile push notifications (Remote Control + config required) added in v2.1.110+. `autoScrollEnabled` config for fullscreen mode added in v2.1.110+. SDK/headless `TRACEPARENT`/`TRACESTATE` distributed trace linking added in v2.1.110+. Bash tool maximum timeout enforcement added in v2.1.110+. Write tool IDE diff feedback (informs model when user edits proposed content) added in v2.1.110+. `--resume`/`--continue` now resurrects unexpired scheduled tasks in v2.1.110+. `/focus` command (separated from Ctrl+O) added in v2.1.110+. `xhigh` effort level for Opus 4.7 (between `high` and `max`; other models fall back to `high`) added in v2.1.111+. `/effort` interactive slider with arrow-key navigation (when called without arguments) added in v2.1.111+. Auto mode no longer requires `--enable-auto-mode` in v2.1.111+. PowerShell tool progressive rollout (`CLAUDE_CODE_USE_POWERSHELL_TOOL` env var) added in v2.1.111+. Read-only bash commands with glob patterns (`ls *.ts`) and `cd <project-dir> &&` prefix no longer trigger permission prompt in v2.1.111+. `/less-permission-prompts` built-in skill for permission allowlist scanning added in v2.1.111+. `/ultrareview` parallel multi-agent cloud code review added in v2.1.111+. `/skills` menu sorting by estimated token count (press `t`) added in v2.1.111+. `OTEL_LOG_RAW_API_BODIES` env var for full API request/response body logging added in v2.1.111+. Plan files named after prompt content (not random words) in v2.1.111+. Plugin error handling improvements (dependency conflict errors, stale version recovery, install recovery) in v2.1.111+.
@@ -155,11 +157,7 @@ hooks:
155
157
 
156
158
  ## Permission Mode Guidance
157
159
 
158
- When spawning agents via the Agent tool, CC applies a default `mode` of `acceptEdits` if not explicitly specified. To maintain consistent permission behavior:
159
-
160
- 1. **Agent frontmatter `permissionMode`**: Declares the agent's intended permission level. CC respects this when the agent is spawned via Agent tool.
161
- 2. **Agent tool `mode` parameter**: Overrides frontmatter at spawn time. Routing skills should pass this explicitly.
162
- 3. **Recommendation**: For agents that modify files, set `permissionMode: bypassPermissions` in frontmatter if the project uses `bypassPermissions` mode.
160
+ CC defaults `mode` to `acceptEdits` if not specified always pass `mode: "bypassPermissions"` explicitly in Agent tool calls when the session uses bypass permissions. See guidance details via Read tool.
163
161
 
164
162
  | Mode | Behavior |
165
163
  |------|----------|
@@ -170,6 +168,14 @@ When spawning agents via the Agent tool, CC applies a default `mode` of `acceptE
170
168
  | `dontAsk` | Non-interactive, deny unapproved |
171
169
  | `auto` | AI decides safety |
172
170
 
171
+ <!-- DETAIL: Permission Mode Guidance (reasoning)
172
+ When spawning agents via the Agent tool, CC applies a default `mode` of `acceptEdits` if not explicitly specified. To maintain consistent permission behavior:
173
+
174
+ 1. **Agent frontmatter `permissionMode`**: Declares the agent's intended permission level. CC respects this when the agent is spawned via Agent tool.
175
+ 2. **Agent tool `mode` parameter**: Overrides frontmatter at spawn time. Routing skills should pass this explicitly.
176
+ 3. **Recommendation**: For agents that modify files, set `permissionMode: bypassPermissions` in frontmatter if the project uses `bypassPermissions` mode.
177
+ -->
178
+
173
179
  <!-- DETAIL: Isolation/Token/Limitations/Escalation details
174
180
  ### Isolation Modes
175
181
 
@@ -241,6 +247,9 @@ Claude Code treats `.claude/` and `templates/.claude/` as sensitive directories
241
247
 
242
248
  This Codex port uses `.codex/` as the active runtime surface, but packaged compatibility templates still live under `templates/.claude/`. Any automation that writes those templates must account for Claude Code permission prompts.
243
249
 
250
+ **Key rule**: `.claude/` and `templates/.claude/` Bash/Write/Edit targets can trigger sensitive-path prompts regardless of allow rules. In unattended flows, delegated agents must produce artifact bodies in `/tmp/{skill}-{timestamp}.md` first and avoid direct `.claude/**` tool targets.
251
+
252
+ <!-- DETAIL: Sensitive Path Behavior table and Recommended practice
244
253
  | Path pattern | Sensitive in Claude Code? | Affected operations |
245
254
  |--------------|---------------------------|---------------------|
246
255
  | `.claude/**` | Yes | Bash writes, Write, Edit |
@@ -255,6 +264,7 @@ Recommended practice:
255
264
  3. Do not run unattended Claude Code release automation that writes `templates/.claude/**` unless the workflow can handle interactive approval.
256
265
  4. In this Codex port, update `.codex/...` source files and their `templates/.claude/...` mirrors deliberately instead of bulk-copying with shell commands.
257
266
  5. For unattended Claude compatibility-template writes, use a reviewed temporary script wrapper and verify the resulting diff; direct Bash/Write/Edit targets under `templates/.claude/**` can all trigger the sensitive-path guard.
267
+ -->
258
268
 
259
269
  Delegation prompt requirement:
260
270
 
@@ -282,6 +292,9 @@ Fast Mode uses the same model with faster output. Activated via `/fast` toggle o
282
292
  | Output speed | Standard | ~2.5x faster |
283
293
  | Reasoning depth | Full | Reduced |
284
294
 
295
+ See activation, effort interaction, and default effort change details via Read tool.
296
+
297
+ <!-- DETAIL: Fast Mode Activation, Effort Interaction, Default Effort Change
285
298
  ### Activation
286
299
 
287
300
  - `/fast` — toggle in current session
@@ -297,6 +310,7 @@ When Fast Mode is active, it reduces effective reasoning depth but does NOT over
297
310
  Starting with Claude Code v2.1.94, the default effort level changed from `medium` to `high` for API-key, Bedrock/Vertex/Foundry, Team, and Enterprise users. Console (free-tier) users retain `medium` as the default.
298
311
 
299
312
  This means agents WITHOUT an explicit `effort` field now run at `high` effort by default on paid tiers. To maintain previous behavior, set `effort: medium` explicitly in agent frontmatter.
313
+ -->
300
314
 
301
315
  ## Skill Frontmatter
302
316
 
@@ -311,6 +325,9 @@ description: Brief desc # One-line summary
311
325
 
312
326
  ### Optional Fields
313
327
 
328
+ Key optional fields: `scope`, `context`, `version`, `effort`, `model`, `agent`, `hooks`, `paths`, `shell`, `allowed-tools`, `keep-coding-instructions`. Skill `effort` takes precedence over agent `effort` when both specified. See full optional fields via Read tool.
329
+
330
+ <!-- DETAIL: Skill Optional Fields (full yaml block)
314
331
  ```yaml
315
332
  scope: core # core | harness | package (default: core)
316
333
  context: fork # Forked context for isolated execution
@@ -332,6 +349,7 @@ keep-coding-instructions: true # Preserve coding instructions in plugin outp
332
349
  ```
333
350
 
334
351
  When both an agent and its invoked skill specify `effort`, the skill's value takes precedence (more specific invocation-time setting).
352
+ -->
335
353
 
336
354
  <!-- DETAIL: Skill Effectiveness Tracking
337
355
  Skills can optionally track effectiveness metrics via auto-populated fields:
@@ -271,10 +271,14 @@ When spawning agents that may be blocked:
271
271
 
272
272
  ## Lifecycle
273
273
 
274
+ `TeamCreate → TaskCreate → Agent(spawn members) → SendMessage → TaskUpdate → ... → TeamDelete`. See full lifecycle via Read tool.
275
+
276
+ <!-- DETAIL: Lifecycle diagram
274
277
  ```
275
278
  TeamCreate → TaskCreate → Agent(spawn members) → SendMessage(coordinate)
276
279
  → TaskUpdate(progress) → ... → shutdown members → TeamDelete
277
280
  ```
281
+ -->
278
282
 
279
283
  ## Fallback
280
284
 
@@ -96,6 +96,9 @@ In that shape, read/search lanes may fan out in parallel, while the push lane re
96
96
 
97
97
  Runtime detection and splitting of stalled parallel agents. Complements pre-execution parallelization.
98
98
 
99
+ See detection signals, splitting rules, and example via Read tool.
100
+
101
+ <!-- DETAIL: Adaptive Parallel Splitting — Detection, Splitting Rules, Example
99
102
  ### Detection
100
103
 
101
104
  | Signal | Threshold | Action |
@@ -124,9 +127,13 @@ After (adaptive split):
124
127
  P4 ████████████████████████████████ (spawned immediately)
125
128
  P5 ████████████████████████████████ (spawned immediately)
126
129
  ```
130
+ -->
127
131
 
128
132
  ## Stability Testing Protocol
129
133
 
134
+ Soft default: 4 concurrent agents; hard cap: 5. Reduce to 4 if latency >2x, failure rate >10%, or context errors. See full protocol via Read tool.
135
+
136
+ <!-- DETAIL: Stability Testing Protocol
130
137
  When testing 5 concurrent agents (above the soft default of 4):
131
138
 
132
139
  | Observation | Threshold | Action |
@@ -136,6 +143,7 @@ When testing 5 concurrent agents (above the soft default of 4):
136
143
  | Context errors | Any | Reduce to 4 |
137
144
 
138
145
  5-agent concurrency is supported but should be monitored during initial adoption. Fall back to 4 if instability is observed.
146
+ -->
139
147
 
140
148
  ## Agent Tool Requirements
141
149
 
@@ -157,6 +165,9 @@ Single agent spawns do NOT use the `[N]` prefix.
157
165
 
158
166
  ## Narrative Announcement Format (Before Spawn)
159
167
 
168
+ Use markdown list format, not inline comma-separated text, for parallel dispatch announcements. See correct/incorrect examples via Read tool.
169
+
170
+ <!-- DETAIL: Narrative Announcement Format (Before Spawn)
160
171
  When announcing a parallel dispatch in prose text (not the Agent tool call itself), use a markdown list rather than inline comma-separated description:
161
172
 
162
173
  ### Correct
@@ -174,6 +185,7 @@ When announcing a parallel dispatch in prose text (not the Agent tool call itsel
174
185
  ```
175
186
 
176
187
  The list form mirrors the tool-call `[N]` prefix pattern and scales better to 3+ concurrent agents.
188
+ -->
177
189
 
178
190
  ## Result Aggregation
179
191
 
@@ -288,6 +288,9 @@ Save memory IMMEDIATELY upon surprising discovery — do not defer to session en
288
288
  | Subagent false-positive detected | Save `feedback_*.md` now | Prevent repeat in same session |
289
289
  | User correction / feedback | Save `feedback_*.md` now | Honor correction immediately |
290
290
 
291
+ See rationale and cross-references via Read tool.
292
+
293
+ <!-- DETAIL: Why Immediate? and Cross-reference
291
294
  ### Why Immediate?
292
295
 
293
296
  Session-end saves lose context: by the time the session ends, multiple discoveries have compounded and nuance is lost. Immediate saves preserve the exact trigger context that makes the memory actionable.
@@ -300,6 +303,7 @@ Related records from session v0.87.2~v0.88.0 (issue #869):
300
303
  - `feedback_subagent_pre_existing_claims.md`
301
304
  - `feedback_github_workflows_inventory.md`
302
305
  - `feedback_bun_mock_module.md`
306
+ -->
303
307
 
304
308
  ## Session-End Auto-Save
305
309
 
@@ -307,6 +311,9 @@ Related records from session v0.87.2~v0.88.0 (issue #869):
307
311
 
308
312
  Session-end detected when user says: "끝", "종료", "마무리", "done", "wrap up", "end session", or explicitly requests session save.
309
313
 
314
+ See flow diagram, responsibility split, and dual-system save table via Read tool.
315
+
316
+ <!-- DETAIL: Session-End Flow, Responsibility Split, Dual-System Save
310
317
  ### Flow
311
318
 
312
319
  ```
@@ -340,9 +347,13 @@ MCP tools (claude-mem, episodic-memory) are **orchestrator-scoped** and not inhe
340
347
  | Native auto-memory | sys-memory-keeper | Write | Update MEMORY.md with session learnings | Yes |
341
348
  | claude-mem | Orchestrator | `mcp__plugin_claude-mem_mcp-search__save_memory` | Save session summary with project, tasks, decisions | No (best-effort) |
342
349
  | episodic-memory | Automatic | (auto-indexed) | No action needed — conversations are indexed automatically after session ends | N/A |
350
+ -->
343
351
 
344
352
  ### Session-End Self-Check (MANDATORY)
345
353
 
354
+ (1) sys-memory-keeper updated MEMORY.md? (2) claude-mem save attempted? Both are required before confirming session-end to the user. See full self-check via Read tool.
355
+
356
+ <!-- DETAIL: Session-End Self-Check (MANDATORY)
346
357
  ```
347
358
  ╔══════════════════════════════════════════════════════════════════╗
348
359
  ║ BEFORE CONFIRMING SESSION-END TO USER: ║
@@ -363,6 +374,7 @@ MCP tools (claude-mem, episodic-memory) are **orchestrator-scoped** and not inhe
363
374
  ║ is NOT. ║
364
375
  ╚══════════════════════════════════════════════════════════════════╝
365
376
  ```
377
+ -->
366
378
 
367
379
  ### Failure Policy
368
380
 
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "0.4.5",
3
- "lastUpdated": "2026-04-27T02:00:00.000Z",
2
+ "version": "0.4.7",
3
+ "lastUpdated": "2026-04-27T04:55:00.000Z",
4
4
  "components": [
5
5
  {
6
6
  "name": "rules",