@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/react.d.cts CHANGED
@@ -8509,6 +8509,35 @@ declare const OPS: {
8509
8509
  readonly since: "1.37";
8510
8510
  readonly errors: readonly ["PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
8511
8511
  };
8512
+ readonly "net.connected_devices": {
8513
+ readonly params: z.ZodObject<{}, z.core.$strict>;
8514
+ readonly result: z.ZodObject<{
8515
+ devices: z.ZodArray<z.ZodObject<{
8516
+ name: z.ZodString;
8517
+ category: z.ZodEnum<{
8518
+ camera: "camera";
8519
+ input: "input";
8520
+ storage: "storage";
8521
+ other: "other";
8522
+ usb: "usb";
8523
+ thunderbolt: "thunderbolt";
8524
+ display: "display";
8525
+ printer: "printer";
8526
+ audio: "audio";
8527
+ network: "network";
8528
+ }>;
8529
+ vendor: z.ZodNullable<z.ZodString>;
8530
+ resolution: z.ZodNullable<z.ZodString>;
8531
+ connection: z.ZodNullable<z.ZodString>;
8532
+ speed: z.ZodNullable<z.ZodString>;
8533
+ status: z.ZodNullable<z.ZodString>;
8534
+ serial: z.ZodNullable<z.ZodString>;
8535
+ }, z.core.$strict>>;
8536
+ }, z.core.$strict>;
8537
+ readonly kind: "unary";
8538
+ readonly since: "1.93";
8539
+ readonly errors: readonly ["PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
8540
+ };
8512
8541
  readonly "net.devices": {
8513
8542
  readonly params: z.ZodObject<{}, z.core.$strict>;
8514
8543
  readonly result: z.ZodObject<{
@@ -8965,9 +8994,9 @@ declare const OPS: {
8965
8994
  title: z.ZodNullable<z.ZodString>;
8966
8995
  media_type: z.ZodOptional<z.ZodEnum<{
8967
8996
  unknown: "unknown";
8997
+ audio: "audio";
8968
8998
  image: "image";
8969
8999
  video: "video";
8970
- audio: "audio";
8971
9000
  }>>;
8972
9001
  duration_s: z.ZodOptional<z.ZodNumber>;
8973
9002
  }, z.core.$strict>>;
@@ -8993,9 +9022,9 @@ declare const OPS: {
8993
9022
  title: z.ZodNullable<z.ZodString>;
8994
9023
  media_type: z.ZodOptional<z.ZodEnum<{
8995
9024
  unknown: "unknown";
9025
+ audio: "audio";
8996
9026
  image: "image";
8997
9027
  video: "video";
8998
- audio: "audio";
8999
9028
  }>>;
9000
9029
  duration_s: z.ZodOptional<z.ZodNumber>;
9001
9030
  }, z.core.$strict>;
package/dist/react.d.ts CHANGED
@@ -8509,6 +8509,35 @@ declare const OPS: {
8509
8509
  readonly since: "1.37";
8510
8510
  readonly errors: readonly ["PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
8511
8511
  };
8512
+ readonly "net.connected_devices": {
8513
+ readonly params: z.ZodObject<{}, z.core.$strict>;
8514
+ readonly result: z.ZodObject<{
8515
+ devices: z.ZodArray<z.ZodObject<{
8516
+ name: z.ZodString;
8517
+ category: z.ZodEnum<{
8518
+ camera: "camera";
8519
+ input: "input";
8520
+ storage: "storage";
8521
+ other: "other";
8522
+ usb: "usb";
8523
+ thunderbolt: "thunderbolt";
8524
+ display: "display";
8525
+ printer: "printer";
8526
+ audio: "audio";
8527
+ network: "network";
8528
+ }>;
8529
+ vendor: z.ZodNullable<z.ZodString>;
8530
+ resolution: z.ZodNullable<z.ZodString>;
8531
+ connection: z.ZodNullable<z.ZodString>;
8532
+ speed: z.ZodNullable<z.ZodString>;
8533
+ status: z.ZodNullable<z.ZodString>;
8534
+ serial: z.ZodNullable<z.ZodString>;
8535
+ }, z.core.$strict>>;
8536
+ }, z.core.$strict>;
8537
+ readonly kind: "unary";
8538
+ readonly since: "1.93";
8539
+ readonly errors: readonly ["PLATFORM_UNSUPPORTED", "TIMEOUT", "INTERNAL"];
8540
+ };
8512
8541
  readonly "net.devices": {
8513
8542
  readonly params: z.ZodObject<{}, z.core.$strict>;
8514
8543
  readonly result: z.ZodObject<{
@@ -8965,9 +8994,9 @@ declare const OPS: {
8965
8994
  title: z.ZodNullable<z.ZodString>;
8966
8995
  media_type: z.ZodOptional<z.ZodEnum<{
8967
8996
  unknown: "unknown";
8997
+ audio: "audio";
8968
8998
  image: "image";
8969
8999
  video: "video";
8970
- audio: "audio";
8971
9000
  }>>;
8972
9001
  duration_s: z.ZodOptional<z.ZodNumber>;
8973
9002
  }, z.core.$strict>>;
@@ -8993,9 +9022,9 @@ declare const OPS: {
8993
9022
  title: z.ZodNullable<z.ZodString>;
8994
9023
  media_type: z.ZodOptional<z.ZodEnum<{
8995
9024
  unknown: "unknown";
9025
+ audio: "audio";
8996
9026
  image: "image";
8997
9027
  video: "video";
8998
- audio: "audio";
8999
9028
  }>>;
9000
9029
  duration_s: z.ZodOptional<z.ZodNumber>;
9001
9030
  }, z.core.$strict>;
@@ -4,15 +4,17 @@
4
4
  "table": "ai.device_model_file",
5
5
  "metadata": {
6
6
  "model_key": "own-qwen3-8b-q4-k-m-1a2b3c4d",
7
+ "display_name": "Qwen3 8B Instruct",
7
8
  "gguf": { "supports_tools": true }
8
9
  },
9
10
  "metadata_without_known_tool_support": {
10
- "model_key": "own-tiny-f32-5e6f7a8b"
11
+ "model_key": "own-tiny-f32-5e6f7a8b",
12
+ "display_name": "Tiny Test Model"
11
13
  }
12
14
  },
13
15
  "reserved_metadata_keys": {
14
16
  "about": "Every top-level key Matrx 2 writes into ai.device_model_file.metadata must be registered in platform.metadata_reserved_keys for this entity type (db/migrations INSERT); the server tests the registration, Matrx 2 tests its writer against this list.",
15
- "ai_device_model_file": ["model_key", "gguf"]
17
+ "ai_device_model_file": ["model_key", "gguf", "display_name"]
16
18
  },
17
19
  "chat_request": {
18
20
  "about": "The params the server sends to models.llm.chat: chat_title is the conversation's title, sent only when the server has one.",
@@ -25260,6 +25260,99 @@
25260
25260
  ],
25261
25261
  "additionalProperties": false
25262
25262
  },
25263
+ "NetConnectedDevicesParams": {
25264
+ "type": "object",
25265
+ "properties": {},
25266
+ "additionalProperties": false
25267
+ },
25268
+ "NetConnectedCategory": {
25269
+ "type": "string",
25270
+ "enum": [
25271
+ "usb",
25272
+ "thunderbolt",
25273
+ "display",
25274
+ "printer",
25275
+ "input",
25276
+ "storage",
25277
+ "camera",
25278
+ "audio",
25279
+ "network",
25280
+ "other"
25281
+ ]
25282
+ },
25283
+ "NetConnectedDevice": {
25284
+ "type": "object",
25285
+ "properties": {
25286
+ "name": {
25287
+ "type": "string"
25288
+ },
25289
+ "category": {
25290
+ "$ref": "#/$defs/NetConnectedCategory"
25291
+ },
25292
+ "vendor": {
25293
+ "type": [
25294
+ "string",
25295
+ "null"
25296
+ ]
25297
+ },
25298
+ "resolution": {
25299
+ "type": [
25300
+ "string",
25301
+ "null"
25302
+ ]
25303
+ },
25304
+ "connection": {
25305
+ "type": [
25306
+ "string",
25307
+ "null"
25308
+ ]
25309
+ },
25310
+ "speed": {
25311
+ "type": [
25312
+ "string",
25313
+ "null"
25314
+ ]
25315
+ },
25316
+ "status": {
25317
+ "type": [
25318
+ "string",
25319
+ "null"
25320
+ ]
25321
+ },
25322
+ "serial": {
25323
+ "type": [
25324
+ "string",
25325
+ "null"
25326
+ ]
25327
+ }
25328
+ },
25329
+ "required": [
25330
+ "name",
25331
+ "category",
25332
+ "vendor",
25333
+ "resolution",
25334
+ "connection",
25335
+ "speed",
25336
+ "status",
25337
+ "serial"
25338
+ ],
25339
+ "additionalProperties": false
25340
+ },
25341
+ "NetConnectedDevicesResult": {
25342
+ "type": "object",
25343
+ "properties": {
25344
+ "devices": {
25345
+ "type": "array",
25346
+ "items": {
25347
+ "$ref": "#/$defs/NetConnectedDevice"
25348
+ }
25349
+ }
25350
+ },
25351
+ "required": [
25352
+ "devices"
25353
+ ],
25354
+ "additionalProperties": false
25355
+ },
25263
25356
  "NetDevicesParams": {
25264
25357
  "type": "object",
25265
25358
  "properties": {},
@@ -31329,6 +31422,17 @@
31329
31422
  "INTERNAL"
31330
31423
  ]
31331
31424
  },
31425
+ "net.connected_devices": {
31426
+ "params": "NetConnectedDevicesParams",
31427
+ "result": "NetConnectedDevicesResult",
31428
+ "kind": "unary",
31429
+ "since": "1.93",
31430
+ "errors": [
31431
+ "PLATFORM_UNSUPPORTED",
31432
+ "TIMEOUT",
31433
+ "INTERNAL"
31434
+ ]
31435
+ },
31332
31436
  "net.devices": {
31333
31437
  "params": "NetDevicesParams",
31334
31438
  "result": "NetDevicesResult",
@@ -32405,5 +32509,5 @@
32405
32509
  "olderPeersGet": 0
32406
32510
  }
32407
32511
  },
32408
- "x-protocol-version": "1.92"
32512
+ "x-protocol-version": "1.93"
32409
32513
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/desktop-protocol",
3
- "version": "0.21.98",
3
+ "version": "0.21.100",
4
4
  "description": "The one wire contract between Matrx 2 (the desktop app) and every client that drives it — phone, web app, extension, server: zod schemas for the envelope and every cap.op, the 16-byte binary frame codec, a reconnecting request/stream/credit/reattach client, React hooks, and a generated JSON Schema + Pydantic twin that CI keeps byte-identical.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -99,5 +99,5 @@
99
99
  "node": ">=20"
100
100
  },
101
101
  "sideEffects": false,
102
- "gitHead": "e78dfc77de89448a97e94fd28b18de44d0d98745"
102
+ "gitHead": "ed4dfda8a499e462b1f7dd98fc3866cd295584a4"
103
103
  }