@genex-ai/cli-demo 1.5.1-dev.390 → 1.5.1-dev.392

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@genex-ai/cli-demo",
3
- "version": "1.5.1-dev.390",
3
+ "version": "1.5.1-dev.392",
4
4
  "description": "Set up your project's agent workspace (.claude/.codex/.cursor in the game folder), authorize, create a game project, generate AI assets, and publish (genex CLI).",
5
5
  "type": "module",
6
6
  "bin": {
@@ -150,6 +150,16 @@ Render `name`, `iconUrl`, `priceCoins` **and** `priceDisplayUsdCents`. Never
150
150
  hardcode a price: the server charges what its own catalog says, so a hardcoded
151
151
  number can silently disagree with what the player is charged.
152
152
 
153
+ `getShop()` works for a **guest** and inside a **preview** build, so the shop
154
+ window renders for everyone — that is the point of showing it to a signed-out
155
+ player at all. Buying is what needs an account.
156
+
157
+ **Your game cannot read the player's coin balance, and no HUD should show one.**
158
+ The wallet spans every game on the platform, so an untrusted game is not told how
159
+ much a player can spend. Show what you *can* know — what they own, from
160
+ `getEntitlements()` — and let `buy()` report `insufficient_balance` if it comes
161
+ to that.
162
+
153
163
  ### Buying
154
164
 
155
165
  ```ts