jinzd-ai-cli 0.4.155 → 0.4.156

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.
Files changed (31) hide show
  1. package/dist/{batch-LS3IJVBK.js → batch-DBOCPVH5.js} +2 -2
  2. package/dist/{chat-index-IF4EINLQ.js → chat-index-2I7ZHRE5.js} +2 -2
  3. package/dist/{chunk-D6GJTJQH.js → chunk-3DCAQKVZ.js} +1 -1
  4. package/dist/{chunk-NFRTSL3N.js → chunk-3SQMKA4I.js} +1 -1
  5. package/dist/{chunk-B3LFGPU2.js → chunk-3WLEDKOW.js} +1 -1
  6. package/dist/{chunk-JXSWY54M.js → chunk-7OCOFVQP.js} +1 -1
  7. package/dist/{chunk-JOJRBV2K.js → chunk-AACNCJMD.js} +1 -1
  8. package/dist/{chunk-CIZQZ7CC.js → chunk-GQ647SF3.js} +2 -2
  9. package/dist/chunk-NZ4X6GUC.js +230 -0
  10. package/dist/{chunk-O6MLS5QO.js → chunk-OJL3PY36.js} +0 -226
  11. package/dist/{hub-ZILVZWI2.js → chunk-Q3ZUDA6S.js} +6 -249
  12. package/dist/{persist-3EBOLHFZ.js → chunk-RUJQ5OUB.js} +1 -2
  13. package/dist/{chunk-IBBYW6PM.js → chunk-UAPNBQLU.js} +1 -1
  14. package/dist/{chunk-E5ICQT3P.js → chunk-Z2UJDFJK.js} +4 -4
  15. package/dist/{ci-34ZQH43L.js → ci-AWA6KC3X.js} +3 -3
  16. package/dist/{constants-DQ5VJOGS.js → constants-QDTWBWWC.js} +1 -1
  17. package/dist/{doctor-cli-TSCI4ORL.js → doctor-cli-4MTG6SFH.js} +6 -6
  18. package/dist/electron-server.js +740 -44
  19. package/dist/hub-QRDXG527.js +260 -0
  20. package/dist/{hub-server-OH7AYQIW.js → hub-server-GSTG5MNE.js} +4 -2
  21. package/dist/index.js +40 -40
  22. package/dist/persist-UI6WRBGB.js +12 -0
  23. package/dist/{run-tests-5KWCHBQS.js → run-tests-CNURD2ST.js} +2 -2
  24. package/dist/{run-tests-5CJRMOMI.js → run-tests-NPWSCWP5.js} +1 -1
  25. package/dist/{server-DVIP7NLW.js → server-HFG2SM3Y.js} +6 -6
  26. package/dist/{server-35OQV62B.js → server-RRUCZMMM.js} +124 -32
  27. package/dist/{task-orchestrator-AXSS7ROD.js → task-orchestrator-GF6ZMNUK.js} +6 -6
  28. package/dist/web/client/app.js +138 -0
  29. package/dist/web/client/index.html +28 -0
  30. package/package.json +1 -1
  31. package/dist/{chunk-U5MY24UZ.js → chunk-MM3F43H6.js} +3 -3
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  ConfigManager
4
- } from "./chunk-IBBYW6PM.js";
4
+ } from "./chunk-UAPNBQLU.js";
5
5
  import "./chunk-2ZD3YTVM.js";
6
- import "./chunk-B3LFGPU2.js";
6
+ import "./chunk-3WLEDKOW.js";
7
7
  import "./chunk-PDX44BCA.js";
8
8
 
9
9
  // src/cli/batch.ts
@@ -6,9 +6,9 @@ import {
6
6
  getChatIndexStatus,
7
7
  loadChatIndex,
8
8
  searchChatMemory
9
- } from "./chunk-U5MY24UZ.js";
10
- import "./chunk-SLSWPBK3.js";
9
+ } from "./chunk-MM3F43H6.js";
11
10
  import "./chunk-KHYD3WXE.js";
11
+ import "./chunk-SLSWPBK3.js";
12
12
  import "./chunk-PDX44BCA.js";
13
13
  export {
14
14
  buildChatIndex,
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  CONFIG_DIR_NAME,
4
4
  VERSION
5
- } from "./chunk-B3LFGPU2.js";
5
+ } from "./chunk-3WLEDKOW.js";
6
6
 
7
7
  // src/diagnostics/crash-log.ts
8
8
  import {
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  CONFIG_DIR_NAME
4
- } from "./chunk-B3LFGPU2.js";
4
+ } from "./chunk-3WLEDKOW.js";
5
5
 
6
6
  // src/diagnostics/tool-stats.ts
7
7
  import { existsSync, readFileSync, writeFileSync, mkdirSync, renameSync } from "fs";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  // src/core/constants.ts
4
- var VERSION = "0.4.155";
4
+ var VERSION = "0.4.156";
5
5
  var APP_NAME = "ai-cli";
6
6
  var CONFIG_DIR_NAME = ".aicli";
7
7
  var CONFIG_FILE_NAME = "config.json";
@@ -6,7 +6,7 @@ import { platform } from "os";
6
6
  import chalk from "chalk";
7
7
 
8
8
  // src/core/constants.ts
9
- var VERSION = "0.4.155";
9
+ var VERSION = "0.4.156";
10
10
  var APP_NAME = "ai-cli";
11
11
  var CONFIG_DIR_NAME = ".aicli";
12
12
  var CONFIG_FILE_NAME = "config.json";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  TEST_TIMEOUT
4
- } from "./chunk-B3LFGPU2.js";
4
+ } from "./chunk-3WLEDKOW.js";
5
5
 
6
6
  // src/tools/builtin/run-tests.ts
7
7
  import { execSync, spawnSync } from "child_process";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  truncateForPersist
4
- } from "./chunk-E5ICQT3P.js";
4
+ } from "./chunk-Z2UJDFJK.js";
5
5
  import {
6
6
  APP_NAME,
7
7
  CONFIG_DIR_NAME,
@@ -11,7 +11,7 @@ import {
11
11
  MCP_PROTOCOL_VERSION,
12
12
  MCP_TOOL_PREFIX,
13
13
  VERSION
14
- } from "./chunk-B3LFGPU2.js";
14
+ } from "./chunk-3WLEDKOW.js";
15
15
 
16
16
  // src/mcp/client.ts
17
17
  import { spawn } from "child_process";
@@ -0,0 +1,230 @@
1
+ #!/usr/bin/env node
2
+
3
+ // src/hub/convergence.ts
4
+ function convergenceThreshold(total) {
5
+ if (total <= 0) return Infinity;
6
+ return Math.ceil(total * 2 / 3);
7
+ }
8
+ function isConverged(convergedCount, total) {
9
+ if (convergedCount <= 0) return false;
10
+ return convergedCount >= convergenceThreshold(total);
11
+ }
12
+ var CONVERGED_MARKER = /\[CONVERGED\]/i;
13
+ function hasConvergedMarker(content) {
14
+ return CONVERGED_MARKER.test(content);
15
+ }
16
+ function stripConvergedMarker(content) {
17
+ return content.replace(/\s*\[CONVERGED\]\s*/gi, " ").trim();
18
+ }
19
+
20
+ // src/hub/agent.ts
21
+ var PASS_MARKER = "[PASS]";
22
+ function parseTurn(raw) {
23
+ const trimmed = raw.trim();
24
+ const upper = trimmed.toUpperCase();
25
+ if (upper.startsWith(PASS_MARKER) || upper === PASS_MARKER) {
26
+ return { content: "", passed: true, converged: false };
27
+ }
28
+ const converged = hasConvergedMarker(trimmed);
29
+ return { content: converged ? stripConvergedMarker(trimmed) : trimmed, passed: false, converged };
30
+ }
31
+ var HubAgent = class {
32
+ role;
33
+ providers;
34
+ defaultProvider;
35
+ defaultModel;
36
+ /** External context documents injected into system prompt */
37
+ context;
38
+ constructor(role, providers, defaultProvider, defaultModel, context) {
39
+ this.role = role;
40
+ this.providers = providers;
41
+ this.defaultProvider = defaultProvider;
42
+ this.defaultModel = defaultModel;
43
+ this.context = context;
44
+ }
45
+ get providerId() {
46
+ return this.role.provider ?? this.defaultProvider;
47
+ }
48
+ get modelId() {
49
+ return this.role.model ?? this.defaultModel;
50
+ }
51
+ /**
52
+ * Generate this agent's response given the full discussion history.
53
+ *
54
+ * Returns a DiscussionMessage, with `passed: true` if the agent outputs [PASS].
55
+ */
56
+ async speak(topic, history, round, maxRounds, opts) {
57
+ const provider = this.providers.get(this.providerId);
58
+ if (!provider) {
59
+ throw new Error(`Provider "${this.providerId}" not available for agent "${this.role.id}"`);
60
+ }
61
+ const systemPrompt = this.buildSystemPrompt(topic, round, maxRounds, opts?.voteConverge);
62
+ const messages = this.buildMessages(history);
63
+ const response = await provider.chat({
64
+ messages,
65
+ model: this.modelId,
66
+ systemPrompt,
67
+ stream: false,
68
+ temperature: 0.7,
69
+ maxTokens: 4096
70
+ });
71
+ const { content, passed, converged } = parseTurn(response.content);
72
+ return {
73
+ speaker: this.role.id,
74
+ speakerName: this.role.name,
75
+ content,
76
+ timestamp: /* @__PURE__ */ new Date(),
77
+ passed,
78
+ converged
79
+ };
80
+ }
81
+ /**
82
+ * Streaming version of speak() — yields tokens as they arrive.
83
+ * Falls back to non-streaming speak() if the provider doesn't support chatStream.
84
+ */
85
+ async speakStream(topic, history, round, maxRounds, onToken, opts) {
86
+ const provider = this.providers.get(this.providerId);
87
+ if (!provider) {
88
+ throw new Error(`Provider "${this.providerId}" not available for agent "${this.role.id}"`);
89
+ }
90
+ if (!provider.chatStream) {
91
+ return this.speak(topic, history, round, maxRounds, opts);
92
+ }
93
+ const systemPrompt = this.buildSystemPrompt(topic, round, maxRounds, opts?.voteConverge);
94
+ const messages = this.buildMessages(history);
95
+ let raw = "";
96
+ const stream = provider.chatStream({
97
+ messages,
98
+ model: this.modelId,
99
+ systemPrompt,
100
+ stream: true,
101
+ temperature: 0.7,
102
+ maxTokens: 4096
103
+ });
104
+ for await (const chunk of stream) {
105
+ if (chunk.delta) {
106
+ raw += chunk.delta;
107
+ onToken?.(chunk.delta);
108
+ }
109
+ }
110
+ const { content, passed, converged } = parseTurn(raw);
111
+ return {
112
+ speaker: this.role.id,
113
+ speakerName: this.role.name,
114
+ content,
115
+ timestamp: /* @__PURE__ */ new Date(),
116
+ passed,
117
+ converged
118
+ };
119
+ }
120
+ /**
121
+ * Generate a summary of the entire discussion from this agent's perspective.
122
+ */
123
+ async summarize(topic, history) {
124
+ const provider = this.providers.get(this.providerId);
125
+ if (!provider) {
126
+ throw new Error(`Provider "${this.providerId}" not available`);
127
+ }
128
+ const messages = [
129
+ {
130
+ role: "user",
131
+ content: this.buildSummaryPrompt(topic, history),
132
+ timestamp: /* @__PURE__ */ new Date()
133
+ }
134
+ ];
135
+ const response = await provider.chat({
136
+ messages,
137
+ model: this.modelId,
138
+ stream: false,
139
+ temperature: 0.3,
140
+ maxTokens: 4096
141
+ });
142
+ return response.content.trim();
143
+ }
144
+ // ── Private ──────────────────────────────────────────────────────
145
+ buildSystemPrompt(topic, round, maxRounds, voteConverge) {
146
+ const contextSection = this.context ? `
147
+
148
+ ## Reference Documents
149
+ ${this.context}` : "";
150
+ const convergeRule = voteConverge ? `
151
+ - If you believe the group has reached a sufficient conclusion and further rounds would add little, append the marker [CONVERGED] at the very end of your message (you may still make your substantive point above it). When a 2/3 majority converges, the discussion ends.` : "";
152
+ return `# Multi-Agent Discussion \u2014 Role: ${this.role.name}
153
+
154
+ ${this.role.persona}
155
+
156
+ ## Discussion Rules
157
+ - You are participating in a multi-agent discussion about the topic below.
158
+ - You can see what other participants have said. Build on their ideas, challenge them, or add your own perspective.
159
+ - Stay in character as ${this.role.name}. Respond from your role's expertise and viewpoint.
160
+ - Keep responses concise and focused (2-6 paragraphs). Do not repeat what others have already said.
161
+ - If you have nothing meaningful to add (others have covered your points), respond with exactly: [PASS]${convergeRule}
162
+ - This is round ${round} of ${maxRounds}. ${round >= maxRounds - 1 ? "This is one of the final rounds \u2014 try to converge on conclusions." : ""}
163
+ - Use the language that the topic is written in (if the topic is in Chinese, respond in Chinese).
164
+
165
+ ## Topic
166
+ ${topic}${contextSection}`;
167
+ }
168
+ buildMessages(history) {
169
+ const messages = [];
170
+ for (const msg of history) {
171
+ if (msg.passed) continue;
172
+ if (msg.speaker === this.role.id) {
173
+ messages.push({
174
+ role: "assistant",
175
+ content: msg.content,
176
+ timestamp: msg.timestamp
177
+ });
178
+ } else {
179
+ const prefix = `[${msg.speakerName} (${msg.speaker})]:`;
180
+ messages.push({
181
+ role: "user",
182
+ content: `${prefix}
183
+ ${msg.content}`,
184
+ timestamp: msg.timestamp
185
+ });
186
+ }
187
+ }
188
+ if (messages.length === 0) {
189
+ messages.push({
190
+ role: "user",
191
+ content: "Please share your initial thoughts on the topic described in the system prompt. You are the first to speak.",
192
+ timestamp: /* @__PURE__ */ new Date()
193
+ });
194
+ } else {
195
+ messages.push({
196
+ role: "user",
197
+ content: "It is now your turn to respond. Consider what the other participants have said and share your perspective. If you have nothing to add, respond with [PASS].",
198
+ timestamp: /* @__PURE__ */ new Date()
199
+ });
200
+ }
201
+ return messages;
202
+ }
203
+ buildSummaryPrompt(topic, history) {
204
+ const transcript = history.filter((m) => !m.passed).map((m) => `**${m.speakerName}** (${m.speaker}):
205
+ ${m.content}`).join("\n\n---\n\n");
206
+ return `Please synthesize the following multi-agent discussion into a clear, structured summary.
207
+
208
+ ## Discussion Topic
209
+ ${topic}
210
+
211
+ ## Full Transcript
212
+ ${transcript}
213
+
214
+ ## Instructions
215
+ Produce a structured, decision-oriented synthesis with these exact sections:
216
+
217
+ 1. **Decision / Recommendation** \u2014 the single clearest recommendation the discussion points to. If the group genuinely did not converge, say so and give the leading option plus what would settle it.
218
+ 2. **Key Points of Agreement** \u2014 what participants agreed on.
219
+ 3. **Points of Debate** \u2014 where they disagreed, with the competing perspectives.
220
+ 4. **Action Items** \u2014 concrete next steps as a checklist. For each, suggest which role/expertise should own it, e.g. "- [ ] (\u67B6\u6784\u5E08) \u8BC4\u4F30\u670D\u52A1\u62C6\u5206\u8FB9\u754C".
221
+ 5. **Risks & Open Questions** \u2014 unresolved issues and what to watch.
222
+
223
+ Keep it tight (within ~600 words). Use the same language as the discussion.`;
224
+ }
225
+ };
226
+
227
+ export {
228
+ isConverged,
229
+ HubAgent
230
+ };
@@ -1,229 +1,5 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- // src/hub/convergence.ts
4
- function convergenceThreshold(total) {
5
- if (total <= 0) return Infinity;
6
- return Math.ceil(total * 2 / 3);
7
- }
8
- function isConverged(convergedCount, total) {
9
- if (convergedCount <= 0) return false;
10
- return convergedCount >= convergenceThreshold(total);
11
- }
12
- var CONVERGED_MARKER = /\[CONVERGED\]/i;
13
- function hasConvergedMarker(content) {
14
- return CONVERGED_MARKER.test(content);
15
- }
16
- function stripConvergedMarker(content) {
17
- return content.replace(/\s*\[CONVERGED\]\s*/gi, " ").trim();
18
- }
19
-
20
- // src/hub/agent.ts
21
- var PASS_MARKER = "[PASS]";
22
- function parseTurn(raw) {
23
- const trimmed = raw.trim();
24
- const upper = trimmed.toUpperCase();
25
- if (upper.startsWith(PASS_MARKER) || upper === PASS_MARKER) {
26
- return { content: "", passed: true, converged: false };
27
- }
28
- const converged = hasConvergedMarker(trimmed);
29
- return { content: converged ? stripConvergedMarker(trimmed) : trimmed, passed: false, converged };
30
- }
31
- var HubAgent = class {
32
- role;
33
- providers;
34
- defaultProvider;
35
- defaultModel;
36
- /** External context documents injected into system prompt */
37
- context;
38
- constructor(role, providers, defaultProvider, defaultModel, context) {
39
- this.role = role;
40
- this.providers = providers;
41
- this.defaultProvider = defaultProvider;
42
- this.defaultModel = defaultModel;
43
- this.context = context;
44
- }
45
- get providerId() {
46
- return this.role.provider ?? this.defaultProvider;
47
- }
48
- get modelId() {
49
- return this.role.model ?? this.defaultModel;
50
- }
51
- /**
52
- * Generate this agent's response given the full discussion history.
53
- *
54
- * Returns a DiscussionMessage, with `passed: true` if the agent outputs [PASS].
55
- */
56
- async speak(topic, history, round, maxRounds, opts) {
57
- const provider = this.providers.get(this.providerId);
58
- if (!provider) {
59
- throw new Error(`Provider "${this.providerId}" not available for agent "${this.role.id}"`);
60
- }
61
- const systemPrompt = this.buildSystemPrompt(topic, round, maxRounds, opts?.voteConverge);
62
- const messages = this.buildMessages(history);
63
- const response = await provider.chat({
64
- messages,
65
- model: this.modelId,
66
- systemPrompt,
67
- stream: false,
68
- temperature: 0.7,
69
- maxTokens: 4096
70
- });
71
- const { content, passed, converged } = parseTurn(response.content);
72
- return {
73
- speaker: this.role.id,
74
- speakerName: this.role.name,
75
- content,
76
- timestamp: /* @__PURE__ */ new Date(),
77
- passed,
78
- converged
79
- };
80
- }
81
- /**
82
- * Streaming version of speak() — yields tokens as they arrive.
83
- * Falls back to non-streaming speak() if the provider doesn't support chatStream.
84
- */
85
- async speakStream(topic, history, round, maxRounds, onToken, opts) {
86
- const provider = this.providers.get(this.providerId);
87
- if (!provider) {
88
- throw new Error(`Provider "${this.providerId}" not available for agent "${this.role.id}"`);
89
- }
90
- if (!provider.chatStream) {
91
- return this.speak(topic, history, round, maxRounds, opts);
92
- }
93
- const systemPrompt = this.buildSystemPrompt(topic, round, maxRounds, opts?.voteConverge);
94
- const messages = this.buildMessages(history);
95
- let raw = "";
96
- const stream = provider.chatStream({
97
- messages,
98
- model: this.modelId,
99
- systemPrompt,
100
- stream: true,
101
- temperature: 0.7,
102
- maxTokens: 4096
103
- });
104
- for await (const chunk of stream) {
105
- if (chunk.delta) {
106
- raw += chunk.delta;
107
- onToken?.(chunk.delta);
108
- }
109
- }
110
- const { content, passed, converged } = parseTurn(raw);
111
- return {
112
- speaker: this.role.id,
113
- speakerName: this.role.name,
114
- content,
115
- timestamp: /* @__PURE__ */ new Date(),
116
- passed,
117
- converged
118
- };
119
- }
120
- /**
121
- * Generate a summary of the entire discussion from this agent's perspective.
122
- */
123
- async summarize(topic, history) {
124
- const provider = this.providers.get(this.providerId);
125
- if (!provider) {
126
- throw new Error(`Provider "${this.providerId}" not available`);
127
- }
128
- const messages = [
129
- {
130
- role: "user",
131
- content: this.buildSummaryPrompt(topic, history),
132
- timestamp: /* @__PURE__ */ new Date()
133
- }
134
- ];
135
- const response = await provider.chat({
136
- messages,
137
- model: this.modelId,
138
- stream: false,
139
- temperature: 0.3,
140
- maxTokens: 4096
141
- });
142
- return response.content.trim();
143
- }
144
- // ── Private ──────────────────────────────────────────────────────
145
- buildSystemPrompt(topic, round, maxRounds, voteConverge) {
146
- const contextSection = this.context ? `
147
-
148
- ## Reference Documents
149
- ${this.context}` : "";
150
- const convergeRule = voteConverge ? `
151
- - If you believe the group has reached a sufficient conclusion and further rounds would add little, append the marker [CONVERGED] at the very end of your message (you may still make your substantive point above it). When a 2/3 majority converges, the discussion ends.` : "";
152
- return `# Multi-Agent Discussion \u2014 Role: ${this.role.name}
153
-
154
- ${this.role.persona}
155
-
156
- ## Discussion Rules
157
- - You are participating in a multi-agent discussion about the topic below.
158
- - You can see what other participants have said. Build on their ideas, challenge them, or add your own perspective.
159
- - Stay in character as ${this.role.name}. Respond from your role's expertise and viewpoint.
160
- - Keep responses concise and focused (2-6 paragraphs). Do not repeat what others have already said.
161
- - If you have nothing meaningful to add (others have covered your points), respond with exactly: [PASS]${convergeRule}
162
- - This is round ${round} of ${maxRounds}. ${round >= maxRounds - 1 ? "This is one of the final rounds \u2014 try to converge on conclusions." : ""}
163
- - Use the language that the topic is written in (if the topic is in Chinese, respond in Chinese).
164
-
165
- ## Topic
166
- ${topic}${contextSection}`;
167
- }
168
- buildMessages(history) {
169
- const messages = [];
170
- for (const msg of history) {
171
- if (msg.passed) continue;
172
- if (msg.speaker === this.role.id) {
173
- messages.push({
174
- role: "assistant",
175
- content: msg.content,
176
- timestamp: msg.timestamp
177
- });
178
- } else {
179
- const prefix = `[${msg.speakerName} (${msg.speaker})]:`;
180
- messages.push({
181
- role: "user",
182
- content: `${prefix}
183
- ${msg.content}`,
184
- timestamp: msg.timestamp
185
- });
186
- }
187
- }
188
- if (messages.length === 0) {
189
- messages.push({
190
- role: "user",
191
- content: "Please share your initial thoughts on the topic described in the system prompt. You are the first to speak.",
192
- timestamp: /* @__PURE__ */ new Date()
193
- });
194
- } else {
195
- messages.push({
196
- role: "user",
197
- content: "It is now your turn to respond. Consider what the other participants have said and share your perspective. If you have nothing to add, respond with [PASS].",
198
- timestamp: /* @__PURE__ */ new Date()
199
- });
200
- }
201
- return messages;
202
- }
203
- buildSummaryPrompt(topic, history) {
204
- const transcript = history.filter((m) => !m.passed).map((m) => `**${m.speakerName}** (${m.speaker}):
205
- ${m.content}`).join("\n\n---\n\n");
206
- return `Please synthesize the following multi-agent discussion into a clear, structured summary.
207
-
208
- ## Discussion Topic
209
- ${topic}
210
-
211
- ## Full Transcript
212
- ${transcript}
213
-
214
- ## Instructions
215
- Produce a structured, decision-oriented synthesis with these exact sections:
216
-
217
- 1. **Decision / Recommendation** \u2014 the single clearest recommendation the discussion points to. If the group genuinely did not converge, say so and give the leading option plus what would settle it.
218
- 2. **Key Points of Agreement** \u2014 what participants agreed on.
219
- 3. **Points of Debate** \u2014 where they disagreed, with the competing perspectives.
220
- 4. **Action Items** \u2014 concrete next steps as a checklist. For each, suggest which role/expertise should own it, e.g. "- [ ] (\u67B6\u6784\u5E08) \u8BC4\u4F30\u670D\u52A1\u62C6\u5206\u8FB9\u754C".
221
- 5. **Risks & Open Questions** \u2014 unresolved issues and what to watch.
222
-
223
- Keep it tight (within ~600 words). Use the same language as the discussion.`;
224
- }
225
- };
226
-
227
3
  // src/hub/renderer.ts
228
4
  import chalk from "chalk";
229
5
  var ROLE_COLORS = [
@@ -418,8 +194,6 @@ function stripAnsi(s) {
418
194
  }
419
195
 
420
196
  export {
421
- isConverged,
422
- HubAgent,
423
197
  assignRoleColors,
424
198
  renderHubBanner,
425
199
  renderRoundHeader,