replicas-cli 0.3.111 → 0.3.113

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 +12 -8
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -24490,7 +24490,7 @@ Use this workflow to make a repository fully usable by Replicas background agent
24490
24490
 
24491
24491
  ## Mental model
24492
24492
 
24493
- Every Replicas workspace is a remote Linux VM. Repositories are cloned under \`~/workspaces/<repo-name>\`. An **environment** is the org-scoped template a workspace is built from. It binds one repository (or a repository set for monorepos and multi-repo stacks) and carries:
24493
+ Every Replicas workspace is a remote Linux VM. Repositories are cloned under \`~/workspaces/<repo-name>\`. An **environment** is the org-scoped template a workspace is built from. It lists the repositories to clone, in checkout order (one, several for multi-repo stacks, or none), and carries:
24494
24494
 
24495
24495
  | Piece | When it runs | Put here |
24496
24496
  | --- | --- | --- |
@@ -25201,6 +25201,8 @@ The menu should open on its trigger. Before, it jumps about 95px up in half the
25201
25201
  | [View in Replicas](<before-dashboard-url>) | [View in Replicas](<after-dashboard-url>) |
25202
25202
  \`\`\`
25203
25203
 
25204
+ Make comparisons easy to see at a glance, whether it's before and after or options to pick from. Crop to the part that changed, keep every version big enough to read, and make it clear which is which. Avoid tall full-page screenshots; at PR width the change is too small to see. For screenshots, a small HTML page with the crops, screenshotted at 2x, works well. For GIFs, the table above works.
25205
+
25204
25206
  ## When to upload
25205
25207
 
25206
25208
  Upload to Replicas in these cases \u2014 and **only** these cases:
@@ -25644,7 +25646,7 @@ Use this when:
25644
25646
  - The user asks to analyze text with Pangram`;
25645
25647
  var REFERENCE10 = `# Plugins
25646
25648
 
25647
- Plugins are TypeScript libraries, not MCP servers. Import \`@replicas/sdk\`; Replicas authenticates the workspace and selects the most specific environment the workspace inherits from, then Global. Provider credentials, sessions, and project keys are never exposed.
25649
+ Plugins are TypeScript libraries, not MCP servers. Import \`@replicas/sdk\`; Replicas authenticates the workspace and uses the connection from the most specific environment in the workspace's fork chain. Provider credentials, sessions, and project keys are never exposed.
25648
25650
 
25649
25651
  Plugin tools may read or write provider data according to the connected account's permissions. Only execute write or destructive tools when they match the user's request.
25650
25652
 
@@ -25657,7 +25659,7 @@ const plugins = await replicas.plugins.list();
25657
25659
  const installed = plugins.filter((plugin) => plugin.connected);
25658
25660
  \`\`\`
25659
25661
 
25660
- If listing returns a 5xx or \`Internal server error\`, skip it and use the known plugin's search, describe, or direct SDK API. Listing failure does not mean the plugin is disconnected. Only ask the user to connect it when the direct gateway reports missing credentials or an unrecoverable authentication failure. A connection on Global reaches every workspace unless a more specific environment overrides it.
25662
+ If listing returns a 5xx or \`Internal server error\`, skip it and use the known plugin's search, describe, or direct SDK API. Listing failure does not mean the plugin is disconnected. Only ask the user to connect it when the direct gateway reports missing credentials or an unrecoverable authentication failure. A connection on an environment reaches its forks unless a fork connects its own.
25661
25663
 
25662
25664
  ## Search, inspect, execute
25663
25665
 
@@ -25933,7 +25935,7 @@ In agent mode the CLI hides commands that don't make sense for in-workspace agen
25933
25935
 
25934
25936
  ## Environments
25935
25937
 
25936
- Environments are the org-scoped *primitives* workspaces are built from. Each environment can bind to one repository (or repository set), carry environment variables, project files, enabled skills, and MCP servers. The \`Global\` environment is special \u2014 its vars/files/skills/MCPs apply to *every* workspace in the org, but it has no repo binding and can't back a workspace on its own.
25938
+ Environments are the org-scoped *primitives* workspaces are built from. Each environment lists the repositories to clone (none is fine) and carries environment variables, project files, enabled skills, and MCP servers. A fork inherits everything from its parent environment and stores only its own overrides. The org's default environment is used for Scout. Slack or Linear requests that don't name one use the requester's own default environment, falling back to the org default.
25937
25939
 
25938
25940
  ### List / get / create / edit / delete
25939
25941
 
@@ -25942,17 +25944,18 @@ replicas environment list
25942
25944
  replicas environment get <id-or-name>
25943
25945
  replicas environment create [name] \\
25944
25946
  --description "..." \\
25945
- --repository <repo-name-or-id> \\
25947
+ --repository <repo-names-or-ids> \\
25946
25948
  --system-prompt "..."
25947
25949
  replicas environment edit <id-or-name> \\
25948
25950
  --name "..." --description "..." \\
25949
- --repository <repo-name-or-id> # pass empty string to unbind
25951
+ --repository <repo-names-or-ids>
25950
25952
  replicas environment delete <id-or-name> [--force]
25951
25953
  \`\`\`
25952
25954
 
25953
25955
  Notes:
25954
25956
  - Environments resolve by **name or UUID**. A fork inherits its parent's setup and can override or hide any of it.
25955
- - An env needs a repo to back a workspace with code. If you \`create\` without \`--repository\`, the CLI prompts; in non-interactive contexts pass \`-r\`.
25957
+ - \`--repository\` takes a comma-separated list; pass an empty string to \`edit\` to remove all repositories.
25958
+ - Without \`--repository\`, \`create\` prompts in a terminal and otherwise creates an environment with no repositories, which backs repo-less workspaces.
25956
25959
 
25957
25960
  ### Environment variables
25958
25961
 
@@ -26379,6 +26382,7 @@ var DEFAULT_USER_PREFERENCES = {
26379
26382
  auto_draft_prs: false,
26380
26383
  open_prs_in_graphite: false,
26381
26384
  open_links_in_desktop_app: false,
26385
+ port_forwarding: false,
26382
26386
  memory_enabled: null,
26383
26387
  subagent_mcp_enabled: null,
26384
26388
  default_fast_mode: false,
@@ -28730,7 +28734,7 @@ var headlessAgentRequestSchema = external_exports.object({
28730
28734
  });
28731
28735
 
28732
28736
  // ../shared/src/cli-version.ts
28733
- var CLI_VERSION = "0.3.111";
28737
+ var CLI_VERSION = "0.3.113";
28734
28738
 
28735
28739
  // ../shared/src/version.ts
28736
28740
  function compareVersions(v1, v2) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.3.111",
3
+ "version": "0.3.113",
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": {