Skip to content

Commit e4c40fc

Browse files
Data-Wiseclaude
andcommitted
docs: add v3.2.0 AI commands documentation and v3.3.0 plugin architecture
- Add AI-Powered Commands section to COMMAND-QUICK-REFERENCE.md - Add flow install/upgrade to Setup & Diagnostics section - Create Tutorial 05: AI-Powered Commands (flow ai, flow do) - Create command docs: ai.md, do.md, install.md, upgrade.md - Design plugin architecture for v3.3.0 (PLUGIN-ARCHITECTURE.md) - Update .STATUS with v3.2.0 completion and future roadmap - Update mkdocs.yml navigation with new pages - Deploy updated website to GitHub Pages 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 4f9fac9 commit e4c40fc

File tree

9 files changed

+1478
-34
lines changed

9 files changed

+1478
-34
lines changed

.STATUS

Lines changed: 122 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,44 +4,83 @@
44
## Project: flow-cli
55
## Type: zsh-plugin
66
## Status: active
7-
## Phase: v3.1.0 - Dashboard UX Improvements
7+
## Phase: v3.2.0 - AI-Powered Commands & Unified Management
88
## Priority: 1
9-
## Progress: 35
9+
## Progress: 85
1010

11-
## Focus: Phase 1 complete - Phase 2 next (dopamine features)
11+
## Focus: AI integration complete - Plugin system next
1212

1313
## Quick Context
1414
Pure ZSH workflow plugin with optional atlas integration for state management.
1515
Clean separation from atlas (Node.js state engine) complete.
1616
Legacy 140KB monolithic code archived - lean plugin architecture.
1717

18-
## Architecture (Final)
18+
## Architecture (v3.2.0)
1919
```
2020
flow-cli/
21-
├── flow.plugin.zsh # Plugin entry point
21+
├── flow.plugin.zsh # Plugin entry point (v3.2.0)
2222
├── lib/
2323
│ ├── core.zsh # Core utilities, colors
2424
│ ├── atlas-bridge.zsh # Atlas CLI integration (graceful fallback)
2525
│ ├── project-detector.zsh
2626
│ ├── tui.zsh # TUI components
27-
│ └── dispatchers/ # v, g, mcp, obs dispatchers
27+
│ └── dispatchers/ # g, mcp, obs, qu, r dispatchers
2828
├── commands/
2929
│ ├── work.zsh # work, finish, hop, why
3030
│ ├── dash.zsh # dash, dash-tui
3131
│ ├── capture.zsh # catch, inbox, crumb, win, yay
32-
│ ├── adhd.zsh # js, next, stuck, focus, brk
32+
│ ├── adhd.zsh # js, next (--ai), stuck (--ai), focus, brk
3333
│ ├── status.zsh # status, st, setprogress
3434
│ ├── timer.zsh # timer, pom
35-
│ └── morning.zsh # morning, today, week, am
35+
│ ├── morning.zsh # morning, today, week, am
36+
│ ├── flow.zsh # flow dispatcher (help, version, etc.)
37+
│ ├── ai.zsh # flow ai, flow do (NEW v3.2.0)
38+
│ ├── install.zsh # flow install (NEW v3.2.0)
39+
│ └── upgrade.zsh # flow upgrade (NEW v3.2.0)
3640
├── completions/ # ZSH completions
3741
├── hooks/ # chpwd, precmd
42+
├── setup/ # Setup files
43+
│ └── Brewfile # Recommended CLI tools
3844
└── zsh/functions/ # Symlinks to external integrations only
3945
├── core-utils.zsh → zsh-claude-workflow/
4046
├── obs.zsh → obsidian-cli-ops/
4147
└── project-detector.zsh → zsh-claude-workflow/
4248
```
4349

44-
## v3.0.0 Changes (2025-12-25)
50+
## v3.2.0 Changes (2025-12-26) ✅ COMPLETE
51+
### AI-Powered Commands
52+
- [x] `flow ai <query>` - Ask AI anything with project context
53+
- [x] `flow ai --explain <code>` - Explain code or concepts
54+
- [x] `flow ai --fix <problem>` - Get fix suggestions
55+
- [x] `flow ai --suggest <goal>` - Get improvement suggestions
56+
- [x] `flow ai --create <spec>` - Generate code from description
57+
- [x] `flow do "<natural language>"` - Natural language → shell command
58+
- [x] `stuck --ai` - AI-powered help when blocked
59+
- [x] `next --ai` - AI-powered task suggestions
60+
61+
### Install & Upgrade System
62+
- [x] `flow install` - Interactive tool installer
63+
- [x] `flow install --profile <name>` - Profile-based install (minimal/developer/researcher/writer/full)
64+
- [x] `flow install --category <name>` - Category-based install (core/productivity/git/dev/research)
65+
- [x] `flow upgrade self` - Self-update flow-cli via git
66+
- [x] `flow upgrade tools` - Update Homebrew packages
67+
- [x] `flow upgrade plugins` - Update ZSH plugins
68+
- [x] `flow upgrade all` - Update everything
69+
- [x] `flow upgrade --check` - Check for updates without applying
70+
71+
### Infrastructure
72+
- [x] Tab completions for all new commands
73+
- [x] Help system integration
74+
- [x] Context-aware AI prompts
75+
- [x] Safety checks for dangerous commands in `flow do`
76+
- [x] Version bump to 3.2.0
77+
78+
## v3.1.0 Changes (2025-12-26) ✅ COMPLETE
79+
- [x] `flow doctor` command with --fix and --ai modes
80+
- [x] setup/Brewfile with 14 recommended CLI tools
81+
- [x] Dashboard Phase 1 enhancements complete
82+
83+
## v3.0.0 Changes (2025-12-25) ✅ COMPLETE
4584
- [x] Archive 140KB legacy zsh/functions/ to .archive/
4685
- [x] Keep only symlinks to external integrations
4786
- [x] Remove FLOW_LEGACY_COMPAT flag (no longer needed)
@@ -78,11 +117,26 @@ flow-cli/
78117

79118
### ADHD Helpers
80119
- `js` - Just start (anti-paralysis)
81-
- `next` - What to work on
82-
- `stuck` - When blocked
120+
- `next` - What to work on (`--ai` for AI suggestion)
121+
- `stuck` - When blocked (`--ai` for AI help)
83122
- `focus [text]` - Get/set focus
84123
- `brk [min]` - Take a break
85124

125+
### AI-Powered (v3.2.0)
126+
- `flow ai <query>` - Ask AI with context
127+
- `flow ai --explain` - Explain code/concepts
128+
- `flow ai --fix` - Get fix suggestions
129+
- `flow ai --suggest` - Get improvements
130+
- `flow ai --create` - Generate code
131+
- `flow do "..."` - Natural language commands
132+
133+
### Setup & Management (v3.2.0)
134+
- `flow install` - Interactive tool installer
135+
- `flow install --profile <p>` - Install by profile
136+
- `flow upgrade self` - Update flow-cli
137+
- `flow upgrade tools` - Update brew packages
138+
- `flow doctor` - Health check & diagnostics
139+
86140
### Status Management
87141
- `status [project]` - Show/update status
88142
- `setprogress <n>` - Quick progress update
@@ -126,23 +180,71 @@ FLOW_QUIET=1 # Disable welcome message
126180
- Atlas: https://github.com/Data-Wise/atlas
127181
- npm (atlas): `npm install -g @data-wise/atlas`
128182

129-
## Next: v3.1.0 - Dashboard Enhancements
130-
- [x] Phase 1: High impact improvements ✅ COMPLETE
131-
- [x] RIGHT NOW section with smart suggestion
132-
- [x] 10-char progress bars (was 5-char)
133-
- [x] Enhanced active session (┏━┓ borders)
134-
- [x] Session timer with progress bar
135-
- [x] Context-aware footer
136-
- [ ] Phase 2: Dopamine features (NEXT)
183+
## Roadmap
184+
185+
### v3.3.0 - Configuration & Plugin System (NEXT)
186+
- [ ] `flow config` - Interactive configuration
187+
- [ ] `flow config show` - Display current config
188+
- [ ] `flow config set <key> <value>` - Set config value
189+
- [ ] `flow config edit` - Open config in editor
190+
- [ ] `flow config reset` - Reset to defaults
191+
- [ ] Plugin system
192+
- [ ] Plugin loader architecture
193+
- [ ] Plugin discovery (local + git)
194+
- [ ] `flow plugin list` - List available plugins
195+
- [ ] `flow plugin install <name>` - Install plugin
196+
- [ ] `flow plugin enable/disable` - Toggle plugins
197+
- [ ] Configuration profiles
198+
- [ ] `flow config profile save <name>` - Save current config
199+
- [ ] `flow config profile load <name>` - Load config profile
200+
- [ ] Export/import for sharing
201+
202+
### v3.4.0 - AI Enhancement
203+
- [ ] AI recipes/templates
204+
- [ ] Pre-built prompts for common tasks
205+
- [ ] `flow ai recipe <name>` - Run saved recipe
206+
- [ ] Custom recipe creation
207+
- [ ] Learning from usage
208+
- [ ] Track successful commands
209+
- [ ] Personalized suggestions
210+
- [ ] Multi-model support
211+
- [ ] Switch between Claude models
212+
- [ ] Optional OpenAI/Gemini integration
213+
- [ ] Conversation mode
214+
- [ ] `flow ai chat` - Interactive session
215+
- [ ] Context persistence
216+
217+
### v3.5.0 - Dashboard Enhancements
218+
- [ ] Dopamine features
137219
- [ ] Quick wins section (< 30min tasks)
138220
- [ ] Recent wins display
139221
- [ ] Urgency indicators (🔥⏰⚡)
140-
- [ ] Phase 3: Polish
222+
- [ ] Polish
141223
- [ ] Enhanced streak visualization
142224
- [ ] Daily goal tracking
143225
- [ ] Extended .STATUS format
226+
- [ ] Interactive TUI improvements
227+
- [ ] Keyboard shortcuts
228+
- [ ] Live refresh
229+
230+
### v4.0.0 - Ecosystem Integration
231+
- [ ] Cross-tool orchestration
232+
- [ ] `flow sync all` - Sync everything
233+
- [ ] Unified status across tools
234+
- [ ] Remote state sync
235+
- [ ] Optional cloud backup
236+
- [ ] Multi-device support
237+
- [ ] Team features (optional)
238+
- [ ] Shared project templates
239+
- [ ] Team dashboards
144240

145241
## Session Log
242+
- 2025-12-26: AI - Created `flow ai` command (461 lines) - ask AI with context
243+
- 2025-12-26: AI - Created `flow do` command - natural language → shell
244+
- 2025-12-26: AI - Enhanced `stuck --ai` and `next --ai` with Claude integration
245+
- 2025-12-26: INSTALL - Created `flow install` command (445 lines) - profiles & categories
246+
- 2025-12-26: UPGRADE - Created `flow upgrade` command (377 lines) - self, tools, plugins
247+
- 2025-12-26: Version bump to 3.2.0 - 1594 new lines of code
146248
- 2025-12-26: DOCTOR - Created `flow doctor` command with --fix and --ai modes
147249
- 2025-12-26: DOCTOR - Created setup/Brewfile with 14 recommended CLI tools
148250
- 2025-12-26: DOCTOR - Fixed 10+ broken documentation links

0 commit comments

Comments
 (0)