Skip to content

v1.1.2: slash commands from the prompt bar, per-session drafts, usage popup, housekeeping - #28

Merged
PieMH merged 12 commits into
mainfrom
agents-team/v1.1.2
Oct 21, 2026
Merged

PieMH merged 12 commits into
mainfrom
agents-team/v1.1.2

Conversation

@PieMH

@PieMH PieMH commented Oct 21, 2026

Copy link
Copy Markdown
Owner

What

The v1.1.2 list: the prompt bar's slash commands, per-session drafts, a usage detail popup, and the app cleaning up after itself.

  • Slash commands typed in the prompt bar now run. There were two causes:
    • The prompt bar's own / list took the Enter key and only completed the name. Now Enter completes the name and sends the command. Tab still only completes, and so does Enter in the middle of other text.
    • Claude Code 2.1.304 turns a paste of more than 800 characters, or of 4 lines or more, into [Pasted text #1] and sends it as an ordinary prompt. TuiInput now sends a slash command as pastes of at most 500 characters and one line break each, then one Enter. The registry re-read and the fail-closed checks stay as they were.
    • Both were reproduced and the fix was proven with a test claude that had no account and no network.
  • The / list:
    • It opens for a / at the start of the text or after a space or a line break.
    • It lists commands and skills from enabled installed plugins and from claude.ai synced plugins (about 280 entries), and leaves out skills marked user-invocable: false. MCP prompts are missing because no file lists them.
    • Command names in the list are blue. While the text starts with a known command, the whole text is blue (the SlashText theme key).
  • Drafts per session:
    • Each session tab keeps its own prompt-bar text.
    • Drafts stay in memory while the app runs. They're written to %LocalAppData%\CCWrapper\drafts-<letter>.json on exit and before an update restart.
    • With an update ready, they're also written when the window loses focus.
    • A draft is deleted 14 days after its last edit, or when its session is deleted.
  • Usage popup:
    • Click the 5h and weekly meters, or press Enter on them, and a popup opens above the bar. It shows both bars, the reset times, tokens by model for the last 5 h and the last 7 days, and a 24-hour activity strip, all read from transcripts.
    • It closes when you click away or press Esc. The hover tooltip is unchanged.
  • Housekeeping at start-up:
    • Pasted images are deleted after 7 days.
    • Status line files that a crash left behind are deleted after 1 day.
    • The Browser panel's disk cache is cleared once it passes 100 MB. Cookies and logins stay.
    • PRIVACY and README say how long each item is kept.
  • CLAUDE.md: a test claude never gets the user's config folder. The file gives the steps: a temporary CLAUDE_CONFIG_DIR, a dead ANTHROPIC_BASE_URL, a dummy key, and the temporary folder deleted afterwards.

Checks

  • dotnet build -c Release: 0 warnings.
  • dotnet test -c Release: 497/497 passed (was 445).
  • --smoke: exit 0.
  • Each part had a final review: three rounds for the v1.1.2 features, one round plus fixes for the housekeeping. Every finding is fixed in this branch.

Not tested yet: please try before merging

The project rules forbid UI automation, so these still need a try by hand:

  • Enter on /help in the prompt bar.
  • A long multi-line slash command.
  • The / list in the middle of text, and the blue text.
  • Drafts across a session switch and across an app restart.
  • The usage popup: click, Esc, and while a turn is running.

🤖 Generated with Claude Code

PieMH added 12 commits October 20, 2026 19:26
…ne slash command goes in as short pastes so Claude Code runs it instead of folding it into pasted text
…laude.ai synced plugins; user-invocable: false entries hidden
… break; text starting with a known command shows in blue
…ccount on exit and come back when the session is reopened
…bars and resets, tokens by model and by hour of day from the transcripts
…a session id change, synced plugins of the current login only, usage meters keyboard reachable with Esc kept in the popup, paste wording in docs
…rminal and Esc stays in the popup; drafts saved when the app loses focus with an update ready; a draft another tab wrote is never removed
…s on press, an equal draft another tab stored is kept, honest wording on drafts lost to another window's update restart
… day, drafts 14 days or until the session is deleted, Browser panel disk cache cleared over 100 MB, smoke profile removed
…d when the check ends; Housekeeping in the layout
…rofile left to the self-test; scratch claude recipe completed
@PieMH
PieMH merged commit 72d062d into main Oct 21, 2026
1 check passed
@PieMH
PieMH deleted the agents-team/v1.1.2 branch October 21, 2026 08:03
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