Allow for configuring marketplaces or individual plugins. Both are provided as a list of either paths or packages. The lone plugins are enabled by adding a --plugin-dir argument to the wrapper script. Marketplaces are saved to the nix store and enabled by adding to the claude settings and known_marketplaces files. With the marketplace "installed", the plugin can just be enabled via the enabledPlugins setting.
17 lines
439 B
JSON
17 lines
439 B
JSON
{
|
|
"$schema": "https://json.schemastore.org/claude-code-settings.json",
|
|
"extraKnownMarketplaces": {
|
|
"test-duplicate": {
|
|
"source": {
|
|
"path": "/nix/store/00000000000000000000000000000000-test-marketplace",
|
|
"source": "directory"
|
|
}
|
|
},
|
|
"test-market": {
|
|
"source": {
|
|
"path": "/nix/store/00000000000000000000000000000000-test-marketplace",
|
|
"source": "directory"
|
|
}
|
|
}
|
|
}
|
|
}
|