@anthropic-ai/claude-code 2.0.15 → 2.0.17
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/cli.js +1616 -1623
- package/package.json +1 -1
- package/sdk.d.ts +4 -1
- package/sdk.mjs +1 -1
package/package.json
CHANGED
package/sdk.d.ts
CHANGED
|
@@ -227,7 +227,9 @@ export type Options = {
|
|
|
227
227
|
customSystemPrompt?: string;
|
|
228
228
|
cwd?: string;
|
|
229
229
|
disallowedTools?: string[];
|
|
230
|
-
env?:
|
|
230
|
+
env?: {
|
|
231
|
+
[envVar: string]: string | undefined;
|
|
232
|
+
};
|
|
231
233
|
executable?: 'bun' | 'deno' | 'node';
|
|
232
234
|
executableArgs?: string[];
|
|
233
235
|
extraArgs?: Record<string, string | null>;
|
|
@@ -352,6 +354,7 @@ export type SDKSystemMessage = SDKMessageBase & {
|
|
|
352
354
|
subtype: 'init';
|
|
353
355
|
agents?: string[];
|
|
354
356
|
apiKeySource: ApiKeySource;
|
|
357
|
+
claude_code_version: string;
|
|
355
358
|
cwd: string;
|
|
356
359
|
tools: string[];
|
|
357
360
|
mcp_servers: {
|
package/sdk.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
// (c) Anthropic PBC. All rights reserved. Use is subject to the Legal Agreements outlined here: https://docs.claude.com/en/docs/claude-code/legal-and-compliance.
|
|
3
3
|
|
|
4
|
-
// Version: 2.0.
|
|
4
|
+
// Version: 2.0.17
|
|
5
5
|
|
|
6
6
|
// Want to see the unminified source? We're hiring!
|
|
7
7
|
// https://job-boards.greenhouse.io/anthropic/jobs/4816199008
|