@warlock.js/ai 4.7.0 → 4.8.1
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 +12 -0
- package/cjs/index.cjs +1 -1
- package/cjs/{src-DTlN47aO.cjs → src-5ze7nVpa.cjs} +5 -3
- package/cjs/src-5ze7nVpa.cjs.map +1 -0
- package/cjs/{src-DBn2_pbG.cjs → src-DTQ4KgBu.cjs} +1 -1
- package/esm/ai.mjs +1 -0
- package/esm/ai.mjs.map +1 -1
- package/esm/config.d.mts.map +1 -1
- package/esm/config.mjs +5 -1
- package/esm/config.mjs.map +1 -1
- package/esm/contracts/model.contract.d.mts +21 -3
- package/esm/contracts/model.contract.d.mts.map +1 -1
- package/esm/index.mjs +1 -0
- package/esm/memory/index.mjs +3 -0
- package/esm/skills/store/procedural-skill-store.mjs +1 -0
- package/esm/skills/store/procedural-skill-store.mjs.map +1 -1
- package/package.json +3 -3
- package/cjs/src-DTlN47aO.cjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,18 @@ All notable changes to `@warlock.js/ai` 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
|
+
## 4.8.1 - 2026-07-21
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- `setAIConfig`'s `onConfigApplied` listener notification no longer swallows a misbehaving listener's exception silently — it's now logged via `log.error("ai", "configListener", error)`
|
|
12
|
+
|
|
13
|
+
## 4.8.0 - 2026-07-19
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
|
|
17
|
+
- **`reasoning: { effort: "none" }`** — a neutral "run without reasoning, explicitly" level on `ReasoningEffort`; OpenAI emits `reasoning_effort: "none"` so gpt-5 / o-series accept function tools, and budget-based adapters (Anthropic / Bedrock / Google / Ollama) disable thinking.
|
|
18
|
+
|
|
7
19
|
## 4.7.0
|
|
8
20
|
|
|
9
21
|
### Added
|
package/cjs/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_src = require('./src-
|
|
2
|
+
const require_src = require('./src-5ze7nVpa.cjs');
|
|
3
3
|
const require_matcher_logic = require('./matcher-logic-SBnzYohQ.cjs');
|
|
4
4
|
|
|
5
5
|
exports.AIError = require_src.AIError;
|
|
@@ -2824,7 +2824,9 @@ function setAIConfig(partial) {
|
|
|
2824
2824
|
const snapshot = { ...aiConfig };
|
|
2825
2825
|
for (const listener of configListeners) try {
|
|
2826
2826
|
listener(snapshot);
|
|
2827
|
-
} catch {
|
|
2827
|
+
} catch (error) {
|
|
2828
|
+
_warlock_js_logger.log.error("ai", "configListener", error);
|
|
2829
|
+
}
|
|
2828
2830
|
return snapshot;
|
|
2829
2831
|
}
|
|
2830
2832
|
/**
|
|
@@ -3386,7 +3388,7 @@ function probeEmbedderPeer() {
|
|
|
3386
3388
|
if (loadingPromise$3) return loadingPromise$3;
|
|
3387
3389
|
loadingPromise$3 = (async () => {
|
|
3388
3390
|
try {
|
|
3389
|
-
await Promise.resolve().then(() => require("./src-
|
|
3391
|
+
await Promise.resolve().then(() => require("./src-DTQ4KgBu.cjs"));
|
|
3390
3392
|
isEmbedderPeerInstalled = true;
|
|
3391
3393
|
} catch {
|
|
3392
3394
|
isEmbedderPeerInstalled = false;
|
|
@@ -25621,4 +25623,4 @@ Object.defineProperty(exports, 'workflow', {
|
|
|
25621
25623
|
return workflow;
|
|
25622
25624
|
}
|
|
25623
25625
|
});
|
|
25624
|
-
//# sourceMappingURL=src-
|
|
25626
|
+
//# sourceMappingURL=src-5ze7nVpa.cjs.map
|