Skip to content

1.5.0

Choose a tag to compare

@geminixiang geminixiang released this 13 Oct 01:13

What's changed

Highlights

  • Office desktop (/pi-desktop): a private 24-hour link to the conversation's desktop in the managed oci sandbox. Watch or use the browser the agent drives, open its tabs, DevTools, or a terminal. "Take control" pauses the agent's browser until you hand it back, and the agent can hand you a step such as signing in with jev_browser's handOff (direct messages only), which posts the step with a link and ends its turn. The desktop starts on the first link, stops with the sandbox's idle stop, and keeps the sandbox running while someone has it open.
  • mikan keeps its Slack app configured (ADR 0026): with a Slack app configuration token, every start replaces the app's configuration with the manifest of the running release, so new slash commands, scopes, and events need no edit in Slack's settings. mikan onboard can create the app, mikan slack token connects an existing one, and mikan slack set --name … --description … customizes it. When a release adds a scope, mikan DMs the token's owner a reinstall link. Without a token nothing changes.
  • Pi 1.2.0: Pi 1.2 removed an export mikan 1.4.0 imports, so a fresh install of 1.4.0 fails to start; this release works with it. Upgrade from 1.4.0 now.

Notable changes

  • A nonzero bash exit is now an error result that carries the output and the exit code, instead of a thrown error.
  • jev_browser closes only tabs it opened when it passes its three-tab limit, so tabs a person opened stay open.
  • The sandbox image adds sway, wayvnc, and foot (about 1 MB) and the mikan-desktop script.
  • mikan slack set --name also names the bot user when Slack accepts the name (letters, digits, spaces, ., _, -); other names, such as Chinese ones, keep the bot named mikan.

Removed

  • The Slack App Home tab, which listed running tasks and scheduled jobs with force-stop buttons. The manifest turns the tab off; a synced app loses it on the next start, and an app configured by hand keeps an empty tab until it is turned off in Slack's App Home settings. Use the stop command or the Admin portal to stop work.

Upgrade steps

  • The desktop needs this release's sandbox image. An office whose container still runs an older image gets it after the container idles out and is replaced.
  • Register /pi-desktop in your Slack app, or store a configuration token with mikan slack token and let mikan do it on the next start.
  • Storing a token replaces the whole app configuration: settings added by hand in Slack's pages are removed, and an app built from the agent manifest loses the agent surface. Give one token to one mikan install, because every rotation revokes the previous token.
  • Desktop links are bearer links like /session and /admin links: anyone holding one can open the desktop until it expires.

Verification

  • CI and the Slack E2E suite pass on the merged changes; acceptance evals for the desktop and for the Slack app sync ran against real containers and a real Slack app.