@mindstudio-ai/interface 0.1.30 → 0.1.32

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/package.json +4 -3
package/CHANGELOG.md ADDED
@@ -0,0 +1,29 @@
1
+ # Changelog
2
+
3
+ What changed in `@mindstudio-ai/interface`, newest first, each version under its own heading. An entry says what's new, what's fixed, and what changed behavior, with what an app's code should be checked for. An entry whose version npm doesn't have yet is still open: a later change adds to it.
4
+
5
+ Versions before 0.1.30 aren't recorded here.
6
+
7
+ ## 0.1.32
8
+
9
+ ### Fixed
10
+
11
+ - Voice sessions (`@mindstudio-ai/interface/voice`) need `livekit-client` 2.22.4 or later, which catches a failed renegotiation with the voice server instead of surfacing it as an unhandled promise rejection. App code isn't affected.
12
+
13
+ ## 0.1.31
14
+
15
+ ### New
16
+
17
+ - The package carries this changelog, `CHANGELOG.md`, from this version on. Its entries start at 0.1.30.
18
+
19
+ ## 0.1.30
20
+
21
+ Published by release v1.0.2832.
22
+
23
+ ### Changed behavior
24
+
25
+ - `onToken` is called at most once per animation frame, with the latest text (on a timer in a hidden tab), and always with the final text before an `onStreamData` or `onStreamError` call and before the method's promise resolves. It still receives the whole text so far, as before. Check: an `onToken` that appends what it's given, against the documented contract. It would now lose text, so make it replace what it shows.
26
+
27
+ ### New
28
+
29
+ - A streamed call asks for its text as what changed since the last frame (`streamFormat: 'delta'`), and the SDK puts the whole text back together, so a long answer costs about its own length on the wire rather than its length times the number of updates. Against an api from before this, frames carry the whole text, which the SDK reads too.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindstudio-ai/interface",
3
- "version": "0.1.30",
3
+ "version": "0.1.32",
4
4
  "description": "Frontend SDK for MindStudio v2 app interfaces",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -18,7 +18,8 @@
18
18
  }
19
19
  },
20
20
  "files": [
21
- "dist"
21
+ "dist",
22
+ "CHANGELOG.md"
22
23
  ],
23
24
  "scripts": {
24
25
  "build": "tsup",
@@ -56,6 +57,6 @@
56
57
  "typescript": "npm:@typescript/typescript6@^6.0.2"
57
58
  },
58
59
  "dependencies": {
59
- "livekit-client": "^2.22.3"
60
+ "livekit-client": "^2.22.4"
60
61
  }
61
62
  }