@ai-matrx/desktop-protocol 0.21.19 → 0.21.21
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 +12 -0
- package/dist/client.cjs +34 -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 +34 -2
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +52 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +60 -6
- package/dist/index.d.ts +60 -6
- package/dist/index.js +52 -6
- package/dist/index.js.map +1 -1
- package/dist/{models-d2qfjJr7.d.cts → models-ZQtKshfc.d.cts} +76 -1
- package/dist/{models-d2qfjJr7.d.ts → models-ZQtKshfc.d.ts} +76 -1
- package/dist/react.d.cts +45 -0
- package/dist/react.d.ts +45 -0
- package/generated/desktop-protocol.schema.json +210 -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,51 @@ 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
|
+
closed_by_update: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4200
|
+
}, z.core.$strict>;
|
|
4201
|
+
readonly kind: "unary";
|
|
4202
|
+
readonly since: "1.26";
|
|
4203
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
4204
|
+
};
|
|
4205
|
+
readonly "apps.windows.reopen": {
|
|
4206
|
+
readonly params: z.ZodObject<{
|
|
4207
|
+
app_key: z.ZodString;
|
|
4208
|
+
windows: z.ZodArray<z.ZodString>;
|
|
4209
|
+
}, z.core.$strict>;
|
|
4210
|
+
readonly result: z.ZodObject<{
|
|
4211
|
+
message: z.ZodString;
|
|
4212
|
+
opened: z.ZodArray<z.ZodString>;
|
|
4213
|
+
}, z.core.$strict>;
|
|
4214
|
+
readonly kind: "unary";
|
|
4215
|
+
readonly since: "1.26";
|
|
4216
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
4217
|
+
};
|
|
4218
|
+
readonly "apps.windows.update_and_reopen": {
|
|
4219
|
+
readonly params: z.ZodObject<{
|
|
4220
|
+
app_key: z.ZodString;
|
|
4221
|
+
force: z.ZodDefault<z.ZodBoolean>;
|
|
4222
|
+
dry_run: z.ZodDefault<z.ZodBoolean>;
|
|
4223
|
+
}, z.core.$strict>;
|
|
4224
|
+
readonly result: z.ZodObject<{
|
|
4225
|
+
message: z.ZodString;
|
|
4226
|
+
quit: z.ZodArray<z.ZodString>;
|
|
4227
|
+
reopened: z.ZodArray<z.ZodString>;
|
|
4228
|
+
installed_version: z.ZodNullable<z.ZodString>;
|
|
4229
|
+
}, z.core.$strict>;
|
|
4230
|
+
readonly kind: "unary";
|
|
4231
|
+
readonly since: "1.26";
|
|
4232
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "TIMEOUT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
4233
|
+
};
|
|
4189
4234
|
};
|
|
4190
4235
|
type OpName = keyof typeof OPS;
|
|
4191
4236
|
type OpParams<N extends OpName> = z.input<(typeof OPS)[N]["params"]>;
|
|
@@ -9603,6 +9648,36 @@ declare const NAMED_SCHEMAS: {
|
|
|
9603
9648
|
copied: z.ZodBoolean;
|
|
9604
9649
|
clears_at_ms: z.ZodInt;
|
|
9605
9650
|
}, z.core.$strict>;
|
|
9651
|
+
readonly AppsWindowsUpdateStateParams: z.ZodObject<{
|
|
9652
|
+
app_key: z.ZodString;
|
|
9653
|
+
}, z.core.$strict>;
|
|
9654
|
+
readonly AppsWindowsUpdateStateResult: z.ZodObject<{
|
|
9655
|
+
app_key: z.ZodString;
|
|
9656
|
+
pending: z.ZodBoolean;
|
|
9657
|
+
version: z.ZodNullable<z.ZodString>;
|
|
9658
|
+
since_ms: z.ZodNullable<z.ZodInt>;
|
|
9659
|
+
closed: z.ZodArray<z.ZodString>;
|
|
9660
|
+
closed_by_update: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9661
|
+
}, z.core.$strict>;
|
|
9662
|
+
readonly AppsWindowsReopenParams: z.ZodObject<{
|
|
9663
|
+
app_key: z.ZodString;
|
|
9664
|
+
windows: z.ZodArray<z.ZodString>;
|
|
9665
|
+
}, z.core.$strict>;
|
|
9666
|
+
readonly AppsWindowsReopenResult: z.ZodObject<{
|
|
9667
|
+
message: z.ZodString;
|
|
9668
|
+
opened: z.ZodArray<z.ZodString>;
|
|
9669
|
+
}, z.core.$strict>;
|
|
9670
|
+
readonly AppsWindowsUpdateAndReopenParams: z.ZodObject<{
|
|
9671
|
+
app_key: z.ZodString;
|
|
9672
|
+
force: z.ZodDefault<z.ZodBoolean>;
|
|
9673
|
+
dry_run: z.ZodDefault<z.ZodBoolean>;
|
|
9674
|
+
}, z.core.$strict>;
|
|
9675
|
+
readonly AppsWindowsUpdateAndReopenResult: z.ZodObject<{
|
|
9676
|
+
message: z.ZodString;
|
|
9677
|
+
quit: z.ZodArray<z.ZodString>;
|
|
9678
|
+
reopened: z.ZodArray<z.ZodString>;
|
|
9679
|
+
installed_version: z.ZodNullable<z.ZodString>;
|
|
9680
|
+
}, z.core.$strict>;
|
|
9606
9681
|
};
|
|
9607
9682
|
type NamedSchemaId = keyof typeof NAMED_SCHEMAS;
|
|
9608
9683
|
|
|
@@ -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,51 @@ 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
|
+
closed_by_update: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4200
|
+
}, z.core.$strict>;
|
|
4201
|
+
readonly kind: "unary";
|
|
4202
|
+
readonly since: "1.26";
|
|
4203
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
4204
|
+
};
|
|
4205
|
+
readonly "apps.windows.reopen": {
|
|
4206
|
+
readonly params: z.ZodObject<{
|
|
4207
|
+
app_key: z.ZodString;
|
|
4208
|
+
windows: z.ZodArray<z.ZodString>;
|
|
4209
|
+
}, z.core.$strict>;
|
|
4210
|
+
readonly result: z.ZodObject<{
|
|
4211
|
+
message: z.ZodString;
|
|
4212
|
+
opened: z.ZodArray<z.ZodString>;
|
|
4213
|
+
}, z.core.$strict>;
|
|
4214
|
+
readonly kind: "unary";
|
|
4215
|
+
readonly since: "1.26";
|
|
4216
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
4217
|
+
};
|
|
4218
|
+
readonly "apps.windows.update_and_reopen": {
|
|
4219
|
+
readonly params: z.ZodObject<{
|
|
4220
|
+
app_key: z.ZodString;
|
|
4221
|
+
force: z.ZodDefault<z.ZodBoolean>;
|
|
4222
|
+
dry_run: z.ZodDefault<z.ZodBoolean>;
|
|
4223
|
+
}, z.core.$strict>;
|
|
4224
|
+
readonly result: z.ZodObject<{
|
|
4225
|
+
message: z.ZodString;
|
|
4226
|
+
quit: z.ZodArray<z.ZodString>;
|
|
4227
|
+
reopened: z.ZodArray<z.ZodString>;
|
|
4228
|
+
installed_version: z.ZodNullable<z.ZodString>;
|
|
4229
|
+
}, z.core.$strict>;
|
|
4230
|
+
readonly kind: "unary";
|
|
4231
|
+
readonly since: "1.26";
|
|
4232
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "TIMEOUT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
4233
|
+
};
|
|
4189
4234
|
};
|
|
4190
4235
|
type OpName = keyof typeof OPS;
|
|
4191
4236
|
type OpParams<N extends OpName> = z.input<(typeof OPS)[N]["params"]>;
|
|
@@ -9603,6 +9648,36 @@ declare const NAMED_SCHEMAS: {
|
|
|
9603
9648
|
copied: z.ZodBoolean;
|
|
9604
9649
|
clears_at_ms: z.ZodInt;
|
|
9605
9650
|
}, z.core.$strict>;
|
|
9651
|
+
readonly AppsWindowsUpdateStateParams: z.ZodObject<{
|
|
9652
|
+
app_key: z.ZodString;
|
|
9653
|
+
}, z.core.$strict>;
|
|
9654
|
+
readonly AppsWindowsUpdateStateResult: z.ZodObject<{
|
|
9655
|
+
app_key: z.ZodString;
|
|
9656
|
+
pending: z.ZodBoolean;
|
|
9657
|
+
version: z.ZodNullable<z.ZodString>;
|
|
9658
|
+
since_ms: z.ZodNullable<z.ZodInt>;
|
|
9659
|
+
closed: z.ZodArray<z.ZodString>;
|
|
9660
|
+
closed_by_update: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9661
|
+
}, z.core.$strict>;
|
|
9662
|
+
readonly AppsWindowsReopenParams: z.ZodObject<{
|
|
9663
|
+
app_key: z.ZodString;
|
|
9664
|
+
windows: z.ZodArray<z.ZodString>;
|
|
9665
|
+
}, z.core.$strict>;
|
|
9666
|
+
readonly AppsWindowsReopenResult: z.ZodObject<{
|
|
9667
|
+
message: z.ZodString;
|
|
9668
|
+
opened: z.ZodArray<z.ZodString>;
|
|
9669
|
+
}, z.core.$strict>;
|
|
9670
|
+
readonly AppsWindowsUpdateAndReopenParams: z.ZodObject<{
|
|
9671
|
+
app_key: z.ZodString;
|
|
9672
|
+
force: z.ZodDefault<z.ZodBoolean>;
|
|
9673
|
+
dry_run: z.ZodDefault<z.ZodBoolean>;
|
|
9674
|
+
}, z.core.$strict>;
|
|
9675
|
+
readonly AppsWindowsUpdateAndReopenResult: z.ZodObject<{
|
|
9676
|
+
message: z.ZodString;
|
|
9677
|
+
quit: z.ZodArray<z.ZodString>;
|
|
9678
|
+
reopened: z.ZodArray<z.ZodString>;
|
|
9679
|
+
installed_version: z.ZodNullable<z.ZodString>;
|
|
9680
|
+
}, z.core.$strict>;
|
|
9606
9681
|
};
|
|
9607
9682
|
type NamedSchemaId = keyof typeof NAMED_SCHEMAS;
|
|
9608
9683
|
|
package/dist/react.d.cts
CHANGED
|
@@ -3646,6 +3646,51 @@ 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
|
+
closed_by_update: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3660
|
+
}, z.core.$strict>;
|
|
3661
|
+
readonly kind: "unary";
|
|
3662
|
+
readonly since: "1.26";
|
|
3663
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
3664
|
+
};
|
|
3665
|
+
readonly "apps.windows.reopen": {
|
|
3666
|
+
readonly params: z.ZodObject<{
|
|
3667
|
+
app_key: z.ZodString;
|
|
3668
|
+
windows: z.ZodArray<z.ZodString>;
|
|
3669
|
+
}, z.core.$strict>;
|
|
3670
|
+
readonly result: z.ZodObject<{
|
|
3671
|
+
message: z.ZodString;
|
|
3672
|
+
opened: z.ZodArray<z.ZodString>;
|
|
3673
|
+
}, z.core.$strict>;
|
|
3674
|
+
readonly kind: "unary";
|
|
3675
|
+
readonly since: "1.26";
|
|
3676
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
3677
|
+
};
|
|
3678
|
+
readonly "apps.windows.update_and_reopen": {
|
|
3679
|
+
readonly params: z.ZodObject<{
|
|
3680
|
+
app_key: z.ZodString;
|
|
3681
|
+
force: z.ZodDefault<z.ZodBoolean>;
|
|
3682
|
+
dry_run: z.ZodDefault<z.ZodBoolean>;
|
|
3683
|
+
}, z.core.$strict>;
|
|
3684
|
+
readonly result: z.ZodObject<{
|
|
3685
|
+
message: z.ZodString;
|
|
3686
|
+
quit: z.ZodArray<z.ZodString>;
|
|
3687
|
+
reopened: z.ZodArray<z.ZodString>;
|
|
3688
|
+
installed_version: z.ZodNullable<z.ZodString>;
|
|
3689
|
+
}, z.core.$strict>;
|
|
3690
|
+
readonly kind: "unary";
|
|
3691
|
+
readonly since: "1.26";
|
|
3692
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "TIMEOUT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
3693
|
+
};
|
|
3649
3694
|
};
|
|
3650
3695
|
type OpName = keyof typeof OPS;
|
|
3651
3696
|
type OpParams<N extends OpName> = z.input<(typeof OPS)[N]["params"]>;
|
package/dist/react.d.ts
CHANGED
|
@@ -3646,6 +3646,51 @@ 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
|
+
closed_by_update: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3660
|
+
}, z.core.$strict>;
|
|
3661
|
+
readonly kind: "unary";
|
|
3662
|
+
readonly since: "1.26";
|
|
3663
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
3664
|
+
};
|
|
3665
|
+
readonly "apps.windows.reopen": {
|
|
3666
|
+
readonly params: z.ZodObject<{
|
|
3667
|
+
app_key: z.ZodString;
|
|
3668
|
+
windows: z.ZodArray<z.ZodString>;
|
|
3669
|
+
}, z.core.$strict>;
|
|
3670
|
+
readonly result: z.ZodObject<{
|
|
3671
|
+
message: z.ZodString;
|
|
3672
|
+
opened: z.ZodArray<z.ZodString>;
|
|
3673
|
+
}, z.core.$strict>;
|
|
3674
|
+
readonly kind: "unary";
|
|
3675
|
+
readonly since: "1.26";
|
|
3676
|
+
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
3677
|
+
};
|
|
3678
|
+
readonly "apps.windows.update_and_reopen": {
|
|
3679
|
+
readonly params: z.ZodObject<{
|
|
3680
|
+
app_key: z.ZodString;
|
|
3681
|
+
force: z.ZodDefault<z.ZodBoolean>;
|
|
3682
|
+
dry_run: z.ZodDefault<z.ZodBoolean>;
|
|
3683
|
+
}, z.core.$strict>;
|
|
3684
|
+
readonly result: z.ZodObject<{
|
|
3685
|
+
message: z.ZodString;
|
|
3686
|
+
quit: z.ZodArray<z.ZodString>;
|
|
3687
|
+
reopened: z.ZodArray<z.ZodString>;
|
|
3688
|
+
installed_version: z.ZodNullable<z.ZodString>;
|
|
3689
|
+
}, z.core.$strict>;
|
|
3690
|
+
readonly kind: "unary";
|
|
3691
|
+
readonly since: "1.26";
|
|
3692
|
+
readonly errors: readonly ["NOT_FOUND", "CONFLICT", "TIMEOUT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
3693
|
+
};
|
|
3649
3694
|
};
|
|
3650
3695
|
type OpName = keyof typeof OPS;
|
|
3651
3696
|
type OpParams<N extends OpName> = z.input<(typeof OPS)[N]["params"]>;
|
|
@@ -11749,6 +11749,177 @@
|
|
|
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
|
+
"closed_by_update": {
|
|
11805
|
+
"maxItems": 200,
|
|
11806
|
+
"type": "array",
|
|
11807
|
+
"items": {
|
|
11808
|
+
"$ref": "#/$defs/ChatPlace"
|
|
11809
|
+
}
|
|
11810
|
+
}
|
|
11811
|
+
},
|
|
11812
|
+
"required": [
|
|
11813
|
+
"app_key",
|
|
11814
|
+
"pending",
|
|
11815
|
+
"version",
|
|
11816
|
+
"since_ms",
|
|
11817
|
+
"closed"
|
|
11818
|
+
],
|
|
11819
|
+
"additionalProperties": false
|
|
11820
|
+
},
|
|
11821
|
+
"AppsWindowsReopenParams": {
|
|
11822
|
+
"type": "object",
|
|
11823
|
+
"properties": {
|
|
11824
|
+
"app_key": {
|
|
11825
|
+
"$ref": "#/$defs/AppKey"
|
|
11826
|
+
},
|
|
11827
|
+
"windows": {
|
|
11828
|
+
"minItems": 1,
|
|
11829
|
+
"maxItems": 200,
|
|
11830
|
+
"type": "array",
|
|
11831
|
+
"items": {
|
|
11832
|
+
"$ref": "#/$defs/ChatPlace"
|
|
11833
|
+
}
|
|
11834
|
+
}
|
|
11835
|
+
},
|
|
11836
|
+
"required": [
|
|
11837
|
+
"app_key",
|
|
11838
|
+
"windows"
|
|
11839
|
+
],
|
|
11840
|
+
"additionalProperties": false
|
|
11841
|
+
},
|
|
11842
|
+
"AppsWindowsReopenResult": {
|
|
11843
|
+
"type": "object",
|
|
11844
|
+
"properties": {
|
|
11845
|
+
"message": {
|
|
11846
|
+
"type": "string",
|
|
11847
|
+
"maxLength": 400
|
|
11848
|
+
},
|
|
11849
|
+
"opened": {
|
|
11850
|
+
"maxItems": 200,
|
|
11851
|
+
"type": "array",
|
|
11852
|
+
"items": {
|
|
11853
|
+
"$ref": "#/$defs/ChatPlace"
|
|
11854
|
+
}
|
|
11855
|
+
}
|
|
11856
|
+
},
|
|
11857
|
+
"required": [
|
|
11858
|
+
"message",
|
|
11859
|
+
"opened"
|
|
11860
|
+
],
|
|
11861
|
+
"additionalProperties": false
|
|
11862
|
+
},
|
|
11863
|
+
"AppsWindowsUpdateAndReopenParams": {
|
|
11864
|
+
"type": "object",
|
|
11865
|
+
"properties": {
|
|
11866
|
+
"app_key": {
|
|
11867
|
+
"$ref": "#/$defs/AppKey"
|
|
11868
|
+
},
|
|
11869
|
+
"force": {
|
|
11870
|
+
"default": false,
|
|
11871
|
+
"type": "boolean"
|
|
11872
|
+
},
|
|
11873
|
+
"dry_run": {
|
|
11874
|
+
"default": false,
|
|
11875
|
+
"type": "boolean"
|
|
11876
|
+
}
|
|
11877
|
+
},
|
|
11878
|
+
"required": [
|
|
11879
|
+
"app_key"
|
|
11880
|
+
],
|
|
11881
|
+
"additionalProperties": false
|
|
11882
|
+
},
|
|
11883
|
+
"AppsWindowsUpdateAndReopenResult": {
|
|
11884
|
+
"type": "object",
|
|
11885
|
+
"properties": {
|
|
11886
|
+
"message": {
|
|
11887
|
+
"type": "string",
|
|
11888
|
+
"maxLength": 400
|
|
11889
|
+
},
|
|
11890
|
+
"quit": {
|
|
11891
|
+
"maxItems": 200,
|
|
11892
|
+
"type": "array",
|
|
11893
|
+
"items": {
|
|
11894
|
+
"$ref": "#/$defs/ChatPlace"
|
|
11895
|
+
}
|
|
11896
|
+
},
|
|
11897
|
+
"reopened": {
|
|
11898
|
+
"maxItems": 200,
|
|
11899
|
+
"type": "array",
|
|
11900
|
+
"items": {
|
|
11901
|
+
"$ref": "#/$defs/ChatPlace"
|
|
11902
|
+
}
|
|
11903
|
+
},
|
|
11904
|
+
"installed_version": {
|
|
11905
|
+
"anyOf": [
|
|
11906
|
+
{
|
|
11907
|
+
"type": "string",
|
|
11908
|
+
"maxLength": 64
|
|
11909
|
+
},
|
|
11910
|
+
{
|
|
11911
|
+
"type": "null"
|
|
11912
|
+
}
|
|
11913
|
+
]
|
|
11914
|
+
}
|
|
11915
|
+
},
|
|
11916
|
+
"required": [
|
|
11917
|
+
"message",
|
|
11918
|
+
"quit",
|
|
11919
|
+
"reopened",
|
|
11920
|
+
"installed_version"
|
|
11921
|
+
],
|
|
11922
|
+
"additionalProperties": false
|
|
11752
11923
|
}
|
|
11753
11924
|
},
|
|
11754
11925
|
"x-ops": {
|
|
@@ -13254,6 +13425,41 @@
|
|
|
13254
13425
|
"DEVICE_OFFLINE",
|
|
13255
13426
|
"INTERNAL"
|
|
13256
13427
|
]
|
|
13428
|
+
},
|
|
13429
|
+
"apps.windows.update_state": {
|
|
13430
|
+
"params": "AppsWindowsUpdateStateParams",
|
|
13431
|
+
"result": "AppsWindowsUpdateStateResult",
|
|
13432
|
+
"kind": "unary",
|
|
13433
|
+
"since": "1.26",
|
|
13434
|
+
"errors": [
|
|
13435
|
+
"NOT_FOUND",
|
|
13436
|
+
"PLATFORM_UNSUPPORTED",
|
|
13437
|
+
"INTERNAL"
|
|
13438
|
+
]
|
|
13439
|
+
},
|
|
13440
|
+
"apps.windows.reopen": {
|
|
13441
|
+
"params": "AppsWindowsReopenParams",
|
|
13442
|
+
"result": "AppsWindowsReopenResult",
|
|
13443
|
+
"kind": "unary",
|
|
13444
|
+
"since": "1.26",
|
|
13445
|
+
"errors": [
|
|
13446
|
+
"NOT_FOUND",
|
|
13447
|
+
"PLATFORM_UNSUPPORTED",
|
|
13448
|
+
"INTERNAL"
|
|
13449
|
+
]
|
|
13450
|
+
},
|
|
13451
|
+
"apps.windows.update_and_reopen": {
|
|
13452
|
+
"params": "AppsWindowsUpdateAndReopenParams",
|
|
13453
|
+
"result": "AppsWindowsUpdateAndReopenResult",
|
|
13454
|
+
"kind": "unary",
|
|
13455
|
+
"since": "1.26",
|
|
13456
|
+
"errors": [
|
|
13457
|
+
"NOT_FOUND",
|
|
13458
|
+
"CONFLICT",
|
|
13459
|
+
"TIMEOUT",
|
|
13460
|
+
"PLATFORM_UNSUPPORTED",
|
|
13461
|
+
"INTERNAL"
|
|
13462
|
+
]
|
|
13257
13463
|
}
|
|
13258
13464
|
},
|
|
13259
13465
|
"x-events": {
|
|
@@ -13385,6 +13591,9 @@
|
|
|
13385
13591
|
},
|
|
13386
13592
|
"AppsSpendResult": {
|
|
13387
13593
|
"days": "1.24"
|
|
13594
|
+
},
|
|
13595
|
+
"AppsWindowsUpdateStateResult": {
|
|
13596
|
+
"closed_by_update": "1.27"
|
|
13388
13597
|
}
|
|
13389
13598
|
},
|
|
13390
13599
|
"x-null-since": {
|
|
@@ -13393,5 +13602,5 @@
|
|
|
13393
13602
|
"olderPeersGet": 0
|
|
13394
13603
|
}
|
|
13395
13604
|
},
|
|
13396
|
-
"x-protocol-version": "1.
|
|
13605
|
+
"x-protocol-version": "1.27"
|
|
13397
13606
|
}
|
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.21",
|
|
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": "683269b25734a01138629f7139cbbe2778dca988"
|
|
141
141
|
}
|