wtt-connect 0.2.34 → 0.2.35
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/package.json +1 -1
- package/src/runner.js +2 -1
package/package.json
CHANGED
package/src/runner.js
CHANGED
|
@@ -937,7 +937,8 @@ function renderCloudSandboxStorageInstruction(config, topicId = '') {
|
|
|
937
937
|
'- Do not install large dependencies, clone large repositories, download datasets, or write bulky generated files into the workspace unless the user explicitly asks for local temporary storage.',
|
|
938
938
|
'- Keep only source edits, small manifests, notes, and temporary scratch files in the workspace.',
|
|
939
939
|
'- If a generated user-facing file is stored in R2/persistent output storage and should appear in WTT chat, still publish it with `wtt-connect upload-file` or a WTT artifact marker.',
|
|
940
|
-
`- If you start a web server in the sandbox and the user should preview it, expose that port with: wtt-
|
|
940
|
+
`- If you start a web server in the sandbox and the user should preview it, expose that port with: wtt-preview-port <port>. This command calls the Cloudflare Sandbox outbound Worker directly and prints a public preview URL; include that URL in your reply.`,
|
|
941
|
+
`- Only if you need WTT to publish the preview card automatically, use: wtt-connect preview-port --port <port>${topicId ? ` --topic-id ${topicId}` : ' --topic-id <topic_id>'}. This is a convenience wrapper around the same sandbox outbound Worker, not a backend preview API.`,
|
|
941
942
|
);
|
|
942
943
|
return lines.join('\n');
|
|
943
944
|
}
|