Files
ruflo/v3/@claude-flow/cli/package.json
T
rUvandClaude Opus 4.5 a929693511 feat(cli): Replace all mock implementations with real functionality
BREAKING: CLI commands now use real backends instead of hardcoded values

## Security (security.ts)
- Real `npm audit` scanning for CVE detection
- Code pattern scanning for secrets (API keys, AWS keys, GitHub tokens)
- Dangerous code pattern detection (eval, innerHTML, SQL injection)

## Performance (performance.ts)
- Real system metrics via process.memoryUsage(), process.cpuUsage()
- Real HNSW entry counts via getHNSWStatus()
- JSON and Prometheus export formats

## Neural (neural.ts)
- Real ReasoningBank pattern retrieval via findSimilarPatterns()
- Proper Pattern type field access (id, type, confidence, usageCount)

## Embeddings (embeddings.ts)
- Real SQLite entry counting via sql.js
- Real HNSW status integration
- File size estimation fallback

## Claims (claims.ts)
- Real claims-based authorization with config files
- Wildcard matching (e.g., "swarm:*" matches "swarm:create")
- Role-based access control with default policies

## Transfer Layer
- NEW: Google Cloud Storage support (gcs.ts) via gcloud CLI
- Real IPFS HTTP fetch with gateway fallbacks (download.ts)
- Real IPNS resolution with multiple gateways (discovery.ts)
- GCS as primary upload target, IPFS fallback (publish.ts)

Published as @claude-flow/cli@3.0.0-alpha.82

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 03:45:42 +00:00

60 lines
1.5 KiB
JSON

{
"name": "@claude-flow/cli",
"version": "3.0.0-alpha.82",
"type": "module",
"description": "CLI module - command parsing, prompts, output formatting",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"sideEffects": false,
"bin": {
"cli": "./bin/cli.js",
"claude-flow": "./bin/cli.js",
"claude-flow-mcp": "./bin/mcp-server.js"
},
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"import": "./dist/src/index.js"
},
"./ruvector": {
"types": "./dist/src/ruvector/index.d.ts",
"import": "./dist/src/ruvector/index.js"
},
"./ruvector/*": {
"types": "./dist/src/ruvector/*.d.ts",
"import": "./dist/src/ruvector/*.js"
},
"./mcp-tools": {
"types": "./dist/src/mcp-tools/index.d.ts",
"import": "./dist/src/mcp-tools/index.js"
}
},
"files": [
"dist",
"bin",
".claude",
"README.md"
],
"scripts": {
"build": "tsc",
"test": "vitest run",
"test:plugin-store": "npx tsx src/plugins/tests/standalone-test.ts",
"test:pattern-store": "npx tsx src/transfer/store/tests/standalone-test.ts",
"release": "npm version prerelease --preid=alpha && npm run publish:all",
"publish:all": "./scripts/publish.sh"
},
"devDependencies": {
"typescript": "^5.3.0",
"vitest": "^4.0.16"
},
"dependencies": {
"@claude-flow/shared": "^3.0.0-alpha.1",
"@claude-flow/aidefence": "^3.0.2",
"@claude-flow/embeddings": "^3.0.0-alpha.12"
},
"publishConfig": {
"access": "public",
"tag": "alpha"
}
}