Openbar for ZCode
Z.ai's zcode and its desktop app share one hooks file, so both show in the island, and their approvals and questions are answered there.
What you can do from the island
Approve in the island
The card and ZCode's own prompt are up together, and whichever you answer first wins. ZCode asks only in its ask-first modes; in yolo and guarded nothing reaches the island.
Answer questions
ZCode's questions open the island too.
Reply
Type or speak a reply for a zcode terminal. Sessions in the app are replied to in the app.
Diffs, tools and model
A file change's diff, the tools the session ran, its model and, with previews on, its prompt and last reply. A task in the app without a project shows as ZCode task.
Set it up
- Install Openbar, then in its Settings install AI Agents in the Features hub and turn on Sessions under Dynamic Island.
- Openbar finds the agent by itself: when Sessions starts, it adds its hooks next to yours, after a backup. A tool installed later is picked up too. Turning the agent's switch off takes out only what Openbar added. For ZCode they go in ~/.zcode/cli/config.json, under hooks.events, and Openbar turns on hooks.enabled, which ZCode leaves off by default.
The same island runs on Mac, Windows 11 and Linux. Download Openbar, free and with no account.
Questions
Can I start a ZCode session from New session?
No. ZCode's terminal UI takes no first prompt, so New session doesn't offer it. Start zcode yourself and it shows in the island.
What happens when Openbar isn't running?
Nothing changes. With Openbar closed its hook reaches nothing, and the agent asks where it always does, in its terminal or its app.
Does Openbar send my prompts anywhere?
No. Prompts, replies and commands stay on your machine, and they are hidden in the island until you turn on Show previews. Openbar sends one anonymous usage ping a day, which you can switch off.