Skip to content

Commit ab8513f

Browse files
committed
chore: release 0.1.4
Add MiMo/Kilo local-dev helper scripts, document in TESTING.md, and link from README. Bump OCP train to 0.1.4.
1 parent d7f6db0 commit ab8513f

23 files changed

Lines changed: 437 additions & 27 deletions

File tree

INSTALL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ ocp setup --host kilo --mode npm --version 0.1.2 # pin facade train (default t
139139
ocp setup --dir ~/.cache/mimocode/packages --mode npm # explicit install root
140140
```
141141

142-
`--version` pins the `@opencode-compat/facade-*` specs written into overrides. The CLI default is the **current OCP package train** (today **`0.1.2`**). To pin an older published train, pass e.g. `--version 0.1.0`.
142+
`--version` pins the `@opencode-compat/facade-*` specs written into overrides. The CLI default is the **current OCP package train** (today **`0.1.4`**). To pin an older published train, pass e.g. `--version 0.1.0`.
143143

144144
Outside this monorepo, always prefer **`--mode npm`** so overrides resolve from the public registry (not local `file:` paths).
145145

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Also: [`fixtures/`](./fixtures) (conformance), [`docs/hosts/`](./docs/hosts) (ho
3636
| Doc | Purpose |
3737
|-----|---------|
3838
| [`INSTALL.md`](./INSTALL.md) | **User install** — npm OCP on MiMo/Kilo (+ `cursor-opencode-provider` example) |
39+
| [`TESTING.md`](./TESTING.md) | **Manual local dev** — unpublished OCP + local plugins on MiMo/Kilo (`scripts/*-dev.sh`) |
3940
| [`docs/ocp/0.1.md`](./docs/ocp/0.1.md) | OCP 0.1 contract |
4041
| [`docs/plans/universal-opencode-plugin-compat-plan.md`](./docs/plans/universal-opencode-plugin-compat-plan.md) | Parent product plan |
4142
| [`docs/plans/phase0-adr-universal-compat.md`](./docs/plans/phase0-adr-universal-compat.md) | Product ADR |
@@ -60,6 +61,8 @@ bun run pack:check # publish dry-run (see docs/guides/npm-publish.md)
6061

6162
Requires [Bun](https://bun.sh) ≥ 1.2. CLI bins import `dist/` — run `bun run build` after a clean checkout.
6263

64+
For end-to-end checks against a real host with local checkouts, see [**TESTING.md**](./TESTING.md).
65+
6366
## Compatibility tiers (labels, not phases)
6467

6568
| Tier | Meaning |
@@ -73,4 +76,4 @@ Requires [Bun](https://bun.sh) ≥ 1.2. CLI bins import `dist/` — run `bun run
7376
## Related
7477

7578
- Example consumer plugin (must run **unchanged** via OCP): [oakimov/cursor-opencode-provider](https://github.com/oakimov/cursor-opencode-provider)
76-
- Research baselines: [oa-tools/mimo-review](https://github.com/oakimov/oa-tools/tree/main/mimo-review), [oa-tools/kilo-review](https://github.com/oakimov/oa-tools/tree/main/kilo-review), [oa-tools/zcode-review](https://github.com/oakimov/oa-tools/tree/main/zcode-review)
79+
- Research baselines: [oa-tools/mimo-review](https://github.com/oakimov/oa-tools/tree/main/mimo-review), [oa-tools/kilo-review](https://github.com/oakimov/oa-tools/tree/main/kilo-review), [oa-tools/zcode-review](https://github.com/oakimov/oa-tools/tree/main/zcode-review)

TESTING.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,20 @@ MiMo Code.
1818
| [MiMo Code](https://github.com/XiaomiMiMo/MiMo-Code) | any recent build |
1919
| `npm` (used by `ocp setup` to reify overrides) | any recent version |
2020

21+
### Helper scripts (recommended)
22+
23+
From this repo root:
24+
25+
```bash
26+
./scripts/mimo-dev.sh local # local OCP facades + local provider clone
27+
./scripts/mimo-dev.sh npm # restore npm plugin + published OCP facades
28+
29+
./scripts/kilo-dev.sh local
30+
./scripts/kilo-dev.sh npm
31+
```
32+
33+
Defaults: provider checkout at `../cursor-opencode-provider` or `~/Projects/cursor-opencode-provider` (override with `OCP_DEV_PROVIDER_PATH`). Host config is backed up once under `~/.config/<host>/.ocp-dev/host-config.backup.json` before the first `local` run.
34+
2135
---
2236

2337
## 1. Testing a local version of OCP

bun.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/adapter/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opencode-compat/adapter",
3-
"version": "0.1.3",
3+
"version": "0.1.4",
44
"description": "Universal OCP host adapter — autodetection HostProfile, one runtime for all cooperating hosts",
55
"type": "module",
66
"license": "MPL-2.0",

packages/adapter/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* See docs/ocp/0.1.md and docs/plans/.
55
*/
66
export const PKG = "@opencode-compat/adapter" as const
7-
export const VERSION = "0.1.3" as const
7+
export const VERSION = "0.1.4" as const
88

99
export {
1010
detect,

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opencode-compat/cli",
3-
"version": "0.1.3",
3+
"version": "0.1.4",
44
"description": "OCP compat doctor, Plugin×Host×Tier matrix runner, Layer A setup/overrides, and migrate-zcode companion CLI",
55
"type": "module",
66
"license": "MPL-2.0",

packages/cli/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @opencode-compat/cli — `compat doctor` + matrix + setup + migrate-zcode companion.
33
*/
44
export const PKG = "@opencode-compat/cli" as const
5-
export const VERSION = "0.1.3" as const
5+
export const VERSION = "0.1.4" as const
66

77
import { doctorReport } from "@opencode-compat/adapter"
88
import {

packages/facade-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opencode-compat/facade-plugin",
3-
"version": "0.1.3",
3+
"version": "0.1.4",
44
"description": "Install-override stand-in for @opencode-ai/plugin (classic + v2/promise)",
55
"type": "module",
66
"license": "MPL-2.0",

packages/facade-plugin/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Subpaths: `./tool`, `./tui`, `./v2/promise`, `./v2/effect`.
66
*/
77
export const PKG = "@opencode-compat/facade-plugin" as const
8-
export const VERSION = "0.1.3" as const
8+
export const VERSION = "0.1.4" as const
99

1010
export * from "./tool"
1111
export type {

0 commit comments

Comments
 (0)