diff --git a/.github/workflows/ci-windows.yml b/.github/workflows/ci-windows.yml index 7d63409c..75473b56 100644 --- a/.github/workflows/ci-windows.yml +++ b/.github/workflows/ci-windows.yml @@ -45,7 +45,7 @@ jobs: - name: Run Windows path tests run: | python -m pytest ` - tests/unit/test_auto_dream.py::test_scan_day_files_includes_nested_md_and_excludes_interests ` + tests/unit/test_auto_dream.py::test_scan_day_files_includes_only_markdown_day_files ` tests/unit/test_auto_dream.py::test_dream_extract_matches_posix_catalog_paths ` tests/unit/test_read_with_neighbors.py::test_read_with_neighbors_uses_posix_nested_path ` -v diff --git a/README.md b/README.md index 55485d34..65c6e773 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ cat > .env <<'EOF' # EMBEDDING_API_KEY=sk-xxx # EMBEDDING_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1 -# Required for auto_memory, auto_resource, and auto_dream. +# Required for auto_memory, auto_resource, auto_dream, and proactive refresh. LLM_API_KEY=sk-xxx LLM_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1 EOF @@ -270,8 +270,8 @@ everything under `metadata/` is rebuildable. | [`auto_memory`](docs/en/auto_memory.md) | Agent hook or `reme auto_memory` | Distills useful conversation facts while preserving a filtered conversation source record. | `session/dialog/*.jsonl`, `daily//.md` | | [`auto_resource`](docs/en/auto_resource.md) | Resource watcher or `reme auto_resource` | Turns files under `resource/` into source-linked, content-named daily cards. | `daily//.md` | | [`auto_index`](docs/en/memory_search.md) | Background watcher or `reme reindex` | The watcher ingests Markdown from `daily/` and `digest/`; `reindex` only rebuilds BM25 and embeddings from already-ingested chunks. | Searchable chunks, BM25, wikilink graph, and optional vectors | -| [`auto_dream`](docs/en/auto_dream.md) | `dream_cron` or `reme auto_dream` | By default, extracts up to five reusable units from changed files in the latest two-day window, then creates, corroborates, refines, or corrects digest nodes. | `digest/**`, `daily//interests.yaml` | -| [`proactive`](docs/en/proactive.md) | `reme proactive` before an agent decides to act | Reads topics generated by `auto_dream`; the host agent decides whether and how to mention them. | Structured topics from `daily//interests.yaml` | +| [`auto_dream`](docs/en/auto_dream.md) | `dream_cron` or `reme auto_dream` | By default, extracts up to five reusable units from changed files in the latest two-day window, then creates, corroborates, refines, or corrects digest nodes. | `digest/**` | +| [`proactive_read`](docs/en/proactive.md) | `reme proactive_read` before an agent decides to act | Reads topics generated by the independent proactive refresh flow; the host agent decides whether and how to mention them. | Structured topics from `daily//interests.yaml` | @@ -297,7 +297,7 @@ BM25 through reciprocal rank fusion (RRF). > [!IMPORTANT] > -> `proactive` only reads and exposes interest topics produced by Auto Dream. It does not independently browse the web, +> `proactive_read` only reads and exposes interest topics produced by proactive refresh. It does not independently browse the web, > send notifications, or rewrite the knowledge base; the host agent decides whether and how to act on a topic. ## 📊 Benchmarks diff --git a/README_ZH.md b/README_ZH.md index 7de559a1..11216b1e 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -98,7 +98,7 @@ cat > .env <<'EOF' # EMBEDDING_API_KEY=sk-xxx # EMBEDDING_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1 -# 必须:auto_memory、auto_resource 和 auto_dream 需要 LLM。 +# 必须:auto_memory、auto_resource、auto_dream 和 proactive refresh 需要 LLM。 LLM_API_KEY=sk-xxx LLM_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1 EOF @@ -266,8 +266,8 @@ ReMe 遵循 capture → index → consolidate → recall 的循环。workspace | [`auto_memory`](docs/zh/auto_memory.md) | Agent hook 或 `reme auto_memory` | 提炼有长期价值的对话事实,同时保留过滤后的对话来源记录。 | `session/dialog/*.jsonl`、`daily//.md` | | [`auto_resource`](docs/zh/auto_resource.md) | 资源监听或 `reme auto_resource` | 将 `resource/` 下的文件转为带来源链接、按内容命名的 daily 卡片。 | `daily//.md` | | [`auto_index`](docs/zh/memory_search.md) | 后台监听或 `reme reindex` | watcher 摄取 `daily/` 和 `digest/` 中的 Markdown;`reindex` 只基于已摄取的 chunks 重建 BM25 和 Embedding。 | 可检索的 chunks、BM25、wikilink 图谱和可选向量 | -| [`auto_dream`](docs/zh/auto_dream.md) | `dream_cron` 或 `reme auto_dream` | 默认从最近两天内变化的文件中最多提取 5 个可复用 unit,再创建、印证、补充或修正 digest 节点。 | `digest/**`、`daily//interests.yaml` | -| [`proactive`](docs/zh/proactive.md) | Agent 决定主动行动前调用 `reme proactive` | 读取 `auto_dream` 生成的 topics;是否以及如何提醒用户由宿主 Agent 决定。 | 来自 `daily//interests.yaml` 的结构化 topics | +| [`auto_dream`](docs/zh/auto_dream.md) | `dream_cron` 或 `reme auto_dream` | 默认从最近两天内变化的文件中最多提取 5 个可复用 unit,再创建、印证、补充或修正 digest 节点。 | `digest/**` | +| [`proactive_read`](docs/zh/proactive.md) | Agent 决定主动行动前调用 `reme proactive_read` | 读取独立 proactive refresh 流程生成的 topics;是否以及如何提醒用户由宿主 Agent 决定。 | 来自 `daily//interests.yaml` 的结构化 topics |
@@ -292,7 +292,7 @@ ReMe 遵循 capture → index → consolidate → recall 的循环。workspace > [!IMPORTANT] > -> `proactive` 只读取并暴露 Auto Dream 生成的兴趣主题,不会自行联网、发送通知或改写知识库;是否以及如何使用主题,由宿主 Agent +> `proactive_read` 只读取并暴露 proactive refresh 生成的兴趣主题,不会自行联网、发送通知或改写知识库;是否以及如何使用主题,由宿主 Agent > 决定。 ## 📊 评测结果 diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 9e7605ce..4874bbb2 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -295,7 +295,8 @@ export default defineConfig({ }, head: [ ["link", { rel: "icon", type: "image/svg+xml", href: `${base}reme-icon.svg` }], - ["meta", { name: "theme-color", content: "#087f6a" }], + ["meta", { name: "theme-color", content: "#087f6a", media: "(prefers-color-scheme: light)" }], + ["meta", { name: "theme-color", content: "#0d1512", media: "(prefers-color-scheme: dark)" }], ["script", { defer: "", src: "https://cloud.umami.is/script.js", diff --git a/docs/.vitepress/theme/HomePage.vue b/docs/.vitepress/theme/HomePage.vue index 08ea6bb3..7ffc31dd 100644 --- a/docs/.vitepress/theme/HomePage.vue +++ b/docs/.vitepress/theme/HomePage.vue @@ -1,11 +1,12 @@