Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
131 lines (131 loc) · 3.52 KB
/
Copy pathpackage.json
File metadata and controls
131 lines (131 loc) · 3.52 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
{
"name": "@falai/agent",
"packageManager": "bun@1.4.2",
"version": "4.0.6",
"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": "bun run build:esm && bun run build:cjs && bun run fix:cjs && bun run check:dist",
"build:esm": "tsc",
"build:cjs": "tsc --project tsconfig.cjs.json",
"fix:cjs": "echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
"check:dist": "node --input-type=module -e \"import './dist/index.js'\" && node -e \"require('./dist/cjs/index.js')\"",
"dev": "tsc --watch",
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.test.json",
"typecheck:examples": "tsc --noEmit --project examples/tsconfig.json",
"check:docs": "bun run scripts/check-docs-snippets.ts",
"eval:understand": "bun run scripts/eval/understand.ts",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"clean": "rm -rf dist",
"prebuild": "bun run clean",
"prepublishOnly": "bun run lint && bun run typecheck && bun run typecheck:examples && bun run check:docs && bun run build && bun run test",
"release:patch": "bun pm version patch && bun publish",
"release:minor": "bun pm version minor && bun publish",
"release:major": "bun pm version major && bun publish",
"release:alpha": "bun publish --tag alpha",
"release": "bun publish",
"test": "bun test tests/*.test.ts tests/scenarios/*.test.ts",
"eval:live": "bun run scripts/eval/live.ts",
"eval:exclusions": "bun run scripts/eval/exclusions.ts"
},
"keywords": [
"ai",
"agent",
"agentic",
"typescript",
"conversational",
"gemini",
"openai",
"anthropic",
"deepseek",
"llm",
"chatbot",
"framework",
"flows",
"schema",
"state-machine",
"automation"
],
"author": "Gustavo Salomé <gusnips>",
"license": "MIT",
"engines": {
"node": ">=22.12"
},
"devDependencies": {
"@eslint/js": "^9.17.0",
"@types/bun": "^1.4.2",
"@types/node": "^20.19.22",
"@types/pg": "^8.15.5",
"eslint": "^9.17.0",
"fast-check": "^4.5.3",
"typescript": "^5.3.3",
"typescript-eslint": "^8.18.2"
},
"dependencies": {
"@providerkit/core": "^0.26.2",
"loglevel": "^1.9.2"
},
"peerDependencies": {
"@opensearch-project/opensearch": "^2.0.0",
"@prisma/client": "^6.0.0",
"better-sqlite3": "^11.0.0 || ^12.0.0",
"ioredis": "^5.0.0",
"mongodb": "^6.0.0",
"pg": "^8.0.0"
},
"peerDependenciesMeta": {
"@prisma/client": {
"optional": true
},
"ioredis": {
"optional": true
},
"mongodb": {
"optional": true
},
"pg": {
"optional": true
},
"better-sqlite3": {
"optional": true
},
"@opensearch-project/opensearch": {
"optional": true
}
}
}