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
delegate session-handoff rendering to acp-kernel renderHandoff #601
src/export.ts carries its own handoff rendering (renderHandoff, folded-view logic) that duplicates kernel-side rendering semantics. Kernel 0.0.54 exports renderHandoff natively. The #587 rewrite (bounded folded snapshot, --full block append) grew the local implementation further, increasing divergence surface.
Impact
Any kernel-side change to folding/summary rendering must be manually mirrored in export.ts or bili export drifts from what the model actually saw.
Suggested fix
Consume the kernel's renderHandoff for the standard paths and keep only host-side glue (headers, --full blockContents append). PR #434 has the original delegation but must be reworked against the post-#587 export.ts.
Activity
ranxianglei commentedon Sep 7, 2026
PR#631 implements the delegation (kernel v0.0.57
renderHandoff+folded/blocksFull; host keeps v2 fallback + blockContents glue; kernel pin 0.0.56→0.0.57). Old PR#434 closed as superseded.refactor: delegate session-handoff rendering to kernel renderHandoff (r…
Merge pull request ranxianglei#631 from ranxianglei/2026-09-07_export…