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.
Files changed (2) hide show
  1. package/dist/index.mjs +6 -7
  2. 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
- - Upload images to Imgur (or another external host) and use the returned URLs in your PR markdown
8498
- - If you were triggered from Slack, also upload the images to the Slack thread so the user can see them directly
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
- Do **both** of these \u2014 neither alone is sufficient:
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
- 1. Upload the raw bytes via that platform's own upload API (Slack \`files.upload\`, Linear attachments, Imgur for GitHub PR/issue images, etc.) so the recipient actually sees the media.
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 \`![filename](https://api.tryreplicas.com/...)\` 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: "- Sharing media (screenshots, screen recordings, generated diagrams, audio clips) \u2014 including in your Replicas chat reply and to external platforms",
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.190";
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.2.190",
3
+ "version": "0.2.191",
4
4
  "description": "CLI for managing Replicas workspaces - SSH into cloud dev environments with automatic port forwarding",
5
5
  "main": "dist/index.mjs",
6
6
  "bin": {