claude-nexus 0.8.0 → 0.9.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.
@@ -7,7 +7,7 @@
7
7
  {
8
8
  "name": "claude-nexus",
9
9
  "description": "Agent orchestration plugin for Claude Code. Injects optimized context per agent role with minimal overhead.",
10
- "version": "0.7.0",
10
+ "version": "0.9.0",
11
11
  "author": {
12
12
  "name": "kih"
13
13
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-nexus",
3
- "version": "0.7.0",
3
+ "version": "0.9.0",
4
4
  "description": "Agent orchestration plugin for Claude Code — optimized context injection per role",
5
5
  "author": {
6
6
  "name": "kih"
package/README.md CHANGED
@@ -39,8 +39,8 @@ claude plugin install claude-nexus@nexus
39
39
 
40
40
  | 스킬 | 트리거 | 설명 |
41
41
  |------|--------|------|
42
- | **nx-consult** | `[consult]` 또는 "어떻게 하면 좋을까" | 4단계 상담(Explore→Clarify→Propose→Converge) — 실행 전 의도 파악 |
43
- | **nx-dev** | `[dev]` 또는 "계획 세워" | Team-driven, tasks.json 중심으로 계획 생성 nonstop 실행 |
42
+ | **nx-consult** | `[consult]` 또는 "어떻게 하면 좋을까" | 원칙 기반 상담 + [d] 자기강화 루프 — 실행 전 의도 파악 |
43
+ | **nx-dev** | `[dev]` / `[dev!]` | Sub/Team 자동 판단. Director가 태스크 소유, nonstop 실행 |
44
44
  | **nx-research** | `[research]` / `[research!]` | 리서치 팀(principal+postdoc+researcher) 구성 및 조사 실행 |
45
45
  | **nx-init** | `[init]` 또는 "온보딩" | 프로젝트를 Nexus에 온보드 - 기존 문서 스캔하여 지식 생성 |
46
46
  | **nx-setup** | `[setup]` 또는 "nexus 설정" | Nexus 대화형 설정 마법사 |
@@ -50,15 +50,14 @@ claude plugin install claude-nexus@nexus
50
50
 
51
51
  Claude가 직접 호출하는 도구입니다.
52
52
 
53
- ### Core (6개)
53
+ ### Core (5개)
54
54
 
55
55
  | 도구 | 용도 |
56
56
  |------|------|
57
57
  | `nx_knowledge_read/write` | 프로젝트 지식 관리 (git 추적) |
58
58
  | `nx_context` | 현재 세션 상태 조회 |
59
- | `nx_task_list/add/update` | tasks.json 기반 태스크 관리 |
59
+ | `nx_task_list/add/update/clear` | tasks.json 기반 태스크 관리 |
60
60
  | `nx_decision_add` | 아키텍처 결정 기록 |
61
- | `nx_plan_archive` | 완료된 계획 아카이브 |
62
61
 
63
62
  ### Code Intelligence (10개)
64
63
 
@@ -114,7 +113,10 @@ Gate 단일 모듈로 동작합니다 (v2에서 3개 → 1개로 통합).
114
113
 
115
114
  ```
116
115
  .nexus/
117
- ├── tasks.json 태스크 목록
118
- ├── decisions.json ← 아키텍처 결정 목록
119
- └── archives/ 아카이브된 계획 (NN-title.md)
116
+ ├── branches/ 브랜치별 격리
117
+ │ └── {branch}/
118
+ │ ├── tasks.json 태스크 목록
119
+ │ ├── decisions.json ← 아키텍처 결정 목록
120
+ │ └── reports/ ← 리서치 산출물
121
+ └── sync-state.json ← 마지막 sync 커밋
120
122
  ```
package/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.0
1
+ 0.9.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-nexus",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "type": "module",
5
5
  "description": "Agent orchestration plugin for Claude Code — optimized context injection per role",
6
6
  "author": "kih",
@@ -161,7 +161,7 @@ project-context.md:
161
161
 
162
162
  ## Nexus
163
163
  - 프로젝트 지식: `.claude/nexus/knowledge/` 참조
164
- - 아카이브: `.nexus/archives/` (로컬, 세션 독립)
164
+ - 런타임: `.nexus/branches/{branch}/` (로컬, 브랜치별 격리)
165
165
  - 원본 CLAUDE.md: `.claude/nexus/knowledge/original-claude-md.md`
166
166
  ```
167
167
 
@@ -88,55 +88,21 @@ chmod +x ~/.claude/hooks/nexus-statusline.sh
88
88
 
89
89
  ### Step 3: CLAUDE.md Nexus Section
90
90
 
91
- Generate the Nexus section in CLAUDE.md using `<!-- NEXUS:START -->` / `<!-- NEXUS:END -->` markers.
91
+ Write the Nexus section in CLAUDE.md using `<!-- NEXUS:START -->` / `<!-- NEXUS:END -->` markers.
92
92
 
93
93
  If a Nexus section already exists, replace the content between markers. Content outside the markers is preserved unchanged.
94
94
 
95
95
  Write location depends on scope selected in Step 1.
96
96
 
97
- Section content:
97
+ **Section content is NOT hardcoded here.** Read it dynamically at runtime:
98
98
 
99
- ```markdown
100
- <!-- NEXUS:START -->
101
- ## Nexus Agent Orchestration
99
+ 1. **Read `~/.claude/CLAUDE.md`** — extract content between `<!-- NEXUS:START -->` and `<!-- NEXUS:END -->` markers
100
+ 2. **If not found (first install):** Read the plugin's own CLAUDE.md from the cache directory:
101
+ - Glob `~/.claude/plugins/cache/nexus/claude-nexus/*/CLAUDE.md` → pick the latest version
102
+ - Extract the `<!-- NEXUS:START -->` to `<!-- NEXUS:END -->` section
103
+ 3. **If neither found:** Error — "Nexus 섹션 템플릿을 찾을 수 없습니다. 플러그인이 올바르게 설치되었는지 확인하세요."
102
104
 
103
- **Default: DELEGATE** route code work, analysis, and multi-file changes to agents.
104
-
105
- ### Agent Routing
106
-
107
- 병렬 작업이나 다른 관점이 필요할 때 에이전트를 활용하라.
108
-
109
- | Task | Agent |
110
- |------|-------|
111
- | Code implementation, edits | builder |
112
- | Architecture, design decisions, code review | architect |
113
- | Debugging, tracing issues | debugger |
114
- | Deep analysis, research | analyst |
115
- | Validation, testing, security review | guard |
116
-
117
- 단순 작업(파일 1-2개 읽기/수정)은 직접 처리하라.
118
-
119
- ### Skills
120
-
121
- | Skill | Trigger | Purpose |
122
- |-------|---------|---------|
123
- | nx-consult | [consult] | Interactive discovery — understand intent before executing |
124
- | nx-team | [team] | Team-driven planning with tasks.json, nonstop execution |
125
- | nx-sub | [sub] | Lightweight execution — Lead analyzes directly, spawns Builder subagents |
126
- | nx-init | /claude-nexus:nx-init | Onboard project — generate knowledge from existing docs |
127
- | nx-setup | /claude-nexus:nx-setup | Configure Nexus interactively |
128
- | nx-sync | /claude-nexus:nx-sync | Sync knowledge docs with source files |
129
-
130
- ### Tags
131
-
132
- | Tag | Purpose |
133
- |-----|---------|
134
- | [consult] | 상담 — 실행 전 의도 파악 |
135
- | [team] | team mode — 계획 생성 및 nonstop 실행 |
136
- | [sub] | 경량 실행 — Lead 직접 분석 + Builder direct spawn |
137
- | [d] | 결정 기록 (nx_decision_add 호출) |
138
- <!-- NEXUS:END -->
139
- ```
105
+ Write the extracted section to the target CLAUDE.md (respecting scope from Step 1).
140
106
 
141
107
  ### Step 4: OMC Conflict Detection
142
108
 
@@ -259,7 +225,7 @@ Skip 시: 다음 단계로.
259
225
  설정 완료 메시지 출력:
260
226
  - 적용된 설정 요약
261
227
  - 사용 가능한 스킬/에이전트 간략 소개
262
- - "시작하려면 작업을 말하거나 [consult]로 상담, [team]으로 실행, [sub]로 경량 실행하세요"
228
+ - "시작하려면 작업을 말하거나 [consult]로 상담, [dev] 개발, [research]로 리서치하세요"
263
229
 
264
230
  ## Key Principles
265
231