Documentation
¶
Overview ¶
Package steering feeds a person's input into a running loop.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Control ¶
type Control struct {
// contains filtered or unexported fields
}
Control turns JSONL lines from a file or FIFO into steering, so a program can steer a run the way a person does at the terminal. One line is one command:
{"type":"stop"}
{"type":"inject","message":"focus on go.mod"}
{"type":"modify_config","max_iterations":20,"temperature":0.1}
wait_ms on any line delays it, counted from the previous line. An inject is also how an ask_user or confirm question gets its answer. A bad line is reported and skipped; it never ends the run.
type Terminal ¶
type Terminal struct {
// contains filtered or unexported fields
}
Terminal turns each line typed during a turn into steering. "/stop" stops the loop; anything else is injected as a user message, which is also how an ask_user or confirm question (steerloop/internal/gates) gets its answer.