replicas-cli 0.2.690 → 0.2.691

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 +84 -80
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -22448,6 +22448,88 @@ function date4(params) {
22448
22448
  // ../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/classic/external.js
22449
22449
  config(en_default());
22450
22450
 
22451
+ // ../shared/src/pricing.ts
22452
+ var WORKSPACE_SOURCES = ["api", "dashboard", "slack", "linear", "github", "gitlab", "automation", "mothership"];
22453
+ var CLIENT_MESSAGE_SOURCES = ["web", "desktop", "mobile", "tui"];
22454
+ var MESSAGE_SOURCES = [...CLIENT_MESSAGE_SOURCES, ...WORKSPACE_SOURCES];
22455
+ var AUTOMATED_SOURCES = ["api", "automation"];
22456
+ var AUTOMATED_SOURCES_SQL = AUTOMATED_SOURCES.map((s) => `'${s}'`).join(", ");
22457
+ var DEVELOPER_SEAT_MINUTES = 150 * 60;
22458
+ var DEVELOPER_SEAT_HOURS = DEVELOPER_SEAT_MINUTES / 60;
22459
+ var PLANS = {
22460
+ trial: {
22461
+ id: "trial",
22462
+ name: "Free Trial",
22463
+ monthlyPrice: 0,
22464
+ seatPriceCents: 0,
22465
+ features: [
22466
+ "14 days free, no credit card required",
22467
+ "Unlimited manual workspace minutes",
22468
+ "15,000 automated workspace minutes",
22469
+ "Unlimited repositories and environments",
22470
+ "Unlimited automations",
22471
+ "Warm pools and warm hooks",
22472
+ "API access"
22473
+ ]
22474
+ },
22475
+ developer: {
22476
+ id: "developer",
22477
+ name: "Developer",
22478
+ monthlyPrice: 50,
22479
+ seatPriceCents: 5e3,
22480
+ features: [
22481
+ `${DEVELOPER_SEAT_HOURS} hours per seat per month`,
22482
+ "API and automations billed by usage",
22483
+ "Unlimited repositories",
22484
+ "Unlimited environments",
22485
+ "Unlimited automations",
22486
+ "Warm pools and warm hooks",
22487
+ "API access",
22488
+ "Mobile app"
22489
+ ]
22490
+ },
22491
+ team: {
22492
+ id: "team",
22493
+ name: "Team",
22494
+ monthlyPrice: 200,
22495
+ seatPriceCents: 2e4,
22496
+ features: [
22497
+ "Unlimited manual workspace minutes",
22498
+ "API and automations billed by usage",
22499
+ "Unlimited repositories",
22500
+ "Unlimited automations",
22501
+ "Warm pools and warm hooks",
22502
+ "Higher API rate limits",
22503
+ "Mobile app",
22504
+ "Access to a static egress IP",
22505
+ "Auto-upgraded sandbox resources (4 vCPU, 32 GB disk, 16 GB memory)",
22506
+ "Shared Slack support channel"
22507
+ ]
22508
+ },
22509
+ enterprise: {
22510
+ id: "enterprise",
22511
+ name: "Enterprise",
22512
+ monthlyPrice: 0,
22513
+ seatPriceCents: 0,
22514
+ features: [
22515
+ "Unlimited manual workspace minutes",
22516
+ "Unlimited automated workspace minutes",
22517
+ "Unlimited automations",
22518
+ "Custom warm hooks and pools",
22519
+ "Custom API rates",
22520
+ "Mobile app",
22521
+ "Custom rate limits",
22522
+ "Shared Slack support channel",
22523
+ "SOC 2",
22524
+ "Data Processing Agreement (DPA)",
22525
+ "SCIM user provisioning",
22526
+ "Custom security and privacy settings"
22527
+ ]
22528
+ }
22529
+ };
22530
+ var TEAM_PLAN = PLANS.team;
22531
+ var ENTERPRISE_PLAN = PLANS.enterprise;
22532
+
22451
22533
  // ../shared/src/analytics/types.ts
22452
22534
  var agentCredentialSnapshotSchema = external_exports.object({
22453
22535
  method: external_exports.enum(CREDENTIAL_METHOD),
@@ -22936,6 +23018,7 @@ var sendChatMessageRequestSchema = external_exports.object({
22936
23018
  thinkingLevel: external_exports.enum(VALID_THINKING_LEVELS).optional(),
22937
23019
  goalMode: external_exports.boolean().optional(),
22938
23020
  fastMode: external_exports.boolean().optional(),
23021
+ source: external_exports.enum(MESSAGE_SOURCES).optional(),
22939
23022
  enableInteractiveTools: external_exports.boolean().optional(),
22940
23023
  type: external_exports.string().min(1).optional(),
22941
23024
  merge: external_exports.boolean().optional(),
@@ -27160,85 +27243,6 @@ function excludeQueuedAcceptedEvents(events, queue, removedMessageIds = []) {
27160
27243
  return events.filter((event) => event.payload.source !== ACCEPTED_USER_MESSAGE_SOURCE || !queuedMessageIds.has(getUserMessageId(event) ?? ""));
27161
27244
  }
27162
27245
 
27163
- // ../shared/src/pricing.ts
27164
- var AUTOMATED_SOURCES = ["api", "automation"];
27165
- var AUTOMATED_SOURCES_SQL = AUTOMATED_SOURCES.map((s) => `'${s}'`).join(", ");
27166
- var DEVELOPER_SEAT_MINUTES = 150 * 60;
27167
- var DEVELOPER_SEAT_HOURS = DEVELOPER_SEAT_MINUTES / 60;
27168
- var PLANS = {
27169
- trial: {
27170
- id: "trial",
27171
- name: "Free Trial",
27172
- monthlyPrice: 0,
27173
- seatPriceCents: 0,
27174
- features: [
27175
- "14 days free, no credit card required",
27176
- "Unlimited manual workspace minutes",
27177
- "15,000 automated workspace minutes",
27178
- "Unlimited repositories and environments",
27179
- "Unlimited automations",
27180
- "Warm pools and warm hooks",
27181
- "API access"
27182
- ]
27183
- },
27184
- developer: {
27185
- id: "developer",
27186
- name: "Developer",
27187
- monthlyPrice: 50,
27188
- seatPriceCents: 5e3,
27189
- features: [
27190
- `${DEVELOPER_SEAT_HOURS} hours per seat per month`,
27191
- "API and automations billed by usage",
27192
- "Unlimited repositories",
27193
- "Unlimited environments",
27194
- "Unlimited automations",
27195
- "Warm pools and warm hooks",
27196
- "API access",
27197
- "Mobile app"
27198
- ]
27199
- },
27200
- team: {
27201
- id: "team",
27202
- name: "Team",
27203
- monthlyPrice: 200,
27204
- seatPriceCents: 2e4,
27205
- features: [
27206
- "Unlimited manual workspace minutes",
27207
- "API and automations billed by usage",
27208
- "Unlimited repositories",
27209
- "Unlimited automations",
27210
- "Warm pools and warm hooks",
27211
- "Higher API rate limits",
27212
- "Mobile app",
27213
- "Access to a static egress IP",
27214
- "Auto-upgraded sandbox resources (4 vCPU, 32 GB disk, 16 GB memory)",
27215
- "Shared Slack support channel"
27216
- ]
27217
- },
27218
- enterprise: {
27219
- id: "enterprise",
27220
- name: "Enterprise",
27221
- monthlyPrice: 0,
27222
- seatPriceCents: 0,
27223
- features: [
27224
- "Unlimited manual workspace minutes",
27225
- "Unlimited automated workspace minutes",
27226
- "Unlimited automations",
27227
- "Custom warm hooks and pools",
27228
- "Custom API rates",
27229
- "Mobile app",
27230
- "Custom rate limits",
27231
- "Shared Slack support channel",
27232
- "SOC 2",
27233
- "Data Processing Agreement (DPA)",
27234
- "SCIM user provisioning",
27235
- "Custom security and privacy settings"
27236
- ]
27237
- }
27238
- };
27239
- var TEAM_PLAN = PLANS.team;
27240
- var ENTERPRISE_PLAN = PLANS.enterprise;
27241
-
27242
27246
  // ../shared/src/port.ts
27243
27247
  function isValidPort(port) {
27244
27248
  return Number.isInteger(port) && Number(port) >= 1 && Number(port) <= 65535;
@@ -27384,7 +27388,7 @@ var headlessFilesystemAgentResultSchema = external_exports.object({
27384
27388
  });
27385
27389
 
27386
27390
  // ../shared/src/cli-version.ts
27387
- var CLI_VERSION = "0.2.690";
27391
+ var CLI_VERSION = "0.2.691";
27388
27392
 
27389
27393
  // ../shared/src/version.ts
27390
27394
  function compareVersions(v1, v2) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.2.690",
3
+ "version": "0.2.691",
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": {