@mthines/reaper-mcp 0.71.0-beta.83.2 → 0.71.0-beta.84.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.
@@ -136,6 +136,26 @@ exists, write an **overlay**: its tags plus only what you add or change. Then
136
136
  call `memory.write` with the protocol's tags, `kind: "signal"`, `host: "mixing"`,
137
137
  `trigger: "manual"`, `source_agent: "plugin-researcher"` and no `ttl_days`.
138
138
 
139
+ **Last, always — also when you stopped early** (no installed FX matched, `add_fx`
140
+ failed, LoreKit isn't connected): count the run with one `report_plugin_research`
141
+ call. It changes nothing in REAPER, and sends only fixed values and counts, never
142
+ the plugin's name:
143
+
144
+ ```text
145
+ report_plugin_research { outcome: <new | refined | not_installed | load_failed | no_lorekit>,
146
+ category: "<first category>", style: "<style>", format: "<the FX name's prefix: VST3, VST3i, AU, CLAP, JS, …>",
147
+ paramsTotal: <params get_fx_parameters listed>, paramsProbed: <K>, openQuestions: <N>,
148
+ sources: <URLs cited>, cleanedUp: <true | false>, scratchTag: "<TAG>",
149
+ caller: <the prompt's "Dispatched by", else other>, batchSize: <the prompt's "Batch", else 1> }
150
+ ```
151
+
152
+ Leave out every field you never learned — on an early stop that is usually
153
+ `format`, `paramsTotal` and `paramsProbed`. Never send a placeholder (`""`, `0`,
154
+ `unknown`): it would be counted as a real value.
155
+
156
+ `refined` covers an overlay on a built-in record too. Don't skip the call when
157
+ you did the steps inline.
158
+
139
159
  ## Step 6 — Report (this is all the caller sees)
140
160
 
141
161
  Keep it short. Don't paste the record; the overview below is the readable
@@ -230,21 +230,26 @@ always read-merge-write the `user::` key.
230
230
 
231
231
  ### Bootstrapping an unknown plugin
232
232
  Asked to use a plugin neither layer knows, create a user record *before* mixing
233
- with it. Dispatch the **`plugin-researcher`** agent with the plugin name (and
234
- what you need it for) and wait for its one-paragraph report. That keeps the web
233
+ with it. Dispatch the **`plugin-researcher`** agent with the plugin name (what
234
+ you need it for, and a `Dispatched by: <your skill>` line) and wait for its
235
+ one-paragraph report. That keeps the web
235
236
  pages and parameter dumps out of your context. Its steps, which you follow
236
237
  inline when the agent isn't available:
237
238
 
238
239
  1. **Research the web** (`WebSearch` / `WebFetch`): what it is, its category and
239
240
  character, key parameters, typical settings. Prefer the manufacturer's manual.
240
- 2. **Test it on a scratch track** (`[MCP] plugin-research`, never the user's
241
+ 2. **Test it on a scratch track** (`[MCP] plugin-research <TAG>`, never the user's
241
242
  tracks): `get_fx_parameters` for the **real parameter names and indices** of
242
243
  this build (ground truth). Probe the key params at 0/0.25/0.5/0.75/1 and read
243
244
  the formatted values back to get their scaling. Then delete the scratch track.
244
245
  3. **Write the record** above: research in the main sections, the verified param
245
246
  map and scaling under `## Learned notes`. The preference is a proposal from
246
247
  the field guide.
247
- 4. **Then use it**, and keep refining it as you go. Mention the proposed
248
+ 4. **Count the run**: one `report_plugin_research` call, also when you stopped
249
+ early, with `caller` set to your skill. Its fields are in the
250
+ plugin-researcher's last step (`~/.claude/agents/plugin-researcher.md`, in a
251
+ clone `.claude/agents/plugin-researcher.md`); it never sends the plugin's name.
252
+ 5. **Then use it**, and keep refining it as you go. Mention the proposed
248
253
  preference to the user once; don't block the mix on it.
249
254
 
250
255
  `/learn-plugin` runs the same agent, then asks the user only what it couldn't
@@ -65,7 +65,7 @@ Give each one a short, unique uppercase tag for its scratch track:
65
65
 
66
66
  ```text
67
67
  Agent(subagent_type: "plugin-researcher",
68
- prompt: "Plugin: <exact name>\nScratch track tag: <TAG, e.g. PROQ4>\nCaller context: <anything the user said, or 'none'>")
68
+ prompt: "Plugin: <exact name>\nScratch track tag: <TAG, e.g. PROQ4>\nCaller context: <anything the user said, or 'none'>\nDispatched by: learn-plugin\nBatch: <how many plugins this request researches>")
69
69
  ```
70
70
 
71
71
  Tell the user what is happening, in one line: each researcher looks the plugin
@@ -64,7 +64,8 @@ the user's own `user::` layer on top. Reads combine both; writes go to `user::`
64
64
  and carry on (or bootstrap it when the user asked for the plugin by name). LoreKit
65
65
  not connected: say so once and use the built-in read only.
66
66
  - **Unknown plugin?** Bootstrap it first (see protocol): dispatch the
67
- `plugin-researcher` agent (or follow its steps yourself), then read its
67
+ `plugin-researcher` agent (prompt line `Dispatched by: mastering`; or follow its
68
+ steps yourself), then read its
68
69
  `user::plugins::` record and use it.
69
70
  - **At a correction point — write the lesson immediately, before your next
70
71
  action** (the user found your master too loud and you backed off; a re-measure
@@ -94,7 +94,8 @@ record shapes, layer merge and plugin lookup):
94
94
  `read_*` tool before changing a patch. Not installed: say the structural part is out
95
95
  of reach and offer `reaper-mcp extension add <name>`.
96
96
  - **Asked to use a plugin you don't know?** Bootstrap it *before* mixing with it
97
- (see the protocol): dispatch the `plugin-researcher` agent, which researches
97
+ (see the protocol): dispatch the `plugin-researcher` agent (add the prompt line
98
+ `Dispatched by: mixer`), which researches
98
99
  the web, probes the plugin on a scratch track and writes its
99
100
  `user::plugins::` record. If the agent isn't available, do those steps
100
101
  yourself. Then read the record and use it. Refine it as you go.