@liwu1995/afu-context 0.1.3 → 0.1.4
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/README.md
CHANGED
|
@@ -30,7 +30,7 @@ Supported systems are macOS on Apple Silicon (ARM64) and Linux x64. The first `a
|
|
|
30
30
|
|
|
31
31
|
¹ On Windows, use PowerShell, Python **3.11+** and a Claude Code version with PowerShell hook support. Native Claude Code is implemented and awaits Windows testing. Native Codex is unsupported, and Pi and DSH are unverified on Windows.
|
|
32
32
|
|
|
33
|
-
The commands pin **0.1.3** from the public npm registry so installation does not depend on a mirror carrying the latest release. Use 0.1.3 or later; earlier versions lack the fixes in this release. If npm reports `with a date before`, check `before` and `min-release-age`. This version was published at **
|
|
33
|
+
The commands pin **0.1.3** from the public npm registry so installation does not depend on a mirror carrying the latest release. Use 0.1.3 or later; earlier versions lack the fixes in this release. If npm reports `with a date before`, check `before` and `min-release-age`. This version was published at **2026-11-05 11:50:41 UTC**. Retry after a rolling cooldown expires. For a fixed cutoff, the effective policy must allow that publication date.
|
|
34
34
|
|
|
35
35
|
<details>
|
|
36
36
|
<summary>Startup after reboot and Pi / DSH launch options</summary>
|
|
@@ -72,7 +72,7 @@ In a LongBench V2 replay of 39 history questions (20 agent histories and 19 dial
|
|
|
72
72
|
|
|
73
73
|
## Web dashboard
|
|
74
74
|
|
|
75
|
-
Inside a session, type `/afu:status` in Claude Code or
|
|
75
|
+
Inside a session, type `/afu:status` in Claude Code or `$afu-status` in Codex. The reply shows whether AFU is connected, the current context against the compaction threshold, and how many compactions have been applied. Installation adds these commands and removal deletes them.
|
|
76
76
|
|
|
77
77
|
From a terminal, check the integration status, then open the dashboard and select your session. For another host, replace `codex` with `claude`, `pi` or `dsh`; `--brief` prints the same short lines as the slash commands.
|
|
78
78
|
|
package/README.zh-CN.md
CHANGED
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
|
|
31
31
|
¹ Windows 使用 PowerShell,需本机 Python **3.11+** 和支持 PowerShell Hook 的 Claude Code。Windows 原生 Claude Code 已实现,待实机验收。Codex 未支持,Pi 和 DSH 未验收。
|
|
32
32
|
|
|
33
|
-
安装命令固定使用公网 npm 上的 **0.1.3**,避免镜像尚未同步最新版本。请使用 0.1.3 或更新版本;更早的版本不含本版修复。如果报错含 `with a date before`,请核对 npm 的 `before` 或 `min-release-age`。此版本发布于 **
|
|
33
|
+
安装命令固定使用公网 npm 上的 **0.1.3**,避免镜像尚未同步最新版本。请使用 0.1.3 或更新版本;更早的版本不含本版修复。如果报错含 `with a date before`,请核对 npm 的 `before` 或 `min-release-age`。此版本发布于 **2026-11-05 11:50:41 UTC**。若使用滚动冷却期,等该版本满足期限后重试;若设置了固定截止日期,需使用允许安装该版本的策略。
|
|
34
34
|
|
|
35
35
|
<details>
|
|
36
36
|
<summary>重启后的启动方式与 Pi / DSH 启动参数</summary>
|
|
@@ -72,7 +72,7 @@ Pi **0.84.4** 可直接传 `--provider` 和 `--model`。DSH 已适配 **0.1.2-rc
|
|
|
72
72
|
|
|
73
73
|
## Web 面板:查看压缩是否生效
|
|
74
74
|
|
|
75
|
-
在会话里,Claude Code 输入 `/afu:status`,Codex 输入
|
|
75
|
+
在会话里,Claude Code 输入 `/afu:status`,Codex 输入 `$afu-status`,即可看到 AFU 是否已接入、当前上下文距离压缩触发线还有多少,以及已经生效的压缩次数。这两个命令随安装添加、随移除删除。
|
|
76
76
|
|
|
77
77
|
在终端里,以 Codex 为例,先看接入状态,再打开面板查看刚才的会话。其它宿主将 `codex` 换成 `claude`、`pi` 或 `dsh`;加 `--brief` 输出与斜杠命令相同的简短结果。
|
|
78
78
|
|
package/package.json
CHANGED
package/python/{afu_context_local-0.1.3-py3-none-any.whl → afu_context_local-0.1.4-py3-none-any.whl}
RENAMED
|
Binary file
|
package/release.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.1.
|
|
3
|
-
"build": "
|
|
4
|
-
"wheel": "afu_context_local-0.1.
|
|
2
|
+
"version": "0.1.4",
|
|
3
|
+
"build": "e3873485cf3e1579e0df82d9c228601c21790e88469e1d1ac104c3244ed0a97b",
|
|
4
|
+
"wheel": "afu_context_local-0.1.4-py3-none-any.whl",
|
|
5
5
|
"prebuilt": false
|
|
6
6
|
}
|