From 1f90b063528df84f9d6204d377d76752075d8ff2 Mon Sep 17 00:00:00 2001 From: HarryHe <2496583567@qq.com> Date: Sat, 21 Nov 2026 20:36:01 +0800 Subject: [PATCH] docs: keep published install pins on v1.5.0 --- CHANGELOG.md | 2 +- README.md | 16 +++++++++------- README.zh-CN.md | 16 +++++++++------- docs/MAINTENANCE.md | 2 ++ docs/QUICKSTART.md | 4 ++-- docs/releases/v1.6.0.md | 6 +++--- pyproject.toml | 2 +- tests/test_docs.py | 16 ++++++++++++++++ 8 files changed, 43 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 131a9a9..25963a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ All notable changes to Voyager are documented here. Format loosely follows [Keep a Changelog](https://keepachangelog.com/); versions are dated. -## [1.6.0] — 2026-11-21 +## [Unreleased] ### Added diff --git a/README.md b/README.md index de1e464..8771ef6 100644 --- a/README.md +++ b/README.md @@ -21,11 +21,13 @@ is one client of it, and the core is a general-purpose local tool.) |---|---| | **What it is** | A local index plus a continuity layer over the session history your coding agents already write to disk. | | **Why use it** | Your history is split across nine formats. sessionFlow makes it one thing you can search, summarize, export and continue — and every claim in a continuation bundle names the event it came from, so you can check it. | -| **Install** | `pipx install "voyager[all] @ git+https://github.com/HarryHeYu/sessionFlow.git@v1.6.0"` — [details](#install) | +| **Install** | `pipx install "voyager[all] @ git+https://github.com/HarryHeYu/sessionFlow.git@v1.5.0"` — [details](#install) | | **Try it (2 min)** | `voyager demo` — synthetic data, no agents needed — [quick start](#quick-start) · [5-minute walkthrough](docs/QUICKSTART.md) | -| **Current release** | [v1.6.0](https://github.com/HarryHeYu/sessionFlow/releases/tag/v1.6.0) · Python ≥ 3.10 · Windows / macOS / Linux | +| **Current release** | [v1.5.0](https://github.com/HarryHeYu/sessionFlow/releases/tag/v1.5.0) · Python ≥ 3.10 · Windows / macOS / Linux | | **Community** | Listed in the third-party [awesome-dsh-plugin](https://github.com/awesome-dsh-plugin/awesome-dsh-plugin/blob/main/data/plugins/HarryHeYu__dsh-sessionflow.yml) directory — a listing, not a certification | | **Known limitation** | Native resume is **not verified** end to end — see [supported platforms](#supported-platforms) | + +> **Unreleased candidate:** Core 1.6.0 is prepared on `main` at commit `913be97` (CI 10/10). It has **no tag and no Release**. The install commands above deliberately stay on `v1.5.0`; verify the candidate from that commit or its locally built wheel/sdist, never from a `v1.6.0` tag. | **Maintaining it** | [Known issues, compatibility matrix, release checklist](docs/MAINTENANCE.md) | ### Three things it is for @@ -123,10 +125,10 @@ Voyager makes that history *one* thing you can query. ```sh # isolated CLI install — no virtualenv juggling (recommended) -pipx install "voyager[all] @ git+https://github.com/HarryHeYu/sessionFlow.git@v1.6.0" +pipx install "voyager[all] @ git+https://github.com/HarryHeYu/sessionFlow.git@v1.5.0" # or with pip (user-level); `python -m pip` on Windows, where `pip` may not be on PATH -python -m pip install "voyager[all] @ git+https://github.com/HarryHeYu/sessionFlow.git@v1.6.0" +python -m pip install "voyager[all] @ git+https://github.com/HarryHeYu/sessionFlow.git@v1.5.0" ``` **Voyager is not on PyPI.** The `voyager` name there belongs to an unrelated @@ -159,9 +161,9 @@ voyager --version # must print 1.6.0 optional and only needed for those features: ```sh -pip install "voyager @ git+https://github.com/HarryHeYu/sessionFlow.git@v1.6.0" # core -pip install "voyager[dsh] @ git+https://github.com/HarryHeYu/sessionFlow.git@v1.6.0" # + DSH -pip install "voyager[mcp] @ git+https://github.com/HarryHeYu/sessionFlow.git@v1.6.0" # + MCP server +pip install "voyager @ git+https://github.com/HarryHeYu/sessionFlow.git@v1.5.0" # core +pip install "voyager[dsh] @ git+https://github.com/HarryHeYu/sessionFlow.git@v1.5.0" # + DSH +pip install "voyager[mcp] @ git+https://github.com/HarryHeYu/sessionFlow.git@v1.5.0" # + MCP server ``` Working on Voyager itself: diff --git a/README.zh-CN.md b/README.zh-CN.md index 7988e50..f479957 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -19,11 +19,13 @@ |---|---| | **是什么** | 在编码 Agent 已经写到磁盘上的会话历史之上,加一层本地索引 + 接续层。 | | **为什么用** | 你的历史分散在九种格式里。sessionFlow 让它变成一件可以检索、总结、导出、接续的东西——而且接续包里的每一条结论都标着它出自哪个事件,可以核对。 | -| **安装** | `pipx install "voyager[all] @ git+https://github.com/HarryHeYu/sessionFlow.git@v1.6.0"` —— [详见](#安装) | +| **安装** | `pipx install "voyager[all] @ git+https://github.com/HarryHeYu/sessionFlow.git@v1.5.0"` —— [详见](#安装) | | **2 分钟试用** | `voyager demo` —— 合成数据,不需要任何 Agent —— [快速上手](#快速上手) · [5 分钟上手指南](docs/QUICKSTART.md) | -| **当前版本** | [v1.6.0](https://github.com/HarryHeYu/sessionFlow/releases/tag/v1.6.0) · Python ≥ 3.10 · Windows / macOS / Linux | +| **当前版本** | [v1.5.0](https://github.com/HarryHeYu/sessionFlow/releases/tag/v1.5.0) · Python ≥ 3.10 · Windows / macOS / Linux | | **已知限制** | Native resume **尚未**端到端验证 —— 见 [支持的平台](#支持的平台) | +> **未发布候选版:** Core 1.6.0 在 `main` 的提交 `913be97` 上准备(CI 10/10),**尚无 Tag、也无 Release**。上面的安装命令仍然固定 `v1.5.0`;验证候选代码请使用该提交或本地构建的 wheel/sdist,不要假设存在 `v1.6.0` Tag。 + ### 它主要解决三件事 **换一个 Agent 接着做。** 你在 Codex 里开了一半,想让 Claude Code 接手。 @@ -109,10 +111,10 @@ JSONL。你每天都在跨这些工具干活——Voyager 把这些历史变成* ```sh # 用 pipx 装成独立 CLI(推荐,不用折腾虚拟环境) -pipx install "voyager[all] @ git+https://github.com/HarryHeYu/sessionFlow.git@v1.6.0" +pipx install "voyager[all] @ git+https://github.com/HarryHeYu/sessionFlow.git@v1.5.0" # 或者用 pip 装到用户目录(Windows 上用 `python -m pip`,`pip` 常常不在 PATH 里) -python -m pip install "voyager[all] @ git+https://github.com/HarryHeYu/sessionFlow.git@v1.6.0" +python -m pip install "voyager[all] @ git+https://github.com/HarryHeYu/sessionFlow.git@v1.5.0" ``` **Voyager 没有发布到 PyPI。** PyPI 上的 `voyager` 是一个毫不相干的最近邻搜索库, @@ -140,9 +142,9 @@ voyager --version # 应当输出 1.5.0 `[all]` = DSH 支持(`zstandard`)+ MCP server(`mcp`),两者都是可选能力: ```sh -pip install "voyager @ git+https://github.com/HarryHeYu/sessionFlow.git@v1.6.0" # 核心 -pip install "voyager[dsh] @ git+https://github.com/HarryHeYu/sessionFlow.git@v1.6.0" # + DSH -pip install "voyager[mcp] @ git+https://github.com/HarryHeYu/sessionFlow.git@v1.6.0" # + MCP server +pip install "voyager @ git+https://github.com/HarryHeYu/sessionFlow.git@v1.5.0" # 核心 +pip install "voyager[dsh] @ git+https://github.com/HarryHeYu/sessionFlow.git@v1.5.0" # + DSH +pip install "voyager[mcp] @ git+https://github.com/HarryHeYu/sessionFlow.git@v1.5.0" # + MCP server ``` 想改 Voyager 本身: diff --git a/docs/MAINTENANCE.md b/docs/MAINTENANCE.md index e0962d3..d17aad3 100644 --- a/docs/MAINTENANCE.md +++ b/docs/MAINTENANCE.md @@ -93,6 +93,8 @@ git archive | tar -x -C "$SCRATCH/prev" `PYTHONPATH`: with it in place, bulk `unlink()` raises and tests fail for a reason that has nothing to do with the code. +The 1.6.0 Core candidate is prepared at commit `913be97` (CI 10/10) but is **not tagged**. Published install commands stay on `v1.5.0` until the pre-tag pin patch in step 3 below. Do not read the candidate note in the READMEs as a release announcement. + Release mechanics — the `release` workflow is **automatic**: `on: push: tags: v*` runs `.github/workflows/release.yml`. It checks out the diff --git a/docs/QUICKSTART.md b/docs/QUICKSTART.md index 865804e..1728837 100644 --- a/docs/QUICKSTART.md +++ b/docs/QUICKSTART.md @@ -17,7 +17,7 @@ see your agents. Step 4 is the first one that opens your own session files. ## 1. Install the core (1 min) ```sh -pipx install "voyager[all] @ git+https://github.com/HarryHeYu/sessionFlow.git@v1.6.0" +pipx install "voyager[all] @ git+https://github.com/HarryHeYu/sessionFlow.git@v1.5.0" ``` `[all]` pulls in the DSH (`zstandard`) and MCP (`mcp`) extras. Drop it for a bare @@ -26,7 +26,7 @@ build; drop it to follow `main`. No `pipx`? Use pip — `python -m pip` on Windows, where `pip` is often not on `PATH`: ```sh -python -m pip install "voyager[all] @ git+https://github.com/HarryHeYu/sessionFlow.git@v1.6.0" +python -m pip install "voyager[all] @ git+https://github.com/HarryHeYu/sessionFlow.git@v1.5.0" ``` **Not on PyPI.** The `voyager` name there is an unrelated library, so a bare diff --git a/docs/releases/v1.6.0.md b/docs/releases/v1.6.0.md index 0181e1b..0c4fa18 100644 --- a/docs/releases/v1.6.0.md +++ b/docs/releases/v1.6.0.md @@ -1,8 +1,8 @@ # Release v1.6.0 — product delivery -This is the next **stable** Core release prepared from `main`. It is not tagged -and not published in this sprint. Install pin changes are applied only in the -pre-tag commit described in `docs/MAINTENANCE.md`. +This is candidate release notes for the tree at commit `913be97`. It is **not tagged, +not published and not installable from a `v1.6.0` tag**. Published install commands +stay on `v1.5.0` until the pre-tag pin patch described in `docs/MAINTENANCE.md`. ## Added diff --git a/pyproject.toml b/pyproject.toml index 04f2102..ea3d88b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "voyager" -version = "1.6.0" +version = "1.5.0" description = "Unified local session manager for AI coding agents (Codex, Claude Code, ZCode, DSH, Grok, ...)" readme = "README.md" requires-python = ">=3.10" diff --git a/tests/test_docs.py b/tests/test_docs.py index 4a4195e..fcfecdf 100644 --- a/tests/test_docs.py +++ b/tests/test_docs.py @@ -464,6 +464,22 @@ def test_historical_pairings_are_still_listed(self): missing = [pair for pair in historical if pair not in pairs] self.assertEqual(missing, [], "historical compatibility rows were removed") + def test_header_names_the_published_release(self): + """The install command must name a tag that actually exists.""" + published = self.rows()[0][0][1:] + en = (ROOT / "README.md").read_text(encoding="utf-8") + zh = (ROOT / "README.zh-CN.md").read_text(encoding="utf-8") + for text, marker in ((en, "Current release"), (zh, "当前版本")): + line = next((l for l in text.splitlines() if marker in l), "") + found = re.search(r"releases/tag/v(\d+\.\d+\.\d+)", line) + self.assertIsNotNone(found, "current-release row must link a tag") + self.assertEqual(found.group(1), published, + "README must not advertise an untagged candidate") + for text in (en, zh): + pins = set(re.findall(r"sessionFlow\.git@v(\d+\.\d+\.\d+)", text)) + self.assertEqual(pins, {published}, + "install pins must use the published release") + def test_indexing_and_native_resume_are_not_conflated(self): text = self.GUIDE.read_text(encoding="utf-8") self.assertIn(