@anthropic-ai/claude-agent-sdk 0.0.4 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (5) hide show
  1. package/README.md +18 -15
  2. package/cli.js +957 -1031
  3. package/package.json +1 -1
  4. package/sdk-tools.d.ts +0 -42
  5. package/sdk.mjs +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-agent-sdk",
3
- "version": "0.0.4",
3
+ "version": "0.1.0",
4
4
  "main": "sdk.mjs",
5
5
  "types": "sdk.d.ts",
6
6
  "engines": {
package/sdk-tools.d.ts CHANGED
@@ -14,7 +14,6 @@ export type ToolInputSchemas =
14
14
  | BashOutputInput
15
15
  | ExitPlanModeInput
16
16
  | FileEditInput
17
- | FileMultiEditInput
18
17
  | FileReadInput
19
18
  | FileWriteInput
20
19
  | GlobInput
@@ -105,47 +104,6 @@ export interface FileEditInput {
105
104
  */
106
105
  replace_all?: boolean;
107
106
  }
108
- export interface FileMultiEditInput {
109
- /**
110
- * The absolute path to the file to modify
111
- */
112
- file_path: string;
113
- /**
114
- * Array of edit operations to perform sequentially on the file
115
- *
116
- * @minItems 1
117
- */
118
- edits: [
119
- {
120
- /**
121
- * The text to replace
122
- */
123
- old_string: string;
124
- /**
125
- * The text to replace it with
126
- */
127
- new_string: string;
128
- /**
129
- * Replace all occurences of old_string (default false).
130
- */
131
- replace_all?: boolean;
132
- },
133
- ...{
134
- /**
135
- * The text to replace
136
- */
137
- old_string: string;
138
- /**
139
- * The text to replace it with
140
- */
141
- new_string: string;
142
- /**
143
- * Replace all occurences of old_string (default false).
144
- */
145
- replace_all?: boolean;
146
- }[]
147
- ];
148
- }
149
107
  export interface FileReadInput {
150
108
  /**
151
109
  * The absolute path to the file to read
package/sdk.mjs CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  // (c) Anthropic PBC. All rights reserved. Use is subject to Anthropic's Commercial Terms of Service (https://www.anthropic.com/legal/commercial-terms).
4
4
 
5
- // Version: 0.0.4
5
+ // Version: 0.1.0
6
6
 
7
7
  // Want to see the unminified source? We're hiring!
8
8
  // https://job-boards.greenhouse.io/anthropic/jobs/4816199008
@@ -14154,7 +14154,7 @@ function query({
14154
14154
  const dirname = join(filename, "..");
14155
14155
  pathToClaudeCodeExecutable = join(dirname, "cli.js");
14156
14156
  }
14157
- process.env.CLAUDE_AGENT_SDK_VERSION = "0.0.4";
14157
+ process.env.CLAUDE_AGENT_SDK_VERSION = "0.1.0";
14158
14158
  return createSharedQuery({
14159
14159
  prompt,
14160
14160
  options: {