mirror of
https://git.j0bot.ch/admin_j0bot/xerboxion.git
synced 2026-11-29 07:55:08 +00:00
feat: Xerboxion monorepo structure with interactive ploxion network graph
Agent-Logs-Url: https://github.com/J0bot/xerboxion/sessions/ebea3463-cae7-4483-bc56-886b07091dad Co-authored-by: J0bot <65437977+J0bot@users.noreply.github.com>
This commit is contained in:
parent
b9aa459886
commit
7ef53d98be
66
.gitignore
vendored
Normal file
66
.gitignore
vendored
Normal file
@ -0,0 +1,66 @@
|
||||
# ── OS & editors ──────────────────────────────────────────
|
||||
.DS_Store
|
||||
.DS_Store?
|
||||
._*
|
||||
.Spotlight-V100
|
||||
.Trashes
|
||||
ehthumbs.db
|
||||
Thumbs.db
|
||||
*~
|
||||
*.swp
|
||||
*.swo
|
||||
.idea/
|
||||
.vscode/
|
||||
*.iml
|
||||
|
||||
# ── Node.js (monorepo root & workspaces) ──────────────────
|
||||
node_modules/
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
pnpm-debug.log*
|
||||
.pnpm-store/
|
||||
|
||||
# ── Rust ──────────────────────────────────────────────────
|
||||
/target/
|
||||
**/target/
|
||||
Cargo.lock # keep for binary crates; remove if lib-only
|
||||
*.rlib
|
||||
|
||||
# ── Python ────────────────────────────────────────────────
|
||||
__pycache__/
|
||||
*.pyc
|
||||
*.pyo
|
||||
.venv/
|
||||
venv/
|
||||
*.egg-info/
|
||||
dist/
|
||||
build/
|
||||
|
||||
# ── Flutter ───────────────────────────────────────────────
|
||||
.dart_tool/
|
||||
.flutter-plugins
|
||||
.flutter-plugins-dependencies
|
||||
.packages
|
||||
pubspec.lock
|
||||
|
||||
# ── Build artifacts ───────────────────────────────────────
|
||||
/dist/
|
||||
**/dist/
|
||||
*.min.js.map
|
||||
|
||||
# ── Vendor / bundled libs KEPT in repo ────────────────────
|
||||
# cytoscape.min.js is intentionally committed alongside
|
||||
# graph-viewer.html so the viewer works offline.
|
||||
!.ploxion-graph/cytoscape.min.js
|
||||
|
||||
# ── Environment / secrets ─────────────────────────────────
|
||||
.env
|
||||
.env.*
|
||||
!.env.example
|
||||
*.pem
|
||||
*.key
|
||||
|
||||
# ── Logs ──────────────────────────────────────────────────
|
||||
*.log
|
||||
logs/
|
||||
63
.gitmodules
vendored
Normal file
63
.gitmodules
vendored
Normal file
@ -0,0 +1,63 @@
|
||||
# Git submodule references for all Xerboxion ecosystem repositories
|
||||
# Run `npm run submodule:init` to initialize all submodules
|
||||
# Run `npm run submodule:update` to update all submodules to latest
|
||||
|
||||
[submodule "ploxions/xerboxion-core"]
|
||||
path = ploxions/xerboxion-core
|
||||
url = https://github.com/J0bot/xerboxion-core
|
||||
branch = main
|
||||
|
||||
[submodule "ploxions/xerax"]
|
||||
path = ploxions/xerax
|
||||
url = https://github.com/J0bot/xerax
|
||||
branch = main
|
||||
|
||||
[submodule "ploxions/cubion"]
|
||||
path = ploxions/cubion
|
||||
url = https://github.com/J0bot/cubion
|
||||
branch = main
|
||||
|
||||
[submodule "ploxions/room-map"]
|
||||
path = ploxions/room-map
|
||||
url = https://github.com/J0bot/room-map
|
||||
branch = main
|
||||
|
||||
[submodule "ploxions/xerfarm"]
|
||||
path = ploxions/xerfarm
|
||||
url = https://github.com/J0bot/Xerfarm
|
||||
branch = main
|
||||
|
||||
[submodule "ploxions/galactic-architect"]
|
||||
path = ploxions/galactic-architect
|
||||
url = https://github.com/J0bot/galactic_architect
|
||||
branch = main
|
||||
|
||||
[submodule "xeri0ns/swarm-xerboxion"]
|
||||
path = xeri0ns/swarm-xerboxion
|
||||
url = https://github.com/J0bot/swarm-xerboxion
|
||||
branch = main
|
||||
|
||||
[submodule "xeri0ns/galactic-jarvis"]
|
||||
path = xeri0ns/galactic-jarvis
|
||||
url = https://github.com/J0bot/galactic-_jarvis
|
||||
branch = main
|
||||
|
||||
[submodule "platforms/xerboxion-os"]
|
||||
path = platforms/xerboxion-os
|
||||
url = https://github.com/J0bot/xerboxion-os
|
||||
branch = main
|
||||
|
||||
[submodule "platforms/minecraft-os"]
|
||||
path = platforms/minecraft-os
|
||||
url = https://github.com/J0bot/minecraft-os
|
||||
branch = main
|
||||
|
||||
[submodule "platforms/xerboxion-web"]
|
||||
path = platforms/xerboxion-web
|
||||
url = https://github.com/J0bot/xerboxion-web
|
||||
branch = main
|
||||
|
||||
[submodule "platforms/my_website2"]
|
||||
path = platforms/my_website2
|
||||
url = https://github.com/J0bot/my_website2
|
||||
branch = main
|
||||
198
.ploxion-graph/connections.json
Normal file
198
.ploxion-graph/connections.json
Normal file
@ -0,0 +1,198 @@
|
||||
{
|
||||
"version": "1.0.0",
|
||||
"description": "Complete cross-project dependency graph for the Xerboxion ecosystem",
|
||||
"connections": [
|
||||
{
|
||||
"id": "c01",
|
||||
"from": "xerax",
|
||||
"to": "xerboxion-core",
|
||||
"type": "depends-on",
|
||||
"protocol": "PLC v0",
|
||||
"description": "xerax requires core runtime for process lifecycle and IPC bus registration"
|
||||
},
|
||||
{
|
||||
"id": "c02",
|
||||
"from": "cubion",
|
||||
"to": "xerboxion-core",
|
||||
"type": "depends-on",
|
||||
"protocol": "PLC v0",
|
||||
"description": "cubion storage ploxion registers and runs on core runtime"
|
||||
},
|
||||
{
|
||||
"id": "c03",
|
||||
"from": "room-map",
|
||||
"to": "xerboxion-core",
|
||||
"type": "depends-on",
|
||||
"protocol": "PLC v0",
|
||||
"description": "room-map requires core runtime for process management"
|
||||
},
|
||||
{
|
||||
"id": "c04",
|
||||
"from": "xerfarm",
|
||||
"to": "xerboxion-core",
|
||||
"type": "depends-on",
|
||||
"protocol": "PLC v0",
|
||||
"description": "xerfarm requires core runtime for scheduling and IPC"
|
||||
},
|
||||
{
|
||||
"id": "c05",
|
||||
"from": "galactic-architect",
|
||||
"to": "xerboxion-core",
|
||||
"type": "depends-on",
|
||||
"protocol": "PLC v0",
|
||||
"description": "galactic-architect registers on core runtime"
|
||||
},
|
||||
{
|
||||
"id": "c06",
|
||||
"from": "swarm-xerboxion",
|
||||
"to": "xerboxion-core",
|
||||
"type": "depends-on",
|
||||
"protocol": "IPC Bus",
|
||||
"description": "swarm agents communicate via core IPC bus; coordinator registers with process manager"
|
||||
},
|
||||
{
|
||||
"id": "c07",
|
||||
"from": "room-map",
|
||||
"to": "cubion",
|
||||
"type": "consumes",
|
||||
"protocol": "PLC v0 / storage-api",
|
||||
"description": "room-map persists 3D spatial maps via cubion storage-api"
|
||||
},
|
||||
{
|
||||
"id": "c08",
|
||||
"from": "xerfarm",
|
||||
"to": "cubion",
|
||||
"type": "consumes",
|
||||
"protocol": "PLC v0 / storage-api",
|
||||
"description": "xerfarm stores resource data, harvest logs, and farm state via cubion"
|
||||
},
|
||||
{
|
||||
"id": "c09",
|
||||
"from": "galactic-architect",
|
||||
"to": "cubion",
|
||||
"type": "consumes",
|
||||
"protocol": "PLC v0 / galaxy-db",
|
||||
"description": "galactic-architect persists the entire universe graph via cubion galaxy-db"
|
||||
},
|
||||
{
|
||||
"id": "c10",
|
||||
"from": "swarm-xerboxion",
|
||||
"to": "cubion",
|
||||
"type": "consumes",
|
||||
"protocol": "PLC v0 / memory-core",
|
||||
"description": "swarm agents persist mission memory and agent state via cubion"
|
||||
},
|
||||
{
|
||||
"id": "c11",
|
||||
"from": "xerfarm",
|
||||
"to": "room-map",
|
||||
"type": "consumes",
|
||||
"protocol": "PLC v0 / spatial-map",
|
||||
"description": "xerfarm uses room-map spatial data to optimize farm layout and resource placement"
|
||||
},
|
||||
{
|
||||
"id": "c12",
|
||||
"from": "galactic-architect",
|
||||
"to": "room-map",
|
||||
"type": "consumes",
|
||||
"protocol": "PLC v0 / spatial-map",
|
||||
"description": "galactic-architect uses real-world spatial maps to anchor digital universe topology"
|
||||
},
|
||||
{
|
||||
"id": "c13",
|
||||
"from": "swarm-xerboxion",
|
||||
"to": "galactic-architect",
|
||||
"type": "consumes",
|
||||
"protocol": "PLC v0 / universe-api",
|
||||
"description": "swarm agents query and update the universe state via galactic-architect"
|
||||
},
|
||||
{
|
||||
"id": "c14",
|
||||
"from": "swarm-xerboxion",
|
||||
"to": "xerax",
|
||||
"type": "consumes",
|
||||
"protocol": "PLC v0 / thought-commands",
|
||||
"description": "swarm agents receive thought-commands from xerax BCI as high-priority mission triggers"
|
||||
},
|
||||
{
|
||||
"id": "c15",
|
||||
"from": "xerfarm",
|
||||
"to": "swarm-xerboxion",
|
||||
"type": "consumes",
|
||||
"protocol": "PLC v0 / mission-queue",
|
||||
"description": "xerfarm delegates complex autonomous farm tasks to swarm agents"
|
||||
},
|
||||
{
|
||||
"id": "c16",
|
||||
"from": "galactic-jarvis",
|
||||
"to": "swarm-xerboxion",
|
||||
"type": "depends-on",
|
||||
"protocol": "PLC v0 / agent-pool",
|
||||
"description": "galactic-jarvis orchestrates via swarm agent pool for distributed reasoning tasks"
|
||||
},
|
||||
{
|
||||
"id": "c17",
|
||||
"from": "galactic-jarvis",
|
||||
"to": "galactic-architect",
|
||||
"type": "consumes",
|
||||
"protocol": "PLC v0 / universe-api",
|
||||
"description": "galactic-jarvis holds full universe context from galactic-architect for long-horizon planning"
|
||||
},
|
||||
{
|
||||
"id": "c18",
|
||||
"from": "xerboxion-os",
|
||||
"to": "xerboxion-core",
|
||||
"type": "depends-on",
|
||||
"protocol": "native",
|
||||
"description": "xerboxion-os is built directly on top of core runtime as primary OS layer"
|
||||
},
|
||||
{
|
||||
"id": "c19",
|
||||
"from": "xerboxion-os",
|
||||
"to": "xerax",
|
||||
"type": "consumes",
|
||||
"protocol": "PLC v0 / bci-api",
|
||||
"description": "OS integrates thought-control from xerax for hands-free navigation"
|
||||
},
|
||||
{
|
||||
"id": "c20",
|
||||
"from": "xerboxion-os",
|
||||
"to": "cubion",
|
||||
"type": "consumes",
|
||||
"protocol": "PLC v0 / storage-api",
|
||||
"description": "OS uses cubion for all persistent user and system data storage"
|
||||
},
|
||||
{
|
||||
"id": "c21",
|
||||
"from": "minecraft-os",
|
||||
"to": "cubion",
|
||||
"type": "inspired-by",
|
||||
"protocol": "conceptual",
|
||||
"description": "The CUBION Minecraft item is a physical prototype of the cubion concept"
|
||||
},
|
||||
{
|
||||
"id": "c22",
|
||||
"from": "xerboxion-web",
|
||||
"to": "xerboxion-core",
|
||||
"type": "depends-on",
|
||||
"protocol": "HTTP/WebSocket",
|
||||
"description": "web frontend connects to core runtime health and API endpoints"
|
||||
},
|
||||
{
|
||||
"id": "c23",
|
||||
"from": "xerboxion-web",
|
||||
"to": "swarm-xerboxion",
|
||||
"type": "consumes",
|
||||
"protocol": "HTTP / mission-queue",
|
||||
"description": "web UI enqueues missions and reads agent status from swarm coordinator"
|
||||
},
|
||||
{
|
||||
"id": "c24",
|
||||
"from": "my-website",
|
||||
"to": "xerboxion-core",
|
||||
"type": "references",
|
||||
"protocol": "documentation",
|
||||
"description": "j0bot.ch presents the Xerboxion paper and links to xerboxion-core specifications"
|
||||
}
|
||||
]
|
||||
}
|
||||
31
.ploxion-graph/cytoscape.min.js
vendored
Normal file
31
.ploxion-graph/cytoscape.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
847
.ploxion-graph/graph-viewer.html
Normal file
847
.ploxion-graph/graph-viewer.html
Normal file
@ -0,0 +1,847 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>⬡ Xerboxion — Ploxion Network</title>
|
||||
<!-- Cytoscape.js — local copy (cytoscape.min.js) bundled alongside this file -->
|
||||
<!-- CDN fallback for environments without the local file -->
|
||||
<script>
|
||||
(function() {
|
||||
var s = document.createElement('script');
|
||||
s.src = 'cytoscape.min.js';
|
||||
s.onload = function() { if (document.readyState === 'complete') { initGraph(); } else { window.addEventListener('load', initGraph); } };
|
||||
s.onerror = function() {
|
||||
var fb = document.createElement('script');
|
||||
fb.src = 'https://cdnjs.cloudflare.com/ajax/libs/cytoscape/3.28.1/cytoscape.min.js';
|
||||
fb.onload = function() { if (document.readyState === 'complete') { initGraph(); } else { window.addEventListener('load', initGraph); } };
|
||||
document.head.appendChild(fb);
|
||||
};
|
||||
document.head.appendChild(s);
|
||||
})();
|
||||
</script>
|
||||
<style>
|
||||
:root {
|
||||
--bg: #06060f;
|
||||
--bg2: #0a0a1a;
|
||||
--bg3: #0f0f28;
|
||||
--border: #1c1c44;
|
||||
--core-clr: #ff4081;
|
||||
--plox-clr: #00e5ff;
|
||||
--xer0n-clr: #aa44ff;
|
||||
--plat-clr: #ff9100;
|
||||
--text: #9090b8;
|
||||
--text-hi: #d8d8f8;
|
||||
}
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
|
||||
body {
|
||||
font-family: 'Courier New', Courier, monospace;
|
||||
background: var(--bg);
|
||||
color: var(--text);
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* ─── HEADER ─────────────────────────────────────────── */
|
||||
header {
|
||||
background: var(--bg2);
|
||||
border-bottom: 1px solid var(--border);
|
||||
padding: 10px 20px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
flex-shrink: 0;
|
||||
z-index: 10;
|
||||
}
|
||||
.h-left { display: flex; align-items: center; gap: 14px; }
|
||||
.h-logo {
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
color: var(--plox-clr);
|
||||
text-shadow: 0 0 20px var(--plox-clr);
|
||||
letter-spacing: 4px;
|
||||
}
|
||||
.h-sub { font-size: 10px; color: #44446a; letter-spacing: 2px; }
|
||||
.h-stats { display: flex; gap: 24px; }
|
||||
.stat { display: flex; flex-direction: column; align-items: center; }
|
||||
.stat-v { font-size: 16px; font-weight: bold; }
|
||||
.stat-l { font-size: 9px; color: #44446a; letter-spacing: 1px; }
|
||||
|
||||
/* ─── LAYOUT ─────────────────────────────────────────── */
|
||||
.app-body { flex: 1; display: flex; overflow: hidden; position: relative; }
|
||||
|
||||
/* ─── SIDEBAR ────────────────────────────────────────── */
|
||||
.sidebar {
|
||||
width: 248px;
|
||||
background: var(--bg2);
|
||||
border-right: 1px solid var(--border);
|
||||
padding: 14px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 18px;
|
||||
overflow-y: auto;
|
||||
flex-shrink: 0;
|
||||
z-index: 5;
|
||||
}
|
||||
.sb-title {
|
||||
font-size: 9px;
|
||||
letter-spacing: 2px;
|
||||
color: #33335a;
|
||||
text-transform: uppercase;
|
||||
padding-bottom: 5px;
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
.sb-sec { display: flex; flex-direction: column; gap: 8px; }
|
||||
|
||||
/* Search */
|
||||
.search-wrap { position: relative; }
|
||||
.search-input {
|
||||
background: var(--bg3);
|
||||
border: 1px solid var(--border);
|
||||
color: var(--text-hi);
|
||||
padding: 7px 10px 7px 28px;
|
||||
font-family: inherit;
|
||||
font-size: 11px;
|
||||
width: 100%;
|
||||
outline: none;
|
||||
transition: border-color .2s, box-shadow .2s;
|
||||
}
|
||||
.search-input:focus {
|
||||
border-color: var(--plox-clr);
|
||||
box-shadow: 0 0 10px rgba(0,229,255,.15);
|
||||
}
|
||||
.search-icon {
|
||||
position: absolute;
|
||||
left: 9px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
font-size: 12px;
|
||||
color: #33335a;
|
||||
pointer-events: none;
|
||||
}
|
||||
.search-clear {
|
||||
position: absolute;
|
||||
right: 8px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
font-size: 14px;
|
||||
color: #33335a;
|
||||
cursor: pointer;
|
||||
display: none;
|
||||
}
|
||||
.search-clear:hover { color: var(--text); }
|
||||
|
||||
/* Filter buttons */
|
||||
.filter-btn {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 7px 10px;
|
||||
background: var(--bg3);
|
||||
border: 1px solid var(--border);
|
||||
cursor: pointer;
|
||||
font-family: inherit;
|
||||
font-size: 11px;
|
||||
color: var(--text);
|
||||
transition: all .2s;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
}
|
||||
.filter-btn:hover { background: #0f0f30; }
|
||||
.filter-btn.active { border-color: rgba(255,255,255,.12); }
|
||||
.filter-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
|
||||
.filter-label { flex: 1; }
|
||||
.filter-count { font-size: 9px; color: #33335a; }
|
||||
|
||||
/* Layout buttons */
|
||||
.layout-row { display: flex; gap: 6px; }
|
||||
.layout-btn {
|
||||
flex: 1;
|
||||
padding: 6px 4px;
|
||||
background: var(--bg3);
|
||||
border: 1px solid var(--border);
|
||||
color: var(--text);
|
||||
font-family: inherit;
|
||||
font-size: 10px;
|
||||
cursor: pointer;
|
||||
transition: all .2s;
|
||||
letter-spacing: .5px;
|
||||
}
|
||||
.layout-btn:hover, .layout-btn.active {
|
||||
border-color: var(--plox-clr);
|
||||
color: var(--plox-clr);
|
||||
background: rgba(0,229,255,.04);
|
||||
}
|
||||
|
||||
/* Legend */
|
||||
.legend-item { display: flex; align-items: center; gap: 8px; font-size: 10px; }
|
||||
.leg-box {
|
||||
width: 22px;
|
||||
height: 13px;
|
||||
border: 2px solid;
|
||||
background: rgba(255,255,255,.04);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.leg-diamond {
|
||||
width: 13px;
|
||||
height: 13px;
|
||||
border: 2px solid;
|
||||
transform: rotate(45deg);
|
||||
background: rgba(255,255,255,.04);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.edge-row { display: flex; align-items: center; gap: 8px; font-size: 10px; }
|
||||
.edge-line { width: 22px; height: 1px; }
|
||||
|
||||
/* ─── GRAPH ──────────────────────────────────────────── */
|
||||
#cy {
|
||||
flex: 1;
|
||||
background-color: var(--bg);
|
||||
background-image:
|
||||
radial-gradient(circle at 15% 55%, rgba(0,80,200,.04) 0%, transparent 50%),
|
||||
radial-gradient(circle at 85% 20%, rgba(120,0,220,.04) 0%, transparent 50%),
|
||||
linear-gradient(rgba(28,28,64,.25) 1px, transparent 1px),
|
||||
linear-gradient(90deg, rgba(28,28,64,.25) 1px, transparent 1px);
|
||||
background-size: auto, auto, 40px 40px, 40px 40px;
|
||||
}
|
||||
|
||||
/* ─── ZOOM CONTROLS ──────────────────────────────────── */
|
||||
.zoom-controls {
|
||||
position: absolute;
|
||||
bottom: 20px;
|
||||
left: 264px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
z-index: 10;
|
||||
}
|
||||
.z-btn {
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
background: var(--bg2);
|
||||
border: 1px solid var(--border);
|
||||
color: var(--text);
|
||||
font-size: 15px;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: all .2s;
|
||||
}
|
||||
.z-btn:hover { border-color: var(--plox-clr); color: var(--plox-clr); }
|
||||
|
||||
/* ─── DETAIL PANEL ───────────────────────────────────── */
|
||||
.detail-panel {
|
||||
width: 290px;
|
||||
background: var(--bg2);
|
||||
border-left: 1px solid var(--border);
|
||||
padding: 18px;
|
||||
overflow-y: auto;
|
||||
flex-shrink: 0;
|
||||
z-index: 5;
|
||||
}
|
||||
.dp-empty {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
gap: 10px;
|
||||
color: #222244;
|
||||
text-align: center;
|
||||
}
|
||||
.dp-empty-icon { font-size: 44px; }
|
||||
.dp-empty-text { font-size: 11px; line-height: 1.6; }
|
||||
.dp-type-badge {
|
||||
display: inline-block;
|
||||
padding: 2px 8px;
|
||||
font-size: 9px;
|
||||
letter-spacing: 2px;
|
||||
text-transform: uppercase;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.dp-name {
|
||||
font-size: 17px;
|
||||
font-weight: bold;
|
||||
color: var(--text-hi);
|
||||
letter-spacing: 1px;
|
||||
line-height: 1.3;
|
||||
}
|
||||
.dp-desc { font-size: 11px; line-height: 1.65; margin-top: 10px; }
|
||||
.dp-sec { margin-top: 16px; }
|
||||
.dp-sec-title {
|
||||
font-size: 9px;
|
||||
letter-spacing: 2px;
|
||||
text-transform: uppercase;
|
||||
color: #33335a;
|
||||
margin-bottom: 7px;
|
||||
}
|
||||
.dp-meta { display: flex; flex-direction: column; gap: 5px; }
|
||||
.dp-row { display: flex; gap: 8px; font-size: 11px; }
|
||||
.dp-key { color: #44446a; min-width: 70px; flex-shrink: 0; }
|
||||
.dp-val { color: var(--text-hi); }
|
||||
.dp-chips { display: flex; flex-wrap: wrap; gap: 4px; }
|
||||
.dp-chip {
|
||||
padding: 2px 7px;
|
||||
font-size: 9px;
|
||||
border: 1px solid;
|
||||
border-radius: 1px;
|
||||
letter-spacing: .5px;
|
||||
}
|
||||
.dp-tags { display: flex; flex-wrap: wrap; gap: 4px; }
|
||||
.dp-tag {
|
||||
padding: 2px 6px;
|
||||
background: var(--bg3);
|
||||
border: 1px solid var(--border);
|
||||
font-size: 9px;
|
||||
color: #55557a;
|
||||
}
|
||||
.dp-link {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 6px;
|
||||
margin-top: 18px;
|
||||
padding: 8px 14px;
|
||||
background: var(--bg3);
|
||||
border: 1px solid var(--border);
|
||||
color: var(--plox-clr);
|
||||
text-decoration: none;
|
||||
font-size: 10px;
|
||||
letter-spacing: 1px;
|
||||
transition: all .2s;
|
||||
}
|
||||
.dp-link:hover { background: rgba(0,229,255,.05); }
|
||||
|
||||
/* Status dots */
|
||||
.s-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 4px; vertical-align: middle; }
|
||||
.s-alpha { background: #ffaa00; box-shadow: 0 0 5px #ffaa00; }
|
||||
.s-beta { background: #00aaff; box-shadow: 0 0 5px #00aaff; }
|
||||
.s-stable { background: #00ff88; box-shadow: 0 0 5px #00ff88; }
|
||||
.s-concept{ background: #555577; box-shadow: 0 0 5px #555577; }
|
||||
|
||||
/* Scrollbar */
|
||||
::-webkit-scrollbar { width: 3px; }
|
||||
::-webkit-scrollbar-track { background: transparent; }
|
||||
::-webkit-scrollbar-thumb { background: var(--border); }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- ══ HEADER ══════════════════════════════════════════════ -->
|
||||
<header>
|
||||
<div class="h-left">
|
||||
<div class="h-logo">⬡ XERBOXION</div>
|
||||
<div>
|
||||
<div style="font-size:13px;color:var(--text-hi);letter-spacing:2px;">PLOXION NETWORK</div>
|
||||
<div class="h-sub">REPOVERSE v1.0 · INTERACTIVE DEPENDENCY GRAPH</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="h-stats">
|
||||
<div class="stat"><div class="stat-v" style="color:var(--core-clr)">1</div><div class="stat-l">CORE</div></div>
|
||||
<div class="stat"><div class="stat-v" style="color:var(--plox-clr)">5</div><div class="stat-l">PLOXIONS</div></div>
|
||||
<div class="stat"><div class="stat-v" style="color:var(--xer0n-clr)">2</div><div class="stat-l">XERI0NS</div></div>
|
||||
<div class="stat"><div class="stat-v" style="color:var(--plat-clr)">4</div><div class="stat-l">PLATFORMS</div></div>
|
||||
<div class="stat"><div class="stat-v" style="color:var(--text-hi)">24</div><div class="stat-l">LINKS</div></div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<!-- ══ BODY ════════════════════════════════════════════════ -->
|
||||
<div class="app-body">
|
||||
|
||||
<!-- ── SIDEBAR ── -->
|
||||
<div class="sidebar">
|
||||
|
||||
<div class="sb-sec">
|
||||
<div class="sb-title">Search</div>
|
||||
<div class="search-wrap">
|
||||
<span class="search-icon">⌕</span>
|
||||
<input id="search" class="search-input" type="text" placeholder="name, tag, capability…" />
|
||||
<span class="search-clear" id="search-clear" onclick="clearSearch()">×</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="sb-sec">
|
||||
<div class="sb-title">Filters</div>
|
||||
<button id="f-core" class="filter-btn active" onclick="toggleFilter('core')">
|
||||
<div class="filter-dot" style="background:var(--core-clr);box-shadow:0 0 6px var(--core-clr)"></div>
|
||||
<span class="filter-label">Core Runtime</span>
|
||||
<span class="filter-count">1</span>
|
||||
</button>
|
||||
<button id="f-ploxion" class="filter-btn active" onclick="toggleFilter('ploxion')">
|
||||
<div class="filter-dot" style="background:var(--plox-clr);box-shadow:0 0 6px var(--plox-clr)"></div>
|
||||
<span class="filter-label">Ploxions</span>
|
||||
<span class="filter-count">5</span>
|
||||
</button>
|
||||
<button id="f-xeri0n" class="filter-btn active" onclick="toggleFilter('xeri0n')">
|
||||
<div class="filter-dot" style="background:var(--xer0n-clr);box-shadow:0 0 6px var(--xer0n-clr)"></div>
|
||||
<span class="filter-label">Xeri0ns</span>
|
||||
<span class="filter-count">2</span>
|
||||
</button>
|
||||
<button id="f-platform" class="filter-btn active" onclick="toggleFilter('platform')">
|
||||
<div class="filter-dot" style="background:var(--plat-clr);box-shadow:0 0 6px var(--plat-clr)"></div>
|
||||
<span class="filter-label">Platforms</span>
|
||||
<span class="filter-count">4</span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="sb-sec">
|
||||
<div class="sb-title">Layout</div>
|
||||
<div class="layout-row">
|
||||
<button class="layout-btn active" id="l-cose" onclick="setLayout('cose')">Force</button>
|
||||
<button class="layout-btn" id="l-breadthfirst" onclick="setLayout('breadthfirst')">Tree</button>
|
||||
<button class="layout-btn" id="l-circle" onclick="setLayout('circle')">Circle</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="sb-sec">
|
||||
<div class="sb-title">Legend — Nodes</div>
|
||||
<div class="legend-item">
|
||||
<div class="leg-box" style="border-color:var(--core-clr);width:26px;height:15px;"></div>
|
||||
<span style="color:var(--core-clr)">Core Runtime</span>
|
||||
</div>
|
||||
<div class="legend-item">
|
||||
<div class="leg-box" style="border-color:var(--plox-clr)"></div>
|
||||
<span style="color:var(--plox-clr)">Ploxion</span>
|
||||
</div>
|
||||
<div class="legend-item">
|
||||
<div class="leg-diamond" style="border-color:var(--xer0n-clr)"></div>
|
||||
<span style="color:var(--xer0n-clr)">Xeri0n (AI Agent)</span>
|
||||
</div>
|
||||
<div class="legend-item">
|
||||
<div class="leg-box" style="border-color:var(--plat-clr);border-style:dashed"></div>
|
||||
<span style="color:var(--plat-clr)">Platform</span>
|
||||
</div>
|
||||
<div class="sb-title" style="margin-top:6px">Legend — Edges</div>
|
||||
<div class="edge-row">
|
||||
<div class="edge-line" style="background:var(--plox-clr);height:2px"></div>
|
||||
<span>depends-on</span>
|
||||
</div>
|
||||
<div class="edge-row">
|
||||
<div class="edge-line" style="background:var(--xer0n-clr);border-top:1px dashed var(--xer0n-clr);height:0"></div>
|
||||
<span>consumes</span>
|
||||
</div>
|
||||
<div class="edge-row">
|
||||
<div class="edge-line" style="background:#444466;height:1px"></div>
|
||||
<span>references / inspired-by</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="sb-sec" style="margin-top:auto;padding-top:8px;border-top:1px solid var(--border)">
|
||||
<a href="https://github.com/J0bot/xerboxion" target="_blank"
|
||||
style="font-size:10px;color:#33335a;text-decoration:none;letter-spacing:1px">
|
||||
⬡ github.com/J0bot/xerboxion
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- ── GRAPH CANVAS ── -->
|
||||
<div id="cy"></div>
|
||||
|
||||
<!-- ── ZOOM CONTROLS ── -->
|
||||
<div class="zoom-controls">
|
||||
<button class="z-btn" onclick="cy.fit(null,40)" title="Fit all">⊡</button>
|
||||
<button class="z-btn" onclick="cy.zoom(cy.zoom()*1.35);cy.center()" title="Zoom in">+</button>
|
||||
<button class="z-btn" onclick="cy.zoom(cy.zoom()*.75);cy.center()" title="Zoom out">−</button>
|
||||
<button class="z-btn" onclick="resetHL()" title="Clear highlight">↺</button>
|
||||
</div>
|
||||
|
||||
<!-- ── DETAIL PANEL ── -->
|
||||
<div class="detail-panel" id="dp">
|
||||
<div class="dp-empty" id="dp-empty">
|
||||
<div class="dp-empty-icon">⬡</div>
|
||||
<div class="dp-empty-text">Click any node to inspect<br>component details</div>
|
||||
</div>
|
||||
<div id="dp-content" style="display:none"></div>
|
||||
</div>
|
||||
|
||||
</div><!-- app-body -->
|
||||
|
||||
<!-- ══ SCRIPT ══════════════════════════════════════════════ -->
|
||||
<script>
|
||||
// ── DATA ─────────────────────────────────────────────────────────────
|
||||
|
||||
const NODES = [
|
||||
/* CORE */
|
||||
{ id:'xerboxion-core', name:'Xerboxion Core', type:'core', tier:'foundation',
|
||||
desc:'Core runtime, process manager, IPC bus, and PLC registry — the foundational layer upon which every other ploxion runs. No external dependencies.',
|
||||
status:'alpha', lang:'Rust', repo:'https://github.com/J0bot/xerboxion-core',
|
||||
provides:['runtime','process-manager','ipc-bus','plc-registry','health-api'],
|
||||
requires:[],
|
||||
tags:['core','runtime','kernel','rust','plc'] },
|
||||
|
||||
/* PLOXIONS */
|
||||
{ id:'xerax', name:'Xerax', type:'ploxion', tier:'interface',
|
||||
desc:'Brain-Computer Interface ploxion. Acquires EEG signals via BrainFlow, trains neural networks, and translates thought-patterns into typed commands.',
|
||||
status:'alpha', lang:'Python', repo:'https://github.com/J0bot/xerax',
|
||||
provides:['thought-commands','eeg-stream','neural-model','bci-api'],
|
||||
requires:['runtime'],
|
||||
tags:['bci','eeg','neural','brainflow','thought-control'] },
|
||||
|
||||
{ id:'cubion', name:'Cubion', type:'ploxion', tier:'storage',
|
||||
desc:'Distributed modular storage ploxion. Implements the Cubion hardware standard in software: pluggable cube-shaped storage units with physical-world anchoring.',
|
||||
status:'alpha', lang:'Rust', repo:'https://github.com/J0bot/cubion',
|
||||
provides:['storage-api','cube-db','sync-protocol','cubion-link'],
|
||||
requires:['runtime'],
|
||||
tags:['storage','database','cubion','distributed','hardware'] },
|
||||
|
||||
{ id:'room-map', name:'Room Map', type:'ploxion', tier:'spatial',
|
||||
desc:'Spatial mapping ploxion. Builds and maintains real-time 3D maps of physical environments to give the ecosystem spatial awareness.',
|
||||
status:'alpha', lang:'TypeScript', repo:'https://github.com/J0bot/room-map',
|
||||
provides:['spatial-map','room-model','location-api'],
|
||||
requires:['storage-api','runtime'],
|
||||
tags:['spatial','mapping','3d','environment','lidar'] },
|
||||
|
||||
{ id:'xerfarm', name:'Xerfarm', type:'ploxion', tier:'resources',
|
||||
desc:'Agriculture and resource-management ploxion. Automates cultivation, tracks resource flows, and manages harvest operations.',
|
||||
status:'alpha', lang:'Python', repo:'https://github.com/J0bot/Xerfarm',
|
||||
provides:['resource-manager','farm-control','harvest-api'],
|
||||
requires:['storage-api','spatial-map','runtime'],
|
||||
tags:['agriculture','resources','automation','food','sustainability'] },
|
||||
|
||||
{ id:'galactic-architect', name:'Galactic Architect', type:'ploxion', tier:'universe',
|
||||
desc:'Universe-architecture ploxion. Manages the meta-structure of the Xerboxion digital multiverse — dimensions, galactic topologies, and reality layers.',
|
||||
status:'concept', lang:'TypeScript', repo:'https://github.com/J0bot/galactic_architect',
|
||||
provides:['universe-api','dimension-manager','architect-query','galaxy-db'],
|
||||
requires:['storage-api','spatial-map','runtime'],
|
||||
tags:['universe','architecture','galactic','meta','dimensions'] },
|
||||
|
||||
/* XERI0NS */
|
||||
{ id:'swarm-xerboxion', name:'Swarm Xerboxion', type:'xeri0n', tier:'orchestration',
|
||||
desc:'Multi-agent orchestration xeri0n. Coordinates autonomous workers via Mission Core, Memory Core, Agent Core, IPC server, and a Discord adapter.',
|
||||
status:'alpha', lang:'TypeScript', repo:'https://github.com/J0bot/swarm-xerboxion',
|
||||
provides:['agent-pool','mission-queue','memory-core','coordinator','discord-adapter'],
|
||||
requires:['runtime','ipc-bus','storage-api'],
|
||||
tags:['swarm','agents','orchestration','autonomous','discord','ipc'] },
|
||||
|
||||
{ id:'galactic-jarvis', name:'Galactic Jarvis', type:'xeri0n', tier:'ai',
|
||||
desc:'High-level AI assistant xeri0n. Provides natural-language reasoning, long-horizon planning, and full universe context across the entire ecosystem.',
|
||||
status:'concept', lang:'Python', repo:'https://github.com/J0bot/galactic-_jarvis',
|
||||
provides:['ai-assistant','nlp-api','planning-core'],
|
||||
requires:['agent-pool','universe-api','memory-core','runtime'],
|
||||
tags:['ai','assistant','galactic','nlp','llm','planning'] },
|
||||
|
||||
/* PLATFORMS */
|
||||
{ id:'xerboxion-os', name:'Xerboxion OS', type:'platform', tier:'os',
|
||||
desc:'Main OS platform. Rust/Flutter application for Android providing the primary user interface, shell, and OS integration layer for the Xerboxion ecosystem.',
|
||||
status:'alpha', lang:'Rust / Flutter', repo:'https://github.com/J0bot/xerboxion-os',
|
||||
provides:['ui-shell','os-layer','user-interface'],
|
||||
requires:['runtime','thought-commands','storage-api'],
|
||||
tags:['os','android','flutter','ui','shell'] },
|
||||
|
||||
{ id:'minecraft-os', name:'Minecraft OS', type:'platform', tier:'prototype',
|
||||
desc:'Minecraft Fabric prototype of Xerboxion concepts. Items: BION, CUBION, XER, BOXION, XERBOXION. Features CC:Tweaked Lua kernel and fractal Cube Navigator.',
|
||||
status:'beta', lang:'Java', repo:'https://github.com/J0bot/minecraft-os',
|
||||
provides:['minecraft-ui','cube-navigator','cc-kernel','prototype-env'],
|
||||
requires:['storage-api'],
|
||||
tags:['minecraft','fabric','prototype','cctweaked','cubion','lua'] },
|
||||
|
||||
{ id:'xerboxion-web', name:'Xerboxion Web', type:'platform', tier:'web',
|
||||
desc:'Web frontend platform. Browser-based access to all ploxion services, agent dashboard, and real-time ecosystem monitoring.',
|
||||
status:'alpha', lang:'TypeScript', repo:'https://github.com/J0bot/xerboxion-web',
|
||||
provides:['web-ui','browser-interface','dashboard'],
|
||||
requires:['runtime','agent-pool'],
|
||||
tags:['web','frontend','typescript','dashboard','realtime'] },
|
||||
|
||||
{ id:'my-website', name:'j0bot.ch', type:'platform', tier:'portal',
|
||||
desc:'Personal site and Xerboxion portal. Laravel app with the Xerboxion paper, XerboxionComment system, OAuth2/WebAuthn, and GPG challenge authentication.',
|
||||
status:'stable', lang:'PHP / Laravel', repo:'https://github.com/J0bot/my_website2',
|
||||
provides:['portal','paper-viewer','auth-layer','comment-system'],
|
||||
requires:[],
|
||||
tags:['website','laravel','portal','paper','oauth2','webauthn'] },
|
||||
];
|
||||
|
||||
const EDGES = [
|
||||
// Core dependencies
|
||||
{id:'e01',s:'xerax', t:'xerboxion-core', type:'depends-on', lbl:'PLC v0'},
|
||||
{id:'e02',s:'cubion', t:'xerboxion-core', type:'depends-on', lbl:'PLC v0'},
|
||||
{id:'e03',s:'room-map', t:'xerboxion-core', type:'depends-on', lbl:'PLC v0'},
|
||||
{id:'e04',s:'xerfarm', t:'xerboxion-core', type:'depends-on', lbl:'PLC v0'},
|
||||
{id:'e05',s:'galactic-architect',t:'xerboxion-core', type:'depends-on', lbl:'PLC v0'},
|
||||
{id:'e06',s:'swarm-xerboxion', t:'xerboxion-core', type:'depends-on', lbl:'IPC bus'},
|
||||
// Storage mesh
|
||||
{id:'e07',s:'room-map', t:'cubion', type:'consumes', lbl:'storage'},
|
||||
{id:'e08',s:'xerfarm', t:'cubion', type:'consumes', lbl:'storage'},
|
||||
{id:'e09',s:'galactic-architect',t:'cubion', type:'consumes', lbl:'galaxy-db'},
|
||||
{id:'e10',s:'swarm-xerboxion', t:'cubion', type:'consumes', lbl:'memory'},
|
||||
// Spatial mesh
|
||||
{id:'e11',s:'xerfarm', t:'room-map', type:'consumes', lbl:'spatial'},
|
||||
{id:'e12',s:'galactic-architect',t:'room-map', type:'consumes', lbl:'spatial'},
|
||||
// Xeri0n wiring
|
||||
{id:'e13',s:'swarm-xerboxion', t:'galactic-architect',type:'consumes', lbl:'universe'},
|
||||
{id:'e14',s:'swarm-xerboxion', t:'xerax', type:'consumes', lbl:'thought-cmd'},
|
||||
{id:'e15',s:'xerfarm', t:'swarm-xerboxion', type:'consumes', lbl:'automation'},
|
||||
{id:'e16',s:'galactic-jarvis', t:'swarm-xerboxion', type:'depends-on', lbl:'agents'},
|
||||
{id:'e17',s:'galactic-jarvis', t:'galactic-architect',type:'consumes', lbl:'universe'},
|
||||
// Platform wiring
|
||||
{id:'e18',s:'xerboxion-os', t:'xerboxion-core', type:'depends-on', lbl:'native'},
|
||||
{id:'e19',s:'xerboxion-os', t:'xerax', type:'consumes', lbl:'thought-ctrl'},
|
||||
{id:'e20',s:'xerboxion-os', t:'cubion', type:'consumes', lbl:'storage'},
|
||||
{id:'e21',s:'minecraft-os', t:'cubion', type:'inspired-by', lbl:'concept'},
|
||||
{id:'e22',s:'xerboxion-web', t:'xerboxion-core', type:'depends-on', lbl:'HTTP/WS'},
|
||||
{id:'e23',s:'xerboxion-web', t:'swarm-xerboxion', type:'consumes', lbl:'missions'},
|
||||
{id:'e24',s:'my-website', t:'xerboxion-core', type:'references', lbl:'docs'},
|
||||
];
|
||||
|
||||
// ── COLOR MAP ─────────────────────────────────────────────────────────
|
||||
const COLOR = {
|
||||
core: '#ff4081',
|
||||
ploxion: '#00e5ff',
|
||||
xeri0n: '#aa44ff',
|
||||
platform:'#ff9100',
|
||||
};
|
||||
|
||||
// ── STATE ─────────────────────────────────────────────────────────────
|
||||
const activeFilters = new Set(['core','ploxion','xeri0n','platform']);
|
||||
let currentLayout = 'cose';
|
||||
let cy; // initialized in initGraph()
|
||||
|
||||
// ── BUILD ELEMENTS ────────────────────────────────────────────────────
|
||||
function buildElements() {
|
||||
const visSet = new Set(NODES.filter(n => activeFilters.has(n.type)).map(n => n.id));
|
||||
const els = [];
|
||||
for (const n of NODES) {
|
||||
if (!visSet.has(n.id)) continue;
|
||||
els.push({ data: { id: n.id, name: n.name, type: n.type, tier: n.tier,
|
||||
desc: n.desc, status: n.status, lang: n.lang, repo: n.repo,
|
||||
provides: n.provides, requires: n.requires, tags: n.tags,
|
||||
color: COLOR[n.type] || '#888' }});
|
||||
}
|
||||
for (const e of EDGES) {
|
||||
if (!visSet.has(e.s) || !visSet.has(e.t)) continue;
|
||||
els.push({ data: { id: e.id, source: e.s, target: e.t, type: e.type, label: e.lbl }});
|
||||
}
|
||||
return els;
|
||||
}
|
||||
|
||||
// ── LAYOUT CONFIGS ────────────────────────────────────────────────────
|
||||
function layoutCfg(name) {
|
||||
const base = { animate: true, animationDuration: 650, padding: 44 };
|
||||
if (name === 'cose') return { ...base, name: 'cose',
|
||||
nodeRepulsion: 9000, idealEdgeLength: 130, edgeElasticity: 0.4, gravity: 1.4, randomize: false };
|
||||
if (name === 'breadthfirst') return { ...base, name: 'breadthfirst',
|
||||
directed: true, roots: '#xerboxion-core', spacingFactor: 1.6 };
|
||||
if (name === 'circle') return { ...base, name: 'circle' };
|
||||
return { ...base, name };
|
||||
}
|
||||
|
||||
function setLayout(name) {
|
||||
currentLayout = name;
|
||||
document.querySelectorAll('.layout-btn').forEach(b => b.classList.remove('active'));
|
||||
document.getElementById('l-' + name).classList.add('active');
|
||||
cy.layout(layoutCfg(name)).run();
|
||||
}
|
||||
|
||||
// ── HIGHLIGHT / DIM ───────────────────────────────────────────────────
|
||||
function hlNode(node) {
|
||||
cy.elements().removeClass('hl').addClass('dim');
|
||||
node.removeClass('dim').addClass('hl');
|
||||
node.connectedEdges().removeClass('dim').addClass('hl');
|
||||
node.connectedEdges().connectedNodes().removeClass('dim').addClass('hl');
|
||||
}
|
||||
function resetHL() {
|
||||
cy.elements().removeClass('hl dim');
|
||||
}
|
||||
|
||||
// ── INIT (called after Cytoscape.js finishes loading) ─────────────────
|
||||
function initGraph() {
|
||||
|
||||
// ── CYTOSCAPE ─────────────────────────────────────────────────────────
|
||||
cy = cytoscape({
|
||||
container: document.getElementById('cy'),
|
||||
elements: buildElements(),
|
||||
style: [
|
||||
{ selector: 'node', style: {
|
||||
'background-color': 'data(color)',
|
||||
'background-opacity': 0.12,
|
||||
'border-width': 2,
|
||||
'border-color': 'data(color)',
|
||||
'label': 'data(name)',
|
||||
'color': '#c8c8e8',
|
||||
'font-size': '11px',
|
||||
'font-family': '"Courier New", monospace',
|
||||
'text-valign': 'center',
|
||||
'text-halign': 'center',
|
||||
'text-wrap': 'wrap',
|
||||
'text-max-width': '86px',
|
||||
'width': 100,
|
||||
'height': 42,
|
||||
'shape': 'round-rectangle',
|
||||
'transition-property':'background-opacity, border-width',
|
||||
'transition-duration':'200ms',
|
||||
}},
|
||||
{ selector: 'node[type = "core"]', style: {
|
||||
'width': 124, 'height': 50, 'font-size': '12px', 'font-weight': 'bold',
|
||||
'border-width': 3, 'background-opacity': 0.22,
|
||||
}},
|
||||
{ selector: 'node[type = "xeri0n"]', style: {
|
||||
'shape': 'diamond', 'width': 92, 'height': 92, 'font-size': '10px',
|
||||
}},
|
||||
{ selector: 'node[type = "platform"]', style: {
|
||||
'border-style': 'dashed', 'border-width': 1.5,
|
||||
}},
|
||||
{ selector: 'node:selected', style: {
|
||||
'border-width': 3.5, 'background-opacity': 0.35,
|
||||
}},
|
||||
{ selector: 'node.hl', style: {
|
||||
'border-width': 3, 'background-opacity': 0.28,
|
||||
}},
|
||||
{ selector: 'node.dim', style: { 'opacity': 0.18 }},
|
||||
|
||||
// Edges
|
||||
{ selector: 'edge', style: {
|
||||
'width': 1.5,
|
||||
'line-color': '#1a1a42',
|
||||
'target-arrow-color': '#1a1a42',
|
||||
'target-arrow-shape': 'vee',
|
||||
'curve-style': 'bezier',
|
||||
'opacity': 0.7,
|
||||
'font-size': '8px',
|
||||
'font-family': '"Courier New", monospace',
|
||||
'color': '#333355',
|
||||
'text-background-opacity': 0,
|
||||
'transition-property': 'opacity, line-color',
|
||||
'transition-duration': '200ms',
|
||||
}},
|
||||
{ selector: 'edge[type = "depends-on"]', style: {
|
||||
'line-color': '#1a4060', 'target-arrow-color': '#1a4060', 'width': 2,
|
||||
}},
|
||||
{ selector: 'edge[type = "consumes"]', style: {
|
||||
'line-color': '#3a1060', 'target-arrow-color': '#3a1060',
|
||||
'line-style': 'dashed', 'line-dash-pattern': [5,3],
|
||||
}},
|
||||
{ selector: 'edge[type = "inspired-by"]', style: {
|
||||
'line-color': '#503010', 'target-arrow-color': '#503010',
|
||||
'line-style': 'dotted', 'opacity': 0.45,
|
||||
}},
|
||||
{ selector: 'edge[type = "references"]', style: {
|
||||
'line-color': '#222244', 'target-arrow-color': '#222244', 'opacity': 0.35,
|
||||
}},
|
||||
{ selector: 'edge.hl', style: {
|
||||
'opacity': 1, 'width': 2.8, 'line-color': '#4040a0', 'target-arrow-color': '#4040a0',
|
||||
}},
|
||||
{ selector: 'edge.dim', style: { 'opacity': 0.04 }},
|
||||
],
|
||||
layout: layoutCfg('cose'),
|
||||
wheelSensitivity: 0.25,
|
||||
});
|
||||
|
||||
// ── EVENTS ────────────────────────────────────────────────────────────
|
||||
cy.on('tap', 'node', evt => { hlNode(evt.target); showDetail(evt.target.data()); });
|
||||
cy.on('tap', evt => { if (evt.target === cy) { resetHL(); hideDetail(); } });
|
||||
cy.on('mouseover', 'node', () => { document.getElementById('cy').style.cursor = 'pointer'; });
|
||||
cy.on('mouseout', 'node', () => { document.getElementById('cy').style.cursor = 'default'; });
|
||||
|
||||
// ── SEARCH ────────────────────────────────────────────────────────────
|
||||
document.getElementById('search').addEventListener('input', function() {
|
||||
const q = this.value.toLowerCase().trim();
|
||||
document.getElementById('search-clear').style.display = q ? 'block' : 'none';
|
||||
if (!q) { resetHL(); return; }
|
||||
cy.elements().removeClass('hl').addClass('dim');
|
||||
cy.nodes().filter(n =>
|
||||
n.data('name').toLowerCase().includes(q) ||
|
||||
(n.data('tags')||[]).some(t => t.includes(q)) ||
|
||||
(n.data('provides')||[]).some(p => p.includes(q)) ||
|
||||
(n.data('requires')||[]).some(r => r.includes(q))
|
||||
).removeClass('dim').addClass('hl');
|
||||
});
|
||||
|
||||
} // end initGraph()
|
||||
|
||||
// ── DETAIL PANEL ──────────────────────────────────────────────────────
|
||||
function showDetail(d) {
|
||||
document.getElementById('dp-empty').style.display = 'none';
|
||||
const el = document.getElementById('dp-content');
|
||||
el.style.display = 'block';
|
||||
const c = COLOR[d.type] || '#888';
|
||||
const sClass = { alpha:'s-alpha', beta:'s-beta', stable:'s-stable', concept:'s-concept' }[d.status] || 's-concept';
|
||||
|
||||
const chips = (arr, clr, dim) => (arr||[]).map(x =>
|
||||
`<span class="dp-chip" style="border-color:${clr};color:${clr}">${x}</span>`).join('');
|
||||
|
||||
el.innerHTML = `
|
||||
<div style="margin-bottom:14px">
|
||||
<span class="dp-type-badge" style="background:${c}1a;color:${c};border:1px solid ${c}33">
|
||||
${d.type.toUpperCase()}
|
||||
</span>
|
||||
<div class="dp-name">${d.name}</div>
|
||||
<div class="dp-desc">${d.desc}</div>
|
||||
</div>
|
||||
|
||||
<div class="dp-sec">
|
||||
<div class="dp-sec-title">Metadata</div>
|
||||
<div class="dp-meta">
|
||||
<div class="dp-row">
|
||||
<span class="dp-key">Status</span>
|
||||
<span class="dp-val"><span class="s-dot ${sClass}"></span>${d.status||'—'}</span>
|
||||
</div>
|
||||
<div class="dp-row">
|
||||
<span class="dp-key">Language</span>
|
||||
<span class="dp-val">${d.lang||'—'}</span>
|
||||
</div>
|
||||
<div class="dp-row">
|
||||
<span class="dp-key">Tier</span>
|
||||
<span class="dp-val">${d.tier||'—'}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
${(d.provides||[]).length ? `
|
||||
<div class="dp-sec">
|
||||
<div class="dp-sec-title">Provides</div>
|
||||
<div class="dp-chips">${chips(d.provides, c)}</div>
|
||||
</div>` : ''}
|
||||
|
||||
${(d.requires||[]).length ? `
|
||||
<div class="dp-sec">
|
||||
<div class="dp-sec-title">Requires</div>
|
||||
<div class="dp-chips">${chips(d.requires, '#4444aa')}</div>
|
||||
</div>` : ''}
|
||||
|
||||
${(d.tags||[]).length ? `
|
||||
<div class="dp-sec">
|
||||
<div class="dp-sec-title">Tags</div>
|
||||
<div class="dp-tags">${(d.tags).map(t=>`<span class="dp-tag">${t}</span>`).join('')}</div>
|
||||
</div>` : ''}
|
||||
|
||||
<a href="${d.repo}" target="_blank" class="dp-link" style="color:${c};border-color:${c}44">
|
||||
↗ Open Repository
|
||||
</a>`;
|
||||
}
|
||||
|
||||
function hideDetail() {
|
||||
document.getElementById('dp-empty').style.display = 'flex';
|
||||
document.getElementById('dp-content').style.display = 'none';
|
||||
}
|
||||
|
||||
function clearSearch() {
|
||||
document.getElementById('search').value = '';
|
||||
document.getElementById('search-clear').style.display = 'none';
|
||||
resetHL();
|
||||
}
|
||||
|
||||
// ── FILTERS ───────────────────────────────────────────────────────────
|
||||
function toggleFilter(type) {
|
||||
if (!cy) return;
|
||||
const btn = document.getElementById('f-' + type);
|
||||
if (activeFilters.has(type)) {
|
||||
activeFilters.delete(type);
|
||||
btn.classList.remove('active');
|
||||
btn.style.opacity = '0.38';
|
||||
} else {
|
||||
activeFilters.add(type);
|
||||
btn.classList.add('active');
|
||||
btn.style.opacity = '1';
|
||||
}
|
||||
hideDetail();
|
||||
resetHL();
|
||||
cy.elements().remove();
|
||||
cy.add(buildElements());
|
||||
cy.layout(layoutCfg(currentLayout)).run();
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
157
.ploxion-graph/ploxions.json
Normal file
157
.ploxion-graph/ploxions.json
Normal file
@ -0,0 +1,157 @@
|
||||
{
|
||||
"version": "1.0.0",
|
||||
"description": "Ploxion registry — all PL0XI0N components in the Xerboxion ecosystem",
|
||||
"schema": "https://github.com/J0bot/xerboxion/standards/ploxion-v0",
|
||||
"ploxions": [
|
||||
{
|
||||
"id": "xerboxion-core",
|
||||
"name": "Xerboxion Core",
|
||||
"type": "core",
|
||||
"tier": "foundation",
|
||||
"description": "Core runtime, process manager, IPC bus, and PLC registry — the foundational layer upon which every other ploxion runs.",
|
||||
"status": "alpha",
|
||||
"language": "Rust",
|
||||
"repository": "https://github.com/J0bot/xerboxion-core",
|
||||
"path": "ploxions/xerboxion-core",
|
||||
"provides": ["runtime", "process-manager", "ipc-bus", "plc-registry", "health-api"],
|
||||
"requires": [],
|
||||
"capabilities": {
|
||||
"standalone": true,
|
||||
"health_endpoint": "GET /health",
|
||||
"graceful_shutdown": true,
|
||||
"manifest_endpoint": "GET /manifest"
|
||||
},
|
||||
"plc": {
|
||||
"parent_types": [],
|
||||
"children_types": ["ploxion", "xeri0n"],
|
||||
"protocol_version": "0"
|
||||
},
|
||||
"tags": ["core", "runtime", "kernel", "rust", "plc"]
|
||||
},
|
||||
{
|
||||
"id": "xerax",
|
||||
"name": "Xerax",
|
||||
"type": "ploxion",
|
||||
"tier": "interface",
|
||||
"description": "Brain-Computer Interface ploxion. Acquires EEG signals via BrainFlow, trains neural networks, and translates thought-patterns into typed commands.",
|
||||
"status": "alpha",
|
||||
"language": "Python",
|
||||
"repository": "https://github.com/J0bot/xerax",
|
||||
"path": "ploxions/xerax",
|
||||
"provides": ["thought-commands", "eeg-stream", "neural-model", "bci-api"],
|
||||
"requires": ["runtime"],
|
||||
"capabilities": {
|
||||
"standalone": true,
|
||||
"health_endpoint": "GET /health",
|
||||
"graceful_shutdown": true,
|
||||
"manifest_endpoint": "GET /manifest"
|
||||
},
|
||||
"plc": {
|
||||
"parent_types": ["core"],
|
||||
"children_types": [],
|
||||
"protocol_version": "0"
|
||||
},
|
||||
"tags": ["bci", "eeg", "neural", "brainflow", "thought-control"]
|
||||
},
|
||||
{
|
||||
"id": "cubion",
|
||||
"name": "Cubion",
|
||||
"type": "ploxion",
|
||||
"tier": "storage",
|
||||
"description": "Distributed modular storage ploxion. Implements the Cubion hardware standard in software: pluggable cube-shaped storage units with physical-world anchoring.",
|
||||
"status": "alpha",
|
||||
"language": "Rust",
|
||||
"repository": "https://github.com/J0bot/cubion",
|
||||
"path": "ploxions/cubion",
|
||||
"provides": ["storage-api", "cube-db", "sync-protocol", "cubion-link"],
|
||||
"requires": ["runtime"],
|
||||
"capabilities": {
|
||||
"standalone": true,
|
||||
"health_endpoint": "GET /health",
|
||||
"graceful_shutdown": true,
|
||||
"manifest_endpoint": "GET /manifest"
|
||||
},
|
||||
"plc": {
|
||||
"parent_types": ["core"],
|
||||
"children_types": ["ploxion"],
|
||||
"protocol_version": "0"
|
||||
},
|
||||
"tags": ["storage", "database", "cubion", "distributed", "hardware"]
|
||||
},
|
||||
{
|
||||
"id": "room-map",
|
||||
"name": "Room Map",
|
||||
"type": "ploxion",
|
||||
"tier": "spatial",
|
||||
"description": "Spatial mapping ploxion. Builds and maintains real-time 3D maps of physical environments to give the ecosystem spatial awareness.",
|
||||
"status": "alpha",
|
||||
"language": "TypeScript",
|
||||
"repository": "https://github.com/J0bot/room-map",
|
||||
"path": "ploxions/room-map",
|
||||
"provides": ["spatial-map", "room-model", "location-api"],
|
||||
"requires": ["storage-api", "runtime"],
|
||||
"capabilities": {
|
||||
"standalone": true,
|
||||
"health_endpoint": "GET /health",
|
||||
"graceful_shutdown": true,
|
||||
"manifest_endpoint": "GET /manifest"
|
||||
},
|
||||
"plc": {
|
||||
"parent_types": ["core"],
|
||||
"children_types": [],
|
||||
"protocol_version": "0"
|
||||
},
|
||||
"tags": ["spatial", "mapping", "3d", "environment", "lidar"]
|
||||
},
|
||||
{
|
||||
"id": "xerfarm",
|
||||
"name": "Xerfarm",
|
||||
"type": "ploxion",
|
||||
"tier": "resources",
|
||||
"description": "Agriculture and resource-management ploxion. Automates cultivation, tracks resource flows, and manages harvest operations.",
|
||||
"status": "alpha",
|
||||
"language": "Python",
|
||||
"repository": "https://github.com/J0bot/Xerfarm",
|
||||
"path": "ploxions/xerfarm",
|
||||
"provides": ["resource-manager", "farm-control", "harvest-api"],
|
||||
"requires": ["storage-api", "spatial-map", "runtime"],
|
||||
"capabilities": {
|
||||
"standalone": true,
|
||||
"health_endpoint": "GET /health",
|
||||
"graceful_shutdown": true,
|
||||
"manifest_endpoint": "GET /manifest"
|
||||
},
|
||||
"plc": {
|
||||
"parent_types": ["core"],
|
||||
"children_types": [],
|
||||
"protocol_version": "0"
|
||||
},
|
||||
"tags": ["agriculture", "resources", "automation", "food", "sustainability"]
|
||||
},
|
||||
{
|
||||
"id": "galactic-architect",
|
||||
"name": "Galactic Architect",
|
||||
"type": "ploxion",
|
||||
"tier": "universe",
|
||||
"description": "Universe-architecture ploxion. Manages the meta-structure of the Xerboxion digital multiverse — dimensions, galactic topologies, and reality layers.",
|
||||
"status": "concept",
|
||||
"language": "TypeScript",
|
||||
"repository": "https://github.com/J0bot/galactic_architect",
|
||||
"path": "ploxions/galactic-architect",
|
||||
"provides": ["universe-api", "dimension-manager", "architect-query", "galaxy-db"],
|
||||
"requires": ["storage-api", "spatial-map", "runtime"],
|
||||
"capabilities": {
|
||||
"standalone": false,
|
||||
"health_endpoint": "GET /health",
|
||||
"graceful_shutdown": true,
|
||||
"manifest_endpoint": "GET /manifest"
|
||||
},
|
||||
"plc": {
|
||||
"parent_types": ["core"],
|
||||
"children_types": ["xeri0n"],
|
||||
"protocol_version": "0"
|
||||
},
|
||||
"tags": ["universe", "architecture", "galactic", "meta", "dimensions"]
|
||||
}
|
||||
]
|
||||
}
|
||||
50
.ploxion-graph/xeri0ns.json
Normal file
50
.ploxion-graph/xeri0ns.json
Normal file
@ -0,0 +1,50 @@
|
||||
{
|
||||
"version": "1.0.0",
|
||||
"description": "Xeri0n registry — all XERI0N AI agents in the Xerboxion ecosystem",
|
||||
"schema": "https://github.com/J0bot/xerboxion/standards/xeri0n-v0",
|
||||
"xeri0ns": [
|
||||
{
|
||||
"id": "swarm-xerboxion",
|
||||
"name": "Swarm Xerboxion",
|
||||
"type": "xeri0n",
|
||||
"tier": "orchestration",
|
||||
"description": "Multi-agent orchestration xeri0n. Coordinates autonomous workers via Mission Core, Memory Core, Agent Core, IPC server, and a Discord adapter.",
|
||||
"status": "alpha",
|
||||
"language": "TypeScript",
|
||||
"repository": "https://github.com/J0bot/swarm-xerboxion",
|
||||
"path": "xeri0ns/swarm-xerboxion",
|
||||
"provides": ["agent-pool", "mission-queue", "memory-core", "coordinator", "discord-adapter"],
|
||||
"requires": ["runtime", "ipc-bus", "storage-api"],
|
||||
"capabilities": {
|
||||
"standalone": false,
|
||||
"agents": ["mission-core", "memory-core", "agent-core"],
|
||||
"adapters": ["discord", "ipc"],
|
||||
"health_endpoint": "GET /health",
|
||||
"graceful_shutdown": true,
|
||||
"manifest_endpoint": "GET /manifest"
|
||||
},
|
||||
"tags": ["swarm", "agents", "orchestration", "autonomous", "discord", "ipc"]
|
||||
},
|
||||
{
|
||||
"id": "galactic-jarvis",
|
||||
"name": "Galactic Jarvis",
|
||||
"type": "xeri0n",
|
||||
"tier": "ai",
|
||||
"description": "High-level AI assistant xeri0n. Provides natural-language reasoning, long-horizon planning, and full universe context across the entire ecosystem.",
|
||||
"status": "concept",
|
||||
"language": "Python",
|
||||
"repository": "https://github.com/J0bot/galactic-_jarvis",
|
||||
"path": "xeri0ns/galactic-jarvis",
|
||||
"provides": ["ai-assistant", "nlp-api", "planning-core"],
|
||||
"requires": ["agent-pool", "universe-api", "memory-core", "runtime"],
|
||||
"capabilities": {
|
||||
"standalone": false,
|
||||
"model": "local-llm",
|
||||
"health_endpoint": "GET /health",
|
||||
"graceful_shutdown": true,
|
||||
"manifest_endpoint": "GET /manifest"
|
||||
},
|
||||
"tags": ["ai", "assistant", "galactic", "nlp", "llm", "planning"]
|
||||
}
|
||||
]
|
||||
}
|
||||
102
.workspace/dependencies.json
Normal file
102
.workspace/dependencies.json
Normal file
@ -0,0 +1,102 @@
|
||||
{
|
||||
"version": "1.0.0",
|
||||
"description": "Explicit dependency graph for the Xerboxion monorepo. Used by scripts/check-deps.js.",
|
||||
"components": {
|
||||
"xerboxion-core": {
|
||||
"type": "core",
|
||||
"path": "ploxions/xerboxion-core",
|
||||
"repo": "https://github.com/J0bot/xerboxion-core",
|
||||
"language": "rust",
|
||||
"depends_on": [],
|
||||
"provides": ["runtime", "process-manager", "ipc-bus", "plc-registry", "health-api"]
|
||||
},
|
||||
"xerax": {
|
||||
"type": "ploxion",
|
||||
"path": "ploxions/xerax",
|
||||
"repo": "https://github.com/J0bot/xerax",
|
||||
"language": "python",
|
||||
"depends_on": ["xerboxion-core"],
|
||||
"provides": ["thought-commands", "eeg-stream", "neural-model", "bci-api"]
|
||||
},
|
||||
"cubion": {
|
||||
"type": "ploxion",
|
||||
"path": "ploxions/cubion",
|
||||
"repo": "https://github.com/J0bot/cubion",
|
||||
"language": "rust",
|
||||
"depends_on": ["xerboxion-core"],
|
||||
"provides": ["storage-api", "cube-db", "sync-protocol", "cubion-link"]
|
||||
},
|
||||
"room-map": {
|
||||
"type": "ploxion",
|
||||
"path": "ploxions/room-map",
|
||||
"repo": "https://github.com/J0bot/room-map",
|
||||
"language": "typescript",
|
||||
"depends_on": ["xerboxion-core", "cubion"],
|
||||
"provides": ["spatial-map", "room-model", "location-api"]
|
||||
},
|
||||
"xerfarm": {
|
||||
"type": "ploxion",
|
||||
"path": "ploxions/xerfarm",
|
||||
"repo": "https://github.com/J0bot/Xerfarm",
|
||||
"language": "python",
|
||||
"depends_on": ["xerboxion-core", "cubion", "room-map"],
|
||||
"provides": ["resource-manager", "farm-control", "harvest-api"]
|
||||
},
|
||||
"galactic-architect": {
|
||||
"type": "ploxion",
|
||||
"path": "ploxions/galactic-architect",
|
||||
"repo": "https://github.com/J0bot/galactic_architect",
|
||||
"language": "typescript",
|
||||
"depends_on": ["xerboxion-core", "cubion", "room-map"],
|
||||
"provides": ["universe-api", "dimension-manager", "architect-query", "galaxy-db"]
|
||||
},
|
||||
"swarm-xerboxion": {
|
||||
"type": "xeri0n",
|
||||
"path": "xeri0ns/swarm-xerboxion",
|
||||
"repo": "https://github.com/J0bot/swarm-xerboxion",
|
||||
"language": "typescript",
|
||||
"depends_on": ["xerboxion-core", "cubion", "xerax", "galactic-architect"],
|
||||
"provides": ["agent-pool", "mission-queue", "memory-core", "coordinator", "discord-adapter"]
|
||||
},
|
||||
"galactic-jarvis": {
|
||||
"type": "xeri0n",
|
||||
"path": "xeri0ns/galactic-jarvis",
|
||||
"repo": "https://github.com/J0bot/galactic-_jarvis",
|
||||
"language": "python",
|
||||
"depends_on": ["swarm-xerboxion", "galactic-architect"],
|
||||
"provides": ["ai-assistant", "nlp-api", "planning-core"]
|
||||
},
|
||||
"xerboxion-os": {
|
||||
"type": "platform",
|
||||
"path": "platforms/xerboxion-os",
|
||||
"repo": "https://github.com/J0bot/xerboxion-os",
|
||||
"language": "rust/flutter",
|
||||
"depends_on": ["xerboxion-core", "xerax", "cubion"],
|
||||
"provides": ["ui-shell", "os-layer", "user-interface"]
|
||||
},
|
||||
"minecraft-os": {
|
||||
"type": "platform",
|
||||
"path": "platforms/minecraft-os",
|
||||
"repo": "https://github.com/J0bot/minecraft-os",
|
||||
"language": "java",
|
||||
"depends_on": ["cubion"],
|
||||
"provides": ["minecraft-ui", "cube-navigator", "cc-kernel", "prototype-env"]
|
||||
},
|
||||
"xerboxion-web": {
|
||||
"type": "platform",
|
||||
"path": "platforms/xerboxion-web",
|
||||
"repo": "https://github.com/J0bot/xerboxion-web",
|
||||
"language": "typescript",
|
||||
"depends_on": ["xerboxion-core", "swarm-xerboxion"],
|
||||
"provides": ["web-ui", "browser-interface", "dashboard"]
|
||||
},
|
||||
"my-website": {
|
||||
"type": "platform",
|
||||
"path": "platforms/my_website2",
|
||||
"repo": "https://github.com/J0bot/my_website2",
|
||||
"language": "php",
|
||||
"depends_on": [],
|
||||
"provides": ["portal", "paper-viewer", "auth-layer", "comment-system"]
|
||||
}
|
||||
}
|
||||
}
|
||||
23
Cargo.toml
Normal file
23
Cargo.toml
Normal file
@ -0,0 +1,23 @@
|
||||
# Xerboxion Rust Workspace
|
||||
# Rust ploxions that live in this monorepo
|
||||
[workspace]
|
||||
members = [
|
||||
"ploxions/xerboxion-core",
|
||||
"ploxions/cubion",
|
||||
]
|
||||
resolver = "2"
|
||||
|
||||
[workspace.package]
|
||||
version = "0.0.1"
|
||||
authors = ["J0bot"]
|
||||
license = "MIT"
|
||||
edition = "2021"
|
||||
repository = "https://github.com/J0bot/xerboxion"
|
||||
homepage = "https://github.com/J0bot/xerboxion"
|
||||
|
||||
[workspace.dependencies]
|
||||
tokio = { version = "1", features = ["full"] }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
anyhow = "1"
|
||||
tracing = "0.1"
|
||||
155
README.md
155
README.md
@ -1,20 +1,157 @@
|
||||
# Xerboxion
|
||||
# ⬡ Xerboxion
|
||||
|
||||
> Créer le monde dans lequel on veut vivre.
|
||||
|
||||
## Préprint
|
||||
## 🗺️ Ploxion Network — Interactive Visualization
|
||||
|
||||
**→ [Open Graph Viewer](./.ploxion-graph/graph-viewer.html)** *(open in browser)*
|
||||
|
||||
```bash
|
||||
npm run graph:view # open interactive dependency graph
|
||||
```
|
||||
|
||||
The graph shows all ploxions, xeri0ns, and platforms as interconnected nodes — click any node to inspect its capabilities, dependencies, and status.
|
||||
|
||||
---
|
||||
|
||||
## 📖 Préprint
|
||||
- [Lire le draft](./paper/README.md)
|
||||
- [Version PDF du draft](./paper/xerboxion_paper.pdf)
|
||||
|
||||
## Livre
|
||||
> Livre/papier sur ma vision personelle du projet xerboxion, analyse du cheminement mental de l'idée initiale jusqu'à aujourd'hui, le détail des recherches, extrapolations de l'extrapolation et conclusions.
|
||||
> Coming soon.
|
||||
---
|
||||
|
||||
## Projets
|
||||
- [Standards](./standards/) construction des standarts avec la communauté
|
||||
- [Docs](./docs/) documentation technique (à venir)
|
||||
- [Ploxions](./ploxions/) liste/propositions de ploxions (à venir)
|
||||
## 🏗️ Monorepo Structure
|
||||
|
||||
```
|
||||
xerboxion/
|
||||
├── ploxions/ # PL0XI0N components (fractal software bricks)
|
||||
│ ├── xerboxion-core/ # ⬡ Core runtime (Rust) — foundation of everything
|
||||
│ ├── xerax/ # 🧠 Brain-Computer Interface (EEG → thought-commands)
|
||||
│ ├── cubion/ # 📦 Distributed storage (Rust)
|
||||
│ ├── room-map/ # 🗺️ Spatial mapping (TypeScript)
|
||||
│ ├── xerfarm/ # 🌾 Agriculture & resources (Python)
|
||||
│ └── galactic-architect/ # 🌌 Universe architecture (TypeScript)
|
||||
│
|
||||
├── xeri0ns/ # XERI0N AI agents
|
||||
│ ├── swarm-xerboxion/ # 🤖 Multi-agent orchestration
|
||||
│ └── galactic-jarvis/ # ✨ Galactic AI assistant
|
||||
│
|
||||
├── platforms/ # Platform implementations
|
||||
│ ├── xerboxion-os/ # 📱 Main OS (Rust/Flutter)
|
||||
│ ├── minecraft-os/ # 🎮 Minecraft prototype
|
||||
│ ├── xerboxion-web/ # 💻 Web frontend
|
||||
│ └── my_website2/ # 🌐 j0bot.ch portal
|
||||
│
|
||||
├── research/ # Documentation & brain dumps
|
||||
│ ├── docs/
|
||||
│ └── braindumps/
|
||||
│
|
||||
├── .ploxion-graph/ # 📊 Visualization & registry
|
||||
│ ├── graph-viewer.html # ← Interactive graph (open this!)
|
||||
│ ├── ploxions.json # Ploxion definitions
|
||||
│ ├── xeri0ns.json # Xeri0n definitions
|
||||
│ └── connections.json # All cross-project dependencies
|
||||
│
|
||||
├── .workspace/
|
||||
│ └── dependencies.json # Explicit dependency graph
|
||||
│
|
||||
├── package.json # npm workspaces + dev scripts
|
||||
├── pnpm-workspace.yaml # pnpm workspace config
|
||||
├── Cargo.toml # Rust workspace config
|
||||
├── .gitmodules # Git submodule references
|
||||
└── standards/ # PLC & PL0XI0N standards
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## ⚡ Developer Commands
|
||||
|
||||
```bash
|
||||
# Clone the monorepo
|
||||
git clone https://github.com/J0bot/xerboxion
|
||||
cd xerboxion
|
||||
|
||||
# Initialize all submodules (pulls each repo into its folder)
|
||||
npm run submodule:init
|
||||
|
||||
# Open interactive ploxion graph
|
||||
npm run graph:view
|
||||
|
||||
# Start all dev servers
|
||||
npm run dev:all
|
||||
|
||||
# Build all components
|
||||
npm run build:all
|
||||
|
||||
# Verify dependency integrity
|
||||
npm run deps:check
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## ⬡ PL0XI0N Architecture
|
||||
|
||||
Every component in this ecosystem is a **PL0XI0N** — a fractal software brick that:
|
||||
|
||||
- **MUST** run standalone (no hard dependencies at startup)
|
||||
- **MUST** support graceful shutdown (no residual daemon)
|
||||
- **MUST** expose `GET /health` and `GET /manifest` endpoints
|
||||
- **NEVER** sends data without explicit consent
|
||||
- **NEVER** listens when switched off
|
||||
|
||||
The **Ploxion Link Contract (PLC)** is the software equivalent of the Cubion hardware standard — a minimal interface contract that, once ratified, is frozen. It declares `provides`, `requires`, `parent_types`, and `children_types`.
|
||||
|
||||
See [standards/](./standards/) for the full spec.
|
||||
|
||||
---
|
||||
|
||||
## Dependency Graph (text)
|
||||
|
||||
```
|
||||
USER (thought via xerax EEG)
|
||||
↓ thought-commands
|
||||
[xerax] ──────────────────────────────────────────┐
|
||||
↓ PLC v0 │
|
||||
[xerboxion-core] ← foundation for everything │
|
||||
↓ runtime │
|
||||
[cubion] ←── storage for all ploxions │
|
||||
↓ storage-api │
|
||||
[room-map] ←── spatial awareness │
|
||||
↓ spatial-map │
|
||||
[xerfarm] ←── resource management │
|
||||
↓ resource-manager │
|
||||
[galactic-architect] ←── universe topology │
|
||||
↓ universe-api │
|
||||
[swarm-xerboxion] ←─────────────────────────────── ┘
|
||||
↓ agent-pool
|
||||
[galactic-jarvis] ←── top-level AI
|
||||
↓
|
||||
OUTPUT → xerboxion-os / xerboxion-web / minecraft-os
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Contribuer
|
||||
- Discord : [lien](https://discord.gg/HQebyWn5tR)
|
||||
- HEIG-VD : viens me voir au chillout
|
||||
- Paper : [paper/README.md](./paper/README.md)
|
||||
- Standards : [standards/](./standards/)
|
||||
|
||||
---
|
||||
|
||||
## Projets référencés
|
||||
|
||||
| Composant | Repo | Type | Status |
|
||||
|---|---|---|---|
|
||||
| xerboxion-core | [J0bot/xerboxion-core](https://github.com/J0bot/xerboxion-core) | Core | Alpha |
|
||||
| xerax | [J0bot/xerax](https://github.com/J0bot/xerax) | Ploxion | Alpha |
|
||||
| cubion | [J0bot/cubion](https://github.com/J0bot/cubion) | Ploxion | Alpha |
|
||||
| room-map | [J0bot/room-map](https://github.com/J0bot/room-map) | Ploxion | Alpha |
|
||||
| xerfarm | [J0bot/Xerfarm](https://github.com/J0bot/Xerfarm) | Ploxion | Alpha |
|
||||
| galactic-architect | [J0bot/galactic_architect](https://github.com/J0bot/galactic_architect) | Ploxion | Concept |
|
||||
| swarm-xerboxion | [J0bot/swarm-xerboxion](https://github.com/J0bot/swarm-xerboxion) | Xeri0n | Alpha |
|
||||
| galactic-jarvis | [J0bot/galactic-_jarvis](https://github.com/J0bot/galactic-_jarvis) | Xeri0n | Concept |
|
||||
| xerboxion-os | [J0bot/xerboxion-os](https://github.com/J0bot/xerboxion-os) | Platform | Alpha |
|
||||
| minecraft-os | [J0bot/minecraft-os](https://github.com/J0bot/minecraft-os) | Platform | Beta |
|
||||
| xerboxion-web | [J0bot/xerboxion-web](https://github.com/J0bot/xerboxion-web) | Platform | Alpha |
|
||||
| j0bot.ch | [J0bot/my_website2](https://github.com/J0bot/my_website2) | Platform | Stable |
|
||||
|
||||
36
package.json
Normal file
36
package.json
Normal file
@ -0,0 +1,36 @@
|
||||
{
|
||||
"name": "xerboxion-monorepo",
|
||||
"version": "0.0.1",
|
||||
"private": true,
|
||||
"description": "Xerboxion ecosystem monorepo — all ploxions, xeri0ns, and platforms in one place",
|
||||
"workspaces": [
|
||||
"ploxions/*",
|
||||
"xeri0ns/*",
|
||||
"platforms/*"
|
||||
],
|
||||
"scripts": {
|
||||
"graph:view": "npx --yes open-cli .ploxion-graph/graph-viewer.html",
|
||||
"graph:serve": "npx --yes serve .ploxion-graph -l 4242",
|
||||
"dev:all": "npm run --workspaces dev --if-present",
|
||||
"build:all": "npm run --workspaces build --if-present",
|
||||
"test:all": "npm run --workspaces test --if-present",
|
||||
"deps:check": "node scripts/check-deps.js",
|
||||
"deps:update": "node scripts/update-deps.js",
|
||||
"submodule:init": "git submodule update --init --recursive",
|
||||
"submodule:update": "git submodule update --remote --merge"
|
||||
},
|
||||
"devDependencies": {
|
||||
"serve": "^14.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.0.0",
|
||||
"npm": ">=9.0.0"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/J0bot/xerboxion"
|
||||
},
|
||||
"homepage": "https://github.com/J0bot/xerboxion",
|
||||
"author": "J0bot",
|
||||
"license": "MIT"
|
||||
}
|
||||
11
platforms/minecraft-os/README.md
Normal file
11
platforms/minecraft-os/README.md
Normal file
@ -0,0 +1,11 @@
|
||||
# 🎮 Minecraft OS
|
||||
|
||||
> Minecraft Fabric prototype of Xerboxion
|
||||
|
||||
**Type:** Platform | **Status:** Beta | **Language:** Java
|
||||
|
||||
Minecraft Fabric implementation of Xerboxion concepts. Items: **BION**, **CUBION**, **XER**, **BOXION**, **XERBOXION**. Features a CC:Tweaked Lua kernel and fractal Cube Navigator. The CUBION item is the physical prototype of the cubion ploxion.
|
||||
|
||||
Mods: Applied Energistics 2, CC:Tweaked, Immersive Portals, MCEF.
|
||||
|
||||
→ [github.com/J0bot/minecraft-os](https://github.com/J0bot/minecraft-os)
|
||||
9
platforms/my_website2/README.md
Normal file
9
platforms/my_website2/README.md
Normal file
@ -0,0 +1,9 @@
|
||||
# 🌐 j0bot.ch
|
||||
|
||||
> Personal site and Xerboxion portal
|
||||
|
||||
**Type:** Platform | **Status:** Stable | **Language:** PHP / Laravel
|
||||
|
||||
Personal website and public-facing Xerboxion portal. Features the Xerboxion paper, XerboxionComment system, OAuth2/WebAuthn authentication, and GPG challenge auth.
|
||||
|
||||
→ [github.com/J0bot/my_website2](https://github.com/J0bot/my_website2)
|
||||
9
platforms/xerboxion-os/README.md
Normal file
9
platforms/xerboxion-os/README.md
Normal file
@ -0,0 +1,9 @@
|
||||
# 📱 Xerboxion OS
|
||||
|
||||
> Main OS platform — Rust/Flutter for Android
|
||||
|
||||
**Type:** Platform | **Status:** Alpha | **Language:** Rust / Flutter
|
||||
|
||||
The primary operating system implementation for Xerboxion. Provides the user-facing shell, HUD, and full integration with xerax (thought-control), xerboxion-core (runtime), and cubion (storage).
|
||||
|
||||
→ [github.com/J0bot/xerboxion-os](https://github.com/J0bot/xerboxion-os)
|
||||
9
platforms/xerboxion-web/README.md
Normal file
9
platforms/xerboxion-web/README.md
Normal file
@ -0,0 +1,9 @@
|
||||
# 💻 Xerboxion Web
|
||||
|
||||
> Browser-based frontend platform
|
||||
|
||||
**Type:** Platform | **Status:** Alpha | **Language:** TypeScript
|
||||
|
||||
Web frontend providing browser-based access to all ploxion services, agent dashboard, and real-time ecosystem monitoring.
|
||||
|
||||
→ [github.com/J0bot/xerboxion-web](https://github.com/J0bot/xerboxion-web)
|
||||
33
ploxions/cubion/README.md
Normal file
33
ploxions/cubion/README.md
Normal file
@ -0,0 +1,33 @@
|
||||
# 📦 Cubion
|
||||
|
||||
> Distributed modular storage ploxion
|
||||
|
||||
**Type:** Ploxion | **Status:** Alpha | **Language:** Rust
|
||||
|
||||
## Overview
|
||||
|
||||
Cubion implements the Cubion hardware standard in software. Modular, cube-shaped storage units that can be physically plugged together map to distributed storage nodes in software. Every ploxion that needs persistence goes through cubion.
|
||||
|
||||
## PLC Contract
|
||||
|
||||
```json
|
||||
{
|
||||
"provides": ["storage-api", "cube-db", "sync-protocol", "cubion-link"],
|
||||
"requires": ["runtime"],
|
||||
"parent_types": ["core"],
|
||||
"children_types": ["ploxion"]
|
||||
}
|
||||
```
|
||||
|
||||
## Getting Started
|
||||
|
||||
```bash
|
||||
git submodule update --init ploxions/cubion
|
||||
cd ploxions/cubion
|
||||
cargo build
|
||||
cargo run
|
||||
```
|
||||
|
||||
## Repository
|
||||
|
||||
→ [github.com/J0bot/cubion](https://github.com/J0bot/cubion)
|
||||
23
ploxions/cubion/ploxion.json
Normal file
23
ploxions/cubion/ploxion.json
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
"id": "cubion",
|
||||
"name": "Cubion",
|
||||
"version": "0.0.1",
|
||||
"type": "ploxion",
|
||||
"status": "alpha",
|
||||
"description": "Distributed modular storage ploxion. Implements the Cubion hardware standard in software.",
|
||||
"language": "Rust",
|
||||
"repository": "https://github.com/J0bot/cubion",
|
||||
"provides": ["storage-api", "cube-db", "sync-protocol", "cubion-link"],
|
||||
"requires": ["runtime"],
|
||||
"plc": {
|
||||
"version": "0",
|
||||
"parent_types": ["core"],
|
||||
"children_types": ["ploxion"],
|
||||
"health_endpoint": "GET /health",
|
||||
"manifest_endpoint": "GET /manifest",
|
||||
"capabilities": {
|
||||
"standalone": true,
|
||||
"graceful_shutdown": true
|
||||
}
|
||||
}
|
||||
}
|
||||
24
ploxions/galactic-architect/README.md
Normal file
24
ploxions/galactic-architect/README.md
Normal file
@ -0,0 +1,24 @@
|
||||
# 🌌 Galactic Architect
|
||||
|
||||
> Universe-architecture ploxion
|
||||
|
||||
**Type:** Ploxion | **Status:** Concept | **Language:** TypeScript
|
||||
|
||||
## Overview
|
||||
|
||||
Galactic Architect manages the meta-structure of the Xerboxion digital multiverse. It defines dimensions, galactic topologies, and reality layers — the scaffolding upon which the entire digital universe is built. Also includes a separate database component: [galactic_architect_database](https://github.com/J0bot/galactic_architect_database).
|
||||
|
||||
## PLC Contract
|
||||
|
||||
```json
|
||||
{
|
||||
"provides": ["universe-api", "dimension-manager", "architect-query", "galaxy-db"],
|
||||
"requires": ["storage-api", "spatial-map", "runtime"],
|
||||
"parent_types": ["core"],
|
||||
"children_types": ["xeri0n"]
|
||||
}
|
||||
```
|
||||
|
||||
## Repository
|
||||
|
||||
→ [github.com/J0bot/galactic_architect](https://github.com/J0bot/galactic_architect)
|
||||
23
ploxions/galactic-architect/ploxion.json
Normal file
23
ploxions/galactic-architect/ploxion.json
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
"id": "galactic-architect",
|
||||
"name": "Galactic Architect",
|
||||
"version": "0.0.1",
|
||||
"type": "ploxion",
|
||||
"status": "concept",
|
||||
"description": "Universe-architecture ploxion. Manages the meta-structure of the Xerboxion digital multiverse — dimensions, galactic topologies, and reality layers.",
|
||||
"language": "TypeScript",
|
||||
"repository": "https://github.com/J0bot/galactic_architect",
|
||||
"provides": ["universe-api", "dimension-manager", "architect-query", "galaxy-db"],
|
||||
"requires": ["storage-api", "spatial-map", "runtime"],
|
||||
"plc": {
|
||||
"version": "0",
|
||||
"parent_types": ["core"],
|
||||
"children_types": ["xeri0n"],
|
||||
"health_endpoint": "GET /health",
|
||||
"manifest_endpoint": "GET /manifest",
|
||||
"capabilities": {
|
||||
"standalone": false,
|
||||
"graceful_shutdown": true
|
||||
}
|
||||
}
|
||||
}
|
||||
24
ploxions/room-map/README.md
Normal file
24
ploxions/room-map/README.md
Normal file
@ -0,0 +1,24 @@
|
||||
# 🗺️ Room Map
|
||||
|
||||
> Spatial mapping ploxion
|
||||
|
||||
**Type:** Ploxion | **Status:** Alpha | **Language:** TypeScript
|
||||
|
||||
## Overview
|
||||
|
||||
Room Map builds and maintains real-time 3D maps of physical environments, giving the Xerboxion ecosystem spatial awareness. Stores maps persistently via Cubion.
|
||||
|
||||
## PLC Contract
|
||||
|
||||
```json
|
||||
{
|
||||
"provides": ["spatial-map", "room-model", "location-api"],
|
||||
"requires": ["storage-api", "runtime"],
|
||||
"parent_types": ["core"],
|
||||
"children_types": []
|
||||
}
|
||||
```
|
||||
|
||||
## Repository
|
||||
|
||||
→ [github.com/J0bot/room-map](https://github.com/J0bot/room-map)
|
||||
23
ploxions/room-map/ploxion.json
Normal file
23
ploxions/room-map/ploxion.json
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
"id": "room-map",
|
||||
"name": "Room Map",
|
||||
"version": "0.0.1",
|
||||
"type": "ploxion",
|
||||
"status": "alpha",
|
||||
"description": "Spatial mapping ploxion. Builds and maintains real-time 3D maps of physical environments.",
|
||||
"language": "TypeScript",
|
||||
"repository": "https://github.com/J0bot/room-map",
|
||||
"provides": ["spatial-map", "room-model", "location-api"],
|
||||
"requires": ["storage-api", "runtime"],
|
||||
"plc": {
|
||||
"version": "0",
|
||||
"parent_types": ["core"],
|
||||
"children_types": [],
|
||||
"health_endpoint": "GET /health",
|
||||
"manifest_endpoint": "GET /manifest",
|
||||
"capabilities": {
|
||||
"standalone": true,
|
||||
"graceful_shutdown": true
|
||||
}
|
||||
}
|
||||
}
|
||||
37
ploxions/xerax/README.md
Normal file
37
ploxions/xerax/README.md
Normal file
@ -0,0 +1,37 @@
|
||||
# 🧠 Xerax
|
||||
|
||||
> Brain-Computer Interface ploxion — EEG → thought-commands
|
||||
|
||||
**Type:** Ploxion | **Status:** Alpha | **Language:** Python
|
||||
|
||||
## Overview
|
||||
|
||||
Xerax is the BCI (Brain-Computer Interface) ploxion. It connects to EEG hardware via BrainFlow, processes neural signals in real time, and translates thought-patterns into typed commands consumed by the rest of the ecosystem.
|
||||
|
||||
**Milestones:**
|
||||
1. Thought-assisted control (EEG augments keyboard/mouse)
|
||||
2. Full thought control (Xerboxion OS navigated by thought alone)
|
||||
|
||||
## PLC Contract
|
||||
|
||||
```json
|
||||
{
|
||||
"provides": ["thought-commands", "eeg-stream", "neural-model", "bci-api"],
|
||||
"requires": ["runtime"],
|
||||
"parent_types": ["core"],
|
||||
"children_types": []
|
||||
}
|
||||
```
|
||||
|
||||
## Getting Started
|
||||
|
||||
```bash
|
||||
git submodule update --init ploxions/xerax
|
||||
cd ploxions/xerax
|
||||
pip install -r requirements.txt
|
||||
python main.py
|
||||
```
|
||||
|
||||
## Repository
|
||||
|
||||
→ [github.com/J0bot/xerax](https://github.com/J0bot/xerax)
|
||||
23
ploxions/xerax/ploxion.json
Normal file
23
ploxions/xerax/ploxion.json
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
"id": "xerax",
|
||||
"name": "Xerax",
|
||||
"version": "0.0.1",
|
||||
"type": "ploxion",
|
||||
"status": "alpha",
|
||||
"description": "Brain-Computer Interface ploxion. EEG signal acquisition, neural network training, and thought-to-command translation via BrainFlow.",
|
||||
"language": "Python",
|
||||
"repository": "https://github.com/J0bot/xerax",
|
||||
"provides": ["thought-commands", "eeg-stream", "neural-model", "bci-api"],
|
||||
"requires": ["runtime"],
|
||||
"plc": {
|
||||
"version": "0",
|
||||
"parent_types": ["core"],
|
||||
"children_types": [],
|
||||
"health_endpoint": "GET /health",
|
||||
"manifest_endpoint": "GET /manifest",
|
||||
"capabilities": {
|
||||
"standalone": true,
|
||||
"graceful_shutdown": true
|
||||
}
|
||||
}
|
||||
}
|
||||
43
ploxions/xerboxion-core/README.md
Normal file
43
ploxions/xerboxion-core/README.md
Normal file
@ -0,0 +1,43 @@
|
||||
# ⬡ Xerboxion Core
|
||||
|
||||
> Core runtime, process manager, IPC bus, and PLC registry
|
||||
|
||||
**Type:** Core | **Status:** Alpha | **Language:** Rust
|
||||
|
||||
## Overview
|
||||
|
||||
Xerboxion Core is the foundation of the entire ecosystem. Every other ploxion or xeri0n runs on top of it. It provides:
|
||||
|
||||
- **Runtime** — process lifecycle management for all ploxions
|
||||
- **IPC Bus** — inter-ploxion communication via typed message passing
|
||||
- **PLC Registry** — tracks connected ploxions and their manifests
|
||||
- **Health API** — `GET /health` endpoint for all registered components
|
||||
- **Process Manager** — spawn, stop, restart individual ploxions
|
||||
|
||||
## PLC Contract
|
||||
|
||||
```json
|
||||
{
|
||||
"provides": ["runtime", "process-manager", "ipc-bus", "plc-registry", "health-api"],
|
||||
"requires": [],
|
||||
"parent_types": [],
|
||||
"children_types": ["ploxion", "xeri0n"]
|
||||
}
|
||||
```
|
||||
|
||||
## Getting Started
|
||||
|
||||
```bash
|
||||
# Clone via monorepo submodule
|
||||
git submodule update --init ploxions/xerboxion-core
|
||||
|
||||
# Or clone directly
|
||||
git clone https://github.com/J0bot/xerboxion-core
|
||||
cd xerboxion-core
|
||||
cargo build
|
||||
cargo run
|
||||
```
|
||||
|
||||
## Repository
|
||||
|
||||
→ [github.com/J0bot/xerboxion-core](https://github.com/J0bot/xerboxion-core)
|
||||
23
ploxions/xerboxion-core/ploxion.json
Normal file
23
ploxions/xerboxion-core/ploxion.json
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
"id": "xerboxion-core",
|
||||
"name": "Xerboxion Core",
|
||||
"version": "0.0.1",
|
||||
"type": "core",
|
||||
"status": "alpha",
|
||||
"description": "Core runtime, process manager, IPC bus, and PLC registry for the Xerboxion ecosystem.",
|
||||
"language": "Rust",
|
||||
"repository": "https://github.com/J0bot/xerboxion-core",
|
||||
"provides": ["runtime", "process-manager", "ipc-bus", "plc-registry", "health-api"],
|
||||
"requires": [],
|
||||
"plc": {
|
||||
"version": "0",
|
||||
"parent_types": [],
|
||||
"children_types": ["ploxion", "xeri0n"],
|
||||
"health_endpoint": "GET /health",
|
||||
"manifest_endpoint": "GET /manifest",
|
||||
"capabilities": {
|
||||
"standalone": true,
|
||||
"graceful_shutdown": true
|
||||
}
|
||||
}
|
||||
}
|
||||
24
ploxions/xerfarm/README.md
Normal file
24
ploxions/xerfarm/README.md
Normal file
@ -0,0 +1,24 @@
|
||||
# 🌾 Xerfarm
|
||||
|
||||
> Agriculture and resource management ploxion
|
||||
|
||||
**Type:** Ploxion | **Status:** Alpha | **Language:** Python
|
||||
|
||||
## Overview
|
||||
|
||||
Xerfarm automates cultivation, tracks resource flows, manages harvest operations, and integrates with spatial maps for optimal farm layout. Complex tasks are delegated to Swarm Xerboxion agents.
|
||||
|
||||
## PLC Contract
|
||||
|
||||
```json
|
||||
{
|
||||
"provides": ["resource-manager", "farm-control", "harvest-api"],
|
||||
"requires": ["storage-api", "spatial-map", "runtime"],
|
||||
"parent_types": ["core"],
|
||||
"children_types": []
|
||||
}
|
||||
```
|
||||
|
||||
## Repository
|
||||
|
||||
→ [github.com/J0bot/Xerfarm](https://github.com/J0bot/Xerfarm)
|
||||
23
ploxions/xerfarm/ploxion.json
Normal file
23
ploxions/xerfarm/ploxion.json
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
"id": "xerfarm",
|
||||
"name": "Xerfarm",
|
||||
"version": "0.0.1",
|
||||
"type": "ploxion",
|
||||
"status": "alpha",
|
||||
"description": "Agriculture and resource-management ploxion. Automates cultivation, tracks resource flows, and manages harvest operations.",
|
||||
"language": "Python",
|
||||
"repository": "https://github.com/J0bot/Xerfarm",
|
||||
"provides": ["resource-manager", "farm-control", "harvest-api"],
|
||||
"requires": ["storage-api", "spatial-map", "runtime"],
|
||||
"plc": {
|
||||
"version": "0",
|
||||
"parent_types": ["core"],
|
||||
"children_types": [],
|
||||
"health_endpoint": "GET /health",
|
||||
"manifest_endpoint": "GET /manifest",
|
||||
"capabilities": {
|
||||
"standalone": true,
|
||||
"graceful_shutdown": true
|
||||
}
|
||||
}
|
||||
}
|
||||
7
pnpm-workspace.yaml
Normal file
7
pnpm-workspace.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
packages:
|
||||
# Ploxion components
|
||||
- 'ploxions/*'
|
||||
# Xeri0n AI agents
|
||||
- 'xeri0ns/*'
|
||||
# Platform implementations
|
||||
- 'platforms/*'
|
||||
20
research/README.md
Normal file
20
research/README.md
Normal file
@ -0,0 +1,20 @@
|
||||
# 📚 Research
|
||||
|
||||
> Documentation, papers, and brain dumps for the Xerboxion ecosystem
|
||||
|
||||
## Structure
|
||||
|
||||
```
|
||||
research/
|
||||
├── docs/ # Technical documentation
|
||||
└── braindumps/ # Conceptual exploration, vision documents, extrapolations
|
||||
```
|
||||
|
||||
## Key Documents
|
||||
|
||||
- [xerboxion_book_vision.md](../book/) — Full book/paper vision
|
||||
- [paper/README.md](../paper/README.md) — Published preprint
|
||||
|
||||
## Related
|
||||
|
||||
- [research repo](https://github.com/J0bot/research) — Extended brain dumps and extrapolations
|
||||
0
research/braindumps/.gitkeep
Normal file
0
research/braindumps/.gitkeep
Normal file
0
research/docs/.gitkeep
Normal file
0
research/docs/.gitkeep
Normal file
68
scripts/check-deps.js
Normal file
68
scripts/check-deps.js
Normal file
@ -0,0 +1,68 @@
|
||||
#!/usr/bin/env node
|
||||
/**
|
||||
* Xerboxion dependency integrity checker.
|
||||
* Verifies that every component's declared `depends_on` entries exist and
|
||||
* that there are no circular dependencies.
|
||||
*
|
||||
* Usage: node scripts/check-deps.js
|
||||
*/
|
||||
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
|
||||
const DEPS_FILE = path.join(__dirname, '..', '.workspace', 'dependencies.json');
|
||||
|
||||
let registry;
|
||||
try {
|
||||
registry = JSON.parse(fs.readFileSync(DEPS_FILE, 'utf8'));
|
||||
} catch (e) {
|
||||
console.error(`✗ Could not read ${DEPS_FILE}:`, e.message);
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
const { components } = registry;
|
||||
const ids = new Set(Object.keys(components));
|
||||
let errors = 0;
|
||||
|
||||
// ── 1. Check all declared deps exist ────────────────────────────────
|
||||
console.log('\n⬡ Xerboxion — Dependency Integrity Check\n');
|
||||
console.log(' Checking declared dependencies…');
|
||||
for (const [id, comp] of Object.entries(components)) {
|
||||
for (const dep of comp.depends_on || []) {
|
||||
if (!ids.has(dep)) {
|
||||
console.error(` ✗ [${id}] depends on unknown component: "${dep}"`);
|
||||
errors++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ── 2. Detect cycles (DFS) ───────────────────────────────────────────
|
||||
console.log(' Checking for circular dependencies…');
|
||||
function hasCycle(start, visited = new Set(), stack = new Set()) {
|
||||
visited.add(start);
|
||||
stack.add(start);
|
||||
for (const dep of (components[start]?.depends_on || [])) {
|
||||
if (!visited.has(dep)) {
|
||||
if (hasCycle(dep, visited, stack)) return true;
|
||||
} else if (stack.has(dep)) {
|
||||
console.error(` ✗ Cycle detected: ${start} → ${dep}`);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
stack.delete(start);
|
||||
return false;
|
||||
}
|
||||
|
||||
for (const id of ids) {
|
||||
hasCycle(id);
|
||||
}
|
||||
|
||||
// ── 3. Report ────────────────────────────────────────────────────────
|
||||
console.log(`\n Components: ${ids.size}`);
|
||||
if (errors === 0) {
|
||||
console.log(' ✓ All dependencies are valid. No cycles found.\n');
|
||||
process.exit(0);
|
||||
} else {
|
||||
console.error(` ✗ Found ${errors} error(s).\n`);
|
||||
process.exit(1);
|
||||
}
|
||||
22
xeri0ns/galactic-jarvis/README.md
Normal file
22
xeri0ns/galactic-jarvis/README.md
Normal file
@ -0,0 +1,22 @@
|
||||
# ✨ Galactic Jarvis
|
||||
|
||||
> High-level AI assistant xeri0n
|
||||
|
||||
**Type:** Xeri0n | **Status:** Concept | **Language:** Python
|
||||
|
||||
## Overview
|
||||
|
||||
Galactic Jarvis is the top-level AI assistant for the Xerboxion ecosystem. It provides natural-language understanding, long-horizon planning, and full universe context. It orchestrates via Swarm Xerboxion agents and queries Galactic Architect for universe state.
|
||||
|
||||
## PLC Contract
|
||||
|
||||
```json
|
||||
{
|
||||
"provides": ["ai-assistant", "nlp-api", "planning-core"],
|
||||
"requires": ["agent-pool", "universe-api", "memory-core", "runtime"]
|
||||
}
|
||||
```
|
||||
|
||||
## Repository
|
||||
|
||||
→ [github.com/J0bot/galactic-_jarvis](https://github.com/J0bot/galactic-_jarvis)
|
||||
24
xeri0ns/galactic-jarvis/xeri0n.json
Normal file
24
xeri0ns/galactic-jarvis/xeri0n.json
Normal file
@ -0,0 +1,24 @@
|
||||
{
|
||||
"id": "galactic-jarvis",
|
||||
"name": "Galactic Jarvis",
|
||||
"version": "0.0.1",
|
||||
"type": "xeri0n",
|
||||
"status": "concept",
|
||||
"description": "High-level AI assistant xeri0n. Natural-language reasoning, long-horizon planning, and full universe context.",
|
||||
"language": "Python",
|
||||
"repository": "https://github.com/J0bot/galactic-_jarvis",
|
||||
"provides": ["ai-assistant", "nlp-api", "planning-core"],
|
||||
"requires": ["agent-pool", "universe-api", "memory-core", "runtime"],
|
||||
"model": "local-llm",
|
||||
"plc": {
|
||||
"version": "0",
|
||||
"parent_types": ["core"],
|
||||
"children_types": [],
|
||||
"health_endpoint": "GET /health",
|
||||
"manifest_endpoint": "GET /manifest",
|
||||
"capabilities": {
|
||||
"standalone": false,
|
||||
"graceful_shutdown": true
|
||||
}
|
||||
}
|
||||
}
|
||||
28
xeri0ns/swarm-xerboxion/README.md
Normal file
28
xeri0ns/swarm-xerboxion/README.md
Normal file
@ -0,0 +1,28 @@
|
||||
# 🤖 Swarm Xerboxion
|
||||
|
||||
> Multi-agent orchestration xeri0n
|
||||
|
||||
**Type:** Xeri0n | **Status:** Alpha | **Language:** TypeScript
|
||||
|
||||
## Overview
|
||||
|
||||
Swarm Xerboxion coordinates autonomous agents across the ecosystem:
|
||||
- **Mission Core** — enqueue, prioritize, and dispatch missions
|
||||
- **Memory Core** — persistent agent memory via Cubion
|
||||
- **Agent Core** — autonomous worker instances
|
||||
- **Coordinator** — orchestrate multi-agent workflows
|
||||
- **Discord Adapter** — receive missions from Discord
|
||||
- **IPC Server** — inter-process communication hub
|
||||
|
||||
## PLC Contract
|
||||
|
||||
```json
|
||||
{
|
||||
"provides": ["agent-pool", "mission-queue", "memory-core", "coordinator", "discord-adapter"],
|
||||
"requires": ["runtime", "ipc-bus", "storage-api"]
|
||||
}
|
||||
```
|
||||
|
||||
## Repository
|
||||
|
||||
→ [github.com/J0bot/swarm-xerboxion](https://github.com/J0bot/swarm-xerboxion)
|
||||
25
xeri0ns/swarm-xerboxion/xeri0n.json
Normal file
25
xeri0ns/swarm-xerboxion/xeri0n.json
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
"id": "swarm-xerboxion",
|
||||
"name": "Swarm Xerboxion",
|
||||
"version": "0.0.1",
|
||||
"type": "xeri0n",
|
||||
"status": "alpha",
|
||||
"description": "Multi-agent orchestration xeri0n. Mission Core, Memory Core, Agent Core, IPC server, and Discord adapter.",
|
||||
"language": "TypeScript",
|
||||
"repository": "https://github.com/J0bot/swarm-xerboxion",
|
||||
"provides": ["agent-pool", "mission-queue", "memory-core", "coordinator", "discord-adapter"],
|
||||
"requires": ["runtime", "ipc-bus", "storage-api"],
|
||||
"agents": ["mission-core", "memory-core", "agent-core"],
|
||||
"adapters": ["discord", "ipc"],
|
||||
"plc": {
|
||||
"version": "0",
|
||||
"parent_types": ["core"],
|
||||
"children_types": [],
|
||||
"health_endpoint": "GET /health",
|
||||
"manifest_endpoint": "GET /manifest",
|
||||
"capabilities": {
|
||||
"standalone": false,
|
||||
"graceful_shutdown": true
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user