Skip to content

feat: Skills - #294

Closed
AllStars101-sudo wants to merge 8 commits into
pingdotgg:mainfrom
AllStars101-sudo:skills
Closed

AllStars101-sudo wants to merge 8 commits into
pingdotgg:mainfrom
AllStars101-sudo:skills

Conversation

@AllStars101-sudo

@AllStars101-sudo AllStars101-sudo commented Mar 7, 2026 •

Copy link
Copy Markdown

Skills Feature

This PR adds full skills management and chat integration to T3 Code. Skills are reusable agent instructions (SKILL.md files) installed globally at ~/.agents/skills/ via the skills.sh ecosystem.

Skills Management Page (/skills)

A new route accessible from the sidebar lets users manage their installed skills:

  • Skill cards display each skill's name, description, and platform icons (e.g. OpenAI logo for Codex) with inline toggle and uninstall controls
  • Detail view — clicking a skill card opens a panel that renders the full SKILL.md markdown content using the same renderer as chat messages, with toggle/uninstall controls in the header
  • Search — a single search bar filters installed skills instantly and queries the skills.sh registry (debounced) to discover and install new skills
  • Enable/disable works by writing [[skills.config]] entries to each platform's config file (e.g. ~/.codex/config.toml), which is how Codex natively reads skill state. Skills are enabled by default.

Chat Composer Integration

Skills can be referenced directly in chat messages:

  • /skills command — typing /skills at the start of a line opens a picker showing all enabled skills, filterable by name or description
  • Mid-text / trigger — typing / anywhere mid-text also opens the skill picker for quick inline access
  • Skill chips — selecting a skill inserts a $skill-name token that renders as a purple inline chip (similar to @path mention chips) using a custom Lexical node (ComposerSkillNode)
  • The segment parser recognizes both @path mentions and $skill-name tokens in a single pass

Backend

  • SkillsManager Effect service handles all operations: list, toggle, search, install, uninstall, and readContent
  • Six new WS RPC methods bridged through contracts, wsServer routing, and the NativeApi IPC layer
  • Install/uninstall delegates to the npx skills CLI; search hits the skills.sh HTTP API

UI Polish

  • Sidebar Skills button uses SidebarMenuButton with proper hover/active states
  • Command menu fixes: single highlight source (disabled native autoHighlight), keyboard scroll-into-view, consistent icon sizing, label prioritized over description
image image image

Note

Add Skills management across web app and server, including a '/skills' sidebar route, composer '$skill-name' tokens, '/skills' picker, and WebSocket RPCs with query thresholds of 2 characters and stale times of 30s/60s

Introduce a skills UI route, skill chips in the composer with a '/skills' command and '$name' tokens, React Query option factories, and server-side SkillsManager with WS handlers wired to contracts. Core review files: apps/web/src/routes/_chat.skills.tsx, apps/web/src/components/ComposerPromptEditor.tsx, apps/web/src/lib/skillsReactQuery.ts, apps/server/src/skills/SkillsManager.ts, and packages/contracts/src/skills.ts.

📍Where to Start

Start with the server SkillsManager in apps/server/src/skills/SkillsManager.ts, then follow its WS wiring in apps/server/src/wsServer.ts and client query options in apps/web/src/lib/skillsReactQuery.ts.

Macroscope summarized 9c8fd39.

AllStars101-sudo and others added 6 commits March 7, 2026 18:27
Define Effect schemas for all skills operations (list, toggle, search,
install, uninstall, readContent) in a new skills.ts contract module.
Register six WS RPC methods and extend the NativeApi IPC interface.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Reads installed skills from ~/.agents/skills/, parses SKILL.md
frontmatter for metadata, and manages enabled state via [[skills.config]]
entries in platform config files (e.g. ~/.codex/config.toml). Supports
searching and installing from skills.sh registry. Wire into WS server
routing and provide test mocks.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
New /skills route with grid of installed skill cards showing platform
icons, toggle switches, and uninstall buttons. Clicking a card opens a
detail view rendering SKILL.md content via ChatMarkdown. Unified search
bar filters installed skills and queries skills.sh registry. Add Skills
nav item to sidebar using SidebarMenuButton with proper hover/active
states.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Extend segment parser to recognize \$skill-name tokens alongside @path
mentions using a unified CHIP_TOKEN_REGEX. Add "slash-skill" trigger kind
for /skills command at line start and / mid-text skill picker. Update
cursor expansion and adjacency detection to handle skill segments.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
New Lexical TextNode subclass renders skills as non-editable purple
rounded chips with a box icon and formatted name. Extend all editor
plugins (backspace, arrow navigation, selection normalization) to handle
skill nodes alongside existing mention nodes via shared isComposerChipNode
helper.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add skill item type to composer command menu, fetching enabled skills
when /skills trigger or mid-text / is detected. Selecting a skill
inserts a \$skill-name token. Fix double-highlight by disabling
autoHighlight on Command component. Add scrollIntoView for keyboard
navigation. Prioritize label over description in menu item layout.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings March 7, 2026 07:42
@vercel

vercel Bot commented Mar 7, 2026

Copy link
Copy Markdown

@AllStars101-sudo 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: 7ff6ff76-c557-4cc7-99a8-2cc9e6172ef4

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.

Comment thread apps/server/src/skills/SkillsManager.ts Resolved
Comment thread apps/server/src/skills/SkillsManager.ts Resolved
Comment thread apps/server/src/skills/SkillsManager.ts Resolved

Copilot AI left a comment

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.

Pull request overview

Adds a “Skills” feature end-to-end (contracts → server WS RPC → web UI), enabling users to manage installed skills and insert enabled skills into chat prompts via a picker and $skill-name chips.

Changes:

  • Introduces a new /skills route for listing/toggling/uninstalling skills and searching/installing from skills.sh.
  • Adds chat composer integration: /skills + mid-text / trigger a skill picker; selecting inserts $skill-name rendered as a chip via a new Lexical node.
  • Implements server-side SkillsManager and wires new WS RPC methods + NativeApi surface area.

Reviewed changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
packages/contracts/src/ws.ts Adds WS method names + request schemas for skills RPC.
packages/contracts/src/skills.ts Defines Effect Schema contracts for skills inputs/results.
packages/contracts/src/ipc.ts Extends NativeApi interface with skills.* methods.
packages/contracts/src/index.ts Re-exports new skills contracts.
apps/web/src/wsNativeApi.ts Bridges NativeApi.skills.* to WS transport requests.
apps/web/src/lib/skillsReactQuery.ts Adds React Query keys/options + mutations for skills APIs.
apps/web/src/routes/_chat.skills.tsx New Skills management UI route (list/detail/search/install/toggle).
apps/web/src/routeTree.gen.ts Adds generated routing entries for /skills.
apps/web/src/composer-editor-mentions.ts Extends prompt segment parsing to recognize $skill-name tokens.
apps/web/src/composer-logic.ts Adds slash-skill trigger kind and cursor/trigger handling for skills.
apps/web/src/components/ComposerPromptEditor.tsx Adds ComposerSkillNode Lexical chip node + editor integration.
apps/web/src/components/ChatView.tsx Adds skill picker items, insertion behavior, and command menu behavior tweaks.
apps/web/src/components/Sidebar.tsx Adds “Skills” sidebar navigation button + active state.
apps/server/src/skills/SkillsManager.ts New server service: list/toggle/search/install/uninstall/readContent.
apps/server/src/wsServer.ts Routes new WS skills methods to SkillsManager.
apps/server/src/wsServer.test.ts Provides SkillsManagerLive in WS server test layer wiring.
apps/server/src/main.test.ts Stubs SkillsManager in server main tests.
apps/server/src/index.ts Provides SkillsManagerLive in the server runtime layer.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Comment thread apps/server/src/skills/SkillsManager.ts Resolved
Comment thread apps/web/src/routes/_chat.skills.tsx Resolved
Comment thread apps/web/src/components/ChatView.tsx Resolved
Comment thread apps/server/src/skills/SkillsManager.ts Resolved
Comment thread apps/server/src/skills/SkillsManager.ts Resolved
Comment thread apps/server/src/skills/SkillsManager.ts Resolved
Comment thread apps/server/src/skills/SkillsManager.ts Resolved
Comment thread apps/server/src/skills/SkillsManager.ts Resolved
AllStars101-sudo and others added 2 commits March 7, 2026 19:01
…mmand

- Use directory slug as canonical skill name instead of frontmatter name
- Add slug validation to prevent path traversal in toggle/readContent
- Use composite key for search result cards to avoid React reconciliation issues
- Replace custom execFile wrapper with shared runProcess helper

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Frontmatter regex now tolerates \r\n (Windows line endings)
- TOML path values are unescaped before lookup to handle backslash paths
@AllStars101-sudo

Copy link
Copy Markdown
Author

hey guys, it's my first time contributing to a large repo. pls lmk if this looks good to ya!

not sure if you guys would like unit tests for this, but lmk if you do and i'll add some :)

@brrock

brrock commented Mar 7, 2026

Copy link
Copy Markdown

Like this a lot!

@thomasbrugman

Copy link
Copy Markdown

At the moment they don't accept external contributions. This might change in the future.

@t3dotgg t3dotgg closed this Mar 7, 2026
@AllStars101-sudo

AllStars101-sudo commented Mar 7, 2026 •

Copy link
Copy Markdown
Author

aw that sucks :( but fair (mb for not reading)

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

"Open in" on an isolated run opened the anchor worktree as a plain
folder, so the other repos were missing from the editor.

The worktree fan-out now writes a copy of the project's .code-workspace
into the per-thread directory, with each repo folder pointed at its
worktree and non-repo folders left at their original path. The client
opens that copy for fanned-out threads. Threads created before this
have no copy, so the launcher falls back to the directory when the
workspace file is missing.

Fixes pingdotgg#125

Co-authored-by: Logan Rupe <logzerroneous@gmail.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.

5 participants