@kodizm/acp 0.6.2 → 0.6.3

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 +5 -9
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -62186,14 +62186,7 @@ function dispatchOpencodeEvent(event, handlers) {
62186
62186
  }
62187
62187
  }
62188
62188
  function isTurnComplete(event) {
62189
- if (event.type !== "message.updated")
62190
- return false;
62191
- const info = event.properties.info;
62192
- if (info === undefined)
62193
- return false;
62194
- if (info.role !== "assistant")
62195
- return false;
62196
- return typeof info.time?.completed === "number";
62189
+ return event.type === "session.idle";
62197
62190
  }
62198
62191
  var MESSAGE_BUS_TYPES;
62199
62192
  var init_prompt_stream = __esm(() => {
@@ -62641,7 +62634,7 @@ var init_driver2 = __esm(() => {
62641
62634
  // package.json
62642
62635
  var package_default = {
62643
62636
  name: "@kodizm/acp",
62644
- version: "0.6.2",
62637
+ version: "0.6.3",
62645
62638
  description: "Custom ACP server bridging Claude Code, codex, and opencode CLIs through a single Kodizm-flavored protocol surface.",
62646
62639
  type: "module",
62647
62640
  bin: {
@@ -63337,6 +63330,9 @@ async function main() {
63337
63330
  await transport.close();
63338
63331
  });
63339
63332
  await server3.serve();
63333
+ if (activeDriver?.disposeAll !== undefined) {
63334
+ await activeDriver.disposeAll();
63335
+ }
63340
63336
  }
63341
63337
  if (import.meta.main) {
63342
63338
  await main();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kodizm/acp",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
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": {