Skip to content

Commit d7fc3d3

Browse files
hyunjaehyunjae
authored andcommitted
chore: release 4.2.0 with superagent mcp
1 parent 6a93edb commit d7fc3d3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+3235
-1378
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ GEMINI.md
108108
*.backup
109109
*.bak
110110
SuperGemini/Agents/
111-
AGENTS.md
111+
AGENTS.md
112112

113113
# Project specific
114114
Tests/

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10-
## [4.0.10] - 2025-09-26
10+
## [4.2.0] - 2025-09-26
1111

1212
### Fixed
1313
- Enhanced MCP prerequisite detection to reliably locate `node`, `npm`, and `uv` across common version managers and PATH fallbacks, preventing false "not found" errors during installation (`setup/components/mcp.py`).
1414

1515
### Changed
16-
- Synchronized all published artifacts (PyPI + npm) and documentation with version `4.0.10`, ensuring installers and badges reference the corrected release.
16+
- Synchronized all published artifacts (PyPI + npm) and documentation with version `4.2.0`, ensuring installers and badges reference the corrected release.
1717

1818
## [4.0.9] - 2025-08-24
1919

Docs/Reference/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ Advanced Analysis: diagnostic-reference.md
9999
|----------------|---------|---------|
100100
| `/sg:load` | Restore session context | `/sg:load project_name` |
101101
| `/sg:save` | Preserve session state | `/sg:save "milestone checkpoint"` |
102-
| `--think` | Enable structured analysis | `--think analyze performance bottlenecks` |
103-
| `` | Collaborative requirement discovery | ` new authentication system` |
102+
| `--introspect` | Expose structured reasoning | `--introspect analyze performance bottlenecks` |
103+
| `/sg:brainstorm` | Collaborative requirement discovery | `/sg:brainstorm "new authentication system"` |
104104
| `--task-manage` | Multi-step operation orchestration | `--task-manage refactor user module` |
105105

106106
### Performance & Efficiency Flags
@@ -133,7 +133,7 @@ Advanced Analysis: diagnostic-reference.md
133133
--c7 --magic "implement Next.js authentication with TypeScript"
134134

135135
# Component development workflow
136-
--magic --think "create responsive dashboard component"
136+
--magic --introspect "create responsive dashboard component"
137137
```
138138

139139
### Node.js/Express Backend
@@ -142,7 +142,7 @@ Advanced Analysis: diagnostic-reference.md
142142
--c7 --seq "design RESTful API with Express and MongoDB"
143143

144144
# Performance optimization
145-
--think --orchestrate "optimize database queries and caching"
145+
--introspect --orchestrate "optimize database queries and caching"
146146
```
147147

148148
### Full-Stack Development
@@ -203,7 +203,7 @@ Found outdated information or broken examples?
203203

204204
### Daily Workflow Optimization
205205
1. **Session Management**: Always start with `/sg:load`, end with `/sg:save`
206-
2. **Flag Combinations**: Combine complementary flags: `--think --c7` for documented analysis
206+
2. **Flag Combinations**: Combine complementary flags: `--introspect --c7` for documented analysis
207207
3. **Progressive Complexity**: Start simple, add sophistication incrementally
208208
4. **Tool Specialization**: Match tools to tasks: Magic for UI, Sequential for analysis
209209

@@ -215,7 +215,7 @@ Found outdated information or broken examples?
215215

216216
### Troubleshooting Mastery
217217
1. **Systematic Approach**: Always start with [common-issues.md](common-issues.md)
218-
2. **Evidence Gathering**: Use `--think` for complex problem analysis
218+
2. **Evidence Gathering**: Use `--introspect` for complex problem analysis
219219
3. **Root Cause Focus**: Address underlying issues, not just symptoms
220220
4. **Documentation First**: Check official docs before experimental solutions
221221

@@ -247,4 +247,4 @@ Found outdated information or broken examples?
247247

248248
**Need Answers Now**: Jump to [basic-examples.md](basic-examples.md) for copy-paste solutions.
249249

250-
**Ready for Advanced**: Explore [advanced-patterns.md](advanced-patterns.md) for expert-level orchestration.
250+
**Ready for Advanced**: Explore [advanced-patterns.md](advanced-patterns.md) for expert-level orchestration.

Docs/Reference/advanced-workflows.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989

9090
/sg:save "ecommerce-requirements-complete"
9191

92-
/sg:analyze "microservices architecture for e-commerce" --focus architecture --think-hard
92+
/sg:analyze "microservices architecture for e-commerce" --focus architecture --introspect
9393
# Expected: Service boundaries, data flow diagrams, technology recommendations
9494
# ✅ Verified: SuperGemini v4.0
9595

@@ -123,7 +123,7 @@
123123
# Expected: Full test suite with E2E, integration, and unit coverage
124124
# ✅ Verified: SuperGemini v4.0
125125

126-
/sg:analyze . --focus performance --think-hard && /sg:implement "performance optimizations" --focus performance --orchestrate
126+
/sg:analyze . --focus performance --introspect && /sg:implement "performance optimizations" --focus performance --orchestrate
127127
# Expected: Performance bottleneck identification and optimization
128128
# ✅ Verified: SuperGemini v4.0
129129
```
@@ -144,7 +144,7 @@
144144
# Phase 2: Modernization Strategy
145145
/sg:load "legacy-analysis-complete"
146146

147-
/sg:analyze "microservices migration strategy" --focus architecture --think-hard --c7
147+
/sg:analyze "microservices migration strategy" --focus architecture --introspect --c7
148148
# Activates: system-architect + enterprise patterns + migration strategies
149149
# Expected: Service decomposition plan, migration roadmap, risk assessment
150150
# ✅ Verified: SuperGemini v4.0
@@ -184,7 +184,7 @@
184184
### Open Source Project Development
185185
```bash
186186
# Understanding and Contributing to Large Projects
187-
/sg:load open-source-project/ && /sg:analyze . --focus architecture --think-hard --serena
187+
/sg:load open-source-project/ && /sg:analyze . --focus architecture --introspect --serena
188188
# Expected: Architecture understanding, contribution patterns, codebase navigation
189189
# ✅ Verified: SuperGemini v4.0
190190

@@ -201,7 +201,7 @@
201201
# ✅ Verified: SuperGemini v4.0
202202

203203
# Community Integration and Documentation
204-
/sg:analyze . --focus architecture --think-hard --c7 --serena
204+
/sg:analyze . --focus architecture --introspect --c7 --serena
205205
# Expected: Compatibility analysis, community impact assessment
206206
# ✅ Verified: SuperGemini v4.0
207207

@@ -397,7 +397,7 @@
397397
### Safety and Validation for Production
398398
```bash
399399
# Production-ready development with comprehensive validation
400-
/sg:implement "payment processing system" --focus security --think-hard --c7 --serena
400+
/sg:implement "payment processing system" --focus security --introspect --c7 --serena
401401
# Activates: Security-focused implementation with official patterns and context
402402
# Expected: Production-ready implementation with security best practices
403403
# ✅ Verified: SuperGemini v4.0
@@ -420,7 +420,7 @@
420420
# Expected: MVP implementation with enterprise-scale architecture planning
421421

422422
# Month 2-3: Scale Preparation
423-
/sg:load "mvp-requirements" && /sg:analyze . --focus architecture --think-hard
423+
/sg:load "mvp-requirements" && /sg:analyze . --focus architecture --introspect
424424
# Expected: Scalability assessment and optimization recommendations
425425

426426
/sg:implement "microservices migration and containerization" --orchestrate
@@ -437,7 +437,7 @@
437437
### Multi-Platform Application Development
438438
```bash
439439
# Phase 1: Architecture Planning
440-
/sg:analyze "cross-platform architecture strategies" --focus architecture --think-hard --c7
440+
/sg:analyze "cross-platform architecture strategies" --focus architecture --introspect --c7
441441
# Expected: Multi-platform architecture with shared business logic
442442
# ✅ Verified: SuperGemini v4.0
443443

Docs/Reference/basic-examples.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@
8585

8686
#### Command: /sg:analyze (Security Focus)
8787
**Purpose**: Security-focused code review
88-
**Syntax**: `/sg:analyze [target] --focus security [--think]`
88+
**Syntax**: `/sg:analyze [target] --focus security [--introspect]`
8989
**Example**:
9090
```bash
91-
/sg:analyze src/ --focus security --think
91+
/sg:analyze src/ --focus security --introspect
9292
```
9393
**Verification**: ✅ Verified SuperGemini v4.0
9494

@@ -377,18 +377,18 @@
377377

378378
## Basic Flag Examples
379379

380-
### Analysis Depth Control
380+
### Insight Modes
381381
```bash
382382
# Quick analysis
383383
/sg:analyze src/ --scope file
384384
# ✅ Verified: SuperGemini v4.0
385385

386-
# Standard analysis
387-
/sg:analyze . --think
386+
# Reflective analysis
387+
/sg:analyze . --introspect
388388
# ✅ Verified: SuperGemini v4.0
389389

390-
# Deep analysis
391-
/sg:analyze . --think-hard --focus architecture
390+
# Architecture-focused insight
391+
/sg:analyze . --introspect --focus architecture
392392
# ✅ Verified: SuperGemini v4.0
393393
```
394394

@@ -484,4 +484,4 @@
484484

485485
---
486486

487-
**Remember**: Start simple, practice frequently, and gradually increase complexity. These basic examples form the foundation for all advanced SuperGemini usage.
487+
**Remember**: Start simple, practice frequently, and gradually increase complexity. These basic examples form the foundation for all advanced SuperGemini usage.

Docs/Reference/examples-cookbook.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
- `/sg:reflect` - Context analysis and optimization
8686

8787
**Verified Flags**:
88-
- `--think`, `--think-hard`, `--ultrathink` - Analysis depth control
88+
- `--introspect`, `--task-manage`, `--orchestrate` - Analysis and coordination control
8989
- `--uc` - Ultra-compressed token-efficient mode
9090
- `--orchestrate` - Intelligent coordination mode
9191
- `--c7`, `--serena`, `--all-mcp` - MCP server integration
@@ -169,4 +169,4 @@
169169

170170
**Your Journey**: Start with [Basic Examples](basic-examples.md), progress through [Advanced Workflows](advanced-workflows.md), and master [Integration Patterns](integration-patterns.md). SuperGemini grows with you from simple commands to sophisticated development orchestration.
171171

172-
**Remember**: Every expert was once a beginner. Focus on practical application, experiment with different approaches, and leverage the community for support and learning.
172+
**Remember**: Every expert was once a beginner. Focus on practical application, experiment with different approaches, and leverage the community for support and learning.

Docs/Reference/integration-patterns.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@
221221
### Backend Performance Optimization
222222
```bash
223223
# Database and API performance optimization
224-
/sg:analyze backend/ --focus performance --think-hard --serena
224+
/sg:analyze backend/ --focus performance --introspect --serena
225225

226226
# Backend performance areas:
227227
# - Database query optimization and indexing
@@ -273,7 +273,7 @@
273273
### Distributed System Debugging
274274
```bash
275275
# Complex distributed system troubleshooting
276-
/sg:troubleshoot "intermittent service failures in microservices architecture" --think-hard --all-mcp
276+
/sg:troubleshoot "intermittent service failures in microservices architecture" --introspect --all-mcp
277277

278278
# Systematic debugging approach:
279279
# 1. Service dependency mapping and health analysis

Docs/Reference/optimization-guide.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ Layer 5: /sg:test . --security --vulnerability # Security validation
313313

314314
# Refactor Phase: Code improvement
315315
/sg:improve . --focus quality --safe-mode
316-
/sg:analyze . --focus quality --think
316+
/sg:analyze . --focus quality --introspect
317317
/sg:test . --coverage --validate
318318

319319
# Cycle benefits: Higher code quality, better test coverage, reduced bugs
@@ -345,7 +345,7 @@ Layer 5: /sg:test . --security --vulnerability # Security validation
345345
**Quality Prediction and Prevention:**
346346
```bash
347347
# Advanced quality management with comprehensive analysis
348-
/sg:analyze . --focus quality --think-hard --validate
348+
/sg:analyze . --focus quality --introspect --validate
349349

350350
# Predictive analysis capabilities:
351351
# - Quality degradation prediction based on code change patterns
@@ -356,7 +356,7 @@ Layer 5: /sg:test . --security --vulnerability # Security validation
356356

357357
# Proactive optimization workflow:
358358
/sg:implement "new feature" --validate --safe-mode
359-
/sg:analyze . --focus quality --think
359+
/sg:analyze . --focus quality --introspect
360360
/sg:improve . --focus quality --validate
361361

362362
# Outcomes: Significant reduction in production issues and lower maintenance costs
@@ -757,4 +757,4 @@ Optimization is an ongoing process. Start with immediate performance gains, esta
757757
- **Performance**: 30-70% improvement in execution time and resource efficiency
758758
- **Quality**: Measurable reduction in issues and improvement in code quality metrics
759759
- **Productivity**: Faster development cycles with maintained or improved quality
760-
- **Sustainability**: Consistent optimization practices integrated into daily workflows
760+
- **Sustainability**: Consistent optimization practices integrated into daily workflows

Docs/Reference/quick-start-practices.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ Day 7: /sg:workflow "week 2 learning plan"
152152
```bash
153153
# Use when: Code review, refactoring, optimization, testing
154154
/sg:test --coverage --validate
155-
/sg:analyze . --focus security --think-hard
155+
/sg:analyze . --focus security --introspect
156156
/sg:cleanup . --safe-mode
157157
/sg:document . --scope project
158158

@@ -242,8 +242,8 @@ Day 7: /sg:workflow "week 2 learning plan"
242242
# --safe-mode: Maximum safety checks and rollback capability
243243

244244
# For comprehensive analysis
245-
/sg:analyze . --think --focus security
246-
# --think: Standard structured analysis (~4K tokens)
245+
/sg:analyze . --focus security --introspect
246+
# --introspect: Deep reasoning with transparent analysis markers
247247
# --focus security: Domain-specific expertise
248248

249249
# Quality improvements: Better validation through systematic checks
@@ -650,4 +650,4 @@ Focus on building solid foundations before advancing to complex features. These
650650
- **Week 3**: Confident session management and context preservation
651651
- **Week 4**: Ready for advanced coordination and optimization techniques
652652

653-
Remember: Start simple, practice consistently, and gradually increase complexity as your confidence grows.
653+
Remember: Start simple, practice consistently, and gradually increase complexity as your confidence grows.

Docs/Reference/validate_commands.py

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def __init__(self, verbose: bool = False, quick_mode: bool = False):
7777
)
7878

7979
# Documented flags from flags.md
80-
self.analysis_flags = ["--think", "--think-hard", "--ultrathink"]
80+
self.analysis_flags = ["--introspect"]
8181
self.mode_flags = ["--introspect", "--task-manage"]
8282
self.efficiency_flags = ["--uc", "--token-efficient", "--orchestrate"]
8383
self.mcp_flags = [
@@ -158,7 +158,7 @@ def _is_valid_flag_syntax(self, flag: str) -> bool:
158158

159159
valid_flag_patterns = [
160160
# Analysis flags
161-
"--think", "--think-hard", "--ultrathink",
161+
"--introspect",
162162
# Mode flags
163163
"--introspect", "--task-manage", "--delegate",
164164
# Efficiency flags
@@ -200,9 +200,7 @@ def _check_flag_conflicts(self, flags: List[str]) -> Optional[str]:
200200
("--all-mcp", "--no-mcp", "Cannot use all MCP servers and no MCP servers simultaneously"),
201201
("--parallel", "--sequential", "Cannot use parallel and sequential execution simultaneously"),
202202
("--verbose", "--quiet", "Cannot use verbose and quiet modes simultaneously"),
203-
("--think", "--no-mcp", "Deep thinking modes require MCP servers (--think conflicts with --no-mcp)"),
204-
("--think-hard", "--no-mcp", "Deep thinking modes require MCP servers (--think-hard conflicts with --no-mcp)"),
205-
("--ultrathink", "--no-mcp", "Deep thinking modes require MCP servers (--ultrathink conflicts with --no-mcp)"),
203+
("--introspect", "--no-mcp", "Introspect mode requires MCP servers (--introspect conflicts with --no-mcp)"),
206204
]
207205

208206
for flag1, flag2, message in conflicts:
@@ -246,17 +244,17 @@ def validate_flag_combinations(self) -> None:
246244
# Test common flag combinations from documentation
247245
test_combinations = [
248246
# Analysis combinations
249-
("/sg:analyze src/ --think", "Standard analysis with structured thinking"),
250-
("/sg:analyze --focus security --think-hard", "Deep security analysis"),
251-
("/sg:troubleshoot 'issue' --ultrathink --seq", "Maximum troubleshooting"),
247+
("/sg:analyze src/ --introspect", "Standard analysis with structured reasoning"),
248+
("/sg:analyze --focus security --introspect", "Deep security analysis"),
249+
("/sg:troubleshoot 'issue' --introspect --seq", "Structured troubleshooting"),
252250

253251
# Development combinations
254252
("/sg:implement 'feature' --magic --c7", "UI feature with patterns"),
255253
("/sg:improve code/ --morph --serena", "Code improvement with context"),
256254
("/sg:build --optimize --validate", "Safe production build"),
257255

258256
# Workflow combinations
259-
("/sg:brainstorm 'idea' --think --c7", "Structured brainstorming"),
257+
("/sg:brainstorm 'idea' --introspect --c7", "Structured brainstorming"),
260258
("/sg:task 'complex' --task-manage --delegate", "Complex task coordination"),
261259
("/sg:test --coverage --play", "Comprehensive testing"),
262260

@@ -476,7 +474,7 @@ def run_integration_tests(self) -> None:
476474
# Test session lifecycle
477475
session_commands = [
478476
"/sg:load test-project/",
479-
"/sg:analyze src/ --think",
477+
"/sg:analyze src/ --introspect",
480478
"/sg:implement 'test feature' --magic",
481479
"/sg:save 'test-session'"
482480
]
@@ -706,4 +704,4 @@ def main():
706704
sys.exit(1)
707705

708706
if __name__ == "__main__":
709-
main()
707+
main()

0 commit comments

Comments
 (0)