drop tmux/planner/sysinfo, tasks becomes processes, no capitalised calls
- plugins/tmux, plugins/planner and plugins/sysinfo are gone (plugin list, Makefile rules, tests, docs). The config no longer loads them; the stale .so files were removed from the install tree. - plugins/tasks is plugins/processes: plugin name "processes", widget "processes", tools process_start/process_list/process_result/process_kill. The sidebar now lists only running work: a finished task keeps its output in process_result but stops taking a row forever. - the dead planner link in the delegate (link_plan_quota -> command "tasks") is removed with the planner. - tool call rows are no longer capitalised: "run ls -l", "read src/x.c" as the model sent them, not "Run "/"Read ". - tests updated (delegate panel expects no finished row, engine/UI expect the lowercase call row, secrets/delegate use the processes plugin and tools). - the user's config gets a Delegate/Scheduler section: the three providers carry review/plan/docs tags and keep max_parallel=2; plugin scheduler stays loaded so waiting jobs are retried. make check: all tests passed.
This commit is contained in:
1 parent
1e15c91e4e
commit
8aee12e9d4
17 files changed
+73
-2074
No files matched your search
@@ -336,7 +336,6 @@ apart from `path` and `enabled` is that plugin's own configuration:
|
||||
plugin lcm {
|
||||
keep = 40
|
||||
}
|
||||
plugin tmux { }
|
||||
plugin junction { } # url/header from the mcp junction server
|
||||
plugin mine {
|
||||
path = ~/my/plugin.so # not shipped: say where it is
|
||||
|
||||
@@ -327,21 +327,6 @@ children, delegates, a CLI transport. CPU is the delta between two samples
|
||||
cumulative for the session. `/self` and the `session_usage` tool print the
|
||||
same numbers with the pid and the child count.
|
||||
|
||||
## sysinfo
|
||||
|
||||
RAM, CPU, swap and disk in one sidebar line:
|
||||
|
||||
```
|
||||
RAM 46% [|| ] CPU 13% [| ] SWAP 12% [ ] DISK 71% [|||| ]
|
||||
```
|
||||
|
||||
A widget thread samples `/proc/meminfo`, `/proc/stat` and `statvfs("/")` every
|
||||
two seconds. CPU is the busy share between two samples; RAM is
|
||||
`MemTotal - MemAvailable` (with Free+Buffers+Cached as the fallback); swap is
|
||||
`SwapTotal - SwapFree`; disk is `f_blocks - f_bfree` on `/`. Everything is a
|
||||
percentage with a five-cell `[|||| ]` gauge. A missing `/proc` entry leaves the
|
||||
number at 0 and the plugin still loads. It has no commands and no config.
|
||||
|
||||
## Zustimmung (ack)
|
||||
|
||||
Ein Werkzeug, das etwas aendert, braucht ein Ja von einem Menschen. Der Mensch
|
||||
@@ -399,16 +384,6 @@ Regeln, die der Code durchsetzt:
|
||||
selben Konto vom Zustimmen abhalten will, braucht eine eigene uid fuer splinter
|
||||
(oder einen Kanal, dessen Antwort der lokale Benutzer nicht schreiben kann).
|
||||
|
||||
## planner
|
||||
|
||||
A plan for the session, not a background job. The list lives in
|
||||
`<session>/plan_tasks.json`; the model can add and update tasks, and `/tasks`
|
||||
shows them, picks the active one and moves it between `todo`, `doing`, `done`,
|
||||
`blocked` and `waiting_quota` (any other state is refused). The file is read and
|
||||
written under one lock on every operation and replaced atomically. The focus plugin's `/goal` is the short reminder;
|
||||
planner is the list behind it. It is a different store from the `tasks` plugin,
|
||||
which owns shell commands with a process and a clock.
|
||||
|
||||
## provider
|
||||
|
||||
Per-`(provider, key)` quota and usage, shared by every splinter that uses the
|
||||
@@ -427,23 +402,6 @@ delegation job that is due (`waiting_quota`, `waiting_poll` or `queued` with
|
||||
delegate job tools, "quota is back in three days" becomes a scheduled retry
|
||||
instead of a lost task.
|
||||
|
||||
## tmux
|
||||
|
||||
Drives a program that wants a terminal (a REPL, an installer, another agent's
|
||||
TUI) in a detached tmux session. Tools: `tmux_start` (destructive: it runs a
|
||||
shell command), `tmux_send` (text and/or key names such as `C-c`), `tmux_ask`
|
||||
(send a line, wait until the pane has new output and has been quiet for
|
||||
`quiet_ms`, return the new lines), `tmux_read`, `tmux_capture` and
|
||||
`tmux_status`. `/tmux` has the same operations plus `attach` and `stop`.
|
||||
|
||||
"New" is a diff of two `capture-pane` snapshots kept in memory: it finds the old
|
||||
capture inside the new one and returns what follows. There is no helper process,
|
||||
no pid file and nothing left behind when splinter exits; the target name is the
|
||||
only thing written, to `<session>/tmux_target`, so a resumed session finds its
|
||||
terminal again. Session names and key names are checked so that neither can be
|
||||
read by tmux as an option. The plugin refuses to load when `tmux` is not
|
||||
installed. `tests/test_tmux.c` runs against a real tmux and skips without one.
|
||||
|
||||
## a2a
|
||||
|
||||
Another agent as the backend, over the Agent2Agent protocol. The transport is
|
||||
|
||||
+4
-2
@@ -47,8 +47,10 @@ splinter # Chat auf "work"
|
||||
3. **Arbeiten**: normal beschreiben, was getan werden soll. Umsetzung macht
|
||||
der Pool `work`; Aufgaben mit Wörtern wie *analysiere, entscheide, bewerte,
|
||||
review, Architektur, Ursache* gehen an `claudeapi`.
|
||||
4. **Plan führen**: `/tasks` zeigt den Plan der Sitzung, `/tasks work next`
|
||||
nimmt den nächsten Punkt.
|
||||
4. **Hintergrundarbeit**: `process_start` startet lange Kommandos,
|
||||
`process_list`/`process_result` holen Stand und Ausgabe; `delegate` gibt
|
||||
eine Aufgabe an ein anderes Modell, der `scheduler` wiederholt wartende
|
||||
Jobs nach Quota/`run_after`.
|
||||
5. **Verbrauch sehen**: Statusleiste und `/usage` (Balken je Provider).
|
||||
6. **Beenden/Fortsetzen**: Ctrl-D beendet, `splinter -c` setzt die letzte
|
||||
Sitzung in diesem Verzeichnis fort.
|
||||
|
||||
Reference in new issue
Block a user