forked from pingdotgg/t3code
-
Notifications
You must be signed in to change notification settings - Fork 0
chore: sync with upstream pingdotgg/t3code main #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
411 commits
Select commit
Hold shift + click to select a range
70c423a
fix(web): usage page loses the cost quality panel, gains a back butto…
t3dotgg a6c9b41
feat(server): agents can now open the images you paste into chat (#5757)
t3dotgg 5208bde
fix(web): pinned reorder no longer reshuffles while writes land (#5767)
t3dotgg 288d8e3
feat(web): overhaul project settings into a real settings page (#5768)
t3dotgg 886195e
fix(web): usage totals no longer jump while devices report in (#5772)
t3dotgg 5bb8c03
fix(server): settle no longer leaves monitors and dev servers running…
t3dotgg 6dbffa0
feat: pick worktree or current checkout per project (#5766)
t3dotgg 6f69b44
fix(web): sidebar rows show the branch again, not a truncated plan st…
t3dotgg ddaa6af
feat(server): vp run migrate-dev-db seeds worktree dev dbs with real …
t3dotgg 05eb051
feat(web): keep unsent drafts one click away in the sidebar (#5777)
t3dotgg 076e904
feat(web): project icons can be chosen manually (#5775)
t3dotgg ba9c9ae
fix(server): one greedy agent process no longer takes down the whole …
t3dotgg 963ebf5
ci: label-gated hosted-web preview deploys (#5465)
t3dotgg 1a003e3
Add cross-platform mobile usage dashboard (#5743)
juliusmarminge 285cf59
fix(web): preserve desktop route during Clerk auth (#5770)
wobsoriano 02f4ce5
fix(web): match create theme and import theme buttons to the standard…
UtkarshUsername deb901d
fix(server): favicon resolution no longer pins the event loop (#5538)
murenovich 062b461
fix(shared): bound the file-link label so bracket runs stop rescannin…
tsouth89 659986c
fix(web): thread title button no longer eats the drag area (#5857)
nathangerday bd18d8d
fix(web): unify usage page chrome (#5823)
t3-code[bot] c8ad4b8
fix(shell): add ~/.local/bin to the Windows CLI resolver so native-in…
arhxam 83d769f
fix(web): match settings search shortcut styling to command palette's…
UtkarshUsername f993fa1
fix(mobile): long-pressing a thread row no longer navigates into the …
juliusmarminge 0d38866
fix(server): usage no longer double-counts forked Codex sessions (#5887)
t3dotgg 2abe668
fix(server): sandbox user-provided SVGs (#5916)
t3dotgg 9a1472d
fix(web): match usage titlebar text styling (#5897)
t3-code[bot] f21d5e4
Move project settings to contextual project routes (#5923)
juliusmarminge 5da4533
Preserve back navigation when opening settings (#5930)
juliusmarminge 73b2e8f
Automate production mobile EAS releases (#5609)
juliusmarminge 9690680
Add settings and usage breadcrumbs (#5929)
juliusmarminge cbd55d6
fix(web): correct model picker trigger padding (#5935)
Chrono-byte 0ca9fb3
fix(web): show worktree icon in sidebar v2 (#5909)
tris203 ef051bd
fix(web): enable restore defaults after theme mix changes (#5928)
Lucenx9 d432100
fix(web): trait menu closes after you pick a level (#5879)
t3dotgg f0e2975
fix(web): align project name with headline (#5864)
carterwsmith 3d74474
fix(web): update pills use readable theme foregrounds (#5938)
chrisdeeming 9821bca
fix(web): use themed confirmation dialogs (#5624)
StiensWout fbcae59
fix(web): use import/export-appropriate icons for theme buttons (#5964)
UtkarshUsername 67ef189
fix(mobile): detect PowerShell cmdlet errors in work log rows (#5726)
myacoub91 d440442
fix(mobile): stop Android user bubbles with code blocks from overlapp…
Brechard 3b72d17
fix(mobile): parse EAS fingerprint JSON (#5991)
juliusmarminge 78f462c
chore(release): prepare v0.0.33
t3-code[bot] cad2c93
feat: multi-provider pull requests page with in-app reviews (#4849)
Bil0000 8de0aa2
perf(desktop): probe the Windows shell environment concurrently (#5878)
tsouth89 b91a000
feat(web): add duplicate action to the T3 Code default theme (#6013)
UtkarshUsername 0a7c662
fix(web): improve built-in theme contrast (#6000)
chrisdeeming 1b120f3
fix(ci): extend release publish timeout (#6034)
t3-code[bot] 428d9f9
Allow Android tablets to rotate (#5613)
juliusmarminge a7b0366
fix(web): account for Windows window controls in PR page header (#6049)
UtkarshUsername 9afef94
feat: add three-hour snooze option (#5914)
Noojuno e5c82d7
fix(mobile): keep chat composer above the Android gesture bar (#5988)
PollyGlot 2ea51bd
fix(server): OpenCode model parsing drops models with a slash in the …
arhxam 59d0c92
fix(web): persist sidebar shelf collapse state (#5136)
PixPMusic f973097
perf(web): skip base64 for oversized image candidates (#5220)
tarik02 1fa315e
fix(server): skip Linux libc detection on Windows/macOS (#5354)
bkntr c14bcca
fix(server): advertise 256-color TERM on Windows terminals (#5693)
yassiEmp 9c7622d
fix(server): handle unborn HEAD in VCS status (#5944)
t3-code[bot] f5fce74
fix(pull-requests): route self-hosted GitLab remotes (#6061)
GuilhermeVieiraDev 752acbf
feat: add ability to create a new thread in the current project with …
UtkarshUsername 65b005f
feat(web): add Copy Thread ID to the sidebar and chat header thread c…
UtkarshUsername 6676f9c
fix(mobile): stabilize thread composer and interactions (#5986)
juliusmarminge c842c6f
Add hourly past-24-hour usage view (#6170)
juliusmarminge 3da7f9c
fix(mobile): guard App Store release versions (#6177)
juliusmarminge ac4780f
fix(web): restore typography font sizes to defaults (#6172)
StiensWout b30a9bc
feat(web): make environment artwork theme aware (#6183)
juliusmarminge 6befe42
fix(shared): normalize a bare Windows drive root the same as C:\ / C:…
arhxam 220e573
fix(shared): detect Azure DevOps SSH remotes (ssh.dev.azure.com) (#6187)
arhxam 44621c3
feat(web): add back buttons for the pull requests and usage pages in …
UtkarshUsername 1e355a2
fix(web): render dropdowns above toasts (#6165)
Brechard 57b1052
fix(web): thread error banner dismiss survives reconnect and rerender…
myacoub91 3517201
fix(web): use a clearer pull action icon (#6194)
extoci 083fa4a
feat(web): use OKLCH for theme palettes (#6036)
StiensWout 2db0845
fix(web): use upload icon for disabled push action (#6207)
t3-code[bot] f0b57ca
feat(web): add Open VSX theme search (#5654)
t3-code[bot] c196f42
fix(web): clean up composer resize animation (#6209)
extoci 52e5a75
feat(web): compact sidebar footer actions (#6210)
maria-rcks 560d4a4
fix(web): keep sidebar wordmark visible at minimum width (#6246)
extoci d37a9b0
feat(mobile): add thread title regeneration (#6253)
chrisdeeming 63e6fae
chore: add dara to vouched (#6259)
maria-rcks 5a84614
fix(web): align the composer model picker (#6252)
t3-code[bot] e1378a1
fix(mobile): keep ordered lists inside user bubbles (#6154)
none23 b54bfc9
feat(web): a better right panel empty state (#6258)
StiensWout 6fd088a
fix(web): align mobile onboarding header (#6293)
t3-code[bot] 849bac8
fix(connect): preserve CLI OAuth parameters through browser sign-in (…
juliusmarminge e321667
fix(web): prevent changed files header overlap (#6314)
t3-code[bot] f131228
fix(web): theme Clerk surfaces (#6300)
StiensWout b73232b
feat(web): reset sidebar width on double click (#6320)
extoci 8601797
fix(web): align update toast release notes link (#6322)
t3-code[bot] 770946d
fix(web): render tooltips above dropdowns (#6241)
extoci 8d24b51
fix(web): open modified PR clicks in browser (#6278)
t3-code[bot] 18918d1
Fix mobile command popover glass rendering (#6370)
juliusmarminge e3a9c25
test(mobile): seed snoozed showcase threads (#5155)
PixPMusic 9666b87
fix(web): preserve appearance mode when changing themes (#6343)
extoci d0b8d63
feat(connect): deregister account environments from any client (#4844)
StiensWout b28f9bf
feat(web): pull request surfaces — filters & qualifiers, all-server l…
Bil0000 2eb099f
fix(web): cmd+click sidebar PR numbers open in the browser (#6378)
t3dotgg ac1264e
feat(web): project favicon and workspace icons in command subtitles (…
gsimone da6253b
web/settings: fix source control scan on relay environments (#6230)
dominic-r 33f9705
fix(web): make reset zoom hover visible (#6385)
t3-code[bot] 1e59b4c
fix(web): keep the typed prompt when a draft changes repo (#6393)
t3dotgg 6bc6cb6
fix(web): keep diff file lists scrollable past expanded files (#6423)
dominic-r df19f6c
fix(server): align Codex collaboration prompts (#6432)
none23 5015d7c
fix(web): keep turn minimap stable as composer grows (#6414)
extoci 97db94c
fix(web): keep pull request panel within viewport (#6451)
Bil0000 9513e62
Add bil0000 to VOUCHED contributors list (#6462)
maria-rcks 2ab188f
fix: ignore pull request actions in latency tracker (#6476)
t3-code[bot] 9e20194
Remove rebase requirement before opening PR (#6479)
juliusmarminge fd51561
fix(mobile): extend blockquotes across wrapped lines (#6482)
chrisdeeming 83ad26c
fix(mobile): prevent invalid HTML entities from crashing markdown (#6…
Lucenx9 1b16ed6
fix(web): avoid Clerk close button overlap (#6442)
t3-code[bot] 2fab18e
fix(web): show unlinked icon when viewport aspect ratio is unlocked (…
UtkarshUsername 92d4a2e
fix(web): scope pull request errors to their environment (#6490)
Adamulek123 bad1143
fix(mobile): show a real settings cog in the Android sidebar header (…
paul-vd 23d45d9
fix(web): restore default stage artwork colors (#6535)
t3-code[bot] 5ff3a03
fix(web): align sidebar wordmark label (#6086)
WarheadTaylor 96bfa67
fix(web): align the snoozed thread wake icon (#6215)
RakshithBhat03 db1507e
feat: allow disabling auto-settle on merge (#5880)
t3dotgg 85389b9
Nest mobile task settings in bottom sheets (#6224)
juliusmarminge 5304f3e
chore(mobile): bump app version to 1.0.4
t3-code[bot] 59be6f7
fix(web): simplify the desktop-managed server update banner copy (#6549)
t3dotgg e15f655
fix(web): show background policy tooltips sooner (#6506)
davidhu2000 710fd0e
feat(desktop): add favicons to the Browser panel (#5644)
chrisdeeming 9fd788b
fix(preview): only show browser-ready local servers (#6021)
chrisdeeming 7e01d33
perf(build): stop unpacking node_modules wholesale from the Windows a…
tsouth89 baaeda3
fix: avoid stale Live Activities when publishing is disabled (#6325)
juliusmarminge 8f9ab08
fix(mobile): add breathing room between the git progress overlay and …
PollyGlot 4a2f8b0
fix(web): keep thread rename open during IME composition (#6281)
MichaelCharles 6ae44b4
refactor(mobile): name the iOS nav bar height fallback (#6589)
PollyGlot b3b4b57
fix(mobile): preserve keyboard suggestions while typing (#6323)
juliusmarminge 21a3669
fix(mobile): prevent OTA update restart crashes (#6324)
juliusmarminge 038560e
fix(web): align every titlebar control cluster on one shared inset (#…
juliusmarminge 184d8ef
fix(mobile): steer active turns by default (#6543)
chrisdeeming 1a65994
fix(web): clarify desktop update status (#6504)
StiensWout 8099140
fix(server): terminal subprocess polling no longer floods the PID spa…
SunkenInTime 1add47b
fix(web): add copying terminal selection with ctrl+c in the web app (…
UtkarshUsername c9063f0
perf(desktop): speed up Windows update installation (#6169)
StiensWout 196c8ea
fix(web): style sidebar action tooltips (#6371)
t3-code[bot] 9885a84
refactor(web): simplify global styling (#6381)
t3-code[bot] f071907
fix(server): handle files named HEAD in git status (#6397)
Lucenx9 e25021a
feat(packaging): maintain AUR packages in-repo (#4128)
maria-rcks 74f7b43
fix(web): bound OKLCH gamut mapping (#6485)
Lucenx9 57a299a
feat(web): open remote environments in your local editor over SSH (#6…
t3dotgg d7abd7f
feat(web): refresh workspace layouts and tool activity
maria-rcks 804cba4
revert: refresh workspace layouts and tool activity (#6657)
maria-rcks 48ddb3d
feat(web): older chat timestamps show the date, not just the time (#6…
t3dotgg 8c628f1
fix(web): align pull request action menu rows (#6534)
Bil0000 6ae9662
fix(web): restore selected themes in dark mode (#6665)
StiensWout f0ebc62
fix(web): improve Codex usage graph contrast (#6669)
StiensWout e9ae134
docs: route feature requests to Discussions
juliusmarminge d8a6dfd
fix(desktop): app zoom no longer zooms the preview browser (#6649)
juliusmarminge afca73d
fix(server): keep provider notification consumers alive past startSes…
tsouth89 7547280
fix(server): treat removed Bitbucket permissions endpoint as unknown,…
lnieuwenhuis 672216d
fix(ssh): let cold remote servers finish starting (#6168)
gbarros-dev 1e87029
fix(web): preserve Claude insight line breaks (#4344)
nateEc a6ac27e
feat(web): accept file drops across the chat workspace (#6636)
dbalders eaa6c47
fix(web): widen ordered-list marker gutter for 3+ digit item numbers …
lnieuwenhuis 71c6f82
fix(server): bound thread activity hydration (#6153)
t3-code[bot] 48cba7d
fix(web): restore the Archive action in the default sidebar thread me…
lnieuwenhuis 9f26656
fix(web): open diff files from nested projects (#6174)
gbarros-dev b277cc6
fix(mobile): use tryOpenExternalUrl for markdown links in ThreadFeed …
mohamedmastouri-hue 2cb1a26
fix(web): open the file a bare filename reference names (#6297)
Brechard ddee418
fix(server): stop the provider title mirror from overwriting real thr…
repparw 178da6b
fix(shared): match source-control providers by DNS label (#6175)
gbarros-dev b7dbbba
feat(desktop): Chrome-style hold-to-quit (#5508)
Bil0000 d94fbda
fix(gitlab): submit review comments on context lines (#6348)
tarik02 db3278f
fix(marketing): keep Grok mark clear of mobile hero copy (#4542)
NicL9923 3bc4fdf
fix(mobile): recover the QR pairing scanner when camera access is den…
hey-jj a38cac8
fix(web): keep a long path from running under the folder picker butto…
Sy-D 270489b
fix(terminal): right-click paste works in the terminal (#5240)
StiensWout 4db5075
fix(mobile): explain iOS-only settings on Android (#4981)
danvernon 9bdd912
fix(web): stop counting a workflow coordinator as a working agent (#6…
Rishet11 6e6d1b4
fix(web): keep floating preview anchored after panel closes (#6547)
AksharP5 a7c5ad5
fix(web): unstick /connect after in-modal sign-in by redirecting to t…
TorbenWetter 7afa184
fix(web): keep send reachable while a turn is running on mobile (#4781)
AMohamedAakhil 34a12bc
fix(web): reject unsupported composer image types at attach time (#6574)
mdshzb04 5ffbf3c
Make ClaudeTextGeneration tests hermetic on Windows (#4508)
mihneaptu 143f713
fix(web): show command output in work log (#4083)
LikoKiko 06dd999
fix(web): reserve sibling column width when resizing the right panel …
Lasdw6 9e61d0f
fix(web): replace whitespace in new ref names with dashes (#6270)
jorj-pineda c7b14a8
fix(client-runtime): branch list no longer resets while paging throug…
a20hek b0de385
fix(web): support Shift+Insert terminal paste (#5982)
aoright d79f975
fix(web): keep the composer glass aligned with the context strip at a…
Williawar 135dc15
fix(codex): keep background memory out of chats (#5468)
AksharP5 51c6daa
fix(server): treat a missing Codex rollout as a recoverable resume er…
Rishet11 3cde99b
fix(web): hide provider Update toast action while an update is runnin…
mrmg e204f5a
fix(desktop): agent shells inherit a UTF-8 locale on macOS (#6236)
Linus-Boehm 474cc5f
fix(server): ignore Claude command lifecycle messages (#6606)
naveed949 402c9e0
docs: mention Bitbucket user read scope needed by auth probe (#6291)
thamrx 551f4c9
fix(server): return valid preview action results (#5966)
duncan-vc e9e4697
fix(claude): make "Always allow for session" stick, and only for the …
kakismash 9d0f2fc
fix(ssh): surface a failed remote t3 install instead of a silent 0-by…
TorbenWetter f075a58
perf(server): persist the wire projection for streaming tool.updated …
mInrOz c4556ab
fix(web): stop wrapping partial code block selections in markdown fen…
JoeJoeflyn efe1773
fix(web): hide T3 Connect toggle in web app settings (#5068)
JoeJoeflyn a5d3532
fix(web): show provider account accent badge in sidebar rows and hove…
vitalyiegorov c0f9d91
fix(server): wait for concurrent SQLite writers instead of failing wi…
ostapondo 7c55e86
fix(web): reject oversized prompts before provider turn start (#6602)
naveed949 40ab7bf
feat(web): collapse the question prompt from its header (#6773)
Jardo-51 684d703
fix(shared): degrade an unknown system time zone to UTC in usage wind…
Rishet11 ad47d23
fix(claude): discover repo-local .agents/skills in skill discovery (#…
RoshanMhatre d715c2e
fix(server): let slow provider CLIs raise their discovery probe budge…
CDVolvik d5465ae
fix(web): retain terminal PR badges after checkout switch (#4755)
sebbonit ca37b19
fix(web): show selected model in context window tooltip (#4772)
nqrwhal 5e14737
fix(web): scale command details with code font (#6510)
Serendeep cf7bfd1
fix(web): preserve XML-like tags in user messages (#4133)
0utsights 7c8848e
fix(desktop): route mouse thumb buttons to the in-app browser (#4459)
akosbalogh f915320
fix(web): keep the final segment of directory paths with a trailing s…
jorvarea 7083bce
Keep block code plain when copying from rendered markdown (#4468)
yashranaway 21b6fb5
fix(web): add web app manifest so installed app keeps its scope (#4306)
Albro3459 db02c6b
Skip user hooks during Claude capability probes (#4466)
yashranaway 31d0fb6
fix(mobile): use Android monospace font family (#4609)
tastelessjolt b72d5d7
fix(desktop): timestamps follow the OS locale instead of en-US (#6190)
brzzdev 1a5ff42
fix(web): keep multi-select questions open after the first click (#6646)
RaitP1 d550b82
fix(web): stop clipping the changed-files expand hover on Windows (#6…
mrmg 86fb47a
fix(server): allow long-running git pushes (#6499)
devchaudhary24k 160c76c
fix(desktop): keep probing backend readiness while the process is ali…
lgwacker dc0ff8f
fix(server): allow install scripts in npm-global provider updates (#5…
hey-jj 7ce4194
fix: detect SSH remotes with non-git user prefixes (e.g. gitlab@) (#3…
JackatDJL 39167eb
fix(web): describe what Ultracode does in the Reasoning picker (#6092)
delltrak 3b54a2a
fix(server): settle pending user-input requests when a Claude session…
AaronAbuUsama 4fc80fc
fix(server): stop replaying a command receipt for a different aggrega…
ostapondo 07e668d
fix(server): settle snoozed threads immediately (#5379)
0bkevin 277a7cb
fix(mobile): prevent crash on sign out in settings (#4899)
shubhu121 f8bb92b
fix(mobile): local-checkout threads record their branch so PR badges …
Zeus-Deus 62bb974
fix(web): contain long approval commands (#6503)
Serendeep e17f244
feat(web): make right panel maximize bindable (#5091)
husseinraoouf 61b2e74
fix(server): respect inherited OPENCODE_CONFIG_CONTENT (#4242)
jonocodes 04f2309
fix(marketing): detect Mac chip on homepage download button (#4197)
mahdibm-dev 931e915
Keep the server alive when a response write hits a dead socket (#4470)
yashranaway 664499c
Limit physical key fallback to non-Latin layout output (#4469)
yashranaway 2fc6762
fix: restore CLAUDE.md symlink target (#3929)
NgoQuocViet2001 ec141c1
fix(clients): default clone destination to folder plus repo name (#5989)
inayayousfi 20a7042
fix(web): keep timestamp date and time in the same locale (#7081)
juliusmarminge ad11723
feat(desktop): add signal macOS DMG installer background (#6201)
Brechard a5e29ed
feat(web): send PR line requests to agent (#6597)
Bil0000 e58cbb9
fix(web): restore dark theme palette (#6663)
eddy-naboulet 2f486ab
refactor(web): simplify advanced theme controls (#7107)
StiensWout d484735
fix(web): keep highlighted command menu items clear of the scroll fad…
PollyGlot 2773229
test: remove redundant and stale tests (#6267)
t3-code[bot] 3583cd2
test: favor behavior over implementation details (#7157)
t3-code[bot] d23b181
feat(mobile): add built-in themes (#6619)
chrisdeeming 4cb676c
docs: point CLAUDE.md at AGENTS.md with an @import instead of a symli…
UtkarshUsername 4c1d99d
fix(web): show filenames when commit dialog paths overflow (#6392)
frarredondo 89c52a3
fix(mobile): keep sheet actions below status bar (#6635)
NitayRabi bab4b6f
fix(web): align Windows update confirmation copy (#7208)
StiensWout fee10de
feat(lint): ban native title tooltips and migrate to styled Tooltip (…
UtkarshUsername ba46f92
fix(pull-requests): protect provider API budgets (#6466)
Bil0000 949feb6
feat(web): configurable browser defaults in Settings → Integrations (…
juliusmarminge b994fda
chore: sync with upstream pingdotgg/t3code main
yordis 976fd56
test(persistence): pin the legacy ledger simulation to the upstream i…
yordis File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,72 @@ | ||
| #!/usr/bin/env bash | ||
|
|
||
| set -euo pipefail | ||
|
|
||
| usage() { | ||
| echo "Usage: $0 <ios|android> <device-id> <server-port> <base-dir> [url-scheme]" >&2 | ||
| exit 2 | ||
| } | ||
|
|
||
| [[ $# -ge 4 && $# -le 5 ]] || usage | ||
|
|
||
| platform="$1" | ||
| device_id="$2" | ||
| server_port="$3" | ||
| base_dir="$4" | ||
| url_scheme="${5:-t3code-dev}" | ||
|
|
||
| case "$platform" in | ||
| ios) | ||
| mobile_origin="http://127.0.0.1:${server_port}" | ||
| ;; | ||
| android) | ||
| mobile_origin="http://10.0.2.2:${server_port}" | ||
| ;; | ||
| *) | ||
| usage | ||
| ;; | ||
| esac | ||
|
|
||
| repo_root="$(git rev-parse --show-toplevel)" | ||
| cd "$repo_root" | ||
|
|
||
| if ! pairing_output="$({ | ||
| T3CODE_PORT="$server_port" node apps/server/src/bin.ts auth pairing create \ | ||
| --base-dir "$base_dir" \ | ||
| --base-url "$mobile_origin" \ | ||
| --ttl 15m \ | ||
| --label "agent-mobile-${device_id:0:8}" | ||
| } 2>&1)"; then | ||
| echo "Could not mint a mobile pairing credential." >&2 | ||
| exit 1 | ||
| fi | ||
|
|
||
| pairing_url="$(printf '%s\n' "$pairing_output" | sed -n 's/^Pair URL: //p' | tail -n 1)" | ||
| if [[ -z "$pairing_url" ]]; then | ||
| echo "Could not parse the mobile pairing URL." >&2 | ||
| exit 1 | ||
| fi | ||
|
|
||
| deep_link="$(PAIRING_URL="$pairing_url" URL_SCHEME="$url_scheme" node - <<'NODE' | ||
| const query = new URLSearchParams({ | ||
| pairingUrl: process.env.PAIRING_URL, | ||
| autoConnect: "1", | ||
| }); | ||
| process.stdout.write(`${process.env.URL_SCHEME}://connections/new?${query}`); | ||
| NODE | ||
| )" | ||
|
|
||
| case "$platform" in | ||
| ios) | ||
| xcrun simctl openurl "$device_id" "$deep_link" | ||
| ;; | ||
| android) | ||
| # adb shell re-joins its arguments and evaluates them through the device | ||
| # shell, so the deep link's `?`/`&` must be quoted once more for that shell. | ||
| adb -s "$device_id" shell \ | ||
| "am start -W -a android.intent.action.VIEW -d '$deep_link' com.t3tools.t3code.dev" \ | ||
| >/dev/null | ||
| ;; | ||
| esac | ||
|
|
||
| echo "Opened the existing Add Environment route with a fresh pairing credential." | ||
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| blank_issues_enabled: false | ||
| contact_links: | ||
| - name: Feature request | ||
| url: https://github.com/pingdotgg/t3code/discussions/categories/ideas | ||
| about: Suggest an improvement or new capability in Discussions. |
This file was deleted.
Oops, something went wrong.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Android pairing ignores custom scheme
Low Severity
The optional fifth argument changes only the deep-link
url_scheme, but the Androidam starttarget stays hardcoded tocom.t3tools.t3code.dev. Preview and production schemes map to different packages inapp.config.ts, so a non-dev scheme opens the wrong app (or fails) while iOS can still resolve by scheme alone.Additional Locations (1)
.agents/skills/test-t3-mobile/scripts/pair-client.sh#L15-L16Reviewed by Cursor Bugbot for commit 976fd56. Configure here.