Skip to content

[codex] Align submit docs with message input#183

Merged
blove merged 1 commit into
mainfrom
codex/docs-submit-message-sweep
May 2, 2026
Merged

[codex] Align submit docs with message input#183
blove merged 1 commit into
mainfrom
codex/docs-submit-message-sweep

Conversation

@blove
Copy link
Copy Markdown
Contributor

@blove blove commented May 2, 2026

Summary

  • Replace stale submit({ messages: [...] }) examples with the public submit({ message }) API.
  • Update time-travel examples to pass checkpoint data as submit options while using message for user input.
  • Regenerate public agent context (apps/website/public/AGENTS.md, CLAUDE.md) and update MCP-generated examples.

Why

The LangGraph runtime accepts runtime-neutral AgentSubmitInput (message, state, resume) and converts message into LangGraph messages internally. Docs and MCP snippets were still teaching callers to pass raw LangGraph messages, which no longer matches the public API.

Validation

  • npm install to refresh node_modules from the latest main lockfile dependencies
  • npm run generate-agent-context
  • rg -n "submit\\(\\{\\s*messages|messages: \\[\\{ role: '(user|human)'|chat\\.submit\\(\\{ messages|submit\\(\\{ messages|as any\\)" apps/website/content apps/website/public apps/website/src packages/mcp -g '!**/api-docs.json' (no matches)
  • npx nx lint website (0 errors; existing warning remains)
  • npx nx build website
  • npx nx build mcp && npx nx test mcp
  • 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 5:36pm

Request Review

@blove blove merged commit de7177e into main May 2, 2026
14 checks passed
@blove blove deleted the codex/docs-submit-message-sweep branch May 2, 2026 17:39
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