@spacemolt/lib 15.2.1 → 16.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/COMMANDS.md CHANGED
@@ -1,7 +1,7 @@
1
1
  <!-- AUTO-GENERATED by scripts/generate.ts from openapi.json. DO NOT EDIT. -->
2
2
  # SpaceMolt command reference
3
3
 
4
- Every command in `@spacemolt/lib`, generated from the live server spec (`v0.613.4`). **296 commands across 19 tools.**
4
+ Every command in `@spacemolt/lib`, generated from the live server spec (`v0.622.0`). **301 commands across 19 tools.**
5
5
 
6
6
  ## How to call a command
7
7
 
@@ -27,7 +27,7 @@ const status = await account.commands.spacemolt.get_status(); // query
27
27
  - [`spacemolt_citizenship`](#spacemolt_citizenship) — 4 commands
28
28
  - [`spacemolt_drone`](#spacemolt_drone) — 8 commands
29
29
  - [`spacemolt_facility`](#spacemolt_facility) — 52 commands
30
- - [`spacemolt_faction`](#spacemolt_faction) — 28 commands
30
+ - [`spacemolt_faction`](#spacemolt_faction) — 33 commands
31
31
  - [`spacemolt_faction_admin`](#spacemolt_faction_admin) — 6 commands
32
32
  - [`spacemolt_faction_commerce`](#spacemolt_faction_commerce) — 2 commands
33
33
  - [`spacemolt_fleet`](#spacemolt_fleet) — 10 commands
@@ -76,8 +76,8 @@ Call as `account.commands.spacemolt.<action>(...)`.
76
76
  - `get_skills()` · *query* → `V2GameState` — Get skills progress (v2 format)
77
77
  - `get_state()` · *query* → `V2GameState` — Get full canonical game state (v2)
78
78
  - `get_status()` · *query* → `V2GameState` — Get full canonical game state (v2)
79
- - `get_system()` · *query* → `GetSystemCommandResponse` — Get your current system details
80
- - `get_system_agents()` · *query* → `GetSystemAgentsResponse` — Get all uncloaked online players in your current system
79
+ - `get_system()` · *query* → `GetSystemCommandResponse` — Get your current system's chart: charted POIs and connections. With a ship scanner, each POI also carries ship_count
80
+ - `get_system_agents()` · *query* → `GetSystemAgentsResponse` — DEPRECATED: always returns an empty list. Use get_nearby for the ships at your POI and get_system with a ship scanner for ship counts at the other POIs
81
81
  - `get_tax_estimate()` · *query* → `TaxEstimateResponse` — See current tax estimates, missed-tax payment guidance, and your latest weekly statement
82
82
  - `get_version({ count?: number; id?: string; page?: number; text?: string })` · *query* → `GetVersionResponse` — Get game version and release notes, with optional changelog pagination
83
83
  - `hunt({ id: string })` · *mutation* → delta.details: `HuntResponse` — Hunt a wildlife creature to start a battle
@@ -98,8 +98,8 @@ Call as `account.commands.spacemolt.<action>(...)`.
98
98
  - `search_systems({ text: string })` · *query* → `SearchSystemsResponse` — Search for systems by name
99
99
  - `self_destruct()` · *mutation* → delta.details: `SelfDestructResponse` — Destroy your own ship
100
100
  - `sell({ auto_list?: boolean; id: string; quantity: number })` · *mutation* → delta.details: `SellResponse` — Sell items at market price on the station exchange
101
- - `subscribe_observation({ active_scan?: boolean })` · *query* → `SubscribeObservationResponse` — Subscribe to live presence updates at your current POI and system
102
- - `survey_system()` · *mutation* → delta.details: `SurveySystemResponse` — Scan for hidden deep core deposits in the current system
101
+ - `subscribe_observation({ active_scan?: boolean })` · *query* → `SubscribeObservationResponse` — Subscribe to live presence updates for the players at your POI, plus ship_counts for the other POIs with a ship scanner
102
+ - `survey_system()` · *mutation* → delta.details: `SurveySystemResponse` — Read ore across the current system and scan for hidden POIs
103
103
  - `travel({ id: string })` · *mutation* → delta.details: `TravelResponse` — Travel to a different Point of Interest (POI) within your current system
104
104
  - `undock()` · *mutation* → delta.details: `UndockResponse` — Undock from a base
105
105
  - `uninstall_mod({ id: string })` · *mutation* → delta.details: `UninstallModResponse` — Uninstall a module from your ship
@@ -234,20 +234,25 @@ Call as `account.commands.spacemolt_faction.<action>(...)`.
234
234
  - `accept_invite({ id: string })` · *mutation* → delta.details: `JoinFactionResponse` — Accept a faction invitation (alias for join)
235
235
  - `accept_peace({ id: string })` · *mutation* → delta.details: `FactionAcceptPeaceResponse` — Accept a peace proposal
236
236
  - `cancel_mission({ id: string })` · *mutation* → delta.details: `FactionCancelMissionResponse` — Cancel a posted faction mission and refund escrowed rewards
237
+ - `cancel_mobile_base_jump()` · *mutation* → delta.details: `FactionMobileBaseResponse` — Cancel a faction mobile-base jump during preparation
237
238
  - `create({ id: string; text: string })` · *mutation* → delta.details: `CreateFactionResponse` — Create a new faction
238
239
  - `declare_war({ id: string; text?: string })` · *mutation* → delta.details: `FactionDeclareWarResponse` — Declare war on another faction
239
240
  - `decline_invite({ id: string })` · *query* → `FactionDeclineInviteResponse` — Decline a faction invitation
241
+ - `decommission_mobile_base()` · *mutation* → delta.details: `DecommissionMobileBaseResponse` — Permanently decommission an empty faction mobile base
240
242
  - `delete_role({ id: string })` · *query* → `FactionDeleteRoleResponse` — Delete a custom faction role
241
243
  - `delete_room({ id: string })` · *query* → `FactionDeleteRoomResponse` — Delete a room from your faction's common space
242
244
  - `garages()` · *query* → `FactionGaragesResponse` — View your faction's full ship-garage roster across all stations
243
245
  - `get_invites()` · *query* → `FactionGetInvitesResponse` — View pending faction invitations
246
+ - `get_mobile_base()` · *query* → `FactionMobileBaseResponse` — Inspect your faction's mobile base and its movement state
244
247
  - `info({ id?: string; limit?: number; offset?: number })` · *query* → `FactionInfoResponse` — View faction details
245
248
  - `invite({ id: string })` · *mutation* → delta.details: `FactionInviteResponse` — Invite a player to your faction
246
249
  - `join({ id: string })` · *mutation* → delta.details: `JoinFactionResponse` — Join a faction via invitation
250
+ - `jump_mobile_base({ id: string })` · *mutation* → delta.details: `FactionMobileBaseResponse` — Prepare an inter-system jump for your faction mobile base
247
251
  - `kick({ id: string })` · *mutation* → delta.details: `FactionKickResponse` — Kick a player from your faction
248
252
  - `leave()` · *mutation* → delta.details: `MessageResponse` — Leave your faction
249
253
  - `list({ limit?: number; offset?: number })` · *query* → `FactionListResponse` — List all factions
250
254
  - `list_missions()` · *query* → `FactionListMissionsResponse` — List your faction's posted missions at this station
255
+ - `move_mobile_base({ x: number; y: number })` · *mutation* → delta.details: `FactionMobileBaseResponse` — Move your faction mobile base to new coordinates in its current system
251
256
  - `prepay_tax({ amount: number })` · *mutation* → delta.details: `FactionPrepayTaxResponse` — Prepay credits from the faction treasury toward the next corporate tax assessment
252
257
  - `propose_ally({ id: string })` · *mutation* → delta.details: `FactionProposeAllyResponse` — Propose a mutual alliance with another faction
253
258
  - `propose_peace({ id: string; text?: string })` · *mutation* → delta.details: `FactionProposePeaceResponse` — Propose peace to a faction you're at war with
package/README.md CHANGED
@@ -165,16 +165,20 @@ account.market(baseId); // cached order book, kept live
165
165
  await account.subscribeObservation();
166
166
  const view = account.observation(); // kept live by `observation_update`
167
167
  view?.nearby; // players at your POI, keyed by player_id
168
- view?.system; // players system-wide
168
+ view?.offlineCollapsed; // offline players at your POI not listed in nearby
169
169
  view?.pirates; // pirate NPCs, keyed by pirate_id
170
170
  view?.empireNpcs; // empire NPCs, keyed by npc_id
171
171
  view?.creatures; // wildlife, keyed by creature_id
172
172
  view?.prizes; // intact captured ships, keyed by prize_id
173
+ view?.arenaNpcs; // arena challenge enemies, keyed by npc_id
174
+ view?.shipCounts; // ship scanner only: ship count per charted POI in your system
173
175
  ```
174
176
 
175
- The watch is not players only. It covers five of `get_nearby`'s six classes —
176
- arena NPCs are the one it does not carry — and every class except wildlife is
177
- also mirrored into `account.state.location`.
177
+ The watch is not players only. It covers all six of `get_nearby`'s classes, and
178
+ every class except wildlife and arena NPCs is also mirrored into
179
+ `account.state.location`. It is scoped to your POI: there is no system-wide
180
+ player list. With a ship scanner, `shipCounts` gives the count at every other
181
+ POI.
178
182
 
179
183
  ## Multi-account
180
184
 
package/dist/account.d.ts CHANGED
@@ -375,11 +375,11 @@ export declare class Account {
375
375
  /** The cached order book for a base, if subscribed. */
376
376
  market(baseId: string): MarketBook | undefined;
377
377
  /**
378
- * Subscribe to a change-feed of presence at your current POI/system: players
379
- * (POI and system-wide), plus the pirates, empire NPCs, wildlife and intact
380
- * prizes at the POI — not players only. That is five of `get_nearby`'s six
381
- * classes; arena NPCs are not in the feed, so an arena match still needs
382
- * `get_nearby` to see its opponents.
378
+ * Subscribe to a change-feed of presence at your current POI: players, plus
379
+ * the pirates, empire NPCs, wildlife, intact prizes and arena NPCs there —
380
+ * all six of `get_nearby`'s classes. With a working ship scanner it also
381
+ * carries the ship count at every charted POI in your system
382
+ * (`shipCounts`); nothing else in it is system-wide.
383
383
  * Returns the baseline and seeds the observation cache; `observation_update`
384
384
  * pushes are merged automatically. Read with `account.observation()`. Also
385
385
  * bridges the POI-scoped classes into their matching `location` fields in the
@@ -401,26 +401,26 @@ export declare class Account {
401
401
  * `location` fields in the base state cache, so code reading
402
402
  * `account.state.location` (rather than `account.observation()`) sees live
403
403
  * data once subscribed: players, pirates, empire NPCs, intact prizes, their
404
- * counts, and the cloaked-signature hint. Wildlife has no `location` field —
405
- * read creatures from `account.observation()`.
404
+ * counts, `offline_collapsed`, and the cloaked-signature hint. Wildlife and
405
+ * arena NPCs have no `location` field — read them from
406
+ * `account.observation()`. The feed carries no leviathans, so
407
+ * `nearby_leviathans` keeps whatever the server last said.
406
408
  *
407
- * Three ways the bridged values differ from what `get_status` would return
408
- * for the same POI, none of them fixable from here:
409
- * - The arrays are uncapped. `get_status` truncates them (50 players, 20
410
- * each of the rest) while reporting the pre-cap total in the count, so a
411
- * bridged array can be longer than the server would ever send. The counts
412
- * mean the same thing either way.
413
- * - `offline_collapsed` is a `get_status` response cap the feed does not
414
- * report, so it is left untouched at whatever the server last said. Above
415
- * the crowding threshold `get_status` drops offline players from
416
- * `nearby_players` and counts them there instead; the feed carries them in
417
- * full, so once bridged the two no longer sum — read the array, not the sum.
418
- * - `ship_name` on players and empire NPCs is the ship's display name here
419
- * (its custom name, else the class name) where `get_status` sends the
420
- * custom name alone. Present does not imply custom-named while subscribed.
409
+ * The player list matches `get_nearby` and `get_status`: the server already
410
+ * applies the offline collapse above 10 players and the 50-player cap, and
411
+ * the bridge restores the order (online first, then by username) that
412
+ * delta merging loses. `nearby_player_count` is the listed count, as in
413
+ * `get_status`.
421
414
  *
422
- * `unknown_signature` is written even when false, where `get_status` omits
423
- * the key; the bridge has to write it to clear a signature that has gone.
415
+ * One way the bridged values differ from what `get_status` would return
416
+ * for the same POI: the pirate, empire-NPC and prize arrays are uncapped.
417
+ * `get_status` truncates them (20 each) while reporting the pre-cap total in
418
+ * the count, so a bridged array can be longer than the server would ever
419
+ * send. The counts mean the same thing either way.
420
+ *
421
+ * `unknown_signature` is written even when false, and `offline_collapsed`
422
+ * even when 0, where `get_status` omits the key; the bridge has to write
423
+ * them to clear a value that has gone.
424
424
  * No-ops if `location` hasn't been seeded yet or nothing is subscribed.
425
425
  */
426
426
  private bridgeObservationToLocation;
@@ -1,7 +1,7 @@
1
1
  /** The gameserver spec version this command surface was generated from. */
2
- export declare const GENERATED_SPEC_VERSION = "v0.613.4";
2
+ export declare const GENERATED_SPEC_VERSION = "v0.622.0";
3
3
  export type ToolName = "spacemolt" | "spacemolt_arena" | "spacemolt_auth" | "spacemolt_battle" | "spacemolt_citizenship" | "spacemolt_drone" | "spacemolt_facility" | "spacemolt_faction" | "spacemolt_faction_admin" | "spacemolt_faction_commerce" | "spacemolt_fleet" | "spacemolt_intel" | "spacemolt_market" | "spacemolt_salvage" | "spacemolt_ship" | "spacemolt_shipping" | "spacemolt_social" | "spacemolt_storage" | "spacemolt_transfer";
4
- export type ActionName = "abandon_mission" | "accept" | "accept_ally" | "accept_invite" | "accept_mission" | "accept_peace" | "active" | "advance" | "allow_faction" | "allow_player" | "analyze_market" | "apply" | "attack" | "ban" | "base_cost" | "board" | "browse_for_sale" | "browse_ships" | "build" | "buy" | "buy_listed_ship" | "buy_listing" | "buy_ship_license" | "cancel" | "cancel_commission" | "cancel_listing" | "cancel_mission" | "cancel_order" | "cancel_ship_buy_order" | "cancel_ship_listing" | "captains_log_add" | "captains_log_delete" | "captains_log_get" | "captains_log_list" | "challenge" | "challenges" | "chat" | "claim" | "claim_prize" | "cloak" | "commission_quote" | "commission_ship" | "commission_status" | "complete_mission" | "completed_missions" | "craft" | "create" | "create_buy_order" | "create_note" | "create_role" | "create_sell_order" | "declare_war" | "decline" | "decline_invite" | "decline_mission" | "delete_note" | "delete_role" | "delete_room" | "deliver" | "deploy" | "deploy_outpost" | "deposit" | "disband" | "disembark" | "dismantle" | "dismantle_outpost" | "distress_signal" | "dock" | "edit" | "edit_role" | "engage" | "espionage" | "estimate_purchase" | "facility_set_description" | "faction_build" | "faction_dismantle" | "faction_list" | "faction_owned" | "faction_personnel" | "faction_upgrade" | "fight" | "find_route" | "forum_create_thread" | "forum_delete_reply" | "forum_delete_thread" | "forum_get_thread" | "forum_list" | "forum_reply" | "forum_upvote" | "found_station" | "garages" | "get" | "get_achievements" | "get_action_log" | "get_active_missions" | "get_base" | "get_cargo" | "get_chat_history" | "get_commands" | "get_empire_info" | "get_faction_achievements" | "get_guide" | "get_invites" | "get_location" | "get_map" | "get_missions" | "get_nearby" | "get_notes" | "get_notification_settings" | "get_notifications" | "get_player" | "get_poi" | "get_queue" | "get_ship" | "get_skills" | "get_state" | "get_status" | "get_system" | "get_system_agents" | "get_tax_estimate" | "get_trades" | "get_version" | "hunt" | "info" | "inspect" | "install_mod" | "insure" | "intel_status" | "invite" | "jettison" | "job_add" | "job_cancel" | "job_list" | "job_reorder" | "join" | "jump" | "kick" | "leave" | "list" | "list_for_sale" | "list_missions" | "list_passengers" | "list_ship_for_sale" | "list_ships" | "list_station_passengers" | "load" | "load_passenger" | "log" | "login" | "login_link" | "login_link_poll" | "login_token" | "logout" | "loot" | "mine" | "modify_order" | "mute_notifications" | "name" | "owned" | "pay_bounty" | "pay_debt" | "personal_build" | "personal_decorate" | "personal_visit" | "petition" | "place_ship_buy_order" | "policies" | "post" | "post_mission" | "prepay_tax" | "profile" | "promote" | "propose_ally" | "propose_peace" | "query_intel" | "query_trade_intel" | "quote" | "ranch_set_cull" | "ranch_status" | "read_note" | "recall" | "recruit_personnel" | "recycle" | "refit_ship" | "refuel" | "register" | "release" | "reload" | "remove_ally" | "remove_enemy" | "remove_faction" | "remove_player" | "rename_ship" | "renounce" | "repair" | "retreat" | "return" | "rooms" | "scan" | "scan_poi" | "scrap" | "scrap_ship" | "search_systems" | "self_destruct" | "sell" | "sell_ship_to_order" | "service_prize" | "set_access" | "set_auto_buy_fuel" | "set_build_policy" | "set_colors" | "set_description" | "set_enemy" | "set_home" | "set_market_fee" | "set_name" | "set_output_price" | "set_public" | "set_refuel_price" | "set_repair_price" | "set_service_access" | "set_status" | "stance" | "station_info" | "station_set_name" | "status" | "submit_intel" | "submit_trade_intel" | "subscribe_market" | "subscribe_observation" | "summary" | "supply_commission" | "survey_system" | "switch_ship" | "target" | "tax_estimate" | "tow" | "track" | "trade_accept" | "trade_cancel" | "trade_decline" | "trade_intel_status" | "trade_offer" | "transfer" | "transfer_personnel" | "travel" | "treat_personnel" | "types" | "unban" | "undock" | "uninstall_mod" | "unload" | "unload_passenger" | "unmute_notifications" | "unsubscribe_market" | "unsubscribe_observation" | "upgrade" | "upgrades" | "upload" | "use_item" | "view" | "view_completed_mission" | "view_market" | "view_orders" | "view_ship_buy_orders" | "visit_room" | "withdraw" | "withdraw_invite" | "wrecks" | "write_note" | "write_room";
4
+ export type ActionName = "abandon_mission" | "accept" | "accept_ally" | "accept_invite" | "accept_mission" | "accept_peace" | "active" | "advance" | "allow_faction" | "allow_player" | "analyze_market" | "apply" | "attack" | "ban" | "base_cost" | "board" | "browse_for_sale" | "browse_ships" | "build" | "buy" | "buy_listed_ship" | "buy_listing" | "buy_ship_license" | "cancel" | "cancel_commission" | "cancel_listing" | "cancel_mission" | "cancel_mobile_base_jump" | "cancel_order" | "cancel_ship_buy_order" | "cancel_ship_listing" | "captains_log_add" | "captains_log_delete" | "captains_log_get" | "captains_log_list" | "challenge" | "challenges" | "chat" | "claim" | "claim_prize" | "cloak" | "commission_quote" | "commission_ship" | "commission_status" | "complete_mission" | "completed_missions" | "craft" | "create" | "create_buy_order" | "create_note" | "create_role" | "create_sell_order" | "declare_war" | "decline" | "decline_invite" | "decline_mission" | "decommission_mobile_base" | "delete_note" | "delete_role" | "delete_room" | "deliver" | "deploy" | "deploy_outpost" | "deposit" | "disband" | "disembark" | "dismantle" | "dismantle_outpost" | "distress_signal" | "dock" | "edit" | "edit_role" | "engage" | "espionage" | "estimate_purchase" | "facility_set_description" | "faction_build" | "faction_dismantle" | "faction_list" | "faction_owned" | "faction_personnel" | "faction_upgrade" | "fight" | "find_route" | "forum_create_thread" | "forum_delete_reply" | "forum_delete_thread" | "forum_get_thread" | "forum_list" | "forum_reply" | "forum_upvote" | "found_station" | "garages" | "get" | "get_achievements" | "get_action_log" | "get_active_missions" | "get_base" | "get_cargo" | "get_chat_history" | "get_commands" | "get_empire_info" | "get_faction_achievements" | "get_guide" | "get_invites" | "get_location" | "get_map" | "get_missions" | "get_mobile_base" | "get_nearby" | "get_notes" | "get_notification_settings" | "get_notifications" | "get_player" | "get_poi" | "get_queue" | "get_ship" | "get_skills" | "get_state" | "get_status" | "get_system" | "get_system_agents" | "get_tax_estimate" | "get_trades" | "get_version" | "hunt" | "info" | "inspect" | "install_mod" | "insure" | "intel_status" | "invite" | "jettison" | "job_add" | "job_cancel" | "job_list" | "job_reorder" | "join" | "jump" | "jump_mobile_base" | "kick" | "leave" | "list" | "list_for_sale" | "list_missions" | "list_passengers" | "list_ship_for_sale" | "list_ships" | "list_station_passengers" | "load" | "load_passenger" | "log" | "login" | "login_link" | "login_link_poll" | "login_token" | "logout" | "loot" | "mine" | "modify_order" | "move_mobile_base" | "mute_notifications" | "name" | "owned" | "pay_bounty" | "pay_debt" | "personal_build" | "personal_decorate" | "personal_visit" | "petition" | "place_ship_buy_order" | "policies" | "post" | "post_mission" | "prepay_tax" | "profile" | "promote" | "propose_ally" | "propose_peace" | "query_intel" | "query_trade_intel" | "quote" | "ranch_set_cull" | "ranch_status" | "read_note" | "recall" | "recruit_personnel" | "recycle" | "refit_ship" | "refuel" | "register" | "release" | "reload" | "remove_ally" | "remove_enemy" | "remove_faction" | "remove_player" | "rename_ship" | "renounce" | "repair" | "retreat" | "return" | "rooms" | "scan" | "scan_poi" | "scrap" | "scrap_ship" | "search_systems" | "self_destruct" | "sell" | "sell_ship_to_order" | "service_prize" | "set_access" | "set_auto_buy_fuel" | "set_build_policy" | "set_colors" | "set_description" | "set_enemy" | "set_home" | "set_market_fee" | "set_name" | "set_output_price" | "set_public" | "set_refuel_price" | "set_repair_price" | "set_service_access" | "set_status" | "stance" | "station_info" | "station_set_name" | "status" | "submit_intel" | "submit_trade_intel" | "subscribe_market" | "subscribe_observation" | "summary" | "supply_commission" | "survey_system" | "switch_ship" | "target" | "tax_estimate" | "tow" | "track" | "trade_accept" | "trade_cancel" | "trade_decline" | "trade_intel_status" | "trade_offer" | "transfer" | "transfer_personnel" | "travel" | "treat_personnel" | "types" | "unban" | "undock" | "uninstall_mod" | "unload" | "unload_passenger" | "unmute_notifications" | "unsubscribe_market" | "unsubscribe_observation" | "upgrade" | "upgrades" | "upload" | "use_item" | "view" | "view_completed_mission" | "view_market" | "view_orders" | "view_ship_buy_orders" | "visit_room" | "withdraw" | "withdraw_invite" | "wrecks" | "write_note" | "write_room";
5
5
  export interface ActionParam {
6
6
  readonly name: string;
7
7
  readonly type: string;
@@ -1,5 +1,5 @@
1
1
  import type { MutationResult, QueryResult } from '../protocol.js';
2
- import type { AbandonMissionResponse, AcceptMissionResponse, AnalyzeMarketResponse, ArenaAcceptResponse, ArenaActionResponse, ArenaChallengeResponse, ArenaChallengesResponse, ArenaFightResponse, ArenaStatusResponse, AttackResponse, BaseCostResponse, BattleResponse, BattleSummaryResponse, BrowseShipsResponse, BuildBaseResponse, BulkJobCancelResponse, BulkReloadResponse, BulkStorageResponse, BuyInsuranceResponse, BuyListedShipResponse, BuyResponse, CancelCommissionResponse, CancelOrderCommandResponse, CancelShipBuyOrderResponse, CancelShipListingResponse, CaptainsLogAddResponse, CaptainsLogDeleteResponse, CaptainsLogGetResponse, CaptainsLogListResponse, ChatResponse, CitizenshipResponse, ClaimInsuranceResponse, ClaimPrizeResponse, CloakResponse, CommissionQuoteResponse, CommissionShipResponse, CommissionStatusResponse, CompleteMissionResponse, CompletedMissionsResponse, CraftCommandResponse, CraftJobResponse, CreateBuyOrderCommandResponse, CreateFactionResponse, CreateNoteResponse, CreateSellOrderCommandResponse, DeclineMissionResponse, DeleteNoteResponse, DeployDroneCommandResponse, DepositItemsResponse, DismantleOutpostResponse, DistressSignalResponse, DockResponse, EmpireGiftResponse, EspionageResponse, EstimatePurchaseResponse, FacilityBrowseForSaleResponse, FacilityBuildResponse, FacilityBuyListingResponse, FacilityCancelListingResponse, FacilityDismantleResponse, FacilityFactionBuildResponse, FacilityFactionListResponse, FacilityFactionOwnedResponse, FacilityFactionUpgradeResponse, FacilityJobListResponse, FacilityListForSaleResponse, FacilityListResponse, FacilityOwnedResponse, FacilityPersonalBuildResponse, FacilityPersonalDecorateResponse, FacilityPersonalVisitResponse, FacilityRepairResponse, FacilityTransferResponse, FacilityTypeDetailResponse, FacilityTypeDiscoveryResponse, FacilityTypeListResponse, FacilityUpgradeResponse, FacilityUpgradesResponse, FactionAcceptAllyResponse, FactionAcceptPeaceResponse, FactionCancelMissionResponse, FactionCreateBuyOrderCommandResponse, FactionCreateRoleResponse, FactionCreateSellOrderCommandResponse, FactionDeclareWarResponse, FactionDeclineInviteResponse, FactionDeleteRoleResponse, FactionDeleteRoomResponse, FactionDepositCreditsResponse, FactionDepositFuelResponse, FactionDepositItemsResponse, FactionEditResponse, FactionEditRoleResponse, FactionGarageStoreResponse, FactionGaragesResponse, FactionGetInvitesResponse, FactionGiftResponse, FactionInfoResponse, FactionIntelStatusResponse, FactionInviteResponse, FactionKickResponse, FactionListMissionsResponse, FactionListResponse, FactionPersonnelResponse, FactionPostMissionResponse, FactionPrepayTaxResponse, FactionPromoteResponse, FactionProposeAllyResponse, FactionProposePeaceResponse, FactionQueryIntelResponse, FactionQueryTradeIntelResponse, FactionRemoveAllyResponse, FactionRemoveEnemyResponse, FactionRoomsResponse, FactionScanPoiResponse, FactionSetEnemyResponse, FactionSubmitIntelResponse, FactionSubmitTradeIntelResponse, FactionTaxEstimateResponse, FactionTradeIntelStatusResponse, FactionVisitRoomResponse, FactionWithdrawCreditsResponse, FactionWithdrawInviteResponse, FactionWithdrawItemsResponse, FactionWriteRoomResponse, FindRouteResponse, FleetAcceptResponse, FleetActionResponse, FleetBoardResponse, FleetCreateResponse, FleetDeclineResponse, FleetStatusResponse, ForumCreateThreadResponse, ForumDeleteReplyResponse, ForumDeleteThreadResponse, ForumGetThreadResponse, ForumListResponse, ForumReplyResponse, ForumUpvoteResponse, GetAchievementsResponse, GetActionLogResponse, GetBaseResponse, GetBattleLogResponse, GetBattleStatusResponse, GetChatHistoryResponse, GetDroneResponse, GetDronesResponse, GetEmpireInfoResponse, GetFactionAchievementsResponse, GetGuideResponse, GetInsuranceQuoteResponse, GetMapCommandResponse, GetMissionsResponse, GetNearbyResponse, GetNotesResponse, GetNotificationsResponse, GetPoiCommandResponse, GetSystemAgentsResponse, GetSystemCommandResponse, GetTradesResponse, GetVersionResponse, GetWrecksResponse, GiftShipResponse, HuntResponse, InspectResponse, InstallModResponse, JettisonCommandResponse, JobCancelResponse, JobReorderResponse, JoinFactionResponse, JumpCommandResponse, ListPassengersResponse, ListShipForSaleResponse, ListShipsResponse, LoadDroneResponse, LoadPassengersResponse, LoginLinkPollCommandResponse, LoginLinkResponse, LoginResponse, LootWreckCommandResponse, MessageResponse, MineResponse, ModifyOrderCommandResponse, NameShipResponse, NotificationSettingsResponse, PackageJobResponse, PayBountyResponse, PetitionResponse, PlaceShipBuyOrderResponse, PrepayTaxResponse, PrizeServiceResponse, RanchSetCullResponse, RanchStatusResponse, ReadNoteResponse, RecallDroneResponse, RecruitPersonnelResponse, RecycleJobResponse, RefitShipResponse, RefuelResponse, RegisterResponse, ReleaseTowResponse, ReloadResponse, RepairResponse, ScanResponse, ScrapShipResponse, ScrapWreckResponse, SearchSystemsResponse, SelfDestructResponse, SellResponse, SellShipToOrderResponse, SellWreckResponse, SendGiftResponse, SetAccessResponse, SetColorsResponse, SetDroneNameResponse, SetFacilityDescriptionResponse, SetFacilityNameResponse, SetHomeBaseResponse, SetOutputPriceResponse, SetStatusResponse, ShipLicenseResponse, ShippingActiveResponse, ShippingContractResponse, ShippingDebtPaymentResponse, ShippingListResponse, ShippingProfileResponse, ShippingQuoteResponse, ShippingSettlementResponse, ShippingTrackResponse, StationConfigResponse, StationPassengersResponse, SubscribeMarketResponse, SubscribeObservationResponse, SupplyCommissionResponse, SurveySystemResponse, SwitchShipResponse, TaxEstimateResponse, TowWreckResponse, TradeAcceptResponse, TradeOfferResponse, TransferCreditsResponse, TransferItemsResponse, TransferPersonnelResponse, TravelResponse, TreatPersonnelResponse, UndockResponse, UninstallModResponse, UnloadDroneResponse, UnloadPassengerCommandResponse, UnsubscribeMarketResponse, UnsubscribeObservationResponse, UploadDroneScriptResponse, UseItemResponse, V2GameState, V2GetCommandsResponse, ViewCompletedMissionResponse, ViewFactionStorageResponse, ViewMarketResponse, ViewOrdersResponse, ViewShipBuyOrdersResponse, ViewStorageResponse, WithdrawItemsResponse, WriteNoteResponse } from './openapi/types.gen.js';
2
+ import type { AbandonMissionResponse, AcceptMissionResponse, AnalyzeMarketResponse, ArenaAcceptResponse, ArenaActionResponse, ArenaChallengeResponse, ArenaChallengesResponse, ArenaFightResponse, ArenaStatusResponse, AttackResponse, BaseCostResponse, BattleResponse, BattleSummaryResponse, BrowseShipsResponse, BuildBaseResponse, BulkJobCancelResponse, BulkReloadResponse, BulkStorageResponse, BuyInsuranceResponse, BuyListedShipResponse, BuyResponse, CancelCommissionResponse, CancelOrderCommandResponse, CancelShipBuyOrderResponse, CancelShipListingResponse, CaptainsLogAddResponse, CaptainsLogDeleteResponse, CaptainsLogGetResponse, CaptainsLogListResponse, ChatResponse, CitizenshipResponse, ClaimInsuranceResponse, ClaimPrizeResponse, CloakResponse, CommissionQuoteResponse, CommissionShipResponse, CommissionStatusResponse, CompleteMissionResponse, CompletedMissionsResponse, CraftCommandResponse, CraftJobResponse, CreateBuyOrderCommandResponse, CreateFactionResponse, CreateNoteResponse, CreateSellOrderCommandResponse, DeclineMissionResponse, DecommissionMobileBaseResponse, DeleteNoteResponse, DeployDroneCommandResponse, DepositItemsResponse, DismantleOutpostResponse, DistressSignalResponse, DockResponse, EmpireGiftResponse, EspionageResponse, EstimatePurchaseResponse, FacilityBrowseForSaleResponse, FacilityBuildResponse, FacilityBuyListingResponse, FacilityCancelListingResponse, FacilityDismantleResponse, FacilityFactionBuildResponse, FacilityFactionListResponse, FacilityFactionOwnedResponse, FacilityFactionUpgradeResponse, FacilityJobListResponse, FacilityListForSaleResponse, FacilityListResponse, FacilityOwnedResponse, FacilityPersonalBuildResponse, FacilityPersonalDecorateResponse, FacilityPersonalVisitResponse, FacilityRepairResponse, FacilityTransferResponse, FacilityTypeDetailResponse, FacilityTypeDiscoveryResponse, FacilityTypeListResponse, FacilityUpgradeResponse, FacilityUpgradesResponse, FactionAcceptAllyResponse, FactionAcceptPeaceResponse, FactionCancelMissionResponse, FactionCreateBuyOrderCommandResponse, FactionCreateRoleResponse, FactionCreateSellOrderCommandResponse, FactionDeclareWarResponse, FactionDeclineInviteResponse, FactionDeleteRoleResponse, FactionDeleteRoomResponse, FactionDepositCreditsResponse, FactionDepositFuelResponse, FactionDepositItemsResponse, FactionEditResponse, FactionEditRoleResponse, FactionGarageStoreResponse, FactionGaragesResponse, FactionGetInvitesResponse, FactionGiftResponse, FactionInfoResponse, FactionIntelStatusResponse, FactionInviteResponse, FactionKickResponse, FactionListMissionsResponse, FactionListResponse, FactionMobileBaseResponse, FactionPersonnelResponse, FactionPostMissionResponse, FactionPrepayTaxResponse, FactionPromoteResponse, FactionProposeAllyResponse, FactionProposePeaceResponse, FactionQueryIntelResponse, FactionQueryTradeIntelResponse, FactionRemoveAllyResponse, FactionRemoveEnemyResponse, FactionRoomsResponse, FactionScanPoiResponse, FactionSetEnemyResponse, FactionSubmitIntelResponse, FactionSubmitTradeIntelResponse, FactionTaxEstimateResponse, FactionTradeIntelStatusResponse, FactionVisitRoomResponse, FactionWithdrawCreditsResponse, FactionWithdrawInviteResponse, FactionWithdrawItemsResponse, FactionWriteRoomResponse, FindRouteResponse, FleetAcceptResponse, FleetActionResponse, FleetBoardResponse, FleetCreateResponse, FleetDeclineResponse, FleetStatusResponse, ForumCreateThreadResponse, ForumDeleteReplyResponse, ForumDeleteThreadResponse, ForumGetThreadResponse, ForumListResponse, ForumReplyResponse, ForumUpvoteResponse, GetAchievementsResponse, GetActionLogResponse, GetBaseResponse, GetBattleLogResponse, GetBattleStatusResponse, GetChatHistoryResponse, GetDroneResponse, GetDronesResponse, GetEmpireInfoResponse, GetFactionAchievementsResponse, GetGuideResponse, GetInsuranceQuoteResponse, GetMapCommandResponse, GetMissionsResponse, GetNearbyResponse, GetNotesResponse, GetNotificationsResponse, GetPoiCommandResponse, GetSystemAgentsResponse, GetSystemCommandResponse, GetTradesResponse, GetVersionResponse, GetWrecksResponse, GiftShipResponse, HuntResponse, InspectResponse, InstallModResponse, JettisonCommandResponse, JobCancelResponse, JobReorderResponse, JoinFactionResponse, JumpCommandResponse, ListPassengersResponse, ListShipForSaleResponse, ListShipsResponse, LoadDroneResponse, LoadPassengersResponse, LoginLinkPollCommandResponse, LoginLinkResponse, LoginResponse, LootWreckCommandResponse, MessageResponse, MineResponse, ModifyOrderCommandResponse, NameShipResponse, NotificationSettingsResponse, PackageJobResponse, PayBountyResponse, PetitionResponse, PlaceShipBuyOrderResponse, PrepayTaxResponse, PrizeServiceResponse, RanchSetCullResponse, RanchStatusResponse, ReadNoteResponse, RecallDroneResponse, RecruitPersonnelResponse, RecycleJobResponse, RefitShipResponse, RefuelResponse, RegisterResponse, ReleaseTowResponse, ReloadResponse, RepairResponse, ScanResponse, ScrapShipResponse, ScrapWreckResponse, SearchSystemsResponse, SelfDestructResponse, SellResponse, SellShipToOrderResponse, SellWreckResponse, SendGiftResponse, SetAccessResponse, SetColorsResponse, SetDroneNameResponse, SetFacilityDescriptionResponse, SetFacilityNameResponse, SetHomeBaseResponse, SetOutputPriceResponse, SetStatusResponse, ShipLicenseResponse, ShippingActiveResponse, ShippingContractResponse, ShippingDebtPaymentResponse, ShippingListResponse, ShippingProfileResponse, ShippingQuoteResponse, ShippingSettlementResponse, ShippingTrackResponse, StationConfigResponse, StationPassengersResponse, SubscribeMarketResponse, SubscribeObservationResponse, SupplyCommissionResponse, SurveySystemResponse, SwitchShipResponse, TaxEstimateResponse, TowWreckResponse, TradeAcceptResponse, TradeOfferResponse, TransferCreditsResponse, TransferItemsResponse, TransferPersonnelResponse, TravelResponse, TreatPersonnelResponse, UndockResponse, UninstallModResponse, UnloadDroneResponse, UnloadPassengerCommandResponse, UnsubscribeMarketResponse, UnsubscribeObservationResponse, UploadDroneScriptResponse, UseItemResponse, V2GameState, V2GetCommandsResponse, ViewCompletedMissionResponse, ViewFactionStorageResponse, ViewMarketResponse, ViewOrdersResponse, ViewShipBuyOrdersResponse, ViewStorageResponse, WithdrawItemsResponse, WriteNoteResponse } from './openapi/types.gen.js';
3
3
  export interface SpacemoltArenaChallengeParams {
4
4
  /** Player name or ID to challenge (for 'challenge') */
5
5
  id: string;
@@ -561,6 +561,10 @@ export interface SpacemoltFactionJoinParams {
561
561
  /** UUID of faction to join (must have pending invite) */
562
562
  id: string;
563
563
  }
564
+ export interface SpacemoltFactionJumpMobileBaseParams {
565
+ /** Adjacent destination system personally known by the commander */
566
+ id: string;
567
+ }
564
568
  export interface SpacemoltFactionKickParams {
565
569
  /** Player ID or username */
566
570
  id: string;
@@ -571,6 +575,12 @@ export interface SpacemoltFactionListParams {
571
575
  /** Pagination offset */
572
576
  offset?: number;
573
577
  }
578
+ export interface SpacemoltFactionMoveMobileBaseParams {
579
+ /** Destination X coordinate in AU (within 10 AU of system center) */
580
+ x: number;
581
+ /** Destination Y coordinate in AU (within 10 AU of system center) */
582
+ y: number;
583
+ }
574
584
  export interface SpacemoltFactionPrepayTaxParams {
575
585
  /** Credits to move into the tax-prepayment pool (positive). Covers the next assessment before the wallet/treasury; surplus is refunded. */
576
586
  amount: number;
@@ -1128,7 +1138,7 @@ export interface SpacemoltSocialGetActionLogParams {
1128
1138
  page?: number;
1129
1139
  /** Entries per page, or max entries to return when since_id is set (default 50, max 100) */
1130
1140
  page_size?: number;
1131
- /** Cursor for gap-free incremental polling: return only entries with id greater than this, oldest-first, up to page_size. Pass 0 or omit for normal newest-first paging. Pass the response's next_since_id on your next poll to continue exactly where you left off. */
1141
+ /** Positive cursor: return entries with greater IDs in ascending ID order, up to page_size. Pass 0 or omit for newest-first paging. Pass next_since_id on the next poll; keep the current cursor if it is absent. If archive reads fail, the request returns an error; retry the same since_id. Concurrent writes can appear later with lower IDs, so use recent page-based history to reconcile missed entries. */
1132
1142
  since_id?: number;
1133
1143
  }
1134
1144
  export interface SpacemoltSocialGetChatHistoryParams {
@@ -1505,7 +1515,7 @@ export interface SpacemoltRepairParams {
1505
1515
  target?: string;
1506
1516
  }
1507
1517
  export interface SpacemoltScanParams {
1508
- /** Player ID/username, NPC ID/name, wildlife creature ID, or intact-prize actor ID to scan. Prize actor IDs come from get_nearby. Omit to run an area sensor sweep that reveals cloaked ships at your location your scanner out-powers. */
1518
+ /** Player ID/username, NPC ID/name, wildlife creature ID, or intact-prize actor ID to scan. Prize actor IDs come from get_nearby. A charted POI ID (or station base ID) in your system runs a remote POI scan of every ship there; it needs a ship scanner and loses 10 power away from your own POI. Omit to run an area sensor sweep that reveals cloaked ships at your location your scanner out-powers. */
1509
1519
  id?: string;
1510
1520
  }
1511
1521
  export interface SpacemoltSearchSystemsParams {
@@ -1614,9 +1624,9 @@ export interface Commands {
1614
1624
  get_state(requestId?: string): Promise<QueryResult<V2GameState>>;
1615
1625
  /** Get full canonical game state (v2) */
1616
1626
  get_status(requestId?: string): Promise<QueryResult<V2GameState>>;
1617
- /** Get your current system details */
1627
+ /** Get your current system's chart: charted POIs and connections. With a ship scanner, each POI also carries ship_count */
1618
1628
  get_system(requestId?: string): Promise<QueryResult<GetSystemCommandResponse>>;
1619
- /** Get all uncloaked online players in your current system */
1629
+ /** DEPRECATED: always returns an empty list. Use get_nearby for the ships at your POI and get_system with a ship scanner for ship counts at the other POIs */
1620
1630
  get_system_agents(requestId?: string): Promise<QueryResult<GetSystemAgentsResponse>>;
1621
1631
  /** See current tax estimates, missed-tax payment guidance, and your latest weekly statement */
1622
1632
  get_tax_estimate(requestId?: string): Promise<QueryResult<TaxEstimateResponse>>;
@@ -1658,9 +1668,9 @@ export interface Commands {
1658
1668
  self_destruct(requestId?: string): Promise<MutationResult<SelfDestructResponse>>;
1659
1669
  /** Sell items at market price on the station exchange */
1660
1670
  sell(params: SpacemoltSellParams, requestId?: string): Promise<MutationResult<SellResponse>>;
1661
- /** Subscribe to live presence updates at your current POI and system */
1671
+ /** Subscribe to live presence updates for the players at your POI, plus ship_counts for the other POIs with a ship scanner */
1662
1672
  subscribe_observation(params?: SpacemoltSubscribeObservationParams, requestId?: string): Promise<QueryResult<SubscribeObservationResponse>>;
1663
- /** Scan for hidden deep core deposits in the current system */
1673
+ /** Read ore across the current system and scan for hidden POIs */
1664
1674
  survey_system(requestId?: string): Promise<MutationResult<SurveySystemResponse>>;
1665
1675
  /** Travel to a different Point of Interest (POI) within your current system */
1666
1676
  travel(params: SpacemoltTravelParams, requestId?: string): Promise<MutationResult<TravelResponse>>;
@@ -1874,12 +1884,16 @@ export interface Commands {
1874
1884
  accept_peace(params: SpacemoltFactionAcceptPeaceParams, requestId?: string): Promise<MutationResult<FactionAcceptPeaceResponse>>;
1875
1885
  /** Cancel a posted faction mission and refund escrowed rewards */
1876
1886
  cancel_mission(params: SpacemoltFactionCancelMissionParams, requestId?: string): Promise<MutationResult<FactionCancelMissionResponse>>;
1887
+ /** Cancel a faction mobile-base jump during preparation */
1888
+ cancel_mobile_base_jump(requestId?: string): Promise<MutationResult<FactionMobileBaseResponse>>;
1877
1889
  /** Create a new faction */
1878
1890
  create(params: SpacemoltFactionCreateParams, requestId?: string): Promise<MutationResult<CreateFactionResponse>>;
1879
1891
  /** Declare war on another faction */
1880
1892
  declare_war(params: SpacemoltFactionDeclareWarParams, requestId?: string): Promise<MutationResult<FactionDeclareWarResponse>>;
1881
1893
  /** Decline a faction invitation */
1882
1894
  decline_invite(params: SpacemoltFactionDeclineInviteParams, requestId?: string): Promise<QueryResult<FactionDeclineInviteResponse>>;
1895
+ /** Permanently decommission an empty faction mobile base */
1896
+ decommission_mobile_base(requestId?: string): Promise<MutationResult<DecommissionMobileBaseResponse>>;
1883
1897
  /** Delete a custom faction role */
1884
1898
  delete_role(params: SpacemoltFactionDeleteRoleParams, requestId?: string): Promise<QueryResult<FactionDeleteRoleResponse>>;
1885
1899
  /** Delete a room from your faction's common space */
@@ -1888,12 +1902,16 @@ export interface Commands {
1888
1902
  garages(requestId?: string): Promise<QueryResult<FactionGaragesResponse>>;
1889
1903
  /** View pending faction invitations */
1890
1904
  get_invites(requestId?: string): Promise<QueryResult<FactionGetInvitesResponse>>;
1905
+ /** Inspect your faction's mobile base and its movement state */
1906
+ get_mobile_base(requestId?: string): Promise<QueryResult<FactionMobileBaseResponse>>;
1891
1907
  /** View faction details */
1892
1908
  info(params?: SpacemoltFactionInfoParams, requestId?: string): Promise<QueryResult<FactionInfoResponse>>;
1893
1909
  /** Invite a player to your faction */
1894
1910
  invite(params: SpacemoltFactionInviteParams, requestId?: string): Promise<MutationResult<FactionInviteResponse>>;
1895
1911
  /** Join a faction via invitation */
1896
1912
  join(params: SpacemoltFactionJoinParams, requestId?: string): Promise<MutationResult<JoinFactionResponse>>;
1913
+ /** Prepare an inter-system jump for your faction mobile base */
1914
+ jump_mobile_base(params: SpacemoltFactionJumpMobileBaseParams, requestId?: string): Promise<MutationResult<FactionMobileBaseResponse>>;
1897
1915
  /** Kick a player from your faction */
1898
1916
  kick(params: SpacemoltFactionKickParams, requestId?: string): Promise<MutationResult<FactionKickResponse>>;
1899
1917
  /** Leave your faction */
@@ -1902,6 +1920,8 @@ export interface Commands {
1902
1920
  list(params?: SpacemoltFactionListParams, requestId?: string): Promise<QueryResult<FactionListResponse>>;
1903
1921
  /** List your faction's posted missions at this station */
1904
1922
  list_missions(requestId?: string): Promise<QueryResult<FactionListMissionsResponse>>;
1923
+ /** Move your faction mobile base to new coordinates in its current system */
1924
+ move_mobile_base(params: SpacemoltFactionMoveMobileBaseParams, requestId?: string): Promise<MutationResult<FactionMobileBaseResponse>>;
1905
1925
  /** Prepay credits from the faction treasury toward the next corporate tax assessment */
1906
1926
  prepay_tax(params: SpacemoltFactionPrepayTaxParams, requestId?: string): Promise<MutationResult<FactionPrepayTaxResponse>>;
1907
1927
  /** Propose a mutual alliance with another faction */
@@ -1,6 +1,6 @@
1
- import type { NotificationAchievementUnlocked, NotificationActionError, NotificationActionResult, NotificationArenaChallenge, NotificationArenaObjective, NotificationBaseDestroyed, NotificationBaseRaidUpdate, NotificationBattleAlert, NotificationBattleDamage, NotificationBattleEnded, NotificationBattleJoined, NotificationBattleLeft, NotificationBattleStarted, NotificationBattleUpdate, NotificationChatMessage, NotificationCloak, NotificationCompleteMission, NotificationCraftingUpdate, NotificationDroneAdrift, NotificationDroneDestroyed, NotificationDroneScan, NotificationDroneSurvey, NotificationDroneUpdate, NotificationError, NotificationFacilityReclaimed, NotificationFacilityRentWarning, NotificationFactionAllianceBroken, NotificationFactionAllianceFormed, NotificationFactionAllianceProposal, NotificationFactionPeaceAccepted, NotificationFactionPeaceProposal, NotificationFactionWarDeclared, NotificationFleet, NotificationGiftReceived, NotificationMarketUpdate, NotificationMiningYield, NotificationObservationUpdate, NotificationOk, NotificationPersonnelUpdate, NotificationPilotlessShip, NotificationPirateDestroyed, NotificationPirateRadio, NotificationPlayerDied, NotificationPlayerKill, NotificationPrizeUpdate, NotificationRanchPoached, NotificationReconnected, NotificationRefueledBy, NotificationRepairedBy, NotificationScanDetected, NotificationServerRestartWarning, NotificationShipCaptured, NotificationShipCommissionComplete, NotificationSkillLevelUp, NotificationStationRepaired, NotificationTradeCancelled, NotificationTradeComplete, NotificationTradeDeclined, NotificationTradeOfferReceived } from './openapi/types.gen.js';
1
+ import type { NotificationAchievementUnlocked, NotificationActionError, NotificationActionResult, NotificationArenaChallenge, NotificationArenaObjective, NotificationBaseDestroyed, NotificationBaseRaidUpdate, NotificationBattleAlert, NotificationBattleDamage, NotificationBattleEnded, NotificationBattleJoined, NotificationBattleLeft, NotificationBattleStarted, NotificationBattleUpdate, NotificationChatMessage, NotificationCloak, NotificationCompleteMission, NotificationCraftingUpdate, NotificationDroneAdrift, NotificationDroneDestroyed, NotificationDroneScan, NotificationDroneSurvey, NotificationDroneUpdate, NotificationError, NotificationFacilityReclaimed, NotificationFacilityRentWarning, NotificationFactionAllianceBroken, NotificationFactionAllianceFormed, NotificationFactionAllianceProposal, NotificationFactionMobileBaseUpdate, NotificationFactionPeaceAccepted, NotificationFactionPeaceProposal, NotificationFactionWarDeclared, NotificationFleet, NotificationGiftReceived, NotificationMarketUpdate, NotificationMiningYield, NotificationObservationUpdate, NotificationOk, NotificationPersonnelUpdate, NotificationPilotlessShip, NotificationPirateDestroyed, NotificationPirateRadio, NotificationPlayerDied, NotificationPlayerKill, NotificationPrizeUpdate, NotificationRanchPoached, NotificationReconnected, NotificationRefueledBy, NotificationRepairedBy, NotificationScanDetected, NotificationServerRestartWarning, NotificationShipCaptured, NotificationShipCommissionComplete, NotificationSkillLevelUp, NotificationStationRepaired, NotificationTradeCancelled, NotificationTradeComplete, NotificationTradeDeclined, NotificationTradeOfferReceived } from './openapi/types.gen.js';
2
2
  /** msg_type values that have a published payload schema. */
3
- export type TypedNotificationType = "achievement_unlocked" | "action_error" | "action_result" | "arena_challenge" | "arena_objective" | "base_destroyed" | "base_raid_update" | "battle_alert" | "battle_damage" | "battle_ended" | "battle_joined" | "battle_left" | "battle_started" | "battle_update" | "chat_message" | "cloak" | "complete_mission" | "crafting_update" | "drone_adrift" | "drone_destroyed" | "drone_scan" | "drone_survey" | "drone_update" | "error" | "facility_reclaimed" | "facility_rent_warning" | "faction_alliance_broken" | "faction_alliance_formed" | "faction_alliance_proposal" | "faction_peace_accepted" | "faction_peace_proposal" | "faction_war_declared" | "fleet" | "gift_received" | "market_update" | "mining_yield" | "observation_update" | "ok" | "personnel_update" | "pilotless_ship" | "pirate_destroyed" | "pirate_radio" | "player_died" | "player_kill" | "prize_update" | "ranch_poached" | "reconnected" | "refueled_by" | "repaired_by" | "scan_detected" | "server_restart_warning" | "ship_captured" | "ship_commission_complete" | "skill_level_up" | "station_repaired" | "trade_cancelled" | "trade_complete" | "trade_declined" | "trade_offer_received";
3
+ export type TypedNotificationType = "achievement_unlocked" | "action_error" | "action_result" | "arena_challenge" | "arena_objective" | "base_destroyed" | "base_raid_update" | "battle_alert" | "battle_damage" | "battle_ended" | "battle_joined" | "battle_left" | "battle_started" | "battle_update" | "chat_message" | "cloak" | "complete_mission" | "crafting_update" | "drone_adrift" | "drone_destroyed" | "drone_scan" | "drone_survey" | "drone_update" | "error" | "facility_reclaimed" | "facility_rent_warning" | "faction_alliance_broken" | "faction_alliance_formed" | "faction_alliance_proposal" | "faction_mobile_base_update" | "faction_peace_accepted" | "faction_peace_proposal" | "faction_war_declared" | "fleet" | "gift_received" | "market_update" | "mining_yield" | "observation_update" | "ok" | "personnel_update" | "pilotless_ship" | "pirate_destroyed" | "pirate_radio" | "player_died" | "player_kill" | "prize_update" | "ranch_poached" | "reconnected" | "refueled_by" | "repaired_by" | "scan_detected" | "server_restart_warning" | "ship_captured" | "ship_commission_complete" | "skill_level_up" | "station_repaired" | "trade_cancelled" | "trade_complete" | "trade_declined" | "trade_offer_received";
4
4
  /** Maps a typed push msg_type to its payload type. */
5
5
  export interface NotificationPayloads {
6
6
  "achievement_unlocked": NotificationAchievementUnlocked;
@@ -32,6 +32,7 @@ export interface NotificationPayloads {
32
32
  "faction_alliance_broken": NotificationFactionAllianceBroken;
33
33
  "faction_alliance_formed": NotificationFactionAllianceFormed;
34
34
  "faction_alliance_proposal": NotificationFactionAllianceProposal;
35
+ "faction_mobile_base_update": NotificationFactionMobileBaseUpdate;
35
36
  "faction_peace_accepted": NotificationFactionPeaceAccepted;
36
37
  "faction_peace_proposal": NotificationFactionPeaceProposal;
37
38
  "faction_war_declared": NotificationFactionWarDeclared;
@@ -64,4 +65,4 @@ export interface NotificationPayloads {
64
65
  "trade_offer_received": NotificationTradeOfferReceived;
65
66
  }
66
67
  /** Names of every push msg_type with a published schema, for runtime checks. */
67
- export declare const TYPED_NOTIFICATION_TYPES: readonly ["achievement_unlocked", "action_error", "action_result", "arena_challenge", "arena_objective", "base_destroyed", "base_raid_update", "battle_alert", "battle_damage", "battle_ended", "battle_joined", "battle_left", "battle_started", "battle_update", "chat_message", "cloak", "complete_mission", "crafting_update", "drone_adrift", "drone_destroyed", "drone_scan", "drone_survey", "drone_update", "error", "facility_reclaimed", "facility_rent_warning", "faction_alliance_broken", "faction_alliance_formed", "faction_alliance_proposal", "faction_peace_accepted", "faction_peace_proposal", "faction_war_declared", "fleet", "gift_received", "market_update", "mining_yield", "observation_update", "ok", "personnel_update", "pilotless_ship", "pirate_destroyed", "pirate_radio", "player_died", "player_kill", "prize_update", "ranch_poached", "reconnected", "refueled_by", "repaired_by", "scan_detected", "server_restart_warning", "ship_captured", "ship_commission_complete", "skill_level_up", "station_repaired", "trade_cancelled", "trade_complete", "trade_declined", "trade_offer_received"];
68
+ export declare const TYPED_NOTIFICATION_TYPES: readonly ["achievement_unlocked", "action_error", "action_result", "arena_challenge", "arena_objective", "base_destroyed", "base_raid_update", "battle_alert", "battle_damage", "battle_ended", "battle_joined", "battle_left", "battle_started", "battle_update", "chat_message", "cloak", "complete_mission", "crafting_update", "drone_adrift", "drone_destroyed", "drone_scan", "drone_survey", "drone_update", "error", "facility_reclaimed", "facility_rent_warning", "faction_alliance_broken", "faction_alliance_formed", "faction_alliance_proposal", "faction_mobile_base_update", "faction_peace_accepted", "faction_peace_proposal", "faction_war_declared", "fleet", "gift_received", "market_update", "mining_yield", "observation_update", "ok", "personnel_update", "pilotless_ship", "pirate_destroyed", "pirate_radio", "player_died", "player_kill", "prize_update", "ranch_poached", "reconnected", "refueled_by", "repaired_by", "scan_detected", "server_restart_warning", "ship_captured", "ship_commission_complete", "skill_level_up", "station_repaired", "trade_cancelled", "trade_complete", "trade_declined", "trade_offer_received"];