@sylphx/flow 2.17.0 → 2.18.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
@@ -1,5 +1,21 @@
1
1
  # @sylphx/flow
2
2
 
3
+ ## 2.18.1 (2025-12-18)
4
+
5
+ ### 🐛 Bug Fixes
6
+
7
+ - **commands:** skills must be explicitly invoked, not auto-activated ([ecfb44c](https://github.com/SylphxAI/flow/commit/ecfb44c03b92fe0ef7e13152e4ff7e1bcf9b5fcb))
8
+
9
+ ### 📚 Documentation
10
+
11
+ - **commands:** clarify skills contain implementation guidelines ([c53522c](https://github.com/SylphxAI/flow/commit/c53522c108d1c048c6dfe0bc33bd28c92dc75973))
12
+
13
+ ## 2.18.0 (2025-12-18)
14
+
15
+ ### ✨ Features
16
+
17
+ - **cli:** show skills count in attach summary ([a02c422](https://github.com/SylphxAI/flow/commit/a02c42239e79af1cfc891bb4554e9fac7c2a7f9b))
18
+
3
19
  ## 2.17.0 (2025-12-18)
4
20
 
5
21
  ### ✨ Features
@@ -58,12 +58,15 @@ These questions reveal incompleteness that checklists miss.
58
58
 
59
59
  5. **Fix completely** — Don't patch. Understand root cause. Implement proper solution. Test it works.
60
60
 
61
- ## Skills
61
+ ## Skills (Guidelines)
62
62
 
63
- Domain knowledge auto-activates when relevant. Available skills:
63
+ **Skills contain implementation guidelines** — tech stack decisions, non-negotiables, patterns, anti-patterns for each domain.
64
64
 
65
+ Available skills:
65
66
  auth, account-security, privacy, billing, pricing, ledger, security, trust-safety, uiux, seo, pwa, performance, i18n, database, data-architecture, storage, observability, operability, delivery, growth, referral, support, admin, discovery, code-quality
66
67
 
68
+ **You MUST invoke relevant skills** using the Skill tool before fixing. This loads the guidelines for that domain.
69
+
67
70
  ## Loop
68
71
 
69
72
  After fixing: "Did my fixes introduce new gaps? Did fixing X reveal Y was also broken?"
@@ -17,13 +17,14 @@ args:
17
17
  * **Delegate workers** for parallel research. You synthesize and verify.
18
18
  * **Fix, don't report.** Implement solutions directly.
19
19
 
20
- ## Skills
20
+ ## Skills (Guidelines)
21
21
 
22
- Domain knowledge is available through Skills that auto-activate based on context:
22
+ **Skills contain implementation guidelines** tech stack decisions, non-negotiables, patterns, anti-patterns for each domain.
23
23
 
24
+ Available skills:
24
25
  auth, account-security, privacy, billing, pricing, ledger, security, trust-safety, uiux, seo, pwa, performance, i18n, database, data-architecture, storage, observability, operability, delivery, growth, referral, support, admin, discovery, code-quality
25
26
 
26
- You don't need to invoke them they activate when relevant.
27
+ **You MUST invoke relevant skills** using the Skill tool before reviewing. This loads the guidelines for that domain.
27
28
 
28
29
  ## Output
29
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sylphx/flow",
3
- "version": "2.17.0",
3
+ "version": "2.18.1",
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": {
@@ -15,7 +15,7 @@ import { GlobalConfigService } from '../../services/global-config.js';
15
15
  import { TargetInstaller } from '../../services/target-installer.js';
16
16
  import type { RunCommandOptions } from '../../types.js';
17
17
  import { extractAgentInstructions, loadAgentContent } from '../../utils/agent-enhancer.js';
18
- import { showHeader } from '../../utils/display/banner.js';
18
+ import { showAttachSummary, showHeader } from '../../utils/display/banner.js';
19
19
  import { CLIError } from '../../utils/error-handler.js';
20
20
  import { UserCancelledError } from '../../utils/errors.js';
21
21
  import { ensureTargetInstalled, promptForTargetSelection } from '../../utils/target-selection.js';
@@ -263,6 +263,9 @@ export async function executeFlowV2(
263
263
  merge: options.merge || false,
264
264
  });
265
265
 
266
+ // Show attach summary
267
+ showAttachSummary(attachResult);
268
+
266
269
  const targetId = selectedTargetId;
267
270
 
268
271
  // Provider selection (Claude Code only, silent unless prompting)
@@ -55,7 +55,13 @@ export class FlowExecutor {
55
55
  async execute(
56
56
  projectPath: string,
57
57
  options: FlowExecutorOptions = {}
58
- ): Promise<{ joined: boolean; agents?: number; commands?: number; mcp?: number }> {
58
+ ): Promise<{
59
+ joined: boolean;
60
+ agents?: number;
61
+ commands?: number;
62
+ skills?: number;
63
+ mcp?: number;
64
+ }> {
59
65
  // Initialize Flow directories
60
66
  await this.projectManager.initialize();
61
67
 
@@ -12,6 +12,40 @@ export function showHeader(version: string, target: string): void {
12
12
  console.log(`\n${chalk.cyan('flow')} ${chalk.dim(version)} ${chalk.dim('→')} ${target}\n`);
13
13
  }
14
14
 
15
+ /**
16
+ * Show attach summary: ✓ Attached {n} agents, {n} commands, {n} skills, {n} MCP
17
+ */
18
+ export function showAttachSummary(result: {
19
+ joined: boolean;
20
+ agents?: number;
21
+ commands?: number;
22
+ skills?: number;
23
+ mcp?: number;
24
+ }): void {
25
+ if (result.joined) {
26
+ // Joining existing session - no summary needed
27
+ return;
28
+ }
29
+
30
+ const parts: string[] = [];
31
+ if (result.agents && result.agents > 0) {
32
+ parts.push(`${result.agents} agents`);
33
+ }
34
+ if (result.commands && result.commands > 0) {
35
+ parts.push(`${result.commands} commands`);
36
+ }
37
+ if (result.skills && result.skills > 0) {
38
+ parts.push(`${result.skills} skills`);
39
+ }
40
+ if (result.mcp && result.mcp > 0) {
41
+ parts.push(`${result.mcp} MCP`);
42
+ }
43
+
44
+ if (parts.length > 0) {
45
+ console.log(`${chalk.green('✓')} Attached ${parts.join(', ')}`);
46
+ }
47
+ }
48
+
15
49
  /**
16
50
  * @deprecated Use showHeader instead
17
51
  */