diff --git a/packages/coding-agent/CHANGELOG.md b/packages/coding-agent/CHANGELOG.md index c0d453128..696f1e02a 100644 --- a/packages/coding-agent/CHANGELOG.md +++ b/packages/coding-agent/CHANGELOG.md @@ -7,6 +7,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)). +- Exported coding-agent package asset path helpers from the public API ([#5415](https://github.com/earendil-works/pi/issues/5415)). ### Fixed diff --git a/packages/coding-agent/docs/sdk.md b/packages/coding-agent/docs/sdk.md index 2be5f531d..c6b2a75dd 100644 --- a/packages/coding-agent/docs/sdk.md +++ b/packages/coding-agent/docs/sdk.md @@ -1112,6 +1112,11 @@ createEventBus // Helpers defineTool +getAgentDir +getPackageDir +getReadmePath +getDocsPath +getExamplesPath // Session management SessionManager diff --git a/packages/coding-agent/src/index.ts b/packages/coding-agent/src/index.ts index d4cf91d3e..7ddbe5da8 100644 --- a/packages/coding-agent/src/index.ts +++ b/packages/coding-agent/src/index.ts @@ -3,7 +3,7 @@ export { type Args, parseArgs } from "./cli/args.ts"; // Config paths -export { getAgentDir, VERSION } from "./config.ts"; +export { getAgentDir, getDocsPath, getExamplesPath, getPackageDir, getReadmePath, VERSION } from "./config.ts"; export { AgentSession, type AgentSessionConfig,