feat: add 7 missing commands (passenger transport + faction invites)#23
Merged
cahaseler merged 1 commit intoJun 7, 2026
Merged
Conversation
Contributor
Author
ℹ️ Note on the failing
|
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) <noreply@anthropic.com>
56bcf31 to
9e4ffea
Compare
Contributor
Author
|
Update: #22 has merged. Rebased onto current |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Syncs the client
COMMANDSmap with the 2026-06-07 OpenAPI spec, which added a passenger-transport system and faction-invite management. These 7 endpoints exist on the server but were missing from the client:faction_accept_invitefaction_idjoin_faction)faction_withdraw_inviteplayer_idset_drone_namedrone_id,namelist_passengerslist_station_passengers[station]load_passengerdestinationunload_passengernameCaught by the
api-synctest against the live OpenAPI spec.Notes
set_drone_name,unload_passenger) use the{ rest }pattern, consistent withname_ship/upload_drone_script.main(post-feat: add 19 missing commands, drop deprecated faction_set_ally #22), so this is a clean single-commit diff and the api-sync check is green.Test plan
bun run lint(biome) — cleanbun build src/client.ts— OKbun test src/api-sync.test.ts— passes (client now fully in sync with the live spec)🤖 Generated with Claude Code