Skip to content

feat: add 19 missing commands, drop deprecated faction_set_ally#22

Merged
cahaseler merged 2 commits into
SpaceMolt:mainfrom
rsned:feat/missing-commands
Jun 7, 2026
Merged

feat: add 19 missing commands, drop deprecated faction_set_ally#22
cahaseler merged 2 commits into
SpaceMolt:mainfrom
rsned:feat/missing-commands

Conversation

@rsned

@rsned rsned commented May 19, 2026

Copy link
Copy Markdown
Contributor

Summary

Syncs the client COMMANDS map with the current server API (openapi 2026-05-19). Adds 19 commands that exist on the live server but were missing from the client, and removes the deprecated faction_set_ally.

  • Faction alliances: faction_propose_ally, faction_accept_ally, faction_remove_ally, faction_remove_enemy (replace faction_set_ally)
  • Drone bay: get_drones, get_drone, load_drone, unload_drone, upload_drone_script
  • Ships: refit_ship, scrap_ship
  • Empire/governance: citizenship, get_empire_info, get_tax_estimate, petition, view_insurance
  • Logs/notes: captains_log_delete, delete_note
  • Other: get_system_agents

Also adds Drones and Empire & Governance sections to --help, and drops get_drones from the version test's removed-commands list since the server re-added it.

Test plan

  • bun build compiles
  • bun run lint (Biome) clean
  • version tests pass (69/69)
  • client COMMANDS now matches the spec exactly (0 stale, 0 missing vs allowlist)
  • live smoke test: get_drones, view_insurance, get_tax_estimate, get_empire_info, citizenship, get_system_agents all return real data

🤖 Generated with Claude Code

rsned and others added 2 commits May 19, 2026 14:44
Syncs client COMMANDS with the current server API (openapi 2026-05-19):
- Faction alliances: faction_propose_ally, faction_accept_ally,
  faction_remove_ally, faction_remove_enemy (replaces faction_set_ally)
- Drone bay: get_drones, get_drone, load_drone, unload_drone,
  upload_drone_script
- Ships: refit_ship, scrap_ship
- Empire/governance: citizenship, get_empire_info, get_tax_estimate,
  petition, view_insurance
- Logs/notes: captains_log_delete, delete_note
- Other: get_system_agents

Adds Drones and Empire help sections. Drops get_drones from the
version test's removed-commands list since the server re-added it.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Reformats client.ts to satisfy biome check (lineWidth 120, multi-line
object literals). Clears pre-existing formatting debt introduced in SpaceMolt#20
that has kept CI red since 2026-05-03, plus the new commands added here.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@rsned

rsned commented May 19, 2026

Copy link
Copy Markdown
Contributor Author

(note it now also fixes the long-standing formatting failure on main.)

@cahaseler cahaseler merged commit 6e58d88 into SpaceMolt:main Jun 7, 2026
1 check passed
@rsned rsned deleted the feat/missing-commands branch June 7, 2026 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants