Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
190 lines (190 loc) · 5.37 KB
/
Copy pathpackage.json
File metadata and controls
190 lines (190 loc) · 5.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
{
"name": "readback",
"displayName": "Readback",
"description": "Hear your AI coding agent's replies in a Speechify voice, with the words highlighted as they are spoken.",
"version": "0.7.0",
"publisher": "speechify",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Speechify-AI/readback.git"
},
"homepage": "https://github.com/Speechify-AI/readback#readme",
"bugs": {
"url": "https://github.com/Speechify-AI/readback/issues"
},
"private": true,
"engines": {
"vscode": "^1.100.0",
"node": ">=22"
},
"categories": [
"Other"
],
"keywords": [
"speechify",
"text to speech",
"claude code",
"read aloud",
"accessibility"
],
"icon": "media/logo.png",
"main": "./dist/extension.js",
"activationEvents": [
"onStartupFinished"
],
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "readback",
"title": "Readback",
"icon": "media/icon.svg"
}
]
},
"views": {
"readback": [
{
"type": "webview",
"id": "readback.player",
"name": "Player"
}
]
},
"commands": [
{
"command": "readback.setApiKey",
"title": "Readback: Set Speechify API key"
},
{
"command": "readback.chooseVoice",
"title": "Readback: Choose voice"
},
{
"command": "readback.installHook",
"title": "Readback: Install the Claude Code hook"
},
{
"command": "readback.uninstallHook",
"title": "Readback: Remove the Claude Code hook"
},
{
"command": "readback.installCodexHook",
"title": "Readback: Install the Codex hook"
},
{
"command": "readback.uninstallCodexHook",
"title": "Readback: Remove the Codex hook"
},
{
"command": "readback.readSelection",
"title": "Readback: Read selection"
},
{
"command": "readback.stop",
"title": "Readback: Stop"
},
{
"command": "readback.catchUp",
"title": "Readback: Catch me up"
},
{
"command": "readback.clear",
"title": "Readback: Clear the list"
},
{
"command": "readback.openSettings",
"title": "Readback: Open settings"
}
],
"menus": {
"editor/context": [
{
"command": "readback.readSelection",
"when": "editorHasSelection",
"group": "readback"
}
]
},
"configuration": {
"title": "Readback",
"properties": {
"readback.voice": {
"type": "string",
"default": "harper_32",
"description": "Speechify voice id. Use the Choose voice command to pick one your key can render."
},
"readback.model": {
"type": "string",
"default": "simba-3.2",
"description": "Speechify model."
},
"readback.autoplay": {
"type": "boolean",
"default": true,
"description": "Play each new reply as it arrives. Off: replies are listed and wait for play."
},
"readback.speed": {
"type": "number",
"default": 1,
"description": "Playback rate. The player cycles this too."
},
"readback.progress": {
"type": "boolean",
"default": true,
"description": "Read the notes Claude writes between tool calls as they arrive. Off: only the finished reply is read."
},
"readback.alerts": {
"type": "boolean",
"default": true,
"description": "Say when Claude has been waiting for your permission for a few seconds, ahead of whatever is playing. Off: permission prompts are not read."
},
"readback.summarize": {
"type": "string",
"enum": [
"claude",
"off"
],
"enumDescriptions": [
"Condense each reply to a few spoken sentences with claude -p on your own subscription. The full reply stays one click away. A reply under 500 characters is read as it is.",
"Read every reply in full."
],
"default": "claude",
"description": "Whether to condense replies before reading them."
},
"readback.minChars": {
"type": "number",
"default": 80,
"description": "Replies shorter than this are not read. A bare \"Done.\" is noise."
},
"readback.maxChars": {
"type": "number",
"default": 4000,
"description": "Replies longer than this are cut at a sentence and end with \"and more\"."
},
"readback.apiBase": {
"type": "string",
"default": "https://api.speechify.ai",
"description": "Speechify API base URL."
}
}
}
},
"scripts": {
"build": "node esbuild.mjs",
"watch": "node esbuild.mjs --watch",
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.webview.json",
"test": "vitest run",
"package": "npm run typecheck && npm test && npm run build && vsce package --no-dependencies"
},
"devDependencies": {
"@types/node": "^22.0.0",
"@types/vscode": "~1.100.0",
"@vscode/codicons": "^0.0.46-24",
"@vscode/vsce": "^4.0.0",
"esbuild": "^0.28.2",
"typescript": "^7.0.2",
"vitest": "^5.0.1"
}
}