deepagents 1.10.1 → 1.10.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -0
- package/dist/agent-DNSq5NSK.d.cts +4046 -0
- package/dist/agent-taGqnaXM.d.ts +4047 -0
- package/dist/browser.cjs +44 -0
- package/dist/browser.d.cts +3 -0
- package/dist/browser.d.ts +3 -0
- package/dist/browser.js +2 -0
- package/dist/index.cjs +53 -7769
- package/dist/index.d.cts +2 -3566
- package/dist/index.d.ts +2 -3568
- package/dist/index.js +3 -7693
- package/dist/langsmith-D-SD2NFy.cjs +7910 -0
- package/dist/langsmith-D-SD2NFy.cjs.map +1 -0
- package/dist/langsmith-agEHKB-W.js +7586 -0
- package/dist/langsmith-agEHKB-W.js.map +1 -0
- package/dist/node.cjs +54 -0
- package/dist/node.d.cts +2 -0
- package/dist/node.d.ts +2 -0
- package/dist/node.js +3 -0
- package/dist/src-CZWQ_Lxm.cjs +1451 -0
- package/dist/src-CZWQ_Lxm.cjs.map +1 -0
- package/dist/src-i9LWYTHF.js +1402 -0
- package/dist/src-i9LWYTHF.js.map +1 -0
- package/package.json +24 -3
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
package/README.md
CHANGED
|
@@ -64,6 +64,25 @@ The agent can plan, read/write files, and manage longer tasks with sub-agents an
|
|
|
64
64
|
> [!TIP]
|
|
65
65
|
> For developing, debugging, and deploying AI agents and LLM applications, see [LangSmith](https://docs.langchain.com/langsmith/home).
|
|
66
66
|
|
|
67
|
+
## Runtime Entrypoints
|
|
68
|
+
|
|
69
|
+
`deepagents` now publishes environment-specific entrypoints:
|
|
70
|
+
|
|
71
|
+
- `deepagents` - default Node.js/server entrypoint with the full API.
|
|
72
|
+
- `deepagents/browser` - recommended browser entrypoint (no Node-only exports).
|
|
73
|
+
- `deepagents/node` - optional explicit Node.js entrypoint (same full API as `deepagents`).
|
|
74
|
+
|
|
75
|
+
```typescript
|
|
76
|
+
// Browser-safe usage
|
|
77
|
+
import { createDeepAgent, StateBackend } from "deepagents/browser";
|
|
78
|
+
|
|
79
|
+
// Node.js usage (recommended)
|
|
80
|
+
import { createDeepAgent, FilesystemBackend } from "deepagents";
|
|
81
|
+
|
|
82
|
+
// Optional explicit Node.js usage
|
|
83
|
+
// import { createDeepAgent, FilesystemBackend } from "deepagents/node";
|
|
84
|
+
```
|
|
85
|
+
|
|
67
86
|
## Customization
|
|
68
87
|
|
|
69
88
|
Add tools, swap models, and customize prompts as needed:
|