RAM2118 commited on
Commit
08315b0
Β·
verified Β·
1 Parent(s): a21f3f0

Sprint 6: Channel name dropdown + multi-instance registry + list_instances MCP tool

Browse files

NEXT PUSH:
TASK: Multi-instance support β€” channel naming + registry + list_instances
FILES CHANGING:
- Source/Shared/Constants.h (add kRegistryPath)
- Source/Plugin/InstanceRegistry.h (NEW β€” header-only)
- Source/Plugin/McpServer.h (remove port param, add channelNameCallback)
- Source/Plugin/McpServer.cpp (bind_to_any_port, list_instances, channel prefix)
- Source/Plugin/PluginBridgeProcessor.h (add channelName + setChannelName)
- Source/Plugin/PluginBridgeProcessor.cpp (registry integration + state save/restore)
- Source/Plugin/PluginBridgeEditor.h (add channelDropdown)
- Source/Plugin/PluginBridgeEditor.mm (dropdown UI + onChange) β€” AUTHORIZED this sprint
FILES NOT TOUCHING:
- PluginPickerComponent.mm βœ…
- HelperPluginHost.mm βœ…
- HelperConnection.cpp βœ…
- CMakeLists.txt βœ… (no new .cpp files)
APIS USED (all verified by Claude Code):
- httplib bind_to_any_port βœ…
- httplib listen_after_bind βœ…
- juce::ComboBox βœ…
- juce::AlertWindow::showInputBoxAsync βœ…
- POSIX rename() βœ…"

Files changed (1) hide show
  1. Source/Shared/Constants.h +2 -1
Source/Shared/Constants.h CHANGED
@@ -6,6 +6,7 @@ static constexpr int kDefaultMcpPort = 16620;
6
  static constexpr int kMaxPluginNameLength = 256;
7
  static constexpr int kMaxParamResults = 50;
8
  static constexpr const char* kHelperBinaryName = "PluginBridgeHelper";
9
- static constexpr const char* kVersion = "0.4.0";
 
10
 
11
  } // namespace PluginBridgeConstants
 
6
  static constexpr int kMaxPluginNameLength = 256;
7
  static constexpr int kMaxParamResults = 50;
8
  static constexpr const char* kHelperBinaryName = "PluginBridgeHelper";
9
+ static constexpr const char* kVersion = "0.5.3";
10
+ static constexpr const char* kRegistryPath = "/tmp/pluginbridge-registry.json";
11
 
12
  } // namespace PluginBridgeConstants