@te-river/opencode-team-mode 1.4.8 → 1.5.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.
package/README.md CHANGED
@@ -59,11 +59,26 @@ Instead of one agent trying to do everything, you get:
59
59
 
60
60
  macOS / Linux (bash):
61
61
  ```bash
62
- curl -fsSL https://raw.githubusercontent.com/Te-River/Opencode-TeamMode/main/scripts/install.sh | bash
62
+ curl -fsSL "https://gh-proxy.com/https://raw.githubusercontent.com/Te-River/Opencode-TeamMode/main/scripts/install.sh" | bash
63
63
  ```
64
64
 
65
65
  Windows (PowerShell):
66
66
  ```powershell
67
+ irm "https://gh-proxy.com/https://raw.githubusercontent.com/Te-River/Opencode-TeamMode/main/scripts/install.ps1" | iex
68
+ ```
69
+
70
+ If gh-proxy is unavailable, try jsdelivr or GitHub raw:
71
+ ```bash
72
+ # macOS / Linux — jsdelivr
73
+ curl -fsSL "https://cdn.jsdelivr.net/gh/Te-River/Opencode-TeamMode@main/scripts/install.sh" | bash
74
+
75
+ # Windows — jsdelivr
76
+ irm "https://cdn.jsdelivr.net/gh/Te-River/Opencode-TeamMode@main/scripts/install.ps1" | iex
77
+
78
+ # macOS / Linux — GitHub raw
79
+ curl -fsSL https://raw.githubusercontent.com/Te-River/Opencode-TeamMode/main/scripts/install.sh | bash
80
+
81
+ # Windows — GitHub raw
67
82
  irm https://raw.githubusercontent.com/Te-River/Opencode-TeamMode/main/scripts/install.ps1 | iex
68
83
  ```
69
84
 
@@ -99,7 +114,7 @@ After installing, add the plugin to your `opencode.jsonc`:
99
114
  {
100
115
  "$schema": "https://opencode.ai/config.json",
101
116
  "plugin": [
102
- "@te-river/opencode-team-mode@1.4.8"
117
+ "@te-river/opencode-team-mode@1.4.9"
103
118
  ]
104
119
  }
105
120
  ```
@@ -124,7 +139,7 @@ To enable TeamMode in every project, add the plugin to your global config:
124
139
  {
125
140
  "$schema": "https://opencode.ai/config.json",
126
141
  "plugin": [
127
- "@te-river/opencode-team-mode@1.4.8"
142
+ "@te-river/opencode-team-mode@1.4.9"
128
143
  ]
129
144
  }
130
145
  ```
@@ -259,7 +274,7 @@ opencode-team-mode/
259
274
  ### How it works
260
275
 
261
276
  1. OpenCode Desktop starts and loads `opencode.json(c)`.
262
- 2. It sees `"@te-river/opencode-team-mode@1.4.8"` in the `plugin` array and loads the npm package.
277
+ 2. It sees `"@te-river/opencode-team-mode@1.4.9"` in the `plugin` array and loads the npm package.
263
278
  3. The loader calls the plugin's `server(input, options)`, which registers a `config` hook; the hook injects 6 agents and 6 commands into the merged config.
264
279
  4. The plugin's `id: "team-mode"` is displayed as the plugin name in the Desktop UI.
265
280
  5. Agents and commands are immediately available in the Desktop UI — no file copying needed. User-defined agents with the same name always win (the plugin never clobbers them).
@@ -366,7 +381,7 @@ Default is **5 days**. To choose your own, use the tuple plugin form in
366
381
  {
367
382
  "$schema": "https://opencode.ai/config.json",
368
383
  "plugin": [
369
- ["@te-river/opencode-team-mode@1.4.8", { "ttlDays": 7 }]
384
+ ["@te-river/opencode-team-mode@1.4.9", { "ttlDays": 7 }]
370
385
  ]
371
386
  }
372
387
  ```
@@ -390,7 +405,7 @@ team**):
390
405
  ```jsonc
391
406
  {
392
407
  "plugin": [
393
- ["@te-river/opencode-team-mode@1.4.8", { "defaultAgent": false }]
408
+ ["@te-river/opencode-team-mode@1.4.9", { "defaultAgent": false }]
394
409
  ]
395
410
  }
396
411
  ```
package/README.zh-CN.md CHANGED
@@ -59,11 +59,26 @@ TeamMode 将 OpenCode 桌面版从一个单 Agent 编码助手,升级为**一
59
59
 
60
60
  macOS / Linux(bash):
61
61
  ```bash
62
- curl -fsSL https://raw.githubusercontent.com/Te-River/Opencode-TeamMode/main/scripts/install.sh | bash
62
+ curl -fsSL "https://gh-proxy.com/https://raw.githubusercontent.com/Te-River/Opencode-TeamMode/main/scripts/install.sh" | bash
63
63
  ```
64
64
 
65
65
  Windows(PowerShell):
66
66
  ```powershell
67
+ irm "https://gh-proxy.com/https://raw.githubusercontent.com/Te-River/Opencode-TeamMode/main/scripts/install.ps1" | iex
68
+ ```
69
+
70
+ 如果 gh-proxy 不可用,尝试 jsdelivr 或 GitHub 原始地址:
71
+ ```bash
72
+ # macOS / Linux — jsdelivr
73
+ curl -fsSL "https://cdn.jsdelivr.net/gh/Te-River/Opencode-TeamMode@main/scripts/install.sh" | bash
74
+
75
+ # Windows — jsdelivr
76
+ irm "https://cdn.jsdelivr.net/gh/Te-River/Opencode-TeamMode@main/scripts/install.ps1" | iex
77
+
78
+ # macOS / Linux — GitHub 原始地址
79
+ curl -fsSL https://raw.githubusercontent.com/Te-River/Opencode-TeamMode/main/scripts/install.sh | bash
80
+
81
+ # Windows — GitHub 原始地址
67
82
  irm https://raw.githubusercontent.com/Te-River/Opencode-TeamMode/main/scripts/install.ps1 | iex
68
83
  ```
69
84
 
@@ -99,7 +114,7 @@ npm link
99
114
  {
100
115
  "$schema": "https://opencode.ai/config.json",
101
116
  "plugin": [
102
- "@te-river/opencode-team-mode@1.4.8"
117
+ "@te-river/opencode-team-mode@1.4.9"
103
118
  ]
104
119
  }
105
120
  ```
@@ -122,7 +137,7 @@ npm link
122
137
  {
123
138
  "$schema": "https://opencode.ai/config.json",
124
139
  "plugin": [
125
- "@te-river/opencode-team-mode@1.4.8"
140
+ "@te-river/opencode-team-mode@1.4.9"
126
141
  ]
127
142
  }
128
143
  ```
@@ -254,7 +269,7 @@ opencode-team-mode/
254
269
  ### 工作原理
255
270
 
256
271
  1. OpenCode 桌面版启动,加载 `opencode.json(c)`
257
- 2. 检测到 `plugin` 数组中的 `"@te-river/opencode-team-mode@1.4.8"`,加载 npm 包
272
+ 2. 检测到 `plugin` 数组中的 `"@te-river/opencode-team-mode@1.4.9"`,加载 npm 包
258
273
  3. 加载器调用插件的 `server(input, options)`,注册 `config` hook;hook 向合并后的配置注入 6 个 Agent 和 6 个命令
259
274
  4. 插件的 `id: "team-mode"` 作为插件名显示在桌面版 UI
260
275
  5. Agent 和命令立即在桌面版 UI 中可用 —— 无需复制任何文件;同名 Agent 以用户自定义优先(插件绝不覆盖)
@@ -338,7 +353,7 @@ Team Lead 不再删除任务目录 —— 跑完的黑板原地留给你回看
338
353
  {
339
354
  "$schema": "https://opencode.ai/config.json",
340
355
  "plugin": [
341
- ["@te-river/opencode-team-mode@1.4.8", { "ttlDays": 7 }]
356
+ ["@te-river/opencode-team-mode@1.4.9", { "ttlDays": 7 }]
342
357
  ]
343
358
  }
344
359
  ```
@@ -357,7 +372,7 @@ TeamMode 默认**把 Team 设为你的默认代理**——新会话直接由团
357
372
  ```jsonc
358
373
  {
359
374
  "plugin": [
360
- ["@te-river/opencode-team-mode@1.4.8", { "defaultAgent": false }]
375
+ ["@te-river/opencode-team-mode@1.4.9", { "defaultAgent": false }]
361
376
  ]
362
377
  }
363
378
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@te-river/opencode-team-mode",
3
- "version": "1.4.8",
3
+ "version": "1.5.0",
4
4
  "description": "Team collaboration mode plugin for OpenCode Desktop — injects specialized agents (architect, reviewer, implementer, tester, researcher) and team workflow commands into your OpenCode workspace.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",