Default Claude to Opus 4.7 + ListenerRegistry refactor#127
Merged
luokerenx4 merged 2 commits intomasterfrom Apr 17, 2026
Merged
Default Claude to Opus 4.7 + ListenerRegistry refactor#127luokerenx4 merged 2 commits intomasterfrom
luokerenx4 merged 2 commits intomasterfrom
Conversation
…profile list - Bump default Claude model to claude-opus-4-7 across preset catalog, profile schemas (agent-sdk, vercel), and agent-sdk query fallback - Add Opus 4.7 to Claude OAuth/API model lists (placed first) - Expand preset hints to mention in-UI model switching and cost trade-off so users know they are not locked into Opus - Replace profile-list model text with a clickable <select> chip (chevron affordance) so users can switch models without entering the Edit modal; show labels instead of raw ids Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…ycle Add a minimal standard Listener<K> interface and a ListenerRegistry that centralizes subscription management. Each module that needs to listen takes the registry as a dep and registers its own listener internally — 谁用谁负责. Registry only handles lifecycle and error isolation; filtering, serial locks, and state remain the listener's responsibility. Migrated CronListener, Heartbeat, SnapshotScheduler, and ConnectorCenter to the new pattern. Main.ts no longer directly calls subscribeType. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two commits ahead of master, pushed together.
Claude default → Opus 4.7 + inline model switcher (
f64ca4e)claude-opus-4-7claude-oauthhint and addedclaude-apihint — both surface that the model is switchable in-UI and note the cost/quota trade-off, so users aren't surprised by Opus being the default<select>chip (chevron affordance) so users can switch models inline without entering the Edit modal. Display also now uses labels (Claude Opus 4.7) instead of raw ids (claude-opus-4-7)ListenerRegistry refactor (
65b9349)Listener<K>interface +ListenerRegistrycentralizing subscription lifecycleCronListener,Heartbeat,SnapshotScheduler, andConnectorCenterto the new patternmain.tsno longer callssubscribeTypedirectly — each module registers its own listener via the registryTest plan
🤖 Generated with Claude Code