Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions autocomplete/fish_autocomplete
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,15 @@ complete -x -c lk -n '__fish_seen_subcommand_from agent a; and not __fish_seen_s
complete -c lk -n '__fish_seen_subcommand_from agent a; and __fish_seen_subcommand_from debugger dbg' -f -l help -s h -d 'show help'
complete -x -c lk -n '__fish_seen_subcommand_from agent a; and __fish_seen_subcommand_from debugger dbg; and not __fish_seen_subcommand_from start say chat-history transcript events status logs restart stop serve help h' -a 'start' -d 'Start the agent in the background and wait until it is ready'
complete -c lk -n '__fish_seen_subcommand_from agent a; and __fish_seen_subcommand_from daemon dbg; and __fish_seen_subcommand_from start' -f -l port -r -d 'Loopback port the session listens on (one session per port)'
complete -c lk -n '__fish_seen_subcommand_from agent a; and __fish_seen_subcommand_from daemon dbg; and __fish_seen_subcommand_from start' -f -l idle-timeout -r -d 'Stop the session after this long without any command (0 to keep it running until `stop`)'
complete -c lk -n '__fish_seen_subcommand_from agent a; and __fish_seen_subcommand_from daemon dbg; and __fish_seen_subcommand_from start' -f -l idle-timeout -r -d 'Stop the session after `DURATION` without any command, such as 30m, 2h, or 90s (0 keeps it running until stop)'
complete -c lk -n '__fish_seen_subcommand_from agent a; and __fish_seen_subcommand_from daemon dbg; and __fish_seen_subcommand_from start' -f -l json -s j -d 'Output as JSON'
complete -c lk -n '__fish_seen_subcommand_from agent a; and __fish_seen_subcommand_from daemon dbg; and __fish_seen_subcommand_from start' -f -l help -s h -d 'show help'
complete -x -c lk -n '__fish_seen_subcommand_from agent a; and __fish_seen_subcommand_from daemon dbg; and __fish_seen_subcommand_from start; and not __fish_seen_subcommand_from help h' -a 'help' -d 'Shows a list of commands or help for one command'
complete -x -c lk -n '__fish_seen_subcommand_from agent a; and __fish_seen_subcommand_from debugger dbg; and not __fish_seen_subcommand_from start say chat-history transcript events status logs restart stop serve help h' -a 'say' -d 'Send one user turn and print the agent\'s tool calls and reply'
complete -c lk -n '__fish_seen_subcommand_from agent a; and __fish_seen_subcommand_from daemon dbg; and __fish_seen_subcommand_from say' -f -l port -r -d 'Loopback port the session listens on (one session per port)'
complete -c lk -n '__fish_seen_subcommand_from agent a; and __fish_seen_subcommand_from daemon dbg; and __fish_seen_subcommand_from say' -f -l json -s j -d 'Output as JSON'
complete -c lk -n '__fish_seen_subcommand_from agent a; and __fish_seen_subcommand_from daemon dbg; and __fish_seen_subcommand_from say' -f -l metrics -d 'Show latency metrics: time to first token per reply and how long each turn took'
complete -c lk -n '__fish_seen_subcommand_from agent a; and __fish_seen_subcommand_from daemon dbg; and __fish_seen_subcommand_from say' -f -l timeout -r -d 'Give up waiting for the agent\'s reply after this long'
complete -c lk -n '__fish_seen_subcommand_from agent a; and __fish_seen_subcommand_from daemon dbg; and __fish_seen_subcommand_from say' -f -l timeout -r -d 'Give up waiting for the agent\'s reply after `DURATION`, such as 2m or 90s'
complete -c lk -n '__fish_seen_subcommand_from agent a; and __fish_seen_subcommand_from daemon dbg; and __fish_seen_subcommand_from say' -f -l logs -d 'Interleave agent log lines emitted during the turn'
complete -c lk -n '__fish_seen_subcommand_from agent a; and __fish_seen_subcommand_from daemon dbg; and __fish_seen_subcommand_from say' -f -l help -s h -d 'show help'
complete -x -c lk -n '__fish_seen_subcommand_from agent a; and __fish_seen_subcommand_from daemon dbg; and __fish_seen_subcommand_from say; and not __fish_seen_subcommand_from help h' -a 'help' -d 'Shows a list of commands or help for one command'
Expand Down Expand Up @@ -284,15 +284,15 @@ complete -x -c lk -n '__fish_seen_subcommand_from agent a; and __fish_seen_subco
complete -c lk -n '__fish_seen_subcommand_from agent a; and __fish_seen_subcommand_from daemon dbg' -f -l help -s h -d 'show help'
complete -x -c lk -n '__fish_seen_subcommand_from agent a; and __fish_seen_subcommand_from daemon dbg; and not __fish_seen_subcommand_from start say chat-history transcript events status logs restart stop serve help h' -a 'start' -d 'Start the agent in the background and wait until it is ready'
complete -c lk -n '__fish_seen_subcommand_from agent a; and __fish_seen_subcommand_from daemon dbg; and __fish_seen_subcommand_from start' -f -l port -r -d 'Loopback port the session listens on (one session per port)'
complete -c lk -n '__fish_seen_subcommand_from agent a; and __fish_seen_subcommand_from daemon dbg; and __fish_seen_subcommand_from start' -f -l idle-timeout -r -d 'Stop the session after this long without any command (0 to keep it running until `stop`)'
complete -c lk -n '__fish_seen_subcommand_from agent a; and __fish_seen_subcommand_from daemon dbg; and __fish_seen_subcommand_from start' -f -l idle-timeout -r -d 'Stop the session after `DURATION` without any command, such as 30m, 2h, or 90s (0 keeps it running until stop)'
complete -c lk -n '__fish_seen_subcommand_from agent a; and __fish_seen_subcommand_from daemon dbg; and __fish_seen_subcommand_from start' -f -l json -s j -d 'Output as JSON'
complete -c lk -n '__fish_seen_subcommand_from agent a; and __fish_seen_subcommand_from daemon dbg; and __fish_seen_subcommand_from start' -f -l help -s h -d 'show help'
complete -x -c lk -n '__fish_seen_subcommand_from agent a; and __fish_seen_subcommand_from daemon dbg; and __fish_seen_subcommand_from start; and not __fish_seen_subcommand_from help h' -a 'help' -d 'Shows a list of commands or help for one command'
complete -x -c lk -n '__fish_seen_subcommand_from agent a; and __fish_seen_subcommand_from daemon dbg; and not __fish_seen_subcommand_from start say chat-history transcript events status logs restart stop serve help h' -a 'say' -d 'Send one user turn and print the agent\'s tool calls and reply'
complete -c lk -n '__fish_seen_subcommand_from agent a; and __fish_seen_subcommand_from daemon dbg; and __fish_seen_subcommand_from say' -f -l port -r -d 'Loopback port the session listens on (one session per port)'
complete -c lk -n '__fish_seen_subcommand_from agent a; and __fish_seen_subcommand_from daemon dbg; and __fish_seen_subcommand_from say' -f -l json -s j -d 'Output as JSON'
complete -c lk -n '__fish_seen_subcommand_from agent a; and __fish_seen_subcommand_from daemon dbg; and __fish_seen_subcommand_from say' -f -l metrics -d 'Show latency metrics: time to first token per reply and how long each turn took'
complete -c lk -n '__fish_seen_subcommand_from agent a; and __fish_seen_subcommand_from daemon dbg; and __fish_seen_subcommand_from say' -f -l timeout -r -d 'Give up waiting for the agent\'s reply after this long'
complete -c lk -n '__fish_seen_subcommand_from agent a; and __fish_seen_subcommand_from daemon dbg; and __fish_seen_subcommand_from say' -f -l timeout -r -d 'Give up waiting for the agent\'s reply after `DURATION`, such as 2m or 90s'
complete -c lk -n '__fish_seen_subcommand_from agent a; and __fish_seen_subcommand_from daemon dbg; and __fish_seen_subcommand_from say' -f -l logs -d 'Interleave agent log lines emitted during the turn'
complete -c lk -n '__fish_seen_subcommand_from agent a; and __fish_seen_subcommand_from daemon dbg; and __fish_seen_subcommand_from say' -f -l help -s h -d 'show help'
complete -x -c lk -n '__fish_seen_subcommand_from agent a; and __fish_seen_subcommand_from daemon dbg; and __fish_seen_subcommand_from say; and not __fish_seen_subcommand_from help h' -a 'help' -d 'Shows a list of commands or help for one command'
Expand Down
4 changes: 2 additions & 2 deletions cmd/lk/debugger.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ var sessionPortFlag = &cli.IntFlag{
var sessionIdleFlag = &cli.DurationFlag{
Name: "idle-timeout",
Value: defaultIdleTimeout,
Usage: "Stop the session after this long without any command (0 to keep it running until `stop`)",
Usage: "Stop the session after `DURATION` without any command, such as 30m, 2h, or 90s (0 keeps it running until stop)",
}

var sessionMetricsFlag = &cli.BoolFlag{
Expand Down Expand Up @@ -182,7 +182,7 @@ be piped on stdin:
&cli.DurationFlag{
Name: "timeout",
Value: defaultSayTimeout,
Usage: "Give up waiting for the agent's reply after this long",
Usage: "Give up waiting for the agent's reply after `DURATION`, such as 2m or 90s",
},
&cli.BoolFlag{
Name: "logs",
Expand Down
Loading