Skip to content

iOS: setup checklist on What this bot does - #957

Merged
milind-soni merged 2 commits into
feat/bot-tools-composerfrom
feat/tools-checklist-ios
Sep 13, 2026
Merged

milind-soni merged 2 commits into
feat/bot-tools-composerfrom
feat/tools-checklist-ios

Conversation

@aivsomkar

Copy link
Copy Markdown
Collaborator

In plain language

The phone half of #956's setup checklist. "What this bot does" (bot profile → Identity) now opens with Finish setting up · n of m done: name and job, standing instructions, working folder, connected apps, a schedule or trigger, a first message. Done steps are ticked and struck through.

The steps point at desktop settings sections a phone cannot open, so they read as a list here. The one thing the phone can do is Set up with the bot, which sends /setup to the chat so the bot interviews you and fills the rest in itself.

Per-bot MCP servers, roles, paste-import and the composer tray from #956 are not ported, on purpose: a paired phone may not change a bot's execution policy (companion/src/routes.ts).

What changed

  • ios/Sources/CompanionCore/Models.swift: BotOverviewSetupStep; BotOverview.setup (optional, so older desktops still decode) and remainingSetup.
  • ios/App/BotOverviewView.swift: the checklist section and the /setup button.
  • Fixture bot-overview.json recaptured from a disposable harness (--overview-only); Android's suite reads the same file.

Test plan

  • swift test: 338 passing, including decoding the checklist and an overview without one
  • xcodegen generate + simulator compile gate: BUILD SUCCEEDED
  • On a phone paired to a Mac running Per-bot MCP access and guided bot setup #956: bot profile → What this bot does → tap Set up with the bot; the chat shows the interview

Stacked on #956 (base feat/bot-tools-composer).

Platforms

Platform Applies? Status
macOS yes in #956
Windows yes in #956
iOS yes in this PR, simulator compile gate passed; NOT run on a device
Android yes stacked PR on this one
Companion yes n/a: reads the existing GET /api/bots/:id/overview; the /setup message goes through the existing send route

🤖 Generated with Claude Code

The desktop Overview's "Finish setting up" list, read from the new
`setup` field of the overview payload (optional, so older desktops still
decode). Steps are informational on the phone; "Set up with the bot"
sends /setup to the chat.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@vercel

vercel Bot commented Sep 8, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
openmausbot-docs Ready Ready Preview Sep 9, 2026 9:01pm UTC

Request Review

@coderabbitai

coderabbitai Bot commented Sep 8, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 7569f54b-3dd5-496b-b58a-632a25c085b0

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Twin of the iOS change: the overview's optional `setup` list rendered
as a ticked checklist with "Set up with the bot" sending /setup.

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
@milind-soni

Copy link
Copy Markdown
Owner

Review against current main: this is still stacked on feat/bot-tools-composer, although #956 was squash-merged and its setup behavior has since changed. Merging main into the current stack produces conflicts across old server/UI setup changes, so the two phone commits should be lifted cleanly onto main rather than restoring that old setup implementation. Please also align the heading/footer/fixture with the current optional customization flow (no mandatory first-message step): chat works before setup and /setup is opt-in. Both phone buttons currently report Sent without checking acceptance, and iOS allows repeat taps while awaiting send; please cover failed/offline sends and prevent double submission. Holding this version rather than reviving the setup regression.

@milind-soni
milind-soni merged commit e1cf468 into feat/bot-tools-composer Sep 13, 2026
12 checks passed

This branch was successfully deployed

1 active deployment
Preview — 7c399081 Deployed Sep 9, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants