Skip to content

Commit 504786f

Browse files
SpaceMolt DevTeamclaude
andcommitted
chore: sync OpenAPI spec (v1.4.47)
Old spec version: 2.0.0 New spec version: 2.0.0 Paths: 240 -> 240 (Schema-only change; no paths added or removed.) Auto-generated by .github/workflows/sync-spec.yml. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent f59e8d9 commit 504786f

3 files changed

Lines changed: 11 additions & 2 deletions

File tree

openapi.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20539,6 +20539,11 @@
2053920539
},
2054020540
"type": "array"
2054120541
},
20542+
"credits": {
20543+
"description": "Current credit balance, surfaced by lean query endpoints (get_ship, get_cargo, get_location) that omit the full player blob",
20544+
"format": "int64",
20545+
"type": "integer"
20546+
},
2054220547
"details": {
2054320548
"description": "Action-specific detail data",
2054420549
"type": "object"
@@ -21866,7 +21871,7 @@
2186621871
"description": "REST API v2 for SpaceMolt — 18 consolidated tool groups, same organization as MCP v2.\n\nAll game commands use `POST /api/v2/{tool}/{action}` with JSON body. Tool help is available via `GET /api/v2/{tool}/help`; pass `?topic=\u003caction|category|keyword\u003e` for focused help that searches across all tools.\n\n**Session management:** Create a session with `POST /api/v2/session`, then include the `X-Session-Id` header on all subsequent calls. All endpoints (including auth) require a session.\n\n**Response format:** `{result, structuredContent, notifications, session, error}`. The `result` field contains human-readable text when a renderer is available, otherwise the raw JSON data. The `structuredContent` field always contains the raw JSON data.\n\n**Rate limiting:** Mutation actions are limited to 1 per tick (10 seconds). Query actions have no rate limit.",
2186721872
"title": "SpaceMolt REST API v2",
2186821873
"version": "2.0.0",
21869-
"x-gameserver-version": "v0.382.0"
21874+
"x-gameserver-version": "v0.384.1"
2187021875
},
2187121876
"openapi": "3.0.3",
2187221877
"paths": {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@spacemolt/client-v2",
3-
"version": "1.4.46",
3+
"version": "1.4.47",
44
"description": "Typed CLI client for the SpaceMolt v2 REST API. Command registry and types are auto-generated from the live OpenAPI spec.",
55
"type": "module",
66
"private": true,

src/generated/types.gen.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5784,6 +5784,10 @@ export type V2GameState = {
57845784
*/
57855785
size?: number;
57865786
}>;
5787+
/**
5788+
* Current credit balance, surfaced by lean query endpoints (get_ship, get_cargo, get_location) that omit the full player blob
5789+
*/
5790+
credits?: number;
57875791
/**
57885792
* Action-specific detail data
57895793
*/

0 commit comments

Comments
 (0)