replicas-cli 0.2.696 → 0.2.698
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 +7 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -23910,7 +23910,7 @@ If none of these apply, don't upload.
|
|
|
23910
23910
|
\`replicas media upload\` is always the first delivery action. When the current task has an external destination, every other delivery step follows only after that command succeeds. For every file:
|
|
23911
23911
|
|
|
23912
23912
|
1. First, run \`replicas media upload\` with the original file. Do not begin any destination upload until the command succeeds. This creates the canonical dashboard copy and prints a chat embed plus a per-file dashboard link. With public access, the printed Forge embed is the chat embed and is also safe to use on GitHub.
|
|
23913
|
-
2. Include the printed embed line in the Replicas chat reply, followed by
|
|
23913
|
+
2. Include the printed embed line in the Replicas chat reply, followed by **View in Canvas** using the matching per-file dashboard URL. HTML uses its printed page link instead of an image embed.
|
|
23914
23914
|
3. Identify every destination in the task and use its inline representation from the table below. Slack, Linear, and GitLab require an upload of the same original bytes; GitHub uses the public Forge embed.
|
|
23915
23915
|
4. Put the **View in Replicas** dashboard link next to the destination embed as a secondary link.
|
|
23916
23916
|
5. Check each destination response. If its upload or Forge share fails, say so explicitly and keep the dashboard link; never claim that a dashboard link is an inline embed.
|
|
@@ -24012,9 +24012,9 @@ Always render as a markdown / mrkdwn hyperlink labeled **View in Replicas** \u20
|
|
|
24012
24012
|
|
|
24013
24013
|
## In your Replicas chat reply
|
|
24014
24014
|
|
|
24015
|
-
Include each markdown embed line **verbatim** where you want that file to render inline. The chat substitutes each one with an embedded image, video, or audio player. For HTML, use the \`HTML page\`
|
|
24015
|
+
Include each markdown embed line **verbatim** where you want that file to render inline. The chat substitutes each one with an embedded image, video, or audio player. For HTML, use the printed \`HTML page\` link. Multiple embeds can appear in a single reply.
|
|
24016
24016
|
|
|
24017
|
-
After (or alongside) the embeds, include a \`[View in
|
|
24017
|
+
After (or alongside) the embeds, include a \`[View in Canvas](<deep-link>)\` hyperlink for each file using the per-file dashboard URL printed by the CLI as **View in Replicas**. Keep that URL unchanged so it opens the specific media item in the workspace's Canvas. External messages still label this dashboard link **View in Replicas**.
|
|
24018
24018
|
|
|
24019
24019
|
## On external platforms: embed the file AND link the dashboard
|
|
24020
24020
|
|
|
@@ -27365,7 +27365,7 @@ var headlessFilesystemAgentResultSchema = external_exports.object({
|
|
|
27365
27365
|
});
|
|
27366
27366
|
|
|
27367
27367
|
// ../shared/src/cli-version.ts
|
|
27368
|
-
var CLI_VERSION = "0.2.
|
|
27368
|
+
var CLI_VERSION = "0.2.698";
|
|
27369
27369
|
|
|
27370
27370
|
// ../shared/src/version.ts
|
|
27371
27371
|
function compareVersions(v1, v2) {
|
|
@@ -28017,6 +28017,9 @@ async function readSseStream(body, onEvent, shouldContinue = () => true) {
|
|
|
28017
28017
|
}
|
|
28018
28018
|
}
|
|
28019
28019
|
|
|
28020
|
+
// ../shared/src/frontmatter.ts
|
|
28021
|
+
var import_yaml2 = __toESM(require_dist());
|
|
28022
|
+
|
|
28020
28023
|
// src/lib/monolith-url.ts
|
|
28021
28024
|
var MONOLITH_URL = process.env.REPLICAS_MONOLITH_URL || process.env.MONOLITH_URL || "https://api.replicas.dev";
|
|
28022
28025
|
|