twilio-opencode

A lightweight express server to handle Twilio voice and messaging webhooks for prompting Opencode.
git clone https://unitehenry.com/git/twilio-opencode.git
Log | Files | Refs | README | LICENSE

commit 5fdbb9e2ab1349dece85bc9bd916c0c8967a4699
parent 186d2db94429cc606881e05d1cad8ccc996d7777
Author: Henry Unite <unitehenry@gmail.com>
Date:   Fri, 27 Feb 2026 07:12:25 +0000

chore: format

Diffstat:
Mprompt.ts | 4++--
Mvoice.ts | 2+-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/prompt.ts b/prompt.ts @@ -11,8 +11,8 @@ interface PromptParams { sessionId?: string; } -function logPart(part : Part) : Part { - log('INFO', 'Agent part', { part }); +function logPart(part: Part): Part { + log("INFO", "Agent part", { part }); return part; } diff --git a/voice.ts b/voice.ts @@ -13,7 +13,7 @@ function buildResponse(message: string): string { `; } -function hangup(res: Response, message : string = ''): void { +function hangup(res: Response, message: string = ""): void { const responseXml = `<?xml version="1.0" encoding="UTF-8"?> <Response> <Say>${message}</Say>