mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-17 05:00:16 +00:00
feat(coding-agent): export run mode utilities with options interfaces
- Add PrintModeOptions interface, update runPrintMode signature - Export InteractiveMode, InteractiveModeOptions, runPrintMode, PrintModeOptions, runRpcMode from main package - Document run modes in docs/sdk.md with usage examples - Update CHANGELOG
This commit is contained in:
parent
5d39074a35
commit
e483521075
6 changed files with 94 additions and 16 deletions
|
|
@ -24,6 +24,12 @@
|
|||
- `createExtensionRuntime()` function to create runtime with throwing stubs
|
||||
- `Extension` type exported (cleaner name for loaded extension data)
|
||||
- Interactive mode now warns when extensions override built-in tools (read, bash, edit, write, grep, find, ls)
|
||||
- `InteractiveMode` constructor simplified to `(session, options?)` with `InteractiveModeOptions` interface
|
||||
- `InteractiveMode.run()` method for complete initialization and interactive loop
|
||||
- `InteractiveModeOptions` exported for SDK users building custom interactive modes
|
||||
- `runPrintMode()` now takes `(session, options)` with `PrintModeOptions` interface
|
||||
- `PrintModeOptions` exported for SDK users
|
||||
- Run mode utilities exported from main package: `InteractiveMode`, `InteractiveModeOptions`, `runPrintMode`, `PrintModeOptions`, `runRpcMode`
|
||||
|
||||
### Changed
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue