@agiflowai/agent-cli 0.1.3 → 0.1.4

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.
@@ -12482,7 +12482,7 @@ let er = class {
12482
12482
  this.runtimeConfig = vh.parse(e), this.appConfig = ph.parse({
12483
12483
  VITE_INJECT_AGIFLOW_APP_ENDPOINT: "https://agiflow.io",
12484
12484
  VITE_INJECT_AGIFLOW_APP_DOCKER_ENDPOINT: "https://agiflow.io",
12485
- VITE_AGENT_CLI_DOCKER_IMAGE: "agiflowai/agent-cli:v0.1.3",
12485
+ VITE_AGENT_CLI_DOCKER_IMAGE: "agiflowai/agent-cli:v0.1.4",
12486
12486
  VITE_AGENT_CLI_DOCKER_NETWORK: "",
12487
12487
  VITE_SAVE_RAW: "",
12488
12488
  VITE_MULTIPLEX_SOCKET_PATH: process.env.VITE_MULTIPLEX_SOCKET_PATH
@@ -12482,7 +12482,7 @@ let er = class {
12482
12482
  this.runtimeConfig = vh.parse(e), this.appConfig = ph.parse({
12483
12483
  VITE_INJECT_AGIFLOW_APP_ENDPOINT: "https://agiflow.io",
12484
12484
  VITE_INJECT_AGIFLOW_APP_DOCKER_ENDPOINT: "https://agiflow.io",
12485
- VITE_AGENT_CLI_DOCKER_IMAGE: "agiflowai/agent-cli:v0.1.3",
12485
+ VITE_AGENT_CLI_DOCKER_IMAGE: "agiflowai/agent-cli:v0.1.4",
12486
12486
  VITE_AGENT_CLI_DOCKER_NETWORK: "",
12487
12487
  VITE_SAVE_RAW: "",
12488
12488
  VITE_MULTIPLEX_SOCKET_PATH: process.env.VITE_MULTIPLEX_SOCKET_PATH
@@ -12482,7 +12482,7 @@ let er = class {
12482
12482
  this.runtimeConfig = vh.parse(e), this.appConfig = ph.parse({
12483
12483
  VITE_INJECT_AGIFLOW_APP_ENDPOINT: "https://agiflow.io",
12484
12484
  VITE_INJECT_AGIFLOW_APP_DOCKER_ENDPOINT: "https://agiflow.io",
12485
- VITE_AGENT_CLI_DOCKER_IMAGE: "agiflowai/agent-cli:v0.1.3",
12485
+ VITE_AGENT_CLI_DOCKER_IMAGE: "agiflowai/agent-cli:v0.1.4",
12486
12486
  VITE_AGENT_CLI_DOCKER_NETWORK: "",
12487
12487
  VITE_SAVE_RAW: "",
12488
12488
  VITE_MULTIPLEX_SOCKET_PATH: process.env.VITE_MULTIPLEX_SOCKET_PATH
@@ -12482,7 +12482,7 @@ let tr = class {
12482
12482
  this.runtimeConfig = vh.parse(e), this.appConfig = ph.parse({
12483
12483
  VITE_INJECT_AGIFLOW_APP_ENDPOINT: "https://agiflow.io",
12484
12484
  VITE_INJECT_AGIFLOW_APP_DOCKER_ENDPOINT: "https://agiflow.io",
12485
- VITE_AGENT_CLI_DOCKER_IMAGE: "agiflowai/agent-cli:v0.1.3",
12485
+ VITE_AGENT_CLI_DOCKER_IMAGE: "agiflowai/agent-cli:v0.1.4",
12486
12486
  VITE_AGENT_CLI_DOCKER_NETWORK: "",
12487
12487
  VITE_SAVE_RAW: "",
12488
12488
  VITE_MULTIPLEX_SOCKET_PATH: process.env.VITE_MULTIPLEX_SOCKET_PATH
@@ -12410,7 +12410,7 @@ let Wn = class {
12410
12410
  this.runtimeConfig = ch.parse(e), this.appConfig = lh.parse({
12411
12411
  VITE_INJECT_AGIFLOW_APP_ENDPOINT: "https://agiflow.io",
12412
12412
  VITE_INJECT_AGIFLOW_APP_DOCKER_ENDPOINT: "https://agiflow.io",
12413
- VITE_AGENT_CLI_DOCKER_IMAGE: "agiflowai/agent-cli:v0.1.3",
12413
+ VITE_AGENT_CLI_DOCKER_IMAGE: "agiflowai/agent-cli:v0.1.4",
12414
12414
  VITE_AGENT_CLI_DOCKER_NETWORK: "",
12415
12415
  VITE_SAVE_RAW: "",
12416
12416
  VITE_MULTIPLEX_SOCKET_PATH: process.env.VITE_MULTIPLEX_SOCKET_PATH
@@ -12490,7 +12490,7 @@ let er = class {
12490
12490
  this.runtimeConfig = ph.parse(e), this.appConfig = hh.parse({
12491
12491
  VITE_INJECT_AGIFLOW_APP_ENDPOINT: "https://agiflow.io",
12492
12492
  VITE_INJECT_AGIFLOW_APP_DOCKER_ENDPOINT: "https://agiflow.io",
12493
- VITE_AGENT_CLI_DOCKER_IMAGE: "agiflowai/agent-cli:v0.1.3",
12493
+ VITE_AGENT_CLI_DOCKER_IMAGE: "agiflowai/agent-cli:v0.1.4",
12494
12494
  VITE_AGENT_CLI_DOCKER_NETWORK: "",
12495
12495
  VITE_SAVE_RAW: "",
12496
12496
  VITE_MULTIPLEX_SOCKET_PATH: process.env.VITE_MULTIPLEX_SOCKET_PATH
@@ -12484,7 +12484,7 @@ let er = class {
12484
12484
  this.runtimeConfig = fh.parse(e), this.appConfig = mh.parse({
12485
12485
  VITE_INJECT_AGIFLOW_APP_ENDPOINT: "https://agiflow.io",
12486
12486
  VITE_INJECT_AGIFLOW_APP_DOCKER_ENDPOINT: "https://agiflow.io",
12487
- VITE_AGENT_CLI_DOCKER_IMAGE: "agiflowai/agent-cli:v0.1.3",
12487
+ VITE_AGENT_CLI_DOCKER_IMAGE: "agiflowai/agent-cli:v0.1.4",
12488
12488
  VITE_AGENT_CLI_DOCKER_NETWORK: "",
12489
12489
  VITE_SAVE_RAW: "",
12490
12490
  VITE_MULTIPLEX_SOCKET_PATH: process.env.VITE_MULTIPLEX_SOCKET_PATH
package/dist/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { bu as z, bl as H, bv as P, bm as M } from "./index-luh8DEZU.mjs";
2
+ import { bu as z, bl as H, bv as P, bm as M } from "./index-Blg2D9ZR.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,4 +1,4 @@
1
- import { bg as g, bh as O, bi as e, bj as C, bk as T, bl as y, bm as w, bn as A, bo as I, bp as B, bq as M, br as P, bs as L, bt as _ } from "./index-luh8DEZU.mjs";
1
+ import { bg as g, bh as O, bi as e, bj as C, bk as T, bl as y, bm as w, bn as A, bo as I, bp as B, bq as M, br as P, bs as L, bt as _ } from "./index-Blg2D9ZR.mjs";
2
2
  import { useQueryClient as R, useQuery as F, useMutation as E, QueryClientProvider as q, QueryClient as z } from "@tanstack/react-query";
3
3
  import { useDispatch as K, useSelector as N, Provider as $ } from "react-redux";
4
4
  import { useRef as U, useEffect as V, useState as D } from "react";
@@ -1,4 +1,4 @@
1
- import { aj as s, ai as t, aa as o, af as c, ae as S, a1 as m, a5 as r, ah as n, a9 as h, a7 as g, am as l, a8 as p, ad as M, ak as P, ag as T, a6 as u, a2 as i, ab as C, ac as v, a4 as I, a3 as d, al as x, an as A, ao as R, aq as f, ap as q, ar as V } from "./index-luh8DEZU.mjs";
1
+ import { aj as s, ai as t, aa as o, af as c, ae as S, a1 as m, a5 as r, ah as n, a9 as h, a7 as g, am as l, a8 as p, ad as M, ak as P, ag as T, a6 as u, a2 as i, ab as C, ac as v, a4 as I, a3 as d, al as x, an as A, ao as R, aq as f, ap as q, ar as V } from "./index-Blg2D9ZR.mjs";
2
2
  export {
3
3
  s as AgentMessageCreateSchema,
4
4
  t as AgentMessageTypeSchema,
@@ -28,4 +28,4 @@ export {
28
28
  q as createTextPart,
29
29
  V as createToolInvocationInput
30
30
  };
31
- //# sourceMappingURL=index-C5IMvcG5.mjs.map
31
+ //# sourceMappingURL=index-BcZ-XzTp.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-BcZ-XzTp.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -12492,7 +12492,7 @@ let Pi = class {
12492
12492
  this.runtimeConfig = Ev.parse(t), this.appConfig = XE.parse({
12493
12493
  VITE_INJECT_AGIFLOW_APP_ENDPOINT: "https://agiflow.io",
12494
12494
  VITE_INJECT_AGIFLOW_APP_DOCKER_ENDPOINT: "https://agiflow.io",
12495
- VITE_AGENT_CLI_DOCKER_IMAGE: "agiflowai/agent-cli:v0.1.3",
12495
+ VITE_AGENT_CLI_DOCKER_IMAGE: "agiflowai/agent-cli:v0.1.4",
12496
12496
  VITE_AGENT_CLI_DOCKER_NETWORK: "",
12497
12497
  VITE_SAVE_RAW: "",
12498
12498
  VITE_MULTIPLEX_SOCKET_PATH: process.env.VITE_MULTIPLEX_SOCKET_PATH
@@ -18744,7 +18744,7 @@ let $u = class {
18744
18744
  const t = this.agentConfigService.getStoredAgentSessionId();
18745
18745
  if (t)
18746
18746
  try {
18747
- const { createGetAgentStatus: e } = await Promise.resolve().then(() => eT), { createSendAgentStatus: r } = await Promise.resolve().then(() => XI), { AGENT_STATUS: i } = await import("./index-OxXz4OF7.mjs"), n = e(t, t), a = (await this.multiplexClient.request(n))?.payload?.result || i.IDLE;
18747
+ const { createGetAgentStatus: e } = await Promise.resolve().then(() => eT), { createSendAgentStatus: r } = await Promise.resolve().then(() => XI), { AGENT_STATUS: i } = await import("./index-neSXjL_p.mjs"), n = e(t, t), a = (await this.multiplexClient.request(n))?.payload?.result || i.IDLE;
18748
18748
  await this.multiplexClient.publish(
18749
18749
  r(t, {
18750
18750
  agentType: this.agentConfigService.getAgentType() ?? void 0,
@@ -20522,7 +20522,7 @@ let Jo = class {
20522
20522
  * Middleware layers wrap around this with setup (BEFORE) and cleanup (AFTER)
20523
20523
  */
20524
20524
  async launchPty(t) {
20525
- const { AGENT_STATUS: e } = await import("./index-OxXz4OF7.mjs"), r = t.metadata.agentCommand, i = t.metadata.agentArgs;
20525
+ const { AGENT_STATUS: e } = await import("./index-neSXjL_p.mjs"), r = t.metadata.agentCommand, i = t.metadata.agentArgs;
20526
20526
  if (!r)
20527
20527
  throw new Error("launchPty requires metadata.agentCommand to be set by middleware");
20528
20528
  const n = await this.getAgentEnvironmentVariablesForContext(t);
@@ -21679,7 +21679,7 @@ class dT extends uy {
21679
21679
  if (!e.length) return;
21680
21680
  const i = (/* @__PURE__ */ new Date()).toISOString();
21681
21681
  try {
21682
- const { createSelectComponent: n, createToolInvocationInput: o } = await import("./index-C5IMvcG5.mjs"), { createRequestApproval: s } = await Promise.resolve().then(() => ti), a = e.map((S) => ({ label: S.text, value: S.number, selected: !!S.selected })), u = n(a), c = o(!1, u), f = s(r.agentSessionId, {
21682
+ const { createSelectComponent: n, createToolInvocationInput: o } = await import("./index-BcZ-XzTp.mjs"), { createRequestApproval: s } = await Promise.resolve().then(() => ti), a = e.map((S) => ({ label: S.text, value: S.number, selected: !!S.selected })), u = n(a), c = o(!1, u), f = s(r.agentSessionId, {
21683
21683
  toolName: "selectOption",
21684
21684
  toolArgs: { timestamp: i, options: a },
21685
21685
  input: c
@@ -21936,7 +21936,7 @@ let Yo = class extends Jo {
21936
21936
  this.logger.info(`Sending autonomous prompt: ${o}`), this.sendInputToPty(o), setTimeout(() => {
21937
21937
  this.sendInputToPty("\r");
21938
21938
  }, 50);
21939
- }, 1e4));
21939
+ }, 18e3));
21940
21940
  }
21941
21941
  }
21942
21942
  /**
@@ -41725,4 +41725,4 @@ export {
41725
41725
  Tv as y,
41726
41726
  yw as z
41727
41727
  };
41728
- //# sourceMappingURL=index-luh8DEZU.mjs.map
41728
+ //# sourceMappingURL=index-Blg2D9ZR.mjs.map