Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonshotAI/kimi-code
/ context.test.ts
File
context.test.ts
packages/agent-core/test/agent/context.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ Readable,
type
Writable } from
'node:stream'
;
2
3
import
type
{ KaosProcess } from
'@moonshot-ai/kaos'
;
4
import
type
{ Message } from
'@moonshot-ai/kosong'
;
Callers
nothing calls this directly
Calls
15
testAgent
Function · 0.90
buildImageCompressionCaption
Function · 0.90
recordingTelemetry
Function · 0.90
createFakeKaos
Function · 0.90
project
Function · 0.90
estimateTokensForMessages
Function · 0.90
renderNotificationXml
Function · 0.90
appendUserMessage
Method · 0.80
appendSystemReminder
Method · 0.80
dispatch
Method · 0.80
appendBashInput
Method · 0.80
appendBashOutput
Method · 0.80
Tested by
no test coverage detected