agentglow 0.2.5 → 0.2.6

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.
@@ -7,7 +7,7 @@ import { EffectComposer as at, Bloom as st, Vignette as it } from "@react-three/
7
7
  import { useFrame as re, useThree as ct } from "@react-three/fiber";
8
8
  import { useRef as z, useMemo as P, useEffect as lt, useState as $e } from "react";
9
9
  import * as o from "three";
10
- import { T as Xe, w as L, a as ge, f as Ee, p as ut, e as pt, s as ft, r as fe, L as be, l as dt, g as mt, b as Ue, K as ht, k as gt, m as vt, G as yt, n as wt, R as bt, u as Mt, o as St, c as De, d as Ct, j as At } from "./KitScene-C3SZiKL5.js";
10
+ import { T as Xe, w as L, a as ge, f as Ee, p as ut, e as pt, s as ft, r as fe, L as be, l as dt, g as mt, b as Ue, K as ht, k as gt, m as vt, G as yt, n as wt, R as bt, u as Mt, o as St, c as De, d as Ct, j as At } from "./KitScene-DALLf8tt.js";
11
11
  const ee = (e) => e < 0 ? 0 : e > 1 ? 1 : e, Ie = (e) => 1 - Math.pow(1 - ee(e), 3), Me = (e) => (e = ee(e), e < 0.5 ? 4 * e * e * e : 1 - Math.pow(-2 * e + 2, 3) / 2), xt = (e) => {
12
12
  e = ee(e);
13
13
  const r = 2.2;
@@ -4,7 +4,7 @@ import { EffectComposer as ut, Bloom as ft, Vignette as dt, Noise as mt } from "
4
4
  import * as n from "three";
5
5
  import { useFrame as J } from "@react-three/fiber";
6
6
  import { useRef as v, useMemo as A, useEffect as ht } from "react";
7
- import { k as Se, f as be, i as Mt, q as et, K as gt, w as T, r as H, G as yt, t as tt, T as ke, n as wt, L as Ae, v as bt, a as ge, R as xt, S as Oe, x as Ce, u as vt, p as St, e as At, l as Bt, M as Ct, c as nt, d as Gt, j as Rt } from "./KitScene-C3SZiKL5.js";
7
+ import { k as Se, f as be, i as Mt, q as et, K as gt, w as T, r as H, G as yt, t as tt, T as ke, n as wt, L as Ae, v as bt, a as ge, R as xt, S as Oe, x as Ce, u as vt, p as St, e as At, l as Bt, M as Ct, c as nt, d as Gt, j as Rt } from "./KitScene-DALLf8tt.js";
8
8
  const $ = 0.05, Ge = 0.3, Pt = Mt;
9
9
  function I(e, t) {
10
10
  return new n.Color(e).multiplyScalar(t);
@@ -6,7 +6,7 @@ import { useFrame as ht, useThree as Be } from "@react-three/fiber";
6
6
  import { EffectComposer as Ge, Bloom as Pe, Vignette as Re, Noise as _e } from "@react-three/postprocessing";
7
7
  import * as s from "three";
8
8
  import { useRef as z, useMemo as D, useLayoutEffect as fe } from "react";
9
- import { f as ct, q as Et, i as Ee, v as Te, K as te, w as Q, L as vt, G as Ie, n as Le, T as yt, a as dt, r as Y, p as jt, e as Oe, l as Ve, k as st, S as zt, x as Pt, R as We, t as Ne, d as Ue, j as De, B as $e } from "./KitScene-C3SZiKL5.js";
9
+ import { f as ct, q as Et, i as Ee, v as Te, K as te, w as Q, L as vt, G as Ie, n as Le, T as yt, a as dt, r as Y, p as jt, e as Oe, l as Ve, k as st, S as zt, x as Pt, R as We, t as Ne, d as Ue, j as De, B as $e } from "./KitScene-DALLf8tt.js";
10
10
  import { RoundedBoxGeometry as Fe } from "three/examples/jsm/geometries/RoundedBoxGeometry.js";
11
11
  const je = -1.9, St = () => je * ct.spread;
12
12
  function Zt(t, e) {
@@ -6,7 +6,7 @@ import { EffectComposer as Vt, Bloom as zt, Vignette as Gt } from "@react-three/
6
6
  import { useRef as B, useMemo as E, useEffect as Et, useState as Ft } from "react";
7
7
  import * as t from "three";
8
8
  import { useFrame as he } from "@react-three/fiber";
9
- import { T as Mt, w as K, L as Ie, d as Bt, a as xe, c as ft, h as Ae, l as Rt, H as It, p as Ot, e as Tt, f as be, s as Lt, S as Le, q as _t, R as Nt, k as Me, u as Ut, A as Xt, o as Ht, K as Kt, m as jt, G as Yt, n as qt, j as Wt } from "./KitScene-C3SZiKL5.js";
9
+ import { T as Mt, w as K, L as Ie, d as Bt, a as xe, c as ft, h as Ae, l as Rt, H as It, p as Ot, e as Tt, f as be, s as Lt, S as Le, q as _t, R as Nt, k as Me, u as Ut, A as Xt, o as Ht, K as Kt, m as jt, G as Yt, n as qt, j as Wt } from "./KitScene-DALLf8tt.js";
10
10
  var bt;
11
11
  const j = typeof window < "u" && !!((bt = window.matchMedia) != null && bt.call(window, "(prefers-reduced-motion: reduce)").matches), pt = new t.Color("#3db8ff"), Se = new t.Color("#9fdcff"), He = new t.Color("#ff4fa8"), mt = new t.Color("#ff9ccf"), oe = new t.Color(1, 1, 1), Fe = new t.Color("#ffc24a"), $t = new t.Color("#ff2d55"), Dt = new t.Color("#3a4560"), lt = Object.fromEntries(Object.entries(Mt).map(([e, r]) => [e, new t.Color(r)])), q = (e) => e < 0 ? 0 : e > 1 ? 1 : e, je = (e) => 1 - Math.pow(1 - q(e), 3), Re = (e) => (e = q(e), e < 0.5 ? 4 * e * e * e : 1 - Math.pow(-2 * e + 2, 3) / 2);
12
12
  let _e = null;
@@ -33,21 +33,21 @@ const M = ["orbit", "neural", "subway", "city", "ocean", "circuit", "tunnel", "f
33
33
  mycelium: { name: "Mycelium", tagline: "A fungal network: agents bloom as fruiting bodies on spreading glowing threads." },
34
34
  atom: { name: "Atom", tagline: "An atom: agents are electrons in shells, subagents jump orbits, LLM calls flash photons." }
35
35
  }, k = {
36
- orbit: () => import("./index-CvDEulcq.js"),
37
- neural: () => import("./index-_KrED-np.js"),
38
- subway: () => import("./index-DdCs_ye9.js"),
39
- city: () => import("./index-C4F16M9q.js"),
40
- ocean: () => import("./index-CS8eZTr_.js"),
41
- circuit: () => import("./index-Bsmr7FwH.js"),
42
- tunnel: () => import("./index--dwzdFRh.js"),
43
- flow: () => import("./index-Bqv_wy49.js"),
44
- hive: () => import("./index-Bm4te7Ug.js"),
45
- forest: () => import("./index-DXBfdHew.js"),
46
- constellation: () => import("./index-Bw31uayO.js"),
47
- factory: () => import("./index-B2PGx_wt.js"),
48
- airport: () => import("./index-BfGluv59.js"),
49
- mycelium: () => import("./index-CdzGoWrn.js"),
50
- atom: () => import("./index-BZOG_CQS.js")
36
+ orbit: () => import("./index-ByMRobeU.js"),
37
+ neural: () => import("./index--2ZTRBZZ.js"),
38
+ subway: () => import("./index-0EBSJrKs.js"),
39
+ city: () => import("./index-DJ8o6YHg.js"),
40
+ ocean: () => import("./index-sAocy7Lk.js"),
41
+ circuit: () => import("./index-B9osqkTK.js"),
42
+ tunnel: () => import("./index-DTeSqmIz.js"),
43
+ flow: () => import("./index-CSyUpdi-.js"),
44
+ hive: () => import("./index-D5w2uMhb.js"),
45
+ forest: () => import("./index-Dyb6OhYf.js"),
46
+ constellation: () => import("./index-BR96gYrT.js"),
47
+ factory: () => import("./index-TMTcnbIJ.js"),
48
+ airport: () => import("./index-DlB5QKJw.js"),
49
+ mycelium: () => import("./index-DWNx6md8.js"),
50
+ atom: () => import("./index-BByXKPO2.js")
51
51
  }, g = /* @__PURE__ */ new Map();
52
52
  function L(e) {
53
53
  let n = g.get(e);
@@ -4,7 +4,7 @@ var L = (e, n, r) => st(e, typeof n != "symbol" ? n + "" : n, r);
4
4
  import { jsxs as q, Fragment as de, jsx as g } from "react/jsx-runtime";
5
5
  import { EffectComposer as at, Bloom as it, Vignette as ct } from "@react-three/postprocessing";
6
6
  import * as t from "three";
7
- import { T as We, h as X, K as lt, k as je, w as N, a as ce, v as ft, E as ut, L as ye, G as dt, n as pt, c as qe, d as ht, F as Ye, R as mt, u as vt, o as gt, e as bt, s as wt, f as Ve, j as yt } from "./KitScene-C3SZiKL5.js";
7
+ import { T as We, h as X, K as lt, k as je, w as N, a as ce, v as ft, E as ut, L as ye, G as dt, n as pt, c as qe, d as ht, F as Ye, R as mt, u as vt, o as gt, e as bt, s as wt, f as Ve, j as yt } from "./KitScene-DALLf8tt.js";
8
8
  import { useThree as Re, useFrame as se } from "@react-three/fiber";
9
9
  import { useMemo as P, useRef as T, useEffect as Mt } from "react";
10
10
  var et;
@@ -4,7 +4,7 @@ import { EffectComposer as je, Bloom as Ke, Vignette as Qe, Noise as Je } from "
4
4
  import { useFrame as U } from "@react-three/fiber";
5
5
  import { useRef as S, useMemo as T, useEffect as et, useState as De } from "react";
6
6
  import * as e from "three";
7
- import { h as se, i as tt, T as pe, f as nt, a as Z, p as ot, e as rt, l as st, s as at, L as fe, w as E, K as ct, G as it, b as Q, c as Ge, d as lt, g as Me, S as re, R as ut, u as pt, j as ft } from "./KitScene-C3SZiKL5.js";
7
+ import { h as se, i as tt, T as pe, f as nt, a as Z, p as ot, e as rt, l as st, s as at, L as fe, w as E, K as ct, G as it, b as Q, c as Ge, d as lt, g as Me, S as re, R as ut, u as pt, j as ft } from "./KitScene-DALLf8tt.js";
8
8
  var Ye;
9
9
  const F = typeof window < "u" && !!((Ye = window.matchMedia) != null && Ye.call(window, "(prefers-reduced-motion: reduce)").matches), _e = Math.PI * 2, Be = { plan: Math.PI * 0.5, research: Math.PI * 0.5 + _e / 3, write: Math.PI * 0.5 + _e * 2 / 3 }, Fe = tt, dt = (t) => (se(t, 11) - 0.5) * 2.4, N = {
10
10
  /** the galaxy's inner (tilted) group; its matrixWorld includes the kit's side placement + scale */
@@ -6,7 +6,7 @@ import { useFrame as ft, useThree as le } from "@react-three/fiber";
6
6
  import { EffectComposer as he, Bloom as fe, Vignette as ue, Noise as de } from "@react-three/postprocessing";
7
7
  import { useMemo as pe, useRef as $, useEffect as At } from "react";
8
8
  import * as x from "three";
9
- import { K as ge, v as me, f as nt, k as Z, w as q, q as ee, x as se, R as Me, d as $t, p as ye, e as be, S as st, c as Tt, T as ne, i as Ae, j as xe, G as we, L as xt, u as Re, t as Ge } from "./KitScene-C3SZiKL5.js";
9
+ import { K as ge, v as me, f as nt, k as Z, w as q, q as ee, x as se, R as Me, d as $t, p as ye, e as be, S as st, c as Tt, T as ne, i as Ae, j as xe, G as we, L as xt, u as Re, t as Ge } from "./KitScene-DALLf8tt.js";
10
10
  var te;
11
11
  const mt = typeof window < "u" && !!((te = window.matchMedia) != null && te.call(window, "(prefers-reduced-motion: reduce)").matches), it = mt ? 0.3 : 1, W = mt ? 9e3 : 24e3, ot = mt ? 3500 : 8e3, B = 12, J = mt ? 450 : 1100, kt = 9e3, Y = 64, Et = 31, Se = 4.6, rt = 28, _t = 64, St = 18, Lt = 16, ut = 8, X = Math.PI * 2, et = 200, Dt = 5.4, vt = 3.2, ze = ["planner", "researcher", "writer"], bt = Object.fromEntries(Object.entries(ne).map(([u, e]) => [u, new x.Color(e)])), ve = Ae, Ie = () => ({ used: !1, id: "", inst: null, seen: 0, x: 0, y: 0, z: 0, r: 1, g: 1, b: 1, omega: 0, bright: 0, swirl: 0, rscale: 1, tiltA: 0, tiltB: 0, count: 0, want: 0, rank: 0, ka: null, released: !1, p: 0, e: 0, waitMcp: 0 }), zt = et * 3, Ce = (u) => {
12
12
  let e = 7;
@@ -6,7 +6,7 @@ import { useFrame as Q, useThree as zt } from "@react-three/fiber";
6
6
  import { EffectComposer as Tt, Bloom as Et, Vignette as Rt } from "@react-three/postprocessing";
7
7
  import * as n from "three";
8
8
  import { useRef as B, useMemo as L, useEffect as ft, useState as tt } from "react";
9
- import { T as Bt, p as _t, e as Lt, w as F, a as ge, f as Ge, d as pt, s as kt, L as Ee, g as Nt, b as nt, h as Me, K as Ft, k as be, G as Ot, t as It, n as Ht, v as Ut, c as dt, R as Kt, u as Wt, o as jt, j as qt } from "./KitScene-C3SZiKL5.js";
9
+ import { T as Bt, p as _t, e as Lt, w as F, a as ge, f as Ge, d as pt, s as kt, L as Ee, g as Nt, b as nt, h as Me, K as Ft, k as be, G as Ot, t as It, n as Ht, v as Ut, c as dt, R as Kt, u as Wt, o as jt, j as qt } from "./KitScene-DALLf8tt.js";
10
10
  var ut;
11
11
  const ee = typeof window < "u" && !!((ut = window.matchMedia) != null && ut.call(window, "(prefers-reduced-motion: reduce)").matches), le = new n.Color("#ffb627"), xe = new n.Color("#f59e0b"), J = new n.Color("#ffd166");
12
12
  new n.Color("#1f1206");
@@ -4,7 +4,7 @@ import { useFrame as ie, useThree as Mt } from "@react-three/fiber";
4
4
  import { EffectComposer as vt, Bloom as wt, Vignette as xt, Noise as bt } from "@react-three/postprocessing";
5
5
  import * as n from "three";
6
6
  import { useRef as x, useMemo as i, useEffect as Le, useState as St } from "react";
7
- import { k as te, y as At, f as Me, z as Gt, w as J, a as Ct, i as Bt, h as Ke, c as Et, K as Pt, m as Lt, T as xe, L as Ye, G as zt, n as Rt, q as _e, S as we, x as Ae, R as Ft, A as Tt, r as ue, d as kt, b as Ue, g as Vt, l as It, e as st, p as _t, j as Wt, B as Ot } from "./KitScene-C3SZiKL5.js";
7
+ import { k as te, y as At, f as Me, z as Gt, w as J, a as Ct, i as Bt, h as Ke, c as Et, K as Pt, m as Lt, T as xe, L as Ye, G as zt, n as Rt, q as _e, S as we, x as Ae, R as Ft, A as Tt, r as ue, d as kt, b as Ue, g as Vt, l as It, e as st, p as _t, j as Wt, B as Ot } from "./KitScene-DALLf8tt.js";
8
8
  const Dt = (
9
9
  /* glsl */
10
10
  `
@@ -3,7 +3,7 @@ import { EffectComposer as ht, Bloom as mt, ChromaticAberration as Mt, Vignette
3
3
  import { useMemo as x, useRef as w, useEffect as Je, useState as wt } from "react";
4
4
  import * as e from "three";
5
5
  import { useFrame as te, useThree as ot } from "@react-three/fiber";
6
- import { k as Pe, K as st, w as Q, a as he, m as xt, G as bt, L as et, n as St, c as Qe, d as At, T as tt, R as vt, S as Se, x as Le, f as Fe, p as Ct, e as ut, j as Bt, q as Gt } from "./KitScene-C3SZiKL5.js";
6
+ import { k as Pe, K as st, w as Q, a as he, m as xt, G as bt, L as et, n as St, c as Qe, d as At, T as tt, R as vt, S as Se, x as Le, f as Fe, p as Ct, e as ut, j as Bt, q as Gt } from "./KitScene-DALLf8tt.js";
7
7
  var dt;
8
8
  const Ve = typeof window < "u" && !!((dt = window.matchMedia) != null && dt.call(window, "(prefers-reduced-motion: reduce)").matches), $ = Ve ? 0.15 : 1, re = 7, Oe = 1.3, ue = { speed: 1, paused: !1 }, we = { ax: re, ay: re }, xe = /* @__PURE__ */ new Map(), We = (r) => 1 - Math.pow(1 - Math.min(1, Math.max(0, r)), 3);
9
9
  let Ie = null;
@@ -6,7 +6,7 @@ import { EffectComposer as _t, Bloom as Ot, Vignette as Et } from "@react-three/
6
6
  import { useFrame as fe, useThree as pt } from "@react-three/fiber";
7
7
  import { useMemo as R, useRef as F, useState as mt, useEffect as Lt } from "react";
8
8
  import * as n from "three";
9
- import { T as dt, k as ge, h as Ie, w as W, L as Re, d as It, a as We, c as Wt, K as Xt, m as kt, G as Dt, n as Yt, D as Ht, p as Nt, e as Kt, s as jt, q as Ut, f as nt, R as qt, u as $t, o as Zt, j as Jt } from "./KitScene-C3SZiKL5.js";
9
+ import { T as dt, k as ge, h as Ie, w as W, L as Re, d as It, a as We, c as Wt, K as Xt, m as kt, G as Dt, n as Yt, D as Ht, p as Nt, e as Kt, s as jt, q as Ut, f as nt, R as qt, u as $t, o as Zt, j as Jt } from "./KitScene-DALLf8tt.js";
10
10
  var ft;
11
11
  const ne = typeof window < "u" && !!((ft = window.matchMedia) != null && ft.call(window, "(prefers-reduced-motion: reduce)").matches), vt = new n.Color("#a855f7"), Ye = new n.Color("#2dd4bf"), ue = new n.Color(1, 1, 1), ht = new n.Color("#fbbf24"), gt = new n.Color("#ff3b5c"), Qt = new n.Color("#3b3346"), Pe = Object.fromEntries(
12
12
  Object.entries(dt).map(([e, a]) => {
@@ -6,7 +6,7 @@ import { EffectComposer as Qe, Bloom as et, Vignette as tt } from "@react-three/
6
6
  import * as r from "three";
7
7
  import { useFrame as W } from "@react-three/fiber";
8
8
  import { useRef as E, useMemo as R, useEffect as ot } from "react";
9
- import { T as He, r as L, h as xe, k as Y, w as V, L as re, d as nt, p as rt, s as st, D as at, R as it, S as qe, u as lt, o as ct, n as Re, v as pt, m as ut, G as ft, j as dt } from "./KitScene-C3SZiKL5.js";
9
+ import { T as He, r as L, h as xe, k as Y, w as V, L as re, d as nt, p as rt, s as st, D as at, R as it, S as qe, u as lt, o as ct, n as Re, v as pt, m as ut, G as ft, j as dt } from "./KitScene-DALLf8tt.js";
10
10
  const K = new r.Color("#46ff9a"), ie = new r.Color("#38e8ff"), Le = new r.Color("#ffb547"), Se = new r.Color("#ff4a4a"), j = new r.Color(1, 1, 1), ht = Object.fromEntries(
11
11
  Object.entries(He).map(([e, o]) => [e, new r.Color(o).lerp(K, 0.28)])
12
12
  ), B = (e) => e < 0 ? 0 : e > 1 ? 1 : e, Ge = (e) => 1 - Math.pow(1 - B(e), 3), Q = (e) => (e = B(e), e < 0.5 ? 4 * e * e * e : 1 - Math.pow(-2 * e + 2, 3) / 2), I = { r: 6 };
@@ -4,7 +4,7 @@ var ae = (e, o, t) => jt(e, typeof o != "symbol" ? o + "" : o, t);
4
4
  import { jsxs as H, Fragment as ce, jsx as c } from "react/jsx-runtime";
5
5
  import { EffectComposer as Kt, Bloom as Ht, Vignette as $t } from "@react-three/postprocessing";
6
6
  import * as n from "three";
7
- import { D as Yt, h as Re, T as _t, k as me, S as lt, w as J, R as Zt, q as Jt, f as Qe, u as Qt, L as Ee, o as eo, d as to, a as Gt, c as oo, K as no, m as ro, G as ao, n as so, p as io, e as lo, s as co, g as uo, b as Ct, j as fo } from "./KitScene-C3SZiKL5.js";
7
+ import { D as Yt, h as Re, T as _t, k as me, S as lt, w as J, R as Zt, q as Jt, f as Qe, u as Qt, L as Ee, o as eo, d as to, a as Gt, c as oo, K as no, m as ro, G as ao, n as so, p as io, e as lo, s as co, g as uo, b as Ct, j as fo } from "./KitScene-DALLf8tt.js";
8
8
  import { useFrame as Z, useThree as rt } from "@react-three/fiber";
9
9
  import { useMemo as S, useRef as _, useState as et } from "react";
10
10
  import { Stars as po } from "@react-three/drei";
@@ -6,7 +6,7 @@ import { useFrame as H, useThree as Yt } from "@react-three/fiber";
6
6
  import { EffectComposer as Zt, Bloom as $t, Vignette as Jt } from "@react-three/postprocessing";
7
7
  import { useRef as z, useMemo as A, useEffect as pe } from "react";
8
8
  import * as n from "three";
9
- import { a as je, h as Qt, k as ie, x as Xe, c as eo, f as Ke, r as N, T as ke, w as V, L as ve, d as to, F as oo, q as Ye, S as Se, R as no, u as Gt, o as so, s as ao, K as ro, m as io, G as lo, n as co, j as po, B as uo } from "./KitScene-C3SZiKL5.js";
9
+ import { a as je, h as Qt, k as ie, x as Xe, c as eo, f as Ke, r as N, T as ke, w as V, L as ve, d as to, F as oo, q as Ye, S as Se, R as no, u as Gt, o as so, s as ao, K as ro, m as io, G as lo, n as co, j as po, B as uo } from "./KitScene-DALLf8tt.js";
10
10
  const Ct = 1.6, Rt = 1.1;
11
11
  function _t(e, t) {
12
12
  const o = Ke.spread;
@@ -3,7 +3,7 @@ import { EffectComposer as Et, Bloom as Vt, Vignette as Ot, Noise as kt } from "
3
3
  import { useThree as Wt, useFrame as le } from "@react-three/fiber";
4
4
  import { useMemo as i, useRef as _, useEffect as Ct, useState as Lt } from "react";
5
5
  import * as t from "three";
6
- import { C as ht, r as Bt, k as dt, w as Z, L as Ze, a as ie, d as Dt, T as Ke, q as Nt, x as Ue, l as Xt, e as qt, f as ze, S as Se, R as jt, g as Pt, b as ct, K as lt, m as Ht, G as Zt, n as Kt, j as $t } from "./KitScene-C3SZiKL5.js";
6
+ import { C as ht, r as Bt, k as dt, w as Z, L as Ze, a as ie, d as Dt, T as Ke, q as Nt, x as Ue, l as Xt, e as qt, f as ze, S as Se, R as jt, g as Pt, b as ct, K as lt, m as Ht, G as Zt, n as Kt, j as $t } from "./KitScene-DALLf8tt.js";
7
7
  import { Trail as Tt } from "@react-three/drei";
8
8
  const Ee = Bt ? 0.25 : 1, Yt = {
9
9
  ...ht,
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import "./style.css";
3
- import { A as E, T as s, a as T } from "./chunks/index-CRRHsMqy.js";
3
+ import { A as E, T as s, a as T } from "./chunks/index-BGXcUXjA.js";
4
4
  export {
5
5
  E as AgentScene,
6
6
  s as THEMES,
@@ -207,6 +207,10 @@ export declare const isDone: (i: Instance) => boolean;
207
207
  export declare const isLive: (i: Instance) => boolean;
208
208
  /** A started run whose agents are all finished and that got no completion for this long fades out anyway (ms). */
209
209
  export declare const ORPHAN_RUN_MS = 120000;
210
+ /** A finished subagent (has a parent) fades after this long even if its run is still active (e.g. a long-lived
211
+ * session whose root agent never finishes) - otherwise it would stay dimmed forever waiting for a run end
212
+ * that, for that kind of run, never comes. Root/main agents are unaffected: they still fade with their run. */
213
+ export declare const SUBAGENT_DONE_MS = 3000;
210
214
  /** How long finished instances/runs stay visible while fading out (ms). */
211
215
  export declare const FADE_MS = 2500;
212
216
  export declare const RUN_LINGER_MS = 6000;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentglow",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "Live 3D views of agent systems (LangGraph, deepagents, any OpenTelemetry-instrumented agents) as a React component.",
5
5
  "keywords": [
6
6
  "claude-code",