@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.
- package/dist/index.js +5 -9
- 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
|
-
|
|
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.
|
|
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();
|