@agiflowai/agent-cli 0.2.14 → 0.2.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.
@@ -13201,9 +13201,9 @@ let Yr = class {
13201
13201
  logLevel: process.env.LOG_LEVEL || "info"
13202
13202
  };
13203
13203
  this.runtimeConfig = Pb.parse(e), this.appConfig = Nb.parse({
13204
- VITE_INJECT_AGIFLOW_APP_ENDPOINT: "http://localhost:3003",
13205
- VITE_INJECT_AGIFLOW_APP_DOCKER_ENDPOINT: "http://host.docker.internal:3003",
13206
- VITE_AGENT_CLI_DOCKER_IMAGE: "agent-cli-test",
13204
+ VITE_INJECT_AGIFLOW_APP_ENDPOINT: "https://agiflow.io",
13205
+ VITE_INJECT_AGIFLOW_APP_DOCKER_ENDPOINT: "https://agiflow.io",
13206
+ VITE_AGENT_CLI_DOCKER_IMAGE: "agiflowai/agent-cli:v0.2.11",
13207
13207
  VITE_AGENT_CLI_DOCKER_NETWORK: "",
13208
13208
  VITE_SAVE_RAW: "",
13209
13209
  VITE_MULTIPLEX_SOCKET_PATH: ""
@@ -13417,7 +13417,7 @@ const Ae = () => M.preprocess((e) => {
13417
13417
  VITE_SAVE_RAW: Ae().default(!1)
13418
13418
  });
13419
13419
  function _n(e = !1) {
13420
- return e ? "http://host.docker.internal:3003" : "http://localhost:3003";
13420
+ return e ? "https://agiflow.io" : "https://agiflow.io";
13421
13421
  }
13422
13422
  let ei = class {
13423
13423
  parsedEnv;
package/dist/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { bx as z, bn as H, by as P, bo as M } from "./index-BXUoBnV1.mjs";
2
+ import { bx as z, bn as H, by as P, bo as M } from "./index-BzNCFVFX.mjs";
3
3
  import Q from "node:events";
4
4
  import X from "node:child_process";
5
5
  import Z from "node:path";
package/dist/daemon.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { jsx as e, jsxs as i, Fragment as F } from "react/jsx-runtime";
2
- import { bj as f, bk as V, bl as Y, bm as $, bn as S, bo as D, bp as X, bq as H, br as J, bs as Z, bt as ee, bu as re, bv as ne, bw as oe } from "./index-BXUoBnV1.mjs";
2
+ import { bj as f, bk as V, bl as Y, bm as $, bn as S, bo as D, bp as X, bq as H, br as J, bs as Z, bt as ee, bu as re, bv as ne, bw as oe } from "./index-BzNCFVFX.mjs";
3
3
  import { useQueryClient as ie, useQuery as te, useMutation as M, QueryClientProvider as ce, QueryClient as le } from "@tanstack/react-query";
4
4
  import { useDispatch as de, useSelector as u, shallowEqual as ae, Provider as se } from "react-redux";
5
5
  import P, { useRef as L, useEffect as _, useState as C, useCallback as ue, useMemo as he } from "react";
@@ -1,4 +1,4 @@
1
- import { A as a, a as t, b as n, c as S, d as m, e as o, f as E, g as c, h as A, i as g, j as h, k as v, l as i, m as u, n as r, o as R, p, q as D, r as T, s as M, t as q, u as d, v as O, w as k, x as N, y as _, z as C, B as P, C as l, D as I, E as G, F as U, G as f, H as L, I as Y, J as B, K as V, L as x, M as y, N as z, O as b, P as j, Q as w, R as F, S as H, T as J, U as K, V as Q, W, X, Y as Z, Z as $, _ as ee, $ as se, a0 as ae, a1 as te, a2 as ne, a3 as Se } from "./index-BXUoBnV1.mjs";
1
+ import { A as a, a as t, b as n, c as S, d as m, e as o, f as E, g as c, h as A, i as g, j as h, k as v, l as i, m as u, n as r, o as R, p, q as D, r as T, s as M, t as q, u as d, v as O, w as k, x as N, y as _, z as C, B as P, C as l, D as I, E as G, F as U, G as f, H as L, I as Y, J as B, K as V, L as x, M as y, N as z, O as b, P as j, Q as w, R as F, S as H, T as J, U as K, V as Q, W, X, Y as Z, Z as $, _ as ee, $ as se, a0 as ae, a1 as te, a2 as ne, a3 as Se } from "./index-BzNCFVFX.mjs";
2
2
  export {
3
3
  a as AGENT_EVENT_TYPES,
4
4
  t as AGENT_STATUS,
@@ -59,4 +59,4 @@ export {
59
59
  ne as OutputStreamSchema,
60
60
  Se as TraceIdSchema
61
61
  };
62
- //# sourceMappingURL=index-dyqI6XRC.mjs.map
62
+ //# sourceMappingURL=index-BFZ1d1zd.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-BFZ1d1zd.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -13211,9 +13211,9 @@ let gs = class {
13211
13211
  logLevel: process.env.LOG_LEVEL || "info"
13212
13212
  };
13213
13213
  this.runtimeConfig = KS.parse(t), this.appConfig = AC.parse({
13214
- VITE_INJECT_AGIFLOW_APP_ENDPOINT: "http://localhost:3003",
13215
- VITE_INJECT_AGIFLOW_APP_DOCKER_ENDPOINT: "http://host.docker.internal:3003",
13216
- VITE_AGENT_CLI_DOCKER_IMAGE: "agent-cli-test",
13214
+ VITE_INJECT_AGIFLOW_APP_ENDPOINT: "https://agiflow.io",
13215
+ VITE_INJECT_AGIFLOW_APP_DOCKER_ENDPOINT: "https://agiflow.io",
13216
+ VITE_AGENT_CLI_DOCKER_IMAGE: "agiflowai/agent-cli:v0.2.11",
13217
13217
  VITE_AGENT_CLI_DOCKER_NETWORK: "",
13218
13218
  VITE_SAVE_RAW: "",
13219
13219
  VITE_MULTIPLEX_SOCKET_PATH: ""
@@ -13453,7 +13453,7 @@ const Tt = {
13453
13453
  VITE_SAVE_RAW: gn().default(!1)
13454
13454
  });
13455
13455
  function Vo(t = !1) {
13456
- return t ? "http://host.docker.internal:3003" : "http://localhost:3003";
13456
+ return t ? "https://agiflow.io" : "https://agiflow.io";
13457
13457
  }
13458
13458
  let yc = class {
13459
13459
  parsedEnv;
@@ -20872,7 +20872,7 @@ let Nc = class {
20872
20872
  const t = this.agentConfigService.getStoredAgentSessionId();
20873
20873
  if (t)
20874
20874
  try {
20875
- const { createGetAgentStatus: e } = await Promise.resolve().then(() => jA), { createSendAgentStatus: r } = await Promise.resolve().then(() => LT), { AGENT_STATUS: i } = await import("./index-dyqI6XRC.mjs"), n = e(t, t), a = (await this.multiplexClient.request(n))?.payload?.result || i.IDLE;
20875
+ const { createGetAgentStatus: e } = await Promise.resolve().then(() => jA), { createSendAgentStatus: r } = await Promise.resolve().then(() => LT), { AGENT_STATUS: i } = await import("./index-BFZ1d1zd.mjs"), n = e(t, t), a = (await this.multiplexClient.request(n))?.payload?.result || i.IDLE;
20876
20876
  await this.multiplexClient.publish(
20877
20877
  r(t, {
20878
20878
  agentType: this.agentConfigService.getAgentType() ?? void 0,
@@ -22896,7 +22896,7 @@ let ws = class {
22896
22896
  * Middleware layers wrap around this with setup (BEFORE) and cleanup (AFTER)
22897
22897
  */
22898
22898
  async launchPty(t) {
22899
- const { AGENT_STATUS: e } = await import("./index-dyqI6XRC.mjs"), r = t.metadata.agentCommand, i = t.metadata.agentArgs;
22899
+ const { AGENT_STATUS: e } = await import("./index-BFZ1d1zd.mjs"), r = t.metadata.agentCommand, i = t.metadata.agentArgs;
22900
22900
  if (!r)
22901
22901
  throw new Error("launchPty requires metadata.agentCommand to be set by middleware");
22902
22902
  const n = await this.getAgentEnvironmentVariablesForContext(t);
@@ -24125,7 +24125,7 @@ class r$ extends Ob {
24125
24125
  if (!e.length) return;
24126
24126
  const i = (/* @__PURE__ */ new Date()).toISOString();
24127
24127
  try {
24128
- const { createSelectComponent: n, createToolInvocationInput: o } = await import("./index-Fd9XrPfV.mjs"), { createRequestApproval: s } = await Promise.resolve().then(() => Xi), a = e.map((m) => ({ label: m.text, value: m.number, selected: !!m.selected })), c = n(a), u = o(!1, c), l = s(r.agentSessionId, {
24128
+ const { createSelectComponent: n, createToolInvocationInput: o } = await import("./index-DK26kCxi.mjs"), { createRequestApproval: s } = await Promise.resolve().then(() => Xi), a = e.map((m) => ({ label: m.text, value: m.number, selected: !!m.selected })), c = n(a), u = o(!1, c), l = s(r.agentSessionId, {
24129
24129
  toolName: "selectOption",
24130
24130
  toolArgs: { timestamp: i, options: a },
24131
24131
  input: u
@@ -44137,4 +44137,4 @@ export {
44137
44137
  JC as y,
44138
44138
  MC as z
44139
44139
  };
44140
- //# sourceMappingURL=index-BXUoBnV1.mjs.map
44140
+ //# sourceMappingURL=index-BzNCFVFX.mjs.map