cc-claw 0.20.16 → 0.20.17

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/cli.js +4 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -33,7 +33,7 @@ var VERSION;
33
33
  var init_version = __esm({
34
34
  "src/version.ts"() {
35
35
  "use strict";
36
- VERSION = true ? "0.20.16" : (() => {
36
+ VERSION = true ? "0.20.17" : (() => {
37
37
  try {
38
38
  return JSON.parse(readFileSync(join(process.cwd(), "package.json"), "utf-8")).version ?? "unknown";
39
39
  } catch {
@@ -13715,6 +13715,9 @@ function spawnQuery(adapter, config2, model2, cancelState, thinkingLevel, timeou
13715
13715
  ...config2.cwd ? { cwd: config2.cwd } : {}
13716
13716
  });
13717
13717
  proc.unref();
13718
+ if (proc.stdin) {
13719
+ proc.stdin.end();
13720
+ }
13718
13721
  cancelState.process = proc;
13719
13722
  const timeoutState = { firstResponse: false, contentSilence: false };
13720
13723
  let timedOut = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-claw",
3
- "version": "0.20.16",
3
+ "version": "0.20.17",
4
4
  "description": "CC-Claw: Personal AI assistant on Telegram — multi-backend (Claude, Gemini, Codex, Cursor), sub-agent orchestration, MCP management",
5
5
  "type": "module",
6
6
  "main": "dist/cli.js",