@amigo-ai/platform-sdk 0.82.0 → 0.84.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/api.md CHANGED
@@ -541,6 +541,7 @@ All workspace-scoped resources also expose `withOptions(options)`.
541
541
  ### `sessions`
542
542
 
543
543
  - `listActive`
544
+ - `getFleetStatus`
544
545
  - `inject`
545
546
 
546
547
  ### `workspaceDatabase`
package/dist/index.cjs CHANGED
@@ -5281,6 +5281,28 @@ var SessionsResource = class extends WorkspaceScopedResource {
5281
5281
  })
5282
5282
  );
5283
5283
  }
5284
+ /**
5285
+ * Live Agones fleet capacity (workspace-global) — Ready/Allocated/total
5286
+ * GameServers plus headroom against the maxReplicas ceiling. `fleet`
5287
+ * selects the voice fleet (default) or the isolated `tool-runner` fleet;
5288
+ * omitted, the server defaults to voice. Operator-only.
5289
+ *
5290
+ * The `fleet` query param is typed locally until the generated spec picks
5291
+ * it up via sdk-sync; the response schema is already generated.
5292
+ */
5293
+ async getFleetStatus(opts) {
5294
+ return extractData(
5295
+ await untypedClient(this.client).GET(
5296
+ "/v1/{workspace_id}/sessions/fleet-status",
5297
+ {
5298
+ params: {
5299
+ path: { workspace_id: this.workspaceId },
5300
+ query: opts?.fleet === void 0 ? void 0 : { fleet: opts.fleet }
5301
+ }
5302
+ }
5303
+ )
5304
+ );
5305
+ }
5284
5306
  /** Inject a one-shot directive (text/audio) into a live call session */
5285
5307
  async inject(callSid, body) {
5286
5308
  return extractData(