@tenux/cli 0.0.9 → 0.0.10

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.
@@ -215,16 +215,15 @@ async function handleClaudeQuery(command, supabase) {
215
215
  ];
216
216
  if (model) args.push("--model", model);
217
217
  if (session_id) args.push("--resume", session_id);
218
- args.push("-p", prompt);
219
218
  const isWindows = process.platform === "win32";
220
219
  const claudeBin = isWindows ? "claude.cmd" : "claude";
221
220
  const proc = spawn(claudeBin, args, {
222
221
  cwd,
223
222
  shell: isWindows,
224
- stdio: ["ignore", "pipe", "pipe"]
225
- // env is omitted — Node inherits parent process.env automatically.
226
- // Spreading env on Windows can lose system variables and cause ENOENT.
223
+ stdio: ["pipe", "pipe", "pipe"]
227
224
  });
225
+ proc.stdin.write(prompt);
226
+ proc.stdin.end();
228
227
  let seq = 0;
229
228
  let capturedSessionId = null;
230
229
  let batch = [];
package/dist/cli.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  loadConfig,
9
9
  saveConfig,
10
10
  updateConfig
11
- } from "./chunk-3OM63UZS.js";
11
+ } from "./chunk-V2C4ESKK.js";
12
12
 
13
13
  // src/cli.ts
14
14
  import { Command } from "commander";
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  resetSupabase,
8
8
  saveConfig,
9
9
  updateConfig
10
- } from "./chunk-3OM63UZS.js";
10
+ } from "./chunk-V2C4ESKK.js";
11
11
  export {
12
12
  Relay,
13
13
  configExists,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tenux/cli",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "description": "Tenux — mobile-first IDE for 10x engineering",
5
5
  "author": "Antelogic LLC",
6
6
  "license": "MIT",