@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.
Files changed (2) hide show
  1. package/dist/index.js +10 -2
  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.0" },
29199
+ agentInfo: { version: "0.5.1" },
29200
29200
  sdk: {
29201
29201
  async* query(args) {
29202
- for await (const message of sdk.query(args)) {
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kodizm/acp",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Custom ACP server bridging Claude Code, codex, and opencode CLIs through a single Kodizm-flavored protocol surface.",
5
5
  "type": "module",
6
6
  "bin": {