We have two `MockChatService` classes. This makes updating the interface slow since you have to update both locations. The two also behave slightly differently
chore: update @vscode/codicons version to 0.0.45-14 in package.json and package-lock.json
Co-authored-by: mrleemurray <mrleemurray@users.noreply.github.com>
* refactor: update model management methods to use grouped model picker
* refactor: remove showManageModelsAction parameter from model picker functions
* refactor: streamline model picker item construction and improve readability
* refactor: reorganize model picker logic to support grouped model selection
* refactor: disable showManageModelsAction in NewChatWidget and simplify useGroupedModelPicker logic
* fix: increase viewport max height calculation in ActionList class
* feat: add hover position support to model picker and related components
* Enhance quick suggestions behavior with inline completions: allow triggering when inline provider returns no results
* Improve inline completions handling: suppress suggestions when inline completions are active
* CCR
* mcp: move to askquestions for elicitations
This reuses the askquestions UI to make elicitation requests. This is a
nicer UX than the quickpick flow.
It adds data validation to askquestions, as required by MCP, and also
switches the answer types from `unknown` to `IChatQuestionAnswerValue`
which is a bit more predictable to manage.
* fic tests
* pr comments
* test: add multiline PTY write test for macOS 1024-byte buffer bug
Adds a test that sends multiline commands of varying sizes (10, 20, 30 lines)
through TerminalProcess.input() and verifies the data arrives intact at the
shell. On macOS, multiline commands exceeding ~1024 bytes corrupt due to PTY
canonical-mode input buffer backpressure.
Reproduces: #296955
* fix: chunk multiline PTY writes on macOS to avoid 1024-byte buffer corruption
macOS PTY has a ~1024-byte canonical-mode input buffer. When multiline data
(containing CR characters) exceeds this threshold, the shell's line editor
echoes characters back, creating backpressure that corrupts the write.
Write multiline PTY input in 512-byte chunks with 5ms pauses between them
to allow the echo buffer to drain. Non-macOS platforms and single-line
writes are unaffected.
Fixes#296955
* test: increase large multiline test to 500 lines (~32KB)
refresh() re-resolves all sessions from providers (network calls).
update() just re-renders the tree with existing data, which is all
that is needed when changing the grouping mode.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add AgentSessionSection.Repository enum value and use it for all repo
group sections. Differentiate repo sections via the identity provider
which now includes the label in the section ID.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Keep IAgentSessionSection.section as AgentSessionSection (not string).
Revert all changes to agentSessionsControl.ts and agentSessionsModel.ts.
Use type assertion for dynamic repo section IDs in the viewer instead.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>