@sylphx/flow 1.0.0 → 1.0.2

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