mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 12:03:49 +00:00
docs(coding-agent): restore SDK breaking changes to changelog
ExtensionRunner and LoadExtensionsResult API changes affect SDK users.
This commit is contained in:
parent
e671f63c5d
commit
c8460dec7e
1 changed files with 4 additions and 1 deletions
|
|
@ -6,11 +6,14 @@
|
|||
|
||||
- `ctx.ui.custom()` factory signature changed from `(tui, theme, done)` to `(tui, theme, keybindings, done)` for keybinding access in custom components
|
||||
- `LoadedExtension` type renamed to `Extension`
|
||||
- `LoadExtensionsResult.setUIContext()` removed, replaced with `runtime: ExtensionRuntime`
|
||||
- `ExtensionRunner` constructor now requires `runtime: ExtensionRuntime` as second parameter
|
||||
- `ExtensionRunner.initialize()` signature changed from options object to positional params `(actions, contextActions, commandContextActions?, uiContext?)`
|
||||
- `ExtensionRunner.getHasUI()` renamed to `hasUI()`
|
||||
|
||||
### Added
|
||||
|
||||
- SDK: `InteractiveMode`, `runPrintMode()`, `runRpcMode()` exported for building custom run modes. See `docs/sdk.md`.
|
||||
|
||||
- `PI_SKIP_VERSION_CHECK` environment variable to disable new version notifications at startup ([#549](https://github.com/badlogic/pi-mono/pull/549) by [@aos](https://github.com/aos))
|
||||
- Extension UI dialogs (`ctx.ui.select()`, `ctx.ui.confirm()`, `ctx.ui.input()`) now support a `timeout` option with live countdown display ([#522](https://github.com/badlogic/pi-mono/pull/522) by [@nicobailon](https://github.com/nicobailon))
|
||||
- Extensions can now provide custom editor components via `ctx.ui.setEditorComponent()`. See `examples/extensions/modal-editor.ts` and `docs/tui.md` Pattern 7.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue