modality-kit 0.12.9 → 0.12.10

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/dist/index.js CHANGED
@@ -5672,6 +5672,8 @@ class JSONRPCManager extends JSONRPCCall {
5672
5672
  this.methods.clear();
5673
5673
  }
5674
5674
  }
5675
+ // src/util_tests/isTestEnvironment.ts
5676
+ var isTestEnvironment = globalThis.Bun?.main?.includes?.("test");
5675
5677
  // src/websocket-client.ts
5676
5678
  var logger3 = getLoggerInstance("WebSocket-Client");
5677
5679
 
@@ -5939,8 +5941,6 @@ class LruCache {
5939
5941
  this.values.set(key, value);
5940
5942
  }
5941
5943
  }
5942
- // src/util_tests/isTestEnvironment.ts
5943
- var isTestEnvironment = globalThis.Bun?.main?.includes?.("test");
5944
5944
  export {
5945
5945
  withErrorHandling,
5946
5946
  setupAITools,
@@ -10,14 +10,17 @@ export { loadVersion } from "./util_version";
10
10
  export { compressWithLanguageDetection as compressText } from "./util_text_compression";
11
11
  export { JSONRPCCall, createDataPendingOperations } from "./util_pending";
12
12
  export type { DataPendingOperation, PendingOperation } from "./util_pending";
13
+ /**
14
+ * JSON RPC related exports
15
+ */
13
16
  export { JSONRPCUtils } from "./JSONRPCUtils";
14
- export { JSONRPCErrorCode } from "./schemas/jsonrpc";
15
- export type { JSONRPCMessage, JSONRPCRequest, JSONRPCNotification, JSONRPCResponse, JSONRPCBatchRequest, JSONRPCBatchResponse, JSONRPCErrorResponse, JSONRPCValidationResult, JSONRPCError, JSONRPCParams, CommandExecuteParams, NotificationSendParams, } from "./schemas/jsonrpc";
16
17
  export { JSONRPCManager } from "./jsonrpc-manager";
18
+ export { JSONRPCErrorCode } from "./schemas/jsonrpc";
17
19
  export type { JSONRPCManagerEvents, JSONRPCManagerConfig, } from "./jsonrpc-manager";
18
- export { WebSocketClient } from "./websocket-client";
19
- export { LruCache } from "./lruCache";
20
+ export type { JSONRPCMessage, JSONRPCRequest, JSONRPCNotification, JSONRPCResponse, JSONRPCBatchRequest, JSONRPCBatchResponse, JSONRPCErrorResponse, JSONRPCValidationResult, JSONRPCError, JSONRPCParams, CommandExecuteParams, NotificationSendParams, } from "./schemas/jsonrpc";
20
21
  /**
21
22
  * For test tool
22
23
  */
23
24
  export { isTestEnvironment } from "./util_tests/isTestEnvironment";
25
+ export { WebSocketClient } from "./websocket-client";
26
+ export { LruCache } from "./lruCache";
@@ -98,7 +98,7 @@ export declare enum JSONRPCErrorCode {
98
98
  * This ensures strict JSON-RPC 2.0 compliance and wire protocol compatibility.
99
99
  * See: https://www.jsonrpc.org/specification#parameter_structures
100
100
  */
101
- export type JSONRPCParams = object | any[] | null;
101
+ export type JSONRPCParams = Record<any, any> | any[] | null;
102
102
  /**
103
103
  * JSON-RPC 2.0 ID type - string, number, or null
104
104
  */
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.12.9",
2
+ "version": "0.12.10",
3
3
  "name": "modality-kit",
4
4
  "repository": {
5
5
  "type": "git",