@crowdedkingdoms/crowdyjs 17.13.0-dev.1 → 17.14.0-dev.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.
Files changed (62) hide show
  1. package/MIGRATION.md +72 -1
  2. package/README.md +72 -7
  3. package/dist/crowdy-studio/controller.d.ts +38 -11
  4. package/dist/crowdy-studio/controller.d.ts.map +1 -1
  5. package/dist/crowdy-studio/controller.js +237 -46
  6. package/dist/crowdy-studio/dom-shell.d.ts.map +1 -1
  7. package/dist/crowdy-studio/dom-shell.js +3 -1
  8. package/dist/crowdy-studio/embed/hud-layer.d.ts +2 -1
  9. package/dist/crowdy-studio/embed/hud-layer.d.ts.map +1 -1
  10. package/dist/crowdy-studio/embed/panel.d.ts +7 -6
  11. package/dist/crowdy-studio/embed/panel.d.ts.map +1 -1
  12. package/dist/crowdy-studio/starter-projects.d.ts +8 -0
  13. package/dist/crowdy-studio/starter-projects.d.ts.map +1 -1
  14. package/dist/crowdy-studio/starter-projects.js +79 -5
  15. package/dist/domains/exec.d.ts +162 -15
  16. package/dist/domains/exec.d.ts.map +1 -1
  17. package/dist/domains/exec.js +180 -18
  18. package/dist/domains/marketplace.d.ts +15 -3
  19. package/dist/domains/marketplace.d.ts.map +1 -1
  20. package/dist/domains/marketplace.js +17 -3
  21. package/dist/generated/graphql.d.ts +349 -0
  22. package/dist/generated/graphql.d.ts.map +1 -1
  23. package/dist/generated/graphql.js +17 -8
  24. package/dist/grid-mods/exec-client-halves.d.ts +140 -0
  25. package/dist/grid-mods/exec-client-halves.d.ts.map +1 -0
  26. package/dist/grid-mods/exec-client-halves.js +341 -0
  27. package/dist/grid-mods/grid-host-calls.d.ts +3 -1
  28. package/dist/grid-mods/grid-host-calls.d.ts.map +1 -1
  29. package/dist/grid-mods/grid-host-calls.js +3 -1
  30. package/dist/grid-mods/index.d.ts +1 -0
  31. package/dist/grid-mods/index.d.ts.map +1 -1
  32. package/dist/grid-mods/index.js +1 -0
  33. package/dist/grid-mods/mod-runtime.d.ts +10 -2
  34. package/dist/grid-mods/mod-runtime.d.ts.map +1 -1
  35. package/dist/grid-mods/mod-runtime.js +2 -0
  36. package/dist/grid-scope.d.ts +1 -0
  37. package/dist/grid-scope.d.ts.map +1 -1
  38. package/dist/grid-scope.js +1 -0
  39. package/dist/index.d.ts +4 -4
  40. package/dist/index.d.ts.map +1 -1
  41. package/dist/index.js +4 -3
  42. package/dist/kit/npcs.d.ts.map +1 -1
  43. package/dist/kit/social.d.ts.map +1 -1
  44. package/dist/live-coding/rust-analysis.js +13 -1
  45. package/dist/player-runtime/glue-runtime.d.ts +19 -6
  46. package/dist/player-runtime/glue-runtime.d.ts.map +1 -1
  47. package/dist/player-runtime/glue-runtime.js +40 -16
  48. package/dist/player-runtime/player-code-broker.d.ts +29 -0
  49. package/dist/player-runtime/player-code-broker.d.ts.map +1 -1
  50. package/dist/player-runtime/player-code-broker.js +41 -8
  51. package/dist/player-runtime/player-glue-worker.d.ts +2 -1
  52. package/dist/player-runtime/player-glue-worker.d.ts.map +1 -1
  53. package/dist/player-runtime/player-glue-worker.js +3 -1
  54. package/dist/stores/actors.d.ts +12 -2
  55. package/dist/stores/actors.d.ts.map +1 -1
  56. package/dist/stores/actors.js +43 -18
  57. package/dist/stores/chunks.d.ts +12 -0
  58. package/dist/stores/chunks.d.ts.map +1 -1
  59. package/dist/stores/chunks.js +112 -39
  60. package/dist/stores/durable.d.ts.map +1 -1
  61. package/dist/stores/durable.js +2 -1
  62. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import type { DecoderOptions } from '@msgpack/msgpack';
2
2
  import type { GraphQLClient } from '../client.js';
3
3
  import { CrowdyError } from '../errors.js';
4
- import { type ExecAppStatusFieldsFragment, type ExecBuildFieldsFragment, type ExecEndpointStatsQuery, type ExecInstancesQuery, type ExecLogsQuery, type ExecModFieldsFragment, type ExecModListingFieldsFragment, ExecModScope, type ExecModSwitchFieldsFragment, type ExecVersionsQuery } from '../generated/graphql.js';
4
+ import { type ExecAppStatusFieldsFragment, type ExecBuildFieldsFragment, type ExecEndpointStatsQuery, type ExecGridClientModFieldsFragment, type ExecInstancesQuery, type ExecLogsQuery, type ExecModClientArtifactQuery, type ExecModClientFieldsFragment, type ExecModFieldsFragment, type ExecModListingFieldsFragment, ExecModScope, type ExecModSwitchFieldsFragment, type ExecVersionsQuery } from '../generated/graphql.js';
5
5
  export { ExecModScope };
6
6
  /**
7
7
  * ck-exec, the hub-and-spoke execution service (dev-tier preview).
@@ -220,13 +220,39 @@ export interface ExecSourceFile {
220
220
  path: string;
221
221
  content: string;
222
222
  }
223
- /** A build: `queued`, `building`, `succeeded` or `failed`, its log, and one module per crate. */
223
+ /**
224
+ * A CLIENT half's capability summary, which the build derives from the module and its author
225
+ * cannot declare: the module's imports, the client host calls it can reach, their capability
226
+ * groups, its presentation hooks and exports. Visitors consent to its hash.
227
+ */
228
+ export interface ExecClientCapabilitySummary {
229
+ version: number;
230
+ target: 'client';
231
+ /** The module's WASM imports as `module.name`. */
232
+ imports: string[];
233
+ /** The client host calls it can reach. */
234
+ hostFunctions: string[];
235
+ /** The host catalog groups of those calls. */
236
+ capabilityGroups: string[];
237
+ /** HUD and overlay hooks among them. */
238
+ presentationHooks: string[];
239
+ /** The functions the module exports. */
240
+ exportedFunctions: string[];
241
+ [field: string]: unknown;
242
+ }
243
+ /**
244
+ * One module of a build. A CLIENT build's (`kind` `client`) carries its capability summary,
245
+ * the hash visitors consent to and its tick interval; a ck-exec module's are null.
246
+ */
247
+ export type ExecBuildArtifact = Omit<ExecBuildFieldsFragment['artifacts'][number], '__typename'> & {
248
+ capabilitySummary: ExecClientCapabilitySummary | null;
249
+ };
250
+ /**
251
+ * A build: `queued`, `building`, `succeeded` or `failed`, its log, and one module per crate.
252
+ * `kind` is `exec` for ck-exec modules and `client` for the CLIENT half of a mod.
253
+ */
224
254
  export type ExecBuild = Omit<ExecBuildFieldsFragment, '__typename' | 'artifacts'> & {
225
- artifacts: Array<{
226
- crate: string;
227
- digest: string;
228
- sizeBytes: number;
229
- }>;
255
+ artifacts: ExecBuildArtifact[];
230
256
  };
231
257
  /** A starter crate, with its files ready for {@link ExecAPI.build}. */
232
258
  export interface ExecStarter {
@@ -288,10 +314,64 @@ export type ExecAppStatus = Omit<ExecAppStatusFieldsFragment, '__typename'>;
288
314
  * (call it with {@link execModType}). It runs as its owner while `enabled` and `blocked` is null.
289
315
  */
290
316
  export type ExecMod = Omit<ExecModFieldsFragment, '__typename'>;
291
- /** A published mod other grid owners may install (no payments). */
292
- export type ExecModListing = Omit<ExecModListingFieldsFragment, '__typename'>;
317
+ /**
318
+ * A published mod other grid owners may install (no payments). `clientDigest` and the other
319
+ * `client*` fields describe the CLIENT half it had when published (null without one), which an
320
+ * install attaches to the installer's mod; `clientCapabilitySummary` is that summary parsed,
321
+ * for an installer to review first.
322
+ */
323
+ export type ExecModListing = Omit<ExecModListingFieldsFragment, '__typename'> & {
324
+ clientCapabilitySummary: ExecClientCapabilitySummary | null;
325
+ };
293
326
  /** A rung of the app's mods kill ladder that is off. */
294
327
  export type ExecModSwitch = Omit<ExecModSwitchFieldsFragment, '__typename'>;
328
+ /**
329
+ * The CLIENT half attached to a mod: browser WASM built from a `crowdy-client-sdk` crate, which
330
+ * the mod's grid serves to visitors who consent to its `capabilityHash` or trust its author.
331
+ */
332
+ export type ExecModClient = Omit<ExecModClientFieldsFragment, '__typename'> & {
333
+ capabilitySummary: ExecClientCapabilitySummary | null;
334
+ };
335
+ /**
336
+ * A CLIENT half a grid serves, with the caller's consent and their trust in its author.
337
+ * `capabilitySummary` and `authorCapabilitySummary` are the two JSON fields parsed (null when
338
+ * they do not parse); the author's is the union a one-per-author trust prompt shows.
339
+ */
340
+ export type ExecGridClientMod = Omit<ExecGridClientModFieldsFragment, '__typename'> & {
341
+ capabilitySummary: ExecClientCapabilitySummary | null;
342
+ authorCapabilitySummary: ExecClientCapabilitySummary | null;
343
+ };
344
+ /**
345
+ * A served CLIENT half's module as the game API returns it: `wasmBase64`, the `digest` to check
346
+ * it against, and `fuelPerDispatch` (a decimal string) to load into its `ck_fuel` global.
347
+ */
348
+ export type ExecModClientArtifact = Omit<ExecModClientArtifactQuery['execModClientArtifact'], '__typename'> & {
349
+ capabilitySummary: ExecClientCapabilitySummary | null;
350
+ };
351
+ /** {@link ExecModClientArtifact} decoded and checked for `PlayerCodeBroker` (`engine: 'ck-exec'`). */
352
+ export interface ExecModClientArtifactBytes {
353
+ modId: string;
354
+ /** The mod's name: its name on the page's grid event bus. */
355
+ name: string;
356
+ gridId: string;
357
+ clientVersion: number;
358
+ /** The module; its SHA-256 is `digest`. */
359
+ bytes: ArrayBuffer;
360
+ /** SHA-256 of `bytes`, lowercase hex. */
361
+ digest: string;
362
+ sizeBytes: number;
363
+ /** Fuel for each dispatch (init, tick, invoke, event). */
364
+ fuelPerDispatch: bigint;
365
+ /** How often to tick it, in milliseconds (16-1000). */
366
+ tickIntervalMs: number;
367
+ capabilitySummaryJson: string;
368
+ /** What the player consented to; its `hostFunctions` bound the module in the broker. */
369
+ capabilitySummary: ExecClientCapabilitySummary;
370
+ capabilityHash: string;
371
+ abiVersion: number;
372
+ }
373
+ /** The CLIENT ABI version the player runtime's glue implements (crowdy-client-sdk `ABI_VERSION`). */
374
+ export declare const EXEC_CLIENT_ABI_VERSION = 0;
295
375
  /** The node type players call a mod by: `mod:<name>`, keyed by its grid id. */
296
376
  export declare function execModType(name: string): string;
297
377
  export interface ExecLogsOptions {
@@ -314,8 +394,8 @@ export interface ExecEndpointStatsOptions {
314
394
  }
315
395
  /**
316
396
  * `client.exec`: connecting players to ck-exec, building and deploying an app's nodes (and
317
- * the starter packs), and operating them (logs, instances, versions, rollback, the kill
318
- * switch, developer connections).
397
+ * the starter packs), operating them (logs, instances, versions, rollback, the kill switch,
398
+ * developer connections), and players' mods with their CLIENT halves.
319
399
  */
320
400
  export declare class ExecAPI {
321
401
  private readonly graphql;
@@ -393,9 +473,9 @@ export declare class ExecAPI {
393
473
  * player. Requires `write_server_code` in the app.
394
474
  */
395
475
  modBuild(appId: string, crate: ExecCrate): Promise<ExecBuild>;
396
- /** A mod build of yours. */
476
+ /** A mod build of yours: a mod's (`kind` `exec`) or a CLIENT half's (`kind` `client`). */
397
477
  modBuildStatus(appId: string, buildId: string): Promise<ExecBuild>;
398
- /** Polls a mod build until it succeeds or fails, like {@link waitForBuild}. */
478
+ /** Polls a mod build, server or CLIENT, until it succeeds or fails, like {@link waitForBuild}. */
399
479
  waitForModBuild(appId: string, buildId: string, options?: {
400
480
  intervalMs?: number;
401
481
  timeoutMs?: number;
@@ -421,11 +501,14 @@ export declare class ExecAPI {
421
501
  modLogs(appId: string, gridId: string, name: string, options?: Omit<ExecLogsOptions, 'nodeType' | 'key'>): Promise<ExecLogLine[]>;
422
502
  /** Publishes a mod of yours, at its current version, for other grid owners to install. */
423
503
  modPublish(appId: string, gridId: string, name: string, title: string, description?: string): Promise<ExecModListing>;
424
- /** The app's listed mods, most installed first. */
504
+ /** The app's listed mods, most installed first, each with the CLIENT half it carries, if any. */
425
505
  modListings(appId: string): Promise<ExecModListing[]>;
426
506
  /** Delists a listing you published; installed copies keep running. */
427
507
  modUnpublish(appId: string, listingId: string): Promise<boolean>;
428
- /** Installs a listing onto a grid you own as your own mod, switched off. */
508
+ /**
509
+ * Installs a listing onto a grid you own as your own mod, switched off, with the listing's
510
+ * CLIENT half if it has one; visitors, you too, consent to that CLIENT half afresh.
511
+ */
429
512
  modInstall(appId: string, gridId: string, name: string, listingId: string): Promise<ExecMod>;
430
513
  /** The app's mods by grid or owner, or all of them. Requires `view_compute_diagnostics`. */
431
514
  appMods(appId: string, options?: {
@@ -443,6 +526,70 @@ export declare class ExecAPI {
443
526
  target?: string;
444
527
  reason?: string;
445
528
  }): Promise<ExecModSwitch[]>;
529
+ /**
530
+ * Builds the CLIENT half of a mod from one `crowdy-client-sdk` crate: compiled for
531
+ * `wasm32-unknown-unknown` in the build sandbox, fuel-metered and optimized there, checked
532
+ * against the CLIENT ABI and at most 512 KiB, with its capability summary derived from the
533
+ * module. Its `Cargo.toml` may have only `[package]`, `[lib]` as a cdylib, `[dependencies]` on
534
+ * `crowdy-client-sdk`, `serde` and `serde_json`, and `[package.metadata.crowdy]
535
+ * tick_interval_ms`. Returns at once with the build queued (`kind` `client`); wait with
536
+ * {@link waitForModBuild}, then attach it with {@link modClientDeploy}. One build, server or
537
+ * CLIENT, at a time per player. Requires `write_client_code` in the app.
538
+ */
539
+ modClientBuild(appId: string, crate: ExecCrate): Promise<ExecBuild>;
540
+ /**
541
+ * Attaches a succeeded CLIENT build of yours to your mod `name` on a grid you own, replacing
542
+ * the CLIENT half it had; its `clientVersion` rises by one. The mod must exist and run as
543
+ * you. A visitor's consent carries over only while the capability hash is unchanged.
544
+ * Requires being the grid's owner, `write_client_code` on the app tier and the grid, and the
545
+ * app's code admission admitting the new CLIENT version.
546
+ */
547
+ modClientDeploy(appId: string, gridId: string, name: string, buildId: string): Promise<ExecModClient>;
548
+ /** Detaches the CLIENT half of a mod on your grid, with every visitor's consent to it; the mod keeps running. */
549
+ modClientDelete(appId: string, gridId: string, name: string): Promise<boolean>;
550
+ /**
551
+ * The CLIENT halves a grid serves: those of its mods that are switched on, not stopped by the
552
+ * kill ladder, running as the grid's owner and admitted. Each has its capability summary and
553
+ * hash and whether you consented to it, and its author's union summary and hash and whether
554
+ * you trust them. Prompt once per author ({@link trustAuthor}) or per CLIENT half
555
+ * ({@link consentClientMod}), fetch with {@link modClientArtifactBytes}, cache by `digest`, and
556
+ * poll this to stop the CLIENT halves that are no longer listed or whose digest changed:
557
+ * `ExecClientHalves` does all of that for a game. Requires access to the app.
558
+ */
559
+ gridClientMods(appId: string, gridId: string): Promise<ExecGridClientMod[]>;
560
+ /**
561
+ * Consents to run one mod's CLIENT half in your browser at `capabilityHash`, the one
562
+ * {@link gridClientMods} showed you. A CLIENT half whose capabilities change carries a new hash,
563
+ * and the consent stops holding until you consent again; a hash that is not the current one
564
+ * is refused as `CONFLICT` (`CrowdyGraphQLError.code`). Requires access to the app.
565
+ */
566
+ consentClientMod(appId: string, modId: string, capabilityHash: string): Promise<boolean>;
567
+ /**
568
+ * Trusts one author's CLIENT halves on a grid you stand in, at the hash of their union
569
+ * (`authorCapabilityHash`): the trust covers their CLIENT halves there while the union is no
570
+ * wider, and consents to each current one at its own hash. A hash that is not the current one
571
+ * is `CONFLICT`; not standing in the grid, or an author with nothing served there, is
572
+ * `NOT_FOUND`. Requires access to the app.
573
+ */
574
+ trustAuthor(appId: string, gridId: string, authorId: string, capabilityHash: string): Promise<boolean>;
575
+ /**
576
+ * A served CLIENT half's module, base64, with what the broker needs to run it. Served only to a
577
+ * player holding `run_client_code` in the app, standing in the mod's grid now, who consented
578
+ * to it at its current hash or trusts its author at a union no wider; every refusal is
579
+ * `NOT_FOUND`. At most 12 fetches a minute per player and mod on each API instance
580
+ * (`RATE_LIMITED`): the module never changes for its digest, so cache it by `digest`.
581
+ */
582
+ modClientArtifact(appId: string, modId: string): Promise<ExecModClientArtifact>;
583
+ /**
584
+ * {@link modClientArtifact} decoded for `PlayerCodeBroker`: the module's bytes, their SHA-256
585
+ * recomputed with WebCrypto, and the fuel budget as a bigint; the exec twin of
586
+ * `marketplace.clientArtifactBytes`. Bytes that differ from `digest`, a module built for a
587
+ * CLIENT ABI other than {@link EXEC_CLIENT_ABI_VERSION}, or a capability summary that does not
588
+ * parse are refused with a {@link CrowdyProtocolError} and never returned. Start the broker
589
+ * with `engine: 'ck-exec'`, `artifactHash: digest`, `fuelPerDispatch`, `tickIntervalMs` and
590
+ * `consentedHostCalls: capabilitySummary.hostFunctions`.
591
+ */
592
+ modClientArtifactBytes(appId: string, modId: string): Promise<ExecModClientArtifactBytes>;
446
593
  /** A host for this player and its connect token (valid for about a minute). */
447
594
  endpoint(appId: string, options?: {
448
595
  nodeType?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"exec.d.ts","sourceRoot":"","sources":["../../src/domains/exec.ts"],"names":[],"mappings":"AACA,O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;KAAO,GAChD,OAAO,CAAC,YAAY,GAAG;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC;IAShD;;;;OAIG;IACG,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,GAAE,kBAAuB,GAAG,OAAO,CAAC,cAAc,CAAC;IASvF;;;;;OAKG;IACG,MAAM,CAAC,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;CA0BvE"}
@@ -1,6 +1,6 @@
1
1
  import { decode, encode } from '@msgpack/msgpack';
2
- import { CrowdyError } from '../errors.js';
3
- import { ExecActivateVersionDocument, ExecAppStatusDocument, ExecBuildDocument, ExecBuildStatusDocument, ExecConnectAsDeveloperDocument, ExecConnectDocument, ExecDeployDocument, ExecEndpointStatsDocument, ExecInstancesDocument, ExecLogsDocument, ExecAppModsDocument, ExecModBuildDocument, ExecModBuildStatusDocument, ExecModDeleteDocument, ExecModDeployDocument, ExecModInstallDocument, ExecModListingsDocument, ExecModLogsDocument, ExecModPublishDocument, ExecModScope, ExecModSetEnabledDocument, ExecModSetSwitchDocument, ExecModStarterDocument, ExecModSwitchesDocument, ExecModUnpublishDocument, ExecModsDocument, ExecMyModsDocument, ExecSetEnabledDocument, ExecStartersDocument, ExecVersionsDocument, } from '../generated/graphql.js';
2
+ import { CrowdyError, CrowdyProtocolError } from '../errors.js';
3
+ import { ExecActivateVersionDocument, ExecAppStatusDocument, ExecBuildDocument, ExecBuildStatusDocument, ExecConnectAsDeveloperDocument, ExecConnectDocument, ExecConsentClientModDocument, ExecDeployDocument, ExecEndpointStatsDocument, ExecGridClientModsDocument, ExecInstancesDocument, ExecLogsDocument, ExecAppModsDocument, ExecModBuildDocument, ExecModBuildStatusDocument, ExecModClientArtifactDocument, ExecModClientBuildDocument, ExecModClientDeleteDocument, ExecModClientDeployDocument, ExecModDeleteDocument, ExecModDeployDocument, ExecModInstallDocument, ExecModListingsDocument, ExecModLogsDocument, ExecModPublishDocument, ExecModScope, ExecModSetEnabledDocument, ExecModSetSwitchDocument, ExecModStarterDocument, ExecModSwitchesDocument, ExecModUnpublishDocument, ExecModsDocument, ExecMyModsDocument, ExecSetEnabledDocument, ExecStartersDocument, ExecTrustAuthorDocument, ExecVersionsDocument, } from '../generated/graphql.js';
4
4
  export { ExecModScope };
5
5
  /**
6
6
  * ck-exec, the hub-and-spoke execution service (dev-tier preview).
@@ -519,10 +519,19 @@ function base64(bytes) {
519
519
  }
520
520
  return btoa(s);
521
521
  }
522
+ function fromBase64(b64) {
523
+ const binary = atob(b64);
524
+ const out = new Uint8Array(binary.length);
525
+ for (let i = 0; i < binary.length; i++)
526
+ out[i] = binary.charCodeAt(i);
527
+ return out;
528
+ }
522
529
  async function sha256Hex(bytes) {
523
530
  const d = new Uint8Array(await crypto.subtle.digest('SHA-256', bytes));
524
531
  return Array.from(d, (x) => x.toString(16).padStart(2, '0')).join('');
525
532
  }
533
+ /** The CLIENT ABI version the player runtime's glue implements (crowdy-client-sdk `ABI_VERSION`). */
534
+ export const EXEC_CLIENT_ABI_VERSION = 0;
526
535
  /** The node type players call a mod by: `mod:<name>`, keyed by its grid id. */
527
536
  export function execModType(name) {
528
537
  return `mod:${name}`;
@@ -537,18 +546,46 @@ function parseManifest(json) {
537
546
  return null;
538
547
  }
539
548
  }
549
+ function parseCapabilities(json) {
550
+ if (!json)
551
+ return null;
552
+ try {
553
+ const parsed = JSON.parse(json);
554
+ return parsed && typeof parsed === 'object' && !Array.isArray(parsed)
555
+ ? parsed
556
+ : null;
557
+ }
558
+ catch {
559
+ return null;
560
+ }
561
+ }
540
562
  function strip(v) {
541
563
  const { __typename: _, ...rest } = v;
542
564
  return rest;
543
565
  }
544
566
  function build(b) {
545
567
  const { __typename: _, artifacts, ...rest } = b;
546
- return { ...rest, artifacts: artifacts.map(strip) };
568
+ return {
569
+ ...rest,
570
+ artifacts: artifacts.map((a) => ({
571
+ ...strip(a),
572
+ capabilitySummary: parseCapabilities(a.capabilitySummaryJson),
573
+ })),
574
+ };
575
+ }
576
+ function listing(l) {
577
+ return { ...strip(l), clientCapabilitySummary: parseCapabilities(l.clientCapabilitySummaryJson) };
578
+ }
579
+ function crateInput(crate) {
580
+ const files = Array.isArray(crate.files)
581
+ ? crate.files
582
+ : Object.entries(crate.files).map(([path, content]) => ({ path, content }));
583
+ return { name: crate.name, files };
547
584
  }
548
585
  /**
549
586
  * `client.exec`: connecting players to ck-exec, building and deploying an app's nodes (and
550
- * the starter packs), and operating them (logs, instances, versions, rollback, the kill
551
- * switch, developer connections).
587
+ * the starter packs), operating them (logs, instances, versions, rollback, the kill switch,
588
+ * developer connections), and players' mods with their CLIENT halves.
552
589
  */
553
590
  export class ExecAPI {
554
591
  constructor(graphql) {
@@ -698,21 +735,15 @@ export class ExecAPI {
698
735
  * player. Requires `write_server_code` in the app.
699
736
  */
700
737
  async modBuild(appId, crate) {
701
- const files = Array.isArray(crate.files)
702
- ? crate.files
703
- : Object.entries(crate.files).map(([path, content]) => ({ path, content }));
704
- const data = await this.graphql.request(ExecModBuildDocument, {
705
- appId,
706
- crate: { name: crate.name, files },
707
- });
738
+ const data = await this.graphql.request(ExecModBuildDocument, { appId, crate: crateInput(crate) });
708
739
  return build(data.execModBuild);
709
740
  }
710
- /** A mod build of yours. */
741
+ /** A mod build of yours: a mod's (`kind` `exec`) or a CLIENT half's (`kind` `client`). */
711
742
  async modBuildStatus(appId, buildId) {
712
743
  const data = await this.graphql.request(ExecModBuildStatusDocument, { appId, buildId });
713
744
  return build(data.execModBuildStatus);
714
745
  }
715
- /** Polls a mod build until it succeeds or fails, like {@link waitForBuild}. */
746
+ /** Polls a mod build, server or CLIENT, until it succeeds or fails, like {@link waitForBuild}. */
716
747
  async waitForModBuild(appId, buildId, options = {}) {
717
748
  const until = Date.now() + (options.timeoutMs ?? 600000);
718
749
  for (;;) {
@@ -764,19 +795,22 @@ export class ExecAPI {
764
795
  /** Publishes a mod of yours, at its current version, for other grid owners to install. */
765
796
  async modPublish(appId, gridId, name, title, description) {
766
797
  const data = await this.graphql.request(ExecModPublishDocument, { appId, gridId, name, title, description });
767
- return strip(data.execModPublish);
798
+ return listing(data.execModPublish);
768
799
  }
769
- /** The app's listed mods, most installed first. */
800
+ /** The app's listed mods, most installed first, each with the CLIENT half it carries, if any. */
770
801
  async modListings(appId) {
771
802
  const data = await this.graphql.request(ExecModListingsDocument, { appId });
772
- return data.execModListings.map(strip);
803
+ return data.execModListings.map(listing);
773
804
  }
774
805
  /** Delists a listing you published; installed copies keep running. */
775
806
  async modUnpublish(appId, listingId) {
776
807
  const data = await this.graphql.request(ExecModUnpublishDocument, { appId, listingId });
777
808
  return data.execModUnpublish;
778
809
  }
779
- /** Installs a listing onto a grid you own as your own mod, switched off. */
810
+ /**
811
+ * Installs a listing onto a grid you own as your own mod, switched off, with the listing's
812
+ * CLIENT half if it has one; visitors, you too, consent to that CLIENT half afresh.
813
+ */
780
814
  async modInstall(appId, gridId, name, listingId) {
781
815
  const data = await this.graphql.request(ExecModInstallDocument, { appId, gridId, name, listingId });
782
816
  return strip(data.execModInstall);
@@ -800,6 +834,134 @@ export class ExecAPI {
800
834
  const data = await this.graphql.request(ExecModSetSwitchDocument, { appId, scope, off, ...options });
801
835
  return data.execModSetSwitch.map(strip);
802
836
  }
837
+ // ---- CLIENT halves: a mod's browser half ----
838
+ /**
839
+ * Builds the CLIENT half of a mod from one `crowdy-client-sdk` crate: compiled for
840
+ * `wasm32-unknown-unknown` in the build sandbox, fuel-metered and optimized there, checked
841
+ * against the CLIENT ABI and at most 512 KiB, with its capability summary derived from the
842
+ * module. Its `Cargo.toml` may have only `[package]`, `[lib]` as a cdylib, `[dependencies]` on
843
+ * `crowdy-client-sdk`, `serde` and `serde_json`, and `[package.metadata.crowdy]
844
+ * tick_interval_ms`. Returns at once with the build queued (`kind` `client`); wait with
845
+ * {@link waitForModBuild}, then attach it with {@link modClientDeploy}. One build, server or
846
+ * CLIENT, at a time per player. Requires `write_client_code` in the app.
847
+ */
848
+ async modClientBuild(appId, crate) {
849
+ const data = await this.graphql.request(ExecModClientBuildDocument, { appId, crate: crateInput(crate) });
850
+ return build(data.execModClientBuild);
851
+ }
852
+ /**
853
+ * Attaches a succeeded CLIENT build of yours to your mod `name` on a grid you own, replacing
854
+ * the CLIENT half it had; its `clientVersion` rises by one. The mod must exist and run as
855
+ * you. A visitor's consent carries over only while the capability hash is unchanged.
856
+ * Requires being the grid's owner, `write_client_code` on the app tier and the grid, and the
857
+ * app's code admission admitting the new CLIENT version.
858
+ */
859
+ async modClientDeploy(appId, gridId, name, buildId) {
860
+ const data = await this.graphql.request(ExecModClientDeployDocument, { appId, gridId, name, buildId });
861
+ const c = strip(data.execModClientDeploy);
862
+ return { ...c, capabilitySummary: parseCapabilities(c.capabilitySummaryJson) };
863
+ }
864
+ /** Detaches the CLIENT half of a mod on your grid, with every visitor's consent to it; the mod keeps running. */
865
+ async modClientDelete(appId, gridId, name) {
866
+ const data = await this.graphql.request(ExecModClientDeleteDocument, { appId, gridId, name });
867
+ return data.execModClientDelete;
868
+ }
869
+ /**
870
+ * The CLIENT halves a grid serves: those of its mods that are switched on, not stopped by the
871
+ * kill ladder, running as the grid's owner and admitted. Each has its capability summary and
872
+ * hash and whether you consented to it, and its author's union summary and hash and whether
873
+ * you trust them. Prompt once per author ({@link trustAuthor}) or per CLIENT half
874
+ * ({@link consentClientMod}), fetch with {@link modClientArtifactBytes}, cache by `digest`, and
875
+ * poll this to stop the CLIENT halves that are no longer listed or whose digest changed:
876
+ * `ExecClientHalves` does all of that for a game. Requires access to the app.
877
+ */
878
+ async gridClientMods(appId, gridId) {
879
+ const data = await this.graphql.request(ExecGridClientModsDocument, { appId, gridId });
880
+ return data.execGridClientMods.map((m) => ({
881
+ ...strip(m),
882
+ capabilitySummary: parseCapabilities(m.capabilitySummaryJson),
883
+ authorCapabilitySummary: parseCapabilities(m.authorCapabilitySummaryJson),
884
+ }));
885
+ }
886
+ /**
887
+ * Consents to run one mod's CLIENT half in your browser at `capabilityHash`, the one
888
+ * {@link gridClientMods} showed you. A CLIENT half whose capabilities change carries a new hash,
889
+ * and the consent stops holding until you consent again; a hash that is not the current one
890
+ * is refused as `CONFLICT` (`CrowdyGraphQLError.code`). Requires access to the app.
891
+ */
892
+ async consentClientMod(appId, modId, capabilityHash) {
893
+ const data = await this.graphql.request(ExecConsentClientModDocument, { appId, modId, capabilityHash });
894
+ return data.execConsentClientMod;
895
+ }
896
+ /**
897
+ * Trusts one author's CLIENT halves on a grid you stand in, at the hash of their union
898
+ * (`authorCapabilityHash`): the trust covers their CLIENT halves there while the union is no
899
+ * wider, and consents to each current one at its own hash. A hash that is not the current one
900
+ * is `CONFLICT`; not standing in the grid, or an author with nothing served there, is
901
+ * `NOT_FOUND`. Requires access to the app.
902
+ */
903
+ async trustAuthor(appId, gridId, authorId, capabilityHash) {
904
+ const data = await this.graphql.request(ExecTrustAuthorDocument, { appId, gridId, authorId, capabilityHash });
905
+ return data.execTrustAuthor;
906
+ }
907
+ /**
908
+ * A served CLIENT half's module, base64, with what the broker needs to run it. Served only to a
909
+ * player holding `run_client_code` in the app, standing in the mod's grid now, who consented
910
+ * to it at its current hash or trusts its author at a union no wider; every refusal is
911
+ * `NOT_FOUND`. At most 12 fetches a minute per player and mod on each API instance
912
+ * (`RATE_LIMITED`): the module never changes for its digest, so cache it by `digest`.
913
+ */
914
+ async modClientArtifact(appId, modId) {
915
+ const data = await this.graphql.request(ExecModClientArtifactDocument, { appId, modId });
916
+ const a = strip(data.execModClientArtifact);
917
+ return { ...a, capabilitySummary: parseCapabilities(a.capabilitySummaryJson) };
918
+ }
919
+ /**
920
+ * {@link modClientArtifact} decoded for `PlayerCodeBroker`: the module's bytes, their SHA-256
921
+ * recomputed with WebCrypto, and the fuel budget as a bigint; the exec twin of
922
+ * `marketplace.clientArtifactBytes`. Bytes that differ from `digest`, a module built for a
923
+ * CLIENT ABI other than {@link EXEC_CLIENT_ABI_VERSION}, or a capability summary that does not
924
+ * parse are refused with a {@link CrowdyProtocolError} and never returned. Start the broker
925
+ * with `engine: 'ck-exec'`, `artifactHash: digest`, `fuelPerDispatch`, `tickIntervalMs` and
926
+ * `consentedHostCalls: capabilitySummary.hostFunctions`.
927
+ */
928
+ async modClientArtifactBytes(appId, modId) {
929
+ const a = await this.modClientArtifact(appId, modId);
930
+ if (a.abiVersion !== EXEC_CLIENT_ABI_VERSION) {
931
+ throw new CrowdyProtocolError({
932
+ message: `CLIENT half of mod ${a.modId} is built for CLIENT ABI ${a.abiVersion}; this SDK runs ABI ${EXEC_CLIENT_ABI_VERSION}`,
933
+ });
934
+ }
935
+ const capabilitySummary = a.capabilitySummary;
936
+ if (!capabilitySummary || !Array.isArray(capabilitySummary.hostFunctions)) {
937
+ throw new CrowdyProtocolError({
938
+ message: `CLIENT half of mod ${a.modId}: its capability summary does not parse, so nothing bounds its host calls`,
939
+ });
940
+ }
941
+ const bytes = fromBase64(a.wasmBase64);
942
+ const digest = a.digest.toLowerCase();
943
+ const actual = await sha256Hex(bytes);
944
+ if (actual !== digest) {
945
+ throw new CrowdyProtocolError({
946
+ message: `CLIENT half of mod ${a.modId}: the module's SHA-256 is ${actual}, not the digest ${digest} it was served with`,
947
+ });
948
+ }
949
+ return {
950
+ modId: a.modId,
951
+ name: a.name,
952
+ gridId: a.gridId,
953
+ clientVersion: a.clientVersion,
954
+ bytes: bytes.buffer,
955
+ digest,
956
+ sizeBytes: a.sizeBytes,
957
+ fuelPerDispatch: BigInt(a.fuelPerDispatch),
958
+ tickIntervalMs: a.tickIntervalMs,
959
+ capabilitySummaryJson: a.capabilitySummaryJson,
960
+ capabilitySummary,
961
+ capabilityHash: a.capabilityHash,
962
+ abiVersion: a.abiVersion,
963
+ };
964
+ }
803
965
  /** A host for this player and its connect token (valid for about a minute). */
804
966
  async endpoint(appId, options = {}) {
805
967
  const data = await this.graphql.request(ExecConnectDocument, {
@@ -36,22 +36,34 @@ export declare class MarketplaceAPI {
36
36
  install(variables: MarketplaceInstallMutationVariables): Promise<MarketplaceInstallMutation['installPlayerCode']>;
37
37
  /** Remove instances/attachments/fetch rights; the acquisition is retained. */
38
38
  uninstall(variables: MarketplaceUninstallMutationVariables): Promise<boolean>;
39
- /** Client mods attached to a grid, with the caller's consent state. */
39
+ /**
40
+ * Client mods attached to a grid, with the caller's consent state.
41
+ * @deprecated Superseded by `client.exec.gridClientMods` (a ck-exec mod's CLIENT half); removed in 18.0.
42
+ */
40
43
  gridClientMods(variables: MarketplaceGridClientModsQueryVariables): Promise<MarketplaceGridClientModsQuery['gridClientMods']>;
41
- /** Consent to one attachment's exact capability hash (per player). */
44
+ /**
45
+ * Consent to one attachment's exact capability hash (per player).
46
+ * @deprecated Superseded by `client.exec.consentClientMod`; removed in 18.0.
47
+ */
42
48
  consentGridClientMod(variables: MarketplaceConsentGridClientModMutationVariables): Promise<boolean>;
43
49
  /**
44
50
  * Trust one author's active attachments in a grid at the exact aggregate
45
51
  * capability hash returned by `gridClientMods`. Capability widening changes
46
52
  * the hash and requires another explicit call.
53
+ * @deprecated Superseded by `client.exec.trustAuthor`; removed in 18.0.
47
54
  */
48
55
  trustGridAuthor(variables: MarketplaceTrustGridAuthorMutationVariables): Promise<MarketplaceTrustGridAuthorMutation['trustGridAuthor']>;
49
- /** Fetch an acquired/attached listing's client artifact (base64 + metadata). */
56
+ /**
57
+ * Fetch an acquired/attached listing's client artifact (base64 + metadata).
58
+ * @deprecated Superseded by `client.exec.modClientArtifact`; removed in 18.0.
59
+ */
50
60
  clientArtifact(variables: MarketplaceClientArtifactQueryVariables): Promise<MarketplaceClientArtifactQuery['playerCodeClientArtifact']>;
51
61
  /**
52
62
  * Fetch and decode a client artifact into broker inputs (bytes, content
53
63
  * hash, per-dispatch fuel budget) — the marketplace twin of
54
64
  * `playerCompute.artifactBytes` for acquired and grid-attached mods.
65
+ * @deprecated Superseded by `client.exec.modClientArtifactBytes`, which also checks the
66
+ * bytes against their digest; `ExecClientHalves` runs a grid's CLIENT halves. Removed in 18.0.
55
67
  */
56
68
  clientArtifactBytes(variables: MarketplaceClientArtifactQueryVariables): Promise<{
57
69
  bytes: ArrayBuffer;
@@ -1 +1 @@
1
- {"version":3,"file":"marketplace.d.ts","sourceRoot":"","sources":["../../src/domains/marketplace.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,EA2BL,KAAK,wBAAwB,EAC7B,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,EACpC,KAAK,wCAAwC,EAC7C,KAAK,8BAA8B,EACnC,KAAK,uCAAuC,EAC5C,KAAK,0BAA0B,EAC/B,KAAK,mCAAmC,EACxC,KAAK,8BAA8B,EACnC,KAAK,uCAAuC,EAC5C,KAAK,8BAA8B,EACnC,KAAK,uCAAuC,EAC5C,KAAK,iCAAiC,EACtC,KAAK,0CAA0C,EAC/C,KAAK,iCAAiC,EACtC,KAAK,0CAA0C,EAC/C,KAAK,0BAA0B,EAC/B,KAAK,mCAAmC,EACxC,KAAK,0BAA0B,EAC/B,KAAK,mCAAmC,EACxC,KAAK,qCAAqC,EAC1C,KAAK,gDAAgD,EACrD,KAAK,kCAAkC,EACvC,KAAK,2CAA2C,EAChD,KAAK,+BAA+B,EACpC,KAAK,wCAAwC,EAC7C,KAAK,iCAAiC,EACtC,KAAK,0CAA0C,EAC/C,KAAK,qCAAqC,EAC1C,KAAK,8CAA8C,EACnD,KAAK,iCAAiC,EACtC,KAAK,0CAA0C,EAC/C,KAAK,qCAAqC,EAC1C,KAAK,8CAA8C,EACnD,KAAK,kCAAkC,EACvC,KAAK,2CAA2C,EAChD,KAAK,gDAAgD,EACrD,KAAK,8BAA8B,EACnC,KAAK,uCAAuC,EAC5C,KAAK,2BAA2B,EAChC,KAAK,oCAAoC,EACzC,KAAK,+BAA+B,EACpC,KAAK,wCAAwC,EAC7C,KAAK,kCAAkC,EACvC,KAAK,2CAA2C,EAChD,KAAK,mCAAmC,EACxC,KAAK,4CAA4C,EACjD,KAAK,qC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