@sylphx/flow 2.18.3 → 2.19.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 +26 -0
- package/assets/agents/builder.md +24 -0
- package/assets/slash-commands/cleanup.md +0 -1
- package/assets/slash-commands/continue.md +5 -53
- package/assets/slash-commands/improve.md +0 -1
- package/assets/slash-commands/polish.md +0 -1
- package/assets/slash-commands/quality.md +0 -1
- package/assets/slash-commands/release.md +0 -1
- package/assets/slash-commands/review.md +0 -1
- package/package.json +1 -1
- package/src/commands/flow/execute-v2.ts +2 -2
- package/src/commands/flow-command.ts +1 -1
- package/src/commands/settings-command.ts +3 -2
- package/src/index.ts +1 -1
- package/src/services/global-config.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @sylphx/flow
|
|
2
2
|
|
|
3
|
+
## 2.19.0 (2025-12-18)
|
|
4
|
+
|
|
5
|
+
### ✨ Features
|
|
6
|
+
|
|
7
|
+
- **agents:** add Builder as default agent, remove PM ([6d5c432](https://github.com/SylphxAI/flow/commit/6d5c4323102d9f3d910e0b4db2ded1b89c16d6cd))
|
|
8
|
+
- **agents:** add PM agent - product owner mindset ([aef8549](https://github.com/SylphxAI/flow/commit/aef854980794c8d007fc38e7ca5a3536a45e970b))
|
|
9
|
+
|
|
10
|
+
### 🐛 Bug Fixes
|
|
11
|
+
|
|
12
|
+
- **commands:** /continue - use English only ([59f7506](https://github.com/SylphxAI/flow/commit/59f75066e0d468e33180b858a111587e6769bab4))
|
|
13
|
+
|
|
14
|
+
### ♻️ Refactoring
|
|
15
|
+
|
|
16
|
+
- **commands:** /continue as autonomous trigger with self-loop ([2e1cd77](https://github.com/SylphxAI/flow/commit/2e1cd77a42df487137e28bd827a242e098062a85))
|
|
17
|
+
- **commands:** /continue - product owner mindset, not checklist ([600cc66](https://github.com/SylphxAI/flow/commit/600cc66aea1298ada657e90f8496e24c5fbae4d9))
|
|
18
|
+
|
|
19
|
+
### 🔧 Chores
|
|
20
|
+
|
|
21
|
+
- **commands:** remove unused agent field from frontmatter ([dff5820](https://github.com/SylphxAI/flow/commit/dff5820dff56f44519a54c3a1fec34cd094687d5))
|
|
22
|
+
|
|
23
|
+
## 2.18.4 (2025-12-18)
|
|
24
|
+
|
|
25
|
+
### ♻️ Refactoring
|
|
26
|
+
|
|
27
|
+
- **commands:** /continue - open-ended thinking, not checklist ([dad1896](https://github.com/SylphxAI/flow/commit/dad1896f6b213907067f375b8baff059b8bfaa34))
|
|
28
|
+
|
|
3
29
|
## 2.18.3 (2025-12-18)
|
|
4
30
|
|
|
5
31
|
### ♻️ Refactoring
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Builder
|
|
3
|
+
description: Autonomous product builder - thinks like owner, executes like engineer
|
|
4
|
+
mode: both
|
|
5
|
+
temperature: 0.4
|
|
6
|
+
rules:
|
|
7
|
+
- core
|
|
8
|
+
- code-standards
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# BUILDER
|
|
12
|
+
|
|
13
|
+
## Identity
|
|
14
|
+
|
|
15
|
+
You are not an assistant. You are the builder.
|
|
16
|
+
|
|
17
|
+
This product ships under your name. You decide what's needed. You make it happen.
|
|
18
|
+
|
|
19
|
+
Think: What's missing? What would break? What would users hate?
|
|
20
|
+
Execute: Fix it. No permission needed. No workarounds.
|
|
21
|
+
|
|
22
|
+
Many minds beat one. Delegate to multiple workers to ultrathink from different angles. Collective wisdom. You are Final Gate — synthesize, decide, execute.
|
|
23
|
+
|
|
24
|
+
Push relentlessly toward production-grade.
|
|
@@ -1,62 +1,14 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: continue
|
|
3
|
-
description:
|
|
4
|
-
agent: coder
|
|
3
|
+
description: Trigger autonomous product iteration - think, fix, ship
|
|
5
4
|
---
|
|
6
5
|
|
|
7
6
|
# Continue
|
|
8
7
|
|
|
9
|
-
**
|
|
8
|
+
**Go.** Don't wait for instructions.
|
|
10
9
|
|
|
11
|
-
|
|
10
|
+
You are the builder. Think what's missing. Fix it. Ship it.
|
|
12
11
|
|
|
13
|
-
|
|
12
|
+
Invoke skills. Delegate for perspective. Final Gate.
|
|
14
13
|
|
|
15
|
-
|
|
16
|
-
- **Power user** — Edge cases, advanced flows, what's limiting them?
|
|
17
|
-
- **Developer** — Is the code maintainable? Clear naming? Good abstractions?
|
|
18
|
-
- **Admin** — Can they manage users, debug issues, see what's happening?
|
|
19
|
-
- **Attacker** — Where are the security holes? What can be exploited?
|
|
20
|
-
- **3am oncall** — If it breaks, can they diagnose it? Are there logs? Alerts?
|
|
21
|
-
|
|
22
|
-
Don't checklist. Actually **inhabit** each perspective and feel the friction.
|
|
23
|
-
|
|
24
|
-
## Delegate for Collective Wisdom
|
|
25
|
-
|
|
26
|
-
Spawn multiple agents in parallel to ultrathink from different angles:
|
|
27
|
-
- One agent: user experience gaps
|
|
28
|
-
- One agent: security & trust gaps
|
|
29
|
-
- One agent: architecture & code quality gaps
|
|
30
|
-
- One agent: operability & observability gaps
|
|
31
|
-
|
|
32
|
-
You are the **Final Gate**. Synthesize their findings. Verify. Decide. Execute.
|
|
33
|
-
|
|
34
|
-
## Invoke Skills
|
|
35
|
-
|
|
36
|
-
Before fixing, load guidelines for relevant domains. Skills contain tech stack decisions, non-negotiables, patterns.
|
|
37
|
-
|
|
38
|
-
## Fix Completely
|
|
39
|
-
|
|
40
|
-
No workarounds. No "good enough". Each fix should be the **final implementation** — production-ready, battle-tested quality.
|
|
41
|
-
|
|
42
|
-
## Loop
|
|
43
|
-
|
|
44
|
-
After fixing: Are there new gaps? Did fixing X reveal Y was also broken?
|
|
45
|
-
|
|
46
|
-
If yes → `/continue` again. Keep iterating until production-grade.
|
|
47
|
-
|
|
48
|
-
## Output
|
|
49
|
-
|
|
50
|
-
```
|
|
51
|
-
## Perspectives Explored
|
|
52
|
-
[Which personas, what gaps found from each]
|
|
53
|
-
|
|
54
|
-
## Fixed
|
|
55
|
-
[Changes made and why they're production-ready]
|
|
56
|
-
|
|
57
|
-
## Remains
|
|
58
|
-
[Needs human decision or blocked]
|
|
59
|
-
|
|
60
|
-
## Next
|
|
61
|
-
[/continue | production-ready]
|
|
62
|
-
```
|
|
14
|
+
When done, `/continue` again until production-grade.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sylphx/flow",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.19.0",
|
|
4
4
|
"description": "One CLI to rule them all. Unified orchestration layer for Claude Code, OpenCode, Cursor and all AI development tools. Auto-detection, auto-installation, auto-upgrade.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -275,12 +275,12 @@ export async function executeFlowV2(
|
|
|
275
275
|
|
|
276
276
|
// Determine which agent to use
|
|
277
277
|
const flowConfig = await configService.loadFlowConfig();
|
|
278
|
-
let agent = options.agent || settings.defaultAgent || '
|
|
278
|
+
let agent = options.agent || settings.defaultAgent || 'builder';
|
|
279
279
|
|
|
280
280
|
// Check if agent is enabled (silent fallback)
|
|
281
281
|
if (!flowConfig.agents[agent]?.enabled) {
|
|
282
282
|
const enabledAgents = await configService.getEnabledAgents();
|
|
283
|
-
agent = enabledAgents.length > 0 ? enabledAgents[0] : '
|
|
283
|
+
agent = enabledAgents.length > 0 ? enabledAgents[0] : 'builder';
|
|
284
284
|
}
|
|
285
285
|
|
|
286
286
|
// Load agent content
|
|
@@ -21,7 +21,7 @@ export const flowCommand = new Command('flow')
|
|
|
21
21
|
.description('Run Flow with automatic environment attach')
|
|
22
22
|
|
|
23
23
|
// Core options
|
|
24
|
-
.option('--agent <name>', 'Agent to use (default:
|
|
24
|
+
.option('--agent <name>', 'Agent to use (default: builder)', 'builder')
|
|
25
25
|
.option('--agent-file <path>', 'Load agent from specific file')
|
|
26
26
|
.option('--verbose', 'Show detailed output')
|
|
27
27
|
.option('--dry-run', 'Show what would be done without making changes')
|
|
@@ -120,7 +120,8 @@ async function configureAgents(configService: GlobalConfigService): Promise<void
|
|
|
120
120
|
const settings = await configService.loadSettings();
|
|
121
121
|
|
|
122
122
|
const availableAgents = {
|
|
123
|
-
|
|
123
|
+
builder: 'Builder - Autonomous product builder (default)',
|
|
124
|
+
coder: 'Coder - Task-focused code execution',
|
|
124
125
|
writer: 'Writer - Documentation and explanation',
|
|
125
126
|
reviewer: 'Reviewer - Code review and critique',
|
|
126
127
|
};
|
|
@@ -144,7 +145,7 @@ async function configureAgents(configService: GlobalConfigService): Promise<void
|
|
|
144
145
|
name: availableAgents[key as keyof typeof availableAgents],
|
|
145
146
|
value: key,
|
|
146
147
|
})),
|
|
147
|
-
default: settings.defaultAgent || '
|
|
148
|
+
default: settings.defaultAgent || 'builder',
|
|
148
149
|
},
|
|
149
150
|
]);
|
|
150
151
|
|
package/src/index.ts
CHANGED
|
@@ -57,7 +57,7 @@ export function createCLI(): Command {
|
|
|
57
57
|
'[prompt]',
|
|
58
58
|
'Prompt to execute with agent (optional, supports @file.txt for file input)'
|
|
59
59
|
)
|
|
60
|
-
.option('--agent <name>', 'Agent to use (default:
|
|
60
|
+
.option('--agent <name>', 'Agent to use (default: builder)', 'builder')
|
|
61
61
|
.option('--agent-file <path>', 'Load agent from specific file')
|
|
62
62
|
.option('--verbose', 'Show detailed output')
|
|
63
63
|
.option('--dry-run', 'Show what would be done without making changes')
|