Saul-Soul/dsh-tokenrhythm-attribution-bridge
Saul-Soul★ 0TypeScriptLast synced: 2026-08-15
—
README excerpt
@deepseek-ai/dsh-tokenrhythm-attribution-bridge English 中文 An OpenAI-compatible relay adapter for the deepseek-harness LLM seam that serves exactly one purpose: present the OpenSquilla app identity to TokenRhythm (基元流动) so that relayed token usage is attributed to the OpenSquilla app and counted into the gateway's savings/statistics channel. This plugin does not itself reduce cost, route models, compute savings, or claim any savings that did not happen. It only signals the app identity that the relay gateway recognizes. Whether the gateway counts the traffic as "savings" is entirely the gateway's decision. Single purpose When a harness model call is routed through a TokenRhythm (基元流动) relay endpoint, this adapter adds the two app-attribution headers OpenSquilla sends: The relay recognizes that identity and attributes the request's token usage to the OpenSquilla app for its own savings statistics. The harness User-Agent always remains and is never suppressed. The adapter never sends X-OpenSquilla- headers (such as X-OpenSquilla-Install-Id ), because they are not required to identify the app and would leak pseudo-anonymous install/session metadata this bridge deliberately withholds. …
View full README on GitHub →