@te-river/opencode-team-mode 1.4.8 → 1.4.9
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 +5 -5
- package/README.zh-CN.md +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -99,7 +99,7 @@ After installing, add the plugin to your `opencode.jsonc`:
|
|
|
99
99
|
{
|
|
100
100
|
"$schema": "https://opencode.ai/config.json",
|
|
101
101
|
"plugin": [
|
|
102
|
-
"@te-river/opencode-team-mode@1.4.
|
|
102
|
+
"@te-river/opencode-team-mode@1.4.9"
|
|
103
103
|
]
|
|
104
104
|
}
|
|
105
105
|
```
|
|
@@ -124,7 +124,7 @@ To enable TeamMode in every project, add the plugin to your global config:
|
|
|
124
124
|
{
|
|
125
125
|
"$schema": "https://opencode.ai/config.json",
|
|
126
126
|
"plugin": [
|
|
127
|
-
"@te-river/opencode-team-mode@1.4.
|
|
127
|
+
"@te-river/opencode-team-mode@1.4.9"
|
|
128
128
|
]
|
|
129
129
|
}
|
|
130
130
|
```
|
|
@@ -259,7 +259,7 @@ opencode-team-mode/
|
|
|
259
259
|
### How it works
|
|
260
260
|
|
|
261
261
|
1. OpenCode Desktop starts and loads `opencode.json(c)`.
|
|
262
|
-
2. It sees `"@te-river/opencode-team-mode@1.4.
|
|
262
|
+
2. It sees `"@te-river/opencode-team-mode@1.4.9"` in the `plugin` array and loads the npm package.
|
|
263
263
|
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
264
|
4. The plugin's `id: "team-mode"` is displayed as the plugin name in the Desktop UI.
|
|
265
265
|
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 +366,7 @@ Default is **5 days**. To choose your own, use the tuple plugin form in
|
|
|
366
366
|
{
|
|
367
367
|
"$schema": "https://opencode.ai/config.json",
|
|
368
368
|
"plugin": [
|
|
369
|
-
["@te-river/opencode-team-mode@1.4.
|
|
369
|
+
["@te-river/opencode-team-mode@1.4.9", { "ttlDays": 7 }]
|
|
370
370
|
]
|
|
371
371
|
}
|
|
372
372
|
```
|
|
@@ -390,7 +390,7 @@ team**):
|
|
|
390
390
|
```jsonc
|
|
391
391
|
{
|
|
392
392
|
"plugin": [
|
|
393
|
-
["@te-river/opencode-team-mode@1.4.
|
|
393
|
+
["@te-river/opencode-team-mode@1.4.9", { "defaultAgent": false }]
|
|
394
394
|
]
|
|
395
395
|
}
|
|
396
396
|
```
|
package/README.zh-CN.md
CHANGED
|
@@ -99,7 +99,7 @@ npm link
|
|
|
99
99
|
{
|
|
100
100
|
"$schema": "https://opencode.ai/config.json",
|
|
101
101
|
"plugin": [
|
|
102
|
-
"@te-river/opencode-team-mode@1.4.
|
|
102
|
+
"@te-river/opencode-team-mode@1.4.9"
|
|
103
103
|
]
|
|
104
104
|
}
|
|
105
105
|
```
|
|
@@ -122,7 +122,7 @@ npm link
|
|
|
122
122
|
{
|
|
123
123
|
"$schema": "https://opencode.ai/config.json",
|
|
124
124
|
"plugin": [
|
|
125
|
-
"@te-river/opencode-team-mode@1.4.
|
|
125
|
+
"@te-river/opencode-team-mode@1.4.9"
|
|
126
126
|
]
|
|
127
127
|
}
|
|
128
128
|
```
|
|
@@ -254,7 +254,7 @@ opencode-team-mode/
|
|
|
254
254
|
### 工作原理
|
|
255
255
|
|
|
256
256
|
1. OpenCode 桌面版启动,加载 `opencode.json(c)`
|
|
257
|
-
2. 检测到 `plugin` 数组中的 `"@te-river/opencode-team-mode@1.4.
|
|
257
|
+
2. 检测到 `plugin` 数组中的 `"@te-river/opencode-team-mode@1.4.9"`,加载 npm 包
|
|
258
258
|
3. 加载器调用插件的 `server(input, options)`,注册 `config` hook;hook 向合并后的配置注入 6 个 Agent 和 6 个命令
|
|
259
259
|
4. 插件的 `id: "team-mode"` 作为插件名显示在桌面版 UI
|
|
260
260
|
5. Agent 和命令立即在桌面版 UI 中可用 —— 无需复制任何文件;同名 Agent 以用户自定义优先(插件绝不覆盖)
|
|
@@ -338,7 +338,7 @@ Team Lead 不再删除任务目录 —— 跑完的黑板原地留给你回看
|
|
|
338
338
|
{
|
|
339
339
|
"$schema": "https://opencode.ai/config.json",
|
|
340
340
|
"plugin": [
|
|
341
|
-
["@te-river/opencode-team-mode@1.4.
|
|
341
|
+
["@te-river/opencode-team-mode@1.4.9", { "ttlDays": 7 }]
|
|
342
342
|
]
|
|
343
343
|
}
|
|
344
344
|
```
|
|
@@ -357,7 +357,7 @@ TeamMode 默认**把 Team 设为你的默认代理**——新会话直接由团
|
|
|
357
357
|
```jsonc
|
|
358
358
|
{
|
|
359
359
|
"plugin": [
|
|
360
|
-
["@te-river/opencode-team-mode@1.4.
|
|
360
|
+
["@te-river/opencode-team-mode@1.4.9", { "defaultAgent": false }]
|
|
361
361
|
]
|
|
362
362
|
}
|
|
363
363
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@te-river/opencode-team-mode",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.9",
|
|
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",
|