voicecc 1.1.4 → 1.1.6
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/bin/voicecc.js +18 -0
- package/dashboard/dist/assets/{index-CFgwcS6r.js → index-BSLjaEDe.js} +5 -5
- package/dashboard/dist/index.html +1 -1
- package/dashboard/routes/browser-call.ts +5 -9
- package/dashboard/routes/integrations.ts +7 -14
- package/dashboard/routes/mcp-servers.ts +3 -5
- package/dashboard/routes/tunnel.ts +6 -4
- package/dashboard/routes/twilio.ts +5 -8
- package/init/chime-24k.raw +0 -0
- package/package.json +1 -1
- package/server/index.ts +27 -17
- package/server/voice/chime.ts +13 -31
package/bin/voicecc.js
CHANGED
|
@@ -119,6 +119,23 @@ async function runSetupWizard() {
|
|
|
119
119
|
await ask(rl, "Have you saved the password? Press Enter to continue. ");
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
+
// Tunnel
|
|
123
|
+
console.log("");
|
|
124
|
+
console.log("Would you like to enable a public tunnel (via Cloudflare)?");
|
|
125
|
+
console.log("This is required if you want to access VoiceCC on a remote");
|
|
126
|
+
console.log("server, and/or want to make use of phone calling.");
|
|
127
|
+
console.log("");
|
|
128
|
+
console.log(" 1) Yes, enable tunnel (recommended)");
|
|
129
|
+
console.log(" 2) No, local only");
|
|
130
|
+
console.log("");
|
|
131
|
+
const tunnelChoice = await ask(rl, "Choose [1/2]: ");
|
|
132
|
+
const tunnelEnabled = tunnelChoice !== "2";
|
|
133
|
+
if (tunnelEnabled) {
|
|
134
|
+
console.log("Tunnel will start automatically on boot.");
|
|
135
|
+
} else {
|
|
136
|
+
console.log("Tunnel disabled. You can enable it later from Settings.");
|
|
137
|
+
}
|
|
138
|
+
|
|
122
139
|
// Claude CLI
|
|
123
140
|
if (!commandExists("claude")) {
|
|
124
141
|
console.log("");
|
|
@@ -144,6 +161,7 @@ async function runSetupWizard() {
|
|
|
144
161
|
const lines = [];
|
|
145
162
|
if (apiKey) lines.push(`ELEVENLABS_API_KEY=${apiKey}`);
|
|
146
163
|
if (password) lines.push(`DASHBOARD_PASSWORD=${password}`);
|
|
164
|
+
lines.push(`TUNNEL_ENABLED=${tunnelEnabled}`);
|
|
147
165
|
await writeFile(ENV_PATH, lines.join("\n") + "\n", "utf-8");
|
|
148
166
|
|
|
149
167
|
console.log("All done! Starting VoiceCC...");
|