mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 06:04:40 +00:00
fix(ai,coding-agent): re-export typebox symbols and align docs closes #1338
This commit is contained in:
parent
fe6f4d3a9d
commit
0232c44064
4 changed files with 7 additions and 1 deletions
|
|
@ -9,6 +9,7 @@
|
|||
### Fixed
|
||||
|
||||
- Set OpenAI Responses API requests to `store: false` by default to avoid server-side history logging ([#1308](https://github.com/badlogic/pi-mono/issues/1308))
|
||||
- Re-exported TypeBox `Type`, `Static`, and `TSchema` from `@mariozechner/pi-ai` to match documentation and avoid duplicate TypeBox type identity issues in pnpm setups ([#1338](https://github.com/badlogic/pi-mono/issues/1338))
|
||||
|
||||
## [0.52.6] - 2026-02-05
|
||||
|
||||
|
|
|
|||
|
|
@ -72,6 +72,8 @@ Unified LLM API with automatic model discovery, provider configuration, token an
|
|||
npm install @mariozechner/pi-ai
|
||||
```
|
||||
|
||||
TypeBox exports are re-exported from `@mariozechner/pi-ai`: `Type`, `Static`, and `TSchema`.
|
||||
|
||||
## Quick Start
|
||||
|
||||
```typescript
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
export type { Static, TSchema } from "@sinclair/typebox";
|
||||
export { Type } from "@sinclair/typebox";
|
||||
|
||||
export * from "./api-registry.js";
|
||||
export * from "./env-api-keys.js";
|
||||
export * from "./models.js";
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
* Hello Tool - Minimal custom tool example
|
||||
*/
|
||||
|
||||
import { Type } from "@mariozechner/pi-ai";
|
||||
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
|
||||
import { Type } from "@sinclair/typebox";
|
||||
|
||||
export default function (pi: ExtensionAPI) {
|
||||
pi.registerTool({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue