Skip to content

0.9.1 — see what you spend, run the model you chose, and start fresh

Choose a tag to compare

@AnmolMajithia AnmolMajithia released this 27 Oct 19:08
d2f8d3f

See where your tokens go: Usage & stats breaks down every Claude Code session on your machine by day, repository, account and model, so you know what is spending your allowance. Spawns run the model and effort you picked, so a manager no longer starts on Fable at high effort unless you chose it. Reset a project's board and fleet with one command, aisquare project fresh, and the next task starts clean. And more: your fleet's headroom as one number, a dropped screenshot that reaches the agent on screen, a conversation you started by hand that can join the fleet, and solo MCP sessions that stay solo.

0.9.1 builds on 0.9.0 and gathers #432, #397, #442, #436, #429, #298, #441, #444, #446 and #451, with the sharded CI of #427 and ruff 0.17.2 (#380) underneath. #397, #429, #441, #444 and #298 each went through several rounds of review. The release ran the full CI matrix green: the test suite on Linux (Python 3.11 to 3.13) and on Windows in 10 shards, and the installer checks on Linux, Windows and macOS.

See where your usage goes

You can now see how much room your accounts have left, and where your tokens went, without leaving asq or Claude Code.

  • One number for the fleet's headroom. The status line under ⚙ Settings shows the share of your accounts' allowance left right now, ● 3× claude 58%, and the Accounts page and aisquare accounts usage end with a one-line fleet summary.
  • The manager's team, in one line. A strip under the Manager tab counts the agents it runs by role and state; click it to open the Board.
  • Your usage inside Claude Code's own status line (opt-in). aisquare accounts statusline --install shows the account, its 5-hour and weekly use, the fleet's share left and context use in every session, hand-launched ones too. --wrap keeps your own status line, and --uninstall gives your file back. It keeps a short record of each session for a day (never a prompt), which capture.enabled = false does not stop and --uninstall does.
  • A page for what you spent. ⚙ Settings ▸ Usage & stats shows tokens, cost at list prices, sessions and turns for Today, 7 days, 30 days or Lifetime, with your biggest repositories, accounts, models and busiest days; aisquare metrics stats prints the same. Every session counts, even ones aisquare did not launch, and it all stays on this machine.
  • It counts every repository you run Claude Code in, including ones you have not added to aisquare, whatever [projects] capture says. project forget --purge now makes a forgotten project stay forgotten.
  • Share anonymous daily counts, only if you choose to. It is off by default; asq asks once, and aisquare metrics share on, off, status and preview control it, with preview printing the body the next shipment would post (a labelled sample while sharing is off).
  • What goes, and what never does. Daily counts of tokens, sessions, commands and pages, plus a salted hash and four coarse traits per repository; never names, paths, remotes, prompts, emails, aliases or command arguments. If you are signed in to AISquare your counts are linked to you, DO_NOT_TRACK=1, AISQUARE_NO_TELEMETRY=1 and any CI run force sharing off, and docs/usage-telemetry.md has the detail.
  • Move an agent before its account runs out (opt-in, off by default). Set [accounts] before_limit = "switch" and an agent whose account reads at or over switch_at (85 by default) moves to another account at its next turn end, never mid-turn; "warn" only writes a line on the board.
  • An account with no usage to show reads !, and says why on hover. Hover for the cause and the fix, such as a locked login Keychain; accounts usage prints the same.

Spawns run the model you chose

You choose a model and effort once, and fleet spawns run them.

  • A spawn starts on what you chose, not the ladder's top rung. 0.9.0 started every manager on --model fable --effort high over your saved default; now Fable or max run only when you chose them, and with no choice Claude Code runs the account's own default.
  • /model and /effort in any fleet agent are remembered. Your last pick is kept per aisquare home for every role and persona, and a restart or an account switch keeps what that agent was running.
  • Override one spawn without moving your pick. A spawn's own --model and --effort (or the Spawn dialog's new Model and Effort fields under Advanced) win over a role's settings, which win over your last pick; aisquare fleet restart <label> --model … --effort … runs one agent on them.

Start fresh, and a tidier fleet view

You can reset a project you reuse in one command, and spawn from one place in the sidebar.

  • Reset a project without onboarding it again. aisquare project fresh (alias project reset) stops its agents, removes their worktrees, clears its board and work briefs and starts a blank manager, so the next task is #1 again. Your checkout, other branches, settings and every other project are never touched, and project memory, the prompt log and fleet branches stay unless you add --memory, --prompts or --branches.
  • It will not quietly throw work away. A worktree with uncommitted or unpushed work stops the reset unless you pass --discard-unpushed, and --dry-run prints the plan and changes nothing.
  • In asq, one dialog shows the counts. ↺ Start fresh… is on a project card's menu and on its Settings tab, and unpushed work gets a second dialog before anything is discarded.
  • One Start captain and one Spawn agent in the sidebar. Spawn agent opens the Spawn dialog with a new Project field, and the Account field now says what a spawn with no account runs on, such as (default: rank 1 · work).
  • A sign-in brings you back to where you started it. Welcome, the persona picker and the Spawn dialog come back once a new account signs in, instead of leaving you on the Accounts page.
  • The Board says what needs you. A top line counts waiting agents, questions, reviews and blocked work, each a button to what it counts.
  • Role bindings in App settings. Agent settings ▸ Advanced lists every role aisquare team bind bound, to edit or clear, and aisquare doctor warns about a binding whose directory has no aisquare hooks.

Bring more into your fleet

You can hand the fleet a screenshot, a conversation you started by hand, or a session you continue from claude.ai/code.

  • A screenshot dropped on asq reaches the agent on screen. A paste no focused widget takes now goes to the one live pane (with two on screen, you click the one you mean), and under WSL a lone Windows path becomes its Linux path.
  • Adopt a conversation you started by hand. aisquare fleet adopt <session-id|transcript> resumes it as a fleet agent on its own account and in its own directory, keeping its session id; aisquare fleet adopt --list shows what is free to adopt, and the Accounts page has Adopt a conversation….
  • Claude Code's Remote Control, per role (off by default). Set [fleet.roles.<role>] remote_control = true, or pass fleet spawn --remote-control for one agent, and you can continue that session from claude.ai/code or the Claude app. Anyone signed in to that Claude account can drive such an agent.
  • Edit a persona in your own editor. In the Personas tab, Edit opens $VISUAL, $EDITOR or vi in a pane in place; Windows, or a machine without tmux, keeps the text box.
  • Import several personas at once. aisquare persona import takes several sources or --from-dir DIR and skips a README or LICENSE beside your skills, which cut the sample library's engine calls from 4 to 1.

Solo sessions stay solo

You can use aisquare's board tools over MCP in a solo session without it being treated as a team.

  • A solo session no longer carries about 1.1k extra tokens a request. In 0.9.0 its own MCP client counted as a teammate, so for 30 minutes after a board-tool call it got the board and the full team context.
  • Its own aisquare serve --stdio now proves it belongs to the session and acts as the session, however you mount the server, so the session's notes and claims show as its own.

The captain's owner gate

With the experimental captain on, the tools that act as you now need a code from your authenticator app.

  • The tools that act as you need a code. press, paste, stop, spawn, restart, wololo, attach_persona and act refuse outside a 15-minute window that a six-digit code opens, spoken to the captain or typed with aisquare captain gate unlock <code>. Reads, tell, notes, tasks and the bt brake never need one.
  • Set it up once. aisquare captain gate enroll prints a QR for your authenticator app, and it needs the new gate extra, pip install 'aisquare-cli[gate]'; repeated wrong codes lock entry, from five minutes up to 24 hours.
  • A spoken code can be overheard, so you can turn the gate off: add gate = false under [captain] in ~/.aisquare/config.toml by hand, since aisquare config set does not take it. The captain stays experimental, and off until you turn it on.

Less to carry

You get a simpler aisquare, with less running in the background.

  • The project brain (gbrain) is gone, and so is the background drain every board write started. aisquare recall, aisquare team distill, the recall MCP tool (eight tools now), doctor's brain row and the AISQUARE_BRAIN* variables are removed. Nothing on disk is deleted.
  • Explainability and the CI test bed are parked. They are out of aisquare doctor and every screen, and still run through their own commands, such as aisquare explainability doctor.
  • The docs/ directory is gone from the repo, except the page on what usage sharing sends. Run aisquare --help for the commands; 0.9.0's pages stay readable at the v0.9.0 tag.

Fixes

These are the small things that were getting in your way.

  • A headroom pick no longer overrides a hand-written CLAUDE_CONFIG_DIR binding. A role bound with team bind <role> --env CLAUDE_CONFIG_DIR=… now launches on its own directory; see Upgrading.
  • Task titles in any script keep their own keys. Исправить вход and Добавить тесты used to collide and answer "already tracked"; see Upgrading.
  • aisquare context search AND no longer crashes, and words in any script are found.
  • project forget and project prune leave your active-project pin alone, clearing it only when it named the project that went.
  • Cancelling a persona import stops its engine, and Ctrl-C writes nothing and exits 130.
  • Agent labels stay within 24 characters, and an over-long --label is refused with one that fits.
  • aisquare fleet adopt no longer sends Ctrl-C on Windows, and the captain's audit keeps task, session and commit ids whole.
  • aisquare serve --stdio keeps its protocol pipe to itself, the suspected (not confirmed on Windows) cause of a tool call that never answered there.
  • Dialogs fit an 80-column terminal, including the Spawn dialog, the persona editor and the Personas tab.
  • A Windows local-path git remote is no longer read as a host. C:/git/x.git now reads as local, not as host C.
  • …and more. See the CHANGELOG.

Under the hood

These changes are internal. CI runs each leg's suite in shards, so a sub-PR's CI takes about 8 minutes and the full matrix 10 to 13, down from 22 and 64 (#427). Tests that depended on timing are deterministic (#436), and ruff is 0.17.2 (#380).

Installing, and pinning this release

The one-liner is the same as before, and installs the latest release:

  • curl -fsSL https://raw.githubusercontent.com/AISquare-Studio/aisquare-cli/main/install.sh | sh
  • on Windows: irm https://raw.githubusercontent.com/AISquare-Studio/aisquare-cli/main/install.ps1 | iex

Pin this release with its own installers, attached below. Every release from 0.9.0 on carries an install.sh and an install.ps1 that install exactly that version:

  • curl -fsSL https://github.com/AISquare-Studio/aisquare-cli/releases/download/v0.9.1/install.sh | sh
  • on Windows: irm https://github.com/AISquare-Studio/aisquare-cli/releases/download/v0.9.1/install.ps1 | iex

Already on 0.9.0? asq offers ⬆ 0.9.1 · restart to update under ⚙ Settings, and Restart & update keeps your fleet running. Or run aisquare upgrade. --version V still overrides a script's own version, and --version latest drops it.

Upgrading:

  • The store migrates from schema v39 to v40 automatically on first open, for Usage & stats, and nothing is rewritten or dropped. Moving back to 0.9.0 with aisquare upgrade --version 0.9.0 is safe: an older build opens a v40 store as it is. If you are coming from 0.8.x, read 0.9.0's upgrade notes too.
  • Spawns now run your last /model and /effort. A manager that 0.9.0 started on Fable at high effort starts on your last pick, or on the account's own default when you have none. Agents spawned by 0.9.0 keep the rung they recorded until a /model moves them.
  • A headroom pick no longer overrides a hand-written CLAUDE_CONFIG_DIR binding. After the upgrade a role bound with team bind <role> --env CLAUDE_CONFIG_DIR=… launches on its own directory, which completes 0.9.0's note on the rank-1 default; a flag, an account binding, a project default and a hand-over still win.
  • With the captain on, the owner gate is on and fails closed until you install the gate extra and run aisquare captain gate enroll. Until then the eight owner tools refuse and say how to fix it. To turn the gate off, add gate = false under [captain] in ~/.aisquare/config.toml by hand (aisquare config set does not take it). With the captain off nothing changes.
  • New config keys, all with defaults: [sharing] enabled (false), [accounts] before_limit (off), [fleet.roles.<role>] remote_control (false) and [captain] gate (on unless it is false, which matters only with the captain on). New environment variable: AISQUARE_NO_TELEMETRY.
  • Removed: aisquare recall, aisquare team distill, the recall MCP tool, the AISQUARE_BRAIN* variables and the docs/ directory, apart from the usage-sharing page. An existing ~/.aisquare/projects/<id>/brain stays on disk. aisquare doctor has no explainability…, ci … or brain row and takes no --target or --project; use aisquare explainability doctor.
  • A task title with words outside ASCII now has a different key. Fix вход was keyed fix and is now fix-вход; no store migration is needed. Re-adding a title exactly as a task already on the board has it still answers "already tracked", but a task added earlier under a title with no ASCII letters (keyed task) is not looked up, so re-adding its title adds a new task beside it. Every ASCII title keys as before.
  • asq now reads every Claude Code session's transcript on this machine, under ~/.claude and every registered account, whether or not aisquare launched it or its repository is added: when Usage & stats opens, every ten minutes from the TUI, and as aisquare metrics backfill. The first sweep records the history Claude Code has not yet deleted, and aisquare metrics stats shows its progress. The figures stay on this machine; nothing is sent unless you turn sharing on.
  • Dependencies: no new core dependency and no extra removed; one new extra, gate (pyotp), and one new command, asq-statusline, which Claude Code runs only once aisquare accounts statusline --install has set it.

Known issues: none of these blocks 0.9.1.

  • Opt-in usage sharing's server is not live yet: a machine that has opted in keeps its daily rollups and sends them once it is, and until then a failed shipment is silent.
  • On Windows, aisquare accounts statusline --install --wrap leaves a status line that holds a double quote unwrapped, and says so.
  • A /model typed while a turn runs is not remembered, because Claude Code records it nowhere; a restart starts the previous model, so change the model at the prompt.
  • The solo-session proof was measured on macOS, with Linux and Windows covered by tests: anything it cannot prove (a session started before the upgrade, Claude Desktop, a serve started from a shell) still reads as a teammate.
  • At 80×24, Start fresh's plan scrolls with 6 or more agents, an extra ticked or unpushed work, so its last lines sit below the fold.

The full list, with every detail, is in CHANGELOG.md → 0.9.1.

Full diff: v0.9.0...v0.9.1