replicas-engine 0.1.582 → 0.1.583
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/src/index.js +7 -6
- package/package.json +1 -1
package/dist/src/index.js
CHANGED
|
@@ -2110,7 +2110,7 @@ Use public access only when the media must render without Replicas authenticatio
|
|
|
2110
2110
|
replicas media upload screenshot.png --name "Login page" --access public
|
|
2111
2111
|
\`\`\`
|
|
2112
2112
|
|
|
2113
|
-
\`--share\` remains an alias for \`--access public\`. Public access prints an additional \`Forge embed\` for
|
|
2113
|
+
\`--share\` remains an alias for \`--access public\`. Public access prints an additional \`Forge embed\` for image, video, or audio media, backed by an opt-in bearer URL. Anyone with that unguessable URL can view the asset until it is rotated or revoked. HTML pages only support organization access. Use \`replicas media share <media-id>\` to rotate a public media URL and \`replicas media revoke <media-id>\` to revoke it.
|
|
2114
2114
|
|
|
2115
2115
|
## The URLs the CLI gives you \u2014 and where each one is allowed
|
|
2116
2116
|
|
|
@@ -2118,7 +2118,7 @@ replicas media upload screenshot.png --name "Login page" --access public
|
|
|
2118
2118
|
|---|---|---|
|
|
2119
2119
|
| \`https://api.tryreplicas.com/v1/media/<id>\` (inside \`\`) | Authenticated API redirect to a presigned blob \u2014 requires the Replicas chat session | **Only** in the Replicas chat reply. Nowhere else. |
|
|
2120
2120
|
| \`https://tryreplicas.com/organizations/<organization-id>/media/<media-id>\` | Organization-only page printed by \`--access organization\` | Pull requests and other places where every viewer belongs to the Replicas organization. |
|
|
2121
|
-
| \`https://api.tryreplicas.com/v1/media/public/<id>/<token>\` | Opt-in public bearer URL printed by \`--access public\` or \`--share\` | GitHub
|
|
2121
|
+
| \`https://api.tryreplicas.com/v1/media/public/<id>/<token>\` | Opt-in public bearer URL printed by \`--access public\` or \`--share\` | GitHub embeds for image, video, or audio media. |
|
|
2122
2122
|
| \`https://tryreplicas.com/workspaces/<workspace-id>?media=<media-id>\` | Authenticated dashboard deep link that opens the media file in the workspace | Everywhere external \u2014 Slack, GitHub, Linear, PR bodies, comments, emails. |
|
|
2123
2123
|
|
|
2124
2124
|
### NEVER link the API redirect URL outside the Replicas chat reply
|
|
@@ -2294,7 +2294,7 @@ GitHub does not reliably render arbitrary external videos as inline players. For
|
|
|
2294
2294
|
|
|
2295
2295
|
Public forge shares are bearer capabilities. For private repositories, create one only when the user asked for inline PR media. Revoke with \`replicas media revoke <media-id>\` **only** when the user asks or the media should intentionally stop rendering \u2014 never as routine post-task cleanup, since revoking breaks every embed already posted on the PR.
|
|
2296
2296
|
|
|
2297
|
-
For a self-contained HTML report, upload it with \`--access organization\` and put the printed \`Forge link\` Markdown in the PR body or comment. GitHub cannot render the page inline, so use the normal link rather than image syntax.
|
|
2297
|
+
For a self-contained HTML report, upload it with \`--access organization\` and put the printed \`Forge link\` Markdown in the PR body or comment. GitHub cannot render the page inline, so use the normal link rather than image syntax. HTML pages cannot be shared publicly.
|
|
2298
2298
|
|
|
2299
2299
|
Do **not** commit screenshots to the repo, use placeholder URLs, expose the authenticated \`/v1/media/<id>\` URL, or automate GitHub's undocumented browser upload flow.
|
|
2300
2300
|
|
|
@@ -2344,8 +2344,8 @@ replicas media upload chart-a.svg chart-b.svg --name "Latency chart" --name "Err
|
|
|
2344
2344
|
- \`--kind <image|video|audio|html>\` \u2014 override auto-detection
|
|
2345
2345
|
- \`--name <name>\`: required display name shown in the dashboard, one per file in order
|
|
2346
2346
|
- \`--session-id <id>\` \u2014 associate the upload with a specific session
|
|
2347
|
-
- \`--access organization|public\`: create an organization-only
|
|
2348
|
-
- \`--share\`: alias for \`--access public
|
|
2347
|
+
- \`--access organization|public\`: create an organization-only link, or a public bearer URL for non-HTML media
|
|
2348
|
+
- \`--share\`: alias for \`--access public\`; not supported for HTML
|
|
2349
2349
|
`;
|
|
2350
2350
|
var MEDIA_ABILITY = {
|
|
2351
2351
|
label: "Media",
|
|
@@ -5588,6 +5588,7 @@ var MEDIA_KIND = {
|
|
|
5588
5588
|
HTML: "html"
|
|
5589
5589
|
};
|
|
5590
5590
|
var MEDIA_KINDS = [MEDIA_KIND.IMAGE, MEDIA_KIND.VIDEO, MEDIA_KIND.AUDIO, MEDIA_KIND.HTML];
|
|
5591
|
+
var PUBLIC_MEDIA_KINDS = [MEDIA_KIND.IMAGE, MEDIA_KIND.VIDEO, MEDIA_KIND.AUDIO];
|
|
5591
5592
|
var MAX_ENGINE_LOG_BYTES = 50 * 1024 * 1024;
|
|
5592
5593
|
|
|
5593
5594
|
// ../shared/src/skill-registry.ts
|
|
@@ -11006,7 +11007,7 @@ var DEFAULT_CODEX_ARGS = ["app-server", "--listen", "stdio://"];
|
|
|
11006
11007
|
var MIN_CODEX_CLI_VERSION = "0.144.6";
|
|
11007
11008
|
var CODEX_UPGRADE_TIMEOUT_MS = 12e4;
|
|
11008
11009
|
var codexCliVersionEnsured = null;
|
|
11009
|
-
var ENGINE_PACKAGE_VERSION = "0.1.
|
|
11010
|
+
var ENGINE_PACKAGE_VERSION = "0.1.583";
|
|
11010
11011
|
var INITIALIZE_METHOD = "initialize";
|
|
11011
11012
|
var INITIALIZED_NOTIFICATION = "initialized";
|
|
11012
11013
|
var ACCOUNT_LOGIN_START_METHOD = "account/login/start";
|