picoclaw/pkg/channels/feishu
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
..
common.go Feat/feishu card parsing (#1534) 2026-03-20 12:59:43 +08:00
common_test.go Feat/feishu card parsing (#1534) 2026-03-20 12:59:43 +08:00
feishu_32.go fix(feishu): address review findings 2026-03-03 01:27:46 +08:00
feishu_64.go feat(config): allow placeholder text to be string or list 2026-03-25 17:57:11 +08:00
feishu_64_test.go Feat/feishu card parsing (#1534) 2026-03-20 12:59:43 +08:00
init.go refactor(channels): add channel subpackages and update gateway imports 2026-02-20 23:25:44 +08:00
token_cache.go fix(feishu): invalidate cached token on auth error to enable retry recovery (#1318) 2026-03-18 19:07:49 +08:00