agentglow 0.1.0 → 0.2.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/README.md +38 -3
- package/dist/chunks/KitScene-C3SZiKL5.js +2793 -0
- package/dist/chunks/index--dwzdFRh.js +753 -0
- package/dist/chunks/index-B2PGx_wt.js +1010 -0
- package/dist/chunks/index-BZOG_CQS.js +838 -0
- package/dist/chunks/index-BfGluv59.js +784 -0
- package/dist/chunks/index-Bm4te7Ug.js +980 -0
- package/dist/chunks/index-Bqv_wy49.js +889 -0
- package/dist/chunks/index-Bsmr7FwH.js +763 -0
- package/dist/chunks/index-Bw31uayO.js +792 -0
- package/dist/chunks/index-C4F16M9q.js +887 -0
- package/dist/chunks/index-CRRHsMqy.js +68 -0
- package/dist/chunks/index-CS8eZTr_.js +818 -0
- package/dist/chunks/index-CdzGoWrn.js +1086 -0
- package/dist/chunks/index-CvDEulcq.js +492 -0
- package/dist/chunks/index-DXBfdHew.js +1143 -0
- package/dist/chunks/index-DdCs_ye9.js +605 -0
- package/dist/chunks/index-_KrED-np.js +677 -0
- package/dist/index.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/AgentScene.d.ts +14 -1
- package/dist/types/world.d.ts +69 -0
- package/package.json +1 -1
- package/dist/chunks/ClusterBall-CPsd6JvJ.js +0 -1489
- package/dist/chunks/index-0Bqa57T_.js +0 -786
- package/dist/chunks/index-4JCQqMml.js +0 -831
- package/dist/chunks/index-55W5crSg.js +0 -63
- package/dist/chunks/index-78lWZCrQ.js +0 -984
- package/dist/chunks/index-Bv6_kdaq.js +0 -768
- package/dist/chunks/index-Cgb5ir1r.js +0 -688
- package/dist/chunks/index-CqVCWpP7.js +0 -796
- package/dist/chunks/index-D1O5v601.js +0 -1065
- package/dist/chunks/index-DOoA9htC.js +0 -1181
- package/dist/chunks/index-K__sPGRy.js +0 -1134
- package/dist/chunks/index-N0zWN8NS.js +0 -857
- package/dist/chunks/index-NiYqQci9.js +0 -936
- package/dist/chunks/index-PQRnbPiJ.js +0 -565
- package/dist/chunks/index-VOXn1m-Q.js +0 -848
- package/dist/chunks/index-o4vs5msj.js +0 -837
- package/dist/chunks/index-yos7IepY.js +0 -890
- package/dist/chunks/spread-CWdeDFd9.js +0 -35
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { h as f, w as c } from "./ClusterBall-CPsd6JvJ.js";
|
|
2
|
-
const _ = (e) => e === "graph_scout" || e === "records_scout" || e === "data_scout", g = (e, t) => f(e, t) - 0.5, w = (e) => e === 0 ? 0 : e % 2 ? (e + 1) / 2 : -e / 2, u = /* @__PURE__ */ new Map();
|
|
3
|
-
function l(e, t) {
|
|
4
|
-
var n;
|
|
5
|
-
let s = u.get(t);
|
|
6
|
-
s || u.set(t, s = /* @__PURE__ */ new Map());
|
|
7
|
-
const o = s.get(e.id);
|
|
8
|
-
if (o !== void 0) return o;
|
|
9
|
-
for (const r of s.keys()) c.instances.has(r) || s.delete(r);
|
|
10
|
-
let a = 0;
|
|
11
|
-
for (let r = !0; r; ) {
|
|
12
|
-
r = !1;
|
|
13
|
-
for (const [i, d] of s)
|
|
14
|
-
if (d === a && ((n = c.instances.get(i)) == null ? void 0 : n.run) === e.run) {
|
|
15
|
-
r = !0, a++;
|
|
16
|
-
break;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
return s.set(e.id, a), a;
|
|
20
|
-
}
|
|
21
|
-
const p = {
|
|
22
|
-
planner: "planner",
|
|
23
|
-
researcher: "researcher",
|
|
24
|
-
writer: "writer",
|
|
25
|
-
graph_scout: "sub",
|
|
26
|
-
records_scout: "sub",
|
|
27
|
-
data_scout: "sub"
|
|
28
|
-
}, b = (e) => l(e, p[e.type]);
|
|
29
|
-
export {
|
|
30
|
-
w as a,
|
|
31
|
-
_ as i,
|
|
32
|
-
g as j,
|
|
33
|
-
b as r,
|
|
34
|
-
l as s
|
|
35
|
-
};
|