bmm-opencode 1.3.1 → 1.3.3

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.
@@ -365,6 +365,7 @@ Provide your expert perspective on this topic. Think deeply and thoroughly.
365
365
  - `deep [topic]` - Deep dive on specific topic
366
366
  - `vote [options]` - Get agent votes on decision
367
367
  - `summarize` - Get executive summary
368
+ - `report` - End meeting and generate summary report file (choose summary or detailed)
368
369
  - `exit` - End meeting
369
370
  ```
370
371
 
@@ -479,6 +480,7 @@ meeting_state:
479
480
  | `attendees` | Show current participants | |
480
481
  | `summarize` | Executive summary | |
481
482
  | `actions` | List action items | |
483
+ | `report` | End meeting + generate report file | `report`, `report summary`, `report detailed` |
482
484
  | `exit` / `end` | End meeting | |
483
485
 
484
486
  ---
@@ -560,10 +562,168 @@ for task_id in active_tasks:
560
562
 
561
563
  ---
562
564
 
565
+ ## Meeting Report Generation
566
+
567
+ When user types `report`, or when exiting via `exit`/`end`:
568
+
569
+ ### Report Trigger Flow
570
+
571
+ ```
572
+ User: report
573
+
574
+ Response:
575
+ 📝 **Generate Meeting Report**
576
+
577
+ Choose report format:
578
+ - [S] **Summary** - Executive summary with key decisions and action items (~1 page)
579
+ - [D] **Detailed** - Full meeting minutes with all agent contributions, discussion threads, and decision rationale (~3-5 pages)
580
+
581
+ User: S (or D)
582
+
583
+ Response:
584
+ 📄 Generating report...
585
+ ✅ Meeting report saved to: {output_folder}/meeting-reports/meeting-report-{YYYY-MM-DD-HHmm}.md
586
+ ```
587
+
588
+ ### Report File Structure
589
+
590
+ **Summary Report** (`report` or `report summary`):
591
+
592
+ ```markdown
593
+ # Meeting Report - {meeting_topic}
594
+
595
+ **Date**: {date}
596
+ **Duration**: {duration}
597
+ **Participants**: {list of agent names with icons}
598
+ **Facilitator**: Party Mode
599
+
600
+ ---
601
+
602
+ ## Executive Summary
603
+ [2-3 sentence synthesis of the meeting]
604
+
605
+ ## Key Decisions
606
+ | # | Decision | Rationale | Owner |
607
+ |---|----------|-----------|-------|
608
+ | 1 | [decision] | [why] | [agent] |
609
+
610
+ ## Action Items
611
+ | # | Action | Owner | Priority | Deadline |
612
+ |---|--------|-------|----------|----------|
613
+ | 1 | [task] | [agent] | 🔴/🟡/🟢 | [if discussed] |
614
+
615
+ ## Open Questions
616
+ - [unresolved question 1]
617
+ - [unresolved question 2]
618
+
619
+ ## Next Steps
620
+ - [recommended follow-up 1]
621
+ - [recommended follow-up 2]
622
+ ```
623
+
624
+ **Detailed Report** (`report detailed`):
625
+
626
+ ```markdown
627
+ # Meeting Report - {meeting_topic}
628
+
629
+ **Date**: {date}
630
+ **Duration**: {duration}
631
+ **Participants**: {list of agent names with icons and titles}
632
+ **Facilitator**: Party Mode
633
+ **Discussion Rounds**: {count}
634
+
635
+ ---
636
+
637
+ ## Executive Summary
638
+ [2-3 sentence synthesis of the meeting]
639
+
640
+ ## Meeting Agenda & Context
641
+ [Original meeting topic and background provided by user]
642
+
643
+ ## Discussion Timeline
644
+
645
+ ### Round 1: [Topic/Question]
646
+ **Participants**: [agents involved]
647
+
648
+ #### {icon} {Agent Name} ({title})
649
+ [Full contribution from this agent]
650
+
651
+ #### {icon} {Agent Name} ({title})
652
+ [Full contribution from this agent]
653
+
654
+ **Round Outcome**: [What was concluded in this round]
655
+
656
+ ---
657
+
658
+ ### Round 2: [Topic/Question]
659
+ [... same structure for each discussion round ...]
660
+
661
+ ---
662
+
663
+ ## Synthesis
664
+
665
+ ### ✅ Consensus Points
666
+ - [What agents agreed on, with supporting agents listed]
667
+
668
+ ### ⚠️ Divergent Views
669
+ | Topic | Perspective A | Perspective B | Resolution |
670
+ |-------|--------------|--------------|------------|
671
+ | [topic] | {Agent}: [view] | {Agent}: [view] | [how resolved or still open] |
672
+
673
+ ### Decision Log
674
+ | # | Decision | Rationale | Proposed By | Supported By |
675
+ |---|----------|-----------|-------------|-------------|
676
+ | 1 | [decision] | [reasoning] | [agent] | [agents] |
677
+
678
+ ## Action Items
679
+ | # | Action | Owner | Priority | Deadline | Context |
680
+ |---|--------|-------|----------|----------|---------|
681
+ | 1 | [task] | [agent] | 🔴/🟡/🟢 | [if discussed] | [brief context] |
682
+
683
+ ## Open Questions & Risks
684
+ | # | Question/Risk | Raised By | Impact | Suggested Resolution |
685
+ |---|--------------|-----------|--------|---------------------|
686
+ | 1 | [question] | [agent] | [impact] | [suggestion] |
687
+
688
+ ## Recommendations for Follow-up
689
+ - [Specific follow-up with recommended agents]
690
+
691
+ ## Appendix: Agent Roster
692
+ | Agent | Title | Key Contribution |
693
+ |-------|-------|-----------------|
694
+ | {icon} {name} | {title} | [one-line summary] |
695
+ ```
696
+
697
+ ### Report Generation Rules
698
+
699
+ 1. **On `report` command**: Ask user to choose Summary [S] or Detailed [D]
700
+ 2. **On `report summary`**: Generate summary report directly
701
+ 3. **On `report detailed`**: Generate detailed report directly
702
+ 4. **On `exit`/`end`**: Ask "Would you like to generate a meeting report before ending? [S] Summary / [D] Detailed / [N] No, just exit"
703
+ 5. **File output**: Use `write` tool to save the report as a markdown file
704
+ 6. **File path**: `{output_folder}/meeting-reports/meeting-report-{YYYY-MM-DD-HHmm}.md` (create directory if needed)
705
+ 7. **After report saved**: Show the file path and then proceed with exit if triggered by exit command
706
+
707
+ ---
708
+
563
709
  ## Graceful Exit
564
710
 
565
711
  When user types `exit`, `end`, or `goodbye`:
566
712
 
713
+ **Step 1: Offer report generation**
714
+
715
+ ```
716
+ 📝 Before we wrap up — would you like to generate a meeting report?
717
+
718
+ - [S] **Summary Report** - Key decisions + action items (~1 page)
719
+ - [D] **Detailed Report** - Full meeting minutes with all contributions (~3-5 pages)
720
+ - [N] **No thanks** - Just end the meeting
721
+ ```
722
+
723
+ **Step 2: Generate report if requested** (see Meeting Report Generation section above)
724
+
725
+ **Step 3: Show meeting conclusion**
726
+
567
727
  ```
568
728
  ## 🎊 Meeting Concluded
569
729
 
@@ -572,6 +732,7 @@ When user types `exit`, `end`, or `goodbye`:
572
732
  - **Duration**: {duration}
573
733
  - **Participants**: {list of agents}
574
734
  - **Discussion Rounds**: {count}
735
+ - **Report**: {file path if generated, or "Not generated"}
575
736
 
576
737
  ### Key Decisions Made
577
738
  1. [decision 1]
@@ -592,8 +753,7 @@ When user types `exit`, `end`, or `goodbye`:
592
753
 
593
754
  ---
594
755
 
595
- Thank you for using Party Mode!
596
- Meeting notes can be saved with `save [filename]`.
756
+ Thank you for using Party Mode! 🎉
597
757
  ```
598
758
 
599
759
  ---
@@ -127,6 +127,79 @@ Choose:
127
127
  | `max_retry_per_story` | 3 | Retries before blocking |
128
128
  | `dev_category` | deep | delegate_task category for dev |
129
129
  | `review_category` | ultrabrain | delegate_task category for review |
130
+ | `delegated_mode` | false | Auto-detected when pre-filled params present in prompt |
131
+
132
+ ---
133
+
134
+ ## DELEGATED MODE (Sisyphus Ultrawork Support)
135
+
136
+ When this workflow is launched via `delegate_task` by an orchestrator (e.g., Sisyphus ultrawork), interactive prompts cannot reach the user. Delegated mode solves this.
137
+
138
+ ### Detection
139
+
140
+ Delegated mode activates automatically when the prompt contains a `PRE-SELECTED:` block:
141
+
142
+ ```
143
+ PRE-SELECTED:
144
+ - epic: epic-2
145
+ - mode: autopilot | continue | select
146
+ - execution: parallel | sequential
147
+ - max_parallel: 3
148
+ ```
149
+
150
+ ### Behavior Changes in Delegated Mode
151
+
152
+ | Step | Normal Mode | Delegated Mode |
153
+ |------|-------------|----------------|
154
+ | Step 1 Selection 1 | Ask user: epic choice | Use `pre-selected.epic` |
155
+ | Step 1 Selection 2 | Ask user: execution mode | Use `pre-selected.execution` |
156
+ | Step 2 Plan confirm | Ask user: proceed? | Auto-proceed (Y) |
157
+ | Step 4 Needs-fixes | Ask user: auto-fix? | Auto-fix always |
158
+ | Step 5 Continue? | Ask user: continue/pause/exit | Auto-continue (autopilot behavior) |
159
+
160
+ ### Pre-Fill Format (for orchestrators)
161
+
162
+ ```
163
+ TASK: Run dev-team-mode
164
+
165
+ PRE-SELECTED:
166
+ - epic: epic-2
167
+ - mode: autopilot
168
+ - execution: parallel
169
+ - max_parallel: 3
170
+
171
+ CONTEXT:
172
+ - sprint_status: {path to sprint-status.yaml}
173
+ - story_dir: {path to story files}
174
+ - project_context: {path to project-context.md}
175
+ ```
176
+
177
+ ### Structured Output (returned to orchestrator)
178
+
179
+ When delegated mode completes or exits, return a structured summary:
180
+
181
+ ```yaml
182
+ DEV_TEAM_MODE_RESULT:
183
+ status: completed | blocked | paused | error
184
+ epic: epic-2
185
+ loops: 3
186
+ stories:
187
+ done: [1-1-setup, 1-2-auth, 1-3-data]
188
+ failed: []
189
+ blocked: [1-4-integration]
190
+ remaining: [1-5-polish]
191
+ summary: "3 stories completed, 1 blocked on missing API dependency"
192
+ action_required: "Resolve 1-4 dependency on external API, then re-run"
193
+ ```
194
+
195
+ ### Context Management for Long Loops
196
+
197
+ In delegated mode, after each loop (Step 5), discard raw agent outputs and retain only:
198
+ - Per-story status (done/failed/blocked + one-line reason)
199
+ - Cumulative stats
200
+ - Current sprint-status.yaml state
201
+
202
+ This prevents context window overflow during multi-loop autopilot runs.
130
203
 
131
204
  ---
132
205
 
package/README.md CHANGED
@@ -163,6 +163,7 @@ curl -s https://raw.githubusercontent.com/Jack-R-Hong/BMM-opencode/refs/heads/ma
163
163
 
164
164
  | Version | Agents | Skills | Changes |
165
165
  |---------|--------|--------|---------|
166
+ | 1.3.2 | 19 | 62 | Dev-team-mode: delegated mode for orchestrator support |
166
167
  | 1.3.1 | 19 | 62 | Party-mode: agent titles with first impressions |
167
168
  | 1.3.0 | 19 | 62 | Added `dev-team-mode` parallel development orchestrator |
168
169
  | 1.2.0 | 19 | 61 | Added `party-mode`, `gen-subagent`, upgrade docs |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bmm-opencode",
3
- "version": "1.3.1",
3
+ "version": "1.3.3",
4
4
  "description": "BMAD-METHOD agents and skills for OpenCode - AI agent framework with 19 specialized agents and 62 workflow skills",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",