This repository is a bilingual, source-provenance backup of the working HMHarness integration for CodexHost. It preserves the adapter, bridge protocol, renderer integration, tests, and the clean patch submitted to upstream CodexHost as PR #243. The PR was closed on 2026-09-10, so this repository is now maintained independently.
HMHarness can appear in CodexHost as a selectable AI agent framework. The integration has two parts:
- CodexHost adapter: discovers the
hmh-codexhostexecutable, lists providers and models, maps CodexHost harness operations, streams events, and closes every Turn with an authoritative result. - HM bridge: exposes HMHarness through a stable NDJSON protocol:
{"type":"delta","text":"..."}streams final-answer text;{"type":"tool",...}reports tool activity;{"type":"line",...}reports loop status;{"text":"...","sessionId":...}is the final authoritative record.
The bridge exits immediately after emitting the final line. The adapter treats the completed Item snapshot as authoritative, so progress text can differ from the final result without leaving the UI in a Thinking state.
patches/codex-host/0001-add-hmharness-adapter-and-streaming-bridge.patch- Clean source/test-only patch against official CodexHost
maincommit25fb54f2b91f0f4c488051287ffa813513c9a060; it is the patch behind PR #243.
- Clean source/test-only patch against official CodexHost
snapshots/codex-host/- Exact source and test files from the verified local integration.
snapshots/hmharness/packages/codexhost-bridge/- Exact source of the machine-readable HM bridge used by the adapter.
snapshots/codex-host-runtime/0.8.2/plugin/- Runtime plugin bundle for the independently maintained CodexHost
0.8.2integration, including the verified HMHarness icon.
- Runtime plugin bundle for the independently maintained CodexHost
scripts/apply-codexhost-0.8.2.mjs- Idempotent migration for the official CodexHost
0.8.2Windows installer layout.
- Idempotent migration for the official CodexHost
snapshots/codex-host-runtime/0.7.1/plugin/- Archived runtime plugin bundle for CodexHost
0.7.1.
- Archived runtime plugin bundle for CodexHost
scripts/apply-codexhost-0.7.1.mjs- Archived migration for an official
@codexhost/cli@0.7.1installation.
- Archived migration for an official
tools/install-windows.ps1- Optional Windows placement helper that moves the verified plugin bundle into CodexHost's user plugin directory after the migration mappings exist.
tools/launch-windows-0.8.2.ps1- Windows fallback launcher for systems where Codex Desktop does not inherit the normal CodexHost process environment.
snapshots/codex-host-runtime/0.7.0/plugin/- Archived runtime plugin for the previous CodexHost
0.7.0integration.
- Archived runtime plugin for the previous CodexHost
manifest/provenance.json- Commit IDs, hashes, patch applicability, and validation results.
verification/- Reproduction evidence and commands.
git clone https://github.com/BytePioneer-AI/codex-host.git
cd codex-host
git checkout 25fb54f2b91f0f4c488051287ffa813513c9a060
git apply --check path/to/0001-add-hmharness-adapter-and-streaming-bridge.patch
git apply path/to/0001-add-hmharness-adapter-and-streaming-bridge.patch
npm install
npm run typecheck
npx vitest run --config tests/vitest.config.js \
packages/protocol-core/test/codex-ui-projector.test.ts \
packages/adapters/hmharness/test/hmharness-adapter.test.ts \
packages/host-runtime/test/app-server-host.test.ts \
packages/renderer-extension/test/renderer-binding-probe.test.ts \
packages/renderer-extension/test/versioned-renderer-adapter.test.ts \
tests/release/production-renderer.test.mjsThe bridge is publicly distributed as @hmharness/codexhost-bridge. The current npm release is 0.6.5; the source snapshot preserved here is the 0.6.5 release from clean HMHarness commit b17e02f5c6d654c4a50bbe4c614164167cf9851a.
Do not keep the same hmharness plugin in both the npm-managed plugin directory and the user plugin directory: duplicate plugin IDs cause both plugins to be rejected.
CodexHost's maintainers have said that HMHarness is outside their roadmap. For the independently maintained runtime integration, install the official host first and apply the local migration after every CodexHost update:
# Install the official CodexHost 0.8.2 Windows installer release first.
npm install -g @openai/codex@0.154.0
npm install -g @hmharness/codexhost-bridge@0.6.5
node scripts/apply-codexhost-0.8.2.mjs
pwsh -NoProfile -ExecutionPolicy Bypass -File tools/install-windows.ps1 # optional Windows placement
Get-Content "$env:LOCALAPPDATA\Programs\codexhost\app\codexhost-distribution.json"The current verified host is the official Windows installer distribution at %LOCALAPPDATA%\Programs\codexhost, version 0.8.2, corresponding to upstream tag commit 969fbde59a927250448854b1ad4c78a2854cd4c5. The public npm CLI may expose a different wrapper version (for example 0.8.0 on PATH while the installed host is 0.8.2); always verify app\codexhost-distribution.json before applying a migration.
The 0.8.2 migration validates the plugin.mjs entry convention, copies the verified bundle into the host's plugin directory, enables it, and patches the controller and renderer anchors by exact count. It also embeds the HMHarness SVG into the renderer so hmharness cannot fall back to the Antigravity icon. The plugin SHA-256 is 57D1EDD1394F2011B0FF4C88830870FF64C6D4A0A49BFA3BAF5C7094FDA4436A; the icon SHA-256 is 950FA9B06484F9D56C51A976679252D3061832279292658C20E59D9F06FE75DF. The Windows placement helper verifies both values.
The migration validates that the plugin manifest uses the CodexHost 0.7.1 entry convention (plugin.mjs), copies the bundle into the official package's nested platform runtime, enables the plugin, and adds the renderer/controller model and ownership mappings. Close and relaunch CodexHost through its normal launcher after applying it. The current bundle was adapted from official upstream commit e6adb05095aff8aba5241230b07619c8b8aa8db4; its plugin SHA-256 is 57D1EDD1394F2011B0FF4C88830870FF64C6D4A0A49BFA3BAF0C7094FDA4436A.
On Windows, the optional placement helper may be run after the migration mappings are present. It moves only the plugin bundle to ~/.codexhost/plugins/hmharness, enables that copy, and removes the duplicate from the nested npm runtime. It is not a standalone clean-install migration because the controller/renderer mappings are still required.
For CodexHost 0.8.2, the placement helper removes the duplicate from the official installer plugin directory instead. On this Windows Insider/MSIX setup, Codex Desktop 26.908.8172.0 did not inherit CodexHost's environment injection. tools/launch-windows-0.8.2.ps1 provides a scoped fallback: it snapshots seven HKCU environment values, writes temporary launch values, starts CodexHost with explicit node/shim/runtime/controller/renderer paths, waits for the Host shim to exit, then restores both HKCU and ~/.codex/config.toml. A state file supports recovery from a stale shutdown. The desktop shortcut uses the official CodexHost executable icon and launches this script through WSH.
Archived 0.7.1 note: the two preceding installation paragraphs describe the previous npm runtime layout.
- CodexHost PR #243, based on official commit
25fb54f, was closed because HMHarness is not currently in the CodexHost roadmap. No technical review or CI feedback was left. @hmharness/codexhost-bridge@0.6.5is public on npm, is not private, declares MIT, and points to the correct monorepo subdirectory.- The bridge snapshot preserved here is
0.6.5from clean HMHarnessmaincommitb17e02f5c6d654c4a50bbe4c614164167cf9851a. - The PR excludes local build products, temporary scripts, machine paths, credentials, and runtime state.
- This repository is maintained independently unless CodexHost later changes its roadmap.
On 2026-09-15:
- The official Windows installer distribution was CodexHost
0.8.2at%LOCALAPPDATA%\Programs\codexhost; the npm CLI on PATH was0.8.0, which is not the host version used by Desktop. Codex CLI was0.154.0, Codex Desktop was26.908.8172.0, and the bridge was0.6.5. - The 0.8.2 migration installed HMHarness as
ready, exposed the expected models, and selectedglm / glm-5.3. A real UI turn returned exact markerHMH_CODEXHOST_082_UI_FINAL_20260915_OK; runrun_20260914175429_9b60c1completed in 15.451 seconds withoutcome.success=true,outcome.reason=final, andmodel=glm-5.3. - After completion the composer was empty, the visible
正在思考count was0, and nohm-codexhostbridge process remained. The live agent option rendered HMHarness's dedicated base64 SVG icon, not the Antigravity fallback. - Closing only the Codex Desktop main process caused
codexhost-shim.exeto exit. The launcher removedwindows-082-launch-fallback.json, restored the original HKCU values, and left no shim/CodexHost injection in~/.codex/config.toml.
On 2026-09-12:
- CodexHost
0.7.1, its nested Windows platform package0.7.1, Codex CLI0.154.0, Desktop26.908.4834.0, and bridge0.6.5were current. The local integration was rebased onto official upstream commite6adb05095aff8aba5241230b07619c8b8aa8db4; the TypeScript build passed and the targeted suite passed270/270. - The
0.7.1migration was syntax-checked and executed twice as an idempotency test. HMHarness remainedready, listed 14 configured models, selectedglm / glm-5.3, and returned real UI markerHMH_CODEXHOST_071_20260912_OK; the visible Thinking count returned to0and no HM bridge child process remained. - After the migration mappings were present, the Windows placement helper moved the identical plugin bundle to the user plugin directory and removed the npm-managed duplicate. A clean restart still listed 14 models and selected
glm / glm-5.3; runrun_20260912154904_67851freturned the exact markerHMH_CODEXHOST_071_USERPLUGIN_20260912_OKin 5.850 seconds, ended with Thinking count0, and left no HM bridge process. - CC Switch on
127.0.0.1:15721, codex-image-proxy on127.0.0.1:15731, and the pre-existing DSH Web instance on3081remained available. DeepSeek Harness was also returned toreadyby two machine-local repairs: restoring its truncated official plugin from source and removing an invalidcodegraphMCP reference plus extending its local startup wait to 60 seconds. Those DeepSeek files are not part of this HMHarness backup. - CodexHost
0.7.0, its nested Windows platform package0.7.0, Codex CLI0.154.0, and bridge0.6.5were current. A stale top-level@codexhost/cli-win32-x64@0.6.2package was removed after confirming all live node-repl processes used the nested0.7.0path. - The first
0.7.0migration exposed a real compatibility defect: the copied manifest still pointed at./dist/plugin.js, while the actual bundle and official plugin convention useplugin.mjs, producingpluginLoad/loadFailed. The manifest and migration were corrected and a complete desktop-shortcut relaunch returned HMHarness to正常. - HMHarness listed 14 configured models and selected
glm / glm-5.3. A real UI turn sentHMH_CODEXHOST_070_20260912_OKand received a visible response containing that marker; after completion the composer was empty, the visible Thinking count was zero, and no HM bridge child process remained. - The desktop launch chain was verified end to end:
Desktop\CodexHost.lnktowscript.exe,.codexhost-launch.vbs,.codexhost-launch.ps1, andcodexhost launch. CDP and attachment listeners were present, while the existing CC Switch and image-proxy listeners stayed available. DeepSeek Harness remained unavailable for its own startup reasons and is unrelated to HMHarness. - Source bridge
0.6.5tests passed2/2at HMHarness commitb17e02f5c6d654c4a50bbe4c614164167cf9851a.
On 2026-09-11:
- CodexHost
0.6.2, Codex CLI0.154.0, and bridge0.6.2were current. - Installed official npm tarball
0.6.2:--versionreturned{"version":"0.6.2"}, the isolated provider listing returnedalt-model, and the fake keys did not leak. - Real CodexHost/HMHarness smoke: HMHarness was
ready, all 13 configured models were listed,glm / glm-5.3was selected, two consecutive exact marker requests returned their exact values, the HM bridge process exited after each turn, and the visible Thinking count was zero.selections.phase: lockedis the expected active external-thread ownership state; it did not block the follow-up turn. - Final source bridge
0.6.2: Node tests passed2/2, provider listing returned all 13 configured entries without credentials, and a live GLM marker run returnedHMH_062_OKwith streaming deltas, an authoritative final record, and exit code0.
On 2026-09-10:
- CodexHost
npm run typecheck: passed. - CodexHost
npm run build:typescript: passed. - CodexHost
npm run lint: passed. - CodexHost targeted suite: 6 files, 256 tests passed.
- HM bridge Node test: 2 tests passed.
- Clean patch generated from official
maincommit25fb54fand PR commit3de8496. - Installed npm bridge tarball
0.5.2:--versionpassed, provider output selected the expected model, and the fake key did not leak. - Real CodexHost/HMHarness smoke: thread and turn completed, result was available, the HM bridge process exited, and the UI Thinking count was zero.
See LICENSE, NOTICE.md, and the complete texts under licenses/. The CodexHost and HMHarness snapshots are MIT-licensed.
- AtomGit mirror: synchronized bilingual backup for China-friendly access.
- HMHarness main repository: self-evolving agent framework for the HarmonyOS development lifecycle.
- CodexHost: multi-framework desktop host for AI coding agents.
- CodexHost Releases
这是 HMHarness 接入 CodexHost 的双语开源备份仓库,保留当前已经真实验证过的 adapter、bridge 协议、桌面端集成、回归测试,以及已提交给官方 CodexHost 的 PR #243 对应补丁。该 PR 已于 2026-09-10 关闭,本仓库后续独立维护。
接入分为两部分:
- CodexHost adapter:发现
hmh-codexhost可执行文件,读取 provider/model 目录,映射 CodexHost harness 生命周期,消费流式事件,并用权威最终结果关闭 Turn。 - HM bridge:用稳定的 NDJSON 协议暴露 HMHarness 能力:
{"type":"delta","text":"..."}:最终回答的流式增量;{"type":"tool",...}:工具调用活动;{"type":"line",...}:执行循环状态;{"text":"...","sessionId":...}:最终权威结果。
bridge 输出最终记录后立即退出。adapter 信任 item.completed 的权威快照,因此中间进度文本与最终文本不一致时,也不会让 UI 一直停留在“正在思考”。
patches/codex-host/0001-add-hmharness-adapter-and-streaming-bridge.patch:只包含源码和测试的精选补丁,基准为官方main提交25fb54f2b91f0f4c488051287ffa813513c9a060,即 PR #243。snapshots/codex-host/:已验证集成中涉及的 CodexHost 源码和测试文件。snapshots/hmharness/packages/codexhost-bridge/:adapter 依赖的机器可读 bridge 实现。snapshots/codex-host-runtime/0.8.2/plugin/:独立维护的 CodexHost0.8.2运行时插件包,包含已验证的 HMHarness 图标。scripts/apply-codexhost-0.8.2.mjs:面向官方 CodexHost0.8.2Windows installer 目录结构的幂等迁移脚本。snapshots/codex-host-runtime/0.7.1/plugin/:已归档的 CodexHost0.7.1运行时插件包。scripts/apply-codexhost-0.7.1.mjs:已归档的官方@codexhost/cli@0.7.1迁移脚本。tools/install-windows.ps1:可选的 Windows 插件位置辅助脚本,在迁移映射存在后把已验证插件包移动到 CodexHost 用户插件目录。tools/launch-windows-0.8.2.ps1:面向 Codex Desktop 无法继承 CodexHost 进程环境的 Windows fallback 启动器。snapshots/codex-host-runtime/0.7.0/plugin/:上一个 CodexHost0.7.0运行时插件的归档。manifest/provenance.json:来源提交、哈希、补丁可应用性和验证结果。verification/:复现步骤和证据。
git clone https://github.com/BytePioneer-AI/codex-host.git
cd codex-host
git checkout 25fb54f2b91f0f4c488051287ffa813513c9a060
git apply --check path/to/0001-add-hmharness-adapter-and-streaming-bridge.patch
git apply path/to/0001-add-hmharness-adapter-and-streaming-bridge.patch
npm install
npm run typecheck
npx vitest run --config tests/vitest.config.js \
packages/protocol-core/test/codex-ui-projector.test.ts \
packages/adapters/hmharness/test/hmharness-adapter.test.ts \
packages/host-runtime/test/app-server-host.test.ts \
packages/renderer-extension/test/renderer-binding-probe.test.ts \
packages/renderer-extension/test/versioned-renderer-adapter.test.ts \
tests/release/production-renderer.test.mjsbridge 已在 npm 公开发布为 @hmharness/codexhost-bridge。当前 npm 版本是 0.6.5;本仓库保留的来源快照是 HMHarness 干净 main 提交 b17e02f5c6d654c4a50bbe4c614164167cf9851a 上的 0.6.5 版本。
不要把同一个 hmharness 插件同时留在 npm 管理插件目录和用户插件目录:重复插件 ID 会导致两个插件同时被拒绝。
CodexHost 官方已明确 HMHarness 不在其路线图内。独立维护的运行时集成应先安装官方宿主,再在每次 CodexHost 更新后应用本地迁移:
# 先安装官方 CodexHost 0.8.2 Windows installer 发行版。
npm install -g @openai/codex@0.154.0
npm install -g @hmharness/codexhost-bridge@0.6.5
node scripts/apply-codexhost-0.8.2.mjs
pwsh -NoProfile -ExecutionPolicy Bypass -File tools/install-windows.ps1 # Windows 可选位置迁移
Get-Content "$env:LOCALAPPDATA\Programs\codexhost\app\codexhost-distribution.json"当前验证的宿主是 %LOCALAPPDATA%\Programs\codexhost 下的官方 Windows installer 发行版,版本为 0.8.2,对应上游 tag 提交 969fbde59a927250448854b1ad4c78a2854cd4c5。npm CLI 可能显示不同的 wrapper 版本(例如 PATH 上的 0.8.0,而实际宿主是 0.8.2);适配前必须读取 app\codexhost-distribution.json 确认宿主版本。
0.8.2 迁移脚本会校验 plugin.mjs 入口约定,复制已验证插件包,启用插件,并按 controller/renderer 的精确锚点补齐模型、ownership 和外部框架映射。它还会把 HMHarness SVG 嵌入 renderer,确保 hmharness 不会回落到 Antigravity 图标。插件 SHA-256 为 57D1EDD1394F2011B0FF4C88830870FF64C6D4A0A49BFA3BAF5C7094FDA4436A,图标 SHA-256 为 950FA9B06484F9D56C51A976679252D3061832279292658C20E59D9F06FE75DF;Windows 位置辅助脚本会同时校验这两个值。
迁移脚本会校验插件 manifest 使用 CodexHost 0.7.1 的入口约定(plugin.mjs),复制插件包到官方包内嵌的平台运行时,启用插件,并补齐 renderer/controller 的模型与 ownership 映射。应用后需要按正常启动器完整重启 CodexHost。当前 bundle 基于官方上游提交 e6adb05095aff8aba5241230b07619c8b8aa8db4 适配;插件 SHA-256 为 57D1EDD1394F2011B0FF4C88830870FF64C6D4A0A49BFA3BAF0C7094FDA4436A。
Windows 可在迁移映射存在后运行可选的位置辅助脚本。它只把插件包移动到 ~/.codexhost/plugins/hmharness,启用该副本,并移除内嵌 npm 运行时里的重复副本。controller/renderer 映射仍然必需,因此它不是干净的独立安装方案。
CodexHost 0.8.2 的位置辅助脚本会移除官方 installer 插件目录里的重复副本。在这台 Windows Insider/MSIX 环境上,Codex Desktop 26.908.8172.0 没有继承 CodexHost 的环境注入;tools/launch-windows-0.8.2.ps1 提供范围受限的 fallback:先快照 7 个 HKCU 环境值,写入临时启动值,用显式 node/shim/runtime/controller/renderer 路径启动 CodexHost,等待 Host shim 退出,再恢复 HKCU 和 ~/.codex/config.toml。状态文件支持异常关机后的下次恢复。桌面快捷方式使用官方 CodexHost 可执行文件图标,并通过 WSH 调用该脚本。
已归档的 0.7.1 说明:上面两段安装说明描述的是旧的 npm 运行时布局。
官方提案状态:
- CodexHost PR #243 基于官方提交
25fb54f的干净分支,但维护者以 HMHarness 当前不在 CodexHost 计划中为由关闭;未留下技术 review 或 CI 反馈。 @hmharness/codexhost-bridge@0.6.5已公开发布,非 private,MIT 许可,npm repository directory 指向正确。- 本仓库保留的 bridge 快照来自干净的 HMHarness
main提交b17e02f5c6d654c4a50bbe4c614164167cf9851a。 - PR 已排除本地构建产物、临时脚本、机器路径、凭据和运行状态。
- 除非 CodexHost 路线图变化,本仓库按独立方案维护。
2026-09-15:
- 官方 Windows installer 发行版为
%LOCALAPPDATA%\Programs\codexhost下的 CodexHost0.8.2;PATH 上的 npm CLI 是0.8.0,不是 Desktop 实际使用的宿主版本。Codex CLI 为0.154.0,Codex Desktop 为26.908.8172.0,bridge 为0.6.5。 - 0.8.2 迁移后 HMHarness 为
ready,暴露预期模型并选择glm / glm-5.3。真实 UI turn 精确返回HMH_CODEXHOST_082_UI_FINAL_20260915_OK;run_20260914175429_9b60c1用时 15.451 秒,outcome.success=true、outcome.reason=final、model=glm-5.3。 - 完成后输入框为空,可见“正在思考”计数为
0,且没有hm-codexhostbridge 进程残留。Agent 选项渲染的是 HMHarness 专用 base64 SVG 图标,不是 Antigravity 回落图标。 - 只关闭 Codex Desktop 主进程后,
codexhost-shim.exe随之退出。启动器删除windows-082-launch-fallback.json,恢复原始 HKCU 值,并确认~/.codex/config.toml没有 shim/CodexHost 注入残留。
2026-09-12:
- CodexHost
0.7.1、其内嵌 Windows 平台包0.7.1、Codex CLI0.154.0、Desktop26.908.4834.0、bridge0.6.5均为当前版本。本地集成已适配官方上游提交e6adb05095aff8aba5241230b07619c8b8aa8db4;TypeScript 构建通过,目标测试270/270通过。 0.7.1迁移脚本通过语法检查,并连续执行两次验证幂等。HMHarness 保持ready,列出 14 个已配置模型,选择glm / glm-5.3,真实 UI marker 返回HMH_CODEXHOST_071_20260912_OK;完成后可见“正在思考”计数为0,且没有 HM bridge 子进程残留。- 在迁移映射已存在的前提下,Windows 位置辅助脚本把同一个插件包移动到用户插件目录,并移除 npm 管理的重复副本。干净重启后仍列出 14 个模型并选择
glm / glm-5.3;run_20260912154904_67851f在 5.850 秒内精确返回HMH_CODEXHOST_071_USERPLUGIN_20260912_OK,完成后“正在思考”计数为0,没有 HM bridge 进程残留。 127.0.0.1:15721的 CC Switch、127.0.0.1:15731的 codex-image-proxy、既有3081DSH Web 实例均保持可用。DeepSeek Harness 也通过两项本机修复恢复ready:从源码恢复被截断的官方插件,移除无效codegraphMCP 引用并将本机启动等待延长到 60 秒。这些 DeepSeek 文件不属于本 HMHarness 备份。- CodexHost
0.7.0、其内嵌 Windows 平台包0.7.0、Codex CLI0.154.0、bridge0.6.5均为当前版本;确认所有活跃 node-repl 进程都在使用内嵌0.7.0路径后,移除了顶层残留的@codexhost/cli-win32-x64@0.6.2。 - 首次
0.7.0迁移暴露出真实兼容缺陷:复制的 manifest 仍指向./dist/plugin.js,而实际 bundle 与官方插件约定都是plugin.mjs,导致pluginLoad/loadFailed。修正 manifest 和迁移脚本后,通过桌面快捷方式完整重启,HMHarness 恢复为正常。 - HMHarness 列出 14 个已配置模型,默认选择
glm / glm-5.3。真实 UI turn 发送HMH_CODEXHOST_070_20260912_OK并收到包含该 marker 的可见回复;完成后输入框为空,可见“正在思考”计数为 0,且没有 HM bridge 子进程残留。 - 桌面启动链路端到端验证为
Desktop\CodexHost.lnk->wscript.exe->.codexhost-launch.vbs->.codexhost-launch.ps1->codexhost launch;CDP 与 attachment 监听存在,既有 CC Switch 和图片代理监听保持可用。DeepSeek Harness 仍因自身启动问题不可用,与 HMHarness 无关。 - HMHarness 提交
b17e02f5c6d654c4a50bbe4c614164167cf9851a上的源码 bridge0.6.5测试通过2/2。
2026-09-11:
- CodexHost
0.6.2、Codex CLI0.154.0、bridge0.6.2均为当前版本。 - npm 官方源 tarball
0.6.2真实验证:--version返回{"version":"0.6.2"},隔离 provider 列表返回alt-model,假 key 未泄露。 - 真实 CodexHost/HMHarness 冒烟:HMHarness 为
ready,列出全部 13 个已配置模型,选择glm / glm-5.3,连续两个精确 marker 请求均返回精确结果,每个 turn 后 HM bridge 进程退出,可见“正在思考”计数为 0。selections.phase: locked是活动外部线程的预期 ownership 状态,没有阻塞后续 turn。 - 最终源码 bridge
0.6.2:Node 测试通过2/2,provider 列表返回全部 13 个已配置条目且未输出凭据;真实 GLM marker 请求返回HMH_062_OK,包含流式 delta、权威 final 记录,退出码为0。
2026-09-10:
- CodexHost
npm run typecheck:通过。 - CodexHost
npm run build:typescript:通过。 - CodexHost
npm run lint:通过。 - CodexHost 定向测试:6 个文件、256 个用例全部通过。
- HM bridge Node 测试:2 个用例通过。
- 精选补丁由官方提交
25fb54f和 PR 提交3de8496生成。 - npm bridge
0.5.2tarball 真实安装验证:--version通过,provider 输出符合预期,假 key 未泄露。 - 真实 CodexHost/HMHarness 冒烟:thread 与 turn 均完成,结果可读取,bridge 进程退出,UI“正在思考”计数为 0。
见 LICENSE.md、NOTICE.md 和 licenses/ 下的完整文本。CodexHost 与 HMHarness 快照均为 MIT 许可。
- AtomGit 镜像:与 GitHub 保持同步的双语备份。
- HMHarness 主仓库:面向鸿蒙开发全流程的自进化智能体框架。
- CodexHost 官方仓库:多框架 AI 编码智能体桌面宿主。
- CodexHost Releases