Skip to content

fix: preserve kept hidden nodes in trimmed conversations#35

Merged
11me merged 2 commits intomasterfrom
fix/issue-34-preserve-kept-hidden-nodes
Apr 7, 2026
Merged

fix: preserve kept hidden nodes in trimmed conversations#35
11me merged 2 commits intomasterfrom
fix/issue-34-preserve-kept-hidden-nodes

Conversation

@11me
Copy link
Copy Markdown
Owner

@11me 11me commented Apr 4, 2026

Summary

  • preserve hidden thinking / tool nodes inside the kept suffix when trimming a conversation tree
  • add a durable proxy-ready marker so a missed postMessage handshake does not trigger a misleading warning
  • add regression tests for both the kept-hidden-node path and the proxy-ready marker

Why

Issue #34 reports large conversations breaking after reload, with the composer disappearing after the thread is loaded. The ready-timeout warning was a weak signal, but the deeper problem was that real trimming rebuilt the kept suffix as a visible-only chain and dropped hidden nodes that ChatGPT may still depend on for rendering.

Verification

  • npm test
  • npm run build:types
  • npm run lint

Fixes #34.

@11me 11me merged commit 300aade into master Apr 7, 2026
1 check passed
@11me 11me deleted the fix/issue-34-preserve-kept-hidden-nodes branch April 7, 2026 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LS: [WARN] Fetch proxy did not signal ready within timeout (1.7.3)

1 participant