From 2e0362ce1b952ec95ba07b6a2675daa6deb19dc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=90=91=E9=98=B3?= Date: Fri, 25 Sep 2026 11:34:45 +0800 Subject: [PATCH] port-8792 --- README.md | 2 +- curi.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5f1afe2..b39fbcb 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ python curi.py doctor python curi.py serve ``` -Open . CURI scans `~/.codex/sessions` every three seconds. Override paths when needed: +Open . CURI scans `~/.codex/sessions` every three seconds. Override paths when needed: ```bash python curi.py serve \ diff --git a/curi.py b/curi.py index 476d0e0..48455ae 100644 --- a/curi.py +++ b/curi.py @@ -415,7 +415,7 @@ def common(s: argparse.ArgumentParser) -> None: s.add_argument("--archive-dir", default=os.getenv("CURI_ARCHIVE_DIR", "")) s.add_argument("--db", default=os.getenv("CURI_DB", str(Path.home() / ".curi" / "curi.sqlite3"))) s = sub.add_parser("serve", help="scan and serve the local dashboard") - common(s); s.add_argument("--port", type=int, default=8787); s.add_argument("--interval", type=int, default=3) + common(s); s.add_argument("--port", type=int, default=8792); s.add_argument("--interval", type=int, default=3) s = sub.add_parser("scan", help="scan local JSONL once and print a summary") common(s); s.add_argument("--days", type=int, default=0) s = sub.add_parser("doctor", help="check local paths without reading credentials")