pi-brainstorm 0.3.0 → 0.3.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
@@ -30,7 +30,7 @@ pi install npm:pi-brainstorm
30
30
  From GitHub:
31
31
 
32
32
  ```bash
33
- pi install git:github.com/Jarcis-cy/pi-brainstorm@v0.3.0
33
+ pi install git:github.com/Jarcis-cy/pi-brainstorm@v0.3.1
34
34
  ```
35
35
 
36
36
  For local development:
@@ -88,7 +88,7 @@ Agent files generated by pi-brainstorm contain `<!-- managed-by: pi-brainstorm -
88
88
  /debate <topic>
89
89
  ```
90
90
 
91
- `/brainstorm` starts a three-round multi-model brainstorming session.
91
+ `/brainstorm` starts an interactive three-round multi-model brainstorming session. After Round 1 and Round 2, the facilitator should stop, summarize the round, and wait for your feedback or permission before continuing.
92
92
 
93
93
  `/debate` starts an open-ended multi-agent battle that should continue until convergence or user intervention.
94
94
 
@@ -98,7 +98,7 @@ Agent files generated by pi-brainstorm contain `<!-- managed-by: pi-brainstorm -
98
98
  participant model -> meeting_append_entry -> .pi-meetings/... files
99
99
  participant model -> short WROTE_ENTRY summary -> facilitator context
100
100
  file watcher -> compact visible card -> main chat
101
- facilitator -> consensus / disagreement / final synthesis
101
+ facilitator -> round checkpoint / consensus / disagreement / final synthesis
102
102
  ```
103
103
 
104
104
  The blackboard files are the source of truth for the session. The facilitator can read the index or specific entries when producing summaries.
package/README.zh-CN.md CHANGED
@@ -30,7 +30,7 @@ pi install npm:pi-brainstorm
30
30
  通过 GitHub 安装:
31
31
 
32
32
  ```bash
33
- pi install git:github.com/Jarcis-cy/pi-brainstorm@v0.3.0
33
+ pi install git:github.com/Jarcis-cy/pi-brainstorm@v0.3.1
34
34
  ```
35
35
 
36
36
  本地开发安装:
@@ -94,7 +94,7 @@ participants:
94
94
  /debate <主题>
95
95
  ```
96
96
 
97
- `/brainstorm` 启动三轮多模型头脑风暴。
97
+ `/brainstorm` 启动交互式三轮多模型头脑风暴。Round 1 和 Round 2 结束后,主持人应停止、总结本轮,并等待你的反馈或继续许可,再进入下一轮。
98
98
 
99
99
  `/debate` 启动开放式多 Agent battle,直到收敛或用户介入为止。
100
100
 
@@ -104,7 +104,7 @@ participants:
104
104
  参与者模型 -> meeting_append_entry -> .pi-meetings/... 文件
105
105
  参与者模型 -> 短 WROTE_ENTRY 摘要 -> 主持人上下文
106
106
  文件 watcher -> 短卡片 -> 主会话可见区域
107
- 主持人 -> 共识 / 分歧 / 最终综合
107
+ 主持人 -> 每轮 checkpoint / 共识 / 分歧 / 最终综合
108
108
  ```
109
109
 
110
110
  黑板文件是会话事实源。主持人可以按需读取索引或具体条目,然后生成结构化总结。
@@ -525,6 +525,7 @@ function buildBrainstormPrompt(
525
525
  ' - phase: "Round 1", "Round 2", or "Round 3"',
526
526
  " - summary: a ONE-SENTENCE summary of your contribution",
527
527
  " - content: your FULL analysis in Chinese (中文)",
528
+ " - content must contain only the participant's analysis. Do not include wrapper tags, hidden thinking markers, tool-call text, or WROTE_ENTRY text inside content.",
528
529
  "2. After writing, your FINAL ANSWER must be ONLY:",
529
530
  " `WROTE_ENTRY: <your one-sentence summary>`",
530
531
  "3. DO NOT paste your full analysis into the chat. The main agent and user will read it from the blackboard.",
@@ -538,10 +539,12 @@ function buildBrainstormPrompt(
538
539
  "",
539
540
  "## Protocol",
540
541
  "Round 1: Each consultant gives initial analysis on the topic. Run all in parallel.",
541
- "Round 2: Feed prior discussion back to each. Ask each to challenge the others and propose improvements.",
542
- "Round 3: Each gives FINAL recommendation, synthesizing the best ideas.",
542
+ "After Round 1: read the index, present summaries plus a structural overview, then STOP. Ask the user for feedback or permission to continue. Do NOT start Round 2 in the same assistant turn.",
543
+ "Round 2: only after the user replies, feed Round 1 plus the user's VERBATIM feedback back to each consultant. Ask each to challenge the others and propose improvements.",
544
+ "After Round 2: read the index, present summaries plus an updated structural overview, then STOP. Ask the user for feedback or permission to continue. Do NOT start Round 3 in the same assistant turn.",
545
+ "Round 3: only after the user replies, feed all prior rounds plus the user's VERBATIM feedback back to each consultant. Each gives FINAL recommendation, synthesizing the best ideas.",
543
546
  "",
544
- "After Round 3, present the complete structural overview and a synthesized conclusion.",
547
+ "After Round 3, present the complete structural overview and ask whether to write the final conclusion. Only write conclusion.md after the user confirms.",
545
548
  "",
546
549
  "## IMPORTANT",
547
550
  "- All responses in Chinese (中文).",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-brainstorm",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Multi-model brainstorming and debate sessions for pi subagents.",
5
5
  "type": "module",
6
6
  "keywords": [