@bevyra/avatar 1.0.0 → 1.0.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 +3 -3
- package/index.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
# @bevyra/avatar
|
|
2
2
|
|
|
3
|
-
Run a licensed BeVyra avatar on the same machine as your Node.js app. Supply your own ASR, LLM and TTS.
|
|
3
|
+
Run a licensed BeVyra avatar on the same machine as your Node.js app. Supply your own ASR, LLM and TTS. The currently published renderer wheel requires CPython 3.12 on Linux x86_64. This package installs that wheel on first use; no repository clone is required.
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
6
|
npm install @bevyra/avatar
|
|
7
7
|
export BEVYRA_API_KEY=your_project_key
|
|
8
8
|
npx bevyra-avatar activate
|
|
9
9
|
npx bevyra-avatar list
|
|
10
|
-
npx bevyra-avatar assign 1 noora
|
|
10
|
+
npx bevyra-avatar assign 1 noora # only on plans with avatar slots
|
|
11
11
|
npx bevyra-avatar download noora
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
`assign` applies to plans with avatar slots. `download` obtains signed URLs through BeVyra's API and
|
|
14
|
+
`assign` applies to plans with avatar slots. `download` obtains signed URLs through BeVyra's API, verifies files, and stores revisioned assets in `~/.local/share/bevyra-avatar` by default. Set `BEVYRA_AVATAR_HOME` to use another user-writable location. No AWS credentials are needed. One account may activate one installation across all its API keys; repeated downloads there are allowed. Each avatar session checks authorization with the API.
|
|
15
15
|
|
|
16
16
|
```js
|
|
17
17
|
import { AvatarClient } from '@bevyra/avatar';
|
package/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import path from "node:path";
|
|
|
6
6
|
import readline from "node:readline";
|
|
7
7
|
import WebSocket from "ws";
|
|
8
8
|
|
|
9
|
-
const VERSION = "1.0.
|
|
9
|
+
const VERSION = "1.0.1";
|
|
10
10
|
|
|
11
11
|
function python() {
|
|
12
12
|
if (process.env.BEVYRA_PYTHON) return { executable: process.env.BEVYRA_PYTHON, prefix: [] };
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bevyra/avatar",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "API-authorized local BeVyra avatar service for Node.js",
|
|
5
5
|
"homepage": "https://bevyra.ai/docs",
|
|
6
6
|
"bugs": {"url": "https://bevyra.ai/docs"},
|
|
7
7
|
"type": "module",
|
|
8
8
|
"exports": {".": {"types": "./index.d.ts", "default": "./index.js"}},
|
|
9
|
-
"bin": {"bevyra-avatar": "
|
|
9
|
+
"bin": {"bevyra-avatar": "cli.js"},
|
|
10
10
|
"files": ["index.js", "index.d.ts", "cli.js", "README.md"],
|
|
11
11
|
"scripts": {"test": "node --test test/local.test.mjs", "pack:check": "npm pack --dry-run --json"},
|
|
12
12
|
"engines": {"node": ">=20"},
|