-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 3.41 KB
/
package.json
File metadata and controls
85 lines (85 loc) · 3.41 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
{
"name": "@elizaos/plugin-vision-root",
"private": true,
"version": "2.0.0-alpha.1",
"description": "Vision plugin for ElizaOS - provides camera integration and visual awareness",
"type": "module",
"main": "typescript/dist/index.js",
"types": "typescript/dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./typescript/dist/index.d.ts",
"import": "./typescript/dist/index.js",
"default": "./typescript/dist/index.js"
},
"./rust": {
"import": "./rust/pkg/node/elizaos_plugin_plugin_vision.js"
}
},
"files": [
"typescript/dist",
"README.md",
"python",
"rust/src",
"rust/Cargo.toml"
],
"keywords": [
"plugin",
"elizaos",
"vision",
"camera",
"computer-vision",
"ai-vision"
],
"author": "ElizaOS",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/elizaos/elizaos"
},
"scripts": {
"build": "bun run build:ts && bun run build:rust && bun run build:python",
"build:ts": "cd typescript && bun run build.ts",
"build:rust": "test -d rust && cd rust && cargo build --release || echo 'Rust build skipped - no rust directory'",
"build:python": "test -n \"$SKIP_PYTHON_BUILD\" && echo 'Python build skipped (SKIP_PYTHON_BUILD set)' || (test -d python && cd python && (timeout 120 python3 -m build 2>/dev/null || timeout 120 pyproject-build 2>/dev/null) || echo 'Python build skipped or timed out')",
"dev": "cd typescript && bun --hot build.ts",
"test": "bun run test:ts && bun run test:rust && bun run test:python",
"test:ts": "cd typescript && vitest run || echo 'TypeScript tests skipped - no tests found'",
"test:rust": "test -d rust && cd rust && cargo test || echo 'Rust tests skipped'",
"test:python": "test -d python && cd python && pytest -p no:anchorpy --asyncio-mode=auto || echo 'Python tests skipped'",
"typecheck": "tsc --noEmit -p typescript/tsconfig.json",
"lint": "bunx @biomejs/biome check --write ./typescript",
"lint:check": "bunx @biomejs/biome check ./typescript",
"lint:rust": "test -d rust && cd rust && cargo clippy --all-targets --fix --allow-dirty --allow-staged -- -D warnings && cargo fmt || echo 'Rust lint skipped'",
"lint:python": "test -d python && cd python && ruff check --fix . && ruff format . || echo 'Python lint skipped'",
"clean": "rm -rf typescript/dist python/dist rust/target .turbo node_modules",
"format": "bunx @biomejs/biome format --write ./typescript",
"format:check": "bunx @biomejs/biome format ./typescript",
"typecheck:python": "test -d python && cd python && mypy . --ignore-missing-imports || echo 'Python typecheck skipped'",
"typecheck:rust": "test -d rust && cd rust && cargo check || echo 'Rust typecheck skipped'"
},
"devDependencies": {
"@biomejs/biome": "^2.3.11",
"@types/bun": "^1.3.5",
"@types/node": "^25.0.3",
"typescript": "^5.9.3"
},
"peerDependencies": {
"@elizaos/core": "next"
},
"agentConfig": {
"pluginType": "elizaos:plugin:1.0.0",
"pluginParameters": {
"CAMERA_NAME": {
"type": "string",
"description": "Camera name to search for (lowercase partial match)"
},
"PIXEL_CHANGE_THRESHOLD": {
"type": "number",
"description": "Percentage of pixels that must change to trigger VLM update (default: 50)"
}
}
},
"gitHead": "05d4ca11d769db8c7f54a722ee24b2ce2b951543"
}