Explorar el Código

Add session share URL display to CLI output

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

Co-Authored-By: OpenCode <[email protected]>
Dax Raad hace 8 meses
padre
commit
671e91f201
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      packages/opencode/src/index.ts

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

@@ -110,6 +110,12 @@ cli
       empty()
       empty()
       stderr(styles.TEXT_NORMAL_BOLD + "> ", message.join(" "))
       stderr(styles.TEXT_NORMAL_BOLD + "> ", message.join(" "))
       empty()
       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) {
       function printEvent(color: string, type: string, title: string) {
         stderr(
         stderr(