@jungjaehoon/mama-os 0.9.2 → 0.9.4

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 (139) hide show
  1. package/README.md +41 -7
  2. package/dist/agent/agent-loop.d.ts.map +1 -1
  3. package/dist/agent/agent-loop.js +2 -3
  4. package/dist/agent/agent-loop.js.map +1 -1
  5. package/dist/agent/claude-cli-wrapper.d.ts +4 -4
  6. package/dist/agent/claude-cli-wrapper.d.ts.map +1 -1
  7. package/dist/agent/claude-cli-wrapper.js +17 -5
  8. package/dist/agent/claude-cli-wrapper.js.map +1 -1
  9. package/dist/agent/claude-client.js +3 -3
  10. package/dist/agent/claude-client.js.map +1 -1
  11. package/dist/agent/codex-mcp-process.d.ts +10 -0
  12. package/dist/agent/codex-mcp-process.d.ts.map +1 -1
  13. package/dist/agent/codex-mcp-process.js +226 -58
  14. package/dist/agent/codex-mcp-process.js.map +1 -1
  15. package/dist/agent/gateway-tool-executor.d.ts +15 -1
  16. package/dist/agent/gateway-tool-executor.d.ts.map +1 -1
  17. package/dist/agent/gateway-tool-executor.js +37 -3
  18. package/dist/agent/gateway-tool-executor.js.map +1 -1
  19. package/dist/agent/gateway-tools.md +1 -0
  20. package/dist/agent/persistent-cli-process.d.ts +2 -0
  21. package/dist/agent/persistent-cli-process.d.ts.map +1 -1
  22. package/dist/agent/persistent-cli-process.js +15 -0
  23. package/dist/agent/persistent-cli-process.js.map +1 -1
  24. package/dist/agent/types.d.ts +3 -3
  25. package/dist/agent/types.d.ts.map +1 -1
  26. package/dist/agent/types.js.map +1 -1
  27. package/dist/api/graph-api.d.ts.map +1 -1
  28. package/dist/api/graph-api.js +31 -5
  29. package/dist/api/graph-api.js.map +1 -1
  30. package/dist/cli/commands/start.d.ts.map +1 -1
  31. package/dist/cli/commands/start.js +91 -6
  32. package/dist/cli/commands/start.js.map +1 -1
  33. package/dist/cli/commands/stop.d.ts +7 -1
  34. package/dist/cli/commands/stop.d.ts.map +1 -1
  35. package/dist/cli/commands/stop.js +49 -0
  36. package/dist/cli/commands/stop.js.map +1 -1
  37. package/dist/cli/config/config-manager.d.ts.map +1 -1
  38. package/dist/cli/config/config-manager.js +60 -15
  39. package/dist/cli/config/config-manager.js.map +1 -1
  40. package/dist/cli/config/types.d.ts +19 -5
  41. package/dist/cli/config/types.d.ts.map +1 -1
  42. package/dist/cli/config/types.js +3 -3
  43. package/dist/cli/config/types.js.map +1 -1
  44. package/dist/gateways/image-analyzer.js +1 -1
  45. package/dist/gateways/image-analyzer.js.map +1 -1
  46. package/dist/gateways/slack.d.ts.map +1 -1
  47. package/dist/gateways/slack.js +8 -19
  48. package/dist/gateways/slack.js.map +1 -1
  49. package/dist/multi-agent/agent-process-manager.d.ts +15 -1
  50. package/dist/multi-agent/agent-process-manager.d.ts.map +1 -1
  51. package/dist/multi-agent/agent-process-manager.js +121 -22
  52. package/dist/multi-agent/agent-process-manager.js.map +1 -1
  53. package/dist/multi-agent/background-task-manager.d.ts +2 -2
  54. package/dist/multi-agent/background-task-manager.js +2 -2
  55. package/dist/multi-agent/bmad-templates.d.ts +67 -0
  56. package/dist/multi-agent/bmad-templates.d.ts.map +1 -0
  57. package/dist/multi-agent/bmad-templates.js +248 -0
  58. package/dist/multi-agent/bmad-templates.js.map +1 -0
  59. package/dist/multi-agent/council-engine.d.ts +60 -0
  60. package/dist/multi-agent/council-engine.d.ts.map +1 -0
  61. package/dist/multi-agent/council-engine.js +284 -0
  62. package/dist/multi-agent/council-engine.js.map +1 -0
  63. package/dist/multi-agent/multi-agent-base.d.ts +18 -9
  64. package/dist/multi-agent/multi-agent-base.d.ts.map +1 -1
  65. package/dist/multi-agent/multi-agent-base.js +116 -33
  66. package/dist/multi-agent/multi-agent-base.js.map +1 -1
  67. package/dist/multi-agent/multi-agent-discord.d.ts +3 -35
  68. package/dist/multi-agent/multi-agent-discord.d.ts.map +1 -1
  69. package/dist/multi-agent/multi-agent-discord.js +81 -302
  70. package/dist/multi-agent/multi-agent-discord.js.map +1 -1
  71. package/dist/multi-agent/multi-agent-slack.d.ts +2 -25
  72. package/dist/multi-agent/multi-agent-slack.d.ts.map +1 -1
  73. package/dist/multi-agent/multi-agent-slack.js +173 -253
  74. package/dist/multi-agent/multi-agent-slack.js.map +1 -1
  75. package/dist/multi-agent/runtime-process.d.ts +3 -0
  76. package/dist/multi-agent/runtime-process.d.ts.map +1 -1
  77. package/dist/multi-agent/runtime-process.js +4 -0
  78. package/dist/multi-agent/runtime-process.js.map +1 -1
  79. package/dist/multi-agent/shared-context.d.ts.map +1 -1
  80. package/dist/multi-agent/shared-context.js +4 -4
  81. package/dist/multi-agent/shared-context.js.map +1 -1
  82. package/dist/multi-agent/system-reminder.d.ts +1 -1
  83. package/dist/multi-agent/system-reminder.js +1 -1
  84. package/dist/multi-agent/types.d.ts +31 -15
  85. package/dist/multi-agent/types.d.ts.map +1 -1
  86. package/dist/multi-agent/types.js +1 -3
  87. package/dist/multi-agent/types.js.map +1 -1
  88. package/dist/multi-agent/ultrawork-state.d.ts +57 -0
  89. package/dist/multi-agent/ultrawork-state.d.ts.map +1 -0
  90. package/dist/multi-agent/ultrawork-state.js +191 -0
  91. package/dist/multi-agent/ultrawork-state.js.map +1 -0
  92. package/dist/multi-agent/ultrawork.d.ts +37 -19
  93. package/dist/multi-agent/ultrawork.d.ts.map +1 -1
  94. package/dist/multi-agent/ultrawork.js +587 -41
  95. package/dist/multi-agent/ultrawork.js.map +1 -1
  96. package/dist/multi-agent/workflow-engine.d.ts +7 -0
  97. package/dist/multi-agent/workflow-engine.d.ts.map +1 -1
  98. package/dist/multi-agent/workflow-engine.js +238 -33
  99. package/dist/multi-agent/workflow-engine.js.map +1 -1
  100. package/dist/multi-agent/workflow-types.d.ts +74 -1
  101. package/dist/multi-agent/workflow-types.d.ts.map +1 -1
  102. package/dist/onboarding/complete-autonomous-prompt.d.ts +1 -1
  103. package/dist/onboarding/complete-autonomous-prompt.d.ts.map +1 -1
  104. package/dist/onboarding/complete-autonomous-prompt.js +27 -10
  105. package/dist/onboarding/complete-autonomous-prompt.js.map +1 -1
  106. package/dist/onboarding/phase-7-integrations.d.ts.map +1 -1
  107. package/dist/onboarding/phase-7-integrations.js +23 -3
  108. package/dist/onboarding/phase-7-integrations.js.map +1 -1
  109. package/dist/onboarding/phase-9-finalization.d.ts.map +1 -1
  110. package/dist/onboarding/phase-9-finalization.js +33 -0
  111. package/dist/onboarding/phase-9-finalization.js.map +1 -1
  112. package/dist/setup/setup-prompt.d.ts +1 -1
  113. package/dist/setup/setup-prompt.d.ts.map +1 -1
  114. package/dist/setup/setup-prompt.js +1 -1
  115. package/package.json +1 -1
  116. package/public/viewer/js/modules/settings.js +110 -15
  117. package/public/viewer/js/utils/format.js +10 -7
  118. package/public/viewer/src/modules/settings.ts +133 -16
  119. package/public/viewer/src/utils/api.ts +2 -1
  120. package/public/viewer/src/utils/format.ts +10 -7
  121. package/public/viewer/viewer.html +1 -0
  122. package/templates/bmad/LICENSE +28 -0
  123. package/templates/bmad/architecture.md +343 -0
  124. package/templates/bmad/bmm-workflow-status.template.yaml +66 -0
  125. package/templates/bmad/prd.md +198 -0
  126. package/templates/bmad/product-brief.md +149 -0
  127. package/templates/bmad/sprint-status.template.yaml +35 -0
  128. package/templates/bmad/tech-spec.md +151 -0
  129. package/templates/personas/architect.md +70 -0
  130. package/templates/personas/conductor.md +373 -0
  131. package/templates/personas/developer.md +20 -7
  132. package/templates/personas/pm.md +49 -33
  133. package/templates/personas/reviewer.md +18 -5
  134. package/dist/multi-agent/pr-review-poller.d.ts +0 -197
  135. package/dist/multi-agent/pr-review-poller.d.ts.map +0 -1
  136. package/dist/multi-agent/pr-review-poller.js +0 -972
  137. package/dist/multi-agent/pr-review-poller.js.map +0 -1
  138. package/templates/personas/sisyphus-builtin-en.md +0 -161
  139. package/templates/personas/sisyphus.md +0 -218
@@ -0,0 +1,149 @@
1
+ # Product Brief: {{project_name}}
2
+
3
+ **Date:** {{date}}
4
+ **Author:** {{user_name}}
5
+ **Version:** 1.0
6
+ **Project Type:** {{project_type}}
7
+ **Project Level:** {{project_level}}
8
+
9
+ ---
10
+
11
+ ## Executive Summary
12
+
13
+ {{executive_summary}}
14
+
15
+ ---
16
+
17
+ ## Problem Statement
18
+
19
+ ### The Problem
20
+
21
+ {{problem_statement}}
22
+
23
+ ### Why Now?
24
+
25
+ {{why_now}}
26
+
27
+ ### Impact if Unsolved
28
+
29
+ {{impact_if_unsolved}}
30
+
31
+ ---
32
+
33
+ ## Target Audience
34
+
35
+ ### Primary Users
36
+
37
+ {{primary_users}}
38
+
39
+ ### Secondary Users
40
+
41
+ {{secondary_users}}
42
+
43
+ ### User Needs
44
+
45
+ {{user_needs}}
46
+
47
+ ---
48
+
49
+ ## Solution Overview
50
+
51
+ ### Proposed Solution
52
+
53
+ {{proposed_solution}}
54
+
55
+ ### Key Features
56
+
57
+ {{key_features}}
58
+
59
+ ### Value Proposition
60
+
61
+ {{value_proposition}}
62
+
63
+ ---
64
+
65
+ ## Business Objectives
66
+
67
+ ### Goals
68
+
69
+ {{business_goals}}
70
+
71
+ ### Success Metrics
72
+
73
+ {{success_metrics}}
74
+
75
+ ### Business Value
76
+
77
+ {{business_value}}
78
+
79
+ ---
80
+
81
+ ## Scope
82
+
83
+ ### In Scope
84
+
85
+ {{in_scope}}
86
+
87
+ ### Out of Scope
88
+
89
+ {{out_of_scope}}
90
+
91
+ ### Future Considerations
92
+
93
+ {{future_considerations}}
94
+
95
+ ---
96
+
97
+ ## Key Stakeholders
98
+
99
+ {{stakeholders}}
100
+
101
+ ---
102
+
103
+ ## Constraints and Assumptions
104
+
105
+ ### Constraints
106
+
107
+ {{constraints}}
108
+
109
+ ### Assumptions
110
+
111
+ {{assumptions}}
112
+
113
+ ---
114
+
115
+ ## Success Criteria
116
+
117
+ {{success_criteria}}
118
+
119
+ ---
120
+
121
+ ## Timeline and Milestones
122
+
123
+ ### Target Launch
124
+
125
+ {{target_launch}}
126
+
127
+ ### Key Milestones
128
+
129
+ {{key_milestones}}
130
+
131
+ ---
132
+
133
+ ## Risks and Mitigation
134
+
135
+ {{risks}}
136
+
137
+ ---
138
+
139
+ ## Next Steps
140
+
141
+ 1. Create Product Requirements Document (PRD) - `/prd`
142
+ 2. Conduct user research (optional) - `/research`
143
+ 3. Create UX design (if UI-heavy) - `/create-ux-design`
144
+
145
+ ---
146
+
147
+ **This document was created using BMAD Method v6 - Phase 1 (Analysis)**
148
+
149
+ _To continue: Run `/workflow-status` to see your progress and next recommended workflow._
@@ -0,0 +1,35 @@
1
+ # BMAD Method Sprint Status
2
+ # Generated: {{TIMESTAMP}}
3
+ # Project: {{PROJECT_NAME}}
4
+
5
+ project_name: "{{PROJECT_NAME}}"
6
+ sprint_number: 1
7
+ sprint_goal: "{{SPRINT_GOAL}}"
8
+ sprint_start_date: "{{START_DATE}}"
9
+ sprint_end_date: ""
10
+ last_updated: "{{TIMESTAMP}}"
11
+
12
+ # Epic and Story Tracking
13
+ epics: []
14
+ # Example structure:
15
+ # - id: "epic-001"
16
+ # name: "Epic Name"
17
+ # description: "Epic description"
18
+ # status: "not-started" # not-started, in-progress, completed
19
+ # stories:
20
+ # - id: "story-001"
21
+ # name: "Story name"
22
+ # description: "Story description"
23
+ # status: "not-started" # not-started, in-progress, dev-complete, code-review, done
24
+ # file: "docs/stories/epic-001/story-001.md"
25
+ # assigned_to: ""
26
+ # estimate: ""
27
+ # actual: ""
28
+
29
+ # Sprint Metrics
30
+ metrics:
31
+ total_epics: 0
32
+ total_stories: 0
33
+ stories_completed: 0
34
+ stories_in_progress: 0
35
+ stories_not_started: 0
@@ -0,0 +1,151 @@
1
+ # Technical Specification: {{project_name}}
2
+
3
+ **Date:** {{date}}
4
+ **Author:** {{user_name}}
5
+ **Version:** 1.0
6
+ **Project Type:** {{project_type}}
7
+ **Project Level:** {{project_level}}
8
+ **Status:** Draft
9
+
10
+ ---
11
+
12
+ ## Document Overview
13
+
14
+ This Technical Specification provides focused technical planning for {{project_name}}. It is designed for smaller projects (Level 0-1) that need clear requirements without heavyweight PRD overhead.
15
+
16
+ **Related Documents:**
17
+
18
+ - Product Brief: {{product_brief_path}}
19
+
20
+ ---
21
+
22
+ ## Problem & Solution
23
+
24
+ ### Problem Statement
25
+
26
+ {{problem_statement}}
27
+
28
+ ### Proposed Solution
29
+
30
+ {{proposed_solution}}
31
+
32
+ ---
33
+
34
+ ## Requirements
35
+
36
+ ### What Needs to Be Built
37
+
38
+ {{requirements_list}}
39
+
40
+ ### What This Does NOT Include
41
+
42
+ {{out_of_scope}}
43
+
44
+ ---
45
+
46
+ ## Technical Approach
47
+
48
+ ### Technology Stack
49
+
50
+ {{tech_stack}}
51
+
52
+ ### Architecture Overview
53
+
54
+ {{architecture_overview}}
55
+
56
+ ### Data Model (if applicable)
57
+
58
+ {{data_model}}
59
+
60
+ ### API Design (if applicable)
61
+
62
+ {{api_design}}
63
+
64
+ ---
65
+
66
+ ## Implementation Plan
67
+
68
+ ### Stories
69
+
70
+ {{stories_list}}
71
+
72
+ ### Development Phases
73
+
74
+ {{development_phases}}
75
+
76
+ ---
77
+
78
+ ## Acceptance Criteria
79
+
80
+ How we'll know it's done:
81
+
82
+ {{acceptance_criteria}}
83
+
84
+ ---
85
+
86
+ ## Non-Functional Requirements
87
+
88
+ ### Performance
89
+
90
+ {{performance_requirements}}
91
+
92
+ ### Security
93
+
94
+ {{security_requirements}}
95
+
96
+ ### Other
97
+
98
+ {{other_nfr}}
99
+
100
+ ---
101
+
102
+ ## Dependencies
103
+
104
+ {{dependencies}}
105
+
106
+ ---
107
+
108
+ ## Risks & Mitigation
109
+
110
+ {{risks}}
111
+
112
+ ---
113
+
114
+ ## Timeline
115
+
116
+ **Target Completion:** {{target_completion}}
117
+
118
+ **Milestones:**
119
+ {{milestones}}
120
+
121
+ ---
122
+
123
+ ## Approval
124
+
125
+ **Reviewed By:**
126
+
127
+ - [ ] {{user_name}} (Author)
128
+ - [ ] Technical Lead
129
+ - [ ] Product Owner
130
+
131
+ ---
132
+
133
+ ## Next Steps
134
+
135
+ ### Phase 4: Implementation
136
+
137
+ For Level 0 projects (single story):
138
+
139
+ - Run `/create-story` to create the story
140
+ - Run `/dev-story` to implement
141
+
142
+ For Level 1 projects (1-10 stories):
143
+
144
+ - Run `/sprint-planning` to plan your sprint
145
+ - Then create and implement stories
146
+
147
+ ---
148
+
149
+ **This document was created using BMAD Method v6 - Phase 2 (Planning)**
150
+
151
+ _To continue: Run `/workflow-status` to see your progress and next recommended workflow._
@@ -0,0 +1,70 @@
1
+ # Architect - System Design Specialist
2
+
3
+ You are Architect, a system design specialist. You analyze architectures, evaluate trade-offs, and advise on technical decisions.
4
+
5
+ ## Role
6
+
7
+ - **Tier 2 Advisory Agent** — design, analyze, advise. Read-only.
8
+ - Focus on system-level concerns: scalability, security, maintainability, performance
9
+ - Provide architectural perspective in council discussions and design reviews
10
+
11
+ ## Core Principles
12
+
13
+ 1. **Requirements-Driven** — Architecture must satisfy both functional and non-functional requirements
14
+ 2. **Simplicity First** — Simplest solution that meets requirements wins
15
+ 3. **Loose Coupling** — Components should be independent and replaceable
16
+ 4. **Defense in Depth** — Security, reliability, and observability are first-class concerns
17
+ 5. **Evidence-Based** — Back recommendations with concrete trade-off analysis
18
+
19
+ ## Expertise Areas
20
+
21
+ - System architecture and component design
22
+ - Technology stack selection and justification
23
+ - Data modeling and API design
24
+ - Non-functional requirements (performance, scalability, security)
25
+ - Distributed systems patterns
26
+ - Migration and evolution strategies
27
+ - Cost-benefit analysis of technical decisions
28
+
29
+ ## Council Discussion Behavior
30
+
31
+ When participating in a council discussion:
32
+
33
+ 1. **Focus on architecture** — Evaluate proposals from a system design perspective
34
+ 2. **Trade-off analysis** — Always present pros AND cons, not just one side
35
+ 3. **Concrete examples** — Reference real patterns, not abstract theory
36
+ 4. **Challenge assumptions** — Ask "what happens when X scales?" or "how does this handle failure?"
37
+ 5. **Build on others** — Acknowledge good points from other agents, extend or refine them
38
+ 6. **Disagree constructively** — If you disagree, explain WHY with specific technical reasoning
39
+
40
+ ### Response Structure in Discussions
41
+
42
+ ```
43
+ **Architecture Perspective:**
44
+ [Your main point — 2-3 sentences]
45
+
46
+ **Trade-offs:**
47
+ - Pro: [specific advantage]
48
+ - Con: [specific risk or limitation]
49
+
50
+ **Recommendation:** [clear, actionable suggestion]
51
+ ```
52
+
53
+ ## Review Capabilities
54
+
55
+ When reviewing architecture or design decisions:
56
+
57
+ 1. **Component boundaries** — Are responsibilities clearly separated?
58
+ 2. **Data flow** — Is data moving efficiently? Any unnecessary hops?
59
+ 3. **Failure modes** — What happens when components fail?
60
+ 4. **Scalability** — Can this handle 10x/100x growth?
61
+ 5. **Security surface** — What's exposed? What needs protection?
62
+ 6. **Operational complexity** — Can the team maintain this?
63
+
64
+ ## Communication Style
65
+
66
+ - English default, match user's language
67
+ - Structured analysis with clear sections
68
+ - Concrete over abstract — specific patterns, specific risks
69
+ - Decisive — give a recommendation, don't just list options
70
+ - Concise — architecture insights, not essays