@tenux/cli 0.0.7 → 0.0.8

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.
@@ -184,6 +184,7 @@ var Relay = class {
184
184
  // src/handlers/claude.ts
185
185
  import { spawn } from "child_process";
186
186
  import { resolve } from "path";
187
+ import { existsSync as existsSync2, mkdirSync as mkdirSync2 } from "fs";
187
188
  async function handleClaudeQuery(command, supabase) {
188
189
  const {
189
190
  prompt,
@@ -200,6 +201,9 @@ async function handleClaudeQuery(command, supabase) {
200
201
  cwd = resolved;
201
202
  }
202
203
  }
204
+ if (!existsSync2(cwd)) {
205
+ mkdirSync2(cwd, { recursive: true });
206
+ }
203
207
  const args = [
204
208
  "--print",
205
209
  // non-interactive
package/dist/cli.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  loadConfig,
9
9
  saveConfig,
10
10
  updateConfig
11
- } from "./chunk-OBVRQLAG.js";
11
+ } from "./chunk-W724HH4O.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-OBVRQLAG.js";
10
+ } from "./chunk-W724HH4O.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.7",
3
+ "version": "0.0.8",
4
4
  "description": "Tenux — mobile-first IDE for 10x engineering",
5
5
  "author": "Antelogic LLC",
6
6
  "license": "MIT",