@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/dist/index.mjs CHANGED
@@ -5166,6 +5166,28 @@ var SessionsResource = class extends WorkspaceScopedResource {
5166
5166
  })
5167
5167
  );
5168
5168
  }
5169
+ /**
5170
+ * Live Agones fleet capacity (workspace-global) — Ready/Allocated/total
5171
+ * GameServers plus headroom against the maxReplicas ceiling. `fleet`
5172
+ * selects the voice fleet (default) or the isolated `tool-runner` fleet;
5173
+ * omitted, the server defaults to voice. Operator-only.
5174
+ *
5175
+ * The `fleet` query param is typed locally until the generated spec picks
5176
+ * it up via sdk-sync; the response schema is already generated.
5177
+ */
5178
+ async getFleetStatus(opts) {
5179
+ return extractData(
5180
+ await untypedClient(this.client).GET(
5181
+ "/v1/{workspace_id}/sessions/fleet-status",
5182
+ {
5183
+ params: {
5184
+ path: { workspace_id: this.workspaceId },
5185
+ query: opts?.fleet === void 0 ? void 0 : { fleet: opts.fleet }
5186
+ }
5187
+ }
5188
+ )
5189
+ );
5190
+ }
5169
5191
  /** Inject a one-shot directive (text/audio) into a live call session */
5170
5192
  async inject(callSid, body) {
5171
5193
  return extractData(