@sylphx/flow 1.0.0 → 1.0.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/CHANGELOG.md CHANGED
@@ -4,6 +4,139 @@
4
4
 
5
5
  ### Major Changes
6
6
 
7
+ - 2ee21db: 🎉 **Sylphx Flow v1.0.0 - Production Release**
8
+
9
+ Major release with autonomous loop mode, auto-initialization, and production-ready features.
10
+
11
+ ## 🚀 Major Features
12
+
13
+ ### Loop Mode - Autonomous Continuous Execution
14
+
15
+ - **Revolutionary autonomous AI** that keeps working until you stop it
16
+ - Zero wait time by default (task execution time is natural interval)
17
+ - Optional wait time for polling scenarios: `--loop [seconds]`
18
+ - Max runs limit: `--max-runs <count>`
19
+ - Smart configuration: Saves provider/agent preferences automatically
20
+ - **Platform Support**: Claude Code (full support), OpenCode (coming soon)
21
+
22
+ ```bash
23
+ # Continuous autonomous work
24
+ sylphx-flow "process all github issues" --loop --target claude-code
25
+
26
+ # With wait time and limits
27
+ sylphx-flow "check for updates" --loop 300 --max-runs 20
28
+ ```
29
+
30
+ ### Auto-Initialization
31
+
32
+ - **Zero configuration required** - setup happens automatically on first use
33
+ - Smart platform detection (Claude Code, OpenCode)
34
+ - Intelligent defaults that learn from your choices
35
+ - Manual setup still available: `sylphx-flow --init-only`
36
+
37
+ ### Template Synchronization
38
+
39
+ - New `--sync` flag to synchronize with latest Flow templates
40
+ - Updates agents, rules, output styles, and slash commands
41
+ - Safe sync: Won't overwrite user customizations
42
+ - Platform-specific sync: `--sync --target opencode`
43
+
44
+ ### File Input Support
45
+
46
+ - Load prompts from files: `sylphx-flow "@task.txt"`
47
+ - No shell escaping issues
48
+ - Perfect for complex, reusable instructions
49
+ - Works with loop mode: `sylphx-flow "@prompt.md" --loop`
50
+
51
+ ## ✨ Enhancements
52
+
53
+ ### CLI Improvements
54
+
55
+ - Simplified command structure - direct execution without subcommands
56
+ - Better error messages and validation
57
+ - Improved verbose output for debugging
58
+ - Command printing in headless/loop mode
59
+
60
+ ### Platform Support
61
+
62
+ - **Claude Code**: Full support with headless execution
63
+ - **OpenCode**: Full support (loop mode coming soon due to TTY requirements)
64
+ - Auto-detection of target platform
65
+ - Manual override: `--target claude-code` or `--target opencode`
66
+
67
+ ### Branding & Documentation
68
+
69
+ - Modern flow infinity symbol icon system
70
+ - Comprehensive documentation with VitePress
71
+ - Clear platform support matrix
72
+ - Updated examples and guides
73
+
74
+ ## 🐛 Bug Fixes
75
+
76
+ - Fix targetId undefined in loop mode initialization
77
+ - Remove problematic flags from OpenCode headless mode
78
+ - Resolve init command never executing - agents now install properly
79
+ - Fix ConfigDirectoryTypoError by cleaning up old 'commands' directory
80
+
81
+ ## 📦 Package Configuration
82
+
83
+ - Configured for npm publishing
84
+ - Proper entry points and exports
85
+ - Type definitions included
86
+ - MIT license
87
+
88
+ ## 🔄 Breaking Changes
89
+
90
+ - Loop mode default interval changed from 60s to 0s (no wait time)
91
+ - Command structure simplified (subcommands still work but not required)
92
+ - Init/run commands consolidated into flow command
93
+
94
+ ## 📚 Documentation
95
+
96
+ - Complete rewrite emphasizing auto-initialization
97
+ - Loop mode clearly marked as Claude Code only
98
+ - New --sync flag documentation
99
+ - Simplified getting started guide
100
+ - Updated CLI commands reference
101
+
102
+ ## 🙏 Migration Guide
103
+
104
+ ### From pre-1.0 versions:
105
+
106
+ ```bash
107
+ # Old way
108
+ sylphx-flow init
109
+ sylphx-flow run "task"
110
+ sylphx-flow run "task" --loop
111
+
112
+ # New way (auto-initializes)
113
+ sylphx-flow "task"
114
+ sylphx-flow "task" --loop --target claude-code
115
+ ```
116
+
117
+ ### Loop mode interval:
118
+
119
+ ```bash
120
+ # Old default: 60s wait time
121
+ sylphx-flow "task" --loop
122
+
123
+ # New default: 0s wait time (immediate)
124
+ sylphx-flow "task" --loop
125
+
126
+ # If you want wait time, specify explicitly:
127
+ sylphx-flow "task" --loop 60
128
+ ```
129
+
130
+ ## 🔗 Links
131
+
132
+ - [Documentation](https://flow.sylphx.ai)
133
+ - [GitHub Repository](https://github.com/sylphxltd/flow)
134
+ - [Getting Started Guide](https://flow.sylphx.ai/guide/getting-started)
135
+
136
+ ## 1.0.0
137
+
138
+ ### Major Changes
139
+
7
140
  - # 1.0.0 - Major Release
8
141
 
9
142
  Sylphx Flow 1.0.0 is a complete reimagination of AI-powered development workflow automation. This release represents months of refinement, optimization, and user feedback integration.
@@ -0,0 +1,10 @@
1
+ import { Command } from "commander";
2
+ /**
3
+ * Create the main CLI application with enhanced Commander.js configuration
4
+ */
5
+ declare function createCLI(): Command;
6
+ /**
7
+ * Run the CLI application with enhanced error handling and process management
8
+ */
9
+ declare function runCLI(): Promise<void>;
10
+ export { runCLI, createCLI };