# 🎉 Anna 1.1.0-beta.191 → beta.200 + @anna-ai/cli 0.1.60–0.1.61: Music generation for Apps, image async jobs & re-signing, Developer Playground, 8K output cap fixed, theme/locale for Apps

**URL:** <https://forum.anna.partners/t/anna-1-1-0-beta-191-beta-200-anna-ai-cli-0-1-60-0-1-61-music-generation-for-apps-image-async-jobs-re-signing-developer-playground-8k-output-cap-fixed-theme-locale-for-apps/453>\
**Category:** Changelog\
**Created:** [October 23, 2026, 8:24am UTC](https://forum.anna.partners/t/anna-1-1-0-beta-191-beta-200-anna-ai-cli-0-1-60-0-1-61-music-generation-for-apps-image-async-jobs-re-signing-developer-playground-8k-output-cap-fixed-theme-locale-for-apps/453 "2026-10-23T08:24:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hunter](https://yyz1.discourse-cdn.com/flex033/user_avatar/forum.anna.partners/hunter/32/8_2.png) [@hunter](https://forum.anna.partners/u/hunter)\
**Post date:** [October 23, 2026, 8:24am UTC](https://forum.anna.partners/t/anna-1-1-0-beta-191-beta-200-anna-ai-cli-0-1-60-0-1-61-music-generation-for-apps-image-async-jobs-re-signing-developer-playground-8k-output-cap-fixed-theme-locale-for-apps/453/1 "2026-10-23T08:24:33Z")

</div>

Hey Anna app developers! 👋

Last cycle gave your Apps a voice. This one gives them a **soundtrack, a studio, and a lot more headroom** 🎵🖼 — `anna.music.*` opens Suno-style music generation to Apps and Executas, `anna.image.*` gains **async jobs + 7-day artifact re-signing** , every TTS / image model now **describes its own knobs** so you can stop guessing parameters, and a brand-new **Developer Console Playground** lets you try every media model with your own App identity before writing a line of code. We also killed the infamous **8,192-token output cap** on Agent Sessions, taught App windows to **fit any screen** , and made the Dashboard **tell your App its theme and language**. 🌗🌍

Huge thanks to the developers who shaped this cycle: **@HappyLight** (#403 — the meticulous “always ends at 8,188 tokens with `completed`” report that uncovered a real regression, and #414 — the QueuePool timeout trace from Anna Deck that led us straight to a connection-pool bug 🔍), **@martindelophy** (#426 — the “script → storyboard → image → video → _music_” pitch from Timeline Studio that became `anna.music.*`, plus the window-geometry notes from #376 that drove the viewport work 🪟), **@Yinghuo_Mars** (#404 / #405 — TTS options and `image.generate` size control; both are now schema-driven, and your feature-comparison table literally became the Playground’s Compare view 📊), and **@sadi** (#385 — the sharp “works in the App window, fails from chat” Executa report). Every detailed write-up moves the platform. 💜

Let’s dive in! 🚀

* * *

## ✨ New Features

- 🎵 **Music generation for Apps & Executas — `anna.music.*` (beta.197, SDK 0.23.0, #426)** — the last link in the short-film production chain. Async jobs (`mjob_…`) with the exact same shape as video: `generate / getJob / cancelJob / listJobs`, `media_job` events, pre-hold → settle → refund billing, presigned R2 URLs, and `generateAwait()` sugar. Six catalog entries across five families — **MiniMax Music 2.6, Lyria 3 / 3 Pro, ElevenLabs Music, Stable Audio 2.5, ACE-Step** — with per-minute pricing. Capability bits are **explicit and never silently downgraded** : lyrics, duration control, instrumental-only, reference image — if a model can’t do it, you get `MUSIC_FEATURE_UNSUPPORTED (-32165)` with `error.data.alternatives` listing models that can. 🎯

- 🖼 **Image async jobs + artifact re-signing — `anna.image.*` (beta.199, SDK 0.25.0)** — `image.generate` / `image.edit` stay synchronous and byte-for-byte unchanged. For 2K / 4K or `quality: "high"` renders (60–120 s), opt into the same job API as video / music: `generateAsync / editAsync / getJob / cancelJob / listJobs` + `generateAwait / editAwait / onJobEvent`. One job = _n_ images, settled on the **actual** number produced (≤ `estimatedCostCU`), and `getJob` re-signs every `result.images[].url`. The one everyone asked for: **`anna.image.resign({ r2Keys })`** — any already-paid artifact (sync `r2_key` or job `r2Key`) can be re-signed for **7 days** , so a 30-minute URL TTL no longer means a lost image. 🙌 Executas get `image/{generate_async, edit_async, get_job, cancel_job, resign}` too. Image catalog converged to **fal** (Nano Banana 2, GPT Image 2 with 8 reference images, Seedream) — fewer surprises, one pricing source of truth.

- 🎛 **Model-aware options — TTS & image knobs are now schema-driven (beta.192, SDK 0.22.0, #404 / #405)** — every TTS / image model publishes `capabilities.options` (schema v2: `{type, min, max, step, values, default, scope}`). Pass any of them in **`params`** ; unsupported keys are dropped and echoed back in **`ignoredParams`** — never silently applied, never surcharged. Invalid values → `AUDIO_OPTION_INVALID (-32149)`. **ElevenLabs TTS** joins the catalog with `stability / similarity_boost / style / speed`. For images: explicit **`model`** , **`aspect_ratio`** , and a **`fit` policy** — `"nearest"` (default, keeps orientation) or `"strict"` (fails with `IMAGE_SIZE_UNSUPPORTED` + `data.allowed` instead of snapping) — with `requestedSize / size / sizeAdjusted` echoed in the response. No more 9:16 requests quietly coming back square. 📐

- 🧪 **Developer Console Playground (beta.193–195, #404 / #405)** — `/developer?view=playground`: pick one of your Apps, and the Playground mints a dev `app_session` to call the **real** `audio.speak`, `audio.transcribe` (file / mic / URL), `image.generate / edit` (sync or **“Run as job”** with cancel + re-sign), `video.generate` and `music.generate`. Forms auto-render from each model’s options schema, CU is **estimated before Run and billed-cost shown after** , `params / ignoredParams` are echoed, and curl / SDK / HTTP snippets update live. **Compare TTS / Compare Music** tables and the Developer Hub’s read-only **“Try it”** are generated straight from the catalog — plus a public `GET /developers/model-capabilities` and a new **Model Capabilities** reference page. Rate-limited to 30 runs / hour. Your App’s media integration can now be designed in minutes, not afternoons. ⚡

- 🌗 **Theme & language propagation to Apps (beta.198, SDK 0.24.0)** — the Dashboard now tells your iframe what the user actually picked. Initial values ride on the iframe URL (`?theme=&themeMode=&lang=`) and are read synchronously in `connect()` — correct before first paint — and live changes arrive as `theme.changed` / `locale.changed` broadcasts (no manifest grant needed; these are events, not RPC):

- 📏 **`agent.session.run` gains `maxTokens` + truncation signals (beta.200, SDK 0.26.0, schema 0.30.0, #403)** — alongside the bug fix below, runs are now transparent about output limits. `run_meta.max_output_tokens` discloses the effective per-call cap before the first token; `task_complete` carries **`stop_reason`** (`endTurn | maxTokens | contentFilter | toolUse`, same set as `llm.complete`), **`truncated`** , and `max_output_tokens`. Optional `maxTokens` (1..65536) can only _lower_ the cap. All additive — older hosts simply omit the new fields.

- 🪟 **App windows adapt to any viewport (beta.200, #376)** — windows are now clamped to the real **work area** (measured Sidebar edge + Dock edge), centered on first open, title bar always reachable, integer geometry (no more float rejections). **8-direction resize** (edges + corners), a **“Fit screen”** title-bar button, and **double-click to maximize / restore** ; maximized windows re-fit automatically when the Sidebar or chat layout changes. Validator now warns (non-blocking) when `min_size` exceeds 1024×600 or `default_size` exceeds 1440×900 — a gentle nudge toward laptop-friendly defaults. 💻

- 📦 **Pre-installed Apps v2 (beta.200)** — onboarding reconciles the pre-install list on every start (dedup 20 s, failures isolated), deployment is handled by the Executa reconciler, and admins can mark Apps **🔒 locked** (`removable: false` — no uninstall entry in the grid, context menu, or folders). Window-ready probes wait for in-flight reconcile jobs, and the tooling overlay shows a single-line status while your Executa warms up. New users land on a complete desktop, every time. 🧭

* * *

## 🐛 Bug Fixes

- ✂ **Agent Session output always truncated at 8,192 tokens with `status: completed` (beta.200, #403)** — **@HappyLight** ’s 12-slide HTML deck kept stopping at 8,188 output tokens. Root cause: since beta.179 the output-cap resolver fell back to a platform constant (`DEFAULT_APP_OUTPUT_TOKENS = 8192`) whenever no explicit value was passed — and the chat / agent paths had no way to pass one. The resolver’s default is now the **model’s own output cap** , the context-reserve ceiling was raised 16,384 → 65,536, and the platform constant is deleted (`limitedBy` is now only `request | model | transport`). Net effect: 1M-context models can emit up to 65,536 tokens per call, 200K models ~20,000; ≤ 163,840-context models are unchanged. `llm.complete` is unaffected; `llm.stream` without `maxTokens` now defaults to `min(model cap, 65536)` instead of 8,192 (so worst-case pre-checks are higher — if you hit `429`, lower `maxTokens` using `data.requiredCu` and retry). 🎉

- 🔌 **Executa mentioned from chat failed with `-32001` / `-32021`, but worked in the App window (beta.191, #385)** — **@sadi** nailed it: Executas installed alongside an App are `chat_resident: false`, so an explicit `@`/`#` mention didn’t make it into `user_executas` — the tool allow-list ignored its tools and the token minter couldn’t find its grants, so invokes shipped without sampling / storage tokens. Mentions of non-resident Executas are now resolved **before** tool assembly and temporarily merged into that turn’s set (nothing written to DB, `chat_resident` unchanged). Your Executa now behaves identically whether called from chat or from the App window. ✅

- 🏊 **`web.image_fetch` pinned the DB connection pool under concurrency (beta.191, #414)** — **@HappyLight** ’s Anna Deck fired dozens of concurrent `image_fetch` calls; each one held a DB connection for the _entire_ R2 upload (presign → put → finalize in one transaction), exhausting the 15-connection pool and turning unrelated RPCs into bare HTTP 500s after a 15 s wait. Split into two transactions: the connection is returned right after presign, **no pool connection is held during upload** , and finalize checks out lazily. Failed uploads now roll back the pending row + quota and surface a structured `provider_error` instead of `handler crashed`. 🧵

- 🧯 **`image.generate` content rejections returned `-32003 APP_PROVIDER_ERROR` (beta.199)** — provider safety rejections are now `-32115 IMAGE_CONTENT_REJECTED` on both sync and async paths, and `HostRpcError.details.data` (`allowed / alternatives / index`) is passed through to the iframe so you can actually branch on it.

- 📊 **Install / update progress “full but grey” (beta.191)** — older Agents reported `value: 1.0` during `extracting / finalizing`, so the ring filled in seconds and then sat at 100 % grey for ~25 s of unpack + cold-start. All four progress consumers (Dashboard, Store cards, Installed Apps, window manager) now cap non-terminal items at **95 %** ; only `installed | failed | skipped` reaches 100.

- 🔧 **Executa music / video jobs no longer need a per-invoke job quota (beta.197)** — `max_video_jobs` is no longer minted or required on `media_token`; the hold/settle budget alone governs cost.

* * *

## 🧰 @anna-ai/cli 0.1.60 → 0.1.61 — update now!

```bash
npm i -g @anna-ai/cli@latest
# or
pnpm add -g @anna-ai/cli@latest

```

- 🎵🖼 **Host bridges for `music.*` and async `image.*` (0.1.60)** — the dev harness `LlmBridge` now routes `host.music.{generate,getJob,cancelJob,listJobs}` and `host.image.{generateAsync,editAsync,getJob,cancelJob,listJobs,resign}` to the platform with your dev token (same `kind=complete` token and `jobId` templating as video). Sync `image.generate / edit` behaviour is unchanged. In mock mode they answer from fixtures; without a bridge you get `not_implemented` — the same contract as runtime-local.
- 🌗 **Theme & language switches in the dev dashboard (0.1.60)** — the harness appends `?theme=&themeMode=&lang=` to your iframe URL and the title bar gains **☀ / 🌙** and **EN / 中** toggles that broadcast `theme.changed` / `locale.changed` to your App (logged and recorded). Test your dark mode and i18n without touching the Dashboard. 🎨
- 📏 **`agent.session.run` `maxTokens` passes straight through (0.1.61)** — zero CLI logic change; the harness forwards the full run params to `/copilot/app/agent`, so `maxTokens` and the new `run_meta / task_complete` fields work locally exactly as in production.
- 📦 Pins **@anna-ai/app-runtime ^0.26.0** and **@anna-ai/app-schema ^0.30.0** (dispatcher 0.30.0 — `music.*` ×4, `image.*` ×6 and `maxTokens` all validate locally); **runtime-local 0.2.0a30** (anna-app-core ≥ 0.26.0, \< 0.27 — `host.image.*` delegation included). Installed `host_api/methods.json` is byte-identical to matrix-nexus `main`. Verified against beta.200.

* * *

## 🧩 Compatibility Notes

- 🟢 **Everything is additive.** `music.*`, async `image.*` + `resign`, `params / fit / aspect_ratio`, `maxTokens`, theme / locale, schema 0.28.0 → 0.30.0 — all new. Apps that change nothing keep working. Sync `image.generate / edit`, `audio.speak`, `video.*` request shapes are untouched.
- 🟡 **Output caps got bigger, not smaller.** If your App relied on the implicit 8,192 cap in `llm.stream` or Agent runs for cost control, pass `maxTokens` explicitly. Watch `task_complete.truncated` instead of `status` to detect cut-offs — `status` was and still is `completed` in that case.
- 🟡 **Feature-detect new namespaces** : `typeof anna.music?.generate === "function"`, `typeof anna.image?.resign === "function"`. Older hosts / SDKs answer `unknown_method` / `not_supported`.
- 🟡 **Music needs two gates** : `ui.host_api.music` in the manifest **and** the user’s `media_grant.music` opt-in. Async image methods must be listed by name in `ui.host_api.image`; the existing `image_grant` (`allowGenerate` / `allowEdit`) covers them — `editAsync` counts as `allowEdit`.
- 🟡 **`fit` defaults to `"nearest"`** — identical to the old behaviour, but now echoed via `sizeAdjusted`. Switch to `"strict"` where exact dimensions matter.
- 🟡 **Image catalog is fal-only.** If you hard-coded a non-fal image model name, use `anna.llm.catalog({ serviceType: "image_gen" })` and pick by `isPlatformDefault` / `capabilities`.
- 🟡 **Error-code shifts** : image content rejection `-32003` → `-32115 IMAGE_CONTENT_REJECTED`; new ranges `-32113…-32117` (image jobs / resign), `-32160…-32169` (music), `-32149 AUDIO_OPTION_INVALID`.
- 🟢 **Window sizes** : nothing breaks, but oversized `min_size` / `default_size` now emit validator warnings. Geometry must be integers (it always should have been — now the WM rounds for you).
- 🟢 **Theme / locale** arrive on hosts ≥ beta.198 only; keep the `prefers-color-scheme` CSS fallback.

* * *

## 📬 Feedback Welcome!

Scoring a short film with `anna.music`, batching 4K posters as image jobs, or finally shipping that 40-page deck without a cut-off? We’d love to see it — and hear what’s missing. Voice settings, more voices, and reference-video inputs are still on the radar. 🎧

Once again, community-powered: **@HappyLight** ’s two reports fixed a regression _and_ a pool leak, **@martindelophy** ’s request became a whole new media family, **@Yinghuo_Mars** ’s questions shaped the Playground, and **@sadi** ’s diagnosis made Executas consistent everywhere. Detailed reproductions and real use cases are the fastest route from “request” to “shipped” — keep them coming! 💪

Happy building! 💜✨
