@te-river/opencode-team-mode 1.4.7 → 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.
@@ -1 +1 @@
1
- {"version":3,"file":"agents.js","sourceRoot":"","sources":["../src/agents.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAIH,wEAAwE;AACxE,yEAAyE;AACzE,wEAAwE;AACxE,MAAM,cAAc,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;+DA0BwC,CAAA;AAE/D,wEAAwE;AACxE,wEAAwE;AACxE,wEAAwE;AACxE,MAAM,QAAQ,GAAgB;IAC5B,IAAI,EAAE,SAAS;IACf,WAAW,EACT,4DAA4D;QAC5D,qEAAqE;QACrE,qEAAqE;QACrE,oEAAoE;QACpE,6DAA6D;QAC7D,4BAA4B;IAC9B,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoMT;IACC,KAAK,EAAE,SAAS,EAAE,SAAS;IAC3B,UAAU,EAAE;QACV,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,OAAO;QACb,QAAQ,EAAE,OAAO;QACjB,IAAI,EAAE,OAAO;KACd;IACD,WAAW,EAAE,GAAG;CACjB,CAAA;AAED,wEAAwE;AACxE,wEAAwE;AACxE,wEAAwE;AACxE,MAAM,SAAS,GAAgB;IAC7B,IAAI,EAAE,UAAU;IAChB,WAAW,EACT,2EAA2E;QAC3E,2EAA2E;QAC3E,0EAA0E;QAC1E,yCAAyC;IAC3C,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BT;IACC,KAAK,EAAE,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U,GAAgB;IAC9B,IAAI,EAAE,UAAU;IAChB,WAAW,EACT,iEAAiE;QACjE,sEAAsE;QACtE,yEAAyE;QACzE,mCAAmC;IACrC,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqCT;IACC,KAAK,EAAE,SAAS,EAAE,SAAS;IAC3B,UAAU,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE;IACnF,WAAW,EAAE,GAAG;CACjB,CAAA;AAED,4EAA4E;AAC5E,MAAM,YAAY,GAAG;;;;;;;;;;;;qBAYA,CAAA;AAErB,4EAA4E;AAC5E,KAAK,MAAM,CAAC,IAAI,CAAC,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,CAAC;IACvE,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,MAAM,IAAI,EAAE,CAAC,GAAG,cAAc,GAAG,YAAY,CAAA;AAC7D,CAAC;AAED,wEAAwE;AACxE,wEAAwE;AACxE,wEAAwE;AAExE,MAAM,CAAC,MAAM,MAAM,GAAgC;IACjD,MAAM,EAAE,QAAQ;IAChB,SAAS;IACT,WAAW;IACX,QAAQ;IACR,MAAM;IACN,UAAU;CACX,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../src/commands.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AA0J/C,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAOlD,CAAA"}
1
+ {"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../src/commands.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AA8J/C,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAOlD,CAAA"}
package/dist/commands.js CHANGED
@@ -12,137 +12,141 @@
12
12
  const teamPlan = {
13
13
  description: "Create a comprehensive implementation plan — architecture, task breakdown, and risk analysis.",
14
14
  agent: "architect",
15
- template: `Analyze the following task and produce a detailed implementation plan.
16
-
17
- ## Task
18
- $ARGUMENTS
19
-
20
- ## Required output
21
- 1. **Overview** — What we are building and why.
22
- 2. **Architecture** — Module structure, key interfaces, data flow.
23
- 3. **File manifest** — Every file to create or modify, with a one-line summary.
24
- 4. **Task breakdown** — Ordered steps the implementer can execute, noting dependencies.
25
- 5. **Risks & open questions** — Anything uncertain.
26
-
27
- Read existing project files as needed to ground your plan in reality.
15
+ template: `Analyze the following task and produce a detailed implementation plan.
16
+
17
+ ## Task
18
+ $ARGUMENTS
19
+
20
+ ## Required output
21
+ 1. **Overview** — What we are building and why.
22
+ 2. **Architecture** — Module structure, key interfaces, data flow.
23
+ 3. **File manifest** — Every file to create or modify, with a one-line summary.
24
+ 4. **Task breakdown** — Ordered steps the implementer can execute, noting dependencies.
25
+ 5. **Risks & open questions** — Anything uncertain.
26
+
27
+ Read existing project files as needed to ground your plan in reality.
28
28
  Do not write implementation code — only the plan.`,
29
29
  };
30
30
  /* ------------------------------------------------------------------ */
31
31
  const teamImplement = {
32
32
  description: "Implement a feature or task — write production code following the project's conventions.",
33
33
  agent: "implementer",
34
- template: `Implement the following task. Follow the project's existing code style and conventions.
35
-
36
- ## Task
37
- $ARGUMENTS
38
-
39
- ## Rules
40
- - Read relevant existing files before writing code.
41
- - Handle errors properly.
34
+ template: `Implement the following task. Follow the project's existing code style and conventions.
35
+
36
+ ## Task
37
+ $ARGUMENTS
38
+
39
+ ## Rules
40
+ - Read relevant existing files before writing code.
41
+ - Handle errors properly.
42
42
  - After finishing, list every file you created or modified.`,
43
43
  };
44
44
  /* ------------------------------------------------------------------ */
45
45
  const teamReview = {
46
46
  description: "Review code with a single focused dimension — completeness, correctness, or impact (default: correctness).",
47
47
  agent: "reviewer",
48
- template: `Perform a single-dimension code review on the following scope.
49
-
50
- ## Scope
51
- $ARGUMENTS
52
-
53
- ## Dimension
54
- $ARGUMENTS may name one dimension: completeness (requirements coverage),
55
- correctness (logic & security), or impact (regressions & blast radius).
56
- If no dimension is named, review correctness. Ignore the other dimensions
57
- — parallel reviewers own them.
58
-
59
- If no specific scope is given, review all recently modified files in the project.
60
-
61
- Use the standard severity scale:
62
- - 🔴 Critical (must fix)
63
- - 🟡 Warning (should fix)
64
- - 🔵 Suggestion (nice to have)
65
- - ✅ Praise (good patterns)
66
-
48
+ template: `Perform a single-dimension code review on the following scope.
49
+
50
+ ## Scope
51
+ $ARGUMENTS
52
+
53
+ ## Dimension
54
+ $ARGUMENTS may name one dimension: completeness (requirements coverage),
55
+ correctness (logic & security), or impact (regressions & blast radius).
56
+ If no dimension is named, review correctness. Ignore the other dimensions
57
+ — parallel reviewers own them.
58
+
59
+ If no specific scope is given, review all recently modified files in the project.
60
+
61
+ Use the standard severity scale:
62
+ - 🔴 Critical (must fix)
63
+ - 🟡 Warning (should fix)
64
+ - 🔵 Suggestion (nice to have)
65
+ - ✅ Praise (good patterns)
66
+
67
67
  Include file paths, line numbers, and concrete fix suggestions.`,
68
68
  };
69
69
  /* ------------------------------------------------------------------ */
70
70
  const teamTest = {
71
71
  description: "Generate comprehensive tests — unit, integration, and edge-case coverage.",
72
72
  agent: "tester",
73
- template: `Write comprehensive tests for the following scope.
74
-
75
- ## Scope
76
- $ARGUMENTS
77
-
78
- If no specific scope is given, identify the most recently modified source files and write tests for them.
79
-
80
- ## Requirements
81
- - Use the project's existing test framework and conventions.
82
- - Cover happy path, edge cases, and error paths.
83
- - Each test must be deterministic and test exactly one behavior.
73
+ template: `Write comprehensive tests for the following scope.
74
+
75
+ ## Scope
76
+ $ARGUMENTS
77
+
78
+ If no specific scope is given, identify the most recently modified source files and write tests for them.
79
+
80
+ ## Requirements
81
+ - Use the project's existing test framework and conventions.
82
+ - Cover happy path, edge cases, and error paths.
83
+ - Each test must be deterministic and test exactly one behavior.
84
84
  - Use descriptive test names.`,
85
85
  };
86
86
  /* ------------------------------------------------------------------ */
87
87
  const teamResearch = {
88
88
  description: "Research a topic — libraries, APIs, best practices, or documentation.",
89
89
  agent: "researcher",
90
- template: `Research the following topic and provide actionable findings.
91
-
92
- ## Topic
93
- $ARGUMENTS
94
-
95
- ## Required output
96
- 1. **Summary** — Key findings in 2-3 sentences.
97
- 2. **Details** — Structured findings with sources.
98
- 3. **Recommendation** — What the team should do, with trade-offs.
99
- 4. **Sources** — Links or file paths consulted.
100
-
90
+ template: `Research the following topic and provide actionable findings.
91
+
92
+ ## Topic
93
+ $ARGUMENTS
94
+
95
+ ## Required output
96
+ 1. **Summary** — Key findings in 2-3 sentences.
97
+ 2. **Details** — Structured findings with sources.
98
+ 3. **Recommendation** — What the team should do, with trade-offs.
99
+ 4. **Sources** — Links or file paths consulted.
100
+
101
101
  Cite your sources. Do not fabricate URLs or API details.`,
102
102
  };
103
103
  /* ------------------------------------------------------------------ */
104
104
  const teamRun = {
105
105
  description: "Full team workflow — deterministic routing, approval gate on >=3 dispatches, structured handoffs.",
106
106
  agent: "team",
107
- template: `Execute the full team workflow for the following task.
108
-
109
- ## Task
110
- $ARGUMENTS
111
-
112
- ## Workflow
113
- 1. Triage: a question/consult gets an answer with zero file changes (fixes
114
- merely proposed, awaiting go-ahead). Explicit action requests continue
115
- below. Honor and restate user-stated boundaries in every dispatch.
116
- 2. Route via the routing table and COUNT the dispatches. Never shorten a
117
- product-change pipeline below 3 dispatches; never split one request
118
- into sub-3-dispatch pieces to dodge the gate.
119
- 3. Research phase: read the project's README (plus AGENTS.md/CLAUDE.md if
120
- present) and the relevant source yourself; dispatch researcher ONLY for
121
- genuinely unknown external tech. Blocking uncertainties go to the user
122
- IMMEDIATELY, batched into ONE message — never drip-feed, never guess.
123
- 4. Approval gate: if the pipeline involves >=3 sub-agent dispatches,
124
- present the plan (Goal / Root cause or scope with file:line / Change
125
- list / Pipeline / Assumptions & risks / Open questions — <=30 lines)
126
- and END TURN. Execute only after approval. 0-2 dispatches: open with
127
- a 1-2 line notice and proceed. Root cause already verified? Skip
128
- ceremonial research — the fix spec goes straight to implementer.
129
- 5. Execute the pipeline in routing-table order; batch independent
130
- dispatches. Relay each specialist's HANDOFF verbatim into the next
131
- dispatch; enforce the STATUS-skeleton reply contract (missing skeleton
132
- -> PROTOCOL_VIOLATION: one retry with it inline, then downgrade and
133
- note it).
134
- 6. Adaptive review: default single reviewer (correctness); escalate to 3
135
- parallel dimensions only for high-risk profiles (auth/security surface,
136
- cross-module data contracts, public APIs across >=3 files).
137
- 7. Feedback loop: Critical/Major findings and tester product-bugs become
138
- fix tasks -> implementer fixes -> re-review affected scope -> re-run
139
- tests. Max 2 loops, then escalate. A "UI NOT VERIFIED:" line is
140
- relayed honestly, not hidden.
141
- 8. Present a structured summary: changes, review/test verdict, remaining
142
- assumptions and risks. If the project keeps a CHANGELOG.md, append an
143
- entry for the delivered changes (offer to create one if missing). Leave
144
- any board directories in place — the plugin's TTL sweeper reclaims
145
- idle boards; never delete them yourself.`,
107
+ template: `Execute the full team workflow for the following task.
108
+
109
+ ## Task
110
+ $ARGUMENTS
111
+
112
+ ## Workflow
113
+ 1. Triage: a question/consult gets an answer with zero file changes (fixes
114
+ merely proposed, awaiting go-ahead). Explicit action requests continue
115
+ below. Honor and restate user-stated boundaries in every dispatch.
116
+ 2. Route via the routing table and COUNT the dispatches. Never shorten a
117
+ product-change pipeline below 3 dispatches; never split one request
118
+ into sub-3-dispatch pieces to dodge the gate.
119
+ 3. Research phase: read the project's README yourself (the host does not
120
+ inject it); for AGENTS.md/CLAUDE.md use the copy already in context and
121
+ open the file only when genuinely absent. Then read the relevant
122
+ source; dispatch researcher ONLY for genuinely unknown external tech.
123
+ Blocking uncertainties go to the user IMMEDIATELY, batched into ONE message
124
+ — never drip-feed, never guess.
125
+ 4. Approval gate: if the pipeline involves >=2 sub-agent dispatches,
126
+ present the plan (Goal / Root cause or scope with file:line / Change
127
+ list / Pipeline / Assumptions & risks / Open questions — <=30 lines)
128
+ and END TURN. Execute only after approval. 0-1 dispatches: open with
129
+ a 1-2 line notice and proceed. Root cause already verified? Skip
130
+ ceremonial research — the fix spec goes straight to implementer.
131
+ 5. Execute the pipeline in routing-table order; batch independent
132
+ dispatches. Relay each specialist's HANDOFF verbatim into the next
133
+ dispatch; enforce the STATUS-skeleton reply contract (missing skeleton
134
+ -> PROTOCOL_VIOLATION: one retry with it inline, then downgrade and
135
+ note it).
136
+ 6. Adaptive review: default single reviewer (correctness); escalate to 3
137
+ parallel dimensions only for high-risk profiles (auth/security surface,
138
+ cross-module data contracts, public APIs across >=3 files).
139
+ 7. Feedback loop: Critical/Major findings and tester product-bugs become
140
+ fix tasks -> implementer fixes -> re-review affected scope -> re-run
141
+ tests. Max 2 loops, then escalate. A "UI NOT VERIFIED:" line is
142
+ relayed honestly, not hidden.
143
+ 8. Present a structured summary: changes, review/test verdict, remaining
144
+ assumptions and risks. Docs sync: append a CHANGELOG.md entry when the
145
+ file exists, and update AGENTS.md when the change alters what it
146
+ records (build/test commands, conventions, structure, agent
147
+ instructions); offer to create either file if missing. Leave any board
148
+ directories in place — the plugin's TTL sweeper reclaims idle boards;
149
+ never delete them yourself.`,
146
150
  };
147
151
  /* ------------------------------------------------------------------ */
148
152
  /* Export all commands keyed by name */
@@ -1 +1 @@
1
- {"version":3,"file":"commands.js","sourceRoot":"","sources":["../src/commands.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAIH,wEAAwE;AACxE,MAAM,QAAQ,GAAkB;IAC9B,WAAW,EACT,+FAA+F;IACjG,KAAK,EAAE,WAAW;IAClB,QAAQ,EAAE;;;;;;;;;;;;;kDAasC;CACjD,CAAA;AAED,wEAAwE;AACxE,MAAM,aAAa,GAAkB;IACnC,WAAW,EACT,0FAA0F;IAC5F,KAAK,EAAE,aAAa;IACpB,QAAQ,EAAE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;;4DAQgD;CAC3D,CAAA;AAED,wEAAwE;AACxE,MAAM,UAAU,GAAkB;IAChC,WAAW,EACT,4GAA4G;IAC9G,KAAK,EAAE,UAAU;IACjB,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;gEAmBoD;CAC/D,CAAA;AAED,wEAAwE;AACxE,MAAM,QAAQ,GAAkB;IAC9B,WAAW,EACT,2EAA2E;IAC7E,KAAK,EAAE,QAAQ;IACf,QAAQ,EAAE;;;;;;;;;;;8BAWkB;CAC7B,CAAA;AAED,wEAAwE;AACxE,MAAM,YAAY,GAAkB;IAClC,WAAW,EACT,uEAAuE;IACzE,KAAK,EAAE,YAAY;IACnB,QAAQ,EAAE;;;;;;;;;;;0DAW8C;CACzD,CAAA;AAED,wEAAwE;AACxE,MAAM,OAAO,GAAkB;IAC7B,WAAW,EACT,mGAAmG;IACrG,KAAK,EAAE,MAAM;IACb,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+BA0CmB;CAC9B,CAAA;AAED,wEAAwE;AACxE,wEAAwE;AACxE,wEAAwE;AAExE,MAAM,CAAC,MAAM,QAAQ,GAAkC;IACrD,WAAW,EAAE,QAAQ;IACrB,gBAAgB,EAAE,aAAa;IAC/B,aAAa,EAAE,UAAU;IACzB,WAAW,EAAE,QAAQ;IACrB,eAAe,EAAE,YAAY;IAC7B,UAAU,EAAE,OAAO;CACpB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@te-river/opencode-team-mode",
3
- "version": "1.4.7",
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",