Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Noumena-Network/code
/ query.test.ts
File
query.test.ts
src/query.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ afterEach, beforeEach, describe, expect, it } from
'bun:test'
2
import
{ z } from
'zod/v4'
3
4
import
{
Callers
nothing calls this directly
Calls
15
clearRegisteredHooks
Function · 0.85
getSessionTrustAccepted
Function · 0.85
setSessionTrustAccepted
Function · 0.85
registerStopHook
Function · 0.85
collectQuery
Function · 0.85
asSystemPrompt
Function · 0.85
createAssistantAPIErrorMessage
Function · 0.85
registerStopFailureHook
Function · 0.85
expectMetaUserMessage
Function · 0.85
resolve
Method · 0.80
createToolUseContext
Function · 0.70
query
Function · 0.70
Tested by
no test coverage detected