{"modulePath":"github.com/tokenmp/core","version":"v0.8.5","isStandardLibrary":false,"packages":{"items":[{"path":"github.com/tokenmp/core/channel","name":"channel","synopsis":"Package channel 提供上游渠道的建模与 HTTP 客户端：基址拼接、鉴权样式、超时、 重试与 SSE 读写。","isRedistributable":true},{"path":"github.com/tokenmp/core/config","name":"config","synopsis":"Package config 定义 core 的配置文件模型、加载与校验。","isRedistributable":true},{"path":"github.com/tokenmp/core/dialect","name":"dialect","synopsis":"Package dialect 定义对外暴露的四种大模型文本协议方言，以及它们在本地端点与 上游端点上的路径形状。","isRedistributable":true},{"path":"github.com/tokenmp/core/internal/affinity","name":"affinity","synopsis":"Package affinity 按会话标识在候选渠道之间做确定性分配，让同一段会话的连续 请求落到同一个上游账号上，从而使上游的提示缓存有机会命中。","isRedistributable":true},{"path":"github.com/tokenmp/core/plugin","name":"plugin","synopsis":"Package plugin 是插件宿主：编译、加载、按钩子调用本地 JavaScript 插件，并提供 校验与回放工具。","isRedistributable":true},{"path":"github.com/tokenmp/core/relay","name":"relay","synopsis":"Package relay 是转发内核：把客户端方言的请求体转换成上游方言，把上游的响应体 转换回客户端方言，并在两个方向上原样带出转换损耗的诊断。","isRedistributable":true},{"path":"github.com/tokenmp/core/server","name":"server","synopsis":"Package server 把 relay、channel 与 plugin 装配成一个可监听的 HTTP 服务， 对外暴露四种方言的端点。","isRedistributable":true}],"total":7}}
