feat(ocm-cli): add session move with local history export and TUI plugin (#304)

* loop: ocm-session-move completed after 7 iterations

* feat(ocm-cli): add session move with local history export and TUI plugin

* docs(ocm-cli): update plugin config to tui-only entry and clarify session history source

* fix(ocm-cli): replace raw postinstall output with TUI toast notification
This commit is contained in:
Chris Scott authored and GitHub committed 2026-07-08 17:23:53 -04:00
1 parent 54323267f5
commit 61efcf9ad1
19 files changed
+906 -157

No files matched your search

+1 -1
View File
@@ -165,7 +165,7 @@ export class ManagerApi {
const query = opts.force === true ? '?force=1' : ''
const headers: Record<string, string> = { ...this.headers(), 'Content-Type': 'application/octet-stream' }
if (opts.branch) headers['X-OCM-Branch'] = opts.branch
const body = Readable.toWeb(createReadStream(bundlePath)) as ReadableStream<Uint8Array>
const body = Readable.toWeb(createReadStream(bundlePath)) as unknown as ReadableStream<Uint8Array>
const res = await fetch(`${this.baseUrl}/api/internal/repos/${repoId}/mirror/bundle${query}`, {
method: 'POST',
headers,