@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.
- package/dist/{blender-mcp-QVEGHE5L.js → blender-mcp-WSURPZET.js} +2 -2
- package/dist/{blender-serve-66OHC4ML.js → blender-serve-EH2MOW3U.js} +1 -1
- package/dist/{chunk-4BBTPRJW.js → chunk-EABIVAGT.js} +2 -2
- package/dist/{chunk-QI7FIYBY.js → chunk-K4EHXOZK.js} +1 -1
- package/dist/index.js +489 -239
- package/package.json +1 -1
- package/templates/skills/genex-game-director/SKILL.md +3 -3
- package/templates/skills/genex-getting-started/SKILL.md +2 -2
- package/templates/skills/genex-items/SKILL.md +27 -10
- package/templates/skills/genex-llm-in-games/SKILL.md +210 -73
- package/templates/skills/genex-llm-in-games/references/pricing.md +126 -85
- package/templates/skills/genex-monetization/SKILL.md +114 -86
- package/templates/skills/genex-tool-llm/SKILL.md +11 -9
- package/templates/skills/genex-updates/SKILL.md +1 -1
|
@@ -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**:
|
|
17
|
-
from their Genex
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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
|
|
44
|
-
> approves it on a Genex sheet; your game just calls
|
|
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
|
|
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@
|
|
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
|
```
|