mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 12:54:20 +01:00
fix(ocm-cli): include plugin installer in package
This commit is contained in:
1 parent
61efcf9ad1
commit
bf54f6e7c8
3 files changed
+15
-13
No files matched your search
+8
-7
@@ -63,18 +63,19 @@ refuses to overwrite uncommitted local changes unless `--force` is passed.
|
||||
|
||||
## OpenCode TUI plugin
|
||||
|
||||
The package exposes an OpenCode TUI plugin at
|
||||
`@opencode-manager/ocm-cli/tui`. It registers `/ocm-move`, which keeps the
|
||||
local session and copies the active session to the Manager after pushing the
|
||||
current repo state. Use it from inside an OpenCode session after `ocm login`
|
||||
and after the repo already exists on the Manager (`ocm push --create` if
|
||||
needed).
|
||||
The package exposes an OpenCode TUI plugin through its `./tui` package export.
|
||||
Configure the package name and OpenCode resolves that TUI entrypoint
|
||||
automatically. It registers `/ocm-move`, which keeps the local session and
|
||||
copies the active session to the Manager after pushing the current repo state.
|
||||
Use it from inside an OpenCode session after `ocm login` and after the repo
|
||||
already exists on the Manager (`ocm push --create` if needed).
|
||||
|
||||
Enable it in `tui.json`:
|
||||
|
||||
```jsonc
|
||||
{
|
||||
"plugin": ["@opencode-manager/ocm-cli/tui"]
|
||||
"$schema": "https://opencode.ai/tui.json",
|
||||
"plugin": ["@opencode-manager/ocm-cli"]
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
@@ -22,7 +22,8 @@
|
||||
},
|
||||
"files": [
|
||||
"dist",
|
||||
"README.md"
|
||||
"README.md",
|
||||
"scripts/postinstall.mjs"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "bun scripts/build.ts",
|
||||
|
||||
Reference in new issue
Block a user