lmnr-cli 0.1.13 → 0.1.14

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.cjs CHANGED
@@ -31,7 +31,6 @@ let pino = require("pino");
31
31
  let pino$3 = __toESM(pino, 1);
32
32
  pino = __toESM(pino);
33
33
  let pino_pretty = require("pino-pretty");
34
- let node_crypto = require("node:crypto");
35
34
  let node_fs_promises = require("node:fs/promises");
36
35
  let node_path = require("node:path");
37
36
  let node_os = require("node:os");
@@ -42,6 +41,7 @@ let fs_promises = require("fs/promises");
42
41
  fs_promises = __toESM(fs_promises);
43
42
  let cli_table3 = require("cli-table3");
44
43
  cli_table3 = __toESM(cli_table3);
44
+ let node_crypto = require("node:crypto");
45
45
  let open = require("open");
46
46
  open = __toESM(open);
47
47
  let node_fs = require("node:fs");
@@ -58,7 +58,7 @@ const DEBUG_SESSION_FILE = "debug-session.json";
58
58
  const errorMessage = (error) => error instanceof Error ? error.message : String(error);
59
59
  //#endregion
60
60
  //#region package.json
61
- var version$1 = "0.1.13";
61
+ var version$1 = "0.1.14";
62
62
  //#endregion
63
63
  //#region ../../node_modules/.pnpm/dotenv@17.4.2/node_modules/dotenv/lib/main.js
64
64
  var require_main = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -329,6 +329,12 @@ var require_main = /* @__PURE__ */ __commonJSMin(((exports, module) => {
329
329
  module.exports = DotenvModule;
330
330
  }));
331
331
  //#endregion
332
+ //#region ../../node_modules/.pnpm/uuid@14.0.0/node_modules/uuid/dist-node/rng.js
333
+ const rnds8 = new Uint8Array(16);
334
+ function rng() {
335
+ return crypto.getRandomValues(rnds8);
336
+ }
337
+ //#endregion
332
338
  //#region ../../node_modules/.pnpm/uuid@14.0.0/node_modules/uuid/dist-node/stringify.js
333
339
  const byteToHex = [];
334
340
  for (let i = 0; i < 256; ++i) byteToHex.push((i + 256).toString(16).slice(1));
@@ -336,12 +342,6 @@ function unsafeStringify(arr, offset = 0) {
336
342
  return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();
337
343
  }
338
344
  //#endregion
339
- //#region ../../node_modules/.pnpm/uuid@14.0.0/node_modules/uuid/dist-node/rng.js
340
- const rnds8 = new Uint8Array(16);
341
- function rng() {
342
- return crypto.getRandomValues(rnds8);
343
- }
344
- //#endregion
345
345
  //#region ../../node_modules/.pnpm/uuid@14.0.0/node_modules/uuid/dist-node/v4.js
346
346
  function v4(options, buf, offset) {
347
347
  if (!buf && !options && crypto.randomUUID) return crypto.randomUUID();
@@ -364,7 +364,7 @@ function _v4(options, buf, offset) {
364
364
  //#endregion
365
365
  //#region ../client/dist/index.mjs
366
366
  var import_main = require_main();
367
- var version = "0.8.31";
367
+ var version = "0.8.32";
368
368
  function getLangVersion() {
369
369
  if (typeof process !== "undefined" && process.versions && process.versions.node) return `node-${process.versions.node}`;
370
370
  if (typeof navigator !== "undefined" && navigator.userAgent) return `browser-${navigator.userAgent}`;
@@ -1868,8 +1868,7 @@ function fitColumnWidths(contentWidths, terminalWidth) {
1868
1868
  const totalContentWidth = contentWidths.reduce((sum, w) => sum + w, 0);
1869
1869
  if (totalContentWidth + overhead <= terminalWidth) return;
1870
1870
  const availableContent = terminalWidth - overhead;
1871
- const minColWidth = 5;
1872
- return contentWidths.map((w) => Math.max(minColWidth + PADDING_RIGHT, Math.floor(w / totalContentWidth * availableContent) + PADDING_RIGHT));
1871
+ return contentWidths.map((w) => Math.max(7, Math.floor(w / totalContentWidth * availableContent) + PADDING_RIGHT));
1873
1872
  }
1874
1873
  function truncate(str, maxLen) {
1875
1874
  if (maxLen < 1) return str;
@@ -3138,7 +3137,15 @@ Available tables:
3138
3137
 
3139
3138
  signal_events
3140
3139
  id (UUID), signal_id (UUID), trace_id (UUID), run_id (UUID),
3141
- name (String), payload (String), timestamp (DateTime64)
3140
+ name (String), payload (String), timestamp (DateTime64),
3141
+ severity (UInt8: 0=INFO|1=WARNING|2=CRITICAL), summary (String),
3142
+ clusters (Array(UUID))
3143
+
3144
+ clusters
3145
+ id (UUID), signal_id (UUID), name (String),
3146
+ level (UInt8), parent_id (UUID), num_signal_events (UInt32),
3147
+ num_children_clusters (UInt16),
3148
+ created_at (DateTime64), updated_at (DateTime64)
3142
3149
 
3143
3150
  signal_runs
3144
3151
  signal_id (UUID), job_id (UUID), trigger_id (UUID), run_id (UUID),