The original lockfile regeneration pulled in unrelated dependency bumps
(langgraph 1.1.4→1.2.0, core 1.1.26→1.1.29) that caused TypeScript
type errors. Regenerate from main's lockfile with targeted overrides
that only change minimatch versions.
Also fix override selectors to catch minimatch@10.1.2 (in the
>=10.0.0 <10.2.1 vulnerable range) used by @typescript-eslint.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* feat: add support for Vercel sandbox
* format
* switch to deno
* cr
* format
* feat: add support for Vercel sandbox
* feat: add VFS sandbox
* format
* rm vercel
* rename
* format
* rename
* skip if on windows
* feat: add support for Vercel sandbox
* format
* switch to deno
* cr
* format
* rename
* format
* remove skip
* feedback
* Apply suggestion from @hntrl
Co-authored-by: Hunter Lovell <40191806+hntrl@users.noreply.github.com>
* auto bump peer dep
* format
* fix lock file
* add jiti
* add support for initialFiles
* include provider integration tests
* use DENO_DEPLOY_TOKEN
* add changeset
---------
Co-authored-by: Hunter Lovell <40191806+hntrl@users.noreply.github.com>
* fix(deepagents): use new StateSchema class
* format
* fix bundling
* run unit tests also in windows
* revert
* fix windows test issue
* bump lc
* bump lc
* path normalization
* feat(deepagents): add MemoryMiddleware for AGENTS.md support
Port of langchain-ai/deepagents#646 to TypeScript.
Adds MemoryMiddleware that loads persistent context from AGENTS.md files
following the agents.md specification. Unlike skills (which are on-demand),
memory is always loaded at agent startup and injected into the system prompt.
Changes:
- Add createMemoryMiddleware in middleware/memory.ts
- Add `memory` parameter to createDeepAgent for automatic middleware setup
- Export MemoryMiddleware from package index
- Add unit tests for memory loading and prompt injection
Usage:
const agent = createDeepAgent({
memory: [
"~/.deepagents/AGENTS.md",
"./.deepagents/AGENTS.md",
],
});
* add example
* internal: migrate to libs
* format
* update
* format
* codespell
* release process
* format
* update deps
* no need of npm tokens
* fix lock file
* type strictness
* no need for withLangGraph
* format
* fix
* remove withLanggraph
* add changeset
* feat: catch up with Python
* add example
* feat: add SDK Skills + Memory System
Port SDK Skills and Agent Memory features from Python PR 646.
* add example
* refactor: colocate tests with implementations and add mode-based test runner
* run integration tests in CI
* fix prettier issues in Windows
* fix globbing
* fix linting
* add dependabot file
* merge unit test workflow into ci
* pin and update CI
* increase timeout
* feat: catch up with Python
* feat: add SDK Skills + Memory System
Port SDK Skills and Agent Memory features from Python PR 646.
* prettier
* fix unit test for Windows
* add example
* format
* feat: catch up with Python
* add unit tests
* add example
* format
* Potential fix for code scanning alert no. 7: Unsafe shell command constructed from library input
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
* format
* make sure it is truly boolean
---------
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
* adds config option to subagent invocations
* updates langchain and removes note about summarization middleware
* updates params to use more appropriate BaseLanguageModel class
* feat: migrate to createAgent API and middleware architecture
BREAKING CHANGE: Major refactor from custom LangGraph implementation to new langchain createAgent API
**Architecture Migration:**
- Replace createReactAgent with createAgent API from langchain package
- Migrate from custom state management to middleware-based architecture
- Remove custom DeepAgentState and model configuration in favor of built-in patterns
**Package Updates:**
- Upgrade to @langchain/anthropic@alpha, @langchain/langgraph@next
- Add langchain package as main dependency with createAgent support
- Update @langchain/core to local development version
**Code Reorganization:**
- Move tools from src/tools.ts to modular middleware pattern (src/middleware/)
- Simplify type definitions in src/types.ts with Zod schema validation
- Refactor src/subAgent.ts to use createAgent with middleware integration
- Update src/graph.ts and src/index.ts for new API patterns
**Removed Files:**
- src/state.ts: Custom state management no longer needed
- src/model.ts: Default model configuration handled by createAgent
- src/interrupt.ts: Interrupt handling integrated into middleware
**New Middleware System:**
- src/middleware/fs.ts: File system operations middleware
- src/middleware/todo.ts: Todo management middleware
- src/middleware/index.ts: Middleware exports and configuration
**Configuration:**
- Fix tsconfig.json extends path for @tsconfig/recommended
- Update examples/research/research-agent.ts for new API
- Upgrade TypeScript ESLint and other dev dependencies
This migration provides a more maintainable architecture with better separation of concerns
and aligns with the latest LangChain patterns for agent development.
* consolidate imports
* progress
* push remaining update
* fix ci
* cr
* fix
* add anthropicPromptCachingMiddleware
* prettier
* prettier
* allow sub agents to have middleware
* prettier
* Merge pull request #37 from wuchangming/cb/createAgent-migration
feat: Add a name property value to ToolMessage
* fix types
* First stab at porting deepagents
* Cleanup
* wip: middleware review
* Fix to work on LSD
* Use Zod 4
* Revert "Use Zod 4"
This reverts commit 2292cd27ae.
* fix: use store from runnable config
* Exclude `jumpTo` from subgraph state
* Auto-infer filesystem middleware
* Include `strict` in tests
* Further cleanup of test files
* Remove any, remove only
* Fix invalid types for filesystem
* Fix invalid condition
* Fix file system tests, make those concurrent
* Replace _getType with type
* Remove Annotation
* Cleanup rest of test files
* Bump to 1.0.0
* Use PNPM
* Fix scripts
* Build using tsdown
* Bump to 1.0.0-beta.1
* Update CI
* Update again
* Fix formatting
* Add stub prettierrc for VSCode
* Add pluggable filesystem
* linting
* Full test coverage
* Add coerce option
* Bump to 1.0.0-beta.2
* Bump to 1.0.0-beta.3
* Add windows to matrix
* Address comments
* Add examples
* tweak prompt
* Linting
* Remove checkpointer=False
* Add missing env files
* Update README
* add missing dev deps
* add lockfile
* Fix broken test
* Normalize paths for linux
* Fix tests to be OS agnostic
* Normalize for glob search
---------
Co-authored-by: Christian Bromann <git@bromann.dev>
Co-authored-by: Wu Changming <wuchangmingnice@163.com>
Co-authored-by: Nick Huang <nick@langchain.dev>
Co-authored-by: Hunter Lovell <hunter@hntrl.io>