@kodizm/acp 0.5.0 → 0.5.1
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/dist/index.js +10 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -29196,10 +29196,18 @@ async function buildClaudeBackend() {
|
|
|
29196
29196
|
const sdk = await Promise.resolve().then(() => (init_sdk(), exports_sdk));
|
|
29197
29197
|
const driver = new ClaudeDriver2({
|
|
29198
29198
|
credentials: pickClaudeCredentials(process.env),
|
|
29199
|
-
agentInfo: { version: "0.5.
|
|
29199
|
+
agentInfo: { version: "0.5.1" },
|
|
29200
29200
|
sdk: {
|
|
29201
29201
|
async* query(args) {
|
|
29202
|
-
|
|
29202
|
+
const optsIn = args.options;
|
|
29203
|
+
const isolated = {
|
|
29204
|
+
prompt: args.prompt,
|
|
29205
|
+
options: {
|
|
29206
|
+
...optsIn ?? {},
|
|
29207
|
+
settingSources: []
|
|
29208
|
+
}
|
|
29209
|
+
};
|
|
29210
|
+
for await (const message of sdk.query(isolated)) {
|
|
29203
29211
|
yield message;
|
|
29204
29212
|
}
|
|
29205
29213
|
}
|