agentglow 0.2.7 → 0.2.8
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/cli/agentglow.mjs +18 -6
- package/cli/lib/settings.mjs +19 -4
- package/dist/chunks/{KitScene-BZtsx51r.js → KitScene-Bm1I35Zc.js} +901 -884
- package/dist/chunks/{index-D2jsa-xs.js → index-AugvjZJN.js} +1 -1
- package/dist/chunks/{index-B5zc-pNd.js → index-BAQDf-0T.js} +1 -1
- package/dist/chunks/{index-HcaVLPZo.js → index-BRnLrSfZ.js} +1 -1
- package/dist/chunks/{index-BbVDdhDk.js → index-BWsSd_Wm.js} +1 -1
- package/dist/chunks/{index-BO7u06kP.js → index-C2vLpNCb.js} +1 -1
- package/dist/chunks/{index-dlKd-7aA.js → index-CGTp73GN.js} +1 -1
- package/dist/chunks/{index-T1KK0afI.js → index-CKyn9lcT.js} +1 -1
- package/dist/chunks/{index-CfKe9fU0.js → index-COLbf8XM.js} +1 -1
- package/dist/chunks/{index-CdGkRbWi.js → index-CnoB0ZDk.js} +1 -1
- package/dist/chunks/{index-Bf3wbpgc.js → index-D-r9aJ4u.js} +1 -1
- package/dist/chunks/{index-BLui9fiT.js → index-D4Wlmsay.js} +15 -15
- package/dist/chunks/{index-Ofl4pl62.js → index-KmczAvvY.js} +1 -1
- package/dist/chunks/{index-BflIFHAh.js → index-Z4vdWCok.js} +1 -1
- package/dist/chunks/{index-z7UiIHw8.js → index-_IwfbZy7.js} +1 -1
- package/dist/chunks/{index-cB0OFPT_.js → index-cRPj-lzn.js} +1 -1
- package/dist/chunks/{index-BCfJ-w3o.js → index-uZGu9jzU.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/types/world.d.ts +14 -1
- package/package.json +1 -1
|
@@ -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-
|
|
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-Bm1I35Zc.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;
|
|
@@ -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-
|
|
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-Bm1I35Zc.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 */
|
|
@@ -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-
|
|
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-Bm1I35Zc.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 { 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-
|
|
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-Bm1I35Zc.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 };
|
|
@@ -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-
|
|
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-Bm1I35Zc.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");
|
|
@@ -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-
|
|
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-Bm1I35Zc.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 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-
|
|
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-Bm1I35Zc.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-
|
|
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-Bm1I35Zc.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 { 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-
|
|
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-Bm1I35Zc.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;
|
|
@@ -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-
|
|
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-Bm1I35Zc.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;
|
|
@@ -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-
|
|
37
|
-
neural: () => import("./index-
|
|
38
|
-
subway: () => import("./index-
|
|
39
|
-
city: () => import("./index-
|
|
40
|
-
ocean: () => import("./index-
|
|
41
|
-
circuit: () => import("./index-
|
|
42
|
-
tunnel: () => import("./index-
|
|
43
|
-
flow: () => import("./index-
|
|
44
|
-
hive: () => import("./index-
|
|
45
|
-
forest: () => import("./index-
|
|
46
|
-
constellation: () => import("./index-
|
|
47
|
-
factory: () => import("./index-
|
|
48
|
-
airport: () => import("./index-
|
|
49
|
-
mycelium: () => import("./index-
|
|
50
|
-
atom: () => import("./index-
|
|
36
|
+
orbit: () => import("./index-BAQDf-0T.js"),
|
|
37
|
+
neural: () => import("./index-_IwfbZy7.js"),
|
|
38
|
+
subway: () => import("./index-BRnLrSfZ.js"),
|
|
39
|
+
city: () => import("./index-uZGu9jzU.js"),
|
|
40
|
+
ocean: () => import("./index-KmczAvvY.js"),
|
|
41
|
+
circuit: () => import("./index-Z4vdWCok.js"),
|
|
42
|
+
tunnel: () => import("./index-CKyn9lcT.js"),
|
|
43
|
+
flow: () => import("./index-CnoB0ZDk.js"),
|
|
44
|
+
hive: () => import("./index-C2vLpNCb.js"),
|
|
45
|
+
forest: () => import("./index-cRPj-lzn.js"),
|
|
46
|
+
constellation: () => import("./index-D-r9aJ4u.js"),
|
|
47
|
+
factory: () => import("./index-CGTp73GN.js"),
|
|
48
|
+
airport: () => import("./index-BWsSd_Wm.js"),
|
|
49
|
+
mycelium: () => import("./index-COLbf8XM.js"),
|
|
50
|
+
atom: () => import("./index-AugvjZJN.js")
|
|
51
51
|
}, g = /* @__PURE__ */ new Map();
|
|
52
52
|
function L(e) {
|
|
53
53
|
let n = g.get(e);
|
|
@@ -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-
|
|
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-Bm1I35Zc.js";
|
|
7
7
|
import { Trail as Tt } from "@react-three/drei";
|
|
8
8
|
const Ee = Bt ? 0.25 : 1, Yt = {
|
|
9
9
|
...ht,
|
|
@@ -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-
|
|
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-Bm1I35Zc.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) {
|
|
@@ -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-
|
|
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-Bm1I35Zc.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 @@ 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-
|
|
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-Bm1I35Zc.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";
|
|
@@ -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-
|
|
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-Bm1I35Zc.js";
|
|
8
8
|
const Dt = (
|
|
9
9
|
/* glsl */
|
|
10
10
|
`
|
package/dist/index.js
CHANGED
package/dist/types/world.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export type InstanceStatus = "spawning" | "thinking" | "waiting" | "done" | "fai
|
|
|
4
4
|
export type WorldEvent = {
|
|
5
5
|
type: "run";
|
|
6
6
|
run_id: string;
|
|
7
|
-
status: "started" | "completed" | "failed";
|
|
7
|
+
status: "started" | "renamed" | "completed" | "failed";
|
|
8
8
|
topic: string;
|
|
9
9
|
workflow: string;
|
|
10
10
|
ts: number;
|
|
@@ -297,6 +297,10 @@ export declare const world: {
|
|
|
297
297
|
hasGraph: boolean;
|
|
298
298
|
/** performance.now() when hasGraph flipped true (drives the fade-in / layout ease) */
|
|
299
299
|
hasGraphAt: number;
|
|
300
|
+
/** runs that touched the graph; the side graph shows while one of them is live (see graphShown) */
|
|
301
|
+
graphRuns: Set<string>;
|
|
302
|
+
/** performance.now() of the last graph event */
|
|
303
|
+
graphAt: number;
|
|
300
304
|
focus: string | null;
|
|
301
305
|
focusAt: number;
|
|
302
306
|
/** last `task` / `Agent` tool call (performance.now()): a subagent is about to spawn (FitCamera batches it) */
|
|
@@ -353,6 +357,10 @@ export declare function useWorld(): {
|
|
|
353
357
|
hasGraph: boolean;
|
|
354
358
|
/** performance.now() when hasGraph flipped true (drives the fade-in / layout ease) */
|
|
355
359
|
hasGraphAt: number;
|
|
360
|
+
/** runs that touched the graph; the side graph shows while one of them is live (see graphShown) */
|
|
361
|
+
graphRuns: Set<string>;
|
|
362
|
+
/** performance.now() of the last graph event */
|
|
363
|
+
graphAt: number;
|
|
356
364
|
focus: string | null;
|
|
357
365
|
focusAt: number;
|
|
358
366
|
/** last `task` / `Agent` tool call (performance.now()): a subagent is about to spawn (FitCamera batches it) */
|
|
@@ -396,6 +404,11 @@ export declare function setHasGraph(v: boolean, doNotify?: boolean): void;
|
|
|
396
404
|
export declare const MCP_IDLE_MS = 90000;
|
|
397
405
|
/** Should this MCP server (and its used backends) be drawn now? Shared "only show resources while used" rule. */
|
|
398
406
|
export declare function mcpWanted(srv: McpServer, now?: number): boolean;
|
|
407
|
+
/**
|
|
408
|
+
* Is the side graph shown now? Like MCP servers it is a resource shown while used: from the first graph event
|
|
409
|
+
* until every run that touched it has ended (+ RUN_LINGER_MS), so it fades out with its run. Sim keeps it.
|
|
410
|
+
*/
|
|
411
|
+
export declare function graphShown(now?: number): boolean;
|
|
399
412
|
/** How long the side graph fades in after hasGraph flips true (ms). */
|
|
400
413
|
export declare const GRAPH_FADE_MS = 1800;
|
|
401
414
|
/**
|