[PR #1033] [MERGED] fix(cua): Add execute before and after nodes #1188

Closed
opened 2026-02-15 19:17:35 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraphjs/pull/1033
Author: @bracesproul
Created: 3/25/2025
Status: Merged
Merged: 3/25/2025
Merged by: @bracesproul

Base: mainHead: brace/add-before-after-nodes


📝 Commits (3)

  • e9964d3 fix(cua): Add execute before and after nodes
  • 2cd9685 Merge branch 'main' into brace/add-before-after-nodes
  • 21e10c0 cr

📊 Changes

8 files changed (+140 additions, -64 deletions)

View changed files

📝 libs/langgraph-cua/package.json (+1 -1)
📝 libs/langgraph-cua/src/index.ts (+66 -35)
📝 libs/langgraph-cua/src/nodes/call-model.ts (+5 -7)
📝 libs/langgraph-cua/src/nodes/create-vm-instance.ts (+1 -1)
📝 libs/langgraph-cua/src/nodes/take-computer-action.ts (+3 -3)
📝 libs/langgraph-cua/src/types.ts (+22 -1)
📝 libs/langgraph-cua/src/utils.ts (+37 -11)
📝 yarn.lock (+5 -5)

📄 Description

Added args to the createCua function for passing node funcs which execute before and after taking an action


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/langgraphjs/pull/1033 **Author:** [@bracesproul](https://github.com/bracesproul) **Created:** 3/25/2025 **Status:** ✅ Merged **Merged:** 3/25/2025 **Merged by:** [@bracesproul](https://github.com/bracesproul) **Base:** `main` ← **Head:** `brace/add-before-after-nodes` --- ### 📝 Commits (3) - [`e9964d3`](https://github.com/langchain-ai/langgraphjs/commit/e9964d338344dce93dcf0b0cf83419fc53218214) fix(cua): Add execute before and after nodes - [`2cd9685`](https://github.com/langchain-ai/langgraphjs/commit/2cd968519f3f8f4c98e82b4acd0988ac91dd6b12) Merge branch 'main' into brace/add-before-after-nodes - [`21e10c0`](https://github.com/langchain-ai/langgraphjs/commit/21e10c0e8c3968495eaf3bc525bc3f6cf215ec74) cr ### 📊 Changes **8 files changed** (+140 additions, -64 deletions) <details> <summary>View changed files</summary> 📝 `libs/langgraph-cua/package.json` (+1 -1) 📝 `libs/langgraph-cua/src/index.ts` (+66 -35) 📝 `libs/langgraph-cua/src/nodes/call-model.ts` (+5 -7) 📝 `libs/langgraph-cua/src/nodes/create-vm-instance.ts` (+1 -1) 📝 `libs/langgraph-cua/src/nodes/take-computer-action.ts` (+3 -3) 📝 `libs/langgraph-cua/src/types.ts` (+22 -1) 📝 `libs/langgraph-cua/src/utils.ts` (+37 -11) 📝 `yarn.lock` (+5 -5) </details> ### 📄 Description Added args to the `createCua` function for passing node funcs which execute before and after taking an action --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 19:17:35 -05:00
yindo closed this issue 2026-02-15 19:17:35 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraphjs#1188