@crowdedkingdoms/crowdyjs 8.12.0 → 8.14.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/README.md CHANGED
@@ -12,6 +12,8 @@ npm install @crowdedkingdoms/crowdyjs
12
12
 
13
13
  CrowdyJS v4 targets browsers by default and uses native `fetch`, `WebSocket`, `crypto`, `btoa`, and `atob`. Node tools can still use the SDK, but must provide browser-compatible globals when opening realtime connections.
14
14
 
15
+ > **Server compatibility (v8.13):** v8.13 adds the **flow-correlation surface**: `gameModel.flow({ appId, flowId })` stitches one flow correlation id into a single cross-engine timeline (model events + automation runs + compute module runs, each time-ascending), and the default event/run fragments now select the nullable `flowId` field on `GmEvent` / `GmAutomationRun` / `WasmModuleRun`. Both require the 2026-07-19 `cks-game-api` dev line (the `2026-07-19-compute-fleet-hardening` migration for the columns and the `gameModelFlow` query for the timeline); older servers reject the operations with a GraphQL validation error, and everything else keeps working. `gameModel.flow` requires the app-admin `manage_apps` permission (it is a diagnostics surface). v8.13 also extends the kit invoke helpers' gameplay-verdict mapping: the typed invoke-contract violation `computeInvoke` raises (`BAD_REQUEST` with an "Invoke params violate ..." message, game-api 2026-07-19+) now maps onto `{ success: false, errorMessage }` (`kitInvoke`) / `{ success: false, reason }` (engine invokes) instead of throwing — see the exported `isKitVerdictError` predicate.
16
+ >
15
17
  > **Server compatibility:** v8.12's **container query predicates** (`where`/`limit`/`offset` on `gameModel.containers`), **automation compute actions** (`actionKind: 'compute_invoke'` with `computeModuleName`/`computeExport` on `gameModel.upsertAutomation`; `property_changed` events additionally carry `oldValue`/`newValue` to compute modules), **container-change push** (`gameModel.containerChanged` — metadata-only pull-on-push over graphql-transport-ws; on Node ≤ 21 pass `webSocketImpl`), and **invoke-trigger contracts** (`contractJson` on `compute.upsertTrigger`/`moduleTriggers`, validated server-side pre-sandbox) require the 2026-07 `cks-game-api` dev line with the `2026-07-19-automation-compute-action` migration; older servers reject the new arguments/fields (omit them and everything else keeps working). (npm 8.11.0 is a partial cut of this surface — prefer 8.12.0.) v8.12 also adds the `runOptimisticAction` kit helper (client-only: the packaged optimistic apply → referee invoke → confirm/rollback loop with actionId receipts). v5.2+ targets environments on release **v0.1.19 or later** (`cks-game-api >= v0.10.3`, `cks-management-api >= v0.1.70`). The destructive mutations send an `idempotencyKey` argument that older servers don't define. v6.1's `client.gameApps.deleteGrid` additionally requires release **v0.1.33+** (`cks-game-api >= v0.12.3`). The game-model **permission effects** fields (`permissionEffects` on `gameModel.upsertFunction`/`seed`, `permissionEffectsAppliedJson` on events) require a `cks-game-api` build with the `2026-07-17-model-permission-effects` migration (v0.13.11+); older servers reject queries/mutations that include them (omit the fields and everything else keeps working). The **permission-read** surface (the `has_grid_permission`/`grid_at`/`has_chunk_permission` expression builtins the kit's `chunkPermission` locks compile to, and selector `*PermissionWhere` predicates) additionally requires `cks-game-api` **v0.13.12+**. Older `cks-game-api` builds report game-model **invoke policy denials** as `FORBIDDEN` GraphQL errors instead of resolving with `success: false`; as of this version the kit's invoke helpers map that error onto the documented `{ success: false, errorMessage }` result, so kit callers behave identically against both server generations. v8.6's **`client.compute`** (Compute Modules — server-side Rust/WASM logic) requires a `cks-game-api` build with the compute surface (the `compute*` root fields, v0.13.13+ dev line); older servers reject these operations with a GraphQL validation error, and everything else keeps working. v8.9's **realtime + live-ops surfaces** (`kit.abilities`/`movement`/`territory`/`racing`/`liveops`/`moderation`/`telemetry`, the loot engine path, `client.compute.deployTemplate` + `kit.deploy({engines})`, and the type-94..98 event parsers) complete the 30-abstraction catalog; v8.8's **session-genre engine surfaces** (`kit.instances`/`director`/`matchmaking`/`minigames`, the engine paths on matches/decks/leaderboards, `economy.orderBook`, and the type-91/92/93 event parsers) talk to the Wave 2 engine templates; capability detection keeps model-only deployments on today's behavior. v8.7's **engine kit surfaces** (`kit.mobs`, `kit.pets`, `kit.combat.attackRouted`, `kit.worldsim.forecast`, and the `kit/wire` pose/lane registry) talk to compute-module game engines built on the Wave 0/1 `cks-game-api` dev line (`crowdy-game-kit` crates); capability detection makes them degrade gracefully — model-only deployments keep today's behavior.
16
18
 
17
19
  > **v8.10 inventory authority:** generated craft/barter transactions work on
@@ -1,5 +1,5 @@
1
1
  import type { GraphQLClient } from '../client.js';
2
- import { type CpEnvironmentsQuery, type CpEnvironmentQuery, type CpChangeOrdersQuery, type CpChangeOrderQuery, type CpAuditQuery, type CpSecretsQuery, type CpEnvSecretsQuery, type CpOvhCatalogSummaryQuery, type CpUsageSummaryQuery, type CpUnreleasedGameApiTagsQuery, type CpEnvironmentVersionsQuery, type OperatorUsersQuery, type SetEnvironmentDeletionProtectionMutation, type PutCpSecretMutation, type DeleteCpSecretMutation, type PutCpEnvSecretMutation, type IngestEnvironmentVersionMutation, type PublishEnvironmentReleaseFromGameApiTagMutation, type YankEnvironmentVersionMutation, type IngestEnvironmentVersionInput, type PublishEnvironmentReleaseFromGameApiTagInput } from '../generated/graphql.js';
2
+ import { type CpEnvironmentsQuery, type CpEnvironmentQuery, type CpChangeOrdersQuery, type CpChangeOrderQuery, type CpAuditQuery, type CpSecretsQuery, type CpEnvSecretsQuery, type CpOvhCatalogSummaryQuery, type CpComputePlatformCeilingsQuery, type CpSetComputePlatformCeilingsMutation, type CpSetComputePlatformCeilingsInput, type CpUsageSummaryQuery, type CpUnreleasedGameApiTagsQuery, type CpEnvironmentVersionsQuery, type OperatorUsersQuery, type SetEnvironmentDeletionProtectionMutation, type PutCpSecretMutation, type DeleteCpSecretMutation, type PutCpEnvSecretMutation, type IngestEnvironmentVersionMutation, type PublishEnvironmentReleaseFromGameApiTagMutation, type YankEnvironmentVersionMutation, type IngestEnvironmentVersionInput, type PublishEnvironmentReleaseFromGameApiTagInput } from '../generated/graphql.js';
3
3
  /**
4
4
  * Operator (control-plane) surface — exposed as `client.operator`.
5
5
  *
@@ -81,6 +81,26 @@ export declare class ControlPlaneAPI {
81
81
  * @returns The catalog rows.
82
82
  */
83
83
  ovhCatalogSummary(region?: string): Promise<CpOvhCatalogSummaryQuery['cpOvhCatalogSummary']>;
84
+ /**
85
+ * Platform-wide compute ceilings (the maxima `computeSetPolicy` clamps to).
86
+ * Every knob is nullable: `null` means no operator override, so the
87
+ * env-var/bootstrap default applies on the game-api side.
88
+ *
89
+ * @returns The stored ceiling overrides plus updatedAt/updatedByUserId.
90
+ */
91
+ computePlatformCeilings(): Promise<CpComputePlatformCeilingsQuery['cpComputePlatformCeilings']>;
92
+ /**
93
+ * Patch the platform compute ceilings. Patch semantics per knob: omit =
94
+ * unchanged, explicit `null` = clear the override (fall back to the
95
+ * game-api bootstrap default), positive value = set. Changes replica-sync
96
+ * to game-api and take effect on the next `computeSetPolicy` call (no
97
+ * restart), within a 30s cache bound. Writes a
98
+ * `compute.platform_ceilings_set` audit entry.
99
+ *
100
+ * @param input - The per-knob patch.
101
+ * @returns The stored ceilings after the patch.
102
+ */
103
+ setComputePlatformCeilings(input: CpSetComputePlatformCeilingsInput): Promise<CpSetComputePlatformCeilingsMutation['cpSetComputePlatformCeilings']>;
84
104
  /**
85
105
  * Operator per-minute usage summary for any environment (not org-scoped).
86
106
  *
@@ -1 +1 @@
1
- {"version":3,"file":"controlPlane.d.ts","sourceRoot":"","sources":["../../src/domains/controlPlane.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,EAoBL,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,YAAY,EACjB,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,mBAAmB,EACxB,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAC/B,KAAK,kBAAkB,EACvB,KAAK,wCAAwC,EAC7C,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,gCAAgC,EACrC,KAAK,+CAA+C,EACpD,KAAK,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retsDocument, CpOvhCatalogSummaryDocument, CpUsageSummaryDocument, CpUnreleasedGameApiTagsDocument, CpEnvironmentVersionsDocument, OperatorUsersDocument, SetEnvironmentDeletionProtectionDocument, PutCpSecretDocument, DeleteCpSecretDocument, PutCpEnvSecretDocument, IngestEnvironmentVersionDocument, PublishEnvironmentReleaseFromGameApiTagDocument, YankEnvironmentVersionDocument, } from '../generated/graphql.js';
1
+ import { CpEnvironmentsDocument, CpEnvironmentDocument, CpChangeOrdersDocument, CpChangeOrderDocument, CpAuditDocument, CpSecretsDocument, CpEnvSecretsDocument, CpOvhCatalogSummaryDocument, CpComputePlatformCeilingsDocument, CpSetComputePlatformCeilingsDocument, CpUsageSummaryDocument, CpUnreleasedGameApiTagsDocument, CpEnvironmentVersionsDocument, OperatorUsersDocument, SetEnvironmentDeletionProtectionDocument, PutCpSecretDocument, DeleteCpSecretDocument, PutCpEnvSecretDocument, IngestEnvironmentVersionDocument, PublishEnvironmentReleaseFromGameApiTagDocument, YankEnvironmentVersionDocument, } from '../generated/graphql.js';
2
2
  /**
3
3
  * Operator (control-plane) surface — exposed as `client.operator`.
4
4
  *
@@ -111,6 +111,32 @@ export class ControlPlaneAPI {
111
111
  });
112
112
  return data.cpOvhCatalogSummary;
113
113
  }
114
+ /**
115
+ * Platform-wide compute ceilings (the maxima `computeSetPolicy` clamps to).
116
+ * Every knob is nullable: `null` means no operator override, so the
117
+ * env-var/bootstrap default applies on the game-api side.
118
+ *
119
+ * @returns The stored ceiling overrides plus updatedAt/updatedByUserId.
120
+ */
121
+ async computePlatformCeilings() {
122
+ const data = await this.management.request(CpComputePlatformCeilingsDocument);
123
+ return data.cpComputePlatformCeilings;
124
+ }
125
+ /**
126
+ * Patch the platform compute ceilings. Patch semantics per knob: omit =
127
+ * unchanged, explicit `null` = clear the override (fall back to the
128
+ * game-api bootstrap default), positive value = set. Changes replica-sync
129
+ * to game-api and take effect on the next `computeSetPolicy` call (no
130
+ * restart), within a 30s cache bound. Writes a
131
+ * `compute.platform_ceilings_set` audit entry.
132
+ *
133
+ * @param input - The per-knob patch.
134
+ * @returns The stored ceilings after the patch.
135
+ */
136
+ async setComputePlatformCeilings(input) {
137
+ const data = await this.management.request(CpSetComputePlatformCeilingsDocument, { input });
138
+ return data.cpSetComputePlatformCeilings;
139
+ }
114
140
  /**
115
141
  * Operator per-minute usage summary for any environment (not org-scoped).
116
142
  *
@@ -1,5 +1,5 @@
1
1
  import type { GraphQLClient } from '../client.js';
2
- import { type GameModelCreateSessionMutation, type GameModelCreateSessionMutationVariables, type GameModelJoinSessionMutation, type GameModelJoinSessionMutationVariables, type GameModelSetSessionTurnMutation, type GameModelSetSessionTurnMutationVariables, type GameModelCreateContainerMutation, type GameModelCreateContainerMutationVariables, type GameModelDeleteContainerMutation, type GameModelDeleteContainerMutationVariables, type GameModelSetPropertyMutation, type GameModelSetPropertyMutationVariables, type GameModelAddEdgeMutation, type GameModelAddEdgeMutationVariables, type GameModelDeleteEdgeMutation, type GameModelDeleteEdgeMutationVariables, type GameModelInvokeMutation, type GameModelInvokeMutationVariables, type GameModelContainerQuery, type GameModelContainerQueryVariables, GameModelContainerChangedSubscription, GameModelContainerChangedSubscriptionVariables, type GameModelContainersQuery, type GameModelContainersQueryVariables, type GameModelContainerStateQuery, type GameModelContainerStateQueryVariables, type GameModelTraverseQuery, type GameModelTraverseQueryVariables, type GameModelSessionQuery, type GameModelSessionQueryVariables, type GameModelSessionsQuery, type GameModelSessionsQueryVariables, type GameModelEventsQuery, type GameModelEventsQueryVariables, type GameModelSeedMutation, type GameModelSeedMutationVariables, type GameModelUpsertContainerTypeMutation, type GameModelUpsertContainerTypeMutationVariables, type GameModelUpsertPropertyDefMutation, type GameModelUpsertPropertyDefMutationVariables, type GameModelDeletePropertyDefMutation, type GameModelDeletePropertyDefMutationVariables, type GameModelDeleteContainerTypeMutation, type GameModelDeleteContainerTypeMutationVariables, type GameModelUpsertFunctionMutation, type GameModelUpsertFunctionMutationVariables, type GameModelDeleteFunctionMutation, type GameModelDeleteFunctionMutationVariables, type GameModelDefineFeatureMutation, type GameModelDefineFeatureMutationVariables, type GameModelGrantTierFeatureMutation, type GameModelGrantTierFeatureMutationVariables, type GameModelSetPolicyMutation, type GameModelSetPolicyMutationVariables, type GameModelTypeSchemaQuery, type GameModelTypeSchemaQueryVariables, type GameModelContainerTypesQuery, type GameModelContainerTypesQueryVariables, type GameModelPropertyDefsQuery, type GameModelPropertyDefsQueryVariables, type GameModelFunctionQuery, type GameModelFunctionQueryVariables, type GameModelFunctionsQuery, type GameModelFunctionsQueryVariables, type GameModelFeaturesQuery, type GameModelFeaturesQueryVariables, type GameModelTierFeaturesQuery, type GameModelTierFeaturesQueryVariables, type GameModelPolicyQuery, type GameModelPolicyQueryVariables, type GameModelRevokeTierFeatureMutation, type GameModelRevokeTierFeatureMutationVariables, type GameModelEventsConnectionQuery, type GameModelEventsConnectionQueryVariables, type GameModelUpsertAutomationMutation, type GameModelUpsertAutomationMutationVariables, type GameModelDeleteAutomationMutation, type GameModelDeleteAutomationMutationVariables, type GameModelSetAutomationEnabledMutation, type GameModelSetAutomationEnabledMutationVariables, type GameModelUpsertAutomationTriggerMutation, type GameModelUpsertAutomationTriggerMutationVariables, type GameModelDeleteAutomationTriggerMutation, type GameModelDeleteAutomationTriggerMutationVariables, type GameModelSetAutomationPolicyMutation, type GameModelSetAutomationPolicyMutationVariables, type GameModelRunAutomationMutation, type GameModelRunAutomationMutationVariables, type GameModelAutomationsQuery, type GameModelAutomationsQueryVariables, type GameModelAutomationQuery, type GameModelAutomationQueryVariables, type GameModelAutomationTriggersQuery, type GameModelAutomationTriggersQueryVariables, type GameModelAutomationPolicyQuery, type GameModelAutomationPolicyQueryVariables, type GameModelAutomationRunsQuery, type GameModelAutomationRunsQueryVariables, type GameModelAutomationStatsQuery, type GameModelAutomationStatsQueryVariables, type GameModelAppDiagnosticsQuery, type GameModelAppDiagnosticsQueryVariables } from '../generated/graphql.js';
2
+ import { type GameModelCreateSessionMutation, type GameModelCreateSessionMutationVariables, type GameModelJoinSessionMutation, type GameModelJoinSessionMutationVariables, type GameModelSetSessionTurnMutation, type GameModelSetSessionTurnMutationVariables, type GameModelCreateContainerMutation, type GameModelCreateContainerMutationVariables, type GameModelDeleteContainerMutation, type GameModelDeleteContainerMutationVariables, type GameModelSetPropertyMutation, type GameModelSetPropertyMutationVariables, type GameModelAddEdgeMutation, type GameModelAddEdgeMutationVariables, type GameModelDeleteEdgeMutation, type GameModelDeleteEdgeMutationVariables, type GameModelInvokeMutation, type GameModelInvokeMutationVariables, type GameModelContainerQuery, type GameModelContainerQueryVariables, GameModelContainerChangedSubscription, GameModelContainerChangedSubscriptionVariables, type GameModelContainersQuery, type GameModelContainersQueryVariables, type GameModelContainerStateQuery, type GameModelContainerStateQueryVariables, type GameModelTraverseQuery, type GameModelTraverseQueryVariables, type GameModelSessionQuery, type GameModelSessionQueryVariables, type GameModelSessionsQuery, type GameModelSessionsQueryVariables, type GameModelEventsQuery, type GameModelEventsQueryVariables, type GameModelFlowQuery, type GameModelFlowQueryVariables, type GameModelSeedMutation, type GameModelSeedMutationVariables, type GameModelUpsertContainerTypeMutation, type GameModelUpsertContainerTypeMutationVariables, type GameModelUpsertPropertyDefMutation, type GameModelUpsertPropertyDefMutationVariables, type GameModelDeletePropertyDefMutation, type GameModelDeletePropertyDefMutationVariables, type GameModelDeleteContainerTypeMutation, type GameModelDeleteContainerTypeMutationVariables, type GameModelUpsertFunctionMutation, type GameModelUpsertFunctionMutationVariables, type GameModelDeleteFunctionMutation, type GameModelDeleteFunctionMutationVariables, type GameModelDefineFeatureMutation, type GameModelDefineFeatureMutationVariables, type GameModelGrantTierFeatureMutation, type GameModelGrantTierFeatureMutationVariables, type GameModelSetPolicyMutation, type GameModelSetPolicyMutationVariables, type GameModelTypeSchemaQuery, type GameModelTypeSchemaQueryVariables, type GameModelContainerTypesQuery, type GameModelContainerTypesQueryVariables, type GameModelPropertyDefsQuery, type GameModelPropertyDefsQueryVariables, type GameModelFunctionQuery, type GameModelFunctionQueryVariables, type GameModelFunctionsQuery, type GameModelFunctionsQueryVariables, type GameModelFeaturesQuery, type GameModelFeaturesQueryVariables, type GameModelTierFeaturesQuery, type GameModelTierFeaturesQueryVariables, type GameModelPolicyQuery, type GameModelPolicyQueryVariables, type GameModelRevokeTierFeatureMutation, type GameModelRevokeTierFeatureMutationVariables, type GameModelEventsConnectionQuery, type GameModelEventsConnectionQueryVariables, type GameModelUpsertAutomationMutation, type GameModelUpsertAutomationMutationVariables, type GameModelDeleteAutomationMutation, type GameModelDeleteAutomationMutationVariables, type GameModelSetAutomationEnabledMutation, type GameModelSetAutomationEnabledMutationVariables, type GameModelUpsertAutomationTriggerMutation, type GameModelUpsertAutomationTriggerMutationVariables, type GameModelDeleteAutomationTriggerMutation, type GameModelDeleteAutomationTriggerMutationVariables, type GameModelSetAutomationPolicyMutation, type GameModelSetAutomationPolicyMutationVariables, type GameModelRunAutomationMutation, type GameModelRunAutomationMutationVariables, type GameModelAutomationsQuery, type GameModelAutomationsQueryVariables, type GameModelAutomationQuery, type GameModelAutomationQueryVariables, type GameModelAutomationTriggersQuery, type GameModelAutomationTriggersQueryVariables, type GameModelAutomationPolicyQuery, type GameModelAutomationPolicyQueryVariables, type GameModelAutomationRunsQuery, type GameModelAutomationRunsQueryVariables, type GameModelAutomationStatsQuery, type GameModelAutomationStatsQueryVariables, type GameModelAppDiagnosticsQuery, type GameModelAppDiagnosticsQueryVariables } from '../generated/graphql.js';
3
3
  /**
4
4
  * Abstract **game-model** sub-client on the **game-api** — a schema-driven,
5
5
  * server-authoritative layer for modelling game/world logic on top of the
@@ -370,6 +370,34 @@ export declare class GameModelAPI {
370
370
  * @throws {CrowdyGraphQLError} `UNAUTHENTICATED` / `SCOPE_MISSING`.
371
371
  */
372
372
  eventsConnection(variables: GameModelEventsConnectionQueryVariables): Promise<GameModelEventsConnectionQuery['gameModelEventsConnection']>;
373
+ /**
374
+ * **Diagnostics** — stitch one flow correlation id into a single
375
+ * cross-engine timeline: the model **events** ({@link events} rows), the
376
+ * **automationRuns**, and the compute **moduleRuns** that share the
377
+ * `flowId` minted at the entry edge (a player {@link invoke}, an automation
378
+ * run, or a `computeInvoke`) and propagated across `model_invoke`, the
379
+ * event bus, and `emit_compute_event`. Each array is ordered by time
380
+ * ascending, so the three together read as one causal trace — "what
381
+ * happened to this kill's reward" in one query instead of three
382
+ * hand-joined ones. Take the `flowId` from the `flowId` field on any
383
+ * {@link GmEvent}, {@link GmAutomationRun}, or {@link WasmModuleRun}
384
+ * (selected by the default fragments since SDK 8.13.0).
385
+ *
386
+ * Requires the app-admin **`manage_apps`** permission (a diagnostics
387
+ * surface, like {@link automationRuns}) and a game-api with the
388
+ * `gameModelFlow` query (2026-07-19 or later; older servers reject the
389
+ * operation with a validation error).
390
+ *
391
+ * @param variables - `{ appId, flowId }`: `appId` (decimal string) and the
392
+ * flow correlation id (a UUID string). An unknown `flowId` returns three
393
+ * empty arrays.
394
+ * @returns The {@link GmFlowTimeline}: `flowId`, `events`,
395
+ * `automationRuns`, and `moduleRuns`, each time-ascending.
396
+ * @throws {CrowdyGraphQLError} `UNAUTHENTICATED` / `SCOPE_MISSING`,
397
+ * `FORBIDDEN` (`requiredPermission === 'manage_apps'`), or `BAD_REQUEST`
398
+ * if `flowId` is not a UUID.
399
+ */
400
+ flow(variables: GameModelFlowQueryVariables): Promise<GameModelFlowQuery['gameModelFlow']>;
373
401
  /**
374
402
  * **Seed** — bulk-create game-model definitions (container types, property
375
403
  * defs, functions) and optionally instances (containers + edges) in one
@@ -1 +1 @@
1
- {"version":3,"file":"gameModel.d.ts","sourceRoot":"","sources":["../../src/domains/gameModel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAIlD,OAAO,EAGL,KAAK,8BAA8B,EACnC,KAAK,uCAAuC,EAE5C,KAAK,4BAA4B,EACjC,KAAK,qCAAqC,EAE1C,KAAK,+BAA+B,EACpC,KAAK,wCAAwC,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CAAqC,GAC/C,OAAO,CAAC,4BAA4B,CAAC,yBAAyB,CAAC,CAAC;CAIpE"}
@@ -2,7 +2,7 @@ import { createClient as createWsClient } from 'graphql-ws';
2
2
  import { print } from 'graphql';
3
3
  import {
4
4
  // Runtime (player) ops
5
- GameModelCreateSessionDocument, GameModelJoinSessionDocument, GameModelSetSessionTurnDocument, GameModelCreateContainerDocument, GameModelDeleteContainerDocument, GameModelSetPropertyDocument, GameModelAddEdgeDocument, GameModelDeleteEdgeDocument, GameModelInvokeDocument, GameModelContainerDocument, GameModelContainerChangedDocument, GameModelContainersDocument, GameModelContainerStateDocument, GameModelTraverseDocument, GameModelSessionDocument, GameModelSessionsDocument, GameModelEventsDocument,
5
+ GameModelCreateSessionDocument, GameModelJoinSessionDocument, GameModelSetSessionTurnDocument, GameModelCreateContainerDocument, GameModelDeleteContainerDocument, GameModelSetPropertyDocument, GameModelAddEdgeDocument, GameModelDeleteEdgeDocument, GameModelInvokeDocument, GameModelContainerDocument, GameModelContainerChangedDocument, GameModelContainersDocument, GameModelContainerStateDocument, GameModelTraverseDocument, GameModelSessionDocument, GameModelSessionsDocument, GameModelEventsDocument, GameModelFlowDocument,
6
6
  // Studio authoring ops
7
7
  GameModelSeedDocument, GameModelUpsertContainerTypeDocument, GameModelUpsertPropertyDefDocument, GameModelDeletePropertyDefDocument, GameModelDeleteContainerTypeDocument, GameModelUpsertFunctionDocument, GameModelDeleteFunctionDocument, GameModelDefineFeatureDocument, GameModelGrantTierFeatureDocument, GameModelSetPolicyDocument, GameModelTypeSchemaDocument, GameModelContainerTypesDocument, GameModelPropertyDefsDocument, GameModelFunctionDocument, GameModelFunctionsDocument, GameModelFeaturesDocument, GameModelTierFeaturesDocument, GameModelPolicyDocument, GameModelRevokeTierFeatureDocument, GameModelEventsConnectionDocument,
8
8
  // Automations (autonomous processes / NPCs)
@@ -368,6 +368,37 @@ export class GameModelAPI {
368
368
  const data = await this.gql.request(GameModelEventsConnectionDocument, variables);
369
369
  return data.gameModelEventsConnection;
370
370
  }
371
+ /**
372
+ * **Diagnostics** — stitch one flow correlation id into a single
373
+ * cross-engine timeline: the model **events** ({@link events} rows), the
374
+ * **automationRuns**, and the compute **moduleRuns** that share the
375
+ * `flowId` minted at the entry edge (a player {@link invoke}, an automation
376
+ * run, or a `computeInvoke`) and propagated across `model_invoke`, the
377
+ * event bus, and `emit_compute_event`. Each array is ordered by time
378
+ * ascending, so the three together read as one causal trace — "what
379
+ * happened to this kill's reward" in one query instead of three
380
+ * hand-joined ones. Take the `flowId` from the `flowId` field on any
381
+ * {@link GmEvent}, {@link GmAutomationRun}, or {@link WasmModuleRun}
382
+ * (selected by the default fragments since SDK 8.13.0).
383
+ *
384
+ * Requires the app-admin **`manage_apps`** permission (a diagnostics
385
+ * surface, like {@link automationRuns}) and a game-api with the
386
+ * `gameModelFlow` query (2026-07-19 or later; older servers reject the
387
+ * operation with a validation error).
388
+ *
389
+ * @param variables - `{ appId, flowId }`: `appId` (decimal string) and the
390
+ * flow correlation id (a UUID string). An unknown `flowId` returns three
391
+ * empty arrays.
392
+ * @returns The {@link GmFlowTimeline}: `flowId`, `events`,
393
+ * `automationRuns`, and `moduleRuns`, each time-ascending.
394
+ * @throws {CrowdyGraphQLError} `UNAUTHENTICATED` / `SCOPE_MISSING`,
395
+ * `FORBIDDEN` (`requiredPermission === 'manage_apps'`), or `BAD_REQUEST`
396
+ * if `flowId` is not a UUID.
397
+ */
398
+ async flow(variables) {
399
+ const data = await this.gql.request(GameModelFlowDocument, variables);
400
+ return data.gameModelFlow;
401
+ }
371
402
  // -- Studio authoring -------------------------------------------------------
372
403
  /**
373
404
  * **Seed** — bulk-create game-model definitions (container types, property
@@ -1466,6 +1466,32 @@ export type CpChangeOrdersPage = {
1466
1466
  /** Total rows across all pages (not just this page). */
1467
1467
  total: Scalars['Int']['output'];
1468
1468
  };
1469
+ /** Operator-set platform ceilings for the per-app WASM compute policy. Each field caps the matching wasm_module_policy knob platform-wide: game-api rejects computeSetPolicy values above the ceiling. A null field means no operator override is stored — game-api falls back to its COMPUTE_PLATFORM_MAX_* env var (bootstrap default), then to the built-in code default. Edits propagate to game-api replicas via replica sync and apply within ~30 seconds, without a game-api restart. */
1470
+ export type CpComputePlatformCeilings = {
1471
+ __typename?: 'CpComputePlatformCeilings';
1472
+ /** Max deterministic fuel budget per invoke (fuel_per_invoke ceiling; decimal string). Null = no override (game-api bootstrap default 50000000000). */
1473
+ fuelPerInvoke: Maybe<Scalars['BigInt']['output']>;
1474
+ /** Max deterministic fuel budget per tick (fuel_per_tick ceiling; decimal string). Null = no override (game-api bootstrap default 10000000000). */
1475
+ fuelPerTick: Maybe<Scalars['BigInt']['output']>;
1476
+ /** Max host data-API operations per tick (max_db_ops_per_tick ceiling). Null = no override (game-api bootstrap default 500). */
1477
+ maxDbOpsPerTick: Maybe<Scalars['Int']['output']>;
1478
+ /** Max module-emitted replication bytes per minute (max_egress_bytes_per_min ceiling; decimal string). Null = no override (game-api bootstrap default 100000000). */
1479
+ maxEgressBytesPerMin: Maybe<Scalars['BigInt']['output']>;
1480
+ /** Max module-emitted replication messages per minute (max_egress_msgs_per_min ceiling). Null = no override (game-api bootstrap default 60000). */
1481
+ maxEgressMsgsPerMin: Maybe<Scalars['Int']['output']>;
1482
+ /** Max WASM linear memory per module instance in MiB (max_memory_mb ceiling). Null = no override (game-api bootstrap default 512). */
1483
+ maxMemoryMb: Maybe<Scalars['Int']['output']>;
1484
+ /** Max compute modules per app (wasm_module_policy.max_modules ceiling). Null = no override (game-api bootstrap default 100). */
1485
+ maxModules: Maybe<Scalars['Int']['output']>;
1486
+ /** Max wall-clock watchdog deadline per entry call in milliseconds (max_run_ms ceiling). Null = no override (game-api bootstrap default 5000). */
1487
+ maxRunMs: Maybe<Scalars['Int']['output']>;
1488
+ /** Max tick trigger rate in Hz per module (max_tick_hz ceiling). Null = no override (game-api bootstrap default 60). */
1489
+ maxTickHz: Maybe<Scalars['Int']['output']>;
1490
+ /** When the ceilings row was last updated (UTC). */
1491
+ updatedAt: Scalars['DateTime']['output'];
1492
+ /** users.user_id of the operator who last updated the ceilings. Null when never edited. */
1493
+ updatedByUserId: Maybe<Scalars['String']['output']>;
1494
+ };
1469
1495
  export type CpEnvSecretRow = {
1470
1496
  __typename?: 'CpEnvSecretRow';
1471
1497
  createdAt: Scalars['DateTime']['output'];
@@ -1551,6 +1577,27 @@ export type CpSecretRow = {
1551
1577
  name: Scalars['String']['output'];
1552
1578
  rotatedAt: Maybe<Scalars['DateTime']['output']>;
1553
1579
  };
1580
+ /** Patch for cpSetComputePlatformCeilings. Omitted fields stay unchanged; a field set to an explicit null clears that override (game-api falls back to its COMPUTE_PLATFORM_MAX_* env var, then the code default); a value sets the ceiling. All values must be > 0. At least one field is required. */
1581
+ export type CpSetComputePlatformCeilingsInput = {
1582
+ /** Max fuel per invoke (decimal string). > 0; explicit null clears the override; omit to leave unchanged. */
1583
+ fuelPerInvoke?: InputMaybe<Scalars['BigInt']['input']>;
1584
+ /** Max fuel per tick (decimal string). > 0; explicit null clears the override; omit to leave unchanged. */
1585
+ fuelPerTick?: InputMaybe<Scalars['BigInt']['input']>;
1586
+ /** Max host data-API operations per tick. > 0; explicit null clears the override; omit to leave unchanged. */
1587
+ maxDbOpsPerTick?: InputMaybe<Scalars['Int']['input']>;
1588
+ /** Max module-emitted replication bytes per minute (decimal string). > 0; explicit null clears the override; omit to leave unchanged. */
1589
+ maxEgressBytesPerMin?: InputMaybe<Scalars['BigInt']['input']>;
1590
+ /** Max module-emitted replication messages per minute. > 0; explicit null clears the override; omit to leave unchanged. */
1591
+ maxEgressMsgsPerMin?: InputMaybe<Scalars['Int']['input']>;
1592
+ /** Max WASM memory per module instance in MiB. > 0; explicit null clears the override; omit to leave unchanged. */
1593
+ maxMemoryMb?: InputMaybe<Scalars['Int']['input']>;
1594
+ /** Max compute modules per app. > 0; explicit null clears the override; omit to leave unchanged. */
1595
+ maxModules?: InputMaybe<Scalars['Int']['input']>;
1596
+ /** Max watchdog deadline per entry call in milliseconds. > 0; explicit null clears the override; omit to leave unchanged. */
1597
+ maxRunMs?: InputMaybe<Scalars['Int']['input']>;
1598
+ /** Max tick rate in Hz per module. > 0; explicit null clears the override; omit to leave unchanged. */
1599
+ maxTickHz?: InputMaybe<Scalars['Int']['input']>;
1600
+ };
1554
1601
  export type CpStepRow = {
1555
1602
  __typename?: 'CpStepRow';
1556
1603
  attempt: Scalars['Int']['output'];
@@ -2334,6 +2381,8 @@ export type GmAutomationRun = {
2334
2381
  errorMessage: Maybe<Scalars['String']['output']>;
2335
2382
  /** When the run finished. */
2336
2383
  finishedAt: Maybe<Scalars['DateTime']['output']>;
2384
+ /** Flow correlation id: shared with gm event-log rows and compute module runs triggered by the same entry call (player invoke / automation run / computeInvoke). */
2385
+ flowId: Maybe<Scalars['String']['output']>;
2337
2386
  /** Number of fn: user-function calls across invocations. */
2338
2387
  fnCalls: Scalars['Int']['output'];
2339
2388
  /** Evaluation gas consumed across invocations. */
@@ -2522,6 +2571,8 @@ export type GmEvent = {
2522
2571
  eventId: Scalars['String']['output'];
2523
2572
  /** When the invocation executed. */
2524
2573
  executedAt: Scalars['DateTime']['output'];
2574
+ /** Flow correlation id: shared with automation runs and compute module runs caused by the same entry call (player invoke / automation run / computeInvoke), so cross-engine flows can be stitched together. */
2575
+ flowId: Maybe<Scalars['String']['output']>;
2525
2576
  /** The function that was invoked. */
2526
2577
  functionName: Scalars['String']['output'];
2527
2578
  /** JSON array of applied mutations. */
@@ -2547,6 +2598,18 @@ export type GmEventEdge = {
2547
2598
  /** The node at the end of this edge. */
2548
2599
  node: GmEvent;
2549
2600
  };
2601
+ /** The stitched cross-engine timeline for one flow correlation id: every model event, automation run, and compute module run that shares the flow_id minted at the entry edge (player invoke / automation run / computeInvoke). Each array is ordered by time ascending, so the three together read as one causal diagnostics trace (e.g. mob kill -> compute event -> reward grant). */
2602
+ export type GmFlowTimeline = {
2603
+ __typename?: 'GmFlowTimeline';
2604
+ /** Automation (autonomous process) runs in the flow, ordered by startedAt ascending. */
2605
+ automationRuns: Array<GmAutomationRun>;
2606
+ /** Model function-invocation events (gm_event_log rows) in the flow, ordered by executedAt ascending. */
2607
+ events: Array<GmEvent>;
2608
+ /** The flow correlation id (UUID) this timeline was built for. */
2609
+ flowId: Scalars['String']['output'];
2610
+ /** Compute module runs in the flow, ordered by startedAt ascending. */
2611
+ moduleRuns: Array<WasmModuleRun>;
2612
+ };
2550
2613
  /** A studio-defined function: a named, sandboxed behavior over containers (parameters, declared mutations, optional return, and an authority invoke policy). */
2551
2614
  export type GmFunction = {
2552
2615
  __typename?: 'GmFunction';
@@ -3154,6 +3217,8 @@ export type Mutation = {
3154
3217
  confirmEmail: Scalars['Boolean']['output'];
3155
3218
  /** Open the UDP proxy session for this game token (idempotent: returns the existing status if one is already open). Binds a socket and selects the game server with the fewest clients on first open. Optional: send mutations and udpNotifications also create a session lazily when none exists. To force a fresh socket, call disconnectUdpProxy first. */
3156
3219
  connectUdpProxy: UdpProxyConnectionStatus;
3220
+ /** Operator only (is_operator). Patches the platform compute ceilings: omitted fields stay unchanged, an explicit null clears that override (game-api falls back to env/default), a value (> 0) sets it. SIDE EFFECTS: fans a replica notify out to every game-api so the new ceilings clamp computeSetPolicy within ~30 seconds without a restart, and writes an audit entry. Lowering a ceiling does not shrink already-stored per-app policies; it rejects future computeSetPolicy values above the new ceiling. Returns the updated ceilings row. */
3221
+ cpSetComputePlatformCeilings: CpComputePlatformCeilings;
3157
3222
  /** Create a new access tier (a free/paid bundle of runtime permissions) for an app. Requires the 'manage_access_tiers' permission on the app (input.appId); super admins bypass. SIDE EFFECTS: validates the tier's permission keys against runtimePermissions and notifies the game API so Buddy sees the new tier. Does NOT grant the tier to any user. */
3158
3223
  createAccessTier: AppAccessTier;
3159
3224
  /** Creates an actor (a player’s presence/instance in an app world) owned by the authenticated user and returns the persisted row (including the server-set `createdAt`). Requires a valid game token. If `input.avatarId` is set it must reference an avatar the caller owns (throws Unauthorized otherwise). `input.uuid` must be the 32-character ASCII actor id used on the UDP wire (NOT a hyphenated RFC-4122 UUID). */
@@ -3545,6 +3610,9 @@ export type MutationComputeUpsertTriggerArgs = {
3545
3610
  export type MutationConfirmEmailArgs = {
3546
3611
  token: Scalars['String']['input'];
3547
3612
  };
3613
+ export type MutationCpSetComputePlatformCeilingsArgs = {
3614
+ input: CpSetComputePlatformCeilingsInput;
3615
+ };
3548
3616
  export type MutationCreateAccessTierArgs = {
3549
3617
  input: CreateAccessTierInput;
3550
3618
  };
@@ -4550,6 +4618,8 @@ export type Query = {
4550
4618
  cpChangeOrder: Maybe<CpChangeOrderDetail>;
4551
4619
  /** Operator only (is_operator). Paginated change orders, optionally filtered by environment. Returns a *Page (rows/total/page/pageSize); page is 1-based. */
4552
4620
  cpChangeOrders: CpChangeOrdersPage;
4621
+ /** Operator only (is_operator). The stored platform ceilings for the per-app WASM compute policy (the nine knobs computeSetPolicy clamps against). Null fields mean no operator override: game-api uses its COMPUTE_PLATFORM_MAX_* env var, then the code default. Read-only. */
4622
+ cpComputePlatformCeilings: CpComputePlatformCeilings;
4553
4623
  /** Operator only (is_operator). Lists environment-delivered secret metadata (names/kinds only, never plaintext) injected into the tenant runtime, optionally filtered by environment. */
4554
4624
  cpEnvSecrets: Array<CpEnvSecretRow>;
4555
4625
  /** Operator only (is_operator). Operator view of one environment by slug, across any org. Null when not found. */
@@ -4616,6 +4686,8 @@ export type Query = {
4616
4686
  gameModelEventsConnection: GameModelEventsConnection;
4617
4687
  /** List the feature keys defined for an app. Requires app-admin ('manage_apps'). */
4618
4688
  gameModelFeatures: Array<GmAppFeature>;
4689
+ /** Diagnostics surface: stitch one flow correlation id into a single cross-engine timeline — the model events (gm event log), automation runs, and compute module runs that share the flowId minted at the entry edge (player gameModelInvoke / automation run / computeInvoke) and propagated across model_invoke, the event bus, and emit_compute_event. Each array is ordered by time ascending; an unknown flowId returns three empty arrays. Answers "what happened to this kill's reward" in one query instead of three hand-joined ones. Requires app-admin ('manage_apps'). */
4690
+ gameModelFlow: GmFlowTimeline;
4619
4691
  /** Fetch one studio-defined function by name. Requires app-admin ('manage_apps'). */
4620
4692
  gameModelFunction: GmFunction;
4621
4693
  /** List studio-defined functions for an app, optionally filtered to those attached to a container type. Requires app-admin ('manage_apps'). */
@@ -5077,6 +5149,10 @@ export type QueryGameModelEventsConnectionArgs = {
5077
5149
  export type QueryGameModelFeaturesArgs = {
5078
5150
  appId: Scalars['BigInt']['input'];
5079
5151
  };
5152
+ export type QueryGameModelFlowArgs = {
5153
+ appId: Scalars['BigInt']['input'];
5154
+ flowId: Scalars['String']['input'];
5155
+ };
5080
5156
  export type QueryGameModelFunctionArgs = {
5081
5157
  appId: Scalars['BigInt']['input'];
5082
5158
  name: Scalars['String']['input'];
@@ -6915,6 +6991,8 @@ export type WasmModuleRun = {
6915
6991
  entry: Maybe<Scalars['String']['output']>;
6916
6992
  /** Error message when the run failed (trap, fuel, watchdog). */
6917
6993
  errorMessage: Maybe<Scalars['String']['output']>;
6994
+ /** Flow correlation id: shared with gm event-log rows and automation runs caused by the same entry call (computeInvoke / automation run / player invoke); ticks mint their own. */
6995
+ flowId: Maybe<Scalars['String']['output']>;
6918
6996
  /** Fuel consumed by the run. */
6919
6997
  fuelUsed: Scalars['BigInt']['output'];
6920
6998
  /** The module that ran. */
@@ -8612,6 +8690,7 @@ export type ComputeRunFieldsFragment = {
8612
8690
  __typename?: 'WasmModuleRun';
8613
8691
  runId: string;
8614
8692
  appId: string;
8693
+ flowId: string | null;
8615
8694
  moduleId: string;
8616
8695
  moduleName: string;
8617
8696
  triggerSource: string;
@@ -8900,6 +8979,7 @@ export type ComputeModuleRunsQuery = {
8900
8979
  __typename?: 'WasmModuleRun';
8901
8980
  runId: string;
8902
8981
  appId: string;
8982
+ flowId: string | null;
8903
8983
  moduleId: string;
8904
8984
  moduleName: string;
8905
8985
  triggerSource: string;
@@ -9398,6 +9478,46 @@ export type YankEnvironmentVersionMutation = {
9398
9478
  __typename?: 'Mutation';
9399
9479
  yankEnvironmentVersion: boolean;
9400
9480
  };
9481
+ export type CpComputePlatformCeilingsQueryVariables = Exact<{
9482
+ [key: string]: never;
9483
+ }>;
9484
+ export type CpComputePlatformCeilingsQuery = {
9485
+ __typename?: 'Query';
9486
+ cpComputePlatformCeilings: {
9487
+ __typename?: 'CpComputePlatformCeilings';
9488
+ maxModules: number | null;
9489
+ maxTickHz: number | null;
9490
+ fuelPerTick: string | null;
9491
+ fuelPerInvoke: string | null;
9492
+ maxMemoryMb: number | null;
9493
+ maxRunMs: number | null;
9494
+ maxDbOpsPerTick: number | null;
9495
+ maxEgressMsgsPerMin: number | null;
9496
+ maxEgressBytesPerMin: string | null;
9497
+ updatedAt: string;
9498
+ updatedByUserId: string | null;
9499
+ };
9500
+ };
9501
+ export type CpSetComputePlatformCeilingsMutationVariables = Exact<{
9502
+ input: CpSetComputePlatformCeilingsInput;
9503
+ }>;
9504
+ export type CpSetComputePlatformCeilingsMutation = {
9505
+ __typename?: 'Mutation';
9506
+ cpSetComputePlatformCeilings: {
9507
+ __typename?: 'CpComputePlatformCeilings';
9508
+ maxModules: number | null;
9509
+ maxTickHz: number | null;
9510
+ fuelPerTick: string | null;
9511
+ fuelPerInvoke: string | null;
9512
+ maxMemoryMb: number | null;
9513
+ maxRunMs: number | null;
9514
+ maxDbOpsPerTick: number | null;
9515
+ maxEgressMsgsPerMin: number | null;
9516
+ maxEgressBytesPerMin: string | null;
9517
+ updatedAt: string;
9518
+ updatedByUserId: string | null;
9519
+ };
9520
+ };
9401
9521
  export type CreateEnvironmentMutationVariables = Exact<{
9402
9522
  input: CreateEnvironmentInput;
9403
9523
  }>;
@@ -9986,6 +10106,7 @@ export type GmAutomationRunFieldsFragment = {
9986
10106
  __typename?: 'GmAutomationRun';
9987
10107
  runId: string;
9988
10108
  appId: string;
10109
+ flowId: string | null;
9989
10110
  automationId: string;
9990
10111
  automationName: string;
9991
10112
  triggerSource: string;
@@ -10149,6 +10270,7 @@ export type GameModelRunAutomationMutation = {
10149
10270
  __typename?: 'GmAutomationRun';
10150
10271
  runId: string;
10151
10272
  appId: string;
10273
+ flowId: string | null;
10152
10274
  automationId: string;
10153
10275
  automationName: string;
10154
10276
  triggerSource: string;
@@ -10300,6 +10422,7 @@ export type GameModelAutomationRunsQuery = {
10300
10422
  __typename?: 'GmAutomationRun';
10301
10423
  runId: string;
10302
10424
  appId: string;
10425
+ flowId: string | null;
10303
10426
  automationId: string;
10304
10427
  automationName: string;
10305
10428
  triggerSource: string;
@@ -10697,6 +10820,7 @@ export type GameModelEventsQuery = {
10697
10820
  gameModelEvents: Array<{
10698
10821
  __typename?: 'GmEvent';
10699
10822
  eventId: string;
10823
+ flowId: string | null;
10700
10824
  sessionId: string | null;
10701
10825
  functionName: string;
10702
10826
  selfContainerId: string | null;
@@ -10732,6 +10856,7 @@ export type GameModelEventsConnectionQuery = {
10732
10856
  node: {
10733
10857
  __typename?: 'GmEvent';
10734
10858
  eventId: string;
10859
+ flowId: string | null;
10735
10860
  sessionId: string | null;
10736
10861
  functionName: string;
10737
10862
  selfContainerId: string | null;
@@ -10756,6 +10881,78 @@ export type GameModelEventsConnectionQuery = {
10756
10881
  };
10757
10882
  };
10758
10883
  };
10884
+ export type GameModelFlowQueryVariables = Exact<{
10885
+ appId: Scalars['BigInt']['input'];
10886
+ flowId: Scalars['String']['input'];
10887
+ }>;
10888
+ export type GameModelFlowQuery = {
10889
+ __typename?: 'Query';
10890
+ gameModelFlow: {
10891
+ __typename?: 'GmFlowTimeline';
10892
+ flowId: string;
10893
+ events: Array<{
10894
+ __typename?: 'GmEvent';
10895
+ eventId: string;
10896
+ flowId: string | null;
10897
+ sessionId: string | null;
10898
+ functionName: string;
10899
+ selfContainerId: string | null;
10900
+ callerUserId: string | null;
10901
+ callerKind: string;
10902
+ automationId: string | null;
10903
+ paramsJson: string;
10904
+ mutationsAppliedJson: string;
10905
+ permissionEffectsAppliedJson: string;
10906
+ returnValueJson: string | null;
10907
+ success: boolean;
10908
+ errorMessage: string | null;
10909
+ executedAt: string;
10910
+ }>;
10911
+ automationRuns: Array<{
10912
+ __typename?: 'GmAutomationRun';
10913
+ runId: string;
10914
+ appId: string;
10915
+ flowId: string | null;
10916
+ automationId: string;
10917
+ automationName: string;
10918
+ triggerSource: string;
10919
+ parentRunId: string | null;
10920
+ cascadeDepth: number;
10921
+ startedAt: string;
10922
+ finishedAt: string | null;
10923
+ durationUs: number;
10924
+ targets: number;
10925
+ invocations: number;
10926
+ mutations: number;
10927
+ fnCalls: number;
10928
+ gasUsed: number;
10929
+ success: boolean;
10930
+ errorMessage: string | null;
10931
+ circuitAction: string | null;
10932
+ computeUnits: number;
10933
+ }>;
10934
+ moduleRuns: Array<{
10935
+ __typename?: 'WasmModuleRun';
10936
+ runId: string;
10937
+ appId: string;
10938
+ flowId: string | null;
10939
+ moduleId: string;
10940
+ moduleName: string;
10941
+ triggerSource: string;
10942
+ entry: string | null;
10943
+ startedAt: string;
10944
+ durationUs: number;
10945
+ fuelUsed: string;
10946
+ dbReads: number;
10947
+ dbWrites: number;
10948
+ egressMsgs: number;
10949
+ egressBytes: string;
10950
+ success: boolean;
10951
+ errorMessage: string | null;
10952
+ circuitAction: string | null;
10953
+ }>;
10954
+ };
10955
+ };
10759
10956
  export type GmFunctionFieldsFragment = {
10760
10957
  __typename?: 'GmFunction';
10761
10958
  functionId: string;
@@ -13521,6 +13718,8 @@ export declare const PutCpEnvSecretDocument: DocumentNode<PutCpEnvSecretMutation
13521
13718
  export declare const IngestEnvironmentVersionDocument: DocumentNode<IngestEnvironmentVersionMutation, IngestEnvironmentVersionMutationVariables>;
13522
13719
  export declare const PublishEnvironmentReleaseFromGameApiTagDocument: DocumentNode<PublishEnvironmentReleaseFromGameApiTagMutation, PublishEnvironmentReleaseFromGameApiTagMutationVariables>;
13523
13720
  export declare const YankEnvironmentVersionDocument: DocumentNode<YankEnvironmentVersionMutation, YankEnvironmentVersionMutationVariables>;
13721
+ export declare const CpComputePlatformCeilingsDocument: DocumentNode<CpComputePlatformCeilingsQuery, CpComputePlatformCeilingsQueryVariables>;
13722
+ export declare const CpSetComputePlatformCeilingsDocument: DocumentNode<CpSetComputePlatformCeilingsMutation, CpSetComputePlatformCeilingsMutationVariables>;
13524
13723
  export declare const CreateEnvironmentDocument: DocumentNode<CreateEnvironmentMutation, CreateEnvironmentMutationVariables>;
13525
13724
  export declare const DestroyEnvironmentDocument: DocumentNode<DestroyEnvironmentMutation, DestroyEnvironmentMutationVariables>;
13526
13725
  export declare const EnvironmentDatacentersDocument: DocumentNode<EnvironmentDatacentersQuery, EnvironmentDatacentersQueryVariables>;
@@ -13580,6 +13779,7 @@ export declare const GameModelSessionDocument: DocumentNode<GameModelSessionQuer
13580
13779
  export declare const GameModelSessionsDocument: DocumentNode<GameModelSessionsQuery, GameModelSessionsQueryVariables>;
13581
13780
  export declare const GameModelEventsDocument: DocumentNode<GameModelEventsQuery, GameModelEventsQueryVariables>;
13582
13781
  export declare const GameModelEventsConnectionDocument: DocumentNode<GameModelEventsConnectionQuery, GameModelEventsConnectionQueryVariables>;
13782
+ export declare const GameModelFlowDocument: DocumentNode<GameModelFlowQuery, GameModelFlowQueryVariables>;
13583
13783
  export declare const GameModelSeedDocument: DocumentNode<GameModelSeedMutation, GameModelSeedMutationVariables>;
13584
13784
  export declare const GameModelUpsertContainerTypeDocument: DocumentNode<GameModelUpsertContainerTypeMutation, GameModelUpsertContainerTypeMutationVariables>;
13585
13785
  export declare const GameModelUpsertPropertyDefDocument: DocumentNode<GameModelUpsertPropertyDefMutation, GameModelUpsertPropertyDefMutationVariables>;