一键开启多智能体互动课堂学习体验
为OpenMAIC打分
给出您宝贵的评分:
手机端可长按图片保存,分享到朋友圈 / 社群
使用 OpenMAIC,你可以:
开源多Agent交互式课堂项目,一键启动沉浸式多智能体学习场景,丰富课堂交互,带来新颖的AI辅助学习体验。
用户评论 (0)
2026年03月20日
2026年09月29日
2026年03月24日
2026年03月21日
2026年11月23日
2026年10月29日
v1.5.0
2026年11月24日
1.5.0 is the general release of a brand-new home, redesigned end to end (see 1.5.0-rc.1 and the release candidates after it). With the workbench enabled (NEXT_PUBLIC_WORKBENCH_ENABLED, still off by default), the home page is the workbench: the course takes shape beside the conversation, and one full-screen classroom handles both learning and editing. This section collects what is new in 1.5.0 beyond 1.5.0-rc.3: the workspace home and the classroom adapt to phones, slide editing and playback move to the package canvases, long agent conversations are compacted instead of failing at the provider, Token Plan gains international plans, and the video export dialog shows the render queue.
Coming from 1.4.x:
- Read Breaking Changes under 1.5.0-rc.1:
NEXT_PUBLIC_PRO_WORKBENCH_ENABLEDis renamed toNEXT_PUBLIC_WORKBENCH_ENABLED, and deployments that run the agent runtime get a one-way agent-session migration (stop every 1.4.x instance first; roll back by restoring the database). - Coming from 1.5.0-rc.3, there are no new migrations.
- Upgrade the render-service image together with the app: the export dialog's queue position needs the new
queuePositionfield. An older render service still works, without the queue position. - Read Behavior Changes below: the package canvases become the default for slide editing and playback, and conversation compaction is on by default where the agent runtime runs.
Behavior Changes
- Slides: classroom playback and the slide editor use the package canvases (
@openmaic/rendererand@openmaic/editor) by default. Imported label insets, formula fit, cropped images, text layout and editor zoom are preserved, and double-click on a blank canvas inserts text again. To keep the old canvases for this release, setNEXT_PUBLIC_MAIC_PLAYBACK_RENDERER_ENABLED=falseorNEXT_PUBLIC_MAIC_EDITOR_RENDERER_ENABLED=falsebefore building. #2339 (by @xuyuanwei678) - Agent runtime: conversation compaction is on by default. When a session nears the agent model's context window, older turns are summarized with the conversation's own model and the summary is appended to the session as a compaction entry; raw entries are never deleted. Every model call is checked against the model's budget first: a request still over budget is not sent, the run ends once as
failedwithCONTEXT_BUDGET_EXCEEDEDand is not retried, and the workbench asks the user to start a new chat.OPENMAIC_AGENT_COMPACTION_ENABLED=falseturns compaction off and keeps the budget check;OPENMAIC_AGENT_COMPACTION_RESERVE_TOKENSandOPENMAIC_AGENT_COMPACTION_KEEP_RECENT_TOKENSoverride the window-scaled defaults. Teaching runs and the classroom Director keep their own context handling. #2324 - Classroom: Native Child agents can read public web pages with a
fetch_urltool when thewebFetchslot resolves. A read returns at most the first 2,000 characters as untrusted page text, goes through the shared reader's URL safety checks, and shows as an inline tag in classroom chat, asweb_searchnow does. SetwebFetch: nullto remove the tool while keeping web search. #2340 (by @LING-6150)
Features
- Classroom: phone portrait and landscape layouts reuse the existing playback, roundtable, conversation and course-completion components. Touch controls, materials panels, quiz focus and a compact landscape dock preserve playback and interactive-page state across panel and orientation changes. PBL projects direct phone learners to a computer. #2313 (by @xuyuanwei678)
- Workbench: the workspace home works on phones. Courses, materials, previous chats and search open from the header through a drawer that reuses the desktop rail, the courses toolbar wraps and renames through a dialog, and the home composer follows the visible viewport when the keyboard opens. Developers can set
OPENMAIC_DEV_ORIGINSto test from a phone on the same network. #2349 (by @xuyuanwei678) - Workbench: when a conversation is compacted, a divider marks the point ("Earlier messages were summarized to continue this conversation") and expands to the summary and the before/after counts; it stays after a refresh. When compaction cannot bring the context under budget, the notice names the reason and the next step. #2368 (by @CXuPercy)
- Workbench: a course without slides gets a cover from its first interactive page, rendered live in a sandboxed, non-interactive frame, instead of the blank-page glyph. #2233 (by @CXuPercy)
- Token Plan: the page switches between mainland and international plans. Each side lists only the plans that region's accounts can use, and every capability of a plan points at that region's site. New international plans for MiniMax (
api.minimax.io, M Plansk-cp-keys) and Kimi. #2352 (by @LING-6150) - Model settings: a context window can be declared per chat model the built-in catalogue does not describe — in the model edit dialog for user-configured services, and as
modelContextWindowsunder a provider inopenmaic.yml. Compaction and the context budget check plan with the declared window instead of the 128k fallback; catalogue metadata still wins where it applies (except on an OpenAI-compatible endpoint, where the declaration also covers a name-colliding catalogue hit). #2370 (by @CXuPercy) - Video export: while the render service is busy, the export dialog says the job is queued and shows its position, then "Uploading…" and "Rendering slides and collecting assets…" until progress starts to move, instead of sitting at 0%. #2381 (by @cosarah)
Bug Fixes
- Home: on a deployment with
ACCESS_CODE, the home pages wait for the access code before loading courses and folders, so "Persistence is unavailable" no longer flashes behind the access-code dialog. #2318, fixes #2311 - Documents (MinerU): figures in the later chapters of a long, equation-heavy PDF are kept again. MinerU crops every display equation into an image, but its Markdown already carries the equation as LaTeX and never names the crop; those crops no longer take image places (an equation recognized without its content, only its number, keeps its crop). Charts now carry their page and caption like other figures, and one document keeps up to 300 images instead of 100 (derived images do not count toward the material limit). Documents already parsed keep their images until parsed again. #2384 (by @LING-6150)
- Theme: text on primary buttons is light in dark mode, which brings enabled buttons above the WCAG AA contrast ratio and makes disabled ones readable. #2396 (by @LING-6150)
- Workbench: when the agent asks a question, the answer form shows in the preview at once instead of after the previous scene's exit animation, which could stall in a covered or background window and leave no answer form on screen. #2353 (by @CXuPercy)
- Agent runtime: when no server TTS is available, the
generate_actionsresult says narration audio was skipped, so the agent no longer reports a page as finished while its speech lines have no audio. #2374 (by @miscos330) - Classroom: the course completion card shows above an interactive last page without reloading it, and stays open across full screen so Escape still closes it. #2342 (by @LING-6150)
- Interactive pages: the browser's benign ResizeObserver loop notice no longer shows the "this interactive failed to run" banner on healthy pages. #2315
- Generated interactive pages: the page-writing prompts now require an element marked
hiddento stay hidden under an authordisplayrule and to be shown by removing the attribute, a canvas to sit out of the layout flow of the container it is sized from and to draw in CSS pixels on high-density screens, and reset to rerender every readout through the same render path as startup. The simulation, game and reveal examples follow these rules. This prevents a false "canvas unavailable" message, a canvas that grows until it is blank, and readouts left from the previous run. Scenes generated before this change keep their HTML. #2348 (by @cosarah) - Roundtable discussion: browser-native speech is spoken one sentence at a time, as in lecture playback. A sentence that fails or never finishes is skipped instead of leaving every later speaker silent, pause and resume restart the current sentence, and the speech speed, playback speed, volume and mute settings now apply, from the next sentence on. Browser speech in lectures and discussions no longer splits decimals, version numbers, domains or abbreviations such as "e.g." into separate sentences. #2325 (by @cosarah)
- Standalone player: a choice question whose answer key is empty no longer awards points to an unanswered submission. #2390 (by @DivyamTalwar)
- Standalone player: Left and Right stay with focused video and audio controls instead of changing the scene. #2389 (by @DivyamTalwar)
- Standalone player: a video that never finishes buffering no longer stalls the course; its startup wait is capped at one minute (pause-aware) and cancelling playback releases it at once. #2395 (by @DivyamTalwar)
- Model settings: the add-provider dialog says why a name with no letter a–z or digit (one written only in Chinese, say) cannot be added, instead of leaving the Add button disabled without a word. Its example name is now
my-relay: the old one was saved asopenaiin the Chinese, Korean and Arabic interfaces, which listed the new endpoint as the built-in OpenAI service. The hint under the Model ID field no longer claims the context window comes from the built-in catalogue. #2370 (by @CXuPercy) - PBL v3: Start learning explains why it is unavailable in terms of starting the project, and activating it moves focus to the learning conversation. #2320 (by @Irisdai517)
- PBL v3: after a failed refresh, cached project files stay read-only with a Retry read action, local drafts are kept, and healthy files save independently. #2310 (by @Irisdai517)
- PBL v3: a single milestone and a single result use the full row in the overview and report, and completed plan and code reviews stay in the learning report and share card after a later file edit. #2347 (by @Irisdai517)
- PBL v3: workbench polish: Copy stays visible under each tutor reply, Close sits inside the file tab with long names truncated, pending edits show a spinner and a successful write a short "Saved", panel headers line up at one height, and the message field grows with the draft. #2379 (by @Irisdai517)
- Workbench: no React key warning from the language menu. #2358 (by @YizukiAme)
Packages
@openmaic/editor0.0.13 (was 0.0.12),@openmaic/generation0.3.33 (was 0.3.32) and@openmaic/renderer0.2.4 (was 0.2.2), all already on npm. Other packages are unchanged from 1.5.0-rc.3.
Known issues
- A viewer cannot yet copy someone else's course into their own library in one step. Until then, export the classroom ZIP from the classroom page and import it in My courses (courses with PBL scenes excepted). #2223
- My courses pins and order, the rail fold and the tours' progress are kept per browser and do not follow an account to another device.
NEXT_PUBLIC_DOCS_URLis not passed through the Docker build, so Docker images link Docs to/docson the same origin.- The completion card does not appear when the last page is a PBL scene. #2365
- The 1.4.0 known issues still apply, except #2122, which 1.4.2 resolved.
v1.5.0-rc.3
2026年11月17日
1.5.0-rc.3 is the third release candidate for 1.5.0. It adds DeepSeek speech recognition, speech synthesis and document OCR (one DeepSeek key now covers them), MiniCPM-OCR as a document parser, and chunked parsing of long PDFs on self-hosted MinerU, which the Pro agent can then read by chapter. In the workbench, an agent question with a recommended answer confirms itself after a short countdown. It also fixes the first-run tour, folder pins, the split-view export menu, PPTX import in the standalone image, editor fonts in the classroom, and several PBL v3 interactions. No upgrade conditions over 1.5.0-rc.2: no new migrations, and the 1.5.0-rc.1 Breaking Changes still apply when upgrading from 1.4.x.
Behavior Changes
- Documents (self-hosted MinerU only): PDFs over 50 pages are parsed in page chunks and merged back into one material, and PDFs over 1000 pages are refused with
too_many_pagesbefore any request. SetPDF_MINERU_MAX_PAGES,PDF_MINERU_CHUNK_PAGESandPDF_MINERU_CHUNK_CONCURRENCY(defaults 1000 / 50 / 4) to change this. If a chunk still fails after a retry, the document fails withpages_failedand the page range. MinerU Cloud, AliDocMind and unpdf are unchanged. #2269 (by @LING-6150) - LLM fallback: a fallback call is capped at the fallback model's own output limit instead of keeping the primary model's
maxOutputTokens, and evaluation andverify-modelcalls stay on the requested model. #2169 (by @YizukiAme)
Features
- Providers: DeepSeek speech synthesis (
deepseek-tts, voicesstellaandtide), speech recognition (deepseek-asr, up to 120 s per request) and document OCR (deepseek-ocr, with figures cropped from PDF pages). The DeepSeek one-key plan now also fills TTS, ASR and document parsing. New variables:TTS_DEEPSEEK_*,ASR_DEEPSEEK_*,PDF_DEEPSEEK_OCR_*. #2259 - Documents: MiniCPM-OCR as a document parsing provider, through ModelBest's hosted API (
PDF_MINICPM_OCR_API_KEY) or a self-hosted MiniCPM-OCR web demo (PDF_MINICPM_OCR_BASE_URL). #2236 (by @Caldalis) - Knowledge base: long documents parsed by self-hosted MinerU get a chapter tree, recognized once by the model in the new
material.chaptersslot (it follows the default model unless assigned), andread_materiallists each chapter with its offset so the Pro agent can jump straight to it. Recognition is optional: if it fails, the material stays parsed without a tree. #2269 (by @LING-6150) - Workbench: the agent can mark one option of a question as recommended; it is sent automatically after an 8-second countdown that pauses or stops when the user interacts. The countdown can be switched off on the card or in General settings. Long background goes in an optional
detailsblock, and the preview shows the question as one card. #2271
Bug Fixes
- Workbench: the first-run tour waits behind the access-code dialog instead of trapping focus under it, and starts only once the guide course has been seeded, so its step count no longer jumps. #2251, #2253
- Workbench: pinned folders keep their pin after a refresh, the tour card stays on screen, and a long chat draft no longer runs under the composer toolbar. #2250, #2252
- Workbench: a course opened in the split view has the Export menu in its header, not only in full screen. #2272
- Pro workbench: pages built from an uploaded document now show the document's extracted figures.
use_material_mediaused to tell the agent to place an image withpatch_stage, so new pages were generated throughgenerate_scenewithoutmediaand showed no figures. Its reply, thegenerate_scenedescription, the materials prompt and thestage-designskill now say to pass each image ingenerate_scene.media. #2099 (by @aswanthwuhan) - Agent runtime: PPTX import works in the standalone image built from this repository's
Dockerfile, which failed withCannot find package 'linkedom'because the worker was not bundled. #2255 (by @puxiao) - Fonts: the Chinese and Latin fonts offered by the slide editor's font picker render in the standalone classroom too, and
Interrenders everywhere. #2244, #2247 (by @cosarah) - Voice settings mark each saved Qwen/CosyVoice profile cloned for a different clone target as soon as they open, against the target the server now reports with its provider settings, by the same rule the server uses to refuse it. A preview the server refuses with
QWEN_VC_RECLONE_REQUIREDstill marks its profile when the target changes while settings are open, and a successful preview clears the mark. Saved voices and bindings remain unchanged. #2031 (by @YizukiAme) - PBL v3: first-time learners read the project overview first, and the opening teaching reply starts only when they click Start learning. #2277 (by @Irisdai517)
- PBL v3: the composer is simpler while the assistant replies (a red stop button, no repeated busy text); review responses no longer stay pending after their text is complete; invalid step advances explain what to do next; changing teaching state is sent after the reusable history, which keeps prompt caching. #2257, #2258, #2268 (by @Irisdai517)
- PBL v3: beta workbench polish: stable file names while resizing, no repeated waits when switching between files already read, panels close on an outside click, and submitted decisions and quizzes show as complete. #2274 (by @Irisdai517)
Packages
@openmaic/renderer0.2.2: adds the opt-in stylesheet@openmaic/renderer/picker-fonts.css, which declares the font names the editor's picker writes. #2244- All other packages are unchanged from 1.5.0-rc.2.
Known issues
- The 1.5.0-rc.1 known issues still apply.
- On a deployment with
ACCESS_CODE, the "Persistence is unavailable" toast can flash behind the access-code dialog before the code is entered; saved classrooms load normally afterwards. #2311
v1.5.0-rc.2
2026年11月12日
1.5.0-rc.2 is the second release candidate for 1.5.0. It polishes the workbench (drag to fold the rail and the classroom dock, clearer chat status, no duplicate guide course after sign-in), gives Native classroom agents fresh whiteboard state, and fixes PBL previews, assessments and history. No upgrade conditions over 1.5.0-rc.1: no new migrations, and the 1.5.0-rc.1 Breaking Changes still apply when upgrading from 1.4.x.
Behavior Changes
- Classroom: Native classroom agents (Director and Child) get a fresh whiteboard state before every model round. Where
RENDER_SERVICE_URLis set, the service passes itsGET /healthcheck and the model explicitly supports vision, each request also carries at most one image of the current board (5 s per render, text-only after the first failure), which adds image input to those model calls. Successful board writes now return the next expected sequence, andwb_draw_texttakes plain text only. The classroom skill directory can be set withOPENMAIC_CLASSROOM_SKILLS_DIR. #2216, #2232, #2237 (by @LING-6150) - Agent runtime:
render_scene_previewis offered to the agent only when the render service passes its health check, instead of wheneverRENDER_SERVICE_URLis set. #2119 (by @mahmud035)
Features
- Workbench: the rail and the classroom dock fold and unfold by dragging their edge, within one gesture; the remembered width and height are kept. #2239
- PBL v3: the project overview sits in the conversation with the goal, the finished work and the milestone roadmap; the task drawer is available from each milestone's first step, and the next step is one full-width button above the composer. Course packages may add an optional
presentation.hero.finishedWork. #2230 (by @Irisdai517)
Bug Fixes
- Workbench: a queued request shows its prompt and says it is queued; the open chat keeps its spinner in the rail; a course still being built by another conversation no longer shows the course end; the course chip names a course outside the viewer's list. #2240
- Workbench: signing in no longer adds a second guide course next to the one the visitor already had, and the Edit guide works in full screen. #2241
- Workbench: small polish: no duplicate page count in the full-screen header, no subtitle on My courses, tooltips open on keyboard focus only, external rail links show an arrow, and
ask_userrejects double-escaped line breaks. #2243 - PBL: standalone previews wait for the application to be running on a cold start instead of showing an unusable retry. #2227 (by @Irisdai517)
- PBL: isolated assessments larger than the sandbox command budget run through a staged script instead of failing with a source-size error. #2228 (by @Irisdai517)
- PBL v3: History lists conversations from earlier milestones again, grouped by milestone. #2229 (by @Irisdai517)
Packages
- No package changes; all packages are unchanged from 1.5.0-rc.1.
Known issues
- The 1.5.0-rc.1 known issues still apply.
v1.5.0-rc.1
2026年11月10日
1.5.0-rc.1 is the first release candidate for 1.5.0: a brand-new home, redesigned end to end. With the workbench enabled, the home page is the workbench. A request shows a live preview beside the conversation from the moment it is sent, and the preview becomes the course once its first page is saved. A rail without a top bar holds My courses (folders, pinning, thumbnails), the knowledge base and a chat list that shows what is running, waiting for an answer or failed. One full-screen classroom handles both learning and editing, and the agent settles one style per course and briefs each slide's design apart from its content. The workbench stays off by default (NEXT_PUBLIC_WORKBENCH_ENABLED), and without it the classic home page is unchanged. Some classroom changes apply to every deployment: interactive pages fill the classroom pane and shrink to fit instead of scrolling, a course ends on a closing card instead of an extra completion page, and the dock under the stage can be resized and folded. Read Breaking Changes before upgrading: the workbench flag is renamed, and deployments that run the agent runtime get a one-way schema migration.
Breaking Changes
NEXT_PUBLIC_PRO_WORKBENCH_ENABLEDis renamed toNEXT_PUBLIC_WORKBENCH_ENABLED. The previous name is still read when the new one is unset or empty, until its removal in 1.6.0, and the server logs a deprecation warning at startup when it is used. Like everyNEXT_PUBLIC_*flag it is compiled into the build, so switching to the new name requires a rebuild; the Docker build anddocker-compose.ymlpass both names. #2094 (by @LING-6150)- With the agent runtime enabled, the upgrade is one-way: stop every 1.4.x instance first, and plan rollback as a database restore.
@openmaic/storage0.39.4 adds agent-session migration v4 (open_question_seq), applied when the agent runtime first opens its session store. It is additive: one nullableINTEGERcolumn onagent_sessions, backfilled once from the existing event logs in the same transaction, so the first start reads the wholeagent_session_eventstable once. #2094- Once v4 is applied, a 1.4.x server refuses to start against the database (
SchemaVersionAheadError), and a 1.4.x replica that is still running drains and exits within about a minute (the schema monitor added in 1.4.0). Roll back by restoring the previous database state, not by restarting the old version. - A host that provisions
AGENT_SESSION_PG_SCHEMAthrough its own migrations must add the nullableopen_question_seq INTEGERcolumn toagent_sessionsbefore upgrading. - Deployments that never enable the agent runtime do not apply this migration.
- Once v4 is applied, a 1.4.x server refuses to start against the database (
Behavior Changes
These apply to every deployment, with or without the workbench.
- Interactive pages: pages fill the classroom pane instead of sitting in a centered 16:9 box. The page's viewport is at least 1280×720 CSS pixels and takes the pane's aspect ratio, growing in height or width; highlights, the element picker and the runtime-error banner follow the new frame. Pages laid out for exactly 1280×720 mostly stretch to fill; a page with a fixed-size layout shows empty space around its content inside the frame. #2094
- Interactive pages: a page taller than its frame shrinks to fit instead of scrolling, down to three quarters of its normal scale; past that it keeps that scale and the frame shows a small More below cue that scrolls the page. The platform measures and scales the page, with no change to generation prompts. Images, canvases, SVG and video get a
max-width: 100%default that a page's own styles override. Both changes apply in the classroom and in the exported standalone HTML player. #2094 - Classroom: the course-end completion page is replaced by a closing card over the last page, which stays as it was underneath. The card shows a medal, the pages learned, the course title and the quiz score, and offers up to two next steps (do an unanswered quiz, review a wrong answer, start over). Only graded quizzes count toward the score: a quiz nobody handed in is offered instead of counted wrong. It opens when the last page finishes, on Next, or once a quiz on the last page is handed in, and waits while a course is still being built. The pager no longer counts the completion page as an extra page. #2094
- Classroom: the dock under the stage can be resized (drag its top edge or use the arrow keys) and folded. Its height and fold are kept in settings and shared by Learn and Edit. With the dock folded, the conversation stays over the stage: the teacher's bubbles bottom-left, the students' and the learner's bottom-right, with voice, text input and suggested replies. The speech bubble grows with the dock, and on the control bar the dock fold moves to the left of full screen. #2094
- Classroom: a save the server refuses now shows an error instead of looking saved. Where the workbench is part of the build, someone viewing a course they do not own also finds a note in the export menu on how to get an editable copy (download the classroom ZIP, then import it in My courses); it is hidden for owners and for courses with PBL scenes, whose package only the owner can export. #2094
- Editor: where only the classroom editor is enabled (
NEXT_PUBLIC_MAIC_EDITOR_ENABLEDwithout the workbench), the classroom's edit switch is labelled Edit instead of Pro. #2094 (by @LING-6150)
Features
All of these are part of the workbench and appear only where it is enabled.
- The home page is the workbench.
/renders the workspace (also at/workspace), with its rail folded for anyone who has not chosen otherwise; with the workbench disabled,/renders the classic home page unchanged. The separate "Pro mode" is retired: the PRO badge, the home ↔ workspace transition and the Exit Pro control are gone. #2094 (by @LING-6150) - From request to course in one place. A new conversation shows its request preview in the right pane from the moment it is sent, and hands it to the course tab when the first page is saved. A conversation started beside a course, one that @-names an existing course, and a later request of a conversation that already has its course work on that course and show no preview. #2202
- A shell without a top bar. The rail holds the logo and fold, New chat (Cmd/Ctrl+J), Search (Cmd/Ctrl+K: conversations, courses, knowledge-base materials and quick actions, by name), the destinations My courses and Knowledge base, and the chat list, which loads more rows as it scrolls. An account block at its foot opens a menu with an inline profile editor that saves as you type, settings, language, theme (light, dark, system), the getting-started and editing tours, About, Docs and GitHub with the repository's star count. Docs points at
/docson the same origin unless the build setsNEXT_PUBLIC_DOCS_URL. The folded rail shows the same items as icons, and pages in the main area share one?view=parameter. #2094 - Chat status at a glance. Each conversation in the rail shows one mark: running, queued (a still clock), waiting for your answer (when the agent ended its run on a question, until it is answered), or failed; otherwise its relative time. The waiting mark comes from the server, so it is right on every device and updates live. #2094
- My courses. A new page lists folders and courses together by recent activity (a folder by its newest course), as cards with course thumbnails, and loads more as it scrolls. Folders are created inline; courses are dragged into folders and reordered; folders and courses can be pinned and lead the list. Pins and the manual order are kept per browser. #2094
- Browse a course, then edit it with AI. A course opened from My courses or search fills the right side with the chat folded. Edit with AI in its header opens an empty conversation with the course as an @ mention in the composer; sent with the mention, the conversation works on that course, and with it removed it is an ordinary new conversation. A course opened from a conversation keeps that conversation beside it. #2094
- One full-screen classroom, editing included. The classroom pane's ⛶ fills the window and keeps a header: the course and page on the left, and in the same corner as ⛶ the Learn | Edit switch and a collapse button that returns to the split view with the course still open; Esc does the same. #2094
- The classroom page wears the same header. In workbench builds,
/classroom/[id]shows the full-screen header for owners and viewers. Owners get Learn | Edit and the collapse button, which opens the course in the workspace's classroom pane and replaces Edit in workspace; viewers get a Make your own course link to the home page and the download menu. A course link opened in the workbench by someone who does not own the course goes to/classroom/[id], and the course is read-only wherever such a viewer lands (no Edit, Edit with AI or editing tour). Builds without the workbench keep the classic classroom header. #2094 - One style per course.
generate_scenetakes adesignbrief for slide pages (style, palette roles, layout regions), kept apart from the page's content; it is passed to the slide generator as direction only, and other page types reject it withdesign-requires-slide. The agent settles one style for the whole course before its first slide, restates it on every slide, and keeps an existing course's style when editing it. The agent also treats a new conversation's opening request as a request for a course (asking once when it cannot tell), saves the first page as early as it can, and makes each page's images just before that page instead of all at once.@openmaic/generation0.3.32. #2206 - Guide course and tours. Each owner's library gets a five-minute course about OpenMAIC the first time it loads, in Chinese for a
zhinterface and English otherwise; it is an ordinary course of theirs, pinned in My courses until unpinned, and stays deleted once deleted. A first-run tour introduces the home page, and an Edit tour runs the first time the owner edits a course; both can be replayed from the account menu. A deployment can turn the guide course off or ship its own through the shell extension slots. #2094 - Composer and chat. @ mentions and skills appear as inline chips in a rich-text composer and in sent messages; attachments show upload and parsing progress; a sent message appears at once. The chat stream groups thinking and tool calls between text and names only the step under way; a tool failure reads as information rather than an alarm; questions render as Markdown; course mentions show as cards that open the course. A new chat focuses the composer. #2094
- Shell extension slots (
lib/workbench/shell-extensions.tsx). A deployment adds its own rail destinations (pages in the main area or links), account menu entries, an account summary line, an unread badge, its own sign-in identity, a section under the home composer and its own guide course by providingWorkbenchShellExtensionsProvider(mounted empty in the root layout), without changing the shell. Nested providers merge. #2094
Changed
- Editor: Edit mode is aligned with Learn. The script header is part of the control bar, every script action has its own card (a newly added one is revealed), the discussion card names its fields as property rows, the page list is one control in both modes, the legacy editing canvas draws slides the way Learn does, and a page keeps its size when returning from Edit to Learn. This applies wherever the classroom editor is enabled. #2094
- Workbench: the rail, account menu, home, panes, classroom pane tab strip and chat column are restyled on the existing design tokens, in light and dark. #2094
- Performance: ECharts loads when a chart first draws, pptxgenjs and temml load when a PowerPoint export starts, and the editor's fonts stay out of a course's own loading; a course's chats are read alongside its document. #2094
- Docs: the README, configuration and hosting docs drop the "Pro" wording and describe the workbench as the home page. #2094 (by @LING-6150)
Bug Fixes
- PBL v3: when a formal test fails because
PLAN.mdis wrong rather than the code, the repair step lets the learner amend the plan in the IDE or through the Coder. Writer locks still hold during active tests and Agent turns, and the amended plan is tied to the next test run and checkpointed on a pass; code-only failures go straight to a focused source repair. #2215 (by @Irisdai517)
Packages
@openmaic/generation0.3.32 (was 0.3.31) and@openmaic/storage0.39.4 (was 0.39.3). Other packages are unchanged from 1.4.2.
Known issues
- A viewer cannot yet copy someone else's course into their own library in one step. Until then, export the classroom ZIP from the classroom page and import it in My courses (courses with PBL scenes excepted). #2223
- My courses pins and order, the rail fold and the tours' progress are kept per browser and do not follow an account to another device.
- The workbench layout is designed for desktop widths; on a phone it keeps working but is not adapted.
NEXT_PUBLIC_DOCS_URLis not passed through the Docker build, so Docker images link Docs to/docson the same origin.- The 1.4.0 known issues still apply, except #2122, which 1.4.2 resolved.
Full changelog: CHANGELOG.md · v1.4.2...v1.5.0-rc.1
详细ChangeLogv1.4.2
2026年11月09日
1.4.2 is a regular patch release. Its main addition is course-level undo: one undo/redo line per course that covers manual edits, page add/delete/reorder, narration, titles and agent runs, with buttons in the workbench header and Cmd/Ctrl+Z. It also stops a Director from retrying a failing child agent without end (the 1.4.0 known issue #2122), keeps Pro edits from leaving an interactive page empty, lets ALLOW_LOCAL_NETWORKS cover TUN/fake-ip proxies, and carries a batch of PBL v3 fixes plus Java application previews. There are no schema or migration changes over 1.4.1. Read Behavior Changes before upgrading: sandboxes are no longer limited to one role, and ASSET_COLLECTION_GRACE_MS must stay at 45 minutes or more.
Behavior Changes
- Sandbox: once a deployment enables sandboxes, any owner it admits may use them, including anonymous and shared-team owners; the
sandbox:userole and the single-user requirement are gone, andSANDBOX_FORBIDDENis no longer returned. Model calls were never gated by identity either. Each owner still reaches only its own sandboxes, files, previews and checkpoints. On an anonymous public deployment this lets any visitor start billable sandboxes up tomaxActivePerOwnerandmaxActive: protect it withACCESS_CODEor your own sign-in, keep the caps and lifetime low, and set a budget at the sandbox provider. See SECURITY.md. #2191 - Network:
ALLOW_LOCAL_NETWORKS=truenow also allows198.18.0.0/15, the range TUN/fake-ip proxies (Clash, Surge, Shadowrocket and similar) answer DNS with for public hostnames, so operator-configured TTS, image and other providers work behind such a proxy. It applies only to that block and only to operator-configured endpoints; client-supplied endpoints and the other reserved ranges stay refused. The refusal now names the proxy and suggests excluding the provider's domain from fake-ip, which remains the preferred fix. #2186 (by @hackdion) - Storage:
ASSET_COLLECTION_GRACE_MSbelow 45 minutes (2700000) is unsupported, because undo can restore a reference to media removed up to 45 minutes earlier. The default (one hour) is unaffected. #2159
Features
- Editor: course-level undo and redo. Each open course keeps one in-memory history of up to 100 steps that survives page, mode and course-tab switches and clears on reload. It covers slide and quiz edits (a burst of typing is one step), narration, page titles, page add, duplicate, delete and reorder, and agent changes (one run is one step). Buttons sit in the workbench header and the standalone command bar on every scene type, with Cmd/Ctrl+Z and Cmd/Ctrl+Shift+Z. The workbench had no undo since 1.0.0. #2159
- PBL v3: Java packages can run application previews. The declared sources are compiled with
javacand the declared main class is launched through the existing preview lifecycle; packages that need it declarepbl-v3-java-application@1, so an older host rejects them explicitly. #2188 (by @Irisdai517) - PBL v3: course packages can give a choice option a
previewLabelfor the application preview; the decision drawer keeps the shortlabel, which stays the fallback. #2201 (by @Irisdai517)
Bug Fixes
- Classroom: a Director no longer retries a teacher or assistant that keeps failing. A failed, timed-out or empty child call now comes back to the Director as a clear failure, after which it may call another agent or hand the turn back to the learner. The learner sees a fixed, translated notice ("The teacher didn't respond" when nothing visible came through, a one-time "couldn't finish" toast when part of the turn did) instead of a stream error or model-written text. No server-side retry cap is added; forced-failure runs on three models ended every turn this way. #2144 (by @LING-6150, with @bhushan4work)
- Agent:
patch_stagerefuses to replace an existing interactive page's HTML with an empty value, a standalone placeholder or a bare DOCTYPE, and leaves the page as it was. An agent that cleared a page and meant to rebuild it over later calls could leave it broken if the run stopped in between; a placeholder filled within the same call is still allowed. #2194 (by @yipwingtim) - Narration: with a VoxCPM TTS slot, narration generated by the agent's
generate_ttsno longer fails on every line when the teacher has no bound voice. The auto voice now gets the narrating teacher's voice design, persona, or role and name, as the browser path already did. #2197 - Models: an explicit thinking on/off setting is no longer dropped for models without a built-in thinking entry, such as a self-hosted Qwen3-family model behind an OpenAI-compatible provider. It is sent as
chat_template_kwargs.enable_thinking, so these models stop writing their reasoning into structured output and generated HTML. #2190 - Playback: the laser pointer lands where the editor shows it, in both the legacy playback canvas and
@openmaic/renderer, instead of drifting down and to the right or toward the slide center.@openmaic/renderer0.2.1. #2213 - Interactive pages: the page writer now receives the widget outline as written. Variables given as objects (name, range, unit) read as
angle (0–90, deg)instead of[object Object], with range constraints such asstepkept, the design idea is passed on instead of left empty, and outline fields with no slot of their own, such as controls or readouts, reach the prompt as additional design requirements.@openmaic/generation0.3.30; range constraints kept in 0.3.31. #2209 #2210 - Interactive pages: a hosted library named with a version that does not exist on the hosted release line, such as
@tailwindcss/browser@4.11.18for 4.1.18, now loads the hosted build instead of failing with a 404 and leaving the page unstyled or broken. This applies to both deployment-hosted/vendor/interactive/paths and public CDN URLs, including versions above the hosted one, at render time and in HTML/ZIP export. Unknown packages and other major versions (or other 0.x minors for pre-1.0 libraries) are left as written.@openmaic/generation0.3.30. #2209 - PBL v3: ordinary coding and review turns stay within the request budget. Large protected files are returned in excerpts of at most 8 KiB with line ranges and a continuation offset, and course references are sent once in the system prompt instead of in every section result. #2204 (by @Irisdai517)
- PBL v3: learning reports and share images show what the learner built: completed milestone titles and goals, each milestone's decision next to its test and quiz results, and course-authored result cards. Decisions, rationales and AI findings stay in the private report. #2205 (by @Irisdai517)
- PBL v3: the application preview shows only the current milestone's submitted choices. #2201 (by @Irisdai517)
- PBL v3: after a recap that leads to another milestone, the task bar says "Enter next milestone". #2199 (by @Irisdai517)
- PBL v3: quiz options in the task drawer are aligned cards with letter badges, a clear selected state and a visible keyboard focus, on native radio inputs. #2193 (by @Irisdai517)
- PBL v3: entering Tests or Quiz with the conversation at the bottom keeps following the tutor's output. #2196 (by @Irisdai517)
- PBL v3: dragging a workbench divider no longer resizes unrelated columns, IDE file tabs stay on one scrolling row that reveals the active tab, and the expanded assistant can be narrower. #2212 (by @Irisdai517)
Packages
@openmaic/generation0.3.31 (was 0.3.29; 0.3.30 was published along the way) and@openmaic/renderer0.2.1 (was 0.2.0). Other packages are unchanged from 1.4.1.
Known issues
- The 1.4.0 known issues still apply, except #2122, which #2144 resolves.
- Undo history lives in the tab's memory: it clears on reload and is not shared between tabs.
v1.4.1
2026年11月06日
1.4.1 is a regular patch release with no upgrade conditions over 1.4.0. Most of it stops edits and learner progress from being lost when a background sync crosses a save, makes courses open quickly again on slow connections, and fixes PBL v3 sandbox cleanup and tutoring. Upgrading from 1.3.x carries the conditions of 1.4.0, and the 1.4.0 Known issues still apply.
Bug Fixes
-
PBL: a background course sync no longer empties a PBL v2 project on screen. It used to take the stored design template as it was, and the next whole-document save then recorded the empty state, so the learner's submissions and progress were gone after a reload. #2184
-
Workbench: a background course sync no longer overwrites a scene edit that has not finished saving, so the edit no longer reverts on screen and the older copy is no longer saved over it. The scene is read again as soon as the save finishes. #2168
-
Workbench: on a connection Chromium rates 3G or slower, a course no longer takes close to a minute to open and Edit no longer stalls for about 15 s. The workbench and generation event streams now run as low-priority requests, so script chunks are not held back behind them. On such a connection the streams can themselves wait behind other requests, so a conversation's transcript can appear after the course does. A server-sent
retry:below 1 s is treated as 1 s, and a page restored from the back/forward cache reconnects instead of keeping its connection. #2185 -
Editor: a slide open in the legacy Pro editor follows a server change to its scene, so the next commit from the canvas, including an automatic text-height adjustment, no longer writes the older content back over a page an agent just changed. #2168
-
Interactive diagrams: narration now walks the nodes in order and reveals them, and a reveal moves the page's own step state, so the diagram no longer stays on its first node during playback. The step label stays right and Next/Back continue from the revealed node, without ever moving behind a learner who has stepped further. This applies to newly generated pages; existing pages need regenerating.
@openmaic/generation0.3.29. #2120 -
Editor: the automatic text-height adjustment in the legacy Pro editor no longer saves the scene, so it no longer puts an older copy of a page back on the server from a tab that had not picked up a newer version, and no longer holds back an agent's next change. The height is kept in that tab and saved with its next real edit. #2181
-
Editor: saving a structural change, such as deleting or reordering a page, no longer deletes a page an agent or another tab added that this tab had not heard of yet. A page the user deleted is still deleted. #2184
-
Editor: the standalone classroom page follows server changes while in Edit, so a page an agent changed appears within seconds, including one changed before Edit was opened, instead of only after a reload. #2184
-
Editor: the legacy Pro editor removes an empty text box when the user leaves it, not whenever it renders, so opening a page no longer saves it with no user input. An empty box that already exists, or that an undo brings back, stays until it is selected and left. #2184
-
PBL v3: deleting a course now releases its sandbox. Background maintenance used to fail loading the deleted course's withdrawn project and never reclaimed the sandbox, so it kept running. The last checkpoint and teaching state are kept. #2176 (by @cosarah)
-
PBL v3: the tutor no longer mistakes a learner's reflection for artifact approval or uses the wrong feedback mode during a recap, and a failed teaching call that a later call recovers no longer stays in the transcript; it is kept in the recorded activity. An IDE file-read error clears when the file is read again successfully. #2173 (by @Irisdai517)
-
PBL v3: a long tutor reply keeps scrolling with its end instead of stopping once its heading reaches the top. Scrolling up releases following and scrolling back near the bottom resumes it, as in the workbench. #2178 (by @Irisdai517)
-
Export: an interactive page that has only a
urlkeeps its placeholder slide in the PPTX deck, with its button and QR code pointing at the page's own address, instead of disappearing. #2175 (by @puxiao) -
Interactive pages: player fullscreen with workbench panels open no longer cuts the page off on the left. #2145 (by @YizukiAme)
-
Agent:
generate_scenedeclareswidgetOutlineas an object, so models stop sending it as a JSON string that every call rejected withinvalid-widget-outline. #2157 (by @rome-xi) -
Agent: course-edit guidance and errors explain newline escaping, so an agent recovers when a replacement anchor written with literal
\ndoes not match. Matching stays exact. #2152 (by @yipwingtim) -
Storage: the asset collector no longer stalls when still-referenced entries fill its candidate page; they are excluded up front, so releasable assets behind them are collected.
@openmaic/storage0.39.3. #2103 (by @bhushan4work)
Packages
@openmaic/generation0.3.29 (was 0.3.28) and@openmaic/storage0.39.3 (was 0.39.2). Other packages are unchanged from 1.4.0.
Other Changes
- CI: the Playwright suite runs in three shards on the upgraded Playwright, and the render image is built only when its inputs change. #2165 #2171 #2183
v1.4.0
2026年11月04日
1.4.0 is about project-based learning: PBL v3 is a new way into vibe coding where learners build the project and come away understanding how it works. Concepts become hands-on tasks that the learner gets running, an AI tutor works through requirements, design and implementation with them, each milestone gives feedback and the finished project a personal learning report, and work and progress are kept for the next visit. PBL v3 runs on a new shared sandbox and stays off until a sandbox provider is configured; no new setting is required otherwise. The upgrade is one-way; read Breaking Changes before upgrading.
Breaking Changes
- The upgrade is one-way: stop every 1.3.x instance first, and plan rollback as a database restore.
@openmaic/storage0.39.2 adds asset migration v4 (retained document assets). A 1.4.0 instance applies it when persistence starts: on the first request or, at the latest, on its first schema check about 30 s after boot. #1979 #2151- Once v4 is applied, an older release refuses to start against the database (
SchemaVersionAheadError). Roll back by restoring the previous database state, not by restarting the old version. - 1.3.x checks the schema only at startup, so an instance already running does not exit when 1.4.0 migrates the database. It keeps serving until its next restart, which is refused, and its classroom saves delete the retained references 1.4.0 records. Do not run the two side by side.
- v4 replaces the check constraint on
document_asset_refs.ADD CONSTRAINTvalidates every row under an exclusive lock, so reads and writes of that table wait until it finishes. Allow for this on large tables. - A host that provisions
ASSET_PG_SCHEMAthrough its own migrations must first apply v4:document_asset_refs_scope_checkbecomesCHECK (scope IN ('stage', 'scene', 'retained')).ASSET_PG_SCHEMAitself does not include this; it is inASSET_PG_MIGRATIONS. - Upgrading directly from 1.3.0 also carries the conditions of 1.3.1.
- Once v4 is applied, an older release refuses to start against the database (
- From 1.4.0 on, older replicas exit when a newer release migrates the database. Every Node server now checks the recorded schema versions about every 30 s. When the database is newer than it knows, the server drains for up to 30 s and exits with code 1, and a restart of that version is refused at boot. A later mixed-version rolling deployment will see its old replicas exit shortly after the first new one migrates, so plan rollouts around it. This monitor does not exist in 1.3.x, so it first applies to upgrades from 1.4.0 onward. #2151
- Databases that ran a pre-release
integration/shared-sandboxbuild need repair. Those builds recorded asset v2 asretained-document-assets, while this release hasmaterial_rootsas v2 and the retained assets as v4. Repair the migration records or recreate the database. Databases upgraded from a released version are not affected. #2151 - Qwen voice cloning: authorize the new CosyVoice target before upgrading. Managed deployments must add
cosyvoice-v3.5-plus(or their configured clone target) alongsideqwen3-tts-flashin the provider model allowlist inTTS_QWEN_MODELSoropenmaic.yml. For example, useTTS_QWEN_MODELS=qwen3-tts-flash,cosyvoice-v3.5-plus: setting only the clone target replaces the implicit catalog-model authorization and makes catalog voices return HTTP 403. An allowlist containing only the retiredqwen3-tts-vc-2026-01-22does not authorize the new target and will return HTTP 403. Normalizing the old target override does not change the allowlist. Existing incompatible voices must also be cloned again from suitable reference audio. #1941
Behavior Changes
- Host hooks:
beforeAssetAllocatenow also runs for PBL package installs (POST /api/pbl/v3/packages). That endpoint is deliberately not gated on sandbox access, because classroom import and export depend on it: a caller without sandbox access can still store a validated package under their asset quota, and a host can refuse this through the hook. #2158 - Classroom export: a runnable PBL v3 course exports as
.maic.zipformat version 2 with its project embedded, and older installations reject that archive before writing anything. Ordinary and PBL v1/v2 classrooms stay on format version 1. #1979 (by @cosarah) - Agent tools: image, speech, video, web search and web fetch tools are offered only when their capability is usable, and the prompt describes only the tools offered. #2118 #2040 #2102 (by @bhushan4work)
- Classroom chat: a Native child turn is no longer cut off by the fixed 5-request and 60-second caps, so multi-step tasks such as complex whiteboard work can finish. Per-request timeouts and cancellation still apply. See Known issues. #2017 #2006 (by @bhushan4work)
- Classroom: a course with its own roster always shows that roster. A preset chosen on the home page no longer overrides it; the preset is kept for generation and for courses without a roster. #2136
Features
- Project-based learning PBL v3. Runnable programming projects open in the normal classroom with an IDE, a terminal and four AI teaching roles. #1951 #1963 #1964 #1988 #2003 #2142 (by @Irisdai517)
- Learn by doing. Each milestone goes through teaching, decisions, a plan, code, tests, a quiz and a recap, with the learner editing and running real code in a hosted workspace. Declared applications open in the workbench beside the IDE. #2060 #2069 #2090 (by @Irisdai517)
- AI tutor throughout. The tutor discusses requirements, reviews the plan and the code with the learner, and answers questions at any point. #2044 #2073 #2107 (by @Irisdai517)
- Staged feedback. Tests and quizzes give feedback at each milestone, and a finished project gets a personal learning report built from what actually happened, with shareable achievement images. #2106 #2131 (by @Irisdai517)
- Progress is kept. Learning progress lives in PostgreSQL and workspaces are checkpointed, with periodic backups of newer edits, even while an application runs. Idle compute is released after 30 minutes by default (
OPENMAIC_PBL_IDLE_TIMEOUT_MS) and the workspace is restored on return. #2011 #2052 (by @cosarah) #2055 (by @Irisdai517) #2160 - Portable projects. A
.maic.zipcarries the project, so a course runs on another installation. #1979 (by @cosarah) - How to enable. It stays off without a sandbox provider:
/pbl-v3returns 404 and no sandbox is allocated. It needs PostgreSQL,OPENMAIC_AGENT_RUNTIME_ENABLED=truewith anagentmodel, asandboxsection inopenmaic.ymlwhose template includes Python 3, and durable checkpoint storage (S3 or a compatible byte store). Users need explicit single-user mode or thesandbox:usepermission. Learner applications also need the preview gateway (pnpm sandbox:preview). Then open/pbl-v3and choose the Python or Java sample, or import a package. See the PBL v3 guide.
- Shared sandbox (experimental). An E2B-compatible provider gives Agent sessions and PBL owner-scoped files, commands and terminals, with durable checkpoints, an isolated HTTP/WebSocket preview gateway and per-owner and installation limits. Installation administrators manage it under Settings → Sandbox, and
lock: [sandbox]makes that page read-only. See the sandbox README. #1922 (by @Irisdai517) - Audio: add Xiaomi MiMo TTS (
mimo-v2.5-tts) and ASR (mimo-v2.5-asr) providers, configured withTTS_XIAOMI_*andASR_XIAOMI_*. #1976 (by @AbelWangYaBo, based on #1432 by @Jamartin-create)
Bug Fixes
- PBL v3: a standalone preview stays usable through plan and code approval, formal tests and quiz entry. Access renews while the page is open, within the sandbox lease; slow startup no longer holds the learning lock; and formal tests for these projects run on a private source copy verified against the captured digest. #2163 (by @Irisdai517)
- Provider errors: an explicit
insufficient_balance_errornow counts as a quota refusal, so a configured model fallback takes over. #2163 (by @Irisdai517) - Qwen voice cloning: migrate enrollment and synthesis to CosyVoice (
cosyvoice-v3.5-plusby default, Beijing DashScope). Saved voices stay visible; incompatible voices require re-uploading a suitable reference recording and re-cloning, with no automatic sample migration. Managed deployments must authorize the new target alongsideqwen3-tts-flashinTTS_QWEN_MODELSoropenmaic.yml. An empty or exact retiredTTS_QWEN_VOICE_CLONE_MODEL=qwen3-tts-vc-2026-01-22value selects the default; other overrides remain unchanged. #1941 #1949 (by @YizukiAme) - Classroom playback resumes the remaining reading time after a narration clip fails to play, instead of getting stuck on the failed audio element. Failed clips release their playback state without interrupting a newer narration line. Pausing while a clip is still loading does not discard that narration; resume plays it. #2109 #2110 (by @Duang777)
- Text to speech: a provider timeout no longer tells the agent to retry the same call, which caused retry loops on slow self-hosted TTS. The message now suggests splitting the text or raising
TTS_REQUEST_TIMEOUT_MS, which is now documented. #2149 #2116 (by @Cham1229) - Generation: a
[inside a string before the"outlines"key (such asE[X]) no longer makes the outline parser find nothing and pause the run on the step timeout. #2133 #2132 (by @maxmalkin) - Workbench: when several first pages are ready at the same moment, the request preview opens a tab for each course and only the first takes focus. #2075 #2070 (by @bhushan4work)
- Editor: imported shape labels keep their insets through editing and saving in the legacy Pro editor, so labels no longer shift between playback and editing. #2024 #1956 (by @hichipli)
- PBL v2: shortening learner text for evaluator prompts no longer cuts an emoji in half. #2124 #2147 (by @kevin9327)
- Settings: usage totals just under a unit boundary show in the next unit (
1.00M tokens, not1000.0K tokens). #2126 (by @kevin9327)
Packages
@openmaic/dsl0.13.0 (was 0.12.0) and@openmaic/storage0.39.2 (was 0.39.1). Other packages are unchanged from 1.3.1.
Known issues
- PBL v3 runs the installed samples and imported packages. Generating a PBL v3 project is not available yet; generated PBL scenes stay on the existing runtime.
- New sandbox and PBL strings are mostly English in non-Chinese locales (about three quarters of the new keys), and about a third are English in
zh-TW. - Workspace backups have limits. An application that constantly writes archived files never gets a periodic copy, and application-only writes after a backup wait for the next edit, launch or idle release. Retired archives count toward the owner's checkpoint quota for at least an hour, so large workspaces edited continuously can reach it. #2160
- Previews are refused on a domain sharing the application's registrable domain.
OPENMAIC_SANDBOX_PREVIEW_ALLOW_SAME_SITE=truelifts this for deployments that have no other option, at a risk: same-site previews can write parent-domain cookies and send same-site requests to the application. It is off by default and same-origin previews stay refused. #2098 - A Director still has nothing that stops it retrying a child that keeps failing, and with #2017 a Native child has no per-turn deadline or request cap either. The request keeps calling the model until it is cancelled. #2122
- Course issues ship their first phase only: thumbnail markers, all at warning level. An issues list and a single "Fix with agent" entry point are planned in #1900.
- On deployments protected by
ACCESS_CODE, the composer's attach button, drag-and-drop and image paste can stay unavailable after the access code is entered on a fresh page load, until the page is reloaded. A fix is in review in #1974. - If an agent run is interrupted right after a page is saved but before the tool result is recorded, continuing the conversation regenerates that page. #2020
Other Changes
- Agent: upgrade Pi to 0.80.3; no configuration change. #1950 (by @Irisdai517)
v1.3.1
2026年11月02日
1.3.1 is a regular patch release. DeepSeek joins the Token Plan one-key setup, and most of the rest is reliability: asset uploads no longer hold database connections across slow object stores, requests stop waiting forever for a connection, and edits made just before leaving a page are kept. It has one upgrade condition and one new known issue; read Breaking Changes and Known issues before upgrading.
Breaking Changes
- Stop every 1.3.0 instance before 1.3.1 accepts writes, and plan rollback as a database restore.
@openmaic/storage0.39 adds asset migration v3. #2092- Do not run a mixed-version rolling deployment. An old collector does not read the new stage pins, so while both versions run it can delete bytes a new write has just uploaded, and if its own transaction then rolls back, that write can commit an entry naming missing bytes.
- Once v3 is applied, a 0.38 instance refuses to start against the database because the schema is newer than it knows. Roll back by restoring the previous database state, not by restarting the old version.
- A host that provisions
ASSET_PG_SCHEMAthrough its own migrations must first addasset_blob_stages (id, content_hash, expires_at)and its two indexes, since the collector reads that table.
Behavior Changes
- Classroom chat: the fixed limits on a discussion are removed (the six-turn agent limit, the Director tool-call and
call_agentattempt caps, the consecutive-empty guard and the Legacy action cap), so the Director finishes a discussion through its normal completion and terminal tools. Cancelling a request now stops active runs and pending event delivery. See Known issues for what this means when a child keeps failing. #2059 #2034 - Persistence: a request now fails after 10 s when every persistence connection is busy, instead of waiting forever with no error or log. Deployments that pass their own pool factory should set
connectionTimeoutMillison it too. #2093
Features
- Token Plan: add a DeepSeek one-key preset. One DeepSeek platform API key lights up chat (
deepseek-flashby default, anddeepseek-v4-pro), web search and web fetch athttps://api.deepseek.com/v1. Image, video and TTS are left untouched, and a personaldeepseekprovider is kept when the plan is connected or disconnected. #2064
Bug Fixes
- Server asset storage:
PgAssetStoreno longer holds a database transaction open across object-store byte I/O. With a byte store outside the registry's database (S3 and compatible stores),putandreplacestage the bytes: a short transaction records a stage pin, the upload runs with no connection or lock held, and a second short transaction checks the principal's quota under its lock, spends the pin and writes the entry.resolvereads the bytes after its registry transaction commits. Previously every upload and download held a pooled connection, the blob-row lock and (with a quota) the principal's quota lock for its whole duration, so a slow object store could exhaust the pool and stall every other write. The collector skips a blob any live pin names; a pin expires after the newstageTtlMsoption (default one day), and an upload or allocation that outlives it fails rather than naming bytes that may be gone. For a host that allocates inside a transaction of its own, the newPgAssetStore.stageBytes(blob)uploads before that transaction,putStaged(principal, staged, meta)allocates inside it, andreleaseStaged(staged)gives back a stage nothing will spend; generated media in the app now does this when its byte store is an object store. A staged handle is valid only in the process and package copy that produced it, and is not bound to a principal.stagesByteWrites()says whether a store stages at all; the in-database byte store keeps its single-transaction path. #2092 #2091 - Editing: an edit made just before a reload, a tab close or leaving the site is no longer lost. The autosave waits 500 ms and then reads the course before writing it, and leaving the page aborted that read, so the write was never sent. On the way out the page now writes changed pages and course settings directly, with keepalive requests that complete after the page is gone. When something cannot be written that way (a page added, removed or reordered, a project page, or changes larger than the browser allows for such requests), or an earlier save is still on its way with an older copy, the browser asks before leaving; with nothing pending it never asks. Leaving the editor (Done editing, the Learn tab, another page in the app) now saves at once instead of after the 500 ms wait.
@openmaic/storage0.39.1:HttpDocumentStore.putSceneandputStagetake an optional{ keepalive: true }(HttpDocumentWriteOptions) that sends the request withfetchkeepalive. #2113 #2112 - Workbench: when the agent changes a course's roster while that course is open, the open classroom shows the new roster without a reload. A local roster edit made in the classroom is kept. #2128
- Generation: an action type the model invented (most often
"text") is dropped with a warning instead of failing the whole scene. If every action was unknown, the scene uses the default actions, the same as an empty model response. Import paths and the write-boundary validation are unchanged. #2137 - Export: a long block formula stays on one line in the exported PPTX. The equation frame has no side insets and is not asked to wrap, so the full element width is available. #2016 #1905 (by @Frank-zhu2000)
Packages
@openmaic/storage0.39.1 (was 0.38.1; 0.39.0 was published along the way). Other packages are unchanged from 1.3.0.
Known issues
- With the classroom limits gone, a Director has nothing that stops it retrying a child that keeps failing (a Native child timing out or running out of its provider-call budget, or a Legacy child returning no visible text). The request then keeps calling the model until it is cancelled, and a self-hosted deployment has no platform request timeout to end it. #2122
- Qwen voice cloning still calls a retired model, so registering or synthesizing a cloned voice fails. The move to CosyVoice is in review in #1949. #1941
- Course issues ship their first phase only: thumbnail markers, all at warning level. An issues list and a single "Fix with agent" entry point are planned in #1900.
- On deployments protected by
ACCESS_CODE, the composer's attach button, drag-and-drop and image paste can stay unavailable after the access code is entered on a fresh page load, until the page is reloaded. A fix is in review in #1974. - The workbench agent is offered
generate_ttsandgenerate_imageeven when the deployment has no usable speech or image provider; the calls fail when made. #2040 - When one request creates several courses and their first pages are ready at the same moment, the request preview can open a tab for only one of them. #2070
- If an agent run is interrupted right after a page is saved but before the tool result is recorded, continuing the conversation regenerates that page. #2020
v1.3.0
2026年10月29日
1.3.0 has two themes. The knowledge base shipped in the release candidate (see 1.3.0-rc.1): every upload stays in its owner's knowledge base until it is deleted, is organized in folders and parsed once, and the composer and the agent can use it. The Pro workbench upgrade is new in this release: a request shows a preview of the agent's work before the first page exists, and classroom tabs switch between Learn and Edit. These notes collect what is new in 1.3.0 beyond 1.3.0-rc.1. Coming from 1.2.x:
- Read Breaking Changes under 1.3.0-rc.1: the built-in Veo video provider is removed, and the knowledge base sets release conditions.
- Stop every old instance before this version accepts writes; do not run a mixed-version rolling deployment, and finish the rollout well within
ASSET_COLLECTION_GRACE_MS. - Do not roll back below this release.
- Set
MATERIALS_POOL_BACKFILL=1only after every old instance has stopped, then restart. - A host that provisions
ASSET_PG_SCHEMA,AGENT_SESSION_PG_SCHEMAorAGENT_SESSION_MATERIAL_PG_SCHEMAthrough its own migrations must first add the tables and columns listed under Material library upgrade reference in that section.
- Stop every old instance before this version accepts writes; do not run a mixed-version rolling deployment, and finish the rollout well within
- Coming from 1.2.0, also read the breaking change under 1.2.1: classroom chat always runs on Pi and needs a Classroom model with tool calling.
- Upgrade the render-service image together with the app: it now runs
tinias PID 1, which keeps long-running preview containers from failing every browser launch. - Agent narration calls are now queued one at a time per provider connection (see Behavior Changes).
Highlights
- Pro workbench upgrade. On deployments with the Pro workbench (
NEXT_PUBLIC_PRO_WORKBENCH_ENABLED). Classic mode, the classic home page and the Pro entry point are unchanged. #2066- Request preview. Until a conversation's first page exists, a tab in the right pane shows what the agent is doing (understanding the request, researching, asking a question, assembling the roster with the classic agent reveal, generating), then hands off to the course in Learn mode. Questions from the agent are answered inside the preview. The tab opens on a request's first tool call or question, never for a talk-only turn, and rests with "the course will appear here" when a request ends without a page. The preview now opens the course even when a course read started before the first page landed answers after the run has finished; previously it could stay on "Opening the classroom" until the course card was clicked. #2053 #2077
- Learn and Edit in classroom tabs. A classroom tab switches between learning and editing, remembered per course in this browser; editing is unavailable while a classic run is still generating the course. #1996
- Course-building guidance. A plain-language request for a new course reads the
stage-designskill without a/command. The agent still confirms its plan (unless the user already said to go ahead or the request is fully specified) and synthesizes narration right after each page. #1982
- Knowledge-base follow-ups since rc.1 (details under Bug Fixes).
- Images from MinerU gateways that return image URLs are downloaded and kept with the extraction, and the extracted text points to the stored figures instead of the provider's links, which can expire. #2076 #2078 #2079 #2080
- A PDF refused for too many pages shows "Too many pages" with the page count and the limit, instead of a generic parse failure. #2085
- A conversation whose personal Skill was deleted continues with the next message instead of failing, keeping its course and history. #2086
- Agent page previews work again.
render_scene_previewsends the render service a self-contained page, so pages with media or hosted interactive libraries render again, and the agent sees the render service's reason when it refuses a page. The render-service image runstinias PID 1 so exited Chromium processes are reaped, and failed previews log a fixed error code. #2082 #2036 #2038 - Homepage on phones. The homepage and its dialogs adapt to phones: a compact composer and course-options dialog, a searchable library drawer, and touch-friendly course and folder actions, sharing form, upload, generation and library state with desktop. #2005 (by @xuyuanwei678)
Behavior Changes
- Agent:
generate_ttscalls are limited per provider connection (one managed connection, or one provider, base URL and key), one at a time by default, so parallel calls no longer run into the provider's rate limits. SetOPENMAIC_AGENT_TTS_CONCURRENCYto a positive integer to allow more; the limit is per process. Failed lines are retried like classroom narration and reported with their reason. #1983 #1975 (by @Frank-zhu2000) - Whiteboard: the Native teacher agent's
wb_draw_shapedraws every shape from an SVGpathandviewBox, with rotation, transparent fill and optional stroke; the rectangle, circle and triangle presets and theshapefield are removed from the tool. Stored shapes and Legacy preset playback are unchanged. #1965 #1853 (by @cosarah)
Features
@openmaic/generationexportsrenderScenePrompt('slide-content', { imageElementEnabled, generatedImageEnabled, generatedVideoEnabled }), which returns the slide content system prompt without running generation. Slide generation builds its system prompt through the same code, so the two cannot drift.@openmaic/generation0.3.26. #2010- Google TTS: add Gemini 3.8 Flash-Lite (the new default) and Flash TTS ahead of the preview models' retirement. Preserve complete WAV responses instead of wrapping them in a second header; retain PCM conversion and explicit model selections. #2035 #2033 (by @YizukiAme)
- Interactive scenes:
<audio>and<video>in the current interactive page are coordinated with narration, in the classroom and the standalone HTML player. Playing page media pauses narration, and starting or resuming narration pauses the page's media. WebAudio and nested or external documents are not covered. #1921 #1846 (by @Ethereal49) - Render service: every 5xx
/previewlog line carries a fixederrorCode(deadline_exceeded,chromium_unconfigured,browser_launch_failed,browser_crashed,browser_timeout,scene_not_found,empty_image,resource_mode_unsupportedorinternal) and is written atERROR; the message itself is not logged. HTTP responses are unchanged. #2038
Bug Fixes
- Workbench: the first switch from Learn to Edit no longer waits for the editor to download. The classroom pane loads the editor while the browser is idle (or when the pointer or focus reaches Edit) on courses you can edit, and the switch no longer waits for the font picker's stylesheets, which load in the background. A slide set in a picker font may briefly show the fallback face before it swaps in. #2074
- Workbench: opening
/workspaceno longer shows a blank page for a moment after the server-rendered page has painted. #2058 - Workbench: switching conversations while a request is in flight no longer lets that request change the active conversation. A late session creation, send failure, upload or STOP stays with the conversation it came from, and the composer of the newly opened conversation waits until that conversation is attached before it sends, so a quick send can no longer reach the previous conversation. #2054 #2057
- Workbench: Backspace in a partly typed
/skillhandle deletes one character; only a handle that names an installed skill is deleted as a whole. #2061 #2042 (by @Frank-zhu2000) - Providers: a DeepSeek thinking model behind an OpenAI-compatible provider the catalog does not know rejected the follow-up to a leading
/skillhandle with "Thereasoning_contentin the thinking mode must be passed back to the API". The request is now sent again once with an emptyreasoning_contenton the tool-call turns that lack it; requests to other providers are unchanged. #2068 #2041 (with @bhushan4work) - Agent: a conversation whose personal Skill has been deleted recovers on the next message. The stale binding is removed only after confirming the Skill belonged to the session owner, the course and history stay, and a replayed turn cannot pick up a new Skill of the same name.
@openmaic/storage0.38.1, no schema change. #2086 #2083 (by @sophietao20-star) - Agent page preview (
render_scene_preview) works again on pages with media or hosted interactive libraries. The tool now sends the render service a self-contained copy of the page: the session owner's course assets becomedata:URLs, the deployment-hosted interactive libraries (Tailwind, Chart.js, KaTeX, Three.js) are inlined from the app's own files, and media it cannot inline (remote URLs, missing assets, or bytes past a 24 MiB request budget) are drawn as a labeled placeholder and listed for the agent. The stored course is not changed. When the render service refuses a page, the agent now sees its reason instead of only the HTTP status. #2082 - Render service: the container ran Node as PID 1, which does not reap exited processes, so every Chromium launch left zombie processes behind until the container hit its pid limit and every launch failed (
Failed to launch the browser process: Code: 133). The image now runstinias PID 1. #2036 - Agent: course tools are easier to address and read.
patch_stagevalidates only the elements and fields a patch changes, so older stored data no longer blocks unrelated edits, and its errors name the exact property;read_stagereturns pointers that work as-is withsetandstr_replace;render_scene_previewaccepts a page order or a/scenes/…path; and narration results report the voice used and where it came from. The system prompt and the course skills ask the agent to describe results in terms of the course instead of internal identifiers, claim only what tool results show and carry a request through to the end. #2000 #1999 #1998 - Agent: the system prompt no longer lists the attached materials, so attaching a material or finishing its extraction no longer invalidates the provider's prompt cache for the rest of the conversation.
list_materialsand the attachment note still tell the agent what is attached. #2027 #1858 (by @Frank-zhu2000) - MinerU gateways that return image URLs instead of base64: slide images taken from a PDF's figures were stored as a few bytes of garbage, because the parser wrapped each URL as a base64 data URL and the server decoded it. The parser now keeps the URL, and the server downloads the image when it stores the extraction (uploaded materials and the knowledge base) under the provider-result URL policy (HTTPS and public addresses only) with per-image, total-size and time limits. An image that cannot be downloaded is left out and counted (
imagesSkipped) without failing the extraction. A stored extraction that still holds image URLs is not reused for a new upload of the same file, and a course generated from it downloads the images then. Base64 decoding of extracted images and provider data URLs now refuses a payload that is not base64. #2076 - MinerU extracted images: a self-hosted MinerU that returns JPEG 2000 images (a boxed JP2 file or a raw codestream) as bare base64 now has them stored with the extraction instead of dropped as neither bytes nor a URL (the prebuilt image library cannot decode JPEG 2000, so knowledge-base images and vision input still leave them out), and each bare base64 image is now labelled with its real type (
image/jpeg,image/jp2, ...) instead of alwaysimage/png. A ready extraction that left images out only because of a limit (the image count, the stored result's size, an image too large) is now reused for a new upload of the same file, because those images would be left out again; only an extraction with images that failed to download, answered something other than an image (often a temporary sign-in, firewall or rate-limit page), timed out or ran out of time is extracted again. Extractions stored by earlier versions are not reused when they left out any image, as before. The knowledge base keeps its cache entry in the same cases. #2079 #2080 - Knowledge base: a MinerU gateway that hosts images names them by URL in its markdown (
,<img src="https://…">). Those references now point to the stored figure, asimages/<file>references already did, instead of the provider's link, which can expire. Other external image links in the text are left as written. #2078 - Knowledge base: a PDF that a MinerU gateway refuses for its page count (
pdf_too_many_pages) now shows "Too many pages" and explains it, with the page count and the limit when the gateway states them, instead of a generic parse failure. The refusal is not retried and not handed to another parser, and Parse again is no longer the first action for it. Other self-hosted MinerU errors are reported by status only (MinerU API error (500)), whether the deployment or the caller configured the service: the parse response and stored extraction errors never include the service's response body, which goes to the server log only. Error bodies are read only up to 64 KB. #2085 #2087 - MinerU: table and display-equation crops keep their page number, size and (for tables) caption, instead of all reading as page 0 without a description. #2002
- Knowledge base: the picker shows why a material failed and the media-duration limit, material tool errors follow the run's interface language, conversation-only sources no longer suggest a missing "Parse again" control, and the course rail's move-out hint appears only when a course is carried out of a folder. #1923
- A slide image whose box has a different shape from the image is now fitted inside the box the model laid out, centered, like
object-fit: contain. Previously the box kept its width and changed its height, so a box flatter than its image grew downward and covered the text below it. Boxes within 10% of the image's ratio, and images with unknown dimensions, are unchanged.@openmaic/generation0.3.25. #2004 - Narration: generated speech is prompted to keep Greek letters and named constants as symbols, because that text is also the caption (classroom, standalone HTML player, and narration export). Write π, not the homophone 派, and the same for θ, α, β, λ, ω, Σ, and the constant e.
@openmaic/generation0.3.28. #2021 #1906 (by @Frank-zhu2000) - Ark Agent Plan chat models resolve catalog metadata again, so reference images, context windows and max output are no longer dropped. The request still sends the plan's own model id. Ids that match an existing row reuse it (
deepseek-v4-pro,glm-5.3,kimi-k3,kimi-k2.7-code, and Coding Plank3). Seed 2.1 Pro, Seed 2.1 Lite, Seed 2.0 Mini,deepseek-v4-flash,minimax-m3,kimi-k2.8-previewandark-code-latestresolve for the Agent Plan and stay off the dated Doubao preset;ark-code-latestis a router with tool calling, no image input and no single window.kimi-k2.8-previewomits max output because that documented ceiling equals the context window and callers send it asmax_tokens. Kimi Coding Plan ids stay off the open-platform Kimi preset. The rest of MiniMax's M2 chat ids and TokenDance's own model ids resolve model info as well. #2022 #1947 #1942 (by @Frank-zhu2000) - Speech recognition: OpenAI-compatible transcription models that reject
verbose_jsonnow receive plain JSON requests. Qwen3 ASR recordings are uploaded as WAV from both the composer and the settings preview, with a matching multipart filename. Known OpenAI transcription models retain their existing SDK path and provider requests retain the guarded transport. #2032 (by @xuyuanwei678) - Speech: new users' speech languages follow the interface. An unset cloud transcription language uses automatic detection when the provider supports it, browser recognition uses the interface language, and browser speech keeps the interface's Chinese region (
zh-TWunder Traditional Chinese) for previews, narration and discussion replies. Saved languages and explicitly selected voices keep their priority. #1935 #1548 (by @VictorMaxWang) - Export: a slide formula with an upright symbol (
\Delta,\mathrm{…}, a literalΔ) no longer makes the exported PPTX unreadable in PowerPoint. #1987 #1986 (by @vincentke1117) - Editor: the legacy canvas editor keeps inline formulas as formulas when the text around them is edited, instead of flattening them to plain text on save; they still show their LaTeX source while editing there. #2018 #1868 (by @Frank-zhu2000)
- Editor: a page whose narration is cached in the browser no longer flashes the missing-narration marker on its thumbnail while the cache is checked. #1985 (by @Oliveryfaso)
- Playback: a stored whiteboard action that is rejected (for example an unsupported shape) is logged and skipped, in playback and when seeking, so later actions still run and playback can finish instead of freezing. #2014 #2013 (by @cosarah)
- Whiteboard: clicking or panning empty canvas clears selected text or code. #2025 #2023 (by @hichipli)
Packages
@openmaic/generation0.3.28 (was 0.3.24; 0.3.25–0.3.27 were published along the way) and@openmaic/storage0.38.1 (was 0.38.0). Unchanged from rc.1:@openmaic/dsl0.12.0,@openmaic/renderer0.2.0,@openmaic/editor0.0.12,@openmaic/geometry0.1.0 and@openmaic/importer0.3.1.
Known issues
- Qwen voice cloning still calls a retired model, so registering or synthesizing a cloned voice fails. The move to CosyVoice is in review in #1949. #1941
- Course issues ship their first phase only: thumbnail markers, all at warning level. An issues list and a single "Fix with agent" entry point are planned in #1900.
- On deployments protected by
ACCESS_CODE, the composer's attach button, drag-and-drop and image paste can stay unavailable after the access code is entered on a fresh page load, until the page is reloaded. A fix is in review in #1974. - The workbench agent is offered
generate_ttsandgenerate_imageeven when the deployment has no usable speech or image provider; the calls fail when made. #2040 - When one request creates several courses and their first pages are ready at the same moment, the request preview can open a tab for only one of them. #2070
- If an agent run is interrupted right after a page is saved but before the tool result is recorded, continuing the conversation regenerates that page. #2020
Other Changes
- Tests and CI: the required check runs as parallel jobs with a cached package build, merge-queue entries run CI, the main image is built on pull requests only when its inputs change, end-to-end builds no longer reuse an older commit's Next.js cache, a weekly flaky-test report and reminders for pull requests stuck on conflicts or approval are added, and several slow or racy suites are stabilized. #2046 #2045 #2047 #2051 #2049 #2048 #1994 #2043 #2050 #2056 #2072 #2081
- Packages are published to npm through trusted publishing (OIDC) instead of a long-lived
NPM_TOKEN. #2063 - Docs:
AGENTS.mdsets out the automated review rules, andCONTRIBUTING.mdgains a Review Threads section. #2039
Upgrading from 1.2.x? The full knowledge-base storage and schema reference is in the 1.3.0-rc.1 release notes and CHANGELOG.md.
详细ChangeLogv1.3.0-rc.1
2026年10月22日
1.3.0-rc.1 is the first release candidate for 1.3.0. Its main theme is the knowledge base: every upload is kept in its owner's knowledge base until it is deleted, organized in folders and parsed once, with the result reused by every conversation. A new library page lists and organizes the materials, the composer offers them through @ and a picker, and the agent gets tools to read, search and organize them. Interactive scenes also load their libraries from the deployment instead of a public CDN, the editor marks pages that have current problems, and malformed slide shapes no longer hang the renderer. This release contains breaking changes and upgrade conditions: the built-in Veo provider is removed, and the knowledge base adds schema changes that cannot run beside older instances or be rolled back. Read Breaking Changes before upgrading from 1.2.x.
Breaking Changes
-
The built-in Veo video provider (
veo) is removed. Google shuts down all three Veo 3.1 preview models (veo-3.1-generate-preview,veo-3.1-fast-generate-preview,veo-3.1-lite-generate-preview) on October 22, 2026, and they were the provider's last models (Veo 3.0 and 2.0 were removed in #1939). Support for Google's replacement,gemini-omni-1.1-flash, is tracked in #1940.- Pick another video provider in Course Model Config → Video, or assign
slots.videoto one inopenmaic.yml. Veo 3.1 stays available through OpenRouter Video (google/veo-3.1), which OpenRouter serves from Vertex AI and is not part of this shutdown. - Existing configurations keep loading. An
openmaic.ymlprovider withpreset: veono longer stops the server: it resolves nothing, every slot that named it follows its parent again, and a startup notice asks to remove it. Workspace settings that chose a Veo provider fall back the same way.VIDEO_VEO_API_KEY,VIDEO_VEO_MODELSandVIDEO_VEO_BASE_URLare ignored, with a startup notice when set; avideo.veoentry inserver-providers.ymlis not carried over.
- Pick another video provider in Course Model Config → Video, or assign
-
The knowledge base sets release conditions. This is the first release that writes material reference roots and keeps knowledge-base materials only in the asset pool, and processes of an earlier release can lose that data. #1896
- Stop every old instance before this version accepts writes. Do not run a mixed-version rolling deployment: schema-version checks in recent builds refuse to start against a newer schema but do not stop a process that is already running.
- Finish the rollout well within
ASSET_COLLECTION_GRACE_MS(one hour by default). An older collector releases an entry that only a reference root keeps alive one grace period after stamping it. - Do not roll back below this release (the material-pool Phase 1a boundary): an older reader cannot read a material that exists only in the pool.
- Set
MATERIALS_POOL_BACKFILL=1only after every old instance has stopped, then restart. Unset, older uploads stay where they are and are still read from there. - A host that provisions
ASSET_PG_SCHEMA,AGENT_SESSION_PG_SCHEMAorAGENT_SESSION_MATERIAL_PG_SCHEMAthrough its own migrations must apply the schema additions listed under Material library upgrade reference below before upgrading; otherwise document writes, session reads and extraction fail on a missing table or column. - Without a registered byte store or
ASSET_S3_BUCKET, knowledge-base originals are stored in PostgreSQL; plan database size and backups accordingly.
Highlights
- Knowledge base. Every successful upload, from the workbench or from classic generation, now belongs to its owner's knowledge base and stays there until it is deleted; existing undeleted uploads are included. Materials can be grouped into folders, each is parsed once and the result is shared by every conversation, and a library page shows usage and parsing status and lets owners rename, move and delete them. The composer's
@menu and@button offer knowledge-base sources beside classrooms, and the agent can read, search and organize them (but not delete them). RFC: Discussion #1716, tracking: #1736. #1896 #1989 - Self-hosted interactive scene libraries. KaTeX, Three.js, Chart.js and the Tailwind browser runtime are served by the deployment, and public CDN URLs for them in new and stored scenes are mapped to the hosted copies, so interactive scenes no longer depend on a public CDN. #1972 #1971
- Course issue markers. The editor's page thumbnails now mark current problems in a course, such as missing narration, media that was never generated and cues that point at nothing, and a marker clears once its cause is fixed. This is the first phase of #1900. #1903 (by @Oliveryfaso)
Added
-
Interactive scenes load KaTeX, Three.js, Chart.js and the Tailwind v4 browser runtime from the deployment (
/vendor/interactive, configurable with the build-timeINTERACTIVE_ASSET_BASE_URL) instead of a public CDN. KaTeX is injected only into pages that contain math, and loads ahead of the page's scripts as before. The interactive prompts list the hosted libraries, and public CDN URLs for them in generated or stored pages are rewritten to the hosted copies when a scene opens and before export; other URLs are left as written.@openmaic/generation0.3.24. #1971 -
Course generation passes each catalogue voice's
genderinto the voice list and asks the model to pick a voice whose gender matches the agent, keeping the agent's name and persona consistent with that gender.voiceDesign.gender(maleorfemale) is part of the agent DSL, the export sanitizer, andset_roster, so a course-language identity can still drive the match. When the model's voice is missing or invalid, playback falls back by index within that gender. A catalogue with no male/female data, or an agent whose gender is unknown, keeps the previous full-list index pick. #1084 #1908 (by @Frank-zhu2000) -
Course issues:
@openmaic/dsl0.12.0 addsCourseIssueandcollectCourseIssues, which derive a course's current problems from the document (missing narration, generated-media placeholders, dangling cues and the existing action-content lint) without changing the serialized format. Editor thumbnails show their markers from this one list. Missing narration is reported only when the workspace can generate narration on the server, and every issue is a warning in this phase. Thumbnail markers no longer flash while a page whose narration lives only in the browser's cache is edited. #1903 #1953 (by @Oliveryfaso) -
Speech: a provider in
openmaic.ymlcan declare its ownvoiceslist andoptions.defaultVoice, for OpenAI-compatible TTS endpoints whose voices differ from the built-in OpenAI catalogue. The list feeds the voice picker and the catalogue generated agents choose from, and the default is used for browser and server narration when no voice was selected; an explicitly selected voice is still used. Providers without these settings behave as before. #1969 (by @xuyuanwei678) -
Course cards: a course that is generating shows the page in progress ("Generating 2/5" while page 2 is generated) instead of the number of finished pages, capped at the total. #1926 (by @Cham1229)
Bug Fixes
-
Interactive scenes that load KaTeX themselves now get the platform's KaTeX too. Previously any page that mentioned KaTeX was skipped, so its math stayed raw when the page's own copy did not render it, and a page that called
renderMathInElementafter its copy failed to load stopped with aReferenceErrorand showed the runtime-error notice. The platform's KaTeX now loads ahead of the page's scripts, its observer typesets labels the page fills in on load, and when the CDN is unreachable the page's math calls do nothing instead of throwing. The interactive prompts ask pages to leave math typesetting to the platform.@openmaic/generation0.3.23. #1538 -
Slides: malformed SVG paths and invalid shape geometry could hang the renderer or leave part of a slide missing. The new
@openmaic/geometrypackage validates shapes where they are generated, edited or written by the agent; shapes already stored with invalid geometry are drawn as their text label (or left out when they have none) in playback, the editor, the whiteboard and PPTX export, without rewriting saved courses. Authored and generated shape labels get the same 10px inset in every renderer, while imported PPTX labels keep their own. #1915 (by @cosarah) -
Renderer: slides with many heavy inline formulas no longer block the page in one long task when they first appear, including on cached visits, while ordinary slides with many formulas still finish before their first paint. Formulas still waiting to be typeset stay hidden instead of showing raw LaTeX. #1930 #1962 (by @YizukiAme)
-
Charts: short bar, column, line, area and scatter charts no longer collapse to an empty plot. Margins scale with the chart, axis labels stay inside it and the legend gets its own row, in the app and in
@openmaic/renderer; plot areas from imported files are kept. #1973 (by @cosarah) -
Whiteboard: text and code on the whiteboard can be selected and copied; the rest of the canvas stays non-selectable. #1952 (by @bhushan4work)
-
Export: after moving from a classroom with failed outlines to a completed one without reloading, Export stayed disabled until the page was reloaded. #1934 (by @VictorMaxWang)
-
Web fetch: DeepSeek returns response headers only after it has fetched the whole page, but its reader gave up after 10 s, so slow pages failed with
Web fetch headers timed outalthough DeepSeek completed (and billed) them. The header wait now uses the request deadline (bodyTimeoutMs, 30 s by default). #1990 -
Media: the OpenRouter Video and ComfyUI adapters read the files a provider returns with a 200 MB limit, checked against the declared length and while streaming, instead of buffering a response of any size. #1933 (by @AbelWangYaBo)
Packages
@openmaic/storage0.38.0 (was 0.37.3),@openmaic/dsl0.12.0 (was 0.11.3),@openmaic/generation0.3.24 (was 0.3.21),@openmaic/renderer0.2.0 (was 0.1.14),@openmaic/editor0.0.12 (was 0.0.11), and the new@openmaic/geometry0.1.0.@openmaic/importeris unchanged at 0.3.1.@openmaic/renderer0.2.0 requires the optional peerecharts >=5.5; SDK consumers on ECharts 5.0–5.4 must upgrade it. ECharts is still needed only for slides with charts. #1973
Known issues
- Qwen voice cloning still calls a retired model, so registering or synthesizing a cloned voice fails. The move to CosyVoice is in review in #1949. #1941
- Course issues ship their first phase only: thumbnail markers, all at warning level. An issues list and a single "Fix with agent" entry point are planned in #1900.
- On deployments protected by
ACCESS_CODE, the composer's attach button, drag-and-drop and image paste can stay unavailable after the access code is entered on a fresh page load, until the page is reloaded. A fix is in review in #1974. - Volcengine Ark Agent Plan models report no image input, so reference images are dropped for them. #1942
Material library upgrade reference
The full list of storage, schema and API changes behind the knowledge base, for self-hosters and embedders, is in the CHANGELOG.
详细ChangeLog