Skip to content

feat: GitHub Copilot adapter - #295

Closed
zortos293 wants to merge 33 commits into
pingdotgg:mainfrom
zortos293:wip/github-copilot-adapter
Closed

zortos293 wants to merge 33 commits into
pingdotgg:mainfrom
zortos293:wip/github-copilot-adapter

Conversation

@zortos293

@zortos293 zortos293 commented Mar 7, 2026 •

Copy link
Copy Markdown
Contributor

Due to this being closed i have made an fork

https://github.com/zortos293/t3code-copilot

What Changed

  • adds a minimal GitHub Copilot provider alongside the existing Codex provider
  • wires Copilot through the server, shared contracts, and web app so threads can run with either provider
  • adds Copilot provider selection, model selection, usage/quota display, and tool-call rendering in chat
  • keeps Codex working as before
  • includes follow-up fixes for Copilot tool-call visibility and streamed assistant-message completion

Why

A lot of companies already have access to GitHub Copilot through their GitHub org or enterprise plan.

This change lets those teams use T3 Code with tooling they already have access to, instead of needing a separate provider setup first. The implementation is intentionally kept focused on the core provider integration so the change is easier to review and maintain.

UI Changes

  • adds GitHub Copilot to the provider picker
  • adds Copilot model selection
  • shows Copilot usage/quota information in the chat UI
2026-03-07_14-10-14

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

Testing

  • bun lint
  • bun typecheck
  • desktop build + smoke test
  • manually verified Codex still works
  • manually verified Copilot provider selection, model selection, quota display, tool-call rendering, and streamed completion behavior

@vercel

vercel Bot commented Mar 7, 2026

Copy link
Copy Markdown

@zortos293 is attempting to deploy a commit to the Ping Labs Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai

coderabbitai Bot commented Mar 7, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: e6af9141-b462-4bd7-8ae9-9ee3b292aeca

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@saulposel

Copy link
Copy Markdown

See work on this fork: https://github.com/yappologistic/t3code/commits/main/

@zortos293

Copy link
Copy Markdown
Contributor Author
image WIP Test img

Wire GitHub Copilot into the provider stack, shared contracts, and chat settings so the app can start and configure Copilot sessions alongside Codex.
Use live Copilot model metadata to validate session configuration, drive reasoning-effort support, and keep the web model picker aligned with server-reported capabilities.
@zortos293 zortos293 changed the title WIP: feat: GitHub Copilot adapter feat: GitHub Copilot adapter Mar 7, 2026
@zortos293

Copy link
Copy Markdown
Contributor Author
image Reasoning

Resolve a bundled Copilot CLI by default, update the Copilot SDK dependency, and avoid duplicating assistant message text when providers send both deltas and completed-message fallbacks.
Skip missing workspace roots when starting sessions or capturing checkpoints, avoid duplicate or empty assistant message finalization, and add adapter coverage through an injectable Copilot client factory.
@zortos293

Copy link
Copy Markdown
Contributor Author
2026-03-07_10-41-40 Question

Keep a stable orchestration turn id across Copilot tool, approval, and user-input events while preserving provider turn refs and surfacing better tool titles from session events.
Keep approval and user-input resolution tied to their originating turn and let the chat work log keep showing the most relevant visible turn while a newer turn is still waiting for output.
@brrock

brrock commented Mar 7, 2026 •

Copy link
Copy Markdown

What is draft about this?

@brrock

brrock commented Mar 7, 2026

Copy link
Copy Markdown

Also if I start a chat with codex (on the current release version) can I continue with gh copilot?

@zortos293
zortos293 marked this pull request as ready for review March 7, 2026 12:00
@zortos293

Copy link
Copy Markdown
Contributor Author

What is draft about this?

its not fully done your correct shouldn't be an draft anymore

? input.fallbackText!
: "";

if (text.length === 0 && !input.existingMessage) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟠 High Layers/ProviderRuntimeIngestion.ts:690

In finalizeAssistantMessage, when sawDelta is true but text is empty (e.g., immediate delivery mode with no buffer) and input.existingMessage is undefined (read model lag), the condition text.length === 0 && !input.existingMessage triggers an early return. This drops the thread.message.assistant.complete command and removes the message ID from tracking via forgetAssistantMessageId, leaving the message permanently in 'streaming' state. Consider adjusting the early-return check to also verify !sawDelta so that messages with dispatched deltas are always completed.

-      if (text.length === 0 && !input.existingMessage) {
+      if (text.length === 0 && !input.existingMessage && !sawDelta) {
🚀 Reply "fix it for me" or copy this AI Prompt for your agent:
In file apps/server/src/orchestration/Layers/ProviderRuntimeIngestion.ts around line 690:

In `finalizeAssistantMessage`, when `sawDelta` is true but `text` is empty (e.g., `immediate` delivery mode with no buffer) and `input.existingMessage` is undefined (read model lag), the condition `text.length === 0 && !input.existingMessage` triggers an early return. This drops the `thread.message.assistant.complete` command and removes the message ID from tracking via `forgetAssistantMessageId`, leaving the message permanently in 'streaming' state. Consider adjusting the early-return check to also verify `!sawDelta` so that messages with dispatched deltas are always completed.

Evidence trail:
apps/server/src/orchestration/Layers/ProviderRuntimeIngestion.ts lines 680-715 (finalizeAssistantMessage function with early return logic), lines 943 (markAssistantMessageSawDelta called on delta processing), lines 945-968 (delivery mode handling showing 'immediate' mode dispatches without buffering), lines 683-688 (text calculation where sawDelta=true prevents fallbackText usage)

@zortos293

zortos293 commented Mar 7, 2026 •

Copy link
Copy Markdown
Contributor Author

Also if I start a chat with codex (on the current release version) can I continue with gh copilot?

atm no working on fixing message history atm

Filter visible work-log entries by activities that happened after the latest user message instead of tracking a separate visible turn heuristic, which keeps follow-up Copilot work visible across provider turns with simpler session logic.
@zortos293

Copy link
Copy Markdown
Contributor Author
image Tool calls finally working

Auto-approve Copilot permission requests in full-access mode and align the chat completion summary plus composer effort persistence with the simplified post-user-message work-log model.
Route git commit and PR generation through the selected provider so Git quick actions can use Copilot models and provider-specific options instead of always falling back to Codex.
@zortos293

Copy link
Copy Markdown
Contributor Author

@capyai check

@brrock

brrock commented Mar 7, 2026

Copy link
Copy Markdown

Is this ready to use?

Expose Copilot billing multipliers and quota snapshots from provider health so the model picker can show per-model cost hints and remaining usage directly in the chat UI.
@zortos293

Copy link
Copy Markdown
Contributor Author
image

@brrock you can try now it should be working just visual stuff that im adding

Extract Copilot turn-tracking state so usage survives until final completion and keep work-log activity visible across follow-up turns after the latest user message.
Keep the requested Copilot package versions in apps/server/package.json without carrying the generated bun.lock diff in this branch.
Update the server package to the latest published @github/copilot-sdk release while keeping the Copilot CLI package pinned at its current latest version.
Ensure assistant completions still dispatch when deltas were already streamed but the final completion arrives before the read model reflects the message. Add regression coverage for streaming-mode completion with read-model lag.
@zortos293

Copy link
Copy Markdown
Contributor Author

Codex Working :
image
Copilot Working :
image

@t3dotgg

t3dotgg commented Mar 9, 2026

Copy link
Copy Markdown
Member

We will not be merging new providers for a long time. Appreciate the effort but we can't possibly support this yet.

@t3dotgg t3dotgg closed this Mar 9, 2026
@brrock

brrock commented Mar 9, 2026

Copy link
Copy Markdown

@zortos293 even tho this got closed, mind enabling issues on your repo so I can report issues?

@7A7z

7A7z commented Mar 9, 2026

Copy link
Copy Markdown

@zortos293 can we keep this pr as a fork and constantly updated with the new updates to the t3code repo ? untill theo adds support to opencode or github copilot

@zortos293

Copy link
Copy Markdown
Contributor Author

@zortos293 can we keep this pr as a fork and constantly updated with the new updates to the t3code repo ? untill theo adds support to opencode or github copilot

I already have an fork that is being updated

T3code Copilot

@zortos293

Copy link
Copy Markdown
Contributor Author

@zortos293 even tho this got closed, mind enabling issues on your repo so I can report issues?

yep will do

@zortos293

Copy link
Copy Markdown
Contributor Author

https://github.com/zortos293/t3code-copilot @brrock Enabled

@TeamDman

TeamDman commented Mar 9, 2026

Copy link
Copy Markdown

@TeamDman zortos293/t3code/actions/runs/22803429368 can you test this build?

Confirmed https://github.com/zortos293/t3code-copilot/actions/runs/22830457898 is working for me :D

Will lodge any further problems on the issue tracker for your fork

@zortos293

Copy link
Copy Markdown
Contributor Author

@TeamDman zortos293/t3code/actions/runs/22803429368 can you test this build?

Confirmed https://github.com/zortos293/t3code-copilot/actions/runs/22830457898 is working for me :D

Will lodge any further problems on the issue tracker for your fork

Thank you for testing your always welcome to create issues and pr's in my fork

@zortos293

Copy link
Copy Markdown
Contributor Author

there are releases now aswell up to date with upstream

@JtMotoX

JtMotoX commented Mar 9, 2026

Copy link
Copy Markdown

there are releases now aswell up to date with upstream

That's good to know. Thanks! I will be using your fork.

@zortos293

Copy link
Copy Markdown
Contributor Author

@hades200082

Copy link
Copy Markdown

@t3dotgg What's the point of open-sourcing it and accepting contributions if people can't add new providers like this? Your app looks very good - better than most other similar apps in some ways - but without supporting other providers why would I use ot over the official Codex app, or Claude Code Agent Teams? Or even something like Conductor?

The one thing most of the other apps don't do is support multiple coding agent CLIs. This PR seems very popular, and you risk the fork becoming more popular than your original by rejecting it.

@CanRau

CanRau commented Mar 11, 2026

Copy link
Copy Markdown

I understand your frustration @hades200082, and even tho I was disappointed as well it's their decision, they probably have good reasons we don't see yet.
They were very clear from the beginning that contributions aren't yet accepted and I appreciate them still open sourcing it at that early stage so we can see what's going on behind the scenes and forks like @zortos293 are even feasible.

That "risk" is always a possibility with open source, but even given how @zortos293 seem to manage it and the popularity of T3 I'm pretty confident once those features make it into this repo people will eventually return.

Even without those changes, at least for me T3 is much more responsive than the Codex app.

And you're always welcome to use whichever app you prefer, from my understanding they're doing this mainly to scratch their own itch 🤷🏻‍♂️

mithun1999 pushed a commit to mithun1999/t3code that referenced this pull request Oct 7, 2026
…otgg#295)

A multi-repo isolated run based only the anchor repo on the chosen
branch; every other repo branched off whatever it had checked out, and
mobile's base-branch list was empty because it queried the directory
holding the .code-workspace.

prepareWorktree gains an optional repoBaseBranches list of per-repo
picks. The server bases each non-anchor repo on its pick, else its own
default branch (origin/HEAD), else its checkout, and "start from origin"
now fetches per repo. The web composer shows a "+N repos" menu next to
the anchor's base selector with a branch submenu per repo. Mobile lists
the anchor repo's branches and leaves the rest to the server default.

Fixes pingdotgg#113

Co-authored-by: Logan Rupe <logzerroneous@gmail.com>
jimprince added a commit to jimprince/t3code that referenced this pull request Oct 14, 2026
…er Plan titles

The Dashboard no longer has the A/B/C/Previous design picker: it is the Plan board
(variant A) only, the B and C variants and the stored design preference are gone, and a
stale stored value is never read. The request box is one compact line until focused,
when the composer and quick actions open; it folds back when left empty and keeps typed
text. Plan task, workstream and subproject titles get most of the row and wrap to two
lines instead of ending in an ellipsis after about 25 characters.

Requests: brad/t3code-fork#294, pingdotgg#295, pingdotgg#296

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
tannerpolley referenced this pull request in tannerpolley/t3code Nov 3, 2026
…ndbox/Workspaces-Dev

Closes #295

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
aorwall added a commit to aorwall/t3code that referenced this pull request Nov 17, 2026
…ss serves (pingdotgg#295)

Moatless now dispatches orchestration.searchThread, searchThreadStream,
getThreadTitles and getThreadLinkMetadata (soaplabs/moatless#1520), so
their error unions match upstream again. gaps.md loses the find, Lineage
title, link metadata, modelSwitch and reportsContextWindow gaps, and the
workflow-script entry records why it stays refused.

Co-authored-by: moatless-soap[bot] <273536718+moatless-soap[bot]@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Albert Örwall <609489+aorwall@users.noreply.github.com>
nckrtl referenced this pull request in nckrtl/conn Nov 23, 2026
…shimmer, mono font, thumbnails, Tasks, terminal drawer, surface launcher, rail drag, CEF always on

Pins #157, pingdotgg#280, pingdotgg#281, pingdotgg#283–pingdotgg#299 from Nick's Annotator, done by the annotations
orchestrator's agents:
- Conn mark matches neighbouring icon footprint; delegated-task text shows the
  task title, not node ids.
- Message minimap without red ticks, spring tick length, opaque jump pill (pingdotgg#283, pingdotgg#298).
- AX labels for markdown blocks; code blocks 13px / 1.625 (pingdotgg#281, pingdotgg#297).
- Subagent card: provider mark and model · effort, tighter action row,
  separator and icon spacing (pingdotgg#296, pingdotgg#295, pingdotgg#280, pingdotgg#290).
- Shimmer repaints only the band, at display rate.
- JetBrains Mono everywhere (pingdotgg#285; font is OFL).
- Image thumbnails in composer and sent messages; timeline behind an opaque
  composer; composer bottom aligns with the sidebar (pingdotgg#292, pingdotgg#294, pingdotgg#293, pingdotgg#289).
- Tasks header stays fixed; AX sweep across panels; no insight top edge (pingdotgg#291, #157).
- Thread details card inside the chat card; terminal as a bottom drawer (pingdotgg#284, pingdotgg#287).
- Right panel opens on the surface launcher (pingdotgg#299).
- Workspace rail drag-to-reorder and right-click Remove workspace (pingdotgg#288).
- CEF always on (cef feature removed); DevTools, Inspect, link/image context
  menu; browser toolbar parity (pingdotgg#286).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
nckrtl referenced this pull request in nckrtl/conn Nov 23, 2026
…nnotator batch, trimmed to scope (#272)

* feat(conn-app): the sidebar takes the keyboard like Conn's: row navigation, menu arrows, ⌘Z undo

Every sidebar row (draft rows, thread cards, settled rows, the settled shelf header) is a
tab stop with an inset focus ring. ArrowUp/Down, Home/End move between rows without opening
them, ArrowRight/Left expand and collapse the shelf or enter and leave it, Enter/Space open,
F2 renames, ContextMenu/Shift+F10 open the row's menu (lib/sidebarTree.ts). A row that goes
away hands the keyboard to itself, its parent or its place (restoreFocus).

The thread and draft menus take the keyboard while open: arrows wrap over enabled actions,
Home/End, Right/Enter open Copy, Left/Escape close one level, Enter/Space run, Tab closes and
goes on from the row, and the pointer moves the same highlight (contextMenuFallback.ts).

Discards stack in one notice ("Discarded, ⌘Z to undo", 5s like Conn) and ⌘Z undoes them,
before key bindings so it works in the composer until another key is pressed; terminals,
the palette, Settings and the model picker keep their own undo. An undo never overwrites new
input. Deleting a thread clears its unsent input once the server took the delete.

conn-state adds sidebar_nav (KeyMods, TreeRow, tree_key, tree_step, focused_row,
restore_target, row_kind, row_key, is_menu_key, menu_key, menu_step, first_enabled,
draft_tree_key, SETTLED_SHELF_ROW) and discard_undo (DiscardUndo, DiscardNotice, is_undo_key,
undo_shortcut_applies, UndoShortcutScene and the notice texts).

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

* feat(conn-app): provider instance editor, project-scoped enablement, provider-unavailable footer and update-required notices

Settings > Providers now edits providerInstances the way Conn does: an enable switch, Edit,
Delete or Reset, Add provider, display name and accent, the driver's runtime fields and named
variables, free-form environment variables, and Enable Antigravity. Each write is one
server.updateSettings with a providerInstanceMutation, built in conn-state.

The catalog keeps the server's settings: an instance is enabled as providerInstances and the
thread's project overrides say, and the Device panel's saved hosts follow settingsUpdated
instead of a one-off getConfig. The composer footer offers Open provider settings when no
provider is usable, and the picker lists update-required models.

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

* feat(conn-app): sidebar search takes the arrow keys, ⌘⇧[ / ⌘⇧] walk the threads, and a settle offers Undo

Search: while the box has the keyboard, ArrowDown and ArrowUp move a highlight over the
results and wrap, Enter opens the highlighted one and ends the search, Escape clears it. The
results are one flat list (pinned, active, every settled thread), with a listbox and option
roles. The clear button refocuses the box and is named for VoiceOver.

Threads: ⌘⇧[ and ⌘⇧] (Conn's thread.previous and thread.next) open the thread above or below
in sidebar order, stop at the ends, and skip key repeats.

Settle: a settle the server took shows `Settled,` with ⌘Z to undo. The notice groups by kind,
and an undo runs thread.unsettle with restoreUnsettledAt, then the pin, active place and snooze
the settle cleared. Un-settling, pinning or deleting the thread drops its entry.

The logic is in conn-state (search_key, adjacent_thread, traversal_order, plan_settle_undo and
the action-aware DiscardUndo); conn-client gains the four command builders the undo needs.

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

* feat(conn-app): provider models, managed-policy locks, secret references and project scope in Settings

Settings → Providers now has Conn's Models section: favorites, the models shown
in the picker, their order, and custom models, written with setModelFavorites,
setModelsHidden and setProviderModelOrder. The model picker applies them: a
Favorites tab, a star per row, favorites first, hidden models left out and the
saved order kept.

A managed policy locks the config fields and variables it pins and refuses
switching on a driver outside allowedDrivers. A variable or secret field can
read from a configured 1Password provider through an op:// reference. Turning
off the instance text generation runs on resets that selection. The accent is
gpui-component's ColorPicker. A new Settings → Projects page opens Providers in
a project's scope, where each switch writes that project's override.

conn-state gains model_preferences and the policy, secret-reference,
text-generation and project-override helpers the iOS app can share.

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

* feat(conn-state): pure logic for thread jumps, bulk actions, IME-safe search keys and more undo notices

Additive, with unit tests:
- sidebar_nav: thread_jump_key / jump_target / jump_hint_number / shows_jump_hints
  (⌘1..⌘9 and their hold hints), search_key_unless_composing, row_click and
  ThreadSelection (⌘-click, Shift-click), bulk_menu, next_after_settle.
- discard_undo: Unpinned, Snoozed and Archived notices, plan_unpin_undo,
  plan_snooze_undo, plan_archive_undo, undo_failure_text, Unsnooze and Unarchive steps.
- shell: ShellState::listed_ancestor (a subagent's row is its parent's).
- conn-client: unsnooze_thread and archive_thread command builders.

conn-app only learns to send the two new undo steps, so it builds.

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

* feat(conn-app): sidebar parity with Conn: ⌘1-⌘9 jumps, bulk settle, slim search rows, IME guard, more undo notices

- ⌘1..⌘9 open the thread at that place of the ⌘⇧[ / ⌘⇧] walk; holding ⌘ for 200ms
  shows ⌘N badges on the first nine rows.
- ⌘-click and Shift-click pick threads; a right-click on a picked row opens the bulk
  menu (Unpin, Settle, Regenerate titles, Mark unread, Delete). Bulk settle stacks in
  one undo notice and moves the open thread to one that is not settling with it.
- Search results are Conn's slim, non-tab-stop option rows; the search keys leave a
  composing input method alone (InputState::marked_text_range).
- Unpin offers an Unpinned notice that restores the pin's order key; Snoozed and
  Archived are ported to the end of the model, with no trigger (Snooze and Archive
  are dropped from the sidebar).
- Search focus ring, project favicon on the filter button, scope widening and scroll
  on opening a hidden thread, file drop onto rows, a subagent keeps its parent's row.
- docs/parity/shell-sidebar.md updated.

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

* feat(conn-app): Settings → Secrets: add, edit and remove 1Password providers, and Check a saved reference

A new Secrets page lists the environment's secret providers with a masked
account, and Add, Edit and Remove. Remove names every setting that reads from
the provider and will be unset. The form follows Conn's validation: the name
(64 characters, id slugged from it and kept on edit) and the 1Password account.
A saved secret reference in the provider editor gets Conn's Check button
(server.checkSecretSource) where the server advertises secretSourceCheck.

conn-state gains secret_providers (classify, draft validation, set and remove
requests, uses of a provider, the redacted account stand-in, check request and
outcome) and ServerConfigState reads secretProviderSettings, secretReferences,
secretSourceCheck and projectOrganization.

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

* feat(conn-state): pure logic for sidebar drag, order keys, settled paging, delegation and message search

Order keys (`pinOrderKey`, `activeOrderKey`): between, spread, reorder plans, and the pinned and
active sorts. Drag: drop targets, plans, projection, collision detection, optimistic drops and
the action sweep. The shell keeps the snapshot's older-settled cut and the pages read below it,
hides tasks shown under their parent, lists forks, resolves a listed ancestor through delegation
and rolls a subagent's or side chat's request up to its parent. The settled shelf's paging and
saved state, and message search ranking, shown order and snippet highlights. conn-client gets
the `thread.pin.reorder` builder.

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

* feat(conn-app): rename a custom model and set its options in Settings → Providers → Models

A custom model's pencil opens Conn's CustomModelEditor under its row: display
name, the options the composer shows (a driver's known ids or custom ones,
Choices or Toggle, choices with a default), Copy from a built-in model, and
Conn's save checks. Save rewrites only that entry of config.customModels.

conn-state gains custom_model_editor (the draft, driver presets, validation and
the stored entry) and model_preferences::{custom_model_raw,
with_custom_model_replaced}.

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

* fix(conn-app): Conn MCP tool calls show a friendly label and the Conn icon after the conn rename

Tool rows titled mcp__conn__conn_thread_send showed the raw name. The name-to-label and
name-to-icon table now lives in conn-state (conn_tools), mirrors web's T3_MCP_TOOLS display names
and icons, and resolves every provider spelling plus the pre-rename t3-code and t3_ forms, so iOS
can share it.

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

* refactor(conn-gpui): drop snooze and archive undo (scope §2 #9)

The sidebar keeps settle and unpin. Snooze and archive are cut, so their
undo notices, plans and commands go: UndoAction::{Snoozed, Archived},
plan_snooze_undo, plan_archive_undo, SettleUndoStep::{Unsnooze, Unarchive},
and conn-client's unsnooze_thread and archive_thread.

An undone settle or unpin still restores a snooze another client set, so
snooze_thread and SettleUndoStep::Snooze stay.

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

* refactor(conn-gpui): drop Settings → Secrets and 1Password references (scope §2 #5)

Scope keeps Vaultwarden as Conn's only secret store. This removes the
Secrets page from ad6d8d8834, the provider editor's Value / 1Password
source picker, its op:// validation and the Check button
(server.checkSecretSource).

conn-state loses the secret_providers module, the secret-reference
helpers in provider_settings, and ServerConfigState's
secretProviderSettings, secretReferences, secretSourceCheck and
projectOrganization flags. A variable another client saved as a
reference keeps it unless the user retypes or removes it.

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

* feat(conn-state): paging counts, held-row layout and a sturdier shown order for the sidebar

The Settled shelf can read its rows without starting a scope (count_in). A drop keeps the
destination in the order it made (order_by_preferred), the list's extents and the Pinned label's
room come from the rows' painted extents (item_extents, boundary_label_extent, min_held_center),
a shown order with no limit no longer overflows, the shell lists every settled thread it holds
apart from the ones the shelf may list (all_settled_threads), and a shell can be built from its
parts for fixtures (from_parts). The jump to a request a subagent makes counts as the thread's own
in its activity.

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

* feat(conn-app): sidebar drag, sweep, shelf paging and saved state, message search and subagent rollup

Pressing a row and moving 6px holds it: the list shows where it would land (Pinned and Active
labels, dashed placeholders, the Settled header, a verb badge), and a drop pins, unpins, settles,
un-settles or reorders it, kept on screen until the shell shows it through. Dragging from a
Settle or Un-settle button sweeps the rows between. The Settled shelf shows ten rows, `Show N
more` adds a page and reads older settled threads, and its open state is saved. A query with a
word of three letters or more searches messages through orchestration.searchThreads, listing the
threads it finds under the title matches with the message. A subagent's request shows on its
parent's row, and a task shown under its parent has no row.

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

* refactor(conn-gpui): drop managed-policy locks from Settings → Providers

Scope has one user with flat, Orbit-synced settings (§2 #1, #13) and no
organization policy, and the Conn Server never sends managedPolicy. The
locks from 279d54fb59 only served that enterprise policy, so they go:
locked fields and variables, the disallowed-driver switch and the Add
provider filter.

conn-state loses InstanceLocks, managed_instance_locks,
is_managed_driver_allowed, disallowed_provider_message,
managed_enable_denial, can_add_provider and
ServerConfigState::managed_policy.

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

* fix: clippy clones in the sidebar gesture code, and the ffi fixture's child is a real subagent

conn-state lists a thread as a subagent by its relationship to its parent, as Conn does, so the
iOS snapshot test's child thread now says so.

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

* refactor(conn-gpui): drop per-project provider switches (scope §2 #13, §5.1)

Settings are flat and Orbit owns Projects, so a project no longer turns
providers on or off. Settings → Projects loses its Providers hop, the
Providers page its project scope (Project / Device line and Use device
setting), and the composer reads one catalog for every project.

conn-state: resolve_project_instance_enabled becomes
settings_instance_enabled (no project), catalog_for_project becomes the
private build_catalog, and override_patch, project_override and
project_overrides go.

The Projects page here is a bare list; the per-project scripts and
worktree default land on it separately.

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

* fix(conn-app): the launch connection loads the provider catalog

The composer's provider and model picker stayed empty after launch. #258
moved the catalog onto subscribeServerConfig, but only a server switch
subscribed to it; the connection ConnApp opens at launch never did.

Both paths now open their connection through one start_connection helper
that subscribes to the shell, the server config and panel requests.

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

* feat(conn-app): Settings → Projects → a project's actions and workspace default

docs/scope.md §2 #13 keeps two per-project overrides: scripts and the worktree
default. §5.1 gives the rest of Conn's project page (name, icon, pin, archive,
checkouts, removal) to Orbit, so none of that is ported. Per-project provider
switches are already dropped.

Settings → Projects lists each project with what it sets itself and a
`Settings of <project>` button. The project's page has:
- New threads → Workspace: Current checkout or New worktree, read from the
  project's `projectSettingsOverrides` entry, else the device setting, with
  `Use device setting`.
- Actions: list, Add action, Edit, Delete action (asks first), `Use device
  actions`, and `Import scripts` from the checkout's t3.json (read with
  projects.readFile). The form checks `Name is required.` and `Command is
  required.`, gives new actions an id from their name, and a setup or settle
  action takes that role from the others.

Every write is one server.updateSettings patch of projectSettingsOverrides,
built in conn-state `project_settings` with unit tests. Drift from Conn: the
form is a section of the page, has no Keybinding field (GPUI neither shows nor
runs the server's keybindings), and the workspace choice is two buttons.

Also fixes three clippy findings in the custom model editor (models.rs).

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

* refactor(conn-gpui): keep only Antigravity's credential check from provider sign-in

Providers run through the Orbit AI router (scope §2 #3, #4), so the
browser, device-code, callback-URL and credential-form sign-in flows,
the method choice, Open docs and Sign out go, along with the Cursor
account row. What stays is Antigravity's check of the API key its
settings hold (ideally the router key with GOOGLE_GEMINI_BASE_URL on the
router): Connect / Retry connection / Check again, Cancel, its progress
and its failure, over the Conn Server's provider.auth.start, cancel and
subscribe (#266). Open provider setup now shows for Antigravity only.

conn-state provider_auth loses AuthInteraction, CredentialField,
AuthMethod, is_web_url and plain_terminal_output; AuthFlow keeps
instance_id, phase, flow_id and message; AuthPanel becomes the
credential-check view (connected, connect_label, connect_enabled) and
offers_credential_check is new. ProviderGroup loses documentation_url,
auth_email and can_logout, and has_setup is Antigravity only.

Also formats two lines from the snooze removal.

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

* test(conn-app): Settings → Providers offers only Antigravity's credential check

Antigravity on an API-key method shows Connect and none of the removed
sign-in controls; Codex shows no account row.

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

* fix(conn-app): sidebar gesture tests pass: Escape lets go, a held row shows over a closed shelf

Escape is taken in the keystroke interceptor, where the thread menu and the search box take theirs.
The held row sits in the Settled shelf while it would settle there, open or closed. The sidebar's
new labels, header and footer show in headless tests, the shelf tests read the sidebar's rows (the
list scrolls), a subagent in a test says it is one, and the question banner test presses the open
thread's own jump key (the rows are sorted by their order keys now, so the second row is not the
open thread).

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

* fix(conn-app): the pointer-release listener takes the window handle it is the last to use

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

* fix(conn-state): reconcile module exports with main

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

* feat(conn-app): Annotator batch — icons, minimap, AX, subagent card, shimmer, mono font, thumbnails, Tasks, terminal drawer, surface launcher, rail drag, CEF always on

Pins #157, pingdotgg#280, pingdotgg#281, pingdotgg#283–pingdotgg#299 from Nick's Annotator, done by the annotations
orchestrator's agents:
- Conn mark matches neighbouring icon footprint; delegated-task text shows the
  task title, not node ids.
- Message minimap without red ticks, spring tick length, opaque jump pill (pingdotgg#283, pingdotgg#298).
- AX labels for markdown blocks; code blocks 13px / 1.625 (pingdotgg#281, pingdotgg#297).
- Subagent card: provider mark and model · effort, tighter action row,
  separator and icon spacing (pingdotgg#296, pingdotgg#295, pingdotgg#280, pingdotgg#290).
- Shimmer repaints only the band, at display rate.
- JetBrains Mono everywhere (pingdotgg#285; font is OFL).
- Image thumbnails in composer and sent messages; timeline behind an opaque
  composer; composer bottom aligns with the sidebar (pingdotgg#292, pingdotgg#294, pingdotgg#293, pingdotgg#289).
- Tasks header stays fixed; AX sweep across panels; no insight top edge (pingdotgg#291, #157).
- Thread details card inside the chat card; terminal as a bottom drawer (pingdotgg#284, pingdotgg#287).
- Right panel opens on the surface launcher (pingdotgg#299).
- Workspace rail drag-to-reorder and right-click Remove workspace (pingdotgg#288).
- CEF always on (cef feature removed); DevTools, Inspect, link/image context
  menu; browser toolbar parity (pingdotgg#286).

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

* style(conn-gpui): rustfmt the annotations batch and drop a redundant clone

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

---------

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.