docs(reference): import Dune: Awakening server-manager references
Phase 2 references for the host-agent Dune adapter, moved out of volatile /tmp
into docs/reference-repos/ (per Commander). Three upstream projects, .git +
node_modules + compiled binaries stripped (16MB source). Nested AI-instruction
files (.claude/, CLAUDE.md) removed so they don't pollute Corrosion sessions.
- icehunter/ dune-admin (Go+React) — 4 control planes; SETUP_DOCKER.md is the
closest analog to our agent's Dune docker control plane (compose
lifecycle, docker logs, RabbitMQ-via-exec, dune Postgres schema)
- adainrivers/ Rust/Tauri desktop — SSH+k8s BattleGroup control, maintenance
daemon, in-game admin console (Rust idiom reference)
- the4rchangel/ Node web UI replacing battlegroup.bat — matches the Commander's
Hyper-V self-host path + game-config schema
See docs/reference-repos/README.md for the full index + how we use each.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
-- igwo_get_server_details() -> TABLE(address text, server_id text, ready boolean, partition_id bigint, map text, dimension_index integer, label text)
|
||||
-- oid: 58373 kind: FUNCTION category: igwo
|
||||
|
||||
CREATE OR REPLACE FUNCTION dune.igwo_get_server_details()
|
||||
RETURNS TABLE(address text, server_id text, ready boolean, partition_id bigint, map text, dimension_index integer, label text)
|
||||
LANGUAGE sql
|
||||
AS $function$
|
||||
select
|
||||
host(fs.igw_addr)||':'||fs.igw_port as address,
|
||||
fs.server_id,
|
||||
fs.ready,
|
||||
wp.partition_id,
|
||||
wp.map,
|
||||
wp.dimension_index,
|
||||
wp.label
|
||||
from get_farm_state() fs
|
||||
left join world_partition wp on wp.server_id = fs.server_id
|
||||
where fs.server_id is not null;
|
||||
$function$
|
||||
Reference in New Issue
Block a user