@genex-ai/cli-demo 1.36.15 → 1.36.16-dev.1041

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.
@@ -13,11 +13,12 @@ model has to run for the player.
13
13
  ## What the platform does
14
14
 
15
15
  A game hosted on Genex can call a language model from inside the running game
16
- and get back text or JSON. **The player pays and the player approves**: coins
17
- from their Genex wallet, or their own Claude / ChatGPT subscription, chosen on
18
- an approval sheet Genex draws that the game cannot render, skin or bypass.
19
- Either one call at a time, or one standing budget the player approves once and
20
- the game then spends against without another popup. The game holds no provider
16
+ and get back text or JSON. **The player pays and the player approves**: credits
17
+ from their Genex account, billed as each call is used and never past the
18
+ per-call ceiling the game declares, or their own Claude / ChatGPT subscription,
19
+ chosen on an approval sheet Genex draws that the game cannot render, skin or
20
+ bypass. Either one call at a time, or one standing budget the player approves
21
+ once and the game then spends against without another popup. The game holds no provider
21
22
  key, sees no credential, and never talks to a model vendor.
22
23
 
23
24
  That is the whole reason this is a platform feature and not something you wire
@@ -40,9 +41,9 @@ Any of these means a model at PLAY time, however it is phrased:
40
41
  Say this and stop:
41
42
 
42
43
  > A model running while people play is built into the Genex platform — the
43
- > player pays, with Genex coins or their own Claude/ChatGPT subscription, and
44
- > approves it on a Genex sheet; your game just calls `generate()`. Want it
45
- > that way?
44
+ > player pays, with their Genex credits or their own Claude/ChatGPT
45
+ > subscription, and approves it on a Genex sheet; your game just calls
46
+ > `generate()`. Want it that way?
46
47
 
47
48
  Wait for the answer. Do not start building either version first, and do not
48
49
  expand the offer into a pitch — one line, one question.
@@ -64,7 +65,8 @@ expand the offer into a pitch — one line, one question.
64
65
  ask before you do if you have not already.
65
66
  3. Load `$genex-llm-in-games` — it arrives with the conversion and owns the
66
67
  build: the SDK surface, one-time calls versus a standing budget, measuring
67
- the price before the game declares it, and honest handling of every refusal.
68
+ the per-call ceiling before the game declares it, and honest handling of
69
+ every refusal.
68
70
 
69
71
  **The game has to be a static browser build.** A hosted game is files served
70
72
  from the edge; there is no server of yours inside it. So the familiar pattern —
@@ -38,7 +38,7 @@ update, so update immediately.)
38
38
  Run exactly the command the nudge printed, from the game project root:
39
39
 
40
40
  ```bash
41
- npm i -D @genex-ai/cli-demo@latest # the genex CLI (a dev dependency)
41
+ npm i -D @genex-ai/cli-demo@dev # the genex CLI (a dev dependency)
42
42
  npm i @genex-ai/embed-sdk@latest # identity/saves SDK (ships inside the game)
43
43
  npm i @genex-ai/multiplayer@latest # multiplayer SDK (only if the game uses it)
44
44
  ```