Commit Graph
2 Commits
Author SHA1 Message Date
Alessandro 224c7f5e0f Document real agent migrations and preserve Claude chat history
Walk through Pi, Hermes Agent and Claude Code exports, imports, separate
working-file uploads and continued tasks using real CLI sessions. Add
built-in chat and message search instructions and optimized neutral captures.

Preserve Claude custom titles and keep tool-result blocks in historical
tools instead of duplicating them as user messages. Retain unmatched results
and error markers, including coverage through the shared OpenClaw parser.

Validation: 28 migration tests and 11 subtests; six live imports into three
projects; three completed continuations; two booking tests; documentation
links, image privacy checks and rendered previews.
2026-10-31 04:24:09 +01:00
Alessandro a7ff2624a5 Add Pi import support to Migrate Agents
Import Pi JSONL session versions 1–3 through the existing preview and category-selection workflow. Preserve separate retained branches, tool arguments and results, errors, public shell history, titles, and project context while excluding system prompts, reasoning, extension state, and image bytes. Validate session trees and bound branch expansion before processing.

Persist migration provenance in durable chat data, redact imported titles, and accept Unicode line separators inside JSONL strings. Add the Pi source selector and a user guide with two optimized screenshots from a real preview and import.

Validation: 25 migration tests and 11 subtests passed; the live Web UI imported two real Pi chats into one project with saved provenance and historical tool records; source-session hashes were unchanged and private reasoning was excluded. Checked desktop/mobile layout, 487 local documentation references, JavaScript syntax, image metadata/privacy, and git diff --check.
2026-10-30 23:41:59 +01:00