@abloatai/ablo 0.9.5 → 0.9.7
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 +12 -0
- package/README.md +3 -3
- package/dist/cli.cjs +421 -376
- package/dist/client/Ablo.d.ts +9 -0
- package/dist/client/Ablo.js +6 -4
- package/dist/client/createModelProxy.d.ts +8 -0
- package/dist/client/createModelProxy.js +31 -11
- package/dist/errorCodes.js +15 -6
- package/dist/sync/SyncWebSocket.d.ts +13 -0
- package/dist/sync/SyncWebSocket.js +28 -4
- package/dist/sync/awaitIntentGrant.d.ts +15 -1
- package/dist/sync/awaitIntentGrant.js +9 -7
- package/dist/transactions/TransactionQueue.js +39 -12
- package/docs/quickstart.md +29 -17
- package/llms-full.txt +1 -1
- package/llms.txt +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.9.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Docs: fix the `commits.create` operation shape to the public `{ action, model, data }` form.
|
|
8
|
+
|
|
9
|
+
## 0.9.6
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- CLI quickstart simplification (3 commands). `init` now owns login, `migrate` is dropped from the direct-`databaseUrl` quickstart (dev handles it), and the `dev` command is renamed to `push` for honest naming with headless-safe login. **Note:** `ablo dev` is now `ablo push` — update any scripts. Also fixes 3 production bugs surfaced by the new end-to-end journey test harness.
|
|
14
|
+
|
|
3
15
|
## 0.9.5
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -53,10 +53,10 @@ npm install @abloatai/ablo
|
|
|
53
53
|
npx ablo login # opens the browser: sign in (or sign up) → a sk_test_ key is saved locally
|
|
54
54
|
npx ablo init # scaffolds ablo/schema.ts (offers to log in if you skipped it)
|
|
55
55
|
npx ablo migrate # creates the synced tables in YOUR Postgres (reads DATABASE_URL)
|
|
56
|
-
npx ablo
|
|
56
|
+
npx ablo push # pushes your schema (sandbox), writes ABLO_API_KEY to .env.local, watches for changes
|
|
57
57
|
```
|
|
58
58
|
|
|
59
|
-
After `ablo
|
|
59
|
+
After `ablo push`, the [Quick Start](#quick-start) below runs as-is —
|
|
60
60
|
`ABLO_API_KEY` is already in `.env.local` (frameworks load it automatically;
|
|
61
61
|
plain Node: `node --env-file=.env.local app.ts`). `npx ablo status` shows
|
|
62
62
|
what's configured at any time.
|
|
@@ -94,7 +94,7 @@ const schema = defineSchema({
|
|
|
94
94
|
|
|
95
95
|
const ablo = Ablo({
|
|
96
96
|
schema,
|
|
97
|
-
apiKey: process.env.ABLO_API_KEY, // written to .env.local by `npx ablo
|
|
97
|
+
apiKey: process.env.ABLO_API_KEY, // written to .env.local by `npx ablo push`
|
|
98
98
|
databaseUrl: process.env.DATABASE_URL, // your Postgres — rows live here, never with Ablo
|
|
99
99
|
});
|
|
100
100
|
|