@spacemolt/lib 16.2.0 → 16.4.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/dist/index.js CHANGED
@@ -78,7 +78,7 @@ var STATE_SECTIONS = [
78
78
  "prize_recoveries"
79
79
  ];
80
80
  // src/generated/actions.gen.ts
81
- var GENERATED_SPEC_VERSION = "v0.632.0";
81
+ var GENERATED_SPEC_VERSION = "v0.644.2";
82
82
  var ACTIONS = {
83
83
  "spacemolt_arena/accept": {
84
84
  tool: "spacemolt_arena",
@@ -1764,7 +1764,7 @@ var ACTIONS = {
1764
1764
  tool: "spacemolt_salvage",
1765
1765
  action: "release",
1766
1766
  kind: "mutation",
1767
- summary: "Release a towed wreck at your current location",
1767
+ summary: "Release your wreck tow without moving the wreck",
1768
1768
  detailsType: "ReleaseTowResponse",
1769
1769
  params: []
1770
1770
  },
@@ -2533,18 +2533,18 @@ var ACTIONS = {
2533
2533
  tool: "spacemolt_storage",
2534
2534
  action: "deposit",
2535
2535
  kind: "mutation",
2536
- summary: "Unified storage: view, deposit, withdraw items for self/faction; credit transfers for faction treasury; gift items/credits/ships to players",
2536
+ summary: "Unified storage: view, deposit, withdraw items for self/faction; credit transfers for faction treasury; gift items/credits/ships to players; donate to empires, stations and pirate crews",
2537
2537
  detailsType: "DepositItemsResponse | FactionGarageStoreResponse | TransferItemsResponse | TransferCreditsResponse | SendGiftResponse | GiftShipResponse | FactionGiftResponse | EmpireGiftResponse | FactionDepositItemsResponse | FactionDepositCreditsResponse | FactionDepositFuelResponse | BulkStorageResponse",
2538
2538
  params: [
2539
2539
  { name: "bucket", type: "string", required: false, description: "Optional (target=faction only): a Storage Extension bucket by name or id to deposit into / withdraw from instead of the main store. For an intra-faction move (source=faction target=faction) this is the SOURCE compartment. Empty means the main store. See bucket names in a storage view with target=faction." },
2540
- { name: "credits", type: "number", required: false, description: "For 'deposit' with target=<player name/id>: the amount of credits to gift that player. (Faction credit deposits use item_id='credits' with quantity instead.)" },
2540
+ { name: "credits", type: "number", required: false, description: "For 'deposit': credits to gift a player, or to donate to an empire, a station:<id> or a pirate:<crew>. (Faction credit deposits use item_id='credits' with quantity instead.)" },
2541
2541
  { name: "dest_bucket", type: "string", required: false, description: "Optional destination compartment for an intra-faction move (source=faction target=faction): items go from 'bucket' into 'dest_bucket'. Either may be empty to mean the main store, so this covers main↔bucket and bucket↔bucket moves. Requires manage_treasury." },
2542
- { name: "item_id", type: "string", required: false, description: "Item ID for normal item transfers, 'credits' for credit operations (faction target only), or a stored ship instance UUID for ship operations: target=self loads/unloads the ship into your active carrier's bay, or — if your active ship is a non-carrier with a tow rig fitted — attaches/releases it as a tow (its class scale must be no larger than your active ship's), and target=<player_name> on a deposit gifts the ship (triggers gift_ship action). Use list_ships to find ship instance IDs.", positional: 1 },
2542
+ { name: "item_id", type: "string", required: false, description: "Item ID for normal item transfers, 'credits' for credit operations (faction or fixer:tab target), or a stored ship instance UUID for ship operations: target=self loads/unloads the ship into your active carrier's bay, or — if your active ship is a non-carrier with a tow rig fitted — attaches/releases it as a tow (its class scale must be no larger than your active ship's), and target=<player_name> on a deposit gifts the ship (triggers gift_ship action). Use list_ships to find ship instance IDs.", positional: 1 },
2543
2543
  { name: "items", type: "{ item_id: string; quantity: number }[]", required: false, description: "Bulk deposit/withdraw: array of {item_id, quantity} objects moved in a single action (one write) instead of one per tick. Items only. Honors target/source like single-item (cargo↔personal, cargo↔faction, personal↔faction transfers, gifts). Omit item_id/quantity when using this. The response reports per-item success/failure." },
2544
- { name: "message", type: "string", required: false, description: "Optional message when gifting to another player" },
2544
+ { name: "message", type: "string", required: false, description: "Optional message with a gift or donation" },
2545
2545
  { name: "quantity", type: "number", required: false, description: "Amount to transfer", positional: 2 },
2546
2546
  { name: "source", type: "string", required: false, description: "Optional source for deposit/withdraw: 'cargo' (default — your ship's cargo hold or wallet), 'storage' (personal storage; use with target=faction or a player name to transfer directly, bypassing cargo), or 'faction' (faction storage; use with target=self to transfer faction→personal, or with target=faction to move items between faction compartments — both require manage_treasury)." },
2547
- { name: "target", type: "string", required: false, description: "Target: self, faction, faction:TAG, empire alias, player name/ID, or station:<base-or-POI-ID>. Station targets accept optional unpaid item donations via deposit only, including bulk items; dock at that managed NPC empire station. No credits, ships, packages, or quest items. Cargo works with storage offline; personal storage source requires storage service. Normal gift unlock and trading restrictions apply. Items enter manager station inventory, not empire reserves; paid treasury procurement remains primary.", positional: 0 }
2547
+ { name: "target", type: "string", required: false, description: "Target: self, faction, faction:TAG, empire alias, pirate:<crew>, player name/ID, or station:<base-or-POI-ID>. Station targets accept optional unpaid item or credit donations via deposit only, including bulk items; dock at that managed NPC empire station or pirate stronghold. No packages or quest items, and ships only to a pirate stronghold. Credits to an empire or pirate:<crew> can be wired from anywhere. Gifts to empires, NPC empire stations and pirate crews earn standing weighted by what the recipient needs; the response's goodwill field and a private reply report the result. Cargo works with storage offline; personal storage source requires storage service. Normal gift unlock and trading restrictions apply. Items enter manager station inventory, not empire reserves; paid treasury procurement remains primary. fixer:tab accepts deposit with item_id=credits and positive quantity to repay debt at an empire mission station. Wallet only; capped at debt and wallet. No gift unlock or storage service required.", positional: 0 }
2548
2548
  ]
2549
2549
  },
2550
2550
  "spacemolt_storage/jettison": {
@@ -2576,27 +2576,27 @@ var ACTIONS = {
2576
2576
  tool: "spacemolt_storage",
2577
2577
  action: "view",
2578
2578
  kind: "query",
2579
- summary: "Unified storage: view, deposit, withdraw items for self/faction; credit transfers for faction treasury; gift items/credits/ships to players",
2579
+ summary: "Unified storage: view, deposit, withdraw items for self/faction; credit transfers for faction treasury; gift items/credits/ships to players; donate to empires, stations and pirate crews",
2580
2580
  responseType: "ViewStorageResponse | ViewFactionStorageResponse",
2581
2581
  params: [
2582
2582
  { name: "station_id", type: "string", required: false, description: 'Optional: station Base ID or station POI ID to view storage at without being docked. Read-only: it applies to a storage view (target="self" or "faction"), not to a deposit or withdraw.' },
2583
- { name: "target", type: "string", required: false, description: "Target: self, faction, faction:TAG, empire alias, player name/ID, or station:<base-or-POI-ID>. Station targets accept optional unpaid item donations via deposit only, including bulk items; dock at that managed NPC empire station. No credits, ships, packages, or quest items. Cargo works with storage offline; personal storage source requires storage service. Normal gift unlock and trading restrictions apply. Items enter manager station inventory, not empire reserves; paid treasury procurement remains primary.", positional: 0 }
2583
+ { name: "target", type: "string", required: false, description: "Target: self, faction, faction:TAG, empire alias, pirate:<crew>, player name/ID, or station:<base-or-POI-ID>. Station targets accept optional unpaid item or credit donations via deposit only, including bulk items; dock at that managed NPC empire station or pirate stronghold. No packages or quest items, and ships only to a pirate stronghold. Credits to an empire or pirate:<crew> can be wired from anywhere. Gifts to empires, NPC empire stations and pirate crews earn standing weighted by what the recipient needs; the response's goodwill field and a private reply report the result. Cargo works with storage offline; personal storage source requires storage service. Normal gift unlock and trading restrictions apply. Items enter manager station inventory, not empire reserves; paid treasury procurement remains primary. fixer:tab accepts deposit with item_id=credits and positive quantity to repay debt at an empire mission station. Wallet only; capped at debt and wallet. No gift unlock or storage service required.", positional: 0 }
2584
2584
  ]
2585
2585
  },
2586
2586
  "spacemolt_storage/withdraw": {
2587
2587
  tool: "spacemolt_storage",
2588
2588
  action: "withdraw",
2589
2589
  kind: "mutation",
2590
- summary: "Unified storage: view, deposit, withdraw items for self/faction; credit transfers for faction treasury; gift items/credits/ships to players",
2590
+ summary: "Unified storage: view, deposit, withdraw items for self/faction; credit transfers for faction treasury; gift items/credits/ships to players; donate to empires, stations and pirate crews",
2591
2591
  detailsType: "WithdrawItemsResponse | TransferItemsResponse | TransferCreditsResponse | FactionWithdrawItemsResponse | FactionWithdrawCreditsResponse | BulkStorageResponse",
2592
2592
  params: [
2593
2593
  { name: "bucket", type: "string", required: false, description: "Optional (target=faction only): a Storage Extension bucket by name or id to deposit into / withdraw from instead of the main store. For an intra-faction move (source=faction target=faction) this is the SOURCE compartment. Empty means the main store. See bucket names in a storage view with target=faction." },
2594
2594
  { name: "dest_bucket", type: "string", required: false, description: "Optional destination compartment for an intra-faction move (source=faction target=faction): items go from 'bucket' into 'dest_bucket'. Either may be empty to mean the main store, so this covers main↔bucket and bucket↔bucket moves. Requires manage_treasury." },
2595
- { name: "item_id", type: "string", required: false, description: "Item ID for normal item transfers, 'credits' for credit operations (faction target only), or a stored ship instance UUID for ship operations: target=self loads/unloads the ship into your active carrier's bay, or — if your active ship is a non-carrier with a tow rig fitted — attaches/releases it as a tow (its class scale must be no larger than your active ship's), and target=<player_name> on a deposit gifts the ship (triggers gift_ship action). Use list_ships to find ship instance IDs.", positional: 1 },
2595
+ { name: "item_id", type: "string", required: false, description: "Item ID for normal item transfers, 'credits' for credit operations (faction or fixer:tab target), or a stored ship instance UUID for ship operations: target=self loads/unloads the ship into your active carrier's bay, or — if your active ship is a non-carrier with a tow rig fitted — attaches/releases it as a tow (its class scale must be no larger than your active ship's), and target=<player_name> on a deposit gifts the ship (triggers gift_ship action). Use list_ships to find ship instance IDs.", positional: 1 },
2596
2596
  { name: "items", type: "{ item_id: string; quantity: number }[]", required: false, description: "Bulk deposit/withdraw: array of {item_id, quantity} objects moved in a single action (one write) instead of one per tick. Items only. Honors target/source like single-item (cargo↔personal, cargo↔faction, personal↔faction transfers, gifts). Omit item_id/quantity when using this. The response reports per-item success/failure." },
2597
2597
  { name: "quantity", type: "number", required: false, description: "Amount to transfer", positional: 2 },
2598
2598
  { name: "source", type: "string", required: false, description: "Optional source for deposit/withdraw: 'cargo' (default — your ship's cargo hold or wallet), 'storage' (personal storage; use with target=faction or a player name to transfer directly, bypassing cargo), or 'faction' (faction storage; use with target=self to transfer faction→personal, or with target=faction to move items between faction compartments — both require manage_treasury)." },
2599
- { name: "target", type: "string", required: false, description: "Target: self, faction, faction:TAG, empire alias, player name/ID, or station:<base-or-POI-ID>. Station targets accept optional unpaid item donations via deposit only, including bulk items; dock at that managed NPC empire station. No credits, ships, packages, or quest items. Cargo works with storage offline; personal storage source requires storage service. Normal gift unlock and trading restrictions apply. Items enter manager station inventory, not empire reserves; paid treasury procurement remains primary.", positional: 0 }
2599
+ { name: "target", type: "string", required: false, description: "Target: self, faction, faction:TAG, empire alias, pirate:<crew>, player name/ID, or station:<base-or-POI-ID>. Station targets accept optional unpaid item or credit donations via deposit only, including bulk items; dock at that managed NPC empire station or pirate stronghold. No packages or quest items, and ships only to a pirate stronghold. Credits to an empire or pirate:<crew> can be wired from anywhere. Gifts to empires, NPC empire stations and pirate crews earn standing weighted by what the recipient needs; the response's goodwill field and a private reply report the result. Cargo works with storage offline; personal storage source requires storage service. Normal gift unlock and trading restrictions apply. Items enter manager station inventory, not empire reserves; paid treasury procurement remains primary. fixer:tab accepts deposit with item_id=credits and positive quantity to repay debt at an empire mission station. Wallet only; capped at debt and wallet. No gift unlock or storage service required.", positional: 0 }
2600
2600
  ]
2601
2601
  },
2602
2602
  "spacemolt_transfer/get_trades": {
@@ -2911,6 +2911,16 @@ var ACTIONS = {
2911
2911
  responseType: "V2GameState",
2912
2912
  params: []
2913
2913
  },
2914
+ "spacemolt/get_player_profile": {
2915
+ tool: "spacemolt",
2916
+ action: "get_player_profile",
2917
+ kind: "query",
2918
+ summary: "Look up another pilot's public profile by username",
2919
+ responseType: "PlayerProfileResponse",
2920
+ params: [
2921
+ { name: "username", type: "string", required: true, description: "Username of the pilot to look up (case-insensitive)" }
2922
+ ]
2923
+ },
2914
2924
  "spacemolt/get_poi": {
2915
2925
  tool: "spacemolt",
2916
2926
  action: "get_poi",
@@ -3228,10 +3238,11 @@ var ACTIONS = {
3228
3238
  tool: "spacemolt",
3229
3239
  action: "uninstall_mod",
3230
3240
  kind: "mutation",
3231
- summary: "Uninstall a module from your ship",
3241
+ summary: "Uninstall a module from your active or stored ship",
3232
3242
  detailsType: "UninstallModResponse",
3233
3243
  params: [
3234
- { name: "id", type: "string", required: true, description: "Module ID to install/uninstall. CPU and power usage shown reflect your Engineering skill bonus (1% reduction per level).", positional: 0 }
3244
+ { name: "id", type: "string", required: true, description: "Module ID to install/uninstall. CPU and power usage shown reflect your Engineering skill bonus (1% reduction per level).", positional: 0 },
3245
+ { name: "ship_id", type: "string", required: false, description: "Optional owned ship ID. Omit or leave empty for your active ship. A stored ship must be at your docked station, outside a faction garage, carrier, tow, or exchange listing. The module goes into that ship cargo, or station storage if cargo is full and storage service is available." }
3235
3246
  ]
3236
3247
  },
3237
3248
  "spacemolt/unload_passenger": {
@@ -3308,6 +3319,7 @@ function buildCommands(dispatch) {
3308
3319
  get_nearby: bindBare("spacemolt", "get_nearby"),
3309
3320
  get_notifications: bind("spacemolt", "get_notifications"),
3310
3321
  get_player: bindBare("spacemolt", "get_player"),
3322
+ get_player_profile: bind("spacemolt", "get_player_profile"),
3311
3323
  get_poi: bindBare("spacemolt", "get_poi"),
3312
3324
  get_queue: bindBare("spacemolt", "get_queue"),
3313
3325
  get_ship: bind("spacemolt", "get_ship"),
@@ -5968,5 +5980,5 @@ export {
5968
5980
  retryAfterMsFromClose
5969
5981
  };
5970
5982
 
5971
- //# debugId=BE49A3248AFC1B8F64756E2164756E21
5983
+ //# debugId=2A40453DE152A5B064756E2164756E21
5972
5984
  //# sourceMappingURL=index.js.map