@stage5/lumine 0.3.39 → 0.3.40

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.
Files changed (2) hide show
  1. package/lib/sdk.js +13 -0
  2. package/package.json +1 -1
package/lib/sdk.js CHANGED
@@ -130,6 +130,19 @@ export const SDK_CLI_METHODS = {
130
130
  },
131
131
  "sharedDb.kv.setMany": { path: "api/shared-db/kv/set", scopes: ["sharedDb:write"], write: true },
132
132
  "sharedDb.kv.remove": { path: "api/shared-db/kv/delete", scopes: ["sharedDb:write"], write: true },
133
+ // Infinity Craft reads. merge is the player's own (it spends their Energy)
134
+ // and hint only peeks from a CLI login: a reveal gives up today's par bonus.
135
+ "craft.getState": { path: "api/craft/state", scopes: ["craft:read"] },
136
+ "craft.list": { path: "api/craft/list", scopes: ["craft:read"] },
137
+ "craft.item": { path: "api/craft/item", scopes: ["craft:read"] },
138
+ "craft.journey": { path: "api/craft/journey", scopes: ["craft:read"] },
139
+ "craft.rankings": { path: "api/craft/rankings", scopes: ["craft:read"] },
140
+ "craft.hint": {
141
+ path: "api/craft/hint",
142
+ scopes: ["craft:read"],
143
+ readOnly: true,
144
+ mapArgs: () => ({ peek: true }),
145
+ },
133
146
  "chat.listRooms": { path: "api/chat/rooms/list", scopes: ["chat:read"] },
134
147
  "chat.createRoom": { path: "api/chat/rooms/create", scopes: ["chat:write"], write: true },
135
148
  "chat.listMessages": { path: "api/chat/messages/list", scopes: ["chat:read"] },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stage5/lumine",
3
- "version": "0.3.39",
3
+ "version": "0.3.40",
4
4
  "description": "Command line tools for launching Lumine builds on Twinkle.",
5
5
  "type": "module",
6
6
  "bin": {