Skip to content

v5.1.88

Latest

Choose a tag to compare

@code-yeongyu code-yeongyu released this 30 Nov 07:46

A session's task host now starts on its first delegation, not its first prompt. task.host_shard_prewarm has a new default, intent: the host boots when the model starts streaming the session's first task or task_send call, so a session that never delegates no longer runs a supervisor and a second engine process (about 220 MB of memory per prompted session on Linux). first-turn, session-start and off keep their meaning as explicit settings. (#15562)

A task child that runs outside the parent process keeps its agent's tool limits and instructions. A child whose agent denies a tool, allows only some, or has its own instructions used to get none of them when it ran as its own process or as a session of the task daemon, so a denied tool was callable. It now gets all three, on start and when it is revived. On a task daemon that cannot hold them yet, a new child runs as its own process where they apply, and a child already recorded on that daemon waits for it to be upgraded (host_persona_unsupported) instead of reopening without them. A team member whose agent allows only some tools still keeps task_send, which it needs to report to the lead. (#15254, refs #13057)

Fixed

  • A fresh terminal session's first thread_create starts the shared thread host when none is running, through the same engine host ensure the session wake uses, instead of answering host_unavailable (#15656, fixes #15650). (#15656)
  • omo SDK: devices.list opens only the device service connection, so the SDK root no longer loads the cross-device send path (relay transport, thread control, remote session members) at import; that code now loads with the thread runtime on the first thread call (#15576). (#15609)
  • SDK parity gate: a scenario whose answer names a path under its fixture no longer reads as unstable on Windows; the fixture's directory is redacted in the answer before it is serialised (#15584). (#15590)
  • omo sync recover now asks again when you type a valid recovery phrase that this account never enrolled, up to three times in the same run, instead of ending the command; a typo is still asked again as before, and after the third such phrase it ends with the same message as today (#15573). (#15577)
  • On Windows, the omo SDK (createOmoSdk), the thread SDK and omo thread work again without an explicit principal: a script now runs as its Windows account, identified by the account's SID (read once per process from %SystemRoot%\System32\whoami.exe), instead of failing to build its root. Two Windows accounts on one machine are now always different principals; before, the thread CLI and remote sessions keyed every Windows account as cli:0 / person:0. When the SID cannot be read, the SDK refuses with a typed error instead of guessing. Windows CLI scripts start a fresh 24-hour idempotency and send-rate window after this update, because their earlier cli:0 records are not carried over to the account (#15571). (#15571)
  • Memory sync no longer re-asks the sync service, reloads its item store and rewrites its notice on every cycle while it waits for you to decide which account a device's older memory belongs to; it now only checks for your decision. (#15546)
  • omo sync recover now names the cause and the command to run next for every refusal instead of a raw reason code, carries the trust-pin next step, and says when this device has a write hold on record; a valid phrase this account never enrolled is no longer reported only as incomplete account history (#15424). (#15545)
  • Memory sync no longer deletes older parked copies of an account's memory when that account is parked again: each copy is kept in the repository's git directory, and the log names where it is and says it is not restored automatically. (#15544)
  • An interrupted facts apply whose files were never touched now re-plans and commits its facts after another memory commit lands, instead of ending as a dirty repository and dropping the batch (#15417). (#15543)
  • A reflection that finishes while the memory repository has uncommitted changes now keeps its validated result and merges it once the repository is clean, instead of discarding it and re-running the model; it gives up through the normal failure path after 15 minutes or on a merge conflict. (#15539)
  • A device whose memory recovery ended read-only no longer sends anything to the sync account and no longer turns memory sync on; running omo sync recover again on that same device now finishes the recovery instead of refusing it as already part of the account (#15423). (#15530)
  • omo now honors a HOME set after startup when it resolves the home directory, so test runs and launchers that move HOME no longer read or write the real home (#15526). (#15529)
  • Switching the memory sync to another account now commits the swap of the two accounts' memories, so memory tool writes are no longer refused as a dirty repository afterwards and the prompt only carries the signed-in account's memory. (#15528)
  • A thread_send to a session on the same device that is paused under a hold a message cannot release (a Stop or an interrupted run) now answers queued waiting on that hold, instead of promising a wake that never runs (#15457). (#15504)
  • A session that only writes files no LSP server handles (including files an eval cell writes) no longer starts the shared LSP daemon and leaves it running after the session ends (#15501). (#15501)
  • The oh-my-opencode launcher now passes its package root to the platform binary as a plain path with no trailing separator on every platform; on Windows it used to end in \. (#15492)
  • When a memory write is stopped by a leftover git lock file of unknown origin, the message no longer says a previous memory writer could not be proven dead. It now says the lock's owner is unknown and that another git process may own it; the way out, /memory unlock <path>, is unchanged (#15416). (#15480)
  • The LSP daemon now exits as soon as the last engine process using it is gone (closed, crashed or killed) instead of lingering up to 30 minutes; engines running at the same time still share one daemon (#15470). (#15475)
  • An engine run with its own agent directory and OMO_CONTEXT_FILES_AGENT_DIR_ONLY=1 (or contextFiles.agentDirOnly) now runs its own LSP daemon under that agent directory (<agent dir>/lsp, unless OMO_LSP_DAEMON_DIR is set), never the shared ~/.omo/lsp-daemon one; its comment-checker download goes to <agent dir>/cache/comment-checker instead of ~/.cache/oh-my-opencode (#15470, #15471). (#15475)
  • An engine run with its own agent directory and OMO_CONTEXT_FILES_AGENT_DIR_ONLY=1 (or contextFiles.agentDirOnly: true in the agent directory's settings.json) now takes nothing from the user's home on the omo side either: the omo config is read from the agent directory instead of ~/.omo, task children get no skills from ~/.agents/skills or ancestor .agents/skills at or above the home directory, and onboarding (the tour and its scan of past coding-agent sessions) does not run at all (#15455). (#15468)
  • A memory repository left dirty no longer blocks memory writes and parks reflection for hours. A memory write whose commit fails now puts back what it wrote instead of leaving it staged. /memory adopt commits edits another process left in the repository as one attributed external-edit commit, under the same lock and checks as a normal write; a refused adoption leaves the files untouched. A dirty repository no longer counts toward the reflection or facts park, and every "parent dirty" record now names the files in the way (#15411, #15412, #15413, #15415). (#15431)
  • On Windows, a thread host whose pipe record is there but cannot be read whole (another process holds it, or the host is still writing it) is listed as not answering, with its threads unknown and the listing incomplete, instead of as gone with its threads inactive. Only a missing record means the host is gone. (#15395)
  • A lock or memory run recorded by an older omo under an unusual TZ (any POSIX offset up to 24:59:59, e.g. TZ=XYZ-15) is no longer read as a reused process while its owner is still alive. (#15387, fixes #15383)
  • thread: a person's omo thread send to a thread on another device answers by the clientMessageId it sent; an id the receiving engine names instead is ignored, and an engine-minted id (nothing sent) is taken only as a short token without whitespace or control characters (#15375) (#15375)
  • Cancelling a workflow run now stops an in-process child that is mid-turn inside the cancel: its model request is aborted, a running tool is stopped, and its session is closed before the cancel answers. The child used to finish its current turn first (still calling the model and running tools) while the run already read cancelled (#15191, #9993). (#15363)
  • thread_send, omo thread send and the thread SDK refuse a message to a thread whose host did not answer the listing in time: the answer is host_unavailable with retry: true, and nothing is stored or woken. Before, the message was queued as offline and a later retry with the same idempotency key replayed that stale answer. The same send succeeds once the host answers. (#15353)
  • A thread addressed by its bare id is no longer taken by a stale session file on this device when the account listing names another device that holds the session, online or offline: thread_send and thread_read go to that holder (an offline one answers device_offline, nothing is queued for the file). When no single live holder decides (the other device holds it ended), the call is refused ambiguous_target naming every device; when the account listing cannot be read or a device missed it, it is refused host_unavailable instead of falling back to the file. A thread only this device knows still resolves here, as does one whose holder's rows the account listing no longer carries at all (#15246). (#15252)
  • The memory guard's re-check of a listing or search started above the memory folder no longer depends on whether the host reports the end of the call before its result: a second memory identity that appeared during the walk now replaces the result in either order (#12466). (#15248)
  • A thread message the receiving engine keeps behind its engine-turn cap (senpi#7138: it answers held with the cap instead of starting a turn) is now answered queued with waiting_on: { kind: "engine_turn_cap", reason, count } by thread_send, thread_handoff, thread_create's first prompt, the thread SDK and omo thread send --json, on this device and from another device, and a same-key resend answers the same. The tool line says automatic turns are paused and that a person's message or a Resume runs it, where it used to say the thread was paused or stopped. A held under a person's Stop or another hold still waits on hold. (#15242)
  • A thread_send to a closed thread on another device that was answered queued, waiting on a wake the other device never ran, no longer stays queued forever: at the end of its 24-hour queued lifetime the holding device settles it (applied if it reached the session, otherwise refused expired) and tells the sender, whose retained answer then reads outcome: refused(expired). (#15241)
  • The device service now uses the state directory from the environment you supply, and its test guard checks Unix socket paths without rejecting unrelated sockets. (#15215)
  • Thread tools classify each lost-answer reason one way. A reason that says an answer from another device was lost after the request left this device (request_gone, delivered_unconfirmed, reply_lost and the rest of the device service's uncertain reasons) never says "this call changed nothing there" again: a thread_send whose state read before sending lost its answer is idempotency_uncertain with details.sent: false (read the thread before sending again), as a lost answer to the message itself is, and a thread_read whose answer was lost is host_unavailable with details.effect: "unknown". host_unavailable with "changed nothing" (details.effect: "none") is kept for refusals given before the request reached the device. (fixes #15093) (#15170)
  • Memory: system/ no longer drifts past the compile_warn_tokens advisory on a long-lived identity (#15054). Reflection runs now receive the system token estimate, budget and target and may not grow system/ at or above the target; the dream budget contract binds at the 80% target for every dream and is checked when a dream commits nothing; pressure dreams no longer wait behind dream.min_hours_between and are requested after any settled turn that finds system/ at or above the target. (#15067)
  • ThreadSdk.send and thread_send can reach a running thread after its old route disappears, even when the device no longer lists a primary engine or the primary sees only the thread's file. The lookup checks listed engines for the live owner without redirecting access refusals or repeating a write with an unknown outcome. (#14935) (#14937)
  • A reflection merge that stops after it staged the run in the shared memory repository (a refused commit hook, a git process killed in a hook, or a lock another process briefly holds) no longer leaves that run staged; before, every later reflection run reported parent_dirty and every memory write was refused until the repository was repaired by hand (#11993). (#11993)

Changed

  • On Linux, the omo SDK's terminal check now admits Alacritty, kitty, GNOME Terminal and xterm installed from the distribution's packages, so omo sync ownership use, sync enable and sync recover work from those terminals instead of being refused or passing under the rollout hold. Konsole stays refused for now. Other Linux terminals, terminal multiplexers and remote logins are refused with the reason. (#15649)
  • The coding-agent-sessions skill is now a typed TypeScript SDK on Bun (scripts/sdk.ts), also served as a command line and an MCP server (scripts/cli.ts); the Python finder is gone. Lists, searches and reads return the same sessions and fields as before, and refusals come back as { kind: "error" } results with a next action instead of a traceback (#15608). (#15629)
  • Internal: the memory worker's run reconciliation is split into one module per responsibility (the pass over run directories, the per-ledger resume/settle decision, and the dead-supervisor child escalation) with no behaviour change (#15540). (#15561)
  • Removed unused exports from shared-skills and the core packages. No behavior change. (#15548)
  • Split memory-core's GitMemoryRepo (git/repo.ts) into files for repository init, the commit path, path restore, worktrees and merges, and the git command runner. Its API is unchanged. No behavior change (#15473). (#15538)
  • Memory: a listing or search that starts above the memory folders (for example in your home folder or ~/.omo) now runs and leaves other memory identities' folders out of its results, instead of being refused whenever another identity exists below it. (#15535)
  • Removed unused exports and dead modules from omo-opencode, including a duplicate copy of the Claude Code MCP env-var expander. No behavior change. (#15534)
  • Removed unused exports from boulder-state, rules-engine, hashline-core and comment-checker-core, and the omo-opencode re-exports that only forwarded them. No behavior change. (#15522)
  • The Codex ulw-loop component no longer exports its internal subcommand list; dispatch is unchanged. (#15516)
  • Removed the unused opencode-skill-loader/loader re-export from the OpenCode plugin; the loader lives in @oh-my-opencode/skills-loader-core. No behavior change (#15510). (#15510)
  • Removed an unused re-export of shellEscapeForDoubleQuotedCommand from the OpenCode plugin's shared shell helpers; callers import it from @oh-my-opencode/utils. No behavior change (#15509). (#15509)
  • omo reads session history through senpi's asynchronous session reads, so an open session no longer has to keep every entry body in memory for omo's memory, kibitzer, feedback and thread features. (#15494)
  • The Codex installer tests install the repository's own plugin once per file; the legacy-daemon and autonomy cases install the lightweight fixture repo, so they no longer time out on loaded hosts. (#15224)
  • The omo SDK root (#15031): the thread core now ships in its own runtime file, runtime/omo-sdk/threads.js, which the root loads on the first thread call. A script that never makes a thread call no longer loads the thread core.
    • The file is missing or cannot be loaded: every thread call answers internal_error with details { reason: "runtime_file_unavailable", file: "threads" }. Account, device and configuration calls keep working. A missing file that is put back loads on the next thread call. A file whose evaluation failed stays failed until the process restarts, and the answer says so.
    • The file belongs to another build, or lacks what the root uses: for example, an update replaced the plugin's files while the process ran. Every thread call answers internal_error with details { reason: "runtime_file_mismatch", file: "threads" }, and says to restart the process.
    • The thread core cannot be started: the call answers internal_error with fixed text.
    • The root was disposed, including while a first thread call was loading the file or building its core: the call answers the root's shared refusal, internal_error with details { reason: "root_disposed" } and the text "This omo SDK root was disposed; create a new root.", whatever that load or construction then did. A core that finishes building after dispose is disposed and never answers.
    • In every case the exception itself goes only to the root's local logger port.
    • The installer now requires the plugin's own package.json, whose import map resolves the file. (#15116)
  • A thread tool that refuses a field it does not take now names the call that works (#15073): the refusal keeps its code and message, and its next_action and details.corrected_call carry the corrected call as it is written in an eval cell (tool.thread_send({...})), with the field most likely meant in place of the unknown one. wait, timeout and timeout_ms now suggest wait_ms, and reasoning suggests level; thread_send and thread_handoff refused for a timeout say that a send never waits for the reply and that thread_read with wait_ms does. (#15076)
  • The SDK's principal matrix covers the five rows revision 22 of the security design adds: the send idempotency and turn-guard rules, account.devices, account.show and account.signInCheck, and the conditions on install.setup.apply. On the SDK root, which is not released yet, this changes four answers: config.status is refused to a session and to a service, and account.show and account.signInCheck to a session, with sender_not_allowed (reason "held") until the slices that meet their conditions; and account.devices, refused to a connector and to a service, now carries the matrix's refusal instead of the no-cell default (no "no_matrix_cell" reason). No shipped command or tool changes behaviour. (#15033)

Added

  • Sessions of threads started through the omo-harness skill (agy, Claude Agent SDK, Codex app-server and exec, omp, omo) are a source, each linked to the native session it drove, and so are agy (Antigravity CLI) conversations (#15608). (#15629)
  • transcript.read returns the first or last part of one transcript (32 KiB by default) instead of the whole file; given a row's path it reads nothing else (#15608). (#15629)
  • The omo SDK's terminal check can read macOS: it identifies who holds the terminal by each process's verified code signature, through libproc and Security.framework, instead of refusing as an unsupported platform. No macOS terminal app is listed yet, so macOS terminals are still refused until the listed hosts are recorded. (#15597)
  • Memory that sync cannot place in an account can now be uploaded to the signed-in account: the omo SDK root answers sync.ownership.use, and omo sync ownership use [--repo] asks with the listed file count before recording it. Only a person at a terminal the terminal check admits can choose it; on Windows, and on macOS until that check supports it (#15591), the refusal says it is not available on this platform yet. (#15596)
  • memory: project(target, { hub, scope }) from @oh-my-opencode/memory-core/remote-projection projects a named scope of the committed memory onto a remote target (anything with name, exec, spawn, files) read-only; personal records (people/, system/human.md) are never in the default scope and never reach a target that is not a device. collect turns the target's outbox into one patch applied by the hub's memory writer, and remove deletes the projection and reads back that it is gone (#15569) (#15575)
  • The omo SDK enrolls a machine as a device of the account: devices.enroll({ target, onUserCode }) takes any target with the unified box dialect core (name, exec, spawn), such as a unibox box, a Doriterm machine or an ssh host through sshTarget. It installs omo when it is missing, signs the machine in by device code, and waits until it is online in the device list. Each step is recorded, and a second call resumes; a refusal names its step and code. Its body loads from its own runtime file, runtime/omo-sdk/enroll.js, on first use. (#15572)
  • Memory that sync cannot place in an account can be listed and set aside again: the omo SDK root answers sync.ownership.list and sync.ownership.setAside, and omo sync ownership and omo sync ownership set-aside [--repo] render them. A named repository must be one of this device's memory repositories. Uploading that memory to the signed-in account follows in a later version. (#15570)
  • The omo SDK root answers sync.status and sync.disable; omo sync status [--json] and omo sync disable print those answers. Both calls honour signal and deadline_ms, refuse sessions, connectors and services as the security design's matrix says, and never pass a lower layer's exception text to the caller. (#15559)
  • The omo SDK has one terminal check for the calls that may show a secret on a terminal: it admits a terminal only when the caller is in the foreground of its own controlling terminal, no agent marker or harness is in the way, and every visible holder of the terminal is a listed terminal host. Default deny: only the Linux virtual console is admitted until the listed hosts are recorded. Nothing calls it yet; the account hand-over and the memory-sync phrase calls adopt it in their own changes. (#15556)
  • thread: a store-extension session op can declare outbound: true and answer { delivery_id, destination }; when it sends outside the account, the calling thread's openers are told up the chain to the root, once per delivery id, as a queued follow_up delivery whose header carries notice=<delivery id>. A session told on another device passes the notice on when it is admitted there; that hop needs a senpi release with external_message_admitted (#15446) (#15221) (#15447)
  • thread: thread_close takes mine and refuses a thread the calling session did not open with not_creator, closing nothing; thread_create takes metadata, one JSON value of at most 4096 bytes stored with the thread and shown by thread_read (a larger one is refused metadata_too_large and nothing is created); the SDK adds threads.handOver and threads.setMetadata, recorded on every device that holds the thread and naming any it did not reach (#15221) (#15378)
  • thread: a thread knows who opened it. thread_create answers created_by (null when no session made the call), thread_list rows and thread_read show created_by, and thread_list takes children_of to list only the threads one thread opened; the device that hosts a new thread records its opener too, so the answer holds on both devices and after a restart (#15221) (#15377)
  • The computer-use protocol defines presence.cursorTrace as a read-only method for the session host. It specifies how a renderer reports drawn cursor frames; this change does not implement frame collection. (#15282)
  • The thread SDK runtime (runtime/thread-sdk/sdk.js) exports attachRpcSession. It attaches a raw single-session pi-RPC stream to one session on a running shared host: open a new session or attach by durable id; read this session's records, with the routing sessionId removed; send commands, or raw JSONL bytes, that are tagged for the session; then detach by releasing or closing the session. The SDK authenticates and frames the connection itself, so an integration that relays a session to another client carries no protocol code. Every failure is answered as data (#15238). (#15255)
  • Computer use: the agent cursor now has one look and one motion planner (IS row 52). The overlay renderers on each desktop will draw from this shared table; none consumes it yet. A glide lasts between 150 and 450 ms and grows with the distance on screen. A newer action carries the cursor on from where it is. A short hop is placed without a glide, and with reduced motion the cursor fades in at the target. The look (an arrow with a soft round halo, a colour per session and a badge for the action) and the timing ship as cursor-look.json and cursor-motion.json in the computer tool package. Nothing here moves the system pointer or delays an action. (#15132)
  • The omo SDK root (#14950): createOmoSdk() now answers every call of the SDK's typed root, extended from the shipped surface without changing it. A call whose slice has not landed yet answers not_implemented as data instead of being absent, dispose() releases what the root holds, and a root can be given launcher-side cores (diagnostics, install) that load on first use. (#14983)
bun add -g omo-ai

Full changelog: https://github.com/code-yeongyu/oh-my-openagent/blob/v5.1.88/CHANGELOG.md

The contributor list is omitted here: the generated notes exceeded GitHub's 125,000-character release-body limit.