@elizaos/plugin-facewear 2.0.3-beta.2 → 2.0.3-beta.3
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/package.json +10 -8
- package/registry-entry.json +131 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elizaos/plugin-facewear",
|
|
3
|
-
"version": "2.0.3-beta.
|
|
3
|
+
"version": "2.0.3-beta.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Unified facewear plugin — Meta Quest 3, XReal, Even Realities G1/G2, Apple Vision Pro. Bidirectional voice+camera streaming, smartglasses display, view panels, device management.",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -38,17 +38,17 @@
|
|
|
38
38
|
"test": "bun run build:views && bun run emulator:build && NODE_OPTIONS='--experimental-sqlite' vitest run --config ./vitest.config.ts",
|
|
39
39
|
"build": "bun run build:js && bun run build:views && bun run build:types",
|
|
40
40
|
"build:js": "tsup --config ../tsup.plugin-packages.shared.ts",
|
|
41
|
-
"build:types": "bunx tsc --noCheck -p tsconfig.build.json",
|
|
41
|
+
"build:types": "bunx tsc --noCheck -p tsconfig.build.json && node ../../packages/scripts/rewrite-dist-relative-imports-node-esm.mjs",
|
|
42
42
|
"build:views": "bunx --bun vite build --config vite.config.views.ts",
|
|
43
43
|
"emulator:build": "cd emulator && bun install --force && bun run build",
|
|
44
44
|
"emulator:watch": "cd emulator && bun run build:watch",
|
|
45
45
|
"emulator:cli": "bun run --cwd emulator src/cli.ts",
|
|
46
|
-
"verify:app": "bunx vitest --root ../.. run packages/
|
|
46
|
+
"verify:app": "bunx vitest --root ../.. run packages/registry/src/first-party/facewear-registry.test.ts packages/app/src/plugin-registrations.test.ts"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@elizaos/agent": "2.0.3-beta.
|
|
50
|
-
"@elizaos/core": "2.0.3-beta.
|
|
51
|
-
"@elizaos/ui": "2.0.3-beta.
|
|
49
|
+
"@elizaos/agent": "2.0.3-beta.3",
|
|
50
|
+
"@elizaos/core": "2.0.3-beta.3",
|
|
51
|
+
"@elizaos/ui": "2.0.3-beta.3",
|
|
52
52
|
"lucide-react": "^1.0.0",
|
|
53
53
|
"ws": "^8.18.0",
|
|
54
54
|
"zod": "^4.4.3"
|
|
@@ -78,7 +78,8 @@
|
|
|
78
78
|
"plugin": {
|
|
79
79
|
"displayName": "Facewear",
|
|
80
80
|
"category": "hardware"
|
|
81
|
-
}
|
|
81
|
+
},
|
|
82
|
+
"appRegister": "register"
|
|
82
83
|
},
|
|
83
84
|
"agentConfig": {
|
|
84
85
|
"pluginType": "elizaos:plugin:1.0.0",
|
|
@@ -131,9 +132,10 @@
|
|
|
131
132
|
},
|
|
132
133
|
"types": "./dist/index.d.ts",
|
|
133
134
|
"files": [
|
|
135
|
+
"registry-entry.json",
|
|
134
136
|
"assets",
|
|
135
137
|
"dist",
|
|
136
138
|
"docs"
|
|
137
139
|
],
|
|
138
|
-
"gitHead": "
|
|
140
|
+
"gitHead": "f54b0f4eaed317d59fa7dbcdce20f4cdb0734420"
|
|
139
141
|
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "facewear",
|
|
3
|
+
"name": "Facewear",
|
|
4
|
+
"description": "Unified facewear integration for Meta Quest, XReal, Apple Vision Pro, and Even Realities G1/G2 whole-headset pairing, display text, microphone audio, side-tap mic control, bridge Wi-Fi setup, and diagnostics.",
|
|
5
|
+
"npmName": "@elizaos/plugin-facewear",
|
|
6
|
+
"version": "0.1.0",
|
|
7
|
+
"source": "bundled",
|
|
8
|
+
"tags": [
|
|
9
|
+
"facewear",
|
|
10
|
+
"xr",
|
|
11
|
+
"smartglasses",
|
|
12
|
+
"wearable",
|
|
13
|
+
"even-realities",
|
|
14
|
+
"g1",
|
|
15
|
+
"g2",
|
|
16
|
+
"display",
|
|
17
|
+
"microphone",
|
|
18
|
+
"bluetooth",
|
|
19
|
+
"wifi"
|
|
20
|
+
],
|
|
21
|
+
"config": {
|
|
22
|
+
"FACEWEAR_SMARTGLASSES_TRANSPORT": {
|
|
23
|
+
"type": "select",
|
|
24
|
+
"required": false,
|
|
25
|
+
"sensitive": false,
|
|
26
|
+
"default": "auto",
|
|
27
|
+
"label": "Smartglasses Transport",
|
|
28
|
+
"help": "Preferred Even Realities transport: auto, even-bridge, web-bluetooth, or noble.",
|
|
29
|
+
"advanced": false,
|
|
30
|
+
"options": [
|
|
31
|
+
{
|
|
32
|
+
"value": "auto",
|
|
33
|
+
"label": "Auto",
|
|
34
|
+
"description": "Use an injected transport, native bridge, Web Bluetooth, then Noble in order."
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"value": "even-bridge",
|
|
38
|
+
"label": "Native Bridge",
|
|
39
|
+
"description": "Use an iOS, Android, desktop, EvenHub, or Mentra bridge exposed by the host."
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"value": "web-bluetooth",
|
|
43
|
+
"label": "Web Bluetooth",
|
|
44
|
+
"description": "Use browser BLE pairing for direct G1 access."
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"value": "noble",
|
|
48
|
+
"label": "Noble BLE",
|
|
49
|
+
"description": "Use Node/Bun BLE through the optional Noble transport."
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
"FACEWEAR_SCAN_TIMEOUT_MS": {
|
|
54
|
+
"type": "number",
|
|
55
|
+
"required": false,
|
|
56
|
+
"sensitive": false,
|
|
57
|
+
"default": 10000,
|
|
58
|
+
"label": "Scan Timeout",
|
|
59
|
+
"help": "BLE scan timeout in milliseconds for Noble-based direct G1 connections.",
|
|
60
|
+
"advanced": true,
|
|
61
|
+
"min": 0,
|
|
62
|
+
"unit": "ms"
|
|
63
|
+
},
|
|
64
|
+
"FACEWEAR_AUTO_INIT": {
|
|
65
|
+
"type": "boolean",
|
|
66
|
+
"required": false,
|
|
67
|
+
"sensitive": false,
|
|
68
|
+
"default": true,
|
|
69
|
+
"label": "Auto Init",
|
|
70
|
+
"help": "Send G1 connection-ready init packets after connecting.",
|
|
71
|
+
"advanced": false
|
|
72
|
+
},
|
|
73
|
+
"FACEWEAR_INIT_MODE": {
|
|
74
|
+
"type": "select",
|
|
75
|
+
"required": false,
|
|
76
|
+
"sensitive": false,
|
|
77
|
+
"default": "lens-specific",
|
|
78
|
+
"label": "Init Mode",
|
|
79
|
+
"help": "Connection-ready init mode: lens-specific, official same-init, or Android F4 same-init.",
|
|
80
|
+
"advanced": true,
|
|
81
|
+
"options": [
|
|
82
|
+
{
|
|
83
|
+
"value": "lens-specific",
|
|
84
|
+
"label": "Lens Specific",
|
|
85
|
+
"description": "Send 0x4D 0x01 to the left lens and 0xF4 0x01 to the right lens."
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"value": "official",
|
|
89
|
+
"label": "iOS Same Init",
|
|
90
|
+
"description": "Send 0x4D 0x01 to both lenses, matching EvenDemoApp iOS."
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"value": "android-f4",
|
|
94
|
+
"label": "Android F4 Same Init",
|
|
95
|
+
"description": "Send 0xF4 0x01 to both lenses, matching EvenDemoApp Android."
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"render": {
|
|
101
|
+
"visible": true,
|
|
102
|
+
"pinTo": [],
|
|
103
|
+
"style": "card",
|
|
104
|
+
"icon": "Glasses",
|
|
105
|
+
"group": "hardware",
|
|
106
|
+
"groupOrder": 8,
|
|
107
|
+
"actions": ["enable", "configure", "launch"]
|
|
108
|
+
},
|
|
109
|
+
"resources": {
|
|
110
|
+
"homepage": "https://elizaos.ai",
|
|
111
|
+
"repository": "https://github.com/elizaos/eliza"
|
|
112
|
+
},
|
|
113
|
+
"dependsOn": [],
|
|
114
|
+
"kind": "plugin",
|
|
115
|
+
"subtype": "media",
|
|
116
|
+
"launch": {
|
|
117
|
+
"type": "internal-tab",
|
|
118
|
+
"target": "facewear",
|
|
119
|
+
"capabilities": [
|
|
120
|
+
"facewear",
|
|
121
|
+
"xr-view-host",
|
|
122
|
+
"smartglasses",
|
|
123
|
+
"wearable-display",
|
|
124
|
+
"wearable-microphone",
|
|
125
|
+
"whole-headset-pairing",
|
|
126
|
+
"side-tap-microphone-control",
|
|
127
|
+
"wifi-provisioning"
|
|
128
|
+
],
|
|
129
|
+
"curatedSlug": "facewear"
|
|
130
|
+
}
|
|
131
|
+
}
|