Repository navigation
Namedrop now runs in Rex as well as in Herdr. Rex support is beta and under active development. In Herdr, Namedrop works as in 1.11.1, apart from the changes and fixes below. Three of the changes are to Type to agent and Stop thread in Channels.
Added
- Namedrop runs in Rex without Herdr, as a beta under active development. Rex Server is itself a preview, so a new Rex preview can change behavior that Namedrop relies on. It supports Rex preview.14, preview.18, preview.19 and preview.23, at Rex control API revisions 12 to 14, and Compatibility lists what was tested on each. Run Namedrop on Rex gives the setup steps, and Namedrop on Rex reference gives the details.
- The release archive has an installer for Rex. In a Rex pane, run
sh scripts/install.shfrom the extracted archive. The installer lists what it will write and changes nothing until you answery. Then it installs the Namedrop module for Rex, adds one line toinit.lua, and installs the Claude Code and Codex packages and thenamedropcommand in~/.local/bin.install.shruns on macOS on Apple silicon and on Linux with glibc, and needs Python 3.9 or newer. To remove the install and keep your names and messages, runnamedrop install --remove --input-json '{"confirmed":true}'. - The Namedrop module for Rex adds eleven actions to the
Namedropcategory of Rex's command palette: Activate Namedrop, Name this pane, Manage Namedrop names and agents, Namedrop Doctor, Agent status, Namedrop tour, Open Namedrop Channels, Pause Namedrop, Resume Namedrop, Deactivate Namedrop and About Namedrop. Their screens open in floating layers. The module gives five of the actions keys, such as Option+Shift+Command+I for Name this pane, and binds a key only when no other binding holds it. - In a Rex session, Namedrop names panes and delivers mentions and replies between Claude Code, Codex and terminals. Its bridge, a background process that reads Rex's events, keeps the names current and starts when Rex loads the module. Names survive a Rex server restart. Each agent's hooks record which Rex pane its session runs in.
- You can mention an agent on another machine that runs its own Rex server and Namedrop. Add the machine with
rex hosts add, then have an agent runnamedrop sendwith an address such as@codex@devbox. Your machine keeps the message until the other machine accepts it. If that takes more than 24 hours, the message fails with<label> was unreachable for 24 hours. While the thread is open, your machine collects replies every 30 seconds and puts each reply in the sender's thread. The other machine relays mentions only to agents, unless you createrelay/allow-terminalsin its state directory. Doctor reports relay problems asND-RELAY-001toND-RELAY-005. - An install that
install.shmade checks GitHub for a newer release once a day. When there is one, agents show it at the start of a session, and Doctor showsND-UPDATE-001withUpdate: download Namedrop <version> and run sh scripts/install.sh. The check offers only 1.12.0 and later, the releases that include the installer. To turn it off, put{"check_for_updates": false}in~/.config/namedrop/settings.json. Herdr installs check for updates as before. - A new setting,
claude_command, names the program that Namedrop runs for its own Claude Code calls: agent-status summaries, persona suggestions and channel routing. Channels' Add agent starts it too. Set it insettings.json, the file that holdscheck_for_updates, for example to a launcher that selects another Claude Code account. Without it, Namedrop looks forclaudeonPATH, then in~/.local/bin. If the program cannot run, orclaude_commandis in the settings file that your install does not read, these calls fail with the reason and never runclaudeinstead. Doctor shows the program asND-MODEL-002. - Herdr and Rex can share one Namedrop on a machine. If Namedrop is installed in Herdr,
install.shadopts Herdr's install, and Herdr's updates then update Namedrop for both. If you installed for Rex first, activating Namedrop in Herdr takes the install over, and Herdr's Doctor showsND-INSTALL-001until each agent from before the move has run Herdr's hooks. The names made on Rex are not carried over, so run Activate Namedrop again in each Rex session and name its panes again. You can also run Herdr as the program of a Rex pane. In a Herdr pane, Namedrop uses Herdr. - Doctor on Rex gives the text of each new Doctor code:
ND-REX-001,ND-SESSION-004,ND-INSTALL-001toND-INSTALL-003,ND-INTEGRATION-002,ND-INTEGRATION-003andND-RELAY-001toND-RELAY-005. - Rex support has known limits. Limits of Rex support lists them all. These matter most:
- Channels' setup and Doctor hints tell a Rex user to open Herdr, and New channel and Add agent refuse in a Rex session.
- After a reboot, the Channels tailnet link stays down on Rex until you run
namedrop channels --no-open. - The Rex app's own palette and keys were tried only on Rex Server preview.23, where Open Namedrop Channels and Deactivate Namedrop were not run. On the other builds, the actions were tested with
rex do --origin palette. - Real agents were tested on macOS only. A Linux Rex server was tested only as the machine that receives relayed mentions.
Changed
- Activating Namedrop in Herdr writes
~/.config/namedrop/state-directory, which names Namedrop's state directory.install.shreads it to find Herdr's install. namedropcommands accept--endpoint,--spaceand--panebeside the--herdr-*flags, and, outside Herdr, read the state directory fromNAMEDROP_STATE_DIR. In the agent skill thatinstall.shinstalls, registration uses the location flags shown in the request instead of Herdr flags.- The agent hook wrappers changed. They name their agent in
NAMEDROP_HOOK_RUNTIME, and Namedrop, not the wrapper, now starts delivery after a prompt sends a mention. Read Upgrade below if you run Codex. - When an update needs a session refresh, Update Namedrop in Herdr also waits for agent sessions in Rex panes.
- Type to agent in Channels sends nothing while Namedrop is typing into the pane, as it does for a delivery. The box shows
Namedrop is typing into <alias> right now, so nothing was sent. Try again.In 1.11.1, Type to agent typed the line even then. - A line that you send with Type to agent now starts your own turn in that pane, unless it answers a question or a permission prompt that blocks a delivery's agent. Stop thread on an earlier delivery's thread then stops the thread but presses no Ctrl-C in that pane, so your turn keeps running. In 1.11.1, Stop thread pressed Ctrl-C.
- Stop thread waits up to 5 seconds for other input to an agent's pane to finish before it presses Ctrl-C there. In 1.11.1, it waited up to 2 seconds. The longer wait covers a Type to agent input, which keeps the pane for up to about 3 seconds.
- Doctor's
ND-DELIVERY-001for a delivery held while Namedrop typed its prompt now says why Namedrop held it, in Herdr and in Rex, such as the errorherdr agent promptprinted or the change Rex reported before the Enter. - A healthy Doctor report is no longer empty. A healthy
namedrop doctor --jsonreport always listsND-MODEL-002at severityinfo, which names the program Namedrop runs for its own Claude Code calls. The status stayshealthyand the exit code stays0. A script that checks for an emptyissueslist should leave out issues at severityinfo.
Fixed
- Agent-status summaries, persona suggestions and channel routing can find Claude Code and Codex in
~/.local/binwhen Rex or Herdr starts with aPATHthat omits it. Before, app-launched Rex could showNo such file or directoryfor Claude Code orcodex is not installedwith both programs installed there. - Activation and
install.shnow add Namedrop's Claude Code permissions whensettings.jsoninCLAUDE_CONFIG_DIRis a symbolic link, or sits in a directory that is one, and the link leads to a regular file inside your home directory. This is the layout of a Claude Code account directory that links its settings to~/.claude/settings.json. Namedrop writes the file the link leads to and keeps the link. Before, it refused any such link and skipped the permissions, so Claude agents asked before each Namedrop command. A link that leads outside your home directory, to nothing, or to a directory is still refused. - On macOS, agent-status summaries and persona suggestions now work in three more setups. The worker that runs Codex for them stopped with
failed to canonicalize CODEX_HOMEwhenCODEX_HOMEnamed another directory, such as one under~/.config. The worker also could not read Codex's sign-in when~/.codexwas a symbolic link, as a dotfiles manager makes it, or whenHOMEwas reached through a symbolic link. - When the worker fails, its error shows the line where Codex says why it stopped. Before, the error kept the first 200 characters of Codex's output, which could cut the reason to "Er".
- A reminder clock that an agent's Stop hook started gave each
herdrcommand that it ran to fire a reminder only 250 ms, the Stop hook's own time limit. The clock now uses the default limit of 10 seconds. namedrop channelsno longer keeps the command that ran it waiting when that command passed it an extra pipe. When it started the Channels server, the server could keep a copy of such a pipe, so a script or tool that read from it waited until the server shut down after it went idle, 10 minutes by default. The server now starts without any such copy.- On macOS, Channels now hands off to the new release after an update while tabs are open or tailnet access is on. With no open tabs and tailnet access off, it exits so the next open starts the new release. A server that an earlier release started can still need a one-time restart after the upgrade.
- On macOS, Namedrop commands and background helpers now detect when an update selects a different runtime. They check the executable they are running, so a process that started through the launcher can finish its work on the selected release. Channels also records the executable it is running if an update switches releases while it waits to start.
- Doctor shows
ND-CHANNELS-002when Channels is still running a previous Namedrop runtime after an update. If a running server did not record its executable, Doctor says it cannot verify the runtime. Both notices give the commands to restart Channels. Doctor skips a server that reports a restart in progress. - When an agent ended its turn waiting on another agent or a terminal, the answer it wrote once that helper replied could be dropped, and your message kept showing "Still working" with no warning. That answer now lands in your message's thread. If the turn that should answer is interrupted, you are warned 5 seconds after Namedrop sees the agent idle. Namedrop counts the agent as idle no sooner than 30 seconds after the helper's answer arrived, unless the agent replied to the helper first. An answer that was still pending when you updated arrives too.
- A mention that waits for its agent, for example behind text left in the agent's prompt box, no longer makes Update Namedrop fail with
Namedrop commands are still finishing. Thenamedrop hook mailbox-wakeprocess that a mention starts kept the command lock for as long as the status worker it started kept running, so the update gave up after 20 seconds and told you to wait. From this version on, the hook releases the lock once its worker has started. The update onto this version can still stop once on such a hook from your earlier version: the message now tells you to stop it withkill, which loses nothing, and then retry. See Upgrade below.
Upgrade
- An invalid
settings.jsonturns off update checks, as before, and now also stops Namedrop's own Claude Code calls, because Namedrop cannot tell which Claude Code program the file names. The calls it stops are agent-status summaries, persona suggestions and channel routing for Claude Code, and Add agent for Claude Code in Channels. Codex never reads the file, so its calls keep working. Doctor showsND-MODEL-002as a notice with the reason, and exits1. Fix the file to turn the calls on again. claude_commandreaches channel routing only from a 1.12.0 Channels server. On macOS, a 1.11.1 Channels server can keep running after the update, as a later item here describes, and routes withclaudeuntil it stops. Doctor reportsND-CHANNELS-002because that server did not record its executable. To stop it, follow Restart Channels after an update.- If you add
claude_commandtosettings.jsonand then go back to 1.11.1 or earlier, that release treats the file as invalid: its update checks stop and Doctor showsND-UPDATE-002. For the same reason, adding it to Herdr's file before you update hides the notice that offers 1.12.0. - In Herdr, update with Update Namedrop. The update runs live. The state schema stays at 8, and agent sessions and pending deliveries keep running. If the update stops with
Namedrop commands are still finishingand names anamedrop hook mailbox-wakeprocess, run thekillcommand it shows, then run Update Namedrop again. That process only waits for a mention's worker, so stopping it loses nothing. - Restart each Codex session that was running before the update. The hook wrappers changed, and Codex refuses to run a plugin's hooks once the plugin's files change. Until you restart it, the session can lose its hooks, answer only in its terminal and raise
ND-DELIVERY-003. Its screen showsHook failedwithNo such file or directory (os error 2)or withplugin contents changed; hook approval required, and Doctor names it inND-SETUP-005if it ran a hook on 1.6.5 or later. In the new session, trust the Namedrop hooks at Hooks need review. - On macOS, a 1.11.1 Channels server that
namedrop channelsor Herdr started keeps running after the update, and Channels works as in 1.11.1 until that server stops. The changes above to Type to agent and Stop thread apply only after that. Without tailnet access, the server stops 10 minutes after the last Channels tab closes, or after the minutes you set with--idle. With tailnet access on, or with--idle never, it never stops by itself. To stop it now, check that thepidindashboard/server.jsonin Namedrop's state directory is still anamedrop dashboard-serverprocess,killit, then runnamedrop channels. The 1.12.0 server starts on the same port with the same browser session, so signed-in browsers and phones stay signed in. Restart Channels after an update gives the commands. - If you ran Rex support from the
experimentalbranch, runsh scripts/install.shfrom this release's archive. It printsNamedrop Rex install: updateand keeps your names and messages. If your relay database has a layout from an unreleased build, Namedrop sets it aside and starts a new one, and Doctor names the old file inND-RELAY-004. Messages to other machines that were in flight stay in that file.