#1131 shipped its eight Relocate strings in English and Simplified
Chinese only, so the dialog came up half in English for zh-TW, ja and de
readers. They are added here; zh-TW says 會話, as its Sessions nav does.
sessions-relocate.test.cjs drives the dialog in en, zh, zh-TW, ja and de,
Chromium and WebKit, at 900 and 420px: Relocate is on a writable Claude
Code folder only and fits its row, the click holds the page still and
doesn't unfold the folder, the dialog is magpie's own (no browser
dialog), the preview posts no token, editing the path after a preview
asks for a new one, the confirm carries the preview's token, and the
folder is listed at its new path afterwards. With the path field's
oninput neutered it goes red.
The Relocate button makes a Claude Code folder row 58px rather than 48px
in the web view, which put Export Markdown under the window's foot in
WebKit: sessions-export.test.cjs now wheels to it, and to the OpenCode
tab, with reach() as main's other tests do.
Run on this tree (base 7df0a5bf3): gofmt, go vet (darwin, GOOS=linux
-tags nogui, GOOS=windows), the three builds, go test -tags nogui
-count=1 ./... under a sandbox HOME, all green. GUI: every sessions-*
test, i18n-*, checkbox-look, gateway-conversations and old-webkit in
Chromium and WebKit, 285/285. text-size failed once in WebKit under a
concurrent run ("element is not stable" on the agents nav, zh dark 150%)
and passes alone on this tree and on main.
Beside Show conversation, Export Markdown saves the whole conversation
(Claude Code, Qoder, Codex, Pi, oh-my-pi: every agent whose transcript the
page can show) as a Markdown file: a heading with the session's agent, id,
folder, times, models and file, then each turn under User / Assistant, a
tool's call by its name and arguments, its result, thinking and the agent's
own notes folded in <details>. Parts are kept whole (the page's 8000-char
cut doesn't apply), fences grow past any backticks in the text. In the app
it goes to Downloads (never over an earlier export) and the status says
where; in magpie web the browser downloads /api/sessions/markdown. The
session is found as listed, never a path from the page; the file is only
read.
Verified: TestMarkdownClaude, TestMarkdownCodexAndPi, TestMarkdownUnsupported
(sessions) and TestSessionExportMarkdown (gui) under a temp HOME. Without the
routes TestSessionExportMarkdown fails "export: 404 404 page not found";
with the page's per-part cut TestMarkdownClaude fails on the long part.
sessions-export.test.cjs (Chromium+WebKit, en/zh, app and web, 560px) fails
on origin/main's sessions.js waiting for .sess-export; passes with it, as do
sessions-talk, gui-ja, gui-de, gui-zh-tw and i18n-keys. Exported real
Claude Code, Codex and Pi session copies: fences balanced, turns in order.
go vet (darwin, GOOS=linux, GOOS=windows) -tags nogui on both packages.