Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion opencode-sms-bridge/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: opencode-sms-bridge
description: Signed Twilio SMS and MMS bridge for fixed primary OpenCode agents
type: application
version: 0.1.1
version: 0.1.2
appVersion: "1"
6 changes: 5 additions & 1 deletion opencode-sms-bridge/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ Only a signed request from an approved source number is queued or answered. The

Use an immutable published image SHA in `image.tag`; `latest` is only the source-chart default and must never be selected by the GitOps consumer.

## Configuration

`config.maxMediaBytes` is a quoted decimal string (for example, `"5242880"`). It is rendered into ConfigMap data and consumed by the worker's integer parser; do not use YAML numeric or floating-point notation for this value.

## Image and audio gates

Image parts are disabled by default. Enable `config.imagePartsEnabled` only after the selected OpenCode model and deployed file-part API are functionally verified. Keep `config.whisperUrl` empty until a local Whisper-compatible service, capacity, and retention boundary are selected; audio MMS then receives a bounded non-processing reply rather than unvalidated forwarding.
Expand All @@ -29,4 +33,4 @@ Image parts are disabled by default. Enable `config.imagePartsEnabled` only afte

- Deployment, sync wave `2`, with two hardened containers and a `Recreate` strategy.

The corresponding cluster overlay must place state, Secrets, and Service in wave `1`; the `TunnelBinding` belongs in wave `3`. These waves order only resources within the existing `opencode` child Application.
The corresponding cluster overlay must place the RWO state PVC in wave `2` with the Deployment so `WaitForFirstConsumer` storage can bind. Secrets and the Service may be earlier; the `TunnelBinding` belongs in wave `3`. These waves order only resources within the existing `opencode` child Application.
3 changes: 2 additions & 1 deletion opencode-sms-bridge/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ config:
statePath: /state/opencode-sms-bridge.db
mediaAllowedHosts:
- api.twilio.com
maxMediaBytes: 5242880
# Keep decimal text intact when Helm renders ConfigMap data for the worker's integer parser.
maxMediaBytes: "5242880"
maxAudioSeconds: 120
imagePartsEnabled: false
# Set only after a local Whisper-compatible service is selected and validated.
Expand Down