openmatrix 0.1.9 → 0.1.10

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/README.md CHANGED
@@ -358,6 +358,23 @@ Accept 阶段由 Reviewer Agent 执行:
358
358
 
359
359
  ---
360
360
 
361
+ ## 多语言支持
362
+
363
+ OpenMatrix 通过 Claude Code Agent 工具**原生支持所有主流编程语言**:
364
+
365
+ | 语言 | 测试命令 | 构建命令 |
366
+ |------|---------|---------|
367
+ | TypeScript/JavaScript | `npm test` / `vitest` | `npm run build` |
368
+ | Python | `pytest` | `python -m build` |
369
+ | Go | `go test ./...` | `go build` |
370
+ | Java | `mvn test` | `mvn compile` |
371
+ | Rust | `cargo test` | `cargo build` |
372
+ | 其他 | 任意 CLI 命令 | 任意 CLI 命令 |
373
+
374
+ **无需额外配置** — Agent 可执行任意 shell 命令,Claude 理解所有主流语言。
375
+
376
+ ---
377
+
361
378
  ## 常见问题
362
379
 
363
380
  ### Q: 哪种质量级别适合我?
@@ -414,9 +431,8 @@ cd openmatrix && npm install && npm run build && npm test
414
431
  - [x] 质量报告
415
432
  - [x] AI 验收
416
433
  - [x] `/om:auto` 全自动模式
417
- - [x] Meeting 自动处理
434
+ - [x] 多语言支持 (Python/Go/Java/TypeScript 等)
418
435
  - [ ] VSCode 扩展
419
- - [ ] Python/Go 支持
420
436
  - [ ] CI/CD 集成
421
437
 
422
438
  ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openmatrix",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "AI Agent task orchestration system with Claude Code Skills integration",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,212 +1,48 @@
1
1
  ---
2
2
  name: openmatrix-auto
3
- description: "Use this for ANY development task - especially complex multi-step tasks, implementing features, adding functionality, fixing bugs, building components, creating systems, modifying code, writing tests, reviewing code, or planning work. Auto-invokes /om:start to orchestrate the work."
3
+ description: "Use this for ANY development task - adding features, fixing bugs, refactoring code, creating systems, writing tests, or building components. Auto-invokes /om:start to orchestrate the work."
4
4
  ---
5
5
 
6
6
  <objective>
7
7
  Automatically detect when user wants to accomplish a development task and invoke /om:start without requiring explicit command.
8
8
  </objective>
9
9
 
10
- <note>
11
- ## After Auto-Invoke
12
-
13
- When `/om:start` is invoked, user will be asked to select:
14
- 1. **Quality level** (strict/balanced/fast)
15
- 2. **Execution mode** (每阶段确认/关键节点确认/全自动执行)
16
-
17
- **If user selects "全自动执行" (fully automatic)**:
18
- - All operations will be automatically approved (BYPASS mode)
19
- - No permission confirmations needed
20
- - Task will complete without interruption
21
- </note>
22
-
23
10
  <trigger-conditions>
24
11
  ## When to Auto-Invoke /om:start
25
12
 
26
- Invoke `/om:start` when the user's input indicates **intent to build, create, add, fix, test, review, or plan** something, OR when the task is **complex with multiple steps/requirements**.
27
-
28
- ### Complexity Triggers (Multi-task Scenarios)
29
-
30
- **Invoke when user describes:**
31
-
32
- | User Says | Why Trigger | Action |
33
- |-----------|-------------|--------|
34
- | "做个完整的用户系统" | Multi-component task | `/om:start 做个完整的用户系统` |
35
- | "重构整个项目结构" | Complex refactoring | `/om:start 重构整个项目结构` |
36
- | "从零搭建一个后台" | Multi-step project | `/om:start 从零搭建一个后台` |
37
- | "实现完整的 CRUD" | Multiple features | `/om:start 实现完整的 CRUD` |
38
- | "支持多种登录方式" | Multiple integrations | `/om:start 支持多种登录方式` |
39
- | "前端+后端+数据库" | Full-stack work | `/om:start 前端+后端+数据库` |
40
- | "A/B/C/D 都要实现" | Multiple requirements | `/om:start A/B/C/D 都要实现` |
41
- | "先把 A 做了,再做 B" | Sequential tasks | `/om:start 先把 A 做了,再做 B` |
42
-
43
- **Complexity indicators:**
44
- - Contains multiple features/components (`登录+注册+权限`)
45
- - Contains sequential steps (`先...再...然后...`)
46
- - Contains multiple requirements (`需要 A 和 B 和 C`)
47
- - Contains comprehensive scope (`完整...` / `整个...` / `全套...`)
48
- - Contains multiple technologies (`前端+后端` / `React+Node+Mongo`)
49
-
50
- ### Semantic Triggers (Intent-based)
51
-
52
- **Feature Development:**
53
-
54
- | User Says | Intent | Action |
55
- |-----------|--------|--------|
56
- | "项目支持 Python/Go/Java" | Add language support | `/om:start 项目支持 Python/Go/Java` |
57
- | "需要登录功能" | Need a feature | `/om:start 需要登录功能` |
58
- | "想做一个后台管理" | Want to build something | `/om:start 想做一个后台管理` |
59
- | "加个导出功能" | Add functionality | `/om:start 加个导出功能` |
60
- | "用户能上传文件" | Enable capability | `/om:start 用户能上传文件` |
61
- | "集成第三方支付" | Integrate something | `/om:start 集成第三方支付` |
62
- | "支持多语言" | Add support | `/om:start 支持多语言` |
63
- | "要有 API 文档" | Need documentation | `/om:start 要有 API 文档` |
64
-
65
- **Bug Fixes:**
66
-
67
- | User Says | Intent | Action |
68
- |-----------|--------|--------|
69
- | "有个 bug 需要修" | Fix bug | `/om:start 有个 bug 需要修` |
70
- | "登录报错了" | Fix error | `/om:start 登录报错了` |
71
- | "数据保存失败" | Fix issue | `/om:start 数据保存失败` |
72
- | "修复 XX 问题" | Fix problem | `/om:start 修复 XX 问题` |
73
-
74
- **Improvements:**
75
-
76
- | User Says | Intent | Action |
77
- |-----------|--------|--------|
78
- | "性能太慢了" | Improve performance | `/om:start 性能太慢了` |
79
- | "代码结构不好" | Refactor code | `/om:start 代码结构不好` |
80
- | "优化查询速度" | Optimize | `/om:start 优化查询速度` |
81
- | "重构 XX 模块" | Refactor | `/om:start 重构 XX 模块` |
82
-
83
- **Testing:**
84
-
85
- | User Says | Intent | Action |
86
- |-----------|--------|--------|
87
- | "写个测试用例" | Write tests | `/om:start 写个测试用例` |
88
- | "测试覆盖率不够" | Add tests | `/om:start 测试覆盖率不够` |
89
- | "需要单元测试" | Add unit tests | `/om:start 需要单元测试` |
90
-
91
- **Code Review:**
92
-
93
- | User Says | Intent | Action |
94
- |-----------|--------|--------|
95
- | "帮我 review 代码" | Review code | `/om:start 帮我 review 代码` |
96
- | "检查下代码质量" | Quality check | `/om:start 检查下代码质量` |
97
- | "代码规范检查" | Lint check | `/om:start 代码规范检查` |
98
-
99
- **Planning:**
100
-
101
- | User Says | Intent | Action |
102
- |-----------|--------|--------|
103
- | "设计一个系统架构" | Design architecture | `/om:start 设计一个系统架构` |
104
- | "规划下开发计划" | Plan development | `/om:start 规划下开发计划` |
105
- | "分析下技术方案" | Analyze solution | `/om:start 分析下技术方案` |
106
-
107
- ### Keyword Triggers (Pattern-based)
108
-
109
- **Chinese - Development:**
110
- - `实现...` / `添加...` / `新增...` / `创建...`
111
- - `开发...` / `构建...` / `编写...` / `设计...`
112
- - `集成...` / `部署...` / `发布...`
113
-
114
- **Chinese - Fixes:**
115
- - `修复...` / `解决...` / `处理...bug`
116
- - `报错...` / `出错...` / `失败...`
117
-
118
- **Chinese - Improvements:**
119
- - `优化...` / `重构...` / `改进...` / `提升...`
120
- - `加速...` / `简化...` / `清理...`
121
-
122
- **Chinese - Testing:**
123
- - `测试...` / `写测试...` / `单元测试...`
124
- - `覆盖率...` / `集成测试...`
125
-
126
- **Chinese - Intent Markers:**
127
- - `支持...` / `需要...` / `想要...` / `要做...`
128
- - `有...` / `缺少...` / `没有...`
129
-
130
- **English:**
131
- - `implement...` / `add...` / `create...` / `build...`
132
- - `fix...` / `bug...` / `issue...` / `error...`
133
- - `refactor...` / `optimize...` / `improve...`
134
- - `develop...` / `integrate...` / `support...` / `need...`
135
- - `test...` / `write test...` / `coverage...`
136
- - `want to...` / `would like...` / `should have...`
137
-
138
- ### File Path Triggers
139
- - Input ends with `.md` (treated as task document)
140
- - Input is a path to a code file with context (e.g., "review src/auth.ts")
13
+ **Invoke `/om:start` when user wants to:**
14
+ - Add/create/implement new features or functionality
15
+ - Fix bugs or resolve issues
16
+ - Refactor or optimize existing code
17
+ - Write tests
18
+ - Build components or systems
19
+ - Integrate third-party services
20
+
21
+ **This includes:**
22
+ - Direct requests: "实现登录功能" / "增加一个命令" / "修复bug"
23
+ - Complex tasks: "做个完整的用户系统" / "从零搭建后台"
24
+ - Multi-step work: "先做A再做B" / "前端+后端+数据库"
141
25
  </trigger-conditions>
142
26
 
143
27
  <exclusions>
144
28
  ## When NOT to Auto-Invoke
145
29
 
146
- Do NOT invoke when the user is:
147
-
148
- - **Asking questions**: "如何..." / "怎么..." / "什么是..." / "为什么..."
149
- - **Requesting info**: "显示..." / "列出..." / "查看..." / "读取..."
150
- - **Navigating**: "打开..." / "进入..." / "跳转..."
151
- - **Chatting**: "你好" / "谢谢" / "好的" / "明白了"
152
- - **Using explicit commands**: `/om:*`, `/gsd:*`, `/superpowers:*`
153
- - **Simple file operations**: "读取文件 X", "打开文件夹"
154
-
155
- **Key distinction:**
30
+ **Do NOT invoke when:**
31
+ - User is asking a question: "怎么实现?" / "如何配置?" / "what is..."
32
+ - User is requesting information: "显示配置" / "列出文件" / "show me..."
33
+ - User is navigating: "打开目录" / "进入文件夹"
34
+ - User is just chatting: "你好" / "谢谢"
156
35
 
157
- | Input | Type | Action |
158
- |-------|------|--------|
159
- | "项目支持 Python" | Intent to ADD | ✅ Invoke |
160
- | "这个项目支持 Python 吗?" | Question | ❌ Don't invoke |
161
- | "写个测试" | Intent to CREATE | ✅ Invoke |
162
- | "测试怎么写?" | Question | ❌ Don't invoke |
163
- | "优化这个函数" | Intent to IMPROVE | ✅ Invoke |
164
- | "这个函数是做什么的?" | Question | ❌ Don't invoke |
36
+ **Key test: Is the user asking you to BUILD/CREATE/FIX something?**
37
+ - Yes → Invoke `/om:start`
38
+ - No (asking for info) Do NOT invoke
165
39
  </exclusions>
166
40
 
167
41
  <examples>
168
- ## Examples
169
-
170
- **Simple Tasks (Invoke):**
171
-
172
42
  | User Input | Action |
173
43
  |------------|--------|
44
+ | `增加一个 om:upgrade 命令` | → `/om:start 增加一个 om:upgrade 命令` |
174
45
  | `实现用户登录功能` | → `/om:start 实现用户登录功能` |
175
- | `需要加个导出功能` | → `/om:start 需要加个导出功能` |
176
46
  | `登录页面报错了` | → `/om:start 登录页面报错了` |
177
- | `写个单元测试` | → `/om:start 写个单元测试` |
178
-
179
- **Complex Tasks (Invoke - High Priority):**
180
-
181
- | User Input | Why |
182
- |------------|-----|
183
- | `做个完整的用户系统,包含注册登录权限管理` | Multi-component |
184
- | `从零搭建一个管理后台` | Multi-step project |
185
- | `重构整个项目结构` | Complex refactoring |
186
- | `前端用 React,后端用 Node,数据库用 MongoDB` | Full-stack work |
187
- | `先做登录,再做权限,最后做日志` | Sequential tasks |
188
- | `支持微信、支付宝、银行卡三种支付` | Multiple integrations |
189
-
190
- **Questions (Don't Invoke):**
191
-
192
- | User Input | Why |
193
- |------------|-----|
194
- | `这个项目支持 Python 吗?` | Question |
195
- | `怎么实现登录?` | Question |
196
- | `show me the config` | Info request |
197
- | `如何配置数据库?` | Question |
198
-
199
- **Simple Operations (Don't Invoke):**
200
-
201
- | User Input | Why |
202
- |------------|-----|
203
- | `读取 package.json` | Simple file read |
204
- | `列出所有文件` | Simple operation |
205
- | `打开 src 目录` | Navigation |
206
- </examples>
207
-
208
- <process>
209
- 1. Detect user intent from input
210
- 2. If intent matches trigger conditions → invoke `/om:start` with full user input
211
- 3. If unclear or is a question → do NOT invoke, respond normally
212
- </process>
47
+ | `怎么实现登录?` | → No invoke (question) |
48
+ </examples>