snow-flow 3.4.27 → 3.4.28
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/cli.js +4 -4
- package/empty-test.json +3 -0
- package/package.json +1 -1
- package/simple-test.json +9 -0
- package/test-mcp.json +11 -0
- package/test.txt +1 -0
package/dist/cli.js
CHANGED
|
@@ -462,7 +462,7 @@ async function executeClaudeCode(prompt) {
|
|
|
462
462
|
}
|
|
463
463
|
// Launch Claude Code with MCP config and skip permissions to avoid raw mode issues
|
|
464
464
|
const claudeArgs = hasMcpConfig
|
|
465
|
-
? ['--mcp-config', '.mcp.json', '
|
|
465
|
+
? ['--mcp-config', '.mcp.json', '--dangerously-skip-permissions']
|
|
466
466
|
: ['--dangerously-skip-permissions'];
|
|
467
467
|
cliLogger.info('🚀 Launching Claude Code automatically...');
|
|
468
468
|
if (hasMcpConfig) {
|
|
@@ -563,7 +563,7 @@ async function executeWithClaude(claudeCommand, prompt, resolve) {
|
|
|
563
563
|
cliLogger.warn('⚠️ No MCP configuration found. Run "snow-flow init" to set up MCP servers');
|
|
564
564
|
}
|
|
565
565
|
const claudeArgs = hasMcpConfig
|
|
566
|
-
? ['--mcp-config', '.mcp.json', '
|
|
566
|
+
? ['--mcp-config', '.mcp.json', '--dangerously-skip-permissions']
|
|
567
567
|
: ['--dangerously-skip-permissions'];
|
|
568
568
|
if (hasMcpConfig) {
|
|
569
569
|
cliLogger.info('🔧 Starting Claude Code with ServiceNow MCP servers...');
|
|
@@ -1918,10 +1918,10 @@ The MCP servers are automatically:
|
|
|
1918
1918
|
If you need to manually activate MCP servers later:
|
|
1919
1919
|
\`\`\`bash
|
|
1920
1920
|
# For Mac/Linux:
|
|
1921
|
-
claude --mcp-config .mcp.json
|
|
1921
|
+
claude --mcp-config .mcp.json
|
|
1922
1922
|
|
|
1923
1923
|
# For Windows:
|
|
1924
|
-
claude.exe --mcp-config .mcp.json
|
|
1924
|
+
claude.exe --mcp-config .mcp.json
|
|
1925
1925
|
\`\`\`
|
|
1926
1926
|
|
|
1927
1927
|
## 💡 Usage Examples
|
package/empty-test.json
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "snow-flow",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.28",
|
|
4
4
|
"description": "ServiceNow development framework with MCP server integration. Executes background scripts using ES5 JavaScript only (ServiceNow Rhino engine requirement). Provides 17 MCP servers for complete ServiceNow operations including widget deployment with coherence validation, table operations, script execution, machine learning, advanced features, and comprehensive platform management.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "commonjs",
|
package/simple-test.json
ADDED
package/test-mcp.json
ADDED
package/test.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
test file content
|