ava-engine 0.0.0-stage → 0.2.0
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/.env.example +63 -0
- package/CLA.md +43 -0
- package/COMMERCIAL-LICENSE.md +43 -0
- package/LICENSE +73 -0
- package/README.md +240 -2
- package/THIRD_PARTY_NOTICES.md +38 -0
- package/TRADEMARKS.md +31 -0
- package/bin/ava-engine.mjs +12 -0
- package/lib/asr.mjs +147 -0
- package/lib/cli/apply.mjs +58 -0
- package/lib/cli/config.mjs +95 -0
- package/lib/cli/main.mjs +187 -0
- package/lib/cli/setup-server.mjs +195 -0
- package/lib/cli/setup.mjs +233 -0
- package/lib/fetch-models.mjs +104 -0
- package/lib/guard.mjs +92 -0
- package/lib/kokoro-model.mjs +51 -0
- package/lib/models.mjs +47 -0
- package/lib/openrouter.mjs +153 -0
- package/lib/ours.mjs +766 -0
- package/lib/platforms.mjs +201 -0
- package/lib/state.mjs +150 -0
- package/lib/stt.mjs +22 -0
- package/lib/tts.mjs +178 -0
- package/lib/workflow.mjs +18 -0
- package/package.json +80 -4
- package/public/app.js +1708 -0
- package/public/demo.js +420 -0
- package/public/favicon.svg +1 -0
- package/public/fonts/OFL.txt +96 -0
- package/public/fonts/inter-tight-var.woff2 +0 -0
- package/public/fonts/inter-var.woff2 +0 -0
- package/public/fonts/plex-mono-400.woff2 +0 -0
- package/public/fonts/plex-mono-500.woff2 +0 -0
- package/public/img/cta-1600.avif +0 -0
- package/public/img/cta-1600.webp +0 -0
- package/public/img/cta-2400.avif +0 -0
- package/public/img/cta-2400.webp +0 -0
- package/public/img/cta-960.avif +0 -0
- package/public/img/cta-960.webp +0 -0
- package/public/img/flows-1600.avif +0 -0
- package/public/img/flows-1600.webp +0 -0
- package/public/img/flows-2400.avif +0 -0
- package/public/img/flows-2400.webp +0 -0
- package/public/img/flows-960.avif +0 -0
- package/public/img/flows-960.webp +0 -0
- package/public/img/hero-1600.avif +0 -0
- package/public/img/hero-1600.webp +0 -0
- package/public/img/hero-2400.avif +0 -0
- package/public/img/hero-2400.webp +0 -0
- package/public/img/hero-960.avif +0 -0
- package/public/img/hero-960.webp +0 -0
- package/public/img/p-csm-480.avif +0 -0
- package/public/img/p-csm-480.webp +0 -0
- package/public/img/p-csm-800.avif +0 -0
- package/public/img/p-csm-800.webp +0 -0
- package/public/img/p-docs-480.avif +0 -0
- package/public/img/p-docs-480.webp +0 -0
- package/public/img/p-docs-800.avif +0 -0
- package/public/img/p-docs-800.webp +0 -0
- package/public/img/p-quiet-480.avif +0 -0
- package/public/img/p-quiet-480.webp +0 -0
- package/public/img/p-quiet-800.avif +0 -0
- package/public/img/p-quiet-800.webp +0 -0
- package/public/img/p-tickets-480.avif +0 -0
- package/public/img/p-tickets-480.webp +0 -0
- package/public/img/p-tickets-800.avif +0 -0
- package/public/img/p-tickets-800.webp +0 -0
- package/public/img/p-trial-480.avif +0 -0
- package/public/img/p-trial-480.webp +0 -0
- package/public/img/p-trial-800.avif +0 -0
- package/public/img/p-trial-800.webp +0 -0
- package/public/img/sees-1600.avif +0 -0
- package/public/img/sees-1600.webp +0 -0
- package/public/img/sees-2400.avif +0 -0
- package/public/img/sees-2400.webp +0 -0
- package/public/img/sees-960.avif +0 -0
- package/public/img/sees-960.webp +0 -0
- package/public/img/speaks-1600.avif +0 -0
- package/public/img/speaks-1600.webp +0 -0
- package/public/img/speaks-2400.avif +0 -0
- package/public/img/speaks-2400.webp +0 -0
- package/public/img/speaks-960.avif +0 -0
- package/public/img/speaks-960.webp +0 -0
- package/public/img/voice-1600.avif +0 -0
- package/public/img/voice-1600.webp +0 -0
- package/public/img/voice-2400.avif +0 -0
- package/public/img/voice-2400.webp +0 -0
- package/public/img/voice-960.avif +0 -0
- package/public/img/voice-960.webp +0 -0
- package/public/index.html +440 -0
- package/public/landing.html +975 -0
- package/public/pcm-worklet.js +11 -0
- package/public/perceptionWorker.js +103 -0
- package/public/rtc.js +60 -0
- package/public/setup.css +94 -0
- package/public/setup.html +129 -0
- package/public/setup.js +264 -0
- package/public/specialist.html +92 -0
- package/public/specialist.js +132 -0
- package/public/style.css +836 -0
- package/public/vendor/lenis.min.js +3 -0
- package/scripts/fetch-models.sh +15 -0
- package/server.mjs +502 -0
package/package.json
CHANGED
|
@@ -1,6 +1,82 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ava-engine",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"description": "
|
|
6
|
-
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "A screen-aware voice agent: sees the tab a user shares, talks them through it, and hands off to a human when needed.",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"voice-agent",
|
|
8
|
+
"ai-agent",
|
|
9
|
+
"screen-sharing",
|
|
10
|
+
"customer-onboarding",
|
|
11
|
+
"customer-support",
|
|
12
|
+
"webrtc",
|
|
13
|
+
"speech-to-text",
|
|
14
|
+
"text-to-speech",
|
|
15
|
+
"openrouter",
|
|
16
|
+
"self-hosted"
|
|
17
|
+
],
|
|
18
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
19
|
+
"engines": {
|
|
20
|
+
"node": ">=22.9"
|
|
21
|
+
},
|
|
22
|
+
"bin": {
|
|
23
|
+
"ava-engine": "bin/ava-engine.mjs"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"bin/",
|
|
27
|
+
"lib/",
|
|
28
|
+
"public/",
|
|
29
|
+
"scripts/fetch-models.sh",
|
|
30
|
+
"server.mjs",
|
|
31
|
+
".env.example",
|
|
32
|
+
"LICENSE",
|
|
33
|
+
"COMMERCIAL-LICENSE.md",
|
|
34
|
+
"TRADEMARKS.md",
|
|
35
|
+
"THIRD_PARTY_NOTICES.md",
|
|
36
|
+
"CLA.md",
|
|
37
|
+
"README.md"
|
|
38
|
+
],
|
|
39
|
+
"scripts": {
|
|
40
|
+
"start": "node --env-file-if-exists=.env server.mjs",
|
|
41
|
+
"dev": "node --watch --env-file-if-exists=.env server.mjs",
|
|
42
|
+
"test": "node --test test/*.test.mjs",
|
|
43
|
+
"check": "node --check server.mjs && for f in lib/*.mjs public/*.js; do node --check \"$f\" || exit 1; done",
|
|
44
|
+
"test:e2e": "node --test --test-concurrency=1 test/e2e/*.e2e.mjs",
|
|
45
|
+
"lint": "eslint .",
|
|
46
|
+
"test:all": "npm run lint && npm run check && npm test && npm run test:e2e",
|
|
47
|
+
"demo:record": "node scripts/record-demo.mjs",
|
|
48
|
+
"cli": "node bin/ava-engine.mjs",
|
|
49
|
+
"prepare": "node -e \"if(require('fs').existsSync('.git')&&require('fs').existsSync('.githooks'))try{require('child_process').execFileSync('git',['config','core.hooksPath','.githooks'],{stdio:'ignore'})}catch{}\""
|
|
50
|
+
},
|
|
51
|
+
"dependencies": {
|
|
52
|
+
"@clack/prompts": "1.8.1",
|
|
53
|
+
"@huggingface/transformers": "3.8.1",
|
|
54
|
+
"kokoro-js": "^1.2.1",
|
|
55
|
+
"sherpa-onnx-node": "^1.13.8",
|
|
56
|
+
"ws": "^8.21.3"
|
|
57
|
+
},
|
|
58
|
+
"devDependencies": {
|
|
59
|
+
"@axe-core/playwright": "^4.13.0",
|
|
60
|
+
"@commitlint/cli": "21.2.4",
|
|
61
|
+
"@commitlint/config-conventional": "21.2.4",
|
|
62
|
+
"eslint": "^9.39.5",
|
|
63
|
+
"globals": "^15.15.0",
|
|
64
|
+
"playwright": "1.61"
|
|
65
|
+
},
|
|
66
|
+
"overrides": {
|
|
67
|
+
"sharp": "^0.35.5",
|
|
68
|
+
"global-agent": "^4.1.3"
|
|
69
|
+
},
|
|
70
|
+
"repository": {
|
|
71
|
+
"type": "git",
|
|
72
|
+
"url": "git+https://github.com/Mr-vero/ava-engine.git"
|
|
73
|
+
},
|
|
74
|
+
"homepage": "https://github.com/Mr-vero/ava-engine#readme",
|
|
75
|
+
"bugs": {
|
|
76
|
+
"url": "https://github.com/Mr-vero/ava-engine/issues"
|
|
77
|
+
},
|
|
78
|
+
"publishConfig": {
|
|
79
|
+
"access": "public",
|
|
80
|
+
"provenance": true
|
|
81
|
+
}
|
|
82
|
+
}
|