Skip to content

feat(ai): add CLI session controls and shared dropdown styling - #3263

Merged
abose merged 8 commits into
mainfrom
ai
Oct 8, 2026
Merged

abose merged 8 commits into
mainfrom
ai

Conversation

@abose

@abose abose commented Oct 8, 2026 •

Copy link
Copy Markdown
Member

Add localized labels for adding, identifying, renaming, stopping and removing CLI sessions, including the running-session removal confirmation. Style the session action row, separate ellipsis control and inline name editor while preserving the original home cards and expanding grid.

Reuse the Files project dropdown's quiet trigger styling for Visual AI and Add CLI session. Share its typography, spacing, arrow and interaction states, removing conflicting generic button and custom hover styles.

Validation: full repository lint, LESS compilation and whitespace checks passed. Live DOM comparisons verified matching rest, hover and pressed styles; the card workflow and default provider bylines were reviewed live. The final byline change's Linux suite rerun was interrupted by a native Electron crash; earlier platform results are recorded in the Pro handoff.

abose added 8 commits October 8, 2026 12:52
Add localized labels for adding, identifying, renaming, stopping and
removing CLI sessions, including the running-session removal confirmation.
Style the session action row, separate ellipsis control and inline name
editor while preserving the original home cards and expanding grid.

Reuse the Files project dropdown's quiet trigger styling for Visual AI and
Add CLI session. Share its typography, spacing, arrow and interaction
states, removing conflicting generic button and custom hover styles.

Validation: full repository lint, LESS compilation and whitespace checks
passed. Live DOM comparisons verified matching rest, hover and pressed
styles; the card workflow and default provider bylines were reviewed live.
The final byline change's Linux suite rerun was interrupted by a native
Electron crash; earlier platform results are recorded in the Pro handoff.

Companion Pro implementation: 5813290b25c65e4f631211e9cc7e26ebe9254d08.
Pro dependency pins remain unchanged.
Advance the shared Phoenix Pro pin from e5f5c116 to 5813290b so builds use
the multiple-session workflow paired with the core session controls.
The pinned revision includes inline rename, state-aware Stop and Remove
actions, provider bylines and session-specific terminal and draft routing.

Validation: tracking-repos.json parses and its pin exactly matches the
local Pro HEAD. The build's clone and checkout verification both consume
this single pin. No application code or other dependency pins changed.
Advance the Phoenix Pro dependency from 5813290b to 3a5d115a so builds include
image paste in the floating Ask AI dialog and honor View > Enable AI in the
HTML element toolbar and its context menu. The pinned revision also records
the deferred click-to-focus request for both AI composers.

Validation: the Pro revision passed 87 registered native Jasmine checks each
on Windows and macOS; Linux image paste was verified by the user. Confirm
tracking-repos.json parses and its pin matches local Pro HEAD. The existing
build checkout and verification paths both consume this shared dependency
pin; no other dependencies changed.
Pass the AI panel's chosen thinking effort to Claude Code queries only when
the model supports that level. A new src-node helper re-checks the level
against the SDK model list (or the resolved default on the same endpoint),
drops it for unknown models and any custom endpoint, and leaves effort unset
for the default so the system default applies.

Add the effort strings and the chip and dropdown styles, and hide the usage
chip while the Enter-to-send hint flashes so the hint fits.

Tests: unit:AI Model Effort (7) through a dedicated PhNode test connector.
Advance the Phoenix Pro dependency from 3a5d115a to 7594bacf so builds include
the AI panel's thinking effort chip and dropdown, paired with the core effort
validation and styles.

Validation: tracking-repos.json parses and its pin matches local Pro HEAD. The
effort suites passed on Windows, macOS and Linux (full unit category plus
effort, CLI composer and Live Preview send integration suites); the final
dropdown version passed 10/10 on Linux. No other dependencies changed.
Use muted gold only for Extra high and Max bulbs, with the approved softened
glow reserved for Max. Provide light and dark theme colors without changing
labels or lower effort levels.

Render Default as a neutral empty slider track with no thumb or filled range,
so the previous selected position cannot be mistaken for the system default.
Keep the track interactive and style selectable level labels like the existing
markers. Add a localized tooltip for the current effort.

Advance the Pro pin to b4bf851d to include the matching compact chip, accessible
state and click-selection behavior with its registered UI regression coverage.

Validation: all 15 AI Thinking Effort integration specs pass on Windows,
macOS and Linux. Light/dark colors, Max-to-Default reset and click selection
are covered. LESS compiles, targeted ESLint has no errors or new warnings,
and tracking-repos.json parses with its Pro pin matching the verified commit.
Pin Phoenix Pro to cb3f10626fcdf7a734aecccac519a79c4b42194f, including
the visible unsupported-environment marker for CLI Sessions, awaited PTY
fixture cleanup, and the recorded inbox-monitor verification.

The marker prevents empty-suite registration from aborting desktop Linux
and browser test startup. Waiting for terminal kills avoids handing the
next suite a fixture directory still held open by a Windows shell.

Validation: CLI suites 52/52 on Windows, macOS and Linux; rebuilt Linux CI
unit suite 3045/3045 on rerun; Chromium unit suite 2859/2859. Browser
integration had one timeout, cleared by its complete 7/7 suite rerun.
The Pro handoff records broader-run limitations and the hosted Actions
follow-up after the user's push.
@abose
abose merged commit 82df126 into main Oct 8, 2026
18 checks passed
@abose
abose deleted the ai branch October 8, 2026 14:22
@sonarqubecloud

sonarqubecloud Bot commented Oct 8, 2026

Copy link
Copy Markdown

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.

1 participant