Repository navigation
sync: merge upstream milind-soni/OpenMausBot main (0.1.157) - #26
Merged
Merged
Conversation
…6-1-reset-tool # Conflicts: # src/locales/source-hashes.json
The pt-br pack must hold every English key (activePackComplete test). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… Allow/Deny card
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>
… reason (milind-soni#5618) The Markdown preview only read UTF-8, so notes saved by Windows apps (Windows-1252, common for Portuguese and other Latin languages) failed with "Could not open this file. Check your connection and try again", which also blamed the connection for a file the server had already sent. - readTableResponse takes an optional single-byte fallback encoding; the Markdown preview reads non-UTF-8 text as Windows-1252. A file with NUL bytes (UTF-16, binary) is still refused. - When the server refuses the file, the preview shows its reason; the connection hint stays only for requests that got no answer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # src/components/LocalComputerSection.test.ts # src/locales/source-hashes.json
A file with NUL bytes (UTF-16 with or without a byte order mark) is refused before the UTF-8 check, since NUL is valid UTF-8, and the preview now says the file is not plain text instead of asking the person to check their connection. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
HighLevel MCP tools name the resource before the verb (HIGHLEVEL_MCP_CONTACTS_GET_CONTACTS), so the read-only check took CONTACTS as the verb and refused every HighLevel read as a write. For highlevel_mcp the verb is now the second word; anything else there still counts as a write. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…i#5636) The signal bars beside the model name, the rows at the top of the model menu and the phone header's Model row are drawn from /api/limit-resets. Since 0.1.153 the server listed every Claude instance as noUsage, so it never asked for Claude's plan usage and the bars stayed empty for Claude in Simple and Advanced alike. The renderer was unchanged. - plan-usage.ts: a Claude instance's sign-in is read for its plan usage again with no setting, as in 0.1.152. An instance whose config sets "usageMeter": false keeps its login unread (no UI for it). - Tests: the accounts list and fetcher read every Claude instance and skip one set to false, the cache never crosses that change, the limit clock reports Claude beside Codex, the engine-limits e2e expects Claude as "unknown" (no sign-in in the fixture) rather than "unsupported". - Renderer tests: the picker follows the bot's own engine when two engines report usage (Simple and Advanced), and the phone header's Model row shows the bars, or none for an engine with no usage. Co-authored-by: Claude <noreply@anthropic.com>
Merge train J3: 17 community and team fixes (Nov 12)
# Conflicts: # src/locales/source-hashes.json
…ain's own-home files change Main's change added 2 lines to the file after milind-soni#5553 was reviewed, which took it past the size limit. This folds the 4-line comment on item choices into 2 lines. No code changes. 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>
Train K2: milind-soni#5553 per-item 1Password access, milind-soni#5596 automatic cloud computer reset, milind-soni#5550 shared Local VM hold
…pt-7-4892 Upgrade TypeScript to 7.0.2 (head c56a9d2). pnpm-lock.yaml conflicted with main (main added @fishaudio/agent-client since the PR's base). Took main's lockfile and regenerated it with `pnpm install --lockfile-only --ignore-scripts`; the resulting delta is byte-identical to the PR's own lockfile change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…dressee" The addressee label only knew the room bots, so @bob was shown as the bot Bob even when a teammate Bob owns that tag (a tie is the person's, as the server and mentionRanges read it). Pass the teammate peers and skip person tags. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… takes, waiting bots, lapsing phone holds, mode changes and sign-in requests
…n open viewer's beats, Done on sign-in cards and the per-conversation rows
A self-hosted VPS on a box that pauses after idle time refuses SSH until resumed, so the computer check failed until the person resumed it by hand. When the host can't be reached, run the person's executable ssh/wake script from the data folder once with the alias, then try the connection once more. Without the script nothing changes; its failure is shown next to the SSH error. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A null filter on a webhook update now clears it, as the store and the tool description already say; on another kind's update it is read as nothing to change instead of an error. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ebhook-field-filter
The new trigger field adds 380 bytes to every catalog profile; refresh the tools/list goldens and move each BUDGET_BASELINE by exactly that, as was done for same_conversation. Shorter field description. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ocker command timeout - The wake script now gets at most 120 s, and never the time the connection retry needs. - ensureVpsSshMaster resolves with the time the wake script took; defaultRunner adds it to its own deadline, so a slow wake no longer times out the Docker command before it starts. - Tests: wake time reported; a wake script past its limit is stopped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…a schema test The trigger schema types webhook_payload_filter as an object (the catalog never uses nullable types; provider-safe conversion strips null from type arrays), so the description no longer offers null. The handler still accepts null from clients that send it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A long request from another bot now folds to a single line in the chat. Clicking it opens the full request in place, with Show less and View exchange. View exchange opens a side panel with that bot's requests and this bot's written answers, in order. Short requests and search hits stay open as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Train N3 (Nov 13 b): docs, DESIGN.md, fences, BubblaV, Windows tray, Cursor MCP, inbox read-all, OpenCode holds, hand-off wait, usage colours
Train N6: bots manage app settings from chat, direct with Undo (milind-soni#5690 reworked)
…'s scripted entry The scripted fixture runs the first unused entry whose markers are in the turn's text. A thread Books opens on itself names its source thread, and that thread is titled from "J2-JOB: open one thread per ledger". So the J2-SELF turn also matches "J2". The J2 entry only counts as used once the J2 turn ends and writes its evidence. When the opened thread's fixture started first, it ran "J2" again. Its start_thread was refused, as it should be, and the scripted step threw, so "J2-SELF" never ran and the poll timed out (main 6a9f8b9, ubuntu shard 3/8). Follow-up entries now come before their parents. The J2 poll also waits for J2's own evidence before reading it. Holding J2 back by 2 s failed on main every time and passes now. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-main test(self-threads): fix the scripted-plan race that turned main red
…e on macOS Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-test-cleanup app-settings test: retry the temp-folder cleanup
…panion/endpoints (milind-soni#5761) 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>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…kages/phone-protocol (milind-soni#5759) * Move the phone's wire, card, widget, mascot and pairing modules to packages/phone-protocol Pure renames: shared/wire.ts and everything it imports, plus the pairing code and link, the live-approval, sign-in and options cards, the chart spec builders, reactions and activity. The next commit puts a re-export at each old path. Co-Authored-By: Claude <noreply@anthropic.com> * Keep every desktop import working through re-exports, and hold the package to ES2022 Each moved module's old path in shared/ re-exports it, so no import in src/, server/ or the tests changes. The package gets its own tsconfig (lib ES2022, no DOM or Node types; only the web globals it already used are declared), run by pnpm typecheck, and an oxlint override that refuses node:* imports and window or document there. The guards that read source files by path now also read the package: the size ratchet, comment history, first-use imports, the box's environment names, the ModelGo link check, the hardcoded-words and server-lines scans (which now follow export * to the code), the mascot and carved-body generators and their drift checks, and the limit-clock seam. CI maps the package to the server area. Co-Authored-By: Claude <noreply@anthropic.com> * Type the hello and companion.endpoints frames and the phone's pair and fleet answers ServerFrame gains the two frames phones fold that it lacked: hello, as server/index.ts writes it, and companion.endpoints, as the companion's sendEndpoints writes it. New types for what the phone reads in packages/phone-protocol/src/responses.ts: PairResponse (POST /api/pair), AuthPairResponse (POST /api/auth/pair), CompanionEndpointsSnapshot (GET /api/companion/endpoints, with the optional version a computer, server or Cloud now sends) and BotsResponse (GET /api/bots). EnvironmentDescriptor moves into the package; server/environment.ts re-exports it. Types only. The server's literals for hello, both pair answers and GET /api/bots now end in satisfies, and a companion test holds the companion's own types to the same shapes; nothing they send changes. Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
…ommit (milind-soni#5779) node scripts/sync-phone-protocol.mjs --out <dir> [--ref <commit>] writes the package's sources (no tests) and package.json, the E2E vectors (vectors/v1.json) and the chat-app host page (app-host.html), read from git at that commit, plus SOURCE with the commit SHA. The same commit always gives the same bytes, so the phone repository's CI can re-run it at SOURCE and fail on any difference. It replaces only what it wrote and refuses a non-empty directory without SOURCE. Co-authored-by: Claude <noreply@anthropic.com>
…ight (milind-soni#5778) The 0.1.156 release bump (9887f6b, milind-soni#5775) recorded source hashes for the Simplified Chinese pack against the English each string was translated from. Six of those strings had been translated before their English changed, so pnpm i18n:check marked them stale and failed preflight: - b2a1b07 spelled the tray items "Open/Quit OpenMausBot" (was "OpenMaus Bot"): native.tray.open, native.tray.quit - a0a20bc4b added ElevenLabs as a listening option: serverError.voice.fishKeyRequired, call.mode.turnsHintFish, call.capability.turnsNeedFishKey, call.capability.turnsNeedFishKeyReason This retranslates the six against today's English and refreshes their hashes with `generate-locale.mjs zh --accept`, keeping the hash file's key order so only those six hashes change. Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
wire.ts moved to packages/phone-protocol upstream; the fork's archivedBy/restoredAt fields and thread-order split are re-applied there (shared/ keeps a re-export).
… archivedByPerson in shared/thread-order.ts The first sync moved movesThreadToTop/orderedThreadList/isSnoozed/nextOpenThread out of packages/phone-protocol/src/wire.ts into a new package file. Those four functions are byte-identical to upstream's, so the move was a pure refactor that would conflict every time upstream edits them. Restore wire.ts to upstream's text plus the two WireTask fields the fork needs (archivedBy, restoredAt), drop the package thread-order.ts, and let shared/thread-order.ts re-export the four functions and own archivedByPerson.
…scale test to the fork - src/lib/cloud-plan.ts: the stub's cloudPlanView returned signed-out for every account, so a saved sign-in that could not be read lost upstream's 'removed' view and showed 'No plan yet'. Return removed for it, as upstream does; no billing view is added. - closed-scale.test.ts: drop BoatOffer.tsx (removed in this fork) and lower the debt counts of the two files that are stubs here, as that test asks when a file gets cleaner.
…m removed from English
…low.test.ts, which the fork removed with plan billing
Owner
Author
추가 수정: CI
|
…oved BoatOffer with plan billing
fix(settings): hide the Plan page, since plan billing is removed from this fork
This was referenced Nov 14, 2026
This was referenced Dec 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
원본
milind-soni/OpenMausBotmain(0.1.157, 비머지 559커밋)을 포크 main에 동기화합니다. 머지 커밋 방식(force push 없음). 포크의 "플랜 결제 제거"(PR #2)는 유지합니다.주요 신규 피처 (원본 기준):
packages/phone-protocol로 분리 +scripts/sync-phone-protocol.mjs, 폰에 데스크톱 버전 전달, 관리자 권한 없는 폰의 Data 읽기post_to_thread, 압축파일 첨부, 죽은 클라우드 컴퓨터 자동 교체/리셋포크 쪽 조정(충돌·정합 처리):
src/lib/cloud-plan.ts,src/lib/usage-meter.ts,src/components/CloudUsageMeter.tsx,CloudCancelPlan.tsx,ProIntroduction.tsx)는 포크 main에 없으므로 "아무것도 살 수 없음"을 답하는 스텁으로 둡니다(파일 상단에 병합 시 스텁 유지 주석).cloudPlanView는 원본 자체 로그인 상태인removed만 살립니다.wire.ts에 두는 정렬 함수는 그대로 재export하고, 포크 전용archivedByPerson만shared/thread-order.ts에 둡니다.WireTask에는archivedBy?,restoredAt?두 필드만 추가(충돌 면적 최소화).closed-scale.test.ts를 포크 파일 구성에 맞춤(삭제된BoatOffer.tsx제외, 스텁 부채 수치 조정).ko.json의 고아 키remote.devices.retiredNotice삭제(원본이 영어 원문에서 제거 → pre-push locale 검사 실패 원인).Why
포크가 원본 main과 벌어지는 것을 막고 신규 피처를 받기 위함. 한 번에 797커밋을 합치므로 기능별로 쪼개지 않고 "동기화 1건"으로 올립니다.
How it was verified
env -u BASH_MAX_TIMEOUT_MS로 실행(셸에 설정된BASH_MAX_TIMEOUT_MS가claude.test.ts를 깨뜨림).c0da6d428)tsc -b/tsconfig.server.json/packages/phone-protocoloxlint --deny-warnings .node --test electron/*.node-test.mjsnode scripts/generate-locale.mjs --checkserver/index.test.tsclosed-scale2,removed로그인 상태 1)은 위 조정 3·1로 해결.server/index.test.ts에서 한 차례 정지(약 15분)해--exclude server/index.test.ts로 다시 돌렸고, 그 결과는 완료되는 대로 아래 코멘트로 남깁니다.Known follow-ups (이 PR에 넣지 않음)
settings-context.ts의plan: false와 원본 테스트 8건(SettingsModal.cloudPlan.test.ts×4,SettingsWindow.test.ts×4) 수정이 필요해 별도 PR로 제안합니다.CLOUD_PLAN_URL재등장 검사).archivedBy/restoredAt을 몰라 자동 보관 스레드가 사람이 보관한 것처럼 보일 수 있음(낮은 위험).Checklist
pnpm test전체: 위 표 참고 —server/index.test.ts는 포크 main에서도 동일 실패dist-server/수정 없음