mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-19 07:03:44 +00:00
fix: export type guard functions at runtime, fixes #397
This commit is contained in:
parent
d97a96493c
commit
c10d99d2de
3 changed files with 10 additions and 1 deletions
|
|
@ -2,6 +2,11 @@
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Model selector no longer allows negative index when pressing arrow keys before models finish loading ([#398](https://github.com/badlogic/pi-mono/pull/398) by [@mitsuhiko](https://github.com/mitsuhiko))
|
||||||
|
- Type guard functions (`isBashToolResult`, etc.) now exported at runtime, not just in type declarations ([#397](https://github.com/badlogic/pi-mono/issues/397))
|
||||||
|
|
||||||
## [0.31.0] - 2026-01-02
|
## [0.31.0] - 2026-01-02
|
||||||
|
|
||||||
This release introduces session trees for in-place branching, major API changes to hooks and custom tools, and structured compaction with file tracking.
|
This release introduces session trees for in-place branching, major API changes to hooks and custom tools, and structured compaction with file tracking.
|
||||||
|
|
|
||||||
|
|
@ -12,5 +12,5 @@ export {
|
||||||
} from "./loader.js";
|
} from "./loader.js";
|
||||||
export { execCommand, HookRunner, type HookErrorListener } from "./runner.js";
|
export { execCommand, HookRunner, type HookErrorListener } from "./runner.js";
|
||||||
export { wrapToolsWithHooks, wrapToolWithHooks } from "./tool-wrapper.js";
|
export { wrapToolsWithHooks, wrapToolWithHooks } from "./tool-wrapper.js";
|
||||||
export type * from "./types.js";
|
export * from "./types.js";
|
||||||
export type { ReadonlySessionManager } from "../session-manager.js";
|
export type { ReadonlySessionManager } from "../session-manager.js";
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,10 @@
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- `visibleWidth()` now strips OSC 8 hyperlink sequences, fixing text wrapping for clickable links ([#396](https://github.com/badlogic/pi-mono/pull/396) by [@Cursivez](https://github.com/Cursivez))
|
||||||
|
|
||||||
## [0.31.0] - 2026-01-02
|
## [0.31.0] - 2026-01-02
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue