From 9e4ffeaa4ca4f970fe531bf195867bd27de4a33d Mon Sep 17 00:00:00 2001 From: Robert Snedegar Date: Sun, 7 Jun 2026 14:00:10 -0700 Subject: [PATCH] feat: add 7 missing commands (passenger transport + faction invites) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sync client COMMANDS with the 2026-06-07 OpenAPI spec, which added a passenger-transport system and faction-invite management: - faction_accept_invite — accept a pending invite (alias for join_faction) - faction_withdraw_invite — withdraw an invite you sent - set_drone_name — set/clear a drone's display name - list_passengers — passengers aboard your ship - list_station_passengers — citizens waiting at a station - load_passenger — load waiting passengers bound for a destination - unload_passenger — drop a single passenger at the current station Caught by the api-sync test against the live spec. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/client.ts | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/src/client.ts b/src/client.ts index 04f3624..ff359a1 100644 --- a/src/client.ts +++ b/src/client.ts @@ -284,6 +284,11 @@ const COMMANDS: Record = { faction_info: { args: ['faction_id'] }, faction_list: { args: ['limit', 'offset'] }, faction_get_invites: {}, + faction_accept_invite: { + args: ['faction_id'], + required: ['faction_id'], + usage: ' (accept a pending invite; alias for join_faction)', + }, faction_decline_invite: { args: ['faction_id'] }, faction_set_enemy: { args: ['target_faction_id'] }, faction_remove_enemy: { @@ -310,6 +315,11 @@ const COMMANDS: Record = { faction_propose_peace: { args: ['target_faction_id', 'terms'] }, faction_accept_peace: { args: ['target_faction_id'] }, faction_invite: { args: ['player_id'] }, + faction_withdraw_invite: { + args: ['player_id'], + required: ['player_id'], + usage: ' (withdraw a pending invite you sent)', + }, faction_kick: { args: ['player_id'] }, faction_promote: { args: ['player_id', 'role_id'] }, faction_edit: { args: ['description', 'charter', 'primary_color', 'secondary_color'] }, @@ -554,6 +564,28 @@ const COMMANDS: Record = { required: ['drone_id', 'script'], usage: '