Skip to content

[codex] Add LangGraph subagent lookup helpers#169

Merged
blove merged 1 commit into
mainfrom
codex/langgraph-subagent-helpers
May 2, 2026
Merged

[codex] Add LangGraph subagent lookup helpers#169
blove merged 1 commit into
mainfrom
codex/langgraph-subagent-helpers

Conversation

@blove
Copy link
Copy Markdown
Contributor

@blove blove commented May 2, 2026

Summary

Adds the remaining subagent lookup helper parity methods to the Angular LangGraph surface:

  • getSubagent(toolCallId) for direct tool-call lookup
  • getSubagentsByType(type) for subagent type/name filtering
  • getSubagentsByMessage(message) for resolving all subagents spawned by an AI message's tool calls

The implementation reuses the existing subagents() state and does not import the SDK UI runtime. Mock agent helpers and docs/API docs are updated, and the old limitation entry is removed.

Validation

  • npx vitest run --config vite.config.mts src/lib/agent.fn.spec.ts -t "helper methods" --reporter=verbose (RED before implementation, green after)
  • npx nx test langgraph
  • npx nx lint langgraph (passes with existing warnings)
  • npx nx build langgraph
  • npm run generate-api-docs
  • npx nx lint website
  • npx nx build website
  • git diff --check

@vercel
Copy link
Copy Markdown

vercel Bot commented May 2, 2026

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

Project Deployment Actions Updated (UTC)
cacheplane Ready Ready Preview, Comment May 2, 2026 3:26am

Request Review

@blove blove merged commit ef6a3c4 into main May 2, 2026
14 checks passed
@blove blove deleted the codex/langgraph-subagent-helpers branch May 7, 2026 16:30
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