[KongchangAI]
ConceptQueryEngine.ts

QueryEngine

An SDK adaptation layer component in Claude Code that provides a stable interface for SDK and non-interactive CLI consumers, exposing loop events segment by segment through the submitMessage() async generator. It is not the actual main loop implementation.

Timeline (last 90 days)

Oct 14

Claude Code's Agent main loop is the queryLoop function in src/query.ts, not src/QueryEngine.ts.

Unverified50%
Oct 14

src/QueryEngine.ts is an approximately 45 KB SDK adapter layer that provides a stable interface for the SDK and non-interactive CLI consumers.

Unverified50%

All Facts (2)

Source Articles