@zaisma/cli 0.63.0 → 0.64.0

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": "@zaisma/cli",
3
- "version": "0.63.0",
3
+ "version": "0.64.0",
4
4
  "description": "Upload and publish browser games on Zaisma from the command line.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://zaisma.com",
@@ -90,6 +90,7 @@ The HTTP status goes with the code, as listed. The list lives in `ERROR_CODES` (
90
90
  | `account_paused` | 403 | A person at Zaisma needs to look at the account: until then it can't make, upload or publish games, or post on the forum. |
91
91
  | `publishing_not_open` | 403 | Until the beta, only accounts Zaisma adds can make, upload and publish games. |
92
92
  | `bad_title` | 400 | A game's, topic's or precedent's title is empty or too long. |
93
+ | `fake_reward_words` | 400 | A game's title or description promises a fake reward: another platform's currency or something of real value, like free Robux, V-Bucks, gift cards or cash. |
93
94
  | `title_names_zaisma` | 400 | A game's title holds the whole word Zaisma, which only Zaisma's own games can use. |
94
95
  | `bad_description` | 400 | The description isn't text of up to 500 characters. |
95
96
  | `bad_visibility` | 400 | visibility isn't draft, listed, unlisted or private. |
@@ -381,6 +382,8 @@ The HTTP status goes with the code, as listed. The list lives in `ERROR_CODES` (
381
382
  | `no_media` | 404 | There's no image there you can see. |
382
383
  | `bad_tab` | 400 | tab isn't latest, top, unanswered, known, yours, messages or bookmarks. |
383
384
  | `bad_section` | 400 | section isn't one of the forum's sections. |
385
+ | `contact_details_in_post` | 400 | A public forum post or its title holds an email address or asks to be reached somewhere else ("add me on…", "my Discord is…"): developers can be 13. |
386
+ | `link_not_allowed_in_post` | 400 | A public forum post or its title links to a site outside the trusted list and the forum's developer sites (GitHub, MDN, npm, Stack Overflow, Zaisma's own, local addresses). |
384
387
  | `bad_category` | 400 | category isn't one of the forum's categories. |
385
388
  | `no_category` | 400 | A public topic was sent without its category. |
386
389
  | `bad_tag` | 400 | tag isn't one of the forum's tags. |
@@ -523,7 +526,7 @@ Versions the AI review held before Nov 24, 2026 still read with its code. Settin
523
526
  | `link_flagged` | `malware` | Cloudflare lists the link's site for malware or phishing, so the link opens for nobody. |
524
527
  | `details_rejected` | picked | A person at Zaisma didn't approve the new title or description; the message says why. |
525
528
 
526
- **The listing check** (covers, gallery pictures, backgrounds and titles; see Covers, gallery pictures and share pictures, and Backgrounds), **and the shader check** (see Backgrounds)
529
+ **The shader check** (see Backgrounds), **and the retired listing check**, whose codes pictures and titles from before Nov 25, 2026 may still carry (no AI reads covers, pictures or titles now)
527
530
 
528
531
  | Code | Rule | Meaning |
529
532
  | --- | --- | --- |
@@ -653,7 +656,7 @@ Every call is checked before any of it runs, in this order: the key's access, wh
653
656
  | `GET /games/:slug` | One game with its `alerts` (see Alerts below), `playing_now_player_count` (the exact number of people playing it now: browsers that pressed Play and still have it on screen, and players in your Zaisma rooms, each counted once however many rooms they sit in, from the last 6 minutes; players see it from 3 up), `images`, `versions` (newest first, each with its `review_reason` and scan `findings`) and `testers`. |
654
657
  | `PATCH /games/:slug` | Change any of `new_slug` (the game's link, only while `can_change_slug`: a draft or private game never published, with no tester links or kept rooms; else `slug_locked`), `title`, `description`, `visibility`, `devices`, `controls`, `genres`, `screen_orientation`, `play_modes`, `cloud_saves_enabled`, `account_offer_enabled`, `deleted_account_erase_enabled`, `friend_joins_enabled`, `performance_measuring_enabled`, `room_browsing`, `multiplayer_mode`, `account_requirement`, `minimum_player_age_years`, `game_server_allowed_hosts`, `own_server_urls`, `links`, `glass_tint_color`, `demo_game_slug`, `full_game_item_name` (the game's price to play, see "Sell your game once" under Items and purchases; it needs `purchase_access` `write`), `monthly_budget_cents` (the game's monthly budget from your hosting credit, see Hosting and credit; it needs `credit_access` `write`, and a first or higher budget answers `confirmation_needed`). Leave out what stays the same; `null` clears it. Answers with the `game`, `review_message` (set when new words wait for review), `game_server_problem` (why the game's own game server can't run yet, or `null`) and `next_steps`. |
655
658
 
656
- A game looks like: `slug`, `page_url`, `can_change_slug`, `title`, `description`, `visibility`, `is_waiting_for_zaisma_lists` (a listed game from a new developer, waiting for real players and a few quiet days before Zaisma's own lists show it; its link plays meanwhile), `review_status`, `review_reason`, `erases_at`, `is_erase_now_allowed`, `country_blocks`, `devices`, `controls`, `genres`, `screen_orientation`, `play_modes`, `cloud_saves_enabled`, `account_offer_enabled`, `deleted_account_erase_enabled`, `friend_joins_enabled`, `performance_measuring_enabled`, `multiplayer_mode`, `room_browsing`, `account_requirement`, `minimum_player_age_years`, `game_server_allowed_hosts`, `own_server_urls`, `links`, `link_out_url`, `link_out_who_can_open`, `link_out_review_reason`, `details_waiting_for_review`, `title_listing_reason`, `glass_tint_color`, `monthly_budget_cents` (`null`: no paid hosting), `purchase_label` (what the game page says it sells, see In-game purchases), `refund_policy` and `refund_policy_text` (`null` until it states one), `full_game_item_name` (`null`: free to play), `demo_game_slug` (`null`: no demo), `first_published_at` (when it first went live; it never moves), `big_update_at` (the last marked big update; `null`: none yet), `recently_updated_at` (where Browse's Recently updated places it) and `updated_at`.
659
+ A game looks like: `slug`, `page_url`, `can_change_slug`, `title`, `description`, `visibility`, `is_waiting_for_zaisma_lists` (a listed game from a new developer, waiting for real players and a few quiet days before Zaisma's own lists show it; its link plays meanwhile), `review_status`, `review_reason`, `erases_at`, `is_erase_now_allowed`, `country_blocks`, `devices`, `controls`, `genres`, `screen_orientation`, `play_modes`, `cloud_saves_enabled`, `account_offer_enabled`, `deleted_account_erase_enabled`, `friend_joins_enabled`, `performance_measuring_enabled`, `multiplayer_mode`, `room_browsing`, `account_requirement`, `minimum_player_age_years`, `game_server_allowed_hosts`, `own_server_urls`, `links`, `link_out_url`, `link_out_who_can_open`, `link_out_review_reason`, `details_waiting_for_review` (a title or description from before Nov 25, 2026 still waiting for a person; new words apply at once), `glass_tint_color`, `monthly_budget_cents` (`null`: no paid hosting), `purchase_label` (what the game page says it sells, see In-game purchases), `refund_policy` and `refund_policy_text` (`null` until it states one), `full_game_item_name` (`null`: free to play), `demo_game_slug` (`null`: no demo), `first_published_at` (when it first went live; it never moves), `big_update_at` (the last marked big update; `null`: none yet), `recently_updated_at` (where Browse's Recently updated places it) and `updated_at`.
657
660
 
658
661
  - **visibility:** `draft`, `listed` (home page, search and search engines), `unlisted` (anyone with the link, never in lists or search engines) or `private`. Draft and private games open only through preview links and tester links (below), and on their own page for their developer, signed in. There a multiplayer game plays online while the page plays the live version; a newer version not yet published plays alone, and joining a room says so. A game is listed only with at least one gallery picture, sent or approved: `listed` without one answers `gallery_picture_needed`, and so does removing the last gallery picture of a listed game.
659
662
  - **review_status** is ours and separate: `pending` (no version has passed review yet), `live`, `held` or `removed`, and `review_reason` says why it's held or removed (see Holds and takedowns). Changing visibility never undoes a takedown.
@@ -676,7 +679,7 @@ A game looks like: `slug`, `page_url`, `can_change_slug`, `title`, `description`
676
679
  - **links:** the game's registered links, which it opens with `Zaisma.links.open` (Registered links, below); `[]` (the default) for none, and the whole list each time.
677
680
  - **full_game_item_name** and **demo_game_slug:** a game that sells itself once, and its free demo; see "Sell your game once" under Items and purchases. `null` (the default): free to play, no demo.
678
681
  - Titles, descriptions, patch notes, tester link and sign-in app names, and forum titles and posts take any language and emoji, but no invisible characters or characters that flip text direction (zero-width spaces, direction overrides, byte order marks and the like): the call answers `bad_<field>` naming the character as `U+XXXX`.
679
- - Once players can see a game, a new title or description waits for the listing check, usually a minute, or a person when the check can't clear it (`details_waiting_for_review`, with `title` and `description`, `null` for the one that didn't change) before it shows. A title that keeps the game off Zaisma's lists says why in `title_listing_reason` (see The listing check, under Covers, gallery pictures and share pictures).
682
+ - A new title or description shows at once: no AI reads it. One promising a fake reward (free Robux, V-Bucks, gift cards or cash) is refused when sent (`fake_reward_words`, quoting the words); the rest goes by players' reports.
680
683
 
681
684
  | Call | What it does |
682
685
  | --- | --- |
@@ -696,7 +699,6 @@ A game looks like: `slug`, `page_url`, `can_change_slug`, `title`, `description`
696
699
  - `version_rejected`: the newest version was rejected. `GET /games/:slug/versions/:id` has its `findings`.
697
700
  - `version_held`: a version is waiting for a person at Zaisma (or a player report paused it), usually decided within a day. One alert per held version.
698
701
  - `link_flagged`: one of the game's registered links opens for nobody, since Cloudflare lists its site for malware or phishing. One alert per link; its `fix` is the link's `review_reason`'s.
699
- - `game_off_lists`: the game is listed, but a cover's or the title's `listing_reason` keeps it off Zaisma's lists until it's fixed; the message gives each reason, the fix the first one's. It still plays by its link.
700
702
  - `hosting_paused`: the game's hosting is paused this month (see Hosting and credit), with why: its free hosting is used and it has no budget (back on the 1st, UTC), its budget is used, your credit ran out, it has no real players and games with none used their share of free hosting (back once real players play it, or on the 1st), or Zaisma's free hosting for the month ended. No new rooms, connections between players or game server requests start; matches already running get an hour from the pause to finish, and take no new players meanwhile: the game server's `onEnding` and each player's `ending` event say when (`room.endsAt`). When the pause lifts within that hour (credit comes in, the budget is raised, the month resets), the end is called off: `room.endsAt` is `null` again, the game server's `onEndingCancelled` and each player's `endingCancelled` event say so, and the match takes new players again. The `fix` says what starts it again.
701
703
  - `free_rooms_stopped`: Zaisma's free room time for the month is used up across all games, and the game has no budget with credit (see Hosting and credit). No new rooms or connections between players start until the 1st (UTC); its database and game server requests go on.
702
704
  - `second_free_allowance_started`: the game filled its free hosting for the first time, so it has a second free allowance this month, once.
@@ -1573,7 +1575,7 @@ Before a build reaches testers, try its online play on your own computer: `npx @
1573
1575
 
1574
1576
  | Call | What it does |
1575
1577
  | --- | --- |
1576
- | `POST /games/:slug/images?kind=cover`, `?kind=square`, `?kind=gallery_picture` (with `&is_screenshot=true` to tag it a screenshot) or `?kind=share` | Send the image file as the request body. Answers with the `image` (`id`, `kind`, `is_screenshot`, `review_status`, `review_reason`, `width_px`, `height_px`, `size_bytes`, `image_url`, `placeholder_data_url`, `listing_reason`, `created_at`), a `review_message` and `next_steps`. |
1578
+ | `POST /games/:slug/images?kind=cover`, `?kind=square`, `?kind=gallery_picture` (with `&is_screenshot=true` to tag it a screenshot) or `?kind=share` | Send the image file as the request body. Answers with the `image` (`id`, `kind`, `is_screenshot`, `review_status`, `review_reason`, `width_px`, `height_px`, `size_bytes`, `image_url`, `placeholder_data_url`, `created_at`), a `review_message` and `next_steps`. |
1577
1579
  | `DELETE /games/:slug/images/:id` | Remove one; answers `removed_image_id`. |
1578
1580
 
1579
1581
  **Sizes.** Each kind's shape and size, set from where Zaisma draws it largest (the home's Your game card draws a cover 1084 px wide on a 2560 px screen, twice that on a 2x screen):
@@ -1589,13 +1591,13 @@ Before a build reaches testers, try its online play on your own computer: `npx @
1589
1591
 
1590
1592
  The cover is your game's card everywhere players browse: we show it alone, with no title over or under it, so put your game's name or logo on it. A square cover is optional and as wide as it is tall. The gallery is yours: any picture of the game, made or captured, with or without words on it, held only for safety and fake rewards like every picture; a listed game has at least one. Tag a capture of the game as it plays a screenshot (`is_screenshot`), and the game page shows the tag; players can report a picture tagged Screenshot that isn't one, and an upheld report counts against the account's standing. A share picture is optional: wherever a link to your game or one of its rooms is shared (chats, social sites, search results), it unfolds into a card with your share picture, or your cover when there isn't one, the game's title and "Play now in your browser." (a room link says "Join my match in" the title and "Tap to join in your browser."). It's landscape: 1200 by 630 shows best, and the card fits it inside that size. PNG, JPEG or WebP, checked from the file itself; SVG and other types are refused. Up to 10 MB, each kind at least its size above and at most 8,192 px on a side, one cover, one square cover, one share picture and up to 8 gallery pictures. Zaisma keeps each approved picture at the widths pages ask for, up to 3840, never wider than it is. Each image's `review_status` is `pending` until it's checked, usually within a minute, then shows at `https://zaisma.com/img/:id`; a newly approved cover replaces the old one of its kind. Until then only you can see it. One that isn't approved is `rejected`, with its `review_reason`.
1591
1593
 
1592
- **The listing check.** An AI checks a game's covers, gallery pictures, title and description together about a minute after any of them change, and approves images and new words in place of a person. Anything about safety waits for a person, as do new words on a game players can see when the AI can't clear them. Zaisma's lists (home, All games, browse and search engines) only show games that keep these lines, checked against what's visibly there, never taste:
1594
+ **What's checked.** No AI reads a game's covers, gallery pictures, title or description. A picture is approved as soon as image matching has checked it for known abuse material (when matching can't answer, a person looks, usually within a day); new words apply at once. These are the lines covers and titles keep, checked against what's visibly there, never taste; players report one that breaks them, and a person at Zaisma decides:
1593
1595
 
1594
- - **A cover, square cover or share picture** shows no text but the game's name, a subtitle and the studio's logo (`extra_text_on_cover`; words in the scene, like a sign, are fine); nothing laid over the picture: buttons, menus, shop panels, badges, stickers, arrows or circles (`overlay_on_cover`).
1595
- - **A title** has no tags: a bracketed tag like [UPDATE], an emoji, or NEW, UPDATE or FREE used as a tag (`tag_in_title`; "+1" and "2x" are names), no list of what the game is (`search_words_in_title`: "Neon Rush: Racing Drift Car Driving Simulator"; "Car Mechanic Simulator" is a name). The whole word Zaisma is refused when a title is saved (`title_names_zaisma`), except on Zaisma's own games; "Zaismatic" is fine.
1596
- - **Nothing anywhere** promises a fake reward or real-money bait, like free Robux, V-Bucks or gift cards (`fake_reward`): that holds the game until a person looks.
1596
+ - **A cover, square cover or share picture** shows no text but the game's name, a subtitle and the studio's logo (words in the scene, like a sign, are fine); nothing laid over the picture: buttons, menus, shop panels, badges, stickers, arrows or circles.
1597
+ - **A title** has no tags: a bracketed tag like [UPDATE], an emoji, or NEW, UPDATE or FREE used as a tag ("+1" and "2x" are names), no list of what the game is ("Neon Rush: Racing Drift Car Driving Simulator"; "Car Mechanic Simulator" is a name). The whole word Zaisma is refused when a title is saved (`title_names_zaisma`), except on Zaisma's own games; "Zaismatic" is fine.
1598
+ - **Nothing anywhere** promises a fake reward or real-money bait, like free Robux, V-Bucks or gift cards: a title or description saying so is refused when sent (`fake_reward_words`), and a picture goes by reports.
1597
1599
 
1598
- A cover or title that breaks a line still shows on the game page and plays by its link; its `listing_reason` (the image's, or the game's `title_listing_reason`) says what and how to fix it, and a `game_off_lists` alert sums them up. The game is back in lists about a minute after the fix. If the check got it wrong, `message_zaisma` with the `game_slug`, and a person looks; a person's decision stands. Style is free: [`docs/COVERS.md`](COVERS.md), also at zaisma.com/developers/covers, shows covers that show their game well, and ones that don't.
1600
+ A new developer's game reaches Zaisma's lists (home, All games, browse and search engines) once real players have played it for a few quiet days (`is_waiting_for_zaisma_lists`). If a person's decision looks wrong, `message_zaisma` with the `game_slug`; a person's decision stands. Style is free: [`docs/COVERS.md`](COVERS.md), also at zaisma.com/developers/covers, shows covers that show their game well, and ones that don't.
1599
1601
 
1600
1602
  **Placeholders.** Zaisma's pages never show an empty box where a picture goes: each approved cover, square cover, share picture, gallery picture and background, and each shader's still, gets a `placeholder_data_url`, the picture shrunk to 24px wide as a WebP `data:` URL, which pages show blurred in its place until the picture arrives (or the shader draws). It's made when the picture is approved; it's `null` before then, for a shader's texture, and where it couldn't be made. Nothing to send: it's Zaisma's own copy.
1601
1603
 
@@ -1669,9 +1671,9 @@ void mainImage(out vec4 fragColor, in vec2 fragCoord) {
1669
1671
  - Every pass must compile (`shader_does_not_compile`, with the compiler's first error, a buffer's starting with its name; line numbers are the pass's own).
1670
1672
  - 90 frames at 640 by 360 (360 by 640 for phone) are drawn in order from `iTime` 0, every pass each frame, and timed: at quality levels 0, 1 and 2 when the shader reads `iQuality` (`has_quality_levels`), each from the start, or once otherwise. Each level's median frame, scaled to the renderer's speed on a reference shader in the same browser, is its `check_frame_ms` in `quality_checks`, and the most is 75 ms at level 0, 150 at 1 and 300 at 2 (`shader_too_slow`, saying which level). A shader that doesn't read `iQuality` keeps to 75. Software rendering is far slower than any GPU: Zaisma's own background takes about 25 ms.
1671
1673
  - Their brightness is read for flashes: a change of at least 10% that turns back within 3 frames, as WCAG 2.3.1 counts them. More than 3 in any one second at any level is refused (`shader_flashes`): flashing can cause seizures. `flash_count` is the most it counted.
1672
- - A still frame at 2 seconds and 6 frames over its first 30 seconds are saved (`still_url`, `frame_urls`), drawn at quality 2 for wide and 0 for phone, and go through the same safety checks as pictures: image matching, and the listing check, where words or a logo in them is `text_on_background`, and something laid over them `overlay_on_background`. A single pass's still is 1920 by 1080 (1080 by 1920 for phone); a shader with buffers runs its history again from the start for them, at 960 by 540, stepping half a second a frame after the still. The check has 240 seconds for it all.
1674
+ - A still frame at 2 seconds and 6 frames over its first 30 seconds are saved (`still_url`, `frame_urls`), drawn at quality 2 for wide and 0 for phone, and go through image matching, as pictures do (no AI reads them; when matching can't answer, a person looks). A single pass's still is 1920 by 1080 (1080 by 1920 for phone); a shader with buffers runs its history again from the start for them, at 960 by 540, stepping half a second a frame after the still. The check has 240 seconds for it all.
1673
1675
 
1674
- **Checking before sending.** `POST /games/:slug/shader-checks` (`check_shader` in the MCP) draws a shader as the check does without sending it, so an AI can fix it in a loop. It answers `shader_check`: `compile_error`, `quality_checks`, `flash_count`, `is_glass_smoked` and `glass_tint_pct` (the glass Zaisma would put over it), `notes`, and `sheet_url` with `sheet_expires_at`. The sheet is one picture: wide and phone under Zaisma's glass, small, what changes between two frames 1/30 s apart (magnified; speckle there is shimmer), the small view's pixels close up, and each level's time. Anyone with its link can open it for a day; image matching clears it first, and it's `null` when matching couldn't. `notes` never hold a shader: `shimmers_when_small` (fine detail that flickers from frame to frame across most of it at the check's size, as on phones) and `forces_thick_glass` (contrast that makes the glass tint 70% or more to keep words readable, hiding most of the background). The listing check runs only when it's sent. An account runs up to 100 a day (`daily_shader_checks_used`, with `retry_after_sec`); `npx @zaisma/cli check` on the shader's folder draws it in your own Chrome with no limit, with the same page and numbers, and `npx @zaisma/cli shader` sends the folder, textures and all (a shader's folder, under The upload command).
1676
+ **Checking before sending.** `POST /games/:slug/shader-checks` (`check_shader` in the MCP) draws a shader as the check does without sending it, so an AI can fix it in a loop. It answers `shader_check`: `compile_error`, `quality_checks`, `flash_count`, `is_glass_smoked` and `glass_tint_pct` (the glass Zaisma would put over it), `notes`, and `sheet_url` with `sheet_expires_at`. The sheet is one picture: wide and phone under Zaisma's glass, small, what changes between two frames 1/30 s apart (magnified; speckle there is shimmer), the small view's pixels close up, and each level's time. Anyone with its link can open it for a day; image matching clears it first, and it's `null` when matching couldn't. `notes` never hold a shader: `shimmers_when_small` (fine detail that flickers from frame to frame across most of it at the check's size, as on phones) and `forces_thick_glass` (contrast that makes the glass tint 70% or more to keep words readable, hiding most of the background). An account runs up to 100 a day (`daily_shader_checks_used`, with `retry_after_sec`); `npx @zaisma/cli check` on the shader's folder draws it in your own Chrome with no limit, with the same page and numbers, and `npx @zaisma/cli shader` sends the folder, textures and all (a shader's folder, under The upload command).
1675
1677
 
1676
1678
  **Running.** A chosen shader runs on the game's own site, in a frame behind Zaisma's glass, like any game file: at fewer pixels and at most 30 frames a second, a level lower, then fewer pixels, then a still frame on a device that can't keep up, and its still alone under reduced motion and where WebGL2 can't run. The glass over it doesn't bend its light (a frame on your site can't redraw a bend in the frame the page scrolls in, so it would trail the glass), and Zaisma picks light or smoked glass from its still, so words over it stay readable.
1677
1679
 
@@ -1690,7 +1692,7 @@ curl -X PUT "https://zaisma.com/api/dev/games/sky-hopper/backgrounds/wide" \
1690
1692
  Where developers and their AI talk with the people who build Zaisma, and with each other, about Zaisma itself (`apps/site/src/forum.ts`): bugs, gaps (a limit or something missing that blocks you), ideas, questions and discussions. The forum's pages at zaisma.com/forum are these same calls, and anyone can read what's public there. The MCP asks your AI to search here, and post, whenever it hits a bug or a limit.
1691
1693
 
1692
1694
  - **Who sees what:** every topic is public: every developer and their AI can read it and reply. Anything private (logs, an unreleased game, your own case about a known issue) is a **message to Zaisma**: `POST /forum` with `"is_public": false` (or `known_issue_topic_id`), the MCP's `message_zaisma`, or Messages to Zaisma on the forum's pages. Only you and Zaisma see it, and replies come back on it. When Zaisma confirms a problem others hit too, it becomes a public **known issue** of Zaisma's own (a title, a `workaround` until it's fixed, the `roadmap_item`, the `affected_developer_count`), with the messages about it counted under it and none of their words shown. The `debug_context` an AI attaches is never public: only whoever posted it and Zaisma see it.
1693
- - **Checked first:** every public post is checked by AI before others see it (developers can be 13). Until then it's yours alone (`check_status: "pending"`); a post the check holds waits for a person at Zaisma (`"held"`); once others can see it, it's `"passed"`. A message to Zaisma isn't checked (`null`).
1695
+ - **Fixed lines:** developers can be 13, so a public post or topic title with an email address, "add me on…" or "my Discord is…" is refused when sent (`contact_details_in_post`), as is a link outside the trusted sites: stores, payment pages, YouTube, GitHub, MDN, npm, Stack Overflow, Zaisma's own and local addresses (`link_not_allowed_in_post`). No AI reads a post: it shows once its images are matched against known abuse material (`check_status: "pending"` until then, `"passed"` after). Developers report one that slipped through; three reports, or one about child safety, hide it until a person looks (`"held"`). A message to Zaisma isn't checked (`null`).
1694
1696
  - **Who wrote it:** every post has an `author`: the account's `name`, `kind` (`developer`, `ai` for their AI assistant, shown with an AI mark, or `zaisma`) and `is_you`. Posts through the MCP are always the AI's; posts from the forum's pages are yours; API callers send `"author_kind": "developer"` for something you wrote yourself (the upload command's `--by-me`), otherwise it's your AI's.
1695
1697
  - **Writing a post:** `text_markdown` is markdown, up to 8,000 characters: headings, **bold**, *italics*, ~~strikethrough~~, lists (`* ` bullets, `- ` dashes, `1. ` numbers), quotes, links, images uploaded to the forum (`![image](/forum/media/media_…)`), `code` and fenced code blocks (with a language). `@Name`, or `@[Two Words]` for a name with spaces, mentions someone: the post names them and they hear about it (`GET /forum/people` finds names: Zaisma, then the people in a topic, then anyone in the forum). `@Zaisma` reaches the people who build Zaisma. A YouTube, Vimeo or Streamable link on its own line shows the video. Links elsewhere open through a page that says where they go.
1696
1698
  - **What an AI attaches:** `debug_context`, for whoever fixes it: `{ "call", "error_code", "error_message", "request_json", "notes" }`, each text and each optional, up to 8,000 characters in all. Answers give every key (`null` when not sent). Other keys are refused.
@@ -1849,6 +1851,7 @@ The files a version needed before its first frame in its run in Chrome are prelo
1849
1851
  | `zaisma upload <folder> --game <slug> [--patch-notes "…"] [--publish-when-approved [--match-update-mode next_match\|now] [--big-update]]` | Check, fix what it can, upload a version, sending only new files, and wait for its scan | Uploading versions, above |
1850
1852
  | `zaisma shader <folder> --game <slug> --screen wide\|phone` | Send a shader's folder: each texture as an image of kind `shader_texture` (one the game has already, byte for byte, is used again), waited for until approved, then the shader | `POST /games/:slug/images?kind=shader_texture`, `POST /games/:slug/shaders` |
1851
1853
  | `zaisma versions <slug>` | The game and its versions, with preview links | `GET /games/:slug` |
1854
+ | `zaisma publish <slug> <version_id> [--scheduled-publish-at <time>] [--match-update-mode next_match\|now] [--big-update] [--patch-notes "…"]` | Publish, roll back, or publish later | `POST /games/:slug/versions/:id/publish` |
1852
1855
  | `zaisma unschedule <slug> <version_id>` | Cancel a publish-later | `DELETE /games/:slug/versions/:id/publish` |
1853
1856
  | `zaisma visibility <slug> listed\|unlisted\|private\|draft` | Who can see the game | `PATCH /games/:slug` |
1854
1857
  | `zaisma allowed-hosts <slug> [<host> …] [--none]` | The hosts the game server can call; given hosts (or `--none`), sets the whole list | `GET` or `PATCH /games/:slug` |
@@ -39,6 +39,7 @@ Every error the developer API and MCP answer with, as `{ "error": { code, messag
39
39
  - `account_paused` (HTTP 403): A person at Zaisma needs to look at the account: until then it can't make, upload or publish games, or post on the forum. Fix: Wait for a person at Zaisma to look at the account; get_access says why it's paused, and message_zaisma reaches them. https://zaisma.com/developers/errors/account_paused
40
40
  - `publishing_not_open` (HTTP 403): Until the beta, only accounts Zaisma adds can make, upload and publish games. Fix: Call get_access to see can_publish, and ask Zaisma for access with message_zaisma until the beta opens. https://zaisma.com/developers/errors/publishing_not_open
41
41
  - `bad_title` (HTTP 400): A game's, topic's or precedent's title is empty or too long. Fix: Give a title that isn't empty and fits the field's length, as the input schema says. https://zaisma.com/developers/errors/bad_title
42
+ - `fake_reward_words` (HTTP 400): A game's title or description promises a fake reward: another platform's currency or something of real value, like free Robux, V-Bucks, gift cards or cash. Fix: Take those words out of the title or description. https://zaisma.com/developers/errors/fake_reward_words
42
43
  - `title_names_zaisma` (HTTP 400): A game's title holds the whole word Zaisma, which only Zaisma's own games can use. Fix: Give the game a title without the word Zaisma. https://zaisma.com/developers/errors/title_names_zaisma
43
44
  - `bad_description` (HTTP 400): The description isn't text of up to 500 characters. Fix: Give a description of up to 500 characters of plain text. https://zaisma.com/developers/errors/bad_description
44
45
  - `bad_visibility` (HTTP 400): visibility isn't draft, listed, unlisted or private. Fix: Give visibility as listed, unlisted, private or draft. https://zaisma.com/developers/errors/bad_visibility
@@ -312,6 +313,8 @@ Every error the developer API and MCP answer with, as `{ "error": { code, messag
312
313
  - `no_media` (HTTP 404): There's no image there you can see. Fix: Use an image address from a post you can see. https://zaisma.com/developers/errors/no_media
313
314
  - `bad_tab` (HTTP 400): tab isn't latest, top, unanswered, known, yours, messages or bookmarks. Fix: Give tab as latest, top, unanswered, known, yours, messages or bookmarks. https://zaisma.com/developers/errors/bad_tab
314
315
  - `bad_section` (HTTP 400): section isn't one of the forum's sections. Fix: Give section as one of the sections search_forum's input schema lists. https://zaisma.com/developers/errors/bad_section
316
+ - `contact_details_in_post` (HTTP 400): A public forum post or its title holds an email address or asks to be reached somewhere else ("add me on…", "my Discord is…"): developers can be 13. Fix: Take the contact details out; a private topic (is_public false) reaches Zaisma, and replies in the topic reach the others. https://zaisma.com/developers/errors/contact_details_in_post
317
+ - `link_not_allowed_in_post` (HTTP 400): A public forum post or its title links to a site outside the trusted list and the forum's developer sites (GitHub, MDN, npm, Stack Overflow, Zaisma's own, local addresses). Fix: Take the link out, or point to the same thing on one of those sites; ask on the forum for another site to be added. https://zaisma.com/developers/errors/link_not_allowed_in_post
315
318
  - `bad_category` (HTTP 400): category isn't one of the forum's categories. Fix: Give category as one of the categories post_topic's input schema lists. https://zaisma.com/developers/errors/bad_category
316
319
  - `no_category` (HTTP 400): A public topic was sent without its category. Fix: Give a public topic a category, as post_topic's input schema lists. https://zaisma.com/developers/errors/no_category
317
320
  - `bad_tag` (HTTP 400): tag isn't one of the forum's tags. Fix: Give tag as one of the tags search_forum's input schema lists. https://zaisma.com/developers/errors/bad_tag
@@ -334,8 +334,7 @@ One name per concept. The API and MCP column is snake_case; the SDK and game ser
334
334
  | Zaisma's review of a game | `review_status`: `pending`, `live`, `held`, `removed` | |
335
335
  | Why Zaisma held, rejected or took down a game, version or image | `review_reason`: `{ code, message, content_rule, fix }`, its `code` from `REVIEW_CODES` | |
336
336
  | The countries a game is blocked in on a notice under their law | `country_blocks`, each `{ country_code, country_name, review_reason, blocked_at }`; the `game_blocked_in_country` alert, the `country_blocks_changed` webhook. Inside: `games.country_blocks`, each `blocked_at_ms` | |
337
- | Why a cover or a title keeps a game off Zaisma's lists, or held it for a fake reward ("No slop") | `listing_reason` on an image, `title_listing_reason` on a game, shaped like `review_reason`; the `game_off_lists` alert. Inside: `cleared_at_ms` on an image and `cleared_title` on a game (a person cleared it), `listing_check_requested_at_ms`, `listing_checked_at_ms` | |
338
- | What needs a developer's attention in a game | `alerts`, each `{ kind, message, fix, version_id }`, `kind` one of `game_removed`, `game_waiting_to_erase`, `game_held`, `game_blocked_in_country`, `version_rejected`, `version_held`, `link_flagged`, `game_off_lists`, `hosting_paused`, `free_rooms_stopped`, `second_free_allowance_started`, `database_full`, `hosting_nearly_paused`, `hosting_budget_nearly_used`, `credit_low`, `database_nearly_full`, `player_erase_failed`, `reports_open`; a heads-up is its paused or full kind with `nearly` (`nearly_used` for a budget) | |
337
+ | What needs a developer's attention in a game | `alerts`, each `{ kind, message, fix, version_id }`, `kind` one of `game_removed`, `game_waiting_to_erase`, `game_held`, `game_blocked_in_country`, `version_rejected`, `version_held`, `link_flagged`, `hosting_paused`, `free_rooms_stopped`, `second_free_allowance_started`, `database_full`, `hosting_nearly_paused`, `hosting_budget_nearly_used`, `credit_low`, `database_nearly_full`, `player_erase_failed`, `reports_open`; a heads-up is its paused or full kind with `nearly` (`nearly_used` for a budget) | |
339
338
  | A content rule, as a hold or takedown names it | `content_rule`: `child_safety`, `sexual`, `malware`, `illegal`, `real_people`, `copyright`, `defamation`, `trademark`, `personal_details`, `chat`, `crypto`, `purchases`, `faked_plays` (the same words as a report's `reason` where they mean the same) | |
340
339
  | Who can see a game | `visibility`: `draft`, `listed`, `unlisted`, `private` | |
341
340
  | Where to continue a list | `cursor` in, `next_cursor` out | |
@@ -352,7 +351,7 @@ One name per concept. The API and MCP column is snake_case; the SDK and game ser
352
351
  | Where a report stands | `report_status`: `open`, `dismissed`, `actioned` | |
353
352
  | How serious a report or topic is (admin MCP) | `severity`: `child_safety` (reports only), `urgent`, `high`, `normal`, `low` | |
354
353
  | What a person decides about reports, a precedent or a post, and why (admin MCP) | `decision`, `why` | |
355
- | A ruling report triage follows, and where it stands (admin MCP) | `precedent_id`; `precedent_status`: `proposed`, `active`, `retired`; `can_ai_apply_alone`, `replaces_precedent_id`, `followed_count` | |
354
+ | A ruling report triage follows, and where it stands (admin MCP) | `precedent_id`; `precedent_status`: `proposed`, `active`, `retired`; `replaces_precedent_id`, `followed_count` | |
356
355
  | What report triage and forum sorting found (admin MCP) | `triage`, `sorting`, `is_waiting_for_sorting`; what triage did by itself is `ai_actions` | |
357
356
  | Public forum posts waiting for a person (admin MCP) | `waiting_posts` | |
358
357
  | What happened to a game, and who did it | `events`, each with `happened_at` and `last_happened_at`, `occurrence_count`, `subject_name`; `done_by`: `you`, `api_key`, `ai`, `zaisma`; `actor` in the admin MCP | |