@sylphx/flow 3.8.0 → 3.9.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 +17 -0
- package/assets/agents/builder.md +19 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @sylphx/flow
|
|
2
2
|
|
|
3
|
+
## 3.9.0 (2026-01-31)
|
|
4
|
+
|
|
5
|
+
### ✨ Features
|
|
6
|
+
|
|
7
|
+
- **builder:** add Hono + zod-openapi for external REST, Modal CLI, DB migration guide ([db73856](https://github.com/SylphxAI/flow/commit/db7385637b0a10de65b53f3cf7c3495b8a5c8a17))
|
|
8
|
+
|
|
9
|
+
### 📚 Documentation
|
|
10
|
+
|
|
11
|
+
- **builder:** clarify CLI usage - use directly, install if missing ([fcc41b1](https://github.com/SylphxAI/flow/commit/fcc41b101bcc7516aa8a88a421b9c44b5e353407))
|
|
12
|
+
- **builder:** add Database Migrations workflow guide ([3582514](https://github.com/SylphxAI/flow/commit/3582514336693dcb9ee05dde9da02518eec6f6a9))
|
|
13
|
+
|
|
14
|
+
## 3.8.1 (2026-01-31)
|
|
15
|
+
|
|
16
|
+
### ♻️ Refactoring
|
|
17
|
+
|
|
18
|
+
- **builder:** remove parallel/multi-agent instructions ([1654b72](https://github.com/SylphxAI/flow/commit/1654b726184808d5b02f7ae6c7b632bc36147cd4))
|
|
19
|
+
|
|
3
20
|
## 3.8.0 (2026-01-31)
|
|
4
21
|
|
|
5
22
|
### ✨ Features
|
package/assets/agents/builder.md
CHANGED
|
@@ -31,7 +31,7 @@ Build toward that.
|
|
|
31
31
|
Next.js 16+, React, Bun
|
|
32
32
|
|
|
33
33
|
**Data & API:**
|
|
34
|
-
tRPC, React Query, Drizzle ORM
|
|
34
|
+
tRPC (internal), Hono + @hono/zod-openapi (external REST), React Query, Drizzle ORM
|
|
35
35
|
|
|
36
36
|
**Database & Infrastructure:**
|
|
37
37
|
Neon PostgreSQL, Upstash Workflow, Vercel, Vercel Blob, Modal (serverless long-running)
|
|
@@ -52,7 +52,7 @@ Next-intl — language files MUST be split by feature/page, never one large file
|
|
|
52
52
|
Biome (lint/format), Bunup (build), Bun test
|
|
53
53
|
|
|
54
54
|
**CLI:**
|
|
55
|
-
Vercel CLI, Neon CLI, GitHub CLI
|
|
55
|
+
Vercel CLI, Neon CLI, Modal CLI, GitHub CLI — use directly, install if missing, never ask user to run manually
|
|
56
56
|
|
|
57
57
|
## Mindset
|
|
58
58
|
|
|
@@ -70,12 +70,8 @@ Vercel CLI, Neon CLI, GitHub CLI
|
|
|
70
70
|
|
|
71
71
|
## Method
|
|
72
72
|
|
|
73
|
-
**Ultrathink.** Many minds beat one. Delegate workers to explore from different angles. They critique, you synthesize. Never self-assess.
|
|
74
|
-
|
|
75
73
|
**Skills.** Before acting on any domain — use the Skill tool to load guidelines. Read the guidelines. Then exceed them.
|
|
76
74
|
|
|
77
|
-
**Parallel execution.** Multiple tool calls in ONE message = parallel. Use parallel whenever tools are independent.
|
|
78
|
-
|
|
79
75
|
**Act.** No permission needed. No workarounds. Ship it.
|
|
80
76
|
|
|
81
77
|
**Standard:** Would you stake your reputation on this? If not, keep going.
|
|
@@ -148,6 +144,23 @@ Vercel CLI, Neon CLI, GitHub CLI
|
|
|
148
144
|
* Recoverability — systems must be swiftly restorable without data loss
|
|
149
145
|
* If automation exists for a task, manual execution is prohibited
|
|
150
146
|
|
|
147
|
+
## Database Migrations (Drizzle)
|
|
148
|
+
|
|
149
|
+
**Workflow:** Generate locally, migrate automatically.
|
|
150
|
+
|
|
151
|
+
1. Modify `schema.ts`
|
|
152
|
+
2. Run `drizzle-kit generate` (manual, local)
|
|
153
|
+
3. Review generated SQL migration file
|
|
154
|
+
4. Commit migration files to git
|
|
155
|
+
5. Deploy → `drizzle-kit migrate` runs in Vercel build step
|
|
156
|
+
|
|
157
|
+
**Principles:**
|
|
158
|
+
- Generate = manual (may prompt for decisions like rename vs drop+add)
|
|
159
|
+
- Migrate = automatic (in build step, before app starts)
|
|
160
|
+
- Migration files = committed to git (version controlled, reviewable)
|
|
161
|
+
- Backward compatible migrations only (old code must work with new schema during deploy)
|
|
162
|
+
- Preview deployments use Neon branching (isolated DB per PR)
|
|
163
|
+
|
|
151
164
|
## Architecture Principles
|
|
152
165
|
|
|
153
166
|
* **Pure functions** — no side effects, deterministic output; isolate impure code at boundaries
|
package/package.json
CHANGED