@spacemolt/lib 9.0.0 → 11.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 +71 -54
- package/dist/data/catalog.d.ts +33 -22
- package/dist/data/stations.d.ts +47 -0
- package/dist/generated/actions.gen.d.ts +3 -3
- package/dist/generated/commands.gen.d.ts +179 -59
- package/dist/generated/openapi/types.gen.d.ts +7360 -9485
- package/dist/index.d.ts +2 -1
- package/dist/index.js +235 -72
- package/package.json +1 -1
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 (`
|
|
4
|
+
Every command in `@spacemolt/lib`, generated from the live server spec (`unknown`). **276 commands across 18 tools.**
|
|
5
5
|
|
|
6
6
|
## How to call a command
|
|
7
7
|
|
|
@@ -34,6 +34,7 @@ const status = await account.commands.spacemolt.get_status(); // query
|
|
|
34
34
|
- [`spacemolt_market`](#spacemolt_market) — 10 commands
|
|
35
35
|
- [`spacemolt_salvage`](#spacemolt_salvage) — 10 commands
|
|
36
36
|
- [`spacemolt_ship`](#spacemolt_ship) — 18 commands
|
|
37
|
+
- [`spacemolt_shipping`](#spacemolt_shipping) — 11 commands
|
|
37
38
|
- [`spacemolt_social`](#spacemolt_social) — 25 commands
|
|
38
39
|
- [`spacemolt_storage`](#spacemolt_storage) — 5 commands
|
|
39
40
|
- [`spacemolt_transfer`](#spacemolt_transfer) — 5 commands
|
|
@@ -49,7 +50,7 @@ Call as `account.commands.spacemolt.<action>(...)`.
|
|
|
49
50
|
- `cloak({ enable?: boolean; quantity?: number })` · *mutation* → delta.details: `CloakResponse` — Toggle cloaking device
|
|
50
51
|
- `complete_mission({ id: string })` · *mutation* → delta.details: `CompleteMissionResponse` — Complete a mission and claim rewards
|
|
51
52
|
- `completed_missions()` · *query* → `CompletedMissionsResponse` — List all missions you have completed
|
|
52
|
-
- `craft({ count?: number; deliver_to?: string; dry_run?: boolean; facility_id?: string; id?: string; items?: { item_id: string; quantity: number }[]; job_id?: string; job_ids?: string[]; jobs?: { deliver_to?: string; facility_id?: string; items?: { item_id: string; quantity: number }[]; label?: string; package_id?: string; preset?: string; quantity?: number; recipe_id: string; source?: string; target?: string }[]; label?: string; package_id?: string; preset?: "fast" | "cheap" | "prefer_own" | "workshop"; quantity?: number; source?: string; target?: string })` · *mutation* → delta.details: `
|
|
53
|
+
- `craft({ count?: number; deliver_to?: string; dry_run?: boolean; facility_id?: string; id?: string; items?: { item_id: string; quantity: number }[]; job_id?: string; job_ids?: string[]; jobs?: { deliver_to?: string; facility_id?: string; items?: { item_id: string; quantity: number }[]; label?: string; package_id?: string; preset?: string; quantity?: number; recipe_id: string; source?: string; target?: string }[]; label?: string; package_id?: string; preset?: "fast" | "cheap" | "prefer_own" | "workshop"; quantity?: number; source?: string; target?: string })` · *mutation* → delta.details: `CraftCommandResponse` — Queue a crafting job (auto-routes to your own/faction facility, or hand-crafts at the Station Workshop)
|
|
53
54
|
- `decline_mission({ id?: string; mission_id?: string })` · *query* → `DeclineMissionResponse` — Decline a mission and hear the NPC's response
|
|
54
55
|
- `distress_signal({ distress_type?: "fuel" | "repair" | "combat" })` · *mutation* → delta.details: `DistressSignalResponse` — Broadcast a distress signal to nearby players for emergency rescue
|
|
55
56
|
- `dock()` · *mutation* → delta.details: `DockResponse` — Dock at a base
|
|
@@ -63,26 +64,26 @@ Call as `account.commands.spacemolt.<action>(...)`.
|
|
|
63
64
|
- `get_faction_achievements()` · *query* → `GetFactionAchievementsResponse` — Get your faction's achievement progress
|
|
64
65
|
- `get_guide({ id?: "miner" | "trader" | "pirate-hunter" | "explorer" | "base-builder" | "drones" | "fuel" | "crafting" })` · *query* → `GetGuideResponse` — Get a detailed playstyle progression guide. Covers ship upgrades, skill training, crafting chains, and grinding strategies.
|
|
65
66
|
- `get_location()` · *query* → `V2GameState` — Get current location with nearby entities (v2 format)
|
|
66
|
-
- `get_map({ system_id?: string })` · *query* → `
|
|
67
|
+
- `get_map({ system_id?: string })` · *query* → `GetMapCommandResponse` — View all star systems in the galaxy
|
|
67
68
|
- `get_missions()` · *query* → `GetMissionsResponse` — Get available missions at your current base
|
|
68
69
|
- `get_nearby()` · *query* → `GetNearbyResponse` — Get other players at your current POI
|
|
69
70
|
- `get_notifications({ clear?: boolean; limit?: number; types?: ("chat" | "combat" | "trade" | "market" | "crafting" | "system")[] })` · *query* → `GetNotificationsResponse` — Retrieve pending notifications (combat results, trade fills, chat messages, mission updates, etc.)
|
|
70
71
|
- `get_player()` · *query* → `V2GameState` — Get player status (v2 format)
|
|
71
|
-
- `get_poi()` · *query* → `
|
|
72
|
+
- `get_poi()` · *query* → `GetPoiCommandResponse` — Get your current POI details
|
|
72
73
|
- `get_queue()` · *query* → `V2GameState` — Get action queue (v2 format)
|
|
73
74
|
- `get_ship()` · *query* → `V2GameState` — Get ship and module details (v2 format)
|
|
74
75
|
- `get_skills()` · *query* → `V2GameState` — Get skills progress (v2 format)
|
|
75
76
|
- `get_state()` · *query* → `V2GameState` — Get full canonical game state (v2)
|
|
76
77
|
- `get_status()` · *query* → `V2GameState` — Get full canonical game state (v2)
|
|
77
|
-
- `get_system()` · *query* → `
|
|
78
|
+
- `get_system()` · *query* → `GetSystemCommandResponse` — Get your current system details
|
|
78
79
|
- `get_system_agents()` · *query* → `GetSystemAgentsResponse` — Get all uncloaked online players in your current system
|
|
79
80
|
- `get_tax_estimate()` · *query* → `TaxEstimateResponse` — Preview what taxes you'd owe right now
|
|
80
81
|
- `get_version({ count?: number; id?: string; page?: number; text?: string })` · *query* → `GetVersionResponse` — Get game version and release notes, with optional changelog pagination
|
|
81
82
|
- `hunt({ id: string })` · *mutation* → delta.details: `HuntResponse` — Hunt a wildlife creature to start a battle
|
|
82
83
|
- `inspect({ id: string })` · *query* → `InspectResponse` — Inspect a visible package, item, module, ship class, system, POI, or docked base by ID
|
|
83
84
|
- `install_mod({ id: string })` · *mutation* → delta.details: `InstallModResponse` — Install a module on your ship
|
|
84
|
-
- `jettison({ id?: string; items?: { item_id: string; quantity: number }[]; quantity?: number })` · *mutation* → delta.details: `
|
|
85
|
-
- `jump({ id: string })` · *mutation* → delta.details: `
|
|
85
|
+
- `jettison({ id?: string; items?: { item_id: string; quantity: number }[]; quantity?: number })` · *mutation* → delta.details: `JettisonCommandResponse` — Jettison items from cargo into space
|
|
86
|
+
- `jump({ id: string })` · *mutation* → delta.details: `JumpCommandResponse` — Jump to an adjacent star system, or plot a numeric bearing with a Pathfinder Drive
|
|
86
87
|
- `list_passengers()` · *query* → `ListPassengersResponse` — List the passengers currently aboard your ship
|
|
87
88
|
- `list_station_passengers()` · *query* → `StationPassengersResponse` — List citizens waiting for transport at your current station
|
|
88
89
|
- `load_passenger({ id: string })` · *mutation* → delta.details: `LoadPassengersResponse` — Load all waiting passengers bound for a destination into your passenger berths
|
|
@@ -101,7 +102,7 @@ Call as `account.commands.spacemolt.<action>(...)`.
|
|
|
101
102
|
- `travel({ id: string })` · *mutation* → delta.details: `TravelResponse` — Travel to a different Point of Interest (POI) within your current system
|
|
102
103
|
- `undock()` · *mutation* → delta.details: `UndockResponse` — Undock from a base
|
|
103
104
|
- `uninstall_mod({ id: string })` · *mutation* → delta.details: `UninstallModResponse` — Uninstall a module from your ship
|
|
104
|
-
- `unload_passenger({ id: string; target?: string })` · *mutation* → delta.details: `
|
|
105
|
+
- `unload_passenger({ id: string; target?: string })` · *mutation* → delta.details: `UnloadPassengerCommandResponse` — Put a passenger (or everyone) off the ship here — or hand them off to another ship or your faction's transit lounge for a connecting flight
|
|
105
106
|
- `unsubscribe_observation()` · *query* → `UnsubscribeObservationResponse` — Cancel your live observation watch
|
|
106
107
|
- `use_item({ id: string; quantity?: number })` · *mutation* → delta.details: `UseItemResponse` — Use a consumable item from cargo
|
|
107
108
|
- `view_completed_mission({ id: string })` · *query* → `ViewCompletedMissionResponse` — View full details of a completed mission including dialog
|
|
@@ -143,7 +144,7 @@ Call as `account.commands.spacemolt_citizenship.<action>(...)`.
|
|
|
143
144
|
|
|
144
145
|
Call as `account.commands.spacemolt_drone.<action>(...)`.
|
|
145
146
|
|
|
146
|
-
- `deploy({ all?: boolean; id?: string })` · *mutation* → delta.details: `
|
|
147
|
+
- `deploy({ all?: boolean; id?: string })` · *mutation* → delta.details: `DeployDroneCommandResponse` — Deploy a drone from your bay into space
|
|
147
148
|
- `get({ id: string })` · *query* → `GetDroneResponse` — Get full details for a specific drone including script and memory
|
|
148
149
|
- `list()` · *query* → `GetDronesResponse` — List all your drones (bay and deployed)
|
|
149
150
|
- `load({ id: string })` · *mutation* → delta.details: `LoadDroneResponse` — Load a drone from cargo into your drone bay
|
|
@@ -160,51 +161,51 @@ Call as `account.commands.spacemolt_facility.<action>(...)`.
|
|
|
160
161
|
- `allow_player({ player: string })` · *mutation* → delta.details: `StationConfigResponse` — Administer one of your faction's stations or outposts: rename, access control, and build policy
|
|
161
162
|
- `ban({ player: string })` · *mutation* → delta.details: `StationConfigResponse` — Administer one of your faction's stations or outposts: rename, access control, and build policy
|
|
162
163
|
- `base_cost()` · *query* → `BaseCostResponse` — Preview the cost and requirements to found a faction station
|
|
163
|
-
- `browse_for_sale({ facility_type?: string; max_price?: number })` · *query* → `
|
|
164
|
-
- `build({
|
|
165
|
-
- `buy_listing({ listing_id: string })` · *mutation* → delta.details: `
|
|
164
|
+
- `browse_for_sale({ facility_type?: string; max_price?: number })` · *query* → `FacilityBrowseForSaleResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
165
|
+
- `build({ facility_type: string })` · *mutation* → delta.details: `FacilityBuildResponse | FacilityFactionBuildResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
166
|
+
- `buy_listing({ listing_id: string })` · *mutation* → delta.details: `FacilityBuyListingResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
166
167
|
- `buy_ship_license({ ship_class: string })` · *mutation* → delta.details: `ShipLicenseResponse` — License a specific ship design so your faction can build it at its own stations
|
|
167
|
-
- `cancel_listing({ listing_id: string })` · *mutation* → delta.details: `
|
|
168
|
+
- `cancel_listing({ listing_id: string })` · *mutation* → delta.details: `FacilityCancelListingResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
168
169
|
- `deploy_outpost({ name: string })` · *mutation* → delta.details: `BuildBaseResponse` — Deploy a lightweight, members-only faction outpost at your current point of interest in lawless space
|
|
169
170
|
- `dismantle({ facility_id: string })` · *mutation* → delta.details: `FacilityDismantleResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
170
|
-
- `facility_set_description({ description?: string; facility_id: string })` · *query* → `
|
|
171
|
-
- `faction_build({ bucket?: string; facility_type: string })` · *mutation* → delta.details: `
|
|
171
|
+
- `facility_set_description({ description?: string; facility_id: string })` · *query* → `SetFacilityDescriptionResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
172
|
+
- `faction_build({ bucket?: string; facility_type: string })` · *mutation* → delta.details: `FacilityFactionBuildResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
172
173
|
- `faction_dismantle({ facility_id: string })` · *mutation* → delta.details: `FacilityDismantleResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
173
|
-
- `faction_list()` · *query* → `
|
|
174
|
-
- `faction_owned()` · *query* → `
|
|
175
|
-
- `faction_upgrade({ bucket?: string; facility_id: string; facility_type: string })` · *mutation* → delta.details: `
|
|
174
|
+
- `faction_list()` · *query* → `FacilityFactionListResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
175
|
+
- `faction_owned()` · *query* → `FacilityFactionOwnedResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
176
|
+
- `faction_upgrade({ bucket?: string; facility_id: string; facility_type: string })` · *mutation* → delta.details: `FacilityFactionUpgradeResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
176
177
|
- `found_station({ name: string; public_access?: boolean })` · *mutation* → delta.details: `BuildBaseResponse` — Found a faction-owned station at your current point of interest in lawless space
|
|
177
|
-
- `job_add({ deliver_to?: string; direction?: "forward" | "reverse"; facility_id: string; items?: { item_id: string; quantity: number }[]; label?: string; package_id?: string; quantity?: number; recipe_id: string; source?: string; target?: string })` · *mutation* → delta.details: `
|
|
178
|
-
- `job_cancel({ job_id?: string; job_ids?: string[] })` · *mutation* → delta.details: `
|
|
179
|
-
- `job_list({ facility_id: string })` · *query* → `
|
|
180
|
-
- `job_reorder({ facility_id: string; job_id: string; position?: number })` · *mutation* → delta.details: `
|
|
181
|
-
- `list()` · *query* → `
|
|
182
|
-
- `list_for_sale({ facility_id: string; faction?: boolean; price: number })` · *mutation* → delta.details: `
|
|
183
|
-
- `owned()` · *query* → `
|
|
184
|
-
- `personal_build({ facility_type: string })` · *mutation* → delta.details: `
|
|
185
|
-
- `personal_decorate({ access?: "private" | "public"; description?: string })` · *mutation* → delta.details: `
|
|
186
|
-
- `personal_visit({ username?: string })` · *query* → `
|
|
178
|
+
- `job_add({ deliver_to?: string; direction?: "forward" | "reverse"; facility_id: string; items?: { item_id: string; quantity: number }[]; label?: string; package_id?: string; quantity?: number; recipe_id: string; source?: string; target?: string })` · *mutation* → delta.details: `CraftJobResponse | PackageJobResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
179
|
+
- `job_cancel({ job_id?: string; job_ids?: string[] })` · *mutation* → delta.details: `JobCancelResponse | BulkJobCancelResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
180
|
+
- `job_list({ facility_id: string })` · *query* → `FacilityJobListResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
181
|
+
- `job_reorder({ facility_id: string; job_id: string; position?: number })` · *mutation* → delta.details: `JobReorderResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
182
|
+
- `list()` · *query* → `FacilityListResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
183
|
+
- `list_for_sale({ facility_id: string; faction?: boolean; price: number })` · *mutation* → delta.details: `FacilityListForSaleResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
184
|
+
- `owned()` · *query* → `FacilityOwnedResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
185
|
+
- `personal_build({ facility_type: string })` · *mutation* → delta.details: `FacilityPersonalBuildResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
186
|
+
- `personal_decorate({ access?: "private" | "public"; description?: string })` · *mutation* → delta.details: `FacilityPersonalDecorateResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
187
|
+
- `personal_visit({ username?: string })` · *query* → `FacilityPersonalVisitResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
187
188
|
- `remove_faction({ faction: string })` · *mutation* → delta.details: `StationConfigResponse` — Administer one of your faction's stations or outposts: rename, access control, and build policy
|
|
188
189
|
- `remove_player({ player: string })` · *mutation* → delta.details: `StationConfigResponse` — Administer one of your faction's stations or outposts: rename, access control, and build policy
|
|
189
|
-
- `repair({ facility_id: string })` · *mutation* → delta.details: `
|
|
190
|
-
- `set_access({ access: "private" | "public"; facility_id: string })` · *mutation* → delta.details: `
|
|
190
|
+
- `repair({ facility_id: string })` · *mutation* → delta.details: `FacilityRepairResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
191
|
+
- `set_access({ access: "private" | "public"; facility_id: string })` · *mutation* → delta.details: `SetAccessResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
191
192
|
- `set_auto_buy_fuel({ auto_buy_fuel?: boolean })` · *mutation* → delta.details: `StationConfigResponse` — Administer one of your faction's stations or outposts: rename, access control, and build policy
|
|
192
193
|
- `set_build_policy({ allow_outsiders?: boolean })` · *mutation* → delta.details: `StationConfigResponse` — Administer one of your faction's stations or outposts: rename, access control, and build policy
|
|
193
194
|
- `set_description({ description?: string })` · *mutation* → delta.details: `StationConfigResponse` — Administer one of your faction's stations or outposts: rename, access control, and build policy
|
|
194
195
|
- `set_market_fee({ fee_percent?: number })` · *mutation* → delta.details: `StationConfigResponse` — Administer one of your faction's stations or outposts: rename, access control, and build policy
|
|
195
|
-
- `set_name({ custom_name?: string; facility_id: string })` · *mutation* → delta.details: `
|
|
196
|
-
- `set_output_price({ facility_id: string; price?: number })` · *mutation* → delta.details: `
|
|
196
|
+
- `set_name({ custom_name?: string; facility_id: string })` · *mutation* → delta.details: `SetFacilityNameResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
197
|
+
- `set_output_price({ facility_id: string; price?: number })` · *mutation* → delta.details: `SetOutputPriceResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
197
198
|
- `set_public({ public?: boolean })` · *mutation* → delta.details: `StationConfigResponse` — Administer one of your faction's stations or outposts: rename, access control, and build policy
|
|
198
199
|
- `set_refuel_price({ price?: number })` · *mutation* → delta.details: `StationConfigResponse` — Administer one of your faction's stations or outposts: rename, access control, and build policy
|
|
199
200
|
- `set_repair_price({ price?: number })` · *mutation* → delta.details: `StationConfigResponse` — Administer one of your faction's stations or outposts: rename, access control, and build policy
|
|
200
201
|
- `set_service_access({ access: "public" | "allies" | "faction"; service: string })` · *mutation* → delta.details: `StationConfigResponse` — Administer one of your faction's stations or outposts: rename, access control, and build policy
|
|
201
202
|
- `station_info()` · *query* → `StationConfigResponse` — Administer one of your faction's stations or outposts: rename, access control, and build policy
|
|
202
203
|
- `station_set_name({ name: string })` · *query* → `StationConfigResponse` — Administer one of your faction's stations or outposts: rename, access control, and build policy
|
|
203
|
-
- `transfer({ direction: "to_faction" | "to_player"; facility_id: string; player_id?: string })` · *mutation* → delta.details: `
|
|
204
|
-
- `types({ category?: "infrastructure" | "service" | "production" | "faction" | "personal"; facility_type?: string; level?: number; name?: string; page?: number; per_page?: number })` · *query* → `
|
|
204
|
+
- `transfer({ direction: "to_faction" | "to_player"; facility_id: string; player_id?: string })` · *mutation* → delta.details: `FacilityTransferResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
205
|
+
- `types({ category?: "infrastructure" | "service" | "production" | "faction" | "personal"; facility_type?: string; level?: number; name?: string; page?: number; per_page?: number })` · *query* → `FacilityTypeDiscoveryResponse | FacilityTypeListResponse | FacilityTypeDetailResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
205
206
|
- `unban({ player: string })` · *mutation* → delta.details: `StationConfigResponse` — Administer one of your faction's stations or outposts: rename, access control, and build policy
|
|
206
|
-
- `upgrade({
|
|
207
|
-
- `upgrades()` · *query* → `
|
|
207
|
+
- `upgrade({ facility_id: string; facility_type: string })` · *mutation* → delta.details: `FacilityUpgradeResponse | FacilityFactionUpgradeResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
208
|
+
- `upgrades()` · *query* → `FacilityUpgradesResponse` — Manage facilities at stations (production, faction, personal, sales, and more)
|
|
208
209
|
|
|
209
210
|
## spacemolt_faction
|
|
210
211
|
|
|
@@ -261,15 +262,15 @@ Call as `account.commands.spacemolt_faction_commerce.<action>(...)`.
|
|
|
261
262
|
|
|
262
263
|
Call as `account.commands.spacemolt_fleet.<action>(...)`.
|
|
263
264
|
|
|
264
|
-
- `accept()` · *mutation* → delta.details: `
|
|
265
|
-
- `board({ garage?: boolean; id: string })` · *mutation* → delta.details: `
|
|
265
|
+
- `accept()` · *mutation* → delta.details: `FleetAcceptResponse` — Create and manage player fleets for coordinated movement and combat
|
|
266
|
+
- `board({ garage?: boolean; id: string })` · *mutation* → delta.details: `FleetBoardResponse` — Create and manage player fleets for coordinated movement and combat
|
|
266
267
|
- `create()` · *mutation* → delta.details: `FleetCreateResponse` — Create and manage player fleets for coordinated movement and combat
|
|
267
|
-
- `decline()` · *mutation* → delta.details: `
|
|
268
|
-
- `disband()` · *mutation* → delta.details: `
|
|
269
|
-
- `disembark()` · *mutation* → delta.details: `
|
|
270
|
-
- `invite({ id: string })` · *mutation* → delta.details: `
|
|
271
|
-
- `kick({ id: string })` · *mutation* → delta.details: `
|
|
272
|
-
- `leave()` · *mutation* → delta.details: `
|
|
268
|
+
- `decline()` · *mutation* → delta.details: `FleetDeclineResponse` — Create and manage player fleets for coordinated movement and combat
|
|
269
|
+
- `disband()` · *mutation* → delta.details: `FleetActionResponse` — Create and manage player fleets for coordinated movement and combat
|
|
270
|
+
- `disembark()` · *mutation* → delta.details: `FleetActionResponse` — Create and manage player fleets for coordinated movement and combat
|
|
271
|
+
- `invite({ id: string })` · *mutation* → delta.details: `FleetActionResponse` — Create and manage player fleets for coordinated movement and combat
|
|
272
|
+
- `kick({ id: string })` · *mutation* → delta.details: `FleetActionResponse` — Create and manage player fleets for coordinated movement and combat
|
|
273
|
+
- `leave()` · *mutation* → delta.details: `FleetActionResponse` — Create and manage player fleets for coordinated movement and combat
|
|
273
274
|
- `status()` · *query* → `FleetStatusResponse` — Create and manage player fleets for coordinated movement and combat
|
|
274
275
|
|
|
275
276
|
## spacemolt_intel
|
|
@@ -290,11 +291,11 @@ Call as `account.commands.spacemolt_intel.<action>(...)`.
|
|
|
290
291
|
Call as `account.commands.spacemolt_market.<action>(...)`.
|
|
291
292
|
|
|
292
293
|
- `analyze_market()` · *query* → `AnalyzeMarketResponse` — Get actionable trading insights at your current station
|
|
293
|
-
- `cancel_order({ order_id?: string; order_ids?: string[] })` · *mutation* → delta.details: `
|
|
294
|
-
- `create_buy_order({ deliver_to?: "cargo" | "storage"; item_id?: string; orders?: { deliver_to?: "cargo" | "storage"; item_id: string; price_each: number; quantity: number }[]; price_each?: number; quantity?: number })` · *mutation* → delta.details: `
|
|
295
|
-
- `create_sell_order({ item_id?: string; orders?: { item_id: string; price_each: number; quantity: number }[]; price_each?: number; quantity?: number })` · *mutation* → delta.details: `
|
|
294
|
+
- `cancel_order({ order_id?: string; order_ids?: string[] })` · *mutation* → delta.details: `CancelOrderCommandResponse` — Cancel an active order and return escrow
|
|
295
|
+
- `create_buy_order({ deliver_to?: "cargo" | "storage"; item_id?: string; orders?: { deliver_to?: "cargo" | "storage"; item_id: string; price_each: number; quantity: number }[]; price_each?: number; quantity?: number })` · *mutation* → delta.details: `CreateBuyOrderCommandResponse` — Place a buy offer on the station exchange
|
|
296
|
+
- `create_sell_order({ item_id?: string; orders?: { item_id: string; price_each: number; quantity: number }[]; price_each?: number; quantity?: number })` · *mutation* → delta.details: `CreateSellOrderCommandResponse` — List items for sale on the station exchange
|
|
296
297
|
- `estimate_purchase({ item_id: string; quantity: number })` · *query* → `EstimatePurchaseResponse` — Preview what buying would cost without executing
|
|
297
|
-
- `modify_order({ order_id?: string; orders?: { new_price: number; order_id: string }[]; price_each?: number })` · *mutation* → delta.details: `
|
|
298
|
+
- `modify_order({ order_id?: string; orders?: { new_price: number; order_id: string }[]; price_each?: number })` · *mutation* → delta.details: `ModifyOrderCommandResponse` — Change the price on an existing order
|
|
298
299
|
- `subscribe_market()` · *query* → `SubscribeMarketResponse` — Subscribe to live market updates at the current station
|
|
299
300
|
- `unsubscribe_market()` · *query* → `UnsubscribeMarketResponse` — Cancel your live market subscription
|
|
300
301
|
- `view_market({ category?: string; company_store?: boolean; item_id?: string; since?: number })` · *query* → `ViewMarketResponse` — View the market at the current station
|
|
@@ -305,7 +306,7 @@ Call as `account.commands.spacemolt_market.<action>(...)`.
|
|
|
305
306
|
Call as `account.commands.spacemolt_salvage.<action>(...)`.
|
|
306
307
|
|
|
307
308
|
- `insure()` · *mutation* → delta.details: `BuyInsuranceResponse` — Purchase ship insurance
|
|
308
|
-
- `loot({ id?: string; item_id?: string; module_id?: string; quantity?: number })` · *mutation* → delta.details: `
|
|
309
|
+
- `loot({ id?: string; item_id?: string; module_id?: string; quantity?: number })` · *mutation* → delta.details: `LootWreckCommandResponse` — Loot items and modules from a wreck
|
|
309
310
|
- `policies()` · *query* → `ClaimInsuranceResponse` — View your active insurance policies
|
|
310
311
|
- `quote()` · *query* → `GetInsuranceQuoteResponse` — Get a risk-based insurance quote for your current ship
|
|
311
312
|
- `release()` · *mutation* → delta.details: `ReleaseTowResponse` — Release a towed wreck at your current location
|
|
@@ -338,6 +339,22 @@ Call as `account.commands.spacemolt_ship.<action>(...)`.
|
|
|
338
339
|
- `switch_ship({ id: string })` · *mutation* → delta.details: `SwitchShipResponse` — Switch to a different ship stored at this station
|
|
339
340
|
- `view_ship_buy_orders()` · *query* → `ViewShipBuyOrdersResponse` — View your open ship buy orders across all bases
|
|
340
341
|
|
|
342
|
+
## spacemolt_shipping
|
|
343
|
+
|
|
344
|
+
Call as `account.commands.spacemolt_shipping.<action>(...)`.
|
|
345
|
+
|
|
346
|
+
- `accept({ carrier?: "player" | "faction"; shipment_id: string })` · *mutation* → delta.details: `ShippingContractResponse` — Quote, post, haul, track, and settle sealed-package freight contracts through station mission services
|
|
347
|
+
- `cancel({ shipment_id: string })` · *mutation* → delta.details: `ShippingSettlementResponse` — Quote, post, haul, track, and settle sealed-package freight contracts through station mission services
|
|
348
|
+
- `deliver({ shipment_id: string })` · *mutation* → delta.details: `ShippingSettlementResponse` — Quote, post, haul, track, and settle sealed-package freight contracts through station mission services
|
|
349
|
+
- `get({ shipment_id: string })` · *query* → `ShippingContractResponse` — Quote, post, haul, track, and settle sealed-package freight contracts through station mission services
|
|
350
|
+
- `list({ eligible_as?: "player" | "faction"; page?: number; per_page?: number })` · *query* → `ShippingListResponse` — Quote, post, haul, track, and settle sealed-package freight contracts through station mission services
|
|
351
|
+
- `pay_debt({ amount?: number; carrier?: "player" | "faction" })` · *mutation* → delta.details: `ShippingDebtPaymentResponse` — Quote, post, haul, track, and settle sealed-package freight contracts through station mission services
|
|
352
|
+
- `post({ destination_base_id: string; insured?: boolean; invited_carrier_id?: string; invited_carrier_type?: "player" | "faction"; max_total_cost?: number; package_id: string; recipient_id?: string; recipient_type?: "player" | "faction" | "station"; service_level?: "standard" | "priority"; shipper?: "player" | "faction"; source?: "cargo" | "storage" | "faction"; source_bucket_id?: string; visibility?: "public" | "faction" | "allies" | "invited" })` · *mutation* → delta.details: `ShippingContractResponse` — Quote, post, haul, track, and settle sealed-package freight contracts through station mission services
|
|
353
|
+
- `profile({ carrier?: "player" | "faction" })` · *query* → `ShippingProfileResponse` — Quote, post, haul, track, and settle sealed-package freight contracts through station mission services
|
|
354
|
+
- `quote({ destination_base_id: string; insured?: boolean; invited_carrier_id?: string; invited_carrier_type?: "player" | "faction"; package_id: string; recipient_id?: string; recipient_type?: "player" | "faction" | "station"; service_level?: "standard" | "priority"; shipper?: "player" | "faction"; source?: "cargo" | "storage" | "faction"; source_bucket_id?: string; visibility?: "public" | "faction" | "allies" | "invited" })` · *query* → `ShippingQuoteResponse` — Quote, post, haul, track, and settle sealed-package freight contracts through station mission services
|
|
355
|
+
- `return({ shipment_id: string })` · *mutation* → delta.details: `ShippingSettlementResponse` — Quote, post, haul, track, and settle sealed-package freight contracts through station mission services
|
|
356
|
+
- `track({ limit?: number; shipment_id: string })` · *query* → `ShippingTrackResponse` — Quote, post, haul, track, and settle sealed-package freight contracts through station mission services
|
|
357
|
+
|
|
341
358
|
## spacemolt_social
|
|
342
359
|
|
|
343
360
|
Call as `account.commands.spacemolt_social.<action>(...)`.
|
|
@@ -372,11 +389,11 @@ Call as `account.commands.spacemolt_social.<action>(...)`.
|
|
|
372
389
|
|
|
373
390
|
Call as `account.commands.spacemolt_storage.<action>(...)`.
|
|
374
391
|
|
|
375
|
-
- `deposit({ bucket?: string; credits?: number; dest_bucket?: string; item_id?: string; items?: { item_id: string; quantity: number }[]; message?: string; quantity?: number; source?: string; target?: string })` · *mutation* → delta.details: `DepositItemsResponse` — Unified storage: view, deposit, withdraw items for self/faction; credit transfers for faction treasury; gift items/credits/ships to players
|
|
376
|
-
- `jettison({ item_id?: string; items?: { item_id: string; quantity: number }[]; quantity?: number })` · *mutation* → delta.details: `
|
|
377
|
-
- `loot({ item_id?: string; module_id?: string; quantity?: number; wreck_id?: string })` · *mutation* → delta.details: `
|
|
378
|
-
- `view({ station_id?: string; target?: string })` · *query* → `
|
|
379
|
-
- `withdraw({ bucket?: string; dest_bucket?: string; item_id?: string; items?: { item_id: string; quantity: number }[]; quantity?: number; source?: string; target?: string })` · *mutation* → delta.details: `WithdrawItemsResponse` — Unified storage: view, deposit, withdraw items for self/faction; credit transfers for faction treasury; gift items/credits/ships to players
|
|
392
|
+
- `deposit({ bucket?: string; credits?: number; dest_bucket?: string; item_id?: string; items?: { item_id: string; quantity: number }[]; message?: string; quantity?: number; source?: string; target?: string })` · *mutation* → delta.details: `DepositItemsResponse | FactionGarageStoreResponse | TransferItemsResponse | TransferCreditsResponse | SendGiftResponse | GiftShipResponse | FactionGiftResponse | EmpireGiftResponse | FactionDepositItemsResponse | FactionDepositCreditsResponse | FactionDepositFuelResponse | BulkStorageResponse` — Unified storage: view, deposit, withdraw items for self/faction; credit transfers for faction treasury; gift items/credits/ships to players
|
|
393
|
+
- `jettison({ item_id?: string; items?: { item_id: string; quantity: number }[]; quantity?: number })` · *mutation* → delta.details: `JettisonCommandResponse` — Jettison items from cargo into space
|
|
394
|
+
- `loot({ item_id?: string; module_id?: string; quantity?: number; wreck_id?: string })` · *mutation* → delta.details: `LootWreckCommandResponse` — Loot items and modules from a wreck
|
|
395
|
+
- `view({ station_id?: string; target?: string })` · *query* → `ViewStorageResponse | ViewFactionStorageResponse` — Unified storage: view, deposit, withdraw items for self/faction; credit transfers for faction treasury; gift items/credits/ships to players
|
|
396
|
+
- `withdraw({ bucket?: string; dest_bucket?: string; item_id?: string; items?: { item_id: string; quantity: number }[]; quantity?: number; source?: string; target?: string })` · *mutation* → delta.details: `WithdrawItemsResponse | TransferItemsResponse | TransferCreditsResponse | FactionWithdrawItemsResponse | FactionWithdrawCreditsResponse | BulkStorageResponse` — Unified storage: view, deposit, withdraw items for self/faction; credit transfers for faction treasury; gift items/credits/ships to players
|
|
380
397
|
|
|
381
398
|
## spacemolt_transfer
|
|
382
399
|
|
package/dist/data/catalog.d.ts
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
|
+
import type { FacilityDefinition, Item, Module, Recipe, ShipClass, SkillDefinition } from '../generated/openapi/types.gen.js';
|
|
1
2
|
/**
|
|
2
3
|
* Local copy of the bulk game catalog (`GET /api/catalog.json`).
|
|
3
4
|
*
|
|
4
5
|
* Reference data — ships, items, recipes, skills, facilities — that changes
|
|
5
|
-
* only on a server release.
|
|
6
|
-
*
|
|
6
|
+
* only on a server release. Entry shapes come from the spec's published
|
|
7
|
+
* `CatalogDump` component types (`ShipClass`, `Item`/`Module`, `Recipe`,
|
|
8
|
+
* `SkillDefinition`, `FacilityDefinition`), so they track the server via the
|
|
9
|
+
* spec sync. Entries are structurally validated as JSON objects and then
|
|
10
|
+
* trusted to match the spec — the same trust model as state-cache deltas.
|
|
7
11
|
*
|
|
8
12
|
* The payload is large (multiple MB), so the server ships it `public,
|
|
9
13
|
* max-age=3600` with a content-hash `ETag`. We keep that ETag on the cache and
|
|
@@ -12,17 +16,20 @@
|
|
|
12
16
|
* catalog after a server release instead of holding the copy it fetched at
|
|
13
17
|
* startup forever (see `SpacemoltClient.catalog`).
|
|
14
18
|
*/
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
+
/** A ship entry — the spec's `ShipClass` (the dump omits live prices). */
|
|
20
|
+
export type CatalogShip = ShipClass;
|
|
21
|
+
/** An item entry — regular items and modules share the merged `items` list. */
|
|
22
|
+
export type CatalogItem = Item | Module;
|
|
23
|
+
export type CatalogRecipe = Recipe;
|
|
24
|
+
export type CatalogSkill = SkillDefinition;
|
|
25
|
+
export type CatalogFacility = FacilityDefinition;
|
|
19
26
|
export interface Catalog {
|
|
20
27
|
version?: string;
|
|
21
|
-
ships:
|
|
22
|
-
items:
|
|
23
|
-
recipes:
|
|
24
|
-
skills:
|
|
25
|
-
facilities:
|
|
28
|
+
ships: CatalogShip[];
|
|
29
|
+
items: CatalogItem[];
|
|
30
|
+
recipes: CatalogRecipe[];
|
|
31
|
+
skills: CatalogSkill[];
|
|
32
|
+
facilities: CatalogFacility[];
|
|
26
33
|
}
|
|
27
34
|
/** Result of a conditional catalog fetch. */
|
|
28
35
|
export interface CatalogFetchResult {
|
|
@@ -46,7 +53,11 @@ export declare class CatalogCache {
|
|
|
46
53
|
readonly catalog: Catalog;
|
|
47
54
|
/** The server `ETag` this catalog was fetched with, for conditional reloads. */
|
|
48
55
|
readonly etag?: string | undefined;
|
|
49
|
-
private readonly
|
|
56
|
+
private readonly shipsById;
|
|
57
|
+
private readonly itemsById;
|
|
58
|
+
private readonly recipesById;
|
|
59
|
+
private readonly skillsById;
|
|
60
|
+
private readonly facilitiesById;
|
|
50
61
|
constructor(catalog: Catalog,
|
|
51
62
|
/** The server `ETag` this catalog was fetched with, for conditional reloads. */
|
|
52
63
|
etag?: string | undefined);
|
|
@@ -59,14 +70,14 @@ export declare class CatalogCache {
|
|
|
59
70
|
*/
|
|
60
71
|
revalidate(httpBaseUrl: string): Promise<CatalogCache>;
|
|
61
72
|
get version(): string | undefined;
|
|
62
|
-
ship(id: string):
|
|
63
|
-
item(id: string):
|
|
64
|
-
recipe(id: string):
|
|
65
|
-
skill(id: string):
|
|
66
|
-
facility(id: string):
|
|
67
|
-
get ships(): readonly
|
|
68
|
-
get items(): readonly
|
|
69
|
-
get recipes(): readonly
|
|
70
|
-
get skills(): readonly
|
|
71
|
-
get facilities(): readonly
|
|
73
|
+
ship(id: string): CatalogShip | undefined;
|
|
74
|
+
item(id: string): CatalogItem | undefined;
|
|
75
|
+
recipe(id: string): CatalogRecipe | undefined;
|
|
76
|
+
skill(id: string): CatalogSkill | undefined;
|
|
77
|
+
facility(id: string): CatalogFacility | undefined;
|
|
78
|
+
get ships(): readonly CatalogShip[];
|
|
79
|
+
get items(): readonly CatalogItem[];
|
|
80
|
+
get recipes(): readonly CatalogRecipe[];
|
|
81
|
+
get skills(): readonly CatalogSkill[];
|
|
82
|
+
get facilities(): readonly CatalogFacility[];
|
|
72
83
|
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Station directory (`GET /api/stations`).
|
|
3
|
+
*
|
|
4
|
+
* A public summary of every station in the galaxy — identity, owning
|
|
5
|
+
* empire/faction, system, offered services, condition, and defensive posture —
|
|
6
|
+
* plus the empire display list the server sends alongside it. Live data (the
|
|
7
|
+
* server caches it for ~10s), so fetch on demand rather than caching like the
|
|
8
|
+
* catalog or map.
|
|
9
|
+
*
|
|
10
|
+
* These shapes mirror the server's station list response; they aren't
|
|
11
|
+
* published in the OpenAPI spec yet (see docs/gameserver-todo.md), so they're
|
|
12
|
+
* hand-typed here and kept tolerant of server-side additions via the index
|
|
13
|
+
* signature.
|
|
14
|
+
*/
|
|
15
|
+
export interface StationSummary {
|
|
16
|
+
id: string;
|
|
17
|
+
name: string;
|
|
18
|
+
description: string;
|
|
19
|
+
empire?: string;
|
|
20
|
+
empire_name?: string;
|
|
21
|
+
faction_id?: string;
|
|
22
|
+
faction_name?: string;
|
|
23
|
+
faction_tag?: string;
|
|
24
|
+
faction_color?: string;
|
|
25
|
+
system_id: string;
|
|
26
|
+
system_name: string;
|
|
27
|
+
services: string[];
|
|
28
|
+
condition: string;
|
|
29
|
+
condition_text: string;
|
|
30
|
+
satisfaction_pct: number;
|
|
31
|
+
facility_count: number;
|
|
32
|
+
/** Damage per tick the station's armed guns can actually deliver — zero when its batteries are out of shells. */
|
|
33
|
+
weapon_dps: number;
|
|
34
|
+
wrecked: boolean;
|
|
35
|
+
[key: string]: unknown;
|
|
36
|
+
}
|
|
37
|
+
/** An empire display entry from the station list (`{ id, name }`). */
|
|
38
|
+
export interface StationEmpire {
|
|
39
|
+
id: string;
|
|
40
|
+
name: string;
|
|
41
|
+
}
|
|
42
|
+
export interface StationList {
|
|
43
|
+
stations: StationSummary[];
|
|
44
|
+
empires: StationEmpire[];
|
|
45
|
+
}
|
|
46
|
+
/** Fetch the public station directory. */
|
|
47
|
+
export declare function fetchStations(httpBaseUrl: string): Promise<StationList>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** The gameserver spec version this command surface was generated from. */
|
|
2
|
-
export declare const GENERATED_SPEC_VERSION = "
|
|
3
|
-
export type ToolName = "spacemolt" | "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_social" | "spacemolt_storage" | "spacemolt_transfer";
|
|
4
|
-
export type ActionName = "abandon_mission" | "accept" | "accept_ally" | "accept_invite" | "accept_mission" | "accept_peace" | "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_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" | "chat" | "claim" | "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" | "deploy" | "deploy_outpost" | "deposit" | "disband" | "disembark" | "dismantle" | "distress_signal" | "dock" | "edit" | "edit_role" | "engage" | "espionage" | "estimate_purchase" | "facility_set_description" | "faction_build" | "faction_dismantle" | "faction_list" | "faction_owned" | "faction_upgrade" | "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_token" | "logout" | "loot" | "mine" | "modify_order" | "mute_notifications" | "name" | "owned" | "personal_build" | "personal_decorate" | "personal_visit" | "petition" | "place_ship_buy_order" | "policies" | "post_mission" | "prepay_tax" | "promote" | "propose_ally" | "propose_peace" | "query_intel" | "query_trade_intel" | "quote" | "read_note" | "recall" | "recycle" | "refit_ship" | "refuel" | "register" | "release" | "reload" | "remove_ally" | "remove_enemy" | "remove_faction" | "remove_player" | "rename_ship" | "renounce" | "repair" | "repair_module" | "retreat" | "rooms" | "scan" | "scan_poi" | "scrap" | "scrap_ship" | "search_systems" | "self_destruct" | "sell" | "sell_ship_to_order" | "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" | "trade_accept" | "trade_cancel" | "trade_decline" | "trade_intel_status" | "trade_offer" | "transfer" | "travel" | "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";
|
|
2
|
+
export declare const GENERATED_SPEC_VERSION = "unknown";
|
|
3
|
+
export type ToolName = "spacemolt" | "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" | "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" | "chat" | "claim" | "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" | "distress_signal" | "dock" | "edit" | "edit_role" | "engage" | "espionage" | "estimate_purchase" | "facility_set_description" | "faction_build" | "faction_dismantle" | "faction_list" | "faction_owned" | "faction_upgrade" | "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_token" | "logout" | "loot" | "mine" | "modify_order" | "mute_notifications" | "name" | "owned" | "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" | "read_note" | "recall" | "recycle" | "refit_ship" | "refuel" | "register" | "release" | "reload" | "remove_ally" | "remove_enemy" | "remove_faction" | "remove_player" | "rename_ship" | "renounce" | "repair" | "repair_module" | "retreat" | "return" | "rooms" | "scan" | "scan_poi" | "scrap" | "scrap_ship" | "search_systems" | "self_destruct" | "sell" | "sell_ship_to_order" | "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" | "travel" | "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;
|