-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
133 lines (133 loc) · 3.17 KB
/
package.json
File metadata and controls
133 lines (133 loc) · 3.17 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
{
"name": "@falai/agent",
"version": "2.1.0",
"description": "Conversational state engine for TypeScript where the AI understands, but the code is in control",
"type": "module",
"main": "./dist/cjs/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
}
},
"files": [
"dist",
"src",
"docs",
"examples",
"README.md",
"LICENSE"
],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/falai-dev/agent.git"
},
"bugs": {
"url": "https://github.com/falai-dev/agent/issues"
},
"homepage": "https://falai.dev",
"scripts": {
"build": "npm run build:esm && npm run build:cjs && npm run fix:cjs",
"build:esm": "tsc",
"build:cjs": "tsc --project tsconfig.cjs.json",
"fix:cjs": "echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
"dev": "tsc --watch",
"typecheck": "tsc --noEmit",
"typecheck:examples": "tsc --noEmit --project examples/tsconfig.json",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"clean": "rm -rf dist",
"prebuild": "npm run clean",
"prepublishOnly": "npm run lint && npm run typecheck && npm run build && bun run test",
"release:patch": "npm version patch && npm publish",
"release:minor": "npm version minor && npm publish",
"release:major": "npm version major && npm publish",
"release:alpha": "npm publish --tag alpha",
"release": "npm publish",
"test": "bun test tests/*.test.ts",
"preinstall": "node preinstall.js"
},
"keywords": [
"ai",
"agent",
"agentic",
"typescript",
"conversational",
"gemini",
"openai",
"anthropic",
"llm",
"chatbot",
"framework",
"flows",
"schema",
"directives",
"signals"
],
"author": "Gustavo Salomé <gusnips>",
"license": "MIT",
"devDependencies": {
"@eslint/js": "^9.17.0",
"@types/bun": "^1.3.0",
"@types/node": "^20.19.22",
"eslint": "^9.17.0",
"fast-check": "^4.5.3",
"typescript": "^5.3.3",
"typescript-eslint": "^8.18.2",
"vitest": "^3.2.4"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.65.0",
"@google/genai": "^0.3.0",
"@types/pg": "^8.15.5",
"@types/redis": "^4.0.11",
"loglevel": "^1.9.2",
"openai": "^6.3.0"
},
"peerDependencies": {
"@opensearch-project/opensearch": "^2.0.0",
"@prisma/client": "^6.0.0",
"better-sqlite3": "^11.0.0 || ^12.0.0",
"ioredis": "",
"mongodb": "",
"mysql2": "^3.2.0",
"pg": ""
},
"peerDependenciesMeta": {
"@prisma/client": {
"optional": true
},
"ioredis": {
"optional": true
},
"redis": {
"optional": true
},
"mongodb": {
"optional": true
},
"pg": {
"optional": true
},
"mysql2": {
"optional": true
},
"better-sqlite3": {
"optional": true
},
"@opensearch-project/opensearch": {
"optional": true
}
}
}