@meshagent/meshagent 0.52.1 → 0.52.3

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 CHANGED
@@ -1,3 +1,10 @@
1
+ ## [0.52.3]
2
+ - Updated LLM proxy TypeScript examples for the current provider endpoints and configuration flow.
3
+ - Updated Vitest to 4.1.11 and added `@vitest/browser-playwright` 4.1.11 for browser testing.
4
+
5
+ ## [0.52.2]
6
+ - Stability
7
+
1
8
  ## [0.52.1]
2
9
  - Clarified `getRoomStatus` and `listRoomEvents` in the TypeScript client so current room allocation state is separated from historical room lifecycle events.
3
10
 
@@ -31,7 +31,7 @@ class ProtocolStartupFailure extends Error {
31
31
  }
32
32
  }
33
33
  function isRetryableStartupClose({ kind, reason, }) {
34
- if (kind === protocol_js_1.ProtocolCloseKind.ERROR) {
34
+ if (kind === protocol_js_1.ProtocolCloseKind.ERROR || kind === protocol_js_1.ProtocolCloseKind.SERVER) {
35
35
  return true;
36
36
  }
37
37
  return (reason ?? "").toLowerCase().includes("1013");
@@ -28,7 +28,7 @@ class ProtocolStartupFailure extends Error {
28
28
  }
29
29
  }
30
30
  function isRetryableStartupClose({ kind, reason, }) {
31
- if (kind === ProtocolCloseKind.ERROR) {
31
+ if (kind === ProtocolCloseKind.ERROR || kind === ProtocolCloseKind.SERVER) {
32
32
  return true;
33
33
  }
34
34
  return (reason ?? "").toLowerCase().includes("1013");
@@ -31,7 +31,7 @@ class ProtocolStartupFailure extends Error {
31
31
  }
32
32
  }
33
33
  function isRetryableStartupClose({ kind, reason, }) {
34
- if (kind === protocol_js_1.ProtocolCloseKind.ERROR) {
34
+ if (kind === protocol_js_1.ProtocolCloseKind.ERROR || kind === protocol_js_1.ProtocolCloseKind.SERVER) {
35
35
  return true;
36
36
  }
37
37
  return (reason ?? "").toLowerCase().includes("1013");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meshagent/meshagent",
3
- "version": "0.52.1",
3
+ "version": "0.52.3",
4
4
  "description": "Meshagent Client",
5
5
  "homepage": "https://github.com/meshagent/meshagent-ts",
6
6
  "scripts": {