@anthropic-ai/claude-code 2.0.58 → 2.0.60

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 (36) hide show
  1. package/cli.js +1823 -1639
  2. package/package.json +1 -1
  3. package/sdk-tools.d.ts +28 -1
  4. package/vendor/claude-code-jetbrains-plugin/lib/annotations-23.0.0.jar +0 -0
  5. package/vendor/claude-code-jetbrains-plugin/lib/claude-code-jetbrains-plugin-0.1.12-beta-searchableOptions.jar +0 -0
  6. package/vendor/claude-code-jetbrains-plugin/lib/claude-code-jetbrains-plugin-0.1.12-beta.jar +0 -0
  7. package/vendor/claude-code-jetbrains-plugin/lib/config-1.4.3.jar +0 -0
  8. package/vendor/claude-code-jetbrains-plugin/lib/jansi-2.4.1.jar +0 -0
  9. package/vendor/claude-code-jetbrains-plugin/lib/kotlin-logging-jvm-7.0.0.jar +0 -0
  10. package/vendor/claude-code-jetbrains-plugin/lib/kotlin-reflect-2.0.21.jar +0 -0
  11. package/vendor/claude-code-jetbrains-plugin/lib/kotlin-sdk-jvm-0.4.0.jar +0 -0
  12. package/vendor/claude-code-jetbrains-plugin/lib/kotlin-stdlib-2.1.20.jar +0 -0
  13. package/vendor/claude-code-jetbrains-plugin/lib/kotlinx-coroutines-core-jvm-1.9.0.jar +0 -0
  14. package/vendor/claude-code-jetbrains-plugin/lib/kotlinx-coroutines-slf4j-1.9.0.jar +0 -0
  15. package/vendor/claude-code-jetbrains-plugin/lib/kotlinx-io-bytestring-jvm-0.5.4.jar +0 -0
  16. package/vendor/claude-code-jetbrains-plugin/lib/kotlinx-io-core-jvm-0.5.4.jar +0 -0
  17. package/vendor/claude-code-jetbrains-plugin/lib/kotlinx-serialization-core-jvm-1.8.1.jar +0 -0
  18. package/vendor/claude-code-jetbrains-plugin/lib/kotlinx-serialization-json-jvm-1.8.1.jar +0 -0
  19. package/vendor/claude-code-jetbrains-plugin/lib/ktor-client-cio-jvm-3.0.2.jar +0 -0
  20. package/vendor/claude-code-jetbrains-plugin/lib/ktor-client-core-jvm-3.0.2.jar +0 -0
  21. package/vendor/claude-code-jetbrains-plugin/lib/ktor-events-jvm-3.0.2.jar +0 -0
  22. package/vendor/claude-code-jetbrains-plugin/lib/ktor-http-cio-jvm-3.0.2.jar +0 -0
  23. package/vendor/claude-code-jetbrains-plugin/lib/ktor-http-jvm-3.0.2.jar +0 -0
  24. package/vendor/claude-code-jetbrains-plugin/lib/ktor-io-jvm-3.0.2.jar +0 -0
  25. package/vendor/claude-code-jetbrains-plugin/lib/ktor-network-jvm-3.0.2.jar +0 -0
  26. package/vendor/claude-code-jetbrains-plugin/lib/ktor-network-tls-jvm-3.0.2.jar +0 -0
  27. package/vendor/claude-code-jetbrains-plugin/lib/ktor-serialization-jvm-3.0.2.jar +0 -0
  28. package/vendor/claude-code-jetbrains-plugin/lib/ktor-server-cio-jvm-3.0.2.jar +0 -0
  29. package/vendor/claude-code-jetbrains-plugin/lib/ktor-server-core-jvm-3.0.2.jar +0 -0
  30. package/vendor/claude-code-jetbrains-plugin/lib/ktor-server-sse-jvm-3.0.2.jar +0 -0
  31. package/vendor/claude-code-jetbrains-plugin/lib/ktor-server-websockets-jvm-3.0.2.jar +0 -0
  32. package/vendor/claude-code-jetbrains-plugin/lib/ktor-sse-jvm-3.0.2.jar +0 -0
  33. package/vendor/claude-code-jetbrains-plugin/lib/ktor-utils-jvm-3.0.2.jar +0 -0
  34. package/vendor/claude-code-jetbrains-plugin/lib/ktor-websocket-serialization-jvm-3.0.2.jar +0 -0
  35. package/vendor/claude-code-jetbrains-plugin/lib/ktor-websockets-jvm-3.0.2.jar +0 -0
  36. package/vendor/claude-code-jetbrains-plugin/lib/slf4j-api-2.0.16.jar +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-code",
3
- "version": "2.0.58",
3
+ "version": "2.0.60",
4
4
  "bin": {
5
5
  "claude": "cli.js"
6
6
  },
package/sdk-tools.d.ts CHANGED
@@ -26,7 +26,8 @@ export type ToolInputSchemas =
26
26
  | TodoWriteInput
27
27
  | WebFetchInput
28
28
  | WebSearchInput
29
- | AskUserQuestionInput;
29
+ | AskUserQuestionInput
30
+ | AgentOutputInput;
30
31
 
31
32
  export interface AgentInput {
32
33
  /**
@@ -49,6 +50,10 @@ export interface AgentInput {
49
50
  * Optional agent ID to resume from. If provided, the agent will continue from the previous execution transcript.
50
51
  */
51
52
  resume?: string;
53
+ /**
54
+ * Set to true to run this agent in the background. Use AgentOutputTool to read the output later.
55
+ */
56
+ run_in_background?: boolean;
52
57
  }
53
58
  export interface BashInput {
54
59
  /**
@@ -94,6 +99,14 @@ export interface BashOutputInput {
94
99
  filter?: string;
95
100
  }
96
101
  export interface ExitPlanModeInput {
102
+ /**
103
+ * Whether to launch a swarm to implement the plan
104
+ */
105
+ launchSwarm?: boolean;
106
+ /**
107
+ * Number of teammates to spawn in the swarm
108
+ */
109
+ teammateCount?: number;
97
110
  [k: string]: unknown;
98
111
  }
99
112
  export interface FileEditInput {
@@ -1476,3 +1489,17 @@ export interface AskUserQuestionInput {
1476
1489
  [k: string]: string;
1477
1490
  };
1478
1491
  }
1492
+ export interface AgentOutputInput {
1493
+ /**
1494
+ * The agent ID to retrieve results for
1495
+ */
1496
+ agentId: string;
1497
+ /**
1498
+ * Whether to block until results are ready
1499
+ */
1500
+ block?: boolean;
1501
+ /**
1502
+ * Maximum time to wait in seconds
1503
+ */
1504
+ wait_up_to?: number;
1505
+ }