@cef-ai/cli 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1273 -0
- package/dist/cli.d.ts +3 -0
- package/dist/cli.js +66 -0
- package/dist/commands/deploy/clone.d.ts +13 -0
- package/dist/commands/deploy/clone.js +143 -0
- package/dist/commands/deploy/delete.d.ts +14 -0
- package/dist/commands/deploy/delete.js +134 -0
- package/dist/commands/deploy/deploy.d.ts +24 -0
- package/dist/commands/deploy/deploy.js +654 -0
- package/dist/commands/deploy/index.d.ts +2 -0
- package/dist/commands/deploy/index.js +216 -0
- package/dist/commands/deploy/status.d.ts +14 -0
- package/dist/commands/deploy/status.js +61 -0
- package/dist/commands/dev/index.d.ts +2 -0
- package/dist/commands/dev/index.js +134 -0
- package/dist/commands/dev/server.d.ts +14 -0
- package/dist/commands/dev/server.js +167 -0
- package/dist/commands/dev/ui.d.ts +1 -0
- package/dist/commands/dev/ui.js +984 -0
- package/dist/commands/playground/index.d.ts +2 -0
- package/dist/commands/playground/index.js +75 -0
- package/dist/commands/playground/test.d.ts +15 -0
- package/dist/commands/playground/test.js +166 -0
- package/dist/commands/service/index.d.ts +2 -0
- package/dist/commands/service/index.js +75 -0
- package/dist/lib/api.d.ts +146 -0
- package/dist/lib/api.js +330 -0
- package/dist/lib/config.d.ts +12 -0
- package/dist/lib/config.js +120 -0
- package/dist/lib/runtime/agent-router.d.ts +12 -0
- package/dist/lib/runtime/agent-router.js +78 -0
- package/dist/lib/runtime/context-builder.d.ts +27 -0
- package/dist/lib/runtime/context-builder.js +166 -0
- package/dist/lib/runtime/cubby-manager.d.ts +20 -0
- package/dist/lib/runtime/cubby-manager.js +161 -0
- package/dist/lib/runtime/index.d.ts +51 -0
- package/dist/lib/runtime/index.js +183 -0
- package/dist/lib/runtime/log-collector.d.ts +17 -0
- package/dist/lib/runtime/log-collector.js +61 -0
- package/dist/lib/runtime/stream-manager.d.ts +10 -0
- package/dist/lib/runtime/stream-manager.js +77 -0
- package/dist/lib/runtime/types.d.ts +76 -0
- package/dist/lib/runtime/types.js +2 -0
- package/dist/lib/typecheck.d.ts +31 -0
- package/dist/lib/typecheck.js +175 -0
- package/dist/lib/types.d.ts +246 -0
- package/dist/lib/types.js +2 -0
- package/dist/lib/utils.d.ts +4 -0
- package/dist/lib/utils.js +33 -0
- package/example/.env.example +6 -0
- package/example/agents/object-detection/tasks/yolo.ts +28 -0
- package/example/agents/parking-violation-detector/tasks/detect.ts +326 -0
- package/example/cef.config.yaml +91 -0
- package/example/engagements/engagement.ts +902 -0
- package/package.json +69 -0
package/package.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@cef-ai/cli",
|
|
3
|
+
"version": "0.2.1",
|
|
4
|
+
"description": "CEF AI command-line interface",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"cef": "dist/cli.js",
|
|
8
|
+
"cef-deploy": "dist/cli.js"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"dist/",
|
|
12
|
+
"README.md",
|
|
13
|
+
"example/agents",
|
|
14
|
+
"example/engagements",
|
|
15
|
+
"example/queries",
|
|
16
|
+
"example/.env.example",
|
|
17
|
+
"example/cef.config.yaml"
|
|
18
|
+
],
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "https://github.com/CEF-AI/deploy-sdk"
|
|
22
|
+
},
|
|
23
|
+
"homepage": "https://github.com/CEF-AI/deploy-sdk#readme",
|
|
24
|
+
"keywords": [
|
|
25
|
+
"cef",
|
|
26
|
+
"cef-ai",
|
|
27
|
+
"deploy",
|
|
28
|
+
"cli",
|
|
29
|
+
"cere"
|
|
30
|
+
],
|
|
31
|
+
"scripts": {
|
|
32
|
+
"build": "tsc",
|
|
33
|
+
"prepublishOnly": "npm run build",
|
|
34
|
+
"test": "vitest run",
|
|
35
|
+
"test:watch": "vitest",
|
|
36
|
+
"test:coverage": "vitest run --coverage",
|
|
37
|
+
"test:integration": "vitest run --config vitest.integration.config.ts",
|
|
38
|
+
"test:e2e": "vitest run --config vitest.e2e.config.ts",
|
|
39
|
+
"typecheck": "tsc --noEmit",
|
|
40
|
+
"lint": "eslint src tests",
|
|
41
|
+
"dev": "tsx src/cli.ts"
|
|
42
|
+
},
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"better-sqlite3": "^12.8.0",
|
|
45
|
+
"chalk": "^5.6.2",
|
|
46
|
+
"commander": "^14.0.3",
|
|
47
|
+
"dotenv": "^16.4.5",
|
|
48
|
+
"ora": "^9.3.0",
|
|
49
|
+
"sqlite-vec": "^0.1.9",
|
|
50
|
+
"typescript": "^5.4.5",
|
|
51
|
+
"ws": "^8.20.0",
|
|
52
|
+
"yaml": "^2.4.5"
|
|
53
|
+
},
|
|
54
|
+
"devDependencies": {
|
|
55
|
+
"@eslint/js": "^9.15.0",
|
|
56
|
+
"@types/better-sqlite3": "^7.6.13",
|
|
57
|
+
"@types/node": "^20.14.0",
|
|
58
|
+
"@types/ws": "^8.18.1",
|
|
59
|
+
"@vitest/coverage-v8": "^1.6.0",
|
|
60
|
+
"eslint": "^9.15.0",
|
|
61
|
+
"tsx": "^4.15.7",
|
|
62
|
+
"typescript-eslint": "^8.15.0",
|
|
63
|
+
"vitest": "^1.6.0"
|
|
64
|
+
},
|
|
65
|
+
"engines": {
|
|
66
|
+
"node": ">=18.0.0"
|
|
67
|
+
},
|
|
68
|
+
"license": "Apache-2.0"
|
|
69
|
+
}
|