Versions: @opencomputer/cli 0.5.1, @opencomputer/agent 0.4.1.
Project sdk-watcher with an agent directory agents/sdk-watcher/. On each opencomputer dev start, the agent's ID grows another sdk-watcher-- prefix:
- First
dev run: agents sdk-watcher@development, sdk-watcher--sdk-watcher@development
- After restart:
sdk-watcher--sdk-watcher@development, sdk-watcher--sdk-watcher--sdk-watcher@development
- After deleting the second agent and restarting: single agent
sdk-watcher--sdk-watcher--sdk-watcher@development
The deployment hashes confirm it is the same agent being re-registered under a longer name each time (e.g. hash db18b4d682d0 moved from sdk-watcher--sdk-watcher to sdk-watcher--sdk-watcher--sdk-watcher). opencomputer agents then lists stale duplicates.
Side effects: session targets from previous runs break (--agent sdk-watcher--sdk-watcher@development no longer exists), and scripts pinning an agent ID rot on every restart.
Interestingly opencomputer deploy --alias production used the clean ID sdk-watcher@production, so this looks specific to the dev-sync registration path re-applying the <project>-- prefix to an already-prefixed ID.
🤖 Filed with Claude Code
Versions:
@opencomputer/cli0.5.1,@opencomputer/agent0.4.1.Project
sdk-watcherwith an agent directoryagents/sdk-watcher/. On eachopencomputer devstart, the agent's ID grows anothersdk-watcher--prefix:devrun: agentssdk-watcher@development,sdk-watcher--sdk-watcher@developmentsdk-watcher--sdk-watcher@development,sdk-watcher--sdk-watcher--sdk-watcher@developmentsdk-watcher--sdk-watcher--sdk-watcher@developmentThe deployment hashes confirm it is the same agent being re-registered under a longer name each time (e.g. hash
db18b4d682d0moved fromsdk-watcher--sdk-watchertosdk-watcher--sdk-watcher--sdk-watcher).opencomputer agentsthen lists stale duplicates.Side effects: session targets from previous runs break (
--agent sdk-watcher--sdk-watcher@developmentno longer exists), and scripts pinning an agent ID rot on every restart.Interestingly
opencomputer deploy --alias productionused the clean IDsdk-watcher@production, so this looks specific to the dev-sync registration path re-applying the<project>--prefix to an already-prefixed ID.🤖 Filed with Claude Code