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,11 @@
|
||||
-- add_landclaim_segment(in_totem_id bigint, in_grid_location_x bigint, in_grid_location_y bigint) -> void
|
||||
-- oid: 58123 kind: FUNCTION category: landclaim
|
||||
|
||||
CREATE OR REPLACE FUNCTION dune.add_landclaim_segment(in_totem_id bigint, in_grid_location_x bigint, in_grid_location_y bigint)
|
||||
RETURNS void
|
||||
LANGUAGE plpgsql
|
||||
AS $function$
|
||||
BEGIN
|
||||
INSERT INTO landclaim_segments(totem_id, grid_location_x, grid_location_y)
|
||||
VALUES(in_totem_id, in_grid_location_x, in_grid_location_y);
|
||||
END; $function$
|
||||
@@ -0,0 +1,13 @@
|
||||
-- get_landclaim_segments(in_totem_id bigint) -> TABLE(grid_location_x bigint, grid_location_y bigint)
|
||||
-- oid: 58315 kind: FUNCTION category: landclaim
|
||||
|
||||
CREATE OR REPLACE FUNCTION dune.get_landclaim_segments(in_totem_id bigint)
|
||||
RETURNS TABLE(grid_location_x bigint, grid_location_y bigint)
|
||||
LANGUAGE plpgsql
|
||||
AS $function$
|
||||
BEGIN
|
||||
RETURN QUERY
|
||||
SELECT t.grid_location_x, t.grid_location_y
|
||||
FROM landclaim_segments AS t
|
||||
WHERE t.totem_id = in_totem_id;
|
||||
END; $function$
|
||||
Reference in New Issue
Block a user