oh-my-customcode 1.0.16 → 1.0.18

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
@@ -241,7 +241,7 @@ var init_package = __esm(() => {
241
241
  workspaces: [
242
242
  "packages/*"
243
243
  ],
244
- version: "1.0.16",
244
+ version: "1.0.18",
245
245
  description: "Batteries-included agent harness for Claude Code",
246
246
  type: "module",
247
247
  bin: {
package/dist/index.js CHANGED
@@ -2031,7 +2031,7 @@ var package_default = {
2031
2031
  workspaces: [
2032
2032
  "packages/*"
2033
2033
  ],
2034
- version: "1.0.16",
2034
+ version: "1.0.18",
2035
2035
  description: "Batteries-included agent harness for Claude Code",
2036
2036
  type: "module",
2037
2037
  bin: {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "workspaces": [
4
4
  "packages/*"
5
5
  ],
6
- "version": "1.0.16",
6
+ "version": "1.0.18",
7
7
  "description": "Batteries-included agent harness for Claude Code",
8
8
  "type": "module",
9
9
  "bin": {
@@ -20,6 +20,8 @@
20
20
 
21
21
  > **Shell output parsing — use Python, not read/grep (#1401 찐빠 #3)**: adb bounds rect, 좌표쌍, JSON 분할 등 구조화된 출력 파싱은 `read`+`grep -o` 파이프라인 대신 Python (`python3 -c "..."`) 을 사용한다. `read`+`grep -o` 조합은 공백 차이에 취약해 헛값을 산출한다. SSH 원격 `bash -c` 인자에 소괄호 포함 금지 — `ssh host "cmd; cmd2"` 형식 사용.
22
22
 
23
+ > **`ls | tail` 시계열 오판 (#1417)**: `ls`는 파일명을 알파벳/사전순으로 정렬하므로 `ls <dir> | tail`로 "가장 최근 파일"을 판단하면 오판한다(파일명 순서 ≠ mtime 순서). 시계열 최신 판단은 `ls -t`, `find <dir> -newermt <ts>`, 또는 stat/timestamp 기반 정렬을 명시한다. `tail`만으로 "최신" 단정 금지. Origin: #1417 (외부 통화녹음 진단 세션 — `ls TPhoneCallRecords | tail -6`이 알파벳순이라 최신을 6/18로 오판 → `find -newermt`로 6/19~20 파일 발견해 정정).
24
+
23
25
  ### Capability-Aware Tool Scheduling
24
26
 
25
27
  When dispatching parallel tool calls, consider per-tool capabilities to optimize scheduling:
@@ -193,6 +193,8 @@ Agent frontmatter `hooks:` now fire when the agent runs as a main-thread agent v
193
193
 
194
194
  > **v2.1.157+**: `settings.json` `agent` field is now honored for dispatched sessions (with `--agent <name>` override). `EnterWorktree` can switch between Claude-managed worktrees mid-session, and worktrees are left unlocked when the agent finishes (enabling `git worktree remove`/`prune` cleanup).
195
195
 
196
+ > **v2.1.191+**: Hooks with comma-separated matchers (e.g. `"Bash,PowerShell"`) now fire correctly — previously such matchers silently never fired. Relevant when authoring `.claude/hooks/` entries that target multiple tools in one matcher.
197
+
196
198
  ## Permission Mode Guidance
197
199
 
198
200
  CC defaults `mode` to `acceptEdits` if not specified — always pass `mode: "bypassPermissions"` explicitly in Agent tool calls (see R010). See guidance details via Read tool.
@@ -132,4 +132,6 @@ R007 헤더 누락은 외부 프로젝트 디버깅, SSH 진단, 배포 작업
132
132
 
133
133
  기술적 몰입 중 헤더 누락이 반복될 경우 즉시 re-anchor: 다음 응답에 `┌─ Agent:` 풀 헤더를 붙이고 이후 계속 유지한다.
134
134
 
135
- Reference issue: #1401.
135
+ 외부 프로젝트 진단 세션(예: #1417 통화녹음 수집 진단)에서 세션 전체에 걸쳐 헤더가 반복 누락되는 재발이 관측되었다 — 진단 몰입 중에도 매 응답 헤더를 고정한다.
136
+
137
+ Reference issues: #1401, #1417.
@@ -219,6 +219,7 @@ triage-dispatch.yml 실패 원인을 파일 Read 전에 "triaged 라벨 부재 +
219
219
  |------|------|
220
220
  | 로그/출력을 읽기 전 "error loop"·"무한 루프"로 특성화 | 대표 샘플을 먼저 읽고 INFO/WARN/ERROR 분포 확인 후 특성화 |
221
221
  | 첫 namespace/scope만 보고 전체 단정 | 관련 scope 확인 후 결론 |
222
+ | 정렬 기준 미검증 시계열 단정 (`ls\|tail`로 "최신") | 시계열 판단은 mtime/timestamp 정렬(`ls -t`/`find -newermt`) 명시 후 결론 — 파일명순 ≠ 시간순 (#1417) |
222
223
 
223
224
  Origin: #1266 ④.
224
225
 
@@ -329,6 +329,8 @@ Before spawning any agent:
329
329
 
330
330
  > **v2.1.187+**: Fixed subagent depth tracking — resumed subagents restore their original spawn depth, and forked subagents count toward the depth cap. Also fixed background jobs stuck in "working" indefinitely when an agent ended a turn without structured output, and leaked agent worktree registrations are now auto-cleaned. Reinforces the sole-orchestrator design's depth accounting (cf. v2.1.172 5-level nesting note). `mode: "bypassPermissions"` remains required.
331
331
 
332
+ > **v2.1.191+**: Stopping a background agent from the tasks panel is now PERMANENT — a stopped agent no longer resurrects after being stopped. Strengthens background-agent lifecycle control. `mode: "bypassPermissions"` on every Agent tool call remains required.
333
+
332
334
  ## Agent Capability Pre-Check
333
335
 
334
336
  Before delegating a task to a subagent, MUST verify the target agent's tool capabilities against the task requirements. Failure to pre-check causes round-trip waste (delegation → failure → re-delegation).
@@ -53,6 +53,8 @@ Use a `"*"` deny rule in `settings.json` to enforce a deny-by-default posture, t
53
53
 
54
54
  > **v2.1.187+**: Org-configured model restrictions now apply to the model picker, `--model`, `/model`, and `ANTHROPIC_MODEL`, surfacing a "restricted by your organization's settings" message for a restricted model. Extends the v2.1.175 `enforceAvailableModels` managed-setting scope to the model picker/env entry points. Also added the `sandbox.credentials` setting (blocks sandboxed reads of credential files/secret env) — cross-ref R001.
55
55
 
56
+ > **v2.1.191+**: Sandbox network permission dialog now REMEMBERS hosts allowed with "Yes" for the rest of the session (no per-connection re-prompt). Also: `/permissions` Recently-denied tab now PERSISTS an approved denial on close (previously discarded); managed `forceRemoteSettingsRefresh` now takes effect via MDM/file policy with `Cache-Control: no-cache`; MCP capability discovery (`tools/list`/`prompts/list`/`resources/list`) and OAuth token requests now retry transient network errors with backoff (headless skips the browser popup). Relevant to Tier-4/Tier-6 (sandbox network + MCP) permission flows.
57
+
56
58
  ## Agent Tool Permission Mode
57
59
 
58
60
  When spawning subagents via the Agent tool, always pass `mode: "bypassPermissions"` explicitly. The Agent tool's default mode is `acceptEdits`, which **overrides** the agent frontmatter `permissionMode` field.
@@ -100,6 +100,8 @@ Cross-reference: R010 Subagent Scope-Creep STOP Protocol, R002 (permission tiers
100
100
 
101
101
  > **v2.1.187+**: Added the `sandbox.credentials` setting — blocks sandboxed commands from reading credential files and secret environment variables. Platform-level complement to this section's credential guardrails (the model still never echoes secret values; CC now also blocks sandboxed reads of credential files/secret env at the platform level) — defense-in-depth.
102
102
 
103
+ > **v2.1.191+**: Sandbox network permission "Yes" approvals are remembered per-session (cf. R002). Reduces re-prompts but means an allowed host stays allowed for the session — scope network allows deliberately.
104
+
103
105
  ## Required Before Destructive Operations
104
106
 
105
107
  Verify target, assess impact scope, check recoverability, get user approval.
@@ -172,4 +172,6 @@ R007 헤더와 마찬가지로, R008 prefix 누락도 외부 프로젝트 디버
172
172
  | 외부 프로젝트 디버깅 | **동일하게 필수** |
173
173
  | SSH / 배포 / 인프라 작업 | **동일하게 필수** |
174
174
 
175
- Reference issue: #1401.
175
+ 외부 프로젝트 진단 세션(#1417)에서 Bash/Edit/Read/Agent 모든 호출에 `[agent][model] → Tool:` prefix가 세션 전체 누락된 재발이 관측되었다 — 도구 호출 직전 prefix 부착을 워크플로에 내재화한다.
176
+
177
+ Reference issues: #1401, #1417.
@@ -19,6 +19,8 @@ effort: low
19
19
  - **NDCG@10 = 0.854**: transformer 모델 수준 정확도를 CPU 인덱싱 (~250ms), 쿼리 (~1.5ms)로 달성
20
20
  - **R013 ecomode 보완**: context 사용량 ≥ 60% 시점에 Semble 호출로 추가 파일 읽기 비용 절감
21
21
 
22
+ > **정확도 축 caveat (#1349 검증):** `98% 토큰 절감`과 `NDCG@10=0.854`는 upstream(MinishLab) 벤더 벤치마크이지 본 프로젝트 자체 측정값이 아니다. grep+Read 대비 우위는 **토큰 비용 축 한정**이며, `NDCG@10=0.854`는 transformer-상대 retrieval 품질 지표로 **grep과의 정확도 비교가 아니다**. 연구(arxiv 2605.15184, scout #1346)는 정확 심볼/식별자 lookup 등에서 grep이 vector 검색보다 일반적으로 정확도가 높다(하니스 의존적)고 보고한다. 따라서 Semble은 **의미 검색 + 토큰 절감**에 사용하고, 정확 심볼 lookup은 grep을 우선한다.
23
+
22
24
  ## CRG와의 보완 관계
23
25
 
24
26
  Semble과 CRG는 서로 다른 검색 축을 담당하며 상호 보완적이다.
@@ -147,7 +149,7 @@ R013 ecomode가 자동 활성화되는 시점 (context 사용량 ≥ 60%)에서
147
149
 
148
150
  | 기존 방식 | Semble 대체 가능 여부 |
149
151
  |----------|---------------------|
150
- | grep + Read 조합의 패턴 검색 | 대체 권장 (98% 토큰 절감) |
152
+ | grep + Read 조합의 패턴/의미 검색 | 대체 권장 (98% 토큰 절감) — 비용 축 한정; 정확 심볼 lookup은 grep 우위 |
151
153
 
152
154
  ## 트러블슈팅
153
155
 
@@ -242,7 +242,7 @@ Claude Code의 Agent Teams 기능이 활성화되어 있으면 (`CLAUDE_CODE_EXP
242
242
  | 서버 | 용도 |
243
243
  |------|------|
244
244
  | code-review-graph | Token-efficient AST 기반 context retrieval (8.2× 토큰 절감) — wrapper: `crg-integration` 스킬 (#1171) |
245
- | semble | Semantic code search via embeddings (98% 토큰 절감, NDCG@10=0.854) — wrapper: `semble-integration` 스킬 (#1173) |
245
+ | semble | Semantic code search via embeddings (98% 토큰 절감, NDCG@10=0.854 — 수치는 벤더 벤치마크; grep 대비 우위는 토큰비용 축, 정확 lookup은 grep 우위 #1349) — wrapper: `semble-integration` 스킬 (#1173) |
246
246
  | aws-mcp | AWS 서비스 인증 접근 — call_aws(15,000+ API 실행), search_documentation/read_documentation(실시간 AWS 문서), run_script(샌드박스). 고특권 실행은 infra-aws-expert 위임 + R010/R001 특권경계 |
247
247
 
248
248
  ### 설치 명령어
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "1.0.16",
3
- "lastUpdated": "2026-05-20T00:00:00.000Z",
2
+ "version": "1.0.18",
3
+ "lastUpdated": "2026-06-26T00:00:00.000Z",
4
4
  "omcustomMinClaudeCode": "2.1.121",
5
5
  "omcustomMinClaudeCodeReason": "Sensitive-path direct Write/Edit on .claude/** under bypassPermissions (R010 deprecation, #1101)",
6
6
  "components": [