@cerefox/memory 1.9.1 → 1.9.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.
@@ -7438,7 +7438,7 @@ var exports_meta = {};
7438
7438
  __export(exports_meta, {
7439
7439
  PKG_VERSION: () => PKG_VERSION
7440
7440
  });
7441
- var PKG_VERSION = "1.9.1";
7441
+ var PKG_VERSION = "1.9.2";
7442
7442
  var init_meta = () => {};
7443
7443
 
7444
7444
  // ../../_shared/config/paths.ts
@@ -25802,7 +25802,7 @@ var init_bundled_docs = __esm(() => {
25802
25802
  });
25803
25803
 
25804
25804
  // ../../_shared/ef-meta/index.ts
25805
- var EF_VERSION = "1.9.1", CEREFOX_VERSION = "1.9.1", EF_LAST_CHANGED = "1.9.0";
25805
+ var EF_VERSION = "1.9.2", CEREFOX_VERSION = "1.9.2", EF_LAST_CHANGED = "1.9.0";
25806
25806
  var init_ef_meta = () => {};
25807
25807
 
25808
25808
  // ../../_shared/compatibility/index.ts
@@ -73413,6 +73413,7 @@ Proceed with deployment to Supabase?`, true);
73413
73413
  println(c.green(`
73414
73414
  ✓ Server deploy complete.`));
73415
73415
  println(c.dim("Verify with: cerefox doctor"));
73416
+ println(c.dim("Refresh the bundled guides: cerefox guides ingest"));
73416
73417
  }
73417
73418
  function registerDeployServer(program2) {
73418
73419
  program2.command("deploy-server").description("Deploy/update the Cerefox server side (schema + RPCs + Edge Functions) on Supabase.").option("--dry-run", "Print the plan + pre-flight without deploying.").option("--schema-only", "Deploy/update only the schema + RPCs (skip Edge Functions).").option("--functions-only", "Deploy only the Edge Functions (skip the schema/RPCs).").option("--project-ref <ref>", "Supabase project ref for Edge Function deploys (default: derived from CEREFOX_SUPABASE_URL).").option("--yes", "Non-interactive (skip the deployment confirmation).").action(action10);
@@ -80660,14 +80661,10 @@ async function action33(options) {
80660
80661
  println("");
80661
80662
  println(c.green(`✓ Upgraded to ${target}.`));
80662
80663
  println("");
80663
- println(c.dim("Refreshing bundled-docs ingest (using the new version)…"));
80664
- const sync = spawnSync5(process.execPath, [process.argv[1], "guides", "ingest"], {
80665
- stdio: "inherit"
80666
- });
80667
- if (sync.status !== 0) {
80668
- println(cErr.yellow("⚠ ") + "Could not refresh self-docs (see output above).");
80669
- println(c.dim(" Run `cerefox guides ingest` manually after a successful `cerefox init`."));
80670
- }
80664
+ println("Next steps:");
80665
+ println(" 1. " + c.bold("cerefox server deploy") + " apply this release's schema/RPC/EF updates");
80666
+ println(" 2. " + c.bold("cerefox guides ingest") + " re-sync the bundled guides into your KB");
80667
+ println(c.dim(" (order matters: the new client may require the new schema — run the deploy first)"));
80671
80668
  }
80672
80669
  function registerSelfUpdate(program2) {
80673
80670
  const desc = "Upgrade Cerefox in place. Alias: `cerefox upgrade`.";
@@ -18,7 +18,7 @@
18
18
  * doesn't touch `supabase/functions/` leaves it alone).
19
19
  */
20
20
 
21
- export const EF_VERSION = "1.9.1";
21
+ export const EF_VERSION = "1.9.2";
22
22
 
23
23
  /**
24
24
  * The Cerefox RELEASE version — what `cerefox --version` reports and what npm
@@ -36,7 +36,7 @@ export const EF_VERSION = "1.9.1";
36
36
  * is imported by the Deno Edge Functions, which cannot reach into the npm
37
37
  * package.
38
38
  */
39
- export const CEREFOX_VERSION = "1.9.1";
39
+ export const CEREFOX_VERSION = "1.9.2";
40
40
 
41
41
  /**
42
42
  * The most recent version whose EF-side SOURCE actually changed (#127).
@@ -1,8 +1,21 @@
1
1
  # Upgrading Cerefox
2
2
 
3
- Upgrading is almost always two steps: **update the CLI, then re-deploy the
4
- server side if the release changed it.** Everything here is idempotent and safe
5
- to re-run.
3
+ Upgrading is almost always three steps, **in this order**: update the CLI,
4
+ re-deploy the server side if the release changed it, then re-sync the bundled
5
+ guides. Everything here is idempotent and safe to re-run.
6
+
7
+ ```bash
8
+ cerefox self-update # 1. the client
9
+ cerefox server deploy # 2. schema + RPCs + Edge Functions (if the release changed them)
10
+ cerefox guides ingest # 3. the bundled guides, into your KB
11
+ ```
12
+
13
+ The order matters: a release may require its own schema (the version notes
14
+ say so — v1.9.x is one), and until `server deploy` runs, the freshly updated
15
+ client is talking to the previous release's server. That is why
16
+ `self-update` no longer runs the guides sync automatically — it used to fire
17
+ at the one moment in the upgrade where it cannot succeed against a
18
+ schema-requiring release.
6
19
 
7
20
  ## Pick your path
8
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cerefox/memory",
3
- "version": "1.9.1",
3
+ "version": "1.9.2",
4
4
  "description": "Cerefox — user-owned shared memory for AI agents. CLI + stdio MCP server + web UI + ingestion for a knowledge base on your own Supabase project (or fully self-hosted with Cerefox Local).",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/fstamatelopoulos/cerefox",