opencode-speaker 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 ADDED
@@ -0,0 +1,91 @@
1
+ {
2
+ "name": "opencode-speaker",
3
+ "version": "1.0.0",
4
+ "description": "Speaker plugin for opencode — speaks agent events through pluggable TTS backends.",
5
+ "keywords": [
6
+ "opencode",
7
+ "plugin",
8
+ "tts",
9
+ "text-to-speech",
10
+ "elevenlabs",
11
+ "openai",
12
+ "anthropic",
13
+ "voice",
14
+ "ai-sdk"
15
+ ],
16
+ "homepage": "https://github.com/herquiloidehele/opencode-speaker#readme",
17
+ "bugs": {
18
+ "url": "https://github.com/herquiloidehele/opencode-speaker/issues"
19
+ },
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "git+https://github.com/herquiloidehele/opencode-speaker.git"
23
+ },
24
+ "license": "MIT",
25
+ "author": "herquiloide <herquiloide@gmail.com>",
26
+ "type": "module",
27
+ "main": "./dist/index.js",
28
+ "types": "./dist/index.d.ts",
29
+ "exports": {
30
+ ".": {
31
+ "import": "./dist/index.js",
32
+ "types": "./dist/index.d.ts"
33
+ },
34
+ "./api": {
35
+ "import": "./dist/api.js",
36
+ "types": "./dist/api.d.ts"
37
+ }
38
+ },
39
+ "files": [
40
+ "dist",
41
+ "README.md"
42
+ ],
43
+ "engines": {
44
+ "node": ">=20"
45
+ },
46
+ "publishConfig": {
47
+ "access": "public",
48
+ "provenance": true
49
+ },
50
+ "scripts": {
51
+ "build": "tsup",
52
+ "dev": "tsup --watch",
53
+ "logs": "bash scripts/logs.sh",
54
+ "test": "vitest run",
55
+ "test:watch": "vitest",
56
+ "typecheck": "tsc --noEmit",
57
+ "audit:prod": "npm audit --omit=dev",
58
+ "prepublishOnly": "npm run typecheck && npm test && npm run build",
59
+ "demo:say": "tsx scripts/say.ts",
60
+ "demo:queue": "tsx scripts/queue.ts",
61
+ "demo:event": "tsx scripts/event.ts",
62
+ "demo:narrator": "tsx scripts/narrator.ts",
63
+ "demo:config": "tsx scripts/config.ts",
64
+ "demo:greet": "tsx scripts/greet.ts"
65
+ },
66
+ "dependencies": {
67
+ "@ai-sdk/anthropic": "^3.0.81",
68
+ "@ai-sdk/elevenlabs": "^2.0.33",
69
+ "@ai-sdk/openai": "^3.0.67",
70
+ "ai": "^6.0.194",
71
+ "source-map-support": "^0.5.21",
72
+ "zod": "^3.23.0"
73
+ },
74
+ "peerDependencies": {
75
+ "@opencode-ai/plugin": "*"
76
+ },
77
+ "peerDependenciesMeta": {
78
+ "@opencode-ai/plugin": {
79
+ "optional": true
80
+ }
81
+ },
82
+ "devDependencies": {
83
+ "@types/node": "^20.0.0",
84
+ "@types/source-map-support": "^0.5.10",
85
+ "msw": "^2.14.6",
86
+ "tsup": "^8.0.0",
87
+ "tsx": "^4.22.3",
88
+ "typescript": "^5.4.0",
89
+ "vitest": "^1.6.0"
90
+ }
91
+ }