Releases: Sapientropic/codeksei
Releases · Sapientropic/codeksei
v0.5.1
Added
- Added native WeChat reply delivery controls:
/reply,/reply mode stream|settled,/reply merge <chars>, and/reply reset. - Added
weixin-delivery-config.jsonas the runtime owner for/replyoverrides, while keeping env/default configuration support.
Changed
- Absorbed recent upstream WeChat chunking and runtime thread-switching behavior without reintroducing old branding, aliases, commands, JS runtime adapters, or legacy bin/docs.
- Let the runtime
resumeThreadseam carryworkspaceRoot, so/switchand watchdog subscription restore can preserve workspace context for runtime adapters.
Fixed
- Fix Codex Mode language fallback so
CODEKSEI_LOCALE=endrives the default WeChat persona language whenCODEKSEI_USER_LANGUAGEis not set. - Prevent stream-mode WeChat delivery from leaking
[SILENT]/ protocol sentinel text, including internal visible-text state tracking. - Refresh production lockfile entries to patched
express-rate-limit@8.5.1,ip-address@10.2.0, anduuid@13.0.2.
Validation
npm run verifynpm run audit:prod- GitHub CI, Secret Scan, and Publish to npm workflows on commit
08555f5
v0.5.0
Added
- host attachment contract v2:
host manifest/host bootstrap/host doctor/ 示例资产现在会输出结构化hostIdentity,并新增coreInvariant=codeksei-core-owned、scheduleTruthOwner=codeksei、schemas/hostkit-v2.json与schemas/codeksei-config-v2.json。 - 语义化 onboarding persona 提取主链,支持“小模型优先、规则兜底”的六域 backstage 抽取,并继续把长期真相只写回 companion note,而不是新建第二套 profile store。
adb6b90 codeksei onboarding start|step|status|reset公共 CLI 面,以及无 workspace schema / 无 Obsidian 时自动回退到CODEKSEI_STATE_DIR/companions/<userKey>/profile.md的 companion profile。adb6b90- 统一的 semantic JSON runtime 抽取基础件,供 onboarding 和 review semantic host 复用,减少重复的 Codex/Hermes JSON 提取逻辑。
adb6b90 - 通用的
codeksei companion remember公共 CLI 和src/companion-memory/*shared owner:所有宿主都可以把会影响未来陪伴判断的新事实或纠正送进同一条 ongoing companion memory 主链,而不是只把记忆更新绑在 onboarding 会话里。 CODEKSEI_STATE_DIR/companion-memory/<userKey>.json运行态记忆状态:只存 dedupe、freshness、recent writes 和 pending pattern candidates,不引入第二套长期 profile store。- host 升级感知合同:
host manifest现在带 machine-readable 的推荐工作流与升级要求;host bootstrap会写入 bootstrap 快照;host doctor会显式判断是否需要重新 bootstrap 或重装 companion skill。c650278
Changed
timeline screenshot现在只负责生成本地截图文件;文件发送统一收口到channel send-file,并移除了旧的timeline screenshot --send/--user路径及相关内部发送链路。bc66471ee6ac84f854ec3- reminder / host / system / operator 的命令面进一步做减法收口:
reminder write --delivery proactive、system send、外部system checkin-poller、operator hermes sync-checkin、host bootstrap --ensure-daemon已移除,不再作为 public/operator surface 保留。74b7bb8 - 公开 mode 命名现在收口到
Codex Mode与Hosted Mode;Bridge Mode、Hermes Hosted Mode、bridge-codex-weixin、hosted-hermes-weixin退到兼容别名层,不再是公开主命名。 - host config / host recipe / host resolution 改成宿主无关:不再把
channel=weixin写死成唯一支持组合;codex + host-managed telegram/discord/feishu与hermes + host-managed channel现在都能通过同一条 attach contract 解析,first-party Weixin adapter 只保留给Codex Mode + codeksei/weixin。 shared:*shell wrapper 明确只支持Codex Mode + codeksei/weixin;一旦切到 Hosted Mode 或 host-managed channel,就直接提示改走宿主桥,而不是误落回本地 Weixin 脚本。- 主上下文策略切到
context board first / raw vault injection second。宿主默认应先读受控的 context board handoff,而不是把原始 vault/note 直接塞进 prompt。9b8012f - Hermes companion skill 与 host manifest 不再只是命令清单,而是带默认 routing/workflow 提示,明确何时先看 onboarding、何时先看 context briefing、以及 hosted proactive 必须走
seed-proactive / claim-checkin / settle-checkin。678b3eb - onboarding 的 durable memory 写入逻辑已退回 shared companion-memory 内核;
onboarding step继续负责首访状态机和自然追问,但长期真相更新、去重、纠错和 runtime freshness 现在与后续 ongoing memory 共用同一条 host-neutral 管线。 host manifest/ Hermes companion skill 的默认工作流新增ongoing_companion_memory,并把user_correction_persistence明确成“onboarding 未完成走 onboarding step,ready 后统一走 companion remember”,不再暗示不同宿主要维护各自专用的长期记忆语义。context briefing现在会暴露 companion memory freshness / source status,帮助宿主判断当前 handoff 只是在消费旧 onboarding 画像,还是已经接上了持续更新的 companion memory。- Hosted proactive wake、reminder delivery 和 Hermes wake-forwarder 进一步收口,修正了一次性 wake job、delivery origin 和 recovery ownership 的行为。
f5aaeec - Weixin 默认值与腾讯官方插件对齐,包括协议 client version、登录相关默认行为,以及 repo-local bridge 对应的兼容更新。
35c784a - Weixin 路由和 Hermes hosted checkin 路径先做了一轮收口式简化,并补上 Hermes cron
envpassthrough patch 文档与资产。f67f383
Fixed
- stale schema 探测如
codeksei schema system send与codeksei operator schema operator hermes sync-checkin不再回internal_error,而是返回稳定的validation_error,并给 agent/tooling 明确的 removed-command guidance。74b7bb8
Upgrade Notes
- 若你消费
host manifest/ hostkit schema,把hostIdentity.*、coreInvariant、scheduleTruthOwner视为新 canonical 真相;runtimeInvariant=bridge-full只保留给旧 consumer 兼容读取。 - 若你之前把公开命名写成
Bridge Mode/Hermes Hosted Mode,现在统一改成Codex Mode/Hosted Mode;旧 profile id 仍可读,但 help / doctor / schema 都会把它们当成 legacy alias。 - 这条发布线的核心变化不是“多了几个命令”,而是宿主默认接法已经从“拿命令列表自己拼”升级为“由
host manifest、skill 和host doctor共同驱动默认工作流”。 - 如果你之前还在调用
timeline screenshot --send、reminder write --delivery proactive、system send、operator hermes sync-checkin或host bootstrap --ensure-daemon,现在需要切到新的公开主链,不要再依赖旧兼容入口。 - onboarding 现在是正式的一等入口,新用户或薄画像用户不应再假设已有 durable profile;长期真相也不应旁路写入,而应继续回到 companion note。
- onboarding 之上的记忆更新能力已经进一步泛化成 host-neutral 的 ongoing companion memory。对已完成 onboarding 的用户,后续纠正、支持偏好变化、节奏变化和近线任务更新,默认应走
codeksei companion remember,不要继续把onboarding step当作长期记忆的总入口。 - 主动判断上下文现在应优先依赖
context briefing/ context board,而不是直接注入 raw vault。 - 没有数据库迁移,也没有新的公开 profile store;升级影响主要集中在 host routing、bootstrap 快照和 skill 安装物。
Host / Installer Checklist
- 如果你消费
CODEKSEI_HOSTKIT.json或codeksei.config.json,升级到hostkit-v2/codeksei-config-v2字段面:读取hostIdentity.*、runtimeProvider、runtimeOwner、channelProvider、channelKind、deliveryRecipe,不要再把公开 profile 绑定死在bridge-codex-weixin/hosted-hermes-weixin。 - 把公开文案和宿主 UI 里的
Bridge Mode/Hermes Hosted Mode统一改成Codex Mode/Hosted Mode。 - 如果宿主之前会直接调
shared:*或微信脚本,确认它们只在Codex Mode + codeksei/weixin下使用;Hosted Mode 和其他 host-managed channel 需要走宿主自己的 bridge / gateway。 - 先跑一次
codeksei host doctor --provider hermes,确认当前安装是否需要重新 bootstrap 或重装 skill。 - 如果
host doctor返回bootstrap_required: yes,执行codeksei host bootstrap --provider hermes。 - 如果
host doctor返回skill_reinstall_required: yes,执行codeksei operator hermes install-skill。 - 如果你之前把截图和发送绑在一起,改成
codeksei timeline screenshot ...之后再显式运行codeksei channel send-file --path ...。 - 如果你之前把 proactive 唤醒、scheduler glue 或 daemon readiness 绑在旧命令/flag 上,改成
host seed-proactive / claim-checkin / settle-checkin与默认的host bootstrap --provider hermes。 - 如果宿主之前只缓存了命令清单,改为读取
codeksei host manifest --format json,并消费其中的recommendedWorkflows与entrypoints。 - 把“新用户 / 薄画像”默认链路改成
onboarding status -> onboarding start|step,不要再假设已有 companion profile。 - 把“onboarding 已完成后的持续记忆更新”默认链路改成
codeksei companion remember --user <id> --workspace <path> --source host_user_turn --stdin,不要再复用onboarding step承担全部长期纠正。 - 把“主动判断 / 当前状态 handoff”默认链路改成
codeksei context briefing --user <id> --workspace <path> --mode proactive,不要再直接注入原始 vault。
Commit Trace
c650278Add host upgrade awareness contract678b3ebTeach hosts the default companion workflowadb6b90Add semantic onboarding persona extraction9b8012fSwitch to "whiteboard/context board first, raw vault injection second"74b7bb8Clean up removed command surfaces3164496chore: refresh react 19.2.5 lockfileee6ac84Remove timeline screenshot send wrapperf854ec3Tighten timeline screenshot command contractbc66471Decouple timeline screenshot delivery and workspace config paths35c784aAlign Weixin defaults with Tencent pluginf5aaeecFix hosted proactive wake jobs and reminder deliveryf67f383Simplify Weixin routing and harden Hermes hosted checkins
v0.4.1
Full Changelog: v0.4.0...v0.4.1
v0.4.0
What's Changed
- [codex] Harden Hermes repo-local bridge env loading by @Sapientropic in #2
- Implement Hermes hosted one-shot checkin scheduling by @Sapientropic in #3
Full Changelog: v0.3.0...v0.4.0
v0.3.0
What's Changed
- [codex] add host-neutral core and Hermes hosted mode by @Sapientropic in #1
New Contributors
- @Sapientropic made their first contribution in #1
Full Changelog: v0.2.0...v0.3.0
v0.2.0
Highlights
- This release rolls up the major work completed after
v0.1.1: runtime hardening, command-surface cleanup, the TypeScript build migration, and the final branding cutover toCodeksei / codeksei / CODEKSEI_*. - The shipped runtime, shared helpers, and major contracts/tests now build from TypeScript and publish from
dist/, which gives the package a cleaner release boundary and stricter type coverage. - Codex transport, shared-mode lifecycle, state persistence, and queue handling were hardened across the runtime so the day-to-day bridge is more predictable under retries, reconnects, and recovery paths.
Release Notes
- Hardened Codex process spawning and RPC transport handling, especially around Windows spawn behavior, reconnect paths, and pending-request cleanup.
- Continued the command/runtime extraction work so command args, command surface, queue items, runtime events, and session state are more explicitly modeled and tested.
- Tightened shared-mode behavior around app-server startup, helper scripts, root shell wrappers, and release gates.
- Expanded coverage for runtime completion, reminder queues, config loading, helper scripts, and release/package contracts.
- Updated public docs and package metadata so the shipped surface now matches the real build/release path.
- Added a dedicated legacy-branding guard to the shipped release checks so old naming cannot silently leak back into published artifacts.
Breaking Changes
- Removed the legacy
cyberbossCLI alias from the published package. - Removed
CYBERBOSS_*compatibility from the supported public runtime surface. - Removed the
~/.cyberbossstate-dir fallback and the remaining legacy naming path through shared scripts, release entrypoints, internal branding symbols, tests, and public docs.
Validation
npm run verifynpm pack --dry-run
v0.1.1
Highlights
- Fix repeated or welded WeChat replies in stream mode, including late-bound reply targets and reformatted final snapshots.
- Fix
diary:write --section fragmentand other non-todo writes so they no longer trip the implicit--stateguard. - Ship the runtime hardening since
v0.1.0, including timezone unification, cross-platform path fixes, and more reliable timeline / diary / WeChat bridge behavior.
Notes
- npm publish is handled by the
publish.ymlworkflow triggered from this GitHub Release. package.jsonand lockfile are now aligned at0.1.1.
v0.1.0
Highlights
- Rebrand the project to Codeksei while keeping legacy cyberboss compatibility for CLI entrypoints, env vars, state directories, and managed note/review markers.
- Rewrite the main documentation to match the current codebase, with a new English README and refreshed architecture / command docs.
- Add GitHub Actions CI and npm publish automation for the new canonical repository slug: Sapientropic/codeksei.
- Switch npm publishing to trusted publishing via GitHub Actions OIDC, with workflow_dispatch dry-run preflight and release-triggered real publish.
Verification
- npm run check
- node --test tests/*.test.js
- npm pack --dry-run
- GitHub Actions CI run 24275219319 passed
- GitHub Actions publish dry-run run 24274892267 passed
Release Notes
- Canonical repo: https://github.com/Sapientropic/codeksei
- npm package:
codeksei@0.1.0 - Primary CLI:
codeksei - Legacy
cyberbossentrypoints remain compatibility-only and are not separate published packages. - Trusted publishing has been configured for subsequent GitHub Release driven publishes.