replicas-cli 0.3.125 → 0.3.127

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 +45 -2
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -24009,7 +24009,24 @@ var REPLICAS_MCP_TOOLS = {
24009
24009
  listSubagents: "list_subagents",
24010
24010
  readSubagent: "read_subagent",
24011
24011
  archiveSubagent: "archive_subagent",
24012
- waitForSubagents: "wait_for_subagents"
24012
+ waitForSubagents: "wait_for_subagents",
24013
+ createReplica: "create_replica",
24014
+ listReplicas: "list_replicas",
24015
+ getReplica: "get_replica",
24016
+ deleteReplica: "delete_replica",
24017
+ wakeReplica: "wake_replica",
24018
+ sleepReplica: "sleep_replica",
24019
+ archiveReplica: "archive_replica",
24020
+ waitForReplica: "wait_for_replica",
24021
+ runCommand: "run_command",
24022
+ getReplicaHooks: "get_replica_hooks",
24023
+ whoami: "whoami",
24024
+ sendReplicaMessage: "send_replica_message",
24025
+ readReplicaHistory: "read_replica_history",
24026
+ listChats: "list_chats",
24027
+ createChat: "create_chat",
24028
+ deleteChat: "delete_chat",
24029
+ listRepositories: "list_repositories"
24013
24030
  };
24014
24031
  var automationToolInputSchema = external_exports.object({
24015
24032
  name: external_exports.string().describe("Short automation name."),
@@ -26411,6 +26428,8 @@ var DEFAULT_USER_PREFERENCES = {
26411
26428
  respond_to_ci_checks: true,
26412
26429
  respond_to_human_pr_reviews: false,
26413
26430
  pr_user_attribution: false,
26431
+ github_commit_name: null,
26432
+ github_commit_email: null,
26414
26433
  auto_draft_prs: false,
26415
26434
  open_prs_in_graphite: false,
26416
26435
  open_links_in_desktop_app: false,
@@ -26540,6 +26559,27 @@ var MOTHERSHIP_TOOL_ACTIONS = {
26540
26559
  [REPLICAS_MCP_TOOLS.archiveSubagent]: "archive",
26541
26560
  [REPLICAS_MCP_TOOLS.waitForSubagents]: "wait"
26542
26561
  };
26562
+ var REPLICAS_API_STEPS = {
26563
+ [REPLICAS_MCP_TOOLS.createReplica]: { icon: "network", live: "Creating workspace", done: "Created workspace" },
26564
+ [REPLICAS_MCP_TOOLS.listReplicas]: { icon: "list", live: "Listing workspaces", done: "Listed workspaces" },
26565
+ [REPLICAS_MCP_TOOLS.getReplica]: { icon: "search", live: "Checking workspace", done: "Checked workspace" },
26566
+ [REPLICAS_MCP_TOOLS.deleteReplica]: { icon: "trash", live: "Deleting workspace", done: "Deleted workspace" },
26567
+ [REPLICAS_MCP_TOOLS.wakeReplica]: { icon: "zap", live: "Waking workspace", done: "Woke workspace" },
26568
+ [REPLICAS_MCP_TOOLS.sleepReplica]: { icon: "clock", live: "Putting workspace to sleep", done: "Put workspace to sleep" },
26569
+ [REPLICAS_MCP_TOOLS.archiveReplica]: { icon: "archive", live: "Archiving workspace", done: "Archived workspace" },
26570
+ [REPLICAS_MCP_TOOLS.waitForReplica]: { icon: "clock", live: "Waiting for workspace", done: "Waited for workspace" },
26571
+ [REPLICAS_MCP_TOOLS.runCommand]: { icon: "terminal", live: "Running", done: "Ran" },
26572
+ [REPLICAS_MCP_TOOLS.getReplicaHooks]: { icon: "terminal", live: "Reading hook logs", done: "Read hook logs" },
26573
+ [REPLICAS_MCP_TOOLS.whoami]: { icon: "search", live: "Checking identity", done: "Checked identity" },
26574
+ [REPLICAS_MCP_TOOLS.sendReplicaMessage]: { icon: "message", live: "Messaging workspace", done: "Messaged workspace" },
26575
+ [REPLICAS_MCP_TOOLS.readReplicaHistory]: { icon: "book", live: "Reading workspace history", done: "Read workspace history" },
26576
+ [REPLICAS_MCP_TOOLS.listChats]: { icon: "list", live: "Listing chats", done: "Listed chats" },
26577
+ [REPLICAS_MCP_TOOLS.createChat]: { icon: "message", live: "Creating chat", done: "Created chat" },
26578
+ [REPLICAS_MCP_TOOLS.deleteChat]: { icon: "trash", live: "Deleting chat", done: "Deleted chat" },
26579
+ [REPLICAS_MCP_TOOLS.listRepositories]: { icon: "folder", live: "Listing repositories", done: "Listed repositories" },
26580
+ [REPLICAS_MCP_TOOLS.listEnvironments]: { icon: "list", live: "Listing environments", done: "Listed environments" },
26581
+ [REPLICAS_MCP_TOOLS.createAutomation]: { icon: "clock", live: "Creating automation", done: "Created automation" }
26582
+ };
26543
26583
 
26544
26584
  // ../shared/src/user-message-attachments.ts
26545
26585
  var ATTACHMENT_PLACEHOLDER_REGEX = /^\[\d+ (?:(?:images?|files?)(?: and \d+ files?)? attached|(?:image )?attachments?)\]$/;
@@ -28737,7 +28777,7 @@ var headlessAgentRequestSchema = external_exports.object({
28737
28777
  });
28738
28778
 
28739
28779
  // ../shared/src/cli-version.ts
28740
- var CLI_VERSION = "0.3.125";
28780
+ var CLI_VERSION = "0.3.127";
28741
28781
 
28742
28782
  // ../shared/src/version.ts
28743
28783
  function compareVersions(v1, v2) {
@@ -29524,6 +29564,9 @@ var respondVariableRequestSchema = external_exports.discriminatedUnion("action",
29524
29564
  external_exports.object({
29525
29565
  action: external_exports.literal("provide"),
29526
29566
  destination: external_exports.enum(VARIABLE_REQUEST_DESTINATIONS),
29567
+ /** Defaults to the workspace's environment, so older clients keep saving there. */
29568
+ environment_ids: external_exports.array(external_exports.string().uuid()).optional(),
29569
+ overwrite: external_exports.boolean().optional(),
29527
29570
  values: external_exports.record(external_exports.string().regex(VARIABLE_KEY_RE), external_exports.string())
29528
29571
  }),
29529
29572
  external_exports.object({ action: external_exports.literal("skip") })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.3.125",
3
+ "version": "0.3.127",
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": {