mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-21 09:44:21 +01:00
sync
This commit is contained in:
@@ -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(" "),
|
||||
|
||||
Reference in New Issue
Block a user