You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Supported `env` value types: - **Plain environment variable name (string)**: if
1494
1495
the value is the name of an environment variable that has already been set
1495
-
(e.g.�`"HOME"` or `"GEMINI_API_KEY"`), the plugin will read the value. -
1496
+
(e.g. `"HOME"` or `"GEMINI_API_KEY"`), the plugin will read the value. -
1496
1497
**Command (string prefixed with cmd:)**: any value that starts with `cmd:` will
1497
1498
be executed via the shell. Example: `"cmd:op read
1498
1499
op://personal/Gemini/credential --no-newline"`. - **Function**: you can provide
@@ -4328,7 +4329,7 @@ message to the LLM.
4328
4329
4329
4330
[!IMPORTANT] With the exception of `#{buffer}` and `#{buffers}`, editor context
4330
4331
captures a point-in-time snapshot when your message is sent. If the underlying
4331
-
data changes (e.g.� new diagnostics, a different quickfix list), simply use the
4332
+
data changes (e.g. new diagnostics, a different quickfix list), simply use the
4332
4333
context again in a new message to share the latest state.
4333
4334
4334
4335
#BUFFER ~
@@ -5104,7 +5105,7 @@ LIST OF EVENTS ~
5104
5105
The events that are fired from within the plugin are:
5105
5106
5106
5107
- `CodeCompanionACPConnected` - Fired after the ACP connection is authenticated and ready to use
5107
-
- `CodeCompanionACPSessionPre` - Fired after ACP authentication completes but before a new session is established; allows subscribers to modify the connection (e.g.inject MCP servers) synchronously
5108
+
- `CodeCompanionACPSessionPre` - Fired after ACP authentication completes but before a new session is established; allows subscribers to modify the connection (e.g.inject MCP servers) synchronously
5108
5109
- `CodeCompanionACPSessionPost` - Fired after a new ACP session has been established
5109
5110
- `CodeCompanionChatACPModeChanged` - Fired after the ACP mode has been changed in the chat
5110
5111
- `CodeCompanionACPChatRestored` - Fired after an ACP session has been restored
@@ -5116,7 +5117,7 @@ The events that are fired from within the plugin are:
5116
5117
- `CodeCompanionChatDone` - Fired after a chat has received the response
5117
5118
- `CodeCompanionChatStopped` - Fired after a chat has been stopped
5118
5119
- `CodeCompanionChatCleared` - Fired after a chat has been cleared
5119
-
- `CodeCompanionChatRestored` - Fired after a chat has been restored to an editable state (e.g.when `on_before_submit` prevents submission)
5120
+
- `CodeCompanionChatRestored` - Fired after a chat has been restored to an editable state (e.g.when `on_before_submit` prevents submission)
5120
5121
- `CodeCompanionChatAdapter` - Fired after the adapter has been set in the chat
5121
5122
- `CodeCompanionChatModel` - Fired after the model has been set in the chat
5122
5123
- `CodeCompanionCLICreated` - Fired after a CLI buffer has been created for the first time
@@ -5313,6 +5314,9 @@ If your prompt library entries have an `alias` defined then you can invoke them
5313
5314
using a slash command. In the cmd line `:CodeCompanion /<alias>` or `/<alias>`
5314
5315
if you’re in the chat buffer.
5315
5316
5317
+
When invoked this way, any tools declared on the prompt are added to the
5318
+
current chat buffer before the prompt content is inserted.
5319
+
5316
5320
5317
5321
USER INTERFACE *codecompanion-usage-user-interface*
5318
5322
@@ -7512,7 +7516,7 @@ tool to function. In the case of Anthropic, we insert additional headers.
7512
7516
<
7513
7517
7514
7518
Some adapter tools can be a `hybrid` in terms of their implementation. That is,
7515
-
they’re an adapter tool that requires a client-side component (i.e.� a
7519
+
they’re an adapter tool that requires a client-side component (i.e. a
7516
7520
built-in tool). This is the case for the
7517
7521
|codecompanion-usage-chat-buffer-agents-tools-memory| tool from Anthropic. To
7518
7522
allow for this, ensure that the tool definition in `available_tools` has
0 commit comments