فهرست منبع

Add session share URL display to CLI output

🤖 Generated with [OpenCode](https://opencode.ai)

Co-Authored-By: OpenCode <[email protected]>
Dax Raad 8 ماه پیش
والد
کامیت
671e91f201
1فایلهای تغییر یافته به همراه6 افزوده شده و 0 حذف شده
  1. 6 0
      packages/opencode/src/index.ts

+ 6 - 0
packages/opencode/src/index.ts

@@ -110,6 +110,12 @@ cli
       empty()
       stderr(styles.TEXT_NORMAL_BOLD + "> ", message.join(" "))
       empty()
+      stderr(
+        styles.TEXT_INFO_BOLD +
+          "~  https://dev.opencode.ai/s?id=" +
+          session.id.slice(-8),
+      )
+      empty()
 
       function printEvent(color: string, type: string, title: string) {
         stderr(