@anthropic-ai/claude-code 2.1.104 → 2.1.107

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 (3) hide show
  1. package/cli.js +4634 -4208
  2. package/package.json +1 -1
  3. package/sdk-tools.d.ts +5 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-code",
3
- "version": "2.1.104",
3
+ "version": "2.1.107",
4
4
  "bin": {
5
5
  "claude": "cli.js"
6
6
  },
package/sdk-tools.d.ts CHANGED
@@ -2152,9 +2152,13 @@ export interface ConfigInput {
2152
2152
  }
2153
2153
  export interface EnterWorktreeInput {
2154
2154
  /**
2155
- * Optional name for the worktree. Each "/"-separated segment may contain only letters, digits, dots, underscores, and dashes; max 64 chars total. A random name is generated if not provided.
2155
+ * Optional name for a new worktree. Each "/"-separated segment may contain only letters, digits, dots, underscores, and dashes; max 64 chars total. A random name is generated if not provided. Mutually exclusive with `path`.
2156
2156
  */
2157
2157
  name?: string;
2158
+ /**
2159
+ * Path to an existing worktree of the current repository to switch into instead of creating a new one. Must appear in `git worktree list` for the current repo. Mutually exclusive with `name`.
2160
+ */
2161
+ path?: string;
2158
2162
  }
2159
2163
  export interface ExitWorktreeInput {
2160
2164
  /**