snow-flow 3.4.26 → 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 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', '.', '--dangerously-skip-permissions']
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', '.', '--dangerously-skip-permissions']
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
@@ -2431,7 +2431,7 @@ async function createMCPConfig(targetDir, force = false) {
2431
2431
  .replace(/{{SNOW_FLOW_ENV}}/g, '${SNOW_FLOW_ENV}');
2432
2432
  // Parse to ensure it's valid JSON
2433
2433
  const mcpConfig = JSON.parse(mcpConfigContent);
2434
- // Update the structure to use mcpServers instead of servers
2434
+ // Keep the standard MCP structure that Claude Code expects
2435
2435
  const finalConfig = {
2436
2436
  "mcpServers": mcpConfig.servers
2437
2437
  };
@@ -0,0 +1,3 @@
1
+ {
2
+ "mcpServers": {}
3
+ }
@@ -1,31 +1,3 @@
1
- # Agent Memory Storage
1
+ # Agent Memory
2
2
 
3
- ## Purpose
4
- This directory stores agent-specific memory data, configurations, and persistent state information for individual Claude agents in the orchestration system.
5
-
6
- ## Structure
7
- Each agent gets its own subdirectory for isolated memory storage:
8
-
9
- ```
10
- memory/agents/
11
- ├── agent_001/
12
- │ ├── state.json # Agent state and configuration
13
- │ ├── knowledge.md # Agent-specific knowledge base
14
- │ ├── tasks.json # Completed and active tasks
15
- │ └── calibration.json # Agent-specific calibrations
16
- ├── agent_002/
17
- │ └── ...
18
- └── shared/
19
- ├── common_knowledge.md # Shared knowledge across agents
20
- └── global_config.json # Global agent configurations
21
- ```
22
-
23
- ## Usage Guidelines
24
- 1. **Agent Isolation**: Each agent should only read/write to its own directory
25
- 2. **Shared Resources**: Use the `shared/` directory for cross-agent information
26
- 3. **State Persistence**: Update state.json whenever agent status changes
27
- 4. **Knowledge Sharing**: Document discoveries in knowledge.md files
28
- 5. **Cleanup**: Remove directories for terminated agents periodically
29
-
30
- ## Last Updated
31
- 2025-08-07T21:13:17.654Z
3
+ This directory contains persistent memory for ServiceNow agents.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "snow-flow",
3
- "version": "3.4.26",
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",
@@ -0,0 +1,3 @@
1
+ # ServiceNow Artifacts
2
+
3
+ This directory contains generated ServiceNow development artifacts.
@@ -0,0 +1,9 @@
1
+ {
2
+ "mcpServers": {
3
+ "filesystem": {
4
+ "command": "npx",
5
+ "args": ["-y", "@modelcontextprotocol/server-filesystem", "/Users/nielsvanderwerf/Projects"],
6
+ "description": "Filesystem access server"
7
+ }
8
+ }
9
+ }
package/test-mcp.json ADDED
@@ -0,0 +1,11 @@
1
+ {
2
+ "mcpServers": {
3
+ "servicenow-deployment": {
4
+ "command": "node",
5
+ "args": [
6
+ "/Users/nielsvanderwerf/Projects/snow-flow-dev/snow-flow/dist/mcp/servicenow-deployment-mcp.js"
7
+ ],
8
+ "description": "Test deployment server"
9
+ }
10
+ }
11
+ }
package/test.txt ADDED
@@ -0,0 +1 @@
1
+ test file content