release: v0.5.12#16
Merged
Merged
Conversation
9d703dc to
9c4aaf4
Compare
TUI context & UX hardening + 书安OS login: - context: model-aware auto-compaction (threshold scaled to each model's real window, 128k default for undeclared models, color-coded ctx%, ContextCompacted notice). - tokens: ↓ counts OUTPUT (completion) tokens, not prompt+completion; CJK-aware live estimate. - fix: planning/parallel turns that end without text auto-synthesize a final answer in every mode (was ultracode-only); clear the subagent panel at turn end. - ui: route the whole TUI through the Tokyo Night palette (was raw ANSI). - OS login: persistent session + automatic token refresh; the OAuth callback survives browser preconnect/favicon; helpful guidance when `os` isn't configured; endpoint + token exported to the agent shell env (no per-call config read). - OS skill: a3s-os-capabilities drives the platform-wide progressive API (POST /api/v1/kernel/capabilities) — surfaces viewUrl, stays concise, narrows list→describe→execute. - deps: pin a3s-code-core (AI45Lab/Code) + a3s-tui (A3S-Lab/TUI) to git revs that carry the APIs this release needs. Also bundles in-progress `a3s box` / `a3s tools` / Claude+Codex accounts / top.
9c4aaf4 to
2888c08
Compare
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.
v0.5.12 — TUI context & UX hardening
Context usage & auto-compaction (deep optimization)
ctx%indicator never silently no-op.AgentEvent::ContextCompactedand color-code thectx%indicator by fill level.Token accuracy
↓now counts output (completion) tokens, not prompt+completion (which re-counted the growing context every turn and ballooned).Fixes
UI
书安OS
a3s-os-capabilitiesdrivingPOST /api/v1/kernel/capabilities(was the security-only slice).Also bundled (in-progress, same branch)
a3s box/a3s toolssubcommands, Claude Code / Codex account integration,topview.All CI gates pass locally:
fmt,clippy -D warnings,cargo test --all-targets,cargo build --release.