feat(coding-agent): export RPC extension UI types

closes #5455
This commit is contained in:
Mario Zechner
2026-06-07 10:56:01 +02:00
parent e34b3b3803
commit 22ac2713a3
3 changed files with 10 additions and 1 deletions

View File

@@ -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 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. - 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 ### Fixed

View File

@@ -295,6 +295,8 @@ export {
type RpcClientOptions, type RpcClientOptions,
type RpcCommand, type RpcCommand,
type RpcEventListener, type RpcEventListener,
type RpcExtensionUIRequest,
type RpcExtensionUIResponse,
type RpcResponse, type RpcResponse,
type RpcSessionState, type RpcSessionState,
runPrintMode, runPrintMode,

View File

@@ -6,4 +6,10 @@ export { InteractiveMode, type InteractiveModeOptions } from "./interactive/inte
export { type PrintModeOptions, runPrintMode } from "./print-mode.ts"; export { type PrintModeOptions, runPrintMode } from "./print-mode.ts";
export { type ModelInfo, RpcClient, type RpcClientOptions, type RpcEventListener } from "./rpc/rpc-client.ts"; export { type ModelInfo, RpcClient, type RpcClientOptions, type RpcEventListener } from "./rpc/rpc-client.ts";
export { runRpcMode } from "./rpc/rpc-mode.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";