@ai-matrx/desktop-protocol 0.21.19 → 0.21.20
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 +6 -0
- package/dist/client.cjs +29 -2
- 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 +29 -2
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +43 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +54 -6
- package/dist/index.d.ts +54 -6
- package/dist/index.js +43 -4
- package/dist/index.js.map +1 -1
- package/dist/{models-d2qfjJr7.d.cts → models-Cx6q_tRu.d.cts} +74 -1
- package/dist/{models-d2qfjJr7.d.ts → models-Cx6q_tRu.d.ts} +74 -1
- package/dist/react.d.cts +44 -0
- package/dist/react.d.ts +44 -0
- package/generated/desktop-protocol.schema.json +200 -1
- package/package.json +4 -4
|
@@ -687,7 +687,7 @@ type OpSpec = {
|
|
|
687
687
|
readonly params: z.ZodType;
|
|
688
688
|
readonly result: z.ZodType;
|
|
689
689
|
readonly kind: "unary" | "stream" | "resource";
|
|
690
|
-
readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11" | "1.16" | "1.17" | "1.19" | "1.20" | "1.21" | "1.22" | "1.23" | "1.24";
|
|
690
|
+
readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11" | "1.16" | "1.17" | "1.19" | "1.20" | "1.21" | "1.22" | "1.23" | "1.24" | "1.26";
|
|
691
691
|
readonly errors: readonly z.infer<typeof ErrorCode>[];
|
|
692
692
|
};
|
|
693
693
|
declare const OPS: {
|
|
@@ -4186,6 +4186,50 @@ declare const OPS: {
|
|
|
4186
4186
|
readonly since: "1.23";
|
|
4187
4187
|
readonly errors: readonly ["AUTH_REQUIRED", "AUTH_FORBIDDEN", "NOT_FOUND", "INVALID_PARAMS", "DEVICE_OFFLINE", "INTERNAL"];
|
|
4188
4188
|
};
|
|
4189
|
+
readonly "apps.windows.update_state": {
|
|
4190
|
+
readonly params: z.ZodObject<{
|
|
4191
|
+
app_key: z.ZodString;
|
|
4192
|
+
}, z.core.$strict>;
|
|
4193
|
+
readonly result: z.ZodObject<{
|
|
4194
|
+
app_key: z.ZodString;
|
|
4195
|
+
pending: z.ZodBoolean;
|
|
4196
|
+
version: z.ZodNullable<z.ZodString>;
|
|
4197
|
+
since_ms: z.ZodNullable<z.ZodInt>;
|
|
4198
|
+
closed: z.ZodArray<z.ZodString>;
|
|
4199
|
+
}, z.core.$strict>;
|
|
4200
|
+
readonly kind: "unary";
|
|
4201
|
+
readonly since: "1.26";
|
|
4202
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
4203
|
+
};
|
|
4204
|
+
readonly "apps.windows.reopen": {
|
|
4205
|
+
readonly params: z.ZodObject<{
|
|
4206
|
+
app_key: z.ZodString;
|
|
4207
|
+
windows: z.ZodArray<z.ZodString>;
|
|
4208
|
+
}, z.core.$strict>;
|
|
4209
|
+
readonly result: z.ZodObject<{
|
|
4210
|
+
message: z.ZodString;
|
|
4211
|
+
opened: z.ZodArray<z.ZodString>;
|
|
4212
|
+
}, z.core.$strict>;
|
|
4213
|
+
readonly kind: "unary";
|
|
4214
|
+
readonly since: "1.26";
|
|
4215
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
4216
|
+
};
|
|
4217
|
+
readonly "apps.windows.update_and_reopen": {
|
|
4218
|
+
readonly params: z.ZodObject<{
|
|
4219
|
+
app_key: z.ZodString;
|
|
4220
|
+
force: z.ZodDefault<z.ZodBoolean>;
|
|
4221
|
+
dry_run: z.ZodDefault<z.ZodBoolean>;
|
|
4222
|
+
}, z.core.$strict>;
|
|
4223
|
+
readonly result: z.ZodObject<{
|
|
4224
|
+
message: z.ZodString;
|
|
4225
|
+
quit: z.ZodArray<z.ZodString>;
|
|
4226
|
+
reopened: z.ZodArray<z.ZodString>;
|
|
4227
|
+
installed_version: z.ZodNullable<z.ZodString>;
|
|
4228
|
+
}, z.core.$strict>;
|
|
4229
|
+
readonly kind: "unary";
|
|
4230
|
+
readonly since: "1.26";
|
|
4231
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "TIMEOUT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
4232
|
+
};
|
|
4189
4233
|
};
|
|
4190
4234
|
type OpName = keyof typeof OPS;
|
|
4191
4235
|
type OpParams<N extends OpName> = z.input<(typeof OPS)[N]["params"]>;
|
|
@@ -9603,6 +9647,35 @@ declare const NAMED_SCHEMAS: {
|
|
|
9603
9647
|
copied: z.ZodBoolean;
|
|
9604
9648
|
clears_at_ms: z.ZodInt;
|
|
9605
9649
|
}, z.core.$strict>;
|
|
9650
|
+
readonly AppsWindowsUpdateStateParams: z.ZodObject<{
|
|
9651
|
+
app_key: z.ZodString;
|
|
9652
|
+
}, z.core.$strict>;
|
|
9653
|
+
readonly AppsWindowsUpdateStateResult: z.ZodObject<{
|
|
9654
|
+
app_key: z.ZodString;
|
|
9655
|
+
pending: z.ZodBoolean;
|
|
9656
|
+
version: z.ZodNullable<z.ZodString>;
|
|
9657
|
+
since_ms: z.ZodNullable<z.ZodInt>;
|
|
9658
|
+
closed: z.ZodArray<z.ZodString>;
|
|
9659
|
+
}, z.core.$strict>;
|
|
9660
|
+
readonly AppsWindowsReopenParams: z.ZodObject<{
|
|
9661
|
+
app_key: z.ZodString;
|
|
9662
|
+
windows: z.ZodArray<z.ZodString>;
|
|
9663
|
+
}, z.core.$strict>;
|
|
9664
|
+
readonly AppsWindowsReopenResult: z.ZodObject<{
|
|
9665
|
+
message: z.ZodString;
|
|
9666
|
+
opened: z.ZodArray<z.ZodString>;
|
|
9667
|
+
}, z.core.$strict>;
|
|
9668
|
+
readonly AppsWindowsUpdateAndReopenParams: z.ZodObject<{
|
|
9669
|
+
app_key: z.ZodString;
|
|
9670
|
+
force: z.ZodDefault<z.ZodBoolean>;
|
|
9671
|
+
dry_run: z.ZodDefault<z.ZodBoolean>;
|
|
9672
|
+
}, z.core.$strict>;
|
|
9673
|
+
readonly AppsWindowsUpdateAndReopenResult: z.ZodObject<{
|
|
9674
|
+
message: z.ZodString;
|
|
9675
|
+
quit: z.ZodArray<z.ZodString>;
|
|
9676
|
+
reopened: z.ZodArray<z.ZodString>;
|
|
9677
|
+
installed_version: z.ZodNullable<z.ZodString>;
|
|
9678
|
+
}, z.core.$strict>;
|
|
9606
9679
|
};
|
|
9607
9680
|
type NamedSchemaId = keyof typeof NAMED_SCHEMAS;
|
|
9608
9681
|
|
|
@@ -687,7 +687,7 @@ type OpSpec = {
|
|
|
687
687
|
readonly params: z.ZodType;
|
|
688
688
|
readonly result: z.ZodType;
|
|
689
689
|
readonly kind: "unary" | "stream" | "resource";
|
|
690
|
-
readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11" | "1.16" | "1.17" | "1.19" | "1.20" | "1.21" | "1.22" | "1.23" | "1.24";
|
|
690
|
+
readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11" | "1.16" | "1.17" | "1.19" | "1.20" | "1.21" | "1.22" | "1.23" | "1.24" | "1.26";
|
|
691
691
|
readonly errors: readonly z.infer<typeof ErrorCode>[];
|
|
692
692
|
};
|
|
693
693
|
declare const OPS: {
|
|
@@ -4186,6 +4186,50 @@ declare const OPS: {
|
|
|
4186
4186
|
readonly since: "1.23";
|
|
4187
4187
|
readonly errors: readonly ["AUTH_REQUIRED", "AUTH_FORBIDDEN", "NOT_FOUND", "INVALID_PARAMS", "DEVICE_OFFLINE", "INTERNAL"];
|
|
4188
4188
|
};
|
|
4189
|
+
readonly "apps.windows.update_state": {
|
|
4190
|
+
readonly params: z.ZodObject<{
|
|
4191
|
+
app_key: z.ZodString;
|
|
4192
|
+
}, z.core.$strict>;
|
|
4193
|
+
readonly result: z.ZodObject<{
|
|
4194
|
+
app_key: z.ZodString;
|
|
4195
|
+
pending: z.ZodBoolean;
|
|
4196
|
+
version: z.ZodNullable<z.ZodString>;
|
|
4197
|
+
since_ms: z.ZodNullable<z.ZodInt>;
|
|
4198
|
+
closed: z.ZodArray<z.ZodString>;
|
|
4199
|
+
}, z.core.$strict>;
|
|
4200
|
+
readonly kind: "unary";
|
|
4201
|
+
readonly since: "1.26";
|
|
4202
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
4203
|
+
};
|
|
4204
|
+
readonly "apps.windows.reopen": {
|
|
4205
|
+
readonly params: z.ZodObject<{
|
|
4206
|
+
app_key: z.ZodString;
|
|
4207
|
+
windows: z.ZodArray<z.ZodString>;
|
|
4208
|
+
}, z.core.$strict>;
|
|
4209
|
+
readonly result: z.ZodObject<{
|
|
4210
|
+
message: z.ZodString;
|
|
4211
|
+
opened: z.ZodArray<z.ZodString>;
|
|
4212
|
+
}, z.core.$strict>;
|
|
4213
|
+
readonly kind: "unary";
|
|
4214
|
+
readonly since: "1.26";
|
|
4215
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
4216
|
+
};
|
|
4217
|
+
readonly "apps.windows.update_and_reopen": {
|
|
4218
|
+
readonly params: z.ZodObject<{
|
|
4219
|
+
app_key: z.ZodString;
|
|
4220
|
+
force: z.ZodDefault<z.ZodBoolean>;
|
|
4221
|
+
dry_run: z.ZodDefault<z.ZodBoolean>;
|
|
4222
|
+
}, z.core.$strict>;
|
|
4223
|
+
readonly result: z.ZodObject<{
|
|
4224
|
+
message: z.ZodString;
|
|
4225
|
+
quit: z.ZodArray<z.ZodString>;
|
|
4226
|
+
reopened: z.ZodArray<z.ZodString>;
|
|
4227
|
+
installed_version: z.ZodNullable<z.ZodString>;
|
|
4228
|
+
}, z.core.$strict>;
|
|
4229
|
+
readonly kind: "unary";
|
|
4230
|
+
readonly since: "1.26";
|
|
4231
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "TIMEOUT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
4232
|
+
};
|
|
4189
4233
|
};
|
|
4190
4234
|
type OpName = keyof typeof OPS;
|
|
4191
4235
|
type OpParams<N extends OpName> = z.input<(typeof OPS)[N]["params"]>;
|
|
@@ -9603,6 +9647,35 @@ declare const NAMED_SCHEMAS: {
|
|
|
9603
9647
|
copied: z.ZodBoolean;
|
|
9604
9648
|
clears_at_ms: z.ZodInt;
|
|
9605
9649
|
}, z.core.$strict>;
|
|
9650
|
+
readonly AppsWindowsUpdateStateParams: z.ZodObject<{
|
|
9651
|
+
app_key: z.ZodString;
|
|
9652
|
+
}, z.core.$strict>;
|
|
9653
|
+
readonly AppsWindowsUpdateStateResult: z.ZodObject<{
|
|
9654
|
+
app_key: z.ZodString;
|
|
9655
|
+
pending: z.ZodBoolean;
|
|
9656
|
+
version: z.ZodNullable<z.ZodString>;
|
|
9657
|
+
since_ms: z.ZodNullable<z.ZodInt>;
|
|
9658
|
+
closed: z.ZodArray<z.ZodString>;
|
|
9659
|
+
}, z.core.$strict>;
|
|
9660
|
+
readonly AppsWindowsReopenParams: z.ZodObject<{
|
|
9661
|
+
app_key: z.ZodString;
|
|
9662
|
+
windows: z.ZodArray<z.ZodString>;
|
|
9663
|
+
}, z.core.$strict>;
|
|
9664
|
+
readonly AppsWindowsReopenResult: z.ZodObject<{
|
|
9665
|
+
message: z.ZodString;
|
|
9666
|
+
opened: z.ZodArray<z.ZodString>;
|
|
9667
|
+
}, z.core.$strict>;
|
|
9668
|
+
readonly AppsWindowsUpdateAndReopenParams: z.ZodObject<{
|
|
9669
|
+
app_key: z.ZodString;
|
|
9670
|
+
force: z.ZodDefault<z.ZodBoolean>;
|
|
9671
|
+
dry_run: z.ZodDefault<z.ZodBoolean>;
|
|
9672
|
+
}, z.core.$strict>;
|
|
9673
|
+
readonly AppsWindowsUpdateAndReopenResult: z.ZodObject<{
|
|
9674
|
+
message: z.ZodString;
|
|
9675
|
+
quit: z.ZodArray<z.ZodString>;
|
|
9676
|
+
reopened: z.ZodArray<z.ZodString>;
|
|
9677
|
+
installed_version: z.ZodNullable<z.ZodString>;
|
|
9678
|
+
}, z.core.$strict>;
|
|
9606
9679
|
};
|
|
9607
9680
|
type NamedSchemaId = keyof typeof NAMED_SCHEMAS;
|
|
9608
9681
|
|
package/dist/react.d.cts
CHANGED
|
@@ -3646,6 +3646,50 @@ declare const OPS: {
|
|
|
3646
3646
|
readonly since: "1.23";
|
|
3647
3647
|
readonly errors: readonly ["AUTH_REQUIRED", "AUTH_FORBIDDEN", "NOT_FOUND", "INVALID_PARAMS", "DEVICE_OFFLINE", "INTERNAL"];
|
|
3648
3648
|
};
|
|
3649
|
+
readonly "apps.windows.update_state": {
|
|
3650
|
+
readonly params: z.ZodObject<{
|
|
3651
|
+
app_key: z.ZodString;
|
|
3652
|
+
}, z.core.$strict>;
|
|
3653
|
+
readonly result: z.ZodObject<{
|
|
3654
|
+
app_key: z.ZodString;
|
|
3655
|
+
pending: z.ZodBoolean;
|
|
3656
|
+
version: z.ZodNullable<z.ZodString>;
|
|
3657
|
+
since_ms: z.ZodNullable<z.ZodInt>;
|
|
3658
|
+
closed: z.ZodArray<z.ZodString>;
|
|
3659
|
+
}, z.core.$strict>;
|
|
3660
|
+
readonly kind: "unary";
|
|
3661
|
+
readonly since: "1.26";
|
|
3662
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
3663
|
+
};
|
|
3664
|
+
readonly "apps.windows.reopen": {
|
|
3665
|
+
readonly params: z.ZodObject<{
|
|
3666
|
+
app_key: z.ZodString;
|
|
3667
|
+
windows: z.ZodArray<z.ZodString>;
|
|
3668
|
+
}, z.core.$strict>;
|
|
3669
|
+
readonly result: z.ZodObject<{
|
|
3670
|
+
message: z.ZodString;
|
|
3671
|
+
opened: z.ZodArray<z.ZodString>;
|
|
3672
|
+
}, z.core.$strict>;
|
|
3673
|
+
readonly kind: "unary";
|
|
3674
|
+
readonly since: "1.26";
|
|
3675
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
3676
|
+
};
|
|
3677
|
+
readonly "apps.windows.update_and_reopen": {
|
|
3678
|
+
readonly params: z.ZodObject<{
|
|
3679
|
+
app_key: z.ZodString;
|
|
3680
|
+
force: z.ZodDefault<z.ZodBoolean>;
|
|
3681
|
+
dry_run: z.ZodDefault<z.ZodBoolean>;
|
|
3682
|
+
}, z.core.$strict>;
|
|
3683
|
+
readonly result: z.ZodObject<{
|
|
3684
|
+
message: z.ZodString;
|
|
3685
|
+
quit: z.ZodArray<z.ZodString>;
|
|
3686
|
+
reopened: z.ZodArray<z.ZodString>;
|
|
3687
|
+
installed_version: z.ZodNullable<z.ZodString>;
|
|
3688
|
+
}, z.core.$strict>;
|
|
3689
|
+
readonly kind: "unary";
|
|
3690
|
+
readonly since: "1.26";
|
|
3691
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "TIMEOUT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
3692
|
+
};
|
|
3649
3693
|
};
|
|
3650
3694
|
type OpName = keyof typeof OPS;
|
|
3651
3695
|
type OpParams<N extends OpName> = z.input<(typeof OPS)[N]["params"]>;
|
package/dist/react.d.ts
CHANGED
|
@@ -3646,6 +3646,50 @@ declare const OPS: {
|
|
|
3646
3646
|
readonly since: "1.23";
|
|
3647
3647
|
readonly errors: readonly ["AUTH_REQUIRED", "AUTH_FORBIDDEN", "NOT_FOUND", "INVALID_PARAMS", "DEVICE_OFFLINE", "INTERNAL"];
|
|
3648
3648
|
};
|
|
3649
|
+
readonly "apps.windows.update_state": {
|
|
3650
|
+
readonly params: z.ZodObject<{
|
|
3651
|
+
app_key: z.ZodString;
|
|
3652
|
+
}, z.core.$strict>;
|
|
3653
|
+
readonly result: z.ZodObject<{
|
|
3654
|
+
app_key: z.ZodString;
|
|
3655
|
+
pending: z.ZodBoolean;
|
|
3656
|
+
version: z.ZodNullable<z.ZodString>;
|
|
3657
|
+
since_ms: z.ZodNullable<z.ZodInt>;
|
|
3658
|
+
closed: z.ZodArray<z.ZodString>;
|
|
3659
|
+
}, z.core.$strict>;
|
|
3660
|
+
readonly kind: "unary";
|
|
3661
|
+
readonly since: "1.26";
|
|
3662
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
3663
|
+
};
|
|
3664
|
+
readonly "apps.windows.reopen": {
|
|
3665
|
+
readonly params: z.ZodObject<{
|
|
3666
|
+
app_key: z.ZodString;
|
|
3667
|
+
windows: z.ZodArray<z.ZodString>;
|
|
3668
|
+
}, z.core.$strict>;
|
|
3669
|
+
readonly result: z.ZodObject<{
|
|
3670
|
+
message: z.ZodString;
|
|
3671
|
+
opened: z.ZodArray<z.ZodString>;
|
|
3672
|
+
}, z.core.$strict>;
|
|
3673
|
+
readonly kind: "unary";
|
|
3674
|
+
readonly since: "1.26";
|
|
3675
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
3676
|
+
};
|
|
3677
|
+
readonly "apps.windows.update_and_reopen": {
|
|
3678
|
+
readonly params: z.ZodObject<{
|
|
3679
|
+
app_key: z.ZodString;
|
|
3680
|
+
force: z.ZodDefault<z.ZodBoolean>;
|
|
3681
|
+
dry_run: z.ZodDefault<z.ZodBoolean>;
|
|
3682
|
+
}, z.core.$strict>;
|
|
3683
|
+
readonly result: z.ZodObject<{
|
|
3684
|
+
message: z.ZodString;
|
|
3685
|
+
quit: z.ZodArray<z.ZodString>;
|
|
3686
|
+
reopened: z.ZodArray<z.ZodString>;
|
|
3687
|
+
installed_version: z.ZodNullable<z.ZodString>;
|
|
3688
|
+
}, z.core.$strict>;
|
|
3689
|
+
readonly kind: "unary";
|
|
3690
|
+
readonly since: "1.26";
|
|
3691
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "TIMEOUT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
3692
|
+
};
|
|
3649
3693
|
};
|
|
3650
3694
|
type OpName = keyof typeof OPS;
|
|
3651
3695
|
type OpParams<N extends OpName> = z.input<(typeof OPS)[N]["params"]>;
|
|
@@ -11749,6 +11749,170 @@
|
|
|
11749
11749
|
"clears_at_ms"
|
|
11750
11750
|
],
|
|
11751
11751
|
"additionalProperties": false
|
|
11752
|
+
},
|
|
11753
|
+
"AppsWindowsUpdateStateParams": {
|
|
11754
|
+
"type": "object",
|
|
11755
|
+
"properties": {
|
|
11756
|
+
"app_key": {
|
|
11757
|
+
"$ref": "#/$defs/AppKey"
|
|
11758
|
+
}
|
|
11759
|
+
},
|
|
11760
|
+
"required": [
|
|
11761
|
+
"app_key"
|
|
11762
|
+
],
|
|
11763
|
+
"additionalProperties": false
|
|
11764
|
+
},
|
|
11765
|
+
"AppsWindowsUpdateStateResult": {
|
|
11766
|
+
"type": "object",
|
|
11767
|
+
"properties": {
|
|
11768
|
+
"app_key": {
|
|
11769
|
+
"$ref": "#/$defs/AppKey"
|
|
11770
|
+
},
|
|
11771
|
+
"pending": {
|
|
11772
|
+
"type": "boolean"
|
|
11773
|
+
},
|
|
11774
|
+
"version": {
|
|
11775
|
+
"anyOf": [
|
|
11776
|
+
{
|
|
11777
|
+
"type": "string",
|
|
11778
|
+
"maxLength": 120
|
|
11779
|
+
},
|
|
11780
|
+
{
|
|
11781
|
+
"type": "null"
|
|
11782
|
+
}
|
|
11783
|
+
]
|
|
11784
|
+
},
|
|
11785
|
+
"since_ms": {
|
|
11786
|
+
"anyOf": [
|
|
11787
|
+
{
|
|
11788
|
+
"type": "integer",
|
|
11789
|
+
"minimum": 0,
|
|
11790
|
+
"maximum": 9007199254740991
|
|
11791
|
+
},
|
|
11792
|
+
{
|
|
11793
|
+
"type": "null"
|
|
11794
|
+
}
|
|
11795
|
+
]
|
|
11796
|
+
},
|
|
11797
|
+
"closed": {
|
|
11798
|
+
"maxItems": 200,
|
|
11799
|
+
"type": "array",
|
|
11800
|
+
"items": {
|
|
11801
|
+
"$ref": "#/$defs/ChatPlace"
|
|
11802
|
+
}
|
|
11803
|
+
}
|
|
11804
|
+
},
|
|
11805
|
+
"required": [
|
|
11806
|
+
"app_key",
|
|
11807
|
+
"pending",
|
|
11808
|
+
"version",
|
|
11809
|
+
"since_ms",
|
|
11810
|
+
"closed"
|
|
11811
|
+
],
|
|
11812
|
+
"additionalProperties": false
|
|
11813
|
+
},
|
|
11814
|
+
"AppsWindowsReopenParams": {
|
|
11815
|
+
"type": "object",
|
|
11816
|
+
"properties": {
|
|
11817
|
+
"app_key": {
|
|
11818
|
+
"$ref": "#/$defs/AppKey"
|
|
11819
|
+
},
|
|
11820
|
+
"windows": {
|
|
11821
|
+
"minItems": 1,
|
|
11822
|
+
"maxItems": 200,
|
|
11823
|
+
"type": "array",
|
|
11824
|
+
"items": {
|
|
11825
|
+
"$ref": "#/$defs/ChatPlace"
|
|
11826
|
+
}
|
|
11827
|
+
}
|
|
11828
|
+
},
|
|
11829
|
+
"required": [
|
|
11830
|
+
"app_key",
|
|
11831
|
+
"windows"
|
|
11832
|
+
],
|
|
11833
|
+
"additionalProperties": false
|
|
11834
|
+
},
|
|
11835
|
+
"AppsWindowsReopenResult": {
|
|
11836
|
+
"type": "object",
|
|
11837
|
+
"properties": {
|
|
11838
|
+
"message": {
|
|
11839
|
+
"type": "string",
|
|
11840
|
+
"maxLength": 400
|
|
11841
|
+
},
|
|
11842
|
+
"opened": {
|
|
11843
|
+
"maxItems": 200,
|
|
11844
|
+
"type": "array",
|
|
11845
|
+
"items": {
|
|
11846
|
+
"$ref": "#/$defs/ChatPlace"
|
|
11847
|
+
}
|
|
11848
|
+
}
|
|
11849
|
+
},
|
|
11850
|
+
"required": [
|
|
11851
|
+
"message",
|
|
11852
|
+
"opened"
|
|
11853
|
+
],
|
|
11854
|
+
"additionalProperties": false
|
|
11855
|
+
},
|
|
11856
|
+
"AppsWindowsUpdateAndReopenParams": {
|
|
11857
|
+
"type": "object",
|
|
11858
|
+
"properties": {
|
|
11859
|
+
"app_key": {
|
|
11860
|
+
"$ref": "#/$defs/AppKey"
|
|
11861
|
+
},
|
|
11862
|
+
"force": {
|
|
11863
|
+
"default": false,
|
|
11864
|
+
"type": "boolean"
|
|
11865
|
+
},
|
|
11866
|
+
"dry_run": {
|
|
11867
|
+
"default": false,
|
|
11868
|
+
"type": "boolean"
|
|
11869
|
+
}
|
|
11870
|
+
},
|
|
11871
|
+
"required": [
|
|
11872
|
+
"app_key"
|
|
11873
|
+
],
|
|
11874
|
+
"additionalProperties": false
|
|
11875
|
+
},
|
|
11876
|
+
"AppsWindowsUpdateAndReopenResult": {
|
|
11877
|
+
"type": "object",
|
|
11878
|
+
"properties": {
|
|
11879
|
+
"message": {
|
|
11880
|
+
"type": "string",
|
|
11881
|
+
"maxLength": 400
|
|
11882
|
+
},
|
|
11883
|
+
"quit": {
|
|
11884
|
+
"maxItems": 200,
|
|
11885
|
+
"type": "array",
|
|
11886
|
+
"items": {
|
|
11887
|
+
"$ref": "#/$defs/ChatPlace"
|
|
11888
|
+
}
|
|
11889
|
+
},
|
|
11890
|
+
"reopened": {
|
|
11891
|
+
"maxItems": 200,
|
|
11892
|
+
"type": "array",
|
|
11893
|
+
"items": {
|
|
11894
|
+
"$ref": "#/$defs/ChatPlace"
|
|
11895
|
+
}
|
|
11896
|
+
},
|
|
11897
|
+
"installed_version": {
|
|
11898
|
+
"anyOf": [
|
|
11899
|
+
{
|
|
11900
|
+
"type": "string",
|
|
11901
|
+
"maxLength": 64
|
|
11902
|
+
},
|
|
11903
|
+
{
|
|
11904
|
+
"type": "null"
|
|
11905
|
+
}
|
|
11906
|
+
]
|
|
11907
|
+
}
|
|
11908
|
+
},
|
|
11909
|
+
"required": [
|
|
11910
|
+
"message",
|
|
11911
|
+
"quit",
|
|
11912
|
+
"reopened",
|
|
11913
|
+
"installed_version"
|
|
11914
|
+
],
|
|
11915
|
+
"additionalProperties": false
|
|
11752
11916
|
}
|
|
11753
11917
|
},
|
|
11754
11918
|
"x-ops": {
|
|
@@ -13254,6 +13418,41 @@
|
|
|
13254
13418
|
"DEVICE_OFFLINE",
|
|
13255
13419
|
"INTERNAL"
|
|
13256
13420
|
]
|
|
13421
|
+
},
|
|
13422
|
+
"apps.windows.update_state": {
|
|
13423
|
+
"params": "AppsWindowsUpdateStateParams",
|
|
13424
|
+
"result": "AppsWindowsUpdateStateResult",
|
|
13425
|
+
"kind": "unary",
|
|
13426
|
+
"since": "1.26",
|
|
13427
|
+
"errors": [
|
|
13428
|
+
"NOT_FOUND",
|
|
13429
|
+
"PLATFORM_UNSUPPORTED",
|
|
13430
|
+
"INTERNAL"
|
|
13431
|
+
]
|
|
13432
|
+
},
|
|
13433
|
+
"apps.windows.reopen": {
|
|
13434
|
+
"params": "AppsWindowsReopenParams",
|
|
13435
|
+
"result": "AppsWindowsReopenResult",
|
|
13436
|
+
"kind": "unary",
|
|
13437
|
+
"since": "1.26",
|
|
13438
|
+
"errors": [
|
|
13439
|
+
"NOT_FOUND",
|
|
13440
|
+
"PLATFORM_UNSUPPORTED",
|
|
13441
|
+
"INTERNAL"
|
|
13442
|
+
]
|
|
13443
|
+
},
|
|
13444
|
+
"apps.windows.update_and_reopen": {
|
|
13445
|
+
"params": "AppsWindowsUpdateAndReopenParams",
|
|
13446
|
+
"result": "AppsWindowsUpdateAndReopenResult",
|
|
13447
|
+
"kind": "unary",
|
|
13448
|
+
"since": "1.26",
|
|
13449
|
+
"errors": [
|
|
13450
|
+
"NOT_FOUND",
|
|
13451
|
+
"CONFLICT",
|
|
13452
|
+
"TIMEOUT",
|
|
13453
|
+
"PLATFORM_UNSUPPORTED",
|
|
13454
|
+
"INTERNAL"
|
|
13455
|
+
]
|
|
13257
13456
|
}
|
|
13258
13457
|
},
|
|
13259
13458
|
"x-events": {
|
|
@@ -13393,5 +13592,5 @@
|
|
|
13393
13592
|
"olderPeersGet": 0
|
|
13394
13593
|
}
|
|
13395
13594
|
},
|
|
13396
|
-
"x-protocol-version": "1.
|
|
13595
|
+
"x-protocol-version": "1.26"
|
|
13397
13596
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-matrx/desktop-protocol",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.20",
|
|
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",
|
|
@@ -79,8 +79,8 @@
|
|
|
79
79
|
},
|
|
80
80
|
"dependencies": {
|
|
81
81
|
"zod": "^4.6.5",
|
|
82
|
-
"@ai-matrx/
|
|
83
|
-
"@ai-matrx/
|
|
82
|
+
"@ai-matrx/kit": "latest",
|
|
83
|
+
"@ai-matrx/realtime": "latest"
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
86
86
|
"@arethetypeswrong/cli": "^0.18.5",
|
|
@@ -137,5 +137,5 @@
|
|
|
137
137
|
"test:watch": "vitest",
|
|
138
138
|
"verify:tarball": "node ./scripts/verify-tarball.mjs"
|
|
139
139
|
},
|
|
140
|
-
"gitHead": "
|
|
140
|
+
"gitHead": "d687daee31e741f2e319f98a2278ddc10cb8a3d8"
|
|
141
141
|
}
|