Documentation
¶
Index ¶
- func QueueCommand(config bridgeconfig.Config, text string) clisession.CommandSpec
- type Adapter
- type AttachedNotifier
- type Driver
- func (Driver) BuildCommand(config bridgeconfig.Config, delivery clisession.Delivery) (clisession.CommandSpec, error)
- func (Driver) DefaultCommand() string
- func (Driver) ExtractRuntimeSessionID(result clisession.CommandResult) string
- func (Driver) Name() string
- func (Driver) UsesSessionIDForFirstDelivery() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QueueCommand ¶ added in v0.1.21
func QueueCommand(config bridgeconfig.Config, text string) clisession.CommandSpec
QueueCommand builds `codex queue --thread <session> --message <text>`, honouring runtime.command and runtime.home_path like the managed driver.
Types ¶
type AttachedNotifier ¶ added in v0.1.21
type AttachedNotifier struct{}
AttachedNotifier nudges an open Codex session with `codex queue`. Codex delivers the queued message once the session's current turn ends.
func (AttachedNotifier) Name ¶ added in v0.1.21
func (AttachedNotifier) Name() string
func (AttachedNotifier) Notify ¶ added in v0.1.21
func (AttachedNotifier) Notify(ctx context.Context, config bridgeconfig.Config, text string) error
type Driver ¶
type Driver struct{}
func (Driver) BuildCommand ¶
func (Driver) BuildCommand(config bridgeconfig.Config, delivery clisession.Delivery) (clisession.CommandSpec, error)
func (Driver) DefaultCommand ¶
func (Driver) ExtractRuntimeSessionID ¶
func (Driver) ExtractRuntimeSessionID(result clisession.CommandResult) string
func (Driver) UsesSessionIDForFirstDelivery ¶
Click to show internal directories.
Click to hide internal directories.