Repository navigation
Releases
v0.12.0
Built and tested on Tern 0.9.29.
Added
- Hover the Agent Scheduler widget for a card listing runs that need you, runs in progress, unseen failures and the next three runs. Its buttons open or stop a run, mark a failure seen, run a job now, or resume all jobs when they're paused.
- Rows in the manager glide to their new places when the list changes, such as a run moving from Now into the results when it finishes.
v0.11.1
Built and tested on Tern 0.9.29. Update Tern to 0.9.29: on an older Tern, Settings › Setup flags the Tern version.
Fixed
- A run's result in the manager no longer offers Run on shell code blocks the agent wrote, so a click can't execute a command from an unattended run's output.
v0.11.0
Built and tested on Tern 0.9.24. Update Tern to 0.9.24: on an older Tern, Settings › Setup flags the Tern version, and script and AI checks can't start.
Added
- The Agent Scheduler pane shows an error state on its tab, in the inbox and in the Agents widget while failed runs are unacknowledged ("Nightly review failed", "2 failed"), and clears it once you've seen them.
Changed
- Script and AI checks stream their output instead of buffering all of it, and a check still running when the plugin reloads or turns off is stopped instead of left running.
v0.10.1
Built and tested on Tern 0.9.23. Update Tern to 0.9.23: on an older Tern, Settings › Setup flags the Tern version.
On macOS, check Tern's permissions: Tern 0.9.23 removed Tern Daemon, so scheduled runs now use Tern's own macOS permissions. If you gave Tern Daemon Full Disk Access, Local Network or Developer Tools, give them to Tern instead (palette › Set up macOS permissions). Otherwise, runs that work in protected folders or reach your local network can fail while you're away.
Changed
- A script check's approval is now pinned with SHA-256 instead of a weaker checksum, so an edited script can't pass as the one you approved. Checks you approved before keep working; saving the job pins them the new way.
v0.10.0
Built and tested on Tern 0.9.21. Update Tern to 0.9.21: on an older Tern, Settings › Setup flags the Tern version.
Changed
- The Agent Scheduler widget is now drawn by Tern's session service, so it stays current without a window polling for it and shows in windows attached from other computers. A window still shows scheduler stalled or paused itself.
Fixed
- When Tern reopens a run's chat after a restart or in a fork, the chat keeps the run's approval mode and settings and doesn't send the prompt again.
v0.9.0
Built and tested on Tern 0.9.18. Update Tern to 0.9.18: on an older Tern, Settings › Setup flags the Tern version.
Added
- An Agent Scheduler widget for Tern's widget bar (
tern-agent-scheduler/status). Add it from the palette's Edit widgets…. It shows the same status the status line used to: the next run, runs in progress, and runs that need you or failed. Tern 0.9.17 replaced the status line with the widget bar, where plugin status only appears if your bar includes Plugin segments; that still works too.
v0.8.0
Built and tested on Tern 0.9.16. Update Tern to 0.9.16: on an older Tern, Settings › Setup flags the Tern version.
Changed
- With several Tern windows, runs open in a window you use: a run you start from the manager, the palette or Carly opens in that window, and scheduled runs open in the window you last used Agent Scheduler from. They used to always go to the first window.
- After a plugin reload, a run whose launch was still finishing is picked up right away instead of on the next check.
- Run records are saved before the plugin reloads or is turned off.
Fixed
- Open run (Enter or a double-click on a run) works when the run's tab is in another Tern window. It used to do nothing visible, or resume the session in a window you weren't looking at. When the tab is in your other window, the manager now says so.
- A run whose tab is in a window other than the first is no longer recorded as closed by you.
- When a run's tab can't be shown, the manager says why instead of doing nothing.
v0.7.2
Built and tested on Tern 0.9.12.
Fixed
- A job's folder can have quotes,
$or!in its name. The form used to refuse these folders; now it refuses only control characters, such as a newline. - Stop after offers 6 and 8 hours, the limits the form already accepted.
- After a validation error in the job form, every field can still be reached: Tab and Shift-Tab leave the prompt editor with its text kept, and clicking another row finishes an open text edit.
Thanks to @roverdude24 for these fixes (#4).
v0.7.1
Built and tested on Tern 0.9.12. Update Tern to 0.9.12: on an older Tern, Settings › Setup flags the Tern version.
Changed
- Agent Scheduler is now built and tested on Tern 0.9.12.
v0.7.0
Built and tested on Tern 0.9.9.
Added
- Scripts, CI jobs and other agents can create jobs by writing a
script_createrequest into the data folder and reading the reply. The fields and reply are a stable contract, and unknown fields are refused. See From a script. Thanks to @roverdude24, whose #4 prompted it. - Jobs made this way are active immediately with your default approval. The manager marks them
by <source>(orby script), and a toast and a desktop notification name who scheduled them.