@tenux/cli 0.0.14 → 0.0.15

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.
@@ -253,6 +253,7 @@ async function handleClaudeQuery(command, supabase) {
253
253
  proc.stdin.end();
254
254
  let seq = 0;
255
255
  let capturedSessionId = null;
256
+ const userId = command.user_id;
256
257
  let batch = [];
257
258
  const batchInterval = 100;
258
259
  const flushBatch = async () => {
@@ -279,6 +280,7 @@ async function handleClaudeQuery(command, supabase) {
279
280
  }
280
281
  batch.push({
281
282
  command_id: command.id,
283
+ user_id: userId,
282
284
  seq: seq++,
283
285
  type: event.type || "assistant",
284
286
  data: event
@@ -286,6 +288,7 @@ async function handleClaudeQuery(command, supabase) {
286
288
  } catch {
287
289
  batch.push({
288
290
  command_id: command.id,
291
+ user_id: userId,
289
292
  seq: seq++,
290
293
  type: "stdout",
291
294
  data: { text: line }
@@ -299,6 +302,7 @@ async function handleClaudeQuery(command, supabase) {
299
302
  stderrText += text;
300
303
  batch.push({
301
304
  command_id: command.id,
305
+ user_id: userId,
302
306
  seq: seq++,
303
307
  type: "stderr",
304
308
  data: { text }
@@ -309,6 +313,7 @@ async function handleClaudeQuery(command, supabase) {
309
313
  if (buffer.trim()) {
310
314
  batch.push({
311
315
  command_id: command.id,
316
+ user_id: userId,
312
317
  seq: seq++,
313
318
  type: "stdout",
314
319
  data: { text: buffer }
@@ -316,6 +321,7 @@ async function handleClaudeQuery(command, supabase) {
316
321
  }
317
322
  batch.push({
318
323
  command_id: command.id,
324
+ user_id: userId,
319
325
  seq: seq++,
320
326
  type: "done",
321
327
  data: { exit_code: exitCode }
package/dist/cli.js CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  loadConfig,
10
10
  saveConfig,
11
11
  updateConfig
12
- } from "./chunk-JN3TO63A.js";
12
+ } from "./chunk-IQO7AGGC.js";
13
13
 
14
14
  // src/cli.ts
15
15
  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-JN3TO63A.js";
10
+ } from "./chunk-IQO7AGGC.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.14",
3
+ "version": "0.0.15",
4
4
  "description": "Tenux — mobile-first IDE for 10x engineering",
5
5
  "author": "Antelogic LLC",
6
6
  "license": "MIT",