omo-plannotator-bridge 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +36 -8
  2. package/package.json +4 -2
package/README.md CHANGED
@@ -1,15 +1,43 @@
1
1
  # omo-plannotator-bridge
2
2
 
3
- To install dependencies:
3
+ A bridge plugin that connects [oh-my-opencode](https://github.com/code-yeongyu/oh-my-opencode) with [plannotator](https://github.com/backnotprop/plannotator/tree/main/apps/opencode-plugin).
4
4
 
5
- ```bash
6
- bun install
7
- ```
5
+ When oh-my-opencode's planning agents (Prometheus) are active, this plugin injects instructions for them to call the `submit_plan` tool — so plans get surfaced to you for review before work begins.
6
+
7
+ ## How it works
8
+
9
+ This plugin hooks into opencode's system prompt pipeline and detects which agent is currently active. If it's **Prometheus** or **Sisyphus**, it appends instructions to use plannotator's `submit_plan` tool at the appropriate moment.
10
+
11
+ - **Prometheus** — instructed to call `submit_plan` after completing a plan, before asking about Start Work / High Accuracy
12
+ - **Sisyphus** — instructed to call `submit_plan` before proceeding with significant work steps that need confirmation
13
+
14
+ It also suppresses the `"Proceed with implementation"` message that would otherwise be sent when approving a plan, keeping the conversation clean.
15
+
16
+ ## Prerequisites
8
17
 
9
- To run:
18
+ Both plugins must be enabled in your opencode config:
10
19
 
11
- ```bash
12
- bun run index.ts
20
+ - [oh-my-opencode](https://github.com/code-yeongyu/oh-my-opencode)
21
+ - [plannotator](https://github.com/backnotprop/plannotator/tree/main/apps/opencode-plugin)
22
+
23
+ ## Installation
24
+
25
+ ~/.config/opencode/opencode.json
26
+ ```json
27
+ {
28
+ "plugin": [
29
+ "oh-my-opencode",
30
+ "@plannotator/opencode",
31
+ "omo-plannotator-bridge"
32
+ ]
33
+ }
13
34
  ```
14
35
 
15
- This project was created using `bun init` in bun v1.3.5. [Bun](https://bun.com) is a fast all-in-one JavaScript runtime.
36
+ ## Acknowledgements
37
+
38
+ - [oh-my-opencode](https://github.com/code-yeongyu/oh-my-opencode) by YeonGyu Kim — [Sustainable Use License](https://github.com/code-yeongyu/oh-my-opencode/blob/master/LICENSE.md)
39
+ - [plannotator](https://github.com/backnotprop/plannotator) by backnotprop — Apache-2.0 / MIT
40
+
41
+ ## License
42
+
43
+ MIT
package/package.json CHANGED
@@ -1,8 +1,10 @@
1
1
  {
2
2
  "name": "omo-plannotator-bridge",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "main": "index.ts",
5
- "files": ["index.ts"],
5
+ "files": [
6
+ "index.ts"
7
+ ],
6
8
  "publishConfig": {
7
9
  "access": "public"
8
10
  },