@crowdedkingdoms/crowdyjs 18.23.1-dev.1 → 18.23.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/README.md +14 -18
- package/dist/default-origin.d.ts +6 -6
- package/dist/default-origin.d.ts.map +1 -1
- package/dist/default-origin.js +6 -6
- package/dist/generated/graphql-schema.d.ts +12 -12
- package/dist/generated/graphql-schema.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -12,23 +12,19 @@ gameplay, minted per app through `client.portal`.
|
|
|
12
12
|
|
|
13
13
|
Start here:
|
|
14
14
|
|
|
15
|
-
- [SDK guide](https://docs.
|
|
15
|
+
- [SDK guide](https://docs.crowdedkingdoms.com/crowdyjs/readme) — the canonical
|
|
16
16
|
walkthrough of everything in this README.
|
|
17
|
-
- [Build a game](https://docs.
|
|
17
|
+
- [Build a game](https://docs.crowdedkingdoms.com/build-a-game/intro) — a
|
|
18
18
|
hands-on tutorial from sign-in to a playable voxel game.
|
|
19
|
-
- [Platform overview](https://docs.
|
|
19
|
+
- [Platform overview](https://docs.crowdedkingdoms.com/overview/client-workflow)
|
|
20
20
|
— how a client session flows through the platform.
|
|
21
21
|
|
|
22
22
|
## Install
|
|
23
23
|
|
|
24
24
|
```bash
|
|
25
|
-
npm install @crowdedkingdoms/crowdyjs
|
|
25
|
+
npm install @crowdedkingdoms/crowdyjs
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
-
This README is the `dev` branch's: it documents the release on the `dev` dist-tag
|
|
29
|
-
(`npm view @crowdedkingdoms/crowdyjs dist-tags`), and its links go to the dev docs site. A
|
|
30
|
-
plain `npm install` resolves `latest`, the production release, which has no `client.exec`.
|
|
31
|
-
|
|
32
28
|
**Server compatibility.** A release selects fields the Game API it was built against has,
|
|
33
29
|
so it needs that Game API or newer; promote the Game API before the SDK on each tier.
|
|
34
30
|
|
|
@@ -191,8 +187,8 @@ Notes:
|
|
|
191
187
|
- Use `client.auth.setToken(token)` to seed a token externally (e.g. when
|
|
192
188
|
restoring auth from a non-default storage).
|
|
193
189
|
|
|
194
|
-
Deeper reading: [Portals & app-scoped tokens](https://docs.
|
|
195
|
-
and [Sign in](https://docs.
|
|
190
|
+
Deeper reading: [Portals & app-scoped tokens](https://docs.crowdedkingdoms.com/management-api/portals-and-app-tokens)
|
|
191
|
+
and [Sign in](https://docs.crowdedkingdoms.com/management-api/authentication).
|
|
196
192
|
|
|
197
193
|
### Org-managed players
|
|
198
194
|
|
|
@@ -389,7 +385,7 @@ query AppForRouting($appId: BigInt!) {
|
|
|
389
385
|
`CrowdyClient` with `httpUrl: gameApiUrl` (and the matching `wsUrl`) holding
|
|
390
386
|
that app's app-scoped token, then drive gameplay through that client. Apps
|
|
391
387
|
with no `gameApiUrl` keep working against the default `httpUrl` you
|
|
392
|
-
configured. See [Loading an app's Game API](https://docs.
|
|
388
|
+
configured. See [Loading an app's Game API](https://docs.crowdedkingdoms.com/crowdyjs/shared-environment-routing).
|
|
393
389
|
|
|
394
390
|
## Realtime notifications
|
|
395
391
|
|
|
@@ -825,7 +821,7 @@ reach your bundle. Reads are synchronous snapshots and writes happen on
|
|
|
825
821
|
WebSocket events (not `requestAnimationFrame`), so render loops read freely
|
|
826
822
|
and a backgrounded tab keeps ingesting updates; pass `workerTicker()` to also
|
|
827
823
|
keep timer-driven sends at full rate while hidden. See the
|
|
828
|
-
[World Stores guide](https://docs.
|
|
824
|
+
[World Stores guide](https://docs.crowdedkingdoms.com/crowdyjs/stores).
|
|
829
825
|
|
|
830
826
|
## Game Kit
|
|
831
827
|
|
|
@@ -903,7 +899,7 @@ The protocol is held to ck-exec's golden record of the starters
|
|
|
903
899
|
(`test/unit/fixtures/kit-protocol.json`): every module call and topic in it is replayed in
|
|
904
900
|
`test/unit/game-kit.test.mjs`. The blueprints, `kit.deploy`, the engines and the model-backed
|
|
905
901
|
helpers went with the game model in 18.0.0; the hub modules replace them. See the
|
|
906
|
-
[Game Kit docs](https://docs.
|
|
902
|
+
[Game Kit docs](https://docs.crowdedkingdoms.com/game-kit/intro) and
|
|
907
903
|
[MIGRATION.md](MIGRATION.md).
|
|
908
904
|
|
|
909
905
|
## ck-exec
|
|
@@ -967,7 +963,7 @@ Integers above 2^53 decode as `number` and lose precision unless you pass
|
|
|
967
963
|
`{ decode: { useBigInt64: true } }`. A call's whole numbers outside 32 bits (a timestamp in
|
|
968
964
|
milliseconds, a player id) go out as 64-bit integers (18.11.0; before, as floats, which a
|
|
969
965
|
hub's integer fields refuse). The wire format is in the
|
|
970
|
-
[ck-exec docs](https://docs.
|
|
966
|
+
[ck-exec docs](https://docs.crowdedkingdoms.com/exec/intro).
|
|
971
967
|
|
|
972
968
|
### A mod's CLIENT half
|
|
973
969
|
|
|
@@ -1038,7 +1034,7 @@ counts what was dropped); `invoke` sends at most 256 KiB each way and is refused
|
|
|
1038
1034
|
module is not running. `NOT_FOUND` holds a CLIENT half back 15 s and `RATE_LIMITED` 60 s. The
|
|
1039
1035
|
grid's owner is asked about their own CLIENT halves like anyone; answer yes in `confirm` when
|
|
1040
1036
|
`prompt.authorId` is the player. See
|
|
1041
|
-
[CLIENT halves](https://docs.
|
|
1037
|
+
[CLIENT halves](https://docs.crowdedkingdoms.com/exec/client-halves).
|
|
1042
1038
|
|
|
1043
1039
|
## Hosting your game
|
|
1044
1040
|
|
|
@@ -1147,8 +1143,8 @@ CLIENT project needs ck-api `v2.25.1` or later. A CLIENT crate still on the lega
|
|
|
1147
1143
|
`mountCrowdyStudio` and the controller take `mods: client.exec`. Crowdy Studio runs nothing
|
|
1148
1144
|
on legacy player compute since 18.0.0.
|
|
1149
1145
|
|
|
1150
|
-
See [CLIENT halves](https://docs.
|
|
1151
|
-
and [Embed Crowdy Studio in your game](https://docs.
|
|
1146
|
+
See [CLIENT halves](https://docs.crowdedkingdoms.com/exec/client-halves), [mods](https://docs.crowdedkingdoms.com/exec/mods)
|
|
1147
|
+
and [Embed Crowdy Studio in your game](https://docs.crowdedkingdoms.com/crowdyjs/crowdy-studio-embed).
|
|
1152
1148
|
|
|
1153
1149
|
### The Studio agent (DeepSeek Harness in the browser)
|
|
1154
1150
|
|
|
@@ -1376,7 +1372,7 @@ no other repositories and no network access required:
|
|
|
1376
1372
|
`src/generated/graphql-schema.ts`, the generated schema types.
|
|
1377
1373
|
|
|
1378
1374
|
Schema refresh is explicit, from the published
|
|
1379
|
-
[SDL](https://docs.
|
|
1375
|
+
[SDL](https://docs.crowdedkingdoms.com/schema/game-api.graphql):
|
|
1380
1376
|
|
|
1381
1377
|
```bash
|
|
1382
1378
|
npm run schema:sync:prod
|
package/dist/default-origin.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* GENERATED — do not edit. The operator tooling's
|
|
3
|
-
* `sync-client-origins.mjs --write --tier
|
|
3
|
+
* `sync-client-origins.mjs --write --tier prod` writes this file, and
|
|
4
4
|
* `check-sdk-default-origin.mjs` refuses it when it names the wrong tier or a
|
|
5
5
|
* host that declaration does not carry. Regenerate; never hand-edit.
|
|
6
6
|
*
|
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
* than no default at all. Every fallback this SDK ever removed named a host that
|
|
11
11
|
* was already dead. A generated file plus a gate is what makes this one different.
|
|
12
12
|
*
|
|
13
|
-
* Source: the operator's per-tier public CK API origin declaration, tier '
|
|
13
|
+
* Source: the operator's per-tier public CK API origin declaration, tier 'prod'
|
|
14
14
|
*/
|
|
15
15
|
/** The tier this build of the SDK is published for. */
|
|
16
|
-
export declare const CROWDY_DEFAULT_TIER = "
|
|
16
|
+
export declare const CROWDY_DEFAULT_TIER = "prod";
|
|
17
17
|
/** The public CK API origin for that tier. */
|
|
18
|
-
export declare const CROWDY_DEFAULT_HTTP_ORIGIN = "https://ck.
|
|
18
|
+
export declare const CROWDY_DEFAULT_HTTP_ORIGIN = "https://ck.prod.crowdedkingdoms.com";
|
|
19
19
|
/** The same host over WebSocket. A scheme is composed; a hostname is looked up. */
|
|
20
|
-
export declare const CROWDY_DEFAULT_WS_ORIGIN = "wss://ck.
|
|
20
|
+
export declare const CROWDY_DEFAULT_WS_ORIGIN = "wss://ck.prod.crowdedkingdoms.com";
|
|
21
21
|
/** The bare hostname, for callers that need to compare rather than dial. */
|
|
22
|
-
export declare const CROWDY_DEFAULT_HOST = "ck.
|
|
22
|
+
export declare const CROWDY_DEFAULT_HOST = "ck.prod.crowdedkingdoms.com";
|
|
23
23
|
//# sourceMappingURL=default-origin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default-origin.d.ts","sourceRoot":"","sources":["../src/default-origin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,uDAAuD;AACvD,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"default-origin.d.ts","sourceRoot":"","sources":["../src/default-origin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,uDAAuD;AACvD,eAAO,MAAM,mBAAmB,SAAS,CAAC;AAE1C,8CAA8C;AAC9C,eAAO,MAAM,0BAA0B,wCAAwC,CAAC;AAEhF,mFAAmF;AACnF,eAAO,MAAM,wBAAwB,sCAAsC,CAAC;AAE5E,4EAA4E;AAC5E,eAAO,MAAM,mBAAmB,gCAAgC,CAAC"}
|
package/dist/default-origin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* GENERATED — do not edit. The operator tooling's
|
|
3
|
-
* `sync-client-origins.mjs --write --tier
|
|
3
|
+
* `sync-client-origins.mjs --write --tier prod` writes this file, and
|
|
4
4
|
* `check-sdk-default-origin.mjs` refuses it when it names the wrong tier or a
|
|
5
5
|
* host that declaration does not carry. Regenerate; never hand-edit.
|
|
6
6
|
*
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
* than no default at all. Every fallback this SDK ever removed named a host that
|
|
11
11
|
* was already dead. A generated file plus a gate is what makes this one different.
|
|
12
12
|
*
|
|
13
|
-
* Source: the operator's per-tier public CK API origin declaration, tier '
|
|
13
|
+
* Source: the operator's per-tier public CK API origin declaration, tier 'prod'
|
|
14
14
|
*/
|
|
15
15
|
/** The tier this build of the SDK is published for. */
|
|
16
|
-
export const CROWDY_DEFAULT_TIER = '
|
|
16
|
+
export const CROWDY_DEFAULT_TIER = 'prod';
|
|
17
17
|
/** The public CK API origin for that tier. */
|
|
18
|
-
export const CROWDY_DEFAULT_HTTP_ORIGIN = 'https://ck.
|
|
18
|
+
export const CROWDY_DEFAULT_HTTP_ORIGIN = 'https://ck.prod.crowdedkingdoms.com';
|
|
19
19
|
/** The same host over WebSocket. A scheme is composed; a hostname is looked up. */
|
|
20
|
-
export const CROWDY_DEFAULT_WS_ORIGIN = 'wss://ck.
|
|
20
|
+
export const CROWDY_DEFAULT_WS_ORIGIN = 'wss://ck.prod.crowdedkingdoms.com';
|
|
21
21
|
/** The bare hostname, for callers that need to compare rather than dial. */
|
|
22
|
-
export const CROWDY_DEFAULT_HOST = 'ck.
|
|
22
|
+
export const CROWDY_DEFAULT_HOST = 'ck.prod.crowdedkingdoms.com';
|
|
@@ -4713,7 +4713,7 @@ export type MintManagedPlayerTokenInput = {
|
|
|
4713
4713
|
};
|
|
4714
4714
|
export type Mutation = {
|
|
4715
4715
|
__typename?: 'Mutation';
|
|
4716
|
-
/** Give up a STAGING publish and clear its staged objects. Requires manage_apps and a SESSION token. */
|
|
4716
|
+
/** RETIRED 2026-10-29: Crowded Kingdoms no longer hosts games and every tier runs with hosting off, so this answers CONTENT_HOSTING_DISABLED. Host your build on your own origin. Give up a STAGING publish and clear its staged objects. Requires manage_apps and a SESSION token. */
|
|
4717
4717
|
abandonGamePublish: HostedGamePublish;
|
|
4718
4718
|
/** SESSION ONLY, an admin of the organization (its own admin grant: a super admin's or an operator's access does not stand in). Accept the Org-Managed Players Addendum on the organization's behalf, the version orgManagedPlayerSettings names as termsVersion (read it at termsUrl). Until the organization has accepted the current version, its managed players are neither created nor signed in (ORG_LEGAL_ACCEPTANCE_REQUIRED). A version that is not the current one is refused with CONFLICT; accepting the current one again changes nothing. Studio asks for it on the organization's Players tab. */
|
|
4719
4719
|
acceptManagedPlayerTerms: OrgManagedPlayerSettings;
|
|
@@ -4741,7 +4741,7 @@ export type Mutation = {
|
|
|
4741
4741
|
banChannelMember: GroupMember;
|
|
4742
4742
|
/** Ban a user from a team: their membership (or a new row, for someone not yet in it) becomes 'banned' and their roles go, and joining, requesting to join and being added are refused with GROUP_MEMBER_BANNED until unbanTeamMember. Leaving or removing does not lift a ban. Requires the 'manage_members' team permission (app admins bypass). Never the team's owner, never yourself. */
|
|
4743
4743
|
banTeamMember: GroupMember;
|
|
4744
|
-
/** Declare a publish: the full manifest of the built bundle (path, size, SHA-256 per file; index.html at the root). Validates it as a whole (HOSTED_MANIFEST_INVALID names every problem), records a STAGING publish, and returns one presigned PUT per file. Upload every file with exactly the returned headers, then call completeGamePublish. Rate-limited per app. Requires manage_apps and a SESSION token. */
|
|
4744
|
+
/** RETIRED 2026-10-29: Crowded Kingdoms no longer hosts games and every tier runs with hosting off, so this answers CONTENT_HOSTING_DISABLED. Host your build on your own origin. Declare a publish: the full manifest of the built bundle (path, size, SHA-256 per file; index.html at the root). Validates it as a whole (HOSTED_MANIFEST_INVALID names every problem), records a STAGING publish, and returns one presigned PUT per file. Upload every file with exactly the returned headers, then call completeGamePublish. Rate-limited per app. Requires manage_apps and a SESSION token. */
|
|
4745
4745
|
beginGamePublish: BeginGamePublishResult;
|
|
4746
4746
|
/** Begin vaulting a card on the caller's player wallet (P4b): returns a Stripe SetupIntent client secret + publishable key for the browser to confirm. On success the card is saved for wallet auto-recharge and rent auto-renew. Closes the P2 gap where players had no card-setup path. */
|
|
4747
4747
|
beginPlayerCardSetup: PlayerCardSetup;
|
|
@@ -4755,7 +4755,7 @@ export type Mutation = {
|
|
|
4755
4755
|
changePassword: Scalars['Boolean']['output'];
|
|
4756
4756
|
/** Self-service: the authenticated caller claims access to an app via its free, open-by-default tier. Requires authentication only (no org membership needed). ENTITLEMENT CHANGE: grants the free default tier as a 'system' grant and notifies the game API. Idempotent: returns the existing row if already granted, and never overrides a prior revoke. Errors if the app has no free default tier or is archived. */
|
|
4757
4757
|
claimFreeAppAccess: AppUserAccess;
|
|
4758
|
-
/** Claim the hosting slug for an app (idempotent; the same app re-claiming its slug is a no-op, a different slug MOVES the game). Registers https://<games host>/<slug>/ and https://<slug>.<content host> as the app's redirect URIs and sets launch_url to the former. Requires manage_apps on the app and a SESSION token. Refuses a slug that is not a DNS label, is reserved, or belongs to another app (HOSTED_SLUG_UNAVAILABLE), and answers CONTENT_HOSTING_DISABLED on a tier without a content CDN. */
|
|
4758
|
+
/** RETIRED 2026-10-29: Crowded Kingdoms no longer hosts games and every tier runs with hosting off, so this answers CONTENT_HOSTING_DISABLED. Host your build on your own origin. Claim the hosting slug for an app (idempotent; the same app re-claiming its slug is a no-op, a different slug MOVES the game). Registers https://<games host>/<slug>/ and https://<slug>.<content host> as the app's redirect URIs and sets launch_url to the former. Requires manage_apps on the app and a SESSION token. Refuses a slug that is not a DNS label, is reserved, or belongs to another app (HOSTED_SLUG_UNAVAILABLE), and answers CONTENT_HOSTING_DISABLED on a tier without a content CDN. */
|
|
4759
4759
|
claimGameHosting: HostedGame;
|
|
4760
4760
|
/** Claim one wilderness chunk (a chunk no grid but the app's world grid covers) as a new player-owned grid. Requires an ordinary app-scoped player token and active app access, but never manage_apps. The app's policy must be SELF_CLAIM. A chunk inside another grid (a plot, a zone or another claim) is refused FORBIDDEN (GRID_NOT_CLAIMABLE): the claim would be the most specific grid there and take the chunk from whoever that grid grants. The server validates the app's grid assignment and peer-overlap rules, then atomically creates a one-chunk grid, assigns current-user ownership, grants access/update_voxel_data/use_voice_chat/teleport plus the player-code keys and use_video_chat where the caller's tier already carries them, and materializes the effective ACL. Conflicts and policy denials throw GraphQL errors; no partial grid, ownership, or grant rows remain. */
|
|
4761
4761
|
claimGridChunk: ChunkClaimResult;
|
|
@@ -4763,7 +4763,7 @@ export type Mutation = {
|
|
|
4763
4763
|
claimGridOwnership: GridClaimResult;
|
|
4764
4764
|
/** Remove an app's compute allowance, so its ck-exec code is no longer paused for its budget. Returns true if an allowance was removed. Requires app-admin ('manage_apps'). */
|
|
4765
4765
|
clearAppComputeBudget: Scalars['Boolean']['output'];
|
|
4766
|
-
/** Finish a publish: verifies every staged object against the manifest (HOSTED_PUBLISH_INCOMPLETE names what is missing), promotes the staging area to the live prefix, removes objects the previous publish left, records the publish LIVE and invalidates the content CDN. Requires manage_apps and a SESSION token. */
|
|
4766
|
+
/** RETIRED 2026-10-29: Crowded Kingdoms no longer hosts games and every tier runs with hosting off, so this answers CONTENT_HOSTING_DISABLED. Host your build on your own origin. Finish a publish: verifies every staged object against the manifest (HOSTED_PUBLISH_INCOMPLETE names what is missing), promotes the staging area to the live prefix, removes objects the previous publish left, records the publish LIVE and invalidates the content CDN. Requires manage_apps and a SESSION token. */
|
|
4767
4767
|
completeGamePublish: CompleteGamePublishResult;
|
|
4768
4768
|
/** Complete a magic-link sign-in with the emailed token; returns a session AuthResponse. Public (the token authorizes the call); throws if invalid/expired/used. First-party origins only (HOSTED_SIGN_IN_REQUIRED otherwise). */
|
|
4769
4769
|
completeLoginLink: AuthResponse;
|
|
@@ -5091,9 +5091,9 @@ export type Mutation = {
|
|
|
5091
5091
|
setGridOpenPermissions: GridOpenPermissions;
|
|
5092
5092
|
/** Replace the whitelist of permission keys allowed on a grid (writes the `grid_permission_limits` input table), then recompute the grid's materialized effective ACL so any keys no longer on the whitelist are dropped for all users. Pass an empty array to remove all limits. Requires app-admin ('manage_apps'). DESTRUCTIVE: narrowing the whitelist can strip effective permissions from existing users on the grid. */
|
|
5093
5093
|
setGridPermissionLimits: GridPermissionLimits;
|
|
5094
|
-
/** Developer switch: DISABLED (the shell says "disabled by its developer") or back to LIVE. A TAKEN_DOWN game is refused (HOSTED_GAME_TAKEN_DOWN). Requires manage_apps and a SESSION token. */
|
|
5094
|
+
/** RETIRED 2026-10-29: Crowded Kingdoms no longer hosts games and every tier runs with hosting off, so this answers CONTENT_HOSTING_DISABLED. Host your build on your own origin. Developer switch: DISABLED (the shell says "disabled by its developer") or back to LIVE. A TAKEN_DOWN game is refused (HOSTED_GAME_TAKEN_DOWN). Requires manage_apps and a SESSION token. */
|
|
5095
5095
|
setHostedGameEnabled: HostedGame;
|
|
5096
|
-
/** OPERATOR: list or unlist a hosted game in the lobby and the management UI. */
|
|
5096
|
+
/** RETIRED 2026-10-29: Crowded Kingdoms no longer hosts games and every tier runs with hosting off, so this answers CONTENT_HOSTING_DISABLED. Host your build on your own origin. OPERATOR: list or unlist a hosted game in the lobby and the management UI. */
|
|
5097
5097
|
setHostedGameListing: HostedGame;
|
|
5098
5098
|
/** Adds a password to the signed-in account when it does not have one yet — for an account created by magic link or a social provider, which previously had no in-product way to add password sign-in. Requires a valid session token; the session is the proof of account control, so the password is usable immediately and no email confirmation is needed. Refuses with extensions.code PASSWORD_ALREADY_SET (409) when a password is already set — use changePassword, which verifies the current one, or the reset flow if it is forgotten. (Before v1.60.0 that refusal reached clients as INTERNAL_SERVER_ERROR while this description said CONFLICT, so a client could only recognise it by the message text.) A security notification is emailed to the account address. Existing sessions are not revoked. */
|
|
5099
5099
|
setInitialPassword: Scalars['Boolean']['output'];
|
|
@@ -5135,7 +5135,7 @@ export type Mutation = {
|
|
|
5135
5135
|
socialLoginStart: SocialLoginStart;
|
|
5136
5136
|
/** Suspend a user's access to an app until a time: a timed ban that lifts by itself. Until then their gameplay tokens are refused with ACCESS_SUSPENDED (carrying suspendedUntil), and the tokens they hold for the app are deleted and their realtime sessions ended at once. The time must be in the future and at most 365 days away. The user must have an access record. Requires the 'manage_access_tiers' permission on the app; super admins bypass. REVERSIBLE early via unsuspendAppAccess. */
|
|
5137
5137
|
suspendAppAccess: AppUserAccess;
|
|
5138
|
-
/** OPERATOR: take a hosted game down (status TAKEN_DOWN, unlisted; the shell refuses it and the developer can neither publish nor re-enable) or restore it to LIVE with takenDown=false. */
|
|
5138
|
+
/** RETIRED 2026-10-29: Crowded Kingdoms no longer hosts games and every tier runs with hosting off, so this answers CONTENT_HOSTING_DISABLED. Host your build on your own origin. OPERATOR: take a hosted game down (status TAKEN_DOWN, unlisted; the shell refuses it and the developer can neither publish nor re-enable) or restore it to LIVE with takenDown=false. */
|
|
5139
5139
|
takeDownHostedGame: HostedGame;
|
|
5140
5140
|
/** Checks whether the authenticated user is allowed to teleport an actor to a destination within an app and returns the authorization result. This is an authorization check only — it does NOT itself move the actor; the UDP runtime performs the actual movement. Requires a valid bearer game token plus the app-level "teleport" runtime permission. Returns success=false with errorCode INVALID_APP_ID (non-positive appId), UNAUTHORIZED (reserved sentinel destination -6,-6,-6 or missing permission), or success=true / NO_ERROR when allowed. */
|
|
5141
5141
|
teleportRequest: TeleportResponse;
|
|
@@ -6969,7 +6969,7 @@ export type Query = {
|
|
|
6969
6969
|
actorsConnection: ActorsConnection;
|
|
6970
6970
|
/** OPERATOR ONLY. The Crowdy Studio agent price list: every model card with its four per-million token prices and its lifecycle status. Separate from billingRateCard because agent pricing is per model rather than per metered dimension. Read-only. */
|
|
6971
6971
|
agentRateCards: Array<AgentRateCardEntryType>;
|
|
6972
|
-
/** OPERATOR: every hosted game on the tier, whatever its status or listing. */
|
|
6972
|
+
/** RETIRED 2026-10-29: Crowded Kingdoms no longer hosts games and every tier runs with hosting off, so this answers []. Host your build on your own origin. OPERATOR: every hosted game on the tier, whatever its status or listing. */
|
|
6973
6973
|
allHostedGames: Array<HostedGame>;
|
|
6974
6974
|
/** Convenience for UI: returns true when the authenticated caller is the currently elected host for the given app (same election as gameHost), otherwise false (including when no host is elected). Not authoritative for server-side decisions. Requires a valid bearer game token (same auth as gameHost). */
|
|
6975
6975
|
amIGameHost: Scalars['Boolean']['output'];
|
|
@@ -7182,11 +7182,11 @@ export type Query = {
|
|
|
7182
7182
|
gridPermissionLimits: GridPermissionLimits;
|
|
7183
7183
|
/** Read one user's effective (materialized) runtime permission keys on a grid — the flattened union of direct and group-derived grants that Buddy enforces, with expired grants excluded. Use this to see what a user can actually do. To inspect the underlying inputs instead, use `gridGroupGrants` (group grants) and `gridPermissionLimits` (the whitelist). Requires app-admin ('manage_apps'). */
|
|
7184
7184
|
gridUserPermissions: GridUserPermissions;
|
|
7185
|
-
/** A hosted third-party game by slug, or null when the slug is unclaimed. PUBLIC: the first-party shell at https://<games host>/<slug>/ calls this before sign-in to learn the contentOrigin it frames. Returns DISABLED and TAKEN_DOWN games too (with their status) so the shell can say why. Null when the tier does not host third-party games. */
|
|
7185
|
+
/** RETIRED 2026-10-29: Crowded Kingdoms no longer hosts games and every tier runs with hosting off, so this answers null. Host your build on your own origin. A hosted third-party game by slug, or null when the slug is unclaimed. PUBLIC: the first-party shell at https://<games host>/<slug>/ calls this before sign-in to learn the contentOrigin it frames. Returns DISABLED and TAKEN_DOWN games too (with their status) so the shell can say why. Null when the tier does not host third-party games. */
|
|
7186
7186
|
hostedGame: Maybe<HostedGame>;
|
|
7187
|
-
/** Publish history for a hosted game, newest first. Requires manage_apps on the app and a SESSION token. */
|
|
7187
|
+
/** RETIRED 2026-10-29: Crowded Kingdoms no longer hosts games and every tier runs with hosting off, so this answers CONTENT_HOSTING_DISABLED. Host your build on your own origin. Publish history for a hosted game, newest first. Requires manage_apps on the app and a SESSION token. */
|
|
7188
7188
|
hostedGamePublishes: Array<HostedGamePublish>;
|
|
7189
|
-
/** The LIVE and LISTED hosted third-party games, for the Overworld lobby and the marketplace. PUBLIC. Empty when the tier does not host third-party games. Operators see every game with allHostedGames. */
|
|
7189
|
+
/** RETIRED 2026-10-29: Crowded Kingdoms no longer hosts games and every tier runs with hosting off, so this answers []. Host your build on your own origin. The LIVE and LISTED hosted third-party games, for the Overworld lobby and the marketplace. PUBLIC. Empty when the tier does not host third-party games. Operators see every game with allHostedGames. */
|
|
7190
7190
|
hostedGames: Array<HostedGame>;
|
|
7191
7191
|
/** The recorded inputs of one session, oldest first, each exactly as the client sent it (without its authentication tail). Read from the input log by the offset ranges its index holds, so inputs past the published retention are gone even while the session is still listed. With 'manage_apps' on the app you may read any session; anyone else may read only their own, and any other session answers NOT_FOUND. Game plane: send the app-scoped token for this app to the app's datacenter. Page with `first` (default 50, max 200) and `after`, the previous page's endCursor for this same session (a cursor from another session is BAD_USER_INPUT); a page can hold fewer than `first` inputs, or none, when it stopped at its time or scan limit, so keep paging while hasNextPage is true. An operation may select this field only once. A server runs one read per user (two per app and per org) at a time; a read over that share waits for the earlier one within its own few-second deadline, and a read whose request is closed stops. Errors: INPUT_LOG_UNAVAILABLE when input logging is not configured on this deployment, or this server may not read its log (do not retry); INPUT_LOG_RATE_LIMITED (429) when the wait for an earlier read ran out or left too little time to read, and INPUT_LOG_TEMPORARILY_UNAVAILABLE (503) when the log cannot be read just now, both with extensions.retryable: retry shortly with the same cursor. A read whose request closed stops as INPUT_LOG_READ_ABORTED (499), which nobody receives. */
|
|
7192
7192
|
inputLogMessages: InputLogMessageConnection;
|
|
@@ -7227,7 +7227,7 @@ export type Query = {
|
|
|
7227
7227
|
* @deprecated Legacy donation/property-token data; these products are no longer purchasable. Retained for historical records.
|
|
7228
7228
|
*/
|
|
7229
7229
|
myDonationData: UserDonationData;
|
|
7230
|
-
/** The hosted games the caller can manage (manage_apps on the app). Requires a SESSION token. */
|
|
7230
|
+
/** RETIRED 2026-10-29: Crowded Kingdoms no longer hosts games and every tier runs with hosting off, so this answers []. Host your build on your own origin. The hosted games the caller can manage (manage_apps on the app). Requires a SESSION token. */
|
|
7231
7231
|
myHostedGames: Array<HostedGame>;
|
|
7232
7232
|
/** The signed-in user's linked sign-in identities. */
|
|
7233
7233
|
myIdentities: Array<UserIdentity>;
|