zen-code 1.7.2 → 1.7.3

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.
@@ -32467,8 +32467,8 @@ ${a.join(`
32467
32467
  };
32468
32468
  return /* @__PURE__ */ X.jsx(Se, { children: e(t) });
32469
32469
  }, ine = ({ message: t, messageNumber: e }) => {
32470
- const { getToolUIRender: n, client: r } = cp(), s = new kO(t, r), a = s.getInputRepaired(), i = a?.title ? `: ${a.title}` : a?.description ? `: ${a.description}` : "", l = n(t.name);
32471
- let c = sne(t.name);
32470
+ const { getToolUIRender: n, client: r } = cp(), s = new kO(t, r), a = s.getInputRepaired(), i = a?.title ? `: ${a.title}` : a?.description ? `: ${a.description}` : "", l = t.name ? n(t.name) : null;
32471
+ let c = sne(t.name || "");
32472
32472
  return c = t.status === "error" ? "red" : "yellow", /* @__PURE__ */ X.jsxs(Ge, { flexDirection: "column", children: [
32473
32473
  /* @__PURE__ */ X.jsx(Ge, { children: /* @__PURE__ */ X.jsxs(Se, { color: c, children: [
32474
32474
  e,
@@ -63836,7 +63836,7 @@ const Gge = async () => {
63836
63836
  if (process.env.REDIS_URL && process.env.CHECKPOINT_TYPE === "redis" || process.env.CHECKPOINT_TYPE === "shallow/redis") {
63837
63837
  if (process.env.CHECKPOINT_TYPE === "redis") {
63838
63838
  console.debug("LG | Using redis as checkpoint");
63839
- const { RedisSaver: t } = await import("./index-DYdarsWc.mjs");
63839
+ const { RedisSaver: t } = await import("./index-DKhHig17.mjs");
63840
63840
  return await t.fromUrl(process.env.REDIS_URL, {
63841
63841
  defaultTTL: 60,
63842
63842
  // TTL in minutes
@@ -63845,18 +63845,18 @@ const Gge = async () => {
63845
63845
  }
63846
63846
  if (process.env.CHECKPOINT_TYPE === "shallow/redis") {
63847
63847
  console.debug("LG | Using shallow redis as checkpoint");
63848
- const { ShallowRedisSaver: t } = await import("./shallow-BjjNrNpu.mjs");
63848
+ const { ShallowRedisSaver: t } = await import("./shallow-EzvM7E4z.mjs");
63849
63849
  return await t.fromUrl(process.env.REDIS_URL);
63850
63850
  }
63851
63851
  }
63852
63852
  if (process.env.DATABASE_URL) {
63853
63853
  console.debug("LG | Using postgres as checkpoint");
63854
- const { createPGCheckpoint: t } = await import("./checkpoint-DxiUsHMy-BeDA0H1X.mjs");
63854
+ const { createPGCheckpoint: t } = await import("./checkpoint-DxiUsHMy-BpkSBEDL.mjs");
63855
63855
  return t();
63856
63856
  }
63857
63857
  if (process.env.SQLITE_DATABASE_URI) {
63858
63858
  console.debug("LG | Using sqlite as checkpoint");
63859
- const { SqliteSaver: t } = await import("./checkpoint-1sAx_j1E-DLg6lOgi.mjs");
63859
+ const { SqliteSaver: t } = await import("./checkpoint-1sAx_j1E-CgdHrEDc.mjs");
63860
63860
  return await t.fromConnStringAsync(process.env.SQLITE_DATABASE_URI);
63861
63861
  }
63862
63862
  return console.log("LG | You are using memory as checkpoint!"), console.log(
@@ -63870,7 +63870,7 @@ const Gge = async () => {
63870
63870
  let t;
63871
63871
  if (process.env.REDIS_URL) {
63872
63872
  console.debug("LG | Using redis as stream queue");
63873
- const { RedisStreamQueue: e } = await import("./queue-BSCnCent-BynYg041.mjs");
63873
+ const { RedisStreamQueue: e } = await import("./queue-BSCnCent-CuPJBAO0.mjs");
63874
63874
  t = e;
63875
63875
  } else
63876
63876
  t = cM;
@@ -1,6 +1,6 @@
1
1
  import { K as T } from "./kysely-Bchvsze0.mjs";
2
2
  import { F as r } from "./sql-CJsUpKEQ.mjs";
3
- import { B as f, T as l, c as y, m } from "./app-CZVxdL_t.mjs";
3
+ import { B as f, T as l, c as y, m } from "./app-QLT8tZMr.mjs";
4
4
  const g = ["source", "step", "parents"];
5
5
  const E = g;
6
6
  class w extends f {
@@ -1,4 +1,4 @@
1
- import { T as l, B as N, W as k, m as y } from "./app-CZVxdL_t.mjs";
1
+ import { T as l, B as N, W as k, m as y } from "./app-QLT8tZMr.mjs";
2
2
  import w from "pg";
3
3
  const S = (h) => [
4
4
  "checkpoints",
@@ -1,4 +1,4 @@
1
- import { B as C, u as v, c as x, T as $, m as I } from "./app-CZVxdL_t.mjs";
1
+ import { B as C, u as v, c as x, T as $, m as I } from "./app-QLT8tZMr.mjs";
2
2
  import { createClient as O, createCluster as N } from "redis";
3
3
  const W = [
4
4
  {
@@ -1,4 +1,4 @@
1
- import { a as u, C as h } from "./app-CZVxdL_t.mjs";
1
+ import { a as u, C as h } from "./app-QLT8tZMr.mjs";
2
2
  import { createClient as n } from "redis";
3
3
  class r extends u {
4
4
  constructor(s, e = !0, i = 300) {
@@ -1,4 +1,4 @@
1
- import { B as $, u as g } from "./app-CZVxdL_t.mjs";
1
+ import { B as $, u as g } from "./app-QLT8tZMr.mjs";
2
2
  import { createClient as T } from "redis";
3
3
  function k(u) {
4
4
  if (u === null || typeof u != "object") return JSON.stringify(u);
package/dist/zen-code.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import "./app-CZVxdL_t.mjs";
1
+ import "./app-QLT8tZMr.mjs";
2
2
  import "chalk";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zen-code",
3
- "version": "1.7.2",
3
+ "version": "1.7.3",
4
4
  "description": "",
5
5
  "main": "cli.js",
6
6
  "bin": "cli.js",