@ranger1/dx 0.1.18 → 0.1.19

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.
@@ -49,8 +49,8 @@ echo "opencode-openai-codex-auth:" && (grep -q 'opencode-openai-codex-auth' ~/.c
49
49
  echo "=== OMO_CONFIG ===";
50
50
  echo "sisyphus_agent:" && (grep -q '"sisyphus_agent"' ~/.config/opencode/oh-my-opencode.json 2>/dev/null && echo "CONFIGURED" || echo "NOT_CONFIGURED");
51
51
  echo "agents.sisyphus.variant:" && (node -e "const fs=require('node:fs');const os=require('node:os');const p=os.homedir()+'/.config/opencode/oh-my-opencode.json';try{const j=JSON.parse(fs.readFileSync(p,'utf8'));process.exit(j?.agents?.sisyphus?.variant==='none'?0:1)}catch(e){process.exit(1)}" 2>/dev/null && echo "CONFIGURED" || echo "NOT_CONFIGURED");
52
- echo "agents.quick:" && (grep -Eq '"agents"[[:space:]]*:' ~/.config/opencode/opencode.json 2>/dev/null && grep -Eq '"quick"[[:space:]]*:' ~/.config/opencode/opencode.json 2>/dev/null && echo "CONFIGURED" || echo "NOT_CONFIGURED");
53
- echo "agents.middle:" && (grep -Eq '"agents"[[:space:]]*:' ~/.config/opencode/opencode.json 2>/dev/null && grep -Eq '"middle"[[:space:]]*:' ~/.config/opencode/opencode.json 2>/dev/null && echo "CONFIGURED" || echo "NOT_CONFIGURED");
52
+ echo "agent.quick:" && (grep -Eq '"agent"[[:space:]]*:' ~/.config/opencode/opencode.json 2>/dev/null && grep -Eq '"quick"[[:space:]]*:' ~/.config/opencode/opencode.json 2>/dev/null && echo "CONFIGURED" || echo "NOT_CONFIGURED");
53
+ echo "agent.middle:" && (grep -Eq '"agent"[[:space:]]*:' ~/.config/opencode/opencode.json 2>/dev/null && grep -Eq '"middle"[[:space:]]*:' ~/.config/opencode/opencode.json 2>/dev/null && echo "CONFIGURED" || echo "NOT_CONFIGURED");
54
54
  ```
55
55
 
56
56
  ---
@@ -71,8 +71,8 @@ opencode-openai-codex-auth | <状态> | -
71
71
  agent-browser | <状态> | <版本>
72
72
  sisyphus_agent 配置 | <状态> | -
73
73
  agents.sisyphus.variant 配置 | <状态> | -
74
- agents.quick 配置 | <状态> | -
75
- agents.middle 配置 | <状态> | -
74
+ agent.quick 配置 | <状态> | -
75
+ agent.middle 配置 | <状态> | -
76
76
  ```
77
77
 
78
78
  ---
@@ -211,13 +211,13 @@ grep -q '"sisyphus_agent"' ~/.config/opencode/oh-my-opencode.json && echo "✅ s
211
211
  node -e "const fs=require('node:fs');const os=require('node:os');const p=os.homedir()+'/.config/opencode/oh-my-opencode.json';const j=JSON.parse(fs.readFileSync(p,'utf8'));console.log(j?.agents?.sisyphus?.variant||'MISSING');process.exit(j?.agents?.sisyphus?.variant==='none'?0:1)" && echo "✅ agents.sisyphus.variant=none" || echo "❌ agents.sisyphus.variant 不是 none"
212
212
  ```
213
213
 
214
- ### 3.8 opencode.json agents 配置缺失
214
+ ### 3.8 opencode.json agent 配置缺失
215
215
 
216
- 如果 `~/.config/opencode/opencode.json` 缺少 `agents.quick` 或 `agents.middle`,使用 Edit 工具添加:
216
+ 如果 `~/.config/opencode/opencode.json` 缺少 `agent.quick` 或 `agent.middle`,使用 Edit 工具添加:
217
217
 
218
218
  ```json
219
219
  {
220
- "agents": {
220
+ "agent": {
221
221
  "quick": {
222
222
  "model": "github-copilot/claude-haiku-4.5"
223
223
  },
@@ -231,11 +231,11 @@ node -e "const fs=require('node:fs');const os=require('node:os');const p=os.home
231
231
  验证配置:
232
232
 
233
233
  ```bash
234
- # 检查 agents.quick
235
- grep -Eq '"agents"[[:space:]]*:' ~/.config/opencode/opencode.json && grep -Eq '"quick"[[:space:]]*:' ~/.config/opencode/opencode.json && echo "✅ agents.quick 已配置" || echo "❌ agents.quick 缺失"
234
+ # 检查 agent.quick
235
+ grep -Eq '"agent"[[:space:]]*:' ~/.config/opencode/opencode.json && grep -Eq '"quick"[[:space:]]*:' ~/.config/opencode/opencode.json && echo "✅ agent.quick 已配置" || echo "❌ agent.quick 缺失"
236
236
 
237
- # 检查 agents.middle
238
- grep -Eq '"agents"[[:space:]]*:' ~/.config/opencode/opencode.json && grep -Eq '"middle"[[:space:]]*:' ~/.config/opencode/opencode.json && echo "✅ agents.middle 已配置" || echo "❌ agents.middle 缺失"
237
+ # 检查 agent.middle
238
+ grep -Eq '"agent"[[:space:]]*:' ~/.config/opencode/opencode.json && grep -Eq '"middle"[[:space:]]*:' ~/.config/opencode/opencode.json && echo "✅ agent.middle 已配置" || echo "❌ agent.middle 缺失"
239
239
  ```
240
240
 
241
241
  ---
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  allowed-tools: [Bash, Read, Glob, TodoWrite, Edit, Grep]
3
3
  description: 'Git 工作流:Issue/Commit/PR 自动化'
4
- agent: quick
4
+ agent: middle
5
5
  ---
6
6
 
7
7
  ## 用法
@@ -245,7 +245,7 @@ EOF
245
245
 
246
246
  ```
247
247
  💡 提示:运行以下命令启动自动评审
248
- /dx:pr-review-loop --pr <PR_NUMBER>
248
+ /pr-review-loop --pr <PR_NUMBER>
249
249
  ```
250
250
 
251
251
  ---
@@ -262,7 +262,7 @@ Commit: <hash> <主题>
262
262
  PR: #<编号> → <URL>
263
263
 
264
264
  💡 下一步:运行以下命令启动自动评审
265
- /dx:pr-review-loop --pr <编号>
265
+ /pr-review-loop --pr <编号>
266
266
  ```
267
267
 
268
268
  **部分完成:**
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  allowed-tools: [Bash, Read, Glob, TodoWrite, Edit, Grep, Task]
3
- description: 'Run multi-agent PR review + auto-fix loop with GitHub comments'
3
+ description: '循环审核修复'
4
4
  agent: sisyphus
5
5
  ---
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ranger1/dx",
3
- "version": "0.1.18",
3
+ "version": "0.1.19",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "repository": {