replicas-cli 0.3.552 → 0.3.553

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 (2) hide show
  1. package/dist/index.cjs +5 -2
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -40393,12 +40393,15 @@ var init_worker_routes = __esm({
40393
40393
  harnessWorkerCredentialRequestSchema = external_exports.object({
40394
40394
  /** The credential the model rejected, so the monolith refreshes it or moves to the next one instead of handing it back. */
40395
40395
  failedCredential: agentCredentialSnapshotSchema.optional(),
40396
+ failure: external_exports.enum(["auth", "rate_limit", "quota"]).optional(),
40396
40397
  // A worker from before Claude models sends none, and only ever calls OpenAI.
40397
40398
  modelProvider: external_exports.enum(REPLICAS_MODEL_PROVIDERS).default("openai")
40398
40399
  });
40399
40400
  harnessWorkerCredentialResponseSchema = external_exports.discriminatedUnion("method", [
40400
40401
  external_exports.object({ method: external_exports.literal("oauth"), accessToken: external_exports.string(), expiresAt: external_exports.string(), credential: agentCredentialSnapshotSchema }),
40401
- external_exports.object({ method: external_exports.literal("api_key"), apiKey: external_exports.string(), credential: agentCredentialSnapshotSchema })
40402
+ external_exports.object({ method: external_exports.literal("api_key"), apiKey: external_exports.string(), credential: agentCredentialSnapshotSchema }),
40403
+ /** Run the call on our own key, which the worker reads from its environment; it's billed to the organization at cost. */
40404
+ external_exports.object({ method: external_exports.literal("replicas") })
40402
40405
  ]);
40403
40406
  harnessWorkerTurnCompleteRequestSchema = external_exports.object({ errors: external_exports.array(external_exports.string()) });
40404
40407
  }
@@ -40468,7 +40471,7 @@ var CLI_VERSION;
40468
40471
  var init_cli_version = __esm({
40469
40472
  "../shared/src/cli-version.ts"() {
40470
40473
  "use strict";
40471
- CLI_VERSION = "0.3.552";
40474
+ CLI_VERSION = "0.3.553";
40472
40475
  }
40473
40476
  });
40474
40477
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.3.552",
3
+ "version": "0.3.553",
4
4
  "description": "CLI for managing Replicas workspaces - SSH into cloud dev environments with automatic port forwarding",
5
5
  "main": "dist/index.cjs",
6
6
  "bin": {