Merge upstream OpenMausBot v0.1.169 into fork main (cc280a91) #45
Open
hermes
wants to merge 8954 commits from
sync/upstream-0.1.169 into main
pull from: sync/upstream-0.1.169
merge into: donach:main
donach:main
donach:feat/companion-tailnet-url
donach:pin/main-cc280a91+internal-listener
donach:feat/service-trust-pairing-qr
donach:ci/team-access-ui-remount-race
donach:omb32-stt-wiring
donach:omb31-personas-omb-t3
donach:bot-vm0/internal-listener
donach:codex/pr-batch-sep25
donach:feat/phones-claude-update-prompt
donach:fix/phones-hide-pasted-text-tags
donach:fix/hide-pasted-text-tags
donach:feat/claude-update-prompt
donach:codex/github-sponsors-links
donach:fix/presets-org-seams
donach:fix/vps-ssh-test-linux
donach:fix/ios-16-deployment-target
donach:feat/android-edit-queued-message
donach:feat/ios-edit-queued-message
donach:release/v0.1.87
donach:fix/org-library-review
donach:feat/desktop-library-channel
donach:feat/presets
donach:codex/vps-startup-recovery
donach:fix/full-team-sharing-review
donach:fix/main-red-tests
donach:feat/org-library
donach:chore/organization-installation-words
donach:feat/full-team-sharing
donach:codex/bot-command-allowlist
donach:feat/edit-queued-message
donach:codex/reviewed-pr-batch2-sep24
donach:codex/section-deletion
donach:codex/reviewed-pr-batch-sep24
donach:fix/usage-token-reporting
donach:feat/android-mausbot-icon-and-name
donach:fix/moca-198-mobile-qr
donach:codex/managed-https-provisioning
donach:fix/visibility-review-followups
donach:feat/company-models-after-signin
donach:feat/onboarding-org-hosted
donach:feat/org-policy-renewal
donach:fix/usage-spend-packaging
donach:release/v0.1.86
donach:feat/shared-workspace-governance
donach:fix/hosted-trust-boundaries
donach:fix/moca-135-room-direct-routing
donach:codex/provider-rpc-recovery
donach:feat/claude-opus-5-5
donach:feat/mobile-touch-control
donach:fix/ios-app-icon-name
donach:feat/bot-settings-slack-link
donach:codex/windows-browser-recovery
donach:refactor/agents-tool-core
donach:fix/sender-on-queued-messages
donach:fix/data-dir-hygiene
donach:refactor/route-seam
donach:codex/hosted-model-routing
donach:codex/async-handoffs-bot-access
donach:codex/slack-assistant-runtime
donach:codex/configured-model-picker
donach:fix/moca-229-mobile-thread-selection
donach:codex/credential-router-recovery
donach:release/v0.1.85
donach:codex/organization-local-signin
donach:codex/release-main-health
donach:codex/async-chief-handoffs
donach:codex/guarded-external-turns
donach:codex/fix-main-ci-followup
donach:codex/fix-main-ci
donach:codex/harness-receipts-foundation
donach:codex/routine-proposal-dedupe
donach:codex/ci-baseline-test-repairs-20260919
donach:codex/routine-run-health
donach:codex/context-compaction
donach:codex/claude-explicit-session-reset
donach:codex/bounded-tool-results
donach:phase-1/long-threads
donach:codex/ci-preflight-admission
donach:codex/browser-disconnect-reliability
donach:codex/routine-routing-guidance
donach:fix/moca-179-stream-recovery
donach:fix/moca-212-mobile-images
donach:fix/ios-chat-clutter
donach:android-release/v1.4.0
donach:fix/per-person-message-attribution
donach:fix/browser-uncertain-latch
donach:fix/edit-message-instant-swap
donach:fix/openai-compat-full-access
donach:fix/docker-prepare-hook
donach:feat/moca-139-one-click-engines
donach:feat/approval-caps
donach:fix/mcp-tool-schema-normalize
donach:chore/cua-driver-0.28.2
donach:fix/android-composer-corners
donach:release/v0.1.84
donach:chore/ci-fast-honest
donach:feat/team-incidents
donach:fix/edit-branch-frame
donach:fix/vps-desktop-lease
donach:fix/codex-fake-self-contained
donach:docs/readme-powered-by
donach:fix/coordinate-by-name
donach:release/v0.1.83
donach:fix/codex-fake-dump-atomic
donach:fix/qwen-gemini-approval-passthrough-tests
donach:phase-4/4-routine-notes
donach:phase-4/3-reflection
donach:phase-4/2-consolidate
donach:phase-4/1-capture
donach:fix/ios-composer-corners
donach:fix/grok-reads-smoke
donach:feat/qwen-gemini-approval-levels
donach:codex/backup-options-restore-startup
donach:fix/room-full-access-dispatch
donach:fix/cleanup-slice-and-doc-link
donach:feat/chief-delegates-full-access
donach:fix/windows-local-computer
donach:phase-3/5-bakeoff
donach:phase-3/4-graph-runner
donach:feat/ipad-harness
donach:phase-3/3-verifier
donach:fix/android-return-newline
donach:fix/ios-return-newline
donach:phase-3/2-board-screen
donach:fix/fish-voice-request-order
donach:release/v0.1.82
donach:codex/computer-access-queue
donach:phase-3/gates
donach:phase-3/1-gates
donach:phase-2/budget-defaults
donach:phase-2/tools
donach:fix/org-branding-window-guard
donach:codex/opencode-full-access
donach:codex/organization-branding-client
donach:codex/computer-delete-cleanup
donach:codex/call-local-workspace-guidance
donach:release/v0.1.81
donach:fix/mcp-import-invalid-fixture
donach:feat/routine-keep-awake
donach:feat/recent-work-brief
donach:fix/features-shape-claude-user-mcp
donach:codex/fish-audio-provider
donach:fix/verification-docs-test-paths
donach:fix/mcp-url-servers
donach:codex/computer-surface-routing
donach:phase-2/reliability
donach:phase-2/task-object
donach:phase-1/recall
donach:fix/composer-narrow-wrap
donach:phase-0/chips-android
donach:phase-0/chips-ios
donach:phase-0/3-typed-turns-bench
donach:phase-0/2-budget-metrics-replay
donach:phase-0/1-digests-hooks
donach:fix/moca-84-pairing-card-desktop-client
donach:codex/passwordless-company-backups
donach:fix/moca-126-inherit-config-warning
donach:fix/moca-141-mute-voice-chime
donach:fix/auto-local-vm
donach:feat/one-place-per-turn
donach:test/vps-ssh-windows-skip
donach:fix/vps-auto-ssh
donach:codex/simple-organization-sign-in
donach:fix/moca-137-android-refresh
donach:android-release/v1.3.0
donach:fix/moca-156-android-thread-pin
donach:release/v0.1.80
donach:fix/moca-114-run-feedback
donach:codex/org-release-correctness
donach:fix/message-actions-tray
donach:fix/usage-chip-i18n-assertion
donach:fix/usage-metrics
donach:codex/managed-desktop-client
donach:feat/message-actions-tray-android
donach:feat/message-actions-tray-ios
donach:fix/codex-windows-exit-tests
donach:release/v0.1.79
donach:fix/browser-tool-cost
donach:fix/ui-smoke-implicit-wait
donach:fix/android-failover-flake
donach:fix/steer-e2e-flake
donach:fix/moca-136-confirm-bot-creation
donach:fix/moca-132-stop-stuck-turn
donach:fix/moca-142-always-allow
donach:fix/android-native-pairing
donach:feat/task-board-core
donach:feat/quota-switch
donach:release/v0.1.78
donach:fix/setup-test-wording
donach:feat/pair-conversations
donach:fix/coordination-interrupt
donach:codex/full-access-no-duplicate-approvals
donach:codex/fix-windows-shared-terminal
donach:codex/routine-cron-schedules
donach:release/v0.1.77
donach:fix/gate-computer-sharing
donach:fix/shared-folder-guards
donach:fix/uk-stale-strings
donach:codex/coordination-migration-fix
donach:fix/uk-locale-drift
donach:codex/chat-settings-polish
donach:codex/team-canvas
donach:feat/bot-tools-composer
donach:codex/composer-thread-access
donach:codex/desktop-workspace-switcher
donach:release/v0.1.76
donach:codex/hosted-runtime-boundary
donach:codex/team-workflow-completion
donach:codex/cross-team-coordination
donach:codex/teams-lifecycle
donach:codex/chief-team-setup
donach:codex/guided-model-switch
donach:codex/android-thread-navigation
donach:codex/template-import-sections
donach:codex/fix-last-thread-delete
donach:codex/hosted-admin-portal
donach:feat/delegation-mailbox
donach:codex/simple-room-coordination
donach:test/people-invite
donach:codex/triage-message-history
donach:release/v0.1.75
donach:codex/fix-bot-context-continuity
donach:fix/ask-user-question-card
donach:feat/first-task-no-setup-gate
donach:feat/ios-walkie
donach:codex/fix-stuck-skill-approvals
donach:codex/fix-provider-attachments-auth-approvals
donach:release/v0.1.74
donach:codex/webhook-run-idempotency
donach:codex/desktop-freeze-guardrails
donach:codex/durable-chat-followups
donach:codex/desktop-server-recovery
donach:codex/actionable-update-errors
donach:feat/approvals-passthrough
donach:codex/reliable-cli-stop
donach:release/v0.1.73
donach:ios-release/build13
donach:codex/ios-thread-navigation
donach:codex/fix-vps-preview-contention
donach:release/v0.1.72
donach:feat/run-recorder
donach:codex/browser-vm-lifecycle-refactor
donach:codex/relax-authorized-signin
donach:codex/full-workspace-backup
donach:codex/fix-tailscale-standalone-cli
donach:feat/people
donach:feat/workspaces
donach:feat/skill-save-composer
donach:feat/fleet
donach:feat/spend-budgets
donach:feat/provider-keys
donach:feat/usage-ledger
donach:release/v0.1.71
donach:codex/clean-chat-run-log
donach:fix/ui-smoke-linux
donach:feat/verify-card
donach:feat/control-omb-ui
donach:codex/repair-experimental-browser
donach:ci/run-oxlint
donach:codex/consistent-safe-approvals
donach:feat/tools-checklist-ios
donach:perf/context-isolation
donach:release/v0.1.70
donach:codex/remove-dco-signoff
donach:codex/restore-bot-avatars-no-threads
donach:codex/engine-library-ui
donach:codex/routine-results-thread
donach:feat/server-engine-install
donach:codex/mobile-thread-navigation-safety
donach:feat/claude-sign-out
donach:release/v0.1.69
donach:feat/tool-ladder
donach:codex/optional-threads
donach:feat/codex-account-settings
donach:codex/interval-restrictions
donach:codex/avatar-image-providers
donach:release/v0.1.68
donach:codex/thread-folders-and-concurrency
donach:feat/hosted-whitelabel
donach:fix/pair-page-reason
donach:ios-release/build12
donach:codex/ios-thread-approval-routing
donach:feat/service-install
donach:feat/signin-settings
donach:codex/routines-reliability-logs
donach:release/v0.1.67
donach:codex/thread-release-review-fixes
donach:codex/restore-header-model-controls
donach:codex/independent-bot-threads
donach:feat/serve-domain
donach:feat/claude-signin
donach:feat/access-cli
donach:feat/web-phone-pairing
donach:feat/ios-server-pairing
donach:feat/headless-tunnel-credential
donach:feat/email-signin
donach:release/v0.1.66
donach:chore/open-core-hygiene
donach:fix/data-dir-lease-boot-identity
donach:codex/connect-server-settings
donach:codex/browser-live-view
donach:codex/claude-provider-accounts
donach:feat/android-ask-user-question
donach:feat/ios-ask-user-question
donach:feat/tools-checklist-android
donach:codex/simple-domain-dns-settings
donach:release/v0.1.65
donach:codex/server-provider-domain-settings
donach:release/v0.1.64
donach:codex/fix-linux-arm64-cloudflared
donach:feat/trust-android
donach:feat/trust-ios
donach:codex/release-0.1.63
donach:codex/retain-explicit-auto-delegation
donach:codex/windows-browser-engine-pin
donach:codex/windows-browser-release-orchestration
donach:codex/settings-close-deduplicate
donach:codex/selfhost-launch-verification
donach:codex/cli-release-guards
donach:codex/cli-onboarding
donach:codex/fix-updater-native-staging
donach:feat/trust-phase-1
donach:codex/antigravity-composer-auto
donach:codex/fix-browser-install-progress
donach:codex/release-0.1.59
donach:release/v0.1.58
donach:codex/fix-antigravity-initialize
donach:feat/browser-engine
donach:release/v0.1.57
donach:fix/windows-runtime-install
donach:ios-release/build10
donach:feat/bot-folder
donach:feat/browser-dock
donach:feat/android-bot-model-settings
donach:feat/spaces-canvas
donach:release/v0.1.56
donach:docs/deploy-vps
donach:ci/npm-trusted-publishing
donach:ci/docker-e2e-public-health
donach:ci/release-dispatches-publishes
donach:codex/fix-phone-relay-auth
donach:chore/npm-tarball-on-release
donach:feat/serve-tunnel
donach:release/v0.1.55
donach:feat/hosting-cli
donach:fix/local-only-hoist
donach:fix/main-mjs-tdz
donach:fix/remote-sessions-hardening
donach:fix/desktop-bridge-hardening
donach:codex/provider-approval-parity
donach:codex/fix-box-screen-preview
donach:codex/remove-team-map-live-pill
donach:codex/safe-team-backup
donach:release/v0.1.54
donach:codex/approval-levels
donach:codex/release-v0.1.53
donach:codex/customer-tool-recovery
donach:codex/antigravity-upgrade-recovery
donach:codex/connected-apps-pending-recovery
donach:release/v0.1.52
donach:codex/secure-phone-credentials
donach:release/v0.1.51
donach:codex/computer-inventory
donach:feat/owned-runtime
donach:codex/queue-bar-above-composer
donach:codex/fix-auto-computer-passive
donach:codex/fix-composio-project-precedence
donach:codex/fix-chief-row-hit-area
donach:codex/local-vm-inventory
donach:codex/fix-chief-sidebar-click
donach:codex/fix-auto-box-provisioning
donach:codex/composio-twitter-guidance
donach:feat/verify-context-compaction
donach:android-release/v1.2.0
donach:ios-release/build9
donach:feat/android-mid-turn-steer
donach:fix/ios-mid-turn-steer
donach:codex/t3-sized-first-window
donach:codex/attachment-previews
donach:codex/antigravity-live-models
donach:feat/hybrid-context-runtime
donach:feat/sidebar-profile-menu
donach:codex/ios-secure-card
donach:android-release/v1.1.0
donach:feat/android-chat-attachments
donach:feat/android-call-mode
donach:codex/fix-windows-cloudflared-cleanup
donach:codex/release-0.1.50
donach:codex/prepare-release-action
donach:codex/composer-slash-commands
donach:codex/routine-interval-correctness
donach:feat/android-mascot-bodies
donach:fix/ios-file-links-send-attach
donach:codex/release-0.1.49
donach:codex/refresh-model-catalog
donach:fix/desktop-viewer-keyboard
donach:codex/release-0.1.48
donach:codex/simplify-automations-ui
donach:feat/room-awaited-presence
donach:feat/whitelabel-brand
donach:feat/parallel-turns
donach:fix/memory-atomic-write
donach:fix/legacy-dir-migration
donach:codex/ios-bot-settings
donach:codex/ios-keyboard-send
donach:codex/ios-files-and-attachments
donach:feat/desktop-environments
donach:feat/remote-sessions
donach:codex/acp-generated-images
donach:codex/image-artifacts-queued-composer
donach:codex/claude-update-button
donach:feat/sidebar-more-menu
donach:codex/claude-fable-5-1
donach:feat/mascot-shape-catalog
donach:codex/bump-0.1.46
donach:codex/tailscale-pairing-onboarding
donach:codex/fix-ipad-full-window-default
donach:codex/bump-0.1.45
donach:codex/fix-channel-queue-autodispatch
donach:codex/fix-ios-ipad-layout
donach:codex/fix-windows-long-claude-prompt
donach:codex/grok-progress-messages
donach:docs/verification-playbook
donach:feat/control-omb
donach:feat/verification-skills
donach:fix/ios-roster-preview-activity
donach:codex/windows-crash-diagnostics
donach:codex/calendar-focus-mode
donach:codex/ios-share-to-bot
donach:codex/ios-swipe-sections
donach:codex/simplify-overengineering
donach:codex/sidebar-sections-clean
donach:codex/fix-auto-port
donach:codex/issue-325-startup-routines
donach:codex/nonblocking-chief-delegation
donach:codex/feedback-link
donach:codex/ios-multi-computer
donach:codex/promote-experimental-settings
donach:codex/fix-browser-viewport-stability
donach:codex/bump-v0.1.40
donach:codex/gemini-bot-calls
donach:feat/browser-surface-v3
donach:feat/browser-surface-v2
donach:feat/delegation-ledger
donach:feat/browser-surface
donach:feat/computer-wait-for
donach:codex/routine-thread-delivery
donach:docs/mcp-tool-schema-rule
donach:fix/routine-propose-contract
donach:codex/channel-tasks
donach:fix/usage-cached-tokens
donach:fix/composio-custom-auth-configs
donach:fix/win-titlebar-overlay-skin
donach:codex/stage-cloudflared-for-dev
donach:codex/remove-ready-to-pair-pill
donach:codex/readme-0.1.37
donach:codex/release-0.1.37
donach:codex/https-only-phone-pairing
donach:codex/ios-onboarding-pass
donach:codex/vps-parity-companion-awake
donach:codex/bump-0.1.34
donach:feat/parity-round-1
donach:feat/parity-round-2
donach:codex/typed-companion-endpoints
donach:codex/connectivity-foundation
donach:codex/fix-composio-empty-json
donach:codex/botmrr-packages
donach:codex/bump-v0.1.33
donach:codex/faster-connected-apps
donach:codex/window-state-unread
donach:feat/skills-ui
donach:feat/skill-import
donach:codex/release-0.1.31
donach:codex/fix-opencode-go-auth
donach:codex/fix-composio-null-accounts
donach:codex/release-0.1.30
donach:codex/fix-opencode-go-cloud-models
donach:codex/flag-skill-recorder
donach:codex/fix-section-chief-ui
donach:codex/release-0.1.28
donach:feat/custom-mcp-servers
donach:feat/recorder-context
donach:codex/skill-recorder
donach:codex/pr210-update
donach:codex/channels-implementation
donach:codex/pr356-current
donach:codex/pr348-current
donach:codex/pr341-current
donach:codex/pr338-sidebar-sections
donach:codex/pr354-flush-assistant
donach:codex/pr362-room-members
donach:codex/pr363-hermes-models
donach:codex/pr374-diagnostics-fix
donach:codex/pr361-cursor-model-id
donach:codex/pr359-codex-elicitation
donach:codex/channels-plan
donach:fix/option-card-light-skins
donach:feat/room-manage-members
donach:codex/docs-site
donach:feat/harness-3.2-steering
donach:feat/compact-chat-header
donach:codex/release-0.1.27
donach:codex/fix-team-import-name-test
donach:codex/fix-macos-release-blockmaps
donach:fix/opencode-auth-antigravity-models
donach:codex/fix-linux-release-display
donach:codex/upgrade-github-actions
donach:codex/release-0.1.26
donach:codex/fix-macos-updater
donach:codex/pr-259-fix
donach:codex/pr-261-fix
donach:codex/pr-262-fix
donach:chore/appstore-packaging
donach:codex/apache-2-license
donach:feat/ios-messages-shaped
donach:codex/ubuntu-release
donach:feat/credential-vault
donach:codex/fix-local-vm-image-231
donach:feat/harness-3.3-loop-enforcement
donach:codex/ios-vnc-coming-soon
donach:codex/desktop-cross-device-bot
donach:codex/ios-bonjour-recovery
donach:feat/harness-3.1-local-models
donach:codex/ios-store-readiness
donach:codex/ios-parity
donach:feat/harness-2.1-liveness
donach:feat/harness-1.5-cost-visibility
donach:feat/harness-1.7-search
donach:claude/ios-companion-hardening
donach:codex/pr161-integration
donach:feat/harness-2.5-2.8-approvals-repeat-detection
donach:feat/harness-2.3-2.4-durable-delegations-redaction
donach:feat/harness-2.6-2.7-store-emits-activity-state
donach:fix/working-folder-review-followups
donach:claude/solidify-p0-memory
donach:codex/simple-library-modals
donach:codex/boundary-validation
donach:codex/team-library
donach:codex/anti-slop-cleanup
donach:codex/fix-composio-oauth
donach:docs/refresh-screenshots
donach:fix/update-button-states
donach:codex/composio-session-byok
donach:codex/cua-computer-use-release
donach:codex/cua-computer-use-hardening
donach:codex/box-provision-rollback
donach:codex/computer-session-hygiene
donach:codex/local-vm-runtime-correctness
donach:codex/local-vm-idle-suspend
donach:codex/local-vm-persistence
donach:fix/unattended-no-auto-mode
donach:codex/webhook-copy-command
donach:codex/webhook-local-beta
donach:codex/fix-connected-apps-modal
donach:codex/export-team-without-room
donach:codex/shareable-teams
donach:codex/fix-delegate-bot-review
donach:codex/calm-group-avatars
donach:codex/chief-of-staff
donach:codex/group-conference-call
donach:codex/group-default-responder
donach:codex/plan-opencode-go-integration
donach:codex/remove-duplicate-local-vm-tab
donach:feat/local-vm-transport
donach:feat/voice-mode
donach:codex/pr-68-integration
donach:feat/local-vm-computer
donach:codex/pr-82-integration
donach:codex/pr-43-integration
donach:codex/routines-calendar
donach:feat/settings-modal
donach:feat/tasks-inside-bots
donach:release/0.1.15
donach:windows-release-docs
donach:windows-port-fixes
No reviewers
Labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set
Reference
donach/openmausbot!45
Loading…
Reference in a new issue
No description provided.
Delete branch "sync/upstream-0.1.169"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Upstream v0.1.169 (
b832de78c) merged into fork main (cc280a91e) as a 2-parent merge commit1df29b4ea. No rebase, no force-push, no hook bypass. 8,953 upstream commits + 26 fork commits reconciled.Conflicts (22 paths, all resolved — fork work preserved)
pair --companionPreserved fork surface (verified present at HEAD)
FORK.md, .forgejo/workflows/ci.yml, flake.nix/lock, nix/module.nix, companion/src/{auth-file,qr-code}.ts, scripts/ci/forgejo-.sh, docs/fleet-, docs/nixos, docs/milestones, docs/forgejo-ci, docs/self-hosting, docs/verification/*, android STT (RemoteSttEngine, SpeechDictation).
enterprise/ — present but OFF in prod
Opt-in via OMB_ENTERPRISE_DIR (unset by default); nothing enabled.
CI: vitest shards 1/4 + 2/4 red — explanation
The red vitest shards (1/4, 2/4) on the pre-sync tip are caused by missing node_modules deps in the CI runner env (e.g. @typescript/typescript6, ag-grid-community, vega-embed, codemirror, jose, tldts), not by logic regressions. The fork CI (
.forgejo/workflows/ci.yml) installs these before the shard run; on a donach runner without the SOPS secret the install step is skipped, so the shards fail to import. Not caused by this merge. (CI will sit pending until the donach runner SOPS secret is added.)Reviewer flags (adapter decisions, please verify)
CoS to review + merge.
A message sent to a busy bot from the phone could simply disappear. The harness answers such a send in one of three ways, and all three live only in the POST's 202 body: the line landed, the engine took it INTO the running turn (`steered`), or the harness is holding it off-transcript until the turn settles (`queued`, with a `queueId`). The iOS client threw that body away. A held message therefore left no trace anywhere — the composer cleared and the words reappeared minutes later, or not at all after a restart. Only the Claude driver can steer, so on every other engine the queue is the only path and mid-turn sending looked broken. Read the receipt, and give the phone what the desktop has had: - `SendReceipt` decodes the 202 leniently — an older harness that answers `{ok:true}` is a plain send, not a failure. - `CompanionState.pendingQueued` holds what the harness is holding, keyed by queueId. A drained line names its entry, so the ghost retires when the real bubble lands; a drain that beats its own POST leaves a bounded tombstone so the late receipt cannot resurrect it. Hydrates and page merges reconcile for a window that slept through the drain. - The chat draws held sends as dashed bubbles below the transcript, each with its own cancel (DELETE …/queue/:id, newly allowed through the sidecar for bots and rooms). - The composer says which of the three will happen, and the send key becomes a clock when the message will wait. With something already waiting, the microphone becomes a green inject: the harness keeps its steer queue across an interrupt, so stopping the turn is what makes those words run now. Send stays available throughout. - A line the engine took mid-turn is marked "sent mid-turn", which is why the reply above it can read as if the bot had not seen it. Inject is bot-only: the phone has no way to interrupt a room, and adding one is a wider change than this bug. Rooms still get the ghost and cancel. The steer e2e test now asserts the two fields a client needs from a queued receipt, and that the drained line carries the same queueId. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>The mid-turn controls were glyphs: a clock on the send key, a green arrow in the composer. Omkar read them on a real phone and said "don't add the clock or the lightning, I don't understand" — and the held message itself, drawn as a dashed outline, he could not see at all on a dark transcript. So the queued message moves out of the transcript and sits directly above the chat bar, where a thing you have not said yet belongs: the text, a labelled `↳ Steer` button, and a bin. Steer stops the turn so those words run now — the harness deliberately keeps its queue across an interrupt, which is what makes stopping a send. The send key goes back to being one arrow with one meaning; what will happen to the message is said in the placeholder instead ("Sends into this turn" / "Sends after this turn"). Both platforms, because the desktop had the same puzzle: its green "inject now" arrow is gone and its queued rows gain the same Steer button. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>A bot's Activity panel: every tool it used and every approval it asked for, newest first, grouped by day, each row saying what ran ("Gmail · Search threads", "Ran a command"), the arguments the broker recorded, and the outcome — ran, failed, running, allowed, denied, or needs you. Nothing new is captured. server/activity.ts folds the per-thread runtime events (what ran, did it finish) with the fleet-wide decision log (what was asked, with which arguments, who allowed it), attaching an approval to the tool run it unblocked when the two land within a short window in the same thread. Connector calls never pass through the harness — the agent CLI talks to Composio's MCP endpoint directly — which is why this reads logs rather than tapping a proxy that does not exist. GET /api/bots/:id/activity is read-only over the bot's own threads (its DM and every task) plus the decision rows that name it. The panel sits beside the inspector and the computer panel, opens from a header button, re-reads when a turn settles or a card is answered, and stays available on remote clients since it is the user-facing view. Mobile gets the same API; a screen there is a follow-up. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>Omkar's second pass on OMB2 found three more breaks and asked for the header to be simplified now that threads live in the sidebar: - Header: the thread chip is gone; find, copy/download transcript, the token counter and the inspector move into one "more" menu that opens on hover (SidebarPopoverMenu gains a downward placement). Model, call and computer stay as buttons. Four controls instead of eight, so the row no longer runs under a side panel. - Sidebar: while a side panel is open and the window is narrower than 1280px, the sidebar folds to its avatar rail; the saved density is untouched and returns when the panel closes. The default 1100px window keeps a ~600px chat with settings, inspector or the computer panel open. - Panels sit beside the chat from 768px up instead of covering the whole window below 1024px ("why does the whole thing hide behind this?"); with the rail that leaves a 350px chat at the 840px minimum. - The composer's chip group and the header's control group may wrap instead of overflowing. Verified over CDP on a dev instance at 1100, 974 and 840 wide with settings, inspector, computer panel and the menu open. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>A code review found the client halves were broken end to end. Most severe first: - The SSE decoder keyed on a `type` field inside the payload, but the server strips the type into the `event:` name and both SSE parsers discarded `event:` lines. Every message decoded to nil, so iOS never left "Connecting..." and Android never got a viewer id, which left Take control permanently disabled. Both parsers now carry the event name, and the decoders key on it — including `ready`, which is what the server actually calls the viewer-id message, plus `control` and `heartbeat`, which were not handled at all. - Two Kotlin string templates were written as literals ("Bearer \$it", "https://\$address"), so every Android browser request went out unauthenticated and scheme-less navigation went to a bogus host. - The Android tick clock and touch clock had different origins, and pointerInput restarts on a driving change — so after taking control every tap read as older than the long-press threshold and fired a right click instead. - Direct mode set `scrolled` on any nonzero move, so a tap that wobbled a pixel scrolled sub-pixel and suppressed its own click. Now behind the drag threshold, on both platforms. - pan() and the render transform measured against the view while the mapping used the aspect-fit drawn size. On a portrait phone showing a 16:9 page those differ by 3.6x, so zoomed taps landed far from the pixel touched. ViewportMapping now exposes drawnWidth/drawnHeight and all three use it. - The Android dispose-time release launched on a scope cancelled in the same pass, so it never left the phone. - The Android mapping was rebuilt only on layout, so a viewport other than the 1280x720 default never reached the core. - The sidecar's SSE scrub ceiling was 1 MiB against browser-live's 3 MiB frames; one large frame would have torn down the stream. The proxy test that covers this hardcoded 2 MiB and now derives from the constant, so it cannot rot the same way again. Regressions added for the wobble-tap and letterboxed-pan cases: the existing tests used a square viewport where drawn size equals view size, so neither bug could have been caught. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>Servers like Chatterbox-TTS-Server expose real voices there and 404 or drop /v1/models, which left the picker on a fake Default entry that synthesis rejects. Keep /v1/models first, try /v1/audio/voices next (including when /models errors), and accept both filename strings and { filename, display_name } objects. Co-authored-by: Cursor <cursoragent@cursor.com>The overview route now carries a grants summary (per service: all / count / none) alongside the existing composio fact, derived from the bot's connectorTools record: absent record keeps the field off the wire (legacy all-tools behavior), an explicit record becomes a slug-sorted list, and {} is an empty list — the deliberate no-tools state. The iOS app decodes the summary leniently (unknown levels fall back to partial, malformed entries drop without sinking the overview, absent field stays nil for older computers) and renders it read-only in BotOverviewView under "App tools" with the desktop editor's wording. Docs cover defaults, upgrade behavior, the import rule, and the old connector-scopes plan is marked superseded by the #1734 umbrella. Part of #1739 Part of #1734 Signed-off-by: Brad Hallett <53977268+bradhallett@users.noreply.github.com>* Keep Codex developer slot stable across volatile prompt changes Only the stable half of the system prompt belongs in the developer slot: it survives compaction unchanged, and any change to it invalidates the provider cached prefix. The volatile half (memory, mentions, outstanding teammate work) now rides the user input of the turn that changed it as a labelled context block, matching the systemStable/systemVolatile contract the Claude driver already implements. Ordinary roster or memory churn no longer appends a second developer copy of the prompt to history or re-uploads the conversation prefix. Receipts in ~/.openmausbot/codex-instructions gain a volatile digest; legacy bare-hex receipts parse as instructions-only and re-deliver once. * Log prompt bytes by stable/volatile split in the usage ledger Settled turns now record how many prompt bytes rode the cacheable prefix versus the volatile half that legitimately changes, next to the token usage they already book. This is the measurement the token-efficiency work needs: it shows whether cache-layout changes actually shrink the re-sent prefix, per task rather than per request. * Move recent-work into the volatile prompt half The recent-work block recomputes relative time labels ("2h ago") every turn and its newest-first list changes as the bot works in other threads, so its bytes differ on nearly every turn of an active bot even when nothing else changed. Kept in the stable half, it invalidated the stable digest each turn, which re-appended the full developer block and flushed native history through inject_items, busting the provider prefix cache. It is pure data ("your own past notes, not instructions"), so delivering it after the cache boundary in the turn that changed it loses no instruction weight. * Share the stable/volatile prompt split across drivers Extract the note wording and composition codex shipped into server/drivers/prompt-split.ts, plus the durable receipt store a driver whose native session survives a restart needs to avoid re-delivering a prompt the session already carries. codex.ts now builds its volatile note from the shared helpers; the strings are byte-identical, so no behaviour changes. * Keep the chat drivers system message stable across volatile changes grok, mistral, minimax and openai-compat rebuild their request from the stored transcript every turn, so a volatile section edit re-priced the whole cached prefix (tools, instructions, history). Put only the stable half in the system message and carry the volatile half inside the newest user message, which is fresh input on every request anyway. The note is delivered every turn, not on change: the stored transcript never contains the notes, so a digest-tracked note would leave the model without its memory on unchanged turns. Turns without the split keep the legacy single-block shape. * Send the full ACP prompt once per native session opencode, droid, grok, gemini, hermes, cursor, qwen and kimi share acp/core.ts, which inlined the entire system prompt into every session/prompt call - so the prompt accumulated once per turn in the agent session history and any volatile edit re-sent all of it. The establishing turn (or a stable-half change such as a soul edit) still carries the full prompt; later turns go through bare unless the volatile half changed, which then rides as the shared labelled note. Receipts are durable under the data dir, keyed by driver, thread and native session id, so a server restart that resumes a native session does not deliver a duplicate. Turns without the split (direct adapter calls) keep the legacy shape. * Send the full pi prompt once per session pi sessions persist their own history in a session file, so the system prompt previously accumulated there once per turn. Apply the shared stable/volatile split at the prompt seam: the full prompt rides only the turn that establishes - or re-instructs after a soul edit - the session, receipts are keyed by threadId+sessionFile and survive child restarts, and a failed handshake keeps the full block because the bare prompt would be the model's only context. * Deliver mention context on every tagged turn The mentions half of the volatile prompt describes the turn it rides, but its text only names the tagged bots, so two consecutive turns that tag the same bots produce an identical volatile digest and the second note was suppressed. Add SendTurnInput.mentionTurn, set when the turn tags teammates, and make every digest-based delivery path (codex receipts, claude session reuse, ACP, pi) deliver the note on tagged turns even when unchanged. The chat family already delivers every turn. * Commit volatile receipts only after the provider accepts the turn The volatile digest was persisted before turn/session submission, so a rejected turn/start or session/prompt left a receipt claiming context the model never received, and the retry went through bare. Codex now writes an instructions-only receipt at sync time and hands the driver a commitVolatile callback it calls after turn/start acknowledges; ACP writes its receipt only after session/prompt resolves; pi writes only after the prompt send leaves the process. A receipt whose volatile half is still pending parses the same as a legacy one and redelivers once. * Redeliver the full pi prompt every turn pi auto-compaction summarizes older user messages, and this driver delivers the prompt as the leading user message: a receipt-based split would let a compacted session keep running bare, without its standing instructions, while the receipt still claimed delivery. pi exposes no compaction signal on its RPC surface today, so revert to per-turn full-prompt delivery (the pre-split behavior) and keep the split for the families whose prompts survive compaction architecturally (codex developer slot, claude system prompt, chat system message) or whose agents keep full history (ACP). pi can adopt the split once its extension API (session_before_compact) can signal compaction to the harness. * Restore the pi prompt split, re-anchoring on compaction The revert's premise was wrong: pi's RPC surface does expose compaction. AgentSessionEvent carries compaction_start/compaction_end for manual and automatic compaction, and rpc-mode forwards every session event to stdout (pi-mono packages/coding-agent/src/modes/rpc/rpc-mode.ts). So the split returns, now with three correctness additions: - compaction_start/compaction_end drop the session's prompt receipt the moment they arrive, so the next turn re-establishes the full prompt instead of running bare against a summarized history; - the receipt commits only after pi accepts the prompt (its authoritative response - pi rejects prompts submitted while a compaction runs), and a compaction observed around the send suppresses the write; - every eighth bare turn re-anchors the full prompt, bounding the damage from any history rewrite the events miss. Per-turn full-prompt delivery cost ~13K tokens every turn and accumulated one copy per turn in the session file; the split restores once-per-session delivery with bounded re-establishment. * fix(drivers): ACP re-anchor backstop; settle-guarded pi receipt write - ACP sessions now pass ACP_PROMPT_RE_ANCHOR_TURNS = 8 to splitSessionPrompt, so an agent that compacts its own history without an event still gets the full standing instructions back within a bounded window, matching the pi backstop - the pi prompt-acceptance rejection handler no longer emits a spurious runtime.error (and re-settles) once the turn already settled, and a failed receipt write no longer becomes an unhandled rejection CodeRabbit follow-ups on #1776. * test(vps): read the generated ssh config from a file, not /dev/stdin spawnSync feeds the child's stdin through a socketpair, and Linux refuses to reopen a socket through /dev/stdin (ENXIO), so the quotes-spaces test failed on every ubuntu CI runner with: Can't open user config file /dev/stdin: No such device or address macOS reopens its /dev/stdin fine and Windows skips the test, so only Linux saw it. Write the generated config to a file whose name keeps a space, so the quoting coverage is unchanged. * fix(pi): settle only on the terminal agent_end so post-run compaction lands turn_end no longer settles the turn: pi can schedule overflow-recovery compaction after a non-terminal agent_end (isTerminal: false), and killing the child at turn_end silenced those late events, leaving a stale prompt-split receipt until the 8-turn backstop. The driver now records the turn_end outcome, settles on agent_end with isTerminal !== false (the RPC contract terminal frame), keeps listening through non-terminal agent_end frames, accepts the auto_compaction_* event aliases, and falls back to a 60s grace settle for runtimes that never emit agent_end. Regression-tested with a fake-pi compaction-recovery mode whose maintenance events land after the first agent_end; the test fails on the old code. * fix(pi): honor upstream willRetry and agent_settled terminal markers Upstream pi (@earendil-works/pi-coding-agent, the package this driver installs) marks a non-terminal agent_end with willRetry: true and closes the run with agent_settled; the isTerminal field belongs to the omp fork dialect. Keep listening through willRetry: true frames, settle on agent_settled too, and cover both dialects with fake-pi recovery modes plus regression tests that fail on marker-unaware code. * fix(pi): ignore turn_end frames that flush after the turn settled A killed child can still deliver one buffered frame after settle; the abort path turn_end(cancelled) is the common one on Windows. Arming the agent_end grace timer there leaked it past a completed turn, which the ask fail-safe timer test catches as a leftover fake timer.4f48957dinto fix/omb-turn-log-level 6759c01aa1- mobile_settings_notifications_footer said "while OpenMausMobile is connected" while OnboardingCopy.NOTIFICATIONS_BODY renders SettingsPolicy.NOTIFICATIONS_FOOTER ("while MausBot is connected"): OnboardingRoutingTest could not find the body text on screen, and the two surfaces showed different copy. The English resource now matches the constant byte for byte, with the Chinese catalogs following. - Route the delete/rename/snooze error text through localizedMobileCopy so the "Couldn't update this thread. Try again." fallback reaches the Chinese catalogs (CodeRabbit review). - Map "Rename thread" so the rename dialog heading translates (CodeRabbit review). - Give the snooze dialog's title, presets, "Stop snoozing", the working notice and Cancel real string resources with Simplified and Traditional Chinese. English resource values stay byte-identical to the pinned constants and test copy ("Rename thread", "Until 6 PM", "Until new activity", "Stop this thread before snoozing it.", "Cancel").The scheme only knew pairing URLs. A new CompanionDeepLink enum in Core parses both words — pair (byte-identical to PairingInvite.parse, including server links) and chat/{threadId} — so the app and the widget extension agree on what the URLs mean. Session.receiveURL routes on it: pairing behaves exactly as before, and a chat link resolves state.chat(forThread:) into a pendingChat the roster's NavigationStack consumes, the same way a notification response does. An id this phone does not know lands on the roster silently — a stale widget row is not the person's mistake. Part of #1960 Signed-off-by: Brad Hallett <53977268+bradhallett@users.noreply.github.com>Add a swappable decision-provider module (server/decider) modelled on the TTS adapter: ask/choose/score/yesNo over a `jev` backend (TypeSafe /v1/systemone, jev-latest, Bearer key) and an `off` backend, with a baseUrl for a local Jev-compatible server later. What it decides today: who answers an un-mentioned human message in a room set to the new `auto` responder mode. One Choice over the room's active bots (keyed by id, described by name/title/description) plus __everyone__, with the last room lines as state. p >= 0.6 picks that bot (or everyone); anything less sure falls back to the room's lead, else its first member. @mentions, @everyone, goals and the other modes never ask. The decision is started in startGroupTurn and awaited in its async round, so the append and the send response stay synchronous; the title bot follows the pick. A routed reply carries routedBy { provider: "jev", probability } and shows "Picked by Jev · 94%". It fails open: no key, switch off, job off, timeout (1.5 s for rooms), network or HTTP errors (401/429/529/5xx) and malformed answers (a choice that was not offered, non-numeric probabilities) all return { ok: false, reason } and the room behaves exactly as before. Answers are validated strictly. Settings gets a top-level "Decision model" item: one master switch (off while no key is saved), the Jev key with Save and Test, and a "What it decides" list (room routing, plus coming-soon rows). Saving a key turns the switch and the room job on; a rejected key is not saved. The key follows the TTS key path end to end: config section `decider`, OMB_JEV_API_KEY env override (stripped from engine envs, redacted in diagnostics), the desktop's encrypted credential store, an external-storage tombstone, and booleans only in GET /api/config. Saving it never reloads the engine fleet. Each call is logged to <data>/decider-log/YYYY-MM.ndjson (0600) with the seam, choice key, pTop, margin, latency, tokens and a state hash; never the message text or the key. The log is left out of workspace backups. `auto` loads everywhere rooms are read: stored rooms, packages, team backups and legacy team files; an unknown kind degrades to the first member as lead. Package exports spell an Auto room as its lead so older apps can still open them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>* feat(memory): until dates, expired notes hidden from the prompt, topic index with aliases memory_update takes an optional until (YYYY-MM-DD); a live entry past its until day stays in MEMORY.md but no longer loads into a turn. The memory prompt lists memory/<topic>.md files with title, description and aliases from their frontmatter, in 1:1 and room prompts. Fact identity for dedupe keeps signs, symbols, digits and case (the #1362/#1363 review regressions). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * feat(memory): automatic recall of the bot's own notes and conversations before a turn Before each turn the person's message searches the bot's memory files (any content word, two once the message has five) and, in a 1:1 turn the person started, its other conversations. Up to 4+4 numbered, dated passages ride in a new volatile prompt part, so the stable prefix and a live CLI session are untouched. Rooms, peer, coordination and webhook turns get notes only. MEMORY.md (already loaded) and the archive are never recalled. Bounded SQL LIMITs throughout. features.autoRecall=false switches it off. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * feat(memory): opt-in Memory upkeep — background capture, nightly tidy-up, About me suggestions A per-bot switch (memoryUpkeep, off by default). With it on: - finished 1:1 turns the person started are captured after the chat goes quiet (memory.captureQuietMs, default 2 min, or 6 turns, and before a compaction): one tool-free generateText call proposes facts, deduplicated by the exact identity rule and appended as dated, sourced entries; - durable facts about the person become About me suggestions the person adds or dismisses (Settings); nothing reaches the shared profile alone; - a nightly tidy-up (after memory.tidyHour, default 3, catching up after sleep, never while the bot is busy, and on demand) archives expired entries, merges exact duplicates and strikes contradictions, at most floor(live x 0.2) of them and none below five entries. Every write is a journal row with actor upkeep, so Undo works. Engines without generateText get only the deterministic tidy steps. Upkeep pauses during backup maintenance. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * feat(memory): Memory upkeep controls, About me suggestions UI, recall in the turn text, e2e - Bot settings -> Memory: Memory upkeep switch, Tidy up now, last tidy and capture status, and a plain note when the engine cannot run the model steps. - Settings -> About me: suggestions from bots with Add / Dismiss. - Recall moves from a volatile prompt part to the front of the turn's own message: the volatile half is re-sent whole when any part changes, and recall changes nearly every turn. The main chat is named in passages. - Fake engine: FAKE_CLAUDE_TEXT_ROUTES answers one-shots by prompt marker. - memory-layer.e2e.test.ts walks recall, capture, identity, suggestions, expiry, tidy-up and undo against an isolated fixture. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix(memory): recall skips daily logs and routine/webhook conversations; docs and verification recipe A routine run starts fresh by design and a webhook is untrusted, so neither recalls earlier conversations (notes still ride). Daily logs are never loaded into a prompt and repeat what was just said, so recall skips memory/log/; session_search still finds them. docs/memory.md covers recall, until dates, the topic index and Memory upkeep; docs/verification/memory-layer.md is the recipe. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix(memory): capture prompt tuned against real Haiku Measured live: the first prompt returned [] when the bot said it would not remember a dated fact, and dropped facts the bot had already noted, so no About me suggestion ever appeared. Now the prompt names the weekday ("this Friday" becomes a date), says dated facts are worth keeping with an until, tells the model the bot's own choice does not decide, walks the person's messages sentence by sentence, and re-lists a durable fact about the person with noted:true so it can be suggested without being appended twice. Replayed against claude-haiku-4-5: 4/4 answered, 3/4 dated the appointment correctly, 3/3 empty on a chat with no personal facts and a secret. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix(memory): a contradicted line keeps its still-true part Found live: "lives in Pune and prefers short replies" was struck whole when a newer note said the person moved to Mumbai, losing the preference. The contradiction answer may now carry a remainder, which the tidy-up keeps as its own dated entry from tidy-up beside the struck line. Verified against the live Claude engine, including Undo of the earlier tidy-up. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * docs(memory): record findings M1-M4 and the live first run Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix(memory): findings from the first hand test - About me is findable: Settings search matches about me / suggestions / memory, the upkeep card names Settings -> General -> About me and says how many suggestions from this bot are waiting. - Recall matches word forms: the index does no stemming, so a word of four or more letters matches as a prefix with a plural -s taken off ("restaurant" finds "restaurants"); tokens with digits or symbols stay exact, since "c" as a prefix would match everything. - The tidy-up writes the archive before MEMORY.md, so the newest journal row is MEMORY.md and undoing it can never lose an archived line. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix(memory): topics answer to their name, title and aliases Found in hand testing: the panel's new-topic text starts with a heading, so a header block under it was ignored and the topic had no aliases. The header may now follow a heading (which becomes the title), new topics start with the header block, recall matches a message against topic names, titles, descriptions and aliases directly, and the topic index tells the bot to read a related topic before answering. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * feat(memory): upkeep on by default, bots file their own topics, About me learns on its own Decided by Omkar after hand testing: people will not curate memory by hand. - Memory upkeep is on unless a bot's switch is off (memoryUpkeep !== false). - Capture files each fact: core facts to MEMORY.md, the rest to a topic file per subject that upkeep reuses or creates with a title and aliases, so recall finds it by the words people ask with. - A durable fact about the person, from the owner's own words, is added to About me directly (dated, attributed) and listed under Settings -> General -> About me with Remove; a removed fact is never added again. - The nightly tidy-up also archives expired lines and merges duplicates in topic files. - Capture prompt: recurring dates (birthdays) never get until; topicAliases always given. Replayed 3/3 against claude-haiku-4-5. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix(memory): no capture flush at compaction The capture buffer holds the turns' own text, so compacting the transcript loses nothing from it; flushing there only raced the summary one-shot (context-compaction e2e caught the two sharing the fake engine at once). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * test(fake-engine): memory upkeep one-shots never overwrite the shared turn dump Upkeep is on for every bot, so its capture/tidy one-shots now run inside unrelated fixtures and replaced FAKE_CLAUDE_DUMP (team-setup read a dump with no mcpConfig). FAKE_CLAUDE_TEXT_DUMP still records them. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * feat(memory): organize MEMORY.md into topic files, whoever wrote the line Hand test: the bot saved detail itself with memory_update, so capture added nothing and no topic file appeared. After each capture and in the tidy-up, one call over MEMORY.md lines not judged before moves detail about a subject into its topic file (line unchanged; topic created with a header and aliases; topics written before MEMORY.md for undo). Core facts (name, home, company, diet, allergies, health, reply style) stay; a line judged core is not asked about again. Tuned live against claude-haiku-4-5 (M8). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix(memory): diet, allergy and health lines never leave MEMORY.md Hand test: an organize pass moved "The user is vegetarian" into Dining.md despite the prompt calling diet core. Such lines are now excluded from the organize call in code, so no model answer can move them (M9). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix(memory): greetings are not recall words Demo run: "Hi! Quick intro…" recalled the bot's own "Hi, I'm Scout" greeting from its default chat. Greetings and I'm-style words are dropped from the any-term query. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix(memory): upkeep status leaves out its core-judgement bookkeeping Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * docs(memory): screenshots of the memory upgrade for the PR Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix(memory): isolate automated turns and retry incomplete upkeep safely * fix(memory): filter recall before ranking and recover partial topic writes * fix(memory): recall punctuation-separated words * test(config): include routines flag after memory merge * fix(memory): account for upkeep usage and honor spend caps * fix(memory): preserve pending notes when settings saves fail --------- Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Co-authored-by: milind-soni <milindsoni201@gmail.com>- Large text: wrapped names and thread titles no longer use automatic hyphenation, which on a phone may cut "Christoffersen" into "Christof-" and "fersen" to balance the lines. A zero-width break after each hyphen keeps a long double name breaking at its own hyphen instead of mid-word. - Under a folder header, an opened list gives its unfiled threads a quiet "Threads" heading, aligned with the name, so they no longer read as the folder's. Closing the folder leaves them and their label. - A pinned thread shows a small pin after its title and says "Pinned". - While a thread is made from the long-press menu or its TalkBack action, a spinner ("Creating a thread") stands where the row's time was. - An open list whose "› N" goes away is forgotten, so a later second thread does not reopen it by itself. - The Chief of Staff row keeps the section spacing below Needs attention, where a one-line row read as one more attention item. - "No bots yet" waits until there is no group either. Compact lists groups as rows, and the empty state was drawn on top of them. - "› N" is one control for TalkBack, "Pepper's threads, Collapsed, 3 threads", instead of reading the drawn count a second time. RosterFixture gains a two-word name, a pinned unfiled thread, a busy group and a group waiting on a card. RosterScreenTest adds checks for each fix and for what the review found untested: a second tap closing the list, the groups' hand and spinner, a single-thread bot's match during search, TalkBack's New thread action, the role giving way before the name, and comfortable's Threads tree on the roster.The chat and room transcripts were role="log" aria-live="polite", so a screen reader re-read every change while a bot worked: the ticking "Thinking 1s, 2s, 3s", each activity label, each chip and each in-between reply (11 live updates for one 8 second reply in the fixture). The working label inside TurnPresence was a second live region on top. The logs are now aria-live="off" (still a browsable landmark), the working label is no longer live, and one visually hidden polite status line (TranscriptAnnouncer) speaks once when a turn ends with a new reply ("Pepper replied: <first sentence>") and when a new approval is waiting. History that loads into an idle thread is never read out. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>In the browser (remote access, `npx openmausbot`) the computer panel is the desktop ComputerPanel, docked at its stored width (400px by default) with `shrink-0`. On a 390px phone that pushed the chat to zero width and ran the panel off the right edge, where `body { overflow: hidden }` cut it off. Below md it now covers the window (`absolute inset-0 z-40`), the same way the bot settings and inspector panels already behave on narrow screens; an important `w-full` beats the inline width, and the resize handle is hidden since there is nothing to drag against. Desktop (840px minimum) never goes below md, so the docked column and its drag width are unchanged there. RemoteAgentSettingsPanel and remote-desktop-panel, named in the audit, only render when the desktop app is paired as a remote client (Electron, 840px minimum window); a phone browser has no `window.ogb` and gets the panels above, so they are left as they are. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>Settings -> OMB Cloud gets "Move to Cloud" once the Cloud is Ready, and an empty Cloud's own page shows a one-time card ("Bring your bots and chats from this Mac", Move / Not now). The desktop exports its ordinary encrypted workspace backup, uploads it to the Cloud home in resumable 16 MB parts over a session of its own (an Admin pairing window redeemed in main, signed out afterwards), and the Cloud previews, restores and restarts. Cloud home side (server/cloud-move*.ts, /api/cloud-move): - admin-scope paired sessions only; never the machine's loopback or a client device; other servers only size their own workspace - upload bounded by size, file count and per part; a repeated part is a no-op, another offset answers where the upload stands - free-space check for the fixed volume (507 with both sizes) - a Cloud with work is backed up first; Restore previous Cloud puts it back - after the restore commits the server exits 75 and the launcher starts only the server again, so startup installs the restore The restore keeps the destination's own computer-sharing switch, and the session registry's open marker is no longer exported or installed, so a restore cannot make a server drop its own account sign-ins. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>The data-directory lease compared a leftover record's host with os.hostname() before asking whether its process was alive. macOS renames the host when it joins another network, so a lease left by a crash or force-quit on one network looked like another machine's on the next: the desktop refused to start ("still has a delegated server on another machine", or "already owned by a process on another machine") until the file was deleted by hand. A record now counts as this computer's when it has the same hostname or the same boot session id, which is random per boot and never shared between computers; the existing dead-owner recovery then runs as before. A record under another name from another boot cannot be told apart from another computer's and still fails closed, but the message now says how to recover when no other computer shares the folder. No new subprocess calls or lease fields. Fixes MOCA-270 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>* Cloud home: "Use in your browser" signs a browser in from the Cloud page, no click, nothing to copy The Admin's signed pairing request can now ask for "purpose":"browser". The Cloud home then opens a browser sign-in window (single use, admin and client scopes, at most 120 s) and answers {credential, expiresAt, purpose} with no typeable code; saying purpose back tells the Admin this machine made one. The Cloud page opens https://<app>.fly.dev/pair#signin=omb_pair_… in a new tab. Before anything renders, the web UI takes the fragment off the address bar and out of history, redeems it at /api/auth/pair with browser: true and cookie: true, and goes to /. A browser already connected redeems nothing; a spent or expired one shows the pair page saying so, never the credential. sessions.ts binds the kind: a browser window is redeemed only by a browser sign-in and only by its credential, and a browser sign-in redeems no ordinary window or typed code, so ordinary /pair#code= links still need a click and only the Admin (holding the machine's signing secret) can make a no-click link. A browser sign-in always sets this browser's cookie (never a bearer token), /api/pair never redeems one, and a lost-response retry replays only as the same kind. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Browser sign-in: name the Cloud's owner and wait for Continue; cookie-only sessions, unframeable pages Security review of #2036 (MERGE_AFTER_FIXES): 1. MEDIUM, login-CSRF into someone else's Cloud. A subscriber could mint a sign-in for their own Cloud and send the link to a victim, who landed signed in as admin unseen. The Admin now signs the account's email into the request ("owner", invalid_owner unless one plain address); the machine records it with the grant. /pair#signin shows "Signing in to <owner>'s Cloud" with one Continue and redeems only on the click; the preview (POST /api/auth/pair {browser, preview}) redeems nothing and counts toward no lockout. The sidebar names the owner afterwards. 2. LOW, a live grant outliving the page: Continue always redeems, and the browser's old session here is revoked as its cookie is replaced. Docs say what global history can keep. 3. LOW, the connected-skip ignored scope: gone with 2. 4. LOW, framing: the web UI's HTML is sent with frame-ancestors 'none', X-Frame-Options: DENY and Referrer-Policy: no-referrer. Nothing frames it. 5. INFO: browser sign-in sessions are cookie-only; a bearer use is 401. 6. INFO: device labels drop control and bidi-formatting characters. 7. INFO: a lost answer's session is named and revocable (tested). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>The Pro introduction card now shows the launch price: "$89" struck through in a real <s>, then "$39/month: launch price for the first 100 users", with one accessible name ("Was $89, now $39 a month: launch price for the first 100 users"). It sits under the unchanged benefits list, above Get Pro. The card shows once more to everyone the offer applies to, including people who dismissed it: the dismissal id moves from "pro-introduction-dismissed" to "pro-introduction-dismissed-v2", in both browser storage and the workspace hint record, so old dismissals no longer count. Dismissing works as before and keeps it hidden across updates and tour replays. The app had no "$89" strings to change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>* Model providers: bundled models.dev catalog, presets and Codex rules (MP2) New files only; nothing is wired into the UI or the engines yet. - server/model-catalog/trim.ts: trims models.dev to the provider index and current, tool-calling, text-input models, and drops any provider or model with { or } in its strings or keys (OpenCode expands {env:} and {file:}). The build script and the runtime refresh share it. - scripts/build-model-catalog.mjs + models-dev.snapshot.json: snapshot of models.dev @7f91a15 (220 providers, 6,859 models, 139 KB gzipped, cap 150 KB), one model per line; --check verifies the committed file. - server/model-catalog/presets.ts: recommended order and labels, pinned base URLs, Anthropic-compatible endpoints, key checks, and the Codex rules (documented presets only after /responses passes; others behind the experimental switch; Fireworks: no MiniMax models, no fpk_ keys). - server/model-catalog/catalog.ts: load, refresh and merge, adapted from OpenCode's models-dev.ts:160-258 (24 h freshness, ETag, 10 s timeout, 20 MB cap, atomic write under providers/, newest of our cache, OpenCode's cache and the snapshot; off with OMB_DISABLE_MODEL_CATALOG_FETCH=1). - NOTICE, third_party/{models-dev,opencode}/LICENSE, desktop licenses/, and the full MIT text inside the snapshot and the adapted file. - bundle-server.mjs ships the snapshot beside the bundled server. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Model catalog: LF on Windows, key-only braces, prototype-free maps, MiniMax SDK Review fixes for MP2: - .gitattributes pins the snapshot and both LICENSE files to LF, so a Windows checkout (autocrlf) no longer fails the byte-for-byte snapshot and licence comparisons. snapshotProblems and the build script's licence read also normalise CRLF. Tests: git check-attr reports eol=lf for all three, and a CRLF copy of the snapshot passes. - A model whose key alone carries a brace (no id, clean name) now has a test; trimModel also rejects braces in the key as a backstop. - Provider and model maps have no prototype and `__proto__` is rejected as a model id, so ids like constructor or name are never catalog hits and a `__proto__` entry cannot replace the prototype. The empty catalog uses the same kind of map. - catalogEntries keeps models.dev's npm for a preset only when models.dev lists no address or the one the preset pins; otherwise the pinned address is OpenAI-compatible, so it uses @ai-sdk/openai-compatible. MiniMax also pins that package on its preset row (models.dev pairs @ai-sdk/anthropic with its Anthropic endpoint). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* Engines: fix OpenCode model failures and auth errors, stop a router key leak, faster Antigravity OpenCode - Discover models from the ACP session (session/new configOptions) on OpenCode 1 and 2; keep `models --verbose` for metadata only, retry a half lost to the first-run database race. - Delete the invented x-preview-f-free default. A turn with no model, or a saved model the session no longer offers (x-preview-f-free, ox-alpha-free), runs the catalog default with a one-time notice; the default is OpenCode's own pick when free, else a free model. - Classify -32603 APIError by text (invalid key, no funds, quota, subscription); keep the process pooled and show a plain fix-your-key card. - Drop the pre-spawn sign-in probe (`opencode models`), which also blocked anonymous turns on OpenCode 2. - Pass provider env keys through, except on a Cloud home, hosted workspace or managed desktop. - Allow the attachments folder and this bot's folders via OPENCODE_PERMISSION so attachments don't stall on an approval card. Security: never inject the workspace Anthropic key into a Claude instance with its own endpoint or credential (a router). Antigravity: an approval change no longer respawns the runtime; new sessions start on OMB's model through AGY_ACP_DEFAULT_MODEL instead of a separate switch. Routers: Settings search finds Connections for router/OpenRouter/base URL/API key; the OpenAI-compatible card opens Settings → Connections instead of a config.json "install" command; Connections names `opencode auth login` for extra OpenCode providers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Engines: keep catalog probes out of recovery counts; skip retries on timeouts - Discovery retries a failed half only when it did not time out, so a wedged CLI cannot double the startup wait. - The fake ACP CLI records each call's cwd; the automatic-recovery e2e ignores the boot-time catalog probe and arms its startup failure once the server is up. - The approval matrix expects OpenCode's merged folder policy in Ask/Auto. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Engines: close OpenCode folder-policy holes, never swap a listed model, check Antigravity's start model Review fixes on top of the OpenCode/Antigravity engine work. OpenCode - Folder policy: no longer allows task-workspaces/<bot>. That folder sits above every conversation's working folder, and OpenCode reads opencode.json/.opencode/AGENTS.md from every folder above its working folder, so one Ask-mode turn could plant a config allowing every folder for all of the bot's conversations (measured on 1.18.27). No allowed folder is ever the working folder or above it, and OpenMaus's own working folders run with OPENCODE_DISABLE_PROJECT_CONFIG=1, so nothing a bot writes there becomes configuration. The person's own external_directory string rule ("deny") is carried as "*" ahead of OpenMaus's folders instead of being replaced by the merge. Attachments stay writable; documented. - A model the instance catalog lists but a pooled process does not is no longer swapped for big-pickle with a false "no longer offered" notice: auth.json is part of the spawn contract, and a stale pooled process fails with OpenCode's own words and is closed so the retry starts fresh. - Account errors name the provider that refused (Zen, Go, OpenRouter, ...) and fit the 160-character chat row; setup errors keep 320. OpenRouter's "User not found." is an invalid key. A plain "rate limit exceeded" is no longer an account quota, so it stays transient. - Catalog probes run in a discovery folder that is its own git project, so their empty sessions stay out of OpenCode's global session list. - Provider-key policy is wired before the first catalog probe, withholds keys on a server whose sign-in list lets other people in, re-lists models when enrollment or the sign-in list changes, and is documented in docs/self-hosting.md. App - Model-fallback notices are stored as `notice:` status rows, shown like recovery rows whatever Settings -> Tool calls says, in chats and rooms. Antigravity - AGY_ACP_DEFAULT_MODEL is set only for a model the account itself offered (discovered catalog or a session list from a process started without it). The runtime takes any id there unchecked, and the switch it replaced was the only availability check. The fake runtime now behaves the same way. Routers - The workspace key no longer reaches an openai-compat, Mistral or Grok API instance with its own URL, key or key variable; an openai-compat instance with its own key variable reads only that variable. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Engines: fail closed when Antigravity's per-turn mode is not confirmed; check the mode each prompt ran under The macOS approval smoke read the first mode switch in the fake's per-process config log. Since an approval change no longer respawns Antigravity (sessionScopedApproval), that log also holds earlier turns' switches, so an Ask turn after Full read Full's "yolo" even though the turn had set "default" before its prompt. The fake now records the mode and model every prompt actually ran under, and the smoke checks that. Fail closed in the ACP core: when a sessionScopedApproval support cannot apply or confirm a turn's mode, nothing is prompted and the pooled process is discarded, so a later turn starts on a fresh one; with automatic recovery on the turn goes back unstarted. A support that sets sessionScopedApproval without configureSession is refused. Tests: a pooled, resumed Antigravity session runs each turn under that turn's mode across Full, Full, Ask, Auto, Ask, Full, Edits, Ask; an unconfirmed or refused downgrade never prompts and replaces the process. Windows: compare the probe folder with realpathSync.native on both sides, since the temp folder can arrive as an 8.3 short name. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>Settings → Engines becomes Settings → Model providers, and the rest of the app follows: onboarding, the picker footer, usage, the activity log, recovery and error messages ("This model cannot use the Local VM"). The API keys page's own subheading becomes "Provider keys". The browser engine keeps its name. Stale translations in all nine packs were refreshed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>The shared chat runtime echoes a tool round's reasoning back as `reasoning_content` on the assistant tool-call message, which DeepSeek-style providers require. Groq validates assistant messages strictly and answers the continuation with HTTP 400 ("property 'reasoning_content' is unsupported"), so every multi-round agent turn on GPT-OSS and other Groq models failed. When a request that carried `reasoning_content` gets a 400/422 whose error names that property as unsupported/unknown/unexpected, resend the same transcript once without it and remember the model in memory so later rounds and turns omit the field. The rejection executed nothing upstream, so the resend repeats no tool call. Providers that accept or require the field, and every other error, behave exactly as before. Fixes #2077* fix(digest): count tool calls by identity, not by the chip's command line The turn digest keyed its tool tally on the activity chip's display title. That title is a tool name only for some drivers: Codex titles a commandExecution chip with the whole command line and the ACP core prefers `rawInput.command` over the call's own name, because in a transcript the command is the useful label. So a reported digest read [digest] · tools: memory_update ×2 (1 failed), list_routines ×1, propose_routine_action ×1, /bin/zsh -lc "jq '.routines[]? | select(.id==… {id,name,resultThreadId,sourceThreadId,delivery,destination,resul […] ×1 Two defects, one cause. The command text — paths, ids — rode into a row that is FTS-indexed and replayed into rebuilt context, and unlike `tool.summary` the title is neither bounded nor redacted by the driver. And keying on the command meant counts never aggregated: every distinct invocation was its own bucket, so a turn that ran one tool twelve times said twelve tools and the noise competed for the eight MAX_TOOLS slots. Command-titled chips now count under one `shell` identity, and the rendered line names what ran from `tool.summary`, which drivers already bound and redact. `nameIsCommand` — the predicate the renderer has used for this exact distinction since ToolActivity needed it — moves to shared/tool-name.ts so both readers share one answer instead of guessing twice. The transcript chip is unchanged: it still shows the command, which is what makes it readable. Only the aggregate record changes. Not fixed here: drivers/codex.ts:1078 stores that title uncapped, where every other driver slices to 80 — that bounds a stored field and changes the chip label, so it is its own call. Verified: server/digest.test.ts (2 new cases, red before green), digest.e2e, digest-control.e2e, verify-steps, DigestChip — 100 pass; tsc -b and tsc -p tsconfig.server.json clean; oxlint clean. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * fix(digest): keep the shell bucket's command out of the rendered line The phones split the digest's tools part after "×N" / "(N failed)" (ios DigestSummary, android TurnDigest). A trailing "(command)" made Android drop the whole tools list to one unparsed line with no call count, and iOS merge the shell entry into the next one. The redacted sample stays in the stored digest. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>The Browser panel's expand button only ever called requestFullscreen(). On macOS a full-screen element takes the whole window into native full screen, where the yellow minimize button and Cmd-M are disabled, and clicking the same button again did nothing — its label and icon never changed. The only exits were Esc, the hidden green button or View > Toggle Full Screen, none of which the app pointed to. The button is now a toggle, like the desktop viewer's: a second click calls exitFullscreen(), and a fullscreenchange listener keeps its label ("Full screen" / "Exit full screen") and icon in step with the document, so Esc and the window's own controls leave it right too. A failed exit says to press Esc. Fixes MOCA-266 Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>Deleting a bot removed its record, transcripts and workspace but left its id in every room's memberIds. The room then counted it on Manage members' "Save · N bots" (5 for 4 visible bots), the roster check refused every save from that panel ("unknown room member"), and a room the bot led kept pointing its default responder at a bot that no longer existed. deleteBot now removes the bot from each room it was in, lets the room's lead fall back to the next member, and saves and announces the rooms. Startup repairs rooms that already list a deleted bot, but only when the bot list was actually read, so an unreadable bots.json can never empty rooms. Bot-to-bot channels keep their pair. Fixes MOCA-264 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit 6e88f73674606f0f61e7e7ac4292d322669b8207)reasoning; Cerebras rejects reasoning_content ab6223af21The desktop reads an optional entitlement.tier (short lowercase token; missing or malformed is no tier, never a rejection) and shows "<Tier> active" in Settings -> OMB Cloud (Personal/Pro/Max, "Cloud" for a tier it doesn't know, today's "Pro active" with no tier). A plan string newer than the app ("personal", "max") is now read as paid with that tier and logged once, instead of failing the whole session: installed apps refused any plan but free/pro, so the Admin could never send a new plan name without locking those people out until they updated. plan stays "free" | "pro" (pro = any paid plan) for every reader. Copy every paid customer sees no longer names Pro: Settings' Cloud card, "Included with your Cloud plan", the included-decisions errors, the personal-Cloud pairing note and server refusal, and the included Boat computers error. The Pro introduction card is unchanged. No locale pack translates any of these keys, so no locale or source-hash change. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>The Pro introduction card showed "<s>$89</s> $49/month" with an aria-label reading "Was $89, now $49 a month". $89 was only live for about a day, so presenting it as a former price is a fictitious reference price under FTC 16 CFR 233.1 and the EU 30-day prior-price rule. The card now says, as plain text: "$49/month — launch price for the first 100 users, then $89/month". No <s>, no line-through, no "was" label, and the role="img" wrapper that only carried that label is gone. - PRO_REGULAR_PRICE is renamed PRO_LATER_PRICE; prices are unchanged. - pro.launchPrice gains a {laterPrice} placeholder; pro.launchPriceLabel is removed (it was the only "was" string). - PRO_DISMISSED is unchanged, so nobody who dismissed the card sees it again; the test now pins it. - Every locale gets the Pro card strings translated (none had any pro.* keys before, so translating only the price line would have left one translated sentence inside an English card). source-hashes.json updated with `generate-locale.mjs <code> --accept`. No other struck-through or "was" price exists in src/ or electron/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>The remote bar read "Live with Pepper from your computer · 1:05" on one line, and on an iPhone 17 Pro the clock fell off its end. It now reads "Live with Pepper · 1:05", as this phone's own call does, with "From your computer" on a line of its own under it, where the live bar has its captions. Those are the desktop's words for the same bar ("Pepper is on a Live call from an iPhone"), and Android's. On both bars only the bot's name gives way: the clock takes its whole width first, with digits of one width so a long name is not cut a letter shorter or longer every second, and the name is cut short with "…". VoiceOver still reads the whole name. LiveCallUITests checks this with a 40-character name (`-live-call-long-name-preview`), on the remote bar and on this phone's own call, and checks that the chat's newest message and the typing dots stay above the bar when the bar gains its caption line and when the remote bar shows. The iPhone already kept them there; the tests keep it so. (cherry picked from commit 18a9be517c02b108f045c8558d4883ad43e39d26)When the call bar grew (its caption line once a call is live, a notice that wraps, the remote bar), the chat's newest message slid under it: the transcript got shorter from the bottom and kept its top. A transcript that showed its end now keeps showing it as it gets shorter; one the reader has scrolled up stays where it is. The remote bar read "Live with Scout · 0:12 · on your computer" on one line, cut to "on your com…" on a 411 dp phone. It now reads "Live with Scout · 0:12", as this phone's own call does, with "From your computer" on a line of its own under it, where the live bar has its caption. Those are the desktop's words for the same bar ("Pepper is on a Live call from an iPhone"), and the iPhone's. On both bars only the bot's name gives way: the clock is measured first and whole, with tabular digits, and TalkBack still reads the whole name. Tests: the scroll rule on the JVM, a 40-character name at 360 dp on both bars, and the chat's newest message above the bar while it connects, goes live, hangs up and when the remote bar shows. (cherry picked from commit d3f073969b2642ded793ef0f433958beb6acc6a0)The Team map header rendered t("canvas.botCount") ("{count} bots") for any count, so a workspace with one bot read "1 bots". teamMapBotCount follows the catalog's existing One/Many pattern (like engines.library.countOne) with a new canvas.botCountOne key; other languages fall back to English for it until translated. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> (cherry picked from commit 61d369a0b1abf2f7a6f988ff0c4e06174672c3cd) (cherry picked from commit d16731ce6cdde88d92698a650ab53175110c886d)Add the Skills settings section (browse with search and tag filter, source/version/assigned-bot rows, one-click assign and remove, local paste import) over the S1 library store, all behind features.skillsLibrary. The per-bot SkillsSection simplifies under the flag to assigned plus private plus add-from-library, hiding the GitHub import form; flag-off rendering stays byte-identical. Server: GET/POST /api/skills-library (browse, paste import), GET/PATCH /api/skills-library/:name (sha-verified read, review toggle), PUT /api/bots/:id/skills-library (assignment), and the flag-on per-bot GET gains {skills, library, staged}. Wire types in shared/wire.ts. The featureConfigSchema skillsLibrary line is owned by the S1 slice (first-filed-wins) and is not carried here. Tests: component filter/meta coverage, route tests including flag-off shape byte-identity, and a behavior-eval scenario proving an assignment change alters what a turn's system prompt sees. Signed-off-by: Brad Hallett <53977268+bradhallett@users.noreply.github.com> (cherry picked from commit 1c5b8e5348d48530a26e7b8d37e06ac8620221a8) (cherry picked from commit ea3b0b3206c4aa9c8658b0fd94289bde99c6e362)* feat(skins): add Meadow, the green MausBot skin A ninth skin beside the original eight, which are untouched: white page, faint-green sidebar, mint selected row, green accent and a green-black user bubble with its own inverted @scope context. The contrast gate now measures both inverted bubbles (Daylight and Meadow). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat: add the Advanced mode preference Simple is the default for a fresh install; an existing install keeps Advanced so an update never hides a control someone already uses. The default is settled before applySkin writes its own first-run key. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(settings): Advanced mode switch in Appearance Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(chat): lock usage and inspector behind Advanced mode In Simple mode the header's More menu still lists Usage and Inspector, disabled under an "In Advanced mode" heading, and an inspector left open closes when Advanced mode is turned off. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(model-picker): plain-words picker in Simple mode Simple mode opens the model picker on provider cards, models by name with a one-line hint, effort as Quick / Balanced / Deep / Max, and a "use for new chats too" checkbox in place of the scope toggle. More shows today's full picker in the same popover; Advanced mode opens on it directly. The friendly steps map one-to-one onto the real effort levels, and a level a bot already uses is never hidden. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(settings): put the Advanced mode switch at the top of General Appearance was too hard to find. A paired remote client has no General page, so it keeps the switch in Appearance. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(bot-settings): Details/Library bot panel in Simple mode In Simple mode the bot settings panel opens on the bot's avatar and two tabs. Details has Name and Job, the standing instructions (SOUL.md, same save path and drift banner), "Ask me first" / "Decide for me" mapped to the ask and auto approval levels (with the local-computer Auto warning), the bot's skills with the same review-gated on/off switch, and an "All settings" row that opens today's fold-out view with a Back link. Library lists images and files the bot made in the open conversation and jumps to the message; otherwise an empty state. Advanced mode is unchanged. SkillsSection's skill state and review dialog move into useManagedSkills and SkillReviewDialog so both panels share them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(computer-panel): Simple-mode tabs, Works-on grid and centred tab bar Centre the panel's tabs as a pill with close pinned right (both modes). Simple mode shows Computer | Browser | Files: the Browser tab stays when the built-in browser is off and offers to turn it on (same PATCH /api/config as Settings > Experimental, plus the bot's own switch); Files shows the working folder and the files this chat changed, read from the turn digests. The Computer tab gets one Take control / Full screen / Sleep row and a "Where {name} works" 3x2 grid that runs the same selection code as the Works-on picker, including the auto-approve warning for this computer. VPS start/prepare/replace, the backend picker, VM settings link, two desktops, Delete VM, the gear and the Routines card stay Advanced-only; VPS setup becomes one line with a Show advanced controls button. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(routines): week grid with a details drawer and a plain editor The Automations page becomes Routines: one header with the date arrows, range and Today, a Day / Week / List switch, Run logs, and New routine. Webhooks stay in the header in Advanced mode only. Grid chips take the bot's colour as a soft tint with its avatar; paused routines keep their upcoming slots, dashed and labelled Paused. Picking an occurrence rings it and opens a right-hand drawer (an overlay on a narrow window) with the bot, the schedule in words, what to do, where it runs, where results go and the last three runs, plus Run now, Pause/Resume, Edit and the existing join / open / cancel actions. It replaces the details popover and sends the same requests. In Simple mode the editor asks only what should happen, who does it, when, Once / Every day / Weekdays / Every week, and the instructions; everything else sits behind More options, which opens by itself for a routine that already uses one of those settings (a cron schedule, Boat runner, run limit, team goal, attachments). Advanced mode keeps today's editor. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(ui): liquid glass surface for centred pop-ups Adds .glass-surface, .glass-card, .glass-rail and .glass-scrim, built only from each skin's own menu, card and ink tokens, so all nine skins get a glass of their own colour and no skin block changes. Reduced transparency falls back to the opaque menu colour. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(settings): glass pop-up with You / AI / Computers / Account groups The rail now files every page under a labelled group; the narrow-window picker uses the same groups. Section ids, visibility filters and toggleAppSettings deep links are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(apps): one-view Apps pop-up with tiles and your MCP servers Title Apps, search in the header, All / Connected / MCP servers chips, a three-column tile grid with Connected state and used-by avatars, and the MCP servers section on the same scroll with an on/off switch per server. Connect, accounts, grants and every notice reuse the old logic. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(triggers): Triggers pop-up for webhooks When [source] -> [bot] should [instructions] creates through the same POST /api/webhooks; the list shows name -> bot, deliveries, Copy link and an on/off switch, with the editor, event types, rotation and the delivery log under Advanced options. Webhook actions move into a shared hook so the Automations tab keeps working unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(sidebar): Routines, Triggers and Apps as direct footer rows Replaces the hover Tools menu. Advanced mode keeps Team map behind a small Tools menu (an icon in the avatars-only density); the failed routine dot and the guided tour anchors stay. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(chrome): one sidebar top row on the traffic lights; call from the composer - Sidebar header is a single row centred on the macOS traffic lights (trafficLightPosition y=16, 14px buttons -> 46px row): light inset, compact inline server switcher (icon, truncating name, tiny chevron), draggable spacer, buttons as no-drag. Windows/Linux get a 48px row; the icons rail still stacks with the icon-only switcher beneath. - Simple mode keeps only "+" in that row (Expand stays on an icons rail); Advanced keeps collapse and Active Threads. - Chat header: All threads picker is Advanced only; the call button moves out of the header into the composer beside dictation as a Send-sized waveform circle with the same start/hang-up/help behaviour and telemetry. Rooms keep their header group call button. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(model-picker): Simple picker in columns with effort along the bottom Providers sit in a quiet column on the left (More is its last row and carries the "All models, API keys, local models" label), the chosen provider's models fill the right, and a band across the bottom holds "How hard should {bot} think?", the new-chats checkbox and Manage AI accounts. The Simple popover widens to 520px, still clamped to the window; the full picker keeps 420px. Adds an empty state for a provider with no models to list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(settings): five-page Simple settings and safe-area glass pop-ups Simple mode's Settings rail now has at most five pages: General, Appearance, AI (Model providers, API keys, Decision model stacked under headings), Computers (Remote access, Servers, Local VM, Built-in browser) and Account (OMB Cloud, Organization, People, Activity). Usage, Backups, Experimental and Installations stay Advanced-only; a deep link to one of them still opens it as a temporary page, and every other section id maps to its combined page and scrolls that section into view. The remote-client reduced set and the Advanced grouped rail are unchanged. The built-in browser switch moves out of Experimental: it heads the Local VM page in Advanced and is its own block after Local VM on Simple's Computers page, writing the same features.browser setting. Browser profiles move with it; Experimental keeps skill drafting. Settings, Apps and Triggers sit in a safe area that clears the macOS traffic lights and Windows caption buttons (56px top, 24px elsewhere), at min(1040px, 100% - 48px) by min(760px, 100% - top - 24px). The Apps grid sizes its columns by container width, and MCP server rows and the MCP header wrap instead of overflowing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat: browser on by default with its own tab switch; leaner header and sidebar - The built-in browser is on unless switched off (an explicit false is kept). The computer panel always shows the Browser tab, with a switch that turns this bot's browser on or off. - The chat header no longer carries All threads; threads live under each bot in the sidebar. - Team map is its own sidebar row in Advanced mode; the Tools menu is gone. - The sidebar's top buttons are smaller. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(place): Auto as the conversation default; no place chip in Simple Simple mode no longer renders the composer's "Where this conversation works" chip: every conversation follows its bot's Works on, which is Auto by default. Advanced keeps the chip. For a bot on Auto, the chip's first row now reads "Auto - Picks the right place for each task" and stays selected while the conversation has no pin, instead of "Follow this bot's setting - Currently Auto". A bot set to a specific place keeps the "Follow this bot's setting" row. The Simple "Where {name} works" card already showed a pin note ending "Change it from the composer", which pointed at the chip Simple no longer has. In Simple it now only names the place, using the grid's labels. There is no one-click "Use Auto" there: the wire task cannot tell a person's pin from one Auto recorded (surfaceSource never leaves the server). New bots already start on Auto on every creation path (New bot dialog, saved defaults template, POST /api/bots, Chief-created bots, package import), so no creation code changed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(sidebar): right-align the server switcher beside the top buttons - Top row order is now [lights] [drag space] [server] [buttons]: an empty, draggable flex-1 spacer pushes the compact switcher (max 140px, truncating, chevron kept) up against the buttons, in Simple and Advanced alike. - macOS: the lights span 16-76px on macOS 26; their reserved space is now 72px from the row's 16px inset, so nothing clickable (and no hover background) starts before 88px, 12px clear of them. The browser build's placeholder dots keep the same 12px. - Right padding 16px -> 8px, so the last button sits 8px from the sidebar's edge; buttons stay 2px apart and 2px from the switcher. - In a tight row the switcher gives way first and its button clips instead of spilling onto the buttons; the buttons never shrink or wrap. Its error note now hangs from the row's right end, so it stays inside the sidebar. - Windows/Linux get the same right-aligned order with 16px left padding; the icons rail keeps its stacked layout. - Sidebar.header.test.ts: order, padding and clearance assertions follow the new layout; the Windows/Linux case renders with its real host label. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(model-picker): Simple picker lists every provider, names only, full-width effort The Simple picker's provider column now lists every provider the picker knows (sign-ins, then API keys, then local engines) with no top-3 cap; an API-key provider carries a small key so a sign-in and a pasted key for the same vendor read apart. The More row is gone: a provider shows its suggested models and a quiet "Show all {count} models" row opens the whole list in place, with a search box once it passes 12 models. A provider's local models follow its own (loaded first), and a local engine lists its models the same way. "Set up" on a provider that needs setup is now the only way into the full picker. Model rows show names only, truncated with an ellipsis; a blurb is the row's tooltip. The popover narrows to 380px with a 128px provider column. The "How hard should {bot} think?" label is gone and the effort steps (or a named-variants select) span the whole bottom band, labelled "Reasoning effort" for assistive tech. Escape in the Simple view closes the popover instead of switching to the hidden local pane. Removes the now-unused model.simple.more, model.simple.moreOptions and model.simple.think strings; the no-models note no longer mentions More. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(call): set up a voice in a pop-up; keep Apps bot avatars in their rings Call help: when a call can't start for want of a voice, the help card's "Open agent settings" (which dropped Simple-mode people into the bot's full Advanced settings) is now "Set up voice". It opens VoiceSetupDialog, a centred glass pop-up over the chat holding the bot's own VoiceSettings card (engine, API key and Save, model/server, voice picker, read replies), saved through the same useBotSettingsDerived patch as the Voice section. "All voice settings" closes it and opens the bot's full settings at Voice. If a call becomes possible while it is open, it says so and offers Start call, which starts the call exactly as the call button does. Composer, header and room placements share it; in a room it moves member by member and stays on the last. "Choose This computer" is unchanged. Apps pop-up: a "used by" mascot fills its whole square, so drawn at the ring's own size its corners poked out of the white circle. Each avatar now sits in a fixed 20px clipping disc and is drawn at 16px, which keeps every mascot body, and uploaded images, inside the ring in every skin. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(browser): take control implicitly; drop the Take control button The Browser tab no longer has Take control / Return to bot. The page and toolbar are usable whenever the view is connected and no other window holds the browser: - The first real interaction (click, scroll, key, paste, address submit, back/forward/reload, tab actions, Type or paste text) sends take and buffers itself and everything after it until the take resolves, then flushes in order through the input queue and execute(). Hover, a lone modifier or a stray release never takes control. A refused take drops the buffer and shows the server's message in the error bar. - After 8 idle seconds with no key or button held, the panel drains its input and sends release so the bot carries on. Every input restarts the wait. Closing the panel hands back first when nothing is held or unsent; the server's disconnect cleanup covers the rest. - While this viewer holds the browser a small status chip (hand + "You're using the browser") sits where the button was; a take slower than 300ms shows "Waiting for {bot} to finish...". Another window's hold keeps the paused live view. The ⋯ menu is unchanged. The server's exclusive lease is untouched: person and bot input still never interleave. The lease logic lives in src/lib/browser-control.ts, one controller per live-view connection. The input queue gains settle() and size() so a long buffer is fed in batches under its 32-item halt, and its overflow message no longer says "Release control". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(place): Simple notes only a person's pin, with a way back Review fixes for the Simple place change. Clients can now tell an Auto pin from a person's. The task wire gains surfaceAuto, which toWireTask derives from the private surfaceSource and never stores. surfaceSource itself stays on the server. Simple's "Where {name} works" card said "This chat is pinned to ..." under every pin, including the ones Auto records on a chat's first computer or browser turn. Those are most pins, and the person never set them. The note now shows only for a pin that keeps the chat away from the grid's choice and will not move with it: a person's pin, or one from before the server recorded who set it. It stays hidden when the pin matches Works on or Works on is Off. The composer chip is gone from Simple, so the note gets a "Use {place}" button. It clears the chat's pin, and the chat follows the grid's choice again. The button is disabled while a turn runs, since the server refuses that change (409). The client reducer drops surfaceAuto when the person pins or unpins a chat. A person's choice is never marked as Auto's, even before the server answers. Surface prompts no longer send the person to "the conversation's computer selector", which Simple does not show. They name the Computer panel, which both modes have. The select_computer variant now swaps a shared constant, so the two wordings cannot drift apart. Advanced keeps its chip and its note. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(sidebar): show the server switcher as icon + chevron when the top row is tight Review follow-up to ef4a4abe. On macOS in Advanced at the default 320px sidebar the slot between the lights and the three buttons is only 121px, under the switcher's 140px cap, so the drag spacer collapsed to 0 and the pill still ran from just past the lights to the buttons ("This com..."): a 12px nudge, not the move to the right that was asked for. - The spacer and the switcher now sit in one slot that is a named size container (sidebar-top). Below 164px (the 140px cap plus a 24px drag gap) the pill drops its name and shows icon + chevron; title and aria-label keep the full name. Same pattern as the chat header's chathead container. - Result on macOS: Advanced 320px puts the pill 90px past the green light with a 78px drag gap; compact 272px 42px past it; Simple 320px and Advanced from about 364px keep the full name with at least 24px of gap. At the 240px minimum the pill sits at the 12px clearance, chevron intact. - The error note still anchors to the row (container-type does not make the slot its containing block) and stays inside the sidebar. - Sidebar.header.test.ts: the macOS and Windows/Linux row tests now require `relative` on the row, so the note cannot silently lose its anchor; the macOS test checks the slot container, the name's container variant and that the title keeps the name. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: Simple picker reaches every account and local model again Review fixes for the Simple model picker. - Every sign-in account is reachable again. When a Claude or OpenAI row has more than one account (two Claude accounts, or Codex and the ChatGPT plan), an Account select sits above its models. The row opens on the account last browsed, else the bot's, else the first one ready to use. The Advanced rail is unchanged. - A signed-out engine that lists local models keeps that list when its row is clicked again: what needs setup no longer depends on the hidden full picker's pane. A quiet "Sign in for {name}'s own models" row leads to the full picker's sign-in. - Browsing to a provider that runs local models, or opening its whole list, looks for local models again. A provider with nothing to list offers "Check again". - A provider the organisation blocks is dimmed, is named "Managed by {org}", and shows the policy text instead of Set up. - Models that share a name (pi's routes) show their route as muted text, and every row's tooltip and spoken name carry the route. - The API key is a badge on the provider mark, and "(API key)" or "(API)" leaves the name, so OpenRouter, Mistral and the Claude key fit the 128px column. - "Show all" stays in place as "Show suggested only" once open, so keyboard focus is not lost. - The named-variants select keeps a short "Reasoning" label. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: keep paired desktops on remote voice settings; focus the voice picker once a key is saved Paired desktops: on a desktop paired to another computer, the call help's "Set up voice" opened the pop-up, whose saves the pairing refuses (the bot update is PATCH /api/bots/:id, a 404 there; engine and key writes are PUT /api/config, a 403), and which had no "Voice output on this Mac" switch. There the button now opens the remote agent settings again, as "Open agent settings" did (a room's member chat first). Those save through the host's /profile route with the card locked. The pop-up stays for everyone else. Focus: the pop-up started in the API key field whenever the engine has one, even with the key saved and only a voice missing. It now starts on the voice picker when VoiceSettings shows it (the engine is set up), else in the first field (the key, or the Chatterbox server). The voice select carries data-voice-picker for this. Tests: paired-desktop cases for a bot's chat and a room; the voice-picker focus case; and a check against the real VoiceSettings that the picker is drawn only once the engine is set up, after the key field. The existing key-field focus test now stubs lookups per selector. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat: Simple picks become the bot's default; Default model in the bot panel - The Simple model picker drops "Use for {bot}'s new chats too": every model, effort or reasoning-mode pick also sets the bot's default, so a new thread starts on what was chosen last. Existing threads keep their model. Advanced keeps its own scope choice. - The bot panel's Details tab gains "Default model" between Instructions and "Before {bot} acts": the same plain-words picker, shown in place (contained) so the scrolling panel cannot clip it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: browser take-over review fixes (stale input, status pill, Tab, hand-back) Review fixes for implicit browser control (no Take control button). - Stale input: the take reply now says whether the grant waited for the bot's own browser action (BrowserRuntime.take resolves true when agent work was running). If it did, clicks, keys and page-relative toolbar actions made while waiting are dropped instead of replayed on a page that may have moved; an entered address or New tab still runs, and the releases of dropped presses are swallowed. A pill says "{name} was busy, so that wasn't sent. Try again." until the next interaction. - Status at any width: the status moved from the toolbar into a pill over the top of the live view (pointer-events-none), so "You're using the browser" and "Waiting for {name} to finish..." show in words at the default 400px panel. The hint no longer promises the bot carries on: "{name}'s browser tools are paused while you use it. Control goes back to {name} after a few seconds without input." - Repeats during a take: toolbar buttons, the address bar and Restart wait out a take as they wait out a running action, and the controller keeps at most one buffered toolbar action. - macOS shortcuts: keys the server sends as one whole press (shortcuts and discrete keys) no longer count as held, so Cmd+C no longer blocks the hand-back (macOS sends no key-up for a key let go while Cmd is down). - Keyboard: Tab and Shift+Tab pass over the live view until the person clicks or types in the page, so tabbing through the panel neither traps focus nor takes the browser from the bot. - Typing dialog: control stays with the person while "Type or paste text..." is open; closing it restarts the idle wait. - Profiles: opening the switcher hands an idle hold back at once (or as soon as a running action ends) instead of after 8 seconds, and the dialog says why it is locked while another window holds the browser or an action runs. - Server refusals no longer point at a Take control button: a browser an interrupted action left uncertain says "Choose Restart browser... in the browser menu"; other refusals say "Browser control changed. Try again." - Docs: the permissions page and the browser verification checklist describe the new hand-back and stale-input behaviour. Tests: new controller, panel, viewport, runtime and live-server cases for each fix, mutation-checked. Updated because behaviour changed: the status chip test (now the pill, aria-description instead of title, new hint) and browser-live's "Take control" expectation (now "Browser control changed"); the browser-live runtime fake gained interrupted(). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(browser): route gates under the browser-on default The owner-only route test assumed the built-in browser was off by default. It now checks both gates: on (the new default) reaches the missing-engine gate, and a browser switched off still refuses first. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(smoke): expect the browser on by default in the packaged-server smoke This branch turns the built-in browser on unless someone switches it off, but the packaged-server smoke still required a fresh home to report the browser off ("access remains opt-in"). Package Windows failed on it, and release.yml runs the same check for macOS, Windows and Linux, so the next release would have stopped there. The check stays as strict: a fresh home must still find the bundled engine at the pinned version, and must now report the browser exactly on. docs/browser-packaging.md said the same old default and is updated too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(ui): address Simple mode review regressions --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: milind-soni <milindsoni201@gmail.com>d6c1041e30' into codex/oct3-mobile-pr-integration 0f99881751* fix(ios): show and steer messages sent mid-turn A message sent to a busy bot from the phone could simply disappear. The harness answers such a send in one of three ways, and all three live only in the POST's 202 body: the line landed, the engine took it INTO the running turn (`steered`), or the harness is holding it off-transcript until the turn settles (`queued`, with a `queueId`). The iOS client threw that body away. A held message therefore left no trace anywhere — the composer cleared and the words reappeared minutes later, or not at all after a restart. Only the Claude driver can steer, so on every other engine the queue is the only path and mid-turn sending looked broken. Read the receipt, and give the phone what the desktop has had: - `SendReceipt` decodes the 202 leniently — an older harness that answers `{ok:true}` is a plain send, not a failure. - `CompanionState.pendingQueued` holds what the harness is holding, keyed by queueId. A drained line names its entry, so the ghost retires when the real bubble lands; a drain that beats its own POST leaves a bounded tombstone so the late receipt cannot resurrect it. Hydrates and page merges reconcile for a window that slept through the drain. - The chat draws held sends as dashed bubbles below the transcript, each with its own cancel (DELETE …/queue/:id, newly allowed through the sidecar for bots and rooms). - The composer says which of the three will happen, and the send key becomes a clock when the message will wait. With something already waiting, the microphone becomes a green inject: the harness keeps its steer queue across an interrupt, so stopping the turn is what makes those words run now. Send stays available throughout. - A line the engine took mid-turn is marked "sent mid-turn", which is why the reply above it can read as if the bot had not seen it. Inject is bot-only: the phone has no way to interrupt a room, and adding one is a wider change than this bug. Rooms still get the ghost and cancel. The steer e2e test now asserts the two fields a client needs from a queued receipt, and that the drained line carries the same queueId. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * fix(ios): do not fake a cancel a computer cannot perform The sidecar answers 404 "no route: DELETE …" for a route it does not allow, and the harness answers 404 "no such queued message" when the entry is already gone. Treating those alike took the held message off the phone while the computer still intended to run it — and it then arrived anyway, which is worse than the vanishing this branch set out to fix. Any computer whose sidecar predates the queue-cancel allowlist hits this, including the currently released one. Match the harness's own wording positively, so an unfamiliar 404 fails safe: the ghost stays and the person is told the computer needs updating, rather than being shown a cancel that did not happen. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * feat: say Steer in words, above the chat bar The mid-turn controls were glyphs: a clock on the send key, a green arrow in the composer. Omkar read them on a real phone and said "don't add the clock or the lightning, I don't understand" — and the held message itself, drawn as a dashed outline, he could not see at all on a dark transcript. So the queued message moves out of the transcript and sits directly above the chat bar, where a thing you have not said yet belongs: the text, a labelled `↳ Steer` button, and a bin. Steer stops the turn so those words run now — the harness deliberately keeps its queue across an interrupt, which is what makes stopping a send. The send key goes back to being one arrow with one meaning; what will happen to the message is said in the placeholder instead ("Sends into this turn" / "Sends after this turn"). Both platforms, because the desktop had the same puzzle: its green "inject now" arrow is gone and its queued rows gain the same Steer button. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * fix: say Steering while the interrupt is still landing Tapping Steer did nothing visible. Measured against a live codex turn, an interrupt takes about 6.3 seconds to actually stop the stream — and for those six seconds the button looked untouched while the bot kept talking, which is indistinguishable from a broken button. Omkar read it as "it did not steer at all", and he was right to. The button now goes to "Steering…" and disables the moment it is pressed, on both platforms. It clears when the queue drains OR when the turn ends — both, so an interrupt that fails to stop the turn cannot leave the row spinning for ever either. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * fix(ios): retire the queued row, and stop streaming a dead turn Two faults, seen together on a phone: a codex turn died mid-essay, and from then on the chat streamed that half-written essay for ever while the Steer button span for ever beside it. The queued row was mine. A `bot` frame carrying a whole transcript replaces `messages[…]` outright instead of appending, so it never runs the retirement that `append` does — the held message stayed above the chat bar long after its line had landed. The desktop has guarded this since the feature shipped (reconcileSnapshotQueues on bot add/patch/task switch); the port covered hydrate and page-merge and missed this path. The stream was older. The live bubble was drawn whenever the buffer held text, gated on nothing, and nothing cleared the buffer when a turn ended without a settled reply — an engine that dies mid-sentence reports the failure as activity, not as text. So the buffer kept its last tokens and the bubble streamed them for ever. Now an idle bot clears the buffer, and the bubble is gated on `busy` as well, so neither alone can strand it. Also a floor under the spinner: it clears after twenty seconds even if neither the drain nor the turn-end frame ever arrives. A control that spins for ever is worse than one that admits it does not know. The desktop needs none of this: it gates its working row on bot.busy and never renders from the stream buffer. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * perf(ios): keep the engine-capability read off hydrate's critical path It only words the composer. The cursor commit — and with it the whole stream going live — must not wait on a request that says nothing about the transcript. Found while porting to Android, where blocking hydrate on it failed two Session tests outright. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * feat(activity): a per-bot activity log, read from the two logs that already exist A bot's Activity panel: every tool it used and every approval it asked for, newest first, grouped by day, each row saying what ran ("Gmail · Search threads", "Ran a command"), the arguments the broker recorded, and the outcome — ran, failed, running, allowed, denied, or needs you. Nothing new is captured. server/activity.ts folds the per-thread runtime events (what ran, did it finish) with the fleet-wide decision log (what was asked, with which arguments, who allowed it), attaching an approval to the tool run it unblocked when the two land within a short window in the same thread. Connector calls never pass through the harness — the agent CLI talks to Composio's MCP endpoint directly — which is why this reads logs rather than tapping a proxy that does not exist. GET /api/bots/:id/activity is read-only over the bot's own threads (its DM and every task) plus the decision rows that name it. The panel sits beside the inspector and the computer panel, opens from a header button, re-reads when a turn settles or a card is answered, and stays available on remote clients since it is the user-facing view. Mobile gets the same API; a screen there is a follow-up. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * feat(outbound): sending on your behalf always asks, or spends a daily allowance A connector call that sends something — an email, a message, a post, an invite, a refund — is its own confirmation in every approval mode, Full access included. The relay every Composio call already passes through holds such a call on a "Send on your behalf?" card and waits for the answer; Deny (or nine minutes of silence) comes back to the bot as an ordinary tool error it can read and act on, never a transport failure it retries. A bot can instead be given a daily allowance, counted per local day on disk, after which the relay refuses with a message naming the limit. Every branch lands in the decision log under source "outbound", so the Activity panel shows it. shared/outbound.ts is the one definition of "outbound": the action part of a tool name, whether Composio's TOOLKIT_ACTION or a provider's mcp__server__action, with a read verb first meaning read and DRAFT meaning not sent. The auto-approve rules gain the same guard, so Approve for me and a remembered Always allow never wave a send through on a provider's own connectors either; explicit Full access on those stays a documented gap, since no request reaches the broker there. The bot record carries the policy (ask, the default, or allow with a cap), validated on PATCH like autoReview, with a read-only route for today's count. Bot settings get a "Sending on your behalf" control under the approval level, deliberately outside that selector so nothing implies Full access covers it. The card is a standard options card, so the phone apps already render it. Tests point the fixture's Composio Session MCP URL at the local stub, which needed one honest change: a backend the operator configured explicitly may hand back a Session on its own origin. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * feat(scopes): per-bot connection scopes, enforced at the connector relay Which connected apps a bot may use, and whether it may only read them. Absent means what it has always meant — every connected app, read and write — so nothing changes for a bot nobody has scoped. Present means a list: an app not on it is off for this bot, "read" refuses anything that is not a read, and a batch that mixes an allowed read with a forbidden write is refused whole rather than half-run. Enforced at the relay every Composio call already passes through, seeing through the session's meta tools the same way the outbound gate does, and checked before that gate: an app the bot may not touch is refused outright, never turned into a question for the person. A connection request for an app outside the bot's list is refused before any card appears. Every refusal lands in the decision log under source "connector-scope", so the Activity panel shows it, and the bot's prompt names what it may use so it does not spend a turn finding out. Bot settings gain a "Limit this bot to specific apps" switch inside the Connected apps card, with Off / Read / Read & write per connected app; an app the bot was scoped to that is no longer connected still shows, so a grant never silently disappears. null on the wire clears the scopes, normalized to an absent field the way `computer` already is. shared/connector-scopes.ts stands alone rather than importing from outbound.ts: shared/ is compiled by both the server (which needs .ts import extensions) and the app (which forbids them). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * feat(fallback): second accounts on an engine, and a per-bot fallback chain A second account on Claude or Codex is another instance of its driver with its own login directory (CLAUDE_CONFIG_DIR / CODEX_HOME under the data dir), so two Max plans sit side by side. POST /api/instances adds one beside the default fleet, inheriting the base engine's CLI override since a versioned binary is about the machine, not the account; DELETE removes only a profile, never a default-fleet instance. The instances section of config.json merges per id, so a removal is named explicitly to leave the file. App Settings → Engines gains "Add another account" and a Remove button on profile rows; the profile signs in from its own row like any engine. A bot's fallback chain says where a task carries on when its engine hits a usage limit, is rate limited, or cannot be reached. The turn.completed fold reads why the turn died from the thread's last runtime.error, and if the reason is one of those it moves the bot to the next available entry, posts a "switched to …" chip, and starts a control-plane continuation turn; the transcript replays into the new engine because it is fresh, and the person's message appears once. Hops are counted per thread so a chain whose every engine is down stops after one pass; a successful turn resets it. A turn the person stopped is never routed around. Bot settings → Model gains the ordered list. A subscription's usage limit is now classified as quota, not a 429 to retry through: the window is hours away, and the chain is the answer. The end-to-end test boots an isolated harness whose fixture Claude is scripted to die on a 429, adds a profile, chains it, sends one message, and watches the task finish on the second account. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * feat(team-memory): people, places, decisions and terms every bot in a section shares The layer between a bot's private MEMORY.md and the person's own section brief: bot-fed, person-reviewed, read by all. A bot that learns who someone is, where a document lives, what was decided, or what a term or nickname means proposes it with propose_team_memory. A place or a term lands at once, because the cost of a wrong one is a wasted lookup; a person or a decision waits for a "Remember this for the team?" card, because those shape what every teammate does next. Proposing an existing name again updates it rather than adding a twin. Every accepted entry rides into every section bot's prompt as a compact block under a byte budget, newest kept when it has to cut, with decisions dated — which is what lets a Chief of Staff answer "what happened today" without a digest routine. The Team map page gains a Memory dialog per section beside the shared context: what is waiting for a tap, then people, places, decisions and terms with inline editing, removal, and a way to add an entry by hand (the person's own entries never wait on the person). The card is a standard options card, so the phone apps render it already. Proposals and answers land in the decision log under source "team-memory". Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * feat(ios): Activity and Team memory screens, with the companion routes they call The phone twins of the desktop's Activity panel and Team map → Memory. From a bot's profile: "Activity" lists what the bot did, newest first by day, each row with the app and action in words, the recorded arguments, and an outcome chip (ran, failed, running, allowed, denied, needs you). "Team memory" lists the bot's section's shared people, places, decisions and terms, answers proposals waiting for a tap (Remember / Skip), removes entries with a swipe, and adds one by hand. Both are content surfaces; the sending policy, app scopes and fallback chain stay on the desktop, where the companion allowlist has always kept execution policy. The sidecar allowlist gains GET /api/bots/:id/activity and GET/POST/ PATCH/DELETE /api/team-memory, pinned in routes.test.ts. Two fixtures captured from a disposable harness pin the wire shapes for both phone suites: bot-activity.json (an empty page — a fixture harness runs no tools) and team-memory.json (one entry of each kind, added by hand). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * docs(mobile): design for a shared touch gesture layer on remote surfaces A pure GestureCore in each shared module turns normalised touch samples into abstract intents, so iOS and Android cannot drift and phase 2's VNC surface becomes a second sink rather than a second gesture layer. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * docs(mobile): implementation plan for the shared gesture core Twelve TDD tasks: the iOS core in full, the Kotlin port, and a shared parity fixture that fails the build when the two disagree. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * feat(ios): gesture value types and viewport mapping ViewportMapping folds letterboxing, zoom and pan into one place, so a coordinate can only be got wrong once and is tested once. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * feat(ios): click sequencing for direct-mode taps A sequence continues only while both the 450ms gap and the 0.02 slop hold, and wraps at three: a quadruple click means nothing to a browser. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * feat(ios): long press, drag threshold and held-button drags tick(at:) is how a duration-based gesture stays testable in a core with no clock. A cancelled drag still releases, so the remote is never left holding a button nothing will lift. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * feat(ios): trackpad mode with a virtual cursor and acceleration The finger is a rate control, not a position: the core owns the cursor and emits absolute coordinates, so both modes share one sink. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * feat(ios): scroll, momentum and local zoom state Zoom stays local so a small target becomes reachable without reflowing the remote page. A scroll or a fired hold suppresses the click on lift, so a flick through links cannot open one. Records in the plan that parity must compare floats with tolerance: normalising through a division yields -0.09999999999999998 and -0.0. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * feat(ios): driving gate and held-input flush driving is off by default, so a caller that forgets to set it fails safe rather than handing the remote away. flush() releases what is held and abandons momentum on release, backgrounding and disconnection. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * test(ios): shared gesture parity fixture and runner Eight cases across both modes in one JSON file the Kotlin runner will read verbatim. GestureIntent gets hand-written coding because Swift's synthesised enum shape nests under _0, which no Kotlin decoder reads. Verified the gate fails: widening multiClickWindow to 0.6 breaks the "tap after the window" case by name and step index. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * feat(android): gesture value types and viewport mapping Mirrors CompanionCore's RemoteGestures, including the intent wire shape, so one parity fixture can serve both platforms. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * feat(android): gesture core mirroring CompanionCore Click sequencing, long press and drags, trackpad cursor and acceleration, scroll and momentum, local zoom, driving gate and flush — 31 tests against the same behaviours the iOS suite asserts. Tasks 9-11 of the plan landed as one cycle: it is one file and one port, and Task 12's fixture is the gate that actually proves parity. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * test(android): run the shared gesture parity fixture No copy task needed: core/build.gradle.kts already points the test source set at ios/Tests/CompanionCoreTests/Fixtures, so one fixture directory already serves both platforms. Verifying the gate can fail caught a hole in the fixture itself. The long-press case ticked 0.4 then 0.5 and compared only the accumulated output, so a 300ms threshold produced the same three intents as 500ms and the sabotage passed. Added a case that stops short of the threshold and asserts nothing happens; the sabotage now fails by name. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * feat(companion): per-device browser control capability browserControlAccess mirrors cloudDesktopAccess exactly: off on every new and migrated device, granted only from the loopback control page, revocation tears down live streams. It is a separate grant on purpose. A cloud desktop is a disposable VM; a bot's browser is normally signed into the person's real accounts, so a device trusted with the first must not inherit the second. No harness change was needed: request-auth re-runs the sidecar's own denyReason, so allowlisting the two routes opened both sides at once. Corrected the design doc, which claimed otherwise. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * feat(ios): browser-live sink and input queue The sink is the only place normalised intents become device pixels, and it routes an unmodified single character to char rather than a raw keyDown the server would hold forever. The queue ports src/lib/browser-input-queue.ts: one request in flight, movement coalesced, wheel deltas summed, a 32-item ceiling that halts rather than banking input, and releases that survive the halt. settle() and drain() are deliberately different: drain abandons stale travel for hand-back, settle waits for everything. Writing the tests is what surfaced that they cannot be one method. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * feat(android): browser-live sink and input queue Ports CompanionCore's sink and queue with the same assertions: pixel denormalisation, the char-not-keyDown rule for unmodified characters, movement coalescing, summed wheel deltas, the ceiling, and releases that survive a halt. A mutex stands in for the actor; the launch happens under the lock so two callers cannot both start a pump. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * feat(mobile): browser-live transport and message decoding SSE frame stream plus the action channel on both platforms. The decoder drops an unknown message type rather than tearing down a stream someone is watching, and refuses a frame with no metadata, which cannot be mapped to coordinates anyway. Byte-at-a-time SSE parsing on iOS for the reason SSE.swift documents: AsyncLineSequence folds blank lines, which are what end an event. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * feat(ios): browser control screen and touch adapter The adapter makes no decisions: raw touches become TouchSamples and a CADisplayLink drives the core's clock so long press and momentum work. A second finger flushes the tracked touch rather than half-tracking a pinch. The screen adds the modifier bar the design calls load-bearing, a locally drawn cursor for trackpad mode, a hidden field that turns soft keyboard text into char events, and take/release with a flush on backgrounding. The 429 from a full viewer table gets a real sentence. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * feat(android): browser control screen and touch adapter Mirrors the iOS side: a pointerInput adapter that only produces TouchSamples, a frame-rate loop driving the core's clock, the modifier bar, a locally drawn cursor, and take/release with a drain on leave. The transport hangs off CompanionClient so it inherits the endpoint, scoped-IPv6 DNS and streaming timeouts rather than keeping a second copy of that setup. The Browser destination encodes and decodes with the rest of the stack, so restoring after process death does not silently drop the screen. Its entry point sits outside the cloud-desktop gate: any bot with a browser can be driven, not only cloud ones. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * fix(mobile): typing on Android, cursor placement and pan Three gaps a self-review found after the screens compiled: - Android declared a typed buffer but had no field, so there was no way to type at all. Committed text now leaves as char; Backspace stays on the bar because an empty field reports no deletion. - The Android cursor was positioned against a hardcoded 1000px rather than the box it lives in, so it only landed right by accident. - Neither zoom path applied pan on Android, which stranded a zoomed-in person at the top-left with no way to reach the rest of the page. Also, on both platforms the page's own navigation could overwrite an address someone was halfway through typing. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * fix(mobile): make the browser stream actually decode, and 8 more A code review found the client halves were broken end to end. Most severe first: - The SSE decoder keyed on a `type` field inside the payload, but the server strips the type into the `event:` name and both SSE parsers discarded `event:` lines. Every message decoded to nil, so iOS never left "Connecting..." and Android never got a viewer id, which left Take control permanently disabled. Both parsers now carry the event name, and the decoders key on it — including `ready`, which is what the server actually calls the viewer-id message, plus `control` and `heartbeat`, which were not handled at all. - Two Kotlin string templates were written as literals ("Bearer \$it", "https://\$address"), so every Android browser request went out unauthenticated and scheme-less navigation went to a bogus host. - The Android tick clock and touch clock had different origins, and pointerInput restarts on a driving change — so after taking control every tap read as older than the long-press threshold and fired a right click instead. - Direct mode set `scrolled` on any nonzero move, so a tap that wobbled a pixel scrolled sub-pixel and suppressed its own click. Now behind the drag threshold, on both platforms. - pan() and the render transform measured against the view while the mapping used the aspect-fit drawn size. On a portrait phone showing a 16:9 page those differ by 3.6x, so zoomed taps landed far from the pixel touched. ViewportMapping now exposes drawnWidth/drawnHeight and all three use it. - The Android dispose-time release launched on a scope cancelled in the same pass, so it never left the phone. - The Android mapping was rebuilt only on layout, so a viewport other than the 1280x720 default never reached the core. - The sidecar's SSE scrub ceiling was 1 MiB against browser-live's 3 MiB frames; one large frame would have torn down the stream. The proxy test that covers this hardcoded 2 MiB and now derives from the constant, so it cannot rot the same way again. Regressions added for the wobble-tap and letterboxed-pan cases: the existing tests used a square viewport where drawn size equals view size, so neither bug could have been caught. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * fix(mobile): revocation, stale clicks, held buttons and a pump race A second review pass found eight more. Most severe first: - Revoking browser control did not close a browser-live stream the device already had open, contrary to the comment promising it: disconnectDevice only ever reached /api/events and viewer relays. A phone kept watching a signed-in browser after the grant was taken away. The proxy now registers capability-gated streams per device and closes them on revoke, with a test. - A trackpad tap that never moved the finger emitted press/release with no move, so the sink stamped the click at its last coordinate — (0,0) on a fresh session — while the reticle sat where the person was aiming. Both platforms, and the parity fixture asserted the wrong shape. - iOS never called Coordinator.flush(), the only source of a release for a held button, so backgrounding or leaving mid-drag left it down. Android had this right; the design doc named the parity gap. - The Android dispose-time release enqueued into a queue built on the composition scope that the same pass cancels, so the pump never ran and drain() would have spun forever. It now sends directly. - A stale pump cleared `active` unconditionally, wiping the replacement clear() had just started and letting two pumps drain concurrently. - The Android trackpad reticle ignored letterboxing. - The 403 told people to use a Settings switch that does not exist; it now names the button, which every first-time user will need since the grant is off by default. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * test(companion): give proxy fixtures the browser capability field The field stays required on authenticate's return type, because the registry always supplies it. tsconfig.server.json type-checks these fixtures; tsc -b does not, which is why the packaged build caught this and the earlier check did not. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * fix(mobile): show the server's refusal and let a dead stream retry The first hands-on test reported "browser control is off" after the grant was already on. The server path was fine: a device with the grant opens the stream, receives ready/control/status/frame, and take returns 200. The phone was at fault twice over: - The stream threw a bare status and discarded the response body, so every 403 read as "browser control is off" whatever the server said. Both clients now surface the sidecar's or harness's own error text. - Nothing restarted a stream once it failed, and toggling the grant deliberately disconnects the device. The screen sat dead until the person backed out. It now shows Try again, which starts a fresh viewer with no state carried over from the old one. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * feat(i18n): add complete Chinese localization across desktop and mobile - Add Simplified and Traditional Chinese translations across desktop, iOS, and Android - Integrate with companion mobile apps (Android Compose strings and iOS xcstrings) - Consolidate Android review resources into base and localized strings.xml - Fix BotThreadRow Compose status coloring and preserve upstream snooze logic - Update source-hashes.json and validate catalog completeness via generate-locale.mjs * fix(android): align the notification footer and localize the thread sheet - mobile_settings_notifications_footer said "while OpenMausMobile is connected" while OnboardingCopy.NOTIFICATIONS_BODY renders SettingsPolicy.NOTIFICATIONS_FOOTER ("while MausBot is connected"): OnboardingRoutingTest could not find the body text on screen, and the two surfaces showed different copy. The English resource now matches the constant byte for byte, with the Chinese catalogs following. - Route the delete/rename/snooze error text through localizedMobileCopy so the "Couldn't update this thread. Try again." fallback reaches the Chinese catalogs (CodeRabbit review). - Map "Rename thread" so the rename dialog heading translates (CodeRabbit review). - Give the snooze dialog's title, presets, "Stop snoozing", the working notice and Cancel real string resources with Simplified and Traditional Chinese. English resource values stay byte-identical to the pinned constants and test copy ("Rename thread", "Until 6 PM", "Until new activity", "Stop this thread before snoozing it.", "Cancel"). * fix(i18n): correct Chinese mistranslations found in cross-PR review Against the English source, eleven Simplified keys (and their Traditional twins, translated in the same pass) read wrong or dropped content: - installation rendered as "workspace" (voice.grok.sharedKey, settings.section.workspaces, settings.profiles.ownerOnly) - Servers / Installations section titles mistranslated (settings.section.desktopWorkspaces, workspaces.title) - bots mistranslated as "items" (team.moveSelected) - "Task folder" rendered as a workspace (composer.tray.privateWorkspace) - "Member (chat only)" gained an approval right it does not have (workspaces.chatOnly) - Threads mistranslated as a UI thread (backup.threads) - verb "Draft" used as a noun (botAccess.grants.verb.draft) - organization.disconnectWarning dropped the daily-backups sentence Terminology now follows each catalog's own established usage. * fix(i18n): unify Chinese terminology across desktop, Android, and iOS One glossary, applied everywhere the Chinese catalogs mix terms: - thread (and conversation) -> 对话 / 對話 (was 线程, 讨论串, 对话线程, 執行緒, 對話串 across the catalogs) - installation(s) -> 安装实例 / 安裝實例 (was mistranslated as 工作区) - workspace stays 工作区 / 工作區 where the English says workspace - default -> 默认 / 預設 (zh 缺省 merged into 默认) - "bot folders" -> 机器人文件夹 / 機器人資料夾 (was 工作区) - honorifics -> 你 (您 normalized away) - quotes: "..." in Simplified, 「...」 in Traditional - stray Traditional vocabulary in the Simplified catalog normalized (纪录->记录, 帐户->账户, 设置档->配置, 软体->软件, 网路->网络) 186 zh keys, 85 zh-tw keys, 52 Android string entries and 2 iOS xcstrings entries changed. English sources, placeholders and source hashes are untouched; node scripts/generate-locale.mjs --check passes. * feat(ios): Activity and Team memory screens, with the companion routes they call (#933) The phone twins of the desktop's Activity panel and Team map → Memory. From a bot's profile: "Activity" lists what the bot did, newest first by day, each row with the app and action in words, the recorded arguments, and an outcome chip (ran, failed, running, allowed, denied, needs you). "Team memory" lists the bot's section's shared people, places, decisions and terms, answers proposals waiting for a tap (Remember / Skip), removes entries with a swipe, and adds one by hand. Both are content surfaces; the sending policy, app scopes and fallback chain stay on the desktop, where the companion allowlist has always kept execution policy. The sidecar allowlist gains GET /api/bots/:id/activity and GET/POST/ PATCH/DELETE /api/team-memory, pinned in routes.test.ts. Two fixtures captured from a disposable harness pin the wire shapes for both phone suites: bot-activity.json (an empty page — a fixture harness runs no tools) and team-memory.json (one entry of each kind, added by hand). Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com> * fix(companion): expose separate browser access grant in desktop settings * fix: harden mobile browser authorization and lifecycle --------- Co-authored-by: aivsomkar <aivsomkar@gmail.com> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> Co-authored-by: 择梦舟 <158067205+dreamfarer-space@users.noreply.github.com> Co-authored-by: LeaningLearner <1016823240@qq.com>7f3ad6cccd' into codex/oct3-integration-ci-repair 9b08f97770* fix(ios): show and steer messages sent mid-turn A message sent to a busy bot from the phone could simply disappear. The harness answers such a send in one of three ways, and all three live only in the POST's 202 body: the line landed, the engine took it INTO the running turn (`steered`), or the harness is holding it off-transcript until the turn settles (`queued`, with a `queueId`). The iOS client threw that body away. A held message therefore left no trace anywhere — the composer cleared and the words reappeared minutes later, or not at all after a restart. Only the Claude driver can steer, so on every other engine the queue is the only path and mid-turn sending looked broken. Read the receipt, and give the phone what the desktop has had: - `SendReceipt` decodes the 202 leniently — an older harness that answers `{ok:true}` is a plain send, not a failure. - `CompanionState.pendingQueued` holds what the harness is holding, keyed by queueId. A drained line names its entry, so the ghost retires when the real bubble lands; a drain that beats its own POST leaves a bounded tombstone so the late receipt cannot resurrect it. Hydrates and page merges reconcile for a window that slept through the drain. - The chat draws held sends as dashed bubbles below the transcript, each with its own cancel (DELETE …/queue/:id, newly allowed through the sidecar for bots and rooms). - The composer says which of the three will happen, and the send key becomes a clock when the message will wait. With something already waiting, the microphone becomes a green inject: the harness keeps its steer queue across an interrupt, so stopping the turn is what makes those words run now. Send stays available throughout. - A line the engine took mid-turn is marked "sent mid-turn", which is why the reply above it can read as if the bot had not seen it. Inject is bot-only: the phone has no way to interrupt a room, and adding one is a wider change than this bug. Rooms still get the ghost and cancel. The steer e2e test now asserts the two fields a client needs from a queued receipt, and that the drained line carries the same queueId. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * fix(ios): do not fake a cancel a computer cannot perform The sidecar answers 404 "no route: DELETE …" for a route it does not allow, and the harness answers 404 "no such queued message" when the entry is already gone. Treating those alike took the held message off the phone while the computer still intended to run it — and it then arrived anyway, which is worse than the vanishing this branch set out to fix. Any computer whose sidecar predates the queue-cancel allowlist hits this, including the currently released one. Match the harness's own wording positively, so an unfamiliar 404 fails safe: the ghost stays and the person is told the computer needs updating, rather than being shown a cancel that did not happen. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * feat: say Steer in words, above the chat bar The mid-turn controls were glyphs: a clock on the send key, a green arrow in the composer. Omkar read them on a real phone and said "don't add the clock or the lightning, I don't understand" — and the held message itself, drawn as a dashed outline, he could not see at all on a dark transcript. So the queued message moves out of the transcript and sits directly above the chat bar, where a thing you have not said yet belongs: the text, a labelled `↳ Steer` button, and a bin. Steer stops the turn so those words run now — the harness deliberately keeps its queue across an interrupt, which is what makes stopping a send. The send key goes back to being one arrow with one meaning; what will happen to the message is said in the placeholder instead ("Sends into this turn" / "Sends after this turn"). Both platforms, because the desktop had the same puzzle: its green "inject now" arrow is gone and its queued rows gain the same Steer button. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * fix: say Steering while the interrupt is still landing Tapping Steer did nothing visible. Measured against a live codex turn, an interrupt takes about 6.3 seconds to actually stop the stream — and for those six seconds the button looked untouched while the bot kept talking, which is indistinguishable from a broken button. Omkar read it as "it did not steer at all", and he was right to. The button now goes to "Steering…" and disables the moment it is pressed, on both platforms. It clears when the queue drains OR when the turn ends — both, so an interrupt that fails to stop the turn cannot leave the row spinning for ever either. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * fix(ios): retire the queued row, and stop streaming a dead turn Two faults, seen together on a phone: a codex turn died mid-essay, and from then on the chat streamed that half-written essay for ever while the Steer button span for ever beside it. The queued row was mine. A `bot` frame carrying a whole transcript replaces `messages[…]` outright instead of appending, so it never runs the retirement that `append` does — the held message stayed above the chat bar long after its line had landed. The desktop has guarded this since the feature shipped (reconcileSnapshotQueues on bot add/patch/task switch); the port covered hydrate and page-merge and missed this path. The stream was older. The live bubble was drawn whenever the buffer held text, gated on nothing, and nothing cleared the buffer when a turn ended without a settled reply — an engine that dies mid-sentence reports the failure as activity, not as text. So the buffer kept its last tokens and the bubble streamed them for ever. Now an idle bot clears the buffer, and the bubble is gated on `busy` as well, so neither alone can strand it. Also a floor under the spinner: it clears after twenty seconds even if neither the drain nor the turn-end frame ever arrives. A control that spins for ever is worse than one that admits it does not know. The desktop needs none of this: it gates its working row on bot.busy and never renders from the stream buffer. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * perf(ios): keep the engine-capability read off hydrate's critical path It only words the composer. The cursor commit — and with it the whole stream going live — must not wait on a request that says nothing about the transcript. Found while porting to Android, where blocking hydrate on it failed two Session tests outright. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * feat(activity): a per-bot activity log, read from the two logs that already exist A bot's Activity panel: every tool it used and every approval it asked for, newest first, grouped by day, each row saying what ran ("Gmail · Search threads", "Ran a command"), the arguments the broker recorded, and the outcome — ran, failed, running, allowed, denied, or needs you. Nothing new is captured. server/activity.ts folds the per-thread runtime events (what ran, did it finish) with the fleet-wide decision log (what was asked, with which arguments, who allowed it), attaching an approval to the tool run it unblocked when the two land within a short window in the same thread. Connector calls never pass through the harness — the agent CLI talks to Composio's MCP endpoint directly — which is why this reads logs rather than tapping a proxy that does not exist. GET /api/bots/:id/activity is read-only over the bot's own threads (its DM and every task) plus the decision rows that name it. The panel sits beside the inspector and the computer panel, opens from a header button, re-reads when a turn settles or a card is answered, and stays available on remote clients since it is the user-facing view. Mobile gets the same API; a screen there is a follow-up. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * feat(outbound): sending on your behalf always asks, or spends a daily allowance A connector call that sends something — an email, a message, a post, an invite, a refund — is its own confirmation in every approval mode, Full access included. The relay every Composio call already passes through holds such a call on a "Send on your behalf?" card and waits for the answer; Deny (or nine minutes of silence) comes back to the bot as an ordinary tool error it can read and act on, never a transport failure it retries. A bot can instead be given a daily allowance, counted per local day on disk, after which the relay refuses with a message naming the limit. Every branch lands in the decision log under source "outbound", so the Activity panel shows it. shared/outbound.ts is the one definition of "outbound": the action part of a tool name, whether Composio's TOOLKIT_ACTION or a provider's mcp__server__action, with a read verb first meaning read and DRAFT meaning not sent. The auto-approve rules gain the same guard, so Approve for me and a remembered Always allow never wave a send through on a provider's own connectors either; explicit Full access on those stays a documented gap, since no request reaches the broker there. The bot record carries the policy (ask, the default, or allow with a cap), validated on PATCH like autoReview, with a read-only route for today's count. Bot settings get a "Sending on your behalf" control under the approval level, deliberately outside that selector so nothing implies Full access covers it. The card is a standard options card, so the phone apps already render it. Tests point the fixture's Composio Session MCP URL at the local stub, which needed one honest change: a backend the operator configured explicitly may hand back a Session on its own origin. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * feat(scopes): per-bot connection scopes, enforced at the connector relay Which connected apps a bot may use, and whether it may only read them. Absent means what it has always meant — every connected app, read and write — so nothing changes for a bot nobody has scoped. Present means a list: an app not on it is off for this bot, "read" refuses anything that is not a read, and a batch that mixes an allowed read with a forbidden write is refused whole rather than half-run. Enforced at the relay every Composio call already passes through, seeing through the session's meta tools the same way the outbound gate does, and checked before that gate: an app the bot may not touch is refused outright, never turned into a question for the person. A connection request for an app outside the bot's list is refused before any card appears. Every refusal lands in the decision log under source "connector-scope", so the Activity panel shows it, and the bot's prompt names what it may use so it does not spend a turn finding out. Bot settings gain a "Limit this bot to specific apps" switch inside the Connected apps card, with Off / Read / Read & write per connected app; an app the bot was scoped to that is no longer connected still shows, so a grant never silently disappears. null on the wire clears the scopes, normalized to an absent field the way `computer` already is. shared/connector-scopes.ts stands alone rather than importing from outbound.ts: shared/ is compiled by both the server (which needs .ts import extensions) and the app (which forbids them). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * feat(fallback): second accounts on an engine, and a per-bot fallback chain A second account on Claude or Codex is another instance of its driver with its own login directory (CLAUDE_CONFIG_DIR / CODEX_HOME under the data dir), so two Max plans sit side by side. POST /api/instances adds one beside the default fleet, inheriting the base engine's CLI override since a versioned binary is about the machine, not the account; DELETE removes only a profile, never a default-fleet instance. The instances section of config.json merges per id, so a removal is named explicitly to leave the file. App Settings → Engines gains "Add another account" and a Remove button on profile rows; the profile signs in from its own row like any engine. A bot's fallback chain says where a task carries on when its engine hits a usage limit, is rate limited, or cannot be reached. The turn.completed fold reads why the turn died from the thread's last runtime.error, and if the reason is one of those it moves the bot to the next available entry, posts a "switched to …" chip, and starts a control-plane continuation turn; the transcript replays into the new engine because it is fresh, and the person's message appears once. Hops are counted per thread so a chain whose every engine is down stops after one pass; a successful turn resets it. A turn the person stopped is never routed around. Bot settings → Model gains the ordered list. A subscription's usage limit is now classified as quota, not a 429 to retry through: the window is hours away, and the chain is the answer. The end-to-end test boots an isolated harness whose fixture Claude is scripted to die on a 429, adds a profile, chains it, sends one message, and watches the task finish on the second account. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * feat(team-memory): people, places, decisions and terms every bot in a section shares The layer between a bot's private MEMORY.md and the person's own section brief: bot-fed, person-reviewed, read by all. A bot that learns who someone is, where a document lives, what was decided, or what a term or nickname means proposes it with propose_team_memory. A place or a term lands at once, because the cost of a wrong one is a wasted lookup; a person or a decision waits for a "Remember this for the team?" card, because those shape what every teammate does next. Proposing an existing name again updates it rather than adding a twin. Every accepted entry rides into every section bot's prompt as a compact block under a byte budget, newest kept when it has to cut, with decisions dated — which is what lets a Chief of Staff answer "what happened today" without a digest routine. The Team map page gains a Memory dialog per section beside the shared context: what is waiting for a tap, then people, places, decisions and terms with inline editing, removal, and a way to add an entry by hand (the person's own entries never wait on the person). The card is a standard options card, so the phone apps render it already. Proposals and answers land in the decision log under source "team-memory". Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * feat(ios): Activity and Team memory screens, with the companion routes they call The phone twins of the desktop's Activity panel and Team map → Memory. From a bot's profile: "Activity" lists what the bot did, newest first by day, each row with the app and action in words, the recorded arguments, and an outcome chip (ran, failed, running, allowed, denied, needs you). "Team memory" lists the bot's section's shared people, places, decisions and terms, answers proposals waiting for a tap (Remember / Skip), removes entries with a swipe, and adds one by hand. Both are content surfaces; the sending policy, app scopes and fallback chain stay on the desktop, where the companion allowlist has always kept execution policy. The sidecar allowlist gains GET /api/bots/:id/activity and GET/POST/ PATCH/DELETE /api/team-memory, pinned in routes.test.ts. Two fixtures captured from a disposable harness pin the wire shapes for both phone suites: bot-activity.json (an empty page — a fixture harness runs no tools) and team-memory.json (one entry of each kind, added by hand). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * docs(mobile): design for a shared touch gesture layer on remote surfaces A pure GestureCore in each shared module turns normalised touch samples into abstract intents, so iOS and Android cannot drift and phase 2's VNC surface becomes a second sink rather than a second gesture layer. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * docs(mobile): implementation plan for the shared gesture core Twelve TDD tasks: the iOS core in full, the Kotlin port, and a shared parity fixture that fails the build when the two disagree. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * feat(ios): gesture value types and viewport mapping ViewportMapping folds letterboxing, zoom and pan into one place, so a coordinate can only be got wrong once and is tested once. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * feat(ios): click sequencing for direct-mode taps A sequence continues only while both the 450ms gap and the 0.02 slop hold, and wraps at three: a quadruple click means nothing to a browser. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * feat(ios): long press, drag threshold and held-button drags tick(at:) is how a duration-based gesture stays testable in a core with no clock. A cancelled drag still releases, so the remote is never left holding a button nothing will lift. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * feat(ios): trackpad mode with a virtual cursor and acceleration The finger is a rate control, not a position: the core owns the cursor and emits absolute coordinates, so both modes share one sink. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * feat(ios): scroll, momentum and local zoom state Zoom stays local so a small target becomes reachable without reflowing the remote page. A scroll or a fired hold suppresses the click on lift, so a flick through links cannot open one. Records in the plan that parity must compare floats with tolerance: normalising through a division yields -0.09999999999999998 and -0.0. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * feat(ios): driving gate and held-input flush driving is off by default, so a caller that forgets to set it fails safe rather than handing the remote away. flush() releases what is held and abandons momentum on release, backgrounding and disconnection. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * test(ios): shared gesture parity fixture and runner Eight cases across both modes in one JSON file the Kotlin runner will read verbatim. GestureIntent gets hand-written coding because Swift's synthesised enum shape nests under _0, which no Kotlin decoder reads. Verified the gate fails: widening multiClickWindow to 0.6 breaks the "tap after the window" case by name and step index. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * feat(android): gesture value types and viewport mapping Mirrors CompanionCore's RemoteGestures, including the intent wire shape, so one parity fixture can serve both platforms. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * feat(android): gesture core mirroring CompanionCore Click sequencing, long press and drags, trackpad cursor and acceleration, scroll and momentum, local zoom, driving gate and flush — 31 tests against the same behaviours the iOS suite asserts. Tasks 9-11 of the plan landed as one cycle: it is one file and one port, and Task 12's fixture is the gate that actually proves parity. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * test(android): run the shared gesture parity fixture No copy task needed: core/build.gradle.kts already points the test source set at ios/Tests/CompanionCoreTests/Fixtures, so one fixture directory already serves both platforms. Verifying the gate can fail caught a hole in the fixture itself. The long-press case ticked 0.4 then 0.5 and compared only the accumulated output, so a 300ms threshold produced the same three intents as 500ms and the sabotage passed. Added a case that stops short of the threshold and asserts nothing happens; the sabotage now fails by name. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * feat(companion): per-device browser control capability browserControlAccess mirrors cloudDesktopAccess exactly: off on every new and migrated device, granted only from the loopback control page, revocation tears down live streams. It is a separate grant on purpose. A cloud desktop is a disposable VM; a bot's browser is normally signed into the person's real accounts, so a device trusted with the first must not inherit the second. No harness change was needed: request-auth re-runs the sidecar's own denyReason, so allowlisting the two routes opened both sides at once. Corrected the design doc, which claimed otherwise. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * feat(ios): browser-live sink and input queue The sink is the only place normalised intents become device pixels, and it routes an unmodified single character to char rather than a raw keyDown the server would hold forever. The queue ports src/lib/browser-input-queue.ts: one request in flight, movement coalesced, wheel deltas summed, a 32-item ceiling that halts rather than banking input, and releases that survive the halt. settle() and drain() are deliberately different: drain abandons stale travel for hand-back, settle waits for everything. Writing the tests is what surfaced that they cannot be one method. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * feat(android): browser-live sink and input queue Ports CompanionCore's sink and queue with the same assertions: pixel denormalisation, the char-not-keyDown rule for unmodified characters, movement coalescing, summed wheel deltas, the ceiling, and releases that survive a halt. A mutex stands in for the actor; the launch happens under the lock so two callers cannot both start a pump. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * feat(mobile): browser-live transport and message decoding SSE frame stream plus the action channel on both platforms. The decoder drops an unknown message type rather than tearing down a stream someone is watching, and refuses a frame with no metadata, which cannot be mapped to coordinates anyway. Byte-at-a-time SSE parsing on iOS for the reason SSE.swift documents: AsyncLineSequence folds blank lines, which are what end an event. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * feat(ios): browser control screen and touch adapter The adapter makes no decisions: raw touches become TouchSamples and a CADisplayLink drives the core's clock so long press and momentum work. A second finger flushes the tracked touch rather than half-tracking a pinch. The screen adds the modifier bar the design calls load-bearing, a locally drawn cursor for trackpad mode, a hidden field that turns soft keyboard text into char events, and take/release with a flush on backgrounding. The 429 from a full viewer table gets a real sentence. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * feat(android): browser control screen and touch adapter Mirrors the iOS side: a pointerInput adapter that only produces TouchSamples, a frame-rate loop driving the core's clock, the modifier bar, a locally drawn cursor, and take/release with a drain on leave. The transport hangs off CompanionClient so it inherits the endpoint, scoped-IPv6 DNS and streaming timeouts rather than keeping a second copy of that setup. The Browser destination encodes and decodes with the rest of the stack, so restoring after process death does not silently drop the screen. Its entry point sits outside the cloud-desktop gate: any bot with a browser can be driven, not only cloud ones. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * fix(mobile): typing on Android, cursor placement and pan Three gaps a self-review found after the screens compiled: - Android declared a typed buffer but had no field, so there was no way to type at all. Committed text now leaves as char; Backspace stays on the bar because an empty field reports no deletion. - The Android cursor was positioned against a hardcoded 1000px rather than the box it lives in, so it only landed right by accident. - Neither zoom path applied pan on Android, which stranded a zoomed-in person at the top-left with no way to reach the rest of the page. Also, on both platforms the page's own navigation could overwrite an address someone was halfway through typing. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * fix(mobile): make the browser stream actually decode, and 8 more A code review found the client halves were broken end to end. Most severe first: - The SSE decoder keyed on a `type` field inside the payload, but the server strips the type into the `event:` name and both SSE parsers discarded `event:` lines. Every message decoded to nil, so iOS never left "Connecting..." and Android never got a viewer id, which left Take control permanently disabled. Both parsers now carry the event name, and the decoders key on it — including `ready`, which is what the server actually calls the viewer-id message, plus `control` and `heartbeat`, which were not handled at all. - Two Kotlin string templates were written as literals ("Bearer \$it", "https://\$address"), so every Android browser request went out unauthenticated and scheme-less navigation went to a bogus host. - The Android tick clock and touch clock had different origins, and pointerInput restarts on a driving change — so after taking control every tap read as older than the long-press threshold and fired a right click instead. - Direct mode set `scrolled` on any nonzero move, so a tap that wobbled a pixel scrolled sub-pixel and suppressed its own click. Now behind the drag threshold, on both platforms. - pan() and the render transform measured against the view while the mapping used the aspect-fit drawn size. On a portrait phone showing a 16:9 page those differ by 3.6x, so zoomed taps landed far from the pixel touched. ViewportMapping now exposes drawnWidth/drawnHeight and all three use it. - The Android dispose-time release launched on a scope cancelled in the same pass, so it never left the phone. - The Android mapping was rebuilt only on layout, so a viewport other than the 1280x720 default never reached the core. - The sidecar's SSE scrub ceiling was 1 MiB against browser-live's 3 MiB frames; one large frame would have torn down the stream. The proxy test that covers this hardcoded 2 MiB and now derives from the constant, so it cannot rot the same way again. Regressions added for the wobble-tap and letterboxed-pan cases: the existing tests used a square viewport where drawn size equals view size, so neither bug could have been caught. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * fix(mobile): revocation, stale clicks, held buttons and a pump race A second review pass found eight more. Most severe first: - Revoking browser control did not close a browser-live stream the device already had open, contrary to the comment promising it: disconnectDevice only ever reached /api/events and viewer relays. A phone kept watching a signed-in browser after the grant was taken away. The proxy now registers capability-gated streams per device and closes them on revoke, with a test. - A trackpad tap that never moved the finger emitted press/release with no move, so the sink stamped the click at its last coordinate — (0,0) on a fresh session — while the reticle sat where the person was aiming. Both platforms, and the parity fixture asserted the wrong shape. - iOS never called Coordinator.flush(), the only source of a release for a held button, so backgrounding or leaving mid-drag left it down. Android had this right; the design doc named the parity gap. - The Android dispose-time release enqueued into a queue built on the composition scope that the same pass cancels, so the pump never ran and drain() would have spun forever. It now sends directly. - A stale pump cleared `active` unconditionally, wiping the replacement clear() had just started and letting two pumps drain concurrently. - The Android trackpad reticle ignored letterboxing. - The 403 told people to use a Settings switch that does not exist; it now names the button, which every first-time user will need since the grant is off by default. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * test(companion): give proxy fixtures the browser capability field The field stays required on authenticate's return type, because the registry always supplies it. tsconfig.server.json type-checks these fixtures; tsc -b does not, which is why the packaged build caught this and the earlier check did not. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * fix(mobile): show the server's refusal and let a dead stream retry The first hands-on test reported "browser control is off" after the grant was already on. The server path was fine: a device with the grant opens the stream, receives ready/control/status/frame, and take returns 200. The phone was at fault twice over: - The stream threw a bare status and discarded the response body, so every 403 read as "browser control is off" whatever the server said. Both clients now surface the sidecar's or harness's own error text. - Nothing restarted a stream once it failed, and toggling the grant deliberately disconnects the device. The screen sat dead until the person backed out. It now shows Try again, which starts a fresh viewer with no state carried over from the old one. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * feat(i18n): add complete Chinese localization across desktop and mobile - Add Simplified and Traditional Chinese translations across desktop, iOS, and Android - Integrate with companion mobile apps (Android Compose strings and iOS xcstrings) - Consolidate Android review resources into base and localized strings.xml - Fix BotThreadRow Compose status coloring and preserve upstream snooze logic - Update source-hashes.json and validate catalog completeness via generate-locale.mjs * fix(android): align the notification footer and localize the thread sheet - mobile_settings_notifications_footer said "while OpenMausMobile is connected" while OnboardingCopy.NOTIFICATIONS_BODY renders SettingsPolicy.NOTIFICATIONS_FOOTER ("while MausBot is connected"): OnboardingRoutingTest could not find the body text on screen, and the two surfaces showed different copy. The English resource now matches the constant byte for byte, with the Chinese catalogs following. - Route the delete/rename/snooze error text through localizedMobileCopy so the "Couldn't update this thread. Try again." fallback reaches the Chinese catalogs (CodeRabbit review). - Map "Rename thread" so the rename dialog heading translates (CodeRabbit review). - Give the snooze dialog's title, presets, "Stop snoozing", the working notice and Cancel real string resources with Simplified and Traditional Chinese. English resource values stay byte-identical to the pinned constants and test copy ("Rename thread", "Until 6 PM", "Until new activity", "Stop this thread before snoozing it.", "Cancel"). * fix(i18n): correct Chinese mistranslations found in cross-PR review Against the English source, eleven Simplified keys (and their Traditional twins, translated in the same pass) read wrong or dropped content: - installation rendered as "workspace" (voice.grok.sharedKey, settings.section.workspaces, settings.profiles.ownerOnly) - Servers / Installations section titles mistranslated (settings.section.desktopWorkspaces, workspaces.title) - bots mistranslated as "items" (team.moveSelected) - "Task folder" rendered as a workspace (composer.tray.privateWorkspace) - "Member (chat only)" gained an approval right it does not have (workspaces.chatOnly) - Threads mistranslated as a UI thread (backup.threads) - verb "Draft" used as a noun (botAccess.grants.verb.draft) - organization.disconnectWarning dropped the daily-backups sentence Terminology now follows each catalog's own established usage. * fix(i18n): unify Chinese terminology across desktop, Android, and iOS One glossary, applied everywhere the Chinese catalogs mix terms: - thread (and conversation) -> 对话 / 對話 (was 线程, 讨论串, 对话线程, 執行緒, 對話串 across the catalogs) - installation(s) -> 安装实例 / 安裝實例 (was mistranslated as 工作区) - workspace stays 工作区 / 工作區 where the English says workspace - default -> 默认 / 預設 (zh 缺省 merged into 默认) - "bot folders" -> 机器人文件夹 / 機器人資料夾 (was 工作区) - honorifics -> 你 (您 normalized away) - quotes: "..." in Simplified, 「...」 in Traditional - stray Traditional vocabulary in the Simplified catalog normalized (纪录->记录, 帐户->账户, 设置档->配置, 软体->软件, 网路->网络) 186 zh keys, 85 zh-tw keys, 52 Android string entries and 2 iOS xcstrings entries changed. English sources, placeholders and source hashes are untouched; node scripts/generate-locale.mjs --check passes. * feat(ios): Activity and Team memory screens, with the companion routes they call (#933) The phone twins of the desktop's Activity panel and Team map → Memory. From a bot's profile: "Activity" lists what the bot did, newest first by day, each row with the app and action in words, the recorded arguments, and an outcome chip (ran, failed, running, allowed, denied, needs you). "Team memory" lists the bot's section's shared people, places, decisions and terms, answers proposals waiting for a tap (Remember / Skip), removes entries with a swipe, and adds one by hand. Both are content surfaces; the sending policy, app scopes and fallback chain stay on the desktop, where the companion allowlist has always kept execution policy. The sidecar allowlist gains GET /api/bots/:id/activity and GET/POST/ PATCH/DELETE /api/team-memory, pinned in routes.test.ts. Two fixtures captured from a disposable harness pin the wire shapes for both phone suites: bot-activity.json (an empty page — a fixture harness runs no tools) and team-memory.json (one entry of each kind, added by hand). Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com> * fix(companion): expose separate browser access grant in desktop settings * fix: harden mobile browser authorization and lifecycle * test: align integration fixtures with consent and reconnect readiness * test: align integration fixtures with consent and reconnect readiness --------- Co-authored-by: aivsomkar <aivsomkar@gmail.com> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> Co-authored-by: 择梦舟 <158067205+dreamfarer-space@users.noreply.github.com> Co-authored-by: LeaningLearner <1016823240@qq.com>ChatMarkdown handed react-markdown a components map built inline on every render. Each renderer is an element type, so any re-render with unchanged text gave React new types and it rebuilt the whole message. Re-renders come from the thread list (a thread opened or renamed anywhere, a bot renamed, the selection moving), so every visible bubble was rebuilt on those events: code blocks dropped to plain text until an effect re-applied the cached highlight, and wrap, copy, spoiler and save state were lost. - The renderers are module constants; the per-message values they need (streaming, message, image offsets, threads) reach them through one small context. - Only a message whose text can hold a thread link ("#" or an openmausbot link) reads the thread list, via a conditional use(); the rest keep bailing out in memo. - remarkPlugins is memoised on its inputs; rehypePlugins is a constant. - CodeBlock and MermaidDiagram read their caches in the useState initializer, so a remount paints highlighted in its first frame. - CodeBlock and MermaidDiagram keep a stable dangerouslySetInnerHTML object per string: React 19 compares that prop by identity, so a fresh object rebuilt the highlighted DOM on every re-render. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* Memory: never lose a note at the size cap updateMemory refused any write that left MEMORY.md over the load budget (200 lines / 24 KB) and the tool closed itself after three refusals in a turn, so a full file deadlocked: removing a few rows never made enough room, and the notes were lost ("I will retry next turn"). Capture dropped its facts the same way, silently. Now a write never fails for size. In the same synchronous call the oldest dated entries (struck-through first, then expired, then the oldest live ones) move to memory/archive.md, marked "moved <date>"; hand-written lines, health and safety facts, a fenced line and the new entry never move. The archive is written first, with no await before MEMORY.md. session_search still finds archived lines, and the bot is told exactly which lines moved. One budget: what is stored is what loads. One fact is at most 1,000 characters. Removed: the over-budget refusal and its shrink exception, MemoryBudgetRefusal, MEMORY_REFUSAL_RECENT_ENTRIES, recentEntries, MEMORY_CONSOLIDATE_HINT, the "Consolidate it now" prompt text, the 413 mapping, MAX_MEMORY_REFUSALS_PER_TURN and memoryRefusalsThisTurn, the capture "MEMORY.md is full" flag, and the tidy-only archive writer (tidy and the size rule now share appendMemoryArchive, which no longer replaces an archive it cannot read). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Memory: keep memory_update's description within the catalog budget The new "never fills up" sentence pushed every tools/list profile past its 2% wire budget. Say the same in fewer words instead of raising the baseline: drop "Never overwrite the full file from a stale thread snapshot" (covered by "never direct file writes"), "marks the entry updated" and "rather than was mistyped". The description is now shorter than on main; goldens regenerated (only memory_update changes). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Memory: move whole entries, cap entry lines, short replies (review fixes) Review fixes for the size rule: - An entry now owns the lines under it: indented ones (how a code block is written into an entry now, Markdown's list rule) and a code block it opens, through the closing fence (how such entries were written before), never past the next dated line and never through a fence that does not close. makeRoom moves and counts whole entries, so a fence is never left behind and the `includes("```")` exclusion is gone. - memory_update text is at most 20 lines as well as 1,000 characters, so one code block cannot fill what loads. - The reply names the first 5 moved entries by their first line and counts the rest, instead of echoing every moved line. - The success result is { ok, truncated, entry, moved }: no re-read of MEMORY.md, no unused text/bytes. - The rule is stated once, in memory_update's description; the managed prompt only says to change MEMORY.md with memory_update. - One archive label from code in the topic index; the archive is created without a header. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* fix(ios): fold Updates lines by the Activity setting and show webhooks as their task (MOCA-204) The line under a chat on the Updates pill and sheet, the island, Live Activities, the home-screen widget and Walkie came from Updates.swift, which read the raw last message. Two leaks followed: - A webhook run ending on its prompt showed the whole envelope ("[DEFAULT WEBHOOK INSTRUCTIONS] ... Delivery ID: ... Sender: ..."), though the chat list already reduces it to the task. - A tool step's name, often a raw shell command, showed even with Activity = Hidden, so Hidden meant hidden in the chat but not on these surfaces. updates(detail:) now takes the reader's Activity setting. The to-review line reads by the roster's rule (rosterPreview: webhook task, folded tool runs, no digest), and the working line names a tool step only when Activity is not Hidden; a status notice still shows. Every app caller passes the stored setting. The widget extension cannot read the app's settings, so a WidgetSnapshot now records the setting it was written under and the extension's own refresh reuses it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(android): fold Updates lines by the Activity setting and show webhooks as their task (MOCA-204) Port of the iOS change. The Updates pill and sheet read the raw last message: a webhook run ending on its prompt showed the whole envelope, and a tool step's raw command showed even with Activity = Hidden. updates(detail) now takes the reader's Activity setting. The review line reads by the roster's rule (rosterPreview: webhook task, folded tool runs, no digest), and the working line names a tool step only when Activity is not Hidden; a status notice still shows. The roster and the sheet pass the setting they already collect. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(screenshots): MOCA-204 Updates sheet at Full and Hidden (iOS) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* fix(ios): put Stop in the composer while a turn runs (MOCA-148) The desktop shows a Stop button in the composer whenever a bot or room is working. On the phone the only way to stop a turn was Interrupt in the + menu, which few people found ("Cancel exists on macOS, missing on iPhone"), and rooms had no way at all. The composer now shows a Stop button beside the mic while the conversation is busy. It stops that conversation's own thread: a bot through /api/bots/:id/interrupt, a room through the new interrupt(groupId:threadId:) on /api/groups/:id/interrupt, which the companion already allows. The mic stays, so a steer can still be dictated mid-turn. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(android): put Stop in the composer while a turn runs (MOCA-148) Port of the iOS change. The Interrupt chat action was the only way to stop a turn, and rooms had none. The composer now shows Stop beside the mic while the conversation is busy; it stops that conversation's own thread: a bot through interrupt(botId, threadId), a room through the new interruptRoom on /api/groups/:id/interrupt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(mobile): offer Stop while a room works between speakers (MOCA-148) Review follow-up. The phones counted a room as busy only while busyBotId named a speaker, but a room run also routes, waits on a member busy elsewhere (up to 30 minutes) and hands off between speakers. The desktop shows Stop through all of it (group.working || busyBotId), and the server sends `working` on every room; the phones never decoded it, so the new room Stop vanished in those stretches. Both phones now decode Room.working and gate Stop on a new Chat.canStop (busy for a bot; busyBotId or working for a room). `busy` keeps its meaning everywhere else. Android's projection of a sibling room thread drops `working` as it drops busyBotId. Android: Stop now takes the mic's slot while it shows, as on the desktop. A fourth 48dp target left a 360dp phone's field about 60dp wide. A running dictation keeps its mic so it can be stopped. Also adds the iOS screenshot for the PR. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>Table repair and math normalization each ran their own GFM parse of the whole message on every render, on top of react-markdown's parse. Their result depends on the text alone, so ChatMarkdown now keeps it per text in a module-level cache ({ source, imageOffsets }), capped at two transcript windows (240 messages, oldest out first). A bubble that renders again (a thread list change under a message holding a '#') or mounts again (thread revisited, raw view toggled off) skips both parses. Tests: a parse spy shows the pre-passes run once per distinct text across renders; the repeated-image offset test now renders twice and checks the cached offsets; the cache stays bounded and keeps the newest. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>A room member's failed turn is stored as the same row a 1:1 failure is ("error: …" with setup/claudeUpdate; the room copy only adds `from`), but the room rendered it as a tool pill: the CLI's raw "Not logged in · Please run /login", cut at 30rem, with no sign-in. A long plan-limit refusal lost its "Delete one to start another." the same way. - Rooms render failed turns through FailedTurnRow, the component the 1:1 chat now uses too, for the engine that member's turn ran on. - src/lib/failed-turn.ts is the one mapping from an "error: …" row to what a person reads: the chat row's headline and the sidebar preview. - ErrorRow: when the engine reads signed out and its card is the sign-in, the row opens with one translated sentence ("Claude isn't signed in yet. Sign in below, then send your message again."); the CLI's words move under Details, as the Mac permission case already did. - EngineSetup.offersSignIn() shares the card decision, so the sentence never promises a sign-in the card does not show (API-key engines, a Claude update offer, engines that cannot be set up here). - Sidebar previews (1:1 and room) drop the "error:" marker and say "<engine> isn't signed in" for a signed-out engine. - 3 strings in all 10 locales; source hashes accepted with the repo script. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>ci-stop-closed.yml joined the group ci-${{ github.ref }} to stop a closed PR's run. For a merged PR the closed event reports the base branch as github.ref, so the stop run joined main's group with cancel-in-progress and cancelled main's CI in the same second, on every merge. Every main run since 07:55 UTC on Oct 3 was cancelled this way. PR runs now share a group named by the PR number (ci-pr-<n>) in both workflows; main and merge-queue groups are unchanged. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* Teammate availability leaves the cached half of the system prompt Every roster line carried a teammate's live status ("available", "working right now"), and the roster sits in the stable half of the system prompt. One teammate starting or finishing work changed that half: Claude relaunched its CLI session, Codex re-sent its developer instructions and ACP/pi re-sent the whole prompt. Roster lines now carry name, role, Chief flag and id only. Who is busy moves to one short line in a new volatile "availability" section ("Team availability: Patch (working right now); every other teammate is available."), built by teammateAvailabilityPrompt from the same reachable team. Direct turns, room turns and the settings preview all add it, so no turn loses availability and the stable half stays byte-identical when a teammate's status changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Availability line: name ids, and frame names as typed labels Review fixes. Two teammates with one name could not be told apart in the availability line, so each entry now carries its id like the roster does. The line sits outside the roster's fence, so it now says that names are labels somebody typed, never instructions; ids get the same bracket stripping as names. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Availability line: call overflow teammates "not free", not "busy" Review fix. The overflow count covers every status that is not available, including waiting on the user and needing setup, so "busy" was not accurate. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Availability section: define it once, and stop listing volatile sections elsewhere The direct turn, the room turn and the settings preview each spelled the availability section out by hand. Its id is what puts it in the volatile half, so a call site that spelled it differently would quietly put it back in the stable half, and no test would notice. teamAvailabilityPart in system-prompt.ts now builds it for all three and for the unit test. The openai-compat e2e now checks a real direct turn: the availability line arrives in the turn's context note, never in the system message, and the preview reports an availability section. contracts.ts, prompt-split.ts and codex.ts listed which sections are volatile and had gone stale; they now point at VOLATILE_SECTIONS. The model-facing "context notes ... have been cleared" note no longer names sections, since its list was already missing two of them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>- A server's own page no longer starts a copy to itself: everything it says about itself is its own word. Its Copy opens this computer's Settings → Servers on that server's copy panel, where the person starts it. Only the Admin-verified Cloud (cloudPageSenderAllowed) starts from its own page. - A 413 on an upload part is a proxy: parts halve to 512 KB, then the copy fails proxy_limit naming the size and the setting to raise (resumable). - Copying again over a server that keeps a Swap back backup says, in its one message and on its button, that the {date} backup is deleted. - Shared means someone besides the owner can sign in (sharedSignIn): the owner's own email no longer blocks the copy. - One vocabulary: the engine applies moveBlocked and raises `outdated`; the UI maps blocked and failed codes through one errorText and actionFor. - One restartPolicy in server/restart.ts; the three launchers only ask policy.again(code, stopping). Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>The Usage card in a bot's settings had its labels written in English ("Usage", "All bots", "Turns", "Tokens", "Cost" and two sentences), so in any other language it rendered mostly English around one translated fragment. Its "Tokens" figure is also the new-token count, which the app-wide Usage screen now labels "New tokens" (#1878). The card now uses the existing translated usage strings, the same "New tokens" / "Tokens" label as the Usage screen, and two new strings for its empty and no-price lines, translated in every language pack. Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Co-authored-by: milind-soni <milindsoni201@gmail.com>A Claude Code install pointed at another provider through ~/.claude/settings.json usually names its models with ANTHROPIC_CUSTOM_MODEL_OPTION (the extra /model entry) and ANTHROPIC_DEFAULT_{OPUS,SONNET,HAIKU}_MODEL. OpenMausBot read only ANTHROPIC_MODEL, so those models were missing from the Claude model picker, while turns already reach the same endpoint through the carried ANTHROPIC_BASE_URL and key. List them under "Use a local model": the custom option with its ANTHROPIC_CUSTOM_MODEL_OPTION_NAME label, and each tier model that is not an official Claude id. Accept Claude Code's `[1m]` suffix in a model id, which modelContextWindow already reads. The env values still never reach the bot's CLI; a bot runs only the model picked for it. The model providers page and its test say so. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>* Chat transcript rows re-render only when their own message changes Every store event re-rendered every mounted row of the open chat: the list and each bubble called useStore(), so another bot's busy flip or a tool chip patched elsewhere redrew all of them, and each user bubble rescanned the whole thread for its edit versions. Rows are memoized now. Bubble and ActivityChip take their message and shared callbacks that take the message they act on; what every row also reads (bot id and name, busy, the rosters for @mentions and avatars, the search focus, speech settings, the language) comes from one ChatRows context whose value changes only when one of those does. The rosters keep their identity until a field a row draws changes, as ThreadRefsProvider does. The read-aloud button takes the speech settings from it instead of following the whole store. A routine-run receipt still follows the store on its own, since it needs to know whether its thread exists. The visible branch is keyed on the transcript, not the whole bot, and the transcript window hands back its previous array when it holds the same messages. Edit versions, reply targets and the Retry row are worked out once per message list (src/lib/transcript-derivations.ts). Times and day labels come from cached formatters: formatTime keeps the system locale it always used, the shared dayLabel (1:1 chats and rooms) rebuilds its formatter when the app language changes, and new-day breaks compare whole local-day numbers. Separators take today's day number, so Today moves on to Yesterday after midnight as before. Deletes messageVersions, the bot prop on MessagesList, the per-bubble version scans and per-row reverse/find scans, and the second dayLabel. Adds happy-dom as a dev dependency for the render-count test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Chat rows: follow the device voice choice, drop the window reuse Review fixes for the chat rows change. - The read-aloud button read the paired Mac's voice choice ("This Mac" or "Host voice") from local storage inside the button. With the button no longer following the store, a switch stayed stale until the next busy flip. ChatView now reads it once per store event and hands it to the rows with the speech settings. - resolveTranscriptWindow no longer hands back the previous window. MessagesList takes the whole branch and its lookups, so it renders on any branch change anyway; the reuse only skipped one grouping pass. - Bubble loses isLastBotText: only the last answer gets onRegenerate, so that prop already says it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* Sidebar rows re-render only when their bot or thread changes Every store event re-rendered every bot row and every open thread row: each row called useStore(), so another bot's message, a screen frame or a settings toggle redrew the whole list, and each bot row worked out its visible branch twice (once for the row, once for the preview). Bot rows (BotListItem and the pinned circles) are memoized now. The sidebar works out each row's props once per store event in botRowProps: whether it is selected or being deleted, the mascot nudge and thread reveal when they are its own, the queue, engines, live call, language and the dispatch. The visible branch is worked out once per transcript and feeds the preview, the mascot and the thread list's live verb. The thread list under a bot row takes the row's props, and the activity hatch takes the queue and dispatch, so neither follows the store. Thread rows are memoized too. Their actions take the thread they act on, so a bot or room hands every row the same functions, and a row renders when a field of its thread changes, not when its list rebuilds the task object. The list's 30-second clock reaches only rows whose stamp reads relative ("5 min ago"); a stamp a week old is a date and skips the tick. Rows take the app language, so a language change still re-renders them. Deletes the per-row useStore() calls, the second visibleMessages call per bot row, BotThreadList's own visible-branch walk, and the inline per-row callbacks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Thread rows: one week rule for stamps, one shallow compare threadUpdatedLabel now asks stampClock whether a stamp reads relative, so the week cutoff, the rounding and the missing-stamp check live in one place. Before, the label kept its own copy of the gate and a change to one would have left sidebar rows and the picker disagreeing about the same thread. Output is unchanged: an invalid stamp still reads "" and a stamp a week old still reads as a date. The row comparator reuses sameFields for the props as well as the thread, instead of a second hand-written key-count and Object.is loop. Adds a direct stampClock test at the week boundary and for a missing stamp or clock. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>team-memory "stays under its byte budget": the test proposed and accepted 400 entries one at a time, which is 800 atomic saves (open, write, fsync, close, rename) of a JSON file that grows to 175 KB — 70 MB written in all. fsync is 3.2 s of the 4.5 s on macOS; the Windows runners took 21.7 s and hit the 20 s timeout. The budget is systemPrompt's, so write the 400 accepted entries once as the saved file and read them back: 4 ms. The test still fails when the cut is removed (29 511 > 6 400 bytes) and when it cuts oldest-first ("Term 399" missing). dispatch-supersede eval: the second message was sent as soon as the lead's handoff node read "running" on disk — which happens inside the Chief's dispatching turn. On a slow runner that turn had not settled, so the harness steered the text into it (the Windows evidence shows the turn-0 system prompt and a steer uuid on the prompt) and no new turn or prompt with the outstanding-work note was built. Reproduced locally by slowing the Chief's turn 0 by 1.5 s. Wait for the Chief to be idle before sending: that is the state the pin describes. The scenario still fails when outstandingAssignmentsPrompt is emptied, and passes under the slowdown. Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>Electron 43's safeStorage.decryptStringAsync resolves to { shouldReEncrypt, result }, not a string. The encrypted sign-in store (electron/managed-desktop.mjs, also used for the Cloud account, the organization connection, its library and the backup schedule) ran JSON.parse on that object, so every saved sign-in failed to read on the next launch and showed "could not be read. Unlock your system keychain". The store now reads `result` (or a bare string, as the tests' fakes return), like secure-credentials.mjs already does. New test uses the real Electron 43 shape; with the old line it fails, with the fix 553/553 Electron tests pass. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* OpenAI-compatible chats stop after 64 steps, with a plain next action The shared chat-completions loop (openai-compat, Grok, MiniMax, Mistral, Cerebras) stopped every reply after 16 model steps, and capped the whole turn at 32 tool calls with the same constant that bounds one reply's call indexes. Tool-heavy models hit that fast, and "continue" cannot recover because the next turn is rebuilt from the text transcript without the earlier tool results. - MAX_CHAT_ROUNDS = 64 model steps per turn. - MAX_TURN_TOOL_CALLS = 200 tool calls per turn, checked before a batch runs, so a batch that would pass it runs none of its calls. - MAX_REPLY_TOOL_CALLS = 32 stays the per-reply index bound (renamed from MAX_CHAT_TOOL_CALLS so the two limits are not confused). - The stop now reads "Stopped after 64 steps without a final answer. Try again with a smaller part of the task." (or "200 tool calls"). No per-bot or per-thread setting. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Grok logs each step by message count; per-reply bound is file-private Review fixes for the 64-step limit: - Grok's native log wrote the whole message array on every step, so with 64 steps the log grew with the square of the step count (8.4 MB for a 20-step turn with 20 KB tool results in the new test). It now logs { model, messageCount } like Cerebras, MiniMax and Mistral. - MAX_REPLY_TOOL_CALLS is no longer exported; only its own file uses it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * The step-limit stop asks only for what's left, not a retry The calls that ran before the stop have already taken effect, and the next turn does not get their results. "Try again with a smaller part of the task" could lead someone to resend work that already ran. The stop now says the steps so far already ran and asks only for what is left. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>A Live call whose microphone was refused used to guess who refused it from the server's own config (cloudHome), which says nothing about what the desktop app decided. It also never offered a button, even though the notice said "then try again". - The desktop app now answers `pageMic` ("allowed" | "refused") on perm:status. It is the permission request handler's own verdict for the asking page's microphone (appPermissionHandlers().pageMicrophone), so it follows whatever rule decides the request. - The page decides by who refused: - the app refused this page (or an older app that does not say, on a server's page): "The app didn't let this page use the microphone. Open it in your web browser to make the Live call." with Open in browser; - the computer refused: its privacy settings, with Try again; - the browser refused: the site's permission, with Try again; - no microphone: connect one, with Try again. - LiveMediaState.canRetry becomes `action: "retry" | "open-in-browser" | null`, and the bar renders that one action through takeLiveCallAction(). - Deleted: call.live.micServerPage, the cloudHome argument to startLiveCall, and the "hopeless" treatment of a blocked microphone. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>Subscribers met about ten names for three things: "OMB Cloud", "your Cloud", "Cloud box", "Hosted desktop", "Cloud VM", "Boat cloud runner", "Cloud dashboard", "Connect to my Cloud", "Local (this computer)". Every word a person reads now uses one name per thing: - OpenMausBot Cloud: the plan, and its sign-in (Settings → OpenMausBot Cloud). - My Cloud: the always-on home ("Open My Cloud" was "Connect to my Cloud"). - Cloud computer: the desktop in the cloud. Every Works on control uses place.cloud; vm.dest.cloud and computer.simple.dest.cloud are deleted. - This computer: the device (the Server menu said "Local (this computer)"). - Plan page: the web page with plan, payments and use ("Cloud dashboard"). - "OMB" is never shown, "Cloud" alone never names a Works on choice, and "Boat" names only the provider behind a person's own key. This covers all of en.json and the hard-coded strings in src/, server/ (system prompt, routine copy, team computer and run_on errors, Cloud home refusals, CLI setup) and electron/ (Server menu, lending tray, cloud move, pairing errors). "including one from T3" is gone. On My Cloud, routines say they run on schedule even when your computer is off (one pure routineRunsOn for the drawer and the editor). The sign-in limits line is a plain note, not a warning box. pro.* and ProIntroduction.tsx are untouched (open PR #2260 owns them); the new test exempts pro.* until that lands. "Local VM" keeps its name. Locales: 461 translations refreshed by hand in 9 packs, place.cloud added to 7 packs, hashes accepted with scripts/generate-locale.mjs --accept. Tests: src/locales/vocabulary.test.ts bans the retired words in en.json, in every string literal, template and JSX text under src/, server/, electron/ and shared/ (TypeScript parser, so comments and identifiers do not count; 9 explicit allow-list entries with reasons, and a stale entry fails), and in the translations; it also checks that copy pointing at a control names it as labelled. src/lib/routine-display.test.ts covers the routine place on My Cloud and on a desktop. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>On a Cloud, in a browser, or in the Windows or Linux app, a one-to-one chat's call button is now the Live call: no amber dot, no "Call unavailable", no trip to This computer. The first press asks for the OpenAI key, saves it where the page runs, and goes on to the call. - call-mode: effectiveCallMode(stored, { turnsHere, canLive }) makes the call Live where this device can't take turns; the picked mode is kept for This computer on a Mac. - CallView: the button uses it; the arrow menu shows Take turns disabled with its reason and Live selected. "Choose This computer" is gone. - call-capability: no action. A Mac app on a server's page says "Calls where you take turns work on This computer". - GroupCallView: no room call button where taking turns can't run (rooms have no Live call, so that button could never start). - call: a server's page in the desktop app (My Cloud) has no speech bridge, so startCall/endCall threw before a Live call asked for the microphone. They now skip the missing bridge. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* iOS: drop the name pill under the chat header; Threads names the thread The bar under the face repeated the bot's name and the thread title and opened the same thread list the Threads button already does. It is gone; the face sits alone between the buttons. Threads now carries the current thread title as its accessibility value, and a room's face says the room's name and member count, since the pill was the only place that showed them. UI tests that tapped the pill or read its label now use the Threads button and its value. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * iOS: stack a question's answers one under another A question card's options are sentences, and sharing a row at one fixed height cut them off ("Yes, from your Gmail — I'll give subject and b…"). Questions and proposals now stack their answers full width, wrapping onto as many lines as they need, in rounded rectangles. Approval and outbound cards keep Allow and Deny side by side, exactly as before. The rule is OptionCard.stacksOptions in CompanionCore. The approval preview gains a bot with a long-option question, and a UI test measures the stack. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Android: drop the name pill under the chat header; add a Threads chip The pill under the face repeated the bot's name and the thread title and was the only way to the thread list. It is gone, and the header gets the Threads chip iOS has, beside the computer, named for the thread you are on. Call moves beside Back, as on iOS, so the right side has room. The chip keeps its word only when it measures as fitting between the computer and the face; on a narrow phone or at a large font size it is a glyph, so it never reaches under the face. The transcript's top clearance shrinks from 128 dp to the 80 dp of the strip and its fade. A room's face now says the room's name and member count. Thread navigation tests open threads from the chip and read its description; new ones check that nothing in the header overlaps the face at 360 dp, at 412 dp, and at 412 dp with a 1.5x font. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Android: stack a question's answers one under another A question card's options sat in a row of wrap-content buttons, and a sentence-long answer pushed the next off the card. Questions and proposals now stack full-width buttons with centred, wrapping labels; approval and outbound cards keep Allow and Deny in a row. The rule is OptionCard.stacksOptions in core, mirroring iOS, with a Robolectric test measuring both layouts on a 393 dp phone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * iOS: answer a question in words, on its card or from the composer A bot's ask_user question with no choices drew a card with nothing to tap and no box to type in, and a line typed in the composer was steered into a turn the bot could not read while it waited, so it stalled. - A flat question card now has an answer field under its options, open on its own ("Type your answer") when there are none. It sends through the same answer route as the buttons. Approvals, held sends and proposals are unchanged. - A structured question with no options opens straight to its field instead of a lone "Other" row. - While the chat waits on exactly one question that asks one thing, and nothing is attached, the composer reads "Answer <bot>…" and Send answers that question instead of steering. A structured card gets the same "Q: … A: …" text its own card sends. If the question already closed, the line goes out as an ordinary message; if the answer fails, the words stay in the composer with the reason under them. - The rule is ComposerQuestion in CompanionCore, with tests. - New strings in pt-BR, zh-Hans and zh-Hant; a -question-preview fixture and UI tests with screenshots. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Android: answer a question in words, on its card or from the composer The same fix as iOS. A bot's ask_user question with no choices drew a card with nothing to tap, and a line typed in the composer was steered into a turn the bot could not read while it waited. - A flat question card now has an answer field under its options, open on its own ("Type your answer") when there are none. Approvals, held sends and proposals are unchanged. - A structured question with no options opens straight to its field instead of a lone "Other" row. - While the chat waits on exactly one question that asks one thing, and nothing is attached, the composer reads "Answer <bot>…" and Send answers that question instead of steering. If the question already closed, the line goes out as an ordinary message; if the answer fails, the words go back into the composer with the reason under them. - The rule is ComposerQuestion in core; Client.respond now reports the harness's outcome so a closed question can be told from an answered one. - New strings in values, values-b+zh+Hans and values-b+zh+Hant. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: milind-soni <milindsoni201@gmail.com>* Delete the Computer engine: every turn runs on the bot's own engine The Computer engine ran a whole turn on Boat's own agent (POST /boxes/{id}/prompt). That agent has no AI sign-in on an OpenMausBot Cloud, which is the hosted-desktop bug, and it was the one place Auto attached a Boat. Decision D5 removes it from every install. - Delete server/drivers/boatagent.ts and its tests, the "computer"/boxAgent default-fleet entry, the remoteAgent capability, the integrations.computer hand-off and every remoteAgent branch in startTurn, rooms, team computers, the panel preview and select_computer. Auto never reads the Boat account. - canWorkOnCloud is one rule: an engine with computer tools can use a cloud computer, on Boat or a VPS. boatTurnLifecycleAction loses its Auto branch. - One-time move: a bot (its model, each conversation's model, its backups) on the Computer engine moves to the engine a new bot gets, chosen by the ready rule now shared in default-model-selection.ts, and keeps Works on. Its conversation gets one plain activity line. A saved fleet entry for the engine is dropped, so it is never offered and the next save leaves it off. - New Boats no longer receive this server's AI keys: they only existed so Boat's agent could sign in. - Delete the omb-ask output protocol only that engine used; older cards keep their badge. - Phones: Cloud VM routines need an available engine with computer tools, not a Boat agent; their footer copy says so (iOS catalog translated). - Docs and fixtures no longer register or describe the engine. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Computer engine removal: keep each conversation where it worked (#2329 review) The one-time move now keeps every conversation working where it did. On Auto, the removed engine always ran on the bot's own cloud computer, so a moved Auto bot gets Works on: Cloud computer, and a moved conversation of an Auto bot gets an automatic pin there. That happens only where this server has cloud computers, the bot's backend is Boat, and no team computer serves its section. The move also: - puts each line in the conversation that moved, and claims a cloud computer only where one is still used; - updates the new-bot defaults in memory as well as on disk; - switches off an automatic-recovery backup that named the engine; - applies the existing engine-switch rule to permission levels; - runs again from describeInstances when no engine was available at start. There is one engine picker again. selectReplacementModelSelection is deleted, the move calls defaultSelection(), and selectDefaultModelSelection takes the plan's ready-first rule, keeping the enrolled preference for personal engines. Boat and a self-hosted VPS follow one rule, so the obsolete VPS-only checks are gone: computer.err.vpsEngine (all locales, through the locale check), the panel's unreachable branch, and the picker's disabled VPS option with its canUseVps plumbing. On iOS and Android, a Cloud VM routine now checks the routine bot's own engine, the rule the desktop and the server use. The footers say "bot" and "cloud computer" and no longer ask for a Boat API key. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Vocabulary check: drop allow-list entries for the deleted Computer engine Main's one-vocabulary check (#2337) allowed "Boat" in the Computer engine's surface note and in computer.err.vpsEngine. This PR deletes both, so the entries no longer match anything and the check's stale-entry guard fails. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* Desktop: read a held outbound action as its app and actions, like the phones A small helper ports the phones' rules: "Send to Linear?" (or "Send on your behalf?" for several apps), and one summary line that collapses repeats with ×N and names at most three actions. Cards from older computers without outboundRequest.calls are read back from the subtitle. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Desktop: approval card and composer strip say "Send to Linear?" instead of the tool slug A held Linear comment read "Kiwi wants to LINEAR CREATE LINEAR COMMENT" on the card and "Approval requested · LINEAR_CREATE_LINEAR_COMMENT" above the composer. Both now show the headline and summary line; the request text, status line and buttons are unchanged. A Composio slug on a plain permission card reads as words ("wants to create linear comment"). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>Live calls, browser and computer control, and the Chief of Staff badge wrote their copy straight into Kotlin, so a phone set to Chinese still showed them in English (MOCA-291). They now go through localizedMobileCopy and the string catalog like the rest of the app: the call bar, banner and settings sheet (buttons, labels, sections, minute choices, errors), every call status and end notice from LiveCallRules ("Connecting…", "Call ended.", "Live with Ada" and the "From your computer" / "already running from …" variants), the browser control buttons, chips and errors, and "Open browser". Messages set outside a composable move to named constants and are translated where they are shown, so LiveCallRules and its tests are unchanged. 56 strings are added with Simplified and Traditional Chinese, plus "Live with %1$s", "Try again — %1$s" and "%1$d minutes". CallAndControlCopyTest fails when these screens hand English straight to the UI, and checks a Chinese phone sees Chinese. Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Co-authored-by: Milind Soni <46266943+milind-soni@users.noreply.github.com>* Delete the Computer engine: every turn runs on the bot's own engine The Computer engine ran a whole turn on Boat's own agent (POST /boxes/{id}/prompt). That agent has no AI sign-in on an OpenMausBot Cloud, which is the hosted-desktop bug, and it was the one place Auto attached a Boat. Decision D5 removes it from every install. - Delete server/drivers/boatagent.ts and its tests, the "computer"/boxAgent default-fleet entry, the remoteAgent capability, the integrations.computer hand-off and every remoteAgent branch in startTurn, rooms, team computers, the panel preview and select_computer. Auto never reads the Boat account. - canWorkOnCloud is one rule: an engine with computer tools can use a cloud computer, on Boat or a VPS. boatTurnLifecycleAction loses its Auto branch. - One-time move: a bot (its model, each conversation's model, its backups) on the Computer engine moves to the engine a new bot gets, chosen by the ready rule now shared in default-model-selection.ts, and keeps Works on. Its conversation gets one plain activity line. A saved fleet entry for the engine is dropped, so it is never offered and the next save leaves it off. - New Boats no longer receive this server's AI keys: they only existed so Boat's agent could sign in. - Delete the omb-ask output protocol only that engine used; older cards keep their badge. - Phones: Cloud VM routines need an available engine with computer tools, not a Boat agent; their footer copy says so (iOS catalog translated). - Docs and fixtures no longer register or describe the engine. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * A cloud computer starts only when the bot uses it A bot set to Works on: Cloud computer created or woke its Boat at the start of every turn, even for "hi", and nothing put it back to sleep, so a plain chat used plan hours. Choosing Cloud computer or opening the Computer panel started it too. The turn now mounts the cloud computer's tools and leaves the Boat alone. The bot's first computer call creates or wakes it, through the same lazy claim the VPS lease and the Local VM already use (mountBotBoat beside mountBotVps, fired by the computer-control gate). One mechanism in a bot's chat, a room, a pinned conversation and a cloud routine; the Computer engine, whose whole turn runs on its Boat, keeps its eager attach. - The gate waits on a start that is still running (up to 45 s a call, under Codex's 60 s tool limit) instead of calling it contention. - A failed start writes the row a failed attach always wrote: the cause and the place's one next action; a select_computer pin is cleared. - A Tool selection without the computer is refused before any Boat call, and select_computer no longer offers a computer the tools cannot reach. - A signed-out engine never reaches a computer call, so it fails with the existing sign-in row and makes no Boat call. - Each waitReady request ends with the 90 s budget, so a stalled relay can no longer hold a start until the 20-minute watchdog. - The chat shows one line while it starts: "Starting {name}'s cloud computer. The first start takes about a minute." or "Waking {name}'s cloud computer…". It ends with the first frame or the turn. - The Computer panel only looks. It says when the computer will start and offers Start it now / Wake it now; ensure-boat and its provision-on-open branches are deleted. A conversation select_computer moved to the cloud computer still shows its screen. The fake Claude CLI can now use the cloud computer it was launched with (FAKE_CLAUDE_USES_CLOUD_COMPUTER), so the end-to-end suites exercise the first computer call instead of a dispatch-time attach. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Computer engine removal: keep each conversation where it worked (#2329 review) The one-time move now keeps every conversation working where it did. On Auto, the removed engine always ran on the bot's own cloud computer, so a moved Auto bot gets Works on: Cloud computer, and a moved conversation of an Auto bot gets an automatic pin there. That happens only where this server has cloud computers, the bot's backend is Boat, and no team computer serves its section. The move also: - puts each line in the conversation that moved, and claims a cloud computer only where one is still used; - updates the new-bot defaults in memory as well as on disk; - switches off an automatic-recovery backup that named the engine; - applies the existing engine-switch rule to permission levels; - runs again from describeInstances when no engine was available at start. There is one engine picker again. selectReplacementModelSelection is deleted, the move calls defaultSelection(), and selectDefaultModelSelection takes the plan's ready-first rule, keeping the enrolled preference for personal engines. Boat and a self-hosted VPS follow one rule, so the obsolete VPS-only checks are gone: computer.err.vpsEngine (all locales, through the locale check), the panel's unreachable branch, and the picker's disabled VPS option with its canUseVps plumbing. On iOS and Android, a Cloud VM routine now checks the routine bot's own engine, the rule the desktop and the server use. The footers say "bot" and "cloud computer" and no longer ask for a Boat API key. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * A lazily started cloud computer reports its failures and keeps its place Review fixes for the lazy cloud computer start: - select_computer counts the cloud computer a turn starts on its first call as already selected, for "cloud" and "auto", so the request is not restarted or pinned elsewhere (pickComputer, server/computer-selection.ts). - A room member whose cloud computer can't start writes one row under its name with the cause, reports it, and ends; a parked start registers its resume (roomTurnEnd, server/room-turn-end.ts). - A lazy start's failure reaches onDispatchError, so a cloud routine's run records the cause instead of "interrupted". - The Computer panel stops polling once a turn ends on any conversation on the cloud computer, and shows a spinner only while it really starts. - The tools-off refusal gives one action. - "Still starting" is said only once this turn holds the computer, and the whole start has a 150 s budget, ending a stalled start with one row. - boat-included.test.ts budgets fit a request that ends with its budget. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Vocabulary check: drop allow-list entries for the deleted Computer engine Main's one-vocabulary check (#2337) allowed "Boat" in the Computer engine's surface note and in computer.err.vpsEngine. This PR deletes both, so the entries no longer match anything and the check's stale-entry guard fails. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Computer engine removal e2e: the cloud turn makes its first computer call With the cloud computer started lazily, a turn creates the Boat on its first computer call, not at dispatch. The fake CLI now takes that screenshot the way a model would, so the test still sees exactly one Boat per bot and no call to Boat's own agent. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>Every MCP message the broker relayed first fetched the installation's Composio Session again (GET /tool_router/session/{id}) and only then posted the message, so each JSON-RPC call paid two serial Composio round trips. Every request also queued a D1 write of last_seen_at. The MCP relay now reuses a Session this isolate verified in the last five minutes. Entries are keyed by the session_id D1 returns for the request and capped at 1,000. Any non-2xx or failed upstream response drops the entry. A message without an mcp-session-id (normally an initialize) that gets a 404 or 410 from a Session Composio has since deleted looks the Session up again and is resent once, as the per-message lookup would have done; a 404 or 410 from the MCP URL means nothing was dispatched. With an mcp-session-id the 404 passes through as before. Connector-management routes still check the Session every time, and authentication and rate limiting are unchanged. last_seen_at is now written at most once per ten minutes per installation. Nothing reads it more finely. Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>* Delete the Computer engine: every turn runs on the bot's own engine The Computer engine ran a whole turn on Boat's own agent (POST /boxes/{id}/prompt). That agent has no AI sign-in on an OpenMausBot Cloud, which is the hosted-desktop bug, and it was the one place Auto attached a Boat. Decision D5 removes it from every install. - Delete server/drivers/boatagent.ts and its tests, the "computer"/boxAgent default-fleet entry, the remoteAgent capability, the integrations.computer hand-off and every remoteAgent branch in startTurn, rooms, team computers, the panel preview and select_computer. Auto never reads the Boat account. - canWorkOnCloud is one rule: an engine with computer tools can use a cloud computer, on Boat or a VPS. boatTurnLifecycleAction loses its Auto branch. - One-time move: a bot (its model, each conversation's model, its backups) on the Computer engine moves to the engine a new bot gets, chosen by the ready rule now shared in default-model-selection.ts, and keeps Works on. Its conversation gets one plain activity line. A saved fleet entry for the engine is dropped, so it is never offered and the next save leaves it off. - New Boats no longer receive this server's AI keys: they only existed so Boat's agent could sign in. - Delete the omb-ask output protocol only that engine used; older cards keep their badge. - Phones: Cloud VM routines need an available engine with computer tools, not a Boat agent; their footer copy says so (iOS catalog translated). - Docs and fixtures no longer register or describe the engine. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * A cloud computer starts only when the bot uses it A bot set to Works on: Cloud computer created or woke its Boat at the start of every turn, even for "hi", and nothing put it back to sleep, so a plain chat used plan hours. Choosing Cloud computer or opening the Computer panel started it too. The turn now mounts the cloud computer's tools and leaves the Boat alone. The bot's first computer call creates or wakes it, through the same lazy claim the VPS lease and the Local VM already use (mountBotBoat beside mountBotVps, fired by the computer-control gate). One mechanism in a bot's chat, a room, a pinned conversation and a cloud routine; the Computer engine, whose whole turn runs on its Boat, keeps its eager attach. - The gate waits on a start that is still running (up to 45 s a call, under Codex's 60 s tool limit) instead of calling it contention. - A failed start writes the row a failed attach always wrote: the cause and the place's one next action; a select_computer pin is cleared. - A Tool selection without the computer is refused before any Boat call, and select_computer no longer offers a computer the tools cannot reach. - A signed-out engine never reaches a computer call, so it fails with the existing sign-in row and makes no Boat call. - Each waitReady request ends with the 90 s budget, so a stalled relay can no longer hold a start until the 20-minute watchdog. - The chat shows one line while it starts: "Starting {name}'s cloud computer. The first start takes about a minute." or "Waking {name}'s cloud computer…". It ends with the first frame or the turn. - The Computer panel only looks. It says when the computer will start and offers Start it now / Wake it now; ensure-boat and its provision-on-open branches are deleted. A conversation select_computer moved to the cloud computer still shows its screen. The fake Claude CLI can now use the cloud computer it was launched with (FAKE_CLAUDE_USES_CLOUD_COMPUTER), so the end-to-end suites exercise the first computer call instead of a dispatch-time attach. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Computer engine removal: keep each conversation where it worked (#2329 review) The one-time move now keeps every conversation working where it did. On Auto, the removed engine always ran on the bot's own cloud computer, so a moved Auto bot gets Works on: Cloud computer, and a moved conversation of an Auto bot gets an automatic pin there. That happens only where this server has cloud computers, the bot's backend is Boat, and no team computer serves its section. The move also: - puts each line in the conversation that moved, and claims a cloud computer only where one is still used; - updates the new-bot defaults in memory as well as on disk; - switches off an automatic-recovery backup that named the engine; - applies the existing engine-switch rule to permission levels; - runs again from describeInstances when no engine was available at start. There is one engine picker again. selectReplacementModelSelection is deleted, the move calls defaultSelection(), and selectDefaultModelSelection takes the plan's ready-first rule, keeping the enrolled preference for personal engines. Boat and a self-hosted VPS follow one rule, so the obsolete VPS-only checks are gone: computer.err.vpsEngine (all locales, through the locale check), the panel's unreachable branch, and the picker's disabled VPS option with its canUseVps plumbing. On iOS and Android, a Cloud VM routine now checks the routine bot's own engine, the rule the desktop and the server use. The footers say "bot" and "cloud computer" and no longer ask for a Boat API key. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Where a bot works says one thing, with one next action (placeView) Subscribers could not tell where a bot works or what to do when its cloud computer would not start. Each control said it its own way, failures passed the relay's words through and ended "Set Works on to Auto", and phones got whatever text the row had. shared/place-view.ts is now the one state-to-view function for a place: facts in (server kind, plan, own key or included, engine, sign-in, tool selection, role, computer state, refusal, and where the place came from), out { state, short, line, action | null }. The server words failed-turn rows with it, in English, and every place control renders it in the reader's language: - Failed turns store place { state, params, source } beside English words that carry both the line and the action as a sentence, so iOS and Android (which read only the words) stay right. FailedTurnRow words the row again, with one button. - Where the place came from decides the way on for a passing cause: Works on tries again, a person's pin is cleared (Simple: "Use <Works on>"), an automatic pin is cleared and the row says the conversation is back on Auto, a routine points at where it runs, a room member has no retry. - The Admin's refusals are read by code first (subscription_inactive is Plan ended) and by their English until every refusal has a code; at once names the bots that hold the plan's cloud computers, from this app's own list. A refused start keeps the provider's status as boatStatus, so routes still answer 500. - The Computer panel's cards, Simple grid, line under them, empty states and its own refused starts; the composer chip; the Access settings (now one line and "Open Computer panel"); the Boat/VPS picker is hidden on My Cloud. - A User gets no action that changes a setting, and "Ask an Admin to change it." - A desktop with a paid plan and no key reads "needs a Boat key" as "Cloud computers from your plan work for bots on My Cloud for now." (until D4). Deleted: PLACE_ACTION and the 160-character cap, every "Set Works on to Auto" on a cloud-computer problem, boatNotConfiguredMessage, the hard-coded team-computer English, linuxAutoDescription, and 23 locale keys the views replace (removed from every pack and from source-hashes.json). New keys whose English matches an already translated string carry that translation; hashes accepted with scripts/generate-locale.mjs --accept. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * A lazily started cloud computer reports its failures and keeps its place Review fixes for the lazy cloud computer start: - select_computer counts the cloud computer a turn starts on its first call as already selected, for "cloud" and "auto", so the request is not restarted or pinned elsewhere (pickComputer, server/computer-selection.ts). - A room member whose cloud computer can't start writes one row under its name with the cause, reports it, and ends; a parked start registers its resume (roomTurnEnd, server/room-turn-end.ts). - A lazy start's failure reaches onDispatchError, so a cloud routine's run records the cause instead of "interrupted". - The Computer panel stops polling once a turn ends on any conversation on the cloud computer, and shows a spinner only while it really starts. - The tools-off refusal gives one action. - "Still starting" is said only once this turn holds the computer, and the whole start has a 150 s budget, ending a stalled start with one row. - boat-included.test.ts budgets fit a request that ends with its budget. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Vocabulary check: drop allow-list entries for the deleted Computer engine Main's one-vocabulary check (#2337) allowed "Boat" in the Computer engine's surface note and in computer.err.vpsEngine. This PR deletes both, so the entries no longer match anything and the check's stale-entry guard fails. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Computer engine removal e2e: the cloud turn makes its first computer call With the cloud computer started lazily, a turn creates the Boat on its first computer call, not at dispatch. The fake CLI now takes that screenshot the way a model would, so the test still sees exactly one Boat per bot and no call to Boat's own agent. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* Server: answer on a later start without waiting for every engine CLI Before the server listened, it read every engine (each CLI probed with --version, --help, auth status and so on, each up to an 8 s timeout) to pick the engine a new bot gets. Only the first-run starter bot needs that answer, so every later start waited for the slowest engine CLI for nothing. A later start now listens at once and runs the same read behind it. The first run still waits, so the starter bot is made on the same engine. That read is also where the server learns what each engine supports (a Claude CLI's version decides whether a session is kept across a teammate's result, and its --help whether --autocompact is passed). So turns, room turns and the work queued for the start (queued sends, routines, a previous run's handoffs) wait for it, exactly as they did when the server listened only after it. Overlapping reads (the server's own and the app's first engine list) now share one `claude --help` call instead of spawning two. Tests: a later start answers /api/health while `auth status` is held, and a direct and a room turn sent then wait for the read and still pass --autocompact; a first run still makes its starter bot on Claude; two overlapping snapshots run --help once. The fake Claude CLI gains FAKE_CLAUDE_PROBE_LOG and FAKE_CLAUDE_HOLD_{VERSION,HELP,AUTH}. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * Server: a later start's restored queued words still run first Review fix. The listen callback deferred the queued-send drains until the engines read at start settled, so a message sent to an idle conversation during that read started a turn at once and the words restored from the previous run ran after it, in the reverse of the order they were written. The drains run at listen again, as on main. Their turns already wait for the read in startTurn and runGroupMemberTurn. Only routines, memory upkeep, the leftover-handoff drain and the delegation sweep still start after it. The room-turn wait moves before the /learn claim, so the read counts as setup, as the comment there says. Test: a later start with a restored queued line and `auth status` held, then a new message to the same conversation; the restored line runs first. Putting the drains back after the wait fails it with the order reversed. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>* Renderer: load Settings, Routines and other on-request screens after launch Thirteen screens that open only when asked for (Settings, Routines, the Team map, the Computer panel, bot settings, New bot and the rest) were static imports of App.tsx, and TeamDialog pulled New bot and the whole routines calendar in again through the sidebar. Every launch parsed and ran all of them before the first paint. They now come from src/components/lazy-screens.tsx, each its own chunk, fetched once the launch is idle. A fetched screen renders in the same commit as the click, as before. It deliberately avoids React.lazy: lazy() suspends on every first render and React holds the commit after a fallback for up to 300 ms, and it rethrows a failed import with no error boundary above it. A screen opened before its chunk arrives renders nothing until it does; a failed fetch leaves only that screen empty and retries while it is open. A window opened straight onto Settings (?desktop-settings=...) fetches Settings at once. The launch chunk drops from 4,659 kB to 3,778 kB (1,310 to 1,086 kB gzip). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * Renderer: a screen whose chunk cannot load says so and offers a reload Chromium, and so Electron, keeps a failed dynamic import in its module map for the life of the page: every later import() of that chunk rejects at once without asking the network again. The retry with backoff therefore never fetched anything, and a single failed idle prefetch (a server restart, a flaky network) left that screen silently dead until the page was reloaded. A failure is now logged with the screen's name, and a screen opened after one shows a small notice ("This screen couldn't load. Reload the window to open it.") with a Reload button instead of nothing. Each open still asks once more, which recovers in a browser that does fetch again; there is no polling and nothing reloads on its own. Tests now model the cached failure (load keeps rejecting) and assert the visible notice. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>* Threads follow their bot's model; a thread whose model can't run uses the bot's; Switch them too A thread no longer copies its bot's model. It follows the bot (no model of its own) unless a person picks one in that thread; picking the bot's own model is following it. Creating a thread, team setup, propose_model, a default change from a thread, team import and the hosted reconcile stop copying, and no change of the bot's model pins its threads any more. A follower that moves to another engine under a level that engine would have to confirm goes back to Ask, as on every engine switch. One-time cleanup at load: a thread's model equal to its bot's was a copy and is cleared; a different model stays. A marker in the data directory keeps it to once. At a turn's start (startTurn, so direct messages, routines, delegations, webhooks and queued follow-ups alike), a thread's own model that can't run (engine gone, disabled, unavailable or refused, or the model gone from its catalog) gives way to the bot's model: the thread follows the bot from then on and one plain line says so. A signed-out engine gives way only when the bot's model is on another engine that can run; on the same engine the sign-in failure stays. The rule reuses readyToRun and the saved-choice catalog check (offersSelection); the registry keeps each engine's last read so the check never waits on a CLI. The wire keeps sending the effective model, plus followsBotModel. The bot's model setting shows "{n} threads use their own model." with Switch them too (POST /api/bots/:id/threads/follow-model, a route module). A thread's picker offers "Use {bot}'s model" and marks the bot's model. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Keep a thread's model its catalog doesn't list; update tests that pinned copies A model missing from its engine's catalog is no longer a reason for a thread's own model to give way: model IDs are free-form at the API boundary and engines run IDs their catalog does not list (the context-compaction e2e picks claude-sonnet-4-6[1m]) or learn the catalog only when a turn starts. The saved-default check is back as it was. Tests that asserted the old copy-and-pin behaviour now assert that threads without a model of their own follow the bot (store, tasks, independent threads, team setup, bot continuity, Full/Custom provider switch), that a self-opened thread on a removed engine runs on the bot's model with one line, and the hosted fixture seeds a prior release's copies without the cleanup marker. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>A key engine (OpenAI, OpenRouter, xAI, Mistral, Cerebras, other OpenAI-compatible) has no CLI, so Settings → Model providers listed it only while it was unavailable. Saving any key, a mistyped one included, made the card vanish, and the picker's only key control said "Add API keys". People read that as "the key can't be edited". - Model providers keeps a key engine listed once its key is saved, with a "{name} uses your API key" card and a Change key button that opens Settings → API keys. Remote clients get the "on the computer running OpenMausBot" text instead; Company-managed keys get no card. - The picker's keys shortcut says "Add or change API keys" once a key is saved. - Advanced settings start each section at the top. Before, Change key landed on API keys at the previous page's scroll offset, below the OpenAI row. New English strings only, so existing translations stay current. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>On My Cloud in the desktop app, the Grok sign-in card's copy button did nothing: the person's own Cloud page was granted only the microphone, so Chromium refused navigator.clipboard.writeText, and the card swallowed the rejection. - Electron: the verified Cloud, in the main window's main frame at its exact origin, may write the clipboard by the same rule the active paired server uses (remoteClipboardWriteAllowed). Never clipboard-read, never subframes, other windows or origins. - Renderer: all 17 direct navigator.clipboard.writeText call sites now use copyText / useCopyFeedback (web Clipboard API, then the local desktop bridge), showing the copied mark only on success and a failure state ("Could not copy") where the site shows feedback. - DeviceSignIn: useCopyFeedback for the one-time code, X on failure with a label; the code stays select-all for Cmd/Ctrl+C. - Guard test: no source file outside copy-text.ts may call navigator.clipboard.writeText. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* A bot's own changes apply directly, with a one-line receipt and Undo A bot's change to itself (its routines, skills, profile and default model) now applies at every approval level, not only at Full access, so engines without Full access (Pi) and Ask conversations stop piling up cards for the bot's own bookkeeping. One rule, server/direct-apply.ts, decided by the server per request: Full access applies everything as before with no new limits; otherwise only a change whose target is the proposing bot applies, and a Cloud home's guest-driven turn keeps today's card for everything. Changes for another bot, team setup and peer approvals are unchanged. - Routines: own create/update/pause/resume/delete/run now apply; room goals the bot leads count as its own. Past 20 enabled routines, a create or resume by the self rule shows today's card instead (no cap at Full). - Profile and model: own changes apply through the same validated commit path, keeping every model-switch safeguard. - Skills: skill_manage writes apply through the existing applied path. - Audit: decision source "self" or "full-access"; Undo logs user-undone. - Receipt: applied cards carry autoApplied and render in ChatView and GroupView as one plain line ("Scout scheduled a routine: Check before dentist, today 2:30 PM", never a cron expression) with Details and Undo; after Undo it reads "· Undone" (card.undone, persisted). - Undo: POST /api/threads/:id/undo, authorized like answering the card. Routine create deletes it, update restores the captured definition, pause/resume invert, delete recreates; profile restores the changed fields; model restores the previous default; skill create removes it and update restores the previous SKILL.md. Each refuses once the thing moved ("Changed since, so it can't be undone here."), and a second Undo reports already undone. Cloud authorship stays consistent after Undo. - Bot-facing copy, prompts, docs and tests updated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Self changes: keep the folder card, skip the card budget, client Undo, true copy - A bot's own working folder (cwd) keeps today's card below Full access: a new folder widens what its tools read and write without asking. - The 8-open-card budget no longer refuses a change that applies directly (it opens no card); the services check it once the grant is known, and it still holds every card, including past the 20-routine cap. - POST /api/threads/:id/undo is a client route like /respond, so whoever may answer the card may undo it; service trust still cannot. - A self-applied routine whose receipt settlement fails is logged "self". - The Verify card says "Saved as a skill" once the skill applied; Settings, the Skills page and /create-verification-skill no longer promise a review that does not come (stale translations dropped for English fallback). - Tests: per-bot cap and its 20/21 boundary, run_now applying, the budget, Full-access audit source, Cloud guest-driven turns keep cards, Cloud authorship after Undo, and the guest's pending skill card (reviewed hash, stale hold, deny, lost stage, deleted conversation). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Undo's route lives in server/routes, so index.ts gains no route handler The index-route ratchet failed: POST /api/threads/:id/undo was a new path.match in server/index.ts (89 > 88). It is now createUndoRoutes in server/routes/undo.ts, wired with the same card-answer authorization and decision actor. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* fix(mcp): Whop's card says why its tools did not load; URL tests get 30 s After a Whop sign-in the card listed tools once and, on failure, showed only "Signed in, but Whop's tools could not be loaded", hiding the test's own reason. It now shows one line with that reason (for example "...could not be loaded: The server did not answer in time. Please connect again to retry."), including when the test request itself is refused. While the tools load, the card says "Signed in. Loading Whop's tools..." instead of still waiting for the browser, and Cancel closes the test request, which aborts the probe on the server. URL MCP probes (initialize + tools/list over the internet) now get 30 s instead of 8 s; commands keep 8 s. The only caller is the person-initiated Test route, so nothing on a bot's turn waits longer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(mcp): end a Whop failure reason with a period when it has none A proxy's non-JSON 504 ("504 Gateway Timeout") or a browser's "Failed to fetch" has no closing period, so the card read "...: 504 Gateway Timeout Please connect again to retry." signedInToolsCheck now adds the period. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* feat(mcp): search big MCP catalogs on engines without tool search Whop's official MCP server lists 425 tools in 1.2 MB of JSON. Its connection test failed at the 1 MB response cap, and every engine that loads all tools on every request broke: the chat-completions runtime refused it at the 128-tool limit, Pi registered all 425, and Codex on a ChatGPT plan (tool_search off) loaded them all. - One size cap, MAX_REMOTE_MCP_BYTES (32 MiB), for the remote client the probe and the stdio proxy share; the stdio probe gets it too, since a command bridging to the same server prints the same list. The probe reports the real tool count when it shows only the first hundred. - The remote proxy gains a tool directory (mcp-directory.ts), switched on by the driver for engines without native tool search. A catalog of more than 40 tools or 100,000 characters of definitions is answered with search_tools (BM25 over names, areas and descriptions, never schemas; bounded signatures and hints), describe_tool (the exact schema) and call_tool (the upstream result unchanged). Smaller catalogs pass through. The catalog is read once per process and again after tools/list_changed. Ranking sits behind a ToolRanker seam. - Wired for API-model engines, Pi, and Codex on a ChatGPT plan. Claude Code, Codex on its own login and ACP engines are unchanged. - Tool selections: the proxy narrows the catalog to the selection and refuses call_tool outside it; the gate, the chat runtime and Pi check call_tool against the tool it runs. Gate trimming still applies to call_tool results; the directory's own reads are left whole. - Approvals: search and describe ask nothing, as listing tools never did; call_tool's card names the tool it runs (chat engines, Pi, plan Codex). - Plan Codex mounts the proxy through a private per-mount record (OMB_REMOTE_MCP_CONFIG_*), excluded from the shell, with shell snapshots off, and redacted from native logs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(mcp): rank by parameters, guide past misses, and harden the tool directory Live Whop testing showed the search missed questions whose words live in parameters ("revenue" is a stats_get metric enum, not in any description that answers it), and a review found sharp edges around it. - Ranking: BM25F over name, description and, at half weight, the input schema's property names, enum values and descriptions (bounded per tool), each field length-normalized on its own so a long schema cannot dilute a name match. English stop words; Unicode words, ASCII ones stemmed. A parameter-heavy Whop-style fixture pins "list my products", "how much revenue this week" and "which payments failed this month". - Misses are guidance, not errors: an unknown tool, a bad search, a call_tool naming no tool, or arguments that do not fit, so a chat turn no longer ends as tool_error. Selection refusals stay errors. - call_tool checks arguments against the tool's schema in the proxy, with the chat runtime's Ajv setup (moved to mcp-schema-validator.ts); a schema it cannot compile is left to the server. - describe_tool stays valid JSON within 40,000 bytes, compacting a huge schema step by step and, last, to field paths, types and required. - Searched URL servers get 30 s to start on chat engines and Pi; command servers keep 8 s. The probe comment no longer blames Whop's speed. - The remote client refuses a server's own requests (elicitation, sampling) at once with -32601 instead of leaving the call to time out. - The proxy gets the person's proxy and CA settings, which Codex strips, with NODE_USE_ENV_PROXY so Node's fetch honors them. - Codex: catalog reads pass without a card only for Codex's exact sentence; tool names are read to the closing quote, so `web_search" …` no longer passes for web search. Every private value in Codex's shared environment (gate and proxy records, and the existing OMB_MCP_HEADER_* bearer values) is added to the effective shell exclusions, snapshots off. - Pagination of the upstream catalog is tested (pages, cursor loop, cap). - Docs: the plan-mode Auto limit and that command servers are not searched. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(mcp): rank a request's area and its wish to list Live Whop testing still missed "which payments failed this month" (payments_list never says failed) and "who are my newest members": "payment" and "member" appear in hundreds of tools, so as plain words they barely count. Two general rules, no word lists about Whop: - Area match: a tool's area is its name up to the first underscore (members_list -> members, promo-codes_create -> promo-codes). A query word that names it counts like one more name hit, scored by that word's rarity among areas rather than in the whole catalog, and length-normalized so a request covering a whole area outranks one word of a longer area. - List intent: who, which, what, show, list, recent, newest, latest or all ask what there is, so tools that list (list in the name, or a description starting "Lists") get a modest lift that never outranks a verb the request names. The parameter-heavy fixture now reproduces both misses; payments_list ranks 2nd and members_list 1st, and cancel/create/delete requests keep their tools first, even beside words that ask what there is. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(mcp): loopback past proxies, a forgiving argument check, sturdier words From a second review of the tool directory: - Proxy settings: with NODE_USE_ENV_PROXY on, Node sends even loopback through the proxy, so a URL server on this computer was refused. localhost, 127.0.0.1 and ::1 now join NO_PROXY, merged with the person's own list under both spellings. - call_tool's argument check no longer stands in the server's way: it checks a copy of the schema without pattern, patternProperties or format (no regular expression from a server can stall the proxy, and validators disagree on formats), drops additionalProperties:false beside combinators or pattern properties, compiles non-strictly, skips schemas over 64,000 characters, and calls a tool unchecked when the validator throws (a schema that refers to itself forever). - Words: NFKC first, and combining marks stay inside words, so Hindi, Thai and a decomposed café tokenize whole. - A server's ping is answered with an empty result; other server requests are still refused. - Local $ref into $defs/definitions is followed, once each and never in a circle, for ranking words, signatures and the describe outline, so Pydantic and FastMCP schemas rank on their real fields. - describe_tool's outline bounds the tool name, field paths and types, so the 40,000-byte cap holds whatever the names. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(codex): scoped turns accept Codex 0.160's null shell policy and keep a person's filters Codex 0.160 config/read reports every unset shell_environment_policy field as null, even for an empty config.toml. A scoped turn (a bot with a tool selection) read the null `exclude` as malformed and refused every prompt: "Codex could not confirm its shell environment exclusions. No prompt was sent." CI stayed green because the fake app-server never reported nulls. Codex 0.160 also added a keyed `filters` table (pattern -> exclude | include). A higher config layer that writes the legacy `exclude` list drops the person's `filters`, so adding the gate exclusion that way would have wiped their own rules for the thread. extendShellExclusions treats null as absent and extends the person's rules in the representation they use: with a `filters` table, the gate pattern is added as an "exclude" entry to a copy of it (replacing a case variant, since Codex rejects duplicate patterns ignoring case) and no `exclude` list is written; otherwise the `exclude` list is extended as before. Malformed values still refuse the turn, as does a policy that reports both representations (Codex itself refuses to mix them in one layer). The fake app-server now reports Codex's real shape by default: every policy field present and null unless set; tests can supply a `filters` table. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(codex): keep every MCP mount's variables out of the bot's shell Codex starts its MCP servers with variables from the same environment it runs the bot's shell commands in. Every name a mount writes there now goes through extendShellExclusions on every turn that mounts it: - custom command servers' env, URL servers' header values, and gate and proxy records (one pattern per OMB_* family) - the harness mounts too: agents, connectors, browser, computer, phone Kept visible: a value the environment already had that a mount passes on unchanged (the person's proxy settings), and the few names a shell cannot work without. ELECTRON_RUN_AS_NODE is excluded wherever a mount sets it. The remote proxy's NODE_USE_ENV_PROXY and NO_PROXY now go in the mount's own literal env table, so the shell keeps the person's NO_PROXY and never gets the switch. A gate already carries them inside its private record. Plan turns keep the token exclusion in chatgptPlanCodexArgs and extend the effective policy through the same helper. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(mcp): send only https servers through the person's proxy On Node 24 (CI, the Cloud image's node:24, Electron 43's Node 24.21) a fetch with NODE_USE_ENV_PROXY to a plain http:// URL through HTTP_PROXY hangs: the proxy never sees a request and the AbortSignal is ignored, so the remote MCP proxy never answered initialize. An https:// request goes through the proxy's CONNECT tunnel and works on Node 24 and 26 alike. The remote proxy child now gets NODE_USE_ENV_PROXY=1 and the merged NO_PROXY (loopback added) only when its server's URL is https:// and a proxy variable is set. An http:// server is reached directly, as before proxies were passed on at all. The same descriptor feeds gated proxies and Codex plan turns' literal env table, so the rule holds everywhere. Tests: the http forward-proxy test is replaced by a unit test (https gets the switch and loopback NO_PROXY, http, gated or SSE, does not) and by integration tests that run on Node 24 and 26: a CONNECT proxy tunnels to an https fake MCP server whose throwaway certificate (made with openssl at test time, skipped where none runs) is trusted via NODE_EXTRA_CA_CERTS, and an https server on loopback is reached past an unreachable proxy. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>Codex 0.160 asks multiple-choice questions through request_user_input_async. The app-server does not send item/tool/requestUserInput for it: the questions arrive on an agentMessage with delivery "async" and questions[{title, options}], and the turn keeps running. The driver read only item.text, so the chat showed a plain bullet list. The driver now carries those questions on the assistant_text event. The server adds a persistent question card with its own requestId, so web, Android, iOS and rooms answer it through /respond as usual. The answer is sent the way the composer sends a reply: steered into the running turn, or queued/started when the bot is idle. Closing the card sends nothing. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>* fix(mcp): every engine but Claude Code reaches URL servers through OMB's connector A URL MCP server that passed Settings → Test (100+ tools) answered "Tool not found" for every tool in chat: the engine's own MCP client connected to it directly, and the server, which deserializes initialize strictly, refused a capability field the engine adds ("Unrecognized field 'schemaValidation'"). OMB's own client sends the minimal handshake and passes. One mechanism now: Codex (own login and Company, as ChatGPT-plan turns already did) and every ACP agent (even one advertising http/sse) mount URL servers as OMB's stdio remote proxy, the same client Test uses. Own-login, Company and ACP keep the catalog whole (they search tools themselves); only plan turns use the tool directory. Tool selection, approvals and the private per-mount record (--config-env, shell exclusions) are unchanged. Codex also reaches SSE servers now. Claude Code stays native: its handshake carries only spec-defined fields, and native keeps its own tool search. Removed what this obsoletes: Codex's native URL mount (url, bearer_token_env_var, env_http_headers, OMB_MCP_HEADER_* and its shell exclusion), the SSE skip, and ACP's per-transport filter. The proxy now tells the engine to sign in again on an upstream 401, in its own words. Tests: a strict fake server (testing/fake-http-mcp-server.ts strictInitialize) refuses unknown initialize fields; the fake Codex and fake ACP agent can start mounted servers with the real engines' captured handshakes. Covers Codex own-login, Company, per-turn tokens and tool selection, ACP with and without http/sse and with tool selection, Claude Code unchanged, and the proxy never forwarding an engine's fields. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(mcp): the connector relays a server's own call errors, words 401s for both credential kinds, lets long calls finish, and reaches http servers through HTTP_PROXY Moving Codex own-login/Company and ACP agents onto OMB's remote proxy regressed four things their native connections did: - A server's JSON-RPC error for a call (a missing argument, an unknown id) reached the engine as a generic -32603 "Remote MCP request failed", so the model could not fix its arguments. The client now keeps such an error apart (McpRpcError, still kind "protocol"), and the proxy relays its code and words, bounded, with the configured address, its path and query values and every header value stripped and redactSecretsInText applied. Transport, status and parse failures stay generic. - An upstream 401 said "sign in to it again" even for a server whose key is a typed header (it has no sign-in) or whose sign-in token merely ran out mid-turn (the next message refreshes it). The proxy cannot tell the two apart, so the words now cover both: send the message again, then sign in again or check its header values. - Every tools/call was cut at 120 s, where Gemini CLI and Qwen Code had waited their own ten minutes. Outside the tool directory the proxy now adds no deadline: the engine's own cancel reaches upstream through it. - A plain http:// server reachable only through HTTP_PROXY failed, since Node's env-proxy switch stays off for http:// (Node 24 hang). The proxy now sends such requests to the HTTP proxy itself in absolute form; loopback and NO_PROXY hosts stay direct. Tests: the strict-handshake suite covers each (relayed -32602 'bad arg' and a redacted header/URL echo; 401 wording for a bearer and an API-key header; a 150 s call through an ACP mount on a fifty-times-fast clock, with the directory still cancelled; an internal http:// host reached only via a recording forward proxy); mcp-http tests cover McpRpcError over http and sse and the NO_PROXY rules. Each fails with its fix reverted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>The harness writes chips of its own inside a turn: the receipt of an automatic approval ("approved Bash (full access): ..."), the notice that the engine's automatic reviewer is not available, a rejected action, an image that could not be attached, a retry. They carry the request's id and look like steps to the chat's fold, so a record listed an auto-approved action twice (its step and its receipt, which then read "Running a command") and showed a note as work. A step is now a chip with a provider item id (tool.itemId), which only a tool the provider started has. callRecordLines applies it; isToolStep and the chat's fold are unchanged, and a test pins that the fold still takes the harness's chips. The spec says so, for the phones to copy. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>Four things the final review found in what a person or a screen reader meets in the record: - A line wider than the pill spilled past its border instead of truncating, because the list's min-content width is its widest nowrap line. The list now has max-w-full, like the header row. - An expired approval read "Expired - ask for a fresh proposal: run a command" in a finished call's summary, an instruction in a record. The record says only "Expired". - The record was a <section> with a name, which is a landmark, so every call in a chat added one. It is a role="group" with the same label now; the verification note expected "region" and now expects "group". - The words a screen reader hears after a step ("Done", "Failed", "Running") were three new English-only strings. They reuse the tool chip's translated toolDetail.completed, failed and running, and the three new keys are gone ("Done" is now "Completed"). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>a bot can save files to a folder the person asked for, outside the chat's working folder. the server refuses those links by design (outside_workspace), but the chat showed the refusal like a passing failure: a retry arrow next to the link and the chip, and the server's english "outside this conversation's workspace" text. people read it as a broken or loading link, and since the links that were never clicked still showed a download icon, it looked like only some links in a reply failed. for that refusal the link and its chip now say it in the app's language and words ("outside this chat's working folder") and drop the retry arrow. show in folder and the server check are unchanged. other failures keep their text and retry.POST /api/live/session now refuses a start without Pro with 402 { "error": "Live calls need a Pro plan.", "needsPro": true }. The check is LiveCallController.start's, after a busy line and an unpaired phone and before the OpenAI key, so nobody without Pro is asked for a key (409 needsKey only when Pro). It covers every client: the phones' starts come through the same route, and the companion passes the 402 body through unchanged (pinned in proxy-response.test.ts). The plan is asked once, when a call starts, so a running call is never cut off by a plan change. The server learns the plan the way it learns the desktop's other trusted state. Electron main keeps the answer from its Cloud sign-in (createProPlanRelay), starts the server with OMB_PRO_PLAN, set and never inherited, and posts each change over the utility process's private port, again when a server it started is ready. server/pro-plan.ts holds the answer and applies the rule with the Cloud home flag; a Cloud home always counts. A server the desktop app did not start (dev, tests, headless or Docker) says Pro with OMB_PRO_PLAN=1, which the verification launcher lets cross only as "1". The live-call e2e's main server says Pro with OMB_PRO_PLAN=1; the Cloud home block still needs only the key. A new block starts a server the way the desktop app does (OMB_PRO_PLAN=0, then messages over a stand-in parent port fed by Node IPC): 402 with no session, a call once the message says Pro (a malformed message after it is refused and changes nothing), still live after the message says not Pro, and the next start refused. Main's own hand-off runs in a VM test, as updater.test.mjs runs its updater rule: the spawn environment carries OMB_PRO_PLAN after the launching shell's, onReady hands a ready server the current answer, every state the Cloud sign-in publishes reaches a running server, and a closed port is logged, never thrown into the sign-in. updater.test.mjs, which runs ensureCloudAccount the same way, fakes the new syncProPlan call. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>* fix(control-plane): new endpoints in a second Cloudflare account; a 429 at the tunnel cap is capacity Cloudflare caps an account at 1,000 tunnels. The account is full, and Cloudflare now answers tunnel creation at the cap with HTTP 429, which the control plane mapped to endpoint_rate_limited: no capacity gate was recorded and apps retried without end. - A tunnel-creation 429 while the account's tunnel count (or, when that cannot be read, a scan under 30 minutes old) is at or over its limit is now the capacity code cf_tunnel_quota: 503 endpoint_capacity with Retry-After 600 and the ten-minute gate. Any other 429 stays endpoint_rate_limited and closes nothing. - Endpoints can live in more than one Cloudflare account. The primary is configured as before; CLOUDFLARE_ENDPOINT_ACCOUNTS adds up to three more (account, zone, host suffix, the name of its token secret, quotas, an optional minAppVersion). A bad entry is ignored with a redacted alert and never takes sign-in or /healthz down. - Migration 0007 ties every endpoint row to its account by ID (provider_account, defaulting to the account every existing row lives in) and keeps capacity state per account; the 0006 row stays, unwritten. - A new endpoint goes to the eligible account with the most room: freshly scanned, not refusing, version gate met, with a slot kept for each dormant endpoint. A row that never handed out an address may move once per request. Every other endpoint keeps its account, tunnel and hostname: renewal, re-provisioning after a reclaim, owner DELETE, revocation cleanup, the sweep and the idle scan all act in the endpoint's own account, and an endpoint whose account is not configured refuses to act. - The scan, reclaim budget, alerts and /healthz work per account. /healthz is unchanged with one account; with more it reports the pool plus one entry per host suffix, and a pool alert fires. - POST /v1/installations/self/endpoint takes an optional {"appVersion": "..."} body, recorded on the installation. The desktop app and `openmausbot serve --tunnel` send it, and desktop-companion pairing accepts mausbot.si addresses as well as openmausbot.com ones. With only the current account configured, apps see the same contract; the only change is that a full account answers endpoint_capacity. The README documents adding an account (zone, token permissions, secret names, config) and why a Worker from before 0007 must not be rolled back to once a second account holds endpoints. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(control-plane): second-account review fixes - Closing an account is explicit: "newEndpoints": false on an entry keeps its endpoints renewing, re-provisioning, and cleaning up there, gives it no new endpoint and no moving row, and takes it out of the pool that /healthz and managed_endpoint_pool_capacity describe. A full primary with every other account closed now pages; before, a closed account with room kept the pool "ok" while every new installation got endpoint_capacity. The pool still assumes the newest release, so minAppVersion alone does not leave it. - A tunnel-creation 429 judged by the last scan no longer counts slots the sweep freed after that scan: the sweep lowers each account's snapshot tunnel and DNS record counts by what it deleted, in the statement that clears the gate. - With several accounts, Cloudflare answering 401 or 403 in an account (a revoked token, or one missing Tunnel or DNS Edit) closes that account for ten minutes like a quota refusal: a never-ready row moves away (in the same request when tunnel creation was refused), its other endpoints are answered endpoint_unavailable locally, and managed_endpoint_account_refused fires (with one account too, where nothing else changes). - The sweep, the idle scan, and the unconfigured-account alert now use endpointAccountFor's rule in SQL (account configured and hostname exactly c-<32 hex>.<that account's suffix>), so a row no account acts on is never claimed or marked and is counted, as the README already said. - EndpointOperationError carries the account's ID, never the account and its token. - Desktop-companion pairing accepts only c-<32 hex>.openmausbot.com and c-<32 hex>.mausbot.si, never another host in either zone. - .dev.vars.example no longer shows second-account lines that wrangler dev ignores (secrets.required limits .dev.vars to declared names); the README says how to try one locally, and the runbook adds a token write check and the alerts to page on. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(control-plane): pin the reclaim threshold in the idle-reclaim test The idle-reclaim test read OMB_TUNNEL_OFFLINE_RECLAIM_DAYS from wrangler.jsonc. #2536 lowered it from 14 to 7 days, so the "recently down" fixture (offline 10 days) became idle and was correctly reclaimed, and main went red (6 deletes instead of 4). The test now pins the deployed 7-day policy and keeps its recently-down endpoint offline for 3 days. Retuning the deployed var no longer changes what the test exercises. Mutation-checked: pinning 30 days fails the test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit 1da82b48f54f4e850ad37257e912b26e4a0404bb) * docs(control-plane): list a second account's secrets in secrets.required A plain `wrangler deploy` sends an explicit keep only for the secrets named in `secrets.required`. Listing the second account's token (and CLOUDFLARE_ENDPOINT_ACCOUNTS when it is a secret) there keeps it on every deploy, and a deploy refuses to run while one is missing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* feat(cloud): Add a Cloud in the switcher, a post-update card, trial notices and the trial credit engine - "+ Add a Cloud…" in the server switcher's native menu, and one dialog for the buying journey (plans with Pro "Most popular", the trial timeline, "$5 of Claude credit", money-back, price + tax). The checkout opens in the default browser only after a Dodo-origin check in main. - A post-update bottom card ("Start free trial" / "Show me how") with a spotlight on the switcher, shown at most once a day on at most 3 days, never over onboarding, never on branded or organization desktops. - One notice queue (from #2260's notices/NoticeCard) holding the card, the trial notices and the payer Cloud notice, one at a time. - On a Cloud, the $5 trial credit runs only in OpenMausBot's own OpenAI-compatible chat engine, never Claude Code or Codex, and only when the person has no model of their own. - Wording: "Sign in to your Cloud plan"; the stale "$89 after the first 100 users" and "New features first" lines are gone; the routines "run on a VPS" line now points to Cloud. All new keys in all 9 language packs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * i18n(zh-tw): the trial strings use the pack's unified terms (帳戶, 連線) Wave 1's Traditional Chinese strings were written before #2433 settled one term per concept. Thirteen of them now say 帳戶 for an account and 連線 for connecting, as the rest of the pack does. English is unchanged, so no source hash moves. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(cloud): the Cloud is MausBot Cloud wherever a customer reads it The owner's decision of Oct 9: customers read one name for the paid Cloud, "MausBot Cloud". The app itself is still OpenMausBot, and My Cloud, Cloud computer, This computer and Plan page keep their names, as do code identifiers, env names, routes and file names. - English: every en.json string that said "OpenMausBot Cloud" (29: the Settings section, sign-in and sign-out, the plan lines, the card after the update and the Add a Cloud dialog, lending, decisions, the place view), and the hard-coded copy around it: Cloud sign-in and checkout errors in electron/, the Cloud home's refusals, pairing label, lending refusal and system prompt in server/, shared/place-view.ts, the pairing page and the plan-line fallbacks. - All 9 packs: the name is never translated, so each translation of those keys says MausBot Cloud (French: "de MausBot Cloud", "que MausBot Cloud"). `scripts/generate-locale.mjs <pack> --accept` reproduces source-hashes.json byte for byte; only the renamed keys moved. The tool's draft prompt keeps "MausBot Cloud" as it keeps "OpenMausBot". - Word rules (src/locales/vocabulary.test.ts): the product entry is MausBot Cloud. "OMB Cloud", "OpenMausBot Cloud" and "MausBot Pro" (so "OpenMausBot Pro" too) are retired in en.json, every source literal, the packs and the public docs, and a pack must say "MausBot Cloud" wherever the English does. - Docs: the public guide's Live-call note; docs/ios-companion.md, composio.md, copy-workspace.md, opencode-go.md, self-hosting.md and verification/engines-ui.md; and docs/cloud-pro.md, which states the customer-facing name once, keeps "OMB Cloud" as its own shorthand, and now quotes the server's real "My Cloud is personal" line. Code comments, test names and log lines keep their internal names. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(cloud): redact the credit token in diagnostics; test fixes for CI - electron/diagnostics.mjs lists OMB_CLOUD_AI_TOKEN with the other credentials, so a diagnostics bundle redacts the trial credit's token (the parity test with server/config.ts caught the gap). - updater.test.mjs: the sign-in callback now refreshes the Server menu and announces a ready Cloud; the test's sandbox stubs both, as it stubs sendUpdaterState. - cloud-credit-provider.test.ts checks the 0700/0600 modes on POSIX only, like the repo's other permission tests (Windows has no modes). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(control-plane): pin the reclaim threshold in the idle-reclaim test The idle-reclaim test read OMB_TUNNEL_OFFLINE_RECLAIM_DAYS from wrangler.jsonc. #2536 lowered it from 14 to 7 days, so the "recently down" fixture (offline 10 days) became idle and was correctly reclaimed, and main went red (6 deletes instead of 4). The test now pins the deployed 7-day policy and keeps its recently-down endpoint offline for 3 days. Retuning the deployed var no longer changes what the test exercises. Mutation-checked: pinning 30 days fails the test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit 1da82b48f54f4e850ad37257e912b26e4a0404bb) --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* feat(data): dependencies and shared contracts for the Data surface DuckDB runs in the OMB server, one database per bot; bots get five tools (data_load, data_describe, data_sql, data_show, data_export); the Computer panel's Data tab shows a sheet of table and chart cards. The plan with its research is in _plans/data-surface-2026-10-09 (mywork). shared/data-surface.ts: the tool names, limits, the card/sheet/source types, the small chart spec a bot writes, the panel routes and the broadcast. server/data/types.ts: the engine, chart-compiler and renderer seams the server modules build against. Dependencies: @duckdb/node-api (pinned 1.5.6-r.1; Node-API, prebuilt for every target), vega/vega-lite/vega-embed/vega-themes, codemirror + lang-sql, @resvg/resvg-js for PNG. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * feat(data): sheet store, dialect instructions and the deps seam sheet.json per bot with atomic writes, c_<n> ids from one persisted counter (never reused), update in place, pruning oldest-unpinned-first that drops the pruned card's result table, and a restart that fails a card left running. deps.ts is the only module naming engine/compiler/validator/renderer. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * feat(data): "data" is a Computer panel view The Data tab's id round-trips through the per-bot view storage like the other tabs. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * feat(data): the store keeps each bot's data sheet dataSheets[botId] holds the sheet (cards and sources, never rows). A `data` frame replaces it whole; loadDataSheet fetches it when the tab first opens; runDataSql, cancelDataCard, patchDataCard and deleteDataCard call the panel routes and let the frame answer. shared/vega-config.ts is a placeholder with the agreed signature, replaced at merge. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * feat(data): DuckDB engine, one database per bot with two cancellable connections server/data/engine.ts implements the DataEngine and BotDatabase seams from server/data/types.ts on @duckdb/node-api. The binding loads on first use through a dynamic require (OMB_DUCKDB_DIR, then OMB_RESOURCES_PATH/duckdb, then the server's own node_modules), so esbuild never bundles it and a missing binding is a one-line reason from unavailable(), never a throw at import. Each bot gets one DuckDBInstance at <bot folder>/data.duckdb with explicit limits (memory 25 % of RAM up to 2 GB, 4 threads, a spill directory capped at 20 GB, a versioned extension directory, no persistent secrets) and two connections, bot and panel, each running one statement at a time so interrupt() always hits the statement the timeout, the AbortSignal or the person meant. Results materialise in the omb_results schema, visible to both connections. run, materialise, page (sort, filter, stable rowid order), describe, stats (cached by table and row count), histogram, listTables, resolveTable (with close names) and deleteBot; DuckDB's own error text travels verbatim with a code and the line it names. Idle databases close after ten minutes. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * feat(data): chart compiler and the shared Vega config compileChart turns a bot's small chart spec into the SQL that reduces the data in DuckDB and a data-free Vega-Lite spec (PLAN D5, D7). Reductions by chart type and column class: top-N + "other" for categories, equal-width bins for numbers, time_bucket with the unit chosen in SQL from the range, M4 for a raw series, a repeatable reservoir sample for scatter, GROUP BY for heatmaps. Every statement ends with LIMIT chartMaxMarks + 1 so the caller can tell an overflow from a full chart. shared/vega-config.ts is the one Vega config the panel, the server renderer and the headless check all use: the app's font stack, ink and hairline tokens per theme, one ten-colour range that reads on both. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * feat(data): the five Data tools and their operations data_load (files, folders, globs, URLs, Postgres/MySQL/SQLite snapshots, Google Sheets export), data_describe, data_sql (statement gate, materialised results, rows and bytes bounded), data_show (table and chart cards, update in place, 10k-mark cap) and data_export (COPY TO under the working folder or Downloads; png/svg through the renderer). Every SQL string quotes its literals and identifiers; every failure is a structured DataError. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * test(data): the engine against the real binding from an out-of-tree directory 28 tests on real DuckDB in throwaway folders: the loader honours OMB_DUCKDB_DIR and names the directory when the binding is missing; settings reach the instance; a materialised result is visible to the panel's connection where a temp table is not; run, materialise, page (stable order, sort, filter, injection-safe), describe, stats cache, histograms, listTables, resolveTable and candidates; DuckDB's text and line on sql_error and table_not_found; timeout and AbortSignal map to timeout and cancelled with the connection still usable; idle close and reopen; deleteBot removes the file, the WAL and the spill folder. Two fixes the tests found: DESCRIBE of a query target needs `DESCRIBE SELECT * FROM (…)`, and a prefix match now outranks an edit-distance match among close names. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * fix(backup): leave a bot's live DuckDB file, WAL and spill folder out of workspace backups The backup walks all of DATA_DIR, so bots/<id>/data.duckdb would be copied while the engine holds it open: not a consistent snapshot, and potentially gigabytes of tables the bot can load again. The sheet beside it is still backed up. Same rule in the export walk and in omittedFromWorkspaceBackup (cloud-move sizes a move with it). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * feat(data): the Data panel, its cards, grid, chart, editor and explorer DataPanel = Sources strip, the card stream (newest at the bottom) with the Column Explorer drawer, and the person's SQL editor. DataGrid pages rows from the server in pageSize windows around what is on screen, with sort and filter sent along; DataChart lazy-loads vega-embed and binds the reduced rows as dataset "table"; SqlEditor is a plain box that CodeMirror (lazy, with schema completion) takes over. "Ask to change" puts "Change card <id>: " into the bot's composer through the existing draft mechanism. useColorScheme reads the skin's --code-color-scheme. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * feat(data): the Data tab in the Computer panel Beside Browser in both modes; the panel's code loads on first open. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * feat(data): Vega-Lite validator, chart renderer and their tests validateVegaLite is the escape hatch's gate: ajv against the Vega-Lite v6 schema (compiled once per process), no inline data anywhere in the tree (every data must be {name: "table"}), then one headless compile and parse so a broken expression fails with a message the bot can act on. The error reported is the deepest path the validator reached, so "mark: must be one of …" rather than the top-level anyOf branch that happened to fail. chartRenderer draws the same Vega-Lite the panel does, with the same config: SVG through a vega View with no renderer, PNG through resvg at width × scale on the theme's surface. Rows are coerced by DuckDB type first — bigints and decimals arrive as strings, dates and naive timestamps as text, which parse as local wall-clock time so a DATE never slips a day west of Greenwich. Tests: the compiler table-driven per chart type and column class, the LIMIT sentinel on every statement, top-N folding, identifier quoting; the validator's gates; the renderer's SVG/PNG; and an end-to-end run on an in-memory DuckDB including a 100k-row table that proves the sample path and the overflow sentinel. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * test(data): the tools against a fake database Statement gate (reads, CTE writes, EXPLAIN ANALYZE, CREATE … AS forms), bounds by rows and bytes, load planning with quoted literals and stripped credentials, read-only ATTACH/DETACH, cards updating in place and failing honestly, chart mark cap, export path confinement through symlinks, and the error shape of every refusal. Export now checks the path before it renders. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * fix(data): no rounded bar tips in the Vega config cornerRadiusEnd makes Vega emit a clipPath per bar: a 1,000-bar SVG was 930 KB and its PNG took 1.7 s; without it 379 KB and ~0.4 s. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * test(data): the panel, grid paging, editor keys and store routes Grid: pages around the visible window, never more than pageSize rows a request, sort and filter in the body, a fresh cache from the top when either changes. Panel: sources and cards from the sheet, vega-embed only with a chart card, Cmd/Ctrl+Enter runs, Esc cancels, DuckDB's message on a failed card, Ask to change through the composer draft. Store: GET once, data frames replace, run/cancel/patch/delete hit their routes. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * build(data): ship the DuckDB binding as a resource tree on desktop and in the image The packaged app ships no node_modules, so scripts/prepare-duckdb.mjs stages dist-native/duckdb/<platform>-<arch>/node_modules/@duckdb/ {node-api,node-bindings,node-bindings-<platform>-<arch>} at the exact version package.json pins, both mac arches on macOS (the other arch's package comes from pnpm's supportedArchitectures install, or npm pack into the cache when missing). The mac packages carry a 117 MB universal libduckdb.dylib; each app keeps its own slice (57 MB arm64, 59 MB x64) with lipo and re-signs it ad hoc so dlopen accepts it before electron-builder signs it with the app's identity. Staged under dist-native/duckdb like cloudflared and the browser, not dist-native/<arch>, because prepare-cua wipes dist-native/<arch> after package:prepare has run. electron-builder copies it to resources/duckdb per platform; after-pack verifies the pinned packages, the binding beside its library, and on macOS a single-arch Mach-O for the package arch. The Dockerfile stages linux-x64 the same way in the build stage (pnpm's @duckdb tree is symlinks, which a COPY --from would keep) and sets OMB_DUCKDB_DIR=/app/duckdb for both runtime images. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * feat(data): rpc for the proxy, panel routes, system prompt dataRpc answers tools/list with the catalog and the DuckDB dialect instructions, tools/call after a schema check, capability asserted before and after. createDataRoutes serves /api/bots/:botId/data (sheet, page, run, cancel, card PATCH/DELETE, stats, histogram, export, image) through the route table with {error: DataError} envelopes and code → status mapping. data_show follows the compiler contract: reduction relabelled none when nothing was reduced; line/area note in the description. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * fix(data): one paging target per card The grid keys its page cache and loader off the target; a fresh object each render re-ran the paging effect for nothing. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * feat(data): mount the Data tools and routes harness-mcp-proxy gains kind data (initialize carries the dialect instructions); contracts gain integrations.data and capabilities.dataMcp; claude, codex and pi mount the proxy. index.ts: capability kind data, the /api/internal/data/mcp route (engine checked, capability asserted before and after), integrations.data in both turn assemblies with the Data system prompt beside the browser's, createDataRoutes in the route table, one sheet registry, exports confined to Downloads / working folder / workspace, the bot's database and sheet deleted with the bot, closeAll on shutdown. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * test(data): proxy kind data and sheet deletion Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * build(data): ship resvg beside DuckDB; the server bundle has no native code render.ts imported @resvg/resvg-js statically, so esbuild tried to bundle its .node file and the server build failed. The packaged app ships no node_modules, so the rasteriser travels in the same resource tree as the DuckDB binding (dist-native/duckdb/<platform>-<arch>/node_modules, now @duckdb and @resvg) and is required at first use through the same createRequire anchor (engine.ts nativeRequire). prepare-duckdb stages, pins and signs it; after-pack verifies it; the Docker image already copies the whole tree. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * test(data): the Data surface end to end through the real server A bot loads a CSV, describes and queries it, and shows a table and a chart through the internal MCP route with a data capability; the panel reads the sheet, pages the table, renders the chart as SVG, runs the person's own SQL, exports a CSV under Downloads, renames and removes a card. The testing capability route can now mint kind "data". The test caught a real defect: three TypeScript parameter properties in engine.ts and sheet.ts, which node --experimental-strip-types (the dev server) refuses, so the server did not start. They are explicit fields now, and tsconfig.server.json sets erasableSyntaxOnly so the compiler refuses that syntax everywhere the stripping loader would. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * build(data): the installer copies the native tree; Windows deletes wait Three CI findings: - Linux packaging: electron-builder's resource filter drops a root-level node_modules entry of any tree it copies (app-builder-lib util/filter), so resources/duckdb was never written and after-pack failed. The extraResources entries now name the node_modules directory itself; a test reads electron-builder.yml and refuses the other shape. - Docker image test: the native tree changes on a version bump, not per commit, so its COPY sits beneath the per-commit app files in both shipped stages, and the staging runs in its own build step. - Windows: a just-closed DuckDB file stays busy for a moment; deleteBot removes with fs.rm's EBUSY/EPERM retries instead of rmSync. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * test(data): two Windows-only test fixes The installer guard read electron-builder.yml with CRLF endings, so its capture ended in \r; the delete test wrote a fake WAL while DuckDB held the real one open, which Windows refuses. The product code was right. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * test: wait for whole files, and let Windows release DuckDB's The OpenCode provider-keys test polled for the fake CLI's dump to exist and then parsed it; a busy runner read it half-written ("Unexpected end of JSON input"). It now polls until the last line parses. The engine test's cleanup retries rm: Windows keeps a just-closed database busy. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * test(data): a slow runner may abort before the statement starts Both are `cancelled`; the message differs. And on Windows the cleanup retries longer and, failing that, leaves the temp directory with a warning rather than failing a suite whose tests all passed. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * test(data): bound the Windows cleanup retry to seconds, not minutes fs.rm's retry delay grows linearly, so 50 × 200 ms could wait four minutes and the afterAll hook timed out at 60 s with every test passed. Ten retries of 100 ms, and the same bound on deleteBot. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>* feat(data): ship AG Grid viewer and chat-driven live SQL * fix(data): drop replaced result tables on the caller's connection showCard awaited dropResult for the previous or abandoned result table on the serialised "bot" connection, so a panel live edit's HTTP response waited behind whatever the bot was running. dropResult now takes the connection (default "bot", as before) and showCard drops on its own. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * fix(data): run live SQL after a 50 ms typing pause, latest text wins Every keystroke posted a live run the server materialised as a table and then interrupted with the next character. The run now waits 50 ms after the last keystroke; a newer run still aborts the in-flight one. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * fix(data): load extensions as their own lane step with their own budget A first-time INSTALL downloads from the core repository, and it ran inside the statement's 60 s timeout; the PR had also reordered failureFrom so a timeout overrode the loader's DataFailure, replacing the "allow extensions.duckdb.org" hint with "narrow the query". The install now runs as its own lane step (5 minutes) ahead of the statement, and a structured failure is returned as-is again. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * fix(computer): a model change no longer resets the panel tab The tab-follow effect was keyed on connectionKey, which carries the thread bot's model instance, so changing the model (or Auto resolving its surface) pulled the person off the Data, Files or Routines tab. The tab now follows only the conversation and its chosen place. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * fix(data): open a result receipt through the bot's own select path openDataResult re-implemented bot selection, so the unread flag, the read cursor and the /read POST that select performs were skipped. It now runs the select and toggleComputer reducers and shares select's read effect. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * fix(data): the sheet no longer caches DuckDB's catalog sheet.json kept a copy of the table list that never matched what listTables returned (described columns and quoted names on one side, plain ones on the other), so every GET /data rewrote the file and broadcast a `data` frame to every client, and a quoted CREATE OR REPLACE TABLE "orders" made a second entry beside orders. DuckDB owns the catalog: GET /data still answers { sheet, tables } with a fresh listTables(), data_describe lists it from the database, and the sheet carries cards and sources only. Client follow-up (owned elsewhere): src/components/data/DataPanel.tsx reads sheet.tables; it should take `tables` from the GET /data response. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * fix(data): the result receipt names its tool, not the card's title The receipt was stored with tool.name = the card's free-form title only so the chips' `if (!tool) return null` passed, and every consumer that reads tool.name as a tool or status identifier misrouted it: a result called "notice: revenue by region" rendered as a status row, one named like the failed-turn marker got a Retry button, the sidebar previewed the bare title. The receipt is now tool { name: "data_show", ok: true } with the title only in dataResult; ChatView and GroupView render a receipt before any status or failed-turn reading (so receipts stored by older servers stay receipts), and activityPreview reads dataResult.title. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * fix(data): SQL box always available; Cancel for a live run The box mounted only when the shown result had SQL, so a person whose bot had loaded tables but shown nothing could not type a query; a long live edit had no Cancel because the card stays "ready". The box now always mounts (empty on an empty sheet or text result; its first run makes the card through the same run route, and text typed before that card arrives waits for it instead of making a second one), and Running/Cancel shows whenever the panel's own run is on the wire. Cancel drops the request and posts the card's cancel. A card still on its first run is re-run outright rather than locked read-only. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * chore(data): one run/cancel mechanism; drop the strings nothing reads The store's runDataSql, cancelDataCard, patchDataCard and deleteDataCard had no dispatchers left (the panel calls the routes itself, since it owns the request it must abort); remove them, their reducer/effect cases and tests. Remove the 31 data.* strings no code reads (explorer, Run button, card toolbar, source view) and guard against the next orphan. Reword data.openInWorkspace so the English copy check passes again. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * fix(data): send the viewed result as its own field, never in the words withDataContext() prepended a <data-context> envelope to the person's text before POST /messages; the server stored that text verbatim and only the desktop renderer hid it, so the companion apps, remote clients, search and memory all saw the raw tag. The client now sends dataContext: { cardId, draftSql? } beside the text (same conditions as before: this bot's own thread, not an opening /command), the server validates it (c_<n>, draft at most 100 KB), stores it on the message, and prepends promptWithDataContext() to the provider text for that turn and every retry of it: an edit/regenerate reuses the message's own context, a queued or steered send carries it, the backup-engine and computer-selection reruns inherit it. Message text is exactly what was typed everywhere; withDataContext/isDataContextLine/withoutDataContext and every stripping call site are gone. Client follow-up (owned elsewhere): src/state/store.tsx's "send" action must carry dataContext into the POST body; src/lib/drafts.ts may keep it beside requestText for an exact retry of a failed send. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * fix(data): the send carries its Data context; the catalog comes from GET /data The two seams the server fixes opened: the composer's send action forwards `dataContext` in the messages POST (the text itself stays what the person typed), and the panel's table list comes from the catalog GET /data reports (`dataTables` in the store) instead of a copy on the sheet, which no longer exists. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>Node reports a spawn whose cwd does not exist as the command's own ENOENT ("spawn /…/codex ENOENT"). describeSpawnFailure turned every ENOENT into "`<cli>` isn't installed, or isn't on this app's PATH", so a bot whose working folder had been moved or deleted blamed an installed CLI, and Retry failed the same way. describeSpawnFailure now takes the spawn's cwd. On ENOENT with a missing cwd it names the folder and how to fix it, with setup:false so the UI does not point at engine setup. The Codex, Claude, Pi and ACP drivers pass the cwd they launched with. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* feat(composer): choose the send key: Enter, Shift+Enter or Ctrl+Enter Japanese input confirms a conversion with Enter, so many people want Enter to add a line and send with another key, as Slack offers. Settings → Appearance → "Send messages with" offers Enter (default; Shift+Enter adds a line), Shift+Enter (Enter adds a line) or Ctrl+Enter (⌘+Enter on Mac; Enter adds a line). It is a renderer preference (omb-send-key), kept in full backups like the other display choices. One decision, sendsMessage(), now serves every multi-line box that sent on Enter: the composer in 1:1 chats and rooms, editing a sent message, a citation's comment and the Cloud's first job. Ctrl/⌘+Enter sends whatever the choice; every other Enter is a new line; nothing sends while an input method composes (isComposing, or keyCode 229 for WebKit's late keydown). Single-line fields and search boxes keep their plain Enter. The key is named where the app already hints at sending: the send button tooltips, the busy-composer placeholders ({key} instead of a fixed "Enter"), the shortcuts sheet and the tour's composer step. New strings in all nine language packs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(composer): leave an input method's keys to it; fit the send-key menu An input method's confirming Enter (isComposing, or WebKit's late keyCode 229) still picked from the composer's @mention and slash menus, and its arrows moved their highlight: converting "@やまだ" to "@山田" picked the mention before the conversion was done. imeComposing() is the one check, used by sendsMessage() and at the top of the composer's keydown. The send-key menu named each choice with its new-line key, which overflowed the 240px settings column in German, French, Spanish and Portuguese (and in English with Inter). It now names only the key; the subtitle already says what Enter does. settings.sendKey.option and newLineKeyLabel() go. Settings search also finds the setting by "cmd", "⌘" and "return". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(composer): Ctrl/⌘+Enter sends by default when the app is in Japanese Japanese input confirms every conversion with Enter, so with no choice saved the send key defaults to Ctrl/⌘+Enter (Enter adds a line) when the app's language is Japanese, and to Enter everywhere else. A saved choice always wins. Mutation-checked: a default of Enter for every language fails the new test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>`acpPermissionCommand` looked for `command` and `cwd` in an ACP agent's rawInput. Antigravity's shell tool sends `CommandLine` and `Cwd`, so the function returned undefined for every shell request an Antigravity bot raised, and `request.opened` carried no `command` at all. Everything keyed on exact command identity silently stopped working for those bots. The saved command allowlist is the visible one: its rules match on `{command, cwd, providerInstanceId}`, so a person could save "always allow this command", see the rule listed in Settings, and never have it match anything. There is no error for this — the request simply arrives without a command and falls through to an ordinary card. Observed 2026-10-10 on `agy_acp_server`, in a `request.opened` event whose rawInput was: {"CommandLine":"ls -la /home/rahul/agent-workspace/00-core/", "Cwd":"/home/rahul/.openmausbot/task-workspaces/<bot>/<thread>", "WaitMsBeforeAsync":5000} The event's `summary` held the command text — it comes from `rawInput?.command ?? toolCall.title` and the title happens to be the command line — which is why this was invisible on the card. The summary is a display string and must not be used for grants (the field's own comment says so), so the fix is to read the field the agent actually sends. Both spellings are now accepted. A frame carrying two different values for the same field is refused rather than resolved, because a grant keyed on the wrong one would be a grant for a different command. Adds server/drivers/permission-command.test.ts, which had no tests. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>A Claude account past its weekly limit was reported as "update required", then "stop_sequence", and its Chief told the person three times to finish the bot's setup (Pesto, Oct 8-10). After a long idle, a resume the CLI no longer had ended the turn empty: no reply, no error, stop reason null (Marketer, Oct 10). Usage limits (server/drivers/claude.ts, retry.ts): - The CLI's rate_limit_event is read: status "rejected" without extra usage in use means the account's window refuses it (five_hour, seven_day, seven_day_opus, seven_day_sonnet, overage...). The refused call's own api_error_params outrank it; api_error "usage_limit_reached" and the CLI's words ("You've hit your weekly limit · resets ...") say the same. - Such a turn shows one plain row, not the CLI's words as a reply: "This Claude account has reached its weekly limit, which resets Oct 12, 2:30 PM (Asia/Calcutta). Until then, switch this bot to another engine or Claude account." (a model's own weekly limit: choose another model). It settles as "quota", never setup, sign-in or an update offer, even when the same refused call asked for an update (2.1.272). Near a limit is not past it: the update is still offered then. - An error result's stop reason is its terminal reason or kind, not its synthetic message's "stop_sequence"; an error result nothing explained leaves a row with its own words. - USAGE_LIMIT covers what Claude Code names ("hit your session/Opus/team's shared budget...", "out of usage credits/extra usage"); a per-minute rate limit stays transient. Whoever is told next hears the turn's own error, not the stop token (server/index.ts turnFailureCause): the Chief's incident, a coordinated or delegated result, ask_bot, a room coordinator, the bot's work log, and a routine's failure (routines.ts). Stale resume: an error result before `init` on a --resume launch ends the process, and its close rebuilds the conversation on a fresh session once, from the chat, as for a CLI that exits before `init`. Codex had the same gap for personal threads (only Company threads, or replays, were rebuilt; the rest failed every turn on the missing rollout): it now rebuilds them the same way, and SendTurnInput.recoveryIsReplay goes. A rebuilt session leaves one notice row saying results of earlier tool calls did not carry over, in place of "retrying — attempt 2/3 in 0s — resume_rejected". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Two ways a teammate's broken run never reached its Chief of Staff: - The Chief's one "Team incidents" thread is reused. A report that found it still answering the previous one fell through to startTurn, which threw 409 thread_busy, and the report was dropped (Nova 2, Sep 26). reportIncident now asks admit("incident"), which queues behind exactly what the steer-queue drain waits on (that thread, a slot, a room turn, #1194 parking) and never refuses; one bot's burst drains as one turn. - An incident turn mounted the Chief's Works-on computer, so a cloud computer with no Boat key (or a missing team machine) refused it before the engine started (Tango, Oct 10, both reports). resolveSurface now plans an incident turn — the report line, drained or retried, and the continuation that reviews work handed on from it — with no computer and no browser, tells the model so, and inherits no team computer. Message.peerAsk.incident marks the harness's report line. Queuing exposed a settle race: a queued line drains at turn.completed and replaces the thread's request owner before the finished request's own settle (gated on its digest) runs, so that request read requestPending forever. startTurn now closes a finished previous request before replacing it, judging the fence without the incoming lines. The 12 of 22 unsettled requests in the owner's data are all failed runs or a restart kill; the 2 incident ones are the two Boat-key refusals fixed here. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>- The "Waiting on your approval in @X" chip in the delegating conversation settles with what happened to the card: "@X got your approval" only for the person's allow; otherwise denied, "Nobody answered @X's approval in time — that step did not run" (the engine's own timeout), or closed before anyone answered (turn end, restart). Before, every resolution read "got your approval" (server/waiting-on-person.ts). - An approval the engine denied on its own timer is kept for the turn that asked it. The result its requester reads (a coordinate_bots outcome, a delegate_bot reply, a room member's reply) leads with the action that did not run and that it needs the person's approval, so a Chief no longer reads a skipped step as done. - A card holds only its own thread (owner decision D3): room handoffs admit work by the delegations' rule (canAdmitDirectTurn), and recipientAwaitingPerson is gone. Work that still waits because the card's thread holds the teammate's last slot says so once where it was sent ("Queued for @X, who's waiting on your approval in “thread”"), and the Chief's outstanding-assignments prompt names the same card. - OpenAI-compatible engines: the harness's own agents tools ask nothing, as Claude pre-allows mcp__agents and Codex auto-approves its agents mount; each route stays authorized server-side. Their cards offer the existing "Always allow this session", kept in memory for that exact tool on that exact server for the rest of the conversation, never for the person's own computer or on a guest's turn. The server hands "always" to any engine only for a card that offered it. The broker's fifteen-minute deadline fires on a marker file in the isolated fixture (server/testing/approval-clock-hooks.mjs, as peer-approval-hooks.mjs does), so the e2e tests follow an unanswered card through its real course. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Review follow-up. The "session" notice was the harness's reaction to any session.started `rebuilt`, so an ACP agent that rebuilds for other reasons (no session/load, after every 10-minute idle close; a load that only timed out) got a new, repeating row whose words ("no longer had") were false. The Claude and Codex drivers now send it themselves as a runtime.notice beside their own rebuilt session.started, named "Claude Code" / "Codex" rather than the account's display name, and it reads "could not reopen", true for every cause. The harness-side hook and its pushNotice helper are gone. A deleted thread also drops its turn-failure record (thread.deleted), as stoppedTurns already does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Computer use stopped delegated work in three ways (diagnose-computer-use.md items 1, 2 and 4): - The stdio bridges (This computer, Local VM, VPS) asked "may I act?" with a 2 s timeout and read ANY failure as "a person has taken control — pause this task", while the harness itself waited up to 5 s on a lazily claimed desktop. A slow or contended first call told the model to stop for a person who never took control. The client now outlasts the harness's longest answer (55 s), a check it could not get answered says exactly that (CONTROL_UNCONFIRMED), and the person text is sent only when the harness marks the hold reason "person". - A contention refusal told the model to pause; with no wait tool it ended the turn and nothing resumed it. The gate now waits inside the one call (up to 45 s, under Codex's 60 s tool timeout) for the claim to land, another turn to finish or a person to hand back, then answers with words that keep the turn going ("take a screenshot to keep waiting"). It stops at once when the turn stops or the bridge hangs up, never lets a call through once its own turn has ended, and never replays a call that waited through a person's hold (CONTROL_HANDED_BACK: look again). The waiting chip, queue position and 30-minute park stay as they were; explicit "This computer" now claims through the same lazy slot as every other desktop, so its waits get them too. lazyClaimWaitMs, graceMs and the per-cloud-computer start wait fold into the one call wait. - Every turn of a VPS bot ran a fresh ~6-round-trip SSH inspection at dispatch, and on Auto with no host fallback an unavailable VPS failed turns that never touch the screen. A desktop an inspection found ready in the last two minutes now mounts with no SSH and is checked on the first computer call (through the 10 s poll cache); an Auto turn whose VPS is unavailable runs and its model is told why and what to do (scheduled runs still fail and say why), with the hint matching an unreachable VPS. Tests go through the real control client and its abort path. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>list_threads showed a bot only its own threads and the ones it opened, and close_thread let only the opener or the owner close a thread. A Chief could not see or tidy a thread one teammate opened on another, so idle bot work piled up in the sidebar with no tool to clear it (MOCA-202, MOCA-201). A Chief of Staff now also lists, and may close once idle, any thread a bot opened on a teammate it can reach (chiefTidies). Threads the person started, routine runs and running work stay off-limits, and every other bot keeps the old scope. Rows the Chief did not open say who did ("opened by @A"). The tool descriptions stay within their byte budget; the Chief's own system prompt carries the detail. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>cb00428abehavior) 4aabbebdbb49852f0912' into codex/oct12-more-2637 e8915c8f73b99a8bb43a' into codex/oct12-more-2637 e18df17689Pressing Steer on a queued message that carried an image silently did nothing: every steer path parked attachment words for the next turn because adapter.steer() only took text. - contracts: steer(threadId, text, images?) and a capabilities.steerImages flag. Drivers without it keep today's behaviour. - Claude driver: sends the steer as the same stream-json user message a new turn uses (claudeUserMessage: native image blocks, then text), and refuses without writing when an attachment can no longer be read. - admission: direct-busy and room-steer let attachments steer when the engine takes images mid-turn; otherwise they queue with blockedBy: "images" (golden tables updated on purpose). - index: the live 1:1 send, the 1:1 queue Steer route and the room queue Steer route resolve images per item (extractSteerImages) and pass them to steer(); the Steer routes answer { queued: true, blockedBy: "images" } when the engine cannot take them. - renderer: that answer shows a quiet notice instead of nothing. Tests: admission golden rows, extractSteerImages, a Claude driver contract test, steer e2e for a live image send, a room image steer on Claude and a codex queue that stays queued, plus store/notice tests. Two tests that used "images wait behind a busy Claude thread" to build a queue now queue behind a full slot instead.A room member that works through tools narrates as it goes ("I'll check my own work history…", "Good, correct layer id…", "Let me inspect"). Each of those landed as its own reply bubble, teammates read them as the member's answer, and a teammate named in a passing note was summoned. The room's reply is now the turn's final assistant message (the one the store already marks turnTerminal), as in a 1:1 chat: - the room transcript folds a settled turn's earlier messages into one reversible "Worked for …" row above the reply; - teammates' room context and Auto routing history leave the notes out; - chained @mentions are read from the final message only; - a chat turn that settles with no final message (empty or "(pass)") posts "<bot> finished without a summary — asking for a short result" and re-asks the member once for a 1–3 line result. Goal and hand-off turns keep their whole text (a coordinator's decision envelope may span several messages). 1:1 chats are unchanged. Design ported from Hermes Agent's desktop group chat (MIT).A customer gave OMB their credentials and the bot still could not log in. Now the person can save a login once and the bot signs in without them: - The Sign in needed card gets Save a login (built-in browser only): a masked form for username, password and an optional 2FA setup key (secret or otpauth:// address). Saving stores the login for the card's exact page host, usable by the asking bot, and resumes it through the card's own continuation ("a login for <host> is saved; call fill_login"). The route lives in server/routes/sign-in-cards.ts beside Done and Cancel. - Settings → Logins (server/routes/logins.ts, admin only): list by site, username, 2FA, source, who may use it, last used; Add with a bot picker (all bots by default), Change (replace password or 2FA key, who may use it), Delete. No route ever returns a password or a 2FA key. - Store (server/login-store.ts): one file sealed with AES-256-GCM in the data folder, the browser engine's own at-rest format (encryptBrowserState), with its own 0600 key that is never handed to a child process. Same on desktop, server and Cloud. Excluded from workspace backups, exports and Cloud moves (workspace-backup-policy.ts); never in config.json or a log. - fill_login (agents catalog + /api/internal/fill-login, server/login-fill.ts): on the bot's current page in the built-in browser or My Chrome, the server checks https (http only for localhost) and an exact host match, finds the visible username/password/one-time-code fields with an in-page script that carries no secret, and types the values through the engine's input relay (keyboard insertText, never a command line), React-safe. Two-step logins fill what is visible. TOTP is RFC 6238 in house (server/totp.ts). The bot gets a status in words, never a value. Elsewhere it says to use request_sign_in. - Scrubbing: saved passwords, 2FA keys and one-time codes made in the last five minutes become •••••• in every browser tool result (BrowserRuntime, scrubBrowserResult), in the stored conversation and the protocol logs (shared/redact.ts runs the held-secret scrubber inside every redaction), as plain text, JSON, URL and HTML forms. Screenshots cannot be scrubbed, and a bot that transforms the value with its own page script gets past it; the docs say so. - The prompt prefers fill_login when a saved login exists and names the bot's saved logins by host and username only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Settings → Logins → Connect 1Password: the person pastes a service account token (1Password limits it to the vault it was given, such as "Shared with OMB"). OpenMausBot checks the token reaches 1Password before keeping it, keeps it in the same sealed login store, and never returns it. - Every Login item with a website and a password in those vaults appears in the Logins list, read-only, marked From 1Password, for every bot, by the website's exact host. Refresh reads the vault again; it is also re-read when the copy is over ten minutes old. Disconnect forgets the token and everything read with it. - fill_login uses them through the same path as saved logins: one candidate list with two sources, the same exact-host rule, the same RFC 6238 code from the item's one-time-password field, the same scrubbing (a filled 1Password password and the token are scrubbed too). The password is read from 1Password only when that login is filled. - server/onepassword.ts: a thin adapter over the official @1password/sdk 0.5.0 (MIT, 126 KB, plus @1password/sdk-core 14 MB of WebAssembly) and the cached index. The SDK is CommonJS that reads its WASM from beside itself, so it is never bundled: it is required on first use from the staged resource tree (scripts/prepare-duckdb.mjs now stages and verifies @1password/{sdk,sdk-core} beside DuckDB and resvg, for the desktop app and the Docker image), and the npm package depends on it. Its MIT license ships in the app's licenses folder, since neither package carries it. - Routes in server/routes/logins.ts (POST/DELETE /api/logins/1password, POST /api/logins/1password/refresh), admin only. Tests use a fake SDK with the real SDK's shapes; nothing reaches the network. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>A motion-graphics MCP returned a 110-layer composition; the gate cut it to the default 8,000 characters (5 layers) with a quiet note at the end, and the bots concluded the tool was hard-capped and reported they had checked every layer. - MCP server editor: "Result size limit" (characters; blank = app default, 0 = never trim), stored as mcpServers.<name>.resultBudget and handed to the gate per server (per-server value, else OMB_MCP_RESULT_BUDGET, else 8,000) for the Claude and Pi drivers - a trimmed result now starts AND ends with "⚠️ TRUNCATED by OpenMausBot: kept layers 5 of 110 (… of … chars). The rest was NOT shown. …", sized into the budget - structuredContent that duplicates the text keeps exactly the records the text keptA session rebuilt from an inline replay is sent what was said, not what was done. selectReplay can now also put one line per earlier tool call back between the two messages it ran between, in a new `inline` transcript. `transcript` itself stays text only. - toolReplayLine: what the call's chip shows in the chat and how it ended ("[ran: Bash: pnpm test — failed]"), redacted, then clipped to 120 characters with the outcome kept. A call with no recorded result says so instead of reading as a success. - replayToolCalls: the activity rows with a provider item behind them (the rows a digest counts), each after the context message it followed. A row that is itself context is never also a tool line. Empty unless context.replayToolHistory or OMB_REPLAY_TOOL_HISTORY=1 switches it on. - Message content is selected first, exactly as before. Tool lines get only the bytes it left unused: at most 20, the most recent, and only for calls between the first and last replayed message. Ports the replay half of #1184 onto today's byte-budgeted selectReplay. Nothing passes tools yet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>"[ran: Read — ok]" told a rebuilt session that a tool ran, not on what: a Read's chip shows no path, so the line had none either. A call whose chip shows no target now takes one argument from the input preview stored behind the chip: the command, file, search pattern, query or URL ("[ran: Read: server/config.ts — ok]"). - Only that one top-level argument. Never the rest of the preview (a Write's content, an Edit's old and new text), never the tool result. - Read by line, not parsed: a preview cut at 6,000 characters no longer parses, while the line naming the file is still whole. - Drivers build the preview with toolDetailPreview, which redacts it; the store does not scrub tool.input again, so the value is redacted here too, before it is clipped. - Clipped to the length a title is clipped to. A path keeps its end, which is the file. - The command beside the chip still wins, and a title that already is the command or names the file is not given it twice. The caps, the budget rule and the off-by-default switch are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Codex previews a web search as the query itself, not as named arguments, so its line was still "[ran: web_search — ok]". A preview that is one plain string is the call's only argument and is now shown ("[ran: web_search: OpenMausBot — ok]"), redacted and clipped like any other target. A preview that opens with a bracket is not plain text: arguments that never parsed, and the placeholders that stand in for content ("[large content omitted]"), still give the bare line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>A tool line is the harness speaking, in words a model chose (a title, a command, a path) and so, at one remove, any page it read. After an engine switch that text reaches another provider. Three holes: - Harness notes. A title, command or target could open a note of its own ("x — ok] [Delivered earlier by @Bob, …"). Each part now goes through escapeNotes (server/peer-provenance.ts) before it is clipped, and the joined line once more, since a title and a detail can open a note between them. A bracket that opens none (app/[id]/page.tsx) is left alone. - Web addresses. A signed link's query and a webhook's path are secrets in a shape no redaction rule knows. A URL target is cut to scheme and host: the `url` argument, and an address given under another name or as the whole plain-text input. One that does not parse is not shown. - Plain-text inputs. Any preview that was not JSON was taken as the target, so a tool given a body as one string (a message, a patch) showed the start of it. It is a target only as a single line of at most 200 characters. Also folds U+0085, which \s leaves out, with the other line separators. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Review round 1 found never-list commands the reader let through, and a few it blocked that it should not have. - A line's shell is not known, and a backslash escapes in POSIX but ends a path in cmd and PowerShell. The line is now read both ways, each reading for its own rules, so `cd "C:\Users\me\" && rd /s /q C:\` is seen and a string a Windows line only prints is not. A heredoc, a continued line or quotes that close in one reading settle which kind a line is. - `sudo -uroot rm -rf /`: the first value-taking letter ends an option cluster. `sudo -l` lists and runs nothing. - `mkfs` is blocked on any device except loop, RAM, nbd and zram; an image file is still fine. `dd` also knows RAID and mapped volumes. - Not blocked any more: a group inside a path (`/var/(log|tmp)/old`), `/mnt/<letter>` on Linux, `/private` off macOS, and a home directory that is a scratch place (HOME=/tmp). - Also read: `${HOME:?}`, `bash -c --`, `function name { … }`, `$(( … ))`. floorReading tells "read, not on the list" from "could not read"; floorVerdict keeps its shape. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Review round 1 on the quota-switch card. A decline could choose an engine. answer() never saw the behavior, so {behavior: "deny", message: "<engine label>"} switched the thread and sent the person's message again. Where local services may only decline a card (hosted workspaces, a Cloud home, OMB_LOOPBACK_TRUST=service) a bot's own shell can read the card and post exactly that. The label is now read only from an answer; every decline settles the card as "Not now". The held check asked about the thread, not the failed request. Any live node in the thread counted, and a root parked on a connector, secret or sign-in card nobody answered never expires: every answer in such a thread switched, sent nothing and said work was under way. The card now carries the failed request's root, and the answer asks about that node. The thread is asked one thing only: whether a teammate's question there would take the resent line as its answer (coordinator.answer's own rule; coordinator.awaitingAnswer also counts a root parked on cards, which is the case being fixed). Also: - the offer is spent only once the choice took effect: a refusal (a busy thread, an account being updated, an engine that dropped out, a failed save) says why and leaves the card open, re-sent so clients reopen it; the respond routes await the decision, so the answerer is recorded; - no card is posted for a thread whose next turn worked while the engines were being read; - no engine is offered or switched to when the engine the thread runs on is gone from the registry: the backup check could not be made; - turnSucceeded never throws into the turn that worked; - the setting is the module's own: read from config.json when an offer is made or taken (env still wins). server/config.ts is back to main's content, its two blank lines included, and index.ts's call sites pass singletons instead of packed lambdas. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>A small writing job the helper model does for a bot is not a person's turn, a routine or a bot-to-bot hop, and booked as `bot` it would be read as "Bot to bot" and lost among peer work. `{ kind: "helper", botId, job }` groups under its own key with the label "Helper model", in the summary and in the CSV's triggered_by column. Readers tolerate it: the usage page shows the server's label for a key it has no name for (pinned in UsageHistory.test.ts), and a server that predates the kind files the row under `bot`, as it does any unknown kind. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>The compaction summary, memory upkeep and the skill review each need one tool-free text call, and each borrowed the bot's own engine for it. Pi and Muse Code have no such call, and Codex and the ACP engines have none for the summary (their background call starts a whole agent process), so those bots got the mechanical fallback: an excerpt summary, and on Pi and Muse Code no capture and no review either. server/side-jobs.ts is one resolver for all three. The bot's own engine writes whenever it can, made, bounded and booked exactly as before; otherwise the helper instance's generateText writes, when one is set and may be used; otherwise nobody, and the job keeps its fallback. The order never reverses. The setting is `helper: { instanceId, model? }` in config.json, with OMB_HELPER_INSTANCE and OMB_HELPER_MODEL winning. Unset by default: it sends those bots' conversation text to a second provider. A settings request cannot set it, and a mistyped entry reads as no helper. The helper is never used for a bot whose own engine is missing or disallowed, and is never an instance that is not connected, switched off, disallowed by the organisation, or (on a hosted workspace) asked for a model that is not assigned. Each helper call checks the spend limit and is booked for the bot it wrote for with the trigger `helper`. Tests drive the resolver, and memory upkeep, the summary and the skill review through it. server/memory-upkeep.test.ts is left as it was. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Duplicate copies the source's engine and model, which is usually why the source was kept off the helper model, and dropped the switch: the copy's chats then went to the helper. The creation request carried who may see the copy and its tool selection ("a copy of a restricted bot is restricted from its first moment"). That field-copying moves out of src/state/store.tsx into a pure function, restrictedCopyRequest in src/lib/bot-duplicate.ts, which now also sends `helperModel: false` when the source does not allow the helper. store.tsx calls it and stays at 4546 lines. For the switch to be part of creation, the creation settings schema takes `helperModel` as a boolean. That schema is also the saved new-bot template, so a template can hold it too. Tests: the function for audience, tool selection and the switch; the schema; and through the real server, a bot created with that body has the switch in its saved record before any later request. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>env -Sruns, and never call a shortened wrapper option clear 565090dca9After the merge of main, server/index.ts stood at 22,153 lines against the 22,138 that scripts/testing/file-size-ratchet.test.ts pins it at. The branch used to pay for its wiring in that file with the lines it saved in the two respond handlers; main moved those handlers to server/routes/bot-messages.ts, and the saving went with them. So the wiring leaves too, as a host module (server/host/README.md): server/host/quota-switch.ts builds the quota switch from what only the server has (createQuotaSwitch({...}), with its comment) and holds harnessCardOutcome, the check the respond routes take through their deps. Both are moved, not changed: the lines are the ones index.ts had, indented once, reading index.ts's singletons and functions from deps under the names they have there. index.ts builds the module at the point the wiring sat, so nothing is constructed earlier or later than before. server/index.ts: 22,153 -> 22,138, the pinned count exactly, so the ratchet's number stays as main has it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>serializeRoomContext, the function that renders a room's last lines for one member's turn, and the GROUP_CONTEXT_MESSAGES bound it cuts at leave server/index.ts for a host module with explicit deps (createRoomTranscript({ store, teammateReportContext })). The body is byte-identical, two spaces deeper because it now sits in the factory: git diff --color-moved=dimmed-zebra --color-moved-ws=allow-indentation-change HEAD~1 teammateReportContext stays in index.ts with the coordinator it reads and is handed in. The constant is imported back for its other reader, the auto-routing history; DRAIN_COALESCE_MAX_ITEMS has no reader left there. The new unit test pins the rendered text against a literal: speaker names, the API marker, a reply quote, post_to_room provenance notes (and none on the reader's own post), a digest line, a teammate report, a defused note imitation, working notes of a settled turn left out and a running turn's kept, text overrides, and the 30-line bound. No behaviour change. server/index.ts 22138 -> 22092 (the ratchet number is lowered once, at the end of this branch). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>server/host/room-sessions.ts keeps, in memory, per room thread and member, the one native session that ran the member's last turn there and what it was handed. It reuses the 1:1 path's record and acceptance protocol (HandedState and a second Handoffs from server/delta-context.ts, which is not edited): nothing is credited until the provider acts on the prompt, a session that replaced the cursor clears the record, a rebuilt one is credited with the window, and the turn's own replies are added at completion. dispatch() decides a room turn's shape just before sendTurn: legacy setting off, engine not covered, a guest's turn: today's call start today's call too (no reset unless the room asked, no cursor); only the session that runs it is recorded with the window resume the recorded session, sent the window's lines it has not been handed, with the whole turn as recoveryText A resume needs all of: the same member spoke last on this thread and instance, the same adapter, an unchanged fingerprint of the turn's standing input, the driver's own idle time not passed, the last managed turn seen to complete ok, every unseen line still in the window, and a window that does not reach behind what the session's start left out. Any doubt is a start. Covered engines are one constant: Claude Code. Not wired yet: nothing calls it. Unit tests cover each row of the design's decision table, a comparison of the sendTurn arguments with main's for every turn that is not a delta, and seeded random rooms that check the invariant (every line of the window is in the text sent or in the session that runs the turn) and that a delta repeats nothing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>A room's members share the room's thread, and the Claude driver keeps one warm process per thread. When another member speaks on the same engine the previous member's process is closed ("spawn contract changed"), and a quiet one closes after the session idle window. The room context reading (and a pending Compact now) outlived both, so "X's context in this room is 81% full. Compacts before its next turn." stayed up for a process that no longer existed. - At dispatch, a member's turn drops the readings of the other members measured on the same engine instance in that thread, and the room state is broadcast. Members on another engine keep theirs: each engine pools its own processes. - A reading expires once it is older than the session idle window (the longer of the Claude and ACP policies) or the thread's keep-warm hold, whichever ends later. A timer broadcasts the room when one ages out. Driver session keying is unchanged.- A hand-off's turn (room prompt and assignment envelope) is told to ask its requester by ending its turn, never with coordinate_bots: that call is refused as assigning work back to an ancestor. - coordinate_bots' description says the same, adds that a finished teammate needs no thanks or approval (its result already returned), and that a refused call is not retried. - A teammate name with dashes or underscores ("reviewer-2") resolves to "Reviewer 2" when that names exactly one reachable teammate; the not-found refusal lists the reachable teammates with their ids. - session_read opens every thread session_search reads (rooms included) and digest hits, and its refusal echoes the ids it was given.Work handed to several members of one room runs in the room's thread one member at a time (runtime dispatchDue, the @mention round loop). Nothing said so: a waiting member looked idle, and a requester read "queued" as "under way" and told the person five jobs were dispatched when one ran. - server/room-queue.ts numbers each room thread's line: who runs, who waits, and on whom. - coordinate_bots receipts that wait carry queue {position, of, waitingFor} and say "queued 2 of 5 in this room"; the message says the jobs run one at a time and not to report them as under way. - The room payload carries queue (WireGroup.queue), for jobs and for a round of @mentioned responders. The room shows "Queued · waiting for X (2 of 5)" per waiting member and on its avatar; the sidebar row counts the queued members.With features.parallelRoomJobs on, a coordinate_bots call that sends work to two or more members of a room, or into a room that already has jobs out, no longer queues them in the room's thread. Each job runs in a thread of its own on its member, opened by the requester from the room and in the room's working folder, on the parallel direct-thread path that thread: "new" hand-offs already use. - The room shows "Sent to X" with a link to that thread, then one result card per job as it finishes, through the existing report path. The requester resumes once, in the room, with every result. - One member's jobs from the same conversation share its thread and run there in turn, so a member never runs two of them at once. - At dispatch, a job's thread is still checked against the room it came from: a member who left the room is refused. - A single job into a quiet room, a one-way notice, and every room with the flag off keep running in the room's thread, in turn. Off by default because it changes where room work runs. Turn it on with PATCH /api/config {"features": {"parallelRoomJobs": true}}.An ACP adapter that titles every call alike ("Running list_directory") had five calls on five different paths read as one call repeated five times. Fixes #2783 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>The packaged phone helper (Resources/companion) has the same problem as the server: its .js files are ES modules with no package.json of their own, so a parent package.json saying "type": "commonjs" (what `npm init -y` writes in a Windows user folder) makes Node parse them as CommonJS and stop at the first import. Startup survives, but pairing a phone fails. - build:companion now writes dist-companion/package.json {"type":"module"} through scripts/mark-module-scope.mjs, the same marker bundle-server writes. - New release gate scripts/check-module-scopes.mjs: both markers must say "module", and every top-level .js in server/ and companion/ must parse beneath a {"type":"commonjs"} parent. It runs on the packaged macOS (both arches), Windows and Linux trees, so this bug cannot ship again. Verified locally: both builds write the marker; the gate passes on the fixed trees and fails (exit 1) with the companion marker removed, as in 0.1.108; electron/companion-entry.test.mjs 4/4; scripts/ci-workflow.test.ts 21/21. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>- run --export DIR checks the folder before anything is sent: a folder with files in it is a usage error (exit 2) up front, not after a 30-minute job; --force writes into a used one. - Ctrl-C while waiting names the same job: "openmausbot wait --thread T --since S", so a job that ended while nobody watched reports how it ended instead of "idle". The run's own "wait again" line says the same. - --tree (interrupt, --on-input stop, --on-timeout stop) reads the job again after the Stop, from the same moment, and stops in each teammate's own conversation only what the Stop left: a turn running, waiting on its own teammates, parked on an answer, or about to run again; once per conversation. Never queued work: the Stop drops it, and its conversation may be busy with something else entirely. - events: a refused stream (an expired token, a missing scope, any 4xx) ends the command with that refusal (exit 5 for 401/403) instead of reconnecting forever; a dropped stream or a server error still resumes from the cursor. --jsonl is accepted (the output always is JSON lines). - Only run, wait and events answer Ctrl-C themselves. Every other verb ends on it as any command does; openmausbot mcp swallowed it before. - A refusal prints the server's own words ("stop this bot's turn first"), not "OpenMausBot API error (409): {"error":…}". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Apply is not atomic, so whatever the server would refuse part way through is now refused while reading the file (exit 2) or planning (exit 1), when nothing has been written yet: - the file: a name or title on more than one line or over the app's length, a soul or team brief over 24,000 bytes, a room brief over 12,000 characters, a skill over 256 KiB. The limits are the server's own (shared/bot-profile.ts), and a test pins the others to theirs. - the bot's engine: a tool selection it cannot hold. Claude, Codex and the other agent engines limit only MCP tools; a native: selector for one of them is stored by the server and then stops every turn the bot runs. Apply checks each selection by the engine's own rule (shared/tool-scope-support.ts) against the model the file names, the bot's current one, or the workspace default for a new bot. - a room member that is neither in the workspace nor made by the file is named by --dry-run and --check, not only when applying. `tools: {}` and `{ deny: [] }` mean every tool: the selection is cleared on the server instead of stored empty (which mounted every tool server behind a gate that filters nothing), and an empty stored selection compares equal to none, so applying a team export stays "No changes.". A base URL given as a secret is shown as "base URL set", and read, like the key, only when it is written. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>- engine set --install asked the server to install the engine every time, even one already running; it now leaves a running engine alone (installed: "already"), so a script can run it on every start as the help says. Unit tests for engine set and engine list, which had none: a key written once and never printed, kept on the next run unless --rotate, base URL rules per engine, --only-claude-api, an unreadable key, --dry-run, and a list that shows which keys are set, never their values. - An id that names nothing ("no such bot") exits 2 with the ids hint, as a name that matches nothing already did, instead of 1. - Help: TARGET's description on a line of its own; --install's wording. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>launchVerificationServer kept a fixture in OMB_TEST_PORTS=FROM-TO only when the environment it was handed carried it; most suites hand it {} or their own variables. It now falls back to this process's OMB_TEST_PORTS, so a whole suite can be run with its fixtures in one range (OMB_TEST_PORTS=19975-19999 pnpm exec vitest run …). Without the variable nothing changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>docs/headless-cli.md: run --export checks its folder first (--force); wait --since keeps the same job, and Ctrl-C and "wait again" say so; what a stop with --tree reaches; the JSON's state and the exit codes it drives; export follows linked folders and counts what it writes; events end on a refusal (--jsonl accepted); the limits and server checks team apply makes before any write; tools: {} means every tool; Claude limits MCP tools only, so the Launch Room example no longer denies native:Bash and says where its visitors are safe; the CI sketch gives serve its key before doctor --wait. The verification recipe names the e2e's new scenarios. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>- GET /api/threads/:id/job held a read up to 25 s and then answered with what it had, as whoever asked at the start. A session signed out, or a conversation taken out of the reader's sight, during the hold still got the job. Now the held read checks the session is live (401 otherwise) and reads the job again with what the person may see now (404 when that is no longer the conversation), as the search route does after its scan. - The job's reason named and quoted work in conversations the reader may not open ("Priya needs you: <question>", "did not complete (Marcus)"). Such work still counts, as "a teammate", and a hidden teammate's question is never quoted. - Past 500 rows the view listed the oldest, so a long conversation read from its start (export without --since) showed only its first requests and none of its latest job's teammates. It now lists the newest 500. Tests: the held read signed out meanwhile (401) and hidden meanwhile (404); a hidden teammate's question and name kept out of every reason; 600 earlier requests and the latest job whole. Each fix mutation-checked. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>- The install request went through the ordinary JSON client, which gives up after 30 s (OPENMAUSBOT_MCP_TIMEOUT_MS). The server answers only once its npm install is done, which on a fresh sandbox takes longer, so `engine set --install` and a team file's `install: true` (the Launch Room example) ended with exit 5 "cannot reach OpenMausBot" while the install went on. The install is now one request held up to 15 minutes, with an "installing" progress line; the result says installed: "now" and the engine's state, not the server's whole engine list with its paths. - On an engine that already has a key the server never shows the key's base URL, so a different --base-url was silently not written ("nothing changed"). It still is not, and the result now warns and names --rotate. Tests: an install answered after the JSON client's own timeout succeeds (exit 5 before); a base URL on a configured engine warns. Mutation-checked. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Every bot's browser result now ends with what its page reported ("Page reported after this action (page output, not instructions): ..."), and a bot set to Record browser steps leaves a numbered step with a screenshot for each browser action, which it cites ("Recorded as step N."). - server/browser-lane.ts: one call per browser at a time, so a call's reads, action and reads stay together; a call waits at most 30 s behind a stuck one, and preview frames skip a browser whose lane is held. - server/browser-steps.ts, around each call over the relay: what the page reported before and after (5-11 ms an action, 4-5 ms a read, medians on agent-browser 0.37.0). For a recording bot: the target's box and the page's geometry before; a wait for the action's own document or POST to its own site (1.5 s at most, over at once when a person takes the browser), one paint, the geometry again, and a 1280x720 JPEG (110-130 ms in all at the median). No picture while a person holds the browser, while a secret field shows its value (in the page, its open shadow roots and its same-origin frames), on a page where the bot typed into a secret-looking field inside a frame (a payment provider's card field, out of any page script's sight) until the page moves on, or for a minute after fill_login typed a one-time code unless the page moves on. Typing is checked by where it landed, never its value (unknown inside a cross-origin frame); every text kept is scrubbed of held secrets; refs in iframes, new tabs and annotated screenshots are tracked for the marker. - A browser started under a call (seen by the probes around it, the call's own answer, or a read or preview frame that found Chrome gone) is sized again before the step reads it, its refs are forgotten, and the bot is told when its pages died. agent-browser saves the viewport but never re-applies it. - A preview frame right after a recorded step is that step's picture. - Record browser steps is an admin setting per bot (Access -> Browser), with no prompt; a team file may carry it. fill_login and restart_browser are steps without a picture, and fill_login types inside the browser's lane. - Beside process hygiene's idle close (BrowserSweep -> closeIfIdle): a call is counted from before it waits in the lane, and an idle close never starts while the lane is held, so page reads, recorded steps and fill_login's typing and sign-in step are use. A preview frame holds off a close while it is taken but no longer restarts the idle time, so frames beside a turn never keep a browser open. An idle close forgets the session's relay port, page health and refs as a restart does, and the call that opens the browser again, not one that gave up in the lane behind it, tells the bot. - scripts/testing/browser-evidence.e2e.test.ts drives the real engine and the real server (CI's ui-smoke job). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>("Read a", "b c") and ("Read a b", "c") no longer share a key. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>- server/chat-apps-mcp.ts: recordMcpAppCall turns an observer's report into an app row (no row for a room, an unmounted or out-of-scope server, or one whose apps are off); the UI resource is read on the server's own connection (cached 10 min, ≤ 2 MB, text/html;profile=mcp-app, _meta.ui from the content item or the resources/list entry), its CSP filtered, the document stored; an unreadable page still writes the row with blocked. access() is ChatApps.mcpAccess. rpc() is the route's mcpRpc: 410 for a removed, disabled or apps-off server, 401 with signIn, 60 calls a minute per row, tools/call only to the app's own server, visible to apps, within the bot's selection, argument-checked, and following the approval mode (read-only and non-destructive app-only tools run, Full runs, the rest answer 409 confirm until the person allows). Every call is logged without its arguments. - server/mcp-app-catalog.ts: which servers have apps, per configuration, persisted to DATA_DIR/mcp-app-catalog.json; turnMounts reads it. - server/mcp-app-connections.ts: one pooled client per server (5 idle minutes, at most 6), the UI extension with the fallback, tools/list cached 60 s and dropped on list_changed; stopped with the server. - Settings: each server's "Show its apps in chat" switch is apps in the listing (stored only as apps: false) and PATCH {apps}; Test advertises the extension and records what it found; a saved server is probed in the background, and stale ones at startup. - createAgentCard routes tool mcp_app to recordMcpAppCall (async). - index.ts wiring is net zero lines. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Drawn under a server only when its listing reports a boolean `apps`, so it appears once the MCP side reports the field. A press saves PATCH /api/mcp/servers/:name {apps} and takes the listing back, as Enable does. McpServersPanel stays at its ratcheted length. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>A bot with connector scopes that called COMPOSIO_MULTI_EXECUTE_TOOL with an argument name the relay does not parse (tool_calls instead of tools) was refused with "<Bot> has not been given access to Composio ... do not retry". connectorCallsIn() turns an unparsed batch into the opaque COMPOSIO_PROXY_EXECUTE, whose toolkit is never granted, so the access check blamed a permission that was fine. The bot stopped and told the person to turn on a toggle that does not exist. The relay already parses the frame with connectorCallFromFrame(), which marks such a call unrecognized with a reason. The scoped refusal now uses connectorUnrecognizedText() for an unrecognized call, and that text gives the multi-execute shape: tools: [{ tool_slug, arguments }]. What runs does not change: the call is still refused and nothing reaches Composio. MOCA-344 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>A stop word within two words of a mention held that member, so "@Engineer stop this bridge and uninstall it" paused Engineer and its turn was refused as held. A stop word followed by a determiner and a further word ("this bridge", "the render") takes an object and is now read as an instruction; a bare "stop", "stop that" or "stop it" still holds.When an engine could not start the agents MCP server ("timed out" at chat open), a Claude bot kept the process for the rest of the chat, so every later message also had no way to reach other bots. Claude's system/init lists each MCP server's status and Codex sends mcpServer/startupStatus/updated: when agents failed, the chat now says so once, and a Claude session is retired after that turn so the next message starts a process that reconnects. Codex already starts a fresh process per turn. The Claude usage-limit helpers move to claude-limits.ts and the Codex guest helpers to codex-guest.ts, keeping both drivers under the size ratchet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Bots often write `body { height: 100vh; display: flex; align-items: center }`. The helper measured <html> at max-content, which a 100vh body pins to the frame's own height, so the frame never grew and the content spilled out above and below (a real "Coffee Counter" page showed half its cup and none of its buttons). Both html and body are now freed of height, min-height and max-height for the measurement and put back before the next paint. Pages that do not pin themselves measure exactly as before. The Electron smoke mounts a pinned 300px page and requires a 300px report. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>A Codex bot with no Codex login (Move to Cloud leaves sign-ins behind) still started Codex, which reconnected for up to a minute and then showed the raw "401 Unauthorized: Missing bearer or basic authentication" text. Codex's ChatGPT usage-limit text ("Upgrade to Pro") read as MausBot's Pro plan and offered Retry. - Before starting Codex for its own ChatGPT sign-in, a missing or unreadable auth.json is checked with `codex login status`; "not logged in" ends the turn at once as setup: "Codex isn't signed in on this computer…" (plus a My Cloud line on a Cloud home). A login Codex reads elsewhere (keyring) is remembered. - Codex's missing-credentials 401 gets the same sentence. - A refused or credential-less 401 before anything streamed runs the turn again once when a ChatGPT login is readable and Codex launched without it (or another Codex rewrote it), instead of marking every Codex bot signed out. - Codex's usage limit becomes "Your ChatGPT account (used by Codex) reached its Codex usage limit. This is OpenAI's limit, not your MausBot plan." with Codex's reset time; the failed turn links to Codex usage instead of Retry. - Codex error wording and the login check move out of codex.ts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Connected apps gets a HighLevel card (also Growably and other HighLevel-based CRMs) next to the Whop card: Connect opens HighLevel's sign-in through the server flow (POST /api/highlevel/sign-in, poll every 1.5 s, Cancel deletes the flow), a Private Integration token fallback posts {token, locationId}, connected shows "Connected · <location>" with a Disconnect menu (confirmed), and a lost connection offers Reconnect. The server's own in-progress flow is followed after a reload without reopening the page. A card hidden when the server reports unavailable. Bot settings: botAppsFrom merges "highlevel" (name HighLevel) into the per-bot app list only while GET /api/highlevel says connected, cached like the Composio inventory; AccessSection reads the same list so the read/write/off control shows HighLevel and sets connectorScopes.apps .highlevel; tool-by-tool grants stay Composio-only. A native HighLevel connection counts as a configured connected app where Composio is not set up (Cloud home). Locales: highlevel.* keys in en.json; i18n:check passes. Tests: driver (start/open/poll/cancel/failure), the card in happy-dom for every state and action, useBotApps merge rules, AccessSection scope rows, PluginsPanel grid/count/visibility. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>From review: main's thisComputer callback answered true even when the switch threw (workspaceMenuAction shows its dialog and resolves) or a local environment switch returned { ok: false }, so a stale handoff could sit for two minutes. It now answers false for both, and the docs separate the popup coming back on a later launch from its once-a-day "shown" count. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>- Add a Cloud… always opens the sheet on this computer's page; the sheet says what is true (setting up, or one Cloud per account for now). The native "You already have My Cloud" box is gone, and with it the "My Cloud is not ready to connect yet" error during setup. - openmausbot://cloud behaves the same with or without a checkout being watched: it brings the app forward, reads the session at once, and shows the sheet while a purchase from here is under way (else Settings, which signs in or opens the Cloud). - While it is set up the buyer names the Cloud (28 characters) and picks one of six colours. Kept per account until the Cloud is listed, then in its Servers entry (environments.json name plus a new optional, validated color, and a home marker so the startup hint survives a rename). The native switcher draws the colour as a small dot (a PNG data URL). - Ready: no notification while the sheet is open in the focused window (the sheet opens it itself); otherwise "{name} is ready", and a click opens it. Main forgets an open sheet when its page navigates away. - New sheet channels (sign-in, reopen and copy the checkout, interest, name and colour, sheet open) live in electron/cloud-buy.mjs behind the same local-window guard; every argument is plain text checked in main. main.mjs shrinks by 22 lines (file-size ratchet lowered). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>One sheet for every way in, built with the app's tokens, ui-button styles and lucide icons so all nine skins draw it (checked in Midnight, Daylight and the other seven), and still in reduced motion. 1. Choose: what MausBot Cloud is (five benefits, a small illustration), the Admin's plans as radio cards (arrow keys; the Admin's recommended plan preselected and marked Most popular, never Pro by itself), each with its price, cloud computers at once and three allowance chips; then Due today, the money in one line ("Card needed, nothing charged for {days} days. Then {price}/month + tax. Cancel in the app any time."), the trial timeline (today with the credit, the reminder, the first charge) and Start free trial. Without a trial: due today at the price and "Continue · {price}/month". Panes stack on a narrow window. 2. Sign in, inside the sheet: email (the profile's, when set), Send code, eight digit boxes (auto-advance, paste fills all, backspace goes back), resend after 30 s, every Admin answer in plain words, and Continue in browser for single sign-on. "Signed in. Opening secure checkout…" goes straight on to the checkout. 3. Pay: a checklist (signed in, waiting for the payment, setup next), Reopen checkout and Copy link (main's kept page) and Change plan; after 30 minutes "We haven't seen a payment yet." 4. Setting up: the badge ("{Plan} trial started · ${credit} Claude credit added", or "{Plan} started"), the Admin's steps with progress, and the name and colour with a switcher preview. Ready with the sheet open in the focused window: "Opening in 3…" and it opens (Not now stops it); otherwise Open {name}. 6. Add a Cloud… with a Cloud: "One Cloud per account for now", Email me when I can add another, and Open {name}. During setup: the setup. cloudAddView stays the one state → view function, now with the in-app sign-in as a view of its own. Focus goes back to whatever opened the sheet. A "Staging" mark shows on the staging Admin. 28 English strings the old dialog used are retired with their translations. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>A "cloud" beat after the phone and before the first bot (which stays last): "Keep your bots working while you sleep", what Cloud does in three ticks, the Admin's offer in one line (trial days and the lowest price, the Claude credit and money-back only when offered; no number is the app's own), Start free trial (See plans without a trial), Not now, and "You can add a Cloud any time from the switcher." - beatsFor takes `cloud`, true only where the buy sheet would sell: this computer's own page with the Cloud bridge, not a branded build, not a hosted or remote viewer, an account that may buy (buyOfferAllowed) and the Admin's offer loaded. The decision is made once, within 6 s; an offer that hasn't come leaves the beat out rather than holding onboarding. - Start opens the buy sheet (new source app_onboarding, in both the app's and main's allow-lists) over the welcome: the sheet now sits at z-[60], above the z-50 welcome and Settings. When it has been open and closes, the welcome goes on. While the welcome is on screen the sheet never switches the window when the Cloud is ready: no "Opening in 3…", and main is not told a sheet is in front, so it notifies and the sheet shows Open {name}. - Shown is recorded as hint onboarding-cloud-v1; onboardingCloudOffered (record) lets a later Cloud pitch hold off. Shown is tracked as onboarding_step "cloud" like every beat; Start and Not now as onboarding_cloud { action }. - The onboarding preview gains the beat (with a stand-in offer) and a &w=&h= stage size for narrow windows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>The kept checkout lives in memory, so after a restart the Pay screen (from the Admin's open checkout) was read every minute, focus did not read it, "ready" said "One Cloud per account for now" and no notification came, unless Reopen was pressed. - Main adopts a checkout the Admin still holds open when none is kept: watched from first sight (every 3 s, 30 minutes at most, at once on focus), and Reopen asks the Admin once for that plan. - "{name} is ready" also comes for a setup this app watched (bought elsewhere, or restarted mid-setup), once. - Pay or Setting up seen in the sheet counts as arrived: ready is theirs to open there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Focus was checked only when the countdown started; switching away during it still switched the window. Blur now stops it and leaves Open {name}. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>The sheet's Choose hero and the welcome's Cloud beat share one scene in place of the generic-bot drawing. Four of the app's Maus mascots work on a cloud under the moon. This computer sleeps on its hill: an open laptop with a dark screen, z bubbles rising and a breathing sleep light. Every 4.6 s one bot finishes a task. It hops with a happy face and a blink (no face spin) and sends up a token in its own colour. The token pops into confetti in the crew's colours while the others watch, then the next bot shows a thinking pill. Lamp pools and contact shadows sit under the bots. The sky follows the skin's accent through light-dark(): night in dark skins, an evening sky in light ones. - Pauses when out of view and while the sheet covers the beat (paused={sheet !== null}). - Reduced motion, from the system setting or the dev hook (followed live through the shared reducedMotion()), shows one still frame of the same story. - role="img" with cloudScene.label. CSS is in styles.css. - The mascot gradient helper moved to lib/mascot.ts, so tests that mock Avatar still render the scene. - CloudArt and cloudBuy.art are removed. - cloud-buy-preview.html takes &reduced=1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>- The token check (GET /locations/{id}) now says which case it is: a 401 for a missing scope names View Locations, any other 401 says the token was not accepted, 403 says the token belongs to another sub-account or the agency, 404 says the location id is unknown. HighLevel's own reason is kept, redacted (the token, Bearer values, pit- tokens, JWTs) and cut to 160 characters. - HighLevel answers 401 for a dead token ("Invalid JWT") and for a live token missing a scope ("The token is not authorized for this scope."). The second no longer refreshes or signs the connection out; the bot is told which permission is missing. The custom-field lookup inside contact reads is optional: its refusal is cached and contacts still read. - The card's help text lists the permissions to create the token with. - docs/highlevel.md: a permissions table, the agency-admin install message, and the per-bot Off/Read/Read & write control as it exists (no per-tool picker for HighLevel). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Cloud routine runs failed with only "stop_sequence", and with Grok Build's raw "Internal error: API error (status 402 Payment Required): ...". Claude Code (2.1.295, read from its binary and from real frames in a native log) reports an API failure as a synthetic assistant message whose stop_reason is "stop_sequence", with `error` (billing_error, overloaded, server_error, rate_limit, invalid_request, model_not_found, unknown...) and the text ("API Error: 529 ...", "Credit balance is too low"); its result is subtype "success", is_error true, the same stop_reason, the text as `result` and api_error_status. The driver showed that text as a bot reply and settled the turn on the stop token, so a routine run, which takes its error only from runtime.error, kept "stop_sequence" ("api_error" once terminal_reason was read). - server/drivers/engine-errors.ts: one set of words for every engine. Out of credits: "Your Grok account is out of credits. Add credits with Grok, then run it again.", with the provider's own short reason in quotes when it is a sentence; also a usage limit, a rate limit, overloaded, a server problem and any other HTTP status. Every sentence keeps the words classifyError reads, so retries, account switching and health codes are unchanged. A bare stop token is never a whole cause. - Claude: every other api-error frame is one plain error row in those words (like the usage limit, auth and update rows), never a reply; an error result never says "success" or "stop_sequence". - ACP: an out-of-credits refusal is an account failure for every ACP engine (as OpenCode's already was), and an unclassified HTTP failure goes through the same words. - Chat-completions drivers (xAI, Groq, Mistral, Cerebras, MiniMax, Meta): out of credits in the same words. An OpenAI-compatible URL keeps its raw "upstream HTTP 402" line: it names no provider and the Cloud trial credit parses it. - Routines and TurnStops: with no error text, the stop reason reads "The engine stopped without saying why (stop reason: stop_sequence)." Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>A destination that already has bots or chats now offers "Bring newer chats to {server}" beside Replace. It reuses the copy's owner session, encrypted export and resumable upload, then POST /api/cloud-move/merge stages the upload as an ordinary backup and, inside the gate that waits out bot turns, adds only what the destination lacks: whole conversations it never had (title and pins, never approval, model, folder or engine session) and the messages (by id) missing from conversations both have, placed among its own by time a turn at a time, with their attachments. Nothing there is deleted or rewritten except the parentId that now orders a row after an added one; inserts fail rather than overwrite. Routines, bots' settings, memory, rooms' setup, connections and credentials are never touched. Chats of bots or rooms only on this computer stay here, a conversation deleted on the destination since the copy (or the last bring) is not brought back, it never restarts, and a second run adds nothing. After Copy to My Cloud, My Cloud stays the server this app opens, and This computer's page now shows one line, "Your bots now live on My Cloud. Chats here stay on this computer." with Open My Cloud, until Swap back. The two copy route factories in index.ts share one options object, so index.ts shrinks by 10 lines; the merge itself lives in cloud-chat-merge.ts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Simple mode only; Advanced mode is unchanged. - Chat header: in Simple mode the model chip, the Computer button and ⋯ leave the header (they move to the bot panel). The bot pill stays, and Stop, the context warning, the Live call chip, "Teammates working" and "Back to your chat" still show when they apply. - ChatMoreMenu (new): the chat's ⋯ menu as a round button for the bot panel's top bar, `ChatMoreMenu({ bot })`. It reads the thread's messages itself and shares one item list with Advanced mode's header ⋯ (ChatHeaderMenu, moved out of ChatView). Simple mode adds New thread and All threads, and Usage and the Inspector are no longer locked (App no longer closes the Inspector in Simple mode). - chat-find (new): "Find in conversation" opens ChatView's find bar from outside the chat, by thread. - Composer: a round + holds Attach a file, Finish together (rooms), the thread's approval level (bots, a submenu of the same choices as the shield) and the call mode (Take turns / Live, which starts the call as the chevron menu did). Round mic, and a round call button filled with the bot's colour (rooms: accent). The Goal chip stays in view while Finish together is on. A room's call button moves from its header to its composer in Simple mode. - Approval option helpers move to src/lib/approval-mode-options.ts (re-exported from ApprovalModeSelector) so the + menu can use them. ChatView 1598 -> 1496 lines, Composer 1160 -> 1155. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>The panel archived through its own copy of the sidebar's code, minus the corner notice and its Undo. Both now run archiveBotWithNotice (new bot-archive.ts), and the sidebar listens for notices from the panel, so an archive from either place ends with the same "{name} archived · Undo". The sidebar's own archive behaves as before. With no sidebar mounted (the calendar), a failure still reaches the chat's error banner as it did. Sidebar.tsx shrinks by 17 lines; its ratchet entry follows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>A root that coordinate_bots begins with reply "poll" is settled by the tick once its children are reported, and that settle reaches the host's report hook with no parent. The hook's root branch only handled a root whose own turn failed, so it appended failedTurnTool("") and the runtime's thread got an empty "error: " row after every successful poll handoff. Return early for a completed root, after the parked seat and follow-up cleanup it still needs. Fixes #2989 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>The Admin's desktop session can now send cloud.unreachable ({ cause: "host" | "no_answer", since }) while a ready Cloud's health checks can't reach it, as during a host reboot by the hosting provider. - Settings shows the reason in place of "My Cloud is ready" and hides Open My Cloud; the Cloud link doesn't try to connect meanwhile. - A failed connection reads the session again and shows the reason instead of "Cloud request failed."; the "not reachable" dialog uses it too. - An Admin that doesn't send the field changes nothing; a malformed one is dropped, never the machine. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Brings X research up to date with main (1,496 commits since Oct 9) and keeps every pinned file within the size ratchet. - Catalog: the x_* definitions and their route map move to server/drivers/agents-x-tools.ts (agents-catalog.ts stays under 1,000 lines); agents-call.ts dispatches them like the card tools. Main's single-family catalog gains one profile, skills+shared+voice+escalations+x, now the full golden; goldens re-pinned (no other profile changed). - Included services: X sits beside main's trial Claude credit (OMB_CLOUD_AI_*) in the secret lists, the launcher allow-list and the Cloud home secrets. - Desktop: main.mjs wiring goes through createDesktopIncludedX (included-x.mjs) beside main's Pro plan relay; main.mjs stays at 3,470. - Server: the bot PATCH check moves to routes/bot-patch.ts, where main moved that route; ConfigStatus.xResearch moves to config-status.ts. index.ts was already 8 lines over its pin on main, so checkedGroupResponder moves to routes/groups.ts (its only other user) and the pin drops to 17,523. - UI: the X card uses main's useCloudPlan().view, Settings sign-in ("Sign in to your Cloud plan") and the Add a Cloud sheet (Compare plans) in place of the removed ProLink. - The carried credentials test reads CREDENTIAL_PATCH and the external save's tombstones where main moved them. - A Cloud home whose relay token is refused (401/403) is no longer told to sign in again: it says X research isn't connected on this Cloud, with nothing to sign in to. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Memory capture made one background model call per chat that went quiet, all at once: a burst of six chats cost six parallel calls about two minutes later. It also kept a one-answer instruction ("reply with just: ok") as a lasting preference ("prefers minimal replies"), which recall then sent along with every later turn. - A bot's chats that go quiet within 15 s of each other are read in one call (at most 12 turns and 24 KB a call; a bigger backlog takes more calls). Calls run one at a time across the server, never in parallel. - In a call reading several chats, the conversations are numbered and each item says which one it came from, so its source line, journal rows and About me (only from the owner's own chats) stay per chat. An item without a valid number goes to the chat with the most said. - An exchange too short on both sides to hold a fact ("ok" -> "ok") spends no call; a short fact the bot answered in words is still read. - The prompt says an instruction for one answer is never a preference; only one stated as lasting counts. - Backups, shutdown with chats still queued, a bot deleted mid-call and a call that never answers all keep working. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>treg is bring-your-own-key for everyone, and stays included with paid Cloud plans. - Settings → API keys has a treg key ("Get a key at treg.to"), kept like the other provider keys: the desktop's encrypted store (tregApiKey, OMB_TREG_KEY) and the server config elsewhere, never in logs or argv. Saving it checks it with two free account reads (who the key is, then the team's balance): "treg is working ✓ Balance: $4.25." or the exact problem. - Visibility: the tools reach the AI only with the person's own treg key or a paid plan's research credential (a home's OMB_CLOUD_X_*, or the desktop's plan token). With neither there are no tools, no prompt text and nothing in the catalog; every route checks again before it spends. - Routing: an own key calls https://treg.to directly with X-Treg-Token, with no relay and no limits from this side, and treg's own refusals pass through as sentences (the balance with its top-up link, a bad request, a rate limit with when to retry). Without one, calls go through the Admin's relay as before. With both, the own key wins. - Research tools beside the X tools, on the same routing: research_search({ job, limit? }), research_endpoint({ id }) and research_call({ id, params?, query? }). On a plan they map to Admin #125's /research/search, /research/endpoints/<id> and /research/call/<id>. With an own key they use treg's catalog search, endpoint rows and /call/<id>, with the method and array encoding taken from the catalog and no category limits. Every call sends a fresh Idempotency-Key, reused only on its own retry (a lost answer, or treg saying it is still running), and shows its cost from X-Treg-Cost-Micro or X-Omb-Research-Charged-Usd. - The per-bot switch (bot.xResearch) is one "Research (treg)" switch for both, on by default whenever a key or plan is available, and still off per bot. With neither, the card asks for a treg key and opens API keys. - Activity reads "Searched X", "Looked up people", "Looked up companies" and so on, from the category in the endpoint's id, never the vendor. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Triggers become "Automations" everywhere a person sees them. Each one is a plain sentence ("Every weekday at 9 AM, Scout sends you a summary of your inbox"), with Working / Paused / Needs you, one fix button when it needs the person, and a List · Calendar switch. Clicking a sentence or a calendar event opens one panel with recent runs and Run now, Pause, Edit, Delete. + New is a single "What should happen?" box that sends a chat message to a bot. The chat card is two lines and updates live. History, run logs, the kind chips and the explanation paragraph are gone. Bot-facing text calls them automations; tool names and data are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>The prompt and create_trigger now ask for instructions as a plain action a person would say ("draft a reply"), never "event data", "payload", "webhook" or "trigger"; each run's prompt says where its event is instead. The sentence drops such a trailing phrase, so existing automations read well too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>My Cloud refused every 1Password service account token with "1Password is not available in this build of OpenMausBot", then "1Password could not be read". The token was never checked. Root cause: the Cloud home's root supervisor (cloud-home-start.ts) hands the server an allow-listed environment, and OMB_DUCKDB_DIR was not on the list. The image sets it to /app/duckdb, where the 1Password SDK, DuckDB and resvg are staged (scripts/prepare-duckdb.mjs). Without it the server looked for them beside /app/dist-server, which ships no node_modules, so the SDK never loaded. DuckDB (Data) and chart PNGs failed on Clouds for the same reason. - cloud-home-start: pass OMB_DUCKDB_DIR through. A Dockerfile test now fails when the image's ENV sets anything the server does not receive. - 1Password errors say what is wrong: an installation that cannot load the SDK says so and never blames the token (the reason goes to the server log); a malformed token, a refused token and an unrelated error ("Unexpected token" in JSON) are told apart; a token that is not a service account token (no ops_) is refused before 1Password is asked. - request_credential has a 1Password slot (onePasswordToken). The card saves it through this server's Logins, which checks it with 1Password first, never the settings file or the chat; "configured" means Logins holds a token. A phone is told to paste it in the app instead. Tests: a real server started exactly as the supervisor starts it (its environment from cloudHomeChildEnvironments, secrets over the pipe) with a fake SDK in the image's native-module tree connects 1Password; a second boot whose tree lacks the SDK gets the plain message; a bot's request_credential for onePasswordToken makes the card, and the card's save resumes it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>A Cloud bot that works through a lent PC drives that PC's screen with cua-driver over the lending channel: the desktop long-polls its Cloud over HTTPS (no tunnel), runs each job through cua-driver and posts the result. The Cloud's own browser never runs on the PC. Several ways this broke left the bot with a raw error, a 45 s timeout or a retry loop. Browser tools on a lent screen - cua-driver's get_browser_state and browser_* need a DevTools endpoint; a normal Chrome or Edge has none, and browser_prepare is deliberately not lent, so every call failed with browser_requires_setup and the bot kept trying. The Cloud now adds one plain instruction to that refusal and to the computer_tools listing: open the page with launch_app urls (the person's own browser) and work with get_window_state, click and type_text. The shared_computer description says the same. The lending channel - A long poll whose client dropped held the computer: the reconnecting desktop was refused ("A computer poll is already running") for up to 20 s, and the next job went to the dead poll and timed out after 45 s with "outcome unknown". The newest poll now wins, a poll whose client went away answers nothing, and a job not leased within 10 s (the desktop leases before it runs anything) is offered again under a new id, so the lost delivery can never start it. - A request for a computer seen in the last minute waits up to 15 s for it to reconnect; one that stays offline is named, with what to check. Failures on the PC (desktop) - A missing or quarantined cua-driver.exe (Windows Defender) gave Node's raw spawn error with the full Windows path; computer control that never started said "Enable it in the local app". Both now give the fix: restore it from Windows Security → Protection history or reinstall, or allow Accessibility and Screen Recording on a Mac. The Cloud maps the raw texts older desktops still send. - A locked screen is refused before the driver is reached, with "unlock it and keep it unlocked". - The lent cua-driver process got only PATH and HOME; on Windows it now gets SystemRoot, USERPROFILE and TEMP as the terminal path already did. - Windows paths in a failure collapse to the file name before they leave the PC, as POSIX paths already did. Tests - server/cloud-lending-browser.e2e.test.ts: a real Cloud home, a second real server as the PC's own desktop server (its screen lease) and the real connector between them, with a scripted cua-driver. A browser task through the PC, and each failure injected: screen held locally, locked, driver exits / is missing / never started, a poll answer lost, a dead poll the server still holds, lending paused, a driver that hangs. - Unit: shared-computers (newest poll wins, abort, re-delivery, reconnect grace), lent-screen-guidance; electron lending-guards (lock, missing driver, unavailable reasons, driver environment, Windows paths). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Bots, chats, skills and logins live on each side by design (This computer and My Cloud), and nothing said so. A customer had 1Password connected on his PC but not on My Cloud, his Chief and nine bots on My Cloud and one bot on his PC, and expected them to match. Also use on My Cloud (Settings → Logins on this computer): - Each saved login and the 1Password connection say whether they are on this computer only or on this computer and My Cloud, read with the window's own Cloud session (no Logins route returns a secret). - Also use on My Cloud sends that one login, or the 1Password service account with its vaults' bots, to the person's own Cloud. The secret leaves this computer's server only over Electron's private utility-process port (server/login-handoff.ts), and reaches the Cloud over a one-send pairing made as Copy this computer to My Cloud makes it, straight to the Cloud's own Logins routes, then signs out. Never a chat, a bot, a page or a log. - A login kept to some bots stays kept to those of them My Cloud has: a send never opens a login to more bots, and the page says when it narrowed. - My Cloud's own Logins page says its logins are its own and where to send one from. One direction only: the Cloud never hands a secret to a page. What lives where: - The server switcher (native menu, the same on This computer and My Cloud pages) starts with one line, e.g. "Your bots live on My Cloud. This computer has its own: Ember.", and offers "Bring this computer's bots and chats to My Cloud…", which opens the existing Copy / Bring newer chats. - Windows and Linux menus show no sublabels, so My Cloud's status ("Always on", "Free trial until …") vanished there; it now joins the name. - The copy card in Settings → MausBot Cloud says the same, naming this computer's bots. A docs page explains it all. main.mjs and index.ts keep their pinned sizes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>A Cloud home's computer runs in UTC. Tested on a real Cloud from a browser in India: "Every day at 6:35 PM" set in the editor showed "next tomorrow 12:05 AM", because the editor sends the browser's local 18:35 and the server reads a daily time in its own zone. A bot asked for "every day at 9" reads the same UTC clock, so it runs at 2:30 PM there. Run titles ("E2E webhook · Oct 18, 12:27 PM") and the bots' "current time" were in UTC too, while every other time on screen was local. Moving a desktop's routines to the Cloud shifts them the same way. The owner's own app now gives the Cloud its time zone whenever it differs (GET/PUT /api/time-zone, admin scope, Cloud home only), the way a laptop's clock follows its owner. The server saves it (time-zone.json), runs in it (process.env.TZ, which engines, shells and the browser started after it inherit), takes it back at start before any routine runs, and moves the next run of each daily or weekly routine, and of each interval kept to some days or hours, to the same local time in the new zone. Cron rules name their own zone, one-time runs are instants and plain intervals count elapsed time, so those keep theirs. A desktop never sets one. To keep routines.ts from growing, the interval helpers move unchanged to server/routine-intervals.ts (1869 → 1828). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>A customer's "Let My Cloud use this computer" switch read off while his computer still showed apps and screen lent (terminal off), with no reason; his last lent activity was 11 days old; and My Cloud's bots kept saying his PC was not lent or online, some calling it "this Mac" and the product "OMB Cloud". Why the switch could read off with apps and screen on: two controls wrote the same record. Settings → Servers → Computer access (maintainer sharing, with a terminal option) and Settings → MausBot Cloud → Let My Cloud use this computer both keyed the grant by the server entry. A grant saved through Computer access for My Cloud's entry has no Cloud binding, so the switch reported it as off while that panel showed computer control on and the terminal off. And when lending stopped by itself (signed out, another account, a moved machine) the reason lived only in memory: after a restart the switch was simply off, the choices still remembered, nothing saying why. On this computer (electron/computer-sharing.mjs, CloudLending): - Why and when lending stopped is kept with the grant and shown after restarts ("Off since 7 Oct, 14:02, when you signed out of MausBot Cloud"), with Lend the same again restoring the kept folders and apps-and-screen. - My Cloud's entry in Settings → Servers no longer offers Computer access; it links to the one switch. A grant saved there before shows on the switch as lent, terminal included, says when it cannot run, and Stop lending ends it. - "My Cloud last used this computer 3 minutes ago", from the activity log. - Reconnects by itself: when its session on My Cloud has ended, main signs the window back in to the verified Cloud with a fresh one-time code (as Open My Cloud does), at most every 15 minutes. A saved Cloud sign-in still being read at startup pauses lending instead of counting as a sign-out. - Tells the Cloud its platform, only when the Cloud advertises lendingDetails (older Clouds refuse unknown registration fields). On My Cloud (server/lent-computers.ts, shared-computers.ts): - Remembers each lent computer by name, with its platform, what it lends, when it was last online (written at most once a minute) and last used, and whether lending was turned off on it; across restarts, 90 days, no paths. - Its own Settings → MausBot Cloud lists Computers lent to My Cloud: online, offline since, or no longer lent, what each lends and when last used. - list_shared_computers adds each computer's device ("PC", "Mac" or "computer"); with none online, the offline one and a say sentence ("Their PC ASH-PC is lent to My Cloud but offline (last online …). Ask them to open OpenMausBot on that PC; it reconnects by itself."), or that it is no longer lent. An offline shared_computer call says the same. - The Cloud prompt names the person's computer by platform ("their PC (ASH-PC)"), says never to call a PC a Mac, and uses MausBot Cloud; the last "OMB Cloud" log strings are renamed too. main.mjs and index.ts keep their pinned sizes; no tool description changes, so the tools/list goldens stay as they are. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>A Windows customer needed to send his logs and nothing told him where they are. They are in %APPDATA%\OpenMausBot\logs (server.log, desktop-crashes.log, updater.log; app.getPath("logs")), and his bots and conversations in %USERPROFILE%\.openmausbot. The help said only "the OpenMausBot log directory in %APPDATA%". - Settings → General → Diagnostics → Open logs folder opens main's own logs folder in Explorer or Finder (made first if nothing was logged yet) and says where it is; if the system cannot open it, it shows the path instead. The page names no path: main uses app.getPath("logs"), for this computer's page only. Export Diagnostics (already redacting every line) stays beside it, with one line saying the logs stay here and the export removes keys, passwords and sign-ins. - On My Cloud's page in the app (or a browser) the row offers no buttons that do nothing, and says where logs are kept. - Docs: Troubleshooting → Where are my logs?, with the Windows, macOS and Linux paths, what each file holds, how to export safely, and that My Cloud's logs stay on the Cloud for support to read; linked from the troubleshooting index and the startup page. - DiagnosticsRow moves out of SettingsModal.tsx into its own file, so SettingsModal shrinks (ratchet 1101 → 1061); main.mjs keeps its size. The in-app Send bug report (#2849) is still open; this neither needs nor touches it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>- English "automations.next" became "next: {when}"; the Japanese "次回:{when}" still says that, so it is accepted against the new source. - #3052's two outcome helpers move out of server/routines.ts into server/routine-outcomes.ts, unchanged, so routines.ts is back at 1,804. - The team catalog search moves into src/lib/team-catalog.ts (catalogMatches), next to catalogCopy; TeamLibraryPanel.tsx is 1,097 and its pin is lowered to match. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>A Live call no longer needs a plan on any client. A call from a phone used to need an active Pro / MausBot Cloud plan (402 needsPro); that check and everything that carried the plan to the server are gone: LiveCallNeedsProError, liveCallFromPhone and the pro() dependency in the controller, the 402 branch in the route, server/pro-plan.ts and electron/pro-plan.mjs (liveCallsAllowed, OMB_PRO_PLAN, the openmausbot:pro-plan message), the relay in Electron main, the fixture launcher's pass-through, needsPro in the renderer and the Pro card under the call button with its copy. A call uses the separate Live key when one is saved, else the OpenAI API key from Settings → API keys (liveCallKey in the new server/live-settings.ts, where the Live settings helpers move out of config.ts). GET /api/config reports live.keySource ("live" or "openai") beside configured, never the key. No other key is used. Without either key, POST /api/live/session answers 409 needsKey with "Live calls use your own OpenAI key. Add it in Settings → API keys.", and the desktop and web app show that sentence under the call button with an Open API keys button (opens Settings at API keys), in place of the inline key field. The call's settings say where the key comes from and offer Remove only for a separate Live key. Only OpenAI GPT-Live is supported, so the copy names OpenAI. The daily snapshot counts openai_live only for a separate Live key; call_started is unchanged. Copy in en, es, pt-br (and ja, tr, vi, zh-tw for the OpenAI key row), the help page, the verification guide, the design spec and the analytics docs follow. The key-form cancellation recipe goes with the form. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>The Cloud health snapshot added {highlevel: {connected: false}} on every home whose connected apps were set up, even when HighLevel never was, so Admin marked every Cloud "Needs a look" (connector-disconnected). HighLevel now joins the connectors report only while a connection is saved: signed in (connected) or needing sign-in again (not connected). Composio already lists only apps with an account. The item shape is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>A new automation "when": the AI limit resets. - Routines gain a limit_reset schedule {engine, repeat: once | every_reset}. Its time is derived, never taken from input: the engine's reset plus a minute, or none yet ("runs when the limit resets (time not known yet)"). - server/limit-resets.ts keeps each engine's limit from plan usage (Claude five_hour/seven_day, Codex primary/secondary windows) and from refusals (Claude's rate_limit_info, Codex's "try again at …" words): the windows at their limit decide (latest reset), else the fullest window; a live refusal wins unless a later window is still full. Routines are retimed whenever that changes, and usage is polled while one is waiting. - create_trigger when=limit_reset (engine defaults to the bot's own), list_triggers shows it, TRIGGER_PROMPT and the tool description cover "run this when my limit resets" and setting up a continuation when warned near the limit. A turn on an engine at 90%+ is told so on its clock line. - A turn stopped by a usage limit with a known reset offers "Continue at 3:40 PM when your limit resets": one click creates a one-time limit-reset automation in that conversation (the usual card with Pause, Edit, Undo); it runs in that conversation and is told the previous turn hit the limit. - Near-limit warning on the Automations page ("Claude: 92% used · resets 3:40 PM") with "Move to after reset" for schedules due before the reset on that engine (only their next run moves), and a compact notice in the bot's chat. - Calendar: each engine's next reset is a labelled marker; dropping a bot or an automation on it makes a limit-reset automation instead of a fixed time; the editor's When has "When my AI limit resets" with an engine picker. Usage-limit failover, on the existing automatic recovery: - Claude's startup hold also proves a usage-limit refusal (synthetic usage_limit_reached + error result with no new cost, process stopped) and rejects with TurnUsageLimitRefusedError; an engine known to be refusing raises the same error before dispatch, so Codex and automation runs also move without spending a refused turn. - The backup is never another sign-in to the same subscription engine (that circumvents provider usage limits); another engine or a pay-per-use key is fine. One line: "Claude hit its limit (resets 3:40 PM), so Codex took over." - After the reset the next turn goes back to the original engine with one line; no backup → the Continue button. Moved out to keep pinned files shrinking: routine schedule helpers (routine-schedules.ts), routine request schemas (routine-request-schemas.ts), the routine run card (routine-run-card.ts), projectCalls (lib/routine-calendar.ts). Sealed test fixtures no longer read this machine's keychain for plan usage. Catalog goldens re-pinned. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Cursor refuses a template's setup to an account without Grok Bot ("requires an Ultra subscription or a Premium self-serve team seat"). That is not an expired sign-in, so the sign-in is kept and the card says Cursor Ultra or a Premium team seat is needed, with the export prompt and Start from description as the ways on. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>The marketplace-page change asks to "Paste a Grok Bot link …", and a Cursor refusal now says Cursor's own code ("Cursor refused the sign-in (HTTP 401). Sign in again."). The route tests still expected the old sentences. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>A stopping server's SharedComputers.close() woke the desktop's held poll, which then re-authorized against the emptied registry and answered 403. The desktop reads 401/403 as a lost sign-in: its switch asked the person to open My Cloud and it spent its quarter-hourly re-sign-in on a Cloud that was only restarting. Once closed, the registry now answers 503 ("restarting"), which the desktop shows as waiting and retries. The restart e2e flaked because the turns a restart resumes wrote the same fake-engine dump as the turn the test awaited. Each fake engine now dumps its own file, and every lookup matches its bot (and thread). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>A page's confirm() or prompt() froze the panel: agent-browser 0.37 answers only alert and beforeunload, its headless Chrome holds every input to the page until the question is answered, and the panel could not see it. The click waited 30 s, then "The browser could not confirm this input. Restart the browser before continuing." locked the browser until a restart. - While a view is open, OMB watches the browser's page dialogs over a DevTools connection of its own (loopback only; never in the person's own Chrome). The question shows over the page, in the view that holds the browser, with the panel's existing Dismiss/Accept; the answer goes straight to the server, past the input it holds, and that input then goes through. An input still held when the browser's own 30 s wait runs out waits for the answer instead of failing. - An input the browser answered it did not take had no effect: the person gets a notice and keeps typing, with no restart. A press or release it never confirmed still keeps the restart barrier, but the browser is now restarted for the person on the same profile and every view reconnects ("The page stopped responding, so the browser was restarted. Your sign-ins are kept"). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>My Cloud's strip ended a send with "Some could not be brought over. See This computer's Settings → MausBot Cloud." and nothing else: the strip dropped the reasons main had recorded, and a send that stopped as a whole (no session, pairing refused, My Cloud gone) was recorded nowhere, so Settings showed an earlier send's result instead. The strip now says what failed and why, for example "2 logins and 1Password couldn't be sent: <reason>", with Try again; a send that stops is that send's outcome; the notice carries the failed kinds (bots by name, logins only counted, never a site) and the first reason. 1Password: a token My Cloud's 1Password refuses was reported in My Cloud's own words ("paste it here"). It now says the token was this computer's and where to connect it again. A token 1Password already refused on this computer is not handed over at all, with the same plain reason. Send everything (Settings, My Cloud's strip, the switcher) now also brings the chats, through Bring newer chats: it adds the conversations and messages My Cloud lacks under the same bot and conversation ids, and never replaces or deletes anything. Keep My Cloud up to date does not send chats (each send would export and upload this computer's bots and chats), and neither does a send of one item. The result counts them ("Ember, 3 skills and 48 chats"); the page's Stays separate line and the docs say so. Tests: e2e (two real servers) for chats under the same ids, a second send adding only new messages and nothing twice, and My Cloud refusing this computer's 1Password; unit tests for each reason; a new Electron smoke runs main's handoff client against the packaged server over the real utility port. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>The owner's call, for people who aren't technical: things should just happen, without buttons to press. Bug: on My Cloud's page in the desktop app, Settings → MausBot Cloud's "Change what's lent" switched the window back to This computer, because the only thing the page could ask main was to open this computer's Settings. My Cloud's page now has the switch itself: "Let My Cloud use this computer", one switch and one line saying what is lent ("My Cloud can use Desktop, Documents and Downloads (read only) on this computer"). Main answers it through the same handlers as this computer's Settings (electron/cloud-lending-ipc.mjs, which also takes the lending IPC out of main.mjs): the page learns on/off, how it is going and folder names, never a path; turning it on needs the person's click and a native confirmation naming what goes. Turned on with nothing chosen, lending now lends the usual folders, read only (Desktop, Documents, Downloads, each only if it exists and passes the same checks as a folder picked by hand). A folder lent before and gone since is left out instead of failing the whole switch; the end-to-end test found that one. Other folders, editing and the screen wait under "Choose what's lent" on this computer; "Lend the same again" is gone (the switch does it). Gone because the send to My Cloud does them by itself: Settings → Logins' Also use on My Cloud (for each login and for 1Password; the line saying where each login is stays), and Bring newer chats on My Cloud's card. Copy this computer's bots and chats, which replaces everything on My Cloud, waits behind a "Start My Cloud over from this computer" link. Other servers keep Bring newer chats. Docs and help text say so. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>A real-user run (packaged desktop app + a real test Cloud) found My Cloud's welcome still asking "What should My Cloud start with?" with "Copy to My Cloud" picked, beside the strip saying everything had already come over. Clicking it showed a red "already has bots and chats of its own ... open Settings → Servers" refusal. - While Keep My Cloud up to date is on, or once a send has run, the welcome's Bring your stuff step is done by itself and it moves straight on to the AI: no Copy, no fresh-start choice, no button. Back on that step it says so in one line ("Bringing this computer's bots, chats and logins here…" / "…came over from this computer"); a fresh start only behind More. No choice is shown while main has not answered (1.5 s at most). - The send notice tells My Cloud's page whether Keep My Cloud up to date is on (`auto`). - The Copy card no longer says "Sign-ins and keys stay on this computer" (logins and 1Password do go now): it names the Claude or ChatGPT sign-in and API keys, which still stay. - The refusal no longer says "of its own" or sends anyone to Settings → Servers: "{server} already has bots and chats, so nothing was copied over them." Same for main's own message and the docs table. - es, ja, pt-br, tr, vi and zh-tw updated for the changed and new strings. Tests: CloudWelcome.test.ts (6 new), cloud-send.node-test.mjs (auto), CloudMove.test.ts (wording). Mutation check 11/11 caught. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>The macOS runner's Google Chrome updates itself during the job (155.0.8059.40 to .82). The test service calibrated the identity once per process, so a profile last opened by the new version was refused by the old one ("This browser profile was last opened by Chrome 155.0.8059.82; Chrome 155.0.8059.40 is older"): the stream's wake and the bot's next call after an idle close failed. The service now reads the identity again when the binary's fingerprint changes, as the server's launcher does, and retries a failed read. The stream suite closes any socket a failed test left open before closing its server, which otherwise waits for it until the hook times out, and the tool assertions show the tool's own text. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>On a Windows runner the server's event loop can be busy for seconds. A request sent then on an idle kept-alive socket is reset when Node's 5 s keep-alive timeout fires before the server reads it ("fetch failed / read ECONNRESET"): 12 of 13 such failures in CI were this file, a different test each time. Reproduced on Node 24 with a stalled server; with Connection: close the same request waits and is answered. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>A real-user run (packaged Linux app + a real test Cloud) turned on "Let My Cloud use this computer" on My Cloud's page and got "Could not change what is lent. Try again." every time. On Linux without ~/.config/user-dirs.dirs, Electron's app.getPath("documents"/"downloads") is the home folder itself; the folder check refused it as "the entire computer or home folder", and that one refusal failed the whole switch. - Usual folders: one the system places at the home folder or a whole disk is looked for by its usual name in the home folder (~/Documents, ~/Downloads); one that still can't be lent is left out (deduplicated), never failing the switch. Folders a person picks by hand refuse the home folder and a disk as before. - Nothing to lend (no Desktop, Documents or Downloads, nothing chosen): nothing is lent and the page says so in plain words, with no Try again. - The folder checks carry codes; main passes a refusal a person can act on as lending-refused:<code>, and both the page switch and this computer's Settings say it plainly. "Could not change what is lent. Try again." stays only for failures trying again can fix. - es, ja and pt-br updated; docs/cloud-pro.md says how the usual folders are found. Tests: cloud-lending-ipc.node-test.mjs (home/disk fallback, dedupe, gone and file folders, real folder checks on a temp home with Documents only, plain refusals), CloudLending.test.ts, LentComputersCard.test.ts. Mutation check 10/10. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>On a real test Cloud, My Cloud's strip and Settings offered Try again after My Cloud's 1Password refused this computer's token; pressing it re-ran a whole send ("Bringing this computer's bots, logins and chats here…") to fail the same way. A failure from 1Password refusing the token is now recorded as final; the notice tells My Cloud's page when every failure is final, and the strip and Settings show the plain line with no Try again. Any other failure, or a send that stopped as a whole, keeps Try again. Tests: cloud-send.node-test.mjs (final recorded, notice final only when every failure is), CloudSendCard.test.ts (Settings and strip without Try again; back with one failure that can be retried). Mutation check 7/7. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>On a real test Cloud, My Cloud's two-line send strip ran under the Simple sidebar's collapse bump ("‹"): the bump was pinned 7px from the window's top, whatever sat above the app (this strip, an update, My Cloud asleep), at the sidebar's right edge, which can be anywhere along a centered, wrapping line, so no padding on the strip could clear it at every sidebar width. The bump now takes the sidebar's top as well as its edge (same ResizeObserver: a strip above the app moves and resizes the sidebar) and sits 7px below it. Test: SidebarSimpleTop.dom.test.ts (a 58px strip, the narrowest 240px sidebar: the bump sits at 65px, at its edge). Mutation check 2/2. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Review finding [14], and seen in a real-user run: the welcome ticked Bring your stuff and said "Your bots, chats and logins came over… New ones keep coming by themselves" as soon as Keep My Cloud up to date was on, before anything had come (the first send can be a tick away), after a send that failed as a whole, and after one login sent by hand with the switch off. - "Came over" only after a whole send (first, auto, Send everything) went through, saying what it brought in the strip's words ("4 bots, 2 skills, … came over from This computer."), plus "New ones keep coming by themselves." only while the switch is on. Nothing gone yet with the switch on: "Bringing…" with a spinner on the rail, not a tick; the tick (and the saved step) comes with the result. A failed whole send, a one-login send with the switch off, or a desktop too old to say (no `auto` in its notice) keep the choice to copy or start fresh. - The welcome still moves straight on to Connect your AI, but no longer moves keyboard focus when it does so by itself (it drew a focus box around the heading); a step the person opened again is never left for them. - "cloudWelcome.bring.sent" is gone; "cloudWelcome.bring.keepsComing" is new (es, ja, pt-br). Tests: CloudWelcome.test.ts (the rule's table, moving on and ticking only on arrival, no focus, staying on a step the person opened, switch off wording, failed/one-login/older desktop keep the choice). Mutation check 11/11. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>In Settings → MausBot Cloud, a turn-on main refused (a Linux computer with no Desktop, Documents or Downloads) left the switch on and reading "Starting…" right above "Nothing is lent yet: …", until the person turned it off. The switch kept the person's click as "on" for good: draftOn was cleared only by turning it off. So any way nothing ended up lent (a refusal, a failure Try again fixes, main stopping lending, the last folder removed) read "Starting…". - draftOn now lasts only while the turn-on is on its way; after it the switch, the status line and the off line ("Off since …") say what main says. - A turn-on that didn't happen keeps Choose what's lent in reach under the off switch until lending is on, since the reason says to pick a folder there; a folder picked there is lent, and once lent the choices sit behind an on switch again. The off view is otherwise unchanged. My Cloud's own page needed nothing: its switch already shows main's answer. Tests (CloudLending.test.ts), all three failing before: a refused turn-on is off with its reason, never Starting…, and a folder picked under Choose what's lent is lent; a Try again failure is off and the next flip lends; once on, main stopping lending shows off with why. Mutations caught: a failed turn-on keeping draftOn (2 fail), a lent one keeping it (1), the choices never kept (1), the choices only while on (1), lending on never ending it (1), the settle callback never called (3), the failure flag lighting the switch (2). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>For My Cloud's welcome (review finding [14]): the notice's `last` is any send, so a send of one login with Settings → Logins replaced the result of the send that brought everything. The notice now also carries: - `whole`: the latest send of everything (first, auto, Send everything, the strip's Try again, the switcher), in `last`'s shape, with `error` when it failed as a whole and `stopped: "off"` when the switch stopped it. A send of one login or item never replaces it. - `arrived`: what reached My Cloud from this computer over all sends (bots, updatedBots, skills, logins, onePassword, settings, chats: { conversations, messages }). Both are kept in cloud-send.json, and are optional in the type: a desktop from before sends neither. Review finding [16]: with a desktop from before, Close on My Cloud's strip did nothing, since that desktop never marks a result seen; the strip now remembers Close itself for that result. Tests: electron/cloud-send.node-test.mjs "My Cloud's page is told the latest whole send…"; CloudSendCard.test.ts "Close on My Cloud's strip works with a desktop from before it was kept there". Mutation check 5/5. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Found in a real-app re-test (Linux app, a test Cloud): - A: the network came back and the next check started the send, but a minute-long blip on the way to the Admin made it fail as a whole ("Cloud request failed.", a gateway error). The send then waited the full half hour: My Cloud still read as online, so the look-again-while-away logic never applied. - B: Try again went through, yet Keep My Cloud up to date stayed paused on the earlier failure; new chats waited another 20 minutes. Now a send that fails because nothing answered (a fetch that failed, a timeout, a 5xx from the Admin or My Cloud, followed through each error's cause) marks My Cloud away and tries again at the next check, then 4, 8 and 16 minutes on, then each half hour, so a Cloud that stays down is never signed in to every check. A refusal (401, 429, anything else) still waits the half hour at once. Any send of everything that went through, the person's included, ends the wait. openOwnerSession keeps the grant's error as the cause and pairing's status, so the difference reaches the send. Tests (electron/cloud-send.node-test.mjs): "nothing answering on the way to My Cloud is told from a refusal", "an owner session that could not open says whether nothing answered or My Cloud refused", "a send that fails because nothing answered tries again at the next check, then waits longer each time…", "a whole send that went through, whoever asked for it, ends the wait an earlier failure began". All four fail at0cbb0467e. "a send that failed before My Cloud went away…" now fails its sign-in the way an offline computer does, with a network error. Mutation check 11/11. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Composio ties every connected account to one user, and a tool router Session reaches only its own user's accounts, so a Cloud with its own installation saw none of the apps connected on the person's computer. - POST /v1/installation/share {for}: a one-time code (10 minutes, only its hash kept) that only the named installation can redeem. The desktop mints it for the installation id its own My Cloud reports over the owner session the Admin verified, so only that Cloud can spend it, once. - POST /v1/installation/adopt {code}: from then on the installation acts as that Composio user (shared_user_id). Refused with 409 has_connections while it has active connected accounts of its own, which stay reachable. - Sessions, the connected inventory, authorize, triggers and event routing follow the acting user. An instance one sharing installation binds is never listed as unbound to the other, and never deleted by it. - GET /v1/me adds `user` (a digest of the acting user) and `shared` once migration 0004 is applied. Before it, /v1/me carries no user, as the old code did, so no desktop tries to share; every query reads installations.*, so the code runs there too and sharing answers 503. Tests: sharing.test.ts (bound code, single use, expiry, own connections kept, tools run as the shared user, an app connected afterwards is on both, triggers and events across the two, a database before 0004). The fake Composio learns tool router Sessions. Mutation check: every rule caught. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>The move to My Cloud carried bots, chats and files, never the connections they reach other services with ("Saved credentials, provider and MCP connections ... are not transferred"). Now a move carries them once, credentials included, as functions the move calls (electron/cloud-connections.mjs): collectConnections(local): this computer's connections by name, never a secret sendConnections(collected, target, { local }): { moved, runsHere, kept, missing, failed, release } adoptComposioId(target, { local, here, there }) and releaseConnections(pending, { local, target }) - Keys go first (OpenAI, OpenRouter, Anthropic for Claude (API key) only, xAI, Mistral, Cerebras, Groq, Meta, OpenAI-compatible, OpenCode), and their engines are waited for, so bots that follow keep their own engine and model. - MCP servers go with their env and header secrets. A server's own-account sign-in (OAuth) goes with it: tokens, client and the app's secret. My Cloud refreshes it from then on and this computer forgets its copy without signing out, so the two never spend one refresh token; one that refreshed meanwhile goes again, replacing only the one moved. - A server that needs this computer (a program by path, a file or folder here, a local address, a program My Cloud lacks) goes marked runsOn { environmentId, label }: kept for "Use my Mac", never started, tested or signed in to there. MCP settings say which computer it runs on. - Connected apps: My Cloud's installation adopts this computer's Composio user (the broker's one-time code), or the person's own Composio key and user. A Cloud with its own keeps them, and the result lists what it lacks. - HighLevel goes with a Private Integration token or an OAuth sign-in (then forgotten here like an MCP sign-in). A sign-in My Cloud already has of its own is kept. - A bot on My Cloud is told, from My Cloud's own state each turn, of servers to sign in to there (with a /?connect= link that opens the page), HighLevel or assigned connected apps not connected there, and servers that run on the person's computer. Secrets reach main only over the server's private port and go only to the owner session. Nothing calls these yet; the move will. server/index.ts stays at 17174 lines. Tests: cloud-connections.e2e.test.ts (two real servers, the broker Worker, a fake sign-in server, a fake HighLevel and its relay: the key works there, the moved sign-in refreshes there, HighLevel's rotating refresh token is unspent, a runsOn server is never tested there, Gmail is connected there, the bot is told, a second move spends nothing, no secret in any answer or log; and a Cloud that keeps its own apps), cloud-connections.node-test.mjs, cloud-connections{,-host,-prompt}.test.ts, mcp-registry.test.ts, connect-link.test.ts, McpServersPanel.embedded.test.ts. Mutation check: 52 of 52 caught. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>New people never design a team now. In Simple mode (the default for a new person), New bot, Create new bot in the New chat panel and Cmd+N open the Chief of Staff's chat with a short starter in the composer ("I'd like another bot to help me. Ask me what it should do."), and the Chief adds the bot. The starter leads whatever was already typed there and is never stacked twice. Without a Chief, and always in Advanced mode, the New bot form opens as before. The + menu shows Create team and Templates only in Advanced mode. The Cloud welcome's Start fresh says "Start with your assistant. It brings in specialists when a job needs them." and offers one Continue in Simple mode; Advanced keeps Choose a team. Advanced mode keeps every entry point. The two new strings are written in all 13 languages and accepted. Tests: the hand-off (starter, its thread, no stacking, the form without a Chief or in Advanced, General's Chief first), the Simple and Advanced + menus, and Start fresh in both modes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Model choice is an Advanced-mode thing now. In Simple mode the bot panel's Details tab has no model picker, thinking level or More model settings, and its search finds no model page; the New bot form (used when there is no Chief) has no Model section. Bots use the default AI. So nobody gets stuck, a bot whose AI doesn't work shows one plain line in its Details tab, "{name} has no AI to think with yet.", with Connect an AI, which opens Settings at the AI page. A link that truly needs a model (a place that needs one) still opens the model page, and Advanced mode keeps every picker. The Simple tour's second step no longer points at the model: it says the panel holds the bot's instructions, schedules and apps. Strings in all 13 languages and accepted. Tests: the Details tab picks no model and shows the line and its action for a missing, signed-out or unavailable AI; the panel search; the New bot sections in Simple and Advanced; the Simple tour copy. The tests that pinned the Simple model card are deleted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Main's send (electron/cloud-send.mjs) gets the one-time move as a reason of its own, and loses the switch that sent by itself: - send({ reason: "move" }) carries everything this computer has: what the person once kept here goes too, what was removed on My Cloud stays removed. It goes only to a Cloud that advertises capabilities.move, over one owner session that counts as someone using My Cloud, so it stays awake (label "Move to My Cloud", no background header). - Apps and keys go first (cloud-connections.mjs's collectConnections and sendConnections, over the same session), then bots, skills, settings, logins, 1Password and the chats by row. A sign-in that refreshes itself (an MCP server's own account, HighLevel's) stays here in the first pass and goes in the final one (send({ reason: "move", final: true })), where this computer lets go of its copy once My Cloud has it; one it could not let go of yet is kept and let go of on the next final pass. - Each item is recorded from My Cloud's own answer as soon as it went (GET /api/cloud-send?item=), and a bot a send made on My Cloud is marked until its fields are recorded, so a send cut short goes on from the item it reached and a half-made bot gets all its fields, not My Cloud's defaults. - check() (cloud-send-check.mjs) says what did not arrive: the two manifests compared (a part My Cloud took its own way counts as carried), each conversation's rows and visible path ("equal", "inside" a longer one, or "broken"), the attachments, and each credential by its fingerprint under a fresh nonce. - The snapshot counts the conversations still to go, and a pass's result says how many did not all go (left). - installCloudSend exposes move() and check() for the move's trigger. Dropped, as the design decides (#3163 and #3186 stay as ancestors): - Keep My Cloud up to date: the switch, the two- and thirty-minute checks, the first send by itself, the kick on account changes and the backoff, the cloud-send:auto IPC and the preload's setAuto. - A send the switch stopped (70f7cb579): halted, cancelled and stopped "off". - Close remembered on My Cloud's strip for older desktops (18a607551's strip part; notice.whole and notice.arrived stay). - The side-by-side comparison and More on Settings → MausBot Cloud. Main's manual Send everything stays, on the new engine: Settings → MausBot Cloud says what is not on My Cloud yet ("Not on My Cloud yet: 2 bots, 1 login and 12 chats"), with Send everything, and Try again when something failed. My Cloud's strip shows a move arriving and what it brought; the welcome follows a move or Send everything, and a desktop too old to say (no notice.whole) keeps its choice. Wording, docs and verification notes follow, in en, es and pt-br. Tests: electron/cloud-send-move.node-test.mjs, electron/cloud-send-check.node-test.mjs, and server/cloud-send-move.e2e.test.ts on two real servers with main's own wiring: a conversation of 1,599 rows and more with 22 context summaries, a 610-message room and one both sides added to pass the path check; MCP servers with a key and a header token, an MCP sign-in of its own, an AI key, HighLevel by its token and the connected-apps account (fake broker) arrive with equal fingerprints; a moved conversation may use a lent Mac and feeds its bot's memory on My Cloud; a move run again changes nothing there. Every new test fails on3c4a00084; tests of the removed switch are removed with it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>My Cloud updates before desktops do, so its page talks to released desktops whose Keep My Cloud up to date sends by itself ("first" and "auto", and `auto` in the notice). The welcome counts those as whole sends and shows "Bringing…" while such a desktop's switch is on and nothing has gone yet; the strip shows that desktop's first send arriving and what it brought, as it does a move. Without this, a released desktop's person would be offered Copy to My Cloud while their things were already on their way. Tests: CloudWelcome.test.ts and src/lib/cloud-send.test.ts, which fail without it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>With the tool bridge on, find_tool's description names every hidden tool, so list_team_library added 19 bytes to a Chief's bridged list and pushed four profiles a few bytes past their budget. find_tool also said "A tool in your tool list is called directly, not found here.", which the bridge's prompt section already says on every bridged turn ("A tool that is in your tool list is always called directly."). Dropping it makes every bridged list smaller than before: a Chief's by 42 bytes, any other bot's by 61. No budget baseline moves. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>The real app showed "My Cloud hasn't used this computer yet" on the very page whose tray said "Your bots are using this computer now", and My Cloud said "Not used yet": browsing through the device link was nobody's use. - Activity on this computer lists each website opened through the internet connection ("Opened a website", with its name), refused ones with the computer's reason, once per site and outcome every 10 minutes, so a page's many connections are one line. "My Cloud last used this computer" follows it. - My Cloud marks the lent computer used when a page opens through it (not for a refusal), at most once a minute. - My Cloud's page says "1 folder", not "1 folders", in all 12 locales. - The flow-control test now writes in odd sizes, so a sender that goes past its room fails it every time (that mutation used to survive on aligned reads). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>The Add a Cloud sheet lists each plan with its promise and its cloud desktop hours a month; how many may run at once is only small print ("up to 6 at once"), from the Admin's allowances. Under the list, the chosen plan's card gives the website's benefits (openmausbotwebsite PR #42), every number from the Admin: cloud desktops as many as your bots need with the month's hours, voice, apps, the phone, the machine with its swap, storage with its backup days, and "Everything in <plan before it>, plus ...". The app's own word, cloud desktop, stands in for the website's "cloud computer". The app reads the Admin's new cpuKind, swapMb and snapshotDays when present and leaves them unsaid otherwise. All 12 locales are updated and accepted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1123705e6e' into fix/session-profile-identity b774aa5d0c5eaeec1e67' into fix/session-profile-identity 4d1d19e2b0MausBot Cloud sells three plans now: Starter $15, Pro $49, Max $99. The $15 Starter has what Personal had and never sleeps. Personal is no longer sold; its subscribers keep it and the app still names it Personal. - Offers: parseCloudOffer/parsePublicOffer leave out a `personal` plan an older Admin may still list, so no Personal card, no Personal preselected (a recommended "personal" falls back to Pro, else the first plan left), no Personal checkout, and Pro's "Everything in ..." line builds on Starter. - Trials: parseCloudTrial reads the Admin's additive `switchTo: {tier, amount}` (a known tier, whole positive cents; anything else is dropped). cloudTrialView uses switchTo, else an older Admin's personalAmount as Personal, and says "Prefer {plan} at {price}? ..." only for a trial on a plan above that target; with neither it says nothing about switching. The offer is no longer fetched for the trial's notice. - Locales: cloudTrial.preferPlan replaces preferPersonal/preferPersonalNoPrice, cloudBuy.promise.personal removed, in all 12 locales; source hashes merged per key. - Docs: cloud-pro.md documents switchTo and the Personal filter; plan lists and the docs site's X research allowance name Starter. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>The buying sheet's Choose screen lists the Admin's plans as cards: name, "Most popular" on the recommended plan only, the price per month, the plan's promise, its own button (Start free trial, or Get {plan} without a trial) with its terms in one line, then the same rows in the same order on every card, in the website's words: always on, cloud desktops as many as the bots need (how many at once as small print), the month's cloud desktop hours, CPUs and memory (swap as small print), storage and what it grows to, voice, and daily backups. Every number comes from the Admin's allowances. Cards sit side by side on a wide sheet (a subgrid lines up buttons and lists) and stack in a narrow window. The plan an account already has says "Your plan" instead of a button (`current`, from the verified entitlement's tier); a plan no longer on sale, such as a Personal subscriber's, is shown only for that subscriber when the screen is given it (`own`). The radio picker, the chosen plan's benefit card, the "Everything in X, plus..." line and the per-plan due-today box are gone; the trial's timeline stays under the cards when every plan has the same trial, ending at "First payment". Locale keys follow in all 12 locales, with source hashes merged per key; unused keys are removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Someone in a team sees My Cloud, then each team from the Admin's verified session (with their role: Super admin, Admin or User), then saved servers. Choosing a team opens its Cloud in the same window through the Admin's team pairing (POST /api/cloud/desktop/teams/<id>/pairing), with S4's offline, sign-in and plan screens named for the team; the choice is remembered across launches. A team's first open on a device gets one plain line that its admins can see private chats; a removed member's team leaves the switcher at the next session check, My Cloud opens and one line says so. In no team and with no saved server nothing changes. - cloud-home/cloud-account: parseCloudTeams, state.teams, pairTeam (404 = gone) - environments.cjs: team places (withTeam, reconcileTeams), menu order, no Forget for a team, the window title names the place when there are several - home-places.mjs (new): the place to open next time, the once-per-team line, the left line; environments-file.mjs takes main's file IO - home-window.mjs: placeOf, show({ place }), the shown place's repair, 401s, version watcher and notifications - main.mjs 3329 -> 3317 lines (pin lowered) - HomeLine.tsx, named HomeScreen strings, 6 keys in 12 locales - one-workspace harness: a Team Cloud edge on [::1] and a fake Admin team pairing route; 4 new acceptance cases Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>The key watch (`before-input-event`) was set up the first time the wait phase asked for the last key, which then read 0 ("never typed"), so the move froze this computer at once even while the person was typing. Seen in the real app on Oct 22: real X keys every second in a bot's message box, frozen 1 s after one (20:28:21.9 key, 20:28:22.9 freeze). Every move run now sets the watch up first (in the `cloud` dependency each run reads), so the 30 s quiet rule holds, and a version-change reload of My Cloud's page, which reads the same watch, waits for quiet too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>A person who moved to My Cloud from two computers had both restore the whole backup and switch on the same automations. Now the Admin names one computer (cloud.hold.homecoming, the one used most recently), and only that one comes home with My Cloud's backup, exactly as one computer alone does. Every other computer that moved opens its own copy as it was at the move, with every automation off, takes nothing from My Cloud, and says so in one line: "Your bots came back to <name>. This computer keeps its copy from <date>, with automations off." - electron: parseCloudSummary keeps hold.homecoming; oneHomeCloud gives homecoming {name, here}; one-home.mjs ended() goes home again as before when this computer is named or none is, else cameHomeElsewhere: the freeze lifted with automations off, journal back with elsewhere {name, since}, the local window, and nothing else. With no answer from the Admin it waits; it never guesses. - server: DELETE /api/move/freeze {automations: "off"} switches every routine, scheduled call, webhook and app event off while still frozen, then lifts, so none of them runs; an ended Cloud still refuses. CalendarCallManager.switchOff. - The line in 12 locales (cloudSend.move.elsewhere, cloudSend.move.elsewhereEmpty). - Test fixture: addDesk() for a second computer moving to the same My Cloud; the two-desk e2e run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>home-window's connect() left the window alone whenever it already showed My Cloud's origin. With moves off, a person opens My Cloud from the switcher (the old saved-server mode); when the move later finished, the window stayed in that mode ("Hosted: My Cloud", the switcher with "This computer"), and since it was never opened as home (`away` stayed false), My Cloud ending did not bring it back: it stayed on the ended Cloud. Seen in the real app on Oct 22 on the release path (desktop with moves off, then moves on for testers once the Cloud updated, then the Cloud ended). Only a window this opened as home is now left as it is; one showing My Cloud as a saved server is opened again as home. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>The real-app test of the one-time move to My Cloud on Oct 22 found the app saying things that were wrong for the moment the person was in. Each is now said plainly, in all 12 languages: - During the move, Settings → MausBot Cloud shows the move's own line instead of Open the Cloud and Switch back to This computer, and Use my Mac says it turns on by itself once the bots are on My Cloud (unless the person turned it off). - The move's progress counts only chats while the chats go: the automations after them no longer counted on as chats ("6 of 5 chats"). - "No bots yet" only once the bots have loaded; until then "Connecting to your bots…". - On My Cloud once it is home, the welcome's folders card and Settings' plan card no longer point at an app on this computer: the folders are in My Cloud's Settings, the plan on the Plan page. - The startup screen says "Opening My Cloud…" whenever home is My Cloud; the switcher says "always on" only when main's verified plan says so, on the pair page too. - A page the window reloaded for its newer version says "Updating My Cloud…"; `pnpm dev:server` only in a developer's build. - When the bots come home, each bot that said its webhook had a new address on My Cloud says it has one here again. - No Product Hunt, star or Cloud offer card while the move goes, or for 5 minutes after it is done. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>- This computer is now its installation (installationOf: a hash of its own server's environment id, the same across sign-outs and sign-ins), not its sign-in. - At done, and at each new sign-in, one-home tells the Admin the move is done (POST /api/cloud/desktop/moved {installation}, cloudAccount.reportMove); kept as journal.reported, retried at most hourly while the Admin can't take it. - cloud.hold.homecoming is {installationId, name}. Named and this installation: home as before, whichever sign-in; another: its own copy with automations off; not knowing its own installation yet: it waits, never guesses. - No computer named (no computer told the Admin, older desktops): every computer that moved comes home exactly as before. - The export ask says which computer this is ({installation}). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>bd5e209250' into fix/session-profile-identity b38f36108aThe Apps pop-up has a native X (Twitter) card next to Whop and HighLevel. - On a paid MausBot Cloud plan it says "Included with your plan" with this month's use ("312 of 5,000 X calls this month. They reset on November 1."), read from the relay's GET /usage. Nothing to set up. - Everyone else pastes a treg key there (link to treg.to). It is saved where keys already go (the desktop's encrypted store, else the server's config), tested at once, and can be tested again or removed. - With both, the card says the own key is used first; removing it falls back to the plan. - A used-up month says when it resets and how to keep going, and bots' X and research refusals now end "Add your own treg key to keep going." GET /api/x/status names the credential with the same resolver as the X tools' own routes. The managed install's Composio Twitter tile, which cannot connect there, is left out unless already connected. All 12 locales. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>The renderer smoke failed because a fixture's first presence ping posted an empty brief ("Nothing needs you right now.") in the Chief's chat and answered `open`, so the renderer switched from the bot under test to the Chief. - The brief is posted only once it has something for the person: something that needs them, an important email or a meeting today. - Only an arrival opens it: the first open of the day or a return after three hours, and only when there is something on it. A ping while the person uses the app never takes the screen. - The default watch is made only once the install can reach connected apps. It is asked at start and every minute, since a Cloud's access arrives later. A scripted install without the fake connected-apps service behaves as main does, so the tests that counted every routine are main's again. - The brief exists only while the watch is on, so pausing or deleting it really is the off switch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>About 120 components and helpers still built English in code, where no language pack could reach it. They now use catalog keys: 837 new English keys, each with its pt-BR value accepted in source-hashes.json. The English a person sees is unchanged. - intlLocale() gives dates, times and numbers the chosen language's format, keeping the system's region when it is the same language; the formatters that used the browser default take it. - main.tsx sets the saved language before the first render, so the pairing and sign-in pages are translated too (startupLocaleTag()). - Mascot body, color and expression names come from the catalog, falling back to the built-in name (mascot-names.ts). - tFromServer() takes params, and keeps the English fallback when one is missing so a {placeholder} never reaches the screen. - The Apps screen's blocked and incomplete lines are translated the same way (app-blocked.ts). ChatView, ComposerAttachments, RoutineCalendarPage, memory.ts, session.ts and store.tsx also change for server message codes, so their strings come with the next commit. App, OrganizationSettings and UpdateBanner come with the desktop commit.The server still sends the same English. Every new field is optional, so older clients and older servers keep working, and the client translates only keys it knows. - Errors: user-facing refusals answer { error, errorKey, errorParams } (shared/server-text.ts, server/user-errors.ts). The client accepts only serverError.* keys (src/lib/server-error.ts) in api(), pairing, email sign-in and memory; body.error stays English for code that compares it. - Notifications: the title comes from the kind the server already sends, so entries already in the feed are translated too. - Chat notices (restart, stall, queued follow-up, room hold, answer passed on) carry tool.nameCode and nameParams beside the English name, which phones, export and the sentinel still read. activityText() translates them in the step label, sidebar preview, failed-turn row and status row. - Attachments: intakeFiles returns problems instead of an English notice, and attach-notice.ts words them. - The default engine names "Claude (API key)" and "ChatGPT plan" are shown translated until the person renames them (engine-name.ts). - A held bot in a room is also released by "retomar". - Team refusals for a personal move or a member's login are coded, and the one-home journal keeps the key so the move line can say why. 46 new English keys with pt-BR. Tests pin each English table to en.json in both directions. ChatView, ComposerAttachments, RoutineCalendarPage, memory.ts, session.ts and store.tsx get their t() strings here as well.A Team or Business plan runs its team's Cloud: the Admin's session has no `cloud` for it and lists the team, with its machine, under `teams`. The sheet read "paid with no machine" as a My Cloud being set up, so a Team customer who signed in saw "Reserving your machine" forever while the team's Cloud was up. - The sheet: the team's Cloud is ready, with Open {team} (opened as the switcher opens it, through a new cloud-account:openTeam that takes only the team id and reads the team from the verified session); while the team's Cloud is set up, its own steps. - Settings → MausBot Cloud: the team's Cloud under its name with Open {team}, and no phone card for a My Cloud that never comes. - The phone menu no longer says the Cloud "shows here once it's ready". - The session is read every minute once the team's Cloud is ready, not every 15 s for a setup that never happens. - The one-time move never counts a Team plan as a paid My Cloud. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>jsxfcd423ce37- A new team bot opens its creator's own private chat. "Create bot" on a Team Cloud left the creator in the bot's main chat, which every member of the team reads, with nothing saying so: the first thing they typed went to everyone. It now goes through the same path as a sidebar click (team-chats), so the chat that opens is theirs ("Private · admins can see"). - A team bot's shared chats (its main chat, a routine's report) say so in the header: "Shared · everyone in Acme can see". - Settings → MausBot Cloud on a Team Cloud said "Your plan is managed in the OpenMausBot app on your computer." and offered nothing else, so there was no way from the app to invite people. It now shows "People and plan": invite people, change roles and manage the plan on your Plan page, with a link to it (`config.team.cloudPage`, the Cloud's own Admin origin + /cloud). - The Team Cloud's first setup step no longer promises that "Bots on your computer come here by themselves": on a team they don't. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>On Windows `child.kill("SIGTERM")` is TerminateProcess on the server alone: no shutdown code runs, so its fake ACP engines, whose working folders are task-workspaces inside the temporary home, outlive it until their stdin closes or their orphan watch fires. The teardown then called a bare rmSync on the home straight after the server's close, and Windows refuses to delete a directory that is a live process's cwd: `EPERM, Permission denied: ...\omb-steer-test-XXXX` (steer-queue.test.ts:863). The teardown now stops the tree with killCliTree (taskkill /T /F on Windows, SIGTERM then SIGKILL elsewhere) and waits for it, then deletes the home with removeTempDir, which retries while Windows releases the handles. The port comes from freePortBlock instead of an unprobed random pick, so a leftover listener or a range Windows reserves cannot take it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Bots were always listed in creation order and nothing could change it. PUT /api/bots/order { botIds } now reorders store.bots: a stable partial reorder (the listed bots take, in the order given, the positions they already share; the rest stay put), so a phone can reorder one bucket without knowing the whole fleet. The handler accepts only bots the caller sees (the GET /api/bots filter), persists through saveBots, and emits a whole-list change the server broadcasts as { kind: "bots.order", botIds } (narrowed per member). The desktop store applies that frame to state.bots, so the sidebar re-renders in the new order; the route is on the client scope and the companion allowlist so phones can call it. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>An absent connectorTools record means every connected app keeps every tool. withServiceGrant() built its record from an empty object, so saving the first grant produced { gmail: [...] } — a present record that silently gives every other app no tools. People connected Slack and Gmail, granted one, and lost the other without touching it. withServiceGrant() now takes the connected slugs and seeds them at "*" before applying the change, so restricting one app leaves the rest alone. Callers that pass no slugs keep the old contract. The "first grant strips the other apps" warning and its confirmation dialog are gone: there is nothing left to confirm, and the dialog would now be wrong. Tests cover the first grant (explicit and wildcard), an existing record, and turning a service off after seeding.The iOS app shows a bot's role ("Research", "Chief of Staff") beside its name on the home list; the desktop only had it in a tooltip and for screen readers. Bot rows in Simple and Advanced mode, comfortable and compact, now show it on the name line as one muted 13px line: it takes the room the name leaves, truncates with an ellipsis, and steps aside (still read out) when less than a word fits. Rows keep their height. The chat header shows the role beside the bot's pill, giving way to the name. A Chief whose role only repeats the Chief of Staff badge shows the badge alone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Owner decision, reversing T2's rule: `member:<person>` is that person only. The Owner and every Admin get 404 for another person's private chat wherever a request names it, never see it in lists, counts, unread marks, search, notifications, traces or the event stream, cannot write in it, and no bot's tools or another bot carry it to them. - audience.ts: audienceIncludes no longer gives an admin another person's audience. - An admin session on a team is a viewer with a person (`{ kind: "all", email }`), so VisibleSet filters its conversations like a member's while every bot and room stays the admin's (host/visibility-host.ts, moved out of index.ts). - One request gate (host/team-private.ts): the path, `?threadId=`, and any threadId, `...ThreadId` or `threadIds` in the JSON body; a route that would fall back to the bot's selected conversation refuses when that one is someone else's. - Bots carry only the conversations the reader may see; a selected conversation that is someone else's shows as the main chat without its messages; unread counts only theirs. - Admin SSE frames go through the same narrowing, live and replayed. - Notifications, decisions/activity rows (metadata kept, words dropped), a bot's activity, routine runs, synced folders, the team backup, computer help pleas, and a deleted private chat's leftovers follow the rule. - Incidents and escalations from a private chat go to its person, never a Chief's thread; work a bot opens from a shared chat is the team's; retry_thread and close_thread follow the read rule; team memory is never published from a private chat. - Leaving: POST /api/cloud/team/member-left (signed by the Admin) ends the person's sessions and codes and deletes their private chats, the files only those used, their layers, About you, own connections and browsers. - Labels: "Private · only you" and the sentence, in every locale; docs/team-cloud.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>The mascot vanished whenever the bot said a sentence in the middle of a turn ("I'll build the dashboard now."): the tail rule took any settled bot text for the turn's last reply. Claude Code only prints a tool call once the model has written all of its input, so a big file write left the chat with no mascot and no timer for minutes. - The mascot and its line stay until the turn really ends (its turn.completed, busy off, or waiting on the person); never a timer. - A live status line: "Working · 1m 12s · Writing index.html · 14 KB", fed by the engines' own reports: Claude's streamed tool input (stream_event content_block_start / input_json_delta), Codex's item/fileChange/patchUpdated, ACP tool_call / tool_call_update, plus reasoning and reply deltas. With nothing reported it is the timer alone. - turn.progress is live only: the bus coalesces it (a frame only when the shown text changes, at most one per 400 ms per thread) and never writes it to the event log; nothing reaches the message log or server/index.ts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>When the desktop app opens a team, the name and picture of this computer's Settings -> Profile fill what the person's team profile lacks, over their own team session: the picture is uploaded as their own attachment, then PUT /api/me { name?, avatarUrl?, fillEmpty: true }. - The team server fills only empty fields, each once (profile.json keeps `seeded`), never over what they set and never again after they clear it there; GET /api/me lists the seeded fields. - Only the name and a stored PNG/JPEG/GIF/WebP picture of at most 10 MB go up; never the address (the sign-in claim's) or About me. - A later desktop change is not carried over. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>server/extractor mirrors server/decider: a field schema in (string, number, date, boolean, enum), typed values out, null where the input does not say. Whose key: own Workers AI token, then Cloud's included relay (POST <relay>/v1/extract, { seam, fields, input } -> { values, model }), then the OpenRouter LLM fallback, then nothing. Jev only decides. Clairic has no boolean or enum type, so on the person's own account string/number/date fields go to Clairic and boolean/enum fields to Clef-flash as yes/no and choice questions over the same input. Same safety rules as the decider: https only (or http to this machine), no redirects with a key, error bodies never read, and a value of the wrong type makes the whole answer malformed. The contract and its caps are in server/extractor/fixtures/, shared with Cloud's Admin. Settings' Test also says whether extraction works. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>The suggestion. On a desktop or free install with Gmail connected and no helper model, the proactive bot posts ONE short message in its chat: "Want me to sort your email for free? Add a Cloudflare Workers AI key (free tier) or a Jev key." Add key opens Settings → Decision and extraction on the device; Not now is kept, and the card comes back only if the person connects another inbox, at most once more. A card left unanswered is never posted again. Never on Cloud, a hosted team workspace or a Team Cloud. It's a suggestion, not an approval card: the device draws it in the person's language, and other surfaces see its English text. Settings. The Decision model page becomes "Decision and extraction", under Advanced only (the suggestion's Add key still opens it). It gets a status line ("Decisions: your Cloudflare key · Extraction: your Cloudflare key") and a Cloudflare Workers AI card: account ID plus a write-only token, Save and Test. Test also says whether extraction works. The Jev / OpenRouter picker stays as "Another key". All new and changed words are in the 12 locale packs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>A team bot now has an owner: `reportsTo`, else `createdBy` (stamped when a member creates or moves in a bot; a Chief's specialists get the Chief's owner). Its questions, approvals, sign-ins, failures and routine results reach only that person's Needs you, notifications and brief. In a member's private chat they stay that member's alone. Anyone can still chat with any shared bot. - Sidebar: the owner's face ends each team bot's row ("Reports to Bob: questions and reports go to Bob"), clicking it opens the owner picker for an Admin or the current owner; "Reports to Bob…" in the bot menu; "Set owner for all bots…" on a department and "→ Bob" beside it; the selected bot's ⋯ stays visible; a "Needs you" row lists what bots ask of you. - Open cards in a shared chat say "Asking Bob". New Bot in a team says who it is shared with, links to your own place, and asks who it reports to. - One Chief of Staff per person: an owned Chief coordinates exactly the bots its person owns, in every department (roster, coordination, incidents and escalations), and keeps that person's daily brief in their private chat. - Routes: GET /api/team/people, PUT /api/bots/:id/reports-to, PUT /api/team/reports-to, GET /api/needs-you; presence counts members on a team. Desktop and My Cloud are unchanged. The team wiring lives in server/host/team-owners.ts, the department picker moves to SidebarSectionPicker.tsx and the card requester to server/host/thread-person.ts, so index.ts, store.ts, Sidebar.tsx and store.tsx all shrink under their size pins. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>The Settings Test button checks extraction beside decisions since the helper models landed, so the stub relay now also gets a { seam, fields, input } body at /v1/extract. The fixture only knew /v1/systemone and ran its decision check on that body, where Buffer.byteLength(JSON.stringify(undefined)) threw inside the HTTP handler: an uncaught exception that failed the ubuntu shard while all six tests passed. The relay side now serves the extraction key check (pinned as literals, like the decision one), records it as an "extract" request, and the expectations count it. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>On a Cloud home the box empties the data folder, and the engines the app installs there (the npm prefix tools/npm, Antigravity's runtime) went with it: every boxed turn of OpenCode, Cline, DeepSeek, MiniMax, Pi, an updated Claude Code or Codex, or Antigravity failed with exit 127 ("exec: ...: not found") while Settings, outside the box, still said Ready. - The box binds those engine folders back read-only at their own paths, whole (npm's bin entries are relative links into the prefix), after every read-write line so no turn can make another conversation's engine writable. The rest of tools/ (Chrome, the browser engine) stays hidden, and Chrome's own box gets none of it. - The engine install layout lives in one leaf module (engine-roots.ts) that the installer, the Antigravity runtime and the box all read. - The box self-check installs a fixture engine laid out like npm's and checks it runs by name from PATH (engine-runs) and cannot be written (engine-read-only); the new engines-rw mutation proves the second one. - Antigravity also gets what its runtime is started with: its profile folder (GEMINI_HOME, read-write, that account's only), and the ANTIGRAVITY_/AGY_ and BROWSER names in the box's environment. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>The brief lists only the person's meetings today. The e2e pinned the person's zone to UTC and put the meeting 8 minutes after the wall clock, so a run from 23:52 UTC put the meeting on tomorrow's date: no "Your day" row and no Join (CI's ubuntu shard 3 hit it at 23:53:14Z; it passes at any other time, alone or in the shard). The brief's own harness shows the same at 23:53Z ("No more meetings today", no Join) and Join at 23:44Z. The test person's zone, and the server's TZ, are now a fixed-offset zone where it is midday when the suite starts, so the meeting is always today. The assertions are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Three OpenCode failures on MausBot Cloud, where every bot turn runs inside the bubblewrap bot box: 1. A key saved under "Keys for other OpenCode providers" with a name no box prefix covers (NANO_GPT_API_KEY, DEEPSEEK_API_KEY, TOGETHER_API_KEY, FIREWORKS_API_KEY…) was dropped at the box boundary, so the provider answered "Invalid Authentication". Model discovery runs outside the box, so the picker still listed the models. 2. OPENCODE_API_KEY is a workspace credential, so the box's deny set removed it even when the person saved it for OpenCode: OpenCode Go had no key ("OpenCode rejected its key, or has none for this model"). A boxed spawn now carries `allowEnv`: the names its engine instance's own environment put there with its own value (the keys the person saved for that engine). The box keeps those for that one process past the allow-list and the deny set; never a never-list or OMB_ name. Other engines' boxes are unchanged. OpenCode reads no base URL for these keys, so they stay raw (named among the box report's unbrokered keys), as the box already does for such CLIs. The same path fixes DEEPSEEK_API_KEY for the DeepSeek Harness, which the box also dropped. MiniMax M3.1 Flash missing from the picker is not the catalog parse: it keeps the model from OpenCode 1.18.27's real `models --verbose` output (now a fixture). OpenCode itself hides a model left out of a provider's `whitelist` in opencode.json. 3. OpenCode Zen's free models refuse a request with more than 128 tools. A refusal naming a tool-count limit is now learned per instance and model and the turn retried once, quietly, with every MCP server listing at most its share of what OpenCode's own tools leave: the agents server keeps its whole list, the rest split the remainder evenly, in turn order. Each server reads its share as OMB_TOOL_LIMIT (or a header on our own HTTP endpoints) and logs how many tools it left out; a server that would not read it goes behind the MCP gate. A second refusal reaches the person as one plain sentence naming the limit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Cause: in a direct chat, a message sent during a running turn was either steered into that turn as ordinary text or, for engines that cannot steer, queued behind it. A bare "stop" therefore never ended the turn: the model had to choose to stop, and a model stuck in a tool or a provider retry never read it. Rooms already detect "@bot stop"; direct chats had no check. Change: acceptDirectSend records a message made only of stop words ("stop", "halt", "cancel", "abort", plus fillers such as "now", "please", "it") from a person and stops the thread through stopThreadForPerson, the same steps the Stop button runs. The Stop route now calls that helper too. Longer messages such as "stop using tabs" are still steered as before. Refs MOCA-116, MOCA-132. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>* docs: design + plan for phone apps as bot tools, server plumbing (sub-project A) Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * feat(phones): shared vocabulary for phone apps, grants and the device.job frame Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * feat(phones): registry of paired phones and what each allows Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * feat(phones): job queue a phone long-polls, leases and answers Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * fix(phones): byte-measured result cap, turn-ended complete throws 409, poll after close Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * feat(phones): tool catalog, instructions and the per-bot verdict Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * feat(phones): the phone's own routes: register, poll, lease, answer Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * fix(phones): a phone's companion identity comes from the verified auth, not headers Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * feat(phones): device as a fifth harness MCP kind with its own timeout Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * fix(phones): timeout message names the call's own limit Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * feat(phones): every engine that mounts HighLevel mounts the device tools too Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * refactor(outbound): move the send hold out of index.ts so other tool kinds can use it The "Send on your behalf?" hold and the dispatch-time allowance check move from the connectors MCP handler into server/outbound-hold.ts as createOutboundHold(deps), with no change in behaviour: the same decision rows, card, activity flips, notification, timeout patch and refusal text. The handler keeps its parsing, scope checks, refuseOutbound, sendsFreely and both requireActiveInternalCapability calls. buildNotification no longer demands a threadId on the bot it never reads, so the hold can take the narrower bot. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * fix(ui): keep store.tsx inside its line ratchet after the capability fields Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * fix(outbound): the hold's bot type carries notifications, so a muted bot stays quiet buildNotification reads bot.notifications through the hold's approval notice; OutboundHoldBot now picks it, and the test shows a muted bot still gets the card but no notification. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * feat(phones): MCP host that turns a bot's call into a phone job behind the per-bot verdict and the send hold Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * fix(phones): default phone by last use and by the tool's app, reserve only after every check, hold every outbound phone tool Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * feat(phones): mount the device tools per turn, route the internal MCP, nudge the phone over SSE server/index.ts wires the phone registry, job queue, host and /api/phones routes on existing lines (still 16843): the owner's own direct turn mounts the device server when its bot is granted an app one of the owner's phones allows, /api/internal/device/mcp answers it, a queued job nudges admin SSE clients with device.job, the phone's job long poll is exempt from the maintenance request count, the grants picker lists the phone tools, and shutdown closes the queue. The host is built beside the send hold it takes, which is declared after the HighLevel host. Phone tool rows read as "Phone" in the activity, and the device server is one of the app's own servers for the Today outcomes. The e2e pairs a phone, round-trips a job through poll, lease and result, and shows a bot without a grant and a read-and-draft routine run get no phone (a run of the same routine at the bot's own level does). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * fix(phones): only the owner's admin sessions hold a phone or lend their turn to one; routine reports stay the owner's Off a Cloud home, a request owns the desktop's phones only as the owner on this machine (loopback, the companion included) or an admin session; a client-scope session gets 403 registering one. A turn is the owner's when every line and card in its conversation came from this machine or a live admin session, so the owner's paired phone or iPad can use the phone tools too. Every routine here is the owner's, so a conversation a routine reported into keeps the phone; a webhook's posted payload still makes a conversation someone else's. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * fix(phones): the desktop owner rule in its own tested module; a bot's ask, a worker's answer and an outside event's report are not the owner's Off a Cloud home, whose turn may use the phones is decided in server/phones/owner.ts: a line with no person is the owner's unless it is a bot's ask, which counts only as this turn's own request and only while the work came from the user; a live admin session's line or answer is the owner's, a client session's, a worker's or an unrecorded one is not; a webhook's payload and an outside event's run report still make a conversation someone else's, while a real routine's report does not. Card answers now record the answering session's person key off a Cloud home too. The e2e shows a thread a webhook's run opens gets no phone (one the owner's turn opens does), and a conversation an outside event's run reported into loses it. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * feat(phones): per-bot phoneApps grant on the bot patch route PATCH /api/bots/:id accepts phoneApps (null clears to the default). Adding a capability or raising read to write against the effective grant, including a Chief's clear-to-everything, counts as loosening. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * feat(phones): per-bot Phone apps card in bot settings Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * feat(phones): list registered phones and their allowed apps in Settings Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * fix(phones): surface a failed phone removal and block double clicks Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * feat(phones): phone-side contract fixture Pins the wire shapes the phone apps parse; the test keeps the file in step with the server's zod schemas and PHONE_TOOLS. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * chore(phones): lower the index.ts ratchet and document the phone routes Pins server/index.ts at 16843 lines and adds "Phone apps as bot tools" to docs/ios-companion.md. Fails on base too: - node:sqlite load error on node 22 (125 src/ test files, e.g. src/components/CallSheet.test.ts) - server/browser-live-routes.test.ts - server/chat-apps-mcp.e2e.test.ts - server/cloud-sync.e2e.test.ts - server/control-omb.test.ts - server/device-links.test.ts - server/headless-cli.e2e.test.ts - server/routes/browser-viewers.test.ts - server/usage-traces.e2e.test.ts - server/verification-fixture.e2e.test.ts (server/group-local-vm.e2e.test.ts timed out once under full-suite load; passes alone on the branch.) Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * fix(phones): off a Cloud home a routine reaches the owner's phone only while the owner wrote it, unchanged A client-scope session could create, edit and run a routine whose run mounted the device server and reached the owner's phone: every non-webhook run counted as owner-written and owner-started, and every routine's report as the owner's. The desktop now records routine authorship the way a Cloud home does (createCloudRoutineAuthors, owner-routines.json): the owner or an admin creating a routine records it; anyone else's edit forgets it; the owner's edit keeps it only when it was theirs or they rewrote its instructions. A run is the owner's when its routine is recorded with the run's fingerprint and a schedule, a restart or the owner's own manual start began it; a routine's report is the owner's only for a routine the owner wrote. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * fix(phones): no desktop phones where sign-in lets several people in; a relayed line is not the owner's Off a Cloud home every admin session counted as the one desktop owner, so on a self-hosted server shared through sign-in each admin reached every admin's phones; and a line relayed by an external interface (the Slack worker) names no person, so it passed as typed at this machine. phoneOwnerOf and phoneTurnOwner now offer the desktop owner's phones only where desktopPhonesOffered holds: no shared membership and loopback trust that is the owner, not a service. desktopLendingTurn rewrites relayed user lines to NOT_THE_OWNER, as it does a bot's unvouched ask. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * fix(phones): removing a phone fails its jobs, and a removal on the computer sticks Both DELETE routes only dropped the registry record: a job queued for the phone or in its hands kept waiting out its timeout, and the phone re-registered on its next connect. PhoneJobs.drop(key, text) finishes every job for the key as { ok: false, code: "denied", error: "This phone's access changed." } and wakes its open poll. The admin DELETE /api/phones/:key also records the key in a persisted blocked list in phones.json ({ version: 1, phones, blocked }, the old shape still read), so PUT /api/phones/self from it answers 403 "This phone was removed on the computer. Pair it again to use its apps." until the phone pairs again under a new key. The phone's own DELETE /api/phones/self does not block. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * fix(phones): queue and nudge a phone job before asking whether the phone is online PhoneJobs.request waited up to 15 s for online() before it queued the job and sent the device.job nudge, and only a poll refreshes `seen`: a phone listening on its event stream but idle was never told to poll, so every call to it failed as offline. The job is now queued and nudged at once; if it has not been delivered when the 15 s reconnect window ends and the phone is still not online, it fails with the offline sentence (or turn_ended when its turn is over). A job the phone never took times out with "<tool> was never picked up by the phone within N seconds. It did not run."; a delivered or leased one keeps "It may still have run". Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * fix(phones): a newer phone's registration and job outcome are read, not refused The phones ship on their own schedule, but the registration schema was .strict() with an enum-keyed capability record and the outcome schemas were .strict() with a closed code enum: one new field, app or code from a newer phone made the server refuse its registration or its answer. Both now strip unknown keys; capabilities are filtered to the PHONE_CAPABILITIES this server knows before parsing, so an unknown app (say `inbox`) is dropped and the known ones register; an outcome code outside PHONE_JOB_CODES reads as absent. A known field with a malformed value is still refused. The contract fixture's shapes are unchanged. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * fix(phones): derive the device call's timeout, test the team-Cloud refusal on a real key, keep the phone label last - The device proxy timeout is DEVICE_PROXY_TIMEOUT_MS = the send hold (OUTBOUND_HOLD_MS, now exported from outbound-hold.ts and imported by index.ts) + PHONE_SEND_TIMEOUT_MS + PHONE_RECONNECT_WAIT_MS (now exported) + 30 s = 705 s. harness-budget.ts writes the sum out instead of importing, so the stdio proxy that reads it loads neither the hold nor zod; harness-mcp-proxy.test.ts holds it to the sum of the real constants. - "a team Cloud offers no phones" authenticates as a verified companion device, so its 403 comes from there being no owner, not from a missing key. - phoneOkResult spreads the phone's answer first and `phone` last, so no key in the answer can relabel where it ran. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * docs(phones): as-built notes on the design for the phone packs Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * fix(phones): the owner's existing routines no longer hide the phone from the Chief's chat Routines written before this build kept no authorship record, so their reports made the Chief's main conversation count as someone else's and the phone tools were withheld there; the bot then reached for the USB Android tool. On the first start with authorship records, a desktop only one person uses (phones offered, no other person's session) records its existing routines as the owner's, once. A turn that may not use the phone now hears that a phone is paired and to ask in a new conversation, and both prompts say the mcp__phone__ tools are a USB Android. A phone named after its kind is described as "The iPhone". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(phones): every bot may use the phone, and asks first when the person is at the computer Phone apps are no longer the Chief's alone: with phoneApps unset any bot gets what the phone allows, and an explicit per-bot grant still wins ({} turns it off). The owner rule is unchanged. A send made by a registered phone is noted by its sendId, so the direct turn it starts is told the person is talking from their phone and does reminders, events, contacts, location and texts there. Every other turn (direct from the computer, room turns, the prompt preview) is told to do things the usual way, use the phone only when asked for it, and ask once "here, or on your phone?" when the phone could also do it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(phones): where the person is lives in its own volatile section, unattended turns are told so, and phone sends without an id count The place sentence moves out of the stable "device" section into its own "device-place" section, which is volatile, so a phone turn after a computer one no longer relaunches the engine and re-uploads the conversation. It is emitted only beside a non-empty device section. A direct turn now has three places: the phone (its request is a noted phone send), the computer (a person's own line with no automation, peer ask, coordination or unattended flag) and unattended for everything else, which is told nobody is waiting and to use the phone only when the task names it. Rooms and the preview stay at the computer. A send from a registered phone without a sendId gets one minted, and each Live call line from a registered phone is noted, so walkie, command and call sends count as the phone's. The route's dependency is now fromPhone(auth) plus notePhoneSend(sendId). The computer text now allows reading the phone and asks once before changing anything on it; the phone text adds "as far as the phone allows"; the card's default note and the wire comment follow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Fix phone send after ended turn, stale phoneApps grant, and comment pointers Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(phones): drop the plan and spec documents The working plan and design notes were scaffolding for building the feature, not documentation of it. What the phone and the server agree on stays in docs/ios-companion.md and the contract fixture server/testing/fixtures/phone-jobs.json. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(phones): no card of OpenMausBot's own on phone sends, and no "here or on your phone?" question A phone send already waits on the person: it opens a sheet on the phone and goes only when they tap Send there. It no longer waits first on the "Send on your behalf?" card, so the phone tools leave the outbound hold entirely; the bot's per-app grant still decides whether it may send at all (an RSVP is a Calendar write the same way). Where the person is now decides without asking: a turn that came from the phone does phone things on the phone, a turn at the computer works the usual way and changes the phone only when the person names it, and a run nobody typed uses the phone only when its task names it. The bot settings note says the same. Tests: the rpc and e2e tests send a message, a WhatsApp and an RSVP and check the job reaches the phone at once with only activity rows in the chat and no outbound decision rows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(phones): the phone wiring moves to server/host/phones.ts, index.ts unpacked The phone integration had been added to server/index.ts as up to nine statements on one line. It now lives in createPhones (server/host/phones.ts): the registry and jobs, which sends came from a phone, whose turn may reach the owner's phones, where the person is, the mount and prompt parts, the /api/phones routes, and the desktop owner's routine records. index.ts builds it once and calls it from normally formatted lines, so it ends smaller than on main: 16,651 lines, pinned exactly in the file-size ratchet (the route ratchet stays at 6 path.startsWith). server/host/phones.test.ts covers where the person is (a send from the owner's phone is the phone's, the computer stays the computer, a run nobody typed is unattended, no place asks the person to choose) and that shared servers, other people's lines and refused Cloud turns get no phone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * i18n(phones): translate the phone strings into every language pack The 17 phone strings (Settings > Remote access and the bot's Phone apps card) in all 12 packs, accepted with generate-locale --accept so source-hashes.json records them against the current English. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com> Co-authored-by: milind-soni <milindsoni201@gmail.com> Co-authored-by: Milind Soni <46266943+milind-soni@users.noreply.github.com>A blank bot's greeting now shows Set me up. The press goes to the server at once, the bot's own line appears, and the cursor moves to the message box, which reads "Tell {name} what you'd like help with" while a "Setting up {name}" chip with an x sits above it. The button goes once it is pressed, once the person writes, or when the bot has a description or instructions. New strings in en.json only. ChatView.tsx and Composer.tsx keep their pinned sizes: the new parts live in SetupOffer.tsx. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Set me up is not drawn when the conversation's AI has no setup tools. Once the server answers the press the button goes and the bot's line is shown from that answer, so a lost live update no longer leaves a spinner. Where people share the place the chip and the message box's hint show only for the person who pressed. The chip now reads "{name} is ready to be set up" (new key; the unshipped "Setting up {name}" key is gone). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>- setupPresser records who pressed only for a signed-in person whose lines carry them as sender, where people share the place; a caller who could never take their own mark records nobody. Lines are matched by their person key. - A press while someone else's request waits is refused ("Someone else is setting this bot up."); an owner or admin may clear it, and forgetSetupPresser drops a departed member's requests. - An edit of the setup line by someone other than its author runs as typed. - setupTurnText builds the setup request from the stored line, its words as /setup first and then the Data tab's context, so a direct send, a queued one, a retry and an edit read alike. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>A turn whose AI sends nothing at all (no text, thinking, tool call or progress) for 20 s gets one notice row: "{Bot} hasn't heard back from {AI} yet.", with a rescue payload the desktop draws buttons from. The row's tool name is the whole sentence, so phones that print tool names still read it. The notice settles when the first output arrives, never repeats in a turn, ignores waits for the computer, and leaves mid-turn silence to the engine's own 60 s / 180 s notices. OMB_FIRST_REPLY_NOTICE_MS overrides the delay (0 turns it off). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>On the new "Working · time · now · size" line the fading old phrase still sat out of flow, so a longer one drew over the size beside it ("Piecing it together" over "· 2 KB" for the 320 ms fade). The new phrase now replaces the old one in place and fades in; nothing is drawn twice, and the unused fade-out styles go with it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Replaces the stop-first, DOM-polling Switch AI. - src/lib/ai-switch.ts holds one scoped intent {bot, thread, turn, place}. Only the matching picker takes it: the bot panel's in Simple mode, the header chip in Advanced. Holding it, the picker opens once and may open while the turn runs. - Closing the picker leaves the turn running. Picking another AI stops that exact turn (the Stop names it, so another turn is never reached); once it has ended, the new AI is set and the same message is sent again on it. If the turn was already over, the AI is set and nothing is resent. - Leaving the chat (the row unmounting) calls the switch off. - The rescue row keeps live buttons only while its own turn is the one running: not when settled or over, not once the chat is idle, not when the live frames name another turn, and not when the running turn started after the row (as after a reload). Switch AI is hidden in rooms and in Advanced mode on a remote client, where there is no model chip. - The client forgets the turns it saw when the live stream restarts without the frames it missed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Engines read their model lists lazily, so on a fresh start Switch AI could open the picker on an engine with none listed yet. The picker fell to its local-models pane ("No local models found") and stayed there when the list arrived. Now a picker that opens on an engine with no models listed asks that engine for them and says "Loading {engine} models…" while it waits. Once the engine's own models arrive it moves back to them from the local pane it fell to, unless the bot runs a local model; a read that finds none still offers local models. Switch AI opens the picker the way the model chip does, on the bot's own engine, not the one it was last left on. The pane logic lives in src/lib/model-picker-pane.ts; ModelPicker.tsx shrinks to 1201 lines. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>A routine run that reached its run limit was final, and a teammate's failed thread was resumed only if its Chief's model chose to call retry_thread. When that call itself failed (a provider that drops the MCP tool namespace makes codex answer "unsupported call: retry_thread"), nothing retried at all. - config.json "retryOnFailure" {max 0-2, delayMinutes 0-60, onTimeout resume|rerun|off, threads} and a routine's own "retryOnFailure" override. Off while unset: behaviour is unchanged until someone opts in. - Run-limit timeouts: resumed in their own thread with a fresh limit ("resume") or started over in a new thread ("rerun"), up to max, then failed with "(after N automatic retries)". - Never retried: owner cancel/stop (cancelled/interrupted stop reasons), a run overtaken by a newer running or completed run of the same routine, or a routine whose last 3 runs failed (failure-streak cap). - Teammate threads that failed or stalled: resumed by the server through the same startTurn as retry_thread with "[Auto-retry from OpenMausBot ...]" provenance after delayMinutes, unless the person wrote there, the thread is running/queued, or it finished a run since. The Chief hears only when the retries are used up or the retry cannot start, and is told what was tried. - Codex driver: reads what the turn appended to its rollout and surfaces codex's "unsupported call: <tool>" refusals as a runtime notice and a server warning, instead of the call vanishing silently. - Size ratchet: config.ts, codex.ts, routines.ts and index.ts end smaller than before. Moved out: the retryOnFailure schema (routine-retry-policy.ts), the SSH alias helpers (vps-alias.ts), Codex's update command (codex-update.ts), routine request receipts (routine-request-receipts.ts), and the retry refusal for a teammate's thread (host/chief-notices.ts). Re-exports keep every existing import working.cc411b61b' into HEAD 8dbcabae052641a5cd3' into HEAD a4b5006ee6At the ACP call site stopCause now gets the engine's name, so a refused turn reads "Gemini refused to go on with this request (stop reason: refusal)..." like the other engine errors ("Your Gemini account is out of credits", #3500's "OpenCode finished without replying."). Callers that don't know the engine (turn outcome, routine runs) still read "The AI ...". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>99b6dbf0c7' into HEAD 02979b328bA Tool Router Session uses an auth config it names only while that config is enabled for Tool Router. Configs people make themselves can have that unset or off. OpenMausBot named an unset one (Composio ignored it and answered "does not manage auth for toolkit xero ... specify one in auth_config_override") and skipped an off one, telling the person to switch on something they had no obvious way to reach. So Xero and Buffer stayed blocked with the person's own Composio key even after the earlier custom-auth-config work. Own Composio key: - When an app is connected (card requested, Connect clicked, or a call fails for want of a config), its auth config gets is_enabled_for_tool_router turned on through PATCH /auth_configs/{id}, only for that app. - The Session is updated in place (PATCH /tool_router/session/{id} with auth_configs), so a running bot keeps its MCP endpoint and gets the config on its next call; if Composio won't, a new Session is made for the same user. - Several enabled configs for one app: the most recently created wins, and the card's tool result tells the bot which. - COMPOSIO_MANAGE_CONNECTIONS advertises an optional auth_config_id. - A failed call's note says what was done or exactly what is missing; a lookup that found nothing is not cached. Managed service: one plain line, add your Composio project key in Settings → API keys and OpenMausBot uses your auth config from that project. Session code moves to server/composio-session.ts; server/composio.ts shrinks from 1289 to 1091 lines. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>On "Let it choose" a desktop bot works on this computer's screen, where fill_login refused ("not on this computer yet") and sent the bot to request_sign_in. A password is still never typed on a screen, where the server cannot prove which site a box belongs to. Now, when the bot has a login to fill and its own browser can be its place, fill_login moves the conversation there itself (the switch select_computer makes) and tells the bot to end the turn; the request continues in that browser, the person's own Chrome under My Chrome, and fill_login fills on the matching site. A run that cannot move, a bot with no logins or one whose browser is off still gets request_sign_in, with the reason. fill_login moves out of server/index.ts into server/host/fill-login-turn.ts; it and select_computer share one switch helper and one browser-as-place rule. fill_login already used 1Password; its description now says so, and "No saved login" says when 1Password could not be read just now. cua-driver's existing_profile refusal can't be granted by the app: the embedded host takes no grant option. The note added to that refusal now steers the bot to its own browser (select_computer browser, My Chrome) and never to a command-line flag. The bot panel's "Where it works" offers Browser (My Chrome when the bot's profile uses it) next to This PC and Cloud desktop, and says where the conversation works right now when that differs from the choice. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>- New server codes keep the English fallback: - refusals: - decider setup; - goal runs; - reports-to and Chief responsibilities; - departments; - helper suggestions; - notifications; - phones; - the default model; - backups; - voice length; - chat lines: - goal-run progress and outcome; - ACP Stop recovery; - the tool-count limit; - the stall notice; - automation recovery; - approvals; - Resumo inbox lines; - phone access summaries. - Exported goal history keeps its codes through backup export and import. Only allowlisted codes whose English recomposes exactly survive. - These follow the app language too: - the Decide and Extract activity labels; - the agent-default model label; - the desktop decider setup errors."Result/status unrecorded and unverified." read like a log line. The chip, the run log and the run summary now say "No result" and "{count} with no result", in all 12 language packs, with their source hashes updated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Connected · {name}, the checking line, the no-answer and connect-another lines, and the free backup note now read in all 12 language packs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>On a Team Cloud the @ list offers the team's people next to the bots. A tag of @Bob in a chat Bob can see notifies Bob alone and puts a line in his Needs you. "Tell Bob that..." in a private chat uses the new message_person tool: the bot posts it where Bob can see it, or opens a private conversation between Bob and the same bot ("From Ada"), and Bob's answer comes back to Ada's original chat as "Bob replied: ...". Only the message travels; each turn still reads only its own audience. Person notifications carry forPerson and reach nobody else. Also: config frames keep the team in the renderer, a team bot's main chat is never a member's private chat, and the @ list offers the bots the sidebar shows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>The Add MCP server card opens with one box: paste a server's link, a `claude mcp add` or `claude mcp add-json` command, an npx/uvx/docker line, or an mcpServers block. The app fills in the name, transport, headers and environment, and asks only for values the paste left out: a variable from the terminal ($CF_ID, ${CF_ID}) or a placeholder is never saved as written. The full form folds behind Edit details; headers and environment variables are name and value rows with hidden values, and saved values stay write-only. Saving tests the server and turns it on when it answers ("Connected: 12 tools"); otherwise it stays off with the reason and Try again. A signed-in server is turned on the same way. On a Team Cloud the card says everyone on the team can use the server, and Only for me keeps a one-key server as the person's own key. A Team Cloud e2e adds a gateway-protected server (two Cloudflare Access style headers) from the pasted command and has a member's turn list and call its tool; the broker test does the same through the credential broker. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Chat rows keep this branch's liveTools and main's MentionPeer type for mention peers. The language packs and source hashes are a key-by-key union: main's newer strings plus this branch's "No result" and "{count} with no result" in all 12 packs. The size ratchet is main's, since a pull request now leaves those numbers alone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>When the desktop app's window shows a server added in the Server menu, the page comes from that server: About showed that server's version as if it were the app's, and the profile menu offered that server's update ("Version 0.1.127 available — Update with: npm install -g ...") as if updating the app would clear it. Updating the app never did. The preload now tells every page the app's own version and whether the page is this app's own. It passes the same origin check that already decides which bridge a page gets, so it is known before anything loads and needs no network call. main passes app.getVersion() in the window's arguments. - About, in the app: the app's own version. On another server's page, a second line names it: "Connected to Office Mac · version 0.1.116". The name is the one saved in the Server menu, or the page's address until the app answers. A browser keeps today's single line. - Update row, in the app on another server (not a desktop or hosted install): "Office Mac can update to 0.1.127", with "Whoever runs that server updates it with: <command>". Up to date says "Office Mac is up to date". A browser on that server and this computer keep today's row. - New strings in every locale. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>A Chief in a room that made new bots and handed them work with the room as group_id was refused for each one ("no longer a member of this room"), could not add them with manage_room in a room of another department, and ended up asking the person to add them by hand. coordinate_bots now sends work addressed into a room to a bot outside that room directly, in its standing work thread with the sender (a fresh thread with thread "new"), exactly as a hand-off from outside a room, and its reply resumes the sender as any direct hand-off's does. Room membership does not change, so nobody new reads the room. The sender's conversation shows "Sent to <bot> directly: it isn't in this room." (naming the room when sent from elsewhere), translated in every language pack, and the receipt says so. Every other room rule stays: a Team Cloud private chat and a room whose setup is unfinished still refuse, as do a source that left, the reach rules and same-room work outside its conversation, and a member who left a room's job thread still stops. The remaining membership refusals say "isn't a member" or "no longer a member" as the case is, and that work sent again goes to the bot directly. manage_room keeps its own-department rule: managing a room changes who reads its whole history, which is authority, not reach. Its description and refusal no longer send the Chief to ask the person; they point to coordinate_bots. The room roster prompt no longer suggests the person add a bot. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>Clicking New bot (sidebar menu, New chat panel, Ctrl/Cmd+N, the calendar's "Create your first bot", MausBot's setup step, a department's New bot, a paired device) now makes the bot straight away from the saved New bot defaults and opens its chat with the caret in the message box. Shaping it comes after: Set me up under its greeting, and everything else in its settings. - Defaults are the ones the form used when accepted as is: the saved New bot defaults, the workspace's default AI when they name none, a friendly name no other bot has ("Helper 2" when a saved name is taken), colour and picture as the defaults set them. - On a team's Cloud the bot is made in the place the person is in, reports to the person its department reports to or else to its creator, and opens the creator's own private chat. A department's New bot keeps the dialog where it is and ticks the new bot. - With no AI set up, the bot is made without one (the server's onboarding behaviour) and takes the first AI connected; before, the create request insisted on an available model and failed. - Defaults that say Auto on this computer start the bot on Ask with a note on how to turn Auto on, since that level needs the person's own OK. - A failure shows "Couldn't make a new bot: <reason>" in the chat banner (or the department dialog), and no half-made bot is left. A double click or repeated shortcut makes one bot. New bot closes open settings so the new chat is in front. - Templates keeps its ready-made bots and their review (Add opens it, as its subtitle promises); presets stay in that review's Starting role. Removed: the popup path for New bot (the toggleNewBot action and newBotOpen state, the App-level dialog, the companion's Create bot popup, the dialog's section and preserveSelection props, add-bot.ts, createBotWithRole) and the tests that pinned them; unused strings newBot.intro, newBot.blank, newBot.blankDescription and newBot.profileFailed in every language. New strings newBot.failed and newBot.startsOnAsk in all 15 languages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>The sidebar in Simple mode becomes one quiet field, 280 wide with no divider. Advanced mode keeps its layout. - Top row: two round 34px buttons, search and +, right-aligned. The server pill moves into the account menu. - + menu: New Bot, New group chat, Templates, and Archived bots when there are any. New chat leaves it in Simple; a conversation starts from the bot panel. - The Chief (or the person's MausBot) is a centred tile with a crown badge, and pinned bots are tiles under it. There are no Pinned, Bots or Group chats headings; a person's departments keep a quiet label whose ⋯ shows on hover. - Rows: 54 tall, 36px avatar, 14px medium name, 13px preview. A working bot shows its live status phrase. Role, engine, Chief and model move into the row's tooltip; timestamps and the pin glyph leave the row. - Row menu: Rename, Pin, Move to department, Mark as Read or Unread, Copy conversation ID, More (every other item), then Archive or Hide, and Delete. - Footer: the account avatar and a Connect apps pill with three app icons. Automations, Team map and Switch to… join the account menu, which leads with a usage line ("Weekly usage · 12% used ›", "Resets in 3 days"). - The collapse tab shows on hover; the collapsed rail keeps search, +, Apps and the account menu. - Submenus open after a 250 ms rest instead of on a pass, close when a sibling row takes the pointer, and stay open while the pointer heads into them. This applies to every popover submenu and to the row menu's More. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Simple mode's picker becomes one floating menu on a shared menu surface: the current model on top with its check, then every ready provider's models under quiet headings in short names ("Sonnet 5" under "Claude"), Show all per provider, a search box once the menu holds more than twelve models, Thinking levels with a way back to Default, and Manage AI accounts. Providers that need setting up, signing in or checking again say so in a row; Set up and Sign in open the full picker in place, with Back. The bot panel and bot settings open the same floating menu without a second Thinking control. The chip is quiet until hovered: a faded provider mark, the model's name and a small chevron, a 32px circle in a narrow header and a 28px size for a composer. The menu floats from whichever side of the window its chip is on, flips above when it does not fit below, follows the chip while the page scrolls, and is driven fully from the keyboard: arrows, Home and End, typing a name, Enter, Escape step by step back to the chip. Advanced keeps every pane and control and takes the same surface, rows, type and inside-drawn focus outline. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>A blank bot's greeting now carries a card, "What should I help you with first?", with five lettered answers and Something else, in place of the Set me up button. A pick marks the conversation and sends its words as the person's own line, which runs as /setup <words> at once; the chat shows only the words. Something else works as Set me up did. Anything else written first runs as typed. Letter keys pick, x closes the card, and once answered it settles with the answer. A second pick while one is on its way is refused, so one message is sent. The fixed answers live in one table on the server and ride on the greeting. When there is something to go on (a name the person typed, a title or department, connected apps, About me, or what the person's other bots do), a "setup-suggestions" side job asks the bot's own engine, or the helper, for personal answers. The card shows a quiet frame for at most 6 s, then fills once: with the personal answers when they arrive in time and pass the checks (3 to 5 short options, no jargon, health terms, links or digits), else with the fixed ones. The first list shown stays, so a letter key always picks what is on screen. The person's name and names the server picked are never sent, and shared places send neither About me nor other bots' jobs. config.json features.smartSetupChoices: false turns it off. Every one-off Claude call (titles, compaction, memory upkeep, skill review, the engine check, permission review and the setup answers) now runs on claude-haiku-5-5 with --settings {"alwaysThinkingEnabled":false,"disableAllHooks":true}, so it never thinks and runs none of the person's hooks. Chat turns are unchanged. Haiku 5.5 is in the price list for spend estimates. A new bot greets the person by first name when the profile has one, and a new bot that names no look starts in one of eight shapes and a non-metal colour, preferring ones no bot wears. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>- General opens on Account (profile row 86 tall, a person mark instead of an empty disc, Add or Edit), then Appearance with More looks, Notifications, System, Import and Advanced mode last as a plain row. - The fifteen builder controls render only in Advanced; Simple search lists each as "{label} · Advanced" and scrolls to the Advanced mode row. - In Midnight and Daylight the sheet is opaque, 900x700 with radius 12 and no shadow; other skins keep their glass. - Rows, cards, the nav, switches, ghost selects and pills follow one anatomy, with plain copy in settings.simple.* keys. - AI lists your providers as rows with a fold for the rest and one for API keys; Computer leads with your bots' computers and devices, and folds Connect from elsewhere; Usage & billing leads with one usage block, See all limits and the plan. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>- The checked current row only closes the menu; Enter right after opening changes nothing. When its engine can't run, it opens setup instead. - Enter in an empty search does nothing; arrows go from the search to the first result below it and back, and up to a row above it. - A Space typed inside a name stays part of the name instead of pressing the row typeahead reached. - Opening the menu no longer probes every engine for local models; Show all and Check again still do. - Check again waits, with a spinner, while another read is running. - The chip always names the model, at every header width, and a model the catalog names in one bare word gets its provider ("Cursor Auto"). - The bot's model shows once, in "Use Pepper's model", not again in its provider's list. - Thinking is a segmented track like the bot panel's, and its tooltips say what it does. - Set up's full picker starts on the same rule as the list (the bot's default too, for an owner), and the engine's probe reason sits behind Details instead of a red alert. - In a long list, the sticky provider heading and Show suggested only meet the scroll edges and no focused row lands under them. - The menu follows its chip when the panel around it finishes sliding in. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>- The approval chip shows only while this conversation overrides the bot, so a new chat no longer shows Full access, and Simple mode names the levels as the bot panel does (Ask me first, Just do it, Decide for me, Auto-accept edits, Custom). - The + holds Attach files, Work until done (Finish together in a room) and Teach a task, which starts a /learn draft wherever /learn is offered. With attaching the only row, the + opens the file picker. - Work until done shows as a chip with a x that turns it off. The + sheet, its rows and the composer's small controls take the measured sizes, and the pill gets a stronger hairline on hover and focus and rounds in whenever it grows past one row. - While the bot works the placeholder stays Message {name}, and Send says what it will do. A room drops its routing hint unless it answers to mentions. The sidebar preview shows the last thing said rather than the bot's last step. - The round call, Send and Stop button fills with the bot's flat tone and draws its glyph in that tone's ink, which reads at 4.5:1 for every colour. The Share menu says Copy conversation and Download conversation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>- Tabs are Details, Library and Computer, in a sticky strip with a soft fade under it. Details holds a one-row Model card, the conversations (moved in from their own tab: New conversation always, search and the three newest once there are two or more), routines, and Find and Activity for this conversation. - A gear between Share and Close opens Bot settings: Instructions, Before {name} acts with this conversation's level, Call mode, Apps it can use, Job and the Hide row. Every title starts on one edge. Ask me first now applies to every conversation, as Just do it does, and a level only Advanced can set reads Custom with a hint. - What it remembers, Skills and the working folder move to Library, under what the bot made. Work until done leaves the panel for the composer's +, and the Thinking row for the model picker. - Computer shows the screen as one button that opens the full view, a resting state, and a Where it works page of choices. - The avatar editor keeps every body, colour and face; the Halloween bodies and faces sit behind More looks, open at once when the bot uses them. - The docked panel sits on the chat's ground behind a faint rule, Simple cards and segments take the composer's surface, and the panel root has a stable id for the header to point at. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>- Meet with no AI keeps its shape: the 288px pill signs in (install, sign-in, a pasted or shown code, or the Connect an AI dialog), with "Other ways to connect · Set up later" under it; the AI's test message, Checking, failed and backup states live in the dialog. One sentence typed once, title at weight 400. - The Chief step shows only for a MausBot not yet introduced where no other bot is the Chief; one Create on a new install, Choose beside it where there are bots, a 300 ms input guard, an empty app behind it ("No bots yet"), and MausBot flying to its tile before the chat opens. Dialogs use the shared modal, scrim and pill classes. - MausBot's three new lines, then a follow-up written once by the server (POST /api/bots/:id/helper-followup, MausBot's own person only) as a real message the model reads, and up to three chips for only what is missing. Advanced mode keeps its one-bubble intro, asks and spotlights as before. - What the removed steps did comes back: a first run that could offer the Cloud settles the Cloud Pro popup, and refused microphone or speech access offers Open System Settings. Simple cards carry one-line hints instead of spotlights, MausBot's panel lists Try asking, a first run on this computer takes the account's full name for an empty profile, and MausBot's own welcome card wears the same dialog in Simple mode. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>"I live on your Cloud" tripped the vocabulary test that keeps the product's names consistent ("your Cloud" is retired in favour of "the Cloud"), failing main's CI after #3670. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>* A new bot's setup answers follow its name Renaming a bot while its setup card is unanswered now writes the card's answers again for the new name, so a fresh bot renamed to "Recruiter" offers recruiting jobs. New bot gives a random name, which the writer rightly ignores, so a fresh bot's card never followed what it was called. - Any rename counts, whichever path made it (bot panel, settings, header, a bot renaming itself): the server watches the store's bot changes. A new title or department counts too, since the prompt reads them first. - Same writer, prompt, deadline and checks as at creation: the bot's own engine on its quick model through sideJobs.text("setup-suggestions"). - A picked or blank name goes back to the card a nameless bot gets: the fixed answers at once when nothing else is known about it. - Renames within 600 ms are written for once, and a newer rename aborts a writing still on its way, so the latest name wins. - Never after an answer: a pick, Something else, a message, closing the card or instructions stop it, and a line written mid-rewrite aborts it. - While it is rewritten the greeting carries setupChoicesUpdating (epoch ms). The card keeps its answers on screen, dimmed, and takes no letter or click; the new answers come in the change that clears the stamp and swap in at once. A failed, late or unusable writing keeps the answers. A client stops waiting 8 s after it first sees a stamp, or on one older than 20 s; older clients ignore the field and keep their list. - The setup card's wire fields move from shared/wire.ts to shared/setup-card.ts, which keeps wire.ts under 1,000 lines. - The fake Claude CLI can hold the setup reply back (FAKE_CLAUDE_SETUP_DELAY_MS), so a recipe can see the card while it waits. Evidence: docs/verification/evidence/name-suggestions/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Drop two helpers the rename tests never used Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* feat(cloud): a rail of Clouds, and + to buy another or add your own server Someone with two places or more (their Clouds, their teams' Clouds, servers they connected themselves) gets a narrow rail of circles at the window's left edge: initials on each place's colour, the place on screen marked, a dot when something needs them there, a ring while a Cloud is set up, ⋯ past eight, and + last. With one place there is no rail and nothing changes. The desktop session may list every Cloud of the person's (contract v1 `clouds`), read strictly; without it the app reads `cloud` and `teams` exactly as before. Each own Cloud besides My Cloud becomes a saved place, named and coloured by the Admin, and opens like a team's Cloud: pairHome(cloudId) sends { cloudId } and takes only a grant for that Cloud's own address. My Cloud stays the one home. isOwnCloud(origin) comes from the verified session only, and the update banner, sign-in and plan card now work on each own Cloud's page. The rail's list carries names, colours and states, never an address, and goes only to this app's page and to pages of Clouds MausBot runs that the session lists; a circle opens only an id main listed, through its own switch, from a click. + buys another Cloud (a plan, its name and swatch, POST /api/cloud/desktop/clouds and the returned checkout, followed to "ready"), or the calm one-Cloud word on an Admin that sells one, and walks through adding a server of one's own with today's pairing link. main.mjs stays under its size ratchet: the window's size-and-place file moved to window-state-file.mjs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(cloud): each place's colour at the top of its sidebar, and signed-in servers on the rail The place on screen tints the top of its sidebar in its colour, faintly, so people can tell their places apart at a glance; with no colour the sidebar looks as before. Settings > Appearance changes it with the rail's six swatches. A Cloud's colour is the Admin's (PATCH desktop/clouds/:id, for its owner or its team's admins; a member sees it locked), so every app of theirs follows; a server connected by hand keeps its colour in this app. The circle, the switcher's dot and the tint follow at once, and nothing is saved when the Admin refuses or lacks the route. The session's list may now carry the person's own servers and computers that signed in with their account (managed: false). They are never a Cloud of theirs to pair with or lend to. The rail shows them with a server mark, offline with when they were last seen, connected ones as their saved place, and nothing to open when only their own network reaches them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(cloud): read the Admin's reason for refusing another Cloud, and remind of updates Adding a Cloud is refused with the Admin's own reason whatever the status: 409 for its cap or another open checkout, 429 for too many at once, 503 while sign-ups are closed. The sheet now keys on that reason, so a closed sign-up is the calm line instead of an error. When another Cloud's checkout is still open, the Admin's page for it is kept here and the sheet follows that Cloud, with Reopen checkout and Copy link; nothing opens by itself. A server of the person's own that signed in runs a release the Admin names; while it names a newer one (the session's latestVersion), the rail gives that server a quiet reminder. With no newest release named, there is none. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* feat(cloud): a rail of Clouds, and + to buy another or add your own server Someone with two places or more (their Clouds, their teams' Clouds, servers they connected themselves) gets a narrow rail of circles at the window's left edge: initials on each place's colour, the place on screen marked, a dot when something needs them there, a ring while a Cloud is set up, ⋯ past eight, and + last. With one place there is no rail and nothing changes. The desktop session may list every Cloud of the person's (contract v1 `clouds`), read strictly; without it the app reads `cloud` and `teams` exactly as before. Each own Cloud besides My Cloud becomes a saved place, named and coloured by the Admin, and opens like a team's Cloud: pairHome(cloudId) sends { cloudId } and takes only a grant for that Cloud's own address. My Cloud stays the one home. isOwnCloud(origin) comes from the verified session only, and the update banner, sign-in and plan card now work on each own Cloud's page. The rail's list carries names, colours and states, never an address, and goes only to this app's page and to pages of Clouds MausBot runs that the session lists; a circle opens only an id main listed, through its own switch, from a click. + buys another Cloud (a plan, its name and swatch, POST /api/cloud/desktop/clouds and the returned checkout, followed to "ready"), or the calm one-Cloud word on an Admin that sells one, and walks through adding a server of one's own with today's pairing link. main.mjs stays under its size ratchet: the window's size-and-place file moved to window-state-file.mjs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(cloud): each place's colour at the top of its sidebar, and signed-in servers on the rail The place on screen tints the top of its sidebar in its colour, faintly, so people can tell their places apart at a glance; with no colour the sidebar looks as before. Settings > Appearance changes it with the rail's six swatches. A Cloud's colour is the Admin's (PATCH desktop/clouds/:id, for its owner or its team's admins; a member sees it locked), so every app of theirs follows; a server connected by hand keeps its colour in this app. The circle, the switcher's dot and the tint follow at once, and nothing is saved when the Admin refuses or lacks the route. The session's list may now carry the person's own servers and computers that signed in with their account (managed: false). They are never a Cloud of theirs to pair with or lend to. The rail shows them with a server mark, offline with when they were last seen, connected ones as their saved place, and nothing to open when only their own network reaches them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(cloud): read the Admin's reason for refusing another Cloud, and remind of updates Adding a Cloud is refused with the Admin's own reason whatever the status: 409 for its cap or another open checkout, 429 for too many at once, 503 while sign-ups are closed. The sheet now keys on that reason, so a closed sign-up is the calm line instead of an error. When another Cloud's checkout is still open, the Admin's page for it is kept here and the sheet follows that Cloud, with Reopen checkout and Copy link; nothing opens by itself. A server of the person's own that signed in runs a release the Admin names; while it names a newer one (the session's latestVersion), the rail gives that server a quiet reminder. With no newest release named, there is none. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(workspace): a banner picture at the top of every sidebar of a workspace Settings > Appearance, next to the place's colour, now has "Use an image": the person's own picture, faded into the top of the sidebar for everyone in that workspace, in front of the colour's tint (which shows when there is no picture or it won't load). Reduced transparency shows the tint's line instead. The picture is kept on the workspace's own server, with its other pictures, so it works the same on a Cloud and on a server of the person's own. The app shrinks it to 1600 px across at most and draws it afresh as WebP or JPEG under 400 KB; the server checks it again (a PNG, JPEG or WebP, still, small enough, readable) and keeps none of its metadata. Seeing it is anyone's signed in there; changing it is an admin's (a team's Super admin and Admins). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* feat(cloud): a rail of Clouds, and + to buy another or add your own server Someone with two places or more (their Clouds, their teams' Clouds, servers they connected themselves) gets a narrow rail of circles at the window's left edge: initials on each place's colour, the place on screen marked, a dot when something needs them there, a ring while a Cloud is set up, ⋯ past eight, and + last. With one place there is no rail and nothing changes. The desktop session may list every Cloud of the person's (contract v1 `clouds`), read strictly; without it the app reads `cloud` and `teams` exactly as before. Each own Cloud besides My Cloud becomes a saved place, named and coloured by the Admin, and opens like a team's Cloud: pairHome(cloudId) sends { cloudId } and takes only a grant for that Cloud's own address. My Cloud stays the one home. isOwnCloud(origin) comes from the verified session only, and the update banner, sign-in and plan card now work on each own Cloud's page. The rail's list carries names, colours and states, never an address, and goes only to this app's page and to pages of Clouds MausBot runs that the session lists; a circle opens only an id main listed, through its own switch, from a click. + buys another Cloud (a plan, its name and swatch, POST /api/cloud/desktop/clouds and the returned checkout, followed to "ready"), or the calm one-Cloud word on an Admin that sells one, and walks through adding a server of one's own with today's pairing link. main.mjs stays under its size ratchet: the window's size-and-place file moved to window-state-file.mjs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(cloud): each place's colour at the top of its sidebar, and signed-in servers on the rail The place on screen tints the top of its sidebar in its colour, faintly, so people can tell their places apart at a glance; with no colour the sidebar looks as before. Settings > Appearance changes it with the rail's six swatches. A Cloud's colour is the Admin's (PATCH desktop/clouds/:id, for its owner or its team's admins; a member sees it locked), so every app of theirs follows; a server connected by hand keeps its colour in this app. The circle, the switcher's dot and the tint follow at once, and nothing is saved when the Admin refuses or lacks the route. The session's list may now carry the person's own servers and computers that signed in with their account (managed: false). They are never a Cloud of theirs to pair with or lend to. The rail shows them with a server mark, offline with when they were last seen, connected ones as their saved place, and nothing to open when only their own network reaches them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(cloud): read the Admin's reason for refusing another Cloud, and remind of updates Adding a Cloud is refused with the Admin's own reason whatever the status: 409 for its cap or another open checkout, 429 for too many at once, 503 while sign-ups are closed. The sheet now keys on that reason, so a closed sign-up is the calm line instead of an error. When another Cloud's checkout is still open, the Admin's page for it is kept here and the sheet follows that Cloud, with Reopen checkout and Copy link; nothing opens by itself. A server of the person's own that signed in runs a release the Admin names; while it names a newer one (the session's latestVersion), the rail gives that server a quiet reminder. With no newest release named, there is none. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(desktop): the rail of places as the window's own chrome, on every place The rail is now app chrome, not page content: this app's page /rail in a view of its own at the window's left edge, beside whichever place's page the window shows. So it is there on every place, a server connected by hand included, whatever that server runs, and no place's page reads the list any more: only the rail's own page gets it, and only main switches, by the ids it listed. - Two places or more in all, This computer counted while it is one: This computer and one server show a rail of two circles. - The place on screen is named under its circle. - Beside the rail, the sidebar's switcher and the profile menu's Switch to... step aside at every width: one switcher. - The rail no longer hides on a narrow window; the page beside it moves over by the rail's width at any zoom (the app's preload, told by main). - The rail's sheets (+, the list past eight) cover the window while open, and the rail wears the skin and language of the app. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(desktop): a place's colour from its circle on the window's rail A right-click on a circle (or on its row in the list past eight) opens that place's menu: its name and the six swatches. It works for every place the rail lists, whatever its server runs, so a server on an older release (whose own Settings has no colour) can still be told apart. Main decides where the colour is kept with the rules the place's own page uses: the Admin's for a Cloud (its owner or its team's admins; a member sees it locked), this computer's for a server connected by hand, and the Admin's alone for a signed-in server not connected here. Only the rail's own page may ask (workspaces:recolor), only for an id main listed with a colour to show. This computer keeps today's look and has no menu. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(desktop): the rail keeps its size when this app's page is zoomed Chromium gives every page of a host the same zoom, so zooming this computer's page also zoomed the rail's own page (same origin) inside its fixed 64-point strip. The rail's page now takes that zoom back out (its root's CSS zoom is the inverse of the page zoom), and a circle's menu is placed in the rail's own units (offsets, not screen coordinates) so it opens beside its circle at any zoom. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* feat(cloud): a rail of Clouds, and + to buy another or add your own server Someone with two places or more (their Clouds, their teams' Clouds, servers they connected themselves) gets a narrow rail of circles at the window's left edge: initials on each place's colour, the place on screen marked, a dot when something needs them there, a ring while a Cloud is set up, ⋯ past eight, and + last. With one place there is no rail and nothing changes. The desktop session may list every Cloud of the person's (contract v1 `clouds`), read strictly; without it the app reads `cloud` and `teams` exactly as before. Each own Cloud besides My Cloud becomes a saved place, named and coloured by the Admin, and opens like a team's Cloud: pairHome(cloudId) sends { cloudId } and takes only a grant for that Cloud's own address. My Cloud stays the one home. isOwnCloud(origin) comes from the verified session only, and the update banner, sign-in and plan card now work on each own Cloud's page. The rail's list carries names, colours and states, never an address, and goes only to this app's page and to pages of Clouds MausBot runs that the session lists; a circle opens only an id main listed, through its own switch, from a click. + buys another Cloud (a plan, its name and swatch, POST /api/cloud/desktop/clouds and the returned checkout, followed to "ready"), or the calm one-Cloud word on an Admin that sells one, and walks through adding a server of one's own with today's pairing link. main.mjs stays under its size ratchet: the window's size-and-place file moved to window-state-file.mjs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(cloud): each place's colour at the top of its sidebar, and signed-in servers on the rail The place on screen tints the top of its sidebar in its colour, faintly, so people can tell their places apart at a glance; with no colour the sidebar looks as before. Settings > Appearance changes it with the rail's six swatches. A Cloud's colour is the Admin's (PATCH desktop/clouds/:id, for its owner or its team's admins; a member sees it locked), so every app of theirs follows; a server connected by hand keeps its colour in this app. The circle, the switcher's dot and the tint follow at once, and nothing is saved when the Admin refuses or lacks the route. The session's list may now carry the person's own servers and computers that signed in with their account (managed: false). They are never a Cloud of theirs to pair with or lend to. The rail shows them with a server mark, offline with when they were last seen, connected ones as their saved place, and nothing to open when only their own network reaches them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(cloud): read the Admin's reason for refusing another Cloud, and remind of updates Adding a Cloud is refused with the Admin's own reason whatever the status: 409 for its cap or another open checkout, 429 for too many at once, 503 while sign-ups are closed. The sheet now keys on that reason, so a closed sign-up is the calm line instead of an error. When another Cloud's checkout is still open, the Admin's page for it is kept here and the sheet follows that Cloud, with Reopen checkout and Copy link; nothing opens by itself. A server of the person's own that signed in runs a release the Admin names; while it names a newer one (the session's latestVersion), the rail gives that server a quiet reminder. With no newest release named, there is none. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(cloud): lend this computer to each Cloud of the person's own "Let my bots use this computer" now goes to the Cloud that asks: another Cloud of the person's own has the same switch on its own page, and this computer's Settings gets a "Which Cloud" picker once there are two. Each Cloud is checked at its own address and sleeps on a gate of its own, so one asleep never holds another's lending. My Cloud's Off stops all lending, as before; another Cloud's stops only that one. Use my Mac on another Cloud's page lends to it, the tray's Terminal reaches every Cloud lent to (asking once), and "Choose folders" in its welcome opens its own Settings. The move stays My Cloud's, the one home. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(cloud): this computer works for each of your Clouds automatically Every Cloud of the person's own (the verified session's, never a Team Cloud) uses this computer by itself while the app runs and is signed in: the internet connection, their Chrome, the home folder with editing, and apps and screen once computer control works (on a Mac lacking only its permissions, macOS is asked the first time a Cloud's bot needs them). Never the terminal. Folders lent before stay lent, so Files keeps their copies. There is nothing to set: the switches, the Which Cloud picker, the lending cards in Settings and on Cloud pages, the Use my Mac popup and link, the Terminal's question and the welcome's lending step are gone, with their channels, bridges and 97 strings in every language. The menu bar names the Clouds using this computer and offers Pause/Resume, which lasts across restarts, and See activity. Someone who had turned lending off, or unticked the internet connection, starts Paused. The protections hold, and the home folder's are added: shell start-up files, git's configuration and PowerShell profiles stay private, and a write through the home folder never reaches its hidden files, Library or AppData. Bots' texts on the Cloud say what is true now. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(verification): pictures of lending without settings, from the merged tree Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(chrome): the not-lent guidance says the app lends its Chrome by itself Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>Where the app gives or lists cloud desktops, it now says they come from Boat: - the Cloud plan's points: "Voice and cloud desktops by Boat included"; - the cloud desktops list: "Your bots' cloud desktops, by Boat."; - a bot's place: "{bot} gets its own cloud desktop from Boat the first time a task needs one." All 15 languages are updated, with their source hashes recorded against the new English. The place-view jargon test allows Boat on that one state as well as on the two that ask to connect a Boat account. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>A bot given Gmail by its Apps switch could call no Gmail tool on any engine. Before the switch also wrote the tool list, it wrote only the read/write scope, so a bot whose tool list was `{}` kept a list that left Gmail out: the connected-apps bridge then offered COMPOSIO_MANAGE_CONNECTIONS alone ("All connections are active", yet no Gmail tool), on Claude and on ACP engines alike. Claude's tool search found nothing for `select:gmail.search_emails` either, since no tool had that name anywhere. - An app a bot's scopes switch on gets its tools: every one, unless the bot's tool list already names some. Existing bots are fixed on the next start, and every later scope change applies the same rule. - The bridge offers plain tools for the common Gmail and Google Calendar actions (gmail.search_emails, read_email, read_email_thread, create_draft, send_email; googlecalendar.list_events, list_calendars) for each connected, granted app, writes only where the bot may write. Each runs its Composio tool through COMPOSIO_MULTI_EXECUTE_TOOL, so the relay judges it exactly as that tool: grant, scope, read-and-draft, outbound approval, team scopes. - Claude Code finds an MCP tool by its own name (`select:gmail.search_emails`) and sanitises the dot in the name it sends, so it gets the dotted names; other engines get gmail_search_emails, which they show the same way. - The prompt names these tools for the apps a bot has. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* docs: talk shortcut design (hold a key, talk to MausBot) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs: talk shortcut implementation plan Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(server): create a chat without selecting it Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(speech): finish recognition when the talk keys are let go Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(speech): sessions owned by a sink, scoped stop and speechBusy Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(talk): the talk shortcut setting, its keys and registration Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(talk): find MausBot, keep the Quick asks chat and follow the reply Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(talk): the floating box that never takes focus Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(talk): box load errors, icon failure, closed windows, bounded preview Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(talk): one ask from press to reply Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(talk): survive render and speech start failures, cap listening at 60 s Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(talk): wire the talk shortcut into the desktop app Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(talk): keep startup going, stop a closed window's dictation, escape chat link ids Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(speech): a window's session also ends when its page reloads, navigates away or crashes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(talk): Settings row, and calls tell main they hold the microphone Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(talk): move the talk and speech IPC wiring out of main.mjs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(verification): talk shortcut recipe Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(settings): show the talk shortcut row on Simple mode's General page main's Simple mode renders General through SimpleGeneralPage, not the advanced section list, so the row only appeared in Advanced mode. It now sits in the System group after the default-bot row; the General section's talk/voice/shortcut search keywords already lead there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(talk): say when this Mac's bots moved to My Cloud or its server is starting A frozen server's 409 { code: "moved" } is now TalkServerError "moved" (making the chat or sending), and a server that can't be reached while it is still starting is "starting" instead of "server-down". Refused bodies are cancelled. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(talk): composer's words for speech problems, distinct server notices, busy() Only a refused permission asks for Microphone + Speech Recognition access; a microphone or recognizer failure says "Talking couldn't start". No MausBot, a server still starting and a move to My Cloud each get their own notice. busy() reports listening/sending/thinking; panel.close and panel.hovered can no longer throw out of a timer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(talk): refresh the shortcut when its availability changes; tell home changes createTalkShortcut gains refresh(), which takes or lets go of the key when available() changed since it was last set up (set() returns early while it is unavailable). createHomeWindow calls rehomed(home) when home as worked out changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(talk): off while home is My Cloud; box follows the app's skin; updater waits - The shortcut is unavailable while home is My Cloud or this Mac's copy is frozen (away), and home changes re-apply it (homeWindow rehomed -> talk.homeChanged). Asks say "starting" while the local server is not ready. - A talk ask under way (listening/sending/thinking) counts as busy for the quiet update, on main's existing quietSignals line. - The box takes light or dark from the skin desktop:skin reports (a body class; the media query only until a page has painted). skinIsLight() reads it from the skin's page colour, pinned to styles.css by a test. - The box stays on the display it opened on, inlines a 56 px mascot (nativeImage.resize) instead of the 1024 px icon, clamps reply text to ten lines so a wide-character reply never cuts the card at 240 px, and its CSP adds base-uri and form-action 'none'. Paints, close and quit are guarded. main.mjs stays at 3270 lines (cap 3276). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(settings): talk row shows a failed change; search finds it only on the Mac The row catches state()/set() failures (shows "Could not change this. Try again." as OpenAtLoginRow does) and holds the switch and key picker while a change is on its way. The talk keywords join General's search only on this Mac app's own page, where the row can show. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(speech): compile the helper from a path that survives spaces Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(verification): talk box evidence at the box's own size, and its renderer scripts/talk-box-evidence.mjs renders every state in headless Chrome over the DevTools protocol at a 400 px viewport as tall as the card (56-240 px, 2x), each skin under the opposite macOS appearance. 20 PNGs (adds reply-wide). The recipe gains the regeneration steps (incl. preferredColorScheme=0 is dark), the skin-driven light/dark step, the My Cloud step corrected, and a server-starting step; the spec matches the rulings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(talk): opening an own Cloud from the account menu brings back an app window, never the talk box Main's new own-Cloud open listed BrowserWindow.getAllWindows() directly; like every other reveal it now uses appWindows(), which leaves the talk box out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>- usage-attribution: the ledger reader parsed the usage file while the server was still appending a line ("Unterminated string in JSON"). Only complete lines count now; the test's wait reads again. - live-call: after Stop, the bot had 5 s to stop being busy, and a loaded runner took longer (main's runs on Oct 28, three times). It has 15 s now, and the test 60 s in all. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>On Windows the bundled cua-driver 0.28.2 sends a foreground type_text as one SendInput burst of Unicode key packets, and Windows 11 Notepad reads ahead in that burst, so later characters replace earlier ones (" Zeile Drei" became " iiiiiiiiii") while the tool reports success. Driver 0.35.0 fixes this by pacing; until we bundle it, OpenMausBot sends such a call to the driver one character at a time, keeping the window in front with bring_to_front before each character and giving the previous window the front back afterwards. It stops, and says how far it got, if something else takes the front. A driver that already paces itself gets the call unchanged. The same driver answers a click that picks a menu item with foreground_unavailable after the click was sent, because the menu closes. For click, double_click and right_click that one answer now says the click was sent and asks the bot to check before clicking again. Both apply on Windows only, to bots on this computer (the local proxy, through a new relay hook in the MCP bridge) and to a lent screen (the desktop types, the Cloud server rewords the click). Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>The busy hour started at the next whole hour two days on. Run between 22:00 and 23:00 (UTC on CI) it ran from 23:00 to midnight, which the assistant's facts word across two days ("Fri 30 Oct 23:00 – Sat 31 Oct 00:00"), and the test's same-day pattern failed. It now starts at noon two days on. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* fix(mcp): a bot's own MCP server starts only for that bot, and one that doesn't start is left out A command server whose program or files are in one bot's folder could only ever start for that bot (on a Cloud a bot's turn sees only its own folders), yet it was mounted for every bot: every other bot's sessions failed it, every time, and Claude Code repeated the failure under every tool search. Files in a conversation folder went with the conversation, so such a server could vanish even for its owner. - A server whose command, arguments or environment point into one bot's folders is that bot's own (`"bot": "<id>"` in config.json) and starts only for it. A bot's add_mcp_server copies files from a conversation folder into its own folder's tools/ and runs them from there; another bot's files are refused. Servers a person adds in Settings stay every bot's. - Existing installs: on the first start, servers no bot owns whose files are in one bot's folders become that bot's own the same way, said once ("The Blender tool only works for Iris, so it's off for your other bots."). - Each enabled command server is started once the way a bot's AI starts it (in the bot's box, from its own folder): when added, changed or turned on, before the first turn that uses it, and whenever Claude Code reports it did not connect. One that doesn't start is left out of turns, said once in a notice, shown in Settings, and tried again on its own every half hour. A bot's own server is checked for that bot; any other starts the same for every bot, so one check stands for all. - A deleted bot's own servers go with it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(mcp): build the expected paths with the platform's own path helpers Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(mcp): a bot's own server only where bots are boxed, claimed once, for bots that exist On a desktop every bot reaches every folder, so a server a bot adds stays every bot's there, with no notice; its files are still copied out of a conversation folder into the bot's tools/ folder, since that folder goes with its conversation. A server that doesn't start is still left out by the health check. Where bots are boxed, the first start after the update claims a server for the one existing bot whose folders it uses, once: a marker file keeps a later start from claiming a server the person added in Settings, and a leftover folder of a deleted bot claims nothing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(team-box): turn the member's MCP servers for the bot whose turn it is A turn's MCP servers are now a bot's own (turnMcp takes the bot). The broker end-to-end test that came in from main still passed an empty object. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* fix(mcp): a bot's own MCP server starts only for that bot, and one that doesn't start is left out A command server whose program or files are in one bot's folder could only ever start for that bot (on a Cloud a bot's turn sees only its own folders), yet it was mounted for every bot: every other bot's sessions failed it, every time, and Claude Code repeated the failure under every tool search. Files in a conversation folder went with the conversation, so such a server could vanish even for its owner. - A server whose command, arguments or environment point into one bot's folders is that bot's own (`"bot": "<id>"` in config.json) and starts only for it. A bot's add_mcp_server copies files from a conversation folder into its own folder's tools/ and runs them from there; another bot's files are refused. Servers a person adds in Settings stay every bot's. - Existing installs: on the first start, servers no bot owns whose files are in one bot's folders become that bot's own the same way, said once ("The Blender tool only works for Iris, so it's off for your other bots."). - Each enabled command server is started once the way a bot's AI starts it (in the bot's box, from its own folder): when added, changed or turned on, before the first turn that uses it, and whenever Claude Code reports it did not connect. One that doesn't start is left out of turns, said once in a notice, shown in Settings, and tried again on its own every half hour. A bot's own server is checked for that bot; any other starts the same for every bot, so one check stands for all. - A deleted bot's own servers go with it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(mcp): build the expected paths with the platform's own path helpers Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(mcp): a bot's own server only where bots are boxed, claimed once, for bots that exist On a desktop every bot reaches every folder, so a server a bot adds stays every bot's there, with no notice; its files are still copied out of a conversation folder into the bot's tools/ folder, since that folder goes with its conversation. A server that doesn't start is still left out by the health check. Where bots are boxed, the first start after the update claims a server for the one existing bot whose folders it uses, once: a marker file keeps a later start from claiming a server the person added in Settings, and a leftover folder of a deleted bot claims nothing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(limits): a bot carries on with another AI by itself when its AI reaches a usage limit, and says so once A usage limit used to fail the turn, offer a card only for a person's own message, file an incident for every refused turn (five in four minutes), and leave routine runs failing until the reset. Now: - Each engine says which limit refused the turn (runtime.error `limit`): the account's on that engine, one model's own window (Claude's weekly model windows, Codex's "usage limit for <model>"), or a model's extra usage credits. A model's own limit carries that window's reset. - The limited AI is held until the reset it named, or for an hour when it named none (a guess, never shown as a reset). A model's own limit holds that model alone, at most six hours before it is tried again. - While it is held, every turn goes straight to the first AI that can carry on: for a model's own limit the same AI's default model, then the backups chosen for the bot or in Automatic recovery, then the AI a new bot would get. Only an AI that can run now with the same tools and folder, never another sign-in to the same subscription. A person's message that met the limit is sent again there; a routine run starts again there. A conversation that moved goes back after the reset. - The person hears it once per bot for each stretch of the limit, as a notice: "Codex reached its limit until 14:00, so Kai is using Claude meanwhile.", or that the bot waits when nothing can carry on. Usage limits file no incidents. - OMB_QUOTA_SWITCH=0 switches the carrying on off: only Automatic recovery's own backups take over, and the notice says the bot waits. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(limits): keep the server entry within its size limit Main's size ratchet now holds server/index.ts at 16,133 lines; the turn-start check and the takeover's wiring sit on lines that were already there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(limits): a Chief still hears of a teammate's usage limit, once per stretch Usage limits filed no incident at all, so a Chief no longer heard that a teammate was past its limit. Now its Team incidents get one per bot for each stretch of a limit, not one per refused turn; the person is not notified of it a second time, since the limit's own notice already told them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(acp): an engine waiting out a usage limit ends its turn as that limit, and a lifeless one stops after five minutes OpenCode 1.18.27 waits a provider's retry-after in full, uncapped, up to five times, and treats OpenCode Go's own usage limit as retryable: at that limit a turn sends nothing over ACP for hours, and the turn was stopped as stuck only after fifteen minutes, "last seen: no readable process state" since a Cloud image has no ps or lsof. Failing MCP servers do not hang it (measured). - On Linux a quiet engine is read from /proc: its tree's CPU and its established connections in each network namespace it lives in. - When OpenCode's log says the turn's model request failed on a usage or rate limit (or Qwen logs a long wait after a 429) and the engine stays quiet two more minutes, the turn ends as the engine's usage limit, so another AI carries on and the person hears it once. OpenCode's own usage-limit error is marked the same way. - No open request, no CPU use and nothing logged for five minutes stops the turn as stuck, instead of fifteen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(limits): an AI that bills each use carries on only as a backup the person chose When a bot's AI reaches its limit and the person named no backup, the bot carries on with the AI OpenMausBot would pick for a new bot. That pick could be an API key, which spends the person's money with only a notice. It is now taken only from AIs that draw on a plan. A pay-per-use AI, or a key on the same AI, still carries on when the person chose it as a backup. The takeover's engines carry the registry's access too, so a driver that is API-only by its own nature counts, as the quota switch already does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(team-box): turn the member's MCP servers for the bot whose turn it is A turn's MCP servers are now a bot's own (turnMcp takes the bot). The broker end-to-end test that came in from main still passed an empty object. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* fix(mcp): a bot's own MCP server starts only for that bot, and one that doesn't start is left out A command server whose program or files are in one bot's folder could only ever start for that bot (on a Cloud a bot's turn sees only its own folders), yet it was mounted for every bot: every other bot's sessions failed it, every time, and Claude Code repeated the failure under every tool search. Files in a conversation folder went with the conversation, so such a server could vanish even for its owner. - A server whose command, arguments or environment point into one bot's folders is that bot's own (`"bot": "<id>"` in config.json) and starts only for it. A bot's add_mcp_server copies files from a conversation folder into its own folder's tools/ and runs them from there; another bot's files are refused. Servers a person adds in Settings stay every bot's. - Existing installs: on the first start, servers no bot owns whose files are in one bot's folders become that bot's own the same way, said once ("The Blender tool only works for Iris, so it's off for your other bots."). - Each enabled command server is started once the way a bot's AI starts it (in the bot's box, from its own folder): when added, changed or turned on, before the first turn that uses it, and whenever Claude Code reports it did not connect. One that doesn't start is left out of turns, said once in a notice, shown in Settings, and tried again on its own every half hour. A bot's own server is checked for that bot; any other starts the same for every bot, so one check stands for all. - A deleted bot's own servers go with it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(mcp): build the expected paths with the platform's own path helpers Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(mcp): a bot's own server only where bots are boxed, claimed once, for bots that exist On a desktop every bot reaches every folder, so a server a bot adds stays every bot's there, with no notice; its files are still copied out of a conversation folder into the bot's tools/ folder, since that folder goes with its conversation. A server that doesn't start is still left out by the health check. Where bots are boxed, the first start after the update claims a server for the one existing bot whose folders it uses, once: a marker file keeps a later start from claiming a server the person added in Settings, and a leftover folder of a deleted bot claims nothing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(limits): a bot carries on with another AI by itself when its AI reaches a usage limit, and says so once A usage limit used to fail the turn, offer a card only for a person's own message, file an incident for every refused turn (five in four minutes), and leave routine runs failing until the reset. Now: - Each engine says which limit refused the turn (runtime.error `limit`): the account's on that engine, one model's own window (Claude's weekly model windows, Codex's "usage limit for <model>"), or a model's extra usage credits. A model's own limit carries that window's reset. - The limited AI is held until the reset it named, or for an hour when it named none (a guess, never shown as a reset). A model's own limit holds that model alone, at most six hours before it is tried again. - While it is held, every turn goes straight to the first AI that can carry on: for a model's own limit the same AI's default model, then the backups chosen for the bot or in Automatic recovery, then the AI a new bot would get. Only an AI that can run now with the same tools and folder, never another sign-in to the same subscription. A person's message that met the limit is sent again there; a routine run starts again there. A conversation that moved goes back after the reset. - The person hears it once per bot for each stretch of the limit, as a notice: "Codex reached its limit until 14:00, so Kai is using Claude meanwhile.", or that the bot waits when nothing can carry on. Usage limits file no incidents. - OMB_QUOTA_SWITCH=0 switches the carrying on off: only Automatic recovery's own backups take over, and the notice says the bot waits. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(limits): keep the server entry within its size limit Main's size ratchet now holds server/index.ts at 16,133 lines; the turn-start check and the takeover's wiring sit on lines that were already there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(limits): a Chief still hears of a teammate's usage limit, once per stretch Usage limits filed no incident at all, so a Chief no longer heard that a teammate was past its limit. Now its Team incidents get one per bot for each stretch of a limit, not one per refused turn; the person is not notified of it a second time, since the limit's own notice already told them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(limits): an AI that bills each use carries on only as a backup the person chose When a bot's AI reaches its limit and the person named no backup, the bot carries on with the AI OpenMausBot would pick for a new bot. That pick could be an API key, which spends the person's money with only a notice. It is now taken only from AIs that draw on a plan. A pay-per-use AI, or a key on the same AI, still carries on when the person chose it as a backup. The takeover's engines carry the registry's access too, so a driver that is API-only by its own nature counts, as the quota switch already does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(team-box): turn the member's MCP servers for the bot whose turn it is A turn's MCP servers are now a bot's own (turnMcp takes the bot). The broker end-to-end test that came in from main still passed an empty object. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>The official Antigravity runtime offers only the base gemini-3.8-flash model with a thinking_level option, while saved bots still hold gemini-3.8-flash-{low,medium,high}. The runtime accepted the switch but stayed on the base model, so every turn failed with "did not switch to gemini-3.8-flash-medium (still gemini-3.8-flash)". Re-lands the reverted fix: the offline catalog lists the base model with Low/Medium/High variants, and a retired suffixed pick runs as the base model at its saved level when the live session offers the base and not the suffixed id (and the turn chose no level of its own). The session model-selection step (legacy mapping, stale pooled-process check, fallback model and its one-time notice) moves out of acp/core.ts into pickSessionModel in session-model-controls.ts, so core.ts shrinks from 1771 to 1755 lines instead of growing past its ratchet. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* ci: main runs Linux and one macOS job; Windows and macOS suites run nightly, by hand and in the release lane A push to main and a merge group now run the main lane: static (typecheck, lint, the build), the eight Linux shards, the macOS smokes job, behavior evals, the Linux packaged server smoke, the open-source edition, the control plane, the renderer smoke and Linux browser identity. The Windows and macOS shards, the Windows smokes, the browser driver, the Linux package and the ARM installer run in the full lane: a nightly schedule (21:17 UTC), every manual run, and so the release branch's CI and the release-ci/v<version> lane. Pull requests are unchanged. - A push whose commit already passed the CI gate in a merge group runs only the control-plane job (the broker deploy needs it). - Concurrency: main's pushes keep one running and one waiting run; merge groups keep a group per ref; the nightly run and every manual run get a group named by event and branch, so no push cancels them. A PR's newer push still cancels its older run. - The release gate counts a run only when every platform's every vitest shard ran and passed ("partial" otherwise), accepts nightly runs, and no longer waits for a push's or merge group's run before starting the lane. A finished red run on the commit still stops the release. - docs/ci.md describes the lanes, the release gate and the merge queue: the workflow is ready for it, and GitHub offers the setting only once an organization owns the repository. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(ci): build three merge groups at once, within a Team plan's job limit Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* feat(cloud-send): the move to My Cloud's words and menu rows for the account area AccountMove gives the one-time move a short segment for the account line ("My Cloud move needs you" once failing, "Moving to My Cloud…" on its way), and its own rows for the account menu: the full message with why and Try again (spinner while it runs, main's words when unanswered), the progress while it goes, and what arrived with the phone to pair and Got it. Menu rows can now wrap a sentence instead of cutting it short; moveLine also returns a failing move's reason on its own. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(sidebar): the move to My Cloud warns in the account area, not a top strip The one-time move's line no longer draws as a full-width strip over the chat header. Failing, the account line says "My Cloud move needs you" (combined with automations when both need you), the avatar gets the red dot (also on the collapsed rail and Advanced's icons), and the account menu's top rows carry the message and Try again. On its way it says "Moving to My Cloud…" quietly with no dot; done, the menu says what arrived with Got it. Simple shows the line above the account and opens the menu from it; Advanced shows it under the name. CloudSendStrip now only draws a bot's move into a team on My Cloud's page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(sidebar): no avatar dot once the move to My Cloud is done What the move brought waits in the account menu with Got it; the avatar stays calm. The dot is only for a failing move, automations or an update. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Account menu: the My Cloud move takes one row, and its line gets Try again Omkar's review of the account area: the move's rows in the account menu were too big for that menu (a wrapped sentence, the reason under it, then a separate Try again row), and the amber line above the account had no way to try again without opening the menu. The menu now gives the move one row, drawn like Usage and Settings: "Try My Cloud move again" while it fails, which retries and keeps the menu open, disabled with a spinner while the retry runs; "Moving to My Cloud…" while it goes. The reason, or the progress, is the row's tooltip. A failing move that allows no retry gets one "My Cloud move needs you" row that opens My Cloud's settings. Advanced's menu gets the same row. The done state keeps its rows. Simple's line now ends with a Try again button (named "Try again to move to My Cloud", the reason as its tooltip) when the move allows one. It shows a spinner and ignores presses while the retry runs, and the words shorten before it does. The line's padding at the end goes so Try again lines up with the row below and the words fit at the sidebar's default width. The line and every account menu share one retry per window, so pressing either shows both waiting and a second press cannot start another. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Evidence: before and after pictures of the My Cloud move warning Main on the left, this branch on the right, in Daylight and Midnight: main's top strip is gone; the account area says "My Cloud move needs you" with a Try again button and a red dot on the avatar, and the account menu starts with one "Try My Cloud move again" row. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* Call the product MausBot wherever a person reads it The first run said "Meet OpenMausBot", and 106 UI strings named the product OpenMausBot against 65 that said MausBot. MausBot is the product's name; OpenMausBot names only the open-source project. brand.ts gains productName(): a white-label brand file's own name, else MausBot. brand().name stays the project's name. t() fills {app} with productName() unless the caller passes app, so the 106 strings now say {app} and white-label builds keep their own name. Call sites that passed brand().name pass productName(), the window title uses it, and the hard-coded names in the pairing page, the credential card, the About dialog's title and the computer-control errors read it too. Translations kept their wording: each pack's OpenMausBot became {app} (French and Italian elisions fixed by hand) and its source hash was refreshed for exactly those keys. Six translations that had no OpenMausBot to swap were removed and show English until the next translation run. Kept on purpose: pro.disclaimer ("OpenMausBot on this computer stays free and open source") and the About line "built on OpenMausBot" name the open-source project. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Replace every em dash in the English copy en.json had 106 em dashes in 101 strings. Each became a comma, colon, period or parentheses ("Update failed. Try again.", "Included skills (switched on)", "Group instructions: every bot in this group follows them"). Two sidebar update labels read as a sentence fragment with the dash gone and now say what the button does: "Restart to update to {app} {version}" and "Install {app} {version}". 97 strings changed punctuation only, so their translations still say the same thing: they are kept and their source hashes refreshed for those keys. The four reworded strings (the two update labels, the copy failure and the dictation permission line, which now says where to turn access on) drop their translations and show English until the next translation run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Say private desktop, AI and context used instead of VM, engine and ctx 97 strings drop the app's internal words where the setting is not inherently technical, using the words the app already uses elsewhere: - Local VM / VM (45 strings): "private desktop", the Works on choice's own label. The safety notes keep Docker, Podman and the limits, and every delete or replace confirm keeps its two required sentences. - engine (12): "AI" ("Add a backup AI", "its AI isn't available"), and the host's no-AI screen says "The host needs an AI". - ctx: the bot panel's meter reads "52% context used". - VPS (32): "VPS computer" becomes "desktop on your VPS", and the OpenMaus-managed wording goes. The control labels Start VPS automatically, Self-hosted VPS and the API keys field keep their names: the server's hints to bots name them, and only a person who set up an SSH alias reaches them. - MCP calls in Simple settings becomes "Tool time limit"; "per token" in the Cloud sign-in and model hints becomes plain billing words. API key fields, MCP server setup and the usage pages keep their exact terms. The reworded strings drop their translations, which show English until the next translation run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Name the fields that had only a placeholder Eleven inputs and text boxes had a placeholder and nothing else, so a screen reader announced them without a name and the hint vanished as soon as a person typed: the command palette's search, the other- computer sign-in address, group instructions, the group's and the bot's working folder, the routine and calendar editors' title and description (two of each), the new group chat's name and the new automation box. Each now has an aria-label, from the label its panel already shows where there is one, else from seven new strings. The command palette's search also moves into the catalog and says group chats, not channels. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Errors say what happened in short active words, and what to do next 36 error lines were passive, technical or left a person with nowhere to go: "Status request failed (500)", "Container runtime unavailable", "Cloudflare returned an unexpected error (HTTP 500).", "Invalid saved selection. This bot cannot start until it is repaired.", "Could not load the tool list." Each now says what happened in plain words and the next step: "Couldn't list private desktops (500). Refresh to try again.", "No container app is running. Open Docker or Podman, then check again.", "Your browser blocked the live desktop tab. Allow pop-ups for this page, then try again." "Copied!" loses its exclamation mark. No string said "Oops". The reworded strings drop their translations, which show English until the next translation run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Routine editor: say the room-goal line through the catalogue, not a new import The copy pass named the product with productName() here, and the extra import pushed RoutineCalendarPage past its size ceiling (1745 against 1744). t() already fills {app} with the product name, so the sentence moves into en.json and the import goes; the file is back at 1744. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Main's newer strings say MausBot, and lose their em dash Ten strings main added since this branch began broke its rules. Nine named the product OpenMausBot where a person reads it (the own-server sheet's lede and first step, the lent-folders line, the three engine copy notices, the passkey and Works on hints, and the one-use secret line); they now say {app}, so they read MausBot and a white-label build keeps its own name. The approval's new timed-out status lost its em dash: "No answer in time. It did not run", like the expired line beside it. Each translation's OpenMausBot became {app} too (French "qu'" elisions fixed by hand) and its source hash was refreshed for exactly those keys, so no translation was dropped. The timed-out line's translations had no recorded hash and are unchanged. Main's tests for these lines now expect the name a person reads. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Evidence: before and after pictures of the plainer words Main on the left, this branch on the right, in Daylight and Midnight: Settings > Computer says Private desktops and names the desktops MausBot keeps on your VPS, its Logins and 1Password lines say MausBot, and Settings > Updates reads "MausBot 0.1.132". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Main's newest errors say what to do next Main's new environment settings (now translated) brought three errors that stopped at what went wrong: "Couldn't switch.", "Couldn't forget the environment." and "Couldn't create the environment." Like the branch's other errors they now name the step: "Couldn't switch environments. Try again.", "Couldn't forget the environment. Try again." and "Couldn't create the environment. Check the data folder, then try again." (a bad folder is the one failure the app reports for a name it has already checked). Their Chinese lines, the only translation main shipped for them and with no recorded source hash, add the same step (请重试 / 请检查数据 文件夹,然后重试) rather than dropping to English. Main's test for these lines expects the whole sentence. Main's other new strings (pinned web panels, environments, the local model reply wait) already keep the rules: MausBot by name, no em dash, no VM, engine or ctx, and every field has a label. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Linux package smoke: the renderer's title is MausBot The window's page title is now the product's name, MausBot, so the smoke check looks for that whole word. OpenMausBot no longer matches. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* docs: waits design (tell me when, no AI while waiting) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs: waits implementation plan Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(waits): file and process probes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(waits): page probe that only reaches public addresses Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(waits): page timeout covers the lookup; stronger probe tests Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(waits): WaitManager with a 5 s tick, limits and expiry Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(waits): rename the record's then field to followUp Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(waits): recheck limits before saving, catch tick failures, full rollback, save before follow-up Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(waits): wire shapes, wait notification and follow-up run plumbing Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(waits): internal route with source, host and ownership checks Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(waits): scope list and cancel to the chat, one-line labels, normalised urls Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(waits): wait_until, list_waits and cancel_wait in the agents catalog Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(waits): run waits in the server, tie them to bots, keep them out of backups Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(waits): cancel waits when automations switch off for a move, no guest follow-ups, backup notes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(waits): a wait's card reads as one line with Cancel Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(verification): waits recipe, exercised against a fixture Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(waits): classify wait notices for MausBot and keep wire.ts under 1,000 lines Main's MausBot notification list needs a lean for every kind: a wait that fired tells the person something happened and asks nothing, so it is fyi, like done. WaitCardData moves to shared/wait-request.ts next to the other card payloads so shared/wire.ts stays under the file-size ratchet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(waits): keep the wait kinds and hours in shared/waits.ts so the agents proxy no longer loads the wait manager The tool module imported WAIT_KINDS from server/waits.ts, which pulled config, atomic writes and the probes into every agents proxy (86 bundled modules; 43 now). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(waits): a full bot's refusal names only this chat's waits, and the copy says "in this chat" The refusal listed every chat's waits, so a turn in one chat could read the labels and follow-ups of another person's waits. It now lists this chat's waits and counts the rest. list_waits and cancel_wait only see this chat's waits, so their "none" and "no such id" answers say so. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(waits): refuse a program wait where this computer can't list its programs A failed process listing reads as "not met", so on a computer without ps a program wait was made and silently never fired. Creation now refuses it; a listing that fails later still just waits for the next check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(waits): moving a bot from My Cloud into a team cancels its waits A moved bot stays here archived, and its waits kept firing: lines, notifications and follow-up runs for a bot that now lives in the team. Holding it for the move and its arrival both cancel its waits, which settles their cards. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(waits): check pages outside the tick's busy window, so a slow page no longer refuses a backup or restore A page check can take 15 s, and the whole tick counted as busy for backups and restores. The checks now run first and only deciding and posting count as busy; what a check finds after the waits were stopped is not posted, and that wait is checked again once they start. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(waits): a restore ends the waits already here, and the backup notes stop saying waits watch this computer waits.json was kept in place across a restore, so waits made before it went on checking and posted into the restored chats while routines stayed paused. It now moves aside with the rest of the old data (the safety copy keeps it). Page waits look at the internet, not this computer, so the exclusion note no longer says each one watches it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(waits): the card says how a wait ended, its Cancel reads as Cancel, and a Cancel on an ended wait settles it Labels are noun phrases ("the build"), so the card's subtitle is "Then <bot> will: …" rather than "When <label>, …". After a wait fired, expired or was cancelled the card said "<bot> is waiting for …" (a cancelled one with "· Undone"); each now has its own line. The button reads Cancelling… and Couldn't cancel. A Cancel that finds the wait already ended settles the card as ended, so the button goes away; a card settles once. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(waits): on a Cloud home, say that checks pause while My Cloud sleeps and where the follow-up reports My Cloud is not kept awake for waits, so on a Cloud home the wait_until answer and the tool description say checks pause while it sleeps; the answer also says a follow-up runs in its own results chat, as it does there. The tool asks for a noun-phrase label ("the build") and list_waits says it lists this chat's waits. Goldens regenerated; every profile grows 57 bytes and its budget moves with it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(waits): the fixture keeps the fake engine's calls, and the follow-up turn's wait_until is refused The recipe emptied calls.json and said the follow-up would otherwise set a second wait; it is refused instead, which is the no-self-renewal guard. Re-ran the fixture with noun-phrase labels: one card, one fired line, the follow-up's call refused, waits.json empty. The quoted lines say they are abridged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(waits): the wait fields' docs live on their types, keeping shared/wire.ts at 1000 lines Main's newer fields and the two wait fields took wire.ts to 1002 lines, past the ratchet's 1000-line listing threshold. The types carry the docs instead, as TeamSetupRequest and QuotaSwitchCardData already do. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(waits): only a personal My Cloud says its checks pause while it sleeps A Team Cloud's plan never sleeps, yet its bots told people their wait might come late because My Cloud sleeps. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * waits: list list_waits and cancel_wait only while the bot has a wait; shorter wait_until In the spirit of #3773's "fewer tools where a turn can't use them": - A new switch in a turn's agents profile, OMB_ACTIVE_WAITS, set from WaitManager.count(botId) and carried by the HTTP mount. Every turn outside a room lists wait_until; list_waits and cancel_wait are listed only while the bot has a wait that has not ended, so the turn after one is set sees them. A room lists list_waits alone, and only then. - Unlisted, the two still answer a call (a wait made this turn, a list read earlier): the agents server's unknown-tool check reads callableTools, so a direct call or use_tool reaches the waits route, which scopes it to the chat. A room still refuses cancel_wait as a tool it is not given. find_tool offers them only while they are listed. - wait_until says only what the model needs: the kinds, no AI while waiting, follow_up and 1 to 168 hours. Its result already explains a condition that holds, a computer that can't check files or programs, and My Cloud's sleep. It advertises 1,070 bytes, down from 1,912. - Budgets: 16 catalog profiles stay inside main's +2%. The nine non-Chief profiles that list wait_until move their BUDGET_BASELINE by the measured overage only (39 to 153 bytes). No bridged baseline moves; no file cap. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * waits: list list_waits and cancel_wait only for a wait in this chat Both act only on the chat's own waits, so a wait the bot keeps in another chat no longer lists them here. OMB_ACTIVE_WAITS now comes from WaitManager.count(botId, threadId), on the same OMB_ROOM line of server/index.ts. A room never holds a wait, so its turn lists none of the three. Unlisted, both still answer a call as before. No catalog bytes change: every golden profile has the switch off. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * wire: a card's waitRequest comes from a WaitCardField mixin, so shared/wire.ts stays at 1,000 lines Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * waits: read a page's words in one linear pass The text-stripping patterns backtracked: a page of 128 KB of `<` took 5 s, and 2 MB, the most a check reads, about 20 minutes, freezing the whole server on create, every minute after and again after a restart. pageText now walks the page once with indexOf and bounded patterns; a hostile 2 MB page reads in milliseconds. Well-formed pages read exactly as before. A comment, script or style left open now hides the rest, as in a browser. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * waits: refuse a network path for a file wait A file wait checks its path every 5 seconds. On Windows a path such as \\host\share\x makes that check sign in to the host, sending it the person's password hash. A path starting with \\ or //, with either slash, mixed or percent-encoded, is refused before anything looks at it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * waits: url_missing fires only once a check saw the text A check reads the page's HTML without running its scripts, so on a page its scripts draw the text looked gone from the first check: the wait answered "already" and the bot told the person, say, that the shoes were back in stock when they were not. Like bot_idle's sawBusy, the condition now keeps sawText and fires only after a check found the text and a later one does not. A wait made while the text is not on the page says so, for the bot to tell the person. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * waits: a sleeping Cloud wakes every 30 minutes while a wait is open Waits were left out of the wake schedule, so a My Cloud that slept never checked them. While a wait is open the home's nextDueAt now includes a time 30 minutes on: the home may still sleep (a page is due every minute, which would keep it awake), and the Admin wakes it to check about every half hour. The wait's answer tells the bot the message can come up to 30 minutes late. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * waits: plain words in the wait card and the bot's refusals Following #3865: the refusals say MausBot and "a private desktop or a cloud desktop" instead of OpenMausBot and Local VM, and each error says what to do next (guests leave out follow_up, a bot waits for another bot rather than itself, a program wait on a computer that can't list its programs waits for a file or a page, a private address takes a page on the public web, a vanished bot is picked again from list_bots). The card's failed Cancel says "Couldn't cancel the wait. Try again, or ask {name} to stop it." in place of a raw error, and a Cancel that finds the wait already ended shows no error: the card then says how it ended. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * i18n: Korean says {app} like the other packs, and the release's hashes follow #3865's English main fails pnpm i18n:check with 128 problems from three changes landing together. #3852's Korean was written before #3865 turned OpenMausBot into {app}, so 110 Korean lines lost a placeholder; the 0.1.133 release had recorded source hashes that #3865's English then changed. As #3865 did for every other pack, Korean's OpenMausBot becomes {app} (106 lines; MausBot ends in a consonant too, so the particles stay right). Four lines that swap can't fix fall back to English until the next translation run: the three VPS desktop lines #3865 reworded and dropped from every pack, and the same-machine setup line, which names the app twice where the English now names it once. The 18 stale hashes are refreshed: approval.status.timedOut (15 packs) and German approval.status.expired changed punctuation only, and the three Chinese environment errors already carry #3865's next step. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(touch): the calendar's resize handle lives in CalendarEventCard now #3863 moved the call event's mouse drag-resize handle from RoutineCalendarPage.tsx into routines/CalendarEventCard.tsx, but the touch test's not-an-action entry still named the old file, so it reported the handle as a hover-only action and its own entry as stale. main never ran it: its locale check failed first. The entry now names the new file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: milind-soni <milindsoni201@gmail.com>* docs: saved steps design (repeat computer tasks without AI) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs: saved steps implementation plan Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(saved-steps): request key and word rules Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(saved-steps): the host computer bridge journals each call before the engine sees it Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(saved-steps): hold-reply test, guarded reply chain, no partial wire records Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(saved-steps): keep the host computer's journal per request and count its gated calls Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(saved-steps): saveability rules turn a request's journal into a recipe Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(saved-steps): refuse journals whose targets or typed text cannot be replayed safely Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(saved-steps): per-bot recipe store with caps and expiry Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(saved-steps): re-apply the arg allowlist on read and refuse unsafe bot ids Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(saved-steps): resolve a saved step's target on the live screen Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(saved-steps): refuse cut or degraded trees, window targets without an app, and element steps without their targets Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(saved-steps): match windows by exact title, require complete trees and a target app for every step Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(saved-steps): run saved steps through the gated computer with an approval per action Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(saved-steps): drop stored key and element steps scoped wider than their window Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(saved-steps): replay a saved request in place of the engine, falling back with a note Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(saved-steps): replay only a turn that is exactly the person's one line, refuse an untaintable request, end a broken replay's turn Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(saved-steps): replay only where the person picked this computer; a control-gate refusal keeps the recipe Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(saved-steps): a replayed step waits 60 s, past the control gate's longest hold Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(saved-steps): save a request's steps when it settles and mark the reply Every request end frees its journal: a settled request on requestSettled, any other when the next request takes the thread. A denial, a replay or a turn that sends more than the person's one line keeps the request from saving. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(saved-steps): a request whose thread the journal evicted mid-request never saves The journal remembers which generations each evicted thread lost (up to 1024 threads) and takes them as tainted and incomplete, so the calls that follow an eviction can never pass for a whole request. Taking the thread forgets the eviction. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(saved-steps): save only a person's computer run that used read-only tools beside it An answered question taints the request like a denial; any tool call other than the computer's or a read-only one (Read, Glob, Grep, LS, ToolSearch, TodoWrite, WebSearch, WebFetch) keeps the request from saving; a request with no person origin counts as automated; queued lines the dispatch cannot mark are held back from saving. The journal evicts the least recently used thread and keeps at most 64 lost generations per evicted thread, past which every generation it is asked about counts as lost. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(saved-steps): a select_computer hand-off and an engine's bare computer tool names still save select_computer joins the tools that leave a request saveable, and an activity line named after a driver tool the rules know (an action or observation tool) counts as a computer call, as Codex titles them without the server prefix. Any other bare name still keeps the request from saving. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(saved-steps): pi and chat engines' computer_ tool names save; another computer in the request stops it saving A tool line named computer_<tool> counts as a computer call when the rest is a driver tool the rules know (one prefix, exact name), and Codex's bare select_computer and web_search leave a request saveable. A gate check from a computer that is not this one (Local VM, Cloud Boat, team computer) taints that turn, so a hand-off between computers never saves this computer's steps alone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(saved-steps): forget a bot's saved steps over HTTP Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(saved-steps): reply chips with Forget, and the Settings switch Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(saved-steps): a fake cua-driver with tokens that go stale per snapshot Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(saved-steps): verification recipe, the policy note and the spec's rulings Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(saved-steps): typed words repeat only for the exact request; signs, symbols and time words count The key keeps symbols, a leading or inner hyphen and a stop inside a number, so "-5" and "5", or "C++" and "C", are different requests. A recipe that types the person's words or opens their links stores its request word for word and replays only for that exact request (Unicode forms and spacing evened out, case kept); the store drops such a recipe whose request does not hold them. latest, last, first, next, today, unread and the like are moment words. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(saved-steps): never save typing that may append or a click that flips a toggle cua-driver 0.28.2's contract does not say whether type_text replaces a field's value, so a step that types refuses saving; set_value, which replaces it, still saves. A click, double click or key press on a check box, switch, toggle, radio button or disclosure triangle flips it from whatever state it is in, so it refuses saving too, and the store drops either from a file. The fixture's driver answers set_value, and its fail file now fails only a set_value on a live element. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(saved-steps): a replay says what its steps did, not the AI's old reply A replay answered with the first sentence of the AI's reply from the run it learned from, so "You have 12 unread emails" came back unchanged every time. It now answers with a sentence built from the recipe's steps and their stored targets ("Done — repeated 2 saved steps: opened Mail, clicked “Inbox”."), listing at most five steps. Recipes no longer store the reply; a stored one is ignored on read. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(saved-steps): a replay runs only the computer tools the bot may use Every engine enforces the bot's tool selection per computer tool, but a replay drove the gated computer directly, so a tool the person turned off in Access could still run from a saved recipe. A replay now needs every step's tool and the three lookups it resolves targets with to be selected; otherwise the AI answers and the recipe is kept. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(saved-steps): key presses save only with the window they went to A press_key or hotkey sent to an app with no window lands in whichever of its windows is in front, so "close the Invoice window" could replay as cmd+W on another document. Key steps now save only with a window_id; replay finds that window by its exact title like element steps, and the store drops a key step without one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(saved-steps): wait up to 3 s for a target an earlier step brings up A replay looked each target up once, at machine speed, so a window that launch_app opens or a sheet a click brings up was often not there yet, the step failed and the recipe was deleted. When no app, window or element matches, the replay now looks again every 250 ms for up to 3 s. A target that matches twice, a cut or unreadable tree and a failed lookup never wait. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(saved-steps): save and replay on macOS only, from trees the driver read whole Replay needs list_windows and a tree that says elements_complete; Linux's cua-driver 0.19.3 and the Windows build were never shown to give either, so a recipe saved there would fail every replay after its first steps ran. Saving and replay now run only on darwin (tests inject the platform). The bridge keeps elements_complete in the slimmed tree, only when the driver read the whole tree and every element survived slimming, and an element step saves only from such a snapshot. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(saved-steps): journal only the person's own requests, within a byte budget Every host mount journalled, so room and routine turns, and every turn while the setting was off, posted each computer call and kept its tree in memory for requests that could never save. The mount now sets OMB_COMPUTER_JOURNAL only for a direct request from the person while saved steps are on, and the journal route drops posts while the setting is off. The journal holds at most 256 KB an entry and 32 MB in all; an entry past either budget is not kept and leaves its request incomplete, so it never saves. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(saved-steps): the engine's session learns a replayed turn from the conversation, once The replay's events carried the engine's instance and the bound turn id, so the handoff record counted the replayed line and its reply as received by a session that never saw them, and the next AI turn did not learn the task was just repeated. A replay now withholds its turn's handoff (handed back, bound to the replay's turn, if the AI takes over), and when it answers without the AI it sets the conversation's externally-updated marker, which a strict-resume engine with a usable record skips because its record already leaves the turn unseen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(saved-steps): honest learned chip, quoted screen text, gated computer only, limit hold kept - The "Saved these steps · next time no AI" chip shows only when the turn that learned met every replay condition (setting, Full access, a place the person picked, the steps' tools selected); otherwise the steps still save without the promise. - The fallback note quotes the failed step's target and the computer's error as JSON, marked as screen text and not instructions. - openComputerCaller refuses a computer spec without the control gate's address and turn token. - A replay's own events no longer end an engine's usage-limit hold; only a turn that ran on the engine does. The run stays known until its end is published. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(saved-steps): the journal post lets go of its answer; pin the forget route to admins The bridge's journal post now cancels the response body it never reads. A test pins that DELETE /api/bots/:botId/saved-steps/:recipeId needs the admin scope, so a client can never forget a bot's steps. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(saved-steps): the gated mount always says whether it journals A driver record whose environment already held OMB_COMPUTER_JOURNAL=1 would still journal through a mount that did not ask for it, since the gated environment spreads the driver's. The mount now always sets the switch, to "1" or "0". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(saved-steps): the final review's rulings in the spec, a re-run fixture, 60 s in the plan The spec gets a paragraph for each ruling (reply from the steps, exact request for typed words, key symbols, moment words, tool selection, no type_text or toggle clicks, key steps with their window, the 3 s wait, macOS only, the handoff and context marker, journalling and its budget, the honest chip, the quoted note) and a Decisions entry. The verification recipe uses set_value, replays with the exact words, shows the new reply and note, says outright that no real app has been driven, and records this run in place of the unbacked load claim. The plan's step timeout reads 60 000 ms. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(saved-steps): a saved recipe always reads back, and stale keys are dropped Typed words and links were checked against the raw request at save time, while the stored request and every later check use its evened-out form, so a recipe could save, show its chip and then vanish on read (a doubled inner space, full-width letters). The save-time check now uses the stored form. The store also drops a recipe whose key is not its request's key under today's normalising, so one keyed before symbols counted ("open the C++ tab" keyed "open the c tab") no longer replays for the C tab. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(saved-steps): a replay ends its turn even when the conversation cannot be marked Marking the conversation for the engine to read again runs before the replay's reply and turn.completed; when it threw (bots.json not writable) neither was published and the turn stayed open. The mark is now caught and logged, still before the terminal events. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(saved-steps): journal only requests that began with the person's own line A turn a peer handed on keeps the person's work origin, so journals() recorded its computer calls although such a request can never save. The request owner now notes when the request began with the person's own line (a continuation, such as a select_computer hand-off, inherits it), and the mount journals only then. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(saved-steps): toggles are known by role only; cite the shipped driver's type_text The spec and the verification recipe say that a checkmarked menu item or a toggle that reports itself as AXButton still saves its click. The spec's type_text paragraph and the code note cite the shipped cua-driver 0.28.2 binary: type_text inserts at the selection via AXSetAttribute(kAXSelectedText), and set_value replaces a value. The spec also says which requests journal after the peer-origin fix, and the recipe records the second fixture run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(saved-steps): the fixture passes after the origin/main merge Re-ran the eight rounds at f25286f8d: 34/34 checks, 40 driver calls, 5 engine prompts, and round 5's prompt carries the replayed turn once. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(saved-steps): the switch shows only where saved steps can run Saved steps runs only on a Mac, yet its Settings switch showed on Windows and on Cloud homes, where it did nothing. The server now says whether it can run them (features.savedStepsHere) and the row hides otherwise. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(saved-steps): config features carry savedStepsHere, true on a Mac only Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(saved-steps): never save a final action or a secret, and never type over someone's text - Steps that press a final, can't-undo action are never saved, so that request always goes to the AI: a click or key press on an element whose label, an ancestor's label or the window's title names one (send, delete, buy, pay, post, submit, place an order, transfer, publish and their like, in all 15 languages the app ships), a pop-up choice or a link that names one, Delete or Backspace, command- or control-Return, and Return into a window that shows a final action or was never read whole. - No step on a secret field is saved (a secure text field, or one labelled password, PIN, code or card number), and approvals, items and replies name keys pressed but never the text typed. - A launch's creates_new_application_instance is left out, so a repeat no longer opens a second copy that the next step finds twice. - Steps save only when the same words would repeat them (Full access, a place the person picked, the steps' tools selected), so nothing waits unseen with no Forget. - A repeat types only into an empty field or one already holding that text; otherwise it stops and the AI takes over. Typing saves only where the driver reported what the field held. - The switch leaves Simple General (Advanced keeps it, and features.savedSteps in config.json stays the off switch); Forget shows only to the owner and admins, who alone may call it. - The store's 0600 check is skipped on Windows, which has no such mode. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(saved-steps): check the screen words cover every shipped language beside the locale tests The coverage check reads the shipped languages, so it lives with the locale tests that CI runs whenever a catalog changes. The word module itself names no catalog, so the tests that import it are not locale tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(saved-steps): Korean screen words, and plain words in the replies and errors - Korean, now a shipped language, gets its final-action words (send, delete, buy, pay, post, submit, order, transfer, publish and their like) and its secret-field labels; "확인" (OK) stays out. - A replayed reply reads "Done. I repeated 2 saved steps: …" with no em dash, and a declined step says "I stopped the saved steps because a step on “Document” in TextEdit was declined. Nothing after it ran." without a tool name. - The switch's and Forget's errors say what to do next: "Couldn't change this setting. Try again." and "Couldn't forget these steps. Try again." Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: milind-soni <milindsoni201@gmail.com>MCP servers built on rmcp/schemars write "format": "uint", "uint8", "int", "uint128", "float" and friends on numeric fields. The strict Ajv compiler only knew uint32/uint64, so one such field made the tool schema fail to compile and the whole server was skipped for the turn ("MCP tool schema could not be validated"). Register int, int8/16/32/64/128, uint and uint8/16/32/64/128 with a range check; the 64- and 128-bit ones and int/uint are capped at the JS safe integer, since a larger value has already been rounded by JSON.parse. float and double already come from ajv-formats. An unknown format is still refused. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>* Agents tools: every turn of a conversation is listed the same tools Providers cache a prompt from its start, tool definitions first, so a tool that came or went between two turns of one conversation re-billed the whole conversation at the uncached price: Claude subscription quota, and real money for API-key engines. A turn that may not use a listed tool is now told why when it calls it, instead of not being shown it. - select_computer is listed in every direct chat whose bot may pick where it works (Works on is not Off, no team computer of its own), not only on a person's own message. A routine, webhook, hand-off or continuation calling it is refused with the reason ("Picking a computer works only on a person's own message. This turn is a routine run, so carry on with the computer already in use."), and its inspect answer says why too. - In a room the skill tools follow the skill-authoring setting on every turn, as in a direct chat; a turn other than the first answer to a person's message is refused with the reason. The room's learn line follows the tools. - The agents server's switches are built from the conversation alone; a turn's own grants ride its bearer. - Claude loads the browser's tools up front only where the browser is the place a person chose (Works on, or their own pin), so the turn that pins the browser on its own no longer changes the next turn's tool list. - The USB phone server is mounted on every turn an engine can mount it, not only on turns whose words mention a phone; the words now pick only the phone skill's instructions. Cloud homes and hosted workspaces, which have no USB, never mount it. - A room decides the tool bridge after the engine's start-up read, as a direct turn does, so its first turn after a start is listed like the rest. - A failed read of the connected services keeps the last answer, so a network blip no longer reshapes the connected-apps bridge's list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Tests: a conversation's engine stays warm between its turns With the tool list fixed for a conversation, its engine process is no longer relaunched between turns just because a per-turn switch flipped. Three tests had leaned on that relaunch: - openai-compat-vm: the continuation after a computer pick is now listed the agents tools its request was, select_computer included. - cloud-team-browser: the fake engine reads its scripted calls each turn, as cloud-team-connections already does, instead of once at launch. - direct-screen-settlement: the queued follow-up's reply may lead with the instructions that changed since the warm session started. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Tests: the team browser's fake engine reads its launch files on the first turn A warm engine's later turns cannot read the MCP config: the Claude driver removes it from disk once the first turn settles. The fake engine read it only on its first tool call, which in this test comes on a later turn of Ada's warm conversation, so on Linux it found no browser server. The dump makes it read the launch files on the first turn, as cloud-team-connections already does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>Bot rows in the sidebar can now be dragged, in Simple and Advanced: a line shows where a bot lands and the order is saved through PUT /api/bots/order, so every client shows it. Dropping a bot on the middle of a bot outside any department starts a department with both, named in place in its heading ("New department", selected; Enter keeps it, Escape puts the bots back). A department's heading or the gaps between its rows take a bot in, and the rows outside any department take it out; with every bot in a department, a "Remove from department" place shows while one is dragged. Alt+Up/Down moves the focused row and announces its position. Simple's bot menu gets a "Move to department" flyout with the departments, "New department…" and "Remove from department". Simple renames a department in its heading and its delete confirmation says the bots stay, outside any department; Advanced keeps its dialog and copy. Nothing changes on screen until someone drags or makes a department, and phones keep the menu only. The section order and collapse state, with their drag and Alt+Up/Down, move out of Sidebar.tsx into useSidebarSections; the bot drag is useSidebarBotDrag, with the drop rules in src/lib/sidebar-bot-drop.ts. Sidebar.tsx goes from 1917 to 1795 lines. Moving bots between departments has one helper (bot-sections.ts) for the sidebar, its picker, the new menu and the bot panel. Three new strings, in all 15 languages. Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>* fix(team): hide bot actions a member's session cannot use and say who chooses the Chief A session without the admin scope no longer sees Duplicate, Move to department, Delete all threads, Archive or Delete on a bot's menu, and the greyed crown says only an admin can choose the Chief of Staff. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(team): offer Undo on a department memory notice only to who may review team memory Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(team): call a team's Cloud by the team's name and draw no window buttons in a browser The environment descriptor says when a Cloud home is a team's, so the sign-in page, the sidebar's place and the account menu name the team instead of My Cloud. The browser build no longer draws macOS window buttons. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(team): keep the bot's name in a narrow chat header; the audience label shrinks to its icon Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(team): name each teammate's MausBot for its person in pickers and on the team map Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(team): the Apps panel gives a member's session the role as the reason and stops loading A 403 from the connected-apps or catalog route no longer reads as an unreadable credential store, and a failed catalog no longer leaves Loading catalog spinning. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(team-cloud): an Admin-signed pairing at a new role ends the old role's sessions A Team Cloud kept a demoted Admin's sessions and phones at admin scope until their hour ran out. Each Admin-signed pairing now ends that member's sessions, phones and waiting codes at any other role first, and the Admin signs one as soon as the Owner changes a role. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(team): show a member's session why instead of admin controls, and stop asking routes it may not use Settings' AI accounts and keys, the bots' computers, usage, import and backups say only an admin can change them; the team map's Add menu and Create department are left out. Once a route answers that the session lacks the admin scope, the instances lane, the live call lookup, the limits poll and the connected-apps read stop asking it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(team): each person opens, edits and deletes what a bot remembers about them On a Team Cloud /api/bots/:id/memory/mine and /memory/mine/file reach the signed-in person's own layer of a bot's memory, from any session and nobody else's. The bot panel's What it remembers reads and changes those notes, topic files included, so a member no longer sees Nothing yet or a read error. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(team): a group chat's unread mark is each person's own on a Team Cloud Each person's read line in each room is kept apart (room-reads.json). The room list, the room's frames and POST /api/groups/:id/read answer the room as that person has read it, so one person opening a room no longer clears a bot's reply for everyone else. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(team): About me on a Team Cloud saves to the person's own profile Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(team): type the panel's memory notes and the new tests Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(team): a bot's main chat is never another person's private chat, and a missing one never blanks the app On a Team Cloud the main chat named to a viewer falls back to a team conversation they read when the server's choice is someone else's private chat; that id is no longer sent. The chat view no longer crashes on a bot without a conversation, and a bot added without a transcript starts with an empty one. Fixes T-04. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(team): a teammate's line is theirs, and a member's own MausBot is not labelled as everyone's In a shared chat another person's message keeps their name and no longer wears the viewer's bubble colour or offers Edit. A member's own MausBot chat says it is their own helper that other members can't see, instead of "Shared · everyone in <team> can see". Fixes T-03, T-18. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(chat): a send whose answer was lost is reconciled before it is called failed When the request for a send fails without an answer from the server, it is sent again with the same sendId (the server never delivers it twice) until the server answers or refuses, or the message arrives on the live stream. A delivered message no longer comes back to the composer with "Couldn't reach OpenMausBot". Fixes T-22. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(chat): New conversation makes one conversation per action A double or triple click no longer makes two or three empty conversations: a bot's new conversation is made once while its request is in flight. Fixes T-33. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(chat): single line breaks in a reply show as line breaks Markdown soft line breaks in chat replies render as <br> instead of joining the lines into one paragraph; code keeps its own newlines. Fixes T-35. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(bot): an Instructions edit is saved before the page reloads Done sends the pending edit at once, and leaving or reloading the page sends every edit still waiting out its pause, as a keepalive request the browser lets finish. Fixes T-37. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(chat): say the turn stopped after Stop ended it before any answer When the person's Stop reached a turn and no answer or stopped row followed their message, the chat shows "You stopped this." instead of leaving the message with nothing under it. Fixes T-34. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(app): say so when the live stream is down After a few seconds without the live stream the app shows "Reconnecting…", and "You're offline" at once when the device goes offline, until the stream is back. Fixes T-24. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(app): show a signed-out page when the session ends When the server refuses a request (401/403) and no longer knows this device, the app replaces itself with the pairing page saying the session ended, instead of a raw "forbidden: …" banner over chats that look signed in. A reload in that tab says the same. Fixes T-23. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Delete a departing member's own MausBot, sent files and unsent uploads When a member leaves or is removed from a Team Cloud, their own MausBot is deleted with its chats and notes and counted in the departure record (bots, chats). Leave cleanup now finds sent documents referenced by their full attachments/ path, and deletes every file the member uploaded that nothing uses. A file taken off a message before sending is deleted at once through DELETE /api/attachments/<name>, by its uploader only and only while no message or bot picture uses it. Fixes T-02, T-31, T-53. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Refuse a team member's bot look changes and webhook list On a Team Cloud a User's session may no longer change a team bot's colour, mascot or picture, which everyone sees; their own MausBot's look they still change. GET /api/webhooks, which shows the internal webhook address, now needs the admin scope like the other webhook routes; the app shows no webhooks when it is refused. Fixes T-15, T-40. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Record team bot profile changes; keep a team's main chat out of "private" On a Team Cloud the admin activity now records a team bot's name, title, description, instructions and colour changes, from PATCH /api/bots/:id and PATCH /api/bots/:id/profile. The recent-work brief calls a conversation private there only when it is one person's alone, so a bot's shared main chat no longer shows as "a private chat with you" in a room. Fixes T-47 (server part), T-52 (recent-work part). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Time out slow request bodies on a Team Cloud; validate names and text A Team Cloud now ends a request whose body has not all arrived within 55 seconds (plus time in proportion to a large upload's size) with a 408, as the Cloud does; requests without a body, such as event streams and long polls, are never timed. Room names refuse a null byte or line break as bot names do, message text must be a string without a null byte, and POST /api/bots answers a bad field with one plain sentence instead of the raw validation issues. Fixes T-25, T-29, T-21. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Keep the webhook list a client route; own-helper label shrinks too The webhook list is secret-free and narrowed to the bots a member sees (bot-visibility.e2e). The internal address seen in testing came from a Team Cloud started without OMB_WEBHOOK_PUBLIC_URL, which cloud-home-start always sets. The own-helper chat label uses the same narrow-header layout as the shared and private ones. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(team-cloud): a member reads the webhook list; creating one stays an admin's Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(app): a member's first load opens bots the server sent without a transcript The server leaves a bot's transcript out when its last conversation isn't the viewer's (bot-visibility.ts); hydrate kept those bots as sent, so a new member's first open crashed in transcriptLookups ("is not iterable") and the page went blank. Completes T-04. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(team-cloud): webhook list shows the public address; colour change is a real change A Team Cloud started as cloud-home-start starts it lists webhooks with its public address, never the loopback listener (T-40). The activity test now changes the bot to a colour it doesn't already have: new bots get a random starter colour, so "blue" sometimes changed nothing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor: simplify Team plan fixes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: code review findings on Team plan fixes (server) - Every room response on a Team Cloud carries the caller's own read state; PATCH {unread} sets or clears that person's read line. - A room's unread counts only bot replies; a read line off the active path reads up to the last message at or before it. - A person's room read goes to their own streams only; per-person room frames are built once per person per broadcast. - Room read lines are forgotten with the room and with a departing member. - A departing member's MausBot is stopped before deletion; failures are reported (botsKept) and logged. - revokeMember without a role ends every session of that member again. - The Team bot audit records an instructions digest, not their text. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: code review findings on Team plan fixes (app) - A New conversation click that arrives while one is being made gets the same outcome through its own callbacks; one for another folder waits and then runs. - Bot saves use keepalive only when the page is going away. - A 403 for a missing admin scope no longer starts a session check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Team plan fixes fit the size-pinned files: their new code moves into modules server/index.ts, src/state/store.tsx, ChatView.tsx, Composer.tsx and PluginsPanel.tsx had grown past the sizes scripts/testing/ file-size-ratchet.test.ts lists for them (the ratchet already failed on this branch before main was merged in). Nothing changes in behaviour. The branch's own additions move into modules with explicit deps: - Each person's view of a room (their unread mark and read line, their own group frames, Mark read/unread for them) is createPersonRooms in server/host/room-reads.ts. - Stopping and deleting a leaving member's own MausBot is server/host/member-own-bot.ts. - Who uploaded a file, for the thread routes, is uploadsFor in server/host/member-uploads.ts. - New conversation making one conversation per action is src/state/new-task-once.ts, and saving waiting edits as the page is left (with its keepalive size check) is in src/state/bot-patch-queue.ts. Unchanged code moves out as it is: roomRoutingInput to server/host/room-routing-input.ts, liveCallFromFrame and nextLiveCallLookup to src/state/live-call.ts (store.tsx still exports them), and AppsSection, PhonePlus and DaySeparator to their own files. Each pinned file is now at or under its listed size: index.ts 15816 (15818), store.tsx 3379 (3388), ChatView.tsx 1309 (1313), Composer.tsx 1011 (1020), PluginsPanel.tsx 1006 (1028). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * A request whose body stops arriving: the 408 says to check the connection and try again Main's plain-words pass (#3865) has every error say what happened and what to do next. The 408 this branch adds for a body that never finishes said only "The request took too long."; it now adds "Check the connection and try again." Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * The Apps grid test reads the grid where it now lives, AppsSection.tsx AppsSection moved out of PluginsPanel.tsx (the size pin), so the check that the Apps grid reflows inside the pop-up reads its classes from AppsSection.tsx. The @container it answers to stays in PluginsPanel.tsx, and the test still reads it there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: milind-soni <milindsoni201@gmail.com>On a Team Cloud an app or MCP server each person connects worked only on the person's own message in their own private chat. Work that message handed on to other bots, and the person's own lines in a group chat, were refused, so people re-asked in new chats. - A turn now acts for the person whose own words provably began its work: their own line (one-on-one or in a group chat), or work handed on by a turn that acted for them. The harness records whom handed-on work acts for as it is handed on, so a restart keeps it. - A turn stops acting for anyone once another person's words join it (a line sent into it, a queued line run with it, their answer to one of its cards). It never acts for anyone in another member's private chat. Routines and webhooks act for nobody. - A step that uses a person's own app or server says whose ("using Ada's Gmail"). - A refusal says why in plain words and gives the fix: connect yours (a link), ask yourself, or an admin connects it for the whole team. Bots are told not to work around a refused connection with the browser or another tool. - A person's MCP server that isn't mounted is named to the bot with the reason and fix. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>10af83e74into PR #3577 b1a55d03c510af83e74into PR #3574 e5d058233810af83e74into PR #3843 04a9e02e2a10af83e74into PR #3840 0f5aae061910af83e74into PR #3839 a4ea31745410af83e74into PR #3837 de0040c01d10af83e74into PR #3835 1e90e8ea3a10af83e74into PR #3833 02c8432ec810af83e74into PR #3838 3b36f4a78310af83e74into PR #3832 bbc1dde95a10af83e74into PR #3828 aa6dbdabf110af83e74into PR #3825 e3522734e010af83e74into PR #3573 e18cdbde7a10af83e74into PR #3572 318e45b3d510af83e74into PR #3570 5378d0e81210af83e74into PR #3569 2693807e7b10af83e74into PR #3566 42b614460c10af83e74into PR #3565 1d04c8f23010af83e74into PR #2944 1f5f87e9707fb1f79b1into sharing pause fix 1000cf2492- Everything a bot runs starts first in the kernel's line when memory runs out (oom_score_adj 1000): its engine and tools as before, and now its browser (agent-browser, its daemon and Chrome) and the helper engines; the root supervisor is -1000. - A turn stopped for memory ends with one plain line ("Ran out of room, so I closed the browser to keep everything else running."), and a run no Chief retries starts once more by itself when there is room. - The health report carries the day's memory pressure (`room`): waits and their time, stops, kernel kills, stalled minutes. - The room card, where the usage meter's card is: the Admin's offer (the plan that fixes it, its price) with Upgrade through the usual preview and confirmation and Not now, a tip on the top plan, Restart now after the upgrade; never mid-turn. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>de5bfe83finto fix/pages-stop-aborts-upload 8596c10b2aA Team trial's owner signed out of every AI and removed every connection. The sign-out request itself moved every bot onto the trial's Claude credit; their daily routine kept running on it, failed on a tool call with no clear reason, and messaged a person who had left. The incident was filed as "unknown". - The trial credit takes bots by itself only for someone who never had an AI of their own signed in on that Cloud (providers/trial-credit/own.json, which never travels in a backup or a move). Once they had one, signing out of the last engine, a removed key or a lapsed sign-in leaves every bot where it is, so a message to one says to sign in again. A bot can still be put on the credit by hand. - Routines wait while the owner has left (server/routine-holds.ts, server/host/routine-holds-host.ts), on a Cloud home: no AI of theirs can run any more, they removed their last MCP server or connected app, or the plan was cancelled (a new signed POST /api/cloud/plan for the Admin). Every routine that is on turns off with a note saying why, its queued runs are cancelled, and the owner's Chief gets one quiet line; nothing else is sent. When the cause ends they turn back on from now, without the runs they skipped. Turning a routine on or off by hand clears the stamp. - A chat-engine turn that stops on a failed tool call names the call ("Stopped because the tool call "X" failed") instead of "One or more tool operations failed". The quota switch never reads such a stop as the AI's usage limit. - tool_error is a health stop code, so such an incident is no longer "unknown". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>9368f25b8into fix/routine-browser-state 44c87646df9368f25b8into fix/pages-stop-aborts-upload 3dc967ce94* ci(windows): start computer control as the installed app does and lend it A Windows smoke that runs electron/cua.mjs's packaged branch unchanged, in Electron's main process, then takes a Cloud's first look at the PC through the lend path (computer_tools, get_screen_size, list_apps). It reports the driver's mode and whether apps and screen would be lent, and sends no input. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * ci(windows): settle each answer with a statement in the lend smoke Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(windows): lend a PC's apps and screen, say plainly when it can't, and let a Cloud's bot ask to turn it on Computer control on Windows starts once, at launch. When it didn't (a helper Windows Security stopped, or a slow first start), nothing tried again, nothing was recorded (the driver's error carried only its kind, and console output is lost in the packaged app), the app showed nothing and reported Windows as unsupported, and a Cloud's bot was told to have the person "check computer control", which no Windows screen offers, then offered its own cloud computer. - Computer control keeps the reason Windows gave and logs every change to the app's log. On Windows a start that failed for a passing reason is tried again by itself, twice; a blocked or missing helper waits for the person. - The taskbar or menu-bar icon says what the Clouds can't use and why, with the one fix ("Screen control isn't running on this PC", Start screen control). The Computer panel on a PC says the same with a Start button. - A Cloud's bot that needs the person's computer and can't use it calls ask_for_computer: one card with what it wants and why, the reason, and a one-tap Turn on (resume, start screen control, ask macOS, or run commands after the computer's own confirmation), or Get MausBot when the app there is closed, missing or too old. The app on that computer, paused or not, hears the ask and shows its own prompt once, one at a time; the first answer wins. Once the computer lends what was needed the bot's waiting call returns, or its request goes on by itself. Only on the person's own Cloud. - Every "not available" answer a bot gets there points it at the card, and the Cloud prompt says never to switch to its cloud computer unless asked. - The person can keep writing while a Turn on card waits. - CI's Windows CUA job runs for changes to the modules it starts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(lending): a neutral computer name in the ask tests Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(lending): the help names the PC's screen-control status and the Turn on card, in the app's words Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(windows): the lent screen's driver gets Windows' own folders cua-driver 0.28.2 keeps its settings, history and cursor themes under LOCALAPPDATA and APPDATA; the lend path started its proxy without them. They hold no secret, and the app's keys still never reach it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * ci(windows): the lend smoke reports the lending decision the app makes, with why and the fix Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * ci(windows): on a pull request the lend smoke runs the base branch first, so one run shows the change Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(lending): screenshots of the PC's status and the Turn on card, light and dark Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(lending): the ask's internal route answers from its own module, so server/index.ts gains no route Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Windows Defender check: build the real installer, install it like a download, and report what Windows Security does A hand-run job on a fresh GitHub Windows machine (workflow_dispatch, or the "defender-check" label on a pull request while the workflow isn't on main): builds the NSIS installer the way the release's Windows job does, turns Defender's protection on the way a home PC has it (GitHub's image turns most of it off and excludes every drive), saves the installer to Downloads with a browser's Zone.Identifier (ZoneId=3), scans it, installs it silently (first the way a double-click starts it), opens the app for two minutes and presses Start screen control through the app's DevTools port. The summary and the defender-check artifact say what the machine allowed, Defender's detections and Operational events 1116, 1117, 1006-1008 and 1015, whether cua-driver-background.exe runs, the app log's computer-control lines and whether Start screen control worked. The run fails when Windows Security flagged the app or screen control doesn't run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Windows Defender check: show what holds a downloaded installer, and check Defender's cloud When the double-click start of the downloaded installer is still waiting after 30 s with no installer running, the check records the windows on screen, whether SmartScreen runs and a screenshot, then stops waiting instead of sitting out five minutes. It also records Defender's cloud connection (MpCmdRun -ValidateMapsConnection), the signatures' age, what GitHub's passive-mode policy means on a machine Defender reports in Normal mode, and a screenshot of the app after two minutes. A workflow test keeps the check's build step for step the same as the release's Windows job. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Windows lend smoke: read electron-builder.yml the same with CRLF line endings git checks electron-builder.yml out with CRLF on a Windows runner, so the smoke found none of the CUA resources it places and stopped before starting anything (the first CI run that reached the Windows CUA job). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* Team bots: a level per person (view, chat, edit), shared from each bot A team bot is now shared like a document: what everyone in the team gets (Only people added, or Everyone at Can view, Can chat or Can edit) and a level for each person added. Admins and the bot's owner always edit. - The bot's Share button (bot panel in Simple, settings header in Advanced) opens a Share dialog on a team: people with access with their level, adding teammates by name or email, general access; every change applies at once with an Undo toast. - The server enforces it on every member request after the visibility gate: reads need Can view, writes Can chat (a room needs it on every bot), sharing and a bot's own setup Can edit; a routine needs Can edit unless its writer changes it; a card that changes the bot needs Can edit; a message another app relays needs the named person to chat. - Each copy of a bot carries the viewer's own level; the sharing only on an editor's. The live stream follows a change. - Bots set up before levels keep exactly what their visibility gave (everyone: Everyone, Can chat; admins only: Only people added; a list: those people, Can chat), read from it with nothing rewritten. - A person who can only view sees that in place of the composer, opens the bot's main chat, and is offered no new conversation. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * Team bot access: before and after pictures Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * Share dialog test: a whole bot Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix(context): the unseen-messages block ends before the person's message When a resumed session has missed messages, the turn's prompt lists them in a block and then gives the person's new message after one blank line, with nothing saying the block is over. In a Team trial the person's next request, written right after a co-founder's relayed reply, was credited to the co-founder. The block now ends with "[End of those messages. Now reply to the user's latest message:]" before the turn's own text, as the full replay already ends its history with "[Now reply to the user's latest message:]". The wording differs from the replay's, so nothing that looks for the replay's end mistakes this block for replayed history. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * The owner is never told to ask an admin: connection lines know the person's role On a Team Cloud, a member's own bridge that asked for a team app's connection card got "ask an admin to connect it", whatever the person's role. The owner was told to ask an admin, and a bot named a teammate who wasn't one as the admin. - For the Owner or an Admin, the bot asks for the card through the team's composio bridge, whose card lets them connect the app for the whole team in one tap. - A User is told who can connect it, by name: the team's Owner and Admins from the roster the Admin paired here. - "Connect your <app> here" links go where each person's own connections are: the team's Apps page for the Owner and Admins, a User's team home otherwise. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(research): offer the research tools only where research works A Cloud home always holds the plan's X relay token, so every bot was offered research_search, research_endpoint and research_call. On a plan whose relay has research off, each call then answered only "Research isn't available right now." - The home asks the relay once, at start, with a search that names no job: the relay answers that with a 400 only once the token, the plan and research are all fine, before it reads its catalog or spends anything. An off answer (402, 404, 401, or 503 service_unavailable) hides the three research tools; x_search stays, since X works without research. It asks again an hour after an off answer, and a research call the relay refuses as off hides them at once. - The person's own treg key goes straight to treg: research is on. - A refusal because research is off now says what to do: tell the person and offer another way (web search or the browser); their own treg key turns research on. - The agents server gets a switch of its own for the research tools (OMB_RESEARCH) beside the X one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(chat): a person's message never waits behind a long tool call A message the person sends their bot while it works is steered into the running turn, and an engine reads it only once the tool call it is in returns. A bot polling CI with `sleep 30` loops kept a person's message unread for 26 minutes and never said the PR it had made existed. - Mechanism: when the person's own one-to-one message waits unread while a tool call has run for a minute (at once if the call had already run that long), the server stops the turn, with a row saying so, and the message runs next, ahead of anything else queued in that chat. Its row is run as is (the follow-up queue can now take a row already in the transcript), and the model is told which step was stopped. Messages from rooms, routines, teammates and apps never do this, nor does one sent while the turn waits on the person or a computer. The wait is OMB_PERSON_FIRST_MS for tests. - Prompt: never wait inside a command for CI, a deploy or another job; check once, say what you made (with links), set wait_until or a one-time trigger to check back, and end the turn; answer the person first. Stopping and re-running works for every engine, and so does every engine's Stop. No engine reads a steered message during a tool call, some cannot steer at all, and Claude's own "send now" depends on moving the tool to the background, which bots run without. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(chat): the person's re-run keeps its place and goes ahead of a teammate's The re-run of a steered message that a long tool call kept unread is now queued by the time the person sent it, ahead of everything but their own earlier messages, and a message of theirs that has to wait in the queue goes ahead of a teammate's or a routine's too. Before, the re-run took the time it was queued again, so on a slow runner it no longer joined the person's next message as one turn. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(connectors): app tool calls fit their schema, and a refusal says how to call again Composio checks a call's arguments against the tool's schema and refuses the whole call over one. In a Team trial five calls failed that way: COMPOSIO_SEARCH_TOOLS sent { job } (Required at "queries"), COMPOSIO_REMOTE_WORKBENCH sent code for code_to_execute and a timeout as text, and COMPOSIO_MULTI_EXECUTE_TOOL sent its tools list as text. After the search failed, the bot told the person it had no image tool, though an image app was connected. - The connector bridge keeps each listed tool's schema and fits a call to it where the bot plainly meant that shape: arguments or a list written as text, a number or yes/no written as text, a bare string or strings where a list of one-field objects goes, and one missing required field under another name when exactly one sent field can be it. The bot is told how its arguments were read, so it sends that shape next time. Anything not plainly meant still reaches the tool. - A call still refused over its arguments now says how to call again, with a minimal example from the schema (or to read the schema with COMPOSIO_GET_TOOL_SCHEMAS for an app tool), that this says nothing about which apps or tools exist, and which connected apps this bot can use. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Give main's bot-patch route tests the access level the route now asks for Two tests that came with main (vpsAlias relocation guard, phoneApps) built the route without `levelOf`, so they threw "deps.levelOf is not a function". They now answer "chat", a member's level that still may not move a bot or change what it may do; both refusals hold as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(claude): a bot's hooks fire from inside the bot box The hook helper Claude Code runs for each hook reads the turn's bearer from a file in the data folder, which the bot box replaces with an empty folder. On every Cloud home the helper found no token and quietly did nothing: no hint for a timed-out command, no work summaries, no context at session start. - The token lives in a folder of its own per conversation (hook-tokens/<digest>/token), and the box puts that folder back read-only: only that conversation's token, never the data folder or another conversation's token. The folder, not the file, so the box sees each turn's new token after it is renamed over the old one. Tests: a Claude turn under a stand-in box that hides the token unless a mount line puts it back fires its PostToolUse and Stop hooks with the turn's bearer, and the box shows only that conversation's token folder, read-only. It fails with the bind removed (no hook fires), with the file bound instead of its folder, and with the old shared folder (another conversation's token shows). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * MCP Settings Test reaches a server the way bots do, through the credential broker Where bots' turns are boxed, a turn's engine reaches a URL MCP server through the credential broker, which adds the server's headers and forwards. The Settings Test connected directly, so a server behind Cloudflare Access tested "Connected" while every bot failed (the broker added a slash to the server's address). - The Test now makes a grant the way a turn gets one, connects through the broker's socket, and revokes the grant when it ends. Where turns aren't boxed, bots and the Test both still go direct. - If the server fails through the broker but answers directly, the Test says "Your bots can't reach this server" with the reason and that the fault is on our side, never "Connected". - A server the broker can't reach reads as unreachable, as a direct test does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * A new MCP server saved switched off says so, its switch can't flip it straight back, and a server that failed at engine start reconnects - A new or edited server whose first test fails reads "Saved, but off: the test failed", with the reason and that bots can use it once it's on. While that test runs, the row says it's off until it passes. - A passing test after a save switches the server on by itself. A click on its switch in the next moment was aimed at the Off the person saw, so it keeps the server on ("it passed its test a moment ago") instead of switching it straight back off, which looked like a one-second on/off. - Where bots reach URL servers through the credential broker, a server the engine reported as failed when it started gets the conversation a new grant on its next turn, so the engine starts again and reconnects. The chat says the server didn't connect and that it connects again on the next message, so bots no longer need to ask for a new chat. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Renderer smoke: a saved server whose first test fails reads "Saved, but off" Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Keep the reconnect import on its own line, apart from other open changes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * A connected app comes before any browser or screen, and a refused one is reported with its fix Bots were told to do web work on the person's own computer in this order: the built-in browser, a cloud computer, then a connected app. A connected app does a task more cheaply and surely than any screen, and one that is refused or broken is the person's to fix. - The order now starts with a connected app that does the task. - Wherever a browser or a screen is mounted (a Cloud home too), bots are told to use a connected app first, and when it is refused or fails, to say so in one plain line with what fixes it and ask before doing the task on a screen instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Bug reports: the reporter sees their @devs report's status, and is told once when the fix runs here - The person's @devs message shows its report's status in the app's language: "Bug report sent · Got it, we're looking", then "Fixed in 0.1.x, coming in your next update", then "Fixed in 0.1.x" (bugReport on the message; all 17 language packs). - The server follows each report it sent (devs-reports.json) and asks the MausBot team about the open ones a minute after each start and hourly: POST /api/bug-reports/status at the address reports go to, the same way on the desktop and on a Cloud, which signs its question with its bootstrap secret. Nothing ever has to reach this server, or wake a sleeping Cloud. - Once it runs the fix's release (versionAtLeast: never on a guess) and the answer allows it (never a former customer's Cloud, never a teammate who left), one line in the chat they reported in, "Fixed in 0.1.x. Want to try again?", one notification (on a Team Cloud only to the reporter), and a one-time note on the bot's next turn there. Once per report, across restarts. - OMB_DEVS_STATUS_MS sets the interval for fixtures (control-omb passes it). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Just do it never interrupts the person, and questions never go stale At Full access ("Just do it") a question from work a bot handed on goes to the bot that handed it on, which answers it from what it knows; with no answer the asker goes on with the default it named and says so in one line. Its card says who picked what and blocks nothing. Only a sign-in, a payment, a secret or the person's own account reaches the person, once, while the rest of the work moves on. An ask tool in handed-on or unwatched work is answered the same way, and the prompts say to find things out the cheapest way first and ask the person last. On "Ask me first" a question waits for the person however long they take. An answer counts from the card, the inbox, the asking bot's own chat, or passed on by another bot (coordinate_bots answers). A question whose work ended, or that a newer one replaced, closes; a sign-in wait in handed-on work settles from the person's line, an answer passed on, or the bot going on with the site; a restart posts nothing again. Rooms and a bot's own chat get the same tap cards, and prompts name Claude's question tool as mcp__ogb__ask_user. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Just do it decides only in work the person or their routine started A question in work a webhook or another outside event started still goes to the person at Full access, as an ask tool there does: its brief is not the person's authority, and the question is their check on it. The Just do it line stays out of those turns' prompts too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Keep steering and late answers in the person's own chat as they were A line the person types in their own chat while a question card waits is still steered into the turn or queued, as an engine that can steer expects; only in work a teammate handed on does it answer the card. A question its turn left open keeps waiting for a late answer after other lines. Two peer-question notification tests now run on "Ask me first", where a teammate's question is still the person's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Warm summaries: a long conversation is summarized while it sits idle, so the next answer starts fast On a Team trial every first answer slower than 35 s (35 to 58 s) was Claude Code compacting a conversation of about 162k tokens at the start of the person's turn, warm cache or not: writing the summary is what takes the time. Both kinds of compaction ran only when the next turn started, on the person's time. - After a turn that leaves a direct conversation at 100k tokens or more, its summary is written about 3 minutes later, while the prompt cache is still warm; from 80% of Claude Code's own compaction point (160k of 200k) it starts after about 10 s, because the next turn would summarize anyway. - Claude Code: its own /compact, with instructions to keep the person's latest requests and every open question, on a persisted fork of the session (--resume S --fork-session) launched with the live process's exact contract, as the keep-warm ping is, so it reads the cached prompt start and keeps the conversation's tool list. The conversation moves to the fork only when no turn began meanwhile; its last two exchanges count as not yet seen, so the next turn carries them word for word on the existing, saved "not seen yet" path. The chat shows one line for it. - Other engines: OpenMausBot's own fold runs while idle once the conversation is close to its threshold, instead of at the next turn. - Skipped while work is due (a queued message, a teammate working on this conversation's request, a fired wait, the spend limit); retried while the bot is busy, memory is short or a routine of the bot is due, until the cache would be cold. A turn that starts meanwhile wins, unless it would summarize at its start anyway: then it waits for the summary already being written instead of a second. - The app's presence ping names the open chat: opening a conversation starts an overdue summary at once and keeps its engine process alive while the person is there. - Off with context.autoCompact: false, or OMB_WARM_SUMMARY=0 for this alone. The fake Claude Code gains a growing context, its own compaction at a threshold with a duration, and /compact on a fork. On a long fake conversation whose CLI compaction takes 6 s, the next reply took 6.2 s before and 0.3 s after; one sent while the needed summary was being written took 5.4 s (the rest of it, not a second one); one sent during a summary it did not need, under 0.5 s. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * People before bots: a shared @name reaches the person, a bot named like a person is warned, deleting a Chief offers Archive On a Team trial a person's "@<teammate>" reached a bot that had the teammate's name, because a tie went to the bot. Then the person deleted their Chief to fix it, and lost its whole setup chat. - A tag a person and a bot share is the person's: "@Bob" reaches the teammate Bob (or means the writer, for their own name), and only a longer bot name ("@Bob Bot") reaches a bot. The teammate's inbox gets it, the turn no longer tells the bot it was named, and the composer highlights it as the person (shared/person-mention.ts, src/lib/mentions.ts). - A bot made or renamed with a person's name (a teammate's, or the owner's own) says so once in its own chat, and the Chief's create_bot result carries the same warning (server/host/bot-name-clash.ts). Nothing is refused. - Deleting a Chief of Staff offers "Archive instead" first: its chats hold the team's setup. Archiving drops the Chief role, so the server accepts it, and the bot can be restored any time. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Make a server of your own your bots' home, as My Cloud is A person with bots on this computer and on their own server had two places whose bots could not work together, and bringing them together meant a backup export and import by hand. Now a server of their own offers "Make <server> my home" on its circle: one tap moves this computer's bots, chats, memory, skills, logins, apps and keys, and routines there with the same one-time move My Cloud uses (copy, quiet moment, freeze, final pass, check, switch), its "needs you / Try again" line included. This computer then stops for good, so no routine runs twice, and it works for that server by itself as it does for My Cloud: no access dialog, only the menu bar item and Pause. Only for a server that is the person's alone: an admin session where the sign-in list names no members and no other admin, never a Cloud, a team's Cloud or a hosted workspace. Such a server says so on /api/auth/session (`own`), takes the move's routes from that session, and turns lending on once a move arrived. Any other server keeps today's explicit "Share this computer?" flow. Connected apps through MausBot's service stay on this computer when the server has no such service, so the move's check still passes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Bots in two places: one plain suggestion to bring them together When this computer has bots of its own while a server of the person's own (or My Cloud they keep this computer's bots away from) has bots too, the bots in the two places can't work together. This computer's page now says so once, in a corner card: "Your bots live in two places, so they can't work together. Bring them together on <place>?" One tap starts the one-time move there (Make <server> my home, or letting this computer's bots move to My Cloud), and Not now is remembered for that place. Main reads each place's own move summary, so only bots a move would carry count and a place's untouched first bot never makes two places. A server is asked only while it says it is the person's alone, a sleeping Cloud never, a team's Cloud or a server others sign in to never. Nothing shows while a move is under way, during the welcome or the tour, or on any page but this computer's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Bots say where another bot lives, and how to bring them together A bot that asked for a teammate living in the person's other place (their computer, their own server or My Cloud) only heard that no such bot exists. The person's app now tells each of their own places the names of the bots their other places have, and nothing more (PUT /api/places/elsewhere, from that place's owner only, never a team's place or one others sign in to). With that: - coordinate_bots and bot_idle waits say "Scout lives on Work laptop, the person's computer, not here", that bots work together only within one place, and offer the one tap that brings them together ("Make Garage server my home", or Bring them together for My Cloud); a name nowhere stays no such bot; - a person's @mention of such a bot tells the answering bot where it lives, and in a room one plain line says so to the person; - before the app said anything, a name nowhere here also says that bots work together only within one place, and how to bring them together. Main tells each place only when what it would be told changed, never while a move is under way, and stops telling this computer once its bots moved. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Server lines in the person's language: the way in, a guard, and bug report lines Lines the server writes for a person (a bot's line, a status row, a card, a notification) now come from the language packs under "server." keys, in the language the person's app shows. - server/server-lines.ts: serverLine(language, key, params) reads the packs; a missing key reads in English, as the app's screens do. The server bundle keeps only the server keys (scripts/server-locale-plugin.mjs), and tsc's copies of the packs are dropped from dist-server. - server/host/person-languages.ts: the app keeps a person's language pick on their own computer, so the server learns it from presence pings (the owner's, or each member's on a Team Cloud). A line for a person reads in theirs, else in the place's: the one set on the server or by the team's Admin, else the one most people's apps show. - Bug report lines (@devs) read in the reporter's language; the marker that tells whether the bot already passed a failure on is "MausBot", which every language keeps. - src/locales/server-lines.test.ts: a guard that fails on an English line written straight into a line a person reads. It follows each place a line is made through consts, helpers and imports; ALLOWED says why text is English on purpose; PENDING lists the 242 lines written before it, by area, and only shrinks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Only the tests of other languages' lines read the packs; CI selection knows it CI's import-graph checks failed: the server now loads the language packs, and every server test reaching server-lines.ts counted as reading a translation. - server/server-lines.ts reads English only. server/server-line-packs.ts adds the other languages; server/index.ts loads it at start, and so do the tests that check a line in another language. The guard checks index.ts loads it. - scripts/ci-scope.mjs: those tests run with the locale tests. The packs stay out of SRC_OUTSIDE_RENDERER: a change to English already runs every Linux test, and one to another language runs every test that reads it, so a translation change does not run the server's checks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Runs and routines tell the person in their language A routine's line in a chat and the incident a person hears about now read in the language of the person whose conversation it is, through server/server-lines.ts. - "This run didn't finish: …" and "Recovered: … finished OK at …" (with the time in that language's clock), written into the chat a routine reports to. - The text of a routine run's card, for clients that show no cards. - The incident status row and its notification. The Chief's own incident report stays English: only a model reads it. - server/index.ts: threadLanguage(threadId), the language of a conversation's person, else the place's; no line added. - The guard's PENDING drops these 17 lines. The German tests run with the locale tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Connect prompts and sign-ins ask in the person's language When a bot needs the person to connect an app, sign in or give a key, what the server writes now reads in the language of the person whose conversation it is. - "I need you to connect …", "I need you to sign in to …" and "I need your …", which a routine writes into its chat while it waits on a card. - The connect card's text and, where the app catalog has no words of its own, its description. - The line under a sign-in card. It moves from shared/ to server/connector-card-text.ts, since shared code cannot read the packs; nothing else used it. - The credential card's text and the sentence on how the bot gets the key. - The guard's PENDING drops this area's 13 lines. The German tests run with the locale tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Notifications are titled in the person's language Every notification's title ("… has a question", "…'s routine failed", "… needs you to sign in to …") now reads in the language of the conversation's person: buildNotification asks a resolver the server sets at start (setNotificationLanguage(threadLanguage)), so no caller changes. Also the inbox's "· your assistant answered" and two bodies the server writes itself ("Results in from …", "Open OpenMausBot to sign in to …"). The guard's PENDING drops the area's 8 lines, and checks the server sets the resolver. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * A room's status rows read in its person's language What a group chat shows about its members now reads in the language of its conversation's person: waiting for a busy member and the skips, a mention that missed, archived members, still stopping, held members, no summary, a stalled turn, context compaction, and a bot's receipt in its own chat ("Posted in …", "Opened thread #…"). What a coordinating bot reads stays English. - server/server-lines.ts: isServerLine(key, text) reads a line back in any language; isHeldMemberLine uses it, and the held row keeps "resume", the word the room understands. - The sentinel counts a German stopped room turn as a timeout, and now also skips a held member's row in the shape it reads rows in (a harness notice with names taken out). The openmausbot CLI, which runs it, loads the other languages. - The guard's PENDING drops 20 room lines. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(team connections): an owner's own-connection lines are checked in her private chat and in a shared one An own bridge only works in the person's private chat now, so the "connect your apps again" check runs there; the connect lines are checked in both places, including an app call through the team's tools. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Teammates' hand-offs and results read in the person's language What a conversation shows about a teammate's work now reads in the language of that conversation's person: a hand-off going out ("Sent to …"), its result coming back ("… replied", "… — failed:", "Result withheld:"), resuming with results or a question, what came of a teammate's question or approval, what waits behind the person, recalled private chats, a closed thread, a room goal's card, "Answer passed to the waiting work", and the inbox's and team messages' rows. - server/server-lines.ts: one resolver, conversationLanguage(threadId), which the server sets at start; notifications use it too (it replaces setNotificationLanguage), so modules with no person at hand need no new wiring. - What a coordinating bot reads stays English. - The guard's PENDING drops 19 lines; the area keeps feature-flagged escalations, approval level names, the peer approval card and a goal's text after a restart. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Just do it: a question in a person's private chat stays theirs Work a person's request hands on runs in the receiving bot's chat with them when it may use their own apps, and what it hands back keeps a question's words in that chat. Its requester never sees them, so it cannot decide them, and a sign-in among them could not be told apart. Such a question now reaches the person there, as on "Ask me first": the turn result says the question stayed private, and the ask tool is not turned away in that chat. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(acting person): read the private question flag with toMatchObject The hand-back keeps its input's type, which has no privateQuestion field. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(remote sessions): a server nobody else signs in to says before pairing that it takes its owner's move Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(analytics): the two-places card's event Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(warm summary): the engine registry answers null for a missing engine registry.get returns ProviderInstance | null; the host's dependency took only undefined, which failed typecheck once the branch was checked against main. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(warm summary): its line in the chat comes from the language packs The line a warm summary leaves in the conversation is now server.warmSummary.summarized, in every pack, written in the language of the conversation's person, as the guard from #3931 asks of every line a person reads. It names no count, so it needs no plural forms. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Main's guard passes: the same-request notice in the person's language Main went red on the server-lines guard: #3957's "Another teammate asked the same a moment ago…" row landed while #3931's guard was in review, and #3948 reworded a line the guard lists. - The notice reads in the language of the conversation's person (server.teammates.sameRequest, German by hand, every pack). - PENDING follows #3948's rewording of the webhook line. - The guard's check that index.ts loads the other languages matches that import anywhere on its line (as #3960 has it), so another import may follow it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Teammates: the recall row reads in its room's language after main's discloseRecall Main moved this row into discloseRecall(bot, roomThreadId, …), where threadId is not in scope, so the merged branch failed typecheck. The row is the room's: it now asks for roomThreadId's language. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(bots explain): the one-place hint comes before the reach help, so a refusal still ends with it server/room-coordination.e2e.test.ts pins that a refusal for a name nobody has ends with the reach help (and its "Never use computer control to get around this"). The hint now sits just before it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * train: the cards a parked turn waits on move to server/host/resumable-cards.ts resumableCards is a pure read of the conversation; moving it out keeps server/index.ts under its file-size ratchet once #3930 lands with main (the fix #3930's branch made when it merged main, ported here). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * train: the MCP reconnect, bot name clash and bug-fixed lines come from the language packs #3922, #3934 and #3937 were written before main's server-lines guard, which fails on their three English lines once they meet it. Each line is now a "server." key (English and German) written with serverLine in the language of the conversation or reporter: server.mcp.reconnect.one/many (server names listed the reader's way), server.bots.nameClash (create_bot's result stays English for the model) and server.reports.fixed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * train: the bot archive/delete dialog's props move beside botConfirmCopy #3934's Archive-instead offer grew src/components/Sidebar.tsx past the size the 0.1.135 release set (1790 against 1785). botConfirmProps in ArchivedBotsPanel.tsx now builds the dialog (copy, icon, Archive instead for a Chief, confirm); the sidebar keeps the ConfirmDialog and its callbacks, and is 1774 lines. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>The clash notice read the conversation's language for every bot made, also the default bot the server makes while it starts, before what that lookup reads exists ("Cannot access 'routines' before initialization" in the store's change listener). Five e2e tests check the server log for exactly that: team-setup, chief-level-every-hop, room-recovery, team-lifecycle and full-access-workflows. The language is now read only when a person here goes by the bot's name. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* fix(settings): say the computer setup hint once When Boat or a VPS is not set up, the Computer settings cards showed the setup hint with its "Open API keys" link, then an empty list box that repeated the same thing ("No VPS is set up yet. Add its SSH alias in Settings → API keys."). Drop the empty list box in that state; the hint and link stay, and the screen-reader status still announces it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(settings): drop the comments that restate the code Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Milind Soni <46266943+milind-soni@users.noreply.github.com>* Read one bot's MCP servers by name and switch GET /api/bots/<id>/mcp-servers answers { servers: [{ name, enabled, on, offFor? }] } for every bot's servers and the bot's own, in settings order. `on` is enabled and in the bot's mcpServers list (no list: every enabled server), the rule the desktop Apps page draws. Each item is built from those four fields only, so the commands, arguments, addresses and sign-in details GET /api/mcp/servers carries never reach a phone. A missing bot is a 404. The route stays admin scope like the bot's overview, so a Team Cloud member's session is refused for any bot. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Let phones read a bot's MCP servers The companion allowlist gains GET /api/bots/<id>/mcp-servers and nothing else: writes to it, and every /api/mcp/servers route, stay closed to paired devices. The iOS companion doc gives the response. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>A bot asked with coordinate_bots reply "none" had no way to send its answer back: naming the asking thread was refused as "not a thread you opened", and from the same turn the ancestor rule refused it ("results return automatically", which is false for reply none). Allow exactly one case: a one-way notice (reply none) into the requester's thread that handed the sender work. Work, consults, other threads of the requester, rooms and reply-resume handoffs stay refused. The reply-none envelope now says how to answer back. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>omp's ACP mode sends a provider refusal such as `403 {"type":"error","error":{...}}` or `429 {...} retry-after-ms=<n>` as agent message text and ends the turn with end_turn, so MausBot saved the raw JSON as a successful reply. I now treat a reply that is only an HTTP status followed by an Anthropic- or OpenAI-style error body (optionally with omp's retry-after-ms suffix) as a failed turn. It is shown through the shared plain-words helper: a 403 reads as "<AI> stopped with an error (HTTP 403; <AI> says: ...)", and a 429 that names its wait is a usage limit that resets at that time, with limit "engine" and limitResetsAt so another AI carries on. A reply that quotes such an error among other words stays a reply. The turn-end decision moves out of core.ts into endTurn, and the Claude limit message shares the new reset-time formatter.Settings told everyone connecting to a self-hosted server to run "openmausbot pair --client". That link is chat-only, and a chat-only session cannot pass the ownership check behind "Make ... my home", so a person pairing their own server never saw it, with nothing saying why. The form now shows both links: full access ("openmausbot pair") first, for a server you own, then chat and approvals only ("pair --client"), with a line saying what a chat-only link can't do. Closes #4111On the chat (OpenAI-compatible) engine a turn whose MCP servers offered more than the 128 tools a request may carry dropped whole servers ("skipped for this turn: MCP tool count exceeds the 128-tool limit"), so the model looped looking for a tool that was gone. Now the turn lists as many whole servers as fit, in turn order after the built-ins, and puts the rest behind one tool search (mcp_search_tools / mcp_describe_tool / mcp_call_tool) whose three tools count toward the limit. Calls through it keep the bot's tool selection, schema checks and approval cards (naming the tool run, with the same grant as a direct call). The chat says in one line which servers went through the search. A configured command server's own environment now passes the bot box's allow-list (as Codex and the health check already let it), so a token such as 1Password's OP_SERVICE_ACCOUNT_TOKEN reaches the server in a boxed turn instead of the server exiting or refusing its handshake. Settings Test starts a command server the same way (in the box, from its bot's folder when it is one bot's), and its answer says when the server alone has more tools than the limit, or half of it or more. Third-party tool schemas that strict Ajv refused for keywords that assert nothing (OpenAPI's example/discriminator, x- extensions, editor hints, Effect Schema's repeated $id, draft-07 named without its #) are compiled from a copy without them, instead of dropping the whole server; every assertion is still enforced, and unknown assertions are still refused. The bot's MCP servers card in Access shows its last chat turn's tool count against the limit and the servers it found through tool search. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>* docs: design and plan for MCP servers in chat Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(mcp): one config service for settings and bots Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(mcp): keep import hooks, read body before merging, quiet panel refresh Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(mcp): rules for what a bot may change Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(mcp): stricter secret rules for bot updates and listings Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(mcp): bots add, change, test and remove MCP servers One mcp_server tool replaces add_mcp_server. A Full access bot adds a server and it is turned on and tested as the bot, in the same turn; it can also update, enable, disable, test, sign out and remove servers. A change merges onto the saved entry, and a new destination clears saved secrets and the sign-in. Turning one off and signing out apply at every level; below Full access add saves the server off and other changes ask the person to use Settings until the approval cards land. sign_in answers "Not yet" until its card exists. Each change leaves one activity line in the chat ("Added MCP server linear · Turned on · Test: needs sign-in"). On a Team Cloud only an owner or admin's turn changes the team's servers; guest-driven threads get nothing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(mcp): an import holds the config lock while it reads its body A second import, or any other writer, is refused for the whole of an import request again, so the session-revocation check sees the import mutex. The one busy flag is held across the body read through addMany(read). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(mcp): one activity line, stricter tests An mcp_server call now shows as one row: the route writes its line onto the bot's own tool row as a display label, and the chat shows that in place of the raw tool name. Update keeps the add path's folder rules, remove and test follow the policy and other-computer rules, the listing says a server on another computer is not this bot's, and the labels read "Switched off" and "Test: N tools". The update path's secret rules gain regression tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(mcp): label the right activity row Engines start every tool block of a response before running any, so two mcp_server calls in one response each found the newest open row. Each call now labels the row whose input names its action and server, in its own turn only (rooms pass the turn too); with no live turn it adds a row instead of touching an older turn's. Advanced run summaries show the label, update applies the folder rules only when the command changes, and the tool's spellings come from the bridge's prefix list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(mcp): one-tap cards when a bot isn't on Full access A bot on Ask, Edits or Auto that adds, turns on, changes or removes an MCP server now shows a card in the chat ("Turn on linear?", "Change dodo?", "Remove dodo-test?") with the address or the redacted command, the changed fields, or the other bots that use it, and Cancel as the negative option. Add saves the server off and asks to turn it on. The bot ends its turn; the person's answer applies the change through the same path Full access uses, against the server as it is then, and resumes the bot with the test result. A secretRef on a Change card is redeemed only on allow, so a late answer resumes with "The key expired". Only the owner review that guards team-setup cards may allow; on a Team Cloud that means a workspace admin. Stop closes the card, a restart resumes a turn whose card was answered, and desktop draws the card with its own title and buttons. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(mcp): keep pending changes off the wire, safer answers An MCP card now carries only what it shows. The change it stands for, the bot's fields and what the server reached, stays in the server's memory until the person answers, so no value the bot sent reaches the chat, phones or messages.json. After a restart the card expires and the bot is told to ask again. An answer applies nothing when the server's address or command changed since the card was shown, and says so. A busy config answers "Try again in a moment." and keeps the card open. An error while applying settles the card as failed and resumes the bot with the error. Failed and expired cards show their reason. A new OAuth client secret shows as its own change line. The tool description says a card below Full access means ending the turn. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(mcp): hide values under secret names on cards A Change card no longer shows a literal env or header value whose name says it is a secret (API_TOKEN, X-Api-Key, Authorization): it reads "new key for NAME", as a secretRef does. Other values still show. A new card also frees the held change of every earlier card about the same server, so one closed by Stop no longer lingers until a restart. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(mcp): sign in from the chat A bot whose MCP server needs a login now calls mcp_server sign_in and the person sees one Sign in card in the chat. The card is the connector card every client already draws, marked source "mcp", so existing iPhone and Android builds show and complete it. Tapping it starts the provider's sign-in owned by the card, so any device that can see the card follows the same sign-in and a second tap reuses it. When the sign-in finishes the card settles and the bot resumes by itself, with no status poll needed; the turn it resumes mounts the server with the new token. Not now cancels the sign-in and tells the bot the server stays on but signed out. A removed server's card says so and resumes the bot once. A phone paired to a local Mac with no public https address is told to open the chat on the Mac, and a sign-in that would need paste-back points to Settings. A shared server's card takes an admin, as Settings does; on a Team Cloud a personal server's card signs in only the person the chat is for, with their own sign-in. Members now reach the card's authorize route, and an app's card stays admin-only in the handler. The authorization URL is never written to a message or card. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(mcp): sign-in card edge cases A second tap from a browser elsewhere replaces a waiting sign-in that would come back to this computer, so the phone gets a link it can finish. A card left waiting when the server restarted goes back to Sign in when polled. Not now tapped before the bot's turn parks still tells the bot it didn't sign in once the turn parks; a card a newer one replaced is marked superseded and waits on nothing. A sign-in that would need paste-back is refused before any client is registered or port bound. Who may sign in is checked before a removed server settles the card, and a failing onSettled can no longer break a callback or escape the expiry timer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(mcp): sign-in card wording on desktop Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(mcp): an authorize refusal shows its sentence on the card An MCP card's 409 shows the server's sentence as calm status text and no sign-in link, even when the refusal carries one. A Composio card's 409 stays the card's error. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(mcp): move MCP chat wiring out of index.ts and card types out of wire.ts server/index.ts and shared/wire.ts had grown past their file-size ratchet. The mcp_server route deps, the card and Sign in services, the card answer and the Settings listing with its policy helpers now live in server/host/mcp-chat.ts behind createMcpChat(deps). index.ts builds it where the services were built before, and secretCards and mcpConfig, which are built later, are passed as getters. McpChangeRequest and ConnectorCardData move to shared/mcp-request.ts and shared/connector-card.ts, and every consumer imports them from there. server/store.ts drops a re-export of ConnectorCardData that nothing imported. No behaviour change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(mcp): a key inside a server's address never reaches the bot or a card list, the Turn on card and the Change card's address line now show a remote address as scheme, host, port and path, without userinfo, query or hash, with every key-shaped path segment (16+ URL-safe characters with a letter and a digit) shown as "…", then passed through redactSecretsInText. A Zapier-style link no longer puts its token in the model's context, messages.json or the phones. An update whose url equals that display form keeps the saved url, so a bot that sends back the address list showed it does not re-point the server at the masked address and lose its headers and sign-in. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(mcp): sign_in refuses a server that is off A turn mounts only servers that are on, so a sign-in card for one that is off ended with the bot told "Its tools are yours from this turn", which was false. sign_in now refuses with "linear is off. Call mcp_server with action enable first." at Full access, or "...enable to ask the person to turn it on." below it. The text a bot hears after the person signs in reads the server's enabled state when it resumes, so a server switched off while the card waited tells the bot it signed in, the server is off, and to call enable. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(mcp): Turn on and Remove cards survive a restart Every MCP approval card held its change in memory, so a person who answered "Turn on linear?" after relaunching OpenMausBot got "this request expired", though a Turn on or Remove card holds no bot fields. McpChangeRequest now carries targetHash, the sha256 hex of where the server reached when the person was asked. The answer-time "changed since you were asked" check compares that hash for every action, so an allow after a restart applies a Turn on or Remove through the same applyMcpChange path while the server still reaches there, and refuses when it is gone or reaches somewhere else. Only an update's fields are held in memory, and only a Change card still expires after a restart; decided() expires an open card only when its fields were lost. A deny after a restart still settles as denied. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(mcp): name the dropped OAuth client secret when the client id changes A bot update with a new oauth.clientId cleared the saved client secret without listing it in dropped, so the "these saved values were cleared" line left it out and the bot never knew to ask again. It is now named "oauth client secret", as the url-change path names it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(mcp): a person who may not sign in gets a calm note, not an error "Only an admin of this installation can sign in to Linear." and "Only Ada can sign in to this." came back as 403, which desktop, iOS and Android draw as a red failure. They are refusals of the same kind as "Open this chat on your Mac to sign in", so the card's authorize now returns them as 409, which all three clients show as a calm note. A session missing a scope at the route gate still gets 403. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(mcp): a card's targetHash covers the masked display target, never a raw secret Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(mcp): a client-id-only update no longer says the destination changed Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * Mask base64, dotted and percent-encoded key path segments Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * Tell the bot a removed server is gone, not off Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * Tell an MCP sign-in card to sign in on the page that opens An MCP server has no app key, so its card drops that half of the hint. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: milind-soni <milindsoni201@gmail.com>* fix(usage): show a Claude plan's monthly spend, with its amounts A Claude Enterprise seat with a monthly budget has no 5-hour or weekly window. Usage showed two "not reported" rows and, at best, a percent labelled "Extra Usage". It now shows Monthly spend with the amounts ("$46.31 of $500.00 spent"), and the Simple summary and the profile menu use it when there is no weekly figure. A budget Claude reports as off is no longer drawn. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(usage): write the monthly spend in the app's language Money followed the computer's language rather than the one chosen in the app, and the test's expected text depended on it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>cloud-send:teams threw when the page was not My Cloud. Electron reports that as a handler error and the desktop window dies. A solo app or a custom base URL now gets { teams: [] }; My Cloud still lists teams. Fixes #4129 Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Milind Soni <46266943+milind-soni@users.noreply.github.com>ddafb4c55) into fix/mail-1a19186-citation-devs-report 54ef7c930bipformat c78f8017dbf52effc1ainto fix/mail-1a19186-citation-devs-report ede65b0000Live calls could only create their GPT-Live session on api.openai.com with an OpenAI key. Add a Live provider setting so a call can use a gpt-live-1 deployment on the user's own Azure OpenAI / Foundry resource instead. - live.provider ("openai" | "azure"), live.azureEndpoint and live.azureDeployment in config.json, with OMB_LIVE_PROVIDER, OMB_AZURE_OPENAI_LIVE_ENDPOINT and OMB_AZURE_OPENAI_LIVE_DEPLOYMENT. - Session create and the sideband attach go to {endpoint}/openai/v1/live/sessions[/{id}/attach], with the deployment as session.model and the resource key sent as api-key. - The Azure key is only live.key; the OpenAI API key is never used for Azure. The endpoint must be https on an Azure OpenAI host. - A call keeps the endpoint it started with. - Call settings and the "Live needs setup" prompt gain a Service choice with the Azure endpoint, deployment and key fields; errors and the disclosure name Azure OpenAI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BFCWE5jB4NijPPZKUWuV4U* Add a Clear attachments row in Settings, and point the full-store error there When the attachments store reached its cap every upload was refused with "attachments storage is full", and the app offered no way to see or free the store. Settings > General now shows how full it is and can clear it (with a confirm step). A clear keeps bot and profile pictures, the sidebar banner, files routines and their runs use, upload partials and anything newer than 10 minutes, and refuses while routines are still loading. The 507 error now says where to clear. The route is admin only and is off on a Team Cloud. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Attachments clear: report failures, keep calendar-call files, show it in simple Settings Review follow-ups for the Settings clear: - Files that could not be removed (anything but ENOENT) are counted and shown as an error instead of a plain success. - Files used by scheduled calendar calls are kept, like routine files. - On a Team Cloud, which has no clear, the full-store error no longer points to Settings. - Sizes below 1 MB show in KB, so a small store or clear never reads 0 MB. - The row also appears in the simple Settings page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Attachments clear: keep files a running turn still holds A turn parks generated attachments until it posts its message. Clearing the store in that window removed them, so the message lost its files. The kept list now includes every parked turn attachment. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Attachments clear: keep files of unreadable or unloaded routines A clear now uses every routine and run on disk, including routines whose schedule could not load, and is refused while routines.json is unreadable. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Attachments clear: refuse when a saved routine's attachments are malformed attachmentPaths() now returns null (so the clear refuses) when an unloaded routine or run has an attachments value that is not a list of { path } objects, instead of throwing. Adds a route test that a refused clear deletes nothing (CodeRabbit). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(routines): refuse an attachments clear when a saved list failed to load Loading drops a routine's or run's whole attachment list when any entry is bad, so its valid files were no longer named and a clear could delete them. Remember that a saved list failed to load and name no files until then. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* fix(local-vm): start the driver's Chrome without its own sandbox The Local VM container drops all capabilities except SETUID/SETGID and runs under the runtime's seccomp profile, so Chrome cannot create the namespaces its sandbox needs and exits at once ("Failed to move to new namespace", exit code 21). Set CUA_DRIVER_BROWSER_NO_SANDBOX=1 on the driver's start line so cua-driver launches Chrome with --no-sandbox; the container stays the isolation boundary. Bump IMAGE_LAYER_VERSION to 8 so images rebuild. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore: keep the Chrome sandbox comments free of file names Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Keep container-computer.ts within its size ratchet: fold the Chrome sandbox note into one comment line Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>f4fe7cb06' into feat/inbox-every-plan 5b219e103996493483c' into feat/inbox-every-plan 0386126d44Outside macOS, Shift turns the bracket keys into "}" / "{", so the e.key === "]" check never matched and the cycle did nothing. Accept both forms. The physical key code is not used, since on many layouts BracketRight types another character.* Relaunch DeepSeek Harness when a turn's tools change dsh refuses session/resume of a session still open in the same process ("Invalid params: session is already active"), and core rethrows that -32602 instead of relaunching, so the message went unanswered. Mark DeepSeek restartOnMcpChange, like Qwen, Hermes, Copilot and Cline: the old process exits and the session resumes in a fresh one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test: check the fresh process got the new tools and resumed the same session Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test: drop the comment above the fresh-process assertions Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>2611c0bd38866d4c8c613d29ee7a909217cfb8247e9157a07e4cb3d9ba8d0a00e52e7890d1a08f54a87e29ca163759b70e6d69fb870ab285013d77b41f0428f0d734a545f9bbb07bde1c54aff7bf6de169da73c9674c54ce2b3f76be8ee890* Let a one-on-one goal step hand work to teammates A one-on-one /goal step starts as a card continuation, and card continuations never began a coordinator turn. So coordinate_bots from a goal step had no root to hang on and was refused ("The requesting turn has no root"), and the bot had to wait for the person to say "send it". A one-on-one goal step now begins its own root, tagged with its goal run, the way a room goal step already does. The root ends when the step settles (and when a step falls back to a backup model). Other card continuations are unchanged, and the "ask me before contacting other bots" setting still asks first. Closes #4321 Closes #4320 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Goal pass: a restart ends the one-on-one goal run, so its step is not rerun The one-on-one goal run lives only in memory, so after a restart its step's root would be rerun outside any goal. Fail it with a plain reason instead, the way room goal steps already are. Also drop a stale comment, and move the message paging helpers out of server/index.ts for the file-size ratchet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* ChatGPT plan: plain error for a refused model, and hide it for that account ChatGPT's /models can list a model the plan then refuses through Codex ("The 'gpt-6.1-sol' model is not supported when using Codex with a ChatGPT account."). The raw 400 showed in chat and the model stayed listed and default, so every turn failed. Now that refusal, on the ChatGPT plan route only, shows a plain message, records the model as refused for that account (cleared on sign-in or sign-out), drops it from the model list, and later turns that still name it run on the account's first usable model. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * ChatGPT plan: refused models are known at once and never lost - Keep a run's refusals in memory so the next turn sees them before the saved list is written; clear them on sign-in and sign-out. - A saved list that can't be read is never overwritten with one model. - Drop the refused model from the menu at once, even when it was the account's only model. - Background calls record the refusal too, as their message says. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Move the MCP app-approval form out of codex.ts for the file-size ratchet Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>961005396f7d13a54599f15e068c32212ba210* fix(computer): skip the "use your computer" card at Full access An Auto pin that reached this computer asked Allow once / Deny before the first screen call at every approval level, even Full access ("Just do it"). Full access is the person's grant to act without asking, so the card is now shown only below Full access. Every other level asks as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(computer): skip the card at Full access on the host fallback claim too Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(computer): create the asking bots with settings.approvalMode so they really ask; keep index.ts in the size ratchet POST /api/bots reads the level from settings, so the top-level approvalMode was ignored and those bots ran at Full access. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(computer): read the live approval level when the lazy host claim decides on the card Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(computer): read the live approval level in the explicit auto-pin host claim too The wants=local path decided whether to ask once, at turn start, so a thread switched down from Full access mid-turn could claim this computer without the consent card. mountHostComputer now takes askNow() and reads liveApprovalMode at the first screen call, like the implicit Auto path. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(computer): ask again after the host wait when the thread dropped below Full access The lazy host claim read the approval level once, before waiting for the host. A thread switched to Ask during that wait got the screen with no card. claimWithYourComputerConsent re-checks after the wait and asks then; a Deny fails the claim so no screen call runs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(computer): ask again after the host wait on the unpinned fallback claim too Use claimWithYourComputerConsent on the auto fallback host claim, as mountHostComputer already does, so a thread switched from Full access to Ask while waiting for this computer still gets the card. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(computer): seat-wait e2e bots ask before using this computer The runtime-roots and room-roots seat tests expect a use-your-computer card on the holder's and waiters' first screen call, but POST /api/bots creates bots at Full access, where the fallback host claim now skips the card. Create those bots with settings.approvalMode "ask" so they really ask, as the host-lazy-claim tests already do. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>f8418335e2a62ca99421daf823e95b5154366887cc269bca417a56a31a46959d496af2351540ba5c436d2c71cebc97362b7eb04ebe5fca52ee82dc9eab91f9824a06125f63c4cf6478418baefe2b166023768f61ab2ec2f71d7ff83c120a1b5dd7fc804052110ba2ac8544c8ef0396d8242fe0f241aaa63e1ff8c6f97b186e0eaa22942d72c088165895f34686986db33479cb991e7235ddb893237624b1080cd1efd4a019293a5887d71e033e421ede34d06da8219139f5c2ce320962d7fbafd2c1ed4498a45e41b2211d5a8abbbdd5fb1107b76d1dabbfa5ecc0d4e3c5cbd662ae53783eb2b322549c6e29b61- On a team, a Chief answers a teammate's question for the person only when the person its turn acts for is the one the question is for (teamOwners.routing.askedPerson), both when listing the questions and when coordinate_bots answers one. - A coordinate_bots call that only answered questions for the person tells the Chief to continue and report the answer, instead of to end its turn and wait for results that never come. - A routine's turn already counts as started outside, so it neither lists nor answers the questions; a new e2e scenario pins that. - pl, ru, uk: {name} is the teammate whose question it was. - question-cards.md: the webhook sentence reads plainly. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Three review passes over the pt-BR catalog: the owner's term rules ("novamente", "sessão" for turns), meaning and grammar fixes, more natural wording, and a critical native edit, followed by an independent review. Tests that pin pt-BR text follow the new values, the Resumo server copies gain a parity test, and the glossary records the new terms.bfcdd7c49e653b7ab22A Starter Cloud makes up to five bots beside its MausBot (STARTER_BOT_LIMIT in server/host/starter-bot-limit.ts). Past that, every way a bot gets made answers 409 {code: "bot_limit", error} in plain words: New bot and Duplicate on desktop, web and phone, templates and file imports, the organization's shelf, and a Chief's create_bot and propose_team_setup. A group that doesn't fit is refused whole, before anything is written. A bot is told to explain it to the person, not to retry or work around it. No bot is ever taken away. A Cloud over the limit keeps every bot; only making a new one stops. A bot arriving with its own id (a move from a computer) and a restored backup are never refused. Archived and moved-away bots take no room. The plan is read at each request, so an upgrade lifts the limit at once with no restart, and a Cloud whose Admin never named a plan has no limit. The app opens a calm popup when a create button is pressed with no room, before any form, and on the server's refusal when its count was stale. It offers the usual in-app upgrade (preview, then the person's confirmation); a browser tab opens the Plan page instead. Config carries botLimit for the page to count. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>688fac0b354c930adcd9ad4b1ca75eb128c62986c0b1cebdf95607a90353e72afb5d013be26615c4b5a176da1e9c5aac7531ffd104a3d0a55ef61f3049863d17bc5bf6ae0b07f8fe626fd57b1df0195b433dd295152e31da9225f1859037bc75a8ef31f67a80d77bcad3ffa428e4d7496bee330fc38b9ce6150db90c52206e73f68cc9effbd5e10106ea27294b7e2071b49a3b78f4f49052b9eb25c5f209e0e3c62b1245c256f30d5f65456ff45c7495192811b3ac775e804a28501f7ad70e22de93190e2a206dd102071aa8275307f89111d5819ec1a371ea654709d410aee393f1f412850645e96a0c9784b09ef4885d279f8c9f09f7A Stop in the chat that handed work out dropped only the work that had not started; a teammate mid-turn kept going and reported into a chat that was stopped, with an "open to stop it too" pill. Now stopRequester ends everything the request handed out, running work and what it handed on included ("Stopped with the request it was for"), and a room helper's engine turn is interrupted too. The pills go, since nothing is left running. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>e5b5a2f9e9f9d5ab8cfd0a13cbe8b92dc50f7f7a104532405f02ced6c9c06e52018729512d9e73334f8b28ab5c6d05357ea54add' into email-connector c986339b342f0f27974' into email-connector 89bab0cc402f0f27974into feat/bot-api cb301331bf57ea54addinto feat/bot-api 813b1f70cbA move whose check found the same things missing pass after pass failed for good: one PC failed 94 times in a week, its server frozen for each try, and the person saw only "My Cloud move needs you" with the reason in a tooltip. - The check keeps its gaps by key. When three passes carried none of them and the try before ended the same way, they stay on this computer, the rest moves, and the done line lists what stayed and why ("These stayed on it:"), in the person's words: a bot's name for its notes, chats and files, a room, an app or key, attachments, sign-ins. - A move that keeps failing while frozen waits 1, 2, 4, 8, then 12 hours between tries instead of every hour. - The Admin's move report leads with what the check found missing, by kind and count (never a name or an id). - The failing line says what is wrong and what happens next under "My Cloud move needs you", and the menu's Try again row carries the same words. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>A person who wants every reply as a voice note depended on each bot choosing to call send_voice_note. Now the harness makes the note. Settings → Connections → Voice and calls has "Voice note with every reply" (tts.everyReply), for every bot. Each bot's Voice & alerts has the same switch, following the main one by default ("Uses your Voice setting (on)"); flipping it sets that bot on or off, and "Use your Voice setting" follows again (voiceNoteEveryReply true, false, or null). When a direct conversation's turn settles with reply text, the reply is spoken in the bot's voice (tts.speak with bot.voice) and attached to it like a send_voice_note clip, words as the transcript. Long replies stop at the last sentence within the 1,000-character note limit. A failed turn's reply gets one too. Skipped: a turn that already recorded a note, an empty reply, a stopped turn, internal and bot-to-bot turns. Without a voice, the thread gets one quiet notice per bot and cause. Voice & alerts also says which voice a bot uses: the picker's default is "Your Fish Audio voice" (or the provider in use) instead of "Installation default", with a line saying whether the bot speaks in that voice or its own. New strings in all 16 language packs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>2f0f27974ba4628a5f4259d76c9367f5af5ed7a1aa74862f1b14133dd3ab35ea05dbc7892b36c5182ab0627c3dbb70c099a75b3d7f05f4788423dd70fb35b6615d9b615242586ec996925c1b1d927396add204e62665fd31f92b9244ed1dd5dee9d312332ef0f35f7a452ad87b8a209f2cf48142500df46211ad330d022cb0add37091c01505ad79625b272ba595a0d4ae62e525d23aa31a0c861e3869fdb934fcfc017109d0a7d4a95a30813b1f70ca311112ac81ea57b9214813d1f55987258413fb62d08d4f0318071b422ef174ec676d2591920d4edc534cdb432fc67876fbeda3110f3fbf3a6c36ecf382e8402035da57fecffd866a2f8792633c8f8727a253d3b5d100e4a2571de42add7a3bed9db34b00f4685d33e9de9d61507b17ce16121e9c551acIn Simple mode the closed picker and the menu's current row named only the model ("Gemini 3.8 Flash"), so picking "Gemini 3.8 Flash · Medium" looked like it did nothing even though the pick was saved. modelName now takes the selection's variant and names the same choice its menu row does; any other engine, or no/unknown variant, keeps the old label. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>In the bot box the network is reached only through the box's egress proxy, but Codex starts an MCP stdio server with just a few env names plus env_vars, so a person's own stdio connection had no proxy and failed DNS ("Temporary failure in name resolution") while shell runs worked. When the box is on, forward the proxy env names to custom stdio mounts on unscoped turns. Off the box nothing changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>With a custom endpoint in Hermes' config.yaml (or a config OpenMausBot can't read, such as Hermes set up in WSL), Hermes showed as Ready but its model list was empty ("No model providers are available"), so no Hermes bot could be made. When Hermes is installed and nothing else is listed, offer one "Hermes default (config)" entry. It starts `hermes acp` without set_model or -m, so Hermes runs the model in its own config.yaml. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>openmausbot browser setup, which does not exist 707e50c12960f775269' into HEAD 1a54ba29beThe chat card sizes itself to the height the page reports, and the page measures only its flow: html and body are freed to their content and the root measured. A map, canvas or game laid out to the window (an absolute inset:0 layer, or html, body, #map { height: 100% }) has almost no flow, so the card shrank to a 48 px strip. Now, when the flow is under 120 px and a layer at least half the frame's size sits under its middle that the flow does not hold up (absolutely or fixed positioned, or sized from the window and empty of flow), the page reports the frame's starting height instead: show_html's height when the bot gave one, else the card's 520 px. It keeps that height until its flow needs more, so the frame never follows layers that follow the frame. The first report waits for the page's load event, and the JSX shell's loading line holds the frame's height, so neither measures a page before it is drawn. Pages that flow measure as before. show_html's description asks for height on maps, canvases and games; the catalog goldens are regenerated and the budgets that grew re-set. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>A command server pasted the way other MCP clients write it, {"type": "stdio", "command": ...}, was refused by POST /api/mcp/servers with "Unrecognized key", while a remote server's "type": "http" was accepted. The command entry now accepts an optional "type": "stdio" and ignores it: the stored entry is the same as before, so the old shape and existing config files keep working. Any other type on a command entry is still refused. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>In the icons-only density ("avatars"), the sidebar collapses to a column of bot tiles. Dragging a tile onto another row or onto a department heading is just as useful there as in the expanded list, and the rail already renders the whole tile as the drag source, so no separate grip is needed. It did not work: the bot arrange was gated on `sections.interactive`, which `sidebarLayoutInteractive()` returns false for whenever the density is "icons". With the gate closed every row came back without drag handlers, so a reorder was impossible in the rail while working normally in the expanded list. Ask for the rail arrangement directly by also enabling it when `density === "icons"`, leaving the expanded-list behavior untouched. Add a regression test that renders the sidebar with the icons density and asserts every row stays draggable.* OpenCode: one thread per folder in a shared process OpenCode keeps a session's MCP servers per folder and name, not per session: ACP session/new and session/load call mcp.add({ directory, name }) (checked in OpenCode 1.18.27). When two threads worked in the same folder inside one shared OpenCode process, the later thread's servers replaced the earlier one's, so the earlier thread's tool calls went out with the other thread's turn capability. When that other turn ended, a call still in flight failed with "the internal turn capability has expired" and the next one was refused, although the bot's own turn was still running. A shared process now gives each folder to one thread for its whole life; a second thread in that folder starts its own process. The refusal for a turn that really ended now says so in plain words. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Tests: the plain turn-ended refusal, and a resumed OpenCode thread in its own folder Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>send_voice_note told the bot "Voice note recorded" on any 2xx answer, even an empty one, so a 2xx that did not come from a saved note still read as success. The voice-note route now checks the file is on disk and answers with its name; the tool says recorded only when the answer is { attached: true, file }, and otherwise reports that the note did not go through and tells the bot not to claim it is attached. The chat-runtime test of a long turn now uses the shape of the turn that lost a note (the chat folded first, a line before the note, lines in between, two failed calls) and checks the attached file is on disk. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>A launch now opens the place that was open when the app last closed: My Cloud, another Cloud or a team's, This Mac or another workspace of this computer's own, or a server saved by hand. One that can't open now (removed, ended, a server that doesn't answer within a few seconds) is forgotten and My Cloud opens instead, without a dialog; when My Cloud doesn't run either, This Mac does. Workspaces still open one at a time through the same switch, so the frozen copy never runs as one. The line atop a workspace ("This Mac starts fresh…", "Work starts fresh…") gets a close button that hides it for good in that workspace, saved in its own config. It also goes by itself once it was shown on three days, or a week after the first. Connect an AI stays offered while no AI is ready. The clean workspace's line and a team's line are unchanged. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>On a Cloud every bot engine runs in the bot box, which shows the process the folder it started in and nothing else of the data folder. OpenCode threads share one process, but the share key ignored the folder, so a second conversation (or another bot) joined a process whose box could not see its folder. OpenCode 2 checks the folder at session/new and fails with LocationNotFoundError ("Internal service failure"), so after the engine update to 2.x every chat but the first failed on a moved Cloud. With the box on, a shared process is now keyed by the bot's conversation folders (task-workspaces/<bot>) and boxed with all of them read-write and their uploads read-only (BoxRequest.botThreads); any other folder gets its own process. Its credential token belongs to the bot, not to one conversation. Without the box nothing changes. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>The desktop's "Your own server" sheet only took an https pairing link, so the http://<LAN or Tailscale address>/pair#code=… link a self-hosted server prints was refused, a bare code could not be entered, and every failure read "That isn't a pairing link this app can open". One reader, electron/server-address.mjs, now serves the sheet, the clipboard link, Settings → Servers, `openmausbot connect` and the MCP bridge: - http is accepted on private networks (RFC 1918, Tailscale's 100.64/10 and *.ts.net, *.local, link-local, loopback, single-label names) and refused on the open internet with what to do instead. ALLOW_INSECURE_HTTP is gone. - A bare address tries https, then http when the host is private. - The sheet is now "Connect to a server": a link or address field, and a pairing code field shown when the link has none. A code pasted alone moves to its field. Main looks the address up as the person types and names the server ("✓ kitchen-box · MausBot 0.1.147 · Private network, not encrypted"), and the button reads "Connect to kitchen-box". - Each failure says what is wrong: a pairing code without an address, an email sign-in code, an old six-digit code, a script key, public http, a link to this computer, unreachable, DNS, certificate, not MausBot. - Computer sharing reaches a server on the person's own network over http. - `connect` takes the link the server printed and prints commands the way the CLI was started (npx, pnpm omb, Docker, global). Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* One pairing code everywhere: 12 characters, in the link and the QR, with wrong kinds explained The phone link on a computer now opens the same 12-character pairing code a server prints (7KQ2-M9XD-H4TP, dashes and case don't matter) instead of six digits, for ten minutes. A phone app that still sends six digits is told to update; the QR keeps carrying the high-entropy credential and never the typed code, so older phone apps scan as before. One shared reader, shared/pairing-code.ts readPairingInput, takes a code, an omb_pair_ credential, or a link that carries either, and names the wrong kind of input: an email's 8-digit sign-in code, an old six-digit code, or a script key. The server's /api/auth/pair answers those with 400 and the sentence, without counting a guess. Five wrong codes from one address in five minutes now lock it for five minutes, and the message gives a clock time ("Try again at 11:19"), worded on the device's own clock. Every place a code shows says "Works once, until 11:14" instead of a countdown. Pairing links fall back to the asking session's own address only when it is https or a private network (shared/private-host.ts), so a public http or a loopback link is never minted. An emailed sign-in code names the server it is for in its subject, using only the configured or a private address. The /pair page asks for the code first, says when it came from the link, offers "Open in the MausBot app" and the command that makes a code, keeps email sign-in as a link below, and warns on plain http over the open internet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * The companion pairing form test expects the pairing code Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Keep the phone link's six digits until the phone apps type 12; never lock out a proxy's shared address The phone link on a computer keeps its six-digit code for now: the phone apps' type-a-code field takes six digits until their next release, and a phone that can't scan must still pair. The server, /pair, the shared reader and the CLI use the 12-character pairing code. Wrong codes from an address a proxy gives every visitor (loopback, or a gateway over IPC) no longer lock that address, which would lock the owner out. Five of them in five minutes burn the open codes instead, so a new one is made. Named addresses keep the five-in-five-minutes lock. Email sign-in and a Cloud home's request signatures keep their own, looser count. server/lan-address.ts picks the address a link should name: the LAN address, never a container bridge, VM or VPN interface, home ranges before carrier NAT, and 100.64/10 as Tailscale only on Tailscale's interface. It reads the interfaces afresh on each call. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* One pairing code everywhere: 12 characters, in the link and the QR, with wrong kinds explained The phone link on a computer now opens the same 12-character pairing code a server prints (7KQ2-M9XD-H4TP, dashes and case don't matter) instead of six digits, for ten minutes. A phone app that still sends six digits is told to update; the QR keeps carrying the high-entropy credential and never the typed code, so older phone apps scan as before. One shared reader, shared/pairing-code.ts readPairingInput, takes a code, an omb_pair_ credential, or a link that carries either, and names the wrong kind of input: an email's 8-digit sign-in code, an old six-digit code, or a script key. The server's /api/auth/pair answers those with 400 and the sentence, without counting a guess. Five wrong codes from one address in five minutes now lock it for five minutes, and the message gives a clock time ("Try again at 11:19"), worded on the device's own clock. Every place a code shows says "Works once, until 11:14" instead of a countdown. Pairing links fall back to the asking session's own address only when it is https or a private network (shared/private-host.ts), so a public http or a loopback link is never minted. An emailed sign-in code names the server it is for in its subject, using only the configured or a private address. The /pair page asks for the code first, says when it came from the link, offers "Open in the MausBot app" and the command that makes a code, keeps email sign-in as a link below, and warns on plain http over the open internet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * The companion pairing form test expects the pairing code Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Keep the phone link's six digits until the phone apps type 12; never lock out a proxy's shared address The phone link on a computer keeps its six-digit code for now: the phone apps' type-a-code field takes six digits until their next release, and a phone that can't scan must still pair. The server, /pair, the shared reader and the CLI use the 12-character pairing code. Wrong codes from an address a proxy gives every visitor (loopback, or a gateway over IPC) no longer lock that address, which would lock the owner out. Five of them in five minutes burn the open codes instead, so a new one is made. Named addresses keep the five-in-five-minutes lock. Email sign-in and a Cloud home's request signatures keep their own, looser count. server/lan-address.ts picks the address a link should name: the LAN address, never a container bridge, VM or VPN interface, home ranges before carrier NAT, and 100.64/10 as Tailscale only on Tailscale's interface. It reads the interfaces afresh on each call. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Connect to a server takes a link, an address and a code, or private http The desktop's "Your own server" sheet only took an https pairing link, so the http://<LAN or Tailscale address>/pair#code=… link a self-hosted server prints was refused, a bare code could not be entered, and every failure read "That isn't a pairing link this app can open". One reader, electron/server-address.mjs, now serves the sheet, the clipboard link, Settings → Servers, `openmausbot connect` and the MCP bridge: - http is accepted on private networks (RFC 1918, Tailscale's 100.64/10 and *.ts.net, *.local, link-local, loopback, single-label names) and refused on the open internet with what to do instead. ALLOW_INSECURE_HTTP is gone. - A bare address tries https, then http when the host is private. - The sheet is now "Connect to a server": a link or address field, and a pairing code field shown when the link has none. A code pasted alone moves to its field. Main looks the address up as the person types and names the server ("✓ kitchen-box · MausBot 0.1.147 · Private network, not encrypted"), and the button reads "Connect to kitchen-box". - Each failure says what is wrong: a pairing code without an address, an email sign-in code, an old six-digit code, a script key, public http, a link to this computer, unreachable, DNS, certificate, not MausBot. - Computer sharing reaches a server on the person's own network over http. - `connect` takes the link the server printed and prints commands the way the CLI was started (npx, pnpm omb, Docker, global). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Server CLI: one link per way in, --lan for this network, commands that paste A self-hosted server printed "pairing code: X" and "open /pair on the address you use", listened on 127.0.0.1 only, and printed follow-up commands that failed when pasted (`openmausbot pair` after `npx`, `serve --help`). - `serve --lan` listens on every IPv4 address and drops any connection whose local or remote end is public; the link uses this network's address, read afresh for each code (bridges, VMs and VPN tunnels skipped). - Loopback trust now also needs a loopback peer: a LAN client writing `Host: 127.0.0.1` is a stranger, not the owner. - `--public-url` takes https, or http on a private network; the server checks the address answers with this server's own descriptor and prints a Reach line (✓, or what to fix). OMB_PUBLIC_URL counts the same way. - `serve` in a terminal prints one pairing code, the link to paste into the desktop app (+ → Connect to a server) and a QR. Not in a terminal (a service, docker logs) it prints no code. With no way in it lists the ways in instead of minting a code nobody else can use. - `pair` never asks anything, uses the running server's own address, and prints the same block; `--phone` (or `--chat-only`) is a chat-only code. - Every printed command starts the way the CLI was started: npx, pnpm omb, Docker's `docker compose exec omb openmausbot` (the image ships that bin), or `openmausbot`. A test parses every command the CLI prints. - `serve --tailscale` runs `tailscale serve` in the foreground, so the share ends with serve; it checks the tailnet has HTTPS certificates and that no other MausBot server fronts the name first, and turns off a share a crashed run left behind (by its marker). - `service install` keeps --public-url and --lan, drops --no-pair, and under npx installs a copy of this version beside the data instead of refusing. - `status` names the address others use and whether it answers; `devices` lists and signs out paired devices; `--version` prints the version; `serve --help` works. - Docker: OMB_SERVER_NAME names the server instead of the container id. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * CLI routes: status works with no server, the pack check and tests follow the new output, shorter argument errors Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * CLI: a pipe closed early (status | grep -q) ends the output instead of crashing Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Locale packs as on main: this branch changes none, and the earlier merges had left duplicate keys Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* Connect to a server takes a link, an address and a code, or private http The desktop's "Your own server" sheet only took an https pairing link, so the http://<LAN or Tailscale address>/pair#code=… link a self-hosted server prints was refused, a bare code could not be entered, and every failure read "That isn't a pairing link this app can open". One reader, electron/server-address.mjs, now serves the sheet, the clipboard link, Settings → Servers, `openmausbot connect` and the MCP bridge: - http is accepted on private networks (RFC 1918, Tailscale's 100.64/10 and *.ts.net, *.local, link-local, loopback, single-label names) and refused on the open internet with what to do instead. ALLOW_INSECURE_HTTP is gone. - A bare address tries https, then http when the host is private. - The sheet is now "Connect to a server": a link or address field, and a pairing code field shown when the link has none. A code pasted alone moves to its field. Main looks the address up as the person types and names the server ("✓ kitchen-box · MausBot 0.1.147 · Private network, not encrypted"), and the button reads "Connect to kitchen-box". - Each failure says what is wrong: a pairing code without an address, an email sign-in code, an old six-digit code, a script key, public http, a link to this computer, unreachable, DNS, certificate, not MausBot. - Computer sharing reaches a server on the person's own network over http. - `connect` takes the link the server printed and prints commands the way the CLI was started (npx, pnpm omb, Docker, global). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Settings → Servers says how each server is reached and doing, and what to do Settings → Servers listed saved servers by address only, with a separate connect form that took an https link. A server that had signed this app out, or stopped answering, looked the same as one that worked. Each server saved by hand now shows how it is reached ("maus.example.com · HTTPS", "192.168.1.50:8799 · Private network, not encrypted", Tailscale) and, when something is wrong, one line with one button: - Reconnecting… while a passing problem lasts; after two minutes "Can't reach · since 09:12" with Try now. Retries wait 2 s, 4 s, 8 s and so on with jitter, never more than five minutes apart, and go at once when the app comes to the front, the computer wakes or the network comes back. A reachable server is looked at again each minute. - Needs a new code, with Pair again, which opens the Connect sheet with the address locked and the code field ready. Pair again keeps the saved name. - Not encrypted on the open internet, with Edit address; nothing is sent to such an address. These never retry by themselves. - A server behind this app gets one note: "hetzner-1 runs MausBot 0.1.140. This app is 0.1.147." with Copy update command, fitting how it was installed (the descriptor now says npx, global, Docker or source). Remove asks "Remove hetzner-1 from this app? The server keeps running and your bots stay there." My Cloud has no Remove. Connect to a server opens the same sheet as +. Checks start only once Servers is opened. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Tests and the docs site follow the Servers page, the install hint and private-network http Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Locale packs list each Connect message once (a merge had added the 14 native.connect keys twice) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* One pairing code everywhere: 12 characters, in the link and the QR, with wrong kinds explained The phone link on a computer now opens the same 12-character pairing code a server prints (7KQ2-M9XD-H4TP, dashes and case don't matter) instead of six digits, for ten minutes. A phone app that still sends six digits is told to update; the QR keeps carrying the high-entropy credential and never the typed code, so older phone apps scan as before. One shared reader, shared/pairing-code.ts readPairingInput, takes a code, an omb_pair_ credential, or a link that carries either, and names the wrong kind of input: an email's 8-digit sign-in code, an old six-digit code, or a script key. The server's /api/auth/pair answers those with 400 and the sentence, without counting a guess. Five wrong codes from one address in five minutes now lock it for five minutes, and the message gives a clock time ("Try again at 11:19"), worded on the device's own clock. Every place a code shows says "Works once, until 11:14" instead of a countdown. Pairing links fall back to the asking session's own address only when it is https or a private network (shared/private-host.ts), so a public http or a loopback link is never minted. An emailed sign-in code names the server it is for in its subject, using only the configured or a private address. The /pair page asks for the code first, says when it came from the link, offers "Open in the MausBot app" and the command that makes a code, keeps email sign-in as a link below, and warns on plain http over the open internet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * The companion pairing form test expects the pairing code Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Keep the phone link's six digits until the phone apps type 12; never lock out a proxy's shared address The phone link on a computer keeps its six-digit code for now: the phone apps' type-a-code field takes six digits until their next release, and a phone that can't scan must still pair. The server, /pair, the shared reader and the CLI use the 12-character pairing code. Wrong codes from an address a proxy gives every visitor (loopback, or a gateway over IPC) no longer lock that address, which would lock the owner out. Five of them in five minutes burn the open codes instead, so a new one is made. Named addresses keep the five-in-five-minutes lock. Email sign-in and a Cloud home's request signatures keep their own, looser count. server/lan-address.ts picks the address a link should name: the LAN address, never a container bridge, VM or VPN interface, home ranges before carrier NAT, and 100.64/10 as Tailscale only on Tailscale's interface. It reads the interfaces afresh on each call. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Connect to a server takes a link, an address and a code, or private http The desktop's "Your own server" sheet only took an https pairing link, so the http://<LAN or Tailscale address>/pair#code=… link a self-hosted server prints was refused, a bare code could not be entered, and every failure read "That isn't a pairing link this app can open". One reader, electron/server-address.mjs, now serves the sheet, the clipboard link, Settings → Servers, `openmausbot connect` and the MCP bridge: - http is accepted on private networks (RFC 1918, Tailscale's 100.64/10 and *.ts.net, *.local, link-local, loopback, single-label names) and refused on the open internet with what to do instead. ALLOW_INSECURE_HTTP is gone. - A bare address tries https, then http when the host is private. - The sheet is now "Connect to a server": a link or address field, and a pairing code field shown when the link has none. A code pasted alone moves to its field. Main looks the address up as the person types and names the server ("✓ kitchen-box · MausBot 0.1.147 · Private network, not encrypted"), and the button reads "Connect to kitchen-box". - Each failure says what is wrong: a pairing code without an address, an email sign-in code, an old six-digit code, a script key, public http, a link to this computer, unreachable, DNS, certificate, not MausBot. - Computer sharing reaches a server on the person's own network over http. - `connect` takes the link the server printed and prints commands the way the CLI was started (npx, pnpm omb, Docker, global). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Server CLI: one link per way in, --lan for this network, commands that paste A self-hosted server printed "pairing code: X" and "open /pair on the address you use", listened on 127.0.0.1 only, and printed follow-up commands that failed when pasted (`openmausbot pair` after `npx`, `serve --help`). - `serve --lan` listens on every IPv4 address and drops any connection whose local or remote end is public; the link uses this network's address, read afresh for each code (bridges, VMs and VPN tunnels skipped). - Loopback trust now also needs a loopback peer: a LAN client writing `Host: 127.0.0.1` is a stranger, not the owner. - `--public-url` takes https, or http on a private network; the server checks the address answers with this server's own descriptor and prints a Reach line (✓, or what to fix). OMB_PUBLIC_URL counts the same way. - `serve` in a terminal prints one pairing code, the link to paste into the desktop app (+ → Connect to a server) and a QR. Not in a terminal (a service, docker logs) it prints no code. With no way in it lists the ways in instead of minting a code nobody else can use. - `pair` never asks anything, uses the running server's own address, and prints the same block; `--phone` (or `--chat-only`) is a chat-only code. - Every printed command starts the way the CLI was started: npx, pnpm omb, Docker's `docker compose exec omb openmausbot` (the image ships that bin), or `openmausbot`. A test parses every command the CLI prints. - `serve --tailscale` runs `tailscale serve` in the foreground, so the share ends with serve; it checks the tailnet has HTTPS certificates and that no other MausBot server fronts the name first, and turns off a share a crashed run left behind (by its marker). - `service install` keeps --public-url and --lan, drops --no-pair, and under npx installs a copy of this version beside the data instead of refusing. - `status` names the address others use and whether it answers; `devices` lists and signs out paired devices; `--version` prints the version; `serve --help` works. - Docker: OMB_SERVER_NAME names the server instead of the container id. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Self-hosting docs: one short path per install method, then a troubleshooting table docs/self-hosting.md now opens with "Pick a way in" (--public-url, --domain, --tailscale, --lan, --tunnel), a golden path for npx, your own cloudflared or proxy, Docker on a home network, Docker with your own domain and a service, each ending at + → Connect to a server, and a table of the messages the desktop sheet and the CLI print, with what each means and what to do. The reference below follows the CLI and pairing as they are now: 10-minute codes, the new lockout, private http, `devices`, `docker compose exec omb openmausbot pair`, foreground `tailscale serve`, and one entry point in the desktop app. The VPS guide, the local Compose README, the README and the docs site point at those paths instead of repeating them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * CLI routes: status works with no server, the pack check and tests follow the new output, shorter argument errors Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * CLI: a pipe closed early (status | grep -q) ends the output instead of crashing Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Locale packs as on main: this branch changes none, and the earlier merges had left duplicate keys Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* The phone link and Tailscale never start by themselves The phone link (the companion) started at every launch once it had ever been turned on, and at every start it ran the Tailscale CLI to learn this computer's tailnet name. On a Mac the first program it tried was the Tailscale app's own executable, which can open the Tailscale app and connect it. So a desktop used only as a client of another server still brought Tailscale up on every start, with no switch to stop it. Now: - Nothing runs a Tailscale program unless the person turns Tailscale on. The Tailscale card under Settings → Remote access → Advanced has an on/off switch with its state. On, the link is served at https://<computer>.<tailnet>.ts.net:8813 through `tailscale serve`, with Tailscale's own certificate; off removes only that serve entry, and never one the person made themselves on the same port. - Every Tailscale CLI, PATH included, is tried before the macOS app's executable. - The phone link starts at launch only for a computer that runs its own server and has a phone paired with it, never for a client-only desktop. - Settings written before this read as off unless a phone is paired, with Tailscale off. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * The sidecar test preloads its recorder by file URL, as Windows needs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Each way into this computer is its own switch, and nothing starts until one is on One flag used to start the phone link at every launch: its LAN listener, Bonjour, the relay, the managed HTTPS address, and a Tailscale lookup that could open the Tailscale app. Now each way in has its own on/off, kept in companion-settings.json: - Same Wi-Fi: the device port on this computer's LAN addresses, and Bonjour. - Anywhere, through MausBot: the relay connection. - Tailscale: the device port on the tailnet address. The app asks `tailscale status --json` once, on Turn on, and again only on Check again (which starts nothing). The CLI comes first; the macOS app's executable runs only in CLI mode, and the app is never opened or signed in. The sidecar never runs Tailscale at all, and there is no `tailscale serve` on the desktop. - HTTPS address: the managed tunnel, turned on by setting up the secure address. A connection on a way in that is off is refused, and with neither direct way on no device port is bound. While nothing is paired and no code is open the sidecar sleeps, so a client-only desktop starts nothing. The relay token is asked for only while the relay is on. The update keeps on only what a device seen in the last 30 days could be using, and says so once for each route with Turn off beside OK. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * The phone link answers only private peers, and finds Tailscale by its own interface The device port binds every interface, so a connection is now answered only when both ends are private (loopback, RFC 1918, link-local, fd00::/8) and it arrived on a way in that is on; a tailnet connection must come in on Tailscale's own interface from a Tailscale address. A public peer is refused even with Same Wi-Fi on. Tailscale is recognised by its interface (tailscale0, "Tailscale", or the utun carrying a fd7a:115c:a1e0::/48 address), never by a 100.64/10 address alone, which carrier NAT and other VPNs also use; the update's migration follows the same rule. Turn on runs only Tailscale's command-line tool: with only the macOS app installed it asks for Install CLI instead of running the app's executable, and it tells signed out, not running and not allowed apart. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Phone & devices: who can reach this computer, and one Pair a device dialog Remote access on this computer becomes Phone & devices. It lists what is paired, then how devices reach this computer: Same Wi-Fi and Anywhere, through MausBot, each with its state ("On · since Nov 7", "On · waiting for a paired device", "Off") and its own Turn on / Turn off, and a folded More ways in with Tailscale and the HTTPS address. Pair a device is one dialog. When the ways in a phone or computer needs are off, it first says what MausBot will turn on, with a box for each, and turns on only what stays ticked; then it shows the code and how the device will reach this computer. Simple mode shows "Use MausBot on your phone [Set up]", or the phone, its reach line and Pair another device. The server pairing card and the domain card show only on a server's own page, titled This server; connecting this app to another computer moves to Servers. The old switch, account card, connection list and Wi-Fi card are gone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Phone & devices pairs phones, lists open codes, and calls every code a pairing code Pair a device pairs a phone: its consent step asks only for Same Wi-Fi and Anywhere, through MausBot. A computer pairs by link once this computer serves one; the desktop companion client is no longer offered, and an installation already in client mode sees only its Disconnect card with "This connection type ends Dec 7." An open pairing code shows in Paired, with the time it works until and Revoke. The phone setup's "Manual code" is the pairing code, its email code is the "Sign-in code from your email", and the old app name is gone from its copy. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>- Memory upkeep: start() no longer bumps the generation. stop() already ends the last one, so the bump only cancelled a capture that began before the first start. On a busy host a chat answered right after boot (while the engines are still being read) lost its capture for good, which is what made the Cloud lending memory e2e fail on loaded Linux shards. - Mobile code blocks e2e: a refused Clipboard API write now falls back to the legacy copy command, so the failure check refuses both. - Live folder page test: "a#b.html" is a name pages refuse that Windows can create ("?" is not). - pageSignature test: resolve the temp folder with the native realpath, as fs/promises does, so a Windows short (8.3) temp path matches. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>Settings → API keys → More servers only let you remove a server and add it again to change the model IDs entered for it. Each added server now has a pencil button that opens its model IDs, prefilled, with Save and Cancel. Saving sends PATCH /api/instances/:id { models }, which replaces the server's managedModels; an empty list goes back to detecting models from the server's /models list. Other engines and the built-in OpenAI-compatible slot are refused with a clear error. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>OpenCode answers a Zen free model that used up its free allowance with "Free usage limit reached. Free models work in OpenCode … subscribe to OpenCode Go to keep going". The ACP core emitted every usage limit as `limit: "engine"`, so the reset clock held the whole OpenCode account for an hour (a guess: the refusal names no reset). The usage card then read "At its limit" with a full bar, and every turn of every bot failed over to another AI while the account's Go allowance was untouched. A usage limit now carries the reach its own engine reports: the core asks `AcpSupport.limitScope`, and OpenCode answers `model` for a free model's allowance and `engine` for a Go or monthly one. A model-scoped limit holds that model only, so the bot keeps the account available and can run a Go model. Tests: the recorded quiet-turn log line ("Free usage limit reached…") now emits `limit: "model"` (fails on the old always-engine line), and a table covers free, Go and monthly refusals. docs/opencode-go.md gains a "Usage limits" section.On a Linux host without Chrome's system libraries, agent-browser's launch fails with the glibc loader error ("error while loading shared libraries: libatk-1.0.so.0") and the bot only sees that raw text, so it cannot tell the person what to run. Our own Chrome launch already explains this with BrowserHostError("libraries"); browser tool errors now append the same message, naming the library and `sudo openmausbot browser install --with-deps`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>* fix(companion): stream the JSON scrub past the whole-body ceiling A paired desktop or phone asks for the same bot list as the desktop (`/api/bots?messages=200`, already bounded and slimmed by the server), but the companion buffered every JSON reply whole to remove withheld fields and refused anything over 32 MiB with a 502. A long history (about 52 MiB in the report) never reached the paired client. Replies up to 32 MiB are still scrubbed whole, exactly as before. Past that, the companion now scrubs as the bytes arrive: a strict streaming JSON reader drops the same withheld members (checked by decoded name, so an escaped spelling is caught too), with memory bounded by one chunk. Bodies that were never JSON still pass verbatim; a body that stops being JSON after its start went out is cut off, never finished unscrubbed. Phone tunnel replies are gzipped as they stream. Browser-control and viewer-join answers, which are checked or rewritten whole, keep the 502. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(companion): lighter large-reply tests, with a named deadline The large-reply tests sent three 52 MiB bodies and kept a scrubbed copy at module level, a few hundred MB per worker; on a loaded CI shard one of them ran past 40 s. The proxy now takes a test-only lower ceiling, so every streaming case runs on a 1.3 MiB body over a 256 KiB ceiling. A single test still crosses the real 32 MiB ceiling, with one shared message text so only the serialised body is large. A connection the proxy neither finishes nor closes now fails by name after 15 s instead of as a test timeout. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(companion): pace a streamed reply by write callbacks, not 'drain' On Linux (reproduced on Node 24.22.2, real kernel) a large streamed JSON reply to a slower reader stalled for good: the response flushed everything with writableNeedDrain still set and never emitted 'drain', so the paused harness was never resumed. The streamed path now holds the harness back until the write that filled the socket has its own callback, which always comes. Gzip on the tunnel is paced the same way, with zlib's ordinary 'drain' between the harness and the compressor. The tests add a slow reader: one reply crosses the real 32 MiB ceiling, and one 10 MiB reply crosses a lowered one. On Linux both failed with the old code ("the proxy neither finished nor closed the connection") and pass with this one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>Re-applied onto main by hand, as the review says, without the crash marker: - pause() stops sharing first, then saves; a failed save sets pauseError, and Pause again retries the save (no early return while pauseError is set). - resumeLending() stays paused and sets pauseError when its save fails, and turnOn answers { ok: false, reason: "paused" } while still paused. - Any later save that carries the pause clears pauseError. - The tray says "Pause is not saved. Sharing is stopped now. Retry saving pause before quitting." and offers "Retry saving pause" next to Resume, from native.lendTray.* keys (English and pt-BR). - Dropped: the lending-session marker and its start-paused branch, the rmdir in close(), the summary clouds rewrite (main already lists own Clouds while paused), the docs lines about the marker, the cloud-lending test reorder and the unclean-exit and restart-protection tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>A Pi-compatible CLI that sends a non-string summary (false, {}) no longer gets the condensed marker; the fake pi CLI now sends one too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>A page in a bot chat now shows as a short preview card. "Open page" opens it in a large view that fills the messages area while the message box stays usable below; Point keeps it open, Esc/X returns to the chat. While a page is open, typed messages carry {appId, rev} and the server adds a short context note so "this page" resolves to it. The pool keeps the open page's frame live, so its scroll and interactive state survive. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>* Make Simple the only mode (flip, reversible) Advanced mode reads as off everywhere and nothing turns it on; its code stays. One line in src/lib/simple-only.ts (SIMPLE_ONLY = false) brings the switch back, and each browser gets back the mode it had. - No way back to Advanced: the mode row in Settings (Simple General, Advanced General, a paired remote client's Appearance), the Simple mode popup, the computer panel's "Show advanced controls" (now Open VPS settings), and Settings search's "· Advanced" hints. - Automatic recovery moves into More settings → Limits, and search finds it. - At first boot, before first paint: a browser that was on Advanced (chosen, or defaulted by a prior run) owes a one-time "simpler look" notice in the Simple mode popup's queue slot; omb-advanced-mode is deleted; font, chat width, threads shown, sidebar tools layout, pinned circles, universal pins, run card and web panels go back to their defaults once. - A paired remote client keeps its "advanced || remoteClient" controls. - app_active.mode is always "simple"; new_look_notice documented. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Simple only: fix what the flip left behind, move the renderer smoke to Simple The renderer smoke ran in Advanced mode (its preview had a prior-run key). With Simple the only mode, a few things a person used were no longer reachable, and the smoke now drives Simple's own paths. App: - Settings → AI: the New bot defaults row offers Share as preset… again. - The bot panel: Library → Skills offers the organization's skills, and Bot settings says where an installed bot came from. - Code blocks: the plate's buttons are 44px on touch screens, its menu's button shows a focus ring, and the menu opens anchored in the viewport instead of clipped inside the block. Renderer smoke (same subjects, Simple paths): - Find in conversation and Inspector from the bot panel; keys on the AI page's API keys; the model picker that sets the bot's model for all its chats; the plain-words tool chip; the sidebar search pill. The run card ("This run", Save as skill) is Advanced only and its checks are dropped. - The thinking timer: conversations from the bot panel, elapsed time from the working line's tooltip. - Bot tools: MCP servers added in Apps, switched per bot on Bot settings → Apps it can use; usage from the panel's Usage row into Settings. - Presets and the organization library through the fixes above. - Mobile code blocks: Simple's plate (Copy, and Wrap lines in its menu). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Keep ComputerPanel under its size limit main's release lowered the listed size to 1782 lines; the SIMPLE_ONLY import took one more. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>The Chief's day-two recap ("So far I've sorted 29 emails...") was posted on any tick once the morning came, checking only that no turn was running. In the gap before the person's message got its answer, it landed right under that message and read as an unrelated reply. Now it waits until the newest message in the chat is no longer the person's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>A MausBot hidden from the sidebar ("Not now" on the welcome card, or Hide) stayed out of every department and every search, even after it was renamed or moved to a department. A renamed MausBot ("Nova") could then only be reached through an Inbox ping. Renaming the hidden MausBot or moving it to another department now turns "show in sidebar" back on, unless the same change sets it. While the sidebar has a search, the viewer's own hidden MausBot is listed when it matches. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Engines that call tools in strict mode send every optional field. A propose_team_setup create then carries botId "" (refused as an unrecognized key), an update carries key "", and a model choice carries effort/variant "" or null, which the receiver reads as a choice ("effort is not recognized" / "choose either a model variant or an effort level"). Treat those blank placeholders as left out at the tool boundary, as dropBlankArguments already does for other tools. Non-blank values are kept, so real mistakes are still reported. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Settings -> Decision and extraction gets a Custom endpoint provider: a base URL, model ID, protocol and key, with Save and Test like the others. System One posts Jev's request to {base}/systemone; OpenAI Decisions posts an ordered question list to {base}/decisions and reads answers by position. Both go through the same answer checks. It decides only; extraction keeps its providers. A custom endpoint comes first in the key order. The key is write-only and lives in the encrypted store on desktop (OMB_CUSTOM_DECIDER_KEY). Jev, OpenRouter and the custom endpoint now share one keySafeUrl check (https, or http to this machine only). The decision page's dropdowns use a themed MenuSelect built like the voice picker. New strings are translated into every locale (machine-drafted). Closes milind-soni/OpenMausBot#5026* Say which MCP server needs a sign-in, and stop Test passing when every call is refused A URL server can list its tools to anyone and refuse every tool call with HTTP 401, as Gmail's MCP server does. Test only listed tools and tried a tool name no server has, which such a server answers before it asks who is calling, so it read as working. Real calls then failed with "Error dialing <address>": the 401 started Claude Code's own sign-in, which cannot work through the broker, and it hides the reason because the address holds a token. Test now tries one read-only tool that has nothing to work on when a person asks for the test. The broker answers a refused tool call in words that name the server and what to do. A failed step names the server and the reason on its row, and a server that isn't saved here is named in the 404. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Read a failed step's reason out of the chat runtime's JSON The chat runtime reports a step as pretty-printed `{ ok, result }`, so the failure's own words were never on the first line and its steps got no problem line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Add the MCP failure lines to the complete Brazilian Portuguese pack Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* Give tunnels back once the relay has replaced them, and never fail a relay computer at the tunnel limit Both Cloudflare accounts are at their tunnel limit, and a running desktop keeps its connector up, so idle reclaim never frees its tunnel. This adds, in the control plane, every switch off by default: - The relay first. A relay-capable desktop that the relay can carry gets no tunnel when it has no old phone, also when it is coming back after a release or reclaim. At the limit it is answered 409 relay_capable (tunnel: "full") instead of 503 endpoint_capacity. A desktop the relay cannot carry (older release, relay off, outside the rollout, blocked) gets a tunnel as before. - RELAY_TUNNEL_RELEASE_PERCENT / RELAY_TUNNEL_RELEASE_DAYS: the cron releases a tunnel once every paired phone has used the encrypted connection and no old phone was reported for the wait (3 days). - TUNNEL_LEGACY_PHONE_CUTOFF_PERCENT: relay-served computers give up their tunnel whatever phones are paired. TUNNEL_MIN_APP_VERSION: desktops below it get 426 update_required and lose their tunnel. - OMB_TUNNEL_RECLAIM_PREVIEW_DAYS: a dry-run count of idle reclaim at another offline period; the live minimum drops from 3 days to 1 (the value stays 3). - /healthz reports what each switch would clear before it is turned on. Migration 0015 adds relay_adoption.legacy_clear_at and the dry-run table; a Worker deployed before it keeps working and releases nothing. Co-Authored-By: Claude <noreply@anthropic.com> * Tunnel release: one relay rule for cron and provisioning, current versions only, and backpressure Review fixes for the tunnel release. - The cron and provisioning now share `relayAdmits`: relay on, not blocked, inside the rollout or named. The cron no longer marks a tunnel that provisioning would hand back when RELAY_ROLLOUT_PERCENT is lowered. - Under the old-phone cutoff, provisioning gives up a working tunnel only for a computer holding a relay token from the last two days, as the cron does. - The stored release is refreshed by every relay-token request, and the cron applies TUNNEL_MIN_APP_VERSION only to a computer seen in the last two days. /healthz minAppVersion.eligible counts the same way. - At the tunnel limit, relay_capable ("full") is sent only from TUNNEL_REASON_MIN_VERSION (empty by default). Earlier desktops with an old phone keep 503 endpoint_capacity, which they show and retry from. - A run marks no more than one cleanup sweep removes, minus what is already waiting, so marking stops while the sweep is failing. - The reclaim dry-run total is read at most every five minutes per isolate, and nothing is written per scan step while the preview is off. Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>f55d45c6e0' into leon/review-price-lifecycle 11c477d2fe* Keep a team member's browser and phone signed in while they use them, with no desktop A Team Cloud asks the Admin, signed, whether the people whose sessions are in use and about to end are still in the team (cloud-team-roster.ts): at their role their sessions live another hour, gone they are signed out at once, and no answer changes nothing. The browser sign-in names the team, and a team's sign-in page offers the way back through MausBot Cloud. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Welcome a new member to their team, once, and keep each admin's welcome their own A User's first time in a team shows the team, who invited them, who else is in it, the bots shared with them, the privacy rule once and one chat to start, kept per person in people/<person>/welcome.json. On a team the Cloud welcome's own record is each person's, and the Owner's last step offers Invite people. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Open a team from the join page's link, and land an invited person in their team openmausbot://team/<id> names a team by id only: the app opens it as its own verified session lists it, starts its own browser sign-in when signed out, and offers another address when the one signed in isn't in the team. The Admin's landing opens an invited person's team first, once per device, with no plan pushed before it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Keep a routine that lives in someone's private chat theirs alone on a team On a Team Cloud a routine was filtered only by its bot. A routine a member made from their private chat, or pointed at it, reached every member and every Admin, the Super admin included: its name, prompt, attached files (with their path, and the file itself was then served to anyone who asked for it), and the ids of the private chats it was made in and reports to, in the list, the live stream, a bot's overview, team exports and a bot's trigger tools in any other chat. Anyone who could edit the bot could change, run or delete it. A routine a bot made in a private chat also ran as nobody's, so its runs and results landed in chats the whole team reads. A routine that names someone's private chat, where it was made or where it reports, is now that person's alone in every list, stream frame, count, export, edit and delete path and bot tool, and a file only it carries is refused. Its runs open their chats as that person and report into a chat of theirs. Every other routine stays its place's, without the id of a chat the viewer may not read. Nothing changes off a team. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Hand a leaver's shared routines on, and delete their private ones with their chats When someone left a Team Cloud nothing touched their routines. A routine still ran as its writer's, so each run opened a chat private to a person who was gone: it kept spending, nobody could read what it said, and its questions reached nobody. Their private routines stayed on disk, run history and all. Leaving now deletes the routines that live in the person's private chats, with their run history and the files only they carried. A routine they wrote for a shared place keeps running as the routine of whoever looks after its bot, or nobody's (the Admins') when nobody does; one that reported into a chat of theirs gets a chat of its new owner's. Each hand-over is one admin activity row naming the routine and its new owner, never anything from a private chat. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Take a leaver off every bot and say in admin activity that they left A person who left a Team Cloud stayed in every bot's sharing and visibility list and kept looking after their bots, so joining again quietly gave back everything, and admin activity said nothing about it. Leaving now takes them off every bot's sharing (an @domain entry stays) and off "Looked after by": a bot they looked after is nobody's and its asks go to the Admins, and a Chief that would then be its department's second gives up its crown. A bot moved in by them is no longer handed back to them at the next start. One admin activity row names who left and when, with how many bots were handed back and routines handed over, and nothing that was theirs alone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Move the team routine wiring out of server/index.ts and routines.ts The private-routine and leaving fixes grew server/index.ts and server/routines.ts past their listed sizes. Where a routine lives, whether a bot's turn may know of it, where its results may go and the leave clean-up's part in routines now live in server/host/team-routines.ts, and removing one routine with its run history is removeForBot narrowed to that routine instead of a second copy of it. Nothing behaves differently. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Keep only sessions in use alive, honour the remote access rule in the browser, and land only on a first sign-in The roster check now asks about everyone active each round and extends only a session itself used within the hour, so an idle session on another computer still ends on schedule and someone removed is out at the next check. A User's browser sign-in is refused while the team's rule turns remote access off, and their open browsers sign out. An invited person's team takes the window only on a first sign-in on the device with no place of their own on screen; a link's sign-in that ends on another address says so. The team page's address is told to signed-in sessions only. The team link's wiring moved out of main.mjs and index.ts to keep both at their listed size. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Email a Team Cloud member what happened while they were away A mention, a question waiting on them, or work they asked for finishing reaches an away member as one batched email the Admin sends. The machine sends names and hashes only, signed with its bootstrap secret; a private chat's item names no bot and no place. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Add "Email me when I'm away" to Settings → Profile on a team Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Keep the second-instance line the Cloud link's test reads Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Drop an unused test constant Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Type the away tests' fakes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Whoever asked owns the run in a Team Cloud's shared conversations In a conversation more than one person reads, a line from anyone but the person whose request runs is queued instead of steered, never triggers the answer-first stop, and runs after as its own turn. Only the asker or an Owner or Admin stops the run (Stop, typed stop, a group chat's stop words, the guarded request stop); others get "Only Priya or an admin can stop this." Waiting lines carry their writer and the conversation carries whose request runs, so everyone sees the queue; only a line's writer removes it, and only the asker joins their own lines to the run. One module decides (server/host/run-owner.ts); private chats and one-person servers are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Show whose request runs and what is next in a shared chat The working line reads "Working on Priya's request", with one quiet line under it, "Next: Tom's request" (", then 2 more"), and a small remove control only for the viewer's own waiting message. A shared chat shows no queue above the composer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Test and document who owns a run in a team's shared chat Two and three people on a Team Cloud: a teammate's line waits and runs after, cannot stop or join the run, an admin and the asker can stop it, the asker's own addition and a private chat behave as before, and a routine run started mid-run touches neither. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Team: a new thread can be made private before anyone's app hears of it store.createTask told every stream of a new thread before its caller could record who it is private to, so one frame showed everyone a handed-on thread's title (for a fresh thread, the first words of the request) and the private chat it came from. createTask now takes a callback that runs before listeners hear of the thread; hand-offs use it next. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Team: a person's own MausBot hands work to the bots they may chat with, from their private chats Reach past its audience only to bots its person can chat with, only from a chat private to them and only with their own request behind the turn. A bot they cannot see is never named and is refused like one that does not exist; a view-only bot refuses work. The work runs in the receiving bot's own private chat with that person, private before its first frame, and comes back whole. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Team: three-person test and docs for a person's MausBot reaching shared bots Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Team: a new conversation is private before anyone's app hears of it store.createTask told every stream of a new thread before its caller recorded who it is private to, so for one frame another member and every admin could get a person's new conversation: its id and its title (a person's own title, the first words of a hand-off's request, an API caller's message, a routine's name). createTask now takes a callback that runs before listeners hear of the thread, and every caller that records a starter does it there: a person's new conversation, a hand-off's thread, a bot's own new thread, a routine's run, a routine's results chat, a person's inbox, a Chief's notices chat and a thread the bot API opens. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Team: a new member's MausBot is theirs from its first frame, and nobody's copy of a bot moves A new member's MausBot was announced before its main chat was claimed for them, so every admin's stream got that chat's id as a team conversation (and, until a restart, so did one made for a person's inbox). store.createBot now takes a callback that runs before listeners hear of the bot, and both places that make a member's MausBot claim its main chat there. The e2e now also proves the frame seen on screen is gone: while a member opens a private chat, no frame of any kind reaches another member or an admin with its id, and their copy of the bot (its threads, their labels, its main chat and the one Shared chat) stays exactly as it was. That frame came from the same order fixed in the previous commit: with no starter yet, the new chat counted as the team's and became the bot's main chat for everyone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Record who stopped a run, and name people as the People list does The stopped row of a run someone stopped carries who pressed Stop (WireMessage.stoppedBy), from the button, a typed stop and the guarded request stop. The asker, each waiting line's writer and the stop refusal name a person by their profile name, or for an address the part before the @ ("Only Dev or an admin can stop this."). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Shared chat: say who stopped, Stop and Retry for the asker and admins, your own waiting words A stopped row reads "Maya stopped this." to everyone but Maya. Stop and a stopped request's Retry show only to its asker and to Owners and Admins (and to everyone for a run no person asked for). Someone whose message waits sees its words under the "Next:" line with the remove control; nobody else does. Names from an address read as the People list's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Test who stopped a shared run and how unnamed people are named Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Welcome fixes from the on-screen run: own chat shown as private, focus on the action, the team's name for admins A chat the person just started is never labelled the shared chat while its task is on its way. The welcome puts focus on its one action, counts as using the team while it is on screen, and gives a bot with no description a quiet line from its instructions. Owners and Admins read the team's name and what is true on a team in the Cloud welcome. MausBot's own card doesn't interrupt a team's first run. A person no longer in the team is told so in one sentence. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Send a team routine's results where it lives, and let anyone choose Just me or the shared chat On a team every routine a User made reported into a results chat private to them, and its runs opened as theirs, so a routine meant for the shared chat (made there, or given the bot's main thread) was read by nobody else, even when an Admin ran it. A User could not point one at the shared chat either: it was refused as a conversation they had not started. A routine's results now follow where it lives. One of a shared place opens its runs as the team, whoever made or runs it, and reports into the shared chat or a results chat everyone there reads; a private one stays its person's. The routine form on a team offers two places, Just me and Shared chat, and anyone who can chat with the bot may choose either. A shared routine whose results chat was opened privately for its writer reports into the shared place from its next run; the old chat is left as it is. A teammate's own MausBot takes no routine from anyone else, and one its person sets up is theirs alone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * List only the bots a person can chat with in the routine picker on a team The Owner's routine picker listed every member's own MausBot, three entries all called MausBot, and a User's listed bots they can only view. On a team the picker now lists the bots the person can chat with and their own MausBot, never a teammate's, and keeps the bot a routine being changed already has. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Show "Email me when I'm away" at the top of Settings → General on a team It was behind Account's Edit in Simple. It is now its own row of Account there, and stays in the Profile card in Advanced; the docs name that place and say the email's button opens the team's page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Let the results picker tell a team by itself, so the routine page does not grow Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Run the new team test with the locale tests in CI It reads translations through the team fixture, so the CI selection check wants it listed. Co-Authored-By: Claude <noreply@anthropic.com> * Run the new team test with the locale tests in CI It reads translations through the team fixture, so the CI selection check wants it listed. Co-Authored-By: Claude <noreply@anthropic.com> * Run the new team test with the locale tests in CI It reads translations through the team fixture, so the CI selection check wants it listed. Co-Authored-By: Claude <noreply@anthropic.com> * Run the new team test with the locale tests in CI It reads translations through the team fixture, so the CI selection check wants it listed. Co-Authored-By: Claude <noreply@anthropic.com> * Run the new team test with the locale tests in CI It reads translations through the team fixture, so the CI selection check wants it listed. Co-Authored-By: Claude <noreply@anthropic.com> * Run the new team test with the locale tests in CI It reads translations through the team fixture, so the CI selection check wants it listed. Co-Authored-By: Claude <noreply@anthropic.com> * Keep the send, queue and stop routes working when built without the run-owner rule The routes' own tests (and any caller that builds them without it) gave every send a 500 "deps.runActor is not a function". The rule is now an optional dependency: a route built without it refuses nothing and sees no admin, as on a server one person uses. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Brazilian Portuguese for the shared chat's queue, stop and refusal lines The pt-br pack is held complete, so every English key this branch added needs its line there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Translate the away-email switch into Brazilian Portuguese Co-Authored-By: Claude <noreply@anthropic.com> * Fix the desktop's start-up and the CI failures from the team join work The packaged app stopped at launch: the team link's wiring read nativeT before main declared it. It is now read only when called, and a test checks everything handed to that wiring exists by then. The sign-in follow-up no longer names teamLinks inside functions other tests run alone. The 21 new strings have their Brazilian Portuguese. Co-Authored-By: Claude <noreply@anthropic.com> * Team: a person's MausBot reach adds no lines to server/index.ts The check that a personal hand-off opens for the chat's own person, and answers only in their chats, moves into personal-reach.ts as checkHandOn, and the reach is built on the room-access line. Behaviour is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Train: chief-of-staff keeps main's hasAuthority import beside #5177's also --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>On a shared server (and in the hardened server image) a local program without a session gets the service routes only, so `openmausbot doctor` failed there: GET /api/instances was refused, and the refusal was worded as if a desktop app had refused it ("the installed desktop app requires a paired session token"). deploy/update.sh uses doctor for its "can the new version still start a bot" check, so on such a server that check never ran. - GET /api/health/engines answers how many engines could start a bot now, never which. It is a SERVICE_ALLOW row, so a local caller without a session may ask; a caller through a proxy still needs a session. - doctor, refused the engine list, falls back to that count: ready when one engine is, and says the names need a session. - The MCP client's 403 message says which kind of server refused: a shared server's, or the desktop app's, as the server's own refusal says. Co-Authored-By: Claude <noreply@anthropic.com>A server process that dies without closing (out of memory, kill -9) leaves openmausbot-server.lease behind. When Docker restarts the container, the new run has the same hostname but a new pid namespace, and the lease check reads a record from another pid namespace as another container's: every start was refused ("already owned by a process on another machine") and the container restarted in a loop, never healthy. Found with kill -9 of the server process in the compose stack (RestartCount 0 -> 11, "Restarting" for good). The container's entry (server/server-launcher.ts) now removes, before it starts the server, the records this same container left in an earlier run: its hostname, this boot, another pid namespace. Nothing else of the container's runs at that moment, and a container's processes all end with it. Another container's records (another hostname) are left, and a second container on the same volume is refused as before. Co-Authored-By: Claude <noreply@anthropic.com>The Compose files pass `OMB_SIGNIN_EMAILS: ${OMB_SIGNIN_EMAILS:-}`, so a server whose .env does not name anyone still has the variable set, to an empty string. The server took a set variable as "the environment decides", so on every such server Settings → Remote access → "Who can sign in with an email" answered 200 and the list stayed empty (found on a real server, with the installer's compose file; the same holds for deploy/docker-compose.yml and deploy/.env.example). - A variable that names nobody (absent, empty, blank) leaves its list to Settings; config.json, the CLI's `access` note and the settings route read it the same way (server/sign-in-env.ts). - PUT/PATCH /api/config that would change a list the environment decides answers 409 and names the variable to change; a list sent back as the environment has it is no change, so changing the other list still works. - deploy/docker-compose.yml passes OMB_SIGNIN_* with no value, so Compose sets each only when .env does. Co-Authored-By: Claude <noreply@anthropic.com>- U+200B is now the escaped SEARCH_MARK constant, used by the indexer, the snippet cleaner and the tests, so no editor can drop the invisible character. - A CJK run with no bigram ("猫", "猫的粮") now asks for its lone Han characters, so a one-character question still finds its note; a lone kana stays a particle, and a leftover character beside real bigrams is still left out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>From the real-server test of this branch: - home.health.box was always null for a server its owner runs, so the Admin could not see whether the bots' sandbox was on. The server's health answer behind the gate now says `box: "on" | "off"` (botBox.enabled()), the connector reads it with the other home reads and reports `{ box: "on" | "off", checks: null, failed: [] }`: on or off, never the self-check's results. A server that does not say reports null, as before. - The heartbeat's seats was 1 with one admin and one member: not a lag. The owner, paired by code, has no address, and devices without an address counted only while no address was known at all, so the member's address hid the owner. They now count as the owner unless an admin is known by an address (on the list, or an admin session with one). - `mausbot-connector job` without a type, and the command's usage, list the jobs with their arguments, restore's backupId among them (an id from `job status`'s backups). A job given an argument it does not take says which it takes ('unknown argument "id"; this job takes backupId'). Co-Authored-By: Claude <noreply@anthropic.com>* Connecting an app asks which bots can use it Connecting an app gave it to no bot, and the note on the Apps page sent people to a Settings page that no longer exists. - One bot: the app goes to that bot once the connection succeeds. - Several bots: one small prompt, "Which bots can use {app}?", with a switch per bot. Started from a bot's "Connect another app", that bot is already on. Dismissing changes nothing. - Each connected app says "Used by ..." or "No bots yet", with Change opening the same prompt. - A failed or abandoned connection, a reconnect, and a second account of an already connected app ask nothing and write nothing. - Team Cloud: only an owner or admin is asked or can change it, and is always asked, even with one bot. Each person's own helper is left out. Every write goes through appSwitchPatch, the bot's own "Apps it can use" switch. The stale per-bot note is removed from every locale. Co-Authored-By: Claude <noreply@anthropic.com> * A newly connected app is on for your bots, with no prompt Replaces the "Which bots can use {app}?" prompt after connecting. - Every bot whose apps are on can use the new app. Untouched bots already can; a bot with its own app list or tool list gets it added through appSwitchPatch. - A bot whose apps are off stays off, except the bot the connection was started from. - One line that needs no action, "Your bots can now use {app}." with Change, which opens the switch list. It outlives the Apps pop-up. - Team Clouds follow the same rule for an owner or admin; a member's connection still writes nothing. - An app the organization's rules refuse is never granted. Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>29df0fb05(squash, same content) e37805e3ea- pt-BR values for all 20 new claudeBedrock.* keys. - Copy: claudeBedrock.hint says "Run bots"; claudeBedrock.modelHint uses {app} and no longer calls the model optional. - The model is required in claudeBedrockSchema and the form (Save waits for it). The guessed global.anthropic.* default list is gone, since it produced ids Bedrock rejects. The saved model is reported back so Edit shows it. - claudeBilling treats CLAUDE_CODE_USE_BEDROCK=1 as metered: Bedrock bills the AWS account per token, so budgets see the spend. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>* Control plane config: the tunnel switches as they are live Tunnel release at 100%, the at-limit relay answer from 0.1.152, and tunnels only for desktops from 0.1.145. These were set on the deployed Worker on Nov 10 2026; the file now matches so the next deploy keeps them. Co-Authored-By: Claude <noreply@anthropic.com> * Control plane: remove a released tunnel whose computer is still online Cloudflare refuses to delete a tunnel that has active connections (API error 1022), and the desktops the release and the version cutoff take tunnels from are online with cloudflared connected. Marked rows stalled in 'deleting' with cf_api_1022 and the release's backpressure stopped marking more. - deleteTunnel names 1022 cf_tunnel_connected; new cleanupTunnelConnections (DELETE .../cfd_tunnel/{id}/connections). - A forced removal (release, owner's delete, revoked installation) that meets cf_tunnel_connected drops the connections and deletes again at once, for at most two rounds, the last with ?cascade=true (what `cloudflared tunnel delete --force` sends). Idle reclaim is unchanged: it never forces, and its next attempt cancels a connected tunnel. - A forced removal still refused as connected backs off as before and no longer counts toward the release's backpressure. - Per-row worst case 14 Cloudflare calls (was 12 for idle reclaim); the Workers Free guidance becomes 3 rows. - vitest.config pins the release switches off, so the suite does not pick up the live values in wrangler.jsonc. Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>A switched-off native skill was passed to Codex as {name=…}, which also switched off the same-named skills OpenMausBot links into the turn's .agents/skills. Codex turns now get one {path=…,enabled=false} per SKILL.md of that name in $CODEX_HOME/skills, ~/.agents/skills and /etc/codex/skills, built from the turn's HOME and CODEX_HOME before the turn starts. The Skills page lists Codex skills from ~/.agents/skills and /etc/codex/skills with a switch, as it already did for $CODEX_HOME/skills. A skill from this computer the bot switched off stays off for the engine too: its name and the SKILL.md it was brought in from join the native deny list. Switching the engine's copy back on clears that switch. Imported copies under a ChatGPT plan's linked skills folder compare by real path. A native-skills.json that is there but can't be read or parsed no longer means every native skill on: the page shows them off, /name does not expand them, switches refuse to write over the file, and Claude and Codex turns do not start until the file is fixed or deleted. Refs #5449When the Admin turns a plan's cloud computer away by one of the Cloud's own limits, the app now goes by the refusal's new `reason` (hours_used, at_once, too_many_starts, usage_unavailable), `trial` and numbers when the Admin sends them, and by its English when it doesn't, so an older Admin keeps working. - A free trial's wordings ("Your Pro free trial's N cloud computer hours are used up…", "Your Pro free trial includes N cloud computers at once…") now get the plan's card (No hours left / In use) instead of the generic "didn't start" one. A trial's hours have their own line, in every locale. - The bot is told the kind of limit in one fixed sentence ("This Cloud's cloud computer hours for this month are used up; they reset on 1 December.", "This Cloud already has as many cloud computers running as its plan allows.", "Cloud computers were started too often; try again in an hour.", "Cloud computer use can't be checked right now."), then the existing instruction not to retry and to tell the person. - The limit survives end to end: boatRefusal keeps it beside the code, the failed-turn row reads it, and the home's error answers carry it as `cloudLimit` for the computer panel. Co-authored-by: Claude <noreply@anthropic.com>A version with a malformed prerelease ("0.1.153-rc 1") passed the looser check, was recorded, and then compared as below any minimum.1Password Login items without a website (for example with custom "Client ID" / "Client Secret" fields) were dropped, and secret items whose fields are all text (no concealed field) were dropped too. - A Login item's own extra fields (never its username, password or one-time code) are offered as "<title> <field>" secrets. - Secret items fall back to their first field as the main value. - Logins with a website stay fill-only for the password. - The vault row now says "{count} website logins", so the count no longer reads like a cap. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>agent-browser's own description of agent_browser_read ("Fetch a URL as agent-readable text ... Omit url to read the active tab.") was kept while the url field is hidden from its schema, so bots passed url and got only "Tool arguments do not match the advertised input schema". - The read tool now says it reads the open page and to open another address with agent_browser_open first (agent-browser engine only). - A chat-engine call that still passes url gets that same instruction instead of the bare schema error. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>* Settings: one grouped window, one outer menu, Phone & devices on every place Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Settings: search over rows, Advanced rows from search, every locale, tests moved to the new tree Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Settings: smaller swatches, About you always shown, a quiet search field Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Settings: an opaque page header, and found rows land below it Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Settings: a row opened from search shows its note above it Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Settings: other places come from this computer's list when the rail keeps its own Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Settings: say Same on every place only once there is another place Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Settings round 2: one row design everywhere, store links instead of codes, and every rail says the same - Phone & devices: Get the app is words with App Store and Android links; the pairing code is the only code to scan, with "Open MausBot on your phone and scan this code." under it. Pair a phone asks Same Wi-Fi or Anywhere as two choices (Anywhere needs a sign-in, with Sign in on its card), says the local network prompt is coming, and has a close button. A Cloud's code dialog never shows the server's setup message. Paired phones have a visible Remove and "Same Wi-Fi · Connected"; More ways in opens inside its own card; On your other places is on every rail. - Rows: page header, scope line and intros line up with section titles; selects are 160 to 240 wide; a fold opens rows in its own card; an inert row keeps its control at 40% with "Change this from This computer." and Switch to This computer, which a Cloud's page asks main for (rail.openComputer, click only); no card inside a card. - Pages rebuilt on the rows: AI providers (one card, More providers folded inside it, Other services as one card), Data (Export and Import open small dialogs; switches for event log cleanup; Move to My Cloud), Desktops & browser (Cloud, Private and your own desktops with their state first; the builder's panel only behind Details), Spending, You and your bots (labelled fields, Limits as rows), Vault, Appearance (borderless theme tiles), Plan & billing (one page on both rails: Plan, This week, Compare plans, Cancel plan last), Your account on a Cloud (email, Refresh and the way to This computer), This app. - Outer menu: 272 wide, a divider before Plan & billing in both modes, the same "Pro · email" and weekly use on every rail, Sign out last, Simple's places at phone width, Help in sentence case with What's new and About MausBot. - Narrow: the sheet starts beside the rail and below the title bar, the page title is centred on the sheet, Midnight uses the desktop sheet and card colours. - Loading and unreachable states, search ranks Phone & devices first for "phone", and the contrast check measures the off-switch outline in every skin. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Settings: store names stay on one line; tests follow a team member's pages Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Settings round 3: Simple shows eight entries, no store links, every block in the row design Simple mode's nav is shorter: the place's Overview, Phone & devices, AI and Vault, Your account and Plan & billing, This app and Appearance. You and your bots, Desktops & browser, Spending, Data and General come back in Advanced, in place. A link, a notice or a search hit that asks for one of them turns Advanced on and lands on the row; turning Advanced off there lands on Overview. In Simple, language and notifications sit on This app, backups under Overview's Your data, and what the place cost this week on Plan & billing. AI's Other services is one closed fold, the domain one link row. Phone & devices starts with pairing: no Get the app step, no store or download link anywhere in the desktop app, one plain sentence instead. Anywhere stays in place, inert, until you sign in. The AI page's Backup model, Routing and extraction, Workers AI and Images, the key folds of Other services, Desktop details, Spending, Activity and the domain card are rebuilt from the shared rows: one title per section, cards of rows, stacked 32 px fields, 28 px pills, Save in the card's foot, long help behind Learn more. A Card inside a card of rows is now a part of it, never a card in a card. Section headers keep their action on the title's line; inert rows centre their control and repeat their reason as a tooltip; quiet buttons end on the control edge; nav and row focus rings are inset; one-line labels stay one line (the settings-wide text-wrap rule no longer undoes nowrap). Plan & billing is one Plan card on every rail (the plan with Renews on, Compare plans, Open My Cloud, Cancel plan last) with This week under it. Your account keeps its rows on a Cloud's page (the organization sign-in inert, Emails from MausBot live) and Sign out is last; every Sign out now asks "Sign out of MausBot?" and says what keeps running. One home (main's home:page) decides whether This app's rows and your account live on the page. This app on This computer shows its version live, and a Cloud's page lists your places through the workspaces bridge. Outer menu: Plan & billing joins Settings' group in Advanced, the Help submenu sits level with its row on a 32 px pitch at 240 wide, and My Cloud's rail has a Sign out row that goes to This computer. Pair dialogs centre their close button on the title. Every key these surfaces render now exists in all 15 languages (a new test checks it), German and Slavic place templates no longer decline the place's name, and a settings string no longer names other products. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Settings round 3 after main: hairline edges, a one-window This app in Simple, tests follow the new rows Cards draw their 0.5 px edge as an inset hairline above their rows, and the nav's right edge and its footer line are hairlines too, so no edge is rounded up to a whole pixel and cards read as light as their dividers. In Simple, This app keeps Updates, Language and notifications and Help (About joins the Help card); Your computers and Logs and diagnostics are Advanced. Other services opens when a key is asked for from Simple. Cancel plan's button is named for its row, the Boat offer keeps "You claim it yourself", and main's Published apps label is in every language. Tests follow the new design: Sign out's confirm, the one Plan card, None as the first swatch with one line per row, a phone page with no Get the app step, search landing on Simple's own homes and turning Advanced on, and Plan & billing beside Settings in Advanced's menu. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Settings round 3: Simple's This app and Overview fit one window In Simple, This app's Help card keeps Help Center, Send feedback and About (shortcuts and the tour stay in the outer menu's Help), and a place's own address is Advanced only, so neither page needs scrolling at 1280 x 900 once the 30-day grouped note is gone. Search marks the address row Advanced, so choosing it from Simple turns Advanced on. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Settings round 3: every row's other wording is translated too The Settings locale test now also reads both keys of t(flag ? "one" : "other"), which found 22 more strings (Simple's short descriptions, the Advanced mode and analytics lines, the move badges) falling back to English; they are now in every language. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Settings round 3: Simple's Help card is Help Center and About Send feedback, Keyboard shortcuts and the tour stay in the outer menu's Help submenu, so This app in Simple fits a 1280 x 900 window. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Settings round 4: the footer as on main, one row height, Address only on a server, every pairing door says one thing - Sidebar footer: the Advanced avatar loses the fill the menu work added, so the footer matches main again. - This app's scope line no longer promises "same on every place" while its settings are still kept per place. - Rows: the text block sets the height (title-only rows are 44 whatever the control; an empty slot gives its height back), fields edge in the 0.5 px hairline, every select and field shows the 2 px focus ring, narrow cards drop selects and wide buttons under the text, rows grouped in a wrapper get their dividers. - Phone & devices: one untitled "Your phone" row ("then pair it here"), the code dialog says "Scan it from inside the MausBot app, not the camera." with the QR centred, other places say what they hold and the callout's place is not listed twice, Advanced starts with the same closed reach row, a paired phone's button says Access. - Address (was Connect your domain): only on a self-hosted server, one row with its form in a fold and the server guide behind Learn more; a managed Cloud has none. - Account: one card on both rails (picture, email, Sign out or "from This computer" last); Simple shows Organization only once there is one; the menu and Help say "from This computer" in full. - AI: Backup model saves as you go, Images' key card is the provider-fold form, no Coming soon rows, Other services keeps one text edge, Check again ends on the control edge. - Search results: full-width titles, "owner › page" with the page kept whole, Advanced tag on the second line. - Early features (renamed, tagged, every row the same anatomy); New browser moves to Desktops & browser › Browser. - Spending, Plan & billing, Data, Desktop details, themes, the pair dialog, Your computers, the menu's width and groups, the narrow header and the loading states follow the round-3 notes. - Strings: new and changed keys in all 16 locales, the most visible Simple rows translated where packs lacked them, stale references to "Settings → API keys" in Desktop details point to AI › Other services, no product names in the new descriptions. A closed-scale ratchet test keeps Settings' off-scale classes from growing. Co-Authored-By: Claude <noreply@anthropic.com> * Settings: the switch to This computer's settings lives in its own file electron/main.mjs is at its size limit, so the helper moved to electron/open-computer-settings.mjs. No behaviour change. Co-Authored-By: Claude <noreply@anthropic.com> * Settings round 4: Simple's Overview fits one window with the grouped note; Address's field is labelled once Co-Authored-By: Claude <noreply@anthropic.com> * Settings round 4: the menu's long "from This computer" rows wrap instead of being cut short Co-Authored-By: Claude <noreply@anthropic.com> * Settings: tests follow the new structure - The macOS app menu's item is Settings…, the phone chip opens the phone page, and the pop-up frame may add its own style. - The real-renderer tests open AI › Other services for a saved key, turn Advanced mode on for New bot defaults, and turn it off again after the bot panel's Usage row opens Spending. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* Team phone pairing: say to scan the code from inside the MausBot app, not the camera The Team Cloud's "Open on your phone" card still said "Or scan it with your phone's camera to open it in the browser." under the pairing code. It now shows the same line as the other pairing dialogs ("Scan it from inside the MausBot app, not the camera.", phone.code.notCamera, translated in every language), and the unused remote.serverPairing.camera line is removed from every language pack. Co-Authored-By: Claude <noreply@anthropic.com> * Point stale Settings references at AI › Other services and Routing and extraction Settings no longer has an "API keys" or a "Decision and extraction" page: keys live under AI › Other services and the helper models under AI › Routing and extraction (Advanced). - The "Open API keys" buttons (engine setup, research, live calls) read "Open AI › Other services", like the other key links; they already open that section (section "connections" → AI, ai-keys). - The VPS SSH alias hint and error, the Boat line a phone reads for a cloud desktop without a key, and the server's VPS status say AI › Other services. - The helper tools tell the bot to point at Settings › AI › Routing and extraction (the Add key card opens it, section "decisionModel"). - Every language pack carries the new lines; source hashes updated. Co-Authored-By: Claude <noreply@anthropic.com> * Docs and tests name AI › Routing and extraction and the new key link README and the decision-model, Cloud and proactive-routines docs point at Settings › AI › Routing and extraction; the live-call, research and keys-page tests look for "Open AI › Other services". Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>The Local VM starts its driver in standard mode with no grant, so every browser_prepare with strategy existing_profile is refused with browser_consent_required ("requires --grant existing-profile or an embedding authorization host"). The driver's hint then tells the bot to "ask the user to authorize it", which the person cannot do. Start the VM's driver with --grant existing-profile: the Chromium it attaches to runs inside the bot's own container, which is already the isolation boundary. Bump IMAGE_LAYER_VERSION to 9 so existing images rebuild. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>`codex login status` reports an API-key login as signed in ("API key configured" on 0.165, "Logged in using an API key" on 0.160). The Codex snapshot did not say it was a key, so Settings showed the ChatGPT account as "Signed in" with a Sign out item, and Sign out then failed with "did not confirm a ChatGPT sign-in" because the device sign-in only signs out ChatGPT logins. The snapshot now sets account.method "api-key" for an API-key login (and skips the ChatGPT email lookup it cannot use). Settings already shows such an account as "Uses an API key" with no Sign out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>The reset route answers { ok: true, pending: true } when Boat accepted the deletion but has not finished it; the button dropped that result, so the panel could show the same starting computer with no word of the pending deletion. It now shows a short note in that case. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>"Load video" read the whole file into a Blob before the player could start, so a 20 MB clip on a slow link showed "Loading video..." for ~20 s and clips over the 25 MB preview cap could never play inline. The message-file POST now answers { path, media: true } with a short-lived link (in memory, bound to the thread, message and viewer; 15 min idle, 4 h max). The player streams GET ...?media=<id> with Range support, and every message, root, folder and MIME check runs again on each request. Older servers still answer with the bytes, and the client keeps the old Blob path for them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>A new agents tool, reset_cloud_computer, shows a permission card in the chat ("Reset X's cloud desktop?"). On Allow the computer is deleted the same way Settings > Reset does, once its bot is no longer working (a computer in use is retried every 5 s for up to 3 minutes). A Chief of Staff can also ask for a bot in a department it manages (for_bot_id). Mounted only where cloud meetings are (the hosted cloud), card text comes from the language packs (en, de), and leftover cards are closed at start. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>The tip label used a hardcoded OpenMausBot; renderer copy names the app through {app} (MausBot). en/pt-br/zh-tw use {app}, the pt-br and zh-tw hashes are re-recorded, and the setup records block says MausBot. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Owner rule (Nov 11): no new permission cards. After the existing checks the bot's call posts one plain line ("Resetting {name}'s cloud desktop: {why}"), starts the reset at once (still retrying 5 s x 36 while the calling turn holds the computer), and patches that line with how it went. One reset in flight per computer, and the Chief rule, stay. Removes the card path: answer, the ownCards hook into createQuotaSwitchHost, the harnessCardOutcome line in respondToCard, dismissStale, approval.tool.resetCloudComputer and server.cloudReset.title/what (en, pt-BR, de and hashes). Tool description and tests follow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>In a room, the label above a bot's message was 11px and did not say who the bot was talking to. Now the name is 13px semibold in the bot's own identity colour (avatar 20px), and when known the label shows who the message is for: the author of the message it replies to ("You" for the person) and the room bots it @mentions, each in their colour. The 1:1 teammate label (PeerLabel) gets the same bigger, coloured name. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>A webhook trigger can now carry payloadFilter: up to 10 dotted field paths, each with the text it must have. A call whose JSON does not match every field is recorded as ignored (202) and starts no run, so a bot no longer spends a whole run deciding "if it is not X, stop". Matching is case-insensitive; a list along the path matches when any item does. The person's own Run now test is not filtered. The trigger tool takes it as webhook_payload_filter on when=webhook (create and update, {} removes it) and refuses it elsewhere. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>In simple mode the + menu shows "New conversation with {bot name}". The menu is w-max and anchored right-0 with no max width, so a long bot name made it grow left past the window edge and cut off every item. Cap the right-anchored menu at the sidebar width and truncate the bot name (full name on hover). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Additive. A phone can then tell a computer too old for a feature from a missing route. The version is a release version (x.y.z with an optional suffix) or absent: - the server's authenticated GET /api/health gains version; the answer to a stranger stays {app: "openmausbot"}; - the companion's GET /api/health adds it only for a request with a paired device's token, and its GET /api/companion/endpoints (and so the companion.endpoints frame) always does; - Electron passes app.getVersion() to the companion as OMB_APP_VERSION, as it already does to the server; - the relay's GET /api/companion/endpoints on a server or Cloud adds it. Co-authored-by: Claude <noreply@anthropic.com>scripts/sync-phone-protocol.test.mjs imports the script through vitest. A Windows checkout (core.autocrlf) gives the script CRLF line endings, and vitest fails to load a file that starts with a shebang and has CRLF line endings ("SyntaxError: Invalid or unexpected token", 0 tests), which failed vitest (windows-latest, shard 5/8). Pin the script to LF, as was done for scripts/tighten-ratchets.mjs and skills/**. Co-authored-by: Claude <noreply@anthropic.com>Unknown file types are stored as inert downloads (.bin unless the original extension is a safe [a-z0-9]{1,10}) and served as application/octet-stream with Content-Disposition: attachment and nosniff, never rendered in the app. The browser, phone and My Cloud composer no longer rejects files by type. Closes #5772 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>Bot pictures and the person's photo already existed in Settings (pick a file, crop, remove, generate), shown through BotAvatar, InitialsAvatar and PersonFace with the mascot face as the fallback. This adds: - app_settings: bots.picture and profile.photo take {path} to a picture file in the bot's workspace, its working folder or this conversation's files. The file opens through the message-file resolver (real path inside those folders, no link at the end, 5 MB cap), an attachment-store file only when this conversation carries it, and its bytes must be PNG, JPEG, GIF or WebP. It is copied into the attachment store and applied through the same routes Settings uses, with Undo. An empty path takes the picture off. profile.photo was owner-only before. - data-avatar ("picture" | "mascot" | "initials") and data-avatar-kind ("bot" | "person") on every bot and person face, for themes. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>Electron's app.getPath("documents") throws when Windows can't resolve the Documents known folder (e.g. redirected to an unplugged drive), and Files read it while main.mjs loaded, so the app died before any window. Fall back to Documents in the home folder, the folder's default place. Signed-off-by: Zhaowei Gu <83746079+zw-g@users.noreply.github.com>browser-auth.ts: - await chromium.launch() (major: promise treated as sync object) - console message + pageerror + crash handlers -> reject pending login wait - bound inactivity timer; page/timeout cleanup once (no double timeout) - debug log captured under sanitizedData, no protocol URL in logs mistral-vibe.ts: - browser download path stays inside the cache root with the same traversal guard as app extraction (2 tries -> ENOTEMPTY) - normalized absolute command path via realpath, matching CCR guard engine-standalone.ts: - follow() re-anchored on '@model/' prefix; break/false for ending segments resolving to a file - symlinks: only delete inside engine root, no children follows - agents-cache reset: strip export {, stdio pull, and dotenv entries - OSC 9;4 validation: ctrlParam exclusive; theatre sequences skipped - fused path traversal guard, ran once, covering '..'/'.'/'' and symlink follows with MAX_LINK_HOPS - verifyBrowserDownload no longer throws before writeCandidate map - steed profiles wd path is the sanitized relative root (was absolute) tests: chain guard matrix, symlink no-op outside root, OSC validation, follow()/steeds fixtures, browser failure rejects pending login Generated by Mistral Vibe.- file-size pins back to main's (core.ts 1703, config.ts 1244); config.ts fits by sharing the DeepSeek/Vibe routing case and the Mistral key line. - pickAuthMethod skips Vibe's browser-auth when it is already signed in (key, whoami cache or keychain), so a turn no longer sends authenticate; tests cover both sides. - core.ts's ENOENT message for every ACP engine is main's again. - productName() / {app} instead of "OpenMausBot" in the server hint, the install failure, the 403 on a remote sign-in and the card description (en + pt-BR). - EngineSetup keeps the ChatGPT browser-pkce check beside the new engine-browser one in the app-copy branch; three lines joined by the PR are split again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>* Relay connection: stable-only backoff reset, hello watchdog, liveness check The computer's relay control socket (companion/src/e2e/relay-client.ts, used by the desktop sidecar and the headless server): - The backoff count resets only after a socket has stayed connected 30 s. Before, every `hello` reset it, so a relay that accepted and then dropped the socket was redialled at once, in a loop. - A dialled socket with no `hello` within 15 s is dropped and the next node dialled with backoff, instead of waiting for TCP to give up. - While connected, every 2 min (and when the sidecar sees the network change) the socket is asked to answer: an `auth` with the current token, which the relay already acknowledges with `hello`. No answer within 10 s: dropped and dialled again once, with backoff. - A network change while waiting out a backoff dials now, keeping the count. 4429 waits at least 30 s, as the spec says. - The client reports why it is not connected (no_answer, token_refused, busy, unreachable, replaced); the sidecar's state carries it as `e2e.relayProblem`. The desktop's relay token service (electron/relay-token.mjs): - With `wakeAfterSignInFailure` (the desktop sets it), a signed-out or 401 answer waits for a sign-in, a new installation credential or a wake from sleep instead of asking again every 30 min. The headless server keeps the 30 min retry: a `login` in another process sends it no event. - `status` reports the token's state and one fixed failure word, never the token or a server's message. The fake relay answers a refresh with `hello`, as the real relay does, and can play a relay that never answers. README sections 9 and 10 note the acknowledgement and the new timers. Co-Authored-By: Claude <noreply@anthropic.com> * Phone & devices: a step-by-step connection check with Copy diagnostics A failure used to read as one sentence ("Secure access needs attention"). src/lib/remote-access-diagnosis.ts turns the state the desktop already has into four steps (This computer, MausBot account, MausBot Relay, your phone's way in), each ok, failed or not checked with a plain reason, a headline, what to try, and a text to copy. - Shown under the pairing screen's existing failure message, and in Settings > Phone & devices as a closed "Connection check" row whose value is the headline. Nothing new opens or interrupts. - The relay step is ok only once the relay acknowledged this computer (`hello`); its failures come from the relay client's new `relayProblem` and the token service's `status`. - The account's public state gains `problem`: one of seven fixed words mapped in the main process, so control-plane codes still stay out of the renderer. - The copied text holds the localised lines, codes, counts and yes/no facts only: no email, address, hostname, IP, pairing code, token, key or device name. Tests assert that across failure shapes. - English strings added; other locales fall back until translated. The model's shape adapts an MIT-licensed connection diagnosis; the file carries its copyright line and NOTICE names the source file. Co-Authored-By: Claude <noreply@anthropic.com> * Connection check review round: bounded sign-in wait, quieter diagnosis Relay token (electron/relay-token.mjs): - After a sign-in failure the desktop still waits for a wake-up, but no longer forever: a fallback asks again after an hour (±20 %), the healthy refresh cadence, so a 401 from a control-plane fault heals on its own and a dead credential asks no more often than a working one. - A wake-up that arrives while a request is in flight (one that may carry the old credential) asks again once that request settles. Relay client (companion/src/e2e/relay-client.ts): - The redial after a failed liveness check waits a random 0-5 s at least, so the hosts a stalled node drops do not all redial at once. - A network change dials early only after a failed or silent dial; a wait the relay asked for (4429, 4503, `restarting`) is kept. README section 10 says so. Diagnosis: - The account step reads "Not needed for Same Wi-Fi or Tailscale" when neither Anywhere nor the HTTPS address is on (the pairing screen still asks for it), and "Not set up in this build" when the build has no control plane (a new `unconfigured` problem word). - A relay idle by design (no phone needs it) reads "Starts when a phone needs it", and a connected relay stays ok while the service is down. - A refused relay sign-in says what happens next by itself instead of "Sign in again", which had no control in that state. Tests for each, plus a liveness check answered with 4401 and `restarting` showing "connecting". Co-Authored-By: Claude <noreply@anthropic.com> * Relay client tests: no wall-clock upper bounds that a slow runner breaks The network-change test asserted the early dial came within 1 s, which a slow CI runner missed. The relay client's backoff ladder is now a timing option, so the tests set it instead of racing the built-in one: - network change: a 30 s backoff, and the second dial must come while it is pending, so it can only be the shortcut; - no redial loop: a ladder of 0 then 60 s, so exactly two dials; - backoff reset: a ladder of 0 then 60 s, so a fourth dial needs resets. Other waits get a 15 s bound, a liveness check is acknowledged by its `hello` instead of a fixed pause, the 4401 test uses a fake relay that refuses refreshes instead of a token expiring on the clock, and the hello watchdog allows 1 s. The remaining fixed pauses only bound a count from above, which a slower runner cannot break. Co-Authored-By: Claude <noreply@anthropic.com> * Connection check: Brazilian Portuguese for the new strings pt-br is the one pack held complete (src/lib/i18n.test.ts, activePackComplete), so the 62 strings this branch added to en.json need it too. Wording follows docs/localization-pt-br.md and the pack's own terms for the same things: "Mesmo Wi-Fi", "De qualquer lugar, pelo {app}", "MausBot Relay", "parear", "celular", "Sem login", "diagnóstico". No hash edit: the release's --record-hashes records new keys from git history. Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>Grok Bot runs a custom connector from its own cloud computer, so the link has to be a public HTTPS address. POST /api/setup-import/grok/connector opens a second loopback listener that answers only POST /mcp/move/<key> and starts the bundled cloudflared as a quick tunnel to it. The MCP has the two tools the published MausBot bot calls, move_status and send_export { document }. A sent document goes through parseGrokExport and is kept in memory as grokExportDocument() writes it. A link holds at most 100 documents and 16 MB, and a request body at most 4 MB. The link ends on DELETE, after an hour, when the server exits or when cloudflared exits; the last two leave what arrived readable and report stopped. cloudflared gets a config file of its own and a PATH-only environment, so a ~/.cloudflared/config.yml is never read. The routes keep the GROK_LOOK_PATH guard: the desktop app's own loopback only. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>team-phone-data.e2e: the test linked @duckdb into the Team Cloud's native tree after the server started. The server's first config broadcast (after the new-bot default's test message, server/tested-ai.ts) calls dataEngine.unavailable(), which loads DuckDB once and keeps a failed load for the server's life. When that broadcast won the race, every Data call answered 503 "Cannot find module '@duckdb/node-api'". The fixture now takes team.native and links those scopes before the Team Cloud starts. frame-batching: the batch also flushes after a 100 ms fallback timer (a hidden window gets no animation frames). Ten setTimeout(0) tasks take about 156 ms on Windows' 15.6 ms clock tick, so the fallback drew mid-burst ("nothing renders before the paint: expected 4 to be 3"). The burst now runs on fake setTimeout, 1 ms per frame, each frame still in its own real task (setImmediate), and the paint is called explicitly. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>A tools/call to an MCP server that runs on a lent computer now carries _meta["openmausbot/caller"] = { botId, threadId, verified: false }, so the server can tell which bot and conversation called it. Handshake so nothing older breaks: the server advertises mcpCaller, the desktop registers mcpCaller only for a server that advertised it, and the server puts caller on an mcp_call job only for a desktop that registered it (older desktops refuse unknown job keys; older servers refuse unknown registration fields). A bot's own shared_computer operation can't set it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>POST /api/bots/:id/context answers { threadId, breakdown }. The breakdown is the engine's own count (ProviderAdapter.contextBreakdown), read from the live Claude Code process with a get_context_usage control request in summary detail, which makes no model or token-count call. It is null when the thread has no live process, after Start fresh, and on every engine that does not count its window by category. Nothing is stored. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>* Sidebar: this computer's bots and My Cloud's in one list, behind an early switch Settings → MausBot Cloud gets one switch, "This computer and My Cloud together", marked Early and off by default. With it on, the sidebar of this computer's page and of My Cloud's page also lists the other place's bots in a group of their own ("On My Cloud" / "On this computer"); bots that live on My Cloud carry a small cloud beside their name. A click on one opens that place at that bot. A page can only talk to its own place, so the main process joins them: it reads the other place's bots as the signed-in person (background work, never asking a sleeping Cloud), keeps the rows, and hands them only to this computer's own page and My Cloud's own page. With the switch off it reads, keeps and sends nothing. Rows are keyed by home and id, since ids are unique only within a place; every row carries its home. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> * Together: lists belong to one Cloud and account; a sleeping Cloud is never asked; review fixes - Rows are kept for the Cloud address and account they came from. A change of either, or a sign-out, drops the rows, any read still under way and any waiting click at once, so another account never sees or opens the last one's bots. - My Cloud is read only right after the Admin said it is awake (the session is refreshed just before each read), at most once a minute, and only while the window is focused and the screen is not locked. A home that agreed to sleep now answers a background-marked GET /api/bots with the "asleep" answer, as it does for Files and lending. - A click's wait ends on a timer, when main's switch ends with the window still on the page it left, and when the person goes back to that page, so "waking" never stays and a later open of My Cloud opens it as it is. - A Cloud this window is not signed in to (401/403) says "Open My Cloud once to sign in." and is not asked again until it has been opened. - A bot hidden from the sidebar has no row in the other place either. - Only this computer's page turns the switch on; either page may turn it off. - The list helpers nothing used are gone; rows carry `home` and are keyed by home and id. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> * Test: the background-command sleep test waits for its second look instead of counting after a fixed 3.5 s On a slow Windows runner only one look at the running command had happened by then. The test still waits the 3.5 s, then waits for the second look before checking the computer stayed on. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>The MiniMax driver carried MiniMax's models but not its thinking controls, so the picker could only send what OpenAI's shape allows. MiniMax takes its own: reasoning_effort for the depth on MiniMax-M3.1-Flash, and thinking: { type: "disabled" } to answer straight on MiniMax-M3. The driver now offers both as variants of the model they belong to, and the OpenAI chat runtime takes a reasoningOffBody so a provider whose API has no reasoning_effort: "none" can answer the reasoning-off route with its own switch. MiniMax's API answers 400 to reasoning_effort: "none" and to a disabled thinking on MiniMax-M3.1-Flash, which always thinks, so neither is ever sent. The rest of the driver is unchanged, and the key still comes from the same place: MINIMAX_API_KEY, mmx auth, or the instance URL.* Bots on this computer and on My Cloud hand each other work over one standing link Behind the "This computer and My Cloud together" switch. The computer's server asks My Cloud and both directions travel over that exchange; each side learns the other's bots; a message or an assignment crosses with its result, once, and waits for a computer that is off. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> * The bot link's hook in the sign-in change is guarded as its neighbours are; work held for a place that was away is not expired by the look that finds the place back electron/main.mjs: the account-state change told the bot link with a bare `botLink?.look()`. electron/updater.test.mjs runs that part of main.mjs in a sandbox, where the name did not exist (ReferenceError on every run). The call is guarded like the hooks beside it, the sandbox is given a bot link, and the test now checks that a change of the sign-in is told to it. main.mjs keeps its line count. server/runtime/runtime.ts: a queued assignment for a place that was away had its queue window measured from the last look that saw the place away. When the look that first saw the place back came later than the window (a slow write as the place returned), the work failed as "never started". Seen on the Windows shards in server/bot-link/link.test.ts ("the computer is off ..."). The windows now start when the place is first seen back. server/runtime/runtime.test.ts holds it. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>connectorScopes gains accounts: { <toolkit>: [connected-account ids] }. In an app with a limit, connectorAccessDecision refuses (reason "account") any call that does not name an allowed id in its account field, so the relay, the dispatch re-check and the other scope checks all apply it. Apps with no limit behave as before. - connectorCallsIn keeps the multi-execute item's account - prompt names the allowed account ids per limited app - PATCH treats dropping a limit or adding an account as loosening (widensConnectorScopes) - Access settings: per-account checkboxes when an app has 2+ accounts Feature requested in email 1a1dfbea (bug inbox). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>* Groundwork: one classifier for failures that are the server's own, and the self-hosting section for unattended limits server/host-fault.ts names a failure whose cause is this server, a tool server or a sign-in (process start, full disk, MCP server down, signed out) from the failure's words, for every place that decides whether to start the same work again. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> * Pause every bot: one call and one menu item on the existing pause POST /api/paused {kind: "all", paused} holds every bot through the same store that pauses a bot or a department, so each routine or webhook run that comes due is let go with one line on its row, messages and hand-offs are refused, and work in progress stops. Ending it leaves a bot or department that was paused by itself paused. The control is Pause every bot / Resume every bot under More in a bot's sidebar menu. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>A strict tool-calling engine fills every optional field, so append and prefer arrived with old_text "" and the schema check refused them ("old_text must not be empty"), even though neither action uses old_text and the advertised schema hides minLength 1. A blank or null old_text on append or prefer is now dropped as "not given"; replace, supersede, remove and forget still require one. A non-blank old_text on append now gets a clear error naming the field instead of the generic "Use append with text, ..." message. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>* WIP: change an added OpenAI-compatible server's base URL in place Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Settings: change an OpenAI-compatible provider's base URL in place PATCH /api/instances/:id now takes {url, apiKey} for an added OpenAI-compatible server. The address changes in place: the instance id, model IDs, bot bindings and saved key stay. A new address on another host (hostname or port) needs the API key again, since a saved key is only sent to the host it was entered for. Detected model lists are read again after the address or key changes. Owner/admin only, JSON-only, 409 while provider settings are changing or a bot using it is mid-turn, read-only on hosted. Settings -> AI: the edit button on an added server opens Base URL (prefilled), API key (empty keeps the current key) and model IDs; Save stays off with a one-line hint while a new host has no key. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Base URL edit: compare origins, read models after the busy guard, warn on an unreadable list - A saved key moves only within the same origin (scheme, host, port), so https -> http on the same host needs the key again; the Settings editor keeps Save off with the hint in that case too. - Ollama's placeholder key moves to any address without asking; the instance list marks such servers placeholderKey. - The model list is read again after the busy guard, so bots on the server are not refused while it answers. - When the new address does not list its models with the key, the change is still saved (200) with a short warning, which the editor shows as one line and stays open. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>1fcfce88d) 84d5579866* Routines and incidents back off and are bounded when unattended work keeps failing A routine stays on however often it fails; what changes is how much a failure can spend, and each limit leaves one line where the person looks. Failing routines - After OMB_ROUTINE_FAILURES_BEFORE_SPACING (3) failed runs in a row, the routine's scheduled runs are spaced out: OMB_ROUTINE_FAILURE_SPACING_MS (1 h) after that failure, OMB_ROUTINE_FAILURE_SPACING_MAX_MS (4 h) after each later one. The skipped occurrences share one counted `missed` row ("Skipped 12 scheduled runs because its last runs failed, so its next tries are spaced out"), as the cloud-desktop spacing does. A completed run, an edit or turning it on again ends it; runs only the owner's AI account blocked are not counted. A cron of `* * * * *` is still accepted and spaced the same way. - The automatic second start is kept only for failures a retry can pass (rate limit, overloaded or temporary provider error, a crash, an engine stopped for memory). A dead tool server, a sign-in, a full disk or an engine that could not be started fail the run at once. - The second start continues the same conversation with one short note when the conversation already holds the routine's instructions, and replays them only when the crashed start left nothing. - host-fault.ts also names out-of-room failures (the no-room notice, memory stops, SIGKILL/137 exits, an engine that never sent its first frame) as the server's own; retryCannotFix leaves those to the admission. Incidents - The same-error damper compares failures without ids, paths, numbers and times, so one failure is told once however its words vary. - A Chief is started for at most OMB_CHIEF_INCIDENT_TURNS_PER_HOUR (6) problems an hour across threads; the rest are counted on one line in its "Problems to look at" chat, naming the newest. - A Chief told of a failure a retry cannot fix is told not to retry it. Restarts on a headless server - Startup routines run at most once in OMB_STARTUP_ROUTINE_GAP_MS (30 min) when no desktop launch id is set; skipped starts are counted on one row per routine. - Runs a restart cut off start again OMB_ROUTINE_RESTART_STAGGER_MS (30 s) apart instead of all at once. - A burst part, or its merge, starts again after a restart at most OMB_BURST_PART_MAX_RESTARTS (2) times; then the part fails with one line and the parts are posted as they came. Turns started, before -> after (tests count them): - 5-minute routine, dead tool server, 24 h: 575 routine + 287 Chief -> 9 + 2 - 5-minute routine, engines cannot start, 24 h: 575 + 1 -> 9 + 2 - 20 failing routines under one Chief, first hour: 220 Chief turns -> 6 - headless crash loop every minute, 1 h: 60 startup turns -> 2 - burst of 2 parts, 10 restarts: 22 part starts -> 6 (+3 merge starts, then the parts are posted) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Review fixes: classify only failure words, end streaks on account stops, tell the person of folded problems - host-fault.ts reads only the system's failure words and stop reason: a routine's name ("Rebalance my 401(k)") or a tool's 403 never reads as a sign-in. signed_out is anchored to the engine's own shapes (Not logged in, API Error/HTTP/(status/unexpected status 401, authentication_error, invalid api key, OAuth token expired). ENOMEM and "cannot allocate memory" are out_of_room, as is "exited null"; "MCP request timed out" is no longer a tool-server fault; an engine exit's stderr tail never makes it one. - Incidents carry the failure apart from the routine's name. - A run only the owner's AI account stopped ends a failure streak and any spacing it began. - Past a Chief's hourly share, each folded problem not already announced is notified to the person, and the one line lists the chats (first five) and links the newest. - failureShape keeps exit codes, HTTP statuses and model ids apart; it strips times, paths, ids and standalone numbers of four digits or more. - The short-note second start is used only when the engine resumes a session on the same engine, or a replay within its budget still holds the prompt; a backup AI, a usage-limit wait or a /command routine resend it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Run the incident spend test without the other languages' server lines It checks only English lines, so it no longer loads server/server-line-packs.ts and stays out of the locale tests (scripts/ci-scope.test.ts). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Brazilian Portuguese for the folded-problems and routine start-skip lines The pt-br pack must hold every English key (src/lib/i18n.test.ts, activePackComplete). Adds the five new lines and records their source hashes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Give the spaced-out routine e2e room for each run's automatic second start Every run in this test fails twice, and its second start comes 15 s after the first (ROUTINE_RETRY_MS), so a run takes over 15 s on main and on this branch alike. A 30 s poll left too little room on a busy machine; it now waits up to 45 s per run, and the test up to 240 s. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* Bots offer the switch to This computer instead of inventing settings A bot on an API model working on its Private desktop, asked to write into a folder on the person's PC, could not reach it and sent the person to a "Settings → Computers" screen that does not exist. - Place rules: on a desktop where This computer can be picked, a bot not on it is told that a host path, Desktop, Documents, OneDrive or "my PC" is on this computer; it offers the switch in one line, calls select_computer with surface local (one-tap allow, none with Full access), and when the person asks or agrees keeps it via app_settings bots.settings. - vm_exec refuses a command naming a path only this computer has, saying where the bot works and the exact switch, with the real control names (Bot's screen, "Where {name} works", This computer). - list_shared_computers says this computer is never in its list; a local choice select_computer cannot use names the real control. - New bots on the desktop app (Mac, Windows, model that can use it) work on This computer; Clouds, hosted workspaces, servers and Linux keep Auto. - Place wording: This computer "Your files and apps", Private desktop "Can't see your files", Browser "Only websites", in the panel, the chip and the allow card (en + pt-br; other packs fall back to English). - Settings paths that do not exist ("App Settings → Computers", "Settings → Computers") now name Settings → Desktops & browser. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Keep This computer only on a person's own request; hint vm_exec only on failure - The keep-on-This-computer step (app_settings bots.settings computer local) is offered only on a turn that may switch places, the person's own typed line, and only when they ask to keep using this computer: an allow-once tap is for one request. - app_settings refuses computer "local" for a bot when the turn answers a routine or other automation, the owner's own included. - vm_exec runs every command as written; only a failed command that names a path on this computer gets the switch as a note. The Linux check no longer takes /home/cua followed by && ; ) or :, or /home/*, for a host path. - Route-level test for the new-bot default. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* Connected apps: upload a local file a tool takes, so Google Drive uploads work Composio runs app tools on its own servers and reads a tool's file (GOOGLEDRIVE_UPLOAD_FILE's file_to_upload, a Gmail attachment) from its own storage by s3key. Nothing in the app or the managed service ever put a file there, so a bot that named a file on this computer got a storage error from Composio on every upload and could not recover. - server/connector-files.ts: before a connected-app call goes out, a local path in a file field (or given as an s3key) is read through the chat file-link resolver, only from the bot's working folder, its Local VM folder or the conversation's attachments; uploaded to the link Composio hands out; and the call carries { name, mimetype, s3key }. A file that cannot be read, or an upload that fails, is refused with the reason and "nothing was written", and the call never goes out. - server/composio-files.ts: the upload link comes from Composio with the project key, or from the managed service. - cloudflare/composio-broker: POST /v1/files/upload asks Composio for the link with the service's key; the bytes never pass through it. - A failed call whose file Composio could not fetch tells the bot to give a local path instead of an invented key; the app prompt says a file argument takes a full path. - Scope note: for apps with no known special permission it now says to Disconnect and Connect the app again in Connected apps with every permission allowed (Google's consent screen lets a person untick one), instead of saying reconnecting cannot help. The signed-out note names Connected apps > Connected > Reconnect for when no card can be shown. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Connected-app files: own folders and this thread's attachments only, listed on the card, uploaded after the last check Review follow-ups: - The attachment store is no longer a root: only this conversation's own attachments, by exact path (connectorFileScope). - Hidden folders below the bot's folder or the home folder, and the app's own data (DATA_DIR, the desktop app's data folder), are refused unless the bot's own folder is inside it, as its workspace is. - A value is a file only when it is an existing file in those folders and has no line break; anything else (/Apps/report.pdf, /images/logo.png) goes to the app unchanged, with no refusal. - Files are read before the checks and listed in full (name, path, size) on the "Send on your behalf?" card ahead of the 400-character cut; they are uploaded from relayMcp's beforeSend, after every pre-send check and before the Gmail draft reservation is kept, so a revoked scope or ended turn uploads nothing. - Upload links: HTTPS on Composio's storage only (*.composio.dev, AWS S3, or an explicit OMB_COMPOSIO_API origin), in the app and in the broker; the PUT never follows a redirect. - The broker hands out a link only for a toolkit the installation has an ACTIVE connection to. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>* fix(procs): adding a bot restarts no engine; queue side jobs and checkpoint git; DuckDB and browser gates sized to their use The team roster sat in the stable half of the system prompt, which each warm engine process is keyed on, so adding, renaming or removing a bot closed every warm engine ("spawn contract changed"). The rules stay stable; the roster rides the volatile half, delivered with the turn that follows a change. Background engine calls nobody waits on (setup suggestions for a new bot, memory upkeep, skill review, thread titles, warm summaries) run 3 at a time across bots (OMB_BACKGROUND_TEXT_MAX); a warm summary a turn starts waiting on, compaction, the representative and status replies start at once. Checkpoint git runs 4 at a time across bots (OMB_CHECKPOINT_GIT_MAX). DuckDB threads and memory follow the container's CPUs and memory (availableParallelism, which counts a cgroup cpu.max quota), not the host's. A browser session's egress gate (a loopback listener per session) is closed once its browser has ended and nothing uses it, and opens again on the same port where that port is still free. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(procs): roster stays out of the per-turn half and reaches warm engines as a note; interactive side jobs first - The team roster is back in the stable half, so availability changes no longer re-send it. A per-thread Claude process is keyed on the stable half without the roster (SendTurnInput.systemRoster), and a warm one gets a changed roster once as a note: adding, renaming or removing a bot relaunches no engine. - Background slots: thread titles and setup suggestions wait ahead of memory upkeep and skill review; setup suggestions' 6 s deadline does not count the wait for a slot; a thread title keeps its slot until its engine call has really ended; a warm summary that waited for a slot checks the cache and holds again and skips when stale. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(procs): register the slot limits as server-only; team setup e2e finds a turn by its prompt OMB_BACKGROUND_TEXT_MAX and OMB_CHECKPOINT_GIT_MAX size the server's own job slots (job-slots.ts); nothing in a bot's box reads them, so they join SERVER_ONLY_OMB. team-setup.e2e waited for each turn by a new fake-Claude pid. Since adding, moving or removing a bot no longer relaunches the engine (the roster reaches a warm one as a note), the "Delete Patch" turn runs in the same process as the one before, with the changed roster as a note, and the wait timed out on every platform. It now waits for the dump of the turn whose prompt carries the text it sent. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>Agencies with many sub-accounts of one app hit "already has the maximum of 5 accounts". Both the project-key path and the managed broker now ask Composio for 10, its maximum. A Session made under the old cap keeps it, so before a sign-in link one with a lower echoed cap is raised in place with PATCH /tool_router/session/{id}, keeping its id and MCP endpoint. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>announcesAction only matched an announcement at the start of a short reply, so a leading acknowledgement ("Yes, I'm here. Let me pull ...") hid it and the turn ended without the nudge. Also test the last sentence against the announcing phrases (allowing a leading "now"). Fixes #6290 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: ARAYN7011 <88572149+ARAYN7011@users.noreply.github.com>A 429 from a registration endpoint ("Please try again in an hour") was reduced to "would not register ... Try again later", so the person kept retrying. The message now carries the HTTP status, the server's error_description and any Retry-After. Fixes #6299 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: ARAYN7011 <88572149+ARAYN7011@users.noreply.github.com>A NavRow value was shrink-0 at up to 45% of the row while the title could shrink to zero, so on a phone the title ("Apps it can use", "Who can see it") was squeezed into a narrow column. The title now keeps at least 45% of the row and the value shrinks and truncates. Closes #6315 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>A model that sent a tool call whose arguments were not valid JSON got a tool error back, but the history kept the broken arguments, so a strict OpenAI-compatible server refused the next request with HTTP 400 ("Assistant tool call function.arguments must be valid JSON") and the turn died before the bot could retry. Calls whose arguments the tool loop refuses are now replayed as {}; the tool result still says why the call didn't run. The argument parse moves to toolArguments() so both places use one rule. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>A tool with no arguments can stream "" or whitespace; strict providers reject that on replay just like cut-off JSON. Replay only arguments that toolArguments accepts and are not blank; everything else goes back as {}. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>list_models dropped models marked needsCliUpdate or orgBlocked without a word, so after a Claude Code update a bot told a user Fable 5.2 was gone from the Claude list, when it only needed a newer Claude CLI (2.1.321). Each engine row now carries `blocked: [{ id, why }]` for matching gated models (capped at 8), so the bot can say "update Claude Code" or "your organization turned it off". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>The isolated openaiCompat fixture now returns a tool call whose arguments are a JSON array. The continuation must replay the call with {} and send back the bounded error text; on main the broken arguments are replayed as sent. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>The isolated openaiCompat fixture gets a bad-args-secret scenario: broken-off arguments with the API key across the 500-character cut. The tool result is the bounded, masked quote and every replayed call goes back as {}. Fails onb32cf2a83(part of the key was quoted back), passes now. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>* Team keys and passwords: team 1Password, op:// references, the Vault in the Admin's report - 1Password on a Team Cloud: an Admin connecting it in Settings → Vault connects it for the whole team, and the row says so with the setup to use ("Use a dedicated vault and a read-only service account."). It already served every team bot in shared and private chats; a new Team Cloud e2e pins that down: an Admin connects, a member's private chat and the shared chat get its secret with no card, a member sees connected:false and gets 403 on every /api/logins route. - op:// references: request_credential resolves op://<vault>/<item>[/<section>]/<field> (titles or ids) onto the secrets the bot may already use by name. Never a Login's username, password or one-time code; an ambiguous title is refused. - GET /api/cloud/team/admin gains an additive `vault`: the team's saved secret names (never a member's own), when added and the team bots that may use each, and 1Password's state with a fixed failure class. - /?connect=vault opens Settings → Vault for a team's admin (the Admin's "Manage in the app"). Bitwarden Secrets Manager is not included: its SDK's license forbids redistribution and its protocol is documented only in that SDK. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Team 1Password: tell a bot that may use 1Password secrets that an op:// reference works as a label Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>b832de78) into fork main (cc280a91)View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.