@ai-matrx/desktop-protocol 0.16.1 → 0.17.0
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 +8 -0
- package/dist/client.cjs +144 -111
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +144 -111
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +111 -64
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +56 -6
- package/dist/index.d.ts +56 -6
- package/dist/index.js +111 -64
- package/dist/index.js.map +1 -1
- package/dist/{models-CCOaAWaM.d.cts → models-Dj_B9wHj.d.cts} +83 -1
- package/dist/{models-CCOaAWaM.d.ts → models-Dj_B9wHj.d.ts} +83 -1
- package/dist/react.d.cts +46 -0
- package/dist/react.d.ts +46 -0
- package/generated/desktop-protocol.schema.json +168 -1
- package/package.json +1 -1
|
@@ -681,7 +681,7 @@ type OpSpec = {
|
|
|
681
681
|
readonly params: z.ZodType;
|
|
682
682
|
readonly result: z.ZodType;
|
|
683
683
|
readonly kind: "unary" | "stream" | "resource";
|
|
684
|
-
readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5";
|
|
684
|
+
readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6";
|
|
685
685
|
readonly errors: readonly z.infer<typeof ErrorCode>[];
|
|
686
686
|
};
|
|
687
687
|
declare const OPS: {
|
|
@@ -2202,6 +2202,52 @@ declare const OPS: {
|
|
|
2202
2202
|
readonly since: "1.4";
|
|
2203
2203
|
readonly errors: readonly ["INTERNAL"];
|
|
2204
2204
|
};
|
|
2205
|
+
readonly "audio.devices": {
|
|
2206
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
2207
|
+
readonly result: z.ZodObject<{
|
|
2208
|
+
inputs: z.ZodArray<z.ZodObject<{
|
|
2209
|
+
id: z.ZodString;
|
|
2210
|
+
name: z.ZodString;
|
|
2211
|
+
default: z.ZodBoolean;
|
|
2212
|
+
}, z.core.$strict>>;
|
|
2213
|
+
outputs: z.ZodArray<z.ZodObject<{
|
|
2214
|
+
id: z.ZodString;
|
|
2215
|
+
name: z.ZodString;
|
|
2216
|
+
default: z.ZodBoolean;
|
|
2217
|
+
}, z.core.$strict>>;
|
|
2218
|
+
}, z.core.$strict>;
|
|
2219
|
+
readonly kind: "unary";
|
|
2220
|
+
readonly since: "1.6";
|
|
2221
|
+
readonly errors: readonly ["PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2222
|
+
};
|
|
2223
|
+
readonly "audio.record": {
|
|
2224
|
+
readonly params: z.ZodObject<{
|
|
2225
|
+
seconds: z.ZodNumber;
|
|
2226
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
2227
|
+
path: z.ZodOptional<z.ZodString>;
|
|
2228
|
+
}, z.core.$strict>;
|
|
2229
|
+
readonly result: z.ZodObject<{
|
|
2230
|
+
path: z.ZodString;
|
|
2231
|
+
seconds: z.ZodNumber;
|
|
2232
|
+
bytes: z.ZodInt;
|
|
2233
|
+
peak: z.ZodNumber;
|
|
2234
|
+
}, z.core.$strict>;
|
|
2235
|
+
readonly kind: "unary";
|
|
2236
|
+
readonly since: "1.6";
|
|
2237
|
+
readonly errors: readonly ["NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "RESOURCE_BUSY", "INTERNAL"];
|
|
2238
|
+
};
|
|
2239
|
+
readonly "audio.play": {
|
|
2240
|
+
readonly params: z.ZodObject<{
|
|
2241
|
+
path: z.ZodString;
|
|
2242
|
+
}, z.core.$strict>;
|
|
2243
|
+
readonly result: z.ZodObject<{
|
|
2244
|
+
path: z.ZodString;
|
|
2245
|
+
seconds: z.ZodNumber;
|
|
2246
|
+
}, z.core.$strict>;
|
|
2247
|
+
readonly kind: "unary";
|
|
2248
|
+
readonly since: "1.6";
|
|
2249
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2250
|
+
};
|
|
2205
2251
|
readonly "coding.history.import_missing": {
|
|
2206
2252
|
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
2207
2253
|
readonly result: z.ZodObject<{
|
|
@@ -4948,6 +4994,42 @@ declare const NAMED_SCHEMAS: {
|
|
|
4948
4994
|
}, z.core.$strict>>;
|
|
4949
4995
|
uptime_seconds: z.ZodInt;
|
|
4950
4996
|
}, z.core.$strict>;
|
|
4997
|
+
readonly AudioDevice: z.ZodObject<{
|
|
4998
|
+
id: z.ZodString;
|
|
4999
|
+
name: z.ZodString;
|
|
5000
|
+
default: z.ZodBoolean;
|
|
5001
|
+
}, z.core.$strict>;
|
|
5002
|
+
readonly AudioDevicesParams: z.ZodObject<{}, z.core.$strict>;
|
|
5003
|
+
readonly AudioDevicesResult: z.ZodObject<{
|
|
5004
|
+
inputs: z.ZodArray<z.ZodObject<{
|
|
5005
|
+
id: z.ZodString;
|
|
5006
|
+
name: z.ZodString;
|
|
5007
|
+
default: z.ZodBoolean;
|
|
5008
|
+
}, z.core.$strict>>;
|
|
5009
|
+
outputs: z.ZodArray<z.ZodObject<{
|
|
5010
|
+
id: z.ZodString;
|
|
5011
|
+
name: z.ZodString;
|
|
5012
|
+
default: z.ZodBoolean;
|
|
5013
|
+
}, z.core.$strict>>;
|
|
5014
|
+
}, z.core.$strict>;
|
|
5015
|
+
readonly AudioRecordParams: z.ZodObject<{
|
|
5016
|
+
seconds: z.ZodNumber;
|
|
5017
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
5018
|
+
path: z.ZodOptional<z.ZodString>;
|
|
5019
|
+
}, z.core.$strict>;
|
|
5020
|
+
readonly AudioRecordResult: z.ZodObject<{
|
|
5021
|
+
path: z.ZodString;
|
|
5022
|
+
seconds: z.ZodNumber;
|
|
5023
|
+
bytes: z.ZodInt;
|
|
5024
|
+
peak: z.ZodNumber;
|
|
5025
|
+
}, z.core.$strict>;
|
|
5026
|
+
readonly AudioPlayParams: z.ZodObject<{
|
|
5027
|
+
path: z.ZodString;
|
|
5028
|
+
}, z.core.$strict>;
|
|
5029
|
+
readonly AudioPlayResult: z.ZodObject<{
|
|
5030
|
+
path: z.ZodString;
|
|
5031
|
+
seconds: z.ZodNumber;
|
|
5032
|
+
}, z.core.$strict>;
|
|
4951
5033
|
readonly FsWatchId: z.ZodString;
|
|
4952
5034
|
readonly FsWatchStartParams: z.ZodObject<{
|
|
4953
5035
|
path: z.ZodString;
|
|
@@ -681,7 +681,7 @@ type OpSpec = {
|
|
|
681
681
|
readonly params: z.ZodType;
|
|
682
682
|
readonly result: z.ZodType;
|
|
683
683
|
readonly kind: "unary" | "stream" | "resource";
|
|
684
|
-
readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5";
|
|
684
|
+
readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6";
|
|
685
685
|
readonly errors: readonly z.infer<typeof ErrorCode>[];
|
|
686
686
|
};
|
|
687
687
|
declare const OPS: {
|
|
@@ -2202,6 +2202,52 @@ declare const OPS: {
|
|
|
2202
2202
|
readonly since: "1.4";
|
|
2203
2203
|
readonly errors: readonly ["INTERNAL"];
|
|
2204
2204
|
};
|
|
2205
|
+
readonly "audio.devices": {
|
|
2206
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
2207
|
+
readonly result: z.ZodObject<{
|
|
2208
|
+
inputs: z.ZodArray<z.ZodObject<{
|
|
2209
|
+
id: z.ZodString;
|
|
2210
|
+
name: z.ZodString;
|
|
2211
|
+
default: z.ZodBoolean;
|
|
2212
|
+
}, z.core.$strict>>;
|
|
2213
|
+
outputs: z.ZodArray<z.ZodObject<{
|
|
2214
|
+
id: z.ZodString;
|
|
2215
|
+
name: z.ZodString;
|
|
2216
|
+
default: z.ZodBoolean;
|
|
2217
|
+
}, z.core.$strict>>;
|
|
2218
|
+
}, z.core.$strict>;
|
|
2219
|
+
readonly kind: "unary";
|
|
2220
|
+
readonly since: "1.6";
|
|
2221
|
+
readonly errors: readonly ["PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2222
|
+
};
|
|
2223
|
+
readonly "audio.record": {
|
|
2224
|
+
readonly params: z.ZodObject<{
|
|
2225
|
+
seconds: z.ZodNumber;
|
|
2226
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
2227
|
+
path: z.ZodOptional<z.ZodString>;
|
|
2228
|
+
}, z.core.$strict>;
|
|
2229
|
+
readonly result: z.ZodObject<{
|
|
2230
|
+
path: z.ZodString;
|
|
2231
|
+
seconds: z.ZodNumber;
|
|
2232
|
+
bytes: z.ZodInt;
|
|
2233
|
+
peak: z.ZodNumber;
|
|
2234
|
+
}, z.core.$strict>;
|
|
2235
|
+
readonly kind: "unary";
|
|
2236
|
+
readonly since: "1.6";
|
|
2237
|
+
readonly errors: readonly ["NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "RESOURCE_BUSY", "INTERNAL"];
|
|
2238
|
+
};
|
|
2239
|
+
readonly "audio.play": {
|
|
2240
|
+
readonly params: z.ZodObject<{
|
|
2241
|
+
path: z.ZodString;
|
|
2242
|
+
}, z.core.$strict>;
|
|
2243
|
+
readonly result: z.ZodObject<{
|
|
2244
|
+
path: z.ZodString;
|
|
2245
|
+
seconds: z.ZodNumber;
|
|
2246
|
+
}, z.core.$strict>;
|
|
2247
|
+
readonly kind: "unary";
|
|
2248
|
+
readonly since: "1.6";
|
|
2249
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2250
|
+
};
|
|
2205
2251
|
readonly "coding.history.import_missing": {
|
|
2206
2252
|
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
2207
2253
|
readonly result: z.ZodObject<{
|
|
@@ -4948,6 +4994,42 @@ declare const NAMED_SCHEMAS: {
|
|
|
4948
4994
|
}, z.core.$strict>>;
|
|
4949
4995
|
uptime_seconds: z.ZodInt;
|
|
4950
4996
|
}, z.core.$strict>;
|
|
4997
|
+
readonly AudioDevice: z.ZodObject<{
|
|
4998
|
+
id: z.ZodString;
|
|
4999
|
+
name: z.ZodString;
|
|
5000
|
+
default: z.ZodBoolean;
|
|
5001
|
+
}, z.core.$strict>;
|
|
5002
|
+
readonly AudioDevicesParams: z.ZodObject<{}, z.core.$strict>;
|
|
5003
|
+
readonly AudioDevicesResult: z.ZodObject<{
|
|
5004
|
+
inputs: z.ZodArray<z.ZodObject<{
|
|
5005
|
+
id: z.ZodString;
|
|
5006
|
+
name: z.ZodString;
|
|
5007
|
+
default: z.ZodBoolean;
|
|
5008
|
+
}, z.core.$strict>>;
|
|
5009
|
+
outputs: z.ZodArray<z.ZodObject<{
|
|
5010
|
+
id: z.ZodString;
|
|
5011
|
+
name: z.ZodString;
|
|
5012
|
+
default: z.ZodBoolean;
|
|
5013
|
+
}, z.core.$strict>>;
|
|
5014
|
+
}, z.core.$strict>;
|
|
5015
|
+
readonly AudioRecordParams: z.ZodObject<{
|
|
5016
|
+
seconds: z.ZodNumber;
|
|
5017
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
5018
|
+
path: z.ZodOptional<z.ZodString>;
|
|
5019
|
+
}, z.core.$strict>;
|
|
5020
|
+
readonly AudioRecordResult: z.ZodObject<{
|
|
5021
|
+
path: z.ZodString;
|
|
5022
|
+
seconds: z.ZodNumber;
|
|
5023
|
+
bytes: z.ZodInt;
|
|
5024
|
+
peak: z.ZodNumber;
|
|
5025
|
+
}, z.core.$strict>;
|
|
5026
|
+
readonly AudioPlayParams: z.ZodObject<{
|
|
5027
|
+
path: z.ZodString;
|
|
5028
|
+
}, z.core.$strict>;
|
|
5029
|
+
readonly AudioPlayResult: z.ZodObject<{
|
|
5030
|
+
path: z.ZodString;
|
|
5031
|
+
seconds: z.ZodNumber;
|
|
5032
|
+
}, z.core.$strict>;
|
|
4951
5033
|
readonly FsWatchId: z.ZodString;
|
|
4952
5034
|
readonly FsWatchStartParams: z.ZodObject<{
|
|
4953
5035
|
path: z.ZodString;
|
package/dist/react.d.cts
CHANGED
|
@@ -1662,6 +1662,52 @@ declare const OPS: {
|
|
|
1662
1662
|
readonly since: "1.4";
|
|
1663
1663
|
readonly errors: readonly ["INTERNAL"];
|
|
1664
1664
|
};
|
|
1665
|
+
readonly "audio.devices": {
|
|
1666
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
1667
|
+
readonly result: z.ZodObject<{
|
|
1668
|
+
inputs: z.ZodArray<z.ZodObject<{
|
|
1669
|
+
id: z.ZodString;
|
|
1670
|
+
name: z.ZodString;
|
|
1671
|
+
default: z.ZodBoolean;
|
|
1672
|
+
}, z.core.$strict>>;
|
|
1673
|
+
outputs: z.ZodArray<z.ZodObject<{
|
|
1674
|
+
id: z.ZodString;
|
|
1675
|
+
name: z.ZodString;
|
|
1676
|
+
default: z.ZodBoolean;
|
|
1677
|
+
}, z.core.$strict>>;
|
|
1678
|
+
}, z.core.$strict>;
|
|
1679
|
+
readonly kind: "unary";
|
|
1680
|
+
readonly since: "1.6";
|
|
1681
|
+
readonly errors: readonly ["PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1682
|
+
};
|
|
1683
|
+
readonly "audio.record": {
|
|
1684
|
+
readonly params: z.ZodObject<{
|
|
1685
|
+
seconds: z.ZodNumber;
|
|
1686
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
1687
|
+
path: z.ZodOptional<z.ZodString>;
|
|
1688
|
+
}, z.core.$strict>;
|
|
1689
|
+
readonly result: z.ZodObject<{
|
|
1690
|
+
path: z.ZodString;
|
|
1691
|
+
seconds: z.ZodNumber;
|
|
1692
|
+
bytes: z.ZodInt;
|
|
1693
|
+
peak: z.ZodNumber;
|
|
1694
|
+
}, z.core.$strict>;
|
|
1695
|
+
readonly kind: "unary";
|
|
1696
|
+
readonly since: "1.6";
|
|
1697
|
+
readonly errors: readonly ["NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "RESOURCE_BUSY", "INTERNAL"];
|
|
1698
|
+
};
|
|
1699
|
+
readonly "audio.play": {
|
|
1700
|
+
readonly params: z.ZodObject<{
|
|
1701
|
+
path: z.ZodString;
|
|
1702
|
+
}, z.core.$strict>;
|
|
1703
|
+
readonly result: z.ZodObject<{
|
|
1704
|
+
path: z.ZodString;
|
|
1705
|
+
seconds: z.ZodNumber;
|
|
1706
|
+
}, z.core.$strict>;
|
|
1707
|
+
readonly kind: "unary";
|
|
1708
|
+
readonly since: "1.6";
|
|
1709
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1710
|
+
};
|
|
1665
1711
|
readonly "coding.history.import_missing": {
|
|
1666
1712
|
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
1667
1713
|
readonly result: z.ZodObject<{
|
package/dist/react.d.ts
CHANGED
|
@@ -1662,6 +1662,52 @@ declare const OPS: {
|
|
|
1662
1662
|
readonly since: "1.4";
|
|
1663
1663
|
readonly errors: readonly ["INTERNAL"];
|
|
1664
1664
|
};
|
|
1665
|
+
readonly "audio.devices": {
|
|
1666
|
+
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
1667
|
+
readonly result: z.ZodObject<{
|
|
1668
|
+
inputs: z.ZodArray<z.ZodObject<{
|
|
1669
|
+
id: z.ZodString;
|
|
1670
|
+
name: z.ZodString;
|
|
1671
|
+
default: z.ZodBoolean;
|
|
1672
|
+
}, z.core.$strict>>;
|
|
1673
|
+
outputs: z.ZodArray<z.ZodObject<{
|
|
1674
|
+
id: z.ZodString;
|
|
1675
|
+
name: z.ZodString;
|
|
1676
|
+
default: z.ZodBoolean;
|
|
1677
|
+
}, z.core.$strict>>;
|
|
1678
|
+
}, z.core.$strict>;
|
|
1679
|
+
readonly kind: "unary";
|
|
1680
|
+
readonly since: "1.6";
|
|
1681
|
+
readonly errors: readonly ["PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1682
|
+
};
|
|
1683
|
+
readonly "audio.record": {
|
|
1684
|
+
readonly params: z.ZodObject<{
|
|
1685
|
+
seconds: z.ZodNumber;
|
|
1686
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
1687
|
+
path: z.ZodOptional<z.ZodString>;
|
|
1688
|
+
}, z.core.$strict>;
|
|
1689
|
+
readonly result: z.ZodObject<{
|
|
1690
|
+
path: z.ZodString;
|
|
1691
|
+
seconds: z.ZodNumber;
|
|
1692
|
+
bytes: z.ZodInt;
|
|
1693
|
+
peak: z.ZodNumber;
|
|
1694
|
+
}, z.core.$strict>;
|
|
1695
|
+
readonly kind: "unary";
|
|
1696
|
+
readonly since: "1.6";
|
|
1697
|
+
readonly errors: readonly ["NOT_FOUND", "PERMISSION_DENIED_OS", "PLATFORM_UNSUPPORTED", "RESOURCE_BUSY", "INTERNAL"];
|
|
1698
|
+
};
|
|
1699
|
+
readonly "audio.play": {
|
|
1700
|
+
readonly params: z.ZodObject<{
|
|
1701
|
+
path: z.ZodString;
|
|
1702
|
+
}, z.core.$strict>;
|
|
1703
|
+
readonly result: z.ZodObject<{
|
|
1704
|
+
path: z.ZodString;
|
|
1705
|
+
seconds: z.ZodNumber;
|
|
1706
|
+
}, z.core.$strict>;
|
|
1707
|
+
readonly kind: "unary";
|
|
1708
|
+
readonly since: "1.6";
|
|
1709
|
+
readonly errors: readonly ["NOT_FOUND", "INVALID_PARAMS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1710
|
+
};
|
|
1665
1711
|
readonly "coding.history.import_missing": {
|
|
1666
1712
|
readonly params: z.ZodObject<{}, z.core.$strict>;
|
|
1667
1713
|
readonly result: z.ZodObject<{
|
|
@@ -5138,6 +5138,138 @@
|
|
|
5138
5138
|
],
|
|
5139
5139
|
"additionalProperties": false
|
|
5140
5140
|
},
|
|
5141
|
+
"AudioDevice": {
|
|
5142
|
+
"type": "object",
|
|
5143
|
+
"properties": {
|
|
5144
|
+
"id": {
|
|
5145
|
+
"type": "string",
|
|
5146
|
+
"minLength": 1,
|
|
5147
|
+
"maxLength": 256
|
|
5148
|
+
},
|
|
5149
|
+
"name": {
|
|
5150
|
+
"type": "string",
|
|
5151
|
+
"maxLength": 256
|
|
5152
|
+
},
|
|
5153
|
+
"default": {
|
|
5154
|
+
"type": "boolean"
|
|
5155
|
+
}
|
|
5156
|
+
},
|
|
5157
|
+
"required": [
|
|
5158
|
+
"id",
|
|
5159
|
+
"name",
|
|
5160
|
+
"default"
|
|
5161
|
+
],
|
|
5162
|
+
"additionalProperties": false
|
|
5163
|
+
},
|
|
5164
|
+
"AudioDevicesParams": {
|
|
5165
|
+
"type": "object",
|
|
5166
|
+
"properties": {},
|
|
5167
|
+
"additionalProperties": false
|
|
5168
|
+
},
|
|
5169
|
+
"AudioDevicesResult": {
|
|
5170
|
+
"type": "object",
|
|
5171
|
+
"properties": {
|
|
5172
|
+
"inputs": {
|
|
5173
|
+
"maxItems": 64,
|
|
5174
|
+
"type": "array",
|
|
5175
|
+
"items": {
|
|
5176
|
+
"$ref": "#/$defs/AudioDevice"
|
|
5177
|
+
}
|
|
5178
|
+
},
|
|
5179
|
+
"outputs": {
|
|
5180
|
+
"maxItems": 64,
|
|
5181
|
+
"type": "array",
|
|
5182
|
+
"items": {
|
|
5183
|
+
"$ref": "#/$defs/AudioDevice"
|
|
5184
|
+
}
|
|
5185
|
+
}
|
|
5186
|
+
},
|
|
5187
|
+
"required": [
|
|
5188
|
+
"inputs",
|
|
5189
|
+
"outputs"
|
|
5190
|
+
],
|
|
5191
|
+
"additionalProperties": false
|
|
5192
|
+
},
|
|
5193
|
+
"AudioRecordParams": {
|
|
5194
|
+
"type": "object",
|
|
5195
|
+
"properties": {
|
|
5196
|
+
"seconds": {
|
|
5197
|
+
"type": "number",
|
|
5198
|
+
"minimum": 0.5,
|
|
5199
|
+
"maximum": 600
|
|
5200
|
+
},
|
|
5201
|
+
"device_id": {
|
|
5202
|
+
"type": "string",
|
|
5203
|
+
"minLength": 1,
|
|
5204
|
+
"maxLength": 256
|
|
5205
|
+
},
|
|
5206
|
+
"path": {
|
|
5207
|
+
"$ref": "#/$defs/AbsPath"
|
|
5208
|
+
}
|
|
5209
|
+
},
|
|
5210
|
+
"required": [
|
|
5211
|
+
"seconds"
|
|
5212
|
+
],
|
|
5213
|
+
"additionalProperties": false
|
|
5214
|
+
},
|
|
5215
|
+
"AudioRecordResult": {
|
|
5216
|
+
"type": "object",
|
|
5217
|
+
"properties": {
|
|
5218
|
+
"path": {
|
|
5219
|
+
"$ref": "#/$defs/AbsPath"
|
|
5220
|
+
},
|
|
5221
|
+
"seconds": {
|
|
5222
|
+
"type": "number",
|
|
5223
|
+
"minimum": 0
|
|
5224
|
+
},
|
|
5225
|
+
"bytes": {
|
|
5226
|
+
"type": "integer",
|
|
5227
|
+
"minimum": 0,
|
|
5228
|
+
"maximum": 9007199254740991
|
|
5229
|
+
},
|
|
5230
|
+
"peak": {
|
|
5231
|
+
"type": "number",
|
|
5232
|
+
"minimum": 0,
|
|
5233
|
+
"maximum": 1
|
|
5234
|
+
}
|
|
5235
|
+
},
|
|
5236
|
+
"required": [
|
|
5237
|
+
"path",
|
|
5238
|
+
"seconds",
|
|
5239
|
+
"bytes",
|
|
5240
|
+
"peak"
|
|
5241
|
+
],
|
|
5242
|
+
"additionalProperties": false
|
|
5243
|
+
},
|
|
5244
|
+
"AudioPlayParams": {
|
|
5245
|
+
"type": "object",
|
|
5246
|
+
"properties": {
|
|
5247
|
+
"path": {
|
|
5248
|
+
"$ref": "#/$defs/AbsPath"
|
|
5249
|
+
}
|
|
5250
|
+
},
|
|
5251
|
+
"required": [
|
|
5252
|
+
"path"
|
|
5253
|
+
],
|
|
5254
|
+
"additionalProperties": false
|
|
5255
|
+
},
|
|
5256
|
+
"AudioPlayResult": {
|
|
5257
|
+
"type": "object",
|
|
5258
|
+
"properties": {
|
|
5259
|
+
"path": {
|
|
5260
|
+
"$ref": "#/$defs/AbsPath"
|
|
5261
|
+
},
|
|
5262
|
+
"seconds": {
|
|
5263
|
+
"type": "number",
|
|
5264
|
+
"minimum": 0
|
|
5265
|
+
}
|
|
5266
|
+
},
|
|
5267
|
+
"required": [
|
|
5268
|
+
"path",
|
|
5269
|
+
"seconds"
|
|
5270
|
+
],
|
|
5271
|
+
"additionalProperties": false
|
|
5272
|
+
},
|
|
5141
5273
|
"FsWatchId": {
|
|
5142
5274
|
"type": "string",
|
|
5143
5275
|
"pattern": "^fw_[A-Za-z0-9]{12,40}$"
|
|
@@ -6745,6 +6877,41 @@
|
|
|
6745
6877
|
"INTERNAL"
|
|
6746
6878
|
]
|
|
6747
6879
|
},
|
|
6880
|
+
"audio.devices": {
|
|
6881
|
+
"params": "AudioDevicesParams",
|
|
6882
|
+
"result": "AudioDevicesResult",
|
|
6883
|
+
"kind": "unary",
|
|
6884
|
+
"since": "1.6",
|
|
6885
|
+
"errors": [
|
|
6886
|
+
"PLATFORM_UNSUPPORTED",
|
|
6887
|
+
"INTERNAL"
|
|
6888
|
+
]
|
|
6889
|
+
},
|
|
6890
|
+
"audio.record": {
|
|
6891
|
+
"params": "AudioRecordParams",
|
|
6892
|
+
"result": "AudioRecordResult",
|
|
6893
|
+
"kind": "unary",
|
|
6894
|
+
"since": "1.6",
|
|
6895
|
+
"errors": [
|
|
6896
|
+
"NOT_FOUND",
|
|
6897
|
+
"PERMISSION_DENIED_OS",
|
|
6898
|
+
"PLATFORM_UNSUPPORTED",
|
|
6899
|
+
"RESOURCE_BUSY",
|
|
6900
|
+
"INTERNAL"
|
|
6901
|
+
]
|
|
6902
|
+
},
|
|
6903
|
+
"audio.play": {
|
|
6904
|
+
"params": "AudioPlayParams",
|
|
6905
|
+
"result": "AudioPlayResult",
|
|
6906
|
+
"kind": "unary",
|
|
6907
|
+
"since": "1.6",
|
|
6908
|
+
"errors": [
|
|
6909
|
+
"NOT_FOUND",
|
|
6910
|
+
"INVALID_PARAMS",
|
|
6911
|
+
"PLATFORM_UNSUPPORTED",
|
|
6912
|
+
"INTERNAL"
|
|
6913
|
+
]
|
|
6914
|
+
},
|
|
6748
6915
|
"coding.history.import_missing": {
|
|
6749
6916
|
"params": "CodingHistoryImportMissingParams",
|
|
6750
6917
|
"result": "CodingHistoryImportMissingResult",
|
|
@@ -6822,5 +6989,5 @@
|
|
|
6822
6989
|
"olderPeersGet": 0
|
|
6823
6990
|
}
|
|
6824
6991
|
},
|
|
6825
|
-
"x-protocol-version": "1.
|
|
6992
|
+
"x-protocol-version": "1.6"
|
|
6826
6993
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-matrx/desktop-protocol",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.0",
|
|
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",
|