orchestrix 16.0.1 → 16.0.3

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.
Files changed (2) hide show
  1. package/README.md +242 -0
  2. package/package.json +9 -1
package/README.md ADDED
@@ -0,0 +1,242 @@
1
+ # Orchestrix
2
+
3
+ **One command to install multi-agent AI infrastructure into any project.**
4
+
5
+ [English](#english) | [中文](#中文)
6
+
7
+ <p align="center">
8
+ <a href="https://www.npmjs.com/package/orchestrix"><img src="https://img.shields.io/npm/v/orchestrix.svg" alt="npm version"></a>
9
+ <a href="https://www.npmjs.com/package/orchestrix"><img src="https://img.shields.io/npm/dm/orchestrix.svg" alt="npm downloads"></a>
10
+ <a href="https://github.com/dorayo/orchestrix/blob/main/LICENSE"><img src="https://img.shields.io/npm/l/orchestrix.svg" alt="license"></a>
11
+ <a href="https://nodejs.org"><img src="https://img.shields.io/node/v/orchestrix.svg" alt="node version"></a>
12
+ </p>
13
+
14
+ ```bash
15
+ npx orchestrix install
16
+ ```
17
+
18
+ ---
19
+
20
+ <a id="english"></a>
21
+
22
+ ## English
23
+
24
+ ### What is Orchestrix?
25
+
26
+ Orchestrix is a multi-agent framework that turns your coding assistant into a coordinated team. One Developer, one Scrum Master, one QA Engineer, one Architect — each running in its own terminal, automatically handing off work to one another.
27
+
28
+ This CLI installs all the infrastructure needed to make that happen.
29
+
30
+ ### Quick Start
31
+
32
+ ```bash
33
+ cd your-project
34
+ npx orchestrix install
35
+ ```
36
+
37
+ You'll be prompted for your license key. Once done, open the project in [Claude Code](https://claude.ai/download) and type `/o dev` to activate your first agent.
38
+
39
+ ### What Gets Installed
40
+
41
+ ```
42
+ your-project/
43
+ ├── .claude/
44
+ │ ├── commands/
45
+ │ │ ├── o.md # /o dev, /o sm — activate agents
46
+ │ │ ├── o-help.md # /o-help — list agents
47
+ │ │ └── o-status.md # /o-status — check status
48
+ │ └── settings.local.json # Stop hook for HANDOFF detection
49
+ ├── .orchestrix-core/
50
+ │ ├── core-config.yaml # Project configuration
51
+ │ └── scripts/
52
+ │ ├── start-orchestrix.sh # tmux 4-agent launcher
53
+ │ └── handoff-detector.sh # Auto HANDOFF routing
54
+ ├── .mcp.json # MCP Server config (merged)
55
+ └── .env.local # License key (gitignored)
56
+ ```
57
+
58
+ ### Commands
59
+
60
+ ```bash
61
+ npx orchestrix install # Install into current project
62
+ npx orchestrix doctor # Health check
63
+ npx orchestrix upgrade # Upgrade to latest
64
+ npx orchestrix uninstall # Clean removal
65
+ ```
66
+
67
+ #### Install Options
68
+
69
+ | Flag | Description |
70
+ |------|-------------|
71
+ | `--key <KEY>` | Provide license key (skip prompt) |
72
+ | `--offline` | Use bundled files only, no network |
73
+ | `--force` | Overwrite all files |
74
+ | `--no-hooks` | Skip Claude Code Stop hook |
75
+ | `--no-scripts` | Skip tmux automation scripts |
76
+ | `--no-mcp` | Skip .mcp.json modification |
77
+
78
+ ### Agent Activation
79
+
80
+ After installation, use these commands in Claude Code:
81
+
82
+ ```
83
+ /o dev # Full Stack Developer
84
+ /o sm # Scrum Master
85
+ /o qa # QA Engineer
86
+ /o architect # Solution Architect
87
+ /o pm # Product Manager
88
+ /o po # Product Owner
89
+ /o analyst # Business Analyst
90
+ /o ux-expert # UX Expert
91
+ /o-help # Show all agents
92
+ ```
93
+
94
+ ### tmux Multi-Agent Automation
95
+
96
+ Run 4 agents in parallel with automatic work handoff:
97
+
98
+ ```bash
99
+ bash .orchestrix-core/scripts/start-orchestrix.sh
100
+ ```
101
+
102
+ This creates a tmux session with 4 windows:
103
+
104
+ | Window | Agent | Role |
105
+ |--------|-------|------|
106
+ | 0 | Architect | System design, tech decisions |
107
+ | 1 | SM | Story management, workflow coordination |
108
+ | 2 | Dev | Implementation, debugging |
109
+ | 3 | QA | Testing, quality verification |
110
+
111
+ When one agent finishes and issues a HANDOFF, the `handoff-detector.sh` hook automatically routes the command to the target agent's window.
112
+
113
+ ### Design Principles
114
+
115
+ - **Smart merge** — `.mcp.json` and `settings.local.json` are deep-merged. Your existing config is never lost.
116
+ - **Idempotent** — Run `install` as many times as you want. No duplicate hooks, no overwritten customizations.
117
+ - **Offline ready** — `--offline` installs from bundled files. Works behind firewalls.
118
+ - **Zero dependencies** — Pure Node.js built-ins. No `node_modules` bloat.
119
+
120
+ ### Related Projects
121
+
122
+ | Project | Description |
123
+ |---------|-------------|
124
+ | [Orchestrix MCP Server](https://github.com/dorayo/orchestrix-mcp-server) | Central server for agent definitions and configurations |
125
+ | [orchestrix-yuri](https://www.npmjs.com/package/orchestrix-yuri) | Meta-orchestrator — project lifecycle management with memory |
126
+ | [orchestrix-starter](https://github.com/dorayo/orchestrix-starter) | `/create-project` skill for scaffolding new projects |
127
+
128
+ ---
129
+
130
+ <a id="中文"></a>
131
+
132
+ ## 中文
133
+
134
+ ### Orchestrix 是什么?
135
+
136
+ Orchestrix 是一个多 Agent 协作框架,将你的编程助手变成一支协调有序的团队。一个 Developer、一个 Scrum Master、一个 QA Engineer、一个 Architect —— 各自运行在独立终端中,通过 HANDOFF 机制自动交接工作。
137
+
138
+ 本 CLI 工具一键安装所有基础设施。
139
+
140
+ ### 快速开始
141
+
142
+ ```bash
143
+ cd your-project
144
+ npx orchestrix install
145
+ ```
146
+
147
+ 按提示输入 License Key 即可完成安装。然后在 [Claude Code](https://claude.ai/download) 中打开项目,输入 `/o dev` 激活你的第一个 Agent。
148
+
149
+ ### 安装了哪些文件
150
+
151
+ ```
152
+ your-project/
153
+ ├── .claude/
154
+ │ ├── commands/
155
+ │ │ ├── o.md # /o dev, /o sm — 激活 Agent
156
+ │ │ ├── o-help.md # /o-help — 查看可用 Agent
157
+ │ │ └── o-status.md # /o-status — 查看状态
158
+ │ └── settings.local.json # Claude Code Stop Hook(HANDOFF 检测)
159
+ ├── .orchestrix-core/
160
+ │ ├── core-config.yaml # 项目配置
161
+ │ └── scripts/
162
+ │ ├── start-orchestrix.sh # tmux 四 Agent 启动器
163
+ │ └── handoff-detector.sh # HANDOFF 自动路由
164
+ ├── .mcp.json # MCP Server 配置(智能合并)
165
+ └── .env.local # License Key 存储(已 gitignore)
166
+ ```
167
+
168
+ ### 命令
169
+
170
+ ```bash
171
+ npx orchestrix install # 安装到当前项目
172
+ npx orchestrix doctor # 健康检查
173
+ npx orchestrix upgrade # 升级到最新版本
174
+ npx orchestrix uninstall # 卸载
175
+ ```
176
+
177
+ #### 安装选项
178
+
179
+ | 参数 | 说明 |
180
+ |------|------|
181
+ | `--key <KEY>` | 指定 License Key(跳过交互提示) |
182
+ | `--offline` | 离线模式,使用内置文件(不联网) |
183
+ | `--force` | 强制覆盖所有文件 |
184
+ | `--no-hooks` | 跳过 Claude Code Stop Hook |
185
+ | `--no-scripts` | 跳过 tmux 自动化脚本 |
186
+ | `--no-mcp` | 跳过 .mcp.json 修改 |
187
+
188
+ ### Agent 激活
189
+
190
+ 安装完成后,在 Claude Code 中使用:
191
+
192
+ ```
193
+ /o dev # 全栈开发工程师
194
+ /o sm # Scrum Master
195
+ /o qa # QA 测试工程师
196
+ /o architect # 系统架构师
197
+ /o pm # 产品经理
198
+ /o po # 产品负责人
199
+ /o analyst # 商业分析师
200
+ /o ux-expert # UX 设计专家
201
+ /o-help # 查看所有 Agent
202
+ ```
203
+
204
+ ### tmux 多 Agent 自动化
205
+
206
+ 四个 Agent 并行运行,自动交接工作:
207
+
208
+ ```bash
209
+ bash .orchestrix-core/scripts/start-orchestrix.sh
210
+ ```
211
+
212
+ 创建一个 tmux 会话,包含 4 个窗口:
213
+
214
+ | 窗口 | Agent | 职责 |
215
+ |------|-------|------|
216
+ | 0 | Architect | 系统设计、技术决策 |
217
+ | 1 | SM | Story 管理、工作流协调 |
218
+ | 2 | Dev | 编码实现、调试 |
219
+ | 3 | QA | 测试、质量验证 |
220
+
221
+ 当某个 Agent 完成工作并发出 HANDOFF 指令时,`handoff-detector.sh` 会自动将命令路由到目标 Agent 的窗口。
222
+
223
+ ### 设计理念
224
+
225
+ - **智能合并** — `.mcp.json` 和 `settings.local.json` 采用深度合并,已有配置永远不会丢失。
226
+ - **幂等安装** — 重复运行 `install` 完全安全,不会产生重复 Hook 或覆盖你定制过的配置。
227
+ - **离线就绪** — `--offline` 从内置文件安装,防火墙内也能用。
228
+ - **零依赖** — 纯 Node.js 内建模块,无 `node_modules` 膨胀。
229
+
230
+ ### 相关项目
231
+
232
+ | 项目 | 说明 |
233
+ |------|------|
234
+ | [Orchestrix MCP Server](https://github.com/dorayo/orchestrix-mcp-server) | Agent 定义和配置的中央服务器 |
235
+ | [orchestrix-yuri](https://www.npmjs.com/package/orchestrix-yuri) | 元编排器 — 带记忆的项目全生命周期管理 |
236
+ | [orchestrix-starter](https://github.com/dorayo/orchestrix-starter) | `/create-project` 技能,用于脚手架创建新项目 |
237
+
238
+ ---
239
+
240
+ ## License
241
+
242
+ MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orchestrix",
3
- "version": "16.0.1",
3
+ "version": "16.0.3",
4
4
  "description": "Install Orchestrix multi-agent infrastructure into any project. One command: npx orchestrix install",
5
5
  "bin": {
6
6
  "orchestrix": "bin/o8x.js"
@@ -24,6 +24,14 @@
24
24
  ],
25
25
  "author": "dorayo",
26
26
  "license": "MIT",
27
+ "repository": {
28
+ "type": "git",
29
+ "url": "git+https://github.com/dorayo/orchestrix.git"
30
+ },
31
+ "homepage": "https://github.com/dorayo/orchestrix#readme",
32
+ "bugs": {
33
+ "url": "https://github.com/dorayo/orchestrix/issues"
34
+ },
27
35
  "engines": {
28
36
  "node": ">=18.0.0"
29
37
  },