mirror of
https://github.com/Hmbown/DeepSeek-TUI.git
synced 2026-09-03 06:50:13 +08:00
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.
16 lines
335 B
JSON
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"
|
|
}
|
|
}
|