Join Nostr
2026-04-05 08:53:38 UTC
in reply to

jonny (nonvenomous) on Nostr: Pause and reflect. What were we doing here again? oh right, a custom status bar. The ...

Pause and reflect. What were we doing here again? oh right, a custom status bar.

The way this might be done in any other normal program is by saying "you can declare a function that return a string, it gets these things." and then you might "call that function with those things" and "print the result in a specific location." That might take someone a few minutes.

In order to make it a natural language controlled magical feature, what we had to do was write some description, submit it to the main LLM loop, which tells a subagent to go read my whole shell configuration and integrate that into the context window, compose some bash script based in incorrect information that I never see and have no means of correcting, save that in a file, return some prompt string to the parent agent that instructs it to edit my local configuration to invoke this bash script, and then it throws that and the rest of the system state into a call chain that is shared with a random subset of other shell based commands, executes that, and passes that string back into the TUI environment for display. If i need to make edits to this script, I don't necessarily know where it is or how it's configured, but I can invoke another round of agent editing *maybe* if the parent agent correctly interprets the prompt command from the subagent to spawn the same kind of agent.

simple right?