cwtools-mcp 0.2.7 → 0.2.9
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/dist/config.js +4 -0
- package/dist/cwtools-mcp.cjs +3168 -21
- package/dist/mcp/bridgeProxy.js +5 -2
- package/dist/mcp/resources.d.ts +2 -2
- package/dist/mcp/resources.js +110 -2
- package/dist/mcp/toolHandlers.js +3 -4
- package/dist/mcp/toolRegistrar.d.ts +3 -1
- package/dist/mcp/toolRegistrar.js +2 -2
- package/dist/server.js +2 -2
- package/package.json +2 -2
package/dist/config.js
CHANGED
|
@@ -89,6 +89,7 @@ function parseCliArgs(argv) {
|
|
|
89
89
|
config.port = readPort(readValue(argv, ++index, arg));
|
|
90
90
|
break;
|
|
91
91
|
case '--enable-writes':
|
|
92
|
+
case '--allow-domain-writes':
|
|
92
93
|
config.enableWrites = true;
|
|
93
94
|
break;
|
|
94
95
|
case '--force-start':
|
|
@@ -142,6 +143,9 @@ function parseCliArgs(argv) {
|
|
|
142
143
|
else if (arg === '--standalone') {
|
|
143
144
|
config.standalone = true;
|
|
144
145
|
}
|
|
146
|
+
else if (arg === '--allow-domain-writes' || arg === '--enable-writes') {
|
|
147
|
+
config.enableWrites = true;
|
|
148
|
+
}
|
|
145
149
|
else {
|
|
146
150
|
throw new Error(`Unknown argument: ${arg}\n\n${helpText()}`);
|
|
147
151
|
}
|