@langchain/anthropic 1.6.0 → 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.
Files changed (111) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/_virtual/_rolldown/runtime.cjs +1 -2
  3. package/dist/chat_models.cjs +2 -3
  4. package/dist/chat_models.d.cts +2 -8
  5. package/dist/chat_models.d.cts.map +1 -1
  6. package/dist/chat_models.d.ts +2 -8
  7. package/dist/chat_models.d.ts.map +1 -1
  8. package/dist/chat_models.js +2 -3
  9. package/dist/index.d.cts +1 -1
  10. package/dist/index.d.ts +1 -1
  11. package/dist/output_parsers.cjs +1 -2
  12. package/dist/output_parsers.js +1 -2
  13. package/dist/profiles.cjs +1 -2
  14. package/dist/profiles.js +1 -2
  15. package/dist/tools/bash.cjs +1 -2
  16. package/dist/tools/bash.d.cts +0 -2
  17. package/dist/tools/bash.d.cts.map +1 -1
  18. package/dist/tools/bash.d.ts +0 -2
  19. package/dist/tools/bash.d.ts.map +1 -1
  20. package/dist/tools/bash.js +1 -2
  21. package/dist/tools/codeExecution.cjs +1 -2
  22. package/dist/tools/codeExecution.d.cts +0 -2
  23. package/dist/tools/codeExecution.d.cts.map +1 -1
  24. package/dist/tools/codeExecution.d.ts +0 -2
  25. package/dist/tools/codeExecution.d.ts.map +1 -1
  26. package/dist/tools/codeExecution.js +1 -2
  27. package/dist/tools/computer.cjs +1 -2
  28. package/dist/tools/computer.d.cts +0 -2
  29. package/dist/tools/computer.d.cts.map +1 -1
  30. package/dist/tools/computer.d.ts +0 -2
  31. package/dist/tools/computer.d.ts.map +1 -1
  32. package/dist/tools/computer.js +1 -2
  33. package/dist/tools/index.cjs +1 -2
  34. package/dist/tools/index.d.cts +1 -3
  35. package/dist/tools/index.d.cts.map +1 -1
  36. package/dist/tools/index.d.ts +1 -3
  37. package/dist/tools/index.d.ts.map +1 -1
  38. package/dist/tools/index.js +1 -2
  39. package/dist/tools/mcpToolset.cjs +1 -2
  40. package/dist/tools/mcpToolset.d.cts +0 -2
  41. package/dist/tools/mcpToolset.d.cts.map +1 -1
  42. package/dist/tools/mcpToolset.d.ts +0 -2
  43. package/dist/tools/mcpToolset.d.ts.map +1 -1
  44. package/dist/tools/mcpToolset.js +1 -2
  45. package/dist/tools/memory.cjs +1 -2
  46. package/dist/tools/memory.d.cts +0 -2
  47. package/dist/tools/memory.d.cts.map +1 -1
  48. package/dist/tools/memory.d.ts +0 -2
  49. package/dist/tools/memory.d.ts.map +1 -1
  50. package/dist/tools/memory.js +1 -2
  51. package/dist/tools/textEditor.cjs +1 -2
  52. package/dist/tools/textEditor.d.cts +0 -2
  53. package/dist/tools/textEditor.d.cts.map +1 -1
  54. package/dist/tools/textEditor.d.ts +0 -2
  55. package/dist/tools/textEditor.d.ts.map +1 -1
  56. package/dist/tools/textEditor.js +1 -2
  57. package/dist/tools/toolSearch.cjs +1 -2
  58. package/dist/tools/toolSearch.d.cts +0 -2
  59. package/dist/tools/toolSearch.d.cts.map +1 -1
  60. package/dist/tools/toolSearch.d.ts +0 -2
  61. package/dist/tools/toolSearch.d.ts.map +1 -1
  62. package/dist/tools/toolSearch.js +1 -2
  63. package/dist/tools/types.cjs +1 -2
  64. package/dist/tools/types.d.cts +0 -2
  65. package/dist/tools/types.d.cts.map +1 -1
  66. package/dist/tools/types.d.ts +0 -2
  67. package/dist/tools/types.d.ts.map +1 -1
  68. package/dist/tools/types.js +1 -2
  69. package/dist/tools/webFetch.cjs +1 -2
  70. package/dist/tools/webFetch.d.cts +0 -2
  71. package/dist/tools/webFetch.d.cts.map +1 -1
  72. package/dist/tools/webFetch.d.ts +0 -2
  73. package/dist/tools/webFetch.d.ts.map +1 -1
  74. package/dist/tools/webFetch.js +1 -2
  75. package/dist/tools/webSearch.cjs +1 -2
  76. package/dist/tools/webSearch.d.cts +0 -2
  77. package/dist/tools/webSearch.d.cts.map +1 -1
  78. package/dist/tools/webSearch.d.ts +0 -2
  79. package/dist/tools/webSearch.d.ts.map +1 -1
  80. package/dist/tools/webSearch.js +1 -2
  81. package/dist/types.d.cts +0 -2
  82. package/dist/types.d.cts.map +1 -1
  83. package/dist/types.d.ts +0 -2
  84. package/dist/types.d.ts.map +1 -1
  85. package/dist/utils/content.cjs +1 -2
  86. package/dist/utils/content.js +1 -2
  87. package/dist/utils/errors.cjs +1 -2
  88. package/dist/utils/errors.js +1 -2
  89. package/dist/utils/index.cjs +1 -2
  90. package/dist/utils/index.js +1 -2
  91. package/dist/utils/message_inputs.cjs +2 -3
  92. package/dist/utils/message_inputs.cjs.map +1 -1
  93. package/dist/utils/message_inputs.js +2 -3
  94. package/dist/utils/message_inputs.js.map +1 -1
  95. package/dist/utils/message_outputs.cjs +1 -2
  96. package/dist/utils/message_outputs.js +1 -2
  97. package/dist/utils/params.cjs +1 -2
  98. package/dist/utils/params.js +1 -2
  99. package/dist/utils/prompts.cjs +1 -2
  100. package/dist/utils/prompts.d.cts +0 -2
  101. package/dist/utils/prompts.d.cts.map +1 -1
  102. package/dist/utils/prompts.d.ts +0 -2
  103. package/dist/utils/prompts.d.ts.map +1 -1
  104. package/dist/utils/prompts.js +1 -2
  105. package/dist/utils/standard.cjs +1 -2
  106. package/dist/utils/standard.js +1 -2
  107. package/dist/utils/stream_events.cjs +1 -2
  108. package/dist/utils/stream_events.js +1 -2
  109. package/dist/utils/tools.cjs +1 -2
  110. package/dist/utils/tools.js +1 -2
  111. package/package.json +11 -11
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @langchain/anthropic
2
2
 
3
+ ## 1.6.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#12117](https://github.com/langchain-ai/langchainjs/pull/12117) [`1d57fca`](https://github.com/langchain-ai/langchainjs/commit/1d57fca1aa7bc89911fe5ead28afe4430fb0fb58) Thanks [@Siretu](https://github.com/Siretu)! - fix(anthropic): keep streamed `server_tool_use` input when replaying messages
8
+
3
9
  ## 1.6.0
4
10
 
5
11
  ### Minor Changes
@@ -1,4 +1,4 @@
1
- //#region \0rolldown/runtime.js
1
+ // \0rolldown/runtime.js
2
2
  var __create = Object.create;
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -19,5 +19,4 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
19
19
  value: mod,
20
20
  enumerable: true
21
21
  }) : target, mod));
22
- //#endregion
23
22
  exports.__toESM = __toESM;
@@ -19,7 +19,7 @@ let _langchain_core_utils_types = require("@langchain/core/utils/types");
19
19
  let _langchain_core_utils_function_calling = require("@langchain/core/utils/function_calling");
20
20
  let _langchain_core_utils_standard_schema = require("@langchain/core/utils/standard_schema");
21
21
  let _langchain_core_language_models_structured_output = require("@langchain/core/language_models/structured_output");
22
- //#region src/chat_models.ts
22
+ // src/chat_models.ts
23
23
  const MCP_CREDENTIALS_REDACTED = "**REDACTED**";
24
24
  const MODEL_DEFAULT_MAX_OUTPUT_TOKENS = {
25
25
  "claude-opus-5": 16384,
@@ -684,7 +684,7 @@ var ChatAnthropicMessages = class extends _langchain_core_language_models_chat_m
684
684
  model: modelOrFields
685
685
  } : modelOrFields ?? {};
686
686
  super(fields ?? {});
687
- this._addVersion("@langchain/anthropic", "1.6.0");
687
+ this._addVersion("@langchain/anthropic", "1.6.1");
688
688
  const gatewayConfig = (0, _langchain_core_utils_gateway.resolveLangSmithGatewayConfig)({
689
689
  baseURL: fields.anthropicApiUrl ?? fields.clientOptions?.baseURL ?? ((0, _langchain_core_utils_env.getEnvironmentVariable)("ANTHROPIC_API_URL") || (0, _langchain_core_utils_env.getEnvironmentVariable)("ANTHROPIC_BASE_URL") || void 0),
690
690
  providerPath: "anthropic"
@@ -1164,7 +1164,6 @@ var ChatAnthropicMessages = class extends _langchain_core_language_models_chat_m
1164
1164
  }
1165
1165
  };
1166
1166
  var ChatAnthropic = class extends ChatAnthropicMessages {};
1167
- //#endregion
1168
1167
  exports.ChatAnthropic = ChatAnthropic;
1169
1168
  exports.ChatAnthropicMessages = ChatAnthropicMessages;
1170
1169
 
@@ -12,7 +12,6 @@ import { Runnable } from "@langchain/core/runnables";
12
12
  import { InteropZodType } from "@langchain/core/utils/types";
13
13
  import { AnthropicBeta } from "@anthropic-ai/sdk/resources";
14
14
  import { SerializableSchema } from "@langchain/core/utils/standard_schema";
15
- //#region src/chat_models.d.ts
16
15
  /**
17
16
  * Cache control configuration for Anthropic prompt caching.
18
17
  * @see https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching
@@ -787,14 +786,12 @@ export declare class ChatAnthropicMessages<CallOptions extends ChatAnthropicCall
787
786
  metadata?: Anthropic.Metadata;
788
787
  output_config?: Anthropic.OutputConfig;
789
788
  service_tier?: 'auto' | 'standard_only';
789
+ speed?: 'standard' | 'fast' | null;
790
790
  stop_sequences?: Array<string>;
791
791
  system?: string | Array<Anthropic.TextBlockParam>;
792
- temperature?: number;
793
792
  thinking?: Anthropic.ThinkingConfigParam;
794
793
  tool_choice?: Anthropic.ToolChoice;
795
794
  tools?: Array<Anthropic.ToolUnion>;
796
- top_k?: number;
797
- top_p?: number;
798
795
  user_profile_id?: string;
799
796
  workspace_id?: string;
800
797
  stream?: boolean | undefined;
@@ -813,14 +810,12 @@ export declare class ChatAnthropicMessages<CallOptions extends ChatAnthropicCall
813
810
  metadata?: Anthropic.Metadata;
814
811
  output_config?: Anthropic.OutputConfig;
815
812
  service_tier?: 'auto' | 'standard_only';
813
+ speed?: 'standard' | 'fast' | null;
816
814
  stop_sequences?: Array<string>;
817
815
  system?: string | Array<Anthropic.TextBlockParam>;
818
- temperature?: number;
819
816
  thinking?: Anthropic.ThinkingConfigParam;
820
817
  tool_choice?: Anthropic.ToolChoice;
821
818
  tools?: Array<Anthropic.ToolUnion>;
822
- top_k?: number;
823
- top_p?: number;
824
819
  user_profile_id?: string;
825
820
  workspace_id?: string;
826
821
  stream?: boolean | undefined;
@@ -891,5 +886,4 @@ export declare class ChatAnthropicMessages<CallOptions extends ChatAnthropicCall
891
886
  }>;
892
887
  }
893
888
  export declare class ChatAnthropic extends ChatAnthropicMessages {}
894
- //#endregion
895
889
  //# sourceMappingURL=chat_models.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"chat_models.d.cts","names":[],"sources":["../src/chat_models.ts"],"mappings":";;;;;;;;;;;;;;;;;;;iBA2IiB;EACf;EACA;;iBAGe,iCACP,0BAA0B,KAAK;EACvC,QAAQ;;;;;EAKR,cAAc;;;;;EAKd,UAAU;;;;;EAKV;;;;;EAKA,eAAe;;;;;EAKf,eAAe;;;;;;EAMf,QAAQ;;;;EAIR,cAAc;;;;;;EAMd;;;;;;;;;;;EAWA,gBAAgB;;;;;;;;;;;;EAahB;;;;;YA+HU,2BACR,UAAU,kBACA;;;;iBAKG;;;;;;;EAOf;;;;;;EAOA;;;;;;;;;EAUA;;EAGA;;;;;;EAOA;;EAGA;;EAGA;;EAEA;;EAGA;;EAGA,YAAY;;EAEZ,QAAQ;;EAGR,gBAAgB;;;;;EAMhB,mBAAmB;;;;;EAMnB;;;;;;EAQA,gBAAgB,SAAS;;;;EAKzB,WAAW;;;;EAKX,oBAAoB;;;;;;;;;;;;;;;;;;EAmBpB,eAAe;;;;;;EAOf;;;;;;EAOA,QAAQ;;;;;YAME,qBAAqB,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,UAAU,SAAS,4CAGrB,QACF,gBAAgB,0BAAuB;;;;;;;;;;;;;;EAqBnC,UACJ,UAAU,eACV,oCACA,aAAa,2BACZ,QAAQ;;;;;;;YA6CK,sBACd,SAAS,wCAAwC,QACjD,UAAU,0BACT,QAAQ,OAAO;;YAgDF,oBACd,SAAS,+BAA+B,QACxC,SAAS,0BACR,QAAQ,UAAU;EA4CrB;;;;;;;;;;;;;;;;;;MAqBI,WAAW;EAIf,qBAEE,kBAAkB,sBAAsB,qBAExC,cACI,eAAe,aACf,mBAAmB,aAEnB,qBACJ,SAAS,uCACR,SAAS,wBAAwB;EAEpC,qBAEE,kBAAkB,sBAAsB,qBAExC,cACI,eAAe,aACf,mBAAmB,aAEnB,qBACJ,SAAS,sCACR,SAAS;IAA0B,KAAK;IAAa,QAAQ;;;qBA0JrD,sBAAsB"}
@@ -12,7 +12,6 @@ import { ChatModelStreamEvent } from "@langchain/core/language_models/event";
12
12
  import { ModelProfile } from "@langchain/core/language_models/profile";
13
13
  import { Runnable } from "@langchain/core/runnables";
14
14
  import { AnthropicBeta } from "@anthropic-ai/sdk/resources";
15
- //#region src/chat_models.d.ts
16
15
  /**
17
16
  * Cache control configuration for Anthropic prompt caching.
18
17
  * @see https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching
@@ -787,14 +786,12 @@ export declare class ChatAnthropicMessages<CallOptions extends ChatAnthropicCall
787
786
  metadata?: Anthropic.Metadata;
788
787
  output_config?: Anthropic.OutputConfig;
789
788
  service_tier?: 'auto' | 'standard_only';
789
+ speed?: 'standard' | 'fast' | null;
790
790
  stop_sequences?: Array<string>;
791
791
  system?: string | Array<Anthropic.TextBlockParam>;
792
- temperature?: number;
793
792
  thinking?: Anthropic.ThinkingConfigParam;
794
793
  tool_choice?: Anthropic.ToolChoice;
795
794
  tools?: Array<Anthropic.ToolUnion>;
796
- top_k?: number;
797
- top_p?: number;
798
795
  user_profile_id?: string;
799
796
  workspace_id?: string;
800
797
  stream?: boolean | undefined;
@@ -813,14 +810,12 @@ export declare class ChatAnthropicMessages<CallOptions extends ChatAnthropicCall
813
810
  metadata?: Anthropic.Metadata;
814
811
  output_config?: Anthropic.OutputConfig;
815
812
  service_tier?: 'auto' | 'standard_only';
813
+ speed?: 'standard' | 'fast' | null;
816
814
  stop_sequences?: Array<string>;
817
815
  system?: string | Array<Anthropic.TextBlockParam>;
818
- temperature?: number;
819
816
  thinking?: Anthropic.ThinkingConfigParam;
820
817
  tool_choice?: Anthropic.ToolChoice;
821
818
  tools?: Array<Anthropic.ToolUnion>;
822
- top_k?: number;
823
- top_p?: number;
824
819
  user_profile_id?: string;
825
820
  workspace_id?: string;
826
821
  stream?: boolean | undefined;
@@ -891,5 +886,4 @@ export declare class ChatAnthropicMessages<CallOptions extends ChatAnthropicCall
891
886
  }>;
892
887
  }
893
888
  export declare class ChatAnthropic extends ChatAnthropicMessages {}
894
- //#endregion
895
889
  //# sourceMappingURL=chat_models.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"chat_models.d.ts","names":[],"sources":["../src/chat_models.ts"],"mappings":";;;;;;;;;;;;;;;;;;;iBA2IiB;EACf;EACA;;iBAGe,iCACP,0BAA0B,KAAK;EACvC,QAAQ;;;;;EAKR,cAAc;;;;;EAKd,UAAU;;;;;EAKV;;;;;EAKA,eAAe;;;;;EAKf,eAAe;;;;;;EAMf,QAAQ;;;;EAIR,cAAc;;;;;;EAMd;;;;;;;;;;;EAWA,gBAAgB;;;;;;;;;;;;EAahB;;;;;YA+HU,2BACR,UAAU,kBACA;;;;iBAKG;;;;;;;EAOf;;;;;;EAOA;;;;;;;;;EAUA;;EAGA;;;;;;EAOA;;EAGA;;EAGA;;EAEA;;EAGA;;EAGA,YAAY;;EAEZ,QAAQ;;EAGR,gBAAgB;;;;;EAMhB,mBAAmB;;;;;EAMnB;;;;;;EAQA,gBAAgB,SAAS;;;;EAKzB,WAAW;;;;EAKX,oBAAoB;;;;;;;;;;;;;;;;;;EAmBpB,eAAe;;;;;;EAOf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AAK;EAEhB,YAAY,SAAS;EAqErB,YAAY,qCAAqC;;;;;;;;EAmBjD,gCACE,OAAO,mCACP;IAAW;MACV,UAAU,SAAS;EA0Eb,UACP,OAAO,yBACP,SAAS,QAAQ,eAChB,SAAS,wBAAwB,gBAAgB;;;;EAY3C,iBACP,sCACC;YA2GgB,+BACjB,sCACC;YAmBgB,0BACjB,oCACA,mBAAmB;;EAoBrB;;;;;;;;;;;;;;;;;;;;;;;;EAUA;;;;;;;;;;;;;;;;;;;;;EAOO,sBACL,UAAU,eACV,oCACA,aAAa,2BACZ,eAAe;;;;;;;;;;;;;EAwEX,uBACL,UAAU,eACV,oCACA,cAAc,2BACb,eAAe;;EAqCZ,sBACJ,UAAU,eACV,QAAQ,KACJ,UAAU,SAAS,kCACnB,UAAU,SAAS,4CAGrB,QACF,gBAAgB,0BAAuB;;;;;;;;;;;;;;EAqBnC,UACJ,UAAU,eACV,oCACA,aAAa,2BACZ,QAAQ;;;;;;;YA6CK,sBACd,SAAS,wCAAwC,QACjD,UAAU,0BACT,QAAQ,OAAO;;YAgDF,oBACd,SAAS,+BAA+B,QACxC,SAAS,0BACR,QAAQ,UAAU;EA4CrB;;;;;;;;;;;;;;;;;;MAqBI,WAAW;EAIf,qBAEE,kBAAkB,sBAAsB,qBAExC,cACI,eAAe,aACf,mBAAmB,aAEnB,qBACJ,SAAS,uCACR,SAAS,wBAAwB;EAEpC,qBAEE,kBAAkB,sBAAsB,qBAExC,cACI,eAAe,aACf,mBAAmB,aAEnB,qBACJ,SAAS,sCACR,SAAS;IAA0B,KAAK;IAAa,QAAQ;;;qBA0JrD,sBAAsB"}
@@ -19,7 +19,7 @@ import { isInteropZodSchema } from "@langchain/core/utils/types";
19
19
  import { isLangChainTool } from "@langchain/core/utils/function_calling";
20
20
  import { isSerializableSchema } from "@langchain/core/utils/standard_schema";
21
21
  import { assembleStructuredOutputPipeline, createContentParser, createFunctionCallingParser } from "@langchain/core/language_models/structured_output";
22
- //#region src/chat_models.ts
22
+ // src/chat_models.ts
23
23
  const MCP_CREDENTIALS_REDACTED = "**REDACTED**";
24
24
  const MODEL_DEFAULT_MAX_OUTPUT_TOKENS = {
25
25
  "claude-opus-5": 16384,
@@ -684,7 +684,7 @@ var ChatAnthropicMessages = class extends BaseChatModel {
684
684
  model: modelOrFields
685
685
  } : modelOrFields ?? {};
686
686
  super(fields ?? {});
687
- this._addVersion("@langchain/anthropic", "1.6.0");
687
+ this._addVersion("@langchain/anthropic", "1.6.1");
688
688
  const gatewayConfig = resolveLangSmithGatewayConfig({
689
689
  baseURL: fields.anthropicApiUrl ?? fields.clientOptions?.baseURL ?? (getEnvironmentVariable("ANTHROPIC_API_URL") || getEnvironmentVariable("ANTHROPIC_BASE_URL") || void 0),
690
690
  providerPath: "anthropic"
@@ -1164,7 +1164,6 @@ var ChatAnthropicMessages = class extends BaseChatModel {
1164
1164
  }
1165
1165
  };
1166
1166
  var ChatAnthropic = class extends ChatAnthropicMessages {};
1167
- //#endregion
1168
1167
  export { ChatAnthropic, ChatAnthropicMessages };
1169
1168
 
1170
1169
  //# sourceMappingURL=chat_models.js.map
package/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
- import { ChatAnthropicContentBlock } from "./types.cjs";
2
1
  import { AnthropicCacheControl, AnthropicInput, AnthropicMessagesModelId, ChatAnthropic, ChatAnthropicCallOptions, ChatAnthropicInput, ChatAnthropicMessages } from "./chat_models.cjs";
3
2
  import { convertPromptToAnthropic } from "./utils/prompts.cjs";
3
+ import { ChatAnthropicContentBlock } from "./types.cjs";
4
4
  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 "./tools/types.cjs";
5
5
  import { WebSearch20250305Options } from "./tools/webSearch.cjs";
6
6
  import { WebFetch20250910Options } from "./tools/webFetch.cjs";
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { ChatAnthropicContentBlock } from "./types.js";
2
1
  import { AnthropicCacheControl, AnthropicInput, AnthropicMessagesModelId, ChatAnthropic, ChatAnthropicCallOptions, ChatAnthropicInput, ChatAnthropicMessages } from "./chat_models.js";
3
2
  import { convertPromptToAnthropic } from "./utils/prompts.js";
3
+ import { ChatAnthropicContentBlock } from "./types.js";
4
4
  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 "./tools/types.js";
5
5
  import { WebSearch20250305Options } from "./tools/webSearch.js";
6
6
  import { WebFetch20250910Options } from "./tools/webFetch.js";
@@ -1,6 +1,6 @@
1
1
  let _langchain_core_utils_types = require("@langchain/core/utils/types");
2
2
  let _langchain_core_output_parsers = require("@langchain/core/output_parsers");
3
- //#region src/output_parsers.ts
3
+ // src/output_parsers.ts
4
4
  var AnthropicToolsOutputParser = class extends _langchain_core_output_parsers.BaseLLMOutputParser {
5
5
  static lc_name() {
6
6
  return "AnthropicToolsOutputParser";
@@ -63,7 +63,6 @@ function extractToolCalls(content) {
63
63
  });
64
64
  return toolCalls;
65
65
  }
66
- //#endregion
67
66
  exports.AnthropicToolsOutputParser = AnthropicToolsOutputParser;
68
67
  exports.extractToolCalls = extractToolCalls;
69
68
 
@@ -1,6 +1,6 @@
1
1
  import { interopSafeParseAsync } from "@langchain/core/utils/types";
2
2
  import { BaseLLMOutputParser, OutputParserException } from "@langchain/core/output_parsers";
3
- //#region src/output_parsers.ts
3
+ // src/output_parsers.ts
4
4
  var AnthropicToolsOutputParser = class extends BaseLLMOutputParser {
5
5
  static lc_name() {
6
6
  return "AnthropicToolsOutputParser";
@@ -63,7 +63,6 @@ function extractToolCalls(content) {
63
63
  });
64
64
  return toolCalls;
65
65
  }
66
- //#endregion
67
66
  export { AnthropicToolsOutputParser, extractToolCalls };
68
67
 
69
68
  //# sourceMappingURL=output_parsers.js.map
package/dist/profiles.cjs CHANGED
@@ -1,4 +1,4 @@
1
- //#region src/profiles.ts
1
+ // src/profiles.ts
2
2
  const PROFILES = {
3
3
  "claude-haiku-4-5": {
4
4
  maxInputTokens: 2e5,
@@ -324,7 +324,6 @@ const PROFILES = {
324
324
  midConversationTools: true
325
325
  }
326
326
  };
327
- //#endregion
328
327
  exports.default = PROFILES;
329
328
 
330
329
  //# sourceMappingURL=profiles.cjs.map
package/dist/profiles.js CHANGED
@@ -1,4 +1,4 @@
1
- //#region src/profiles.ts
1
+ // src/profiles.ts
2
2
  const PROFILES = {
3
3
  "claude-haiku-4-5": {
4
4
  maxInputTokens: 2e5,
@@ -324,7 +324,6 @@ const PROFILES = {
324
324
  midConversationTools: true
325
325
  }
326
326
  };
327
- //#endregion
328
327
  export { PROFILES as default };
329
328
 
330
329
  //# sourceMappingURL=profiles.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
- //#region src/tools/bash.ts
3
+ // src/tools/bash.ts
4
4
  /**
5
5
  * Creates an Anthropic bash tool for Claude 4 models and Claude 3.7 that enables
6
6
  * shell command execution in a persistent bash session.
@@ -87,7 +87,6 @@ function bash_20250124(options) {
87
87
  };
88
88
  return bashTool;
89
89
  }
90
- //#endregion
91
90
  exports.bash_20250124 = bash_20250124;
92
91
 
93
92
  //# sourceMappingURL=bash.cjs.map
@@ -1,6 +1,5 @@
1
1
  import { Bash20250124Command, Bash20250124CommandSchema } from "./types.cjs";
2
2
  import { DynamicStructuredTool } from "@langchain/core/tools";
3
- //#region src/tools/bash.d.ts
4
3
  /**
5
4
  * Options for the bash tool.
6
5
  */
@@ -83,5 +82,4 @@ export interface Bash20250124Options {
83
82
  * @see https://docs.anthropic.com/en/docs/agents-and-tools/tool-use/bash-tool
84
83
  */
85
84
  export declare function bash_20250124(options?: Bash20250124Options): DynamicStructuredTool<typeof Bash20250124CommandSchema, Bash20250124Command, unknown, string>;
86
- //#endregion
87
85
  //# sourceMappingURL=bash.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bash.d.cts","names":[],"sources":["../../src/tools/bash.ts"],"mappings":";;;;;;iBAYiB;;;;;;EAMf,WAAW,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAyEpC,cAAc,UAAU,sBAsBnB,6BACV,2BACP"}
1
+ {"version":3,"file":"bash.d.cts","names":[],"sources":["../../src/tools/bash.ts"],"mappings":";;;;;iBAYiB;;;;;;EAMf,WAAW,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAyEpC,cAAc,UAAU,sBAsBnB,6BACV,2BACP"}
@@ -1,6 +1,5 @@
1
1
  import { Bash20250124Command, Bash20250124CommandSchema } from "./types.js";
2
2
  import { DynamicStructuredTool } from "@langchain/core/tools";
3
- //#region src/tools/bash.d.ts
4
3
  /**
5
4
  * Options for the bash tool.
6
5
  */
@@ -83,5 +82,4 @@ export interface Bash20250124Options {
83
82
  * @see https://docs.anthropic.com/en/docs/agents-and-tools/tool-use/bash-tool
84
83
  */
85
84
  export declare function bash_20250124(options?: Bash20250124Options): DynamicStructuredTool<typeof Bash20250124CommandSchema, Bash20250124Command, unknown, string>;
86
- //#endregion
87
85
  //# sourceMappingURL=bash.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bash.d.ts","names":[],"sources":["../../src/tools/bash.ts"],"mappings":";;;;;;iBAYiB;;;;;;EAMf,WAAW,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAyEpC,cAAc,UAAU,sBAsBnB,6BACV,2BACP"}
1
+ {"version":3,"file":"bash.d.ts","names":[],"sources":["../../src/tools/bash.ts"],"mappings":";;;;;iBAYiB;;;;;;EAMf,WAAW,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAyEpC,cAAc,UAAU,sBAsBnB,6BACV,2BACP"}
@@ -1,6 +1,6 @@
1
1
  import { Bash20250124CommandSchema } from "./types.js";
2
2
  import { tool } from "@langchain/core/tools";
3
- //#region src/tools/bash.ts
3
+ // src/tools/bash.ts
4
4
  /**
5
5
  * Creates an Anthropic bash tool for Claude 4 models and Claude 3.7 that enables
6
6
  * shell command execution in a persistent bash session.
@@ -87,7 +87,6 @@ function bash_20250124(options) {
87
87
  };
88
88
  return bashTool;
89
89
  }
90
- //#endregion
91
90
  export { bash_20250124 };
92
91
 
93
92
  //# sourceMappingURL=bash.js.map
@@ -1,4 +1,4 @@
1
- //#region src/tools/codeExecution.ts
1
+ // src/tools/codeExecution.ts
2
2
  /**
3
3
  * Creates a code execution tool that allows Claude to run Bash commands and manipulate files
4
4
  * in a secure, sandboxed environment. Claude can analyze data, create visualizations,
@@ -63,7 +63,6 @@ function codeExecution_20250825(options) {
63
63
  cache_control: options?.cacheControl
64
64
  };
65
65
  }
66
- //#endregion
67
66
  exports.codeExecution_20250825 = codeExecution_20250825;
68
67
 
69
68
  //# sourceMappingURL=codeExecution.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/codeExecution.d.ts
4
3
  /**
5
4
  * Options for the code execution tool.
6
5
  */
@@ -68,5 +67,4 @@ export interface CodeExecution20250825Options {
68
67
  * ```
69
68
  */
70
69
  export declare function codeExecution_20250825(options?: CodeExecution20250825Options): ServerTool;
71
- //#endregion
72
70
  //# sourceMappingURL=codeExecution.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"codeExecution.d.cts","names":["Anthropic"],"sources":["../../src/tools/codeExecution.ts"],"mappings":";;;;;;iBAMiB;;;;EAIf,eAAeA,YAAU,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA4DhB,uBACd,UAAU,+BACT"}
1
+ {"version":3,"file":"codeExecution.d.cts","names":["Anthropic"],"sources":["../../src/tools/codeExecution.ts"],"mappings":";;;;;iBAMiB;;;;EAIf,eAAeA,YAAU,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA4DhB,uBACd,UAAU,+BACT"}
@@ -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/codeExecution.d.ts
4
3
  /**
5
4
  * Options for the code execution tool.
6
5
  */
@@ -68,5 +67,4 @@ export interface CodeExecution20250825Options {
68
67
  * ```
69
68
  */
70
69
  export declare function codeExecution_20250825(options?: CodeExecution20250825Options): ServerTool;
71
- //#endregion
72
70
  //# sourceMappingURL=codeExecution.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"codeExecution.d.ts","names":["Anthropic"],"sources":["../../src/tools/codeExecution.ts"],"mappings":";;;;;;iBAMiB;;;;EAIf,eAAeA,YAAU,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA4DhB,uBACd,UAAU,+BACT"}
1
+ {"version":3,"file":"codeExecution.d.ts","names":["Anthropic"],"sources":["../../src/tools/codeExecution.ts"],"mappings":";;;;;iBAMiB;;;;EAIf,eAAeA,YAAU,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA4DhB,uBACd,UAAU,+BACT"}
@@ -1,4 +1,4 @@
1
- //#region src/tools/codeExecution.ts
1
+ // src/tools/codeExecution.ts
2
2
  /**
3
3
  * Creates a code execution tool that allows Claude to run Bash commands and manipulate files
4
4
  * in a secure, sandboxed environment. Claude can analyze data, create visualizations,
@@ -63,7 +63,6 @@ function codeExecution_20250825(options) {
63
63
  cache_control: options?.cacheControl
64
64
  };
65
65
  }
66
- //#endregion
67
66
  export { codeExecution_20250825 };
68
67
 
69
68
  //# sourceMappingURL=codeExecution.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
- //#region src/tools/computer.ts
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":";;;;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"}
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"}
@@ -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":";;;;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"}
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"}
@@ -1,6 +1,6 @@
1
1
  import { Computer20250124ActionSchema, Computer20251124ActionSchema } from "./types.js";
2
2
  import { tool } from "@langchain/core/tools";
3
- //#region src/tools/computer.ts
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
@@ -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
- //#region src/tools/index.ts
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
@@ -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
- //#region src/tools/index.d.ts
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":";;;;;;;;;;;qBA6Ba"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../../src/tools/index.ts"],"mappings":";;;;;;;;;;qBA6Ba"}
@@ -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
- //#region src/tools/index.d.ts
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":";;;;;;;;;;;qBA6Ba"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/tools/index.ts"],"mappings":";;;;;;;;;;qBA6Ba"}
@@ -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
- //#region src/tools/index.ts
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
- //#region src/tools/mcpToolset.ts
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