Repository navigation
v2.0.0-alpha.2
Pre-release
Pre-release
·
21 commits
to master
since this release
[Version: v2.0.0-alpha.2] - 2026-10-31
Full Changelog: v2.0.0-alpha.1...v2.0.0-alpha.2
发布范围
- ACP 2.0 Alpha 渠道更新,仅支持 OpenCode V2。
- 通过 GitHub Release 和 npm 包
@infituit/opencode-acp分发;本版本更新 npmalpha渠道,不更新latest。
功能优化
- 移除 billion-context 环境检测及自动避让逻辑。ACP 不再因相关环境标记而跳过初始化、上下文处理或拒绝工具调用。
- 发布流程将 GitHub Release 的预构建安装包直接发布到 npm,npm 安装无需从 Git 源码构建。
- 精简使用文档,明确配置加载顺序、工具保护、质量门控和插件维护范围。
缺陷修复
- 将自动更新的目标包名改为
@infituit/opencode-acp,与本项目实际发布的 npm 包保持一致。
兼容性与升级前置条件
- 要求 OpenCode >=2.1.4 且 <3,不支持 OpenCode 1.x。
- 安装或切换来源前移除已有的 ACP npm、Git 或本地插件项,避免重复加载;无 scope 的
opencode-acp不是本项目发布的包。 - 禁用 OpenCode 内置自动压缩。不要依赖 ACP 自动避让 billion-context;如同时使用其他上下文压缩机制,请自行禁用其中一方,避免重复处理。
- 本次未变更 ACP 配置字段或持久化格式。首次从 V1 升级时,请备份旧状态并新建会话;复制 V1 JSON 状态文件不会迁移会话或压缩块。
已知问题
- 长历史会话的 V2 上下文处理仍可能在模型请求发送前增加明显等待;已有约 8–9 秒及 36.7 秒的报告,尚未修复,见 #34。
安装
opencode plugin add @infituit/opencode-acp@2.0.0-alpha.2也可使用 @alpha 跟随 Alpha 渠道。安装后执行 /reload,开启新会话并使用 /acp 确认插件可用。
[Version: v2.0.0-alpha.2] - 2026-10-31
Full Changelog: v2.0.0-alpha.1...v2.0.0-alpha.2
Release scope
- An update to the ACP 2.0 Alpha channel, supporting OpenCode V2 only.
- Distributed through GitHub Release and the npm package
@infituit/opencode-acp. This version updates the npmalphachannel without updatinglatest.
Improvements
- Remove billion-context environment detection and automatic yielding. ACP no longer skips initialization, bypasses context processing, or rejects tool calls because of those environment markers.
- Publish the prebuilt GitHub Release package directly to npm. Installing from npm does not require a Git source build.
- Simplify usage documentation and clarify configuration loading, tool protection, quality gates, and the scope of plugin maintenance.
Fixes
- Change the automatic update target to
@infituit/opencode-acp, matching the npm package published by this project.
Compatibility and upgrade prerequisites
- Requires OpenCode >=2.1.4 and <3; OpenCode 1.x is not supported.
- Remove existing ACP npm, Git, or local plugin entries before installing or switching sources to avoid duplicate loading. The unscoped
opencode-acppackage is not published by this project. - Disable OpenCode's built-in automatic compaction. Do not rely on ACP to yield automatically to billion-context; if another context compression mechanism is enabled, disable one of them to avoid duplicate processing.
- This release does not change ACP configuration fields or the persisted state format. When upgrading from V1, back up existing state and start a new session; copying V1 JSON state files does not migrate sessions or compression blocks.
Known issues
- V2 context processing in long-history sessions can still introduce noticeable delays before a model request is sent. Delays of approximately 8–9 seconds and 36.7 seconds have been reported and remain unresolved; see #34.
Installation
opencode plugin add @infituit/opencode-acp@2.0.0-alpha.2Alternatively, use @alpha to follow the Alpha channel. Run /reload after installation, start a new session, and use /acp to confirm the plugin is available.