Skip to content

Releases: Sapientropic/codeksei

v0.5.1

07 May 17:18

Choose a tag to compare

Added

  • Added native WeChat reply delivery controls: /reply, /reply mode stream|settled, /reply merge <chars>, and /reply reset.
  • Added weixin-delivery-config.json as the runtime owner for /reply overrides, 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 resumeThread seam carry workspaceRoot, so /switch and watchdog subscription restore can preserve workspace context for runtime adapters.

Fixed

  • Fix Codex Mode language fallback so CODEKSEI_LOCALE=en drives the default WeChat persona language when CODEKSEI_USER_LANGUAGE is 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, and uuid@13.0.2.

Validation

  • npm run verify
  • npm run audit:prod
  • GitHub CI, Secret Scan, and Publish to npm workflows on commit 08555f5

v0.5.0

18 Apr 06:19

Choose a tag to compare

Added

  • host attachment contract v2:host manifest / host bootstrap / host doctor / 示例资产现在会输出结构化 hostIdentity,并新增 coreInvariant=codeksei-core-ownedscheduleTruthOwner=codekseischemas/hostkit-v2.jsonschemas/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 路径及相关内部发送链路。bc66471 ee6ac84 f854ec3
  • reminder / host / system / operator 的命令面进一步做减法收口:reminder write --delivery proactivesystem send、外部 system checkin-polleroperator hermes sync-checkinhost bootstrap --ensure-daemon 已移除,不再作为 public/operator surface 保留。74b7bb8
  • 公开 mode 命名现在收口到 Codex ModeHosted ModeBridge ModeHermes Hosted Modebridge-codex-weixinhosted-hermes-weixin 退到兼容别名层,不再是公开主命名。
  • host config / host recipe / host resolution 改成宿主无关:不再把 channel=weixin 写死成唯一支持组合;codex + host-managed telegram/discord/feishuhermes + 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-checkin678b3eb
  • 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 env passthrough patch 文档与资产。f67f383

Fixed

  • stale schema 探测如 codeksei schema system sendcodeksei operator schema operator hermes sync-checkin 不再回 internal_error,而是返回稳定的 validation_error,并给 agent/tooling 明确的 removed-command guidance。74b7bb8

Upgrade Notes

  • 若你消费 host manifest / hostkit schema,把 hostIdentity.*coreInvariantscheduleTruthOwner 视为新 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 --sendreminder write --delivery proactivesystem sendoperator hermes sync-checkinhost 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.jsoncodeksei.config.json,升级到 hostkit-v2 / codeksei-config-v2 字段面:读取 hostIdentity.*runtimeProviderruntimeOwnerchannelProviderchannelKinddeliveryRecipe,不要再把公开 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,并消费其中的 recommendedWorkflowsentrypoints
  • 把“新用户 / 薄画像”默认链路改成 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

  • c650278 Add host upgrade awareness contract
  • 678b3eb Teach hosts the default companion workflow
  • adb6b90 Add semantic onboarding persona extraction
  • 9b8012f Switch to "whiteboard/context board first, raw vault injection second"
  • 74b7bb8 Clean up removed command surfaces
  • 3164496 chore: refresh react 19.2.5 lockfile
  • ee6ac84 Remove timeline screenshot send wrapper
  • f854ec3 Tighten timeline screenshot command contract
  • bc66471 Decouple timeline screenshot delivery and workspace config paths
  • 35c784a Align Weixin defaults with Tencent plugin
  • f5aaeec Fix hosted proactive wake jobs and reminder delivery
  • f67f383 Simplify Weixin routing and harden Hermes hosted checkins

v0.4.1

15 Apr 14:57

Choose a tag to compare

Full Changelog: v0.4.0...v0.4.1

v0.4.0

15 Apr 14:44

Choose a tag to compare

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

14 Apr 09:58

Choose a tag to compare

What's Changed

  • [codex] add host-neutral core and Hermes hosted mode by @Sapientropic in #1

New Contributors

Full Changelog: v0.2.0...v0.3.0

v0.2.0

12 Apr 09:45

Choose a tag to compare

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 to Codeksei / 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 cyberboss CLI alias from the published package.
  • Removed CYBERBOSS_* compatibility from the supported public runtime surface.
  • Removed the ~/.cyberboss state-dir fallback and the remaining legacy naming path through shared scripts, release entrypoints, internal branding symbols, tests, and public docs.

Validation

  • npm run verify
  • npm pack --dry-run

v0.1.1

11 Apr 11:46

Choose a tag to compare

Highlights

  • Fix repeated or welded WeChat replies in stream mode, including late-bound reply targets and reformatted final snapshots.
  • Fix diary:write --section fragment and other non-todo writes so they no longer trip the implicit --state guard.
  • 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.yml workflow triggered from this GitHub Release.
  • package.json and lockfile are now aligned at 0.1.1.

v0.1.0

11 Apr 05:19

Choose a tag to compare

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 cyberboss entrypoints remain compatibility-only and are not separate published packages.
  • Trusted publishing has been configured for subsequent GitHub Release driven publishes.