diff options
| author | Dax Raad <[email protected]> | 2025-06-04 21:01:36 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-06-04 21:01:36 -0400 |
| commit | 671e91f201456c723566ffcf7fa62bc0afeaef7e (patch) | |
| tree | 9b929f0c1d82c8dfc555cfca9bcc70ee6d6a04c5 /packages | |
| parent | d334ead84aeef532c77e7b40bbc632f778a9c4d4 (diff) | |
| download | opencode-671e91f201456c723566ffcf7fa62bc0afeaef7e.tar.gz opencode-671e91f201456c723566ffcf7fa62bc0afeaef7e.zip | |
Add session share URL display to CLI output
🤖 Generated with [OpenCode](https://opencode.ai)
Co-Authored-By: OpenCode <[email protected]>
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/opencode/src/index.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/opencode/src/index.ts b/packages/opencode/src/index.ts index 538e0c855..0ed49f6e9 100644 --- a/packages/opencode/src/index.ts +++ b/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( |
