From f5948fc5a6ec7ca91c6f454ca119a453a0ecb1a8 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Sat, 26 Sep 2026 12:36:47 +0200 Subject: Add a Slackware updates tool and a restart script updates.py compares the -current ChangeLog with the installed package database: the newest batch holding an installed package is the last one applied, everything newer is pending. The spoken summary gives counts, security fixes and a kernel bump, never package lists; report=true writes a full markdown recap and opens it in MD_EDITOR, detached. restart.sh stops a running assistant and its quickshell overlay and starts both again in their own session. Co-Authored-By: Claude Opus 5.5 --- examples/tools/updates.toml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 examples/tools/updates.toml (limited to 'examples/tools/updates.toml') diff --git a/examples/tools/updates.toml b/examples/tools/updates.toml new file mode 100644 index 0000000..86eac1d --- /dev/null +++ b/examples/tools/updates.toml @@ -0,0 +1,11 @@ +description = "Pending Slackware -current upgrades: ChangeLog entries not yet installed. Summary gives counts (upgraded, rebuilt, new, removed, security fixes) and a pending kernel version bump; say the counts, never read package lists aloud. Can instead open a written markdown recap in the user's editor, or give one package's ChangeLog notes. Read-only." +command = ["updates.py", "{package}", "{report}"] +timeout = 10 + +[params.package] +type = "string" +description = "Package name (e.g. php) for its pending ChangeLog notes. Empty for the summary." + +[params.report] +type = "boolean" +description = "true to write the full recap and open it in the editor. Only when the user said yes to it." -- cgit v1.2.3