diff --git a/packages/coding-agent/CHANGELOG.md b/packages/coding-agent/CHANGELOG.md index 4649345b..707281c0 100644 --- a/packages/coding-agent/CHANGELOG.md +++ b/packages/coding-agent/CHANGELOG.md @@ -6,6 +6,7 @@ - Added project trust gating for project-local settings, resources, instructions, and packages ([#5332](https://github.com/earendil-works/pi/pull/5332)). - Added the latest prompt cache hit rate to the interactive footer. +- Exported RPC extension UI request and response types from the public API ([#5455](https://github.com/earendil-works/pi/issues/5455)). ### Fixed diff --git a/packages/coding-agent/src/index.ts b/packages/coding-agent/src/index.ts index 1f9b3a19..d4cf91d3 100644 --- a/packages/coding-agent/src/index.ts +++ b/packages/coding-agent/src/index.ts @@ -295,6 +295,8 @@ export { type RpcClientOptions, type RpcCommand, type RpcEventListener, + type RpcExtensionUIRequest, + type RpcExtensionUIResponse, type RpcResponse, type RpcSessionState, runPrintMode, diff --git a/packages/coding-agent/src/modes/index.ts b/packages/coding-agent/src/modes/index.ts index 02cab782..732aee55 100644 --- a/packages/coding-agent/src/modes/index.ts +++ b/packages/coding-agent/src/modes/index.ts @@ -6,4 +6,10 @@ export { InteractiveMode, type InteractiveModeOptions } from "./interactive/inte export { type PrintModeOptions, runPrintMode } from "./print-mode.ts"; export { type ModelInfo, RpcClient, type RpcClientOptions, type RpcEventListener } from "./rpc/rpc-client.ts"; export { runRpcMode } from "./rpc/rpc-mode.ts"; -export type { RpcCommand, RpcResponse, RpcSessionState } from "./rpc/rpc-types.ts"; +export type { + RpcCommand, + RpcExtensionUIRequest, + RpcExtensionUIResponse, + RpcResponse, + RpcSessionState, +} from "./rpc/rpc-types.ts";