@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.
- package/README.md +1 -1
- package/bridge-ui/mcp_bridge.html +42 -42
- package/claude/agents/plugin-researcher.md +20 -0
- package/claude/knowledge/reference/memory-protocol.md +9 -4
- package/claude/skills/learn-plugin/SKILL.md +1 -1
- package/claude/skills/mastering/SKILL.md +2 -1
- package/claude/skills/mixer/SKILL.md +2 -1
- package/main.js +969 -886
- package/package.json +1 -1
- package/reaper/mcp_bridge.lua +3 -13
package/package.json
CHANGED
package/reaper/mcp_bridge.lua
CHANGED
|
@@ -4668,7 +4668,6 @@ end
|
|
|
4668
4668
|
|
|
4669
4669
|
-- Settings written by the status page through REAPER's web interface (/_/SET/EXTSTATE...).
|
|
4670
4670
|
-- cfg_paused is in-memory only (resets with REAPER); the others persist in reaper-extstate.ini.
|
|
4671
|
-
-- cfg_autostart is read at REAPER's launch by the startup block setup writes into Scripts/__startup.lua.
|
|
4672
4671
|
local function cfg(key)
|
|
4673
4672
|
return reaper.GetExtState(STATUS_SECTION, key) == "1"
|
|
4674
4673
|
end
|
|
@@ -4693,7 +4692,7 @@ local _, script_path, _, script_cmd_id = reaper.get_action_context()
|
|
|
4693
4692
|
local script_source = script_path and read_file(script_path)
|
|
4694
4693
|
local HEALTH_INTERVAL = 10
|
|
4695
4694
|
local last_health_check = -HEALTH_INTERVAL
|
|
4696
|
-
local health = { sws = false, jsfx = true, outdated = false
|
|
4695
|
+
local health = { sws = false, jsfx = true, outdated = false }
|
|
4697
4696
|
local JSFX_FILES = { "mcp_analyzer.jsfx", "mcp_lufs_meter.jsfx", "mcp_correlation_meter.jsfx", "mcp_crest_factor.jsfx", "mcp_midi_emitter.jsfx" }
|
|
4698
4697
|
|
|
4699
4698
|
local function check_health(now)
|
|
@@ -4711,13 +4710,8 @@ local function check_health(now)
|
|
|
4711
4710
|
missingJsfx = #missing > 0 and missing or nil,
|
|
4712
4711
|
-- The installed script changed under us (setup ran): this running copy is stale until restarted
|
|
4713
4712
|
outdated = script_source ~= nil and installed ~= nil and installed ~= script_source,
|
|
4714
|
-
-- REAPER's startup script holds the block `reaper-mcp setup` writes (AUTOSTART_BLOCK in cli.ts), which
|
|
4715
|
-
-- starts the bridge with REAPER unless the page's cfg_autostart is "0"
|
|
4716
|
-
autostart = ((read_file(reaper.GetResourcePath() .. "/Scripts/__startup.lua") or "")
|
|
4717
|
-
:find("reaper-mcp: start the bridge with REAPER", 1, true)) ~= nil,
|
|
4718
4713
|
}
|
|
4719
|
-
if next_health.sws ~= health.sws or next_health.jsfx ~= health.jsfx or next_health.outdated ~= health.outdated
|
|
4720
|
-
or next_health.autostart ~= health.autostart then
|
|
4714
|
+
if next_health.sws ~= health.sws or next_health.jsfx ~= health.jsfx or next_health.outdated ~= health.outdated then
|
|
4721
4715
|
status_dirty = true
|
|
4722
4716
|
end
|
|
4723
4717
|
health = next_health
|
|
@@ -5300,11 +5294,7 @@ local function publish_status(now, force)
|
|
|
5300
5294
|
deferMs = defer_n > 0 and math.floor(defer_sum / defer_n * 100000 + 0.5) / 100 or 0,
|
|
5301
5295
|
recent = status.recent,
|
|
5302
5296
|
sessions = session_list(),
|
|
5303
|
-
settings = {
|
|
5304
|
-
paused = cfg("cfg_paused"), readonly = cfg("cfg_readonly"), openOnStart = open_on_start(), dev = dev_mode(),
|
|
5305
|
-
-- Start with REAPER: on unless turned off ("0"); read by the startup block, not by this script
|
|
5306
|
-
autostart = reaper.GetExtState(STATUS_SECTION, "cfg_autostart") ~= "0",
|
|
5307
|
-
},
|
|
5297
|
+
settings = { paused = cfg("cfg_paused"), readonly = cfg("cfg_readonly"), openOnStart = open_on_start(), dev = dev_mode() },
|
|
5308
5298
|
health = health,
|
|
5309
5299
|
web = web_watch.status,
|
|
5310
5300
|
control = control_status(),
|