picoclaw/pkg/channels/pico
hezixu dc956f2feb feat(config): allow placeholder text to be string or list
Allow PlaceholderConfig.Text to accept either a single string or an
array of strings, from which one is randomly selected at runtime.
This maintains backward compatibility with existing single-string configs
while enabling random placeholder selection.

Changes:
- Modify PlaceholderConfig.Text type from string to FlexibleStringSlice
- Add GetRandomText() helper method for random selection
- Update SendPlaceholder in all channels to use GetRandomText()
- Update config.example.json with array placeholder examples
- Update Matrix channel documentation
2026-03-25 17:57:11 +08:00
..
client.go feat(pico): add pico_client outbound WebSocket channel (#1198) 2026-03-20 20:43:40 +08:00
client_test.go feat(pico): add pico_client outbound WebSocket channel (#1198) 2026-03-20 20:43:40 +08:00
init.go feat(pico): add pico_client outbound WebSocket channel (#1198) 2026-03-20 20:43:40 +08:00
pico.go feat(config): allow placeholder text to be string or list 2026-03-25 17:57:11 +08:00
pico_test.go fix(pico): use O(1) session indexing and harden websocket concurrency handling (#1970) 2026-03-24 23:25:27 +08:00
protocol.go fix: resolve golangci-lint issues in channel system 2026-02-23 05:22:18 +08:00