Skip to content

docs(middleware): spec + Plan A (py rename) + Plan B (js package)#666

Merged
blove merged 3 commits into
mainfrom
claude/middleware-planning-docs
Jun 16, 2026
Merged

docs(middleware): spec + Plan A (py rename) + Plan B (js package)#666
blove merged 3 commits into
mainfrom
claude/middleware-planning-docs

Conversation

@blove

@blove blove commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Planning docs for the @threadplane/middleware work (the brainstorm→spec→plan artifacts that PR #665 referenced but didn't carry):

  • Spec@threadplane/middleware/langgraph LangGraph.js middleware + clean-cut PyPI rename. Amended for repo reality: the JS package lives at libs/middleware built with @nx/js:tsc/@nx/vitest (there is no tsup in the repo), mirroring libs/telemetry; API signatures reconciled to the Python source (serverToolNames threads through hasServerToolCall/routeAfterAgent/clientToolsRouter).
  • Plan A — Python clean-cut rename (threadplane-client-toolsthreadplane-middleware). Already executed and merged in refactor(py): rename threadplane-client-tools -> threadplane-middleware (.middleware.langgraph) #665 (PR1); the post-publish PR2 / flip task remains.
  • Plan B — the JS package (libs/middleware): scaffold + 1:1 API mirror + extras + units + in-process StateGraph integration + examples/ag-ui/node demo server + staged npm workflow. Not yet executed.

Docs-only; no code changes.

🤖 Generated with Claude Code

…ckage)

Spec amended for repo reality: JS package lives at libs/middleware built with
@nx/js:tsc/@nx/vitest (no tsup in repo), mirroring libs/telemetry; API
signatures reconciled to the Python source (serverToolNames params).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@blove blove enabled auto-merge (squash) June 15, 2026 19:00
@vercel

vercel Bot commented Jun 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
threadplane Ready Ready Preview, Comment Jun 16, 2026 5:57am

Request Review

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.

1 participant