replicas-cli 0.3.668 → 0.3.670

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 +8 -8
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -25689,14 +25689,14 @@ An artifact is anything this workspace generates that someone might want to see
25689
25689
 
25690
25690
  ## Mutable or immutable
25691
25691
 
25692
- Every artifact is one or the other. You decide, from what the file is and how the person will use it.
25692
+ Every artifact is one or the other. Choose by what the thing is, not by whether someone might want it later:
25693
25693
 
25694
- - **Mutable** (the default): something that may be revised, by you or by the person. For example a plan, a doc, a report, a diagram, an HTML page, a spreadsheet of results, or notes. These show on the person's Artifacts page.
25695
- - **Immutable** (\`--immutable\`): something that is a fixed record and would not make sense to edit. For example a screenshot, a screen recording, a rendered video or image, an export, or a log captured at a point in time.
25694
+ - **Immutable** (\`--immutable\`): a record of this workspace's work, which a later version would sit beside rather than replace. Screenshots, recordings, GIFs, before/after images, test output, one-off renders. It is deleted when the workspace is deleted.
25695
+ - **Mutable**: a document people come back to, share or review, which a later version would replace. A plan, report, design doc, dashboard or dataset. It is kept after the workspace is gone and shows on the person's Artifacts page.
25696
25696
 
25697
- These are examples, not a list. If a file fits neither, ask whether a later version of it would replace this one (mutable) or sit beside it as a separate record (immutable).
25697
+ If you're unsure, save it as immutable. A screenshot or recording is immutable.
25698
25698
 
25699
- Save everything with \`replicas artifact upload\`, adding \`--immutable\` when you decide it is immutable. Paste the line the command prints into your reply.
25699
+ Save everything with \`replicas artifact upload\`, adding \`--immutable\` for anything immutable. Paste the line the command prints into your reply.
25700
25700
 
25701
25701
  ## Commands
25702
25702
 
@@ -27936,7 +27936,7 @@ Pass one or more file paths, each with a required \`--name\` (see below). Upload
27936
27936
  replicas artifact upload /tmp/before.png /tmp/after.png --name "Before fix" --name "After fix" --immutable
27937
27937
  \`\`\`
27938
27938
 
27939
- A screenshot or recording is usually a fixed record, so these examples pass \`--immutable\`, which also lists it in the workspace's Media folder. Decide for each file (see \`ARTIFACTS.md\`).
27939
+ A screenshot or recording is immutable, so these examples pass \`--immutable\`, which also lists it in the workspace's Media folder (see \`ARTIFACTS.md\`).
27940
27940
 
27941
27941
  For each image, video or audio file, the CLI prints an embed line and a dashboard link:
27942
27942
 
@@ -27955,7 +27955,7 @@ The kind comes from the filename extension. Images (\`png\`, \`jpg\`, \`jpeg\`,
27955
27955
  ## Options
27956
27956
 
27957
27957
  - \`--name <name>\`: required name people see, one per file in order
27958
- - \`--immutable\`: save it as a fixed record (see \`ARTIFACTS.md\`)
27958
+ - \`--immutable\`: a record of this workspace's work, such as a screenshot or recording, deleted with the workspace (see \`ARTIFACTS.md\`)
27959
27959
  `;
27960
27960
  githubAttachUsage = (textName, replaced) => `\`\`\`bash
27961
27961
  gh pr create --title "Describe the change" --body-file /tmp/pr-body.md --attach './after.png#Settings page after the fix'
@@ -43455,7 +43455,7 @@ var CLI_VERSION;
43455
43455
  var init_cli_version = __esm({
43456
43456
  "../shared/src/cli-version.ts"() {
43457
43457
  "use strict";
43458
- CLI_VERSION = "0.3.668";
43458
+ CLI_VERSION = "0.3.670";
43459
43459
  }
43460
43460
  });
43461
43461
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.3.668",
3
+ "version": "0.3.670",
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": {