ver 1.0
This commit is contained in:
@@ -25,7 +25,7 @@ sys.path.insert(0, str(SCRIPT_DIR))
|
||||
|
||||
import echo # noqa: E402
|
||||
|
||||
CURRENT_SCHEMA = 3
|
||||
CURRENT_SCHEMA = 4
|
||||
|
||||
|
||||
def get_text(path: str) -> str | None:
|
||||
@@ -141,6 +141,11 @@ def main(argv: list[str] | None = None) -> int:
|
||||
"# index\n\nMachine-maintained entity index. See the echo-memory plugin.\n"))
|
||||
print("migrate: [2->3] then run `sweep.py --apply` to build entities.json and symmetrize links.")
|
||||
|
||||
if start < 4:
|
||||
print("migrate: [3->4] add the recall (BM25) index — hybrid lexical+graph recall")
|
||||
print("migrate: [3->4] _agent/index/ already exists (schema 3); no moves needed.")
|
||||
print("migrate: [3->4] then run `sweep.py --apply` to build _agent/index/recall-index.json.")
|
||||
|
||||
do_or_show(args.apply, f"set _agent/echo-vault.md schema_version -> {CURRENT_SCHEMA}",
|
||||
lambda: echo.cmd_fm("_agent/echo-vault.md", "schema_version", str(CURRENT_SCHEMA)))
|
||||
if args.apply:
|
||||
|
||||
Reference in New Issue
Block a user