Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
238bdd4
feat(langgraph-ts): AG-UI StreamTransformer for v3 protocol path
ranst91 May 8, 2026
57b0700
feat(langgraph-ts): interrupt support in transformer + HITL demo wiring
ranst91 May 8, 2026
bf4df29
feat(langgraph-ts): reasoning blocks + interrupt-resume + HITL/reason…
ranst91 May 11, 2026
1987996
feat(langgraph-ts): emit STEP_STARTED/STEP_FINISHED for graph nodes
ranst91 May 11, 2026
52aa045
feat(langgraph-ts): custom-channel passthrough + transformer wired on…
ranst91 May 11, 2026
797ce11
chore(dojo): regenerate files.json for updated demo agents
ranst91 May 11, 2026
3927f6a
fix(langgraph-ts): dedup STEP_STARTED/FINISHED by stepName so nested …
ranst91 May 11, 2026
feb0c0b
fix(langgraph-ts): keep transformer the default, opt legacy tests out…
ranst91 May 11, 2026
2584c55
ci(dojo): bump pinned @langchain/langgraph-cli to 1.2.1 for v3 thread…
ranst91 May 11, 2026
8799c9f
chore(langgraph-ts): drop unused lifecycle flags from transformer, re…
ranst91 May 11, 2026
a405bd8
chore(langgraph-ts): use ToolMessageFields — its …WithToolCallId alia…
ranst91 May 11, 2026
d186494
test(langgraph-ts): failing tests describing prepare-stream/regen ref…
ranst91 May 11, 2026
8fa4bcf
refactor(langgraph-ts): extract sanitizeAssistantMessages as a pure t…
ranst91 May 11, 2026
966aa7b
refactor(langgraph-ts): split prepareStream's transformer branch into…
ranst91 May 11, 2026
c892b80
refactor(langgraph-ts): tighten transformer-path types — drop any cas…
ranst91 May 11, 2026
7109b79
feat(langgraph-ts): prepareRegenerateStream gains transformer-path pa…
ranst91 May 11, 2026
cbf4139
test(langgraph-ts): fix prepare-regenerate-stream fixture to match ne…
ranst91 May 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions apps/dojo/scripts/run-dojo-everything.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ const { execSync } = require("child_process");
const path = require("path");
const concurrently = require("concurrently");

// Pinned: @langchain/langgraph-api@1.1.14 regressed schema extraction, causing
// worker timeouts on CI runners. Re-evaluate when a newer version fixes the issue.
const LANGGRAPH_CLI_VERSION = "1.1.13";
// 1.2.1 ships the v3 thread-stream protocol (POST /threads/:tid/commands,
// /stream/events, etc.) that the AG-UI transformer path depends on.
// 1.1.13 returned 404 on those routes. Re-evaluate if the schema-extraction
// regressions that prompted the original 1.1.13 pin resurface.
const LANGGRAPH_CLI_VERSION = "1.2.1";

// Parse command line arguments
const args = process.argv.slice(2);
Expand Down
5 changes: 5 additions & 0 deletions apps/dojo/src/agents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,14 @@ export const agentsIntegrations = {
"langgraph-typescript": async () =>
mapAgents(
(graphId) => {
// All TS demos register the AG-UI streamTransformer at compile;
// route every one through the transformer path. The legacy
// translation in agent.ts is preserved for non-langgraph
// deployments via `useTransformer: false`.
return new LangGraphAgent({
deploymentUrl: envVars.langgraphTypescriptUrl,
graphId,
useTransformer: true,
});
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,14 @@ function HaikuDisplay() {
useFrontendTool(
{
agentId: "tool_based_generative_ui",
description: "Generates a haiku with Japanese and English translations, an image name, and a CSS gradient for the background.",
name: "generate_haiku",
parameters: z.object({
japanese: z.array(z.string()).describe("3 lines of haiku in Japanese"),
english: z.array(z.string()).describe("3 lines of haiku translated to English"),
image_name: z.string().describe(`One relevant image name from: ${VALID_IMAGE_NAMES.join(", ")}`),
gradient: z.string().describe("CSS Gradient color for the background"),
}) ,
}),
followUp: false,
handler: async ({ japanese, english, image_name, gradient }: { japanese: string[]; english: string[]; image_name: string; gradient: string }) => {
const newHaiku: Haiku = {
Expand Down
74 changes: 37 additions & 37 deletions apps/dojo/src/files.json

Large diffs are not rendered by default.

17 changes: 9 additions & 8 deletions integrations/langgraph/typescript/examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,19 @@
"type": "module",
"scripts": {
"build": "tsc",
"dev": "pnpx @langchain/langgraph-cli@1.1.13 dev",
"dev": "pnpx @langchain/langgraph-cli@1.2.1 dev",
"start": "node dist/index.js"
},
"dependencies": {
"@copilotkit/sdk-js": "0.0.0-mme-ag-ui-0-0-46-20260227141603",
"@langchain/core": "^1.1.7",
"@langchain/anthropic": "^0.3.0",
"@langchain/google-genai": "^0.2.0",
"@langchain/openai": "^1.2.0",
"@langchain/langgraph": "^1.0.7",
"@ag-ui/langgraph": "link:../",
"@copilotkit/sdk-js": "1.57.0",
"@langchain/core": "^1.1.45",
"@langchain/anthropic": "^1.3.28",
"@langchain/google-genai": "^1.0.0",
"@langchain/openai": "^1.4.5",
"@langchain/langgraph": "^1.3.0",
"dotenv": "^16.4.5",
"langchain": "^1.2.3",
"langchain": "^1.4.0",
"uuid": "^10.0.0"
},
"devDependencies": {
Expand Down
Loading
Loading