Files
Hunter B 6b6654a422 Extract shared bridge core helpers
Add integrations/bridge-core with shared pure helpers for env parsing, command parsing/action mapping, message splitting, runtime error compaction, active-turn detection, and preserved chat state.

Re-export or wrap those helpers from Telegram, Feishu, WeCom, and Weixin bridge libs while keeping transport-specific identity, validation, keyboards, and protocol handling local. Add Weixin lib tests so its helper behavior is guarded.
2026-06-22 19:15:27 -07:00

16 lines
335 B
JSON

{
"name": "@codewhale/bridge-core",
"version": "0.1.0",
"private": true,
"type": "module",
"description": "Shared pure helpers for CodeWhale chat bridges.",
"main": "src/lib.mjs",
"scripts": {
"check": "node --check src/lib.mjs",
"test": "node --test test/*.test.mjs"
},
"engines": {
"node": ">=18"
}
}