summaryrefslogtreecommitdiffhomepage
path: root/js/src/index.ts
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-05-23 16:51:53 -0400
committerDax Raad <[email protected]>2025-05-26 12:40:17 -0400
commit5c491758f57b4e5eaf8d15f3bcd02f775ab3edad (patch)
tree3f7df73c6d7e3ae39b1bef7ed145dd53712c137b /js/src/index.ts
parent5f750b7368226ce455a6848f5f744d43179198e5 (diff)
downloadopencode-5c491758f57b4e5eaf8d15f3bcd02f775ab3edad.tar.gz
opencode-5c491758f57b4e5eaf8d15f3bcd02f775ab3edad.zip
sync
Diffstat (limited to 'js/src/index.ts')
-rw-r--r--js/src/index.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/src/index.ts b/js/src/index.ts
index 16fa0e43e..100e2bd07 100644
--- a/js/src/index.ts
+++ b/js/src/index.ts
@@ -40,7 +40,8 @@ cli
await Share.init();
const session = await Session.create();
const shareID = await Session.share(session.id);
- if (shareID) console.log("Share ID:", shareID);
+ if (shareID)
+ console.log("Share ID: https://dev.opencode.ai/share/" + shareID);
const result = await Session.chat(session.id, {
type: "text",
text: message.join(" "),