Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
ed08af0
feat(rpc): add pull request contracts and cancellable requests
gaelcado Sep 27, 2026
c3984d3
feat(engine): query and manage repository pull requests via GitHub CLI
gaelcado Sep 27, 2026
1a73bd6
feat(ui): add shared rendering support for pull request views
gaelcado Sep 27, 2026
9f35627
feat(ui): add native pull request board and detail workspace
gaelcado Sep 27, 2026
f41d0e3
test(pr): add dashboard demo and deterministic GitHub fixtures
gaelcado Sep 27, 2026
0ab32b1
Improve PR code review with persistent file navigation and fitted gut…
gaelcado Sep 27, 2026
3b1c6bf
Keep the PR mention hint beside the composer placeholder
gaelcado Sep 27, 2026
b461b07
feat(ui): add interruptible selection indicator motion
gaelcado Sep 28, 2026
db6670d
refactor(pr): use a sliding indicator in floating navigation
gaelcado Sep 28, 2026
15494b0
fix(pr): keep file search at toolbar height
gaelcado Sep 28, 2026
cea3436
feat(pr): add split diff layout using shared Changes rendering
gaelcado Sep 28, 2026
2b09e37
feat(pr): review the Code tab as one stream with a file tree
gaelcado Sep 29, 2026
2e84f4d
feat(engine): page repository pull request listings
gaelcado Sep 29, 2026
d93af23
feat(pr): load more pull requests on the board
gaelcado Sep 29, 2026
38d44c1
feat(pr): hand a pull request off to an agent session
gaelcado Sep 29, 2026
9efdf11
fix(pr): stack Summary cards without floating titles
gaelcado Sep 29, 2026
562b761
fix(pr): stop a jumped-to file header doubling the diff border
gaelcado Sep 29, 2026
2054f15
test(pr): capture the board and detail offscreen for visual QA
gaelcado Sep 29, 2026
20c6638
fix(pr): keep layouts stable while loading and align card content
gaelcado Sep 29, 2026
ad62e5b
fix(pr): lay out the agent handoff as a settings-style row
gaelcado Sep 29, 2026
d69d166
fix(pr): match the pinned file header to the header rows
gaelcado Sep 29, 2026
4945548
fix(ui): keep the Pull requests entry in the Settings footer
gaelcado Sep 29, 2026
0e941ce
fix(pr): send PR comments with the composer's send control
gaelcado Sep 29, 2026
060e7f6
fix(pr): run distinct GitHub reads side by side and skip unreadable r…
gaelcado Sep 29, 2026
12e7327
fix(pr): load PR images only from public HTTPS hosts
gaelcado Sep 29, 2026
23421b4
fix(pr): refresh the diff after Refresh and explain failures in words
gaelcado Sep 29, 2026
be4ba5e
fix(rpc): resolve unary calls whose reply is null
gaelcado Sep 29, 2026
2f3826c
feat(pr): open the board on the repository it is opened from
gaelcado Sep 29, 2026
fa6386b
fix(pr): dock the comment composer as the chat composer's pill
gaelcado Sep 29, 2026
2b76fce
fix(client): map capability RPC errors for the mobile core
gaelcado Sep 29, 2026
a2176bd
refactor(pr): use the shared text tooltip on PR buttons
gaelcado Sep 29, 2026
dc95594
style: rustfmt the pull request board changes
gaelcado Sep 29, 2026
099cd4a
fix(pr): finish abandoned GitHub reads and trim the RPC surface
gaelcado Oct 1, 2026
9394b33
fix(pr): reuse the board across repository casing and keep later page…
gaelcado Oct 4, 2026
e867421
fix(pr): keep comments, drafts and images safe in the pull request view
gaelcado Oct 1, 2026
3ef9bce
fix(pr): hide the chat side pane on the Pull requests route and drop …
gaelcado Oct 1, 2026
7b0f61c
fix(pr): make the pull request screens keyboard-complete and clear up…
gaelcado Oct 3, 2026
8076ca9
Clean up pull request state and workflow coverage
gaelcado Oct 6, 2026
e995ec5
Improve pull request discovery and loading states
gaelcado Oct 6, 2026
706b236
fix(ui): match PR stream corner guards to shell surface
gaelcado Oct 6, 2026
fc9ab5e
fix(ui): keep PR titlebar clear of the new-session control
gaelcado Oct 6, 2026
2fa6488
Center the empty pull request activity state
gaelcado Oct 6, 2026
92a4e20
Add PR assessments, CI summaries, stars, and revision handoffs
gaelcado Oct 6, 2026
27b72f3
Polish the PR repository picker and cancel abandoned selections
gaelcado Oct 7, 2026
648c9be
Remove PR picker eyebrow and add overflow-aware menu fades
gaelcado Oct 7, 2026
640abc5
Keep PR diff content inside the rounded frame without painted corner …
gaelcado Oct 7, 2026
b35838f
Preserve newer PR drafts and pending diff refreshes across reopening
gaelcado Oct 7, 2026
7d83327
Align PR typography and give empty states and verification controls room
gaelcado Oct 7, 2026
41488cc
Fix PR reopening, handoff context, and inline review feedback
gaelcado Oct 7, 2026
d097d20
Fix PR refresh races, fork handoffs, and Markdown selection
gaelcado Oct 8, 2026
e799aec
Fix remote sends stranded by mobile suspension and lost host wakes (#…
katulevskiy Oct 8, 2026
0c4835d
Explorer: group finished subagents, show running counts (#647)
katulevskiy Oct 8, 2026
1074bc5
Open tool-call files in the files panel, and in the default editor (#…
katulevskiy Oct 9, 2026
db4a719
Merge branch 'pr-484' into pr-484-merged
wing-anara Oct 9, 2026
e7ea910
Pull requests: harden untrusted content, cache the board, polish the …
wing-anara Oct 9, 2026
38e2f57
Fix the ReadFile tool fixture for the images field
wing-anara Oct 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 32 additions & 31 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,16 @@ loro-protocol = "0.3"
# Linux — the Metal path's snapshot/blur/composite, ported).
# Paint-time rounded image masks (#9), bounded Windows backdrop blur and
# translucent compositing, plus blur-aware scene batching (#10).
gpui = { git = "https://github.com/zeronsh/zui", rev = "dce5c1f737a834b32c2b531d552ea78035e54093" }
gpui_platform = { git = "https://github.com/zeronsh/zui", rev = "dce5c1f737a834b32c2b531d552ea78035e54093", features = [
# Per-pixel rounded clipping (`Window::with_rounded_clip`, 361ff20).
gpui = { git = "https://github.com/zeronsh/zui", rev = "361ff20b919fdfb80199ee6d9aed725300cb7d54" }
gpui_platform = { git = "https://github.com/zeronsh/zui", rev = "361ff20b919fdfb80199ee6d9aed725300cb7d54", features = [
"wayland",
"x11",
"font-kit",
"runtime_shaders",
] }
gpui_tokio = { git = "https://github.com/zeronsh/zui", rev = "dce5c1f737a834b32c2b531d552ea78035e54093" }
gpui-base = { git = "https://github.com/zeronsh/gpui-component", rev = "47ccd07295858d66f8fe826df9651a56218eb887" }
gpui_tokio = { git = "https://github.com/zeronsh/zui", rev = "361ff20b919fdfb80199ee6d9aed725300cb7d54" }
gpui-base = { git = "https://github.com/zeronsh/gpui-component", rev = "701ca97af7983bf85343d2d1d404ab528b18ec96" }

# diffs
similar = "2"
Expand Down
35 changes: 34 additions & 1 deletion apps/ios/Zeron/App/AppModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,8 @@ final class AppModel {

@MainActor func signOutLocally() {
voice.stop()
endDeliveryBackgroundTask()
lastDeliveryActivity = .distantPast
client?.shutdown()
client = nil
Credentials.clearStored()
Expand All @@ -231,8 +233,38 @@ final class AppModel {
newSessionImages = []
}

func didEnterBackground() { client?.onBackground() }
private var lastDeliveryActivity = Date.distantPast

func noteDeliveryActivity() { lastDeliveryActivity = Date() }

private var deliveryBackgroundTask: UIBackgroundTaskIdentifier = .invalid
private var deliveryBackgroundDeadline: DispatchWorkItem?

private func endDeliveryBackgroundTask() {
deliveryBackgroundDeadline?.cancel()
deliveryBackgroundDeadline = nil
guard deliveryBackgroundTask != .invalid else { return }
UIApplication.shared.endBackgroundTask(deliveryBackgroundTask)
deliveryBackgroundTask = .invalid
}

func didEnterBackground() {
// Give the already-durable room outbox and host wake time to reach
// the edge when the user leaves immediately after tapping Send.
endDeliveryBackgroundTask()
if client != nil, !isDemo,
Date().timeIntervalSince(lastDeliveryActivity) < 120 || rows.values.contains(where: { $0.sendState == .sending || $0.sendState == .queued }) {
deliveryBackgroundTask = UIApplication.shared.beginBackgroundTask(withName: "Finish message delivery") { [weak self] in
self?.endDeliveryBackgroundTask()
}
let deadline = DispatchWorkItem { [weak self] in self?.endDeliveryBackgroundTask() }
deliveryBackgroundDeadline = deadline
DispatchQueue.main.asyncAfter(deadline: .now() + 25, execute: deadline)
}
client?.onBackground()
}
func willEnterForeground() {
endDeliveryBackgroundTask()
client?.onForeground()
refreshWorkspace()
}
Expand Down Expand Up @@ -552,6 +584,7 @@ final class AppModel {
let project = rawProjects.first { $0.id == draft.projectId }
let worktree = draft.worktree ? project.map { WorktreeSpec(repoPath: $0.path, base: draft.branch ?? "HEAD", spaceId: $0.id) } : nil
_ = try handle.send(request: SendRequest(text: text, attachments: images.map(\.outgoing), worktree: worktree, busy: .queue))
noteDeliveryActivity()
refreshWorkspace()
return chatId
} catch {
Expand Down
3 changes: 3 additions & 0 deletions apps/ios/Zeron/Session/CoreSessionSource.swift
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ final class CoreSessionSource: SessionSource {
next.banner = .notDelivered
} else if c.sendState == .queued {
next.banner = .failed("\(c.host.name ?? "Host") is offline — will send when it's back")
} else if c.sendState == .sending {
next.banner = .sending
} else if app?.connectivity?.state == .offline {
next.banner = .offline
} else if !c.room.connected, let retry = c.room.retryAtMs {
Expand Down Expand Up @@ -111,6 +113,7 @@ final class CoreSessionSource: SessionSource {
do {
if mode == .interrupt, chrome.running { try handle.interrupt() }
_ = try handle.send(request: SendRequest(text: text, attachments: images.map(\.outgoing), worktree: nil, busy: mode == .steer ? .steer : .queue))
app?.noteDeliveryActivity()
sendFailure = nil
return true
} catch {
Expand Down
1 change: 1 addition & 0 deletions apps/ios/Zeron/Session/SessionSource.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ struct SessionChrome: Equatable {
enum Banner: Equatable {
case none
case working(since: Date?, word: String)
case sending
case offline
case reconnecting(in: Int)
case notDelivered
Expand Down
3 changes: 3 additions & 0 deletions apps/ios/Zeron/Session/SessionViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,9 @@ final class StatusPill: UIControl {
}
render()
timer = Timer.scheduledTimer(withTimeInterval: 1, repeats: true) { _ in render() }
case .sending:
grid.kind = .trailer
label.text = "Sending to host…"
case .offline:
grid.kind = .dot(StatusTone.idle)
label.text = "Offline — sends are saved"
Expand Down
Loading
Loading