-
Notifications
You must be signed in to change notification settings - Fork 126
Expand file tree
/
Copy pathpackage.json
More file actions
143 lines (143 loc) · 6.95 KB
/
Copy pathpackage.json
File metadata and controls
143 lines (143 loc) · 6.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
{
"name": "hypha",
"version": "1.0.1",
"private": true,
"description": "Harness-oriented agent system framework for production-grade LLM agent applications",
"main": "dist/apps/server/app.js",
"workspaces": [
"packages/*",
"apps/*"
],
"files": [
"dist",
"README.md"
],
"scripts": {
"dev": "npm run build:packages && ts-node -r dotenv/config -P apps/server/tsconfig.json apps/server/src/app.ts",
"build": "npm run build:packages && npm run build:server && npm run build:cli",
"build:packages": "tsc -b packages/core packages/storage packages/inference packages/fsm packages/kernel packages/harness packages/models packages/serving-cache packages/workcache packages/memory packages/tools packages/mcp packages/skills packages/domain packages/adapters-local packages/testing",
"build:server": "tsc -p apps/server/tsconfig.json",
"build:cli": "tsc -p apps/cli/tsconfig.json && node scripts/make-cli-executable.mjs",
"docs:api": "node scripts/generate-website-api-reference.mjs",
"audit": "node scripts/check-npm-audit.mjs",
"release:check:npm": "npm run build --workspaces --if-present && node scripts/check-npm-release.mjs",
"typecheck:release-example": "tsc -p examples/release-agent/tsconfig.json --noEmit",
"start": "node dist/apps/server/app.js",
"typecheck": "tsc -p tsconfig.typecheck.json --noEmit",
"typecheck:server": "tsc -p apps/server/tsconfig.json --noEmit",
"typecheck:cli": "tsc -p apps/cli/tsconfig.json --noEmit",
"typecheck:packages": "tsc -p tsconfig.typecheck.json --noEmit",
"test": "npm run test:unit && npm run test:packages && npm run test:integration",
"test:unit": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js --selectProjects unit --detectOpenHandles",
"test:audit-policy": "node --test scripts/check-npm-audit.test.mjs",
"test:packages": "vitest run",
"test:integration": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js --selectProjects integration --runInBand --detectOpenHandles",
"test:acceptance:memory-external": "HYPHA_MEMORY_EXTERNAL_ACCEPTANCE_MODE=required node --experimental-vm-modules ./node_modules/jest/bin/jest.js --selectProjects memory-external-acceptance --runInBand --detectOpenHandles",
"test:acceptance:memory-native": "HYPHA_TEST_NATIVE_PRODUCTION_TOPOLOGY=required node --experimental-vm-modules ./node_modules/jest/bin/jest.js --selectProjects memory-native-acceptance --runInBand --detectOpenHandles",
"test:acceptance:execution:postgres": "HYPHA_EXECUTION_ACCEPTANCE_SUITE=postgres vitest run --config vitest.execution-acceptance.config.ts --reporter=dot",
"test:acceptance:execution:s3": "HYPHA_EXECUTION_ACCEPTANCE_SUITE=s3 vitest run --config vitest.execution-acceptance.config.ts --reporter=dot",
"test:acceptance:execution:docker": "HYPHA_EXECUTION_ACCEPTANCE_SUITE=docker vitest run --config vitest.execution-acceptance.config.ts --reporter=dot",
"test:acceptance:execution:docker-restart": "HYPHA_EXECUTION_ACCEPTANCE_SUITE=docker-restart vitest run --config vitest.execution-acceptance.config.ts --reporter=dot",
"test:acceptance:execution:remote": "HYPHA_EXECUTION_ACCEPTANCE_SUITE=remote vitest run --config vitest.execution-acceptance.config.ts --reporter=dot",
"test:acceptance:execution:local": "npm run test:acceptance:execution:postgres && npm run test:acceptance:execution:s3 && npm run test:acceptance:execution:docker",
"test:acceptance:execution:online": "npm run test:acceptance:execution:remote",
"test:acceptance:execution:manual": "npm run test:acceptance:execution:docker-restart",
"test:acceptance:execution": "npm run test:acceptance:execution:local",
"test:acceptance:memory:local": "npm run test:acceptance:memory-native",
"test:acceptance:memory:online": "npm run test:acceptance:memory-external",
"test:acceptance:memory": "npm run test:acceptance:memory:local",
"test:acceptance:local": "npm run test:acceptance:memory:local && npm run test:acceptance:execution:local",
"test:acceptance:online": "npm run test:acceptance:memory:online && npm run test:acceptance:execution:online",
"test:acceptance:manual": "npm run test:acceptance:execution:manual",
"test:acceptance:all": "npm run test:acceptance:local && npm run test:acceptance:online && npm run test:acceptance:manual",
"test:acceptance": "npm run test:acceptance:local",
"test:release": "npm run lint && npm run typecheck && npm run build && npm run test && npm run test:acceptance",
"test:watch": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js --watch",
"test:coverage": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js --selectProjects unit integration --coverage --detectOpenHandles",
"lint": "eslint \"apps/**/*.ts\" \"packages/**/*.ts\" \"tests/**/*.ts\"",
"lint:fix": "eslint \"apps/**/*.ts\" \"packages/**/*.ts\" \"tests/**/*.ts\" --fix",
"format": "prettier --write \"apps/**/*.ts\" \"packages/**/*.ts\" \"tests/**/*.ts\"",
"cli": "ts-node -r dotenv/config -P apps/cli/tsconfig.json apps/cli/index.ts",
"prepare": "husky install"
},
"keywords": [
"ai",
"agent",
"llm",
"claude",
"openai",
"gemini",
"mcp",
"mongodb",
"redis"
],
"author": "",
"license": "Apache-2.0",
"dependencies": {
"@anthropic-ai/sdk": "^0.20.0",
"@google/generative-ai": "^0.2.0",
"@codesoul-co/hypha-workcache": "0.0.0",
"@modelcontextprotocol/sdk": "^1.30.0",
"ajv": "^8.20.0",
"ajv-formats": "^3.0.1",
"bcryptjs": "^2.4.3",
"better-sqlite3": "^11.10.0",
"chalk": "^5.6.2",
"commander": "^13.1.0",
"compression": "^1.7.4",
"cors": "^2.8.5",
"dayjs": "^1.11.0",
"dotenv": "^16.3.0",
"express": "^4.18.2",
"express-rate-limit": "^7.1.0",
"helmet": "^7.1.0",
"ioredis": "^5.3.0",
"joi": "^17.11.0",
"js-yaml": "^4.1.0",
"jsonwebtoken": "^9.0.2",
"lodash": "^4.17.21",
"minio": "8.0.7",
"mongoose": "^8.0.0",
"openai": "^4.28.0",
"pg": "8.22.0",
"pino": "^8.17.0",
"pino-pretty": "^10.3.0",
"typescript": "^5.3.0",
"uuid": "^11.1.1",
"winston": "^3.11.0",
"yaml": "^2.3.0",
"zod": "^3.22.0"
},
"devDependencies": {
"@types/bcryptjs": "^2.4.6",
"@types/compression": "^1.7.5",
"@types/cors": "^2.8.19",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.11",
"@types/js-yaml": "^4.0.9",
"@types/jsonwebtoken": "^9.0.5",
"@types/lodash": "^4.17.21",
"@types/node": "^20.19.41",
"@types/pg": "8.20.0",
"@types/supertest": "^7.2.0",
"@typescript-eslint/eslint-plugin": "8.55.0",
"@typescript-eslint/parser": "8.55.0",
"axios": "^1.14.0",
"eslint": "^8.57.1",
"husky": "^8.0.3",
"jest": "^29.7.0",
"lint-staged": "^15.2.0",
"prettier": "^3.1.0",
"supertest": "^7.2.2",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.2",
"vite": "^6.4.3",
"vitest": "^3.2.7"
},
"engines": {
"node": ">=22.0.0"
},
"overrides": {
"qs": "6.16.0"
}
}