agentglow 0.4.0 → 0.4.1
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/dist/chunks/{KitScene-DQRuKA06.js → KitScene-qkWr95H9.js} +1541 -1541
- package/dist/chunks/{ResourceWire-BWuyirO3.js → ResourceWire-BWQJV3bx.js} +1 -1
- package/dist/chunks/{index-CDUophR-.js → index-2zvNrAfW.js} +2 -2
- package/dist/chunks/{index-CW7wP0kH.js → index-BP5CK-0G.js} +1 -1
- package/dist/chunks/{index-DGesxtsp.js → index-B__6Mr7M.js} +1 -1
- package/dist/chunks/{index-DHQVfGjR.js → index-Bfpwwg62.js} +1 -1
- package/dist/chunks/{index-BMvsU_SR.js → index-BkOdY6y8.js} +1 -1
- package/dist/chunks/{index-BdJCRn1T.js → index-Bxr6tpps.js} +1 -1
- package/dist/chunks/{index-CxdQEVoW.js → index-DjDzoHSk.js} +7 -7
- package/dist/chunks/{index-BwhbmMX9.js → index-vbo-4RNb.js} +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { jsx as T } from "react/jsx-runtime";
|
|
|
2
2
|
import { useFrame as W } from "@react-three/fiber";
|
|
3
3
|
import { useMemo as M } from "react";
|
|
4
4
|
import * as t from "three";
|
|
5
|
-
import { x as F, w as H, m as I } from "./KitScene-
|
|
5
|
+
import { x as F, w as H, m as I } from "./KitScene-qkWr95H9.js";
|
|
6
6
|
const b = 32, y = new t.Vector3(), v = new t.Vector3(), l = new t.Vector3(), u = new t.Color(), P = new t.Color(1, 1, 1);
|
|
7
7
|
function U(r, f, p, m, s) {
|
|
8
8
|
let e = null;
|
|
@@ -6,8 +6,8 @@ import { useFrame as ct, useThree as pe } from "@react-three/fiber";
|
|
|
6
6
|
import { EffectComposer as ge, Bloom as me, Vignette as Me, Noise as ye } from "@react-three/postprocessing";
|
|
7
7
|
import { useMemo as Dt, useRef as Z, useEffect as xt } from "react";
|
|
8
8
|
import * as A from "three";
|
|
9
|
-
import { K as Ae, D as be, f as st, y as H, w as q, E as ie, F as re, R as xe, d as Jt, p as we, e as Re, o as zt, n as Se, k as Ge, c as Et, m as ae, T as ce, i as ve, v as ze, G as Ie, L as Mt, u as Ce, r as Qt, t as te, S as Fe, H as Pe, I as Be, j as Oe, q as Ee } from "./KitScene-
|
|
10
|
-
import { R as Te } from "./ResourceWire-
|
|
9
|
+
import { K as Ae, D as be, f as st, y as H, w as q, E as ie, F as re, R as xe, d as Jt, p as we, e as Re, o as zt, n as Se, k as Ge, c as Et, m as ae, T as ce, i as ve, v as ze, G as Ie, L as Mt, u as Ce, r as Qt, t as te, S as Fe, H as Pe, I as Be, j as Oe, q as Ee } from "./KitScene-qkWr95H9.js";
|
|
10
|
+
import { R as Te } from "./ResourceWire-BWQJV3bx.js";
|
|
11
11
|
var ne;
|
|
12
12
|
const ut = typeof window < "u" && !!((ne = window.matchMedia) != null && ne.call(window, "(prefers-reduced-motion: reduce)").matches), nt = ut ? 0.3 : 1, W = ut ? 9e3 : 24e3, ot = ut ? 3500 : 8e3, B = 12, J = ut ? 450 : 1100, Tt = 9e3, Y = 64, kt = 31, ke = 4.6, it = 28, Lt = 64, Gt = 18, _t = 16, dt = 8, X = Math.PI * 2, et = 200, jt = 5.4, mt = 3.2, Le = ["planner", "researcher", "writer"], bt = Object.fromEntries(Object.entries(ce).map(([f, e]) => [f, new A.Color(e)])), _e = ve, De = () => ({ 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 }), vt = et * 3, je = (f) => {
|
|
13
13
|
let e = 7;
|
|
@@ -4,7 +4,7 @@ import { EffectComposer as Je, Bloom as et, Vignette as tt, Noise as nt } from "
|
|
|
4
4
|
import { useFrame as N } from "@react-three/fiber";
|
|
5
5
|
import { useRef as A, useMemo as R, useEffect as ot, useState as Ve } from "react";
|
|
6
6
|
import * as e from "three";
|
|
7
|
-
import { h as oe, i as rt, T as le, f as st, a as Z, p as at, e as ct, l as it, j as lt, s as ut, L as ue, w as T, K as pt, G as ft, m as Ne, b as Q, c as Re, d as dt, g as Me, k as mt, n as ht, S as ye, R as yt, o as gt, u as Mt, q as wt, r as _e, t as ze, v as bt } from "./KitScene-
|
|
7
|
+
import { h as oe, i as rt, T as le, f as st, a as Z, p as at, e as ct, l as it, j as lt, s as ut, L as ue, w as T, K as pt, G as ft, m as Ne, b as Q, c as Re, d as dt, g as Me, k as mt, n as ht, S as ye, R as yt, o as gt, u as Mt, q as wt, r as _e, t as ze, v as bt } from "./KitScene-qkWr95H9.js";
|
|
8
8
|
var Fe;
|
|
9
9
|
const F = typeof window < "u" && !!((Fe = window.matchMedia) != null && Fe.call(window, "(prefers-reduced-motion: reduce)").matches), Le = Math.PI * 2, Ge = [Math.PI * 0.5, Math.PI * 0.5 + Le / 3, Math.PI * 0.5 + Le * 2 / 3], Ue = rt, xt = (t) => (oe(t, 11) - 0.5) * 2.4, V = {
|
|
10
10
|
/** the galaxy's inner (tilted) group; its matrixWorld includes the kit's side placement + scale */
|
|
@@ -6,7 +6,7 @@ import { EffectComposer as Vt, Bloom as zt, Vignette as Gt } from "@react-three/
|
|
|
6
6
|
import { useRef as R, useMemo as z, useEffect as Et, useState as Ft } from "react";
|
|
7
7
|
import * as t from "three";
|
|
8
8
|
import { useFrame as ve } from "@react-three/fiber";
|
|
9
|
-
import { T as bt, m as Mt, w as K, L as Ie, d as Rt, a as Se, c as ut, h as Ce, l as Bt, N as It, p as Ot, e as Tt, f as Ae, s as Lt, j as _t, k as Nt, n as Ut, S as We, E as Xt, R as jt, o as Ht, y as be, u as Kt, O as Yt, C as qt, r as $t, t as Wt, K as Dt, z as Zt, G as kt, A as Jt, v as Qt } from "./KitScene-
|
|
9
|
+
import { T as bt, m as Mt, w as K, L as Ie, d as Rt, a as Se, c as ut, h as Ce, l as Bt, N as It, p as Ot, e as Tt, f as Ae, s as Lt, j as _t, k as Nt, n as Ut, S as We, E as Xt, R as jt, o as Ht, y as be, u as Kt, O as Yt, C as qt, r as $t, t as Wt, K as Dt, z as Zt, G as kt, A as Jt, v as Qt } from "./KitScene-qkWr95H9.js";
|
|
10
10
|
var wt;
|
|
11
11
|
const Y = typeof window < "u" && !!((wt = window.matchMedia) != null && wt.call(window, "(prefers-reduced-motion: reduce)").matches), ft = new t.Color("#3db8ff"), Me = new t.Color("#9fdcff"), Xe = new t.Color("#ff4fa8"), pt = new t.Color("#ff9ccf"), ne = new t.Color(1, 1, 1), Fe = new t.Color("#ffc24a"), eo = new t.Color("#ff2d55"), to = new t.Color("#3a4560"), ct = Object.fromEntries(Object.entries(bt).map(([e, r]) => [e, new t.Color(r)])), W = (e) => e < 0 ? 0 : e > 1 ? 1 : e, He = (e) => 1 - Math.pow(1 - W(e), 3), Be = (e) => (e = W(e), e < 0.5 ? 4 * e * e * e : 1 - Math.pow(-2 * e + 2, 3) / 2);
|
|
12
12
|
let Le = null;
|
|
@@ -4,7 +4,7 @@ var L = (e, n, r) => at(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 it, Bloom as ct, Vignette as lt } from "@react-three/postprocessing";
|
|
6
6
|
import * as t from "three";
|
|
7
|
-
import { T as We, h as X, K as ft, y as je, w as N, a as ce, D as ut, J as dt, L as ye, G as pt, A as ht, m as tt, c as qe, d as mt, M as Ye, R as vt, u as gt, B as bt, C as wt, e as yt, s as St, j as Mt, f as Ve, k as At, n as xt, v as Ct } from "./KitScene-
|
|
7
|
+
import { T as We, h as X, K as ft, y as je, w as N, a as ce, D as ut, J as dt, L as ye, G as pt, A as ht, m as tt, c as qe, d as mt, M as Ye, R as vt, u as gt, B as bt, C as wt, e as yt, s as St, j as Mt, f as Ve, k as At, n as xt, v as Ct } from "./KitScene-qkWr95H9.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 Pt } from "react";
|
|
10
10
|
var et;
|
|
@@ -7,7 +7,7 @@ import { EffectComposer as st, Bloom as it, Vignette as ct } from "@react-three/
|
|
|
7
7
|
import { useFrame as re, useThree as lt } from "@react-three/fiber";
|
|
8
8
|
import { useRef as z, useMemo as V, useEffect as ut, useState as $e } from "react";
|
|
9
9
|
import * as o from "three";
|
|
10
|
-
import { T as Xe, w as L, a as ge, p as pt, e as ft, s as dt, x as fe, f as We, L as be, j as mt, k as ht, n as gt, l as vt, g as yt, b as Ke, K as wt, y as bt, z as Mt, G as St, A as Ct, R as At, u as xt, B as Rt, C as Tt, m as De, c as Ye, d as Pt, v as Vt } from "./KitScene-
|
|
10
|
+
import { T as Xe, w as L, a as ge, p as pt, e as ft, s as dt, x as fe, f as We, L as be, j as mt, k as ht, n as gt, l as vt, g as yt, b as Ke, K as wt, y as bt, z as Mt, G as St, A as Ct, R as At, u as xt, B as Rt, C as Tt, m as De, c as Ye, d as Pt, v as Vt } from "./KitScene-qkWr95H9.js";
|
|
11
11
|
const oe = (t) => t < 0 ? 0 : t > 1 ? 1 : t, ke = (t) => 1 - Math.pow(1 - oe(t), 3), Me = (t) => (t = oe(t), t < 0.5 ? 4 * t * t * t : 1 - Math.pow(-2 * t + 2, 3) / 2), Gt = (t) => {
|
|
12
12
|
t = oe(t);
|
|
13
13
|
const r = 2.2;
|
|
@@ -6,7 +6,7 @@ import { EffectComposer as Ke, Bloom as Oe, Vignette as Ve } from "@react-three/
|
|
|
6
6
|
import { useThree as Gt, useFrame as pt } from "@react-three/fiber";
|
|
7
7
|
import { useMemo as K, useRef as k } from "react";
|
|
8
8
|
import * as r from "three";
|
|
9
|
-
import { Q as Ge, T as de, h as Rt, K as Ie, y as ee, w as N, a as yt, D as Le, J as Fe, L as It, G as je, A as De, m as Ce, c as we, d as We, M as Ne, R as Ue, u as Xe, C as $e, l as He, P as Ye, U as qe, e as Ze, s as Je, j as Qe, k as to, n as eo, f as Qt, v as oo } from "./KitScene-
|
|
9
|
+
import { Q as Ge, T as de, h as Rt, K as Ie, y as ee, w as N, a as yt, D as Le, J as Fe, L as It, G as je, A as De, m as Ce, c as we, d as We, M as Ne, R as Ue, u as Xe, C as $e, l as He, P as Ye, U as qe, e as Ze, s as Je, j as Qe, k as to, n as eo, f as Qt, v as oo } from "./KitScene-qkWr95H9.js";
|
|
10
10
|
var Ae;
|
|
11
11
|
const D = typeof window < "u" && !!((Ae = window.matchMedia) != null && Ae.call(window, "(prefers-reduced-motion: reduce)").matches), J = (t) => t < 0 ? 0 : t > 1 ? 1 : t, ue = (t) => 1 - Math.pow(1 - J(t), 3), te = (t) => (t = J(t), t < 0.5 ? 4 * t * t * t : 1 - Math.pow(-2 * t + 2, 3) / 2), I = new r.Color(1, 1, 1), H = new r.Color("#ffc46b"), Wt = new r.Color("#ff7a2e"), no = new r.Color("#fbbf24"), Dt = new r.Color("#ff2d4a"), ze = new r.Color("#8a93b8"), Nt = Object.fromEntries(Object.entries(de).map(([t, o]) => [t, new r.Color(o).lerp(I, 0.12)])), ro = Object.fromEntries(Object.entries(de).map(([t, o]) => [t, new r.Color(o).lerp(H, 0.35).lerp(I, 0.25)]));
|
|
12
12
|
function pe(t, o) {
|
|
@@ -25,13 +25,13 @@ const M = ["neural", "constellation", "orbit", "atom", "flow", "bubblechamber",
|
|
|
25
25
|
bubblechamber: { name: "Bubble chamber", tagline: "A bubble chamber: agents curl as particle tracks, spawns decay into a V, LLM calls burst bubbles." },
|
|
26
26
|
fireworks: { name: "Fireworks", tagline: "A night show over the water: agents burst as star shells, subagents as secondary bursts, LLM calls crackle." }
|
|
27
27
|
}, k = {
|
|
28
|
-
orbit: () => import("./index-
|
|
29
|
-
neural: () => import("./index-
|
|
30
|
-
flow: () => import("./index-
|
|
31
|
-
constellation: () => import("./index-
|
|
32
|
-
atom: () => import("./index-
|
|
33
|
-
bubblechamber: () => import("./index-
|
|
34
|
-
fireworks: () => import("./index-
|
|
28
|
+
orbit: () => import("./index-BP5CK-0G.js"),
|
|
29
|
+
neural: () => import("./index-BkOdY6y8.js"),
|
|
30
|
+
flow: () => import("./index-2zvNrAfW.js"),
|
|
31
|
+
constellation: () => import("./index-Bfpwwg62.js"),
|
|
32
|
+
atom: () => import("./index-B__6Mr7M.js"),
|
|
33
|
+
bubblechamber: () => import("./index-vbo-4RNb.js"),
|
|
34
|
+
fireworks: () => import("./index-Bxr6tpps.js")
|
|
35
35
|
}, m = /* @__PURE__ */ new Map();
|
|
36
36
|
function y(e) {
|
|
37
37
|
let n = m.get(e);
|
|
@@ -6,8 +6,8 @@ import { EffectComposer as Fe, Bloom as je, Vignette as qe } from "@react-three/
|
|
|
6
6
|
import * as r from "three";
|
|
7
7
|
import { useFrame as lt, useThree as We } from "@react-three/fiber";
|
|
8
8
|
import { useMemo as B, useRef as z, useEffect as le } from "react";
|
|
9
|
-
import { T as fe, h as ot, f as Tt, K as Ke, w as G, D as Ue, a as Ct, J as $e, L as dt, A as Xe, u as Te, y as rt, m as Ie, c as be, d as Ne, E as He, R as Ze, C as Ye, P as Qe, e as Je, s as to, j as eo, k as oo, n as no, v as so } from "./KitScene-
|
|
10
|
-
import { R as ro } from "./ResourceWire-
|
|
9
|
+
import { T as fe, h as ot, f as Tt, K as Ke, w as G, D as Ue, a as Ct, J as $e, L as dt, A as Xe, u as Te, y as rt, m as Ie, c as be, d as Ne, E as He, R as Ze, C as Ye, P as Qe, e as Je, s as to, j as eo, k as oo, n as no, v as so } from "./KitScene-qkWr95H9.js";
|
|
10
|
+
import { R as ro } from "./ResourceWire-BWQJV3bx.js";
|
|
11
11
|
var _e;
|
|
12
12
|
const H = typeof window < "u" && !!((_e = window.matchMedia) != null && _e.call(window, "(prefers-reduced-motion: reduce)").matches), at = (t) => t < 0 ? 0 : t > 1 ? 1 : t, qt = (t) => 1 - Math.pow(1 - at(t), 3), re = (t) => (t = at(t), t < 0.5 ? 4 * t * t * t : 1 - Math.pow(-2 * t + 2, 3) / 2), mt = () => performance.now() / 1e3, V = new r.Color(1, 1, 1), N = new r.Color("#bff3ff");
|
|
13
13
|
new r.Color("#2dd4bf");
|
package/dist/index.js
CHANGED