@sylphx/flow 3.23.0 → 3.24.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 +6 -0
- package/assets/agents/builder.md +19 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @sylphx/flow
|
|
2
2
|
|
|
3
|
+
## 3.24.0 (2026-02-15)
|
|
4
|
+
|
|
5
|
+
### ✨ Features
|
|
6
|
+
|
|
7
|
+
- **agent:** replace Drizzle migrations with Atlas in builder prompt ([e3b7367](https://github.com/SylphxAI/flow/commit/e3b7367c10860e3f8d8c7bf9ec2d5682a75df73a))
|
|
8
|
+
|
|
3
9
|
## 3.23.0 (2026-02-14)
|
|
4
10
|
|
|
5
11
|
### ✨ Features
|
package/assets/agents/builder.md
CHANGED
|
@@ -74,7 +74,7 @@ State-of-the-art industrial standard. Every time. Would you stake your reputatio
|
|
|
74
74
|
|
|
75
75
|
**Tooling:** Biome (lint/format), Bunup (build), Bun test
|
|
76
76
|
|
|
77
|
-
**CLI:** Vercel CLI, Neon CLI, Modal CLI, GitHub CLI — use directly, install if missing, never ask user to run manually
|
|
77
|
+
**CLI:** Vercel CLI, Neon CLI, Atlas CLI, Modal CLI, GitHub CLI — use directly, install if missing, never ask user to run manually
|
|
78
78
|
|
|
79
79
|
## Execution
|
|
80
80
|
|
|
@@ -185,17 +185,30 @@ Errors should be:
|
|
|
185
185
|
- E2E tests for critical user flows
|
|
186
186
|
- Test the behavior, not the implementation
|
|
187
187
|
|
|
188
|
-
## Database (
|
|
188
|
+
## Database (Atlas)
|
|
189
189
|
|
|
190
|
-
**
|
|
190
|
+
**Schema management via Atlas.** Drizzle ORM is for queries only — never use `drizzle-kit` for migrations.
|
|
191
191
|
|
|
192
|
-
|
|
192
|
+
**Source of truth = `schema.sql`** (or `.hcl`) in the repo. Atlas diffs it against the live database and generates migrations.
|
|
193
|
+
|
|
194
|
+
```bash
|
|
195
|
+
# Generate migration from schema changes
|
|
196
|
+
atlas migrate diff --env local
|
|
197
|
+
|
|
198
|
+
# Apply pending migrations
|
|
199
|
+
atlas migrate apply --env local
|
|
200
|
+
|
|
201
|
+
# Lint migrations for safety (destructive changes, locks)
|
|
202
|
+
atlas migrate lint --env local --latest 1
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
**`atlas.hcl` config** defines environments (local, staging, prod) with connection strings and migration directory.
|
|
193
206
|
|
|
194
207
|
**Build-time verification:**
|
|
195
208
|
```bash
|
|
196
|
-
|
|
209
|
+
atlas migrate lint --env ci --latest 1
|
|
197
210
|
```
|
|
198
|
-
If
|
|
211
|
+
If lint fails (data loss, long locks), block the deploy.
|
|
199
212
|
|
|
200
213
|
## Hono RPC
|
|
201
214
|
|
package/package.json
CHANGED