@te-river/opencode-team-mode 1.2.0 → 1.2.1

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
@@ -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"
102
+ "@te-river/opencode-team-mode@latest"
103
103
  ]
104
104
  }
105
105
  ```
@@ -117,7 +117,7 @@ To enable TeamMode in every project, add the plugin to your global config:
117
117
  {
118
118
  "$schema": "https://opencode.ai/config.json",
119
119
  "plugin": [
120
- "@te-river/opencode-team-mode"
120
+ "@te-river/opencode-team-mode@latest"
121
121
  ]
122
122
  }
123
123
  ```
@@ -203,7 +203,7 @@ opencode-team-mode/
203
203
  ### How it works
204
204
 
205
205
  1. OpenCode Desktop starts and loads `opencode.json`.
206
- 2. It sees `"@te-river/opencode-team-mode"` in the `plugin` array and loads the npm package.
206
+ 2. It sees `"@te-river/opencode-team-mode@latest"` in the `plugin` array and loads the npm package.
207
207
  3. The plugin's v2 `setup` function runs, using `ctx.agent.transform()` and `ctx.command.transform()` to inject 6 agents and 6 commands.
208
208
  4. The plugin's `id: "team-mode"` is displayed as the plugin name in the Desktop UI.
209
209
  5. Agents and commands are immediately available in the Desktop UI — no file copying needed.
@@ -246,7 +246,7 @@ Default is **5 days**. To choose your own, use the tuple plugin form in
246
246
  {
247
247
  "$schema": "https://opencode.ai/config.json",
248
248
  "plugin": [
249
- ["@te-river/opencode-team-mode", { "ttlDays": 7 }]
249
+ ["@te-river/opencode-team-mode@latest", { "ttlDays": 7 }]
250
250
  ]
251
251
  }
252
252
  ```
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"
102
+ "@te-river/opencode-team-mode@latest"
103
103
  ]
104
104
  }
105
105
  ```
@@ -117,7 +117,7 @@ npm link
117
117
  {
118
118
  "$schema": "https://opencode.ai/config.json",
119
119
  "plugin": [
120
- "@te-river/opencode-team-mode"
120
+ "@te-river/opencode-team-mode@latest"
121
121
  ]
122
122
  }
123
123
  ```
@@ -203,7 +203,7 @@ opencode-team-mode/
203
203
  ### 工作原理
204
204
 
205
205
  1. OpenCode 桌面版启动,加载 `opencode.json`
206
- 2. 检测到 `plugin` 数组中的 `"@te-river/opencode-team-mode"`,加载 npm 包
206
+ 2. 检测到 `plugin` 数组中的 `"@te-river/opencode-team-mode@latest"`,加载 npm 包
207
207
  3. 插件的 `setup` 函数执行,通过 `ctx.agent.transform()` 和 `ctx.command.transform()` 注入 6 个 Agent 和 6 个命令
208
208
  4. Agent 和命令立即在桌面版 UI 中可用 —— 无需复制任何文件
209
209
 
@@ -238,7 +238,7 @@ opencode-team-mode/
238
238
  {
239
239
  "$schema": "https://opencode.ai/config.json",
240
240
  "plugin": [
241
- ["@te-river/opencode-team-mode", { "ttlDays": 7 }]
241
+ ["@te-river/opencode-team-mode@latest", { "ttlDays": 7 }]
242
242
  ]
243
243
  }
244
244
  ```
@@ -1 +1 @@
1
- {"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../src/agents.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AA+W3C,eAAO,MAAM,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAO5C,CAAA"}
1
+ {"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../src/agents.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AA+Z3C,eAAO,MAAM,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAO5C,CAAA"}
package/dist/agents.js CHANGED
@@ -16,6 +16,23 @@
16
16
  * - Research findings carry confidence tags and critical ones are verified.
17
17
  */
18
18
  /* ------------------------------------------------------------------ */
19
+ /* Blackboard write guarantee (appended to every specialist prompt) */
20
+ /* ------------------------------------------------------------------ */
21
+ const BLACKBOARD_GUARANTEE = `
22
+
23
+ ## Blackboard write guarantee
24
+ - Writing your designated blackboard artifact is ALWAYS within your role.
25
+ Any read-only constraint applies to PROJECT SOURCES and the code under
26
+ review — NEVER to the blackboard directory. Your tools can write there;
27
+ do it yourself, in the file the dispatch names.
28
+ - NEVER reply "append this verbatim for me" or hand the full deliverable
29
+ back to the dispatcher to transcribe — that defeats the entire point of
30
+ the blackboard. Reply with your summary + the file path, nothing else.
31
+ - If a write genuinely fails (permissions, missing directory), start your
32
+ reply with the line \`BLACKBOARD WRITE FAILED: <reason>\` and only then
33
+ include the full content as fallback, so the lead can retry the write
34
+ deliberately instead of guessing.`;
35
+ /* ------------------------------------------------------------------ */
19
36
  /* Team Lead — orchestrator */
20
37
  /* ------------------------------------------------------------------ */
21
38
  const teamLead = {
@@ -84,6 +101,10 @@ file blackboard (root path is appended at the end of this prompt):
84
101
  never rely on an agent "knowing" what another produced.
85
102
  - Sub-agents reply with a summary plus their file path; read the file
86
103
  yourself when you need detail, then relay the relevant parts onward.
104
+ - A specialist asking you to transcribe its output verbatim is a protocol
105
+ violation — send it back to write the file itself. Only if its reply
106
+ contains \`BLACKBOARD WRITE FAILED\` may you write the artifact as a
107
+ fallback; note the failure in MANIFEST.md so it is not silently tolerated.
87
108
  - Maintain \`MANIFEST.md\` in the task directory: one line per artifact
88
109
  (file — role — status — one-line summary).
89
110
  - After you deliver the final report, DELETE the task directory (use the
@@ -129,6 +150,13 @@ adoption:
129
150
  - Your final output is a structured summary, not raw agent transcripts.
130
151
  `,
131
152
  color: "#E879F9", // purple
153
+ permission: {
154
+ edit: "allow",
155
+ bash: "allow",
156
+ webfetch: "allow",
157
+ task: "allow",
158
+ todowrite: "allow",
159
+ },
132
160
  };
133
161
  /* ------------------------------------------------------------------ */
134
162
  /* Architect */
@@ -176,6 +204,9 @@ When the team lead sends back a design flaw found in review or testing:
176
204
  of guessing about the codebase.
177
205
  `,
178
206
  color: "#38BDF8", // sky blue
207
+ // Read-only on PROJECT sources; the blackboard artifact is explicitly
208
+ // writable (see Blackboard write guarantee).
209
+ permission: { edit: "allow", bash: "deny", webfetch: "allow" },
179
210
  };
180
211
  /* ------------------------------------------------------------------ */
181
212
  /* Implementer */
@@ -218,6 +249,7 @@ to you by the team lead.
218
249
  check, the previously failing test).
219
250
  `,
220
251
  color: "#4ADE80", // green
252
+ permission: { edit: "allow", bash: "allow", webfetch: "allow" },
221
253
  };
222
254
  /* ------------------------------------------------------------------ */
223
255
  /* Reviewer */
@@ -268,6 +300,9 @@ plus regressions introduced by the fixes; confirm each prior finding item
268
300
  by item (fixed / not fixed / partial).
269
301
  `,
270
302
  color: "#FB923C", // orange
303
+ // May edit ONLY the blackboard artifact; never the reviewed code
304
+ // (see Blackboard write guarantee + role rules).
305
+ permission: { edit: "allow", bash: "allow", webfetch: "allow" },
271
306
  };
272
307
  /* ------------------------------------------------------------------ */
273
308
  /* Tester */
@@ -317,6 +352,7 @@ pass/fail signal.
317
352
  refactor instead of contorting the test.
318
353
  `,
319
354
  color: "#F472B6", // pink
355
+ permission: { edit: "allow", bash: "allow", webfetch: "allow" },
320
356
  };
321
357
  /* ------------------------------------------------------------------ */
322
358
  /* Researcher */
@@ -363,7 +399,17 @@ by the team — flag prominently if that is the case.
363
399
  - State which product/version each finding applies to.
364
400
  `,
365
401
  color: "#A78BFA", // violet
402
+ permission: {
403
+ edit: "allow",
404
+ bash: "allow",
405
+ webfetch: "allow",
406
+ websearch: "allow",
407
+ },
366
408
  };
409
+ /* Append the blackboard write guarantee to every specialist prompt. */
410
+ for (const a of [architect, implementer, reviewer, tester, researcher]) {
411
+ a.prompt = (a.prompt ?? "") + BLACKBOARD_GUARANTEE;
412
+ }
367
413
  /* ------------------------------------------------------------------ */
368
414
  /* Export all agents keyed by name */
369
415
  /* ------------------------------------------------------------------ */
@@ -1 +1 @@
1
- {"version":3,"file":"agents.js","sourceRoot":"","sources":["../src/agents.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAIH,wEAAwE;AACxE,wEAAwE;AACxE,wEAAwE;AACxE,MAAM,QAAQ,GAAc;IAC1B,IAAI,EAAE,KAAK;IACX,WAAW,EACT,2EAA2E;QAC3E,qEAAqE;QACrE,2EAA2E;QAC3E,2EAA2E;QAC3E,4BAA4B;IAC9B,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsGT;IACC,KAAK,EAAE,SAAS,EAAE,SAAS;CAC5B,CAAA;AAED,wEAAwE;AACxE,wEAAwE;AACxE,wEAAwE;AACxE,MAAM,SAAS,GAAc;IAC3B,IAAI,EAAE,UAAU;IAChB,WAAW,EACT,2EAA2E;QAC3E,2EAA2E;QAC3E,0EAA0E;QAC1E,yCAAyC;IAC3C,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmCT;IACC,KAAK,EAAE,SAAS,EAAE,WAAW;CAC9B,CAAA;AAED,wEAAwE;AACxE,wEAAwE;AACxE,wEAAwE;AACxE,MAAM,WAAW,GAAc;IAC7B,IAAI,EAAE,UAAU;IAChB,WAAW,EACT,uEAAuE;QACvE,0EAA0E;QAC1E,gEAAgE;IAClE,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BT;IACC,KAAK,EAAE,SAAS,EAAE,QAAQ;CAC3B,CAAA;AAED,wEAAwE;AACxE,wEAAwE;AACxE,wEAAwE;AACxE,MAAM,QAAQ,GAAc;IAC1B,IAAI,EAAE,UAAU;IAChB,WAAW,EACT,sEAAsE;QACtE,uEAAuE;QACvE,gEAAgE;IAClE,MAAM,EAAE;;;;;;;;;;;;;;;;;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AC,MAAM,MAAM,GAA8B;IAC/C,WAAW,EAAE,QAAQ;IACrB,SAAS;IACT,WAAW;IACX,QAAQ;IACR,MAAM;IACN,UAAU;CACX,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAiCH,eAAO,MAAM,MAAM,uCAoCjB,CAAA;AAEF,eAAe,MAAM,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAiCH,eAAO,MAAM,MAAM,uCAuCjB,CAAA;AAEF,eAAe,MAAM,CAAA"}
package/dist/index.js CHANGED
@@ -52,6 +52,10 @@ export const Plugin = define({
52
52
  ? def.prompt + blackboardNote(boardRoot, ttlDays)
53
53
  : def.prompt;
54
54
  item.color = def.color;
55
+ // Authoritative permission from the plugin — overrides any stale
56
+ // file-based agent definition that might deny blackboard writes.
57
+ if (def.permission)
58
+ item.permission = def.permission;
55
59
  });
56
60
  }
57
61
  });
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA;AAEnC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EACL,0BAA0B,EAC1B,YAAY,EACZ,gBAAgB,GACjB,MAAM,iBAAiB,CAAA;AAExB,qEAAqE;AACrE,SAAS,gBAAgB,CAAC,GAAkB;IAC1C,KAAK,MAAM,SAAS,IAAI,CAAC,GAAG,CAAC,SAAS,EAAE,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;QACrD,IAAI,OAAO,SAAS,KAAK,QAAQ,IAAI,SAAS,CAAC,MAAM,GA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IAAI,CAAA;oBACpB,IAAI,CAAC,MAAM;wBACT,IAAI,KAAK,WAAW;4BAClB,CAAC,CAAC,GAAG,CAAC,MAAM,GAAG,cAAc,CAAC,SAAS,EAAE,OAAO,CAAC;4BACjD,CAAC,CAAC,GAAG,CAAC,MAAM,CAAA;oBAChB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAA;oBACtB,iEAAiE;oBACjE,iEAAiE;oBACjE,IAAI,GAAG,CAAC,UAAU;wBAAE,IAAI,CAAC,UAAU,GAAG,GAAG,CAAC,UAAU,CAAA;gBACtD,CAAC,CAAC,CAAA;YACJ,CAAC;QACH,CAAC,CAAC,CAAA;QAEF,6CAA6C;QAC7C,MAAM,GAAG,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,OAAO,EAAE,EAAE;YACtC,KAAK,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC;gBACnD,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE;oBAC5B,IAAI,CAAC,WAAW,GAAG,GAAG,CAAC,WAAW,CAAA;oBAClC,IAAI,CAAC,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAA;oBAC5B,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAA;gBACxB,CAAC,CAAC,CAAA;YACJ,CAAC;QACH,CAAC,CAAC,CAAA;IACJ,CAAC;CACF,CAAC,CAAA;AAEF,eAAe,MAAM,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@te-river/opencode-team-mode",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
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",