🎉 Anna 1.1.0-beta.153 → beta.159 & @anna-ai/cli 0.1.52 — WebAssembly in Your Apps, Transparent Model Routing & a Smarter `--strict`!

Hey Anna app developers! :waving_hand:

This batch is packed with things you asked for: WebAssembly support inside Anna Apps, full transparency on which model actually serves your agent.session.run, a fairer quota system for expired subscriptions, richer Executa install diagnostics, and a CLI release that kills an entire class of --strict false positives.

Almost everything here traces back to your reports — a huge thank-you to @martindelophy, @HappyLight, @Silicon, and @gqy for the pinned versions, minimal reproductions, captured frames, and correlation IDs that made these fixes fast to land. This is community-powered engineering at its best! :folded_hands::yellow_heart:

Let’s dive in! :rocket:


:sparkles: New Features

  • :puzzle_piece: WebAssembly support for Anna Apps (beta.158/159) — reported by @martindelophy in Timeline Studio: production WASM/CSP blocker and strict-validator false positive (#296), one of the best-written reports we’ve ever received :trophy:. Your app can now ship and run .wasm modules in production! Declare 'wasm-unsafe-eval' in manifest.ui.csp_overrides["script-src"] and the bundle response automatically injects it into the CSP. True CSP3 semantics: only WebAssembly.compile / instantiate are unlocked — JS eval / new Function stay blocked. :locked: .wasm files (application/wasm) were already on the upload whitelist, so just bundle and go. One heads-up: cross-origin isolation (COOP/COEP) and SharedArrayBuffer are still unsupported, so use single-threaded wasm builds (no pthread builds for now).

  • :magnifying_glass_tilted_left: agent.session.run now discloses the actually-routed model (beta.155) — requested by @HappyLight in session.run Does Not Return the Actual Model (#270), complete with captured frames and correlation IDs that made tracing a breeze :detective:. The run_meta stream frame carries new model / provider fields, injected after the server resolves routing — so it even covers worker-side fallback when your preferred dispatch model is unavailable. You can verify your modelPreferences outcome before consuming a single token, and task_complete carries model / provider too, so token_usage and cost are attributable to a concrete model. Same naming convention as llm.complete — the two paths are now consistent and auditable.

  • :microscope: Rich diagnostics on Executa install failures (beta.153) — @gqy asked for exactly this in Plugins/reinstall resolves stale v0.3.0 assets for Executa v0.4.5 (#280), and it was a great call. When a reinstall/deploy fails, install_error now echoes what the server actually resolved: resolved_from (frozen snapshot vs live row), the resolved version, executa_version_id, the binary platform keys, and which app version pinned it (pinned_by_app). All of it surfaces in the plugin install-detail panel — no more guessing which snapshot the resolver picked. :magnifying_glass_tilted_right:

  • :ballot_box_with_ballot: Versioned “Submit for review” in the Developer Console (beta.159) — Martin’s review-flow questions in #296 directly shaped this one! The submit entry moved from Settings to the Versions tab, and the button now explicitly names the candidate the server will lock in: “Submit v{x} for review”, “In review: v{x}”, or “Switch review candidate to v{y}” when you’ve cut a newer version mid-review. Plus a new “review candidate” badge on the version row. No more guessing which version the reviewers will actually see! :bullseye:

  • :house: Guest dashboard shell on the homepage (beta.157) — Anonymous visitors now land on a dashboard-look-alike Chat | Apps shell. The Apps view is a read-only public Store grid — meaning your published apps get homepage-level visibility before a visitor even signs up, with ?ref=guest_dash attribution on the landing links. More eyeballs on your work, zero effort on your side. :eyes:


:bug: Bug Fixes

  • :credit_card: Purchased add-on credits now survive subscription expiry (beta.154) — reported by @Silicon in Purchased Credits Are Unusable After Pro Subscription Expires (#298). Add-on credit packs are designed to be perpetual, but the quota gates checked expires_at first and rejected everything once a subscription lapsed — locking accounts out of credits they’d paid for (that 429 APP_QUOTA_EXCEEDED / Subscription expired you saw). Expired subscriptions now lazily downgrade to Free (base quota clamped, add-ons fully preserved) and quota checks proceed normally. What you bought stays yours. :handshake:

  • :fire_extinguisher: --strict no longer flags host-API calls inside strings & comments (CLI 0.1.52) — the second confirmed blocker from @martindelophy’s #296, with a beautiful one-line repro. The host-api scanner now lexically strips string literals and comments (template interpolation bodies preserved, line numbers intact) before matching. Diagnostic messages like anna.tools.getJob({jobId}) in the official SDK — or in your own error strings — no longer trigger bogus “unauthorized host_api” errors. Bonus: the regex now tolerates whitespace around dots, so multi-line chained calls that used to slip through are now caught. Sharper in both directions! :crossed_swords: (SDK 0.16.1 also rewrote its timeout message as defense-in-depth.)

  • :file_cabinet: scope=tool storage tokens work now (beta.154) — @gqy’s follow-up in #280 caught this one: tool-scope storage requests 403’d with forbidden_scope: scope=tool requires owner_id even with a valid grant. The server now resolves the owning Executa correctly (with a dev-registration fallback that can’t collide with app-scope data), and unregistered tools get an actionable error instead of a mystery 403. Covered by four new regression tests. :test_tube:

  • :compass: Executa Hub reinstall no longer targets the wrong agent (beta.153) — also from #280: the reinstall button read a global that could never exist on that page, so it silently fell back to the first agent in the list (sometimes your Cloud Agent instead of the local one you meant :grimacing:). It now fetches your actual default-agent setting when multiple agents are online.

  • :construction: 0.0.0-draft projections can no longer be published (beta.159) — A dev-install projection row could sneak through the Publish path and become is_latest on the Store (yes, latest_version=0.0.0-draft — yikes :sweat_smile:). The server now rejects it outright and the Console no longer renders a Publish button on projection rows. Regression-tested.

  • :artist_palette: Version-table badges got their pills back (beta.159) — “in release review” and the new “review candidate” badges rendered as unstyled bare text due to a missing CSS variant. Both now wear the proper amber pill.


:toolbox: @anna-ai/cli 0.1.52 — update now!

npm i -g @anna-ai/cli@latest
or
pnpm add -g @anna-ai/cli@latest
  • :puzzle_piece: validate accepts 'wasm-unsafe-eval' in csp_overrides["script-src"], in exact lockstep with the server-side validator (style-src does not accept it — by design).
  • :brain: Lexical --strict scanning — see the bug fix above: no more string/comment false positives, better multi-line detection.
  • :shield: Production-parity storage-caps gate in the dev harness — the harness now enforces the same -32021 storage caps checks as production, so caps violations surface on your machine instead of after publish. Use --no-strict-caps to downgrade to warnings while iterating.
  • :broom: Cleaner minimal template — the legacy permissions field is gone from the scaffold.

:puzzle_piece: Compatibility Notes

  • :green_circle: Everything is additive — no manifest changes required unless you want wasm. Existing apps keep working unchanged.
  • :green_circle: New run_meta / task_complete frame fields are additive; older clients safely ignore unknown fields.
  • :green_circle: CLI 0.1.52 is a drop-in update (SDK dependency range ^0.16.0 already covers 0.16.1). The server side is deployed, so update whenever you’re ready.
  • :yellow_circle: The per-plugin “Upgrade” button in the agent panel was retired (beta.153) — its result was always reverted by the reconciler, so it promised more than it could deliver. Version-gap info is still shown; reconcile/Repair remains the source of truth.

:telescope: What’s Next

Not everything from your reports fit into this batch — and we haven’t forgotten the rest. They are all actively being worked on, along with a few other open threads. Expect movement on these next week. :spiral_calendar:


:open_mailbox_with_raised_flag: Feedback Welcome!

Shipping a wasm-powered app? Watching your run_meta frames to see which model answered? Reading actual resolver diagnostics instead of guessing? We’d love to hear about it!

This batch was once again powered by your reports — @martindelophy (#296), @HappyLight (#270), @Silicon (#298), and @gqy (#280), take a bow :flexed_biceps:. Detailed reproductions like yours are the fastest path from “bug” to “shipped fix”, and they make the platform better for every developer. Keep them coming!

Happy building! :purple_heart::sparkles: