deepagentsdk 0.15.0 → 0.16.0
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/dist/adapters/elements/index.d.cts +1 -1
- package/dist/adapters/elements/index.d.mts +1 -1
- package/dist/{agent-DHUp_-Fx.d.mts → agent-BwmAQJhR.d.mts} +8 -8
- package/dist/{agent-tfRthBvX.d.cts → agent-DuvtniwH.d.cts} +31 -31
- package/dist/cli/index.cjs +679 -88
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.mjs +680 -89
- package/dist/cli/index.mjs.map +1 -1
- package/dist/{file-saver-ZDVH1zHI.cjs → file-saver-BKNL0pg6.cjs} +115 -6
- package/dist/file-saver-BKNL0pg6.cjs.map +1 -0
- package/dist/{file-saver-CQWTIr8z.mjs → file-saver-DoXRgKBv.mjs} +106 -9
- package/dist/file-saver-DoXRgKBv.mjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +3 -1
- package/dist/file-saver-CQWTIr8z.mjs.map +0 -1
- package/dist/file-saver-ZDVH1zHI.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-DUZBydyJ.cjs');
|
|
2
|
-
const require_file_saver = require('./file-saver-
|
|
2
|
+
const require_file_saver = require('./file-saver-BKNL0pg6.cjs');
|
|
3
3
|
const require_load = require('./load-BnaAQyCo.cjs');
|
|
4
4
|
let ai = require("ai");
|
|
5
5
|
let micromatch = require("micromatch");
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as createLsTool, A as TextEvent, At as isSandboxBackend, B as DynamicApprovalConfig, C as FileWrittenEvent, Ct as FileDownloadResponse, D as StepStartEvent, Dt as GrepMatch, E as StepFinishEvent, Et as FileUploadResponse, F as WebSearchStartEvent, Ft as ResumeDecision, G as createExecuteToolFromBackend, H as SubAgent, I as AgentMemoryOptions, It as ResumeOptions, J as write_todos, K as execute, L as CreateDeepAgentParams, M as ToolCallEvent, Mt as Checkpoint, N as ToolResultEvent, Nt as CheckpointSaverOptions, O as SubagentFinishEvent, Ot as SandboxBackendProtocol, P as WebSearchFinishEvent, Pt as InterruptData, Q as createGrepTool, R as SummarizationConfig, S as FileWriteStartEvent, St as FileData, T as HttpRequestStartEvent, Tt as FileOperationError, U as CreateExecuteToolOptions, V as InterruptOnConfig, W as createExecuteTool, X as createFilesystemTools, Y as createEditFileTool, Z as createGlobTool, _ as ExecuteFinishEvent, _t as BackendFactory, a as eventHasStructuredOutput, at as ls, b as FetchUrlStartEvent, bt as EditResult, c as hasStructuredOutput, ct as CreateWebToolsOptions, d as CheckpointLoadedEvent, dt as createWebSearchTool, et as createReadFileTool, f as CheckpointSavedEvent, ft as createWebTools, g as EventCallback, gt as web_search, h as ErrorEvent, ht as http_request, i as StructuredAgentResult, it as grep, j as TodosChangedEvent, jt as BaseCheckpointSaver, k as SubagentStartEvent, kt as WriteResult, l as ApprovalRequestedEvent, lt as createFetchUrlTool, m as DoneEvent, mt as htmlToMarkdown, n as createDeepAgent, nt as edit_file, o as getEventOutput, ot as read_file, p as DeepAgentEvent, pt as fetch_url, q as createTodosTool, r as ModelMessage$1, rt as glob, s as getStructuredOutput, st as write_file, t as DeepAgent, tt as createWriteFileTool, u as ApprovalResponseEvent, ut as createHttpRequestTool, v as ExecuteStartEvent, vt as BackendProtocol, w as HttpRequestFinishEvent, wt as FileInfo, x as FileEditedEvent, xt as ExecuteResponse, y as FetchUrlFinishEvent, yt as DeepAgentState, z as TodoItem } from "./agent-
|
|
1
|
+
import { $ as createLsTool, A as TextEvent, At as isSandboxBackend, B as DynamicApprovalConfig, C as FileWrittenEvent, Ct as FileDownloadResponse, D as StepStartEvent, Dt as GrepMatch, E as StepFinishEvent, Et as FileUploadResponse, F as WebSearchStartEvent, Ft as ResumeDecision, G as createExecuteToolFromBackend, H as SubAgent, I as AgentMemoryOptions, It as ResumeOptions, J as write_todos, K as execute, L as CreateDeepAgentParams, M as ToolCallEvent, Mt as Checkpoint, N as ToolResultEvent, Nt as CheckpointSaverOptions, O as SubagentFinishEvent, Ot as SandboxBackendProtocol, P as WebSearchFinishEvent, Pt as InterruptData, Q as createGrepTool, R as SummarizationConfig, S as FileWriteStartEvent, St as FileData, T as HttpRequestStartEvent, Tt as FileOperationError, U as CreateExecuteToolOptions, V as InterruptOnConfig, W as createExecuteTool, X as createFilesystemTools, Y as createEditFileTool, Z as createGlobTool, _ as ExecuteFinishEvent, _t as BackendFactory, a as eventHasStructuredOutput, at as ls, b as FetchUrlStartEvent, bt as EditResult, c as hasStructuredOutput, ct as CreateWebToolsOptions, d as CheckpointLoadedEvent, dt as createWebSearchTool, et as createReadFileTool, f as CheckpointSavedEvent, ft as createWebTools, g as EventCallback, gt as web_search, h as ErrorEvent, ht as http_request, i as StructuredAgentResult, it as grep, j as TodosChangedEvent, jt as BaseCheckpointSaver, k as SubagentStartEvent, kt as WriteResult, l as ApprovalRequestedEvent, lt as createFetchUrlTool, m as DoneEvent, mt as htmlToMarkdown, n as createDeepAgent, nt as edit_file, o as getEventOutput, ot as read_file, p as DeepAgentEvent, pt as fetch_url, q as createTodosTool, r as ModelMessage$1, rt as glob, s as getStructuredOutput, st as write_file, t as DeepAgent, tt as createWriteFileTool, u as ApprovalResponseEvent, ut as createHttpRequestTool, v as ExecuteStartEvent, vt as BackendProtocol, w as HttpRequestFinishEvent, wt as FileInfo, x as FileEditedEvent, xt as ExecuteResponse, y as FetchUrlFinishEvent, yt as DeepAgentState, z as TodoItem } from "./agent-DuvtniwH.cjs";
|
|
2
2
|
import * as ai18 from "ai";
|
|
3
3
|
import { LanguageModel, LanguageModelMiddleware, LanguageModelMiddleware as LanguageModelMiddleware$1, ModelMessage, ToolLoopAgent, ToolSet, hasToolCall, stepCountIs, wrapLanguageModel } from "ai";
|
|
4
4
|
import { Sandbox } from "e2b";
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as createLsTool, A as TextEvent, At as isSandboxBackend, B as DynamicApprovalConfig, C as FileWrittenEvent, Ct as FileDownloadResponse, D as StepStartEvent, Dt as GrepMatch, E as StepFinishEvent, Et as FileUploadResponse, F as WebSearchStartEvent, Ft as ResumeDecision, G as createExecuteToolFromBackend, H as SubAgent, I as AgentMemoryOptions, It as ResumeOptions, J as write_todos, K as execute, L as CreateDeepAgentParams, M as ToolCallEvent, Mt as Checkpoint, N as ToolResultEvent, Nt as CheckpointSaverOptions, O as SubagentFinishEvent, Ot as SandboxBackendProtocol, P as WebSearchFinishEvent, Pt as InterruptData, Q as createGrepTool, R as SummarizationConfig, S as FileWriteStartEvent, St as FileData, T as HttpRequestStartEvent, Tt as FileOperationError, U as CreateExecuteToolOptions, V as InterruptOnConfig, W as createExecuteTool, X as createFilesystemTools, Y as createEditFileTool, Z as createGlobTool, _ as ExecuteFinishEvent, _t as BackendFactory, a as eventHasStructuredOutput, at as ls, b as FetchUrlStartEvent, bt as EditResult, c as hasStructuredOutput, ct as CreateWebToolsOptions, d as CheckpointLoadedEvent, dt as createWebSearchTool, et as createReadFileTool, f as CheckpointSavedEvent, ft as createWebTools, g as EventCallback, gt as web_search, h as ErrorEvent, ht as http_request, i as StructuredAgentResult, it as grep, j as TodosChangedEvent, jt as BaseCheckpointSaver, k as SubagentStartEvent, kt as WriteResult, l as ApprovalRequestedEvent, lt as createFetchUrlTool, m as DoneEvent, mt as htmlToMarkdown, n as createDeepAgent, nt as edit_file, o as getEventOutput, ot as read_file, p as DeepAgentEvent, pt as fetch_url, q as createTodosTool, r as ModelMessage$1, rt as glob, s as getStructuredOutput, st as write_file, t as DeepAgent, tt as createWriteFileTool, u as ApprovalResponseEvent, ut as createHttpRequestTool, v as ExecuteStartEvent, vt as BackendProtocol, w as HttpRequestFinishEvent, wt as FileInfo, x as FileEditedEvent, xt as ExecuteResponse, y as FetchUrlFinishEvent, yt as DeepAgentState, z as TodoItem } from "./agent-
|
|
1
|
+
import { $ as createLsTool, A as TextEvent, At as isSandboxBackend, B as DynamicApprovalConfig, C as FileWrittenEvent, Ct as FileDownloadResponse, D as StepStartEvent, Dt as GrepMatch, E as StepFinishEvent, Et as FileUploadResponse, F as WebSearchStartEvent, Ft as ResumeDecision, G as createExecuteToolFromBackend, H as SubAgent, I as AgentMemoryOptions, It as ResumeOptions, J as write_todos, K as execute, L as CreateDeepAgentParams, M as ToolCallEvent, Mt as Checkpoint, N as ToolResultEvent, Nt as CheckpointSaverOptions, O as SubagentFinishEvent, Ot as SandboxBackendProtocol, P as WebSearchFinishEvent, Pt as InterruptData, Q as createGrepTool, R as SummarizationConfig, S as FileWriteStartEvent, St as FileData, T as HttpRequestStartEvent, Tt as FileOperationError, U as CreateExecuteToolOptions, V as InterruptOnConfig, W as createExecuteTool, X as createFilesystemTools, Y as createEditFileTool, Z as createGlobTool, _ as ExecuteFinishEvent, _t as BackendFactory, a as eventHasStructuredOutput, at as ls, b as FetchUrlStartEvent, bt as EditResult, c as hasStructuredOutput, ct as CreateWebToolsOptions, d as CheckpointLoadedEvent, dt as createWebSearchTool, et as createReadFileTool, f as CheckpointSavedEvent, ft as createWebTools, g as EventCallback, gt as web_search, h as ErrorEvent, ht as http_request, i as StructuredAgentResult, it as grep, j as TodosChangedEvent, jt as BaseCheckpointSaver, k as SubagentStartEvent, kt as WriteResult, l as ApprovalRequestedEvent, lt as createFetchUrlTool, m as DoneEvent, mt as htmlToMarkdown, n as createDeepAgent, nt as edit_file, o as getEventOutput, ot as read_file, p as DeepAgentEvent, pt as fetch_url, q as createTodosTool, r as ModelMessage$1, rt as glob, s as getStructuredOutput, st as write_file, t as DeepAgent, tt as createWriteFileTool, u as ApprovalResponseEvent, ut as createHttpRequestTool, v as ExecuteStartEvent, vt as BackendProtocol, w as HttpRequestFinishEvent, wt as FileInfo, x as FileEditedEvent, xt as ExecuteResponse, y as FetchUrlFinishEvent, yt as DeepAgentState, z as TodoItem } from "./agent-BwmAQJhR.mjs";
|
|
2
2
|
import * as ai18 from "ai";
|
|
3
3
|
import { LanguageModel, LanguageModelMiddleware, LanguageModelMiddleware as LanguageModelMiddleware$1, ModelMessage, ToolLoopAgent, ToolSet, hasToolCall, stepCountIs, wrapLanguageModel } from "ai";
|
|
4
4
|
import { ModalClient, Sandbox } from "modal";
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as formatReadResponse, A as createFilesystemTools, B as read_file, C as createWebTools, Ct as MAX_FILE_SIZE_MB, D as init_web, Dt as __exportAll, E as http_request, Et as __esmMin, F as createWriteFileTool, G as evictToolResult, H as DEFAULT_EVICTION_TOKEN_LIMIT, I as edit_file, J as StateBackend, K as init_eviction, L as glob, M as createGrepTool, N as createLsTool, O as web_search, Ot as __require, P as createReadFileTool, Q as formatContentWithLineNumbers, R as grep, S as createWebSearchTool, T as htmlToMarkdown, Tt as __commonJSMin, U as createToolResultWrapper, V as write_file, W as estimateTokens, X as createFileData, Y as checkEmptyContent, Z as fileDataToString, _ as createExecuteTool, _t as isSandboxBackend, a as LocalSandbox, at as FILE_NOT_FOUND, b as createFetchUrlTool, c as createDeepAgent, ct as write_todos, d as estimateMessagesTokens, dt as DEFAULT_SUBAGENT_PROMPT, et as globSearchFiles, f as needsSummarization, ft as EXECUTE_SYSTEM_PROMPT, g as createSubagentTool, gt as getTaskToolDescription, h as patchToolCalls, ht as TODO_SYSTEM_PROMPT, it as FILE_ALREADY_EXISTS, j as createGlobTool, k as createEditFileTool, kt as __toCommonJS, l as DEFAULT_KEEP_MESSAGES, lt as BASE_PROMPT, m as hasDanglingToolCalls, mt as TASK_SYSTEM_PROMPT, nt as performStringReplacement, o as BaseSandbox, ot as init_errors, p as summarizeIfNeeded, pt as FILESYSTEM_SYSTEM_PROMPT, q as shouldEvict, rt as updateFileData, s as DeepAgent, st as createTodosTool, t as FileSaver, tt as grepMatchesFromFiles, u as DEFAULT_SUMMARIZATION_THRESHOLD, ut as DEFAULT_GENERAL_PURPOSE_DESCRIPTION, v as createExecuteToolFromBackend, w as fetch_url, wt as init_limits, x as createHttpRequestTool, xt as DEFAULT_READ_LIMIT, y as execute, z as ls } from "./file-saver-DoXRgKBv.mjs";
|
|
2
2
|
import { n as parseSkillMetadata, r as findGitRoot, t as listSkills } from "./load-FjxJSusX.mjs";
|
|
3
3
|
import { ToolLoopAgent, hasToolCall, stepCountIs, wrapLanguageModel } from "ai";
|
|
4
4
|
import micromatch from "micromatch";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "deepagentsdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"description": "Deep Agent implementation using Vercel AI SDK - build controllable AI agents with planning, filesystem, and subagent capabilities",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -75,6 +75,7 @@
|
|
|
75
75
|
"react": "^18.2.0",
|
|
76
76
|
"react-devtools-core": "^5.3.2",
|
|
77
77
|
"turndown": "^7.2.0",
|
|
78
|
+
"zhipu-ai-provider": "^0.2.1",
|
|
78
79
|
"zod": "^3.25.0"
|
|
79
80
|
},
|
|
80
81
|
"devDependencies": {
|
|
@@ -94,6 +95,7 @@
|
|
|
94
95
|
"install": "^0.13.0",
|
|
95
96
|
"langfuse-vercel": "^3.38.6",
|
|
96
97
|
"react-dom": "^18.2.0",
|
|
98
|
+
"shadcn": "^3.7.0",
|
|
97
99
|
"tsdown": "^0.19.0-beta.5",
|
|
98
100
|
"typescript": "^5.7.3"
|
|
99
101
|
},
|