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:
Chris Scott authored and GitHub committed 2026-07-14 12:55:14 -04:00
1 parent 7c7e9f3c77
commit ed02ddabba
13 files changed
+1435 -37

No files matched your search

+3 -3
View File
@@ -1,4 +1,4 @@
import type { TuiPluginApi, TuiPluginModule } from './tui-types.js'
import type { TuiPluginApi } from './tui-types.js'
import { readInstallNotice, readState } from './state.js'
import { getToken } from './keychain.js'
import { fetchRepos, toRemoteRepoSummaries } from './manager-repos.js'
@@ -8,7 +8,7 @@ import { transferSession } from './session-move.js'
import { createManagerReplay } from './remote-replay.js'
import { readSessionEvents } from './local-history.js'
const tui = async (api: TuiPluginApi): Promise<void> => {
export async function setupOcm(api: TuiPluginApi): Promise<void> {
showInstallNotice(api)
api.keymap.registerLayer({
commands: [
@@ -124,4 +124,4 @@ async function runSessionMove(api: TuiPluginApi): Promise<void> {
}
}
export default { id: 'ocm', tui } satisfies TuiPluginModule
export { readRemoteContext } from './remote-context.js'