Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonshotAI/kimi-code
/ ws-control.ts
File
ws-control.ts
packages/protocol/src/ws-control.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/**
2
* Event: {
type
, seq, session_id?, timestamp, payload }
3
* Control: {
type
, id?, payload }
4
* Ack: {
type
:
'ack'
, id, code, msg, payload }
Callers
nothing calls this directly
Calls
3
wsAckEnvelopeSchema
Function · 0.85
wsEventEnvelopeSchema
Function · 0.85
record
Method · 0.80
Tested by
no test coverage detected