Build a multi-turn terminal chat with incremental text output.
Complete the repository setup. Interactive mode:
npm install
npm start -- --workspace /path/to/repositoryEnter /exit or submit an empty prompt to close the session.
Scripted mode accepts each turn as a separate argument:
npm start -- --workspace /path/to/repository \
"Summarize this repository." \
"Which module should I read first?"The sample keeps one SDK session open, enables partial messages, and sends the next user message only after the previous turn completes.