@cerefox/memory 1.0.0-beta.2 → 1.0.0-beta.3
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/dist/bin/cerefox.js +10 -11
- package/dist/frontend/assets/index-BZdKiyrT.js +125 -0
- package/dist/frontend/assets/index-BZdKiyrT.js.map +1 -0
- package/dist/frontend/index.html +1 -1
- package/dist/server-assets/_shared/ef-meta/index.ts +1 -1
- package/dist/server-assets/supabase/functions/cerefox-metadata-search/index.ts +3 -1
- package/dist/server-assets/supabase/functions/cerefox-search/index.ts +8 -1
- package/package.json +1 -1
- package/dist/frontend/assets/index-D3FshoP3.js +0 -125
- package/dist/frontend/assets/index-D3FshoP3.js.map +0 -1
package/dist/bin/cerefox.js
CHANGED
|
@@ -7184,7 +7184,7 @@ var exports_meta = {};
|
|
|
7184
7184
|
__export(exports_meta, {
|
|
7185
7185
|
PKG_VERSION: () => PKG_VERSION
|
|
7186
7186
|
});
|
|
7187
|
-
var PKG_VERSION = "1.0.0-beta.
|
|
7187
|
+
var PKG_VERSION = "1.0.0-beta.3";
|
|
7188
7188
|
var init_meta = () => {};
|
|
7189
7189
|
|
|
7190
7190
|
// ../../node_modules/.bun/tslib@2.8.1/node_modules/tslib/tslib.js
|
|
@@ -68414,8 +68414,8 @@ async function action(options) {
|
|
|
68414
68414
|
println(c.green("✓ ") + `Backup written: ${dest}`);
|
|
68415
68415
|
println(c.dim(` documents: ${docs.length} · chunks: ${chunkTotal}`));
|
|
68416
68416
|
if (options.git) {
|
|
68417
|
-
println(c.yellow("⚠ ") + "--git commit
|
|
68418
|
-
println(c.dim("
|
|
68417
|
+
println(c.yellow("⚠ ") + "--git commit is not implemented; the snapshot was written without a git checkpoint.");
|
|
68418
|
+
println(c.dim(" Commit the backup directory yourself if you want it version-controlled."));
|
|
68419
68419
|
}
|
|
68420
68420
|
}
|
|
68421
68421
|
function registerBackup(program2) {
|
|
@@ -74281,7 +74281,7 @@ import { homedir as homedir5 } from "node:os";
|
|
|
74281
74281
|
import { join as join8 } from "node:path";
|
|
74282
74282
|
|
|
74283
74283
|
// ../../_shared/ef-meta/index.ts
|
|
74284
|
-
var EF_VERSION = "1.0.0-beta.
|
|
74284
|
+
var EF_VERSION = "1.0.0-beta.3";
|
|
74285
74285
|
|
|
74286
74286
|
// src/cli/util/checks.ts
|
|
74287
74287
|
init_config();
|
|
@@ -74729,7 +74729,7 @@ function checkLegacyShadowEnv() {
|
|
|
74729
74729
|
name: "legacy env",
|
|
74730
74730
|
status: "skipped",
|
|
74731
74731
|
detail: `${cwdEnv} (shadowed by ~/.cerefox/.env)`,
|
|
74732
|
-
hint: "
|
|
74732
|
+
hint: "Shadowed by ~/.cerefox/.env and no longer read by anything (Python was removed at " + "v1.0.0). Safe to delete."
|
|
74733
74733
|
};
|
|
74734
74734
|
}
|
|
74735
74735
|
async function checkPostgres() {
|
|
@@ -75959,7 +75959,7 @@ async function promptForAnswers() {
|
|
|
75959
75959
|
});
|
|
75960
75960
|
println("");
|
|
75961
75961
|
println(c.cyan("▶ Step 4/5 — Direct Postgres connection (optional for npm-installed users)"));
|
|
75962
|
-
println(c.dim(" Only needed for `
|
|
75962
|
+
println(c.dim(" Only needed for `cerefox server deploy` (schema deploy + migrations).\n" + ` You can skip this and set CEREFOX_DATABASE_URL later — press Enter.
|
|
75963
75963
|
` + " Format: postgresql://postgres.<project-ref>:<pw>@…:5432/postgres?sslmode=require"));
|
|
75964
75964
|
const databaseUrl = await ask({
|
|
75965
75965
|
type: "text",
|
|
@@ -76045,16 +76045,15 @@ function printMigrationMenu(cwdEnv, homeEnv) {
|
|
|
76045
76045
|
println("");
|
|
76046
76046
|
println(c.yellow(`⚠ Found existing config at ${cwdEnv}.`));
|
|
76047
76047
|
println("");
|
|
76048
|
-
println("This may be from
|
|
76048
|
+
println("This may be from an earlier install. The CLI can use the");
|
|
76049
76049
|
println("same .env — env-var names are identical, no rewrite needed.");
|
|
76050
76050
|
println("");
|
|
76051
76051
|
println(" " + c.bold("[c]") + " Copy to " + homeEnv + " " + c.green("(recommended)"));
|
|
76052
|
-
println(c.dim(" •
|
|
76053
|
-
println(c.dim(" • Python keeps reading " + cwdEnv + " (backward compat)"));
|
|
76052
|
+
println(c.dim(" • The CLI reads the new home from now on"));
|
|
76054
76053
|
println(c.dim(" • Edit ~/.cerefox/.env going forward; the repo .env is legacy"));
|
|
76055
76054
|
println("");
|
|
76056
76055
|
println(" " + c.bold("[u]") + " Use " + cwdEnv + " as-is, skip writing anything");
|
|
76057
|
-
println(c.dim(" •
|
|
76056
|
+
println(c.dim(" • The CLI keeps reading the existing file"));
|
|
76058
76057
|
println(c.dim(" • Defer the migration"));
|
|
76059
76058
|
println("");
|
|
76060
76059
|
println(" " + c.bold("[f]") + " Fresh start — interactive prompts, write to " + homeEnv);
|
|
@@ -76240,7 +76239,7 @@ async function action21(options) {
|
|
|
76240
76239
|
}
|
|
76241
76240
|
}
|
|
76242
76241
|
println(c.green(`✓ Copied ${cwdEnv} → ${homeEnv}`));
|
|
76243
|
-
println(c.dim(` Repo file unchanged —
|
|
76242
|
+
println(c.dim(` Repo file left unchanged — safe to delete once the new location works.`));
|
|
76244
76243
|
println("");
|
|
76245
76244
|
const answers2 = answersFromEnvFile(homeEnv);
|
|
76246
76245
|
println(c.bold("Validating credentials…"));
|