replicas-cli 0.2.190 → 0.2.191
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.mjs +6 -7
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -8494,8 +8494,8 @@ gh pr review 123 --request-changes --body "Changes needed"
|
|
|
8494
8494
|
GitHub does NOT have a public API for uploading images to PRs/issues. When you need to include images:
|
|
8495
8495
|
- Do NOT use placeholder image URLs
|
|
8496
8496
|
- Do NOT commit screenshots as files to the repository
|
|
8497
|
-
-
|
|
8498
|
-
- If you were triggered from Slack, also upload the
|
|
8497
|
+
- Use the \`replicas-agent\` skill to share the image
|
|
8498
|
+
- If you were triggered from Slack, also upload the image to the Slack thread so the user can see it directly
|
|
8499
8499
|
`;
|
|
8500
8500
|
var GITHUB_ABILITY = {
|
|
8501
8501
|
label: "GitHub",
|
|
@@ -8943,10 +8943,9 @@ After (or alongside) the embeds, include a \`[View in Replicas](<deep-link>)\` h
|
|
|
8943
8943
|
|
|
8944
8944
|
### On external platforms (Slack, Linear, GitHub, etc.)
|
|
8945
8945
|
|
|
8946
|
-
|
|
8946
|
+
Always include a \`[View in Replicas](<deep-link>)\` hyperlink \u2014 use the per-file deep link the CLI printed for that file (\`...?mode=media&media=<media-id>\`), so the recipient lands directly on that specific item.
|
|
8947
8947
|
|
|
8948
|
-
|
|
8949
|
-
2. Include a \`[View in Replicas](<deep-link>)\` hyperlink \u2014 use the per-file deep link the CLI printed for that file (\`...?mode=media&media=<media-id>\`), so the recipient lands directly on that specific item.
|
|
8948
|
+
For platforms that support native uploads (Slack \`files.upload\`, Linear attachments, etc.), upload the raw bytes there too so the recipient sees the media inline in addition to the Replicas link. GitHub PRs/issues do not have a public upload API, so the \`View in Replicas\` link is the canonical way to share media there \u2014 do not commit screenshots to the repo and do not use placeholder URLs.
|
|
8950
8949
|
|
|
8951
8950
|
Do **not** include the \`\` markdown embed in external messages. It will render as a broken image / 401 for the recipient.
|
|
8952
8951
|
|
|
@@ -8992,7 +8991,7 @@ replicas media upload chart-a.svg chart-b.svg --kind image
|
|
|
8992
8991
|
var MEDIA_ABILITY = {
|
|
8993
8992
|
label: "Media",
|
|
8994
8993
|
description: "Share screenshots, recordings, generated images, and audio clips.",
|
|
8995
|
-
bullet: "-
|
|
8994
|
+
bullet: "- Producing or showing the user any media \u2014 screenshots, screen recordings, generated images or diagrams, audio clips \u2014 including in your Replicas chat reply, PR descriptions/comments, and other external platforms",
|
|
8996
8995
|
section: SECTION6,
|
|
8997
8996
|
referenceFile: { name: "MEDIA.md", content: REFERENCE6 }
|
|
8998
8997
|
};
|
|
@@ -16602,7 +16601,7 @@ Deleted file ${pathOrId}.
|
|
|
16602
16601
|
}
|
|
16603
16602
|
|
|
16604
16603
|
// src/index.ts
|
|
16605
|
-
var CLI_VERSION = "0.2.
|
|
16604
|
+
var CLI_VERSION = "0.2.191";
|
|
16606
16605
|
function parseBooleanOption(value) {
|
|
16607
16606
|
if (value === "true") return true;
|
|
16608
16607
|
if (value === "false") return false;
|