voice-runtime 0.0.1 → 1.0.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/package.json CHANGED
@@ -1,26 +1,28 @@
1
1
  {
2
2
  "name": "voice-runtime",
3
- "version": "0.0.1",
4
- "description": "Local-first, provider-neutral voice agent SDK powered by the TVIC runtime.",
3
+ "version": "1.0.0",
4
+ "description": "Local-first, provider-neutral runtime for realtime voice agents, powered by TVIC.",
5
5
  "type": "module",
6
- "main": "./index.js",
7
- "types": "./index.d.ts",
6
+ "main": "./dist/index.cjs",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
8
9
  "exports": {
9
10
  ".": {
10
- "types": "./index.d.ts",
11
- "import": "./index.js",
12
- "default": "./index.js"
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js",
13
+ "require": "./dist/index.cjs",
14
+ "default": "./dist/index.js"
13
15
  }
14
16
  },
15
17
  "files": [
16
- "index.js",
17
- "index.d.ts",
18
- "README.md"
18
+ "dist",
19
+ "README.md",
20
+ "LICENSE"
19
21
  ],
20
22
  "repository": {
21
23
  "type": "git",
22
24
  "url": "git+https://github.com/Kkartik14/TVIC.git",
23
- "directory": "packages/voice-sdk"
25
+ "directory": "packages/voice-runtime"
24
26
  },
25
27
  "homepage": "https://github.com/Kkartik14/TVIC#readme",
26
28
  "bugs": {
@@ -36,7 +38,35 @@
36
38
  "webrtc",
37
39
  "tvic"
38
40
  ],
39
- "license": "UNLICENSED",
41
+ "license": "Apache-2.0",
42
+ "scripts": {
43
+ "build": "node build.mjs",
44
+ "typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json",
45
+ "test": "vitest run",
46
+ "clean": "rm -rf dist dist-types .turbo *.tsbuildinfo"
47
+ },
48
+ "dependencies": {
49
+ "@types/node": "^22.19.19",
50
+ "@types/ws": "^8.18.1",
51
+ "ws": "^8.21.0"
52
+ },
53
+ "devDependencies": {
54
+ "@tvic/core": "workspace:*",
55
+ "@tvic/dal": "workspace:*",
56
+ "@tvic/dal-composite": "workspace:*",
57
+ "@tvic/dal-postgres": "workspace:*",
58
+ "@tvic/dal-postgres-memory": "workspace:*",
59
+ "@tvic/dal-redis": "workspace:*",
60
+ "@tvic/media": "workspace:*",
61
+ "@tvic/providers": "workspace:*",
62
+ "@tvic/runtime": "workspace:*",
63
+ "@tvic/tools": "workspace:*",
64
+ "esbuild": "^0.28.0",
65
+ "rollup": "^4.60.4",
66
+ "rollup-plugin-dts": "^6.3.0",
67
+ "typescript": "^5.7.2",
68
+ "vitest": "^2.1.8"
69
+ },
40
70
  "engines": {
41
71
  "node": ">=20.0.0"
42
72
  },
package/index.d.ts DELETED
@@ -1,8 +0,0 @@
1
- export interface VoiceRuntimeIdentity {
2
- readonly name: "voice-runtime";
3
- readonly project: "TVIC";
4
- readonly stage: "early-preview";
5
- readonly repository: "https://github.com/Kkartik14/TVIC";
6
- }
7
-
8
- export declare const voiceRuntime: VoiceRuntimeIdentity;
package/index.js DELETED
@@ -1,13 +0,0 @@
1
- /**
2
- * Public identity for the early voice-runtime preview.
3
- *
4
- * The executable createVoiceAgent API will land here once its contract is
5
- * stable enough for external users. Publishing this explicit preview avoids
6
- * presenting an unfinished runtime API as production-ready.
7
- */
8
- export const voiceRuntime = Object.freeze({
9
- name: "voice-runtime",
10
- project: "TVIC",
11
- stage: "early-preview",
12
- repository: "https://github.com/Kkartik14/TVIC",
13
- });