Skip to content

Bscholar/nofification#8

Merged
bscholar-tt merged 4 commits into
mainfrom
bscholar/nofification
May 28, 2026
Merged

Bscholar/nofification#8
bscholar-tt merged 4 commits into
mainfrom
bscholar/nofification

Conversation

@bscholar-tt
Copy link
Copy Markdown
Owner

What Changed

Why

UI Changes

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

bscholar-tt and others added 4 commits May 27, 2026 22:52
…ents

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Models like `cursor/claude-opus-4-7@1m` and `cursor/claude-opus-4-7@300k`
are now collapsed into one `cursor/claude-opus-4-7` entry with a
`contextWindow` select option (largest context = default). The
TraitsPicker already handles the `contextWindow` descriptor id so no
UI changes are needed.

Single-variant @-suffix models (e.g. `cursor/claude-sonnet-4-5@200k`)
are also collapsed: the base slug is used for display while the full
`@variant` slug is kept internally so the Pi CLI receives the correct
model identifier.

PiAdapter reads the `contextWindow` option selection and appends
`@<value>` to the slug before calling `pi --model`, e.g.
`cursor/claude-opus-4-7` + selected `1m` → `--model cursor/claude-opus-4-7@1m`.
Single-variant @-suffix models (e.g. cursor/claude-sonnet-4-5@200k)
were constructing the slug as `${v.provider}/${v.model}@${v.variant}`
where v.model already contained the @-suffix, producing a broken
double-@ slug like cursor/claude-sonnet-4-5@200k@200k.

Use `${groupSlug}@${v.variant}` instead so the Pi CLI receives the
correct model identifier, while the display name stays @ -free.
…ules

CI runners install the electron npm package but not the binary, so
electron/index.js throws at load time for any test that transitively
imports an Electron* source file without a vi.mock("electron") guard.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@bscholar-tt bscholar-tt merged commit 5a117cb into main May 28, 2026
2 checks passed
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