Skip to content
This repository was archived by the owner on Jan 29, 2026. It is now read-only.

Commit 6b349ed

Browse files
authored
Fix critical installation issues preventing package deployment (#14)
1 parent 950228f commit 6b349ed

File tree

263 files changed

+25999
-56
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

263 files changed

+25999
-56
lines changed

.npmignore

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# .npmignore - Files to exclude from npm package
2+
# Note: dist/ is excluded from git but should be included in npm package
3+
4+
# Development files
5+
.github/
6+
.vscode/
7+
*.tgz
8+
9+
# Test files
10+
tests/
11+
coverage/
12+
*.test.js
13+
*.spec.js
14+
15+
# Documentation (optional, keep for now)
16+
# docs/
17+
18+
# Development configs
19+
.eslintrc*
20+
.prettierrc*
21+
jest.config.*
22+
babel.config.*
23+
tsconfig*.json
24+
25+
# Source maps (optional)
26+
# *.map
27+
28+
# Environment files
29+
.env*
30+
31+
# Logs
32+
*.log
33+
npm-debug.log*
34+
35+
# Dependencies (already in node_modules)
36+
node_modules/
37+
38+
# Temporary files
39+
tmp/
40+
.tmp/
41+
42+
# IDE files
43+
.idea/
44+
*.swp
45+
*.swo
46+
47+
# OS files
48+
.DS_Store
49+
Thumbs.db

package-lock.json

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,20 @@
44
"description": "Revolutionary AI agent swarm coordination platform with Google Services integration, multimedia processing, and production-ready monitoring. Features 8 Google AI services, quantum computing capabilities, and enterprise-grade security.",
55
"main": "index.js",
66
"type": "module",
7+
"bin": {
8+
"gemini-flow": "./bin/gemini-flow",
9+
"gf": "./bin/gemini-flow"
10+
},
711
"engines": {
8-
"node": ">=18.0.0"
12+
"node": ">=18.0.0 <=24.0.0",
13+
"npm": ">=8.0.0"
914
},
1015
"scripts": {
1116
"start": "node index.js",
1217
"dev": "nodemon index.js",
13-
"build": "npm run build:consensus && npm run build:benchmarks",
18+
"build": "npm run build:cli",
19+
"build:cli": "npx tsc --project tsconfig.cli.json || npx tsc --allowJs --target ES2020 --module ESNext --outDir dist src/cli/*.ts src/cli/**/*.ts",
20+
"build:full": "npm run build:consensus && npm run build:benchmarks",
1421
"build:consensus": "rollup -c rollup.consensus.config.js",
1522
"build:benchmarks": "rollup -c rollup.benchmarks.config.js",
1623
"test": "npm run test:unit && npm run test:integration && npm run test:performance",
@@ -59,7 +66,7 @@
5966
"docker:build": "docker build -t gemini-flow:latest .",
6067
"docker:run": "docker run -p 3000:3000 -p 8080:8080 gemini-flow:latest",
6168
"kubernetes:deploy": "kubectl apply -f k8s/",
62-
"postinstall": "node scripts/postinstall.js || true",
69+
"postinstall": "node scripts/postinstall.cjs || true",
6370
"prepare": "husky install || true"
6471
},
6572
"keywords": [

rollup.benchmarks.config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ const isProduction = process.env.NODE_ENV === 'production';
99

1010
export default {
1111
input: {
12-
'benchmark-runner': 'src/benchmarks/benchmark-runner.ts',
13-
'google-services-performance': 'src/benchmarks/google-services-performance.ts',
14-
'load-testing-coordinator': 'src/benchmarks/load-testing-coordinator.ts',
15-
'performance-optimization-strategies': 'src/benchmarks/performance-optimization-strategies.ts'
12+
'benchmark-runner': 'src/benchmarks/benchmark-runner.js',
13+
'google-services-performance': 'src/benchmarks/google-services-performance-framework.js',
14+
'load-testing-coordinator': 'src/benchmarks/load-testing-coordinator.js',
15+
'performance-optimization-strategies': 'src/benchmarks/performance-optimization-strategies.js'
1616
},
1717
output: [
1818
{

rollup.consensus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { visualizer } from 'rollup-plugin-visualizer';
88
const isProduction = process.env.NODE_ENV === 'production';
99

1010
export default {
11-
input: 'src/consensus/consensus-coordinator.ts',
11+
input: 'src/protocols/a2a/security/consensus-coordinator.ts',
1212
output: [
1313
{
1414
file: 'dist/consensus/consensus-coordinator.js',

scripts/postinstall.js

Lines changed: 0 additions & 43 deletions
This file was deleted.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/**
2+
* A2A Chaos Engineering Tests
3+
* Comprehensive fault tolerance validation through controlled failure injection
4+
*/
5+
export {};
6+
//# sourceMappingURL=chaos-engineering.test.d.ts.map

tests/a2a/compliance/chaos-engineering.test.d.ts.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)