August 3rd, one commit, three new core tools and a security fix.
glob. Find files by pattern, src/**/*.py, and get the list back. Before this, an agent
looking for files had to run find through a shell, which works and is slower and noisier than
needing to be.
todowrite. The agent keeps a task list and shows it to you, sending the whole list each time,
one item in progress at a most. This is the tool that makes a long multi-step job legible: you can
see what it thinks it is doing, in order, and spot the moment it goes off the rails. It is also a
tool with a rule attached (one in progress), which is the kind of constraint that keeps the display
honest.
ask_user_question. The agent asks you a multiple-choice question instead of guessing. It exists
because a guessing agent does the wrong thing confidently and you find out later, and it is the tool
that makes "tell me which option" a normal part of a run.
The origin guard. The web UI listens on a port and can run shell commands. If a page on the
internet can make your browser talk to that port, and the browser sends your credentials with it,
that page can drive your agent. That is CSRF and DNS rebinding. Pengy now checks the origin, with a
--trusted-host flag for the cases where you deliberately want more. The Rust and C++ editions get
the same rule later, in 1.9.0 and 1.10.0, in a coordinated release.
Also in here: argument parsing made robust across all the CLI entry points, and a status dot in the GUI sidebar showing whether the model endpoint is answering.