kynjal-cli 2.0.6 β 3.1.0
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/agents/analysis/analyze-code-quality.md +179 -0
- package/.claude/agents/analysis/code-analyzer.md +210 -0
- package/.claude/agents/analysis/code-review/analyze-code-quality.md +179 -0
- package/.claude/agents/architecture/arch-system-design.md +157 -0
- package/.claude/agents/architecture/system-design/arch-system-design.md +155 -0
- package/.claude/agents/browser/browser-agent.yaml +182 -0
- package/.claude/agents/consensus/byzantine-coordinator.md +63 -0
- package/.claude/agents/consensus/crdt-synchronizer.md +997 -0
- package/.claude/agents/consensus/gossip-coordinator.md +63 -0
- package/.claude/agents/consensus/performance-benchmarker.md +851 -0
- package/.claude/agents/consensus/quorum-manager.md +823 -0
- package/.claude/agents/consensus/raft-manager.md +63 -0
- package/.claude/agents/consensus/security-manager.md +622 -0
- package/.claude/agents/core/coder.md +453 -0
- package/.claude/agents/core/planner.md +375 -0
- package/.claude/agents/core/researcher.md +369 -0
- package/.claude/agents/core/reviewer.md +520 -0
- package/.claude/agents/core/tester.md +512 -0
- package/.claude/agents/custom/test-long-runner.md +44 -0
- package/.claude/agents/data/data-ml-model.md +445 -0
- package/.claude/agents/data/ml/data-ml-model.md +193 -0
- package/.claude/agents/development/backend/dev-backend-api.md +142 -0
- package/.claude/agents/development/dev-backend-api.md +345 -0
- package/.claude/agents/devops/ci-cd/ops-cicd-github.md +164 -0
- package/.claude/agents/devops/ops-cicd-github.md +165 -0
- package/.claude/agents/documentation/api-docs/docs-api-openapi.md +174 -0
- package/.claude/agents/documentation/docs-api-openapi.md +355 -0
- package/.claude/agents/flow-nexus/app-store.md +88 -0
- package/.claude/agents/flow-nexus/authentication.md +69 -0
- package/.claude/agents/flow-nexus/challenges.md +81 -0
- package/.claude/agents/flow-nexus/neural-network.md +88 -0
- package/.claude/agents/flow-nexus/payments.md +83 -0
- package/.claude/agents/flow-nexus/sandbox.md +76 -0
- package/.claude/agents/flow-nexus/swarm.md +76 -0
- package/.claude/agents/flow-nexus/user-tools.md +96 -0
- package/.claude/agents/flow-nexus/workflow.md +84 -0
- package/.claude/agents/github/code-review-swarm.md +377 -0
- package/.claude/agents/github/github-modes.md +173 -0
- package/.claude/agents/github/issue-tracker.md +576 -0
- package/.claude/agents/github/multi-repo-swarm.md +553 -0
- package/.claude/agents/github/pr-manager.md +438 -0
- package/.claude/agents/github/project-board-sync.md +509 -0
- package/.claude/agents/github/release-manager.md +605 -0
- package/.claude/agents/github/release-swarm.md +583 -0
- package/.claude/agents/github/repo-architect.md +398 -0
- package/.claude/agents/github/swarm-issue.md +573 -0
- package/.claude/agents/github/swarm-pr.md +428 -0
- package/.claude/agents/github/sync-coordinator.md +452 -0
- package/.claude/agents/github/workflow-automation.md +903 -0
- package/.claude/agents/goal/agent.md +816 -0
- package/.claude/agents/goal/goal-planner.md +73 -0
- package/.claude/agents/optimization/benchmark-suite.md +665 -0
- package/.claude/agents/optimization/load-balancer.md +431 -0
- package/.claude/agents/optimization/performance-monitor.md +672 -0
- package/.claude/agents/optimization/resource-allocator.md +674 -0
- package/.claude/agents/optimization/topology-optimizer.md +808 -0
- package/.claude/agents/payments/agentic-payments.md +126 -0
- package/.claude/agents/sona/sona-learning-optimizer.md +74 -0
- package/.claude/agents/sparc/architecture.md +699 -0
- package/.claude/agents/sparc/pseudocode.md +520 -0
- package/.claude/agents/sparc/refinement.md +802 -0
- package/.claude/agents/sparc/specification.md +478 -0
- package/.claude/agents/specialized/mobile/spec-mobile-react-native.md +225 -0
- package/.claude/agents/specialized/spec-mobile-react-native.md +227 -0
- package/.claude/agents/sublinear/consensus-coordinator.md +338 -0
- package/.claude/agents/sublinear/matrix-optimizer.md +185 -0
- package/.claude/agents/sublinear/pagerank-analyzer.md +299 -0
- package/.claude/agents/sublinear/performance-optimizer.md +368 -0
- package/.claude/agents/sublinear/trading-predictor.md +246 -0
- package/.claude/agents/swarm/adaptive-coordinator.md +1127 -0
- package/.claude/agents/swarm/hierarchical-coordinator.md +710 -0
- package/.claude/agents/swarm/mesh-coordinator.md +963 -0
- package/.claude/agents/templates/automation-smart-agent.md +205 -0
- package/.claude/agents/templates/base-template-generator.md +268 -0
- package/.claude/agents/templates/coordinator-swarm-init.md +90 -0
- package/.claude/agents/templates/github-pr-manager.md +177 -0
- package/.claude/agents/templates/implementer-sparc-coder.md +259 -0
- package/.claude/agents/templates/memory-coordinator.md +187 -0
- package/.claude/agents/templates/orchestrator-task.md +139 -0
- package/.claude/agents/templates/performance-analyzer.md +199 -0
- package/.claude/agents/templates/sparc-coordinator.md +514 -0
- package/.claude/agents/testing/production-validator.md +395 -0
- package/.claude/agents/testing/tdd-london-swarm.md +244 -0
- package/.claude/agents/tmp.json +0 -0
- package/.claude/agents/v3/adr-architect.md +184 -0
- package/.claude/agents/v3/aidefence-guardian.md +282 -0
- package/.claude/agents/v3/claims-authorizer.md +208 -0
- package/.claude/agents/v3/collective-intelligence-coordinator.md +993 -0
- package/.claude/agents/v3/ddd-domain-expert.md +220 -0
- package/.claude/agents/v3/injection-analyst.md +236 -0
- package/.claude/agents/v3/memory-specialist.md +995 -0
- package/.claude/agents/v3/performance-engineer.md +1233 -0
- package/.claude/agents/v3/pii-detector.md +151 -0
- package/.claude/agents/v3/reasoningbank-learner.md +213 -0
- package/.claude/agents/v3/security-architect-aidefence.md +410 -0
- package/.claude/agents/v3/security-architect.md +867 -0
- package/.claude/agents/v3/security-auditor.md +771 -0
- package/.claude/agents/v3/sparc-orchestrator.md +182 -0
- package/.claude/agents/v3/swarm-memory-manager.md +157 -0
- package/.claude/agents/v3/v3-integration-architect.md +205 -0
- package/.claude/commands/agents/README.md +50 -0
- package/.claude/commands/agents/agent-capabilities.md +140 -0
- package/.claude/commands/agents/agent-coordination.md +28 -0
- package/.claude/commands/agents/agent-spawning.md +28 -0
- package/.claude/commands/agents/agent-types.md +216 -0
- package/.claude/commands/agents/health.md +139 -0
- package/.claude/commands/agents/list.md +100 -0
- package/.claude/commands/agents/logs.md +130 -0
- package/.claude/commands/agents/metrics.md +122 -0
- package/.claude/commands/agents/pool.md +127 -0
- package/.claude/commands/agents/spawn.md +140 -0
- package/.claude/commands/agents/status.md +115 -0
- package/.claude/commands/agents/stop.md +102 -0
- package/.claude/commands/analysis/COMMAND_COMPLIANCE_REPORT.md +54 -0
- package/.claude/commands/analysis/README.md +9 -0
- package/.claude/commands/analysis/bottleneck-detect.md +162 -0
- package/.claude/commands/analysis/performance-bottlenecks.md +59 -0
- package/.claude/commands/analysis/performance-report.md +25 -0
- package/.claude/commands/analysis/token-efficiency.md +45 -0
- package/.claude/commands/analysis/token-usage.md +25 -0
- package/.claude/commands/automation/README.md +9 -0
- package/.claude/commands/automation/auto-agent.md +122 -0
- package/.claude/commands/automation/self-healing.md +106 -0
- package/.claude/commands/automation/session-memory.md +90 -0
- package/.claude/commands/automation/smart-agents.md +73 -0
- package/.claude/commands/automation/smart-spawn.md +25 -0
- package/.claude/commands/automation/workflow-select.md +25 -0
- package/.claude/commands/claude-flow-help.md +103 -0
- package/.claude/commands/claude-flow-memory.md +107 -0
- package/.claude/commands/claude-flow-swarm.md +205 -0
- package/.claude/commands/coordination/README.md +9 -0
- package/.claude/commands/coordination/agent-spawn.md +25 -0
- package/.claude/commands/coordination/init.md +44 -0
- package/.claude/commands/coordination/orchestrate.md +43 -0
- package/.claude/commands/coordination/spawn.md +45 -0
- package/.claude/commands/coordination/swarm-init.md +85 -0
- package/.claude/commands/coordination/task-orchestrate.md +25 -0
- package/.claude/commands/flow-nexus/app-store.md +124 -0
- package/.claude/commands/flow-nexus/challenges.md +120 -0
- package/.claude/commands/flow-nexus/login-registration.md +65 -0
- package/.claude/commands/flow-nexus/neural-network.md +134 -0
- package/.claude/commands/flow-nexus/payments.md +116 -0
- package/.claude/commands/flow-nexus/sandbox.md +83 -0
- package/.claude/commands/flow-nexus/swarm.md +87 -0
- package/.claude/commands/flow-nexus/user-tools.md +152 -0
- package/.claude/commands/flow-nexus/workflow.md +115 -0
- package/.claude/commands/github/README.md +11 -0
- package/.claude/commands/github/code-review-swarm.md +514 -0
- package/.claude/commands/github/code-review.md +25 -0
- package/.claude/commands/github/github-modes.md +147 -0
- package/.claude/commands/github/github-swarm.md +121 -0
- package/.claude/commands/github/issue-tracker.md +292 -0
- package/.claude/commands/github/issue-triage.md +25 -0
- package/.claude/commands/github/multi-repo-swarm.md +519 -0
- package/.claude/commands/github/pr-enhance.md +26 -0
- package/.claude/commands/github/pr-manager.md +170 -0
- package/.claude/commands/github/project-board-sync.md +471 -0
- package/.claude/commands/github/release-manager.md +338 -0
- package/.claude/commands/github/release-swarm.md +544 -0
- package/.claude/commands/github/repo-analyze.md +25 -0
- package/.claude/commands/github/repo-architect.md +367 -0
- package/.claude/commands/github/swarm-issue.md +482 -0
- package/.claude/commands/github/swarm-pr.md +285 -0
- package/.claude/commands/github/sync-coordinator.md +301 -0
- package/.claude/commands/github/workflow-automation.md +442 -0
- package/.claude/commands/hive-mind/README.md +17 -0
- package/.claude/commands/hive-mind/hive-mind-consensus.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-init.md +18 -0
- package/.claude/commands/hive-mind/hive-mind-memory.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-metrics.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-resume.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-sessions.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-spawn.md +21 -0
- package/.claude/commands/hive-mind/hive-mind-status.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-stop.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-wizard.md +8 -0
- package/.claude/commands/hive-mind/hive-mind.md +27 -0
- package/.claude/commands/hooks/README.md +11 -0
- package/.claude/commands/hooks/overview.md +58 -0
- package/.claude/commands/hooks/post-edit.md +117 -0
- package/.claude/commands/hooks/post-task.md +112 -0
- package/.claude/commands/hooks/pre-edit.md +113 -0
- package/.claude/commands/hooks/pre-task.md +111 -0
- package/.claude/commands/hooks/session-end.md +118 -0
- package/.claude/commands/hooks/setup.md +103 -0
- package/.claude/commands/memory/README.md +9 -0
- package/.claude/commands/memory/memory-persist.md +25 -0
- package/.claude/commands/memory/memory-search.md +25 -0
- package/.claude/commands/memory/memory-usage.md +25 -0
- package/.claude/commands/memory/neural.md +47 -0
- package/.claude/commands/monitoring/README.md +9 -0
- package/.claude/commands/monitoring/agent-metrics.md +25 -0
- package/.claude/commands/monitoring/agents.md +44 -0
- package/.claude/commands/monitoring/real-time-view.md +25 -0
- package/.claude/commands/monitoring/status.md +46 -0
- package/.claude/commands/monitoring/swarm-monitor.md +25 -0
- package/.claude/commands/optimization/README.md +9 -0
- package/.claude/commands/optimization/auto-topology.md +62 -0
- package/.claude/commands/optimization/cache-manage.md +25 -0
- package/.claude/commands/optimization/parallel-execute.md +25 -0
- package/.claude/commands/optimization/parallel-execution.md +50 -0
- package/.claude/commands/optimization/topology-optimize.md +25 -0
- package/.claude/commands/pair/README.md +261 -0
- package/.claude/commands/pair/commands.md +546 -0
- package/.claude/commands/pair/config.md +510 -0
- package/.claude/commands/pair/examples.md +512 -0
- package/.claude/commands/pair/modes.md +348 -0
- package/.claude/commands/pair/session.md +407 -0
- package/.claude/commands/pair/start.md +209 -0
- package/.claude/commands/sparc/analyzer.md +52 -0
- package/.claude/commands/sparc/architect.md +53 -0
- package/.claude/commands/sparc/ask.md +97 -0
- package/.claude/commands/sparc/batch-executor.md +54 -0
- package/.claude/commands/sparc/code.md +89 -0
- package/.claude/commands/sparc/coder.md +54 -0
- package/.claude/commands/sparc/debug.md +83 -0
- package/.claude/commands/sparc/debugger.md +54 -0
- package/.claude/commands/sparc/designer.md +53 -0
- package/.claude/commands/sparc/devops.md +109 -0
- package/.claude/commands/sparc/docs-writer.md +80 -0
- package/.claude/commands/sparc/documenter.md +54 -0
- package/.claude/commands/sparc/innovator.md +54 -0
- package/.claude/commands/sparc/integration.md +83 -0
- package/.claude/commands/sparc/mcp.md +117 -0
- package/.claude/commands/sparc/memory-manager.md +54 -0
- package/.claude/commands/sparc/optimizer.md +54 -0
- package/.claude/commands/sparc/orchestrator.md +132 -0
- package/.claude/commands/sparc/post-deployment-monitoring-mode.md +83 -0
- package/.claude/commands/sparc/refinement-optimization-mode.md +83 -0
- package/.claude/commands/sparc/researcher.md +54 -0
- package/.claude/commands/sparc/reviewer.md +54 -0
- package/.claude/commands/sparc/security-review.md +80 -0
- package/.claude/commands/sparc/sparc-modes.md +174 -0
- package/.claude/commands/sparc/sparc.md +111 -0
- package/.claude/commands/sparc/spec-pseudocode.md +80 -0
- package/.claude/commands/sparc/supabase-admin.md +348 -0
- package/.claude/commands/sparc/swarm-coordinator.md +54 -0
- package/.claude/commands/sparc/tdd.md +54 -0
- package/.claude/commands/sparc/tester.md +54 -0
- package/.claude/commands/sparc/tutorial.md +79 -0
- package/.claude/commands/sparc/workflow-manager.md +54 -0
- package/.claude/commands/sparc.md +166 -0
- package/.claude/commands/stream-chain/pipeline.md +121 -0
- package/.claude/commands/stream-chain/run.md +70 -0
- package/.claude/commands/swarm/README.md +15 -0
- package/.claude/commands/swarm/analysis.md +95 -0
- package/.claude/commands/swarm/development.md +96 -0
- package/.claude/commands/swarm/examples.md +168 -0
- package/.claude/commands/swarm/maintenance.md +102 -0
- package/.claude/commands/swarm/optimization.md +117 -0
- package/.claude/commands/swarm/research.md +136 -0
- package/.claude/commands/swarm/swarm-analysis.md +8 -0
- package/.claude/commands/swarm/swarm-background.md +8 -0
- package/.claude/commands/swarm/swarm-init.md +19 -0
- package/.claude/commands/swarm/swarm-modes.md +8 -0
- package/.claude/commands/swarm/swarm-monitor.md +8 -0
- package/.claude/commands/swarm/swarm-spawn.md +19 -0
- package/.claude/commands/swarm/swarm-status.md +8 -0
- package/.claude/commands/swarm/swarm-strategies.md +8 -0
- package/.claude/commands/swarm/swarm.md +87 -0
- package/.claude/commands/swarm/testing.md +131 -0
- package/.claude/commands/training/README.md +9 -0
- package/.claude/commands/training/model-update.md +25 -0
- package/.claude/commands/training/neural-patterns.md +108 -0
- package/.claude/commands/training/neural-train.md +75 -0
- package/.claude/commands/training/pattern-learn.md +25 -0
- package/.claude/commands/training/specialization.md +63 -0
- package/.claude/commands/truth/start.md +143 -0
- package/.claude/commands/verify/check.md +50 -0
- package/.claude/commands/verify/start.md +128 -0
- package/.claude/commands/workflows/README.md +9 -0
- package/.claude/commands/workflows/development.md +78 -0
- package/.claude/commands/workflows/research.md +63 -0
- package/.claude/commands/workflows/workflow-create.md +25 -0
- package/.claude/commands/workflows/workflow-execute.md +25 -0
- package/.claude/commands/workflows/workflow-export.md +25 -0
- package/.claude/helpers/README.md +97 -0
- package/.claude/helpers/adr-compliance.sh +186 -0
- package/.claude/helpers/auto-commit.sh +178 -0
- package/.claude/helpers/auto-memory-hook.mjs +350 -0
- package/.claude/helpers/checkpoint-manager.sh +251 -0
- package/.claude/helpers/daemon-manager.sh +252 -0
- package/.claude/helpers/ddd-tracker.sh +144 -0
- package/.claude/helpers/github-safe.js +106 -0
- package/.claude/helpers/github-setup.sh +28 -0
- package/.claude/helpers/guidance-hook.sh +13 -0
- package/.claude/helpers/guidance-hooks.sh +102 -0
- package/.claude/helpers/health-monitor.sh +108 -0
- package/.claude/helpers/hook-handler.cjs +232 -0
- package/.claude/helpers/intelligence.cjs +916 -0
- package/.claude/helpers/learning-hooks.sh +329 -0
- package/.claude/helpers/learning-optimizer.sh +127 -0
- package/.claude/helpers/learning-service.mjs +1144 -0
- package/.claude/helpers/memory.js +83 -0
- package/.claude/helpers/metrics-db.mjs +488 -0
- package/.claude/helpers/pattern-consolidator.sh +86 -0
- package/.claude/helpers/perf-worker.sh +160 -0
- package/.claude/helpers/post-commit +16 -0
- package/.claude/helpers/pre-commit +26 -0
- package/.claude/helpers/quick-start.sh +19 -0
- package/.claude/helpers/router.js +66 -0
- package/.claude/helpers/security-scanner.sh +127 -0
- package/.claude/helpers/session.js +135 -0
- package/.claude/helpers/setup-mcp.sh +18 -0
- package/.claude/helpers/standard-checkpoint-hooks.sh +189 -0
- package/.claude/helpers/statusline-hook.sh +21 -0
- package/.claude/helpers/statusline.cjs +577 -0
- package/.claude/helpers/statusline.js +316 -0
- package/.claude/helpers/swarm-comms.sh +353 -0
- package/.claude/helpers/swarm-hooks.sh +761 -0
- package/.claude/helpers/swarm-monitor.sh +211 -0
- package/.claude/helpers/sync-v3-metrics.sh +245 -0
- package/.claude/helpers/update-v3-progress.sh +166 -0
- package/.claude/helpers/v3-quick-status.sh +58 -0
- package/.claude/helpers/v3.sh +111 -0
- package/.claude/helpers/validate-v3-config.sh +216 -0
- package/.claude/helpers/worker-manager.sh +170 -0
- package/.claude/settings.json +182 -0
- package/.claude/skills/agentdb-advanced/SKILL.md +550 -0
- package/.claude/skills/agentdb-learning/SKILL.md +545 -0
- package/.claude/skills/agentdb-memory-patterns/SKILL.md +339 -0
- package/.claude/skills/agentdb-optimization/SKILL.md +509 -0
- package/.claude/skills/agentdb-vector-search/SKILL.md +339 -0
- package/.claude/skills/agentic-jujutsu/SKILL.md +645 -0
- package/.claude/skills/aidefence-scan.md +151 -0
- package/.claude/skills/aidefence.yaml +297 -0
- package/.claude/skills/browser/SKILL.md +204 -0
- package/.claude/skills/flow-nexus-neural/SKILL.md +738 -0
- package/.claude/skills/flow-nexus-platform/SKILL.md +1157 -0
- package/.claude/skills/flow-nexus-swarm/SKILL.md +610 -0
- package/.claude/skills/github-code-review/SKILL.md +1140 -0
- package/.claude/skills/github-multi-repo/SKILL.md +874 -0
- package/.claude/skills/github-project-management/SKILL.md +1277 -0
- package/.claude/skills/github-release-management/SKILL.md +1081 -0
- package/.claude/skills/github-workflow-automation/SKILL.md +1065 -0
- package/.claude/skills/hive-mind-advanced/SKILL.md +712 -0
- package/.claude/skills/hooks-automation/SKILL.md +1201 -0
- package/.claude/skills/pair-programming/SKILL.md +1202 -0
- package/.claude/skills/performance-analysis/SKILL.md +563 -0
- package/.claude/skills/reasoningbank-agentdb/SKILL.md +446 -0
- package/.claude/skills/reasoningbank-intelligence/SKILL.md +201 -0
- package/.claude/skills/secure-review.md +181 -0
- package/.claude/skills/skill-builder/SKILL.md +910 -0
- package/.claude/skills/sparc-methodology/SKILL.md +1115 -0
- package/.claude/skills/stream-chain/SKILL.md +563 -0
- package/.claude/skills/swarm-advanced/SKILL.md +973 -0
- package/.claude/skills/swarm-orchestration/SKILL.md +179 -0
- package/.claude/skills/v3-cli-modernization/SKILL.md +872 -0
- package/.claude/skills/v3-core-implementation/SKILL.md +797 -0
- package/.claude/skills/v3-ddd-architecture/SKILL.md +442 -0
- package/.claude/skills/v3-integration-deep/SKILL.md +241 -0
- package/.claude/skills/v3-mcp-optimization/SKILL.md +777 -0
- package/.claude/skills/v3-memory-unification/SKILL.md +174 -0
- package/.claude/skills/v3-performance-optimization/SKILL.md +390 -0
- package/.claude/skills/v3-security-overhaul/SKILL.md +82 -0
- package/.claude/skills/v3-swarm-coordination/SKILL.md +340 -0
- package/.claude/skills/verification-quality/SKILL.md +649 -0
- package/.claude/skills/worker-benchmarks/skill.md +135 -0
- package/.claude/skills/worker-integration/skill.md +154 -0
- package/README.md +7280 -100
- package/bin/cli.js +156 -0
- package/bin/mcp-server.js +189 -0
- package/dist/src/benchmarks/pretrain/index.d.ts +58 -0
- package/dist/src/benchmarks/pretrain/index.d.ts.map +1 -0
- package/dist/src/benchmarks/pretrain/index.js +404 -0
- package/dist/src/benchmarks/pretrain/index.js.map +1 -0
- package/dist/src/commands/agent.d.ts +8 -0
- package/dist/src/commands/agent.d.ts.map +1 -0
- package/dist/src/commands/agent.js +819 -0
- package/dist/src/commands/agent.js.map +1 -0
- package/dist/src/commands/analyze.d.ts +19 -0
- package/dist/src/commands/analyze.d.ts.map +1 -0
- package/dist/src/commands/analyze.js +1823 -0
- package/dist/src/commands/analyze.js.map +1 -0
- package/dist/src/commands/benchmark.d.ts +10 -0
- package/dist/src/commands/benchmark.d.ts.map +1 -0
- package/dist/src/commands/benchmark.js +459 -0
- package/dist/src/commands/benchmark.js.map +1 -0
- package/dist/src/commands/claims.d.ts +10 -0
- package/dist/src/commands/claims.d.ts.map +1 -0
- package/dist/src/commands/claims.js +373 -0
- package/dist/src/commands/claims.js.map +1 -0
- package/dist/src/commands/completions.d.ts +10 -0
- package/dist/src/commands/completions.d.ts.map +1 -0
- package/dist/src/commands/completions.js +539 -0
- package/dist/src/commands/completions.js.map +1 -0
- package/dist/src/commands/config.d.ts +8 -0
- package/dist/src/commands/config.d.ts.map +1 -0
- package/dist/src/commands/config.js +406 -0
- package/dist/src/commands/config.js.map +1 -0
- package/dist/src/commands/daemon.d.ts +8 -0
- package/dist/src/commands/daemon.d.ts.map +1 -0
- package/dist/src/commands/daemon.js +593 -0
- package/dist/src/commands/daemon.js.map +1 -0
- package/dist/src/commands/deployment.d.ts +10 -0
- package/dist/src/commands/deployment.d.ts.map +1 -0
- package/dist/src/commands/deployment.js +289 -0
- package/dist/src/commands/deployment.js.map +1 -0
- package/dist/src/commands/doctor.d.ts +10 -0
- package/dist/src/commands/doctor.d.ts.map +1 -0
- package/dist/src/commands/doctor.js +571 -0
- package/dist/src/commands/doctor.js.map +1 -0
- package/dist/src/commands/embeddings.d.ts +18 -0
- package/dist/src/commands/embeddings.d.ts.map +1 -0
- package/dist/src/commands/embeddings.js +1576 -0
- package/dist/src/commands/embeddings.js.map +1 -0
- package/dist/src/commands/guidance.d.ts +8 -0
- package/dist/src/commands/guidance.d.ts.map +1 -0
- package/dist/src/commands/guidance.js +560 -0
- package/dist/src/commands/guidance.js.map +1 -0
- package/dist/src/commands/hive-mind.d.ts +11 -0
- package/dist/src/commands/hive-mind.d.ts.map +1 -0
- package/dist/src/commands/hive-mind.js +1230 -0
- package/dist/src/commands/hive-mind.js.map +1 -0
- package/dist/src/commands/hooks.d.ts +8 -0
- package/dist/src/commands/hooks.d.ts.map +1 -0
- package/dist/src/commands/hooks.js +3741 -0
- package/dist/src/commands/hooks.js.map +1 -0
- package/dist/src/commands/index.d.ts +108 -0
- package/dist/src/commands/index.d.ts.map +1 -0
- package/dist/src/commands/index.js +359 -0
- package/dist/src/commands/index.js.map +1 -0
- package/dist/src/commands/init.d.ts +8 -0
- package/dist/src/commands/init.d.ts.map +1 -0
- package/dist/src/commands/init.js +965 -0
- package/dist/src/commands/init.js.map +1 -0
- package/dist/src/commands/issues.d.ts +21 -0
- package/dist/src/commands/issues.d.ts.map +1 -0
- package/dist/src/commands/issues.js +567 -0
- package/dist/src/commands/issues.js.map +1 -0
- package/dist/src/commands/mcp.d.ts +11 -0
- package/dist/src/commands/mcp.d.ts.map +1 -0
- package/dist/src/commands/mcp.js +700 -0
- package/dist/src/commands/mcp.js.map +1 -0
- package/dist/src/commands/memory.d.ts +8 -0
- package/dist/src/commands/memory.d.ts.map +1 -0
- package/dist/src/commands/memory.js +1268 -0
- package/dist/src/commands/memory.js.map +1 -0
- package/dist/src/commands/migrate.d.ts +8 -0
- package/dist/src/commands/migrate.d.ts.map +1 -0
- package/dist/src/commands/migrate.js +410 -0
- package/dist/src/commands/migrate.js.map +1 -0
- package/dist/src/commands/neural.d.ts +10 -0
- package/dist/src/commands/neural.d.ts.map +1 -0
- package/dist/src/commands/neural.js +1448 -0
- package/dist/src/commands/neural.js.map +1 -0
- package/dist/src/commands/performance.d.ts +10 -0
- package/dist/src/commands/performance.d.ts.map +1 -0
- package/dist/src/commands/performance.js +579 -0
- package/dist/src/commands/performance.js.map +1 -0
- package/dist/src/commands/plugins.d.ts +11 -0
- package/dist/src/commands/plugins.d.ts.map +1 -0
- package/dist/src/commands/plugins.js +820 -0
- package/dist/src/commands/plugins.js.map +1 -0
- package/dist/src/commands/process.d.ts +10 -0
- package/dist/src/commands/process.d.ts.map +1 -0
- package/dist/src/commands/process.js +641 -0
- package/dist/src/commands/process.js.map +1 -0
- package/dist/src/commands/progress.d.ts +11 -0
- package/dist/src/commands/progress.d.ts.map +1 -0
- package/dist/src/commands/progress.js +259 -0
- package/dist/src/commands/progress.js.map +1 -0
- package/dist/src/commands/providers.d.ts +10 -0
- package/dist/src/commands/providers.d.ts.map +1 -0
- package/dist/src/commands/providers.js +232 -0
- package/dist/src/commands/providers.js.map +1 -0
- package/dist/src/commands/route.d.ts +16 -0
- package/dist/src/commands/route.d.ts.map +1 -0
- package/dist/src/commands/route.js +813 -0
- package/dist/src/commands/route.js.map +1 -0
- package/dist/src/commands/ruvector/backup.d.ts +11 -0
- package/dist/src/commands/ruvector/backup.d.ts.map +1 -0
- package/dist/src/commands/ruvector/backup.js +746 -0
- package/dist/src/commands/ruvector/backup.js.map +1 -0
- package/dist/src/commands/ruvector/benchmark.d.ts +11 -0
- package/dist/src/commands/ruvector/benchmark.d.ts.map +1 -0
- package/dist/src/commands/ruvector/benchmark.js +480 -0
- package/dist/src/commands/ruvector/benchmark.js.map +1 -0
- package/dist/src/commands/ruvector/import.d.ts +18 -0
- package/dist/src/commands/ruvector/import.d.ts.map +1 -0
- package/dist/src/commands/ruvector/import.js +349 -0
- package/dist/src/commands/ruvector/import.js.map +1 -0
- package/dist/src/commands/ruvector/index.d.ts +29 -0
- package/dist/src/commands/ruvector/index.d.ts.map +1 -0
- package/dist/src/commands/ruvector/index.js +129 -0
- package/dist/src/commands/ruvector/index.js.map +1 -0
- package/dist/src/commands/ruvector/init.d.ts +11 -0
- package/dist/src/commands/ruvector/init.d.ts.map +1 -0
- package/dist/src/commands/ruvector/init.js +431 -0
- package/dist/src/commands/ruvector/init.js.map +1 -0
- package/dist/src/commands/ruvector/migrate.d.ts +11 -0
- package/dist/src/commands/ruvector/migrate.d.ts.map +1 -0
- package/dist/src/commands/ruvector/migrate.js +481 -0
- package/dist/src/commands/ruvector/migrate.js.map +1 -0
- package/dist/src/commands/ruvector/optimize.d.ts +11 -0
- package/dist/src/commands/ruvector/optimize.d.ts.map +1 -0
- package/dist/src/commands/ruvector/optimize.js +503 -0
- package/dist/src/commands/ruvector/optimize.js.map +1 -0
- package/dist/src/commands/ruvector/setup.d.ts +18 -0
- package/dist/src/commands/ruvector/setup.d.ts.map +1 -0
- package/dist/src/commands/ruvector/setup.js +765 -0
- package/dist/src/commands/ruvector/setup.js.map +1 -0
- package/dist/src/commands/ruvector/status.d.ts +11 -0
- package/dist/src/commands/ruvector/status.d.ts.map +1 -0
- package/dist/src/commands/ruvector/status.js +456 -0
- package/dist/src/commands/ruvector/status.js.map +1 -0
- package/dist/src/commands/security.d.ts +10 -0
- package/dist/src/commands/security.d.ts.map +1 -0
- package/dist/src/commands/security.js +575 -0
- package/dist/src/commands/security.js.map +1 -0
- package/dist/src/commands/session.d.ts +8 -0
- package/dist/src/commands/session.d.ts.map +1 -0
- package/dist/src/commands/session.js +750 -0
- package/dist/src/commands/session.js.map +1 -0
- package/dist/src/commands/start.d.ts +8 -0
- package/dist/src/commands/start.d.ts.map +1 -0
- package/dist/src/commands/start.js +418 -0
- package/dist/src/commands/start.js.map +1 -0
- package/dist/src/commands/status.d.ts +8 -0
- package/dist/src/commands/status.d.ts.map +1 -0
- package/dist/src/commands/status.js +584 -0
- package/dist/src/commands/status.js.map +1 -0
- package/dist/src/commands/swarm.d.ts +8 -0
- package/dist/src/commands/swarm.d.ts.map +1 -0
- package/dist/src/commands/swarm.js +748 -0
- package/dist/src/commands/swarm.js.map +1 -0
- package/dist/src/commands/task.d.ts +8 -0
- package/dist/src/commands/task.d.ts.map +1 -0
- package/dist/src/commands/task.js +671 -0
- package/dist/src/commands/task.js.map +1 -0
- package/dist/src/commands/transfer-store.d.ts +13 -0
- package/dist/src/commands/transfer-store.d.ts.map +1 -0
- package/dist/src/commands/transfer-store.js +428 -0
- package/dist/src/commands/transfer-store.js.map +1 -0
- package/dist/src/commands/update.d.ts +8 -0
- package/dist/src/commands/update.d.ts.map +1 -0
- package/dist/src/commands/update.js +276 -0
- package/dist/src/commands/update.js.map +1 -0
- package/dist/src/commands/workflow.d.ts +8 -0
- package/dist/src/commands/workflow.d.ts.map +1 -0
- package/dist/src/commands/workflow.js +617 -0
- package/dist/src/commands/workflow.js.map +1 -0
- package/dist/src/config-adapter.d.ts +15 -0
- package/dist/src/config-adapter.d.ts.map +1 -0
- package/dist/src/config-adapter.js +186 -0
- package/dist/src/config-adapter.js.map +1 -0
- package/dist/src/index.d.ts +76 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +470 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/infrastructure/in-memory-repositories.d.ts +68 -0
- package/dist/src/infrastructure/in-memory-repositories.d.ts.map +1 -0
- package/dist/src/infrastructure/in-memory-repositories.js +264 -0
- package/dist/src/infrastructure/in-memory-repositories.js.map +1 -0
- package/dist/src/init/claudemd-generator.d.ts +25 -0
- package/dist/src/init/claudemd-generator.d.ts.map +1 -0
- package/dist/src/init/claudemd-generator.js +486 -0
- package/dist/src/init/claudemd-generator.js.map +1 -0
- package/dist/src/init/executor.d.ts +41 -0
- package/dist/src/init/executor.d.ts.map +1 -0
- package/dist/src/init/executor.js +1760 -0
- package/dist/src/init/executor.js.map +1 -0
- package/dist/src/init/helpers-generator.d.ts +60 -0
- package/dist/src/init/helpers-generator.d.ts.map +1 -0
- package/dist/src/init/helpers-generator.js +1111 -0
- package/dist/src/init/helpers-generator.js.map +1 -0
- package/dist/src/init/index.d.ts +13 -0
- package/dist/src/init/index.d.ts.map +1 -0
- package/dist/src/init/index.js +15 -0
- package/dist/src/init/index.js.map +1 -0
- package/dist/src/init/mcp-generator.d.ts +27 -0
- package/dist/src/init/mcp-generator.d.ts.map +1 -0
- package/dist/src/init/mcp-generator.js +100 -0
- package/dist/src/init/mcp-generator.js.map +1 -0
- package/dist/src/init/settings-generator.d.ts +14 -0
- package/dist/src/init/settings-generator.d.ts.map +1 -0
- package/dist/src/init/settings-generator.js +337 -0
- package/dist/src/init/settings-generator.js.map +1 -0
- package/dist/src/init/statusline-generator.d.ts +20 -0
- package/dist/src/init/statusline-generator.d.ts.map +1 -0
- package/dist/src/init/statusline-generator.js +1311 -0
- package/dist/src/init/statusline-generator.js.map +1 -0
- package/dist/src/init/types.d.ts +289 -0
- package/dist/src/init/types.d.ts.map +1 -0
- package/dist/src/init/types.js +261 -0
- package/dist/src/init/types.js.map +1 -0
- package/dist/src/mcp-client.d.ts +92 -0
- package/dist/src/mcp-client.d.ts.map +1 -0
- package/dist/src/mcp-client.js +233 -0
- package/dist/src/mcp-client.js.map +1 -0
- package/dist/src/mcp-server.d.ts +161 -0
- package/dist/src/mcp-server.d.ts.map +1 -0
- package/dist/src/mcp-server.js +601 -0
- package/dist/src/mcp-server.js.map +1 -0
- package/dist/src/mcp-tools/agent-tools.d.ts +9 -0
- package/dist/src/mcp-tools/agent-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/agent-tools.js +549 -0
- package/dist/src/mcp-tools/agent-tools.js.map +1 -0
- package/dist/src/mcp-tools/analyze-tools.d.ts +38 -0
- package/dist/src/mcp-tools/analyze-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/analyze-tools.js +317 -0
- package/dist/src/mcp-tools/analyze-tools.js.map +1 -0
- package/dist/src/mcp-tools/auto-install.d.ts +83 -0
- package/dist/src/mcp-tools/auto-install.d.ts.map +1 -0
- package/dist/src/mcp-tools/auto-install.js +131 -0
- package/dist/src/mcp-tools/auto-install.js.map +1 -0
- package/dist/src/mcp-tools/browser-tools.d.ts +13 -0
- package/dist/src/mcp-tools/browser-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/browser-tools.js +550 -0
- package/dist/src/mcp-tools/browser-tools.js.map +1 -0
- package/dist/src/mcp-tools/claims-tools.d.ts +12 -0
- package/dist/src/mcp-tools/claims-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/claims-tools.js +732 -0
- package/dist/src/mcp-tools/claims-tools.js.map +1 -0
- package/dist/src/mcp-tools/config-tools.d.ts +8 -0
- package/dist/src/mcp-tools/config-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/config-tools.js +333 -0
- package/dist/src/mcp-tools/config-tools.js.map +1 -0
- package/dist/src/mcp-tools/coordination-tools.d.ts +13 -0
- package/dist/src/mcp-tools/coordination-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/coordination-tools.js +486 -0
- package/dist/src/mcp-tools/coordination-tools.js.map +1 -0
- package/dist/src/mcp-tools/daa-tools.d.ts +13 -0
- package/dist/src/mcp-tools/daa-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/daa-tools.js +426 -0
- package/dist/src/mcp-tools/daa-tools.js.map +1 -0
- package/dist/src/mcp-tools/embeddings-tools.d.ts +9 -0
- package/dist/src/mcp-tools/embeddings-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/embeddings-tools.js +782 -0
- package/dist/src/mcp-tools/embeddings-tools.js.map +1 -0
- package/dist/src/mcp-tools/github-tools.d.ts +13 -0
- package/dist/src/mcp-tools/github-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/github-tools.js +373 -0
- package/dist/src/mcp-tools/github-tools.js.map +1 -0
- package/dist/src/mcp-tools/hive-mind-tools.d.ts +8 -0
- package/dist/src/mcp-tools/hive-mind-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/hive-mind-tools.js +583 -0
- package/dist/src/mcp-tools/hive-mind-tools.js.map +1 -0
- package/dist/src/mcp-tools/hooks-tools.d.ts +44 -0
- package/dist/src/mcp-tools/hooks-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/hooks-tools.js +2797 -0
- package/dist/src/mcp-tools/hooks-tools.js.map +1 -0
- package/dist/src/mcp-tools/index.d.ts +23 -0
- package/dist/src/mcp-tools/index.d.ts.map +1 -0
- package/dist/src/mcp-tools/index.js +22 -0
- package/dist/src/mcp-tools/index.js.map +1 -0
- package/dist/src/mcp-tools/memory-tools.d.ts +14 -0
- package/dist/src/mcp-tools/memory-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/memory-tools.js +482 -0
- package/dist/src/mcp-tools/memory-tools.js.map +1 -0
- package/dist/src/mcp-tools/neural-tools.d.ts +16 -0
- package/dist/src/mcp-tools/neural-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/neural-tools.js +456 -0
- package/dist/src/mcp-tools/neural-tools.js.map +1 -0
- package/dist/src/mcp-tools/performance-tools.d.ts +16 -0
- package/dist/src/mcp-tools/performance-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/performance-tools.js +534 -0
- package/dist/src/mcp-tools/performance-tools.js.map +1 -0
- package/dist/src/mcp-tools/progress-tools.d.ts +14 -0
- package/dist/src/mcp-tools/progress-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/progress-tools.js +348 -0
- package/dist/src/mcp-tools/progress-tools.js.map +1 -0
- package/dist/src/mcp-tools/security-tools.d.ts +18 -0
- package/dist/src/mcp-tools/security-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/security-tools.js +434 -0
- package/dist/src/mcp-tools/security-tools.js.map +1 -0
- package/dist/src/mcp-tools/session-tools.d.ts +8 -0
- package/dist/src/mcp-tools/session-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/session-tools.js +315 -0
- package/dist/src/mcp-tools/session-tools.js.map +1 -0
- package/dist/src/mcp-tools/swarm-tools.d.ts +8 -0
- package/dist/src/mcp-tools/swarm-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/swarm-tools.js +102 -0
- package/dist/src/mcp-tools/swarm-tools.js.map +1 -0
- package/dist/src/mcp-tools/system-tools.d.ts +13 -0
- package/dist/src/mcp-tools/system-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/system-tools.js +314 -0
- package/dist/src/mcp-tools/system-tools.js.map +1 -0
- package/dist/src/mcp-tools/task-tools.d.ts +8 -0
- package/dist/src/mcp-tools/task-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/task-tools.js +302 -0
- package/dist/src/mcp-tools/task-tools.js.map +1 -0
- package/dist/src/mcp-tools/terminal-tools.d.ts +13 -0
- package/dist/src/mcp-tools/terminal-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/terminal-tools.js +246 -0
- package/dist/src/mcp-tools/terminal-tools.js.map +1 -0
- package/dist/src/mcp-tools/transfer-tools.d.ts +14 -0
- package/dist/src/mcp-tools/transfer-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/transfer-tools.js +396 -0
- package/dist/src/mcp-tools/transfer-tools.js.map +1 -0
- package/dist/src/mcp-tools/types.d.ts +31 -0
- package/dist/src/mcp-tools/types.d.ts.map +1 -0
- package/dist/src/mcp-tools/types.js +7 -0
- package/dist/src/mcp-tools/types.js.map +1 -0
- package/dist/src/mcp-tools/workflow-tools.d.ts +8 -0
- package/dist/src/mcp-tools/workflow-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/workflow-tools.js +481 -0
- package/dist/src/mcp-tools/workflow-tools.js.map +1 -0
- package/dist/src/memory/ewc-consolidation.d.ts +271 -0
- package/dist/src/memory/ewc-consolidation.d.ts.map +1 -0
- package/dist/src/memory/ewc-consolidation.js +542 -0
- package/dist/src/memory/ewc-consolidation.js.map +1 -0
- package/dist/src/memory/intelligence.d.ts +285 -0
- package/dist/src/memory/intelligence.d.ts.map +1 -0
- package/dist/src/memory/intelligence.js +766 -0
- package/dist/src/memory/intelligence.js.map +1 -0
- package/dist/src/memory/memory-initializer.d.ts +396 -0
- package/dist/src/memory/memory-initializer.d.ts.map +1 -0
- package/dist/src/memory/memory-initializer.js +1929 -0
- package/dist/src/memory/memory-initializer.js.map +1 -0
- package/dist/src/memory/sona-optimizer.d.ts +227 -0
- package/dist/src/memory/sona-optimizer.d.ts.map +1 -0
- package/dist/src/memory/sona-optimizer.js +633 -0
- package/dist/src/memory/sona-optimizer.js.map +1 -0
- package/dist/src/output.d.ts +133 -0
- package/dist/src/output.d.ts.map +1 -0
- package/dist/src/output.js +513 -0
- package/dist/src/output.js.map +1 -0
- package/dist/src/parser.d.ts +41 -0
- package/dist/src/parser.d.ts.map +1 -0
- package/dist/src/parser.js +377 -0
- package/dist/src/parser.js.map +1 -0
- package/dist/src/plugins/manager.d.ts +133 -0
- package/dist/src/plugins/manager.d.ts.map +1 -0
- package/dist/src/plugins/manager.js +383 -0
- package/dist/src/plugins/manager.js.map +1 -0
- package/dist/src/plugins/store/discovery.d.ts +88 -0
- package/dist/src/plugins/store/discovery.d.ts.map +1 -0
- package/dist/src/plugins/store/discovery.js +1147 -0
- package/dist/src/plugins/store/discovery.js.map +1 -0
- package/dist/src/plugins/store/index.d.ts +76 -0
- package/dist/src/plugins/store/index.d.ts.map +1 -0
- package/dist/src/plugins/store/index.js +141 -0
- package/dist/src/plugins/store/index.js.map +1 -0
- package/dist/src/plugins/store/search.d.ts +46 -0
- package/dist/src/plugins/store/search.d.ts.map +1 -0
- package/dist/src/plugins/store/search.js +230 -0
- package/dist/src/plugins/store/search.js.map +1 -0
- package/dist/src/plugins/store/types.d.ts +274 -0
- package/dist/src/plugins/store/types.d.ts.map +1 -0
- package/dist/src/plugins/store/types.js +7 -0
- package/dist/src/plugins/store/types.js.map +1 -0
- package/dist/src/plugins/tests/demo-plugin-store.d.ts +7 -0
- package/dist/src/plugins/tests/demo-plugin-store.d.ts.map +1 -0
- package/dist/src/plugins/tests/demo-plugin-store.js +126 -0
- package/dist/src/plugins/tests/demo-plugin-store.js.map +1 -0
- package/dist/src/plugins/tests/standalone-test.d.ts +12 -0
- package/dist/src/plugins/tests/standalone-test.d.ts.map +1 -0
- package/dist/src/plugins/tests/standalone-test.js +188 -0
- package/dist/src/plugins/tests/standalone-test.js.map +1 -0
- package/dist/src/plugins/tests/test-plugin-store.d.ts +7 -0
- package/dist/src/plugins/tests/test-plugin-store.d.ts.map +1 -0
- package/dist/src/plugins/tests/test-plugin-store.js +206 -0
- package/dist/src/plugins/tests/test-plugin-store.js.map +1 -0
- package/dist/src/production/circuit-breaker.d.ts +101 -0
- package/dist/src/production/circuit-breaker.d.ts.map +1 -0
- package/dist/src/production/circuit-breaker.js +241 -0
- package/dist/src/production/circuit-breaker.js.map +1 -0
- package/dist/src/production/error-handler.d.ts +92 -0
- package/dist/src/production/error-handler.d.ts.map +1 -0
- package/dist/src/production/error-handler.js +299 -0
- package/dist/src/production/error-handler.js.map +1 -0
- package/dist/src/production/index.d.ts +23 -0
- package/dist/src/production/index.d.ts.map +1 -0
- package/dist/src/production/index.js +18 -0
- package/dist/src/production/index.js.map +1 -0
- package/dist/src/production/monitoring.d.ts +161 -0
- package/dist/src/production/monitoring.d.ts.map +1 -0
- package/dist/src/production/monitoring.js +356 -0
- package/dist/src/production/monitoring.js.map +1 -0
- package/dist/src/production/rate-limiter.d.ts +80 -0
- package/dist/src/production/rate-limiter.d.ts.map +1 -0
- package/dist/src/production/rate-limiter.js +201 -0
- package/dist/src/production/rate-limiter.js.map +1 -0
- package/dist/src/production/retry.d.ts +48 -0
- package/dist/src/production/retry.d.ts.map +1 -0
- package/dist/src/production/retry.js +179 -0
- package/dist/src/production/retry.js.map +1 -0
- package/dist/src/prompt.d.ts +44 -0
- package/dist/src/prompt.d.ts.map +1 -0
- package/dist/src/prompt.js +501 -0
- package/dist/src/prompt.js.map +1 -0
- package/dist/src/runtime/headless.d.ts +60 -0
- package/dist/src/runtime/headless.d.ts.map +1 -0
- package/dist/src/runtime/headless.js +284 -0
- package/dist/src/runtime/headless.js.map +1 -0
- package/dist/src/ruvector/ast-analyzer.d.ts +67 -0
- package/dist/src/ruvector/ast-analyzer.d.ts.map +1 -0
- package/dist/src/ruvector/ast-analyzer.js +277 -0
- package/dist/src/ruvector/ast-analyzer.js.map +1 -0
- package/dist/src/ruvector/coverage-router.d.ts +160 -0
- package/dist/src/ruvector/coverage-router.d.ts.map +1 -0
- package/dist/src/ruvector/coverage-router.js +529 -0
- package/dist/src/ruvector/coverage-router.js.map +1 -0
- package/dist/src/ruvector/coverage-tools.d.ts +33 -0
- package/dist/src/ruvector/coverage-tools.d.ts.map +1 -0
- package/dist/src/ruvector/coverage-tools.js +157 -0
- package/dist/src/ruvector/coverage-tools.js.map +1 -0
- package/dist/src/ruvector/diff-classifier.d.ts +175 -0
- package/dist/src/ruvector/diff-classifier.d.ts.map +1 -0
- package/dist/src/ruvector/diff-classifier.js +698 -0
- package/dist/src/ruvector/diff-classifier.js.map +1 -0
- package/dist/src/ruvector/enhanced-model-router.d.ts +146 -0
- package/dist/src/ruvector/enhanced-model-router.d.ts.map +1 -0
- package/dist/src/ruvector/enhanced-model-router.js +519 -0
- package/dist/src/ruvector/enhanced-model-router.js.map +1 -0
- package/dist/src/ruvector/flash-attention.d.ts +195 -0
- package/dist/src/ruvector/flash-attention.d.ts.map +1 -0
- package/dist/src/ruvector/flash-attention.js +643 -0
- package/dist/src/ruvector/flash-attention.js.map +1 -0
- package/dist/src/ruvector/graph-analyzer.d.ts +187 -0
- package/dist/src/ruvector/graph-analyzer.d.ts.map +1 -0
- package/dist/src/ruvector/graph-analyzer.js +929 -0
- package/dist/src/ruvector/graph-analyzer.js.map +1 -0
- package/dist/src/ruvector/index.d.ts +34 -0
- package/dist/src/ruvector/index.d.ts.map +1 -0
- package/dist/src/ruvector/index.js +60 -0
- package/dist/src/ruvector/index.js.map +1 -0
- package/dist/src/ruvector/lora-adapter.d.ts +218 -0
- package/dist/src/ruvector/lora-adapter.d.ts.map +1 -0
- package/dist/src/ruvector/lora-adapter.js +455 -0
- package/dist/src/ruvector/lora-adapter.js.map +1 -0
- package/dist/src/ruvector/model-router.d.ts +220 -0
- package/dist/src/ruvector/model-router.d.ts.map +1 -0
- package/dist/src/ruvector/model-router.js +488 -0
- package/dist/src/ruvector/model-router.js.map +1 -0
- package/dist/src/ruvector/moe-router.d.ts +206 -0
- package/dist/src/ruvector/moe-router.d.ts.map +1 -0
- package/dist/src/ruvector/moe-router.js +626 -0
- package/dist/src/ruvector/moe-router.js.map +1 -0
- package/dist/src/ruvector/q-learning-router.d.ts +211 -0
- package/dist/src/ruvector/q-learning-router.d.ts.map +1 -0
- package/dist/src/ruvector/q-learning-router.js +681 -0
- package/dist/src/ruvector/q-learning-router.js.map +1 -0
- package/dist/src/ruvector/semantic-router.d.ts +77 -0
- package/dist/src/ruvector/semantic-router.d.ts.map +1 -0
- package/dist/src/ruvector/semantic-router.js +178 -0
- package/dist/src/ruvector/semantic-router.js.map +1 -0
- package/dist/src/ruvector/vector-db.d.ts +69 -0
- package/dist/src/ruvector/vector-db.d.ts.map +1 -0
- package/dist/src/ruvector/vector-db.js +243 -0
- package/dist/src/ruvector/vector-db.js.map +1 -0
- package/dist/src/services/claim-service.d.ts +204 -0
- package/dist/src/services/claim-service.d.ts.map +1 -0
- package/dist/src/services/claim-service.js +818 -0
- package/dist/src/services/claim-service.js.map +1 -0
- package/dist/src/services/container-worker-pool.d.ts +197 -0
- package/dist/src/services/container-worker-pool.d.ts.map +1 -0
- package/dist/src/services/container-worker-pool.js +581 -0
- package/dist/src/services/container-worker-pool.js.map +1 -0
- package/dist/src/services/headless-worker-executor.d.ts +304 -0
- package/dist/src/services/headless-worker-executor.d.ts.map +1 -0
- package/dist/src/services/headless-worker-executor.js +999 -0
- package/dist/src/services/headless-worker-executor.js.map +1 -0
- package/dist/src/services/index.d.ts +13 -0
- package/dist/src/services/index.d.ts.map +1 -0
- package/dist/src/services/index.js +11 -0
- package/dist/src/services/index.js.map +1 -0
- package/dist/src/services/registry-api.d.ts +58 -0
- package/dist/src/services/registry-api.d.ts.map +1 -0
- package/dist/src/services/registry-api.js +146 -0
- package/dist/src/services/registry-api.js.map +1 -0
- package/dist/src/services/ruvector-training.d.ts +213 -0
- package/dist/src/services/ruvector-training.d.ts.map +1 -0
- package/dist/src/services/ruvector-training.js +498 -0
- package/dist/src/services/ruvector-training.js.map +1 -0
- package/dist/src/services/worker-daemon.d.ts +203 -0
- package/dist/src/services/worker-daemon.d.ts.map +1 -0
- package/dist/src/services/worker-daemon.js +756 -0
- package/dist/src/services/worker-daemon.js.map +1 -0
- package/dist/src/services/worker-queue.d.ts +194 -0
- package/dist/src/services/worker-queue.d.ts.map +1 -0
- package/dist/src/services/worker-queue.js +511 -0
- package/dist/src/services/worker-queue.js.map +1 -0
- package/dist/src/suggest.d.ts +53 -0
- package/dist/src/suggest.d.ts.map +1 -0
- package/dist/src/suggest.js +200 -0
- package/dist/src/suggest.js.map +1 -0
- package/dist/src/transfer/anonymization/index.d.ts +25 -0
- package/dist/src/transfer/anonymization/index.d.ts.map +1 -0
- package/dist/src/transfer/anonymization/index.js +175 -0
- package/dist/src/transfer/anonymization/index.js.map +1 -0
- package/dist/src/transfer/deploy-seraphine.d.ts +13 -0
- package/dist/src/transfer/deploy-seraphine.d.ts.map +1 -0
- package/dist/src/transfer/deploy-seraphine.js +205 -0
- package/dist/src/transfer/deploy-seraphine.js.map +1 -0
- package/dist/src/transfer/export.d.ts +25 -0
- package/dist/src/transfer/export.d.ts.map +1 -0
- package/dist/src/transfer/export.js +113 -0
- package/dist/src/transfer/export.js.map +1 -0
- package/dist/src/transfer/index.d.ts +12 -0
- package/dist/src/transfer/index.d.ts.map +1 -0
- package/dist/src/transfer/index.js +31 -0
- package/dist/src/transfer/index.js.map +1 -0
- package/dist/src/transfer/ipfs/client.d.ts +109 -0
- package/dist/src/transfer/ipfs/client.d.ts.map +1 -0
- package/dist/src/transfer/ipfs/client.js +299 -0
- package/dist/src/transfer/ipfs/client.js.map +1 -0
- package/dist/src/transfer/ipfs/upload.d.ts +95 -0
- package/dist/src/transfer/ipfs/upload.d.ts.map +1 -0
- package/dist/src/transfer/ipfs/upload.js +413 -0
- package/dist/src/transfer/ipfs/upload.js.map +1 -0
- package/dist/src/transfer/models/seraphine.d.ts +72 -0
- package/dist/src/transfer/models/seraphine.d.ts.map +1 -0
- package/dist/src/transfer/models/seraphine.js +373 -0
- package/dist/src/transfer/models/seraphine.js.map +1 -0
- package/dist/src/transfer/serialization/cfp.d.ts +49 -0
- package/dist/src/transfer/serialization/cfp.d.ts.map +1 -0
- package/dist/src/transfer/serialization/cfp.js +180 -0
- package/dist/src/transfer/serialization/cfp.js.map +1 -0
- package/dist/src/transfer/storage/gcs.d.ts +82 -0
- package/dist/src/transfer/storage/gcs.d.ts.map +1 -0
- package/dist/src/transfer/storage/gcs.js +230 -0
- package/dist/src/transfer/storage/gcs.js.map +1 -0
- package/dist/src/transfer/storage/index.d.ts +6 -0
- package/dist/src/transfer/storage/index.d.ts.map +1 -0
- package/dist/src/transfer/storage/index.js +6 -0
- package/dist/src/transfer/storage/index.js.map +1 -0
- package/dist/src/transfer/store/discovery.d.ts +84 -0
- package/dist/src/transfer/store/discovery.d.ts.map +1 -0
- package/dist/src/transfer/store/discovery.js +382 -0
- package/dist/src/transfer/store/discovery.js.map +1 -0
- package/dist/src/transfer/store/download.d.ts +70 -0
- package/dist/src/transfer/store/download.d.ts.map +1 -0
- package/dist/src/transfer/store/download.js +334 -0
- package/dist/src/transfer/store/download.js.map +1 -0
- package/dist/src/transfer/store/index.d.ts +84 -0
- package/dist/src/transfer/store/index.d.ts.map +1 -0
- package/dist/src/transfer/store/index.js +153 -0
- package/dist/src/transfer/store/index.js.map +1 -0
- package/dist/src/transfer/store/publish.d.ts +76 -0
- package/dist/src/transfer/store/publish.d.ts.map +1 -0
- package/dist/src/transfer/store/publish.js +294 -0
- package/dist/src/transfer/store/publish.js.map +1 -0
- package/dist/src/transfer/store/registry.d.ts +58 -0
- package/dist/src/transfer/store/registry.d.ts.map +1 -0
- package/dist/src/transfer/store/registry.js +285 -0
- package/dist/src/transfer/store/registry.js.map +1 -0
- package/dist/src/transfer/store/search.d.ts +54 -0
- package/dist/src/transfer/store/search.d.ts.map +1 -0
- package/dist/src/transfer/store/search.js +232 -0
- package/dist/src/transfer/store/search.js.map +1 -0
- package/dist/src/transfer/store/tests/standalone-test.d.ts +12 -0
- package/dist/src/transfer/store/tests/standalone-test.d.ts.map +1 -0
- package/dist/src/transfer/store/tests/standalone-test.js +190 -0
- package/dist/src/transfer/store/tests/standalone-test.js.map +1 -0
- package/dist/src/transfer/store/types.d.ts +193 -0
- package/dist/src/transfer/store/types.d.ts.map +1 -0
- package/dist/src/transfer/store/types.js +6 -0
- package/dist/src/transfer/store/types.js.map +1 -0
- package/dist/src/transfer/test-seraphine.d.ts +6 -0
- package/dist/src/transfer/test-seraphine.d.ts.map +1 -0
- package/dist/src/transfer/test-seraphine.js +105 -0
- package/dist/src/transfer/test-seraphine.js.map +1 -0
- package/dist/src/transfer/tests/test-store.d.ts +7 -0
- package/dist/src/transfer/tests/test-store.d.ts.map +1 -0
- package/dist/src/transfer/tests/test-store.js +214 -0
- package/dist/src/transfer/tests/test-store.js.map +1 -0
- package/dist/src/transfer/types.d.ts +245 -0
- package/dist/src/transfer/types.d.ts.map +1 -0
- package/dist/src/transfer/types.js +6 -0
- package/dist/src/transfer/types.js.map +1 -0
- package/dist/src/types.d.ts +198 -0
- package/dist/src/types.d.ts.map +1 -0
- package/dist/src/types.js +38 -0
- package/dist/src/types.js.map +1 -0
- package/dist/src/update/checker.d.ts +34 -0
- package/dist/src/update/checker.d.ts.map +1 -0
- package/dist/src/update/checker.js +190 -0
- package/dist/src/update/checker.js.map +1 -0
- package/dist/src/update/executor.d.ts +32 -0
- package/dist/src/update/executor.d.ts.map +1 -0
- package/dist/src/update/executor.js +181 -0
- package/dist/src/update/executor.js.map +1 -0
- package/dist/src/update/index.d.ts +33 -0
- package/dist/src/update/index.d.ts.map +1 -0
- package/dist/src/update/index.js +64 -0
- package/dist/src/update/index.js.map +1 -0
- package/dist/src/update/rate-limiter.d.ts +20 -0
- package/dist/src/update/rate-limiter.d.ts.map +1 -0
- package/dist/src/update/rate-limiter.js +96 -0
- package/dist/src/update/rate-limiter.js.map +1 -0
- package/dist/src/update/validator.d.ts +17 -0
- package/dist/src/update/validator.d.ts.map +1 -0
- package/dist/src/update/validator.js +123 -0
- package/dist/src/update/validator.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +88 -56
- package/LICENSE +0 -21
- package/bin/kynjal.js +0 -27
- package/dist/commands/add.d.ts +0 -11
- package/dist/commands/add.js +0 -295
- package/dist/commands/convex.d.ts +0 -11
- package/dist/commands/convex.js +0 -319
- package/dist/commands/init.d.ts +0 -13
- package/dist/commands/init.js +0 -340
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -61
- package/dist/index.test.d.ts +0 -1
- package/dist/index.test.js +0 -6
- package/dist/registry/accordion.d.ts +0 -139
- package/dist/registry/accordion.js +0 -164
- package/dist/registry/accordion.ts +0 -183
- package/dist/registry/action-sheet.d.ts +0 -138
- package/dist/registry/action-sheet.js +0 -164
- package/dist/registry/action-sheet.ts +0 -182
- package/dist/registry/alert-dialog.d.ts +0 -71
- package/dist/registry/alert-dialog.js +0 -88
- package/dist/registry/alert-dialog.ts +0 -97
- package/dist/registry/alert.d.ts +0 -172
- package/dist/registry/alert.js +0 -204
- package/dist/registry/alert.ts +0 -225
- package/dist/registry/audio-player.d.ts +0 -139
- package/dist/registry/audio-player.js +0 -165
- package/dist/registry/audio-player.ts +0 -183
- package/dist/registry/audio-recorder.d.ts +0 -156
- package/dist/registry/audio-recorder.js +0 -184
- package/dist/registry/audio-recorder.ts +0 -203
- package/dist/registry/audio-waveform.d.ts +0 -121
- package/dist/registry/audio-waveform.js +0 -144
- package/dist/registry/audio-waveform.ts +0 -165
- package/dist/registry/avatar.d.ts +0 -139
- package/dist/registry/avatar.js +0 -164
- package/dist/registry/avatar.ts +0 -172
- package/dist/registry/avoid-keyboard.d.ts +0 -128
- package/dist/registry/avoid-keyboard.js +0 -150
- package/dist/registry/avoid-keyboard.ts +0 -165
- package/dist/registry/badge.d.ts +0 -139
- package/dist/registry/badge.js +0 -164
- package/dist/registry/badge.ts +0 -172
- package/dist/registry/bottom-sheet.d.ts +0 -156
- package/dist/registry/bottom-sheet.js +0 -184
- package/dist/registry/bottom-sheet.ts +0 -203
- package/dist/registry/button.d.ts +0 -173
- package/dist/registry/button.js +0 -209
- package/dist/registry/button.ts +0 -230
- package/dist/registry/camera-preview.d.ts +0 -37
- package/dist/registry/camera-preview.js +0 -56
- package/dist/registry/camera-preview.ts +0 -61
- package/dist/registry/camera.d.ts +0 -139
- package/dist/registry/camera.js +0 -168
- package/dist/registry/camera.ts +0 -185
- package/dist/registry/card.d.ts +0 -139
- package/dist/registry/card.js +0 -165
- package/dist/registry/card.ts +0 -173
- package/dist/registry/carousel.d.ts +0 -140
- package/dist/registry/carousel.js +0 -169
- package/dist/registry/carousel.ts +0 -186
- package/dist/registry/charts/area-chart.d.ts +0 -88
- package/dist/registry/charts/area-chart.js +0 -106
- package/dist/registry/charts/area-chart.ts +0 -117
- package/dist/registry/charts/bar-chart.d.ts +0 -71
- package/dist/registry/charts/bar-chart.js +0 -85
- package/dist/registry/charts/bar-chart.ts +0 -94
- package/dist/registry/charts/bubble-chart.d.ts +0 -88
- package/dist/registry/charts/bubble-chart.js +0 -109
- package/dist/registry/charts/bubble-chart.ts +0 -120
- package/dist/registry/charts/candlestick-chart.d.ts +0 -88
- package/dist/registry/charts/candlestick-chart.js +0 -109
- package/dist/registry/charts/candlestick-chart.ts +0 -125
- package/dist/registry/charts/chart-container.d.ts +0 -54
- package/dist/registry/charts/chart-container.js +0 -62
- package/dist/registry/charts/chart-container.ts +0 -71
- package/dist/registry/charts/column-chart.d.ts +0 -88
- package/dist/registry/charts/column-chart.js +0 -106
- package/dist/registry/charts/column-chart.ts +0 -117
- package/dist/registry/charts/doughnut-chart.d.ts +0 -88
- package/dist/registry/charts/doughnut-chart.js +0 -106
- package/dist/registry/charts/doughnut-chart.ts +0 -121
- package/dist/registry/charts/heatmap-chart.d.ts +0 -88
- package/dist/registry/charts/heatmap-chart.js +0 -106
- package/dist/registry/charts/heatmap-chart.ts +0 -117
- package/dist/registry/charts/index.d.ts +0 -1499
- package/dist/registry/charts/index.js +0 -38
- package/dist/registry/charts/index.ts +0 -39
- package/dist/registry/charts/line-chart.d.ts +0 -88
- package/dist/registry/charts/line-chart.js +0 -109
- package/dist/registry/charts/line-chart.ts +0 -120
- package/dist/registry/charts/pie-chart.d.ts +0 -88
- package/dist/registry/charts/pie-chart.js +0 -106
- package/dist/registry/charts/pie-chart.ts +0 -117
- package/dist/registry/charts/polar-area-chart.d.ts +0 -88
- package/dist/registry/charts/polar-area-chart.js +0 -106
- package/dist/registry/charts/polar-area-chart.ts +0 -121
- package/dist/registry/charts/progress-ring-chart.d.ts +0 -88
- package/dist/registry/charts/progress-ring-chart.js +0 -106
- package/dist/registry/charts/progress-ring-chart.ts +0 -121
- package/dist/registry/charts/radar-chart.d.ts +0 -88
- package/dist/registry/charts/radar-chart.js +0 -106
- package/dist/registry/charts/radar-chart.ts +0 -117
- package/dist/registry/charts/radial-bar-chart.d.ts +0 -88
- package/dist/registry/charts/radial-bar-chart.js +0 -106
- package/dist/registry/charts/radial-bar-chart.ts +0 -121
- package/dist/registry/charts/scatter-chart.d.ts +0 -88
- package/dist/registry/charts/scatter-chart.js +0 -106
- package/dist/registry/charts/scatter-chart.ts +0 -117
- package/dist/registry/charts/stacked-area-chart.d.ts +0 -88
- package/dist/registry/charts/stacked-area-chart.js +0 -106
- package/dist/registry/charts/stacked-area-chart.ts +0 -123
- package/dist/registry/charts/stacked-bar-chart.d.ts +0 -88
- package/dist/registry/charts/stacked-bar-chart.js +0 -109
- package/dist/registry/charts/stacked-bar-chart.ts +0 -125
- package/dist/registry/charts/treemap-chart.d.ts +0 -88
- package/dist/registry/charts/treemap-chart.js +0 -106
- package/dist/registry/charts/treemap-chart.ts +0 -117
- package/dist/registry/checkbox.d.ts +0 -122
- package/dist/registry/checkbox.js +0 -145
- package/dist/registry/checkbox.ts +0 -160
- package/dist/registry/collapsible.d.ts +0 -105
- package/dist/registry/collapsible.js +0 -125
- package/dist/registry/collapsible.ts +0 -137
- package/dist/registry/color-picker.d.ts +0 -156
- package/dist/registry/color-picker.js +0 -186
- package/dist/registry/color-picker.ts +0 -205
- package/dist/registry/combobox.d.ts +0 -139
- package/dist/registry/combobox.js +0 -158
- package/dist/registry/combobox.ts +0 -170
- package/dist/registry/date-picker.d.ts +0 -156
- package/dist/registry/date-picker.js +0 -190
- package/dist/registry/date-picker.ts +0 -209
- package/dist/registry/file-picker.d.ts +0 -139
- package/dist/registry/file-picker.js +0 -158
- package/dist/registry/file-picker.ts +0 -175
- package/dist/registry/gallery.d.ts +0 -122
- package/dist/registry/gallery.js +0 -144
- package/dist/registry/gallery.ts +0 -160
- package/dist/registry/hello-wave.d.ts +0 -37
- package/dist/registry/hello-wave.js +0 -44
- package/dist/registry/hello-wave.ts +0 -49
- package/dist/registry/hooks/index.d.ts +0 -60
- package/dist/registry/hooks/index.js +0 -75
- package/dist/registry/hooks/index.ts +0 -80
- package/dist/registry/icon.d.ts +0 -139
- package/dist/registry/icon.js +0 -164
- package/dist/registry/icon.ts +0 -173
- package/dist/registry/image.d.ts +0 -156
- package/dist/registry/image.js +0 -180
- package/dist/registry/image.ts +0 -191
- package/dist/registry/index.d.ts +0 -12
- package/dist/registry/index.js +0 -189
- package/dist/registry/index.ts +0 -209
- package/dist/registry/input-otp.d.ts +0 -155
- package/dist/registry/input-otp.js +0 -178
- package/dist/registry/input-otp.ts +0 -197
- package/dist/registry/input.d.ts +0 -164
- package/dist/registry/input.js +0 -192
- package/dist/registry/input.ts +0 -211
- package/dist/registry/link.d.ts +0 -139
- package/dist/registry/link.js +0 -164
- package/dist/registry/link.ts +0 -181
- package/dist/registry/media-picker.d.ts +0 -145
- package/dist/registry/media-picker.js +0 -175
- package/dist/registry/media-picker.ts +0 -192
- package/dist/registry/mode-toggle.d.ts +0 -37
- package/dist/registry/mode-toggle.js +0 -44
- package/dist/registry/mode-toggle.ts +0 -49
- package/dist/registry/onboarding.d.ts +0 -144
- package/dist/registry/onboarding.js +0 -164
- package/dist/registry/onboarding.ts +0 -181
- package/dist/registry/parallax-scrollview.d.ts +0 -125
- package/dist/registry/parallax-scrollview.js +0 -147
- package/dist/registry/parallax-scrollview.ts +0 -168
- package/dist/registry/picker.d.ts +0 -157
- package/dist/registry/picker.js +0 -178
- package/dist/registry/picker.ts +0 -198
- package/dist/registry/popover.d.ts +0 -139
- package/dist/registry/popover.js +0 -164
- package/dist/registry/popover.ts +0 -181
- package/dist/registry/progress.d.ts +0 -139
- package/dist/registry/progress.js +0 -159
- package/dist/registry/progress.ts +0 -172
- package/dist/registry/radio.d.ts +0 -139
- package/dist/registry/radio.js +0 -164
- package/dist/registry/radio.ts +0 -181
- package/dist/registry/schema/index.d.ts +0 -26
- package/dist/registry/schema/index.js +0 -1
- package/dist/registry/schema/index.ts +0 -28
- package/dist/registry/scroll-view.d.ts +0 -156
- package/dist/registry/scroll-view.js +0 -184
- package/dist/registry/scroll-view.ts +0 -203
- package/dist/registry/searchbar.d.ts +0 -139
- package/dist/registry/searchbar.js +0 -164
- package/dist/registry/searchbar.ts +0 -181
- package/dist/registry/separator.d.ts +0 -105
- package/dist/registry/separator.js +0 -124
- package/dist/registry/separator.ts +0 -130
- package/dist/registry/share.d.ts +0 -156
- package/dist/registry/share.js +0 -183
- package/dist/registry/share.ts +0 -202
- package/dist/registry/sheet.d.ts +0 -107
- package/dist/registry/sheet.js +0 -122
- package/dist/registry/sheet.ts +0 -135
- package/dist/registry/skeleton.d.ts +0 -122
- package/dist/registry/skeleton.js +0 -140
- package/dist/registry/skeleton.ts +0 -155
- package/dist/registry/spinner.d.ts +0 -156
- package/dist/registry/spinner.js +0 -184
- package/dist/registry/spinner.ts +0 -205
- package/dist/registry/switch.d.ts +0 -122
- package/dist/registry/switch.js +0 -139
- package/dist/registry/switch.ts +0 -154
- package/dist/registry/table.d.ts +0 -122
- package/dist/registry/table.js +0 -139
- package/dist/registry/table.ts +0 -154
- package/dist/registry/tabs.d.ts +0 -88
- package/dist/registry/tabs.js +0 -101
- package/dist/registry/tabs.ts +0 -112
- package/dist/registry/text.d.ts +0 -71
- package/dist/registry/text.js +0 -82
- package/dist/registry/text.ts +0 -87
- package/dist/registry/theme/index.d.ts +0 -35
- package/dist/registry/theme/index.js +0 -41
- package/dist/registry/theme/index.ts +0 -43
- package/dist/registry/toast.d.ts +0 -122
- package/dist/registry/toast.js +0 -148
- package/dist/registry/toast.ts +0 -164
- package/dist/registry/toggle.d.ts +0 -173
- package/dist/registry/toggle.js +0 -205
- package/dist/registry/toggle.ts +0 -225
- package/dist/registry/video.d.ts +0 -156
- package/dist/registry/video.js +0 -184
- package/dist/registry/video.ts +0 -203
- package/dist/registry/view.d.ts +0 -37
- package/dist/registry/view.js +0 -44
- package/dist/registry/view.ts +0 -47
- package/dist/templates/components/charts/area-chart.tsx +0 -38
- package/dist/templates/components/charts/bar-chart.tsx +0 -130
- package/dist/templates/components/charts/bubble-chart.tsx +0 -205
- package/dist/templates/components/charts/candlestick-chart.tsx +0 -178
- package/dist/templates/components/charts/chart-container.tsx +0 -47
- package/dist/templates/components/charts/column-chart.tsx +0 -130
- package/dist/templates/components/charts/doughnut-chart.tsx +0 -182
- package/dist/templates/components/charts/heatmap-chart.tsx +0 -253
- package/dist/templates/components/charts/line-chart.tsx +0 -349
- package/dist/templates/components/charts/pie-chart.tsx +0 -172
- package/dist/templates/components/charts/polar-area-chart.tsx +0 -185
- package/dist/templates/components/charts/progress-ring-chart.tsx +0 -161
- package/dist/templates/components/charts/radar-chart.tsx +0 -188
- package/dist/templates/components/charts/radial-bar-chart.tsx +0 -216
- package/dist/templates/components/charts/scatter-chart.tsx +0 -176
- package/dist/templates/components/charts/stacked-area-chart.tsx +0 -289
- package/dist/templates/components/charts/stacked-bar-chart.tsx +0 -311
- package/dist/templates/components/charts/treemap-chart.tsx +0 -273
- package/dist/templates/components/ui/accordion.tsx +0 -175
- package/dist/templates/components/ui/action-sheet.tsx +0 -408
- package/dist/templates/components/ui/alert-dialog.tsx +0 -195
- package/dist/templates/components/ui/alert.tsx +0 -208
- package/dist/templates/components/ui/audio-player.tsx +0 -300
- package/dist/templates/components/ui/audio-recorder.tsx +0 -476
- package/dist/templates/components/ui/audio-waveform.tsx +0 -292
- package/dist/templates/components/ui/avatar.tsx +0 -84
- package/dist/templates/components/ui/avoid-keyboard.tsx +0 -49
- package/dist/templates/components/ui/badge.tsx +0 -88
- package/dist/templates/components/ui/bottom-sheet.tsx +0 -352
- package/dist/templates/components/ui/button.tsx +0 -392
- package/dist/templates/components/ui/camera-preview.tsx +0 -410
- package/dist/templates/components/ui/camera.tsx +0 -1008
- package/dist/templates/components/ui/card.tsx +0 -110
- package/dist/templates/components/ui/carousel.tsx +0 -546
- package/dist/templates/components/ui/checkbox.tsx +0 -82
- package/dist/templates/components/ui/collapsible.tsx +0 -46
- package/dist/templates/components/ui/color-picker.tsx +0 -450
- package/dist/templates/components/ui/combobox.tsx +0 -624
- package/dist/templates/components/ui/date-picker.tsx +0 -1147
- package/dist/templates/components/ui/file-picker.tsx +0 -526
- package/dist/templates/components/ui/gallery.tsx +0 -871
- package/dist/templates/components/ui/hello-wave.tsx +0 -69
- package/dist/templates/components/ui/icon.tsx +0 -34
- package/dist/templates/components/ui/image.tsx +0 -174
- package/dist/templates/components/ui/input-otp.tsx +0 -302
- package/dist/templates/components/ui/input.tsx +0 -607
- package/dist/templates/components/ui/link.tsx +0 -143
- package/dist/templates/components/ui/media-picker.tsx +0 -548
- package/dist/templates/components/ui/mode-toggle.tsx +0 -55
- package/dist/templates/components/ui/onboarding.tsx +0 -357
- package/dist/templates/components/ui/parallax-scrollview.tsx +0 -85
- package/dist/templates/components/ui/picker.tsx +0 -476
- package/dist/templates/components/ui/popover.tsx +0 -450
- package/dist/templates/components/ui/progress.tsx +0 -159
- package/dist/templates/components/ui/radio.tsx +0 -133
- package/dist/templates/components/ui/scroll-view.tsx +0 -14
- package/dist/templates/components/ui/searchbar.tsx +0 -241
- package/dist/templates/components/ui/separator.tsx +0 -30
- package/dist/templates/components/ui/share.tsx +0 -304
- package/dist/templates/components/ui/sheet.tsx +0 -302
- package/dist/templates/components/ui/skeleton.tsx +0 -64
- package/dist/templates/components/ui/spinner.tsx +0 -462
- package/dist/templates/components/ui/switch.tsx +0 -78
- package/dist/templates/components/ui/table.tsx +0 -478
- package/dist/templates/components/ui/tabs.tsx +0 -500
- package/dist/templates/components/ui/text.tsx +0 -86
- package/dist/templates/components/ui/toast.tsx +0 -456
- package/dist/templates/components/ui/toggle.tsx +0 -347
- package/dist/templates/components/ui/video.tsx +0 -555
- package/dist/templates/components/ui/view.tsx +0 -14
- package/dist/templates/demo/accordion/accordion-controlled.tsx +0 -55
- package/dist/templates/demo/accordion/accordion-demo.tsx +0 -38
- package/dist/templates/demo/accordion/accordion-faq.tsx +0 -51
- package/dist/templates/demo/accordion/accordion-multiple.tsx +0 -51
- package/dist/templates/demo/accordion/accordion-non-collapsible.tsx +0 -51
- package/dist/templates/demo/accordion/accordion-single.tsx +0 -45
- package/dist/templates/demo/accordion/accordion-styled.tsx +0 -55
- package/dist/templates/demo/action-sheet/action-sheet-demo.tsx +0 -37
- package/dist/templates/demo/action-sheet/action-sheet-destructive.tsx +0 -44
- package/dist/templates/demo/action-sheet/action-sheet-disabled.tsx +0 -50
- package/dist/templates/demo/action-sheet/action-sheet-hook.tsx +0 -63
- package/dist/templates/demo/action-sheet/action-sheet-icons.tsx +0 -47
- package/dist/templates/demo/action-sheet/action-sheet-long.tsx +0 -105
- package/dist/templates/demo/action-sheet/action-sheet-styled.tsx +0 -52
- package/dist/templates/demo/alert/alert-advanced-demo.tsx +0 -132
- package/dist/templates/demo/alert/alert-confirm-demo.tsx +0 -20
- package/dist/templates/demo/alert/alert-custom-demo.tsx +0 -29
- package/dist/templates/demo/alert/alert-demo.tsx +0 -25
- package/dist/templates/demo/alert/alert-error-demo.tsx +0 -17
- package/dist/templates/demo/alert/alert-success-demo.tsx +0 -19
- package/dist/templates/demo/alert/alert-three-button-demo.tsx +0 -33
- package/dist/templates/demo/alert/alert-visual-demo.tsx +0 -22
- package/dist/templates/demo/alert/alert-visual-destructive-demo.tsx +0 -22
- package/dist/templates/demo/alert-dialog/alert-dialog-custom.tsx +0 -40
- package/dist/templates/demo/alert-dialog/alert-dialog-demo.tsx +0 -28
- package/dist/templates/demo/alert-dialog/alert-dialog-destructive.tsx +0 -30
- package/dist/templates/demo/audio-player/audio-player-autoplay.tsx +0 -22
- package/dist/templates/demo/audio-player/audio-player-demo.tsx +0 -21
- package/dist/templates/demo/audio-player/audio-player-minimal.tsx +0 -17
- package/dist/templates/demo/audio-player/audio-player-music.tsx +0 -158
- package/dist/templates/demo/audio-player/audio-player-progress.tsx +0 -17
- package/dist/templates/demo/audio-player/audio-player-styled.tsx +0 -32
- package/dist/templates/demo/audio-player/audio-player-waveform.tsx +0 -17
- package/dist/templates/demo/audio-recorder/audio-recorder-callbacks.tsx +0 -65
- package/dist/templates/demo/audio-recorder/audio-recorder-cloud.tsx +0 -67
- package/dist/templates/demo/audio-recorder/audio-recorder-demo.tsx +0 -27
- package/dist/templates/demo/audio-recorder/audio-recorder-hq.tsx +0 -24
- package/dist/templates/demo/audio-recorder/audio-recorder-interview.tsx +0 -98
- package/dist/templates/demo/audio-recorder/audio-recorder-minimal.tsx +0 -17
- package/dist/templates/demo/audio-recorder/audio-recorder-styled.tsx +0 -29
- package/dist/templates/demo/audio-recorder/audio-recorder-voice.tsx +0 -18
- package/dist/templates/demo/audio-waveform/audio-waveform-compact.tsx +0 -127
- package/dist/templates/demo/audio-waveform/audio-waveform-demo.tsx +0 -56
- package/dist/templates/demo/audio-waveform/audio-waveform-interactive.tsx +0 -114
- package/dist/templates/demo/audio-waveform/audio-waveform-realtime.tsx +0 -223
- package/dist/templates/demo/audio-waveform/audio-waveform-recording.tsx +0 -100
- package/dist/templates/demo/audio-waveform/audio-waveform-styled.tsx +0 -195
- package/dist/templates/demo/avatar/avatar-bordered.tsx +0 -64
- package/dist/templates/demo/avatar/avatar-demo.tsx +0 -13
- package/dist/templates/demo/avatar/avatar-fallback.tsx +0 -25
- package/dist/templates/demo/avatar/avatar-group.tsx +0 -76
- package/dist/templates/demo/avatar/avatar-sizes.tsx +0 -54
- package/dist/templates/demo/avatar/avatar-status.tsx +0 -76
- package/dist/templates/demo/avatar/avatar-styled.tsx +0 -64
- package/dist/templates/demo/avoid-keyboard/avoid-keyboard-chat.tsx +0 -176
- package/dist/templates/demo/avoid-keyboard/avoid-keyboard-demo.tsx +0 -37
- package/dist/templates/demo/avoid-keyboard/avoid-keyboard-duration.tsx +0 -62
- package/dist/templates/demo/avoid-keyboard/avoid-keyboard-form.tsx +0 -175
- package/dist/templates/demo/avoid-keyboard/avoid-keyboard-offset.tsx +0 -31
- package/dist/templates/demo/avoid-keyboard/avoid-keyboard-playground.tsx +0 -252
- package/dist/templates/demo/badge/badge-demo.tsx +0 -15
- package/dist/templates/demo/badge/badge-icons.tsx +0 -33
- package/dist/templates/demo/badge/badge-interactive.tsx +0 -81
- package/dist/templates/demo/badge/badge-notifications.tsx +0 -96
- package/dist/templates/demo/badge/badge-sizes.tsx +0 -104
- package/dist/templates/demo/badge/badge-status.tsx +0 -151
- package/dist/templates/demo/badge/badge-styled.tsx +0 -71
- package/dist/templates/demo/bottom-sheet/bottom-sheet-demo.tsx +0 -31
- package/dist/templates/demo/bottom-sheet/bottom-sheet-form.tsx +0 -72
- package/dist/templates/demo/bottom-sheet/bottom-sheet-list.tsx +0 -57
- package/dist/templates/demo/bottom-sheet/bottom-sheet-menu.tsx +0 -61
- package/dist/templates/demo/bottom-sheet/bottom-sheet-no-dismiss.tsx +0 -41
- package/dist/templates/demo/bottom-sheet/bottom-sheet-snap-points.tsx +0 -37
- package/dist/templates/demo/bottom-sheet/bottom-sheet-styled.tsx +0 -50
- package/dist/templates/demo/bottom-sheet/bottom-sheet-title.tsx +0 -32
- package/dist/templates/demo/button/button-animation.tsx +0 -28
- package/dist/templates/demo/button/button-custom.tsx +0 -52
- package/dist/templates/demo/button/button-demo.tsx +0 -8
- package/dist/templates/demo/button/button-disabled.tsx +0 -21
- package/dist/templates/demo/button/button-icon-only.tsx +0 -26
- package/dist/templates/demo/button/button-loading.tsx +0 -23
- package/dist/templates/demo/button/button-sizes.tsx +0 -19
- package/dist/templates/demo/button/button-variants.tsx +0 -33
- package/dist/templates/demo/button/button-with-icons.tsx +0 -23
- package/dist/templates/demo/camera/camera-custom-controls.tsx +0 -25
- package/dist/templates/demo/camera/camera-demo.tsx +0 -21
- package/dist/templates/demo/camera/camera-picture-only.tsx +0 -17
- package/dist/templates/demo/camera/camera-settings.tsx +0 -29
- package/dist/templates/demo/camera/camera-timer.tsx +0 -22
- package/dist/templates/demo/camera/camera-video.tsx +0 -25
- package/dist/templates/demo/camera/camera-zoom.tsx +0 -21
- package/dist/templates/demo/camera-preview/camera-preview-demo.tsx +0 -5
- package/dist/templates/demo/card/card-demo.tsx +0 -35
- package/dist/templates/demo/card/card-notification.tsx +0 -51
- package/dist/templates/demo/card/card-pricing.tsx +0 -115
- package/dist/templates/demo/card/card-simple.tsx +0 -16
- package/dist/templates/demo/card/card-stats.tsx +0 -33
- package/dist/templates/demo/card/card-with-form.tsx +0 -76
- package/dist/templates/demo/card/card-with-image.tsx +0 -43
- package/dist/templates/demo/carousel/carousel-arrows.tsx +0 -79
- package/dist/templates/demo/carousel/carousel-cards.tsx +0 -146
- package/dist/templates/demo/carousel/carousel-custom-width.tsx +0 -85
- package/dist/templates/demo/carousel/carousel-demo.tsx +0 -57
- package/dist/templates/demo/carousel/carousel-images.tsx +0 -83
- package/dist/templates/demo/carousel/carousel-manual.tsx +0 -215
- package/dist/templates/demo/carousel/carousel-no-indicators.tsx +0 -120
- package/dist/templates/demo/charts/area-chart/area-chart-demo.tsx +0 -33
- package/dist/templates/demo/charts/area-chart/area-chart-interactive.tsx +0 -36
- package/dist/templates/demo/charts/area-chart/area-chart-large.tsx +0 -41
- package/dist/templates/demo/charts/area-chart/area-chart-styled.tsx +0 -51
- package/dist/templates/demo/charts/bar-chart/bar-chart-demo.tsx +0 -31
- package/dist/templates/demo/charts/bar-chart/bar-chart-minimal.tsx +0 -26
- package/dist/templates/demo/charts/bar-chart/bar-chart-sample.tsx +0 -30
- package/dist/templates/demo/charts/bubble-chart/bubble-chart-demo.tsx +0 -34
- package/dist/templates/demo/charts/bubble-chart/bubble-chart-minimal.tsx +0 -26
- package/dist/templates/demo/charts/bubble-chart/bubble-chart-sample.tsx +0 -32
- package/dist/templates/demo/charts/bubble-chart/bubble-chart-styled.tsx +0 -39
- package/dist/templates/demo/charts/candlestick-chart/candlestick-chart-demo.tsx +0 -36
- package/dist/templates/demo/charts/candlestick-chart/candlestick-chart-minimal.tsx +0 -31
- package/dist/templates/demo/charts/candlestick-chart/candlestick-chart-sample.tsx +0 -34
- package/dist/templates/demo/charts/candlestick-chart/candlestick-chart-styled.tsx +0 -38
- package/dist/templates/demo/charts/chart-container/chart-container-demo.tsx +0 -30
- package/dist/templates/demo/charts/chart-container/chart-container-styled.tsx +0 -42
- package/dist/templates/demo/charts/column-chart/column-chart-demo.tsx +0 -31
- package/dist/templates/demo/charts/column-chart/column-chart-large.tsx +0 -42
- package/dist/templates/demo/charts/column-chart/column-chart-sample.tsx +0 -75
- package/dist/templates/demo/charts/column-chart/column-chart-styled.tsx +0 -37
- package/dist/templates/demo/charts/doughnut-chart/doughnut-chart-demo.tsx +0 -32
- package/dist/templates/demo/charts/doughnut-chart/doughnut-chart-large.tsx +0 -36
- package/dist/templates/demo/charts/doughnut-chart/doughnut-chart-sample.tsx +0 -40
- package/dist/templates/demo/charts/doughnut-chart/doughnut-chart-styled.tsx +0 -35
- package/dist/templates/demo/charts/heatmap-chart/heatmap-chart-demo.tsx +0 -41
- package/dist/templates/demo/charts/heatmap-chart/heatmap-chart-large.tsx +0 -66
- package/dist/templates/demo/charts/heatmap-chart/heatmap-chart-sample.tsx +0 -42
- package/dist/templates/demo/charts/heatmap-chart/heatmap-chart-styled.tsx +0 -43
- package/dist/templates/demo/charts/line-chart/line-chart-demo.tsx +0 -34
- package/dist/templates/demo/charts/line-chart/line-chart-interactive.tsx +0 -35
- package/dist/templates/demo/charts/line-chart/line-chart-minimal.tsx +0 -28
- package/dist/templates/demo/charts/line-chart/line-chart-styled.tsx +0 -51
- package/dist/templates/demo/charts/pie-chart/pie-chart-demo.tsx +0 -31
- package/dist/templates/demo/charts/pie-chart/pie-chart-large.tsx +0 -31
- package/dist/templates/demo/charts/pie-chart/pie-chart-sample.tsx +0 -29
- package/dist/templates/demo/charts/pie-chart/pie-chart-styled.tsx +0 -35
- package/dist/templates/demo/charts/polar-area-chart/polar-area-chart-demo.tsx +0 -31
- package/dist/templates/demo/charts/polar-area-chart/polar-area-chart-large.tsx +0 -37
- package/dist/templates/demo/charts/polar-area-chart/polar-area-chart-sample.tsx +0 -44
- package/dist/templates/demo/charts/polar-area-chart/polar-area-chart-styled.tsx +0 -37
- package/dist/templates/demo/charts/progress-ring-chart/progress-ring-chart-demo.tsx +0 -25
- package/dist/templates/demo/charts/progress-ring-chart/progress-ring-chart-large.tsx +0 -26
- package/dist/templates/demo/charts/progress-ring-chart/progress-ring-chart-sample.tsx +0 -26
- package/dist/templates/demo/charts/progress-ring-chart/progress-ring-chart-styled.tsx +0 -26
- package/dist/templates/demo/charts/radar-chart/radar-chart-demo.tsx +0 -31
- package/dist/templates/demo/charts/radar-chart/radar-chart-large.tsx +0 -36
- package/dist/templates/demo/charts/radar-chart/radar-chart-sample.tsx +0 -31
- package/dist/templates/demo/charts/radar-chart/radar-chart-styled.tsx +0 -41
- package/dist/templates/demo/charts/radial-bar-chart/radial-bar-chart-demo.tsx +0 -29
- package/dist/templates/demo/charts/radial-bar-chart/radial-bar-chart-gradient.tsx +0 -40
- package/dist/templates/demo/charts/radial-bar-chart/radial-bar-chart-large.tsx +0 -32
- package/dist/templates/demo/charts/radial-bar-chart/radial-bar-chart-sample.tsx +0 -37
- package/dist/templates/demo/charts/scatter-chart/scatter-chart-demo.tsx +0 -34
- package/dist/templates/demo/charts/scatter-chart/scatter-chart-large.tsx +0 -39
- package/dist/templates/demo/charts/scatter-chart/scatter-chart-sample.tsx +0 -36
- package/dist/templates/demo/charts/scatter-chart/scatter-chart-styled.tsx +0 -42
- package/dist/templates/demo/charts/stacked-area-chart/stacked-area-chart-demo.tsx +0 -35
- package/dist/templates/demo/charts/stacked-area-chart/stacked-area-chart-large.tsx +0 -63
- package/dist/templates/demo/charts/stacked-area-chart/stacked-area-chart-sample.tsx +0 -36
- package/dist/templates/demo/charts/stacked-area-chart/stacked-area-chart-styled.tsx +0 -44
- package/dist/templates/demo/charts/stacked-bar-chart/stacked-bar-chart-demo.tsx +0 -33
- package/dist/templates/demo/charts/stacked-bar-chart/stacked-bar-chart-horizontal.tsx +0 -35
- package/dist/templates/demo/charts/stacked-bar-chart/stacked-bar-chart-large.tsx +0 -42
- package/dist/templates/demo/charts/stacked-bar-chart/stacked-bar-chart-styled.tsx +0 -43
- package/dist/templates/demo/charts/treemap-chart/treemap-chart-demo.tsx +0 -31
- package/dist/templates/demo/charts/treemap-chart/treemap-chart-large.tsx +0 -41
- package/dist/templates/demo/charts/treemap-chart/treemap-chart-sample.tsx +0 -33
- package/dist/templates/demo/charts/treemap-chart/treemap-chart-styled.tsx +0 -32
- package/dist/templates/demo/checkbox/checkbox-custom-styling.tsx +0 -34
- package/dist/templates/demo/checkbox/checkbox-demo.tsx +0 -14
- package/dist/templates/demo/checkbox/checkbox-group.tsx +0 -44
- package/dist/templates/demo/checkbox/checkbox-states.tsx +0 -37
- package/dist/templates/demo/checkbox/checkbox-with-error.tsx +0 -24
- package/dist/templates/demo/checkbox/checkbox-without-label.tsx +0 -8
- package/dist/templates/demo/collapsible/collapsible-demo.tsx +0 -16
- package/dist/templates/demo/collapsible/collapsible-faq.tsx +0 -45
- package/dist/templates/demo/collapsible/collapsible-multiple.tsx +0 -34
- package/dist/templates/demo/collapsible/collapsible-nested.tsx +0 -39
- package/dist/templates/demo/collapsible/collapsible-with-content.tsx +0 -53
- package/dist/templates/demo/color-picker/color-picker-colors.tsx +0 -36
- package/dist/templates/demo/color-picker/color-picker-demo.tsx +0 -17
- package/dist/templates/demo/color-picker/color-picker-disabled.tsx +0 -15
- package/dist/templates/demo/color-picker/color-picker-labeled.tsx +0 -84
- package/dist/templates/demo/color-picker/color-picker-palette.tsx +0 -54
- package/dist/templates/demo/color-picker/color-picker-sizes.tsx +0 -39
- package/dist/templates/demo/color-picker/color-picker-styled.tsx +0 -52
- package/dist/templates/demo/color-picker/color-swatch-demo.tsx +0 -46
- package/dist/templates/demo/combobox/combobox-demo.tsx +0 -44
- package/dist/templates/demo/combobox/combobox-disabled.tsx +0 -44
- package/dist/templates/demo/combobox/combobox-form.tsx +0 -91
- package/dist/templates/demo/combobox/combobox-groups.tsx +0 -51
- package/dist/templates/demo/combobox/combobox-large.tsx +0 -89
- package/dist/templates/demo/combobox/combobox-multiple.tsx +0 -48
- package/dist/templates/demo/combobox/combobox-search.tsx +0 -67
- package/dist/templates/demo/date-picker/date-picker-constraints.tsx +0 -51
- package/dist/templates/demo/date-picker/date-picker-datetime.tsx +0 -17
- package/dist/templates/demo/date-picker/date-picker-demo.tsx +0 -15
- package/dist/templates/demo/date-picker/date-picker-form.tsx +0 -96
- package/dist/templates/demo/date-picker/date-picker-formats.tsx +0 -39
- package/dist/templates/demo/date-picker/date-picker-range.tsx +0 -16
- package/dist/templates/demo/date-picker/date-picker-time.tsx +0 -30
- package/dist/templates/demo/date-picker/date-picker-variants.tsx +0 -37
- package/dist/templates/demo/file-picker/file-picker-controlled.tsx +0 -134
- package/dist/templates/demo/file-picker/file-picker-demo.tsx +0 -16
- package/dist/templates/demo/file-picker/file-picker-images.tsx +0 -30
- package/dist/templates/demo/file-picker/file-picker-info.tsx +0 -192
- package/dist/templates/demo/file-picker/file-picker-single.tsx +0 -35
- package/dist/templates/demo/file-picker/file-picker-styled.tsx +0 -78
- package/dist/templates/demo/file-picker/file-picker-validation.tsx +0 -61
- package/dist/templates/demo/gallery/gallery-controls.tsx +0 -85
- package/dist/templates/demo/gallery/gallery-demo.tsx +0 -66
- package/dist/templates/demo/gallery/gallery-grid.tsx +0 -109
- package/dist/templates/demo/gallery/gallery-info.tsx +0 -70
- package/dist/templates/demo/gallery/gallery-layouts.tsx +0 -109
- package/dist/templates/demo/gallery/gallery-overlay.tsx +0 -89
- package/dist/templates/demo/hello-wave/hello-wave-demo.tsx +0 -6
- package/dist/templates/demo/icon/icon-colors.tsx +0 -39
- package/dist/templates/demo/icon/icon-demo.tsx +0 -7
- package/dist/templates/demo/icon/icon-grid.tsx +0 -69
- package/dist/templates/demo/icon/icon-interactive.tsx +0 -66
- package/dist/templates/demo/icon/icon-sizes.tsx +0 -23
- package/dist/templates/demo/icon/icon-stroke.tsx +0 -34
- package/dist/templates/demo/icon/icon-themed.tsx +0 -57
- package/dist/templates/demo/image/image-content-fit.tsx +0 -67
- package/dist/templates/demo/image/image-demo.tsx +0 -12
- package/dist/templates/demo/image/image-error.tsx +0 -50
- package/dist/templates/demo/image/image-gallery.tsx +0 -65
- package/dist/templates/demo/image/image-loading.tsx +0 -50
- package/dist/templates/demo/image/image-responsive.tsx +0 -53
- package/dist/templates/demo/image/image-sizes.tsx +0 -54
- package/dist/templates/demo/image/image-variants.tsx +0 -46
- package/dist/templates/demo/input/input-demo.tsx +0 -9
- package/dist/templates/demo/input/input-disabled.tsx +0 -18
- package/dist/templates/demo/input/input-form.tsx +0 -159
- package/dist/templates/demo/input/input-grouped.tsx +0 -28
- package/dist/templates/demo/input/input-icons.tsx +0 -30
- package/dist/templates/demo/input/input-right-components.tsx +0 -65
- package/dist/templates/demo/input/input-validation.tsx +0 -39
- package/dist/templates/demo/input/input-variants.tsx +0 -23
- package/dist/templates/demo/input-otp/input-otp-demo.tsx +0 -17
- package/dist/templates/demo/input-otp/input-otp-disabled.tsx +0 -40
- package/dist/templates/demo/input-otp/input-otp-error.tsx +0 -71
- package/dist/templates/demo/input-otp/input-otp-lengths.tsx +0 -25
- package/dist/templates/demo/input-otp/input-otp-masked.tsx +0 -42
- package/dist/templates/demo/input-otp/input-otp-no-cursor.tsx +0 -39
- package/dist/templates/demo/input-otp/input-otp-separator.tsx +0 -61
- package/dist/templates/demo/input-otp/input-otp-styled.tsx +0 -67
- package/dist/templates/demo/link/link-browser.tsx +0 -36
- package/dist/templates/demo/link/link-buttons.tsx +0 -65
- package/dist/templates/demo/link/link-custom.tsx +0 -42
- package/dist/templates/demo/link/link-demo.tsx +0 -13
- package/dist/templates/demo/link/link-external.tsx +0 -13
- package/dist/templates/demo/link/link-styled.tsx +0 -72
- package/dist/templates/demo/link/link-types.tsx +0 -45
- package/dist/templates/demo/media-picker/media-picker-demo.tsx +0 -16
- package/dist/templates/demo/media-picker/media-picker-gallery.tsx +0 -21
- package/dist/templates/demo/media-picker/media-picker-images.tsx +0 -17
- package/dist/templates/demo/media-picker/media-picker-multiple.tsx +0 -31
- package/dist/templates/demo/media-picker/media-picker-preview.tsx +0 -39
- package/dist/templates/demo/media-picker/media-picker-quality.tsx +0 -62
- package/dist/templates/demo/media-picker/media-picker-videos.tsx +0 -17
- package/dist/templates/demo/mode-toggle/mode-toggle-demo.tsx +0 -6
- package/dist/templates/demo/onboarding/onboarding-custom-buttons.tsx +0 -41
- package/dist/templates/demo/onboarding/onboarding-demo.tsx +0 -114
- package/dist/templates/demo/onboarding/onboarding-hook.tsx +0 -97
- package/dist/templates/demo/onboarding/onboarding-images.tsx +0 -70
- package/dist/templates/demo/onboarding/onboarding-no-skip.tsx +0 -62
- package/dist/templates/demo/onboarding/onboarding-no-swipe.tsx +0 -68
- package/dist/templates/demo/onboarding/onboarding-styled.tsx +0 -70
- package/dist/templates/demo/parallax-scrollview/parallax-scrollview-article.tsx +0 -180
- package/dist/templates/demo/parallax-scrollview/parallax-scrollview-custom-height.tsx +0 -44
- package/dist/templates/demo/parallax-scrollview/parallax-scrollview-demo.tsx +0 -39
- package/dist/templates/demo/parallax-scrollview/parallax-scrollview-gradient.tsx +0 -77
- package/dist/templates/demo/parallax-scrollview/parallax-scrollview-product.tsx +0 -181
- package/dist/templates/demo/parallax-scrollview/parallax-scrollview-profile.tsx +0 -144
- package/dist/templates/demo/picker/picker-advanced.tsx +0 -82
- package/dist/templates/demo/picker/picker-demo.tsx +0 -22
- package/dist/templates/demo/picker/picker-form.tsx +0 -81
- package/dist/templates/demo/picker/picker-multiple.tsx +0 -26
- package/dist/templates/demo/picker/picker-searchable.tsx +0 -31
- package/dist/templates/demo/picker/picker-sections.tsx +0 -35
- package/dist/templates/demo/picker/picker-styled.tsx +0 -63
- package/dist/templates/demo/picker/picker-variants.tsx +0 -60
- package/dist/templates/demo/popover/popover-alignment.tsx +0 -92
- package/dist/templates/demo/popover/popover-controlled.tsx +0 -53
- package/dist/templates/demo/popover/popover-custom.tsx +0 -79
- package/dist/templates/demo/popover/popover-demo.tsx +0 -39
- package/dist/templates/demo/popover/popover-form.tsx +0 -78
- package/dist/templates/demo/popover/popover-menu.tsx +0 -143
- package/dist/templates/demo/popover/popover-positioning.tsx +0 -62
- package/dist/templates/demo/progress/progress-animated.tsx +0 -71
- package/dist/templates/demo/progress/progress-demo.tsx +0 -6
- package/dist/templates/demo/progress/progress-heights.tsx +0 -35
- package/dist/templates/demo/progress/progress-interactive.tsx +0 -28
- package/dist/templates/demo/progress/progress-labels.tsx +0 -58
- package/dist/templates/demo/progress/progress-media.tsx +0 -120
- package/dist/templates/demo/progress/progress-steps.tsx +0 -137
- package/dist/templates/demo/radio/radio-demo.tsx +0 -18
- package/dist/templates/demo/radio/radio-disabled.tsx +0 -47
- package/dist/templates/demo/radio/radio-form.tsx +0 -82
- package/dist/templates/demo/radio/radio-horizontal.tsx +0 -19
- package/dist/templates/demo/radio/radio-large.tsx +0 -27
- package/dist/templates/demo/radio/radio-single.tsx +0 -36
- package/dist/templates/demo/radio/radio-styled.tsx +0 -77
- package/dist/templates/demo/scroll-view/scroll-view-demo.tsx +0 -37
- package/dist/templates/demo/scroll-view/scroll-view-horizontal.tsx +0 -57
- package/dist/templates/demo/scroll-view/scroll-view-indicators.tsx +0 -91
- package/dist/templates/demo/scroll-view/scroll-view-inset.tsx +0 -116
- package/dist/templates/demo/scroll-view/scroll-view-nested.tsx +0 -85
- package/dist/templates/demo/scroll-view/scroll-view-refresh.tsx +0 -81
- package/dist/templates/demo/scroll-view/scroll-view-styled.tsx +0 -91
- package/dist/templates/demo/scroll-view/scroll-view-vertical.tsx +0 -50
- package/dist/templates/demo/searchbar/searchbar-demo.tsx +0 -19
- package/dist/templates/demo/searchbar/searchbar-icons.tsx +0 -36
- package/dist/templates/demo/searchbar/searchbar-instant.tsx +0 -58
- package/dist/templates/demo/searchbar/searchbar-loading.tsx +0 -28
- package/dist/templates/demo/searchbar/searchbar-no-clear.tsx +0 -20
- package/dist/templates/demo/searchbar/searchbar-styled.tsx +0 -65
- package/dist/templates/demo/searchbar/searchbar-suggestions.tsx +0 -40
- package/dist/templates/demo/separator/separator-colors.tsx +0 -35
- package/dist/templates/demo/separator/separator-demo.tsx +0 -14
- package/dist/templates/demo/separator/separator-spacing.tsx +0 -26
- package/dist/templates/demo/separator/separator-thickness.tsx +0 -30
- package/dist/templates/demo/separator/separator-vertical.tsx +0 -21
- package/dist/templates/demo/share/share-callbacks.tsx +0 -61
- package/dist/templates/demo/share/share-custom-content.tsx +0 -53
- package/dist/templates/demo/share/share-demo.tsx +0 -22
- package/dist/templates/demo/share/share-hook.tsx +0 -71
- package/dist/templates/demo/share/share-icon-only.tsx +0 -42
- package/dist/templates/demo/share/share-sizes.tsx +0 -28
- package/dist/templates/demo/share/share-url-only.tsx +0 -24
- package/dist/templates/demo/share/share-variants.tsx +0 -38
- package/dist/templates/demo/sheet/sheet-demo.tsx +0 -38
- package/dist/templates/demo/sheet/sheet-filter.tsx +0 -191
- package/dist/templates/demo/sheet/sheet-form.tsx +0 -170
- package/dist/templates/demo/sheet/sheet-left.tsx +0 -39
- package/dist/templates/demo/sheet/sheet-navigation.tsx +0 -111
- package/dist/templates/demo/skeleton/skeleton-card.tsx +0 -39
- package/dist/templates/demo/skeleton/skeleton-demo.tsx +0 -6
- package/dist/templates/demo/skeleton/skeleton-list.tsx +0 -34
- package/dist/templates/demo/skeleton/skeleton-profile.tsx +0 -53
- package/dist/templates/demo/skeleton/skeleton-shapes.tsx +0 -44
- package/dist/templates/demo/skeleton/skeleton-sizes.tsx +0 -14
- package/dist/templates/demo/spinner/spinner-colors.tsx +0 -27
- package/dist/templates/demo/spinner/spinner-demo.tsx +0 -6
- package/dist/templates/demo/spinner/spinner-inline.tsx +0 -25
- package/dist/templates/demo/spinner/spinner-labels.tsx +0 -14
- package/dist/templates/demo/spinner/spinner-overlay.tsx +0 -31
- package/dist/templates/demo/spinner/spinner-sizes.tsx +0 -26
- package/dist/templates/demo/spinner/spinner-speeds.tsx +0 -25
- package/dist/templates/demo/spinner/spinner-variants.tsx +0 -27
- package/dist/templates/demo/switch/switch-colors.tsx +0 -33
- package/dist/templates/demo/switch/switch-demo.tsx +0 -14
- package/dist/templates/demo/switch/switch-disabled.tsx +0 -20
- package/dist/templates/demo/switch/switch-error.tsx +0 -24
- package/dist/templates/demo/switch/switch-settings.tsx +0 -42
- package/dist/templates/demo/switch/switch-simple.tsx +0 -8
- package/dist/templates/demo/table/table-custom-cells.tsx +0 -153
- package/dist/templates/demo/table/table-demo.tsx +0 -90
- package/dist/templates/demo/table/table-loading.tsx +0 -84
- package/dist/templates/demo/table/table-pagination.tsx +0 -114
- package/dist/templates/demo/table/table-search.tsx +0 -168
- package/dist/templates/demo/table/table-sortable.tsx +0 -119
- package/dist/templates/demo/tabs/tabs-demo.tsx +0 -85
- package/dist/templates/demo/tabs/tabs-disabled.tsx +0 -61
- package/dist/templates/demo/tabs/tabs-styled.tsx +0 -105
- package/dist/templates/demo/tabs/tabs-vertical.tsx +0 -61
- package/dist/templates/demo/text/text-colors.tsx +0 -40
- package/dist/templates/demo/text/text-demo.tsx +0 -19
- package/dist/templates/demo/text/text-variants.tsx +0 -60
- package/dist/templates/demo/toast/toast-actions.tsx +0 -51
- package/dist/templates/demo/toast/toast-compact.tsx +0 -66
- package/dist/templates/demo/toast/toast-demo.tsx +0 -18
- package/dist/templates/demo/toast/toast-duration.tsx +0 -68
- package/dist/templates/demo/toast/toast-multiple.tsx +0 -65
- package/dist/templates/demo/toast/toast-variants.tsx +0 -45
- package/dist/templates/demo/toggle/toggle-demo.tsx +0 -13
- package/dist/templates/demo/toggle/toggle-disabled.tsx +0 -23
- package/dist/templates/demo/toggle/toggle-group-multiple.tsx +0 -22
- package/dist/templates/demo/toggle/toggle-group-outline.tsx +0 -23
- package/dist/templates/demo/toggle/toggle-group-single.tsx +0 -22
- package/dist/templates/demo/toggle/toggle-group-vertical.tsx +0 -23
- package/dist/templates/demo/toggle/toggle-sizes.tsx +0 -20
- package/dist/templates/demo/toggle/toggle-text.tsx +0 -28
- package/dist/templates/demo/toggle/toggle-variants.tsx +0 -44
- package/dist/templates/demo/video/video-autoplay-loop.tsx +0 -22
- package/dist/templates/demo/video/video-content-fit.tsx +0 -47
- package/dist/templates/demo/video/video-custom-controls.tsx +0 -28
- package/dist/templates/demo/video/video-demo.tsx +0 -20
- package/dist/templates/demo/video/video-gestures.tsx +0 -34
- package/dist/templates/demo/video/video-native-controls.tsx +0 -20
- package/dist/templates/demo/video/video-sources.tsx +0 -39
- package/dist/templates/demo/video/video-subtitles.tsx +0 -29
- package/dist/templates/demo/view/view-demo.tsx +0 -17
- package/dist/templates/hooks/useBottomTabOverflow.ts +0 -6
- package/dist/templates/hooks/useColor.ts +0 -16
- package/dist/templates/hooks/useColorScheme.ts +0 -1
- package/dist/templates/hooks/useColorScheme.web.ts +0 -21
- package/dist/templates/hooks/useKeyboardHeight.ts +0 -131
- package/dist/templates/hooks/useModeToggle.tsx +0 -50
- package/dist/templates/hooks/useThemeColor.ts +0 -21
- package/dist/templates/start/README.md +0 -198
- package/dist/templates/start/app/(tabs)/(home)/_layout.tsx +0 -43
- package/dist/templates/start/app/(tabs)/(home)/index.tsx +0 -96
- package/dist/templates/start/app/(tabs)/_layout.tsx +0 -68
- package/dist/templates/start/app/(tabs)/_layout.web.tsx +0 -48
- package/dist/templates/start/app/(tabs)/search/_layout.tsx +0 -60
- package/dist/templates/start/app/(tabs)/search/index.tsx +0 -44
- package/dist/templates/start/app/(tabs)/settings/_layout.tsx +0 -42
- package/dist/templates/start/app/(tabs)/settings/index.tsx +0 -105
- package/dist/templates/start/app/+not-found.tsx +0 -24
- package/dist/templates/start/app/_layout.tsx +0 -90
- package/dist/templates/start/app/sheet.tsx +0 -1
- package/dist/templates/start/app.json +0 -50
- package/dist/templates/start/assets/images/icon.png +0 -0
- package/dist/templates/start/assets/images/splash.png +0 -0
- package/dist/templates/start/components/sheet.tsx +0 -79
- package/dist/templates/start/components/ui/avoid-keyboard.tsx +0 -49
- package/dist/templates/start/components/ui/button.tsx +0 -392
- package/dist/templates/start/components/ui/card.tsx +0 -110
- package/dist/templates/start/components/ui/icon.tsx +0 -34
- package/dist/templates/start/components/ui/input-otp.tsx +0 -302
- package/dist/templates/start/components/ui/input.tsx +0 -607
- package/dist/templates/start/components/ui/link.tsx +0 -143
- package/dist/templates/start/components/ui/mode-toggle.tsx +0 -55
- package/dist/templates/start/components/ui/scroll-view.tsx +0 -14
- package/dist/templates/start/components/ui/spinner.tsx +0 -462
- package/dist/templates/start/components/ui/tabs.tsx +0 -500
- package/dist/templates/start/components/ui/text.tsx +0 -86
- package/dist/templates/start/components/ui/view.tsx +0 -14
- package/dist/templates/start/eslint.config.js +0 -10
- package/dist/templates/start/hooks/useColor.ts +0 -16
- package/dist/templates/start/hooks/useColorScheme.ts +0 -1
- package/dist/templates/start/hooks/useColorScheme.web.ts +0 -21
- package/dist/templates/start/hooks/useKeyboardHeight.ts +0 -131
- package/dist/templates/start/hooks/useModeToggle.tsx +0 -88
- package/dist/templates/start/package.json +0 -58
- package/dist/templates/start/providers/search-context.tsx +0 -26
- package/dist/templates/start/theme/colors.ts +0 -184
- package/dist/templates/start/theme/globals.ts +0 -4
- package/dist/templates/start/theme/theme-provider.tsx +0 -59
- package/dist/templates/start/tsconfig.json +0 -17
- package/dist/templates/start-convex/README.md +0 -213
- package/dist/templates/start-convex/app/(tabs)/(home)/_layout.tsx +0 -43
- package/dist/templates/start-convex/app/(tabs)/(home)/index.tsx +0 -96
- package/dist/templates/start-convex/app/(tabs)/_layout.tsx +0 -68
- package/dist/templates/start-convex/app/(tabs)/_layout.web.tsx +0 -48
- package/dist/templates/start-convex/app/(tabs)/search/_layout.tsx +0 -60
- package/dist/templates/start-convex/app/(tabs)/search/index.tsx +0 -44
- package/dist/templates/start-convex/app/(tabs)/settings/_layout.tsx +0 -42
- package/dist/templates/start-convex/app/(tabs)/settings/index.tsx +0 -49
- package/dist/templates/start-convex/app/+not-found.tsx +0 -24
- package/dist/templates/start-convex/app/_layout.tsx +0 -136
- package/dist/templates/start-convex/app/sheet.tsx +0 -1
- package/dist/templates/start-convex/app.json +0 -51
- package/dist/templates/start-convex/assets/images/icon.png +0 -0
- package/dist/templates/start-convex/assets/images/splash.png +0 -0
- package/dist/templates/start-convex/components/auth/apple.tsx +0 -60
- package/dist/templates/start-convex/components/auth/auth.tsx +0 -127
- package/dist/templates/start-convex/components/auth/email-otp.tsx +0 -186
- package/dist/templates/start-convex/components/auth/google.tsx +0 -60
- package/dist/templates/start-convex/components/auth/password.tsx +0 -335
- package/dist/templates/start-convex/components/auth/singout.tsx +0 -36
- package/dist/templates/start-convex/components/sheet.tsx +0 -79
- package/dist/templates/start-convex/components/ui/avoid-keyboard.tsx +0 -49
- package/dist/templates/start-convex/components/ui/button.tsx +0 -392
- package/dist/templates/start-convex/components/ui/card.tsx +0 -110
- package/dist/templates/start-convex/components/ui/icon.tsx +0 -34
- package/dist/templates/start-convex/components/ui/input-otp.tsx +0 -302
- package/dist/templates/start-convex/components/ui/input.tsx +0 -607
- package/dist/templates/start-convex/components/ui/link.tsx +0 -143
- package/dist/templates/start-convex/components/ui/mode-toggle.tsx +0 -55
- package/dist/templates/start-convex/components/ui/scroll-view.tsx +0 -14
- package/dist/templates/start-convex/components/ui/spinner.tsx +0 -462
- package/dist/templates/start-convex/components/ui/tabs.tsx +0 -500
- package/dist/templates/start-convex/components/ui/text.tsx +0 -86
- package/dist/templates/start-convex/components/ui/view.tsx +0 -14
- package/dist/templates/start-convex/convex/README.md +0 -90
- package/dist/templates/start-convex/convex/_generated/api.d.ts +0 -61
- package/dist/templates/start-convex/convex/_generated/api.js +0 -23
- package/dist/templates/start-convex/convex/_generated/dataModel.d.ts +0 -60
- package/dist/templates/start-convex/convex/_generated/server.d.ts +0 -143
- package/dist/templates/start-convex/convex/_generated/server.js +0 -93
- package/dist/templates/start-convex/convex/auth.config.ts +0 -8
- package/dist/templates/start-convex/convex/auth.ts +0 -112
- package/dist/templates/start-convex/convex/http.ts +0 -8
- package/dist/templates/start-convex/convex/passwordReset.ts +0 -69
- package/dist/templates/start-convex/convex/resendOTP.ts +0 -60
- package/dist/templates/start-convex/convex/resendPasswordOTP.ts +0 -64
- package/dist/templates/start-convex/convex/router.ts +0 -5
- package/dist/templates/start-convex/convex/schema.ts +0 -23
- package/dist/templates/start-convex/convex/tsconfig.json +0 -25
- package/dist/templates/start-convex/convex/users.ts +0 -111
- package/dist/templates/start-convex/eslint.config.js +0 -10
- package/dist/templates/start-convex/hooks/useColor.ts +0 -16
- package/dist/templates/start-convex/hooks/useColorScheme.ts +0 -1
- package/dist/templates/start-convex/hooks/useColorScheme.web.ts +0 -21
- package/dist/templates/start-convex/hooks/useKeyboardHeight.ts +0 -131
- package/dist/templates/start-convex/hooks/useModeToggle.tsx +0 -88
- package/dist/templates/start-convex/package.json +0 -64
- package/dist/templates/start-convex/providers/search-context.tsx +0 -26
- package/dist/templates/start-convex/theme/colors.ts +0 -184
- package/dist/templates/start-convex/theme/globals.ts +0 -4
- package/dist/templates/start-convex/theme/theme-provider.tsx +0 -59
- package/dist/templates/start-convex/tsconfig.json +0 -17
- package/dist/templates/theme/colors.ts +0 -205
- package/dist/templates/theme/globals.ts +0 -4
- package/dist/templates/theme/theme-provider.tsx +0 -52
- package/dist/utils/dependencies.d.ts +0 -7
- package/dist/utils/dependencies.js +0 -109
- package/dist/utils/filesystem.d.ts +0 -6
- package/dist/utils/filesystem.js +0 -72
- package/dist/utils/git.d.ts +0 -2
- package/dist/utils/git.js +0 -33
- package/dist/utils/logger.d.ts +0 -11
- package/dist/utils/logger.js +0 -43
- package/dist/utils/package-manager.d.ts +0 -8
- package/dist/utils/package-manager.js +0 -128
- package/dist/utils/project-config.d.ts +0 -2
- package/dist/utils/project-config.js +0 -46
- package/dist/utils/registry.d.ts +0 -17
- package/dist/utils/registry.js +0 -181
- package/dist/utils/validation.d.ts +0 -16
- package/dist/utils/validation.js +0 -84
|
@@ -0,0 +1,1311 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Statusline Configuration Generator
|
|
3
|
+
* Creates statusline configuration for V3 progress display
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Generate statusline configuration script
|
|
7
|
+
* Matches the advanced format:
|
|
8
|
+
* β KynjalFlow V3 β user β β v3 β Opus 4.5
|
|
9
|
+
* βββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
|
10
|
+
* ποΈ DDD Domains [βββββ] 5/5 β‘ HNSW 12500x (or π 22.9k patterns)
|
|
11
|
+
* π€ Swarm β [12/15] π₯ 0 π’ CVE 3/3 πΎ 5177MB π 56% π§ 30%
|
|
12
|
+
* π§ Architecture DDD β100% β Security βCLEAN β Memory βAgentDB β Integration β
|
|
13
|
+
*/
|
|
14
|
+
export function generateStatuslineScript(options) {
|
|
15
|
+
const config = options.statusline;
|
|
16
|
+
// Generate CommonJS script - use .cjs extension for ES module project compatibility
|
|
17
|
+
return `#!/usr/bin/env node
|
|
18
|
+
/**
|
|
19
|
+
* KynjalFlow V3 Statusline Generator
|
|
20
|
+
* Displays real-time V3 implementation progress and system status
|
|
21
|
+
*
|
|
22
|
+
* Usage: node statusline.cjs [--json] [--compact]
|
|
23
|
+
*
|
|
24
|
+
* IMPORTANT: This file uses .cjs extension to work in ES module projects.
|
|
25
|
+
* The require() syntax is intentional for CommonJS compatibility.
|
|
26
|
+
*/
|
|
27
|
+
|
|
28
|
+
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
29
|
+
const fs = require('fs');
|
|
30
|
+
const path = require('path');
|
|
31
|
+
const { execSync } = require('child_process');
|
|
32
|
+
|
|
33
|
+
// Configuration
|
|
34
|
+
const CONFIG = {
|
|
35
|
+
enabled: ${config.enabled},
|
|
36
|
+
showProgress: ${config.showProgress},
|
|
37
|
+
showSecurity: ${config.showSecurity},
|
|
38
|
+
showSwarm: ${config.showSwarm},
|
|
39
|
+
showHooks: ${config.showHooks},
|
|
40
|
+
showPerformance: ${config.showPerformance},
|
|
41
|
+
refreshInterval: ${config.refreshInterval},
|
|
42
|
+
maxAgents: ${options.runtime.maxAgents},
|
|
43
|
+
topology: '${options.runtime.topology}',
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
// ANSI colors
|
|
47
|
+
const c = {
|
|
48
|
+
reset: '\\x1b[0m',
|
|
49
|
+
bold: '\\x1b[1m',
|
|
50
|
+
dim: '\\x1b[2m',
|
|
51
|
+
red: '\\x1b[0;31m',
|
|
52
|
+
green: '\\x1b[0;32m',
|
|
53
|
+
yellow: '\\x1b[0;33m',
|
|
54
|
+
blue: '\\x1b[0;34m',
|
|
55
|
+
purple: '\\x1b[0;35m',
|
|
56
|
+
cyan: '\\x1b[0;36m',
|
|
57
|
+
brightRed: '\\x1b[1;31m',
|
|
58
|
+
brightGreen: '\\x1b[1;32m',
|
|
59
|
+
brightYellow: '\\x1b[1;33m',
|
|
60
|
+
brightBlue: '\\x1b[1;34m',
|
|
61
|
+
brightPurple: '\\x1b[1;35m',
|
|
62
|
+
brightCyan: '\\x1b[1;36m',
|
|
63
|
+
brightWhite: '\\x1b[1;37m',
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
// Get user info
|
|
67
|
+
function getUserInfo() {
|
|
68
|
+
let name = 'user';
|
|
69
|
+
let gitBranch = '';
|
|
70
|
+
let modelName = 'π€ Claude Code';
|
|
71
|
+
|
|
72
|
+
try {
|
|
73
|
+
name = execSync('git config user.name 2>/dev/null || echo "user"', { encoding: 'utf-8' }).trim();
|
|
74
|
+
gitBranch = execSync('git branch --show-current 2>/dev/null || echo ""', { encoding: 'utf-8' }).trim();
|
|
75
|
+
} catch (e) {
|
|
76
|
+
// Ignore errors
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
// Auto-detect model from Claude Code's config
|
|
80
|
+
try {
|
|
81
|
+
const homedir = require('os').homedir();
|
|
82
|
+
const claudeConfigPath = path.join(homedir, '.claude.json');
|
|
83
|
+
if (fs.existsSync(claudeConfigPath)) {
|
|
84
|
+
const claudeConfig = JSON.parse(fs.readFileSync(claudeConfigPath, 'utf-8'));
|
|
85
|
+
// Try to find lastModelUsage - check current dir and parent dirs
|
|
86
|
+
let lastModelUsage = null;
|
|
87
|
+
const cwd = process.cwd();
|
|
88
|
+
if (claudeConfig.projects) {
|
|
89
|
+
// Try exact match first, then check if cwd starts with any project path
|
|
90
|
+
for (const [projectPath, projectConfig] of Object.entries(claudeConfig.projects)) {
|
|
91
|
+
if (cwd === projectPath || cwd.startsWith(projectPath + '/')) {
|
|
92
|
+
lastModelUsage = projectConfig.lastModelUsage;
|
|
93
|
+
break;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
if (lastModelUsage) {
|
|
98
|
+
const modelIds = Object.keys(lastModelUsage);
|
|
99
|
+
if (modelIds.length > 0) {
|
|
100
|
+
// Find the most recently used model by checking lastUsedAt timestamps
|
|
101
|
+
// or fall back to the last key in the object (preserves insertion order in modern JS)
|
|
102
|
+
let modelId = modelIds[modelIds.length - 1];
|
|
103
|
+
let latestTimestamp = 0;
|
|
104
|
+
|
|
105
|
+
for (const id of modelIds) {
|
|
106
|
+
const usage = lastModelUsage[id];
|
|
107
|
+
// Check for lastUsedAt timestamp (if available)
|
|
108
|
+
if (usage.lastUsedAt) {
|
|
109
|
+
const ts = new Date(usage.lastUsedAt).getTime();
|
|
110
|
+
if (ts > latestTimestamp) {
|
|
111
|
+
latestTimestamp = ts;
|
|
112
|
+
modelId = id;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
// Parse model ID to human-readable name
|
|
118
|
+
if (modelId.includes('opus')) modelName = 'Opus 4.5';
|
|
119
|
+
else if (modelId.includes('sonnet')) modelName = 'Sonnet 4';
|
|
120
|
+
else if (modelId.includes('haiku')) modelName = 'Haiku 4.5';
|
|
121
|
+
else modelName = modelId.split('-').slice(1, 3).join(' ');
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
} catch (e) {
|
|
126
|
+
// Fallback to Unknown if can't read config
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
// Fallback: check project's .claude/settings.json for model
|
|
130
|
+
if (modelName === 'Unknown') {
|
|
131
|
+
try {
|
|
132
|
+
const settingsPath = path.join(process.cwd(), '.claude', 'settings.json');
|
|
133
|
+
if (fs.existsSync(settingsPath)) {
|
|
134
|
+
const settings = JSON.parse(fs.readFileSync(settingsPath, 'utf-8'));
|
|
135
|
+
if (settings.model) {
|
|
136
|
+
if (settings.model.includes('opus')) modelName = 'Opus 4.5';
|
|
137
|
+
else if (settings.model.includes('sonnet')) modelName = 'Sonnet 4';
|
|
138
|
+
else if (settings.model.includes('haiku')) modelName = 'Haiku 4.5';
|
|
139
|
+
else modelName = settings.model.split('-').slice(1, 3).join(' ');
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
} catch (e) {
|
|
143
|
+
// Keep Unknown
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
return { name, gitBranch, modelName };
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
// Get learning stats from intelligence loop data (ADR-050)
|
|
151
|
+
function getLearningStats() {
|
|
152
|
+
let patterns = 0;
|
|
153
|
+
let sessions = 0;
|
|
154
|
+
let trajectories = 0;
|
|
155
|
+
let edges = 0;
|
|
156
|
+
let confidenceMean = 0;
|
|
157
|
+
let accessedCount = 0;
|
|
158
|
+
let trend = 'STABLE';
|
|
159
|
+
|
|
160
|
+
// PRIMARY: Read from intelligence loop data files
|
|
161
|
+
const dataDir = path.join(process.cwd(), '.claude-flow', 'data');
|
|
162
|
+
|
|
163
|
+
// 1. graph-state.json β authoritative node/edge counts
|
|
164
|
+
const graphPath = path.join(dataDir, 'graph-state.json');
|
|
165
|
+
if (fs.existsSync(graphPath)) {
|
|
166
|
+
try {
|
|
167
|
+
const graph = JSON.parse(fs.readFileSync(graphPath, 'utf-8'));
|
|
168
|
+
patterns = graph.nodes ? Object.keys(graph.nodes).length : 0;
|
|
169
|
+
edges = Array.isArray(graph.edges) ? graph.edges.length : 0;
|
|
170
|
+
} catch (e) { /* ignore */ }
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
// 2. ranked-context.json β confidence and access data
|
|
174
|
+
const rankedPath = path.join(dataDir, 'ranked-context.json');
|
|
175
|
+
if (fs.existsSync(rankedPath)) {
|
|
176
|
+
try {
|
|
177
|
+
const ranked = JSON.parse(fs.readFileSync(rankedPath, 'utf-8'));
|
|
178
|
+
if (ranked.entries && ranked.entries.length > 0) {
|
|
179
|
+
patterns = Math.max(patterns, ranked.entries.length);
|
|
180
|
+
let confSum = 0;
|
|
181
|
+
let accCount = 0;
|
|
182
|
+
for (let i = 0; i < ranked.entries.length; i++) {
|
|
183
|
+
confSum += (ranked.entries[i].confidence || 0);
|
|
184
|
+
if ((ranked.entries[i].accessCount || 0) > 0) accCount++;
|
|
185
|
+
}
|
|
186
|
+
confidenceMean = confSum / ranked.entries.length;
|
|
187
|
+
accessedCount = accCount;
|
|
188
|
+
}
|
|
189
|
+
} catch (e) { /* ignore */ }
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
// 3. intelligence-snapshot.json β trend history
|
|
193
|
+
const snapshotPath = path.join(dataDir, 'intelligence-snapshot.json');
|
|
194
|
+
if (fs.existsSync(snapshotPath)) {
|
|
195
|
+
try {
|
|
196
|
+
const snapshot = JSON.parse(fs.readFileSync(snapshotPath, 'utf-8'));
|
|
197
|
+
if (snapshot.history && snapshot.history.length >= 2) {
|
|
198
|
+
const first = snapshot.history[0];
|
|
199
|
+
const last = snapshot.history[snapshot.history.length - 1];
|
|
200
|
+
const confDrift = (last.confidenceMean || 0) - (first.confidenceMean || 0);
|
|
201
|
+
trend = confDrift > 0.01 ? 'IMPROVING' : confDrift < -0.01 ? 'DECLINING' : 'STABLE';
|
|
202
|
+
sessions = Math.max(sessions, snapshot.history.length);
|
|
203
|
+
}
|
|
204
|
+
} catch (e) { /* ignore */ }
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
// 4. auto-memory-store.json β fallback entry count
|
|
208
|
+
if (patterns === 0) {
|
|
209
|
+
const autoMemPath = path.join(dataDir, 'auto-memory-store.json');
|
|
210
|
+
if (fs.existsSync(autoMemPath)) {
|
|
211
|
+
try {
|
|
212
|
+
const data = JSON.parse(fs.readFileSync(autoMemPath, 'utf-8'));
|
|
213
|
+
patterns = Array.isArray(data) ? data.length : (data.entries ? data.entries.length : 0);
|
|
214
|
+
} catch (e) { /* ignore */ }
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
// FALLBACK: Legacy memory.db file-size estimation
|
|
219
|
+
if (patterns === 0) {
|
|
220
|
+
const memoryPaths = [
|
|
221
|
+
path.join(process.cwd(), '.swarm', 'memory.db'),
|
|
222
|
+
path.join(process.cwd(), '.claude-flow', 'memory.db'),
|
|
223
|
+
path.join(process.cwd(), '.claude', 'memory.db'),
|
|
224
|
+
path.join(process.cwd(), 'data', 'memory.db'),
|
|
225
|
+
path.join(process.cwd(), 'memory.db'),
|
|
226
|
+
path.join(process.cwd(), '.agentdb', 'memory.db'),
|
|
227
|
+
];
|
|
228
|
+
for (let j = 0; j < memoryPaths.length; j++) {
|
|
229
|
+
if (fs.existsSync(memoryPaths[j])) {
|
|
230
|
+
try {
|
|
231
|
+
const dbStats = fs.statSync(memoryPaths[j]);
|
|
232
|
+
patterns = Math.floor(dbStats.size / 1024 / 2);
|
|
233
|
+
break;
|
|
234
|
+
} catch (e) { /* ignore */ }
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
// Session count from session files
|
|
240
|
+
const sessionsPath = path.join(process.cwd(), '.claude', 'sessions');
|
|
241
|
+
if (fs.existsSync(sessionsPath)) {
|
|
242
|
+
try {
|
|
243
|
+
const sessionFiles = fs.readdirSync(sessionsPath).filter(f => f.endsWith('.json'));
|
|
244
|
+
sessions = Math.max(sessions, sessionFiles.length);
|
|
245
|
+
} catch (e) { /* ignore */ }
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
trajectories = Math.floor(patterns / 5);
|
|
249
|
+
|
|
250
|
+
return { patterns, sessions, trajectories, edges, confidenceMean, accessedCount, trend };
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
// Get V3 progress from REAL metrics files
|
|
254
|
+
function getV3Progress() {
|
|
255
|
+
const learning = getLearningStats();
|
|
256
|
+
const totalDomains = 5;
|
|
257
|
+
|
|
258
|
+
let dddProgress = 0;
|
|
259
|
+
let dddScore = 0;
|
|
260
|
+
let dddMaxScore = 100;
|
|
261
|
+
let moduleCount = 0;
|
|
262
|
+
|
|
263
|
+
// Check ddd-progress.json for REAL DDD analysis
|
|
264
|
+
const dddPath = path.join(process.cwd(), '.claude-flow', 'metrics', 'ddd-progress.json');
|
|
265
|
+
if (fs.existsSync(dddPath)) {
|
|
266
|
+
try {
|
|
267
|
+
const data = JSON.parse(fs.readFileSync(dddPath, 'utf-8'));
|
|
268
|
+
dddProgress = data.progress || 0;
|
|
269
|
+
dddScore = data.score || 0;
|
|
270
|
+
dddMaxScore = data.maxScore || 100;
|
|
271
|
+
moduleCount = data.modules ? Object.keys(data.modules).length : 0;
|
|
272
|
+
} catch (e) {
|
|
273
|
+
// Ignore - use fallback
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
// Calculate domains completed from DDD progress (each 20% = 1 domain)
|
|
278
|
+
let domainsCompleted = Math.min(5, Math.floor(dddProgress / 20));
|
|
279
|
+
|
|
280
|
+
// Fallback: if no DDD data, use pattern-based calculation
|
|
281
|
+
if (dddProgress === 0 && learning.patterns > 0) {
|
|
282
|
+
if (learning.patterns >= 500) domainsCompleted = 5;
|
|
283
|
+
else if (learning.patterns >= 200) domainsCompleted = 4;
|
|
284
|
+
else if (learning.patterns >= 100) domainsCompleted = 3;
|
|
285
|
+
else if (learning.patterns >= 50) domainsCompleted = 2;
|
|
286
|
+
else if (learning.patterns >= 10) domainsCompleted = 1;
|
|
287
|
+
dddProgress = Math.floor((domainsCompleted / totalDomains) * 100);
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
return {
|
|
291
|
+
domainsCompleted,
|
|
292
|
+
totalDomains,
|
|
293
|
+
dddProgress,
|
|
294
|
+
dddScore,
|
|
295
|
+
dddMaxScore,
|
|
296
|
+
moduleCount,
|
|
297
|
+
patternsLearned: learning.patterns,
|
|
298
|
+
sessionsCompleted: learning.sessions
|
|
299
|
+
};
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
// Get security status based on actual scans
|
|
303
|
+
function getSecurityStatus() {
|
|
304
|
+
const totalCves = 3;
|
|
305
|
+
let cvesFixed = 0;
|
|
306
|
+
|
|
307
|
+
// Check audit-status.json first (created by init)
|
|
308
|
+
const auditStatusPath = path.join(process.cwd(), '.claude-flow', 'security', 'audit-status.json');
|
|
309
|
+
if (fs.existsSync(auditStatusPath)) {
|
|
310
|
+
try {
|
|
311
|
+
const data = JSON.parse(fs.readFileSync(auditStatusPath, 'utf-8'));
|
|
312
|
+
return {
|
|
313
|
+
status: data.status || 'PENDING',
|
|
314
|
+
cvesFixed: data.cvesFixed || 0,
|
|
315
|
+
totalCves: data.totalCves || 3,
|
|
316
|
+
};
|
|
317
|
+
} catch (e) {
|
|
318
|
+
// Fall through to scan directory check
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
// Check for security scan results in memory
|
|
323
|
+
const scanResultsPath = path.join(process.cwd(), '.claude', 'security-scans');
|
|
324
|
+
if (fs.existsSync(scanResultsPath)) {
|
|
325
|
+
try {
|
|
326
|
+
const scans = fs.readdirSync(scanResultsPath).filter(f => f.endsWith('.json'));
|
|
327
|
+
// Each successful scan file = 1 CVE addressed
|
|
328
|
+
cvesFixed = Math.min(totalCves, scans.length);
|
|
329
|
+
} catch (e) {
|
|
330
|
+
// Ignore
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
// Also check .swarm/security for audit results
|
|
335
|
+
const swarmAuditPath = path.join(process.cwd(), '.swarm', 'security');
|
|
336
|
+
if (fs.existsSync(swarmAuditPath)) {
|
|
337
|
+
try {
|
|
338
|
+
const audits = fs.readdirSync(swarmAuditPath).filter(f => f.includes('audit'));
|
|
339
|
+
cvesFixed = Math.min(totalCves, Math.max(cvesFixed, audits.length));
|
|
340
|
+
} catch (e) {
|
|
341
|
+
// Ignore
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
const status = cvesFixed >= totalCves ? 'CLEAN' : cvesFixed > 0 ? 'IN_PROGRESS' : 'PENDING';
|
|
346
|
+
|
|
347
|
+
return {
|
|
348
|
+
status,
|
|
349
|
+
cvesFixed,
|
|
350
|
+
totalCves,
|
|
351
|
+
};
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
// Get swarm status (cross-platform)
|
|
355
|
+
function getSwarmStatus() {
|
|
356
|
+
let activeAgents = 0;
|
|
357
|
+
let coordinationActive = false;
|
|
358
|
+
|
|
359
|
+
// Check swarm-activity.json first (works on all platforms)
|
|
360
|
+
const activityPath = path.join(process.cwd(), '.claude-flow', 'metrics', 'swarm-activity.json');
|
|
361
|
+
if (fs.existsSync(activityPath)) {
|
|
362
|
+
try {
|
|
363
|
+
const data = JSON.parse(fs.readFileSync(activityPath, 'utf-8'));
|
|
364
|
+
if (data.swarm) {
|
|
365
|
+
return {
|
|
366
|
+
activeAgents: data.swarm.agent_count || 0,
|
|
367
|
+
maxAgents: CONFIG.maxAgents,
|
|
368
|
+
coordinationActive: data.swarm.coordination_active || data.swarm.active || false,
|
|
369
|
+
};
|
|
370
|
+
}
|
|
371
|
+
} catch (e) {
|
|
372
|
+
// Fall through to v3-progress.json check
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
// Also check v3-progress.json for swarm data (secondary source)
|
|
377
|
+
const progressPath = path.join(process.cwd(), '.claude-flow', 'metrics', 'v3-progress.json');
|
|
378
|
+
if (fs.existsSync(progressPath)) {
|
|
379
|
+
try {
|
|
380
|
+
const data = JSON.parse(fs.readFileSync(progressPath, 'utf-8'));
|
|
381
|
+
if (data.swarm) {
|
|
382
|
+
return {
|
|
383
|
+
activeAgents: data.swarm.activeAgents || data.swarm.agent_count || 0,
|
|
384
|
+
maxAgents: data.swarm.totalAgents || CONFIG.maxAgents,
|
|
385
|
+
coordinationActive: data.swarm.active || (data.swarm.activeAgents > 0),
|
|
386
|
+
};
|
|
387
|
+
}
|
|
388
|
+
} catch (e) {
|
|
389
|
+
// Fall through to process detection
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
// Platform-specific process detection (fallback)
|
|
394
|
+
const isWindows = process.platform === 'win32';
|
|
395
|
+
try {
|
|
396
|
+
if (isWindows) {
|
|
397
|
+
// Windows: use tasklist
|
|
398
|
+
const ps = execSync('tasklist /FI "IMAGENAME eq node.exe" /NH 2>nul || echo ""', { encoding: 'utf-8' });
|
|
399
|
+
const nodeProcesses = (ps.match(/node\\.exe/gi) || []).length;
|
|
400
|
+
activeAgents = Math.max(0, Math.floor(nodeProcesses / 3)); // Heuristic
|
|
401
|
+
coordinationActive = nodeProcesses > 0;
|
|
402
|
+
} else {
|
|
403
|
+
// Unix: use ps - check for various agent process patterns
|
|
404
|
+
try {
|
|
405
|
+
const ps = execSync('ps aux 2>/dev/null | grep -E "(agentic-flow|claude-flow|mcp.*server)" | grep -v grep | wc -l', { encoding: 'utf-8' });
|
|
406
|
+
activeAgents = Math.max(0, parseInt(ps.trim()));
|
|
407
|
+
coordinationActive = activeAgents > 0;
|
|
408
|
+
} catch (e) {
|
|
409
|
+
// Fallback to simple agentic-flow check
|
|
410
|
+
const ps = execSync('ps aux 2>/dev/null | grep -c agentic-flow || echo "0"', { encoding: 'utf-8' });
|
|
411
|
+
activeAgents = Math.max(0, parseInt(ps.trim()) - 1);
|
|
412
|
+
coordinationActive = activeAgents > 0;
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
} catch (e) {
|
|
416
|
+
// Ignore errors - return defaults
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
return {
|
|
420
|
+
activeAgents,
|
|
421
|
+
maxAgents: CONFIG.maxAgents,
|
|
422
|
+
coordinationActive,
|
|
423
|
+
};
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
// Get system metrics (cross-platform)
|
|
427
|
+
function getSystemMetrics() {
|
|
428
|
+
let memoryMB = 0;
|
|
429
|
+
let subAgents = 0;
|
|
430
|
+
|
|
431
|
+
// Check learning.json first for REAL intelligence metrics
|
|
432
|
+
const learningMetricsPath = path.join(process.cwd(), '.claude-flow', 'metrics', 'learning.json');
|
|
433
|
+
let intelligenceFromFile = null;
|
|
434
|
+
let contextFromFile = null;
|
|
435
|
+
if (fs.existsSync(learningMetricsPath)) {
|
|
436
|
+
try {
|
|
437
|
+
const data = JSON.parse(fs.readFileSync(learningMetricsPath, 'utf-8'));
|
|
438
|
+
// Use intelligence.score (the REAL metric) instead of routing.accuracy
|
|
439
|
+
if (data.intelligence?.score !== undefined) {
|
|
440
|
+
intelligenceFromFile = Math.min(100, Math.floor(data.intelligence.score));
|
|
441
|
+
}
|
|
442
|
+
if (data.sessions?.total !== undefined) {
|
|
443
|
+
contextFromFile = Math.min(100, data.sessions.total * 5);
|
|
444
|
+
}
|
|
445
|
+
} catch (e) {
|
|
446
|
+
// Fall through
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
// Platform-specific memory detection
|
|
451
|
+
const isWindows = process.platform === 'win32';
|
|
452
|
+
try {
|
|
453
|
+
if (isWindows) {
|
|
454
|
+
// Windows: use process.memoryUsage() (most reliable cross-platform)
|
|
455
|
+
memoryMB = Math.floor(process.memoryUsage().heapUsed / 1024 / 1024);
|
|
456
|
+
} else {
|
|
457
|
+
// Unix: try ps command, fallback to process.memoryUsage()
|
|
458
|
+
try {
|
|
459
|
+
const mem = execSync('ps aux | grep -E "(node|agentic|claude)" | grep -v grep | awk \\'{sum += \\$6} END {print int(sum/1024)}\\'', { encoding: 'utf-8' });
|
|
460
|
+
memoryMB = parseInt(mem.trim()) || 0;
|
|
461
|
+
} catch (e) {
|
|
462
|
+
memoryMB = Math.floor(process.memoryUsage().heapUsed / 1024 / 1024);
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
} catch (e) {
|
|
466
|
+
// Fallback to Node.js memory API
|
|
467
|
+
memoryMB = Math.floor(process.memoryUsage().heapUsed / 1024 / 1024);
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
// Get learning stats for intelligence %
|
|
471
|
+
const learning = getLearningStats();
|
|
472
|
+
|
|
473
|
+
// Also get AgentDB stats for fallback intelligence calculation
|
|
474
|
+
const agentdbStats = getAgentDBStats();
|
|
475
|
+
|
|
476
|
+
// Intelligence % β priority chain (ADR-050):
|
|
477
|
+
// 1. Intelligence loop data (confidenceMean + accessRatio + density)
|
|
478
|
+
// 2. learning.json file metric
|
|
479
|
+
// 3. Pattern count / vector count fallback
|
|
480
|
+
// 4. Project maturity fallback (below)
|
|
481
|
+
let intelligencePct = 0;
|
|
482
|
+
|
|
483
|
+
// Priority 1: Intelligence loop real data
|
|
484
|
+
if (learning.confidenceMean > 0 || (learning.patterns > 0 && learning.accessedCount > 0)) {
|
|
485
|
+
const confScore = Math.min(100, Math.floor(learning.confidenceMean * 100));
|
|
486
|
+
const accessRatio = learning.patterns > 0 ? (learning.accessedCount / learning.patterns) : 0;
|
|
487
|
+
const accessScore = Math.min(100, Math.floor(accessRatio * 100));
|
|
488
|
+
const densityScore = Math.min(100, Math.floor(learning.patterns / 5));
|
|
489
|
+
intelligencePct = Math.floor(confScore * 0.4 + accessScore * 0.3 + densityScore * 0.3);
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
// Priority 2: learning.json file metric
|
|
493
|
+
if (intelligencePct === 0 && intelligenceFromFile !== null) {
|
|
494
|
+
intelligencePct = intelligenceFromFile;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
// Priority 3: Pattern/vector count fallback
|
|
498
|
+
if (intelligencePct === 0) {
|
|
499
|
+
const fromPatterns = learning.patterns > 0 ? Math.min(100, Math.floor(learning.patterns / 10)) : 0;
|
|
500
|
+
const fromVectors = agentdbStats.vectorCount > 0 ? Math.min(100, Math.floor(agentdbStats.vectorCount / 100)) : 0;
|
|
501
|
+
intelligencePct = Math.max(fromPatterns, fromVectors);
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
// If still 0, use project maturity fallback
|
|
505
|
+
if (intelligencePct === 0) {
|
|
506
|
+
// Final fallback: estimate from project maturity indicators
|
|
507
|
+
let maturityScore = 0;
|
|
508
|
+
|
|
509
|
+
// Check git commit count (proxy for project development)
|
|
510
|
+
try {
|
|
511
|
+
const commitCount = parseInt(execSync('git rev-list --count HEAD 2>/dev/null || echo "0"', { encoding: 'utf-8' }).trim());
|
|
512
|
+
maturityScore += Math.min(30, Math.floor(commitCount / 10)); // Max 30% from commits
|
|
513
|
+
} catch (e) { /* ignore */ }
|
|
514
|
+
|
|
515
|
+
// Check for Claude session history
|
|
516
|
+
const sessionPaths = [
|
|
517
|
+
path.join(process.cwd(), '.claude', 'sessions'),
|
|
518
|
+
path.join(process.cwd(), '.claude-flow', 'sessions'),
|
|
519
|
+
];
|
|
520
|
+
for (const sessPath of sessionPaths) {
|
|
521
|
+
if (fs.existsSync(sessPath)) {
|
|
522
|
+
try {
|
|
523
|
+
const sessions = fs.readdirSync(sessPath).filter(f => f.endsWith('.json')).length;
|
|
524
|
+
maturityScore += Math.min(20, sessions * 2); // Max 20% from sessions
|
|
525
|
+
break;
|
|
526
|
+
} catch (e) { /* ignore */ }
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
// Check for source files (indicates codebase size)
|
|
531
|
+
try {
|
|
532
|
+
const srcDirs = ['src', 'lib', 'app', 'packages'];
|
|
533
|
+
for (const dir of srcDirs) {
|
|
534
|
+
const dirPath = path.join(process.cwd(), dir);
|
|
535
|
+
if (fs.existsSync(dirPath)) {
|
|
536
|
+
maturityScore += 15; // Base score for having source dir
|
|
537
|
+
break;
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
} catch (e) { /* ignore */ }
|
|
541
|
+
|
|
542
|
+
// Check for test files
|
|
543
|
+
try {
|
|
544
|
+
const testDirs = ['tests', 'test', '__tests__', 'spec'];
|
|
545
|
+
for (const dir of testDirs) {
|
|
546
|
+
const dirPath = path.join(process.cwd(), dir);
|
|
547
|
+
if (fs.existsSync(dirPath)) {
|
|
548
|
+
maturityScore += 10; // Bonus for having tests
|
|
549
|
+
break;
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
} catch (e) { /* ignore */ }
|
|
553
|
+
|
|
554
|
+
// Check for .claude directory (Claude Code usage)
|
|
555
|
+
if (fs.existsSync(path.join(process.cwd(), '.claude'))) {
|
|
556
|
+
maturityScore += 15; // Bonus for Claude Code integration
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
// Check for config files (project maturity)
|
|
560
|
+
const configFiles = ['package.json', 'tsconfig.json', 'pyproject.toml', 'Cargo.toml', 'go.mod'];
|
|
561
|
+
for (const cfg of configFiles) {
|
|
562
|
+
if (fs.existsSync(path.join(process.cwd(), cfg))) {
|
|
563
|
+
maturityScore += 5;
|
|
564
|
+
break;
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
intelligencePct = Math.min(100, maturityScore);
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
// Context % based on session history (0 sessions = 0%, grows with usage)
|
|
572
|
+
const contextPct = contextFromFile !== null
|
|
573
|
+
? contextFromFile
|
|
574
|
+
: Math.min(100, Math.floor(learning.sessions * 5));
|
|
575
|
+
|
|
576
|
+
// Count active sub-agents (cross-platform via metrics file)
|
|
577
|
+
const activityPath = path.join(process.cwd(), '.claude-flow', 'metrics', 'swarm-activity.json');
|
|
578
|
+
if (fs.existsSync(activityPath)) {
|
|
579
|
+
try {
|
|
580
|
+
const data = JSON.parse(fs.readFileSync(activityPath, 'utf-8'));
|
|
581
|
+
subAgents = data.processes?.estimated_agents || 0;
|
|
582
|
+
} catch (e) {
|
|
583
|
+
// Ignore
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
// Fallback to process detection on Unix only
|
|
588
|
+
if (subAgents === 0 && !isWindows) {
|
|
589
|
+
try {
|
|
590
|
+
const agents = execSync('ps aux 2>/dev/null | grep -c "claude-flow.*agent" || echo "0"', { encoding: 'utf-8' });
|
|
591
|
+
subAgents = Math.max(0, parseInt(agents.trim()) - 1);
|
|
592
|
+
} catch (e) {
|
|
593
|
+
// Ignore
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
return {
|
|
598
|
+
memoryMB,
|
|
599
|
+
contextPct,
|
|
600
|
+
intelligencePct,
|
|
601
|
+
subAgents,
|
|
602
|
+
};
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
// Get ADR (Architecture Decision Records) status from REAL compliance data
|
|
606
|
+
function getADRStatus() {
|
|
607
|
+
let compliance = 0;
|
|
608
|
+
let totalChecks = 0;
|
|
609
|
+
let compliantChecks = 0;
|
|
610
|
+
let checks = {};
|
|
611
|
+
|
|
612
|
+
// Check adr-compliance.json for REAL compliance data
|
|
613
|
+
const compliancePath = path.join(process.cwd(), '.claude-flow', 'metrics', 'adr-compliance.json');
|
|
614
|
+
if (fs.existsSync(compliancePath)) {
|
|
615
|
+
try {
|
|
616
|
+
const data = JSON.parse(fs.readFileSync(compliancePath, 'utf-8'));
|
|
617
|
+
compliance = data.compliance || 0;
|
|
618
|
+
checks = data.checks || {};
|
|
619
|
+
totalChecks = Object.keys(checks).length;
|
|
620
|
+
compliantChecks = Object.values(checks).filter(c => c.compliant).length;
|
|
621
|
+
return { count: totalChecks, implemented: compliantChecks, compliance };
|
|
622
|
+
} catch (e) {
|
|
623
|
+
// Fall through to file-based detection
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
// Fallback: count ADR files directly
|
|
628
|
+
const adrPaths = [
|
|
629
|
+
path.join(process.cwd(), 'docs', 'adrs'),
|
|
630
|
+
path.join(process.cwd(), 'docs', 'adr'),
|
|
631
|
+
path.join(process.cwd(), 'adr'),
|
|
632
|
+
path.join(process.cwd(), 'ADR'),
|
|
633
|
+
path.join(process.cwd(), '.claude-flow', 'adrs'),
|
|
634
|
+
path.join(process.cwd(), 'v3', 'implementation', 'adrs'),
|
|
635
|
+
path.join(process.cwd(), 'implementation', 'adrs'),
|
|
636
|
+
];
|
|
637
|
+
|
|
638
|
+
let count = 0;
|
|
639
|
+
let implemented = 0;
|
|
640
|
+
|
|
641
|
+
for (const adrPath of adrPaths) {
|
|
642
|
+
if (fs.existsSync(adrPath)) {
|
|
643
|
+
try {
|
|
644
|
+
const files = fs.readdirSync(adrPath).filter(f =>
|
|
645
|
+
f.endsWith('.md') && (f.startsWith('ADR-') || f.startsWith('adr-') || /^\\d{4}-/.test(f))
|
|
646
|
+
);
|
|
647
|
+
count = files.length;
|
|
648
|
+
|
|
649
|
+
for (const file of files) {
|
|
650
|
+
try {
|
|
651
|
+
const content = fs.readFileSync(path.join(adrPath, file), 'utf-8');
|
|
652
|
+
if (content.includes('Status: Implemented') || content.includes('status: implemented') ||
|
|
653
|
+
content.includes('Status: Accepted') || content.includes('status: accepted')) {
|
|
654
|
+
implemented++;
|
|
655
|
+
}
|
|
656
|
+
} catch (e) {
|
|
657
|
+
// Skip unreadable files
|
|
658
|
+
}
|
|
659
|
+
}
|
|
660
|
+
break;
|
|
661
|
+
} catch (e) {
|
|
662
|
+
// Ignore
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
compliance = count > 0 ? Math.floor((implemented / count) * 100) : 0;
|
|
668
|
+
return { count, implemented, compliance };
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
// Get hooks status (enabled/registered hooks)
|
|
672
|
+
function getHooksStatus() {
|
|
673
|
+
let enabled = 0;
|
|
674
|
+
let total = 17; // V3 has 17 hook types
|
|
675
|
+
|
|
676
|
+
// Check .claude/settings.json for hooks config
|
|
677
|
+
const settingsPaths = [
|
|
678
|
+
path.join(process.cwd(), '.claude', 'settings.json'),
|
|
679
|
+
path.join(process.cwd(), '.claude', 'settings.local.json'),
|
|
680
|
+
];
|
|
681
|
+
|
|
682
|
+
for (const settingsPath of settingsPaths) {
|
|
683
|
+
if (fs.existsSync(settingsPath)) {
|
|
684
|
+
try {
|
|
685
|
+
const settings = JSON.parse(fs.readFileSync(settingsPath, 'utf-8'));
|
|
686
|
+
if (settings.hooks) {
|
|
687
|
+
// Claude Code native hooks format: PreToolUse, PostToolUse, SessionStart, etc.
|
|
688
|
+
const hookCategories = Object.keys(settings.hooks);
|
|
689
|
+
for (const category of hookCategories) {
|
|
690
|
+
const categoryHooks = settings.hooks[category];
|
|
691
|
+
if (Array.isArray(categoryHooks) && categoryHooks.length > 0) {
|
|
692
|
+
// Count categories with at least one hook defined
|
|
693
|
+
enabled++;
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
break;
|
|
698
|
+
} catch (e) {
|
|
699
|
+
// Ignore parse errors
|
|
700
|
+
}
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
// Also check for hook files in .claude/hooks
|
|
705
|
+
const hooksDir = path.join(process.cwd(), '.claude', 'hooks');
|
|
706
|
+
if (fs.existsSync(hooksDir)) {
|
|
707
|
+
try {
|
|
708
|
+
const hookFiles = fs.readdirSync(hooksDir).filter(f => f.endsWith('.js') || f.endsWith('.sh'));
|
|
709
|
+
enabled = Math.max(enabled, hookFiles.length);
|
|
710
|
+
} catch (e) {
|
|
711
|
+
// Ignore
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
return { enabled, total };
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
// Get AgentDB memory stats
|
|
719
|
+
function getAgentDBStats() {
|
|
720
|
+
let vectorCount = 0;
|
|
721
|
+
let dbSizeKB = 0;
|
|
722
|
+
let namespaces = 0;
|
|
723
|
+
let hasHnsw = false;
|
|
724
|
+
|
|
725
|
+
// Check for database directories
|
|
726
|
+
const dbDirPaths = [
|
|
727
|
+
path.join(process.cwd(), '.claude-flow', 'agentdb'),
|
|
728
|
+
path.join(process.cwd(), '.swarm', 'agentdb'),
|
|
729
|
+
path.join(process.cwd(), 'data', 'agentdb'),
|
|
730
|
+
path.join(process.cwd(), '.claude', 'memory'),
|
|
731
|
+
path.join(process.cwd(), '.agentdb'),
|
|
732
|
+
];
|
|
733
|
+
|
|
734
|
+
// Check for direct database files (memory.db, etc.)
|
|
735
|
+
const dbFilePaths = [
|
|
736
|
+
path.join(process.cwd(), '.swarm', 'memory.db'),
|
|
737
|
+
path.join(process.cwd(), '.claude-flow', 'memory.db'),
|
|
738
|
+
path.join(process.cwd(), '.claude', 'memory.db'),
|
|
739
|
+
path.join(process.cwd(), 'data', 'memory.db'),
|
|
740
|
+
path.join(process.cwd(), 'memory.db'),
|
|
741
|
+
];
|
|
742
|
+
|
|
743
|
+
// Check for HNSW index files
|
|
744
|
+
const hnswPaths = [
|
|
745
|
+
path.join(process.cwd(), '.swarm', 'hnsw.index'),
|
|
746
|
+
path.join(process.cwd(), '.claude-flow', 'hnsw.index'),
|
|
747
|
+
path.join(process.cwd(), 'data', 'hnsw.index'),
|
|
748
|
+
];
|
|
749
|
+
|
|
750
|
+
// Check direct database files first
|
|
751
|
+
for (const dbFile of dbFilePaths) {
|
|
752
|
+
if (fs.existsSync(dbFile)) {
|
|
753
|
+
try {
|
|
754
|
+
const stats = fs.statSync(dbFile);
|
|
755
|
+
dbSizeKB = stats.size / 1024;
|
|
756
|
+
// Estimate vectors: ~2KB per vector for SQLite with embeddings
|
|
757
|
+
vectorCount = Math.floor(dbSizeKB / 2);
|
|
758
|
+
namespaces = 1;
|
|
759
|
+
break;
|
|
760
|
+
} catch (e) {
|
|
761
|
+
// Ignore
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
// Check database directories if no direct file found
|
|
767
|
+
if (vectorCount === 0) {
|
|
768
|
+
for (const dbPath of dbDirPaths) {
|
|
769
|
+
if (fs.existsSync(dbPath)) {
|
|
770
|
+
try {
|
|
771
|
+
const stats = fs.statSync(dbPath);
|
|
772
|
+
if (stats.isDirectory()) {
|
|
773
|
+
const files = fs.readdirSync(dbPath);
|
|
774
|
+
namespaces = files.filter(f => f.endsWith('.db') || f.endsWith('.sqlite')).length;
|
|
775
|
+
|
|
776
|
+
for (const file of files) {
|
|
777
|
+
const filePath = path.join(dbPath, file);
|
|
778
|
+
const fileStat = fs.statSync(filePath);
|
|
779
|
+
if (fileStat.isFile()) {
|
|
780
|
+
dbSizeKB += fileStat.size / 1024;
|
|
781
|
+
}
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
vectorCount = Math.floor(dbSizeKB / 2);
|
|
785
|
+
}
|
|
786
|
+
break;
|
|
787
|
+
} catch (e) {
|
|
788
|
+
// Ignore
|
|
789
|
+
}
|
|
790
|
+
}
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
// Check for HNSW index (indicates vector search capability)
|
|
795
|
+
for (const hnswPath of hnswPaths) {
|
|
796
|
+
if (fs.existsSync(hnswPath)) {
|
|
797
|
+
hasHnsw = true;
|
|
798
|
+
try {
|
|
799
|
+
const stats = fs.statSync(hnswPath);
|
|
800
|
+
// HNSW index: ~0.5KB per vector
|
|
801
|
+
const hnswVectors = Math.floor(stats.size / 1024 / 0.5);
|
|
802
|
+
vectorCount = Math.max(vectorCount, hnswVectors);
|
|
803
|
+
} catch (e) {
|
|
804
|
+
// Ignore
|
|
805
|
+
}
|
|
806
|
+
break;
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
// Also check for vectors.json (simple vector store)
|
|
811
|
+
const vectorsPath = path.join(process.cwd(), '.claude-flow', 'vectors.json');
|
|
812
|
+
if (fs.existsSync(vectorsPath) && vectorCount === 0) {
|
|
813
|
+
try {
|
|
814
|
+
const data = JSON.parse(fs.readFileSync(vectorsPath, 'utf-8'));
|
|
815
|
+
if (Array.isArray(data)) {
|
|
816
|
+
vectorCount = data.length;
|
|
817
|
+
} else if (data.vectors) {
|
|
818
|
+
vectorCount = Object.keys(data.vectors).length;
|
|
819
|
+
}
|
|
820
|
+
} catch (e) {
|
|
821
|
+
// Ignore
|
|
822
|
+
}
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
return { vectorCount, dbSizeKB: Math.floor(dbSizeKB), namespaces, hasHnsw };
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
// Get test statistics
|
|
829
|
+
function getTestStats() {
|
|
830
|
+
let testFiles = 0;
|
|
831
|
+
let testCases = 0;
|
|
832
|
+
|
|
833
|
+
const testDirs = [
|
|
834
|
+
path.join(process.cwd(), 'tests'),
|
|
835
|
+
path.join(process.cwd(), 'test'),
|
|
836
|
+
path.join(process.cwd(), '__tests__'),
|
|
837
|
+
path.join(process.cwd(), 'src', '__tests__'),
|
|
838
|
+
path.join(process.cwd(), 'v3', '__tests__'),
|
|
839
|
+
];
|
|
840
|
+
|
|
841
|
+
// Recursively count test files
|
|
842
|
+
function countTestFiles(dir, depth = 0) {
|
|
843
|
+
if (depth > 3) return; // Limit recursion
|
|
844
|
+
if (!fs.existsSync(dir)) return;
|
|
845
|
+
|
|
846
|
+
try {
|
|
847
|
+
const entries = fs.readdirSync(dir, { withFileTypes: true });
|
|
848
|
+
for (const entry of entries) {
|
|
849
|
+
if (entry.isDirectory() && !entry.name.startsWith('.') && entry.name !== 'node_modules') {
|
|
850
|
+
countTestFiles(path.join(dir, entry.name), depth + 1);
|
|
851
|
+
} else if (entry.isFile()) {
|
|
852
|
+
const name = entry.name;
|
|
853
|
+
if (name.includes('.test.') || name.includes('.spec.') ||
|
|
854
|
+
name.includes('_test.') || name.includes('_spec.') ||
|
|
855
|
+
name.startsWith('test_') || name.startsWith('spec_')) {
|
|
856
|
+
testFiles++;
|
|
857
|
+
|
|
858
|
+
// Try to estimate test cases from file
|
|
859
|
+
try {
|
|
860
|
+
const content = fs.readFileSync(path.join(dir, name), 'utf-8');
|
|
861
|
+
// Count it(), test(), describe() patterns
|
|
862
|
+
const itMatches = (content.match(/\\bit\\s*\\(/g) || []).length;
|
|
863
|
+
const testMatches = (content.match(/\\btest\\s*\\(/g) || []).length;
|
|
864
|
+
testCases += itMatches + testMatches;
|
|
865
|
+
} catch (e) {
|
|
866
|
+
// Estimate 3 tests per file if can't read
|
|
867
|
+
testCases += 3;
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
}
|
|
872
|
+
} catch (e) {
|
|
873
|
+
// Ignore
|
|
874
|
+
}
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
for (const dir of testDirs) {
|
|
878
|
+
countTestFiles(dir);
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
// Also check src directory for colocated tests
|
|
882
|
+
const srcDir = path.join(process.cwd(), 'src');
|
|
883
|
+
if (fs.existsSync(srcDir)) {
|
|
884
|
+
countTestFiles(srcDir);
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
return { testFiles, testCases };
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
// Get integration status (MCP servers, external connections)
|
|
891
|
+
function getIntegrationStatus() {
|
|
892
|
+
let mcpServers = { total: 0, enabled: 0, names: [] };
|
|
893
|
+
let hasDatabase = false;
|
|
894
|
+
let hasCache = false;
|
|
895
|
+
let hasApi = false;
|
|
896
|
+
|
|
897
|
+
// Check for MCP servers in settings
|
|
898
|
+
const settingsPaths = [
|
|
899
|
+
path.join(process.cwd(), '.claude', 'settings.json'),
|
|
900
|
+
path.join(process.cwd(), '.claude', 'settings.local.json'),
|
|
901
|
+
];
|
|
902
|
+
|
|
903
|
+
for (const settingsPath of settingsPaths) {
|
|
904
|
+
if (fs.existsSync(settingsPath)) {
|
|
905
|
+
try {
|
|
906
|
+
const settings = JSON.parse(fs.readFileSync(settingsPath, 'utf-8'));
|
|
907
|
+
|
|
908
|
+
// Check mcpServers object
|
|
909
|
+
if (settings.mcpServers && typeof settings.mcpServers === 'object') {
|
|
910
|
+
const servers = Object.keys(settings.mcpServers);
|
|
911
|
+
mcpServers.total = servers.length;
|
|
912
|
+
mcpServers.names = servers;
|
|
913
|
+
|
|
914
|
+
// Check enabledMcpjsonServers for enabled count
|
|
915
|
+
if (settings.enabledMcpjsonServers && Array.isArray(settings.enabledMcpjsonServers)) {
|
|
916
|
+
mcpServers.enabled = settings.enabledMcpjsonServers.filter(s => servers.includes(s)).length;
|
|
917
|
+
} else {
|
|
918
|
+
mcpServers.enabled = mcpServers.total; // Assume all enabled if not specified
|
|
919
|
+
}
|
|
920
|
+
}
|
|
921
|
+
break;
|
|
922
|
+
} catch (e) { /* ignore */ }
|
|
923
|
+
}
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
// Also check .mcp.json or mcp.json
|
|
927
|
+
const mcpConfigPaths = [
|
|
928
|
+
path.join(process.cwd(), '.mcp.json'),
|
|
929
|
+
path.join(process.cwd(), 'mcp.json'),
|
|
930
|
+
path.join(require('os').homedir(), '.claude', 'mcp.json'),
|
|
931
|
+
];
|
|
932
|
+
|
|
933
|
+
for (const mcpPath of mcpConfigPaths) {
|
|
934
|
+
if (fs.existsSync(mcpPath) && mcpServers.total === 0) {
|
|
935
|
+
try {
|
|
936
|
+
const config = JSON.parse(fs.readFileSync(mcpPath, 'utf-8'));
|
|
937
|
+
if (config.mcpServers) {
|
|
938
|
+
const servers = Object.keys(config.mcpServers);
|
|
939
|
+
mcpServers.total = servers.length;
|
|
940
|
+
mcpServers.names = servers;
|
|
941
|
+
mcpServers.enabled = servers.length;
|
|
942
|
+
}
|
|
943
|
+
} catch (e) { /* ignore */ }
|
|
944
|
+
}
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
// Check for database (AgentDB, SQLite, etc.)
|
|
948
|
+
const dbPaths = [
|
|
949
|
+
path.join(process.cwd(), '.swarm', 'memory.db'),
|
|
950
|
+
path.join(process.cwd(), '.claude-flow', 'memory.db'),
|
|
951
|
+
path.join(process.cwd(), 'data', 'memory.db'),
|
|
952
|
+
];
|
|
953
|
+
hasDatabase = dbPaths.some(p => fs.existsSync(p));
|
|
954
|
+
|
|
955
|
+
// Check for cache
|
|
956
|
+
const cachePaths = [
|
|
957
|
+
path.join(process.cwd(), '.claude-flow', 'cache'),
|
|
958
|
+
path.join(process.cwd(), '.cache'),
|
|
959
|
+
path.join(process.cwd(), 'node_modules', '.cache'),
|
|
960
|
+
];
|
|
961
|
+
hasCache = cachePaths.some(p => fs.existsSync(p));
|
|
962
|
+
|
|
963
|
+
// Check for API configuration (env vars or config)
|
|
964
|
+
try {
|
|
965
|
+
hasApi = !!(process.env.ANTHROPIC_API_KEY || process.env.OPENAI_API_KEY);
|
|
966
|
+
} catch (e) { /* ignore */ }
|
|
967
|
+
|
|
968
|
+
return { mcpServers, hasDatabase, hasCache, hasApi };
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
// Get git status (uncommitted changes, untracked files) - cross-platform
|
|
972
|
+
function getGitStatus() {
|
|
973
|
+
let modified = 0;
|
|
974
|
+
let untracked = 0;
|
|
975
|
+
let staged = 0;
|
|
976
|
+
let ahead = 0;
|
|
977
|
+
let behind = 0;
|
|
978
|
+
const isWindows = process.platform === 'win32';
|
|
979
|
+
|
|
980
|
+
try {
|
|
981
|
+
// Get modified and staged counts - works on all platforms
|
|
982
|
+
const status = execSync('git status --porcelain', {
|
|
983
|
+
encoding: 'utf-8',
|
|
984
|
+
stdio: ['pipe', 'pipe', 'pipe'], // Suppress stderr
|
|
985
|
+
timeout: 5000,
|
|
986
|
+
});
|
|
987
|
+
const lines = status.trim().split('\\n').filter(l => l);
|
|
988
|
+
for (const line of lines) {
|
|
989
|
+
const code = line.substring(0, 2);
|
|
990
|
+
if (code.includes('M') || code.includes('D') || code.includes('R')) {
|
|
991
|
+
if (code[0] !== ' ') staged++;
|
|
992
|
+
if (code[1] !== ' ') modified++;
|
|
993
|
+
}
|
|
994
|
+
if (code.includes('?')) untracked++;
|
|
995
|
+
if (code.includes('A')) staged++;
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
// Get ahead/behind - may fail if no upstream
|
|
999
|
+
try {
|
|
1000
|
+
const abStatus = execSync('git rev-list --left-right --count HEAD...@{upstream}', {
|
|
1001
|
+
encoding: 'utf-8',
|
|
1002
|
+
stdio: ['pipe', 'pipe', 'pipe'],
|
|
1003
|
+
timeout: 5000,
|
|
1004
|
+
});
|
|
1005
|
+
const parts = abStatus.trim().split(/\\s+/);
|
|
1006
|
+
ahead = parseInt(parts[0]) || 0;
|
|
1007
|
+
behind = parseInt(parts[1]) || 0;
|
|
1008
|
+
} catch (e) { /* no upstream or error - that's ok */ }
|
|
1009
|
+
|
|
1010
|
+
} catch (e) {
|
|
1011
|
+
// Not a git repo or git not installed - return zeros
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
return { modified, untracked, staged, ahead, behind };
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
// Get session statistics
|
|
1018
|
+
function getSessionStats() {
|
|
1019
|
+
let sessionStart = null;
|
|
1020
|
+
let duration = '';
|
|
1021
|
+
let lastActivity = '';
|
|
1022
|
+
let operationsCount = 0;
|
|
1023
|
+
|
|
1024
|
+
// Check for session file
|
|
1025
|
+
const sessionPaths = [
|
|
1026
|
+
path.join(process.cwd(), '.claude-flow', 'session.json'),
|
|
1027
|
+
path.join(process.cwd(), '.claude', 'session.json'),
|
|
1028
|
+
];
|
|
1029
|
+
|
|
1030
|
+
for (const sessPath of sessionPaths) {
|
|
1031
|
+
if (fs.existsSync(sessPath)) {
|
|
1032
|
+
try {
|
|
1033
|
+
const data = JSON.parse(fs.readFileSync(sessPath, 'utf-8'));
|
|
1034
|
+
if (data.startTime) {
|
|
1035
|
+
sessionStart = new Date(data.startTime);
|
|
1036
|
+
const now = new Date();
|
|
1037
|
+
const diffMs = now.getTime() - sessionStart.getTime();
|
|
1038
|
+
const diffMins = Math.floor(diffMs / 60000);
|
|
1039
|
+
if (diffMins < 60) {
|
|
1040
|
+
duration = \`\${diffMins}m\`;
|
|
1041
|
+
} else {
|
|
1042
|
+
const hours = Math.floor(diffMins / 60);
|
|
1043
|
+
const mins = diffMins % 60;
|
|
1044
|
+
duration = \`\${hours}h\${mins}m\`;
|
|
1045
|
+
}
|
|
1046
|
+
}
|
|
1047
|
+
if (data.lastActivity) {
|
|
1048
|
+
const last = new Date(data.lastActivity);
|
|
1049
|
+
const now = new Date();
|
|
1050
|
+
const diffMs = now.getTime() - last.getTime();
|
|
1051
|
+
const diffMins = Math.floor(diffMs / 60000);
|
|
1052
|
+
if (diffMins < 1) lastActivity = 'now';
|
|
1053
|
+
else if (diffMins < 60) lastActivity = \`\${diffMins}m ago\`;
|
|
1054
|
+
else lastActivity = \`\${Math.floor(diffMins / 60)}h ago\`;
|
|
1055
|
+
}
|
|
1056
|
+
operationsCount = data.operationsCount || data.commandCount || 0;
|
|
1057
|
+
break;
|
|
1058
|
+
} catch (e) { /* ignore */ }
|
|
1059
|
+
}
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
// Fallback: check metrics for activity
|
|
1063
|
+
if (!duration) {
|
|
1064
|
+
const metricsPath = path.join(process.cwd(), '.claude-flow', 'metrics', 'activity.json');
|
|
1065
|
+
if (fs.existsSync(metricsPath)) {
|
|
1066
|
+
try {
|
|
1067
|
+
const data = JSON.parse(fs.readFileSync(metricsPath, 'utf-8'));
|
|
1068
|
+
operationsCount = data.totalOperations || 0;
|
|
1069
|
+
} catch (e) { /* ignore */ }
|
|
1070
|
+
}
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
return { duration, lastActivity, operationsCount };
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
// Get trend indicator based on change
|
|
1077
|
+
function getTrend(current, previous) {
|
|
1078
|
+
if (previous === null || previous === undefined) return '';
|
|
1079
|
+
if (current > previous) return \`\${c.brightGreen}β\${c.reset}\`;
|
|
1080
|
+
if (current < previous) return \`\${c.brightRed}β\${c.reset}\`;
|
|
1081
|
+
return \`\${c.dim}β\${c.reset}\`;
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
// Store previous values for trends (persisted between calls)
|
|
1085
|
+
let prevIntelligence = null;
|
|
1086
|
+
try {
|
|
1087
|
+
const trendPath = path.join(process.cwd(), '.claude-flow', '.trend-cache.json');
|
|
1088
|
+
if (fs.existsSync(trendPath)) {
|
|
1089
|
+
const data = JSON.parse(fs.readFileSync(trendPath, 'utf-8'));
|
|
1090
|
+
prevIntelligence = data.intelligence;
|
|
1091
|
+
}
|
|
1092
|
+
} catch (e) { /* ignore */ }
|
|
1093
|
+
|
|
1094
|
+
// Generate progress bar
|
|
1095
|
+
function progressBar(current, total) {
|
|
1096
|
+
const width = 5;
|
|
1097
|
+
const filled = Math.round((current / total) * width);
|
|
1098
|
+
const empty = width - filled;
|
|
1099
|
+
return '[' + '\\u25CF'.repeat(filled) + '\\u25CB'.repeat(empty) + ']';
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
// Generate full statusline
|
|
1103
|
+
function generateStatusline() {
|
|
1104
|
+
const user = getUserInfo();
|
|
1105
|
+
const progress = getV3Progress();
|
|
1106
|
+
const security = getSecurityStatus();
|
|
1107
|
+
const swarm = getSwarmStatus();
|
|
1108
|
+
const system = getSystemMetrics();
|
|
1109
|
+
const adrs = getADRStatus();
|
|
1110
|
+
const hooks = getHooksStatus();
|
|
1111
|
+
const agentdb = getAgentDBStats();
|
|
1112
|
+
const tests = getTestStats();
|
|
1113
|
+
const git = getGitStatus();
|
|
1114
|
+
const session = getSessionStats();
|
|
1115
|
+
const integration = getIntegrationStatus();
|
|
1116
|
+
const lines = [];
|
|
1117
|
+
|
|
1118
|
+
// Calculate intelligence trend
|
|
1119
|
+
const intellTrend = getTrend(system.intelligencePct, prevIntelligence);
|
|
1120
|
+
|
|
1121
|
+
// Save current values for next trend calculation
|
|
1122
|
+
try {
|
|
1123
|
+
const trendPath = path.join(process.cwd(), '.claude-flow', '.trend-cache.json');
|
|
1124
|
+
const trendDir = path.dirname(trendPath);
|
|
1125
|
+
if (!fs.existsSync(trendDir)) fs.mkdirSync(trendDir, { recursive: true });
|
|
1126
|
+
fs.writeFileSync(trendPath, JSON.stringify({ intelligence: system.intelligencePct, timestamp: Date.now() }));
|
|
1127
|
+
} catch (e) { /* ignore */ }
|
|
1128
|
+
|
|
1129
|
+
// Header Line with git changes indicator
|
|
1130
|
+
let header = \`\${c.bold}\${c.brightPurple}β KynjalFlow V3 \${c.reset}\`;
|
|
1131
|
+
header += \`\${swarm.coordinationActive ? c.brightCyan : c.dim}β \${c.brightCyan}\${user.name}\${c.reset}\`;
|
|
1132
|
+
if (user.gitBranch) {
|
|
1133
|
+
header += \` \${c.dim}β\${c.reset} \${c.brightBlue}β \${user.gitBranch}\${c.reset}\`;
|
|
1134
|
+
// Add git changes indicator
|
|
1135
|
+
const gitChanges = git.modified + git.staged + git.untracked;
|
|
1136
|
+
if (gitChanges > 0) {
|
|
1137
|
+
let gitIndicator = '';
|
|
1138
|
+
if (git.staged > 0) gitIndicator += \`\${c.brightGreen}+\${git.staged}\${c.reset}\`;
|
|
1139
|
+
if (git.modified > 0) gitIndicator += \`\${c.brightYellow}~\${git.modified}\${c.reset}\`;
|
|
1140
|
+
if (git.untracked > 0) gitIndicator += \`\${c.dim}?\${git.untracked}\${c.reset}\`;
|
|
1141
|
+
header += \` \${gitIndicator}\`;
|
|
1142
|
+
}
|
|
1143
|
+
// Add ahead/behind indicator
|
|
1144
|
+
if (git.ahead > 0 || git.behind > 0) {
|
|
1145
|
+
if (git.ahead > 0) header += \` \${c.brightGreen}β\${git.ahead}\${c.reset}\`;
|
|
1146
|
+
if (git.behind > 0) header += \` \${c.brightRed}β\${git.behind}\${c.reset}\`;
|
|
1147
|
+
}
|
|
1148
|
+
}
|
|
1149
|
+
header += \` \${c.dim}β\${c.reset} \${c.purple}\${user.modelName}\${c.reset}\`;
|
|
1150
|
+
// Add session duration if available
|
|
1151
|
+
if (session.duration) {
|
|
1152
|
+
header += \` \${c.dim}β\${c.reset} \${c.cyan}β± \${session.duration}\${c.reset}\`;
|
|
1153
|
+
}
|
|
1154
|
+
lines.push(header);
|
|
1155
|
+
|
|
1156
|
+
// Separator
|
|
1157
|
+
lines.push(\`\${c.dim}βββββββββββββββββββββββββββββββββββββββββββββββββββββ\${c.reset}\`);
|
|
1158
|
+
|
|
1159
|
+
// Line 1: DDD Domain Progress with dynamic performance indicator
|
|
1160
|
+
const domainsColor = progress.domainsCompleted >= 3 ? c.brightGreen : progress.domainsCompleted > 0 ? c.yellow : c.red;
|
|
1161
|
+
// Show HNSW speedup if enabled, otherwise show patterns learned
|
|
1162
|
+
let perfIndicator = '';
|
|
1163
|
+
if (agentdb.hasHnsw && agentdb.vectorCount > 0) {
|
|
1164
|
+
// HNSW enabled: show estimated speedup (150x-12500x based on vector count)
|
|
1165
|
+
const speedup = agentdb.vectorCount > 10000 ? '12500x' : agentdb.vectorCount > 1000 ? '150x' : '10x';
|
|
1166
|
+
perfIndicator = \`\${c.brightGreen}β‘ HNSW \${speedup}\${c.reset}\`;
|
|
1167
|
+
} else if (progress.patternsLearned > 0) {
|
|
1168
|
+
// Show patterns learned
|
|
1169
|
+
const patternsK = progress.patternsLearned >= 1000
|
|
1170
|
+
? \`\${(progress.patternsLearned / 1000).toFixed(1)}k\`
|
|
1171
|
+
: String(progress.patternsLearned);
|
|
1172
|
+
perfIndicator = \`\${c.brightYellow}π \${patternsK} patterns\${c.reset}\`;
|
|
1173
|
+
} else {
|
|
1174
|
+
// New project: show target
|
|
1175
|
+
perfIndicator = \`\${c.dim}β‘ target: 150x-12500x\${c.reset}\`;
|
|
1176
|
+
}
|
|
1177
|
+
lines.push(
|
|
1178
|
+
\`\${c.brightCyan}ποΈ DDD Domains\${c.reset} \${progressBar(progress.domainsCompleted, progress.totalDomains)} \` +
|
|
1179
|
+
\`\${domainsColor}\${progress.domainsCompleted}\${c.reset}/\${c.brightWhite}\${progress.totalDomains}\${c.reset} \` +
|
|
1180
|
+
perfIndicator
|
|
1181
|
+
);
|
|
1182
|
+
|
|
1183
|
+
// Line 2: Swarm + Hooks + CVE + Memory + Context + Intelligence
|
|
1184
|
+
const swarmIndicator = swarm.coordinationActive ? \`\${c.brightGreen}β\${c.reset}\` : \`\${c.dim}β\${c.reset}\`;
|
|
1185
|
+
const agentsColor = swarm.activeAgents > 0 ? c.brightGreen : c.red;
|
|
1186
|
+
let securityIcon = security.status === 'CLEAN' ? 'π’' : security.status === 'IN_PROGRESS' ? 'π‘' : 'π΄';
|
|
1187
|
+
let securityColor = security.status === 'CLEAN' ? c.brightGreen : security.status === 'IN_PROGRESS' ? c.brightYellow : c.brightRed;
|
|
1188
|
+
const hooksColor = hooks.enabled > 0 ? c.brightGreen : c.dim;
|
|
1189
|
+
|
|
1190
|
+
lines.push(
|
|
1191
|
+
\`\${c.brightYellow}π€ Swarm\${c.reset} \${swarmIndicator} [\${agentsColor}\${String(swarm.activeAgents).padStart(2)}\${c.reset}/\${c.brightWhite}\${swarm.maxAgents}\${c.reset}] \` +
|
|
1192
|
+
\`\${c.brightPurple}π₯ \${system.subAgents}\${c.reset} \` +
|
|
1193
|
+
\`\${c.brightBlue}πͺ \${hooksColor}\${hooks.enabled}\${c.reset}/\${c.brightWhite}\${hooks.total}\${c.reset} \` +
|
|
1194
|
+
\`\${securityIcon} \${securityColor}CVE \${security.cvesFixed}\${c.reset}/\${c.brightWhite}\${security.totalCves}\${c.reset} \` +
|
|
1195
|
+
\`\${c.brightCyan}πΎ \${system.memoryMB}MB\${c.reset} \` +
|
|
1196
|
+
\`\${system.intelligencePct >= 80 ? c.brightGreen : system.intelligencePct >= 40 ? c.brightYellow : c.dim}π§ \${String(system.intelligencePct).padStart(3)}%\${intellTrend}\${c.reset}\`
|
|
1197
|
+
);
|
|
1198
|
+
|
|
1199
|
+
// Line 3: Architecture status with ADRs, AgentDB, Tests
|
|
1200
|
+
const dddColor = progress.dddProgress >= 50 ? c.brightGreen : progress.dddProgress > 0 ? c.yellow : c.red;
|
|
1201
|
+
const adrColor = adrs.count > 0 ? (adrs.implemented === adrs.count ? c.brightGreen : c.yellow) : c.dim;
|
|
1202
|
+
const vectorColor = agentdb.vectorCount > 0 ? c.brightGreen : c.dim;
|
|
1203
|
+
const testColor = tests.testFiles > 0 ? c.brightGreen : c.dim;
|
|
1204
|
+
|
|
1205
|
+
// Show ADR compliance % if from real data, otherwise show count
|
|
1206
|
+
const adrDisplay = adrs.compliance > 0
|
|
1207
|
+
? \`\${adrColor}β\${adrs.compliance}%\${c.reset}\`
|
|
1208
|
+
: \`\${adrColor}β\${adrs.implemented}/\${adrs.count}\${c.reset}\`;
|
|
1209
|
+
|
|
1210
|
+
lines.push(
|
|
1211
|
+
\`\${c.brightPurple}π§ Architecture\${c.reset} \` +
|
|
1212
|
+
\`\${c.cyan}ADRs\${c.reset} \${adrDisplay} \${c.dim}β\${c.reset} \` +
|
|
1213
|
+
\`\${c.cyan}DDD\${c.reset} \${dddColor}β\${String(progress.dddProgress).padStart(3)}%\${c.reset} \${c.dim}β\${c.reset} \` +
|
|
1214
|
+
\`\${c.cyan}Security\${c.reset} \${securityColor}β\${security.status}\${c.reset}\`
|
|
1215
|
+
);
|
|
1216
|
+
|
|
1217
|
+
// Line 4: Memory, Vectors, Tests
|
|
1218
|
+
const hnswIndicator = agentdb.hasHnsw ? \`\${c.brightGreen}β‘\${c.reset}\` : '';
|
|
1219
|
+
const sizeDisplay = agentdb.dbSizeKB >= 1024
|
|
1220
|
+
? \`\${(agentdb.dbSizeKB / 1024).toFixed(1)}MB\`
|
|
1221
|
+
: \`\${agentdb.dbSizeKB}KB\`;
|
|
1222
|
+
// Build integration status string
|
|
1223
|
+
let integrationStr = '';
|
|
1224
|
+
if (integration.mcpServers.total > 0) {
|
|
1225
|
+
const mcpColor = integration.mcpServers.enabled === integration.mcpServers.total ? c.brightGreen :
|
|
1226
|
+
integration.mcpServers.enabled > 0 ? c.brightYellow : c.red;
|
|
1227
|
+
integrationStr += \`\${c.cyan}MCP\${c.reset} \${mcpColor}β\${integration.mcpServers.enabled}/\${integration.mcpServers.total}\${c.reset}\`;
|
|
1228
|
+
}
|
|
1229
|
+
if (integration.hasDatabase) {
|
|
1230
|
+
integrationStr += (integrationStr ? ' ' : '') + \`\${c.brightGreen}β\${c.reset}DB\`;
|
|
1231
|
+
}
|
|
1232
|
+
if (integration.hasApi) {
|
|
1233
|
+
integrationStr += (integrationStr ? ' ' : '') + \`\${c.brightGreen}β\${c.reset}API\`;
|
|
1234
|
+
}
|
|
1235
|
+
if (!integrationStr) {
|
|
1236
|
+
integrationStr = \`\${c.dim}βnone\${c.reset}\`;
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
lines.push(
|
|
1240
|
+
\`\${c.brightCyan}π AgentDB\${c.reset} \` +
|
|
1241
|
+
\`\${c.cyan}Vectors\${c.reset} \${vectorColor}β\${agentdb.vectorCount}\${hnswIndicator}\${c.reset} \${c.dim}β\${c.reset} \` +
|
|
1242
|
+
\`\${c.cyan}Size\${c.reset} \${c.brightWhite}\${sizeDisplay}\${c.reset} \${c.dim}β\${c.reset} \` +
|
|
1243
|
+
\`\${c.cyan}Tests\${c.reset} \${testColor}β\${tests.testFiles}\${c.reset} \${c.dim}(\${tests.testCases} cases)\${c.reset} \${c.dim}β\${c.reset} \` +
|
|
1244
|
+
integrationStr
|
|
1245
|
+
);
|
|
1246
|
+
|
|
1247
|
+
return lines.join('\\n');
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
// Generate JSON data
|
|
1251
|
+
function generateJSON() {
|
|
1252
|
+
return {
|
|
1253
|
+
user: getUserInfo(),
|
|
1254
|
+
v3Progress: getV3Progress(),
|
|
1255
|
+
security: getSecurityStatus(),
|
|
1256
|
+
swarm: getSwarmStatus(),
|
|
1257
|
+
system: getSystemMetrics(),
|
|
1258
|
+
adrs: getADRStatus(),
|
|
1259
|
+
hooks: getHooksStatus(),
|
|
1260
|
+
agentdb: getAgentDBStats(),
|
|
1261
|
+
tests: getTestStats(),
|
|
1262
|
+
performance: {
|
|
1263
|
+
flashAttentionTarget: '2.49x-7.47x',
|
|
1264
|
+
searchImprovement: '150x-12,500x',
|
|
1265
|
+
memoryReduction: '50-75%',
|
|
1266
|
+
},
|
|
1267
|
+
lastUpdated: new Date().toISOString(),
|
|
1268
|
+
};
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
// Main
|
|
1272
|
+
if (process.argv.includes('--json')) {
|
|
1273
|
+
console.log(JSON.stringify(generateJSON(), null, 2));
|
|
1274
|
+
} else if (process.argv.includes('--compact')) {
|
|
1275
|
+
console.log(JSON.stringify(generateJSON()));
|
|
1276
|
+
} else {
|
|
1277
|
+
console.log(generateStatusline());
|
|
1278
|
+
}
|
|
1279
|
+
`;
|
|
1280
|
+
}
|
|
1281
|
+
/**
|
|
1282
|
+
* Generate statusline hook for shell integration
|
|
1283
|
+
*/
|
|
1284
|
+
export function generateStatuslineHook(options) {
|
|
1285
|
+
if (!options.statusline.enabled) {
|
|
1286
|
+
return '# Statusline disabled';
|
|
1287
|
+
}
|
|
1288
|
+
return `# KynjalFlow V3 Statusline Hook
|
|
1289
|
+
# Add to your shell RC file (.bashrc, .zshrc, etc.)
|
|
1290
|
+
|
|
1291
|
+
# Function to get statusline
|
|
1292
|
+
claude_flow_statusline() {
|
|
1293
|
+
local statusline_script="\${CLAUDE_FLOW_DIR:-.claude}/helpers/statusline.cjs"
|
|
1294
|
+
if [ -f "$statusline_script" ]; then
|
|
1295
|
+
node "$statusline_script" 2>/dev/null || echo ""
|
|
1296
|
+
fi
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1299
|
+
# For bash PS1
|
|
1300
|
+
# export PS1='$(claude_flow_statusline) \\n\\$ '
|
|
1301
|
+
|
|
1302
|
+
# For zsh RPROMPT
|
|
1303
|
+
# export RPROMPT='$(claude_flow_statusline)'
|
|
1304
|
+
|
|
1305
|
+
# For starship (add to starship.toml)
|
|
1306
|
+
# [custom.claude_flow]
|
|
1307
|
+
# command = "node .claude/helpers/statusline.cjs 2>/dev/null"
|
|
1308
|
+
# when = "test -f .claude/helpers/statusline.cjs"
|
|
1309
|
+
`;
|
|
1310
|
+
}
|
|
1311
|
+
//# sourceMappingURL=statusline-generator.js.map
|