@launchdarkly/server-sdk-ai 0.16.8 → 0.17.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 +27 -0
- package/dist/index.cjs +669 -184
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +480 -45
- package/dist/index.d.ts +480 -45
- package/dist/index.js +666 -184
- package/dist/index.js.map +1 -1
- package/package.json +1 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.17.0](https://github.com/launchdarkly/js-core/compare/server-sdk-ai-v0.16.8...server-sdk-ai-v0.17.0) (2026-04-21)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### ⚠ BREAKING CHANGES
|
|
7
|
+
|
|
8
|
+
* Flatten JudgeResponse and EvalScore into new LDJudgeResult ([#1284](https://github.com/launchdarkly/js-core/issues/1284))
|
|
9
|
+
* `LDAIConfigTracker.trackJudgeResponse()` and `trackEvalScores()` methods removed; replaced by `trackJudgeResult()` ([#1284](https://github.com/launchdarkly/js-core/issues/1284))
|
|
10
|
+
* `Judge.evaluate()` and `Judge.evaluateMessages()` now always return `LDJudgeResult` (never `undefined`); check `result.sampled` to determine if evaluation was performed ([#1284](https://github.com/launchdarkly/js-core/issues/1284))
|
|
11
|
+
* Add per-execution runId, at-most-once tracking, and cross-process tracker resumption ([#1270](https://github.com/launchdarkly/js-core/issues/1270))
|
|
12
|
+
* `config.tracker` property on AI config objects replaced with `config.createTracker()` factory function ([#1270](https://github.com/launchdarkly/js-core/issues/1270))
|
|
13
|
+
* `TrackedChat` and `Judge` constructors no longer accept a tracker parameter; tracker is now created on-demand via `createTracker()` ([#1270](https://github.com/launchdarkly/js-core/issues/1270))
|
|
14
|
+
* `TrackedChat.getTracker()` and `Judge.getTracker()` methods removed ([#1270](https://github.com/launchdarkly/js-core/issues/1270))
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* Add per-execution runId, at-most-once tracking, and cross-process tracker resumption ([#1270](https://github.com/launchdarkly/js-core/issues/1270)) ([fc25ab7](https://github.com/launchdarkly/js-core/commit/fc25ab7bd9577dbd1ea9826547793366a4e6814b))
|
|
19
|
+
* Flatten JudgeResponse and EvalScore into new LDJudgeResult ([#1284](https://github.com/launchdarkly/js-core/issues/1284)) ([aba1221](https://github.com/launchdarkly/js-core/commit/aba1221d3b3d9f4eff44d805ed1c5e9f4d088e4a))
|
|
20
|
+
* Implement agent graph definitions ([#1282](https://github.com/launchdarkly/js-core/issues/1282)) ([e7d08e5](https://github.com/launchdarkly/js-core/commit/e7d08e5e3b84020e543fd54d40a8530ddc514f20))
|
|
21
|
+
* simplify evaluation schema to flat score/reasoning shape ([#1286](https://github.com/launchdarkly/js-core/issues/1286)) ([c132e9f](https://github.com/launchdarkly/js-core/commit/c132e9f44c8113cc5b795edfa6330f26c38081a6))
|
|
22
|
+
* Add `LDAIClient.createTracker()` and `createGraphTracker()` methods to continue tracking a run from a separate process ([#1270](https://github.com/launchdarkly/js-core/issues/1270)) ([fc25ab7](https://github.com/launchdarkly/js-core/commit/fc25ab7bd9577dbd1ea9826547793366a4e6814b))
|
|
23
|
+
* Add `LDAIConfigTracker.trackToolCall()` and `trackToolCalls()` methods ([#1270](https://github.com/launchdarkly/js-core/issues/1270)) ([fc25ab7](https://github.com/launchdarkly/js-core/commit/fc25ab7bd9577dbd1ea9826547793366a4e6814b))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Bug Fixes
|
|
27
|
+
|
|
28
|
+
* Add support for graph metric tracking ([#1269](https://github.com/launchdarkly/js-core/issues/1269)) ([034a89d](https://github.com/launchdarkly/js-core/commit/034a89d3a8d8b718aecb459190f94f6e2ab14a3d))
|
|
29
|
+
|
|
3
30
|
## [0.16.8](https://github.com/launchdarkly/js-core/compare/server-sdk-ai-v0.16.7...server-sdk-ai-v0.16.8) (2026-04-14)
|
|
4
31
|
|
|
5
32
|
|