@ai-sdk/harness-claude-code 1.0.103 → 1.0.104
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/CHANGELOG.md +9 -0
- package/dist/bridge/index.mjs +28 -5
- package/dist/bridge/index.mjs.map +1 -1
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/bridge/create-emit-stream-event.ts +50 -22
- package/src/claude-code-harness.ts +6 -1
package/dist/index.js
CHANGED
|
@@ -260,7 +260,7 @@ var inboundMessageSchema = z.discriminatedUnion("type", [
|
|
|
260
260
|
]);
|
|
261
261
|
|
|
262
262
|
// src/version.ts
|
|
263
|
-
var VERSION = true ? "1.0.
|
|
263
|
+
var VERSION = true ? "1.0.104" : "0.0.0-test";
|
|
264
264
|
|
|
265
265
|
// src/claude-code-harness.ts
|
|
266
266
|
var CLAUDE_CODE_CLIENT_APP = `ai-sdk/harness-claude-code/${VERSION}`;
|
|
@@ -958,12 +958,16 @@ function createClaudeCode(settings = {}) {
|
|
|
958
958
|
);
|
|
959
959
|
}
|
|
960
960
|
} else {
|
|
961
|
-
warnCredentialBrokeringUnavailable();
|
|
962
961
|
sandboxClaudeEnvironment = await applyCredentialForwarding({
|
|
963
962
|
environment: sandboxClaudeEnvironment,
|
|
964
963
|
credentialEnvironmentVariables: CLAUDE_CODE_CREDENTIAL_ENVIRONMENT_VARIABLES,
|
|
965
964
|
credentialForwarding: settings.credentialForwarding
|
|
966
965
|
});
|
|
966
|
+
warnCredentialBrokeringUnavailable({
|
|
967
|
+
environment: claudeEnvironment,
|
|
968
|
+
forwardedEnvironment: sandboxClaudeEnvironment,
|
|
969
|
+
credentialEnvironmentVariables: CLAUDE_CODE_CREDENTIAL_ENVIRONMENT_VARIABLES
|
|
970
|
+
});
|
|
967
971
|
}
|
|
968
972
|
const bootstrapDir = posix.resolve(
|
|
969
973
|
defaultWorkingDirectory,
|