replicas-cli 0.3.244 → 0.3.246

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 +17 -4
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -16021,17 +16021,20 @@ var init_fallback_chains = __esm({
16021
16021
  kind: external_exports.literal("harness"),
16022
16022
  provider: external_exports.enum(VALID_AGENT_PROVIDERS),
16023
16023
  model: external_exports.string().min(1),
16024
- thinkingLevel: external_exports.enum(VALID_THINKING_LEVELS).optional()
16024
+ thinkingLevel: external_exports.enum(VALID_THINKING_LEVELS).optional().catch(void 0)
16025
16025
  });
16026
16026
  fallbackPlanStepSchema = external_exports.discriminatedUnion("kind", [
16027
16027
  external_exports.object({
16028
16028
  kind: external_exports.literal("credentials"),
16029
- methods: external_exports.array(external_exports.custom(isAuthMethod)).min(1),
16029
+ // An empty list would allow every method.
16030
+ methods: external_exports.array(external_exports.unknown()).transform((methods) => methods.filter(isAuthMethod)).refine((methods) => methods.length > 0),
16030
16031
  models: external_exports.record(external_exports.string(), external_exports.string().min(1)).optional()
16031
16032
  }),
16032
16033
  fallbackHarnessStepSchema
16033
16034
  ]);
16034
- fallbackPlanResponseSchema = external_exports.object({ steps: external_exports.array(fallbackPlanStepSchema) });
16035
+ fallbackPlanResponseSchema = external_exports.object({
16036
+ steps: external_exports.array(external_exports.unknown()).transform((steps) => steps.flatMap((step) => fallbackPlanStepSchema.safeParse(step).data ?? []))
16037
+ });
16035
16038
  }
16036
16039
  });
16037
16040
 
@@ -31337,11 +31340,20 @@ var init_replicas_config = __esm({
31337
31340
  }
31338
31341
  });
31339
31342
 
31343
+ // ../shared/src/start-hook-network.ts
31344
+ var init_start_hook_network = __esm({
31345
+ "../shared/src/start-hook-network.ts"() {
31346
+ "use strict";
31347
+ init_runtime_env();
31348
+ }
31349
+ });
31350
+
31340
31351
  // ../shared/src/hook-failure.ts
31341
31352
  var init_hook_failure = __esm({
31342
31353
  "../shared/src/hook-failure.ts"() {
31343
31354
  "use strict";
31344
31355
  init_warm_hooks();
31356
+ init_start_hook_network();
31345
31357
  }
31346
31358
  });
31347
31359
 
@@ -31432,7 +31444,7 @@ var CLI_VERSION;
31432
31444
  var init_cli_version = __esm({
31433
31445
  "../shared/src/cli-version.ts"() {
31434
31446
  "use strict";
31435
- CLI_VERSION = "0.3.244";
31447
+ CLI_VERSION = "0.3.246";
31436
31448
  }
31437
31449
  });
31438
31450
 
@@ -32966,6 +32978,7 @@ var init_src = __esm({
32966
32978
  init_replicas_config();
32967
32979
  init_warm_hooks();
32968
32980
  init_hook_failure();
32981
+ init_start_hook_network();
32969
32982
  init_start_hooks();
32970
32983
  init_default_skills();
32971
32984
  init_urls();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.3.244",
3
+ "version": "0.3.246",
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": {