walkietalkiebot 0.3.1 → 0.3.4
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/.claude-plugin/plugin.json +1 -1
- package/bin/wtb-server.js +3 -6
- package/bin/wtb.js +1 -1
- package/dist/assets/{index-UPnYoRh1.js → index-DfHSfs4F.js} +20 -20
- package/dist/assets/index-PylgfeMo.css +1 -0
- package/dist/index.html +2 -2
- package/mcp-server/dist/index.js +2 -2
- package/package.json +2 -4
- package/server/api.js +3 -2
- package/server/index.js +14 -9
- package/server/jobs/runner.js +28 -1
- package/server/ssl.js +8 -34
- package/server/telegram/commands.js +2 -5
- package/server/telegram/handlers.js +7 -12
- package/dist/assets/index-VbGv60d-.css +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wtb",
|
|
3
3
|
"description": "Walkie Talkie Bot — voice-first cassette tape interface for Claude Code. 30 MCP tools for conversations, plans, search, voice, and more. Data tools work offline via direct SQLite.",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.1",
|
|
5
5
|
"author": { "name": "Ben Gillin" },
|
|
6
6
|
"homepage": "https://walkietalkie.bot",
|
|
7
7
|
"repository": "https://github.com/bengillin/walkietalkiebot"
|
package/bin/wtb-server.js
CHANGED
|
@@ -75,7 +75,7 @@ function isLaunchctlLoaded() {
|
|
|
75
75
|
|
|
76
76
|
function isServerRunning() {
|
|
77
77
|
try {
|
|
78
|
-
execSync(`curl -s
|
|
78
|
+
execSync(`curl -s http://localhost:${PORT}/api/status`, { encoding: 'utf-8' })
|
|
79
79
|
return true
|
|
80
80
|
} catch {
|
|
81
81
|
return false
|
|
@@ -173,7 +173,7 @@ async function startServer(foreground = false) {
|
|
|
173
173
|
for (let i = 0; i < 30; i++) {
|
|
174
174
|
await new Promise(r => setTimeout(r, 500))
|
|
175
175
|
if (isServerRunning()) {
|
|
176
|
-
console.log(`Walkie Talkie Bot server running at
|
|
176
|
+
console.log(`Walkie Talkie Bot server running at http://localhost:${PORT}`)
|
|
177
177
|
return
|
|
178
178
|
}
|
|
179
179
|
}
|
|
@@ -232,10 +232,7 @@ async function showStatus() {
|
|
|
232
232
|
|
|
233
233
|
if (running) {
|
|
234
234
|
try {
|
|
235
|
-
const response = await fetch(`
|
|
236
|
-
// @ts-expect-error
|
|
237
|
-
agent: new (await import('https')).Agent({ rejectUnauthorized: false })
|
|
238
|
-
})
|
|
235
|
+
const response = await fetch(`http://localhost:${PORT}/api/status`)
|
|
239
236
|
const data = await response.json()
|
|
240
237
|
console.log(`Database: ${data.dbStatus === 'connected' ? '✅ Connected' : '⚠️ Unavailable'}`)
|
|
241
238
|
console.log(`Avatar: ${data.avatarState}`)
|
package/bin/wtb.js
CHANGED
|
@@ -4,7 +4,7 @@ import { startServer } from '../server/index.js'
|
|
|
4
4
|
import open from 'open'
|
|
5
5
|
|
|
6
6
|
const PORT = parseInt(process.env.WTB_PORT || '5173', 10)
|
|
7
|
-
const URL = `
|
|
7
|
+
const URL = `http://localhost:${PORT}`
|
|
8
8
|
|
|
9
9
|
async function main() {
|
|
10
10
|
console.log('Starting Walkie Talkie Bot...')
|