
Now that we've established a proper eval in tree, this PR is reboots of our agent loop back to a set of minimal tools and simpler prompts. We should aim to get this branch feeling subjectively competitive with what's on main and then merge it, and build from there. Let's invest in our eval and use it to drive better performance of the agent loop. How you can help: Pick an example, and then make the outcome faster or better. It's fine to even use your own subjective judgment, as our evaluation criteria likely need tuning as well at this point. Focus on making the agent work better in your own subjective experience first. Let's focus on simple/practical improvements to make this thing work better, then determine how we can craft our judgment criteria to lock those improvements in. Release Notes: - N/A --------- Co-authored-by: Max <max@zed.dev> Co-authored-by: Antonio <antonio@zed.dev> Co-authored-by: Agus <agus@zed.dev> Co-authored-by: Richard <richard@zed.dev> Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com> Co-authored-by: Antonio Scandurra <me@as-cii.com> Co-authored-by: Michael Sloan <mgsloan@gmail.com>
984 B
984 B
- Adds a new
setWindowTitle
method to thestandardRenderer
struct that sets the terminal window title using the OSC 0 escape sequence. It includes thread safety with mutex locking and uses fmt.Fprintf to send the escape sequence with the provided title. - Modifies the
handleMessages
method instandardRenderer
to handle a newsetWindowTitleMsg
message type by calling the newsetWindowTitle
method. This completes the rendering-side implementation for window title updates. - Updates the event loop in the Program struct to properly handle
setWindowTitleMsg
messages by passing them through to the renderer without additional processing, similar to other renderer-specific messages. - Adds documentation to the commands tutorial README explaining how to set window titles in Bubble Tea applications. It shows examples of using
tea.SetWindowTitle()
in both Init and Update methods, and explains its usefulness for reflecting application state in the window title.