orca/mobile/src/session
Neil 46646d7ff1
chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841)
* chore(lint): upgrade oxlint to 1.71 and enable 7 new rules

Upgrade oxlint 1.67.0 -> 1.71.0 (1.72 was blocked by the repo's 3-day
minimum-release-age supply-chain guard; nothing here needs it). The
bump is a no-op on the existing config.

Enable 3 error rules (backlog autofixed to zero in this commit) and
4 warn rules (surface signal without gating CI):

error (autofixed, behavior-preserving):
- unicorn/prefer-node-protocol        (~1531 sites: bare builtin -> node:)
- typescript/no-import-type-side-effects (~36: all-inline-type -> import type)
- unicorn/no-array-reverse            (19: copy-then-reverse -> toReversed)

warn (real signal, current fires are test-only/correct):
- unicorn/no-array-fill-with-reference-type  (aliasing footgun guard)
- typescript/no-unsafe-function-type         (bans bare Function type)
- unicorn/prefer-array-flat-map              (map().flat() -> flatMap())
- unicorn/prefer-regexp-test                 (.match() in bool ctx -> .test())

mobile/.oxlintrc.json extends root, so it inherits all 7; the autofix
ran from root and covered mobile/ too.

Verification (all green): oxlint 0 errors (root+mobile+aux configs),
oxfmt clean, typecheck (node+cli+web), vitest 22795 passed / 0 failed,
builds (electron-vite + web + cli) succeed. node: rewrites confirmed to
skip embedded SSH/CLI string payloads (AST-only); all toReversed sites
verified to operate on fresh copies or write-once locals.

* chore(lint): bump mobile oxlint to 1.71 so inherited rules parse

mobile/ is a standalone pnpm project pinning its own oxlint@1.67, which
lacks unicorn/no-array-fill-with-reference-type (needs >=1.70). Since
mobile/.oxlintrc.json extends the root config, mobile CI's 'cd mobile &&
oxlint' failed to parse the new rule. Bump mobile to match root (1.71).

Verified in mobile/: oxlint 0 errors, oxfmt --check clean, tsc --noEmit
pass, vitest 978 passed / 0 failed.

Co-authored-by: Orca <help@stably.ai>

---------

Co-authored-by: Orca <help@stably.ai>
2026-06-29 22:38:29 -07:00
..
MobileTerminalInputActions.tsx Support dictation and image attachments in mobile live input mode (#6603) 2026-06-28 01:20:00 -07:00
MobileTerminalLiveInputStatus.tsx Support dictation and image attachments in mobile live input mode (#6603) 2026-06-28 01:20:00 -07:00
SessionDockColumn.tsx Show the git primary action on mobile Source Control (#6659) 2026-06-29 22:30:46 -07:00
TerminalPaneView.tsx fix(mobile): add terminal link routing setting 2026-06-16 17:05:12 -07:00
github-pr-comment-parsers.ts feat(mobile): combine PR sidebar and checks parity (#5641) 2026-06-17 22:52:12 -07:00
github-pr-mutations.test.ts feat(mobile): combine PR sidebar and checks parity (#5641) 2026-06-17 22:52:12 -07:00
github-pr-mutations.ts feat(mobile): combine PR sidebar and checks parity (#5641) 2026-06-17 22:52:12 -07:00
github-pr-parsers.ts feat(mobile): combine PR sidebar and checks parity (#5641) 2026-06-17 22:52:12 -07:00
github-pr-rpc.test.ts feat(mobile): combine PR sidebar and checks parity (#5641) 2026-06-17 22:52:12 -07:00
github-pr-rpc.ts feat(mobile): combine PR sidebar and checks parity (#5641) 2026-06-17 22:52:12 -07:00
github-pr-value-readers.test.ts feat(mobile): combine PR sidebar and checks parity (#5641) 2026-06-17 22:52:12 -07:00
github-pr-value-readers.ts feat(mobile): combine PR sidebar and checks parity (#5641) 2026-06-17 22:52:12 -07:00
markdown-floating-actions-layout.test.ts Fix mobile markdown actions above keyboard (#4945) 2026-06-08 21:27:33 -07:00
markdown-floating-actions-layout.ts Fix mobile markdown actions above keyboard (#4945) 2026-06-08 21:27:33 -07:00
mobile-artifact-kind.test.ts feat(mobile): pickers, workspace parity, active-workspace focus, tap-to-open, source-control parity, artifact viewing (#5330) 2026-06-15 22:02:51 -07:00
mobile-artifact-kind.ts feat(mobile): pickers, workspace parity, active-workspace focus, tap-to-open, source-control parity, artifact viewing (#5330) 2026-06-15 22:02:51 -07:00
mobile-clipboard-image.test.ts fix(mobile): downscale oversized clipboard images so paste no longer fails (#5601) 2026-06-18 18:25:06 -07:00
mobile-clipboard-image.ts fix(mobile): downscale oversized clipboard images so paste no longer fails (#5601) 2026-06-18 18:25:06 -07:00
mobile-diff-comment-edit.test.ts Add mobile Review Changes workflow (#5313) 2026-06-13 14:24:26 -07:00
mobile-diff-comment-edit.ts Add mobile Review Changes workflow (#5313) 2026-06-13 14:24:26 -07:00
mobile-diff-comments.test.ts Add mobile Review Changes workflow (#5313) 2026-06-13 14:24:26 -07:00
mobile-diff-comments.ts Add mobile Review Changes workflow (#5313) 2026-06-13 14:24:26 -07:00
mobile-diff-hunks.test.ts Add mobile Review Changes workflow (#5313) 2026-06-13 14:24:26 -07:00
mobile-diff-hunks.ts Add mobile Review Changes workflow (#5313) 2026-06-13 14:24:26 -07:00
mobile-diff-lines.test.ts
mobile-diff-lines.ts
mobile-diff-review-loaders.ts Add mobile Review Changes workflow (#5313) 2026-06-13 14:24:26 -07:00
mobile-diff-review-positioning.test.ts Show the git primary action on mobile Source Control (#6659) 2026-06-29 22:30:46 -07:00
mobile-diff-review-positioning.ts Show the git primary action on mobile Source Control (#6659) 2026-06-29 22:30:46 -07:00
mobile-diff-review-queue.test.ts Add mobile Review Changes workflow (#5313) 2026-06-13 14:24:26 -07:00
mobile-diff-review-queue.ts Add mobile Review Changes workflow (#5313) 2026-06-13 14:24:26 -07:00
mobile-diff-review-rpc.ts feat(mobile): combine PR sidebar and checks parity (#5641) 2026-06-17 22:52:12 -07:00
mobile-diff-review-screen-model.test.ts Add mobile Review Changes workflow (#5313) 2026-06-13 14:24:26 -07:00
mobile-diff-review-screen-model.ts Add mobile Review Changes workflow (#5313) 2026-06-13 14:24:26 -07:00
mobile-diff-review-state.test.ts Add mobile Review Changes workflow (#5313) 2026-06-13 14:24:26 -07:00
mobile-diff-review-state.ts Add mobile Review Changes workflow (#5313) 2026-06-13 14:24:26 -07:00
mobile-file-language.ts
mobile-file-syntax.test.ts Fix mobile diff syntax highlighting (#4922) 2026-06-08 17:41:27 -07:00
mobile-file-syntax.ts Fix mobile diff syntax highlighting (#4922) 2026-06-08 17:41:27 -07:00
mobile-image-attachment.test.ts feat(mobile): pickers, workspace parity, active-workspace focus, tap-to-open, source-control parity, artifact viewing (#5330) 2026-06-15 22:02:51 -07:00
mobile-image-attachment.ts feat(mobile): pickers, workspace parity, active-workspace focus, tap-to-open, source-control parity, artifact viewing (#5330) 2026-06-15 22:02:51 -07:00
mobile-image-source-picker.test.ts feat(mobile): pickers, workspace parity, active-workspace focus, tap-to-open, source-control parity, artifact viewing (#5330) 2026-06-15 22:02:51 -07:00
mobile-image-source-picker.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
mobile-markdown-disk-fallback.test.ts Fix file loading on web and mobile remote clients 2026-06-16 14:39:25 -07:00
mobile-markdown-disk-fallback.ts Fix file loading on web and mobile remote clients 2026-06-16 14:39:25 -07:00
mobile-new-tab-agent-options.test.ts
mobile-new-tab-agent-options.ts
mobile-pr-sidebar-resolve.test.ts feat(mobile): combine PR sidebar and checks parity (#5641) 2026-06-17 22:52:12 -07:00
mobile-pr-sidebar-resolve.ts feat(mobile): combine PR sidebar and checks parity (#5641) 2026-06-17 22:52:12 -07:00
mobile-pr-sidebar-state.ts Create pr not working on mobile (#6523) 2026-06-27 18:34:58 -07:00
mobile-session-create-warning-state.test.ts
mobile-session-create-warning-state.ts
mobile-session-route-helpers.ts Fix rich markdown image paste bloat (#5290) 2026-06-12 16:48:09 -07:00
mobile-session-startup-source.test.ts Prevent mobile worktree selection from focusing desktop (#6461) 2026-06-26 19:34:33 -07:00
mobile-terminal-records.test.ts Fix remote runtime terminal sharing with mobile (#4901) 2026-06-08 14:26:07 -07:00
mobile-terminal-records.ts Fix remote runtime terminal sharing with mobile (#4901) 2026-06-08 14:26:07 -07:00
mobile-terminal-tab-agent.test.ts Show coding agent icons on mobile terminal tabs (#6792) 2026-06-29 16:06:27 -07:00
mobile-terminal-tab-agent.ts Show coding agent icons on mobile terminal tabs (#6792) 2026-06-29 16:06:27 -07:00
opened-mobile-session-tab.test.ts Show the git primary action on mobile Source Control (#6659) 2026-06-29 22:30:46 -07:00
opened-mobile-session-tab.ts Show the git primary action on mobile Source Control (#6659) 2026-06-29 22:30:46 -07:00
optimistic-write-sequence.test.ts feat(mobile): combine PR sidebar and checks parity (#5641) 2026-06-17 22:52:12 -07:00
optimistic-write-sequence.ts feat(mobile): combine PR sidebar and checks parity (#5641) 2026-06-17 22:52:12 -07:00
pr-actions-engine.test.ts feat(mobile): combine PR sidebar and checks parity (#5641) 2026-06-17 22:52:12 -07:00
pr-actions-engine.ts feat(mobile): combine PR sidebar and checks parity (#5641) 2026-06-17 22:52:12 -07:00
pr-ai-triage-launch.test.ts feat(mobile): combine PR sidebar and checks parity (#5641) 2026-06-17 22:52:12 -07:00
pr-ai-triage-launch.ts feat(mobile): combine PR sidebar and checks parity (#5641) 2026-06-17 22:52:12 -07:00
pr-ai-triage-prompt.test.ts feat(mobile): combine PR sidebar and checks parity (#5641) 2026-06-17 22:52:12 -07:00
pr-ai-triage-prompt.ts refs/heads/handle-mobile-pull-request-issues (#6598) 2026-06-28 00:58:17 -07:00
pr-comment-actions.test.ts feat(mobile): combine PR sidebar and checks parity (#5641) 2026-06-17 22:52:12 -07:00
pr-comment-actions.ts feat(mobile): combine PR sidebar and checks parity (#5641) 2026-06-17 22:52:12 -07:00
pr-title-edit.test.ts feat(mobile): combine PR sidebar and checks parity (#5641) 2026-06-17 22:52:12 -07:00
pr-title-edit.ts feat(mobile): combine PR sidebar and checks parity (#5641) 2026-06-17 22:52:12 -07:00
session-panel-host.test.ts feat(mobile): combine PR sidebar and checks parity (#5641) 2026-06-17 22:52:12 -07:00
session-panel-host.ts feat(mobile): combine PR sidebar and checks parity (#5641) 2026-06-17 22:52:12 -07:00
session-tab-snapshot-gate.test.ts fix: close mirrored editor tabs on the host so they stop reopening (#5975) 2026-06-22 14:51:43 -07:00
session-tab-snapshot-gate.ts Harden mobile session tab sync 2026-06-22 13:31:10 -07:00
tab-strip-scroll.test.ts Fix active tab scrolling and editor keyboard layout on mobile (#5271) 2026-06-12 11:09:08 -07:00
tab-strip-scroll.ts Fix active tab scrolling and editor keyboard layout on mobile (#5271) 2026-06-12 11:09:08 -07:00
use-live-worktree-name.ts Refresh live worktree display name in mobile session (#5934) 2026-06-20 16:40:34 -07:00
use-mobile-diff-review-comment-actions.ts Add mobile Review Changes workflow (#5313) 2026-06-13 14:24:26 -07:00
use-mobile-diff-review-controller.ts Show the git primary action on mobile Source Control (#6659) 2026-06-29 22:30:46 -07:00
use-mobile-diff-review-git-actions.ts Add mobile Review Changes workflow (#5313) 2026-06-13 14:24:26 -07:00
use-mobile-diff-review-interactions.ts Add mobile Review Changes workflow (#5313) 2026-06-13 14:24:26 -07:00
use-mobile-diff-review-send-actions.ts Add mobile Review Changes workflow (#5313) 2026-06-13 14:24:26 -07:00
use-mobile-dock-resize.ts feat(mobile): combine PR sidebar and checks parity (#5641) 2026-06-17 22:52:12 -07:00
use-mobile-image-attachment.ts feat(mobile): pickers, workspace parity, active-workspace focus, tap-to-open, source-control parity, artifact viewing (#5330) 2026-06-15 22:02:51 -07:00
use-mobile-pr-actions.test.ts feat(mobile): combine PR sidebar and checks parity (#5641) 2026-06-17 22:52:12 -07:00
use-mobile-pr-actions.ts feat(mobile): combine PR sidebar and checks parity (#5641) 2026-06-17 22:52:12 -07:00
use-mobile-pr-ai-triage.ts feat(mobile): combine PR sidebar and checks parity (#5641) 2026-06-17 22:52:12 -07:00
use-mobile-pr-branch-context.test.ts Create pr not working on mobile (#6523) 2026-06-27 18:34:58 -07:00
use-mobile-pr-branch-context.ts Create pr not working on mobile (#6523) 2026-06-27 18:34:58 -07:00
use-mobile-pr-comment-actions.ts feat(mobile): combine PR sidebar and checks parity (#5641) 2026-06-17 22:52:12 -07:00
use-mobile-pr-sidebar-controller.test.ts Create pr not working on mobile (#6523) 2026-06-27 18:34:58 -07:00
use-mobile-pr-sidebar-controller.ts feat(mobile): combine PR sidebar and checks parity (#5641) 2026-06-17 22:52:12 -07:00
use-mobile-pr-title-action.ts feat(mobile): combine PR sidebar and checks parity (#5641) 2026-06-17 22:52:12 -07:00
worktree-display-name.test.ts Refresh live worktree display name in mobile session (#5934) 2026-06-20 16:40:34 -07:00
worktree-display-name.ts Refresh live worktree display name in mobile session (#5934) 2026-06-20 16:40:34 -07:00
worktree-label.ts fix(mobile): recover Android remote sessions without an app restart (#5061) 2026-06-09 17:55:20 -07:00