Commit Graph

8 Commits

Author SHA1 Message Date
Bingxi Zhao (Frank)
1e048bab77 fix(visualize): validate mindmap roots and complete translations 2026-10-07 20:27:15 +08:00
evan188199-tech
61a2cad184 feat(visualize): add Mermaid mindmap visualizer (#1295)
Co-authored-by: XZH <cto@xzh.ai>
2026-10-07 20:24:02 +08:00
Bingxi Zhao (Frank)
b1b34b4544 fix(visualize): name localized token setting in diagnosis 2026-09-27 02:59:32 +08:00
sjagadee
bc15b75708 fix(visualize): point the no-payload diagnosis at the real remedy (#1546)
dev already wires capabilities.visualize into agents.yaml and exposes
it in Settings → Capabilities → Visualize (get_visualize_params /
CapabilitiesSettingsSection), so the budget itself is fixed. The one
thing that shipped with that fix was left generic: when the turn ends
without a committed payload, _NO_PAYLOAD still just says "finished
without a valid canvas payload" with no pointer to the knob that
actually helps when a reasoning model truncates the
submit_visualization call mid-argument.

Name the cause and the fix in both the Python fallback and the en/zh
locale strings.
2026-09-23 13:29:47 -05:00
Bingxi Zhao (Frank)
04040a2c06 release: v1.6.5
Ship a content workspace you choose, one exec tool for every language,
Mastery Path modes that gate its tools, and Settings that grades
readiness instead of listing faults.

Release notes: assets/releases/ver1-6-5.md
2026-09-06 13:46:29 +08:00
王子天
75c8ea9270 fix(visualize): stop an invented enum value from aborting generation (#748)
Models regularly answer the analysis stage with a visual_genre or render_type that is not in the prompt's list ("simulation", "diagram"). Both fields are enums, so validation aborted the render over a label no downstream stage strictly needs.

VisualizationAnalysis now degrades an unknown genre to "" and an unknown render_type to svg, logging the rejected value. Putting it on the model rather than at the one parse site also covers render_type, which is required with no default.
2026-08-03 20:46:51 +08:00
Bingxi Zhao (Frank)
97632b71fe refactor: land #713/#710/#707 on their proper seams
Follow-up to the three PRs merged for #711, #709 and #707 — same fixes,
moved onto the seam each one belongs to, plus the regression tests they
shipped without.

#711 — partner Codex login. The prefix sniffing lived inside the
credential store, so codex_auth had to know what a partner is. Add
`get_owner_path_service()` next to `get_current_path_service()`, where
scope resolution already lives, and `is_partner_user_id()` next to the
prefix that defines it. codex_auth now just asks for the owner's root.

#709 — missing web/node_modules. Split the side-effecting install out of
`_resolve_frontend()` into `_ensure_web_dependencies()`; the resolver
goes back to resolving, and the launcher's second resolve pass is a
single `Path.exists()`.

#707 — book spine and visualize. The blocking calls bypassed
`BaseAgent.call_llm` for the factory directly, which silently dropped the
image attachments the analysis stage is handed, the trace metadata the
Activity panel renders, and the per-agent api_key/base_url/binding
routing. Route all three through the agent seam; blocking behaviour and
its rationale are unchanged.
2026-07-27 21:23:33 +08:00
santhreal
5d5c2ef36e fix(visualize): allow code fences without a blank closing line
Models often close a fenced block on the same line as the last content.
Require only an optional newline before the closing fence so mermaid and
chart payloads are extracted instead of returned still-fenced.
2026-07-22 22:49:05 -07:00