@ai-matrx/desktop-protocol 0.21.98 → 0.21.100

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/client.cjs CHANGED
@@ -147,7 +147,7 @@ var init_primitives = __esm({
147
147
  import_zod = require("zod");
148
148
  import_uuid = require("@ai-matrx/kit/uuid");
149
149
  PROTOCOL_MAJOR = 1;
150
- PROTOCOL_MINOR = 92;
150
+ PROTOCOL_MINOR = 93;
151
151
  PROTOCOL_VERSION = `${PROTOCOL_MAJOR}.${PROTOCOL_MINOR}`;
152
152
  ProtocolVersion = import_zod.z.string().regex(/^[1-9][0-9]{0,2}\.[0-9]{1,3}$/);
153
153
  RequestId = import_zod.z.string().min(1).max(64).regex(/^[A-Za-z0-9_-]+$/);
@@ -5156,7 +5156,7 @@ var init_browser = __esm({
5156
5156
  });
5157
5157
 
5158
5158
  // src/schema/net.ts
5159
- var import_zod40, NetInfoParams, NetAddress, NetInterface, NetInfoResult, NetWifiParams, NetWifiNetwork, NetWifiResult, NetBluetoothParams, NetBluetoothDevice, NetBluetoothResult, NetDevicesParams, NetDevice, NetDevicesResult, NetMdnsParams, NetMdnsService, NetMdnsResult, NetScanParams, NetScanResult, NetDownloadParams, NetDownloadResult;
5159
+ var import_zod40, NetInfoParams, NetAddress, NetInterface, NetInfoResult, NetWifiParams, NetWifiNetwork, NetWifiResult, NetBluetoothParams, NetBluetoothDevice, NetBluetoothResult, NetDevicesParams, NetDevice, NetDevicesResult, NetConnectedDevicesParams, NetConnectedCategory, NetConnectedDevice, NetConnectedDevicesResult, NetMdnsParams, NetMdnsService, NetMdnsResult, NetScanParams, NetScanResult, NetDownloadParams, NetDownloadResult;
5160
5160
  var init_net = __esm({
5161
5161
  "src/schema/net.ts"() {
5162
5162
  "use strict";
@@ -5226,6 +5226,24 @@ var init_net = __esm({
5226
5226
  hostname: import_zod40.z.string().nullable()
5227
5227
  });
5228
5228
  NetDevicesResult = import_zod40.z.strictObject({ devices: import_zod40.z.array(NetDevice) });
5229
+ NetConnectedDevicesParams = import_zod40.z.strictObject({});
5230
+ NetConnectedCategory = import_zod40.z.enum(["usb", "thunderbolt", "display", "printer", "input", "storage", "camera", "audio", "network", "other"]);
5231
+ NetConnectedDevice = import_zod40.z.strictObject({
5232
+ name: import_zod40.z.string(),
5233
+ category: NetConnectedCategory,
5234
+ /** Who makes it, where the OS says. */
5235
+ vendor: import_zod40.z.string().nullable(),
5236
+ /** A display's resolution ("3024 x 1964"); null elsewhere. */
5237
+ resolution: import_zod40.z.string().nullable(),
5238
+ /** How it is attached ("Thunderbolt / USB4", "Internal"); null where the OS does not say. */
5239
+ connection: import_zod40.z.string().nullable(),
5240
+ /** Link speed ("Up to 480 Mb/s"); null where the OS does not say. */
5241
+ speed: import_zod40.z.string().nullable(),
5242
+ /** A printer's state ("idle"); null elsewhere. */
5243
+ status: import_zod40.z.string().nullable(),
5244
+ serial: import_zod40.z.string().nullable()
5245
+ });
5246
+ NetConnectedDevicesResult = import_zod40.z.strictObject({ devices: import_zod40.z.array(NetConnectedDevice) });
5229
5247
  NetMdnsParams = import_zod40.z.strictObject({
5230
5248
  /** A service type ("_http._tcp"); absent lists the service types found. */
5231
5249
  service_type: import_zod40.z.string().min(1).max(64).regex(/^_[A-Za-z0-9-]+\._(tcp|udp)$/).optional(),
@@ -6222,6 +6240,7 @@ var init_registry = __esm({
6222
6240
  "net.info": { params: NetInfoParams, result: NetInfoResult, kind: "unary", since: "1.37", errors: ["PLATFORM_UNSUPPORTED", "INTERNAL"] },
6223
6241
  "net.wifi": { params: NetWifiParams, result: NetWifiResult, kind: "unary", since: "1.37", errors: ["PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"] },
6224
6242
  "net.bluetooth": { params: NetBluetoothParams, result: NetBluetoothResult, kind: "unary", since: "1.37", errors: ["PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"] },
6243
+ "net.connected_devices": { params: NetConnectedDevicesParams, result: NetConnectedDevicesResult, kind: "unary", since: "1.93", errors: ["PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"] },
6225
6244
  "net.devices": { params: NetDevicesParams, result: NetDevicesResult, kind: "unary", since: "1.37", errors: ["PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"] },
6226
6245
  "net.mdns": { params: NetMdnsParams, result: NetMdnsResult, kind: "unary", since: "1.37", errors: ["PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"] },
6227
6246
  "net.scan": { params: NetScanParams, result: NetScanResult, kind: "unary", since: "1.37", errors: ["INVALID_PARAMS", "NOT_FOUND", "AUTH_FORBIDDEN", "TIMEOUT", "INTERNAL"] },
@@ -7178,6 +7197,10 @@ var init_registry = __esm({
7178
7197
  NetBluetoothParams,
7179
7198
  NetBluetoothDevice,
7180
7199
  NetBluetoothResult,
7200
+ NetConnectedDevicesParams,
7201
+ NetConnectedCategory,
7202
+ NetConnectedDevice,
7203
+ NetConnectedDevicesResult,
7181
7204
  NetDevicesParams,
7182
7205
  NetDevice,
7183
7206
  NetDevicesResult,