@anthropic-ai/claude-code 1.0.106 → 1.0.108
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 +994 -1009
- package/package.json +1 -1
- package/sdk-tools.d.ts +0 -8
- package/sdk.d.ts +3 -10
- package/sdk.mjs +1 -1
- package/vendor/claude-code.vsix +0 -0
package/package.json
CHANGED
package/sdk-tools.d.ts
CHANGED
|
@@ -70,14 +70,6 @@ export interface BashInput {
|
|
|
70
70
|
* Set to true to run this command in the background. Use BashOutput to read the output later.
|
|
71
71
|
*/
|
|
72
72
|
run_in_background?: boolean;
|
|
73
|
-
/**
|
|
74
|
-
* whether to run this command in sandboxed mode: command run in this mode may not write to the filesystem or use the network, but they can read files, analyze data, and report back to you. When possible, run commands (e.g. grep) in this mode to present a smoother experience for the human, who isn't prompted to approve commands run in sandbox mode. If you run a command in sandbox mode and it looks like it fails because it needs write access after all, try again in non-sandbox mode
|
|
75
|
-
*/
|
|
76
|
-
sandbox?: boolean;
|
|
77
|
-
/**
|
|
78
|
-
* Optional shell path to use instead of the default shell. The snapshot path will be set to undefined as well. Used primarily for testing.
|
|
79
|
-
*/
|
|
80
|
-
shellExecutable?: string;
|
|
81
73
|
}
|
|
82
74
|
export interface BashOutputInput {
|
|
83
75
|
/**
|
package/sdk.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { MessageParam as APIUserMessage } from '@anthropic-ai/sdk/resources';
|
|
2
|
+
import type { BetaMessage as APIAssistantMessage, BetaUsage as Usage } from '@anthropic-ai/sdk/resources/beta/messages/messages.mjs';
|
|
2
3
|
import type { UUID } from 'crypto';
|
|
3
4
|
import type { CallToolResult } from '@modelcontextprotocol/sdk/types.js';
|
|
4
5
|
import { type McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
@@ -251,15 +252,7 @@ export type SDKSystemMessage = SDKMessageBase & {
|
|
|
251
252
|
slash_commands: string[];
|
|
252
253
|
output_style: string;
|
|
253
254
|
};
|
|
254
|
-
export type
|
|
255
|
-
type: 'system';
|
|
256
|
-
subtype: 'compact_boundary';
|
|
257
|
-
compact_metadata: {
|
|
258
|
-
trigger: 'manual' | 'auto';
|
|
259
|
-
pre_tokens: number;
|
|
260
|
-
};
|
|
261
|
-
};
|
|
262
|
-
export type SDKMessage = SDKAssistantMessage | SDKUserMessage | SDKUserMessageReplay | SDKResultMessage | SDKSystemMessage | SDKCompactBoundaryMessage;
|
|
255
|
+
export type SDKMessage = SDKAssistantMessage | SDKUserMessage | SDKUserMessageReplay | SDKResultMessage | SDKSystemMessage;
|
|
263
256
|
export interface Query extends AsyncGenerator<SDKMessage, void> {
|
|
264
257
|
/**
|
|
265
258
|
* Interrupt the query.
|
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: 1.0.
|
|
5
|
+
// Version: 1.0.108
|
|
6
6
|
|
|
7
7
|
// Want to see the unminified source? We're hiring!
|
|
8
8
|
// https://job-boards.greenhouse.io/anthropic/jobs/4816199008
|
package/vendor/claude-code.vsix
CHANGED
|
Binary file
|