@anthropic-ai/claude-code 1.0.53 → 1.0.55
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 +754 -747
- package/package.json +1 -1
- package/sdk.mjs +4 -3
- package/vendor/claude-code.vsix +0 -0
package/package.json
CHANGED
package/sdk.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// (c) Anthropic PBC. All rights reserved. Use is subject to Anthropic's Commercial Terms of Service (https://www.anthropic.com/legal/commercial-terms).
|
|
2
2
|
|
|
3
|
-
// Version: 1.0.
|
|
3
|
+
// Version: 1.0.55
|
|
4
4
|
|
|
5
5
|
// src/entrypoints/sdk.ts
|
|
6
6
|
import { spawn } from "child_process";
|
|
@@ -106,7 +106,8 @@ function query({
|
|
|
106
106
|
resume,
|
|
107
107
|
model,
|
|
108
108
|
fallbackModel,
|
|
109
|
-
strictMcpConfig
|
|
109
|
+
strictMcpConfig,
|
|
110
|
+
printStderr
|
|
110
111
|
} = {}
|
|
111
112
|
}) {
|
|
112
113
|
if (!process.env.CLAUDE_CODE_ENTRYPOINT) {
|
|
@@ -172,7 +173,7 @@ function query({
|
|
|
172
173
|
streamToStdin(prompt, child.stdin, abortController);
|
|
173
174
|
childStdin = child.stdin;
|
|
174
175
|
}
|
|
175
|
-
if (process.env.DEBUG) {
|
|
176
|
+
if (process.env.DEBUG || printStderr) {
|
|
176
177
|
child.stderr.on("data", (data) => {
|
|
177
178
|
console.error("Claude Code stderr:", data.toString());
|
|
178
179
|
});
|
package/vendor/claude-code.vsix
CHANGED
|
Binary file
|