@blazium-games/skills 0.1.29 → 0.1.31

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": "@blazium-games/skills",
3
- "version": "0.1.29",
3
+ "version": "0.1.31",
4
4
  "description": "Agent skills for the Blazium Games platform.",
5
5
  "repository": "https://github.com/blazium-games/games_skill",
6
6
  "license": "MIT",
@@ -32,7 +32,7 @@ Use these instead of browsing the website. Signed-in pages do not have facts the
32
32
 
33
33
  ## Prerequisites
34
34
 
35
- - A Blazium Games account. Sign up at https://blazium.games/signup, or call `initialize` with no token and follow `setup_account` or `sign_in`. A new person uses `create_account`, then `confirm_account` with the email code. An existing person uses `login`, then `confirm_account` when a code is required. Save the first key from `confirm_account` and send it as a bearer. The developer server turns developer mode on. The player server leaves the account a player. A later confirm does not rotate a key that already exists.
35
+ - A Blazium Games account. Sign up at https://blazium.games/signup, or call `initialize` with no token and follow `setup_account` or `sign_in`. A new person uses `create_account`, then `confirm_account` with the email code. An existing person uses `login`, then `confirm_account` when a code is required. The connection becomes logged in only after sign-in succeeds. The first key is returned once. A later connection calls `elevate_session`. Do not set Authorization and do not call the server with Python. The developer server turns developer mode on. The player server leaves the account a player. A later confirm does not rotate a key that already exists.
36
36
  - The `blazium-games` MCP server enabled in Cursor (this plugin ships it in `mcp.json`)
37
37
 
38
38
  ## 1. Connect
@@ -1,6 +1,6 @@
1
1
  # Authentication
2
2
 
3
- The server at `https://mcp.blazium.games/developer` accepts OAuth 2.1 access tokens or MCP API keys, both sent as `Authorization: Bearer <token>`. `https://mcp.blazium.games/mcp` still reaches this server.
3
+ Connect to `https://mcp.blazium.games/developer` or `/player`. `/mcp` still reaches the developer server. No token is required to connect. A pasted client config may contain `Authorization: Bearer`. The agent does not set that header. It calls `elevate_session`. Do not call the server with Python.
4
4
 
5
5
  ## Sign up and sign in with no bearer
6
6
 
@@ -9,7 +9,7 @@ Call `initialize` with no token. `tools/list`, `prompts/list`, and `prompts/get`
9
9
  - New person: follow `setup_account`. Call `create_account`, then `confirm_account` with the email code.
10
10
  - Existing person: follow `sign_in`. Call `login`, then `confirm_account` when the answer is `otp_required`.
11
11
 
12
- Send `accept_legal` and, on the developer server, `accept_developer_terms` only after the human agrees. The developer server turns developer mode on. The player server leaves the account a player. An existing address gets the same answer and is not revealed. `confirm_account` returns that server's first key once (`bgames_mcp_` or `bgames_play_`) and does not return the website session. Save the key and send it as a bearer. A later confirm does not rotate a key that already exists. An authenticator challenge, and choosing or skipping an authenticator, stay on the website. Website signup at https://blazium.games/signup still works.
12
+ Send `accept_legal` and, on the developer server, `accept_developer_terms` only after the human agrees. The developer server turns developer mode on. The player server leaves the account a player. An existing address gets the same answer and is not revealed. `create_account` shows Continue or Generate only when the call has no password. Generate shows a 20-character password. `login` never offers Generate. A password already on either call skips the form. The checkbox "Do not return this password. I will copy it." keeps it out of the agent result. When timezone is omitted, the person gets Enter a timezone or Use this machine. Use this machine is the only time the agent may send the machine's IANA zone. `confirm_account` returns that server's first key once (`bgames_mcp_` or `bgames_play_`) and does not return the website session. The connection becomes logged in only after sign-in succeeds. A later connection calls `elevate_session`. Do not set Authorization. A later confirm does not rotate a key that already exists. An authenticator challenge, and choosing or skipping an authenticator, stay on the website. Website signup at https://blazium.games/signup still works.
13
13
 
14
14
  ## OAuth (recommended)
15
15
 
@@ -2,10 +2,14 @@
2
2
 
3
3
  | Prompt | Arguments | Purpose |
4
4
  |--------|-----------|---------|
5
+ | `setup_account` | none | Create an account, confirm the email code, and save the first key. A later connection calls `elevate_session`. Do not set Authorization |
6
+ | `sign_in` | none | Sign in with a typed password. The connection is logged in only after sign-in succeeds |
5
7
  | `draft_game_page` | `pitch` (required) | Draft a name, one-line tagline, and two-paragraph description from a short pitch |
6
8
  | `improve_game_copy` | `description` (required) | Rewrite an existing store description while keeping the facts |
7
9
  | `analytics_summary` | `uid` (required) | Summarize the week's visitors using `get_game_analytics` |
8
10
  | `bootstrap_game` | `pitch`, `uid` (both optional) | Create or find a store page, read deploy info and builds, and issue rotated deploy keys so an agent can ship from CI |
11
+ | `setup_oauth_app` | `uid` | Register one sign-in application. If the owner must approve, no secret was issued. The person opens `confirm_url`, then retry with the same `idempotency_key` |
12
+ | `review_oauth_apps` | `uid` | Report each sign-in application. Do not create, rotate, or delete on its own |
9
13
 
10
14
  ## `bootstrap_game` steps
11
15
 
@@ -157,9 +157,10 @@ Amounts are integer US cents. Agents pay only from the stored balance, and only
157
157
  | `create_post` | `title`, `status`, `visibility`, `tier_uids` | write | `visibility` is `public` or `tiers` |
158
158
  | `update_post` | `uid` plus the create fields | write | Edit a post |
159
159
  | `delete_post` | `uid` | write | Remove a post |
160
- | `create_account` | `email`, `password` | none | No bearer. Follow the `setup_account` prompt |
161
- | `login` | `email`, `password` | none | No bearer. Follow the `sign_in` prompt |
162
- | `confirm_account` | `email`, `code` | none | Returns the first `bgames_mcp_` key once |
160
+ | `create_account` | `email`, optional `password`, `timezone` | none | Continue or Generate only when password is omitted. Enter a timezone or Use this machine when timezone is omitted |
161
+ | `login` | `email`, optional `password` | none | The person types the password. Generate is not offered. Elevated only after sign-in succeeds |
162
+ | `confirm_account` | `email`, `code` | none | Returns the first `bgames_mcp_` key once and elevates this connection |
163
+ | `elevate_session` | `key` | none | Signs this connection in with a saved key. No Authorization header |
163
164
 
164
165
  Payout tools are not deprecated and need `mcp:write` or `mcp:money`.
165
166
 
@@ -45,7 +45,7 @@ The secret is returned once. Tell the user to store it (CI secret, password mana
45
45
 
46
46
  ## 4. Update consumers
47
47
 
48
- - MCP key: update the `Authorization: Bearer` header in each MCP client config.
48
+ - MCP key: a pasted client config may contain `Authorization: Bearer`. The agent does not set that header. It calls `elevate_session` with the new key.
49
49
  - Deploy key: update `BLAZIUM_ACCESS_TOKEN` and `BLAZIUM_SECRET_KEY` in every CI system, for example with `gh secret set BLAZIUM_ACCESS_TOKEN`.
50
50
 
51
51
  ## Revoking OAuth access
@@ -27,7 +27,7 @@ The player server acts for one player. It sees the account, wallet, and library,
27
27
 
28
28
  ## 2. Check the account
29
29
 
30
- 1. Call `get_account`. If `email_verified` is false, call `request_email_code`, ask the human for the code from their inbox, and call `verify_email`. Downloading and buying need a verified email. If `timezone` is empty and you know the human's IANA timezone, call `set_timezone`. Do not use the timezone of the machine you are running on. If `gate` is not empty, tell the human to finish that step at https://blazium.games/account/finish (accept changed terms, finish setup, or choose about an authenticator app). Never do those steps for them.
30
+ 1. Call `get_account`. If `email_verified` is false, call `request_email_code`, ask the human for the code from their inbox, and call `verify_email`. Downloading and buying need a verified email. If `timezone` is empty, call `set_timezone`. The person chooses Enter a timezone or Use this machine. Use this machine is the only time you send the machine's IANA zone. If `gate` is not empty, tell the human to finish that step at https://blazium.games/account/finish (accept changed terms, finish setup, or choose about an authenticator app). Never do those steps for them.
31
31
  2. Call `get_agent_policy` to see this agent's limit: `unset` (every purchase needs approval), `unlimited`, `monthly`, `yearly`, or `one_time`. Only the human changes it, on the website.
32
32
  3. Call `get_wallet` for the available balance.
33
33
 
@@ -37,7 +37,7 @@ The player server acts for one player. It sees the account, wallet, and library,
37
37
  |---|---|
38
38
  | Buy, donate, or top up | [purchases](../blazium-games-purchases/SKILL.md) |
39
39
  | See what they own | `get_library` |
40
- | Set up payouts or cash out earnings | Only when the human asks. `start_payout_setup` (or `get_payout_dashboard_link` once set up) and give them the Stripe link; never enter their details yourself. `cash_out` with the amount they asked for, from the available earnings in `get_wallet`. Tell them payouts are processed on weekdays from 8:00am to 5:00pm Pacific and that they will get an email |
40
+ | Set up payouts or cash out earnings | Only when the human asks. `start_payout_setup` and `get_payout_dashboard_link` return the Balance page; the human opens Stripe from Set up payouts with Stripe. Never enter their details yourself. `cash_out` waits for the owner, including a player key. The fee is the account's rate from `get_wallet` (8%, 7%, or 6%, plus $0.25). Tell them payouts are processed on weekdays from 8:00am to 5:00pm Pacific and that they will get an email |
41
41
  | Something to play, and they haven't said what | `get_shelf` with `tonight`, `unheard_of` when they want something new, or `browser_playable` when they can't install anything, before a wide `recommend` |
42
42
  | Something to play right now | `recommend` with what they told you (`minutes`, `party_size`, `intent` in their words, `like_uid`, `os`). Give each pick with its `reasons` and `cautions`; don't add reasons of your own. If the results are empty, relay the `hint` and ask for one more constraint |
43
43
  | Why a game was or wasn't suggested | `why_this` with the same inputs; its `blockers` say what kept it out |
@@ -75,5 +75,6 @@ The player server acts for one player. It sees the account, wallet, and library,
75
75
 
76
76
  ## References
77
77
 
78
+ - [Prompts](./references/prompts.md)
78
79
  - [Tools](./references/tools.md)
79
80
  - https://docs.blazium.games/docs/mcp/player
@@ -0,0 +1,6 @@
1
+ # Player MCP prompts
2
+
3
+ | Prompt | Arguments | Purpose |
4
+ |--------|-----------|---------|
5
+ | `setup_account` | none | Create an account, confirm the email code, and save the first key. A later connection calls `elevate_session`. Do not set Authorization |
6
+ | `sign_in` | none | Sign in with a typed password. The connection is logged in only after sign-in succeeds |
@@ -31,9 +31,10 @@ Server: `https://mcp.blazium.games/player`. Scopes: `player:read`, `player:write
31
31
  | `get_payout_dashboard_link` | buy | One-time Stripe Express dashboard link for the human (`4095` until setup has started) |
32
32
  | `cash_out` | buy | Cash out available earnings (`amount_cents`, at least 2500) to the human's own payout account. No approval; the owner is emailed. Payouts are processed on weekdays from 8:00am to 5:00pm Pacific. `4021` not enough available, `4057` below the minimum |
33
33
  | `get_patron_status` | read | The caller's patron memberships: tier, billing, status, period end, and whether the 12 hour check is open. No card data |
34
- | `create_account` | none | No bearer. Follow the `setup_account` prompt. Does not turn on developer mode |
35
- | `login` | none | No bearer. Follow the `sign_in` prompt |
36
- | `confirm_account` | none | Returns the first `bgames_play_` key once |
34
+ | `create_account` | none | Continue or Generate only when password is omitted. Does not turn on developer mode |
35
+ | `login` | none | The person types the password. Generate is not offered |
36
+ | `confirm_account` | none | Returns the first `bgames_play_` key once and elevates this connection |
37
+ | `elevate_session` | none | Signs this connection in with a saved `bgames_play_` key. No Authorization header |
37
38
  | `search_catalog` | read | Search public games, tools, mods, and assets by text, genres, tags (including community tags), tone, session length, network mode, players, platform, engine and version, renderer, license, made-with label (`authorship`), and `ai_uses`. Several values in one filter match any of them; `exclude_types`, `exclude_genres`, `exclude_tone`, `exclude_tags`, `exclude_warnings`, and `exclude_ai_uses` leave listings out. Adult listings only appear if the human turned on adult content |
38
39
  | `list_game_addons` | read | Mods and plugins, or tools and applications, made for a game (`kind`: `mods`, `tools`, or empty for both); `same_creator` marks the developer's own |
39
40
  | `suggest_tag` | write | Suggest a tag for a game the human owns and played for an hour (`4237` before that), or `remove` it; up to 5 per game. Without `tag`, returns their suggestions. Only suggest tags the human chose |
@@ -98,7 +98,7 @@ Top-ups add a processing fee (shown by `get_payment_options`). Credit can be spe
98
98
  ## Rules to tell the human when relevant
99
99
 
100
100
  - Refunds are only through support@blazium.games: purchases within 7 days and before 2 hours of play. Donations are not refundable.
101
- - With `player:buy` you can set up payouts (`start_payout_setup`, `get_payout_dashboard_link`; the human opens the Stripe link) and cash out available earnings (`cash_out`, $25 minimum) without approval. Money only goes to the account's own payout account, the owner is emailed after each cash-out, and payouts are processed on weekdays from 8:00am to 5:00pm Pacific.
101
+ - With `player:buy` you can send the human to Balance (`start_payout_setup` and `get_payout_dashboard_link` return that page; the human opens Stripe from Set up payouts with Stripe). `cash_out` of available earnings ($25 minimum) waits for the owner, including a player key. The fee is the account's rate from `get_wallet` (8%, 7%, or 6%, plus $0.25). Money only goes to the Express account on that same account, the owner is emailed after each cash-out, and payouts are processed on weekdays from 8:00am to 5:00pm Pacific.
102
102
 
103
103
  ## Docs
104
104