Skip to content

Commit a774180

Browse files
committed
chore(release): publish 0.1.1-beta.9
1 parent 869ffd1 commit a774180

4 files changed

Lines changed: 30 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 0.1.1-beta.9
4+
5+
- fix README documentation for `agent.plan.prompt` replacement behavior
6+
- restore `plan_prompt` tool documentation and note the build-agent fallback when `plan_exit` is unavailable
7+
38
## 0.1.1-beta.8
49

510
- document `agent.plan.model` customization with OpenAI `reasoningEffort` examples

README.md

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ If you want reproducible installs instead of automatic plugin refreshes, pin an
2929
}
3030
```
3131

32-
You can also customize the `plan` agent in the same config. The plugin keeps its default planner prompt and appends your custom prompt, so this is a good place to add repo-specific planning rules or a dedicated model with a specific reasoning level:
32+
You can also customize the `plan` agent in the same config. If you set `agent.plan.prompt`, it replaces the plugin's base planning prompt, so this is a good place to add repo-specific planning rules or a dedicated model with a specific reasoning level:
3333

3434
```json
3535
{
@@ -44,21 +44,22 @@ You can also customize the `plan` agent in the same config. The plugin keeps its
4444
}
4545
```
4646

47-
This extends the built-in planning instructions rather than replacing them.
47+
This replaces the plugin's base planning prompt. The plugin still injects a separate runtime planner reminder to keep the agent in planning mode.
4848

4949
## What it does
5050

5151
- adds a `plan` agent intended for design and implementation planning
5252
- constrains that agent to read-only tools plus markdown plan editing
5353
- injects a system reminder that keeps the planning workflow explicit
54-
- lets users extend the plugin's base `plan` prompt with their own `agent.plan.prompt`
54+
- lets users replace the plugin's base `plan` prompt with their own `agent.plan.prompt`
5555
- lets users override agent settings such as `agent.plan.model` and provider-specific options like `agent.plan.reasoningEffort`
56+
- exposes a `plan_prompt` tool so the `plan` agent can reveal the plugin's prompt basis for customization
5657
- uses `submit_plan` for review when available, otherwise falls back to manual chat review
5758
- can leave planner mode with `plan_exit` after approval when experimental plan mode is enabled in the CLI runtime
5859

5960
## Customize the plan agent
6061

61-
If you set `agent.plan.prompt`, the plugin appends your text after its built-in planning instructions. Other agent settings, such as `agent.plan.model` and provider-specific options like `agent.plan.reasoningEffort`, are merged in normally.
62+
If you set `agent.plan.prompt`, the plugin replaces its built-in base planning prompt with your text. Other agent settings, such as `agent.plan.model` and provider-specific options like `agent.plan.reasoningEffort`, are merged in normally.
6263

6364
```json
6465
{
@@ -74,6 +75,22 @@ If you set `agent.plan.prompt`, the plugin appends your text after its built-in
7475

7576
The runtime planner reminder still applies, so the agent stays in planner mode and continues to use the review handoff flow. That reminder is injected by the plugin at runtime and is not customized through `agent.plan.prompt`.
7677

78+
## Reveal the plugin prompt basis
79+
80+
The plugin also adds a read-only `plan_prompt` tool. Ask the `plan` agent to use it when you want the plugin's own prompt text and planner reminder as a starting point for customization.
81+
82+
Example:
83+
84+
```text
85+
Use the plan_prompt tool and show me the plugin prompt so I can customize it.
86+
```
87+
88+
The tool returns:
89+
90+
- the plugin base prompt
91+
- the injected planner reminder, which is plugin-controlled runtime guidance and is not customized via `agent.plan.prompt`
92+
- a short note explaining that the final runtime prompt can still differ because of user config, other plugins, or runtime tool availability like `plan_exit`
93+
7794
## Auto-updates
7895

7996
OpenCode installs npm plugins automatically. During the prerelease phase, `opencode-planner@beta` gives the smoothest update path for most users.
@@ -94,7 +111,7 @@ npm run debug:plan
94111
npm run opencode:no-plannotator -- debug config
95112
```
96113

97-
`npm run debug:plan` checks the active OpenCode runtime and reports whether the local repo plugin is loaded, whether `submit_plan` and `plan_exit` are allowed by the `plan` agent, and whether they are actually registered as runtime tools.
114+
`npm run debug:plan` checks the active OpenCode runtime and reports whether the local repo plugin is loaded, whether `plan_prompt`, `submit_plan`, and `plan_exit` are allowed by the `plan` agent, and whether they are actually registered as runtime tools.
98115

99116
This is the fastest way to distinguish:
100117

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "opencode-planner",
3-
"version": "0.1.1-beta.8",
3+
"version": "0.1.1-beta.9",
44
"description": "Experimental OpenCode plugin that adds a dedicated planning agent with read-only planning constraints.",
55
"type": "module",
66
"author": "Tim Richardson",

0 commit comments

Comments
 (0)