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.
- package/.claude/commands/helpers/standard-checkpoint-hooks.sh +179 -0
- package/.claude/settings.json +109 -32
- package/CLAUDE.md +1425 -229
- package/README.md +372 -141
- package/SNOW_FLOW_ADVANCED_FEATURES_PLAIN.txt +78 -0
- package/claude-flow +81 -34
- package/claude-flow.bat +0 -0
- package/claude-flow.ps1 +0 -0
- package/dist/cli.js +164 -0
- package/dist/cli.js.map +1 -1
- package/dist/intelligence/performance-recommendations-engine.js +1 -1
- package/dist/intelligence/performance-recommendations-engine.js.map +1 -1
- package/dist/mcp/advanced/servicenow-advanced-features-mcp.d.ts +925 -0
- package/dist/mcp/advanced/servicenow-advanced-features-mcp.d.ts.map +1 -0
- package/dist/mcp/advanced/servicenow-advanced-features-mcp.js +14159 -0
- package/dist/mcp/advanced/servicenow-advanced-features-mcp.js.map +1 -0
- package/dist/mcp/servicenow-deployment-mcp.js +32 -0
- package/dist/mcp/servicenow-deployment-mcp.js.map +1 -1
- package/dist/mcp/shared/mcp-memory-manager.js +1 -1
- package/dist/mcp/shared/mcp-memory-manager.js.map +1 -1
- package/dist/queen/queen-memory.js +2 -2
- package/dist/queen/queen-memory.js.map +1 -1
- package/dist/utils/migrate-claude-flow.d.ts +22 -0
- package/dist/utils/migrate-claude-flow.d.ts.map +1 -0
- package/dist/utils/migrate-claude-flow.js +120 -0
- package/dist/utils/migrate-claude-flow.js.map +1 -0
- package/dist/utils/snow-memory-manager.d.ts +78 -0
- package/dist/utils/snow-memory-manager.d.ts.map +1 -0
- package/dist/utils/snow-memory-manager.js +530 -0
- package/dist/utils/snow-memory-manager.js.map +1 -0
- package/dist/version.d.ts +4 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +26 -1
- package/dist/version.js.map +1 -1
- package/package.json +268 -3
- 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);
|