* CAPI package update
* Missindg updates
* Missing lock
* Render cloud task history from typed events
- Extract shared session-event-to-chat-parts renderer into
chatSessions/common/sessionEventRenderer.ts so both the Copilot CLI
and Cloud Tasks providers produce identical tool/text formatting.
- Render Task API history via the shared renderer, remapping
custom_agent.* to the equivalent subagent.* names so tool cards,
bash terminal output, edits, search results, MCP results and
subagent groups all render the same way they do in the CLI.
- Match github.com/github/github-ui presentation by suppressing
intermediate assistant.message events that echo tool input/output
and only rendering the final summary message per turn.
* Address review: break circular dep & restore flush timing
- Inject CLI tool-event handlers (processStart/processComplete/
enrichSubagent/isEditToolCall/getEditedUris) into the shared
renderer via a ToolEventHandlers<T> bundle, so common/sessionEventRenderer
no longer imports from copilotcli/. Layering now only flows one way.
- Flush buffered assistant.message_delta chunks at the top of the
CLI loop for non-message events so the session.model_change /
assistant.usage guards see streamed text exactly the way the
pre-extraction code did.
* Missing lock changes
* Revert unintended copilot package manifest edits
* Revert unintended root package manifest edits
* remote package revert
* lock
---------
Co-authored-by: Dmitriy Vasyura <dmitriv@microsoft.com>
* Fix isCustomTeamDefaultValue type guard to check all required properties
The type guard was only checking for 'defaultValue' and 'teamDefaultValue'
properties, allowing objects missing 'owner' and 'expirationDate' to pass
the check. This caused runtime errors when accessing expirationDate on
incomplete objects.
Now checks for all four required properties of CustomTeamDefaultValue<T>.
* chat-lib: update package to match main package.json
* Include inline completions in @vscode/chat-lib
* Follow type imports, * exports without "as", and jsxImportSource pragmas for dependency extraction
* update @vscode/chat-lib test configuration
* update chat lib extraction with new path and add context setup for lib
* initial stubs for inline completions test
* round trip test for getInlineCompletions
* remove unused path mappings
* fix type import
* send only original event names for chat-lib telemetry
* fix wasm loading in chat-lib
* have locateFile default to the current dir if the expected parent directory cannot be found
* update to use service injection with completions in chat-lib
* update citation and ExP handling for completions in chat-lib
* hook up enhanced telemetry for chat-lib
* add missing tsx package
* update post-install script to work with pre-built and unbuilt versions of chat-lib and add missing completions dependencies
* remove unneeded try/catch block
* correct typo
* generate package-lock from correct npm version
---------
Co-authored-by: Christof Marti <chrmarti@microsoft.com>
* Extract chat lib
* Extract chat lib
* Add test
* Get test working
* Simulate response
* Fix type issue
* Package
* Cleanup
* Tuck away workspace service
* Include package.json
* Ensure shim is used
* Include tiktoken files in package
* Update @vscode/copilot-api
* Ignore chat-lib