@genex-ai/cli-demo 1.31.0 → 1.31.1
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.31.
|
|
3
|
+
"version": "1.31.1",
|
|
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": {
|
|
@@ -338,9 +338,12 @@ text/JSON data, not meshes or images. Validate the data before using it and neve
|
|
|
338
338
|
execute generated code. Creature appearance or narrative may vary; keep gameplay
|
|
339
339
|
stats and rewards governed by game rules rather than a paid random rarity roll.
|
|
340
340
|
|
|
341
|
-
`allowExternal: true` offers configured personal
|
|
342
|
-
|
|
343
|
-
|
|
341
|
+
`allowExternal: true` offers the configured personal plan matching the selected
|
|
342
|
+
model beside coins: Claude for Claude models, ChatGPT for ChatGPT models, and
|
|
343
|
+
neither for other model families. The choice belongs only in the trusted Genex approval modal;
|
|
344
|
+
never add a "Your Plan" row to the game's model picker. Each uses the player's
|
|
345
|
+
own account and plan limits for zero coin, with no paid fallback. Genex freezes
|
|
346
|
+
the matching choices and gives connector
|
|
344
347
|
instructions; never collect subscription tokens. `source: 'external'` and
|
|
345
348
|
`modelProvenance: 'unverified'` mean user-supplied output, not proof of a model
|
|
346
349
|
or authority for rewards. Omit `allowExternal` to disable optional personal choices.
|
|
@@ -417,9 +420,11 @@ The trusted UI sends the exact policy acknowledgement. Backend validation and
|
|
|
417
420
|
staging remain required before delivery; the browser cannot submit costs or
|
|
418
421
|
settle a bill.
|
|
419
422
|
|
|
420
|
-
The
|
|
421
|
-
and
|
|
422
|
-
|
|
423
|
+
The public workflow catalog contains API/model rows, including the designated
|
|
424
|
+
`google/gemini-3.8-flash` and `z-ai/glm-5.3-flash` offerings at **0 coins**.
|
|
425
|
+
Personal Claude/ChatGPT funding in the Genex modal also costs **0 coins**, but is
|
|
426
|
+
not an in-game model option. Do not infer free status from a low price or a client
|
|
427
|
+
flag. Personal choices use the player's own account
|
|
423
428
|
through the provider-specific connector shown by Genex: `/player/mcp` for Claude,
|
|
424
429
|
`/player/chatgpt/mcp` for ChatGPT. Account/plan limits apply; ChatGPT connector
|
|
425
430
|
availability also depends on workspace policy. Genex gives the stage-by-stage
|
|
@@ -427,7 +432,8 @@ instructions and keeps them open when the SDK returns approval. One external
|
|
|
427
432
|
request may be active per player. Never collect subscription tokens, use the
|
|
428
433
|
creator's subscription on a player's behalf, or silently switch to paid API
|
|
429
434
|
work. Outputs remain user-supplied and must pass the registered backend's
|
|
430
|
-
validation before delivery.
|
|
435
|
+
validation before delivery. Both APIs restrict personal funding to the selected
|
|
436
|
+
model's provider; already-approved personal requests keep their connector for recovery.
|
|
431
437
|
|
|
432
438
|
Persist the exact input, offering, idempotency key and generation ID through
|
|
433
439
|
sign-in, cancellation and reload; never store the embed token. Recovery reads
|
|
@@ -171,6 +171,8 @@ Registered workflows require an existing trusted, operator-registered executor:
|
|
|
171
171
|
- `getWorkflowOfferings(workflowId)` supplies model, bundle, availability,
|
|
172
172
|
suggested prices and frozen operator tariff. Calibrate the game's fixed price
|
|
173
173
|
with development benchmarks, then show coin and USD beside the selected option.
|
|
174
|
+
Its public offerings contain API/model rows, including sponsored free models;
|
|
175
|
+
personal plan funding appears only in the trusted Genex approval modal.
|
|
174
176
|
- `requestWorkflow({ workflowId, offeringId, input, estimateCoins, allowExternal?,
|
|
175
177
|
idempotencyKey?, timeoutMs? })` returns **approval**, not completion. Call from
|
|
176
178
|
the click, then send its generation ID, exact input and fresh `getEmbedToken()`
|
|
@@ -183,10 +185,13 @@ Registered workflows require an existing trusted, operator-registered executor:
|
|
|
183
185
|
Only the selected model runs. The trusted executor validates staged artifacts;
|
|
184
186
|
the browser cannot submit costs, settle a bill or claim delivery.
|
|
185
187
|
|
|
186
|
-
Both APIs with `allowExternal: true` can offer
|
|
187
|
-
Claude
|
|
188
|
-
|
|
189
|
-
|
|
188
|
+
Both APIs with `allowExternal: true` can offer a configured personal plan beside
|
|
189
|
+
coins: Claude for Claude models, ChatGPT for ChatGPT models, and neither for
|
|
190
|
+
other model families. Keep this choice in the trusted Genex approval modal; never
|
|
191
|
+
render a "Your Plan" entry in the game's model picker. Each costs zero, uses that
|
|
192
|
+
player's own plan limits and never falls back to paid work. Approved personal
|
|
193
|
+
requests retain their connector for recovery; historical personal-only offerings
|
|
194
|
+
cannot become free coin execution. Submitted results are `source: 'external'` and
|
|
190
195
|
`modelProvenance: 'unverified'`; never treat them as authority for rewards.
|
|
191
196
|
Genex handles connector setup; games never collect subscription credentials.
|
|
192
197
|
|