Skip to content

lcode 0.20.0

Choose a tag to compare

@nasser1941 nasser1941 released this 06 Oct 00:00
aadc41f

Long-running work (#51).

  • Background commands. The model starts a dev server, a test watcher or another process that keeps running with bash and background: true, and carries on working.
    • bash_output reads what the process printed since last time, and bash_stop stops it.
    • /jobs lists them, and they all stop when the session ends.
    • They ask for permission like other commands, and run in the sandbox when it's on.
  • Desktop notifications. A notification when a request that ran longer than 30 seconds is done, or when lcode waits for your answer during one (a permission question or a plan).
    • It uses notify-send on Linux and osascript on macOS, and rings the terminal bell otherwise.
    • Change the time with lcode config set notify_after 60, or turn it off with lcode config set notify false.
  • Fixed: a command that starts something with & no longer hangs until its timeout. What it left running is stopped when it ends, and the model is told to use a background command instead.

Docs: Background commands and Notifications.

Full changelog: v0.19.0...v0.20.0