@sylphx/flow 3.17.1 → 3.18.0
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,29 @@
|
|
|
1
1
|
# @sylphx/flow
|
|
2
2
|
|
|
3
|
+
## 3.18.0 (2026-02-07)
|
|
4
|
+
|
|
5
|
+
Enable agent teams by default for Claude Code
|
|
6
|
+
|
|
7
|
+
### ✨ Features
|
|
8
|
+
|
|
9
|
+
- **flow:** enable agent teams by default for Claude Code ([a65c0f6](https://github.com/SylphxAI/flow/commit/a65c0f6af5e81077c5243fc8a66f8ca0c2734375))
|
|
10
|
+
|
|
11
|
+
### 📚 Documentation
|
|
12
|
+
|
|
13
|
+
- **builder:** add agent teams guidance to execution principles ([cd8b6aa](https://github.com/SylphxAI/flow/commit/cd8b6aa166613dc8f4e4779b8edb042ff290e517))
|
|
14
|
+
|
|
15
|
+
## 3.17.2 (2026-02-05)
|
|
16
|
+
|
|
17
|
+
Fix target selection persistence and optimize startup flow
|
|
18
|
+
|
|
19
|
+
### 🐛 Bug Fixes
|
|
20
|
+
|
|
21
|
+
- **flow:** persist target selection on first run ([923f48d](https://github.com/SylphxAI/flow/commit/923f48d6a8472ffe4197705ba078c246b76fea5b))
|
|
22
|
+
|
|
23
|
+
### ⚡️ Performance
|
|
24
|
+
|
|
25
|
+
- **flow:** optimize startup flow ([cc012bd](https://github.com/SylphxAI/flow/commit/cc012bd003c577f121b134241a0cd05a1324bf35))
|
|
26
|
+
|
|
3
27
|
## 3.17.1 (2026-02-05)
|
|
4
28
|
|
|
5
29
|
Add Hono RPC patterns and declarative engineering principles
|
package/assets/agents/builder.md
CHANGED
|
@@ -82,6 +82,8 @@ State-of-the-art industrial standard. Every time. Would you stake your reputatio
|
|
|
82
82
|
|
|
83
83
|
**Automate.** If automation exists for a task, manual execution is prohibited.
|
|
84
84
|
|
|
85
|
+
**Parallelize.** For complex multi-faceted tasks, create agent teams. Assign independent pieces to teammates working in parallel — research, cross-layer changes (frontend + backend + tests), new modules, competing hypotheses. Use subagents for simpler focused tasks that only report back.
|
|
86
|
+
|
|
85
87
|
**Plan before doing.** For any non-trivial task:
|
|
86
88
|
1. Use EnterPlanMode to plan the implementation
|
|
87
89
|
2. Use TaskCreate to create todos for each step
|
package/package.json
CHANGED
|
@@ -151,10 +151,11 @@ export async function executeFlowV2(
|
|
|
151
151
|
const configService = new GlobalConfigService();
|
|
152
152
|
const targetInstaller = new TargetInstaller(projectPath);
|
|
153
153
|
|
|
154
|
-
const [, installedTargets, settings] = await Promise.all([
|
|
154
|
+
const [, installedTargets, settings, version] = await Promise.all([
|
|
155
155
|
configService.initialize(),
|
|
156
156
|
targetInstaller.detectInstalledTargets(),
|
|
157
157
|
configService.loadSettings(),
|
|
158
|
+
getFlowVersion(),
|
|
158
159
|
]);
|
|
159
160
|
|
|
160
161
|
let selectedTargetId: string | null = null;
|
|
@@ -181,10 +182,14 @@ export async function executeFlowV2(
|
|
|
181
182
|
process.exit(1);
|
|
182
183
|
}
|
|
183
184
|
} else if (hasNoSetting) {
|
|
184
|
-
// No setting - use auto-detection
|
|
185
|
+
// No setting - use auto-detection or prompt
|
|
185
186
|
if (installedTargets.length === 1) {
|
|
187
|
+
// Single target: auto-select and save silently
|
|
186
188
|
selectedTargetId = installedTargets[0];
|
|
189
|
+
settings.defaultTarget = selectedTargetId as 'claude-code' | 'opencode';
|
|
190
|
+
await configService.saveSettings(settings);
|
|
187
191
|
} else {
|
|
192
|
+
// Multiple targets: prompt and ask to remember
|
|
188
193
|
selectedTargetId = await promptForTargetSelection(
|
|
189
194
|
installedTargets,
|
|
190
195
|
'Select AI CLI:',
|
|
@@ -200,6 +205,16 @@ export async function executeFlowV2(
|
|
|
200
205
|
if (!installed) {
|
|
201
206
|
process.exit(1);
|
|
202
207
|
}
|
|
208
|
+
|
|
209
|
+
const rememberChoice = await promptConfirm({
|
|
210
|
+
message: 'Remember this choice?',
|
|
211
|
+
initialValue: true,
|
|
212
|
+
});
|
|
213
|
+
|
|
214
|
+
if (rememberChoice) {
|
|
215
|
+
settings.defaultTarget = selectedTargetId as 'claude-code' | 'opencode';
|
|
216
|
+
await configService.saveSettings(settings);
|
|
217
|
+
}
|
|
203
218
|
}
|
|
204
219
|
} else if (hasSpecificTarget) {
|
|
205
220
|
// User has a specific target preference
|
|
@@ -217,8 +232,7 @@ export async function executeFlowV2(
|
|
|
217
232
|
}
|
|
218
233
|
}
|
|
219
234
|
|
|
220
|
-
// Get
|
|
221
|
-
const version = await getFlowVersion();
|
|
235
|
+
// Get target name for header
|
|
222
236
|
const targetInstallation = targetInstaller.getInstallationInfo(selectedTargetId);
|
|
223
237
|
const targetName = targetInstallation?.name || selectedTargetId;
|
|
224
238
|
|