mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-04-07 19:39:35 +00:00
Merge pull request #1497 from SecBear/fix/codecompanion-strategies-to-interactions
Some checks are pending
Set up binary cache / cachix (default) (push) Waiting to run
Set up binary cache / cachix (maximal) (push) Waiting to run
Set up binary cache / cachix (nix) (push) Waiting to run
Treewide Checks / Validate flake (push) Waiting to run
Treewide Checks / Check formatting (push) Waiting to run
Treewide Checks / Check source tree for typos (push) Waiting to run
Treewide Checks / Validate documentation builds (push) Waiting to run
Treewide Checks / Validate documentation builds-1 (push) Waiting to run
Treewide Checks / Validate documentation builds-2 (push) Waiting to run
Treewide Checks / Validate documentation builds-3 (push) Waiting to run
Treewide Checks / Validate hyperlinks in documentation sources (push) Waiting to run
Treewide Checks / Validate Editorconfig conformance (push) Waiting to run
Build and deploy documentation / Check latest commit (push) Waiting to run
Build and deploy documentation / publish (push) Blocked by required conditions
Some checks are pending
Set up binary cache / cachix (default) (push) Waiting to run
Set up binary cache / cachix (maximal) (push) Waiting to run
Set up binary cache / cachix (nix) (push) Waiting to run
Treewide Checks / Validate flake (push) Waiting to run
Treewide Checks / Check formatting (push) Waiting to run
Treewide Checks / Check source tree for typos (push) Waiting to run
Treewide Checks / Validate documentation builds (push) Waiting to run
Treewide Checks / Validate documentation builds-1 (push) Waiting to run
Treewide Checks / Validate documentation builds-2 (push) Waiting to run
Treewide Checks / Validate documentation builds-3 (push) Waiting to run
Treewide Checks / Validate hyperlinks in documentation sources (push) Waiting to run
Treewide Checks / Validate Editorconfig conformance (push) Waiting to run
Build and deploy documentation / Check latest commit (push) Waiting to run
Build and deploy documentation / publish (push) Blocked by required conditions
assistant/codecompanion: rename strategies -> interactions
This commit is contained in:
commit
48b70a8c8a
2 changed files with 16 additions and 3 deletions
|
|
@ -33,6 +33,12 @@
|
||||||
controlled via `vim.options.foldenable` directly instead. RIP
|
controlled via `vim.options.foldenable` directly instead. RIP
|
||||||
`vim.treesitter.foldByDefault` 2026-03-19 - 2026-03-19.
|
`vim.treesitter.foldByDefault` 2026-03-19 - 2026-03-19.
|
||||||
|
|
||||||
|
- `vim.assistant.codecompanion-nvim.setupOpts.strategies` has been renamed to
|
||||||
|
`vim.assistant.codecompanion-nvim.setupOpts.interactions` to match the
|
||||||
|
upstream codecompanion.nvim v19 rename. If you set options like
|
||||||
|
`setupOpts.strategies.chat.adapter`, rename them to
|
||||||
|
`setupOpts.interactions.chat.adapter`.
|
||||||
|
|
||||||
[Snoweuph](https://github.com/snoweuph)
|
[Snoweuph](https://github.com/snoweuph)
|
||||||
|
|
||||||
- "Correct `languages.go.treesitter` to contain all Go file types.
|
- "Correct `languages.go.treesitter` to contain all Go file types.
|
||||||
|
|
@ -59,6 +65,13 @@
|
||||||
|
|
||||||
## Changelog {#sec-release-0-9-changelog}
|
## Changelog {#sec-release-0-9-changelog}
|
||||||
|
|
||||||
|
[SecBear](https://github.com/SecBear):
|
||||||
|
|
||||||
|
- Renamed `setupOpts.strategies` to `setupOpts.interactions` in the
|
||||||
|
codecompanion-nvim module to match the upstream v19 rename. The old key
|
||||||
|
triggered a migration shim that silently discarded user `interactions`
|
||||||
|
overrides.
|
||||||
|
|
||||||
[midischwarz12](https://github.com/midischwarz12):
|
[midischwarz12](https://github.com/midischwarz12):
|
||||||
|
|
||||||
- Changed the prettier-plugin-astro build to use `writableTmpDirAsHomeHook` to
|
- Changed the prettier-plugin-astro build to use `writableTmpDirAsHomeHook` to
|
||||||
|
|
|
||||||
|
|
@ -199,11 +199,11 @@ in {
|
||||||
description = "An adapter is what connects Neovim to an LLM.";
|
description = "An adapter is what connects Neovim to an LLM.";
|
||||||
};
|
};
|
||||||
|
|
||||||
strategies = {
|
interactions = {
|
||||||
chat = {
|
chat = {
|
||||||
adapter = mkOption {
|
adapter = mkOption {
|
||||||
default = null;
|
default = null;
|
||||||
description = "Adapter used for the chat strategy.";
|
description = "Adapter used for the chat interaction.";
|
||||||
type = nullOr (either str (submodule {
|
type = nullOr (either str (submodule {
|
||||||
options = {
|
options = {
|
||||||
name = mkOption {
|
name = mkOption {
|
||||||
|
|
@ -268,7 +268,7 @@ in {
|
||||||
inline = {
|
inline = {
|
||||||
adapter = mkOption {
|
adapter = mkOption {
|
||||||
default = null;
|
default = null;
|
||||||
description = "Adapter used for the inline strategy.";
|
description = "Adapter used for the inline interaction.";
|
||||||
type = nullOr (either str (submodule {
|
type = nullOr (either str (submodule {
|
||||||
options = {
|
options = {
|
||||||
name = mkOption {
|
name = mkOption {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue