Repository navigation
feat: connected thread sidebar for React and Angular - #1637
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…with project names Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ted sidebars Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rst load - Publish no projects while the Store API cannot be read (runtime and adapter), so both sidebars hide the Projects section; project commands still reject. - Both sidebars list only the selected project's threads when selectedProjectId is a project id. - Both sidebars hold the empty label until their first refresh settles. - The adapter's legacy refresh() resolves once threads are published; directory.refresh() and project commands still wait for projects. - rename() shows a trimmed title, or the fallback for a blank one. - refreshDirectoryOnRunEnd swallows a rejected refresh. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…bar reads - Both threads examples bind selectedProjectId and toggle it on selection; the Angular sidebar's New chat runs the existing new-thread handler. - The React example creates and disposes its directory in one effect, so a StrictMode remount gets a live directory. - The website preview guard allows the sidebar's read-only thread and Store searches while still rejecting thread creation and runs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…threads preview Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…design # Conflicts: # scripts/react-parity/dispositions.json
…types Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
blove
enabled auto-merge
November 17, 2026 21:42
…nsumer smoke LangGraphThreadsAdapter now loads project names from the LangGraph Store after the thread list; the compatibility smoke backend answers it with an empty list like the thread search. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…design # Conflicts: # libs/langgraph/src/runtime/thread-directory.spec.ts # libs/langgraph/src/runtime/thread-directory.ts
Resolves the dispositions.json conflict by keeping every row from both sides. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Keeps both the thread directory exports and the new lifecycle types in create-session.ts, keeps every dispositions.json row from both sides, and raises the reviewed LangGraph candidate module count to 35 (31 at the merge base, plus 3 here and 1 on main). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Resolves the dispositions.json conflict by keeping every row from both sides. For the thread-directory source row that both sides kept once, this keeps the wording for the directory this branch adds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
blove
enabled auto-merge
November 19, 2026 19:30
blove
added a commit
that referenced
this pull request
Nov 19, 2026
#1637 rewrote the React threads e2e against the authored fixture, which this branch deletes. The real `langgraph dev` serves thread search and the Store API natively, so the tests now run against it: - the proxy logs sidebar directory traffic apart from /__requests and serves it at /__directory-requests, as the fixture did; - an opt-in /__purge clears the run's isolated server before each threads test, since the sidebar lists every thread; - /__title/<mode> rewrites also apply to thread search results, where the sidebar reads titles (injected data); - row lookups follow the server's most-recently-updated-first order, and title assertions read the title span, not the updated-at <time>; - the three title tests #1637 removed stay removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Phase 1 of the thread sidebar (survey item 8): a connected, customizable conversation sidebar for both React and Angular, backed by LangGraph threads, with project names stored in the LangGraph Store API.
ThreadDirectoryin private@threadplane/core, plusrefreshDirectoryOnRunEnd.createLangGraphThreadDirectoryandcreateLangGraphProjectStore. Projects live under the Store namespace['threadplane','projects']with value{ name }.maxRetries: 0, and error bodies are never read.LangGraphThreadsAdapter.directory.@threadplane/chat, pinned to core by a type spec.LangGraphThreadsAdaptergainsdirectory,status,errorandprojectssignals andconfig.projects. All of this is additive.<chat-thread-sidebar>.ThreadSidebar.ThreadListgainsextraActions, andChatSidenavSectionsgains row slots.onActiveRemoved/(activeThreadRemoved).thread-routingguides, and the public agent context is regenerated.Design:
docs/superpowers/specs/2026-11-16-thread-sidebar-design.md. Plan:docs/superpowers/plans/2026-11-17-thread-sidebar-phase-1.md.Behavior notes for existing Angular users (patch)
refresh()still logs and resolves on failure, andcreate()still returnsnullon failure.threads()now updates immediately on mutations and rolls back on failure. Titles are trimmed, and stale refresh results are dropped.refresh()does not wait for it. Setprojects: falseinLANGGRAPH_THREADS_CONFIGto opt out.Verification
nx run-many -t test lint type-tests -p core react chatpasses on the merged branch.nx run-many -t test lint type-tests build runtime-quality runtime-type-tests -p langgraphpasses.verify-packages.spec.mjspasses 103/103.inventory --checkandverify-langgraph-candidatechecks pass.react-chat-threads-previewe2e passes, and so does website vitest.distoutput has no imports from@threadplane/coreor@threadplane/langgraph.Phase 2, after the Angular packages start exporting core: re-export the contract and rebuild the adapter on the runtime directory.
🤖 Generated with Claude Code