@warlock.js/ai-cli 5.44.0 → 5.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/cjs/index.cjs +4 -1
- package/cjs/index.cjs.map +1 -1
- package/esm/model/cli-model.mjs +4 -1
- package/esm/model/cli-model.mjs.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ All notable changes to `@warlock.js/ai-cli` are documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). `@warlock.js/*` packages are released in lockstep — every package shares the same version number, so a version below may list only the changes that affected this package.
|
|
6
6
|
|
|
7
|
+
## 5.45.0 - 2026-11-05
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- `capabilities.toolResultImages` is `false`; tool-result images reach CLI agents as text only.
|
|
12
|
+
|
|
7
13
|
## 5.34.3 - 2026-10-20
|
|
8
14
|
|
|
9
15
|
### Changed
|
package/cjs/index.cjs
CHANGED
|
@@ -138,7 +138,10 @@ function abortError(message) {
|
|
|
138
138
|
*/
|
|
139
139
|
function cliModel(agent, config = {}) {
|
|
140
140
|
const { adapter } = agent;
|
|
141
|
-
const capabilities = {
|
|
141
|
+
const capabilities = {
|
|
142
|
+
reasoning: adapter.effort === true,
|
|
143
|
+
toolResultImages: false
|
|
144
|
+
};
|
|
142
145
|
const execute = async (messages, options = {}) => {
|
|
143
146
|
if (options.tools !== void 0 && options.tools.length > 0) throw new CliError(`${adapter.title}: a CLI model runs the CLI's own tools; pass framework tools to the CLI as MCP servers (\`mcp\`) instead of agent \`tools\`.`, {
|
|
144
147
|
type: "unsupported-option",
|