snow-flow 1.4.8 → 1.4.10

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.
Files changed (36) hide show
  1. package/.claude/commands/helpers/standard-checkpoint-hooks.sh +179 -0
  2. package/.claude/settings.json +109 -32
  3. package/CLAUDE.md +1425 -229
  4. package/README.md +372 -141
  5. package/SNOW_FLOW_ADVANCED_FEATURES_PLAIN.txt +78 -0
  6. package/claude-flow +81 -34
  7. package/claude-flow.bat +0 -0
  8. package/claude-flow.ps1 +0 -0
  9. package/dist/cli.js +164 -0
  10. package/dist/cli.js.map +1 -1
  11. package/dist/intelligence/performance-recommendations-engine.js +1 -1
  12. package/dist/intelligence/performance-recommendations-engine.js.map +1 -1
  13. package/dist/mcp/advanced/servicenow-advanced-features-mcp.d.ts +925 -0
  14. package/dist/mcp/advanced/servicenow-advanced-features-mcp.d.ts.map +1 -0
  15. package/dist/mcp/advanced/servicenow-advanced-features-mcp.js +14159 -0
  16. package/dist/mcp/advanced/servicenow-advanced-features-mcp.js.map +1 -0
  17. package/dist/mcp/servicenow-deployment-mcp.js +32 -0
  18. package/dist/mcp/servicenow-deployment-mcp.js.map +1 -1
  19. package/dist/mcp/shared/mcp-memory-manager.js +1 -1
  20. package/dist/mcp/shared/mcp-memory-manager.js.map +1 -1
  21. package/dist/queen/queen-memory.js +2 -2
  22. package/dist/queen/queen-memory.js.map +1 -1
  23. package/dist/utils/migrate-claude-flow.d.ts +22 -0
  24. package/dist/utils/migrate-claude-flow.d.ts.map +1 -0
  25. package/dist/utils/migrate-claude-flow.js +120 -0
  26. package/dist/utils/migrate-claude-flow.js.map +1 -0
  27. package/dist/utils/snow-memory-manager.d.ts +78 -0
  28. package/dist/utils/snow-memory-manager.d.ts.map +1 -0
  29. package/dist/utils/snow-memory-manager.js +530 -0
  30. package/dist/utils/snow-memory-manager.js.map +1 -0
  31. package/dist/version.d.ts +4 -1
  32. package/dist/version.d.ts.map +1 -1
  33. package/dist/version.js +26 -1
  34. package/dist/version.js.map +1 -1
  35. package/package.json +268 -3
  36. package/.env.example +0 -284
@@ -2663,6 +2663,38 @@ ${sessionSummary.statusCounts.pending > 0 ? '- 📋 Complete pending deployments
2663
2663
  async runAuthDiagnostics(args) {
2664
2664
  try {
2665
2665
  this.logger.info('Running authentication diagnostics...');
2666
+ // Check if we're authenticated first
2667
+ const isAuth = await this.oauth.isAuthenticated();
2668
+ if (!isAuth) {
2669
+ return {
2670
+ content: [
2671
+ {
2672
+ type: 'text',
2673
+ text: `❌ **Authentication Status: Not Authenticated**
2674
+
2675
+ **Issue:** No credentials available. You need to authenticate first.
2676
+
2677
+ **Solution:**
2678
+ 1. Run the authentication command:
2679
+ \`\`\`bash
2680
+ snow-flow auth login
2681
+ \`\`\`
2682
+
2683
+ 2. Or configure your .env file with ServiceNow OAuth credentials:
2684
+ \`\`\`
2685
+ SNOW_INSTANCE=dev123456.service-now.com
2686
+ SNOW_CLIENT_ID=your_oauth_client_id
2687
+ SNOW_CLIENT_SECRET=your_oauth_client_secret
2688
+ \`\`\`
2689
+
2690
+ 3. After authentication, run diagnostics again:
2691
+ \`\`\`
2692
+ snow_auth_diagnostics
2693
+ \`\`\``,
2694
+ },
2695
+ ],
2696
+ };
2697
+ }
2666
2698
  const diagnostics = await this.client.validateDeploymentPermissions();
2667
2699
  if (!diagnostics.success) {
2668
2700
  this.logger.warn('Authentication diagnostics found issues:', diagnostics.data);