Skip to content

Documentation / @debuffjp/dev / DevHooksOptions

Interface: DevHooksOptions ​

Defined in: dev/src/index.ts:113

Properties ​

optional agentLink?: 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? ​

optional commands?: 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? ​

optional input?: DrivableInput

Defined in: dev/src/index.ts:114


keepState? ​

optional keepState?: 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.