DF0016: Agent Resource Already Registered
Experimental
The agent-native surface is experimental and may change without a major version bump until it stabilizes.
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.