Skip to Content
API ReferenceType AliasesType Alias: ExternalSlashCommand

Type Alias: ExternalSlashCommand

ExternalSlashCommand = object

Defined in: src/agent_runner/agent_runner_types.ts:49 

A REPL slash command contributed by the injected layer (replaces the hard-coded /jobs /show /comment /unblock branches). name is without the leading ’/’. handler receives the text after the command name and returns the response string to display.

Properties

description

description: string

Defined in: src/agent_runner/agent_runner_types.ts:51 


handler

handler: (context, argsText) => string | Promise<string>

Defined in: src/agent_runner/agent_runner_types.ts:52 

Parameters

context

AgentRunnerContext

argsText

string

Returns

string | Promise<string>


name

name: string

Defined in: src/agent_runner/agent_runner_types.ts:50 

Last updated on