DF0016: Agent Resource Already Registered
Message
Agent resource "
{id}" is already registered.
Cause
ctx.agent.registerResource() was called with an id that already exists on the host.
Fix
Pick a distinct id or unregister the existing resource first via the handle returned from the previous call.
Source
packages/devframe/src/node/host-agent.ts—ctx.agent.registerResource()throwsDF0016when the resource id is already registered on the host.