You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6afa1a9
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: sources/minimax-ai/minimax-pet/DEVELOPMENT.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,7 @@ npm run check:package
21
21
- Wide task views show list and detail together; narrow views provide a return action with focus/scroll restoration. Reading a reply must survive background polls without scroll reset.
22
22
- The desktop pet uses compact five-line notification cards and keeps the pet visible while reading. Completed status and answer-needed state must agree across notification, list and detail.
23
23
- One global observation plus three detailed observations share the Host budget. Cancellation does not free a slot until its subscription settles. Global reconnect also waits for the previous observation.
24
+
- A reply that is still streaming changes on every activity poll: `renderMarkdown` keeps the DOM when the text is unchanged and restores `scrollTop` when it replaces it, so reading is not interrupted.
24
25
- A task's latest reply renders through `markdown.mjs`: the vendored parser produces an mdast tree and the module builds DOM nodes from it. Never assign parsed HTML to `innerHTML`; raw HTML in a reply is inert text, links are not opened, and images are not fetched. Notification cards and reminder previews use the flat-text output, which must stay one line per logical line.
25
26
-**打开对话** / **去回答** calls `host.navigation.open` synchronously inside the click (the Host checks user activation), never retries automatically, and drops a late result once another task is selected. Without the API the button stays hidden.
26
27
- The page follows `host.ui.subscribe` themes through `data-theme`; without it the CSS falls back to `prefers-color-scheme`.
0 commit comments