mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 12:24:30 +01:00
feat(ocm-cli): add remote indicator to TUI when attached to Manager (#313)
* feat(ocm-cli): add remote indicator to TUI when attached to Manager * chore(ocm-cli): bump version to 0.2.3 * feat(ocm-cli): show remote indicator on home screen and session prompt * feat(ocm-cli): remove arrow icon from remote indicator * docs: remove arrow icon from remote indicator description
This commit is contained in:
1 parent
7c7e9f3c77
commit
ed02ddabba
13 files changed
+1435
-37
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import { chmodSync, writeFileSync, rmSync, readFileSync } from 'fs'
|
||||
import { chmodSync, copyFileSync, writeFileSync, rmSync, readFileSync } from 'fs'
|
||||
import { join } from 'path'
|
||||
|
||||
const root = join(import.meta.dir, '..')
|
||||
@@ -26,7 +26,9 @@ async function bundleEntry(label: string, entrypoint: string, outputName: string
|
||||
}
|
||||
|
||||
await bundleEntry('ocm CLI', join('bin', 'ocm.ts'), 'ocm.js')
|
||||
await bundleEntry('TUI plugin entry', join('src', 'tui-plugin.ts'), 'tui.js')
|
||||
await bundleEntry('TUI plugin impl', join('src', 'tui-plugin.ts'), 'tui-plugin.js')
|
||||
|
||||
copyFileSync(join(root, 'src', 'tui.tsx'), join(dist, 'tui.tsx'))
|
||||
|
||||
const ocmJsPath = join(dist, 'ocm.js')
|
||||
const ocmJsContent = readFileSync(ocmJsPath, 'utf-8')
|
||||
|
||||
Reference in new issue
Block a user