Repository navigation
lcode 0.20.0
Long-running work (#51).
- Background commands. The model starts a dev server, a test watcher or another process that keeps running with
bashandbackground: true, and carries on working.bash_outputreads what the process printed since last time, andbash_stopstops it./jobslists 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-sendon Linux andosascripton macOS, and rings the terminal bell otherwise. - Change the time with
lcode config set notify_after 60, or turn it off withlcode config set notify false.
- It uses
- 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