kynjalflow 3.1.0-alpha.44

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/README.md ADDED
@@ -0,0 +1,47 @@
1
+ # KynjalFlow
2
+
3
+ Personal AI agent orchestration platform. Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, MCP integration, and built-in UI/UX design intelligence.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ # Quick start
9
+ npx kynjalflow init --wizard
10
+
11
+ # Global install
12
+ npm install -g kynjalflow
13
+
14
+ # Add as MCP server
15
+ claude mcp add kynjalflow -- npx -y kynjalflow mcp start
16
+ ```
17
+
18
+ ## Usage
19
+
20
+ ```bash
21
+ kynjalflow init --wizard # Initialize project
22
+ kynjalflow agent spawn -t coder # Spawn an agent
23
+ kynjalflow swarm init # Start a swarm
24
+ kynjalflow memory search -q "..." # Search vector memory
25
+ kynjalflow doctor # System diagnostics
26
+ ```
27
+
28
+ ## UI/UX Design Intelligence
29
+
30
+ KynjalFlow includes the full UI UX Pro Max design system — BM25 search across 50+ styles,
31
+ 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types.
32
+
33
+ ```bash
34
+ # Generate a design system for your project
35
+ python3 src/ui-ux-pro-max/scripts/search.py "SaaS dashboard" --design-system -p "MyApp" --persist
36
+
37
+ # Search design patterns
38
+ python3 src/ui-ux-pro-max/scripts/search.py "fintech" --domain color
39
+ ```
40
+
41
+ ## Documentation
42
+
43
+ Full documentation: [github.com/KingJune28/claude-flow](https://github.com/KingJune28/claude-flow)
44
+
45
+ ## License
46
+
47
+ MIT
@@ -0,0 +1,50 @@
1
+ #!/usr/bin/env node
2
+ // KynjalFlow CLI - thin wrapper around @claude-flow/cli with KynjalFlow branding
3
+ import { fileURLToPath, pathToFileURL } from 'node:url';
4
+ import { dirname, resolve, join } from 'node:path';
5
+ import { existsSync } from 'node:fs';
6
+
7
+ const __dirname = dirname(fileURLToPath(import.meta.url));
8
+
9
+ // Walk up from kynjalflow/bin/ to find @claude-flow/cli in node_modules
10
+ function findCliPath() {
11
+ let dir = resolve(__dirname, '..');
12
+ for (let i = 0; i < 10; i++) {
13
+ const candidate = join(dir, 'node_modules', '@claude-flow', 'cli', 'bin', 'cli.js');
14
+ if (existsSync(candidate)) return dir;
15
+ const parent = dirname(dir);
16
+ if (parent === dir) break;
17
+ dir = parent;
18
+ }
19
+ return null;
20
+ }
21
+
22
+ // Convert path to file:// URL for cross-platform ESM import (Windows requires this)
23
+ function toImportURL(filePath) {
24
+ return pathToFileURL(filePath).href;
25
+ }
26
+
27
+ const pkgDir = findCliPath();
28
+ const cliBase = pkgDir
29
+ ? join(pkgDir, 'node_modules', '@claude-flow', 'cli')
30
+ : resolve(__dirname, '../../v3/@claude-flow/cli');
31
+
32
+ // MCP mode: delegate to cli.js directly (branding irrelevant for JSON-RPC)
33
+ const cliArgs = process.argv.slice(2);
34
+ const isExplicitMCP = cliArgs.length >= 1 && cliArgs[0] === 'mcp' && (cliArgs.length === 1 || cliArgs[1] === 'start');
35
+ const isMCPMode = !process.stdin.isTTY && (process.argv.length === 2 || isExplicitMCP);
36
+
37
+ if (isMCPMode) {
38
+ await import(toImportURL(join(cliBase, 'bin', 'cli.js')));
39
+ } else {
40
+ // CLI mode: use KynjalFlow branding
41
+ const { CLI } = await import(toImportURL(join(cliBase, 'dist', 'src', 'index.js')));
42
+ const cli = new CLI({
43
+ name: 'kynjalflow',
44
+ description: 'KynjalFlow - Personal AI Agent Orchestration Platform',
45
+ });
46
+ cli.run().catch((error) => {
47
+ console.error('Fatal error:', error.message);
48
+ process.exit(1);
49
+ });
50
+ }
package/package.json ADDED
@@ -0,0 +1,56 @@
1
+ {
2
+ "name": "kynjalflow",
3
+ "version": "3.1.0-alpha.44",
4
+ "description": "KynjalFlow - Personal AI agent orchestration platform. Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, and MCP integration",
5
+ "main": "bin/kynjalflow.js",
6
+ "type": "module",
7
+ "bin": {
8
+ "kynjalflow": "./bin/kynjalflow.js"
9
+ },
10
+ "homepage": "https://github.com/KingJune28/claude-flow#readme",
11
+ "bugs": {
12
+ "url": "https://github.com/KingJune28/claude-flow/issues"
13
+ },
14
+ "files": [
15
+ "bin/**",
16
+ "README.md",
17
+ "LICENSE"
18
+ ],
19
+ "dependencies": {
20
+ "@claude-flow/cli": ">=3.0.0-alpha.1"
21
+ },
22
+ "engines": {
23
+ "node": ">=20.0.0"
24
+ },
25
+ "repository": {
26
+ "type": "git",
27
+ "url": "https://github.com/KingJune28/claude-flow.git",
28
+ "directory": "kynjalflow"
29
+ },
30
+ "keywords": [
31
+ "kynjalflow",
32
+ "claude-flow",
33
+ "claude",
34
+ "claude-code",
35
+ "anthropic",
36
+ "ai",
37
+ "ai-agents",
38
+ "multi-agent",
39
+ "agent-orchestration",
40
+ "swarm-intelligence",
41
+ "swarm",
42
+ "mcp",
43
+ "model-context-protocol",
44
+ "cli",
45
+ "developer-tools",
46
+ "self-learning"
47
+ ],
48
+ "author": {
49
+ "name": "KingJune28"
50
+ },
51
+ "license": "MIT",
52
+ "publishConfig": {
53
+ "access": "public",
54
+ "tag": "latest"
55
+ }
56
+ }