Skip to content

chore(sync): merge upstream into livemap - #42

Open
vanessa-livamap-ai wants to merge 792 commits into
livemapfrom
sync/upstream-20261123
Open

vanessa-livamap-ai wants to merge 792 commits into
livemapfrom
sync/upstream-20261123

Conversation

@vanessa-livamap-ai

Copy link
Copy Markdown
Contributor

Brings livemap up to pingdotgg/t3code main at 76de50bc0d3fdd9fc2c5816de4142fbda1ce8364. That covers 789 upstream commits since the merge base c1f84591, including the four fixes up to 9f24cac6. It preserves the fork features listed below; upstream’s removal of the sidebar button is called out for review.

History, in order, with no rebase or squash:

  1. ae19449c: merge of upstream f00893a5 into livemap 225c3418.
  2. a8ec6e23: merge of upstream 76de50bc into ae19449c.
  3. c1024c7a: fix for an upstream test that leaked a draft into other browser test files (described below).

Conflicts and how they were resolved (both sides kept unless noted)

Round 1, merging upstream f00893a5 (13 files):

  1. apps/server/src/mcp/toolkits/project/handlers.ts: the Relay thread tag (ARI_RELAY_THREAD_TAG) is kept, and upstream's workflowRun is added.
  2. apps/server/src/orchestration-v2/Orchestrator.ts: thread.create keeps tags and adds workflowRun.
  3. apps/server/src/orchestration-v2/ThreadLaunchService.ts: the tags input and its forwarding are kept, and workflowRun is added (2 hunks).
  4. apps/server/src/ws.ts: the Ari imports are kept, plus upstream's GitCommandError import.
  5. apps/web/src/components/settings/settingsSearch.ts: the Ari entries (thread flags, Relay section, team threads, Ari Library links) are kept, and the Workflows entry is added.
  6. apps/web/src/components/sidebar/SidebarThreadHeader.tsx: the flag filter is kept. Upstream removed the header's "Add project" button, and this merge follows upstream (see the open decision below).
  7. apps/web/src/components/sidebar/SidebarThreadRow.tsx: the flag and Relay indicators are kept. Upstream's removal of the remote machine icon is followed.
  8. apps/web/src/components/threadActionMenu.logic.ts: the Flag, Show/Hide to team and Hand over… items are kept, and Rename gets upstream's disabled state.
  9. apps/web/src/components/threadActionMenu.logic.test.ts: the fork's team and flag cases are kept, and upstream's rename-disabled case is added.
  10. apps/web/src/state/device.ts: the fork's per-host probe key ({environmentId, hostIds}) is kept, with upstream's .run(...).pipe(Effect.ignore) body.
  11. packages/client-runtime/src/operations/commands.test.ts: the setThreadFlag and setThreadTeamShared imports are kept, plus promoteQueuedRun.
  12. packages/contracts/src/settings.ts: ariTeamThreadsEnabled sits beside workflowsEnabled, in both the settings and the patch schema.
  13. scripts/build-desktop-artifact.ts: the Ari Code microphone text is kept. Upstream's new NSSpeechRecognitionUsageDescription is worded "Ari Code".

The round-1 merge also has one fix that wasn't a textual conflict. Upstream's new workflow RPC tests in apps/server/src/ws.test.ts now get the same AriState/AriTeam/AriInvites stand-ins as the fork's other ws tests; without them the server typecheck fails.

Round 2, merging upstream 76de50bc (1 file):
14. scripts/build-desktop-artifact.ts: the Ari Code microphone text is kept. Upstream's new NSAppleEventsUsageDescription is worded "Ari Code lets commands run by terminals and coding agents control other apps.", in upstream's key order.

Livemap behavior kept

  • Branding: "Ari Code" in names users see, "Ari Code home", and every macOS permission text. Bundle id, scheme, ~/.t3 and artifact names are unchanged.
  • Relay threads and flags: the PR chore(sync): merge upstream into livemap #41 auth mappings ari:read→orchestration:read and relay:configure→relay:write are unchanged, and upstream added no new scopes.
  • Team sharing, handoff and guest links.
  • Settings → Ari switches: Thread flags, Relay section, Team threads, Open Ari Library links.
  • Boxd, Limrun/device hosts, screenshots, livemap/, and livemap-release.yml: release and packaging are unchanged.
  • CI and deploy files: no workflow edited or added, and nothing new needs gh workflow disable.

Compared with upstream, the result differs in 204 files. 203 are the fork's existing files, matching the fork's own changes line for line except for the resolutions listed above. The 204th is the test fix below.

Test fix (c1024c7a)

Upstream's ProjectSettingsPanel.browser.test.tsx test "moves a draft on the removed checkout…" left a draft in the composer draft store. That store is saved to the localStorage that every browser test file shares, so it broke two Sidebar.browser.test.tsx tests that ran afterwards.

  • Fix: the test now restores the draft store when it ends. No assertion was weakened and nothing was serialized.
  • Evidence: running vp test run --maxWorkers=1 --no-file-parallelism ProjectSettingsPanel.browser.test.tsx Sidebar.browser.test.tsx fails the 2 tests on unchanged upstream 76de50bc and on a8ec6e23. With the fix it passes 37/37 on both. Unchanged livemap passes 35/35, because it doesn't have the numbered-jumps test.

Verification (Linux VM, Node 26.13.1, pnpm 12.14.0, frozen lockfile)

  • vp run check:changed 225c3418… --timeout 5400 on c1024c7a → exit 1.
    • Pass: format, lint, knip, graphql, typecheck (43 packages), node --test, react compiler.
    • test: 1134 files, 7 failed / 18256 passed / 20 skipped. The same 7 fail on both unchanged inputs in this VM:
      • 6 × scripts/build-desktop-artifact.test.ts: the VM has a /node_modules folder at the filesystem root.
      • 1 × AntigravityInstallation.test.ts (16 KiB page test): got 'cancelled', expected 'failed'.
  • Focused tests (41 files) → 996 passed, 1 skipped.
  • Browser tests (6 files, including Sidebar and ProjectSettingsPanel) → 58/58.
  • vp run build:desktop → 6/6.
  • vp run i18n:check → pass.
  • A dev-server check shows the branding, flags, team and handoff menu items, Ari switches and Labs → Workflows.

Open decision for Tomas

  • Sidebar "Add project" button: upstream removed it from the sidebar header, and Livemap follows. It is not restored here. Restoring it would be a separate fork change.

Publication and review

  • Published head: c1024c7a3c8827340d000a2374dbd3308355e714, independently imported from the final Boxd bundle with both merge commits and the test fix intact. Follow-up to chore(sync): merge upstream into livemap #41 and Tomas’s Nov 23 sync request.
  • CI was disabled before this PR and its settings were not changed. Opening this PR does not advance livemap or run its push-based release.
  • Review the conflict resolutions, then check Sidebar → Thread actions (Flag, Show to team, Hand over, Rename) and Settings → Ari / Labs → Workflows. No native device or release verification is claimed. Later upstream changes outside the tested revision can land in the next sync.

flamboh and others added 30 commits November 21, 2026 14:15
…board guide (#37758)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…#40567)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…s (#40585)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ks (#40592)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…595)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
… (#40604)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
… is gone (#40627)

Co-authored-by: Kevin Flores <101906409+kevincommits@users.noreply.github.com>
… drag (#33221)

Co-authored-by: shivam <91240327+shivamhwp@users.noreply.github.com>
…itle limit (#29830)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: shivam <91240327+shivamhwp@users.noreply.github.com>
…ests (#40634)

Co-authored-by: Mostafa El Ayoubi <20224923+MostafaElAyoubi@users.noreply.github.com>
…n (#40633)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…e (#40622)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…heckout (#38271)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Geezy <igor.licko@gloryck.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…e per turn (#40671)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
… drops its prompt (#40670)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ared tooltip; remark leaves the web app (#27866)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Yash Singh <saiansh2525@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Gemini 4 Neon <noreply@google.com>
Co-authored-by: Noah Sigel <noah.sigel@gmail.com>
juliusmarminge and others added 30 commits November 22, 2026 22:29
…ing reads (#41276)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…1277)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…fter sending (#41270)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Merge upstream f00893a into livemap
225c341.

Conflicts (13), resolved keeping both sides:
- thread.create / ThreadLaunchService / MCP project handler: fork Relay
  thread tags kept next to upstream workflowRun origin.
- ws.ts: fork Ari imports plus upstream GitCommandError import.
- contracts settings: ariTeamThreadsEnabled kept beside upstream
  workflowsEnabled (settings and patch schema).
- settingsSearch: Ari entries kept, upstream Workflows entry added.
- threadActionMenu (+test): fork flag/team items kept; upstream
  rename disabled state and its test added.
- SidebarThreadHeader/Row: fork flag filter and flag/relay indicators
  kept; upstream removal of the header Add project button and the
  remote machine icon followed.
- device.ts: fork per-host probe key kept with upstream .run() body.
- commands.test.ts: fork flag/team imports plus upstream promoteQueuedRun.
- build-desktop-artifact: Ari Code microphone string kept; upstream's
  new NSSpeechRecognitionUsageDescription branded Ari Code like the
  other macOS usage strings.

Semantic fix: upstream's new workflow RPC tests in apps/server ws.test.ts
build their own ws layer, which in livemap also needs the Ari services;
they get the same AriState/AriTeam/AriInvites mocks as the fork's other
ws tests (typecheck failed without them).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ts (#23180)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
… names (#41301)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…41312)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…33869)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ting on (#31449)

Co-authored-by: Kazuya Hibara <267899283+Kazuya-Hibara@users.noreply.github.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…41326)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…318)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…(#30836)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…, not per subscriber (#41309)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…#31239)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Merge upstream 76de50b into
sync/upstream-20261123 ae19449
(livemap 225c341 + upstream f00893a).
Brings the 22 upstream commits from f00893a..76de50b, including the
four fixes up to 9f24cac.

Conflict (1): scripts/build-desktop-artifact.ts macOS extendInfo.
Kept the Ari Code microphone string and upstream's new
NSAppleEventsUsageDescription, branded Ari Code like the fork's other
usage strings; upstream key order kept.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…idebar tests

The "moves a draft on the removed checkout" browser test left draft
draft-handed-off in the composer draft store, which persists to the
localStorage every browser test file shares. A Sidebar.browser.test.tsx
run after it hydrated that draft: "numbers the unsent draft" found two
draft rows, and "does not re-render thread rows" saw the draft take
Ctrl+1 so only one thread got a jump hint.

Restore the draft store when the test ends. Reproduced with
`vp test run --maxWorkers=1 --no-file-parallelism
ProjectSettingsPanel.browser.test.tsx Sidebar.browser.test.tsx`:
2 failed on unchanged upstream 76de50b and on the merge, 37/37 with
this change on both; unchanged livemap 225c341 passes (35/35) since
the failing assertions arrived with upstream #39968.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.