@langchain/anthropic 1.5.13 → 1.6.1
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/CHANGELOG.md +20 -0
- package/dist/_virtual/_rolldown/runtime.cjs +1 -2
- package/dist/chat_models.cjs +2 -3
- package/dist/chat_models.cjs.map +1 -1
- package/dist/chat_models.d.cts +2 -8
- package/dist/chat_models.d.cts.map +1 -1
- package/dist/chat_models.d.ts +2 -8
- package/dist/chat_models.d.ts.map +1 -1
- package/dist/chat_models.js +2 -3
- package/dist/chat_models.js.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/output_parsers.cjs +1 -2
- package/dist/output_parsers.js +1 -2
- package/dist/profiles.cjs +1 -2
- package/dist/profiles.js +1 -2
- package/dist/tools/bash.cjs +1 -2
- package/dist/tools/bash.d.cts +0 -2
- package/dist/tools/bash.d.cts.map +1 -1
- package/dist/tools/bash.d.ts +0 -2
- package/dist/tools/bash.d.ts.map +1 -1
- package/dist/tools/bash.js +1 -2
- package/dist/tools/codeExecution.cjs +1 -2
- package/dist/tools/codeExecution.d.cts +0 -2
- package/dist/tools/codeExecution.d.cts.map +1 -1
- package/dist/tools/codeExecution.d.ts +0 -2
- package/dist/tools/codeExecution.d.ts.map +1 -1
- package/dist/tools/codeExecution.js +1 -2
- package/dist/tools/computer.cjs +1 -2
- package/dist/tools/computer.d.cts +0 -2
- package/dist/tools/computer.d.cts.map +1 -1
- package/dist/tools/computer.d.ts +0 -2
- package/dist/tools/computer.d.ts.map +1 -1
- package/dist/tools/computer.js +1 -2
- package/dist/tools/index.cjs +1 -2
- package/dist/tools/index.d.cts +1 -3
- package/dist/tools/index.d.cts.map +1 -1
- package/dist/tools/index.d.ts +1 -3
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +1 -2
- package/dist/tools/mcpToolset.cjs +1 -2
- package/dist/tools/mcpToolset.d.cts +0 -2
- package/dist/tools/mcpToolset.d.cts.map +1 -1
- package/dist/tools/mcpToolset.d.ts +0 -2
- package/dist/tools/mcpToolset.d.ts.map +1 -1
- package/dist/tools/mcpToolset.js +1 -2
- package/dist/tools/memory.cjs +1 -2
- package/dist/tools/memory.d.cts +0 -2
- package/dist/tools/memory.d.cts.map +1 -1
- package/dist/tools/memory.d.ts +0 -2
- package/dist/tools/memory.d.ts.map +1 -1
- package/dist/tools/memory.js +1 -2
- package/dist/tools/textEditor.cjs +1 -2
- package/dist/tools/textEditor.d.cts +0 -2
- package/dist/tools/textEditor.d.cts.map +1 -1
- package/dist/tools/textEditor.d.ts +0 -2
- package/dist/tools/textEditor.d.ts.map +1 -1
- package/dist/tools/textEditor.js +1 -2
- package/dist/tools/toolSearch.cjs +1 -2
- package/dist/tools/toolSearch.d.cts +0 -2
- package/dist/tools/toolSearch.d.cts.map +1 -1
- package/dist/tools/toolSearch.d.ts +0 -2
- package/dist/tools/toolSearch.d.ts.map +1 -1
- package/dist/tools/toolSearch.js +1 -2
- package/dist/tools/types.cjs +1 -2
- package/dist/tools/types.d.cts +0 -2
- package/dist/tools/types.d.cts.map +1 -1
- package/dist/tools/types.d.ts +0 -2
- package/dist/tools/types.d.ts.map +1 -1
- package/dist/tools/types.js +1 -2
- package/dist/tools/webFetch.cjs +1 -2
- package/dist/tools/webFetch.d.cts +0 -2
- package/dist/tools/webFetch.d.cts.map +1 -1
- package/dist/tools/webFetch.d.ts +0 -2
- package/dist/tools/webFetch.d.ts.map +1 -1
- package/dist/tools/webFetch.js +1 -2
- package/dist/tools/webSearch.cjs +1 -2
- package/dist/tools/webSearch.d.cts +0 -2
- package/dist/tools/webSearch.d.cts.map +1 -1
- package/dist/tools/webSearch.d.ts +0 -2
- package/dist/tools/webSearch.d.ts.map +1 -1
- package/dist/tools/webSearch.js +1 -2
- package/dist/types.d.cts +0 -2
- package/dist/types.d.cts.map +1 -1
- package/dist/types.d.ts +0 -2
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/content.cjs +1 -2
- package/dist/utils/content.js +1 -2
- package/dist/utils/errors.cjs +1 -2
- package/dist/utils/errors.js +1 -2
- package/dist/utils/index.cjs +1 -2
- package/dist/utils/index.js +1 -2
- package/dist/utils/message_inputs.cjs +2 -3
- package/dist/utils/message_inputs.cjs.map +1 -1
- package/dist/utils/message_inputs.js +2 -3
- package/dist/utils/message_inputs.js.map +1 -1
- package/dist/utils/message_outputs.cjs +1 -2
- package/dist/utils/message_outputs.js +1 -2
- package/dist/utils/params.cjs +1 -2
- package/dist/utils/params.js +1 -2
- package/dist/utils/prompts.cjs +1 -2
- package/dist/utils/prompts.d.cts +0 -2
- package/dist/utils/prompts.d.cts.map +1 -1
- package/dist/utils/prompts.d.ts +0 -2
- package/dist/utils/prompts.d.ts.map +1 -1
- package/dist/utils/prompts.js +1 -2
- package/dist/utils/standard.cjs +1 -2
- package/dist/utils/standard.js +1 -2
- package/dist/utils/stream_events.cjs +28 -13
- package/dist/utils/stream_events.cjs.map +1 -1
- package/dist/utils/stream_events.js +28 -13
- package/dist/utils/stream_events.js.map +1 -1
- package/dist/utils/tools.cjs +1 -2
- package/dist/utils/tools.js +1 -2
- package/package.json +11 -11
package/dist/tools/computer.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_types = require("./types.cjs");
|
|
2
2
|
let _langchain_core_tools = require("@langchain/core/tools");
|
|
3
|
-
|
|
3
|
+
// src/tools/computer.ts
|
|
4
4
|
const TOOL_NAME = "computer";
|
|
5
5
|
/**
|
|
6
6
|
* Creates an Anthropic computer use tool for Claude Opus 4.5 that provides
|
|
@@ -152,7 +152,6 @@ function computer_20250124(options) {
|
|
|
152
152
|
};
|
|
153
153
|
return computerTool;
|
|
154
154
|
}
|
|
155
|
-
//#endregion
|
|
156
155
|
exports.computer_20250124 = computer_20250124;
|
|
157
156
|
exports.computer_20251124 = computer_20251124;
|
|
158
157
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Computer20250124Action, Computer20250124ActionSchema, Computer20251124Action, Computer20251124ActionSchema } from "./types.cjs";
|
|
2
2
|
import { ToolMessage } from "@langchain/core/messages";
|
|
3
3
|
import { DynamicStructuredTool, ToolRuntime } from "@langchain/core/tools";
|
|
4
|
-
//#region src/tools/computer.d.ts
|
|
5
4
|
export type ComputerUseReturnType = string | Promise<string> | ToolMessage<any> | Promise<ToolMessage<any>>;
|
|
6
5
|
/**
|
|
7
6
|
* Options for the computer use tool (Claude Opus 4.5 only version).
|
|
@@ -174,5 +173,4 @@ export interface Computer20250124Options<TState = any, TContext = any> {
|
|
|
174
173
|
* @returns The computer use tool object that can be passed to `bindTools`
|
|
175
174
|
*/
|
|
176
175
|
export declare function computer_20250124(options: Computer20250124Options): DynamicStructuredTool<typeof Computer20250124ActionSchema, Computer20250124Action, any, ComputerUseReturnType>;
|
|
177
|
-
//#endregion
|
|
178
176
|
//# sourceMappingURL=computer.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"computer.d.cts","names":[],"sources":["../../src/tools/computer.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"computer.d.cts","names":[],"sources":["../../src/tools/computer.ts"],"mappings":";;;YAiBY,iCAER,kBACA,mBACA,QAAQ;;;;;;;iBAQK,wBAAwB,cAAc;;;;EAIrD;;;;EAIA;;;;EAIA;;;;;;EAMA;;;;;;EAMA,WACE,MAAM,wBACN,SAAS,YAAY,QAAQ,cAC1B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA2DS,kBAAkB,SAAS,0BA6BlB,6BACd,8BACP,6BAEA;;;;;;iBASa,wBAAwB,cAAc;;;;EAIrD;;;;EAIA;;;;EAIA;;;;;;EAMA,WACE,MAAM,wBACN,SAAS,YAAY,QAAQ,cAC1B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA2DS,kBAAkB,SAAS,0BA2BlB,6BACd,8BACP,6BAEA"}
|
package/dist/tools/computer.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Computer20250124Action, Computer20250124ActionSchema, Computer20251124Action, Computer20251124ActionSchema } from "./types.js";
|
|
2
2
|
import { ToolMessage } from "@langchain/core/messages";
|
|
3
3
|
import { DynamicStructuredTool, ToolRuntime } from "@langchain/core/tools";
|
|
4
|
-
//#region src/tools/computer.d.ts
|
|
5
4
|
export type ComputerUseReturnType = string | Promise<string> | ToolMessage<any> | Promise<ToolMessage<any>>;
|
|
6
5
|
/**
|
|
7
6
|
* Options for the computer use tool (Claude Opus 4.5 only version).
|
|
@@ -174,5 +173,4 @@ export interface Computer20250124Options<TState = any, TContext = any> {
|
|
|
174
173
|
* @returns The computer use tool object that can be passed to `bindTools`
|
|
175
174
|
*/
|
|
176
175
|
export declare function computer_20250124(options: Computer20250124Options): DynamicStructuredTool<typeof Computer20250124ActionSchema, Computer20250124Action, any, ComputerUseReturnType>;
|
|
177
|
-
//#endregion
|
|
178
176
|
//# sourceMappingURL=computer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"computer.d.ts","names":[],"sources":["../../src/tools/computer.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"computer.d.ts","names":[],"sources":["../../src/tools/computer.ts"],"mappings":";;;YAiBY,iCAER,kBACA,mBACA,QAAQ;;;;;;;iBAQK,wBAAwB,cAAc;;;;EAIrD;;;;EAIA;;;;EAIA;;;;;;EAMA;;;;;;EAMA,WACE,MAAM,wBACN,SAAS,YAAY,QAAQ,cAC1B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA2DS,kBAAkB,SAAS,0BA6BlB,6BACd,8BACP,6BAEA;;;;;;iBASa,wBAAwB,cAAc;;;;EAIrD;;;;EAIA;;;;EAIA;;;;;;EAMA,WACE,MAAM,wBACN,SAAS,YAAY,QAAQ,cAC1B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA2DS,kBAAkB,SAAS,0BA2BlB,6BACd,8BACP,6BAEA"}
|
package/dist/tools/computer.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Computer20250124ActionSchema, Computer20251124ActionSchema } from "./types.js";
|
|
2
2
|
import { tool } from "@langchain/core/tools";
|
|
3
|
-
|
|
3
|
+
// src/tools/computer.ts
|
|
4
4
|
const TOOL_NAME = "computer";
|
|
5
5
|
/**
|
|
6
6
|
* Creates an Anthropic computer use tool for Claude Opus 4.5 that provides
|
|
@@ -152,7 +152,6 @@ function computer_20250124(options) {
|
|
|
152
152
|
};
|
|
153
153
|
return computerTool;
|
|
154
154
|
}
|
|
155
|
-
//#endregion
|
|
156
155
|
export { computer_20250124, computer_20251124 };
|
|
157
156
|
|
|
158
157
|
//# sourceMappingURL=computer.js.map
|
package/dist/tools/index.cjs
CHANGED
|
@@ -7,7 +7,7 @@ const require_computer = require("./computer.cjs");
|
|
|
7
7
|
const require_codeExecution = require("./codeExecution.cjs");
|
|
8
8
|
const require_bash = require("./bash.cjs");
|
|
9
9
|
const require_mcpToolset = require("./mcpToolset.cjs");
|
|
10
|
-
|
|
10
|
+
// src/tools/index.ts
|
|
11
11
|
const tools = {
|
|
12
12
|
memory_20250818: require_memory.memory_20250818,
|
|
13
13
|
webSearch_20250305: require_webSearch.webSearch_20250305,
|
|
@@ -21,7 +21,6 @@ const tools = {
|
|
|
21
21
|
bash_20250124: require_bash.bash_20250124,
|
|
22
22
|
mcpToolset_20251120: require_mcpToolset.mcpToolset_20251120
|
|
23
23
|
};
|
|
24
|
-
//#endregion
|
|
25
24
|
exports.tools = tools;
|
|
26
25
|
|
|
27
26
|
//# sourceMappingURL=index.cjs.map
|
package/dist/tools/index.d.cts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Bash20250124Command, Bash20250124CommandSchema, Bash20250124ExecuteCommand, Bash20250124ExecuteCommandSchema, Bash20250124RestartCommand, Bash20250124RestartCommandSchema, Computer20250124Action, Computer20250124ActionSchema, Computer20251124Action, Computer20251124ActionSchema, ComputerDoubleClickAction, ComputerDoubleClickActionSchema, ComputerHoldKeyAction, ComputerHoldKeyActionSchema, ComputerKeyAction, ComputerKeyActionSchema, ComputerLeftClickAction, ComputerLeftClickActionSchema, ComputerLeftClickDragAction, ComputerLeftClickDragActionSchema, ComputerLeftMouseDownAction, ComputerLeftMouseDownActionSchema, ComputerLeftMouseUpAction, ComputerLeftMouseUpActionSchema, ComputerMiddleClickAction, ComputerMiddleClickActionSchema, ComputerMouseMoveAction, ComputerMouseMoveActionSchema, ComputerRightClickAction, ComputerRightClickActionSchema, ComputerScreenshotAction, ComputerScreenshotActionSchema, ComputerScrollAction, ComputerScrollActionSchema, ComputerTripleClickAction, ComputerTripleClickActionSchema, ComputerTypeAction, ComputerTypeActionSchema, ComputerWaitAction, ComputerWaitActionSchema, ComputerZoomAction, ComputerZoomActionSchema, Memory20250818Command, Memory20250818CommandSchema, Memory20250818CreateCommand, Memory20250818CreateCommandSchema, Memory20250818DeleteCommand, Memory20250818DeleteCommandSchema, Memory20250818InsertCommand, Memory20250818InsertCommandSchema, Memory20250818RenameCommand, Memory20250818RenameCommandSchema, Memory20250818StrReplaceCommand, Memory20250818StrReplaceCommandSchema, Memory20250818ViewCommand, Memory20250818ViewCommandSchema, MemoryTool20250818, MemoryTool20250818Options, TextEditor20250728Command, TextEditor20250728CommandSchema, TextEditor20250728CreateCommand, TextEditor20250728CreateCommandSchema, TextEditor20250728InsertCommand, TextEditor20250728InsertCommandSchema, TextEditor20250728StrReplaceCommand, TextEditor20250728StrReplaceCommandSchema, TextEditor20250728ViewCommand, TextEditor20250728ViewCommandSchema } from "./types.cjs";
|
|
2
1
|
import { memory_20250818 } from "./memory.cjs";
|
|
3
2
|
import { WebSearch20250305Options, webSearch_20250305 } from "./webSearch.cjs";
|
|
4
3
|
import { WebFetch20250910Options, webFetch_20250910 } from "./webFetch.cjs";
|
|
@@ -8,7 +7,7 @@ import { Computer20250124Options, Computer20251124Options, ComputerUseReturnType
|
|
|
8
7
|
import { CodeExecution20250825Options, codeExecution_20250825 } from "./codeExecution.cjs";
|
|
9
8
|
import { Bash20250124Options, bash_20250124 } from "./bash.cjs";
|
|
10
9
|
import { MCPToolsetOptions, mcpToolset_20251120 } from "./mcpToolset.cjs";
|
|
11
|
-
|
|
10
|
+
import { Bash20250124Command, Bash20250124CommandSchema, Bash20250124ExecuteCommand, Bash20250124ExecuteCommandSchema, Bash20250124RestartCommand, Bash20250124RestartCommandSchema, Computer20250124Action, Computer20250124ActionSchema, Computer20251124Action, Computer20251124ActionSchema, ComputerDoubleClickAction, ComputerDoubleClickActionSchema, ComputerHoldKeyAction, ComputerHoldKeyActionSchema, ComputerKeyAction, ComputerKeyActionSchema, ComputerLeftClickAction, ComputerLeftClickActionSchema, ComputerLeftClickDragAction, ComputerLeftClickDragActionSchema, ComputerLeftMouseDownAction, ComputerLeftMouseDownActionSchema, ComputerLeftMouseUpAction, ComputerLeftMouseUpActionSchema, ComputerMiddleClickAction, ComputerMiddleClickActionSchema, ComputerMouseMoveAction, ComputerMouseMoveActionSchema, ComputerRightClickAction, ComputerRightClickActionSchema, ComputerScreenshotAction, ComputerScreenshotActionSchema, ComputerScrollAction, ComputerScrollActionSchema, ComputerTripleClickAction, ComputerTripleClickActionSchema, ComputerTypeAction, ComputerTypeActionSchema, ComputerWaitAction, ComputerWaitActionSchema, ComputerZoomAction, ComputerZoomActionSchema, Memory20250818Command, Memory20250818CommandSchema, Memory20250818CreateCommand, Memory20250818CreateCommandSchema, Memory20250818DeleteCommand, Memory20250818DeleteCommandSchema, Memory20250818InsertCommand, Memory20250818InsertCommandSchema, Memory20250818RenameCommand, Memory20250818RenameCommandSchema, Memory20250818StrReplaceCommand, Memory20250818StrReplaceCommandSchema, Memory20250818ViewCommand, Memory20250818ViewCommandSchema, MemoryTool20250818, MemoryTool20250818Options, TextEditor20250728Command, TextEditor20250728CommandSchema, TextEditor20250728CreateCommand, TextEditor20250728CreateCommandSchema, TextEditor20250728InsertCommand, TextEditor20250728InsertCommandSchema, TextEditor20250728StrReplaceCommand, TextEditor20250728StrReplaceCommandSchema, TextEditor20250728ViewCommand, TextEditor20250728ViewCommandSchema } from "./types.cjs";
|
|
12
11
|
export declare const tools: {
|
|
13
12
|
memory_20250818: typeof memory_20250818;
|
|
14
13
|
webSearch_20250305: typeof webSearch_20250305;
|
|
@@ -22,6 +21,5 @@ export declare const tools: {
|
|
|
22
21
|
bash_20250124: typeof bash_20250124;
|
|
23
22
|
mcpToolset_20251120: typeof mcpToolset_20251120;
|
|
24
23
|
};
|
|
25
|
-
//#endregion
|
|
26
24
|
export type { Bash20250124Command, Bash20250124CommandSchema, Bash20250124ExecuteCommand, Bash20250124ExecuteCommandSchema, Bash20250124Options, Bash20250124RestartCommand, Bash20250124RestartCommandSchema, CodeExecution20250825Options, Computer20250124Action, Computer20250124ActionSchema, Computer20250124Options, Computer20251124Action, Computer20251124ActionSchema, Computer20251124Options, ComputerDoubleClickAction, ComputerDoubleClickActionSchema, ComputerHoldKeyAction, ComputerHoldKeyActionSchema, ComputerKeyAction, ComputerKeyActionSchema, ComputerLeftClickAction, ComputerLeftClickActionSchema, ComputerLeftClickDragAction, ComputerLeftClickDragActionSchema, ComputerLeftMouseDownAction, ComputerLeftMouseDownActionSchema, ComputerLeftMouseUpAction, ComputerLeftMouseUpActionSchema, ComputerMiddleClickAction, ComputerMiddleClickActionSchema, ComputerMouseMoveAction, ComputerMouseMoveActionSchema, ComputerRightClickAction, ComputerRightClickActionSchema, ComputerScreenshotAction, ComputerScreenshotActionSchema, ComputerScrollAction, ComputerScrollActionSchema, ComputerTripleClickAction, ComputerTripleClickActionSchema, ComputerTypeAction, ComputerTypeActionSchema, ComputerUseReturnType, ComputerWaitAction, ComputerWaitActionSchema, ComputerZoomAction, ComputerZoomActionSchema, MCPToolsetOptions, Memory20250818Command, Memory20250818CommandSchema, Memory20250818CreateCommand, Memory20250818CreateCommandSchema, Memory20250818DeleteCommand, Memory20250818DeleteCommandSchema, Memory20250818InsertCommand, Memory20250818InsertCommandSchema, Memory20250818RenameCommand, Memory20250818RenameCommandSchema, Memory20250818StrReplaceCommand, Memory20250818StrReplaceCommandSchema, Memory20250818ViewCommand, Memory20250818ViewCommandSchema, MemoryTool20250818, MemoryTool20250818Options, TextEditor20250728Command, TextEditor20250728CommandSchema, TextEditor20250728CreateCommand, TextEditor20250728CreateCommandSchema, TextEditor20250728InsertCommand, TextEditor20250728InsertCommandSchema, TextEditor20250728Options, TextEditor20250728StrReplaceCommand, TextEditor20250728StrReplaceCommandSchema, TextEditor20250728ViewCommand, TextEditor20250728ViewCommandSchema, ToolSearchOptions, WebFetch20250910Options, WebSearch20250305Options };
|
|
27
25
|
//# sourceMappingURL=index.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../../src/tools/index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../../src/tools/index.ts"],"mappings":";;;;;;;;;;qBA6Ba"}
|
package/dist/tools/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Bash20250124Command, Bash20250124CommandSchema, Bash20250124ExecuteCommand, Bash20250124ExecuteCommandSchema, Bash20250124RestartCommand, Bash20250124RestartCommandSchema, Computer20250124Action, Computer20250124ActionSchema, Computer20251124Action, Computer20251124ActionSchema, ComputerDoubleClickAction, ComputerDoubleClickActionSchema, ComputerHoldKeyAction, ComputerHoldKeyActionSchema, ComputerKeyAction, ComputerKeyActionSchema, ComputerLeftClickAction, ComputerLeftClickActionSchema, ComputerLeftClickDragAction, ComputerLeftClickDragActionSchema, ComputerLeftMouseDownAction, ComputerLeftMouseDownActionSchema, ComputerLeftMouseUpAction, ComputerLeftMouseUpActionSchema, ComputerMiddleClickAction, ComputerMiddleClickActionSchema, ComputerMouseMoveAction, ComputerMouseMoveActionSchema, ComputerRightClickAction, ComputerRightClickActionSchema, ComputerScreenshotAction, ComputerScreenshotActionSchema, ComputerScrollAction, ComputerScrollActionSchema, ComputerTripleClickAction, ComputerTripleClickActionSchema, ComputerTypeAction, ComputerTypeActionSchema, ComputerWaitAction, ComputerWaitActionSchema, ComputerZoomAction, ComputerZoomActionSchema, Memory20250818Command, Memory20250818CommandSchema, Memory20250818CreateCommand, Memory20250818CreateCommandSchema, Memory20250818DeleteCommand, Memory20250818DeleteCommandSchema, Memory20250818InsertCommand, Memory20250818InsertCommandSchema, Memory20250818RenameCommand, Memory20250818RenameCommandSchema, Memory20250818StrReplaceCommand, Memory20250818StrReplaceCommandSchema, Memory20250818ViewCommand, Memory20250818ViewCommandSchema, MemoryTool20250818, MemoryTool20250818Options, TextEditor20250728Command, TextEditor20250728CommandSchema, TextEditor20250728CreateCommand, TextEditor20250728CreateCommandSchema, TextEditor20250728InsertCommand, TextEditor20250728InsertCommandSchema, TextEditor20250728StrReplaceCommand, TextEditor20250728StrReplaceCommandSchema, TextEditor20250728ViewCommand, TextEditor20250728ViewCommandSchema } from "./types.js";
|
|
2
1
|
import { memory_20250818 } from "./memory.js";
|
|
3
2
|
import { WebSearch20250305Options, webSearch_20250305 } from "./webSearch.js";
|
|
4
3
|
import { WebFetch20250910Options, webFetch_20250910 } from "./webFetch.js";
|
|
@@ -8,7 +7,7 @@ import { Computer20250124Options, Computer20251124Options, ComputerUseReturnType
|
|
|
8
7
|
import { CodeExecution20250825Options, codeExecution_20250825 } from "./codeExecution.js";
|
|
9
8
|
import { Bash20250124Options, bash_20250124 } from "./bash.js";
|
|
10
9
|
import { MCPToolsetOptions, mcpToolset_20251120 } from "./mcpToolset.js";
|
|
11
|
-
|
|
10
|
+
import { Bash20250124Command, Bash20250124CommandSchema, Bash20250124ExecuteCommand, Bash20250124ExecuteCommandSchema, Bash20250124RestartCommand, Bash20250124RestartCommandSchema, Computer20250124Action, Computer20250124ActionSchema, Computer20251124Action, Computer20251124ActionSchema, ComputerDoubleClickAction, ComputerDoubleClickActionSchema, ComputerHoldKeyAction, ComputerHoldKeyActionSchema, ComputerKeyAction, ComputerKeyActionSchema, ComputerLeftClickAction, ComputerLeftClickActionSchema, ComputerLeftClickDragAction, ComputerLeftClickDragActionSchema, ComputerLeftMouseDownAction, ComputerLeftMouseDownActionSchema, ComputerLeftMouseUpAction, ComputerLeftMouseUpActionSchema, ComputerMiddleClickAction, ComputerMiddleClickActionSchema, ComputerMouseMoveAction, ComputerMouseMoveActionSchema, ComputerRightClickAction, ComputerRightClickActionSchema, ComputerScreenshotAction, ComputerScreenshotActionSchema, ComputerScrollAction, ComputerScrollActionSchema, ComputerTripleClickAction, ComputerTripleClickActionSchema, ComputerTypeAction, ComputerTypeActionSchema, ComputerWaitAction, ComputerWaitActionSchema, ComputerZoomAction, ComputerZoomActionSchema, Memory20250818Command, Memory20250818CommandSchema, Memory20250818CreateCommand, Memory20250818CreateCommandSchema, Memory20250818DeleteCommand, Memory20250818DeleteCommandSchema, Memory20250818InsertCommand, Memory20250818InsertCommandSchema, Memory20250818RenameCommand, Memory20250818RenameCommandSchema, Memory20250818StrReplaceCommand, Memory20250818StrReplaceCommandSchema, Memory20250818ViewCommand, Memory20250818ViewCommandSchema, MemoryTool20250818, MemoryTool20250818Options, TextEditor20250728Command, TextEditor20250728CommandSchema, TextEditor20250728CreateCommand, TextEditor20250728CreateCommandSchema, TextEditor20250728InsertCommand, TextEditor20250728InsertCommandSchema, TextEditor20250728StrReplaceCommand, TextEditor20250728StrReplaceCommandSchema, TextEditor20250728ViewCommand, TextEditor20250728ViewCommandSchema } from "./types.js";
|
|
12
11
|
export declare const tools: {
|
|
13
12
|
memory_20250818: typeof memory_20250818;
|
|
14
13
|
webSearch_20250305: typeof webSearch_20250305;
|
|
@@ -22,6 +21,5 @@ export declare const tools: {
|
|
|
22
21
|
bash_20250124: typeof bash_20250124;
|
|
23
22
|
mcpToolset_20251120: typeof mcpToolset_20251120;
|
|
24
23
|
};
|
|
25
|
-
//#endregion
|
|
26
24
|
export type { Bash20250124Command, Bash20250124CommandSchema, Bash20250124ExecuteCommand, Bash20250124ExecuteCommandSchema, Bash20250124Options, Bash20250124RestartCommand, Bash20250124RestartCommandSchema, CodeExecution20250825Options, Computer20250124Action, Computer20250124ActionSchema, Computer20250124Options, Computer20251124Action, Computer20251124ActionSchema, Computer20251124Options, ComputerDoubleClickAction, ComputerDoubleClickActionSchema, ComputerHoldKeyAction, ComputerHoldKeyActionSchema, ComputerKeyAction, ComputerKeyActionSchema, ComputerLeftClickAction, ComputerLeftClickActionSchema, ComputerLeftClickDragAction, ComputerLeftClickDragActionSchema, ComputerLeftMouseDownAction, ComputerLeftMouseDownActionSchema, ComputerLeftMouseUpAction, ComputerLeftMouseUpActionSchema, ComputerMiddleClickAction, ComputerMiddleClickActionSchema, ComputerMouseMoveAction, ComputerMouseMoveActionSchema, ComputerRightClickAction, ComputerRightClickActionSchema, ComputerScreenshotAction, ComputerScreenshotActionSchema, ComputerScrollAction, ComputerScrollActionSchema, ComputerTripleClickAction, ComputerTripleClickActionSchema, ComputerTypeAction, ComputerTypeActionSchema, ComputerUseReturnType, ComputerWaitAction, ComputerWaitActionSchema, ComputerZoomAction, ComputerZoomActionSchema, MCPToolsetOptions, Memory20250818Command, Memory20250818CommandSchema, Memory20250818CreateCommand, Memory20250818CreateCommandSchema, Memory20250818DeleteCommand, Memory20250818DeleteCommandSchema, Memory20250818InsertCommand, Memory20250818InsertCommandSchema, Memory20250818RenameCommand, Memory20250818RenameCommandSchema, Memory20250818StrReplaceCommand, Memory20250818StrReplaceCommandSchema, Memory20250818ViewCommand, Memory20250818ViewCommandSchema, MemoryTool20250818, MemoryTool20250818Options, TextEditor20250728Command, TextEditor20250728CommandSchema, TextEditor20250728CreateCommand, TextEditor20250728CreateCommandSchema, TextEditor20250728InsertCommand, TextEditor20250728InsertCommandSchema, TextEditor20250728Options, TextEditor20250728StrReplaceCommand, TextEditor20250728StrReplaceCommandSchema, TextEditor20250728ViewCommand, TextEditor20250728ViewCommandSchema, ToolSearchOptions, WebFetch20250910Options, WebSearch20250305Options };
|
|
27
25
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/tools/index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/tools/index.ts"],"mappings":";;;;;;;;;;qBA6Ba"}
|
package/dist/tools/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import { computer_20250124, computer_20251124 } from "./computer.js";
|
|
|
7
7
|
import { codeExecution_20250825 } from "./codeExecution.js";
|
|
8
8
|
import { bash_20250124 } from "./bash.js";
|
|
9
9
|
import { mcpToolset_20251120 } from "./mcpToolset.js";
|
|
10
|
-
|
|
10
|
+
// src/tools/index.ts
|
|
11
11
|
const tools = {
|
|
12
12
|
memory_20250818,
|
|
13
13
|
webSearch_20250305,
|
|
@@ -21,7 +21,6 @@ const tools = {
|
|
|
21
21
|
bash_20250124,
|
|
22
22
|
mcpToolset_20251120
|
|
23
23
|
};
|
|
24
|
-
//#endregion
|
|
25
24
|
export { tools };
|
|
26
25
|
|
|
27
26
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/tools/mcpToolset.ts
|
|
2
2
|
/**
|
|
3
3
|
* Creates an MCP toolset that connects to a remote MCP server to access its tools.
|
|
4
4
|
* This enables Claude to use tools from MCP servers without implementing a separate MCP client.
|
|
@@ -104,7 +104,6 @@ function mcpToolset_20251120(options) {
|
|
|
104
104
|
cache_control: options.cacheControl
|
|
105
105
|
};
|
|
106
106
|
}
|
|
107
|
-
//#endregion
|
|
108
107
|
exports.mcpToolset_20251120 = mcpToolset_20251120;
|
|
109
108
|
|
|
110
109
|
//# sourceMappingURL=mcpToolset.cjs.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import Anthropic$1 from "@anthropic-ai/sdk";
|
|
2
2
|
import { ServerTool } from "@langchain/core/tools";
|
|
3
|
-
//#region src/tools/mcpToolset.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Configuration for a single tool in the MCP toolset.
|
|
6
5
|
*/
|
|
@@ -134,5 +133,4 @@ export interface MCPToolsetOptions {
|
|
|
134
133
|
* ```
|
|
135
134
|
*/
|
|
136
135
|
export declare function mcpToolset_20251120(options: MCPToolsetOptions): ServerTool;
|
|
137
|
-
//#endregion
|
|
138
136
|
//# sourceMappingURL=mcpToolset.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcpToolset.d.cts","names":["Anthropic"],"sources":["../../src/tools/mcpToolset.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"mcpToolset.d.cts","names":["Anthropic"],"sources":["../../src/tools/mcpToolset.ts"],"mappings":";;;;;iBAMiB;;;;;EAKf;;;;;;EAMA;;;;;;YAOU,iBAAiB,eAAe;;;;iBAK3B;;;;EAIf;;;;;EAKA,gBAAgB;;;;;EAKhB,UAAU;;;;EAIV,eAAeA,YAAU,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA2FhB,oBAAoB,SAAS,oBAAoB"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import Anthropic$1 from "@anthropic-ai/sdk";
|
|
2
2
|
import { ServerTool } from "@langchain/core/tools";
|
|
3
|
-
//#region src/tools/mcpToolset.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Configuration for a single tool in the MCP toolset.
|
|
6
5
|
*/
|
|
@@ -134,5 +133,4 @@ export interface MCPToolsetOptions {
|
|
|
134
133
|
* ```
|
|
135
134
|
*/
|
|
136
135
|
export declare function mcpToolset_20251120(options: MCPToolsetOptions): ServerTool;
|
|
137
|
-
//#endregion
|
|
138
136
|
//# sourceMappingURL=mcpToolset.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcpToolset.d.ts","names":["Anthropic"],"sources":["../../src/tools/mcpToolset.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"mcpToolset.d.ts","names":["Anthropic"],"sources":["../../src/tools/mcpToolset.ts"],"mappings":";;;;;iBAMiB;;;;;EAKf;;;;;;EAMA;;;;;;YAOU,iBAAiB,eAAe;;;;iBAK3B;;;;EAIf;;;;;EAKA,gBAAgB;;;;;EAKhB,UAAU;;;;EAIV,eAAeA,YAAU,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA2FhB,oBAAoB,SAAS,oBAAoB"}
|
package/dist/tools/mcpToolset.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/tools/mcpToolset.ts
|
|
2
2
|
/**
|
|
3
3
|
* Creates an MCP toolset that connects to a remote MCP server to access its tools.
|
|
4
4
|
* This enables Claude to use tools from MCP servers without implementing a separate MCP client.
|
|
@@ -104,7 +104,6 @@ function mcpToolset_20251120(options) {
|
|
|
104
104
|
cache_control: options.cacheControl
|
|
105
105
|
};
|
|
106
106
|
}
|
|
107
|
-
//#endregion
|
|
108
107
|
export { mcpToolset_20251120 };
|
|
109
108
|
|
|
110
109
|
//# sourceMappingURL=mcpToolset.js.map
|
package/dist/tools/memory.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_types = require("./types.cjs");
|
|
2
2
|
let _langchain_core_tools = require("@langchain/core/tools");
|
|
3
|
-
|
|
3
|
+
// src/tools/memory.ts
|
|
4
4
|
/**
|
|
5
5
|
* Creates an Anthropic memory tool that can be used with ChatAnthropic.
|
|
6
6
|
*
|
|
@@ -48,7 +48,6 @@ function memory_20250818(options) {
|
|
|
48
48
|
};
|
|
49
49
|
return memoryTool;
|
|
50
50
|
}
|
|
51
|
-
//#endregion
|
|
52
51
|
exports.memory_20250818 = memory_20250818;
|
|
53
52
|
|
|
54
53
|
//# sourceMappingURL=memory.cjs.map
|
package/dist/tools/memory.d.cts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Memory20250818Command, Memory20250818CommandSchema, MemoryTool20250818Options } from "./types.cjs";
|
|
2
2
|
import { DynamicStructuredTool } from "@langchain/core/tools";
|
|
3
|
-
//#region src/tools/memory.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Creates an Anthropic memory tool that can be used with ChatAnthropic.
|
|
6
5
|
*
|
|
@@ -35,5 +34,4 @@ import { DynamicStructuredTool } from "@langchain/core/tools";
|
|
|
35
34
|
* @see https://docs.anthropic.com/en/docs/agents-and-tools/tool-use/memory-tool
|
|
36
35
|
*/
|
|
37
36
|
export declare function memory_20250818(options?: MemoryTool20250818Options): DynamicStructuredTool<typeof Memory20250818CommandSchema, Memory20250818Command, unknown, string | Promise<string>>;
|
|
38
|
-
//#endregion
|
|
39
37
|
//# sourceMappingURL=memory.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memory.d.cts","names":[],"sources":["../../src/tools/memory.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"memory.d.cts","names":[],"sources":["../../src/tools/memory.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA2CgB,gBAAgB,UAAU,4BAoBnB,6BACZ,6BACP,yCAES"}
|
package/dist/tools/memory.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Memory20250818Command, Memory20250818CommandSchema, MemoryTool20250818Options } from "./types.js";
|
|
2
2
|
import { DynamicStructuredTool } from "@langchain/core/tools";
|
|
3
|
-
//#region src/tools/memory.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Creates an Anthropic memory tool that can be used with ChatAnthropic.
|
|
6
5
|
*
|
|
@@ -35,5 +34,4 @@ import { DynamicStructuredTool } from "@langchain/core/tools";
|
|
|
35
34
|
* @see https://docs.anthropic.com/en/docs/agents-and-tools/tool-use/memory-tool
|
|
36
35
|
*/
|
|
37
36
|
export declare function memory_20250818(options?: MemoryTool20250818Options): DynamicStructuredTool<typeof Memory20250818CommandSchema, Memory20250818Command, unknown, string | Promise<string>>;
|
|
38
|
-
//#endregion
|
|
39
37
|
//# sourceMappingURL=memory.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memory.d.ts","names":[],"sources":["../../src/tools/memory.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"memory.d.ts","names":[],"sources":["../../src/tools/memory.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA2CgB,gBAAgB,UAAU,4BAoBnB,6BACZ,6BACP,yCAES"}
|
package/dist/tools/memory.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Memory20250818CommandSchema } from "./types.js";
|
|
2
2
|
import { tool } from "@langchain/core/tools";
|
|
3
|
-
|
|
3
|
+
// src/tools/memory.ts
|
|
4
4
|
/**
|
|
5
5
|
* Creates an Anthropic memory tool that can be used with ChatAnthropic.
|
|
6
6
|
*
|
|
@@ -48,7 +48,6 @@ function memory_20250818(options) {
|
|
|
48
48
|
};
|
|
49
49
|
return memoryTool;
|
|
50
50
|
}
|
|
51
|
-
//#endregion
|
|
52
51
|
export { memory_20250818 };
|
|
53
52
|
|
|
54
53
|
//# sourceMappingURL=memory.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_types = require("./types.cjs");
|
|
2
2
|
let _langchain_core_tools = require("@langchain/core/tools");
|
|
3
|
-
|
|
3
|
+
// src/tools/textEditor.ts
|
|
4
4
|
/**
|
|
5
5
|
* Creates an Anthropic text editor tool for Claude 4.x models that can view and modify text files.
|
|
6
6
|
*
|
|
@@ -71,7 +71,6 @@ function textEditor_20250728(options) {
|
|
|
71
71
|
};
|
|
72
72
|
return textEditorTool;
|
|
73
73
|
}
|
|
74
|
-
//#endregion
|
|
75
74
|
exports.textEditor_20250728 = textEditor_20250728;
|
|
76
75
|
|
|
77
76
|
//# sourceMappingURL=textEditor.cjs.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { TextEditor20250728Command, TextEditor20250728CommandSchema } from "./types.cjs";
|
|
2
2
|
import { DynamicStructuredTool } from "@langchain/core/tools";
|
|
3
|
-
//#region src/tools/textEditor.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Options for the text editor tool (Claude 4.x version).
|
|
6
5
|
*/
|
|
@@ -70,5 +69,4 @@ export interface TextEditor20250728Options {
|
|
|
70
69
|
* @see https://docs.anthropic.com/en/docs/agents-and-tools/tool-use/text-editor-tool
|
|
71
70
|
*/
|
|
72
71
|
export declare function textEditor_20250728(options?: TextEditor20250728Options): DynamicStructuredTool<typeof TextEditor20250728CommandSchema, TextEditor20250728Command, unknown, string | Promise<string>>;
|
|
73
|
-
//#endregion
|
|
74
72
|
//# sourceMappingURL=textEditor.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textEditor.d.cts","names":[],"sources":["../../src/tools/textEditor.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"textEditor.d.cts","names":[],"sources":["../../src/tools/textEditor.ts"],"mappings":";;;;;iBAYiB;;;;;EAKf,WAAW,MAAM,uCAAuC;;;;;EAKxD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAwDc,oBAAoB,UAAU,4BAyBnB,6BAChB,iCACP,6CAES"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { TextEditor20250728Command, TextEditor20250728CommandSchema } from "./types.js";
|
|
2
2
|
import { DynamicStructuredTool } from "@langchain/core/tools";
|
|
3
|
-
//#region src/tools/textEditor.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Options for the text editor tool (Claude 4.x version).
|
|
6
5
|
*/
|
|
@@ -70,5 +69,4 @@ export interface TextEditor20250728Options {
|
|
|
70
69
|
* @see https://docs.anthropic.com/en/docs/agents-and-tools/tool-use/text-editor-tool
|
|
71
70
|
*/
|
|
72
71
|
export declare function textEditor_20250728(options?: TextEditor20250728Options): DynamicStructuredTool<typeof TextEditor20250728CommandSchema, TextEditor20250728Command, unknown, string | Promise<string>>;
|
|
73
|
-
//#endregion
|
|
74
72
|
//# sourceMappingURL=textEditor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textEditor.d.ts","names":[],"sources":["../../src/tools/textEditor.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"textEditor.d.ts","names":[],"sources":["../../src/tools/textEditor.ts"],"mappings":";;;;;iBAYiB;;;;;EAKf,WAAW,MAAM,uCAAuC;;;;;EAKxD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAwDc,oBAAoB,UAAU,4BAyBnB,6BAChB,iCACP,6CAES"}
|
package/dist/tools/textEditor.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TextEditor20250728CommandSchema } from "./types.js";
|
|
2
2
|
import { tool } from "@langchain/core/tools";
|
|
3
|
-
|
|
3
|
+
// src/tools/textEditor.ts
|
|
4
4
|
/**
|
|
5
5
|
* Creates an Anthropic text editor tool for Claude 4.x models that can view and modify text files.
|
|
6
6
|
*
|
|
@@ -71,7 +71,6 @@ function textEditor_20250728(options) {
|
|
|
71
71
|
};
|
|
72
72
|
return textEditorTool;
|
|
73
73
|
}
|
|
74
|
-
//#endregion
|
|
75
74
|
export { textEditor_20250728 };
|
|
76
75
|
|
|
77
76
|
//# sourceMappingURL=textEditor.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/tools/toolSearch.ts
|
|
2
2
|
/**
|
|
3
3
|
* Creates a regex-based tool search tool that enables Claude to work with hundreds
|
|
4
4
|
* or thousands of tools by dynamically discovering and loading them on-demand.
|
|
@@ -102,7 +102,6 @@ function toolSearchBM25_20251119(options) {
|
|
|
102
102
|
cache_control: options?.cacheControl
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
|
-
//#endregion
|
|
106
105
|
exports.toolSearchBM25_20251119 = toolSearchBM25_20251119;
|
|
107
106
|
exports.toolSearchRegex_20251119 = toolSearchRegex_20251119;
|
|
108
107
|
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import Anthropic$1 from "@anthropic-ai/sdk";
|
|
2
2
|
import { ServerTool } from "@langchain/core/tools";
|
|
3
|
-
//#region src/tools/toolSearch.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Options for the tool search tool.
|
|
6
5
|
*/
|
|
@@ -101,5 +100,4 @@ export declare function toolSearchRegex_20251119(options?: ToolSearchOptions): S
|
|
|
101
100
|
* ```
|
|
102
101
|
*/
|
|
103
102
|
export declare function toolSearchBM25_20251119(options?: ToolSearchOptions): ServerTool;
|
|
104
|
-
//#endregion
|
|
105
103
|
//# sourceMappingURL=toolSearch.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolSearch.d.cts","names":["Anthropic"],"sources":["../../src/tools/toolSearch.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"toolSearch.d.cts","names":["Anthropic"],"sources":["../../src/tools/toolSearch.ts"],"mappings":";;;;;iBAMiB;;;;EAIf,eAAeA,YAAU,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA8ChB,yBACd,UAAU,oBACT;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAsDa,wBACd,UAAU,oBACT"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import Anthropic$1 from "@anthropic-ai/sdk";
|
|
2
2
|
import { ServerTool } from "@langchain/core/tools";
|
|
3
|
-
//#region src/tools/toolSearch.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Options for the tool search tool.
|
|
6
5
|
*/
|
|
@@ -101,5 +100,4 @@ export declare function toolSearchRegex_20251119(options?: ToolSearchOptions): S
|
|
|
101
100
|
* ```
|
|
102
101
|
*/
|
|
103
102
|
export declare function toolSearchBM25_20251119(options?: ToolSearchOptions): ServerTool;
|
|
104
|
-
//#endregion
|
|
105
103
|
//# sourceMappingURL=toolSearch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolSearch.d.ts","names":["Anthropic"],"sources":["../../src/tools/toolSearch.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"toolSearch.d.ts","names":["Anthropic"],"sources":["../../src/tools/toolSearch.ts"],"mappings":";;;;;iBAMiB;;;;EAIf,eAAeA,YAAU,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA8ChB,yBACd,UAAU,oBACT;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAsDa,wBACd,UAAU,oBACT"}
|
package/dist/tools/toolSearch.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/tools/toolSearch.ts
|
|
2
2
|
/**
|
|
3
3
|
* Creates a regex-based tool search tool that enables Claude to work with hundreds
|
|
4
4
|
* or thousands of tools by dynamically discovering and loading them on-demand.
|
|
@@ -102,7 +102,6 @@ function toolSearchBM25_20251119(options) {
|
|
|
102
102
|
cache_control: options?.cacheControl
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
|
-
//#endregion
|
|
106
105
|
export { toolSearchBM25_20251119, toolSearchRegex_20251119 };
|
|
107
106
|
|
|
108
107
|
//# sourceMappingURL=toolSearch.js.map
|
package/dist/tools/types.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
let zod_v4 = require("zod/v4");
|
|
2
|
-
|
|
2
|
+
// src/tools/types.ts
|
|
3
3
|
/**
|
|
4
4
|
* Memory tool command types as defined by Anthropic's memory tool API.
|
|
5
5
|
* @beta
|
|
@@ -192,7 +192,6 @@ const Computer20251124ActionSchema = zod_v4.z.discriminatedUnion("action", [
|
|
|
192
192
|
const Bash20250124ExecuteCommandSchema = zod_v4.z.object({ command: zod_v4.z.string().describe("The bash command to run") });
|
|
193
193
|
const Bash20250124RestartCommandSchema = zod_v4.z.object({ restart: zod_v4.z.literal(true).describe("Set to true to restart the bash session") });
|
|
194
194
|
const Bash20250124CommandSchema = zod_v4.z.union([Bash20250124ExecuteCommandSchema, Bash20250124RestartCommandSchema]);
|
|
195
|
-
//#endregion
|
|
196
195
|
exports.Bash20250124CommandSchema = Bash20250124CommandSchema;
|
|
197
196
|
exports.Bash20250124ExecuteCommandSchema = Bash20250124ExecuteCommandSchema;
|
|
198
197
|
exports.Bash20250124RestartCommandSchema = Bash20250124RestartCommandSchema;
|
package/dist/tools/types.d.cts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import Anthropic$1 from "@anthropic-ai/sdk";
|
|
2
2
|
import { z } from "zod/v4";
|
|
3
|
-
//#region src/tools/types.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Memory tool command types as defined by Anthropic's memory tool API.
|
|
6
5
|
* @beta
|
|
@@ -359,5 +358,4 @@ export declare const Bash20250124CommandSchema: z.ZodUnion<readonly [z.ZodObject
|
|
|
359
358
|
export type Bash20250124ExecuteCommand = z.infer<typeof Bash20250124ExecuteCommandSchema>;
|
|
360
359
|
export type Bash20250124RestartCommand = z.infer<typeof Bash20250124RestartCommandSchema>;
|
|
361
360
|
export type Bash20250124Command = z.infer<typeof Bash20250124CommandSchema>;
|
|
362
|
-
//#endregion
|
|
363
361
|
//# sourceMappingURL=types.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.cts","names":["Anthropic"],"sources":["../../src/tools/types.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.d.cts","names":["Anthropic"],"sources":["../../src/tools/types.ts"],"mappings":";;;;;;;qBAUa,iCA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Aa;YAEpC,qBAAqB,EAAE,aAAa;;;;;qBAQnC,kCAAgC,EAAA;;GAE3C,EAAA,KAAA;qBAEW,kCAAgC,EAAA;;GAE3C,EAAA,KAAA;qBAGW,2BAAyB,EAAA,mBAAA,EAAA;;;;GAGpC,EAAA,KAAA;YAGU,6BAA6B,EAAE,aAClC;YAEG,6BAA6B,EAAE,aAClC;YAEG,sBAAsB,EAAE,aAAa"}
|
package/dist/tools/types.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import Anthropic$1 from "@anthropic-ai/sdk";
|
|
2
2
|
import { z } from "zod/v4";
|
|
3
|
-
//#region src/tools/types.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Memory tool command types as defined by Anthropic's memory tool API.
|
|
6
5
|
* @beta
|
|
@@ -359,5 +358,4 @@ export declare const Bash20250124CommandSchema: z.ZodUnion<readonly [z.ZodObject
|
|
|
359
358
|
export type Bash20250124ExecuteCommand = z.infer<typeof Bash20250124ExecuteCommandSchema>;
|
|
360
359
|
export type Bash20250124RestartCommand = z.infer<typeof Bash20250124RestartCommandSchema>;
|
|
361
360
|
export type Bash20250124Command = z.infer<typeof Bash20250124CommandSchema>;
|
|
362
|
-
//#endregion
|
|
363
361
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","names":["Anthropic"],"sources":["../../src/tools/types.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.d.ts","names":["Anthropic"],"sources":["../../src/tools/types.ts"],"mappings":";;;;;;;qBAUa,iCAA+B,EAAA;;;GAG1C,EAAA,KAAA;qBAEW,mCAAiC,EAAA;;;;GAI5C,EAAA,KAAA;qBAEW,uCAAqC,EAAA;;;;;GAKhD,EAAA,KAAA;qBAEW,mCAAiC,EAAA;;;;;GAK5C,EAAA,KAAA;qBAEW,mCAAiC,EAAA;;;GAG5C,EAAA,KAAA;qBAEW,mCAAiC,EAAA;;;;GAI5C,EAA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AAE,aAAa"}
|
package/dist/tools/types.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
|
-
|
|
2
|
+
// src/tools/types.ts
|
|
3
3
|
/**
|
|
4
4
|
* Memory tool command types as defined by Anthropic's memory tool API.
|
|
5
5
|
* @beta
|
|
@@ -192,7 +192,6 @@ const Computer20251124ActionSchema = z.discriminatedUnion("action", [
|
|
|
192
192
|
const Bash20250124ExecuteCommandSchema = z.object({ command: z.string().describe("The bash command to run") });
|
|
193
193
|
const Bash20250124RestartCommandSchema = z.object({ restart: z.literal(true).describe("Set to true to restart the bash session") });
|
|
194
194
|
const Bash20250124CommandSchema = z.union([Bash20250124ExecuteCommandSchema, Bash20250124RestartCommandSchema]);
|
|
195
|
-
//#endregion
|
|
196
195
|
export { Bash20250124CommandSchema, Bash20250124ExecuteCommandSchema, Bash20250124RestartCommandSchema, Computer20250124ActionSchema, Computer20251124ActionSchema, ComputerDoubleClickActionSchema, ComputerHoldKeyActionSchema, ComputerKeyActionSchema, ComputerLeftClickActionSchema, ComputerLeftClickDragActionSchema, ComputerLeftMouseDownActionSchema, ComputerLeftMouseUpActionSchema, ComputerMiddleClickActionSchema, ComputerMouseMoveActionSchema, ComputerRightClickActionSchema, ComputerScreenshotActionSchema, ComputerScrollActionSchema, ComputerTripleClickActionSchema, ComputerTypeActionSchema, ComputerWaitActionSchema, ComputerZoomActionSchema, Memory20250818CommandSchema, Memory20250818CreateCommandSchema, Memory20250818DeleteCommandSchema, Memory20250818InsertCommandSchema, Memory20250818RenameCommandSchema, Memory20250818StrReplaceCommandSchema, Memory20250818ViewCommandSchema, TextEditor20250728CommandSchema, TextEditor20250728CreateCommandSchema, TextEditor20250728InsertCommandSchema, TextEditor20250728StrReplaceCommandSchema, TextEditor20250728ViewCommandSchema };
|
|
197
196
|
|
|
198
197
|
//# sourceMappingURL=types.js.map
|
package/dist/tools/webFetch.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/tools/webFetch.ts
|
|
2
2
|
/**
|
|
3
3
|
* Creates a web fetch tool that allows Claude to retrieve full content from specified
|
|
4
4
|
* web pages and PDF documents. Claude can only fetch URLs that have been explicitly
|
|
@@ -63,7 +63,6 @@ function webFetch_20250910(options) {
|
|
|
63
63
|
max_content_tokens: options?.maxContentTokens
|
|
64
64
|
};
|
|
65
65
|
}
|
|
66
|
-
//#endregion
|
|
67
66
|
exports.webFetch_20250910 = webFetch_20250910;
|
|
68
67
|
|
|
69
68
|
//# sourceMappingURL=webFetch.cjs.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import Anthropic$1 from "@anthropic-ai/sdk";
|
|
2
2
|
import { ServerTool } from "@langchain/core/tools";
|
|
3
|
-
//#region src/tools/webFetch.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Options for the web fetch tool.
|
|
6
5
|
*/
|
|
@@ -89,5 +88,4 @@ export interface WebFetch20250910Options {
|
|
|
89
88
|
* ```
|
|
90
89
|
*/
|
|
91
90
|
export declare function webFetch_20250910(options?: WebFetch20250910Options): ServerTool;
|
|
92
|
-
//#endregion
|
|
93
91
|
//# sourceMappingURL=webFetch.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webFetch.d.cts","names":["Anthropic"],"sources":["../../src/tools/webFetch.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"webFetch.d.cts","names":["Anthropic"],"sources":["../../src/tools/webFetch.ts"],"mappings":";;;;;iBAMiB;;;;EAIf;;;;;EAKA;;;;;EAKA;;;;EAIA,eAAeA,YAAU,KAAK;;;;;EAK9B;IACE;;;;;;EAMF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAuDc,kBACd,UAAU,0BACT"}
|
package/dist/tools/webFetch.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import Anthropic$1 from "@anthropic-ai/sdk";
|
|
2
2
|
import { ServerTool } from "@langchain/core/tools";
|
|
3
|
-
//#region src/tools/webFetch.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Options for the web fetch tool.
|
|
6
5
|
*/
|
|
@@ -89,5 +88,4 @@ export interface WebFetch20250910Options {
|
|
|
89
88
|
* ```
|
|
90
89
|
*/
|
|
91
90
|
export declare function webFetch_20250910(options?: WebFetch20250910Options): ServerTool;
|
|
92
|
-
//#endregion
|
|
93
91
|
//# sourceMappingURL=webFetch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webFetch.d.ts","names":["Anthropic"],"sources":["../../src/tools/webFetch.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"webFetch.d.ts","names":["Anthropic"],"sources":["../../src/tools/webFetch.ts"],"mappings":";;;;;iBAMiB;;;;EAIf;;;;;EAKA;;;;;EAKA;;;;EAIA,eAAeA,YAAU,KAAK;;;;;EAK9B;IACE;;;;;;EAMF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAuDc,kBACd,UAAU,0BACT"}
|