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.
- package/dist/index.cjs +8 -8
- 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.
|
|
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
|
-
- **
|
|
25695
|
-
- **
|
|
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
|
-
|
|
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\`
|
|
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
|
|
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\`:
|
|
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.
|
|
43458
|
+
CLI_VERSION = "0.3.670";
|
|
43459
43459
|
}
|
|
43460
43460
|
});
|
|
43461
43461
|
|