Documentation / @debuffjp/dev / DevHooksOptions
Interface: DevHooksOptions
Defined in: dev/src/index.ts:113
Properties
agentLink?
optionalagentLink?:boolean
Defined in: dev/src/index.ts:119
Accept commands from agents through the dev server (debuff dev + @debuffjp/mcp), so an agent works on this live game and its actions show in the overlay. Default true.
commands?
optionalcommands?:Record<string, (...args) =>unknown>
Defined in: dev/src/index.ts:124
Game-defined commands that scenarios ({ "command": "warp", "args": ["hollow"] }) and agents can run, e.g. jumping to a checkpoint or granting an item. Keeps test shortcuts out of the game's own code paths.
input?
optionalinput?:DrivableInput
Defined in: dev/src/index.ts:114
keepState?
optionalkeepState?:boolean
Defined in: dev/src/index.ts:129
Keep your place when a code change reloads the page under debuff dev: the session's inputs are replayed with the new code to the tick you were on. Default true.