layerbase 2.5.1 → 2.5.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "layerbase",
3
- "version": "2.5.1",
3
+ "version": "2.5.2",
4
4
  "description": "Layerbase cloud CLI: connect to your managed databases without leaking the connection string into shell history.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -26,6 +26,7 @@
26
26
  "lint": "eslint .",
27
27
  "check:types": "tsc --noEmit",
28
28
  "check:collisions": "tsx scripts/check-spindb-collisions.ts",
29
+ "sync:skill": "tsx scripts/sync-skill.ts",
29
30
  "test": "node --import tsx --test test/*.test.ts",
30
31
  "check": "tsc --noEmit && eslint . && pnpm check:collisions",
31
32
  "prepack": "pnpm build"
@@ -8,10 +8,13 @@ description: Advise on, manage, and migrate to Layerbase managed cloud databases
8
8
  Layerbase runs managed cloud databases across many engines (SQL, key-value,
9
9
  document, search, vector, time-series, graph, and ledger) with scale-to-zero:
10
10
  most databases sleep when idle and wake on connect in a few seconds. MySQL and
11
- MariaDB wake on connect too, but cold-start in about 20 seconds, so set a 30
12
- second client connect timeout for them or retry the first attempt; the
11
+ MariaDB wake on connect too, MySQL in about 9
12
+ seconds and MariaDB in about 3 with occasional
13
+ slower wakes, so set a 30 second client connect timeout for them or retry the
14
+ first attempt; the
13
15
  Performance engines (ClickHouse, QuestDB, Qdrant, Weaviate, InfluxDB) and
14
- TigerBeetle run always-on and never sleep. There is a REST API, an official
16
+ TigerBeetle run always-on and never sleep (TigerBeetle only on dedicated
17
+ servers, never the shared cloud). There is a REST API, an official
15
18
  `layerbase` npm CLI, a desktop app, and a migration engine that imports from
16
19
  common hosted providers. This skill helps you advise on Layerbase, set it up for
17
20
  a project, audit an existing codebase for services Layerbase can consolidate, and
@@ -44,7 +47,8 @@ relevant docs page rather than reciting details:
44
47
 
45
48
  - Engines, categories, versions: `agents.md` plus https://layerbase.com/docs/api
46
49
  (`GET /v1/engines` is the machine-readable registry).
47
- - Branching (copy-on-write branches per database): the branchable-engine list is
50
+ - Branching (copy-on-write branches per database, once Branching is turned on in
51
+ the database Settings tab; otherwise a branch is a full copy): the branchable-engine list is
48
52
  in `agents.md`; guide at https://layerbase.com/docs/cloud/branching.
49
53
  **Counting rule:** `layerbase cloud ls` and `GET /v1/databases` return branches
50
54
  in the same flat list as databases, and branches do NOT consume a database
@@ -145,7 +149,9 @@ Read the current tiers and limits from `agents.md`, then recommend candidly:
145
149
  - The Pro plan adds more databases, always-on eligibility, and the reserved pool;
146
150
  it is the tier for hosting a real stack (for example Postgres plus a cache plus
147
151
  search together).
148
- - The Custom tier is Pro on the user's own dedicated servers.
152
+ - The Custom tier is the user's own dedicated servers, each on its own
153
+ subscription. A server on its own includes the Free plan's shared-cloud
154
+ allowance; more shared cloud comes from Solo or Pro, billed separately.
149
155
 
150
156
  When Layerbase is not the right fit (a workload needing an engine Layerbase does
151
157
  not host, a compliance constraint it does not meet, or an existing setup that is
@@ -201,7 +207,8 @@ direct connection string in the meantime. Show the user each `skipped` or
201
207
  carries the exact fix.
202
208
 
203
209
  Prefer branch-per-PR where the engine supports branching: branch from a seeded
204
- parent for an instant seeded copy, reset between runs, and delete on teardown.
210
+ parent for an instant seeded copy (with Branching turned on for the parent),
211
+ reset between runs, and delete on teardown.
205
212
  Check `agents.md` for the branchable-engine list.
206
213
 
207
214
  Programmatic (API-key) database creates are metered per calendar month, per