lopebase 0.6.3 → 0.6.5

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.
Files changed (2) hide show
  1. package/dist/lopebase.js +16 -5
  2. package/package.json +1 -1
package/dist/lopebase.js CHANGED
@@ -1206,7 +1206,18 @@ var Y2 = ({ indicator: t = "dots" } = {}) => {
1206
1206
  };
1207
1207
 
1208
1208
  // ../admin-adapter/src/releases.ts
1209
- var ADAPTER_VERSION = "0.4.1", ADAPTER_RELEASES = [
1209
+ var ADAPTER_VERSION = "0.4.2", ADAPTER_RELEASES = [
1210
+ {
1211
+ version: "0.4.2",
1212
+ date: "2026-11-03",
1213
+ features: [
1214
+ "A service check that fails is tried once more within its time limit before the health address reports it down, so one dropped database query no longer marks the product down. cachedCheck retries the same way before it keeps a failure.",
1215
+ "When health() reports ok: false and no services are declared, the health address now answers 503, so LopeBase sees the product down instead of up.",
1216
+ "A health() hook that throws is reported as unhealthy instead of crashing the request.",
1217
+ "Every answer is sent with Cache-Control: no-store, so a CDN in front of the app never serves an old health result or caches rows."
1218
+ ],
1219
+ steps: []
1220
+ },
1210
1221
  {
1211
1222
  version: "0.4.1",
1212
1223
  date: "2026-10-08",
@@ -1290,7 +1301,7 @@ function releasesSince(version) {
1290
1301
  function upgradePrompt(fromVersion) {
1291
1302
  let todo = releasesSince(fromVersion), breaking = todo.flatMap((r) => r.breaking ?? []), steps = todo.flatMap((r) => r.steps);
1292
1303
  return [
1293
- `Update this app's LopeBase adapter (@lopebase/adapter) from ${fromVersion ?? "its current version"} to 0.4.1.`,
1304
+ `Update this app's LopeBase adapter (@lopebase/adapter) from ${fromVersion ?? "its current version"} to 0.4.2.`,
1294
1305
  "",
1295
1306
  "1. Install it with this repo's package manager, for example `npm install @lopebase/adapter@latest`. A 0.x range like ^0.1.2 does not pick up 0.2 or later on its own.",
1296
1307
  ...breaking.length ? [
@@ -3135,7 +3146,7 @@ async function checkToken(auth) {
3135
3146
  jsonrpc: "2.0",
3136
3147
  id: 1,
3137
3148
  method: "tools/call",
3138
- params: { name: "list_products", arguments: {} }
3149
+ params: { name: "list_properties", arguments: {} }
3139
3150
  })
3140
3151
  });
3141
3152
  if (res.status === 401)
@@ -3207,7 +3218,7 @@ async function pasteLogin(url) {
3207
3218
  let check = await checkToken({ url, token });
3208
3219
  if (check.ok) {
3209
3220
  let file = saveAuth({ url, token });
3210
- return s.stop(`Signed in. ${check.products} product(s) in this workspace. Saved to ${import_picocolors4.default.dim(file)}`), { url, token };
3221
+ return s.stop(`Signed in. ${check.products} ${check.products === 1 ? "property" : "properties"} in this workspace. Saved to ${import_picocolors4.default.dim(file)}`), { url, token };
3211
3222
  }
3212
3223
  s.stop(import_picocolors4.default.red(check.message ?? "That did not work."));
3213
3224
  }
@@ -3273,7 +3284,7 @@ async function init() {
3273
3284
  s.start(`Checking your connection to ${auth.url}`);
3274
3285
  let check = await checkToken(auth);
3275
3286
  if (check.ok)
3276
- s.stop(`Connected to ${import_picocolors4.default.bold(auth.url)}. ${check.products} ${check.products === 1 ? "product" : "products"} so far.`);
3287
+ s.stop(`Connected to ${import_picocolors4.default.bold(auth.url)}. ${check.products} ${check.products === 1 ? "property" : "properties"} so far.`);
3277
3288
  else
3278
3289
  s.stop(import_picocolors4.default.yellow("Your saved connection no longer works.")), auth = null;
3279
3290
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lopebase",
3
- "version": "0.6.3",
3
+ "version": "0.6.5",
4
4
  "description": "Set up LopeBase from your project's folder: scan your stack, connect your workspace, and let your coding agent do the rest.",
5
5
  "type": "module",
6
6
  "bin": {