replicas-cli 0.2.409 → 0.2.411

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.mjs +23 -13
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -22438,17 +22438,19 @@ var AUTOMATED_SOURCES = ["api", "automation"];
22438
22438
  var INTEGRATION_SOURCES_SQL = INTEGRATION_SOURCES.map((s) => `'${s}'`).join(", ");
22439
22439
  var AUTOMATED_SOURCES_SQL = AUTOMATED_SOURCES.map((s) => `'${s}'`).join(", ");
22440
22440
  var PLANS = {
22441
- hobby: {
22442
- id: "hobby",
22443
- name: "Hobby",
22441
+ trial: {
22442
+ id: "trial",
22443
+ name: "Free Trial",
22444
22444
  monthlyPrice: 0,
22445
22445
  seatPriceCents: 0,
22446
22446
  features: [
22447
- "2,400 manual/automated workspace minutes per month",
22448
- "Up to 3 repositories",
22449
- "Up to 5 environments",
22450
- "Up to 2 automations",
22451
- "Warm pools and warm hooks"
22447
+ "14 days free, no credit card required",
22448
+ "Unlimited manual workspace minutes",
22449
+ "15,000 automated workspace minutes",
22450
+ "Unlimited repositories and environments",
22451
+ "Unlimited automations",
22452
+ "Warm pools and warm hooks",
22453
+ "API access"
22452
22454
  ]
22453
22455
  },
22454
22456
  developer: {
@@ -24363,13 +24365,21 @@ var DEFAULT_USER_PREFERENCES = {
24363
24365
  default_fast_mode: false,
24364
24366
  agent_defaults: { ...EMPTY_AGENT_DEFAULT_SETTINGS }
24365
24367
  };
24366
- var DEFAULT_REPLICAS_AGENT_ABILITIES = Object.fromEntries(
24367
- REPLICAS_AGENT_ABILITIES.map((key) => [key, true])
24368
- );
24368
+ function defaultReplicasAgentAbilities() {
24369
+ const abilities = {};
24370
+ for (const key of REPLICAS_AGENT_ABILITIES) {
24371
+ abilities[key] = true;
24372
+ }
24373
+ if (hasAllReplicasAgentAbilities(abilities)) return abilities;
24374
+ throw new Error("Default Replicas agent ability flags are incomplete");
24375
+ }
24376
+ function hasAllReplicasAgentAbilities(abilities) {
24377
+ return REPLICAS_AGENT_ABILITIES.every((key) => typeof abilities[key] === "boolean");
24378
+ }
24369
24379
  var DEFAULT_DEFAULT_SKILLS = {
24370
24380
  replicas_agent: {
24371
24381
  enabled: true,
24372
- abilities: { ...DEFAULT_REPLICAS_AGENT_ABILITIES }
24382
+ abilities: defaultReplicasAgentAbilities()
24373
24383
  }
24374
24384
  };
24375
24385
 
@@ -24418,7 +24428,7 @@ function formatTurnElapsed(ms) {
24418
24428
  }
24419
24429
 
24420
24430
  // ../shared/src/cli-version.ts
24421
- var CLI_VERSION = "0.2.409";
24431
+ var CLI_VERSION = "0.2.411";
24422
24432
 
24423
24433
  // ../shared/src/version.ts
24424
24434
  function compareVersions(v1, v2) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.2.409",
3
+ "version": "0.2.411",
4
4
  "description": "CLI for managing Replicas workspaces - SSH into cloud dev environments with automatic port forwarding",
5
5
  "main": "dist/index.mjs",
6
6
  "bin": {