@ai-matrx/desktop-protocol 0.21.18 → 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 +12 -0
- package/dist/client.cjs +36 -3
- 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 +36 -3
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +51 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +59 -6
- package/dist/index.d.ts +59 -6
- package/dist/index.js +51 -6
- package/dist/index.js.map +1 -1
- package/dist/{models-xHAz1vPQ.d.cts → models-Cx6q_tRu.d.cts} +77 -1
- package/dist/{models-xHAz1vPQ.d.ts → models-Cx6q_tRu.d.ts} +77 -1
- package/dist/react.d.cts +45 -0
- package/dist/react.d.ts +45 -0
- package/generated/desktop-protocol.schema.json +207 -2
- package/package.json +2 -2
|
@@ -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: {
|
|
@@ -2193,6 +2193,7 @@ declare const OPS: {
|
|
|
2193
2193
|
weekly_reset_official: z.ZodNullable<z.ZodBoolean>;
|
|
2194
2194
|
plan: z.ZodOptional<z.ZodString>;
|
|
2195
2195
|
credits: z.ZodOptional<z.ZodString>;
|
|
2196
|
+
five_hour_resets_by_ms: z.ZodOptional<z.ZodInt>;
|
|
2196
2197
|
}, z.core.$strict>>;
|
|
2197
2198
|
problem: z.ZodOptional<z.ZodString>;
|
|
2198
2199
|
}, z.core.$strict>;
|
|
@@ -4185,6 +4186,50 @@ declare const OPS: {
|
|
|
4185
4186
|
readonly since: "1.23";
|
|
4186
4187
|
readonly errors: readonly ["AUTH_REQUIRED", "AUTH_FORBIDDEN", "NOT_FOUND", "INVALID_PARAMS", "DEVICE_OFFLINE", "INTERNAL"];
|
|
4187
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
|
+
};
|
|
4188
4233
|
};
|
|
4189
4234
|
type OpName = keyof typeof OPS;
|
|
4190
4235
|
type OpParams<N extends OpName> = z.input<(typeof OPS)[N]["params"]>;
|
|
@@ -8644,6 +8689,7 @@ declare const NAMED_SCHEMAS: {
|
|
|
8644
8689
|
weekly_reset_official: z.ZodNullable<z.ZodBoolean>;
|
|
8645
8690
|
plan: z.ZodOptional<z.ZodString>;
|
|
8646
8691
|
credits: z.ZodOptional<z.ZodString>;
|
|
8692
|
+
five_hour_resets_by_ms: z.ZodOptional<z.ZodInt>;
|
|
8647
8693
|
}, z.core.$strict>;
|
|
8648
8694
|
readonly AccountReset: z.ZodObject<{
|
|
8649
8695
|
window: z.ZodString;
|
|
@@ -8696,6 +8742,7 @@ declare const NAMED_SCHEMAS: {
|
|
|
8696
8742
|
weekly_reset_official: z.ZodNullable<z.ZodBoolean>;
|
|
8697
8743
|
plan: z.ZodOptional<z.ZodString>;
|
|
8698
8744
|
credits: z.ZodOptional<z.ZodString>;
|
|
8745
|
+
five_hour_resets_by_ms: z.ZodOptional<z.ZodInt>;
|
|
8699
8746
|
}, z.core.$strict>>;
|
|
8700
8747
|
problem: z.ZodOptional<z.ZodString>;
|
|
8701
8748
|
}, z.core.$strict>;
|
|
@@ -9600,6 +9647,35 @@ declare const NAMED_SCHEMAS: {
|
|
|
9600
9647
|
copied: z.ZodBoolean;
|
|
9601
9648
|
clears_at_ms: z.ZodInt;
|
|
9602
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>;
|
|
9603
9679
|
};
|
|
9604
9680
|
type NamedSchemaId = keyof typeof NAMED_SCHEMAS;
|
|
9605
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: {
|
|
@@ -2193,6 +2193,7 @@ declare const OPS: {
|
|
|
2193
2193
|
weekly_reset_official: z.ZodNullable<z.ZodBoolean>;
|
|
2194
2194
|
plan: z.ZodOptional<z.ZodString>;
|
|
2195
2195
|
credits: z.ZodOptional<z.ZodString>;
|
|
2196
|
+
five_hour_resets_by_ms: z.ZodOptional<z.ZodInt>;
|
|
2196
2197
|
}, z.core.$strict>>;
|
|
2197
2198
|
problem: z.ZodOptional<z.ZodString>;
|
|
2198
2199
|
}, z.core.$strict>;
|
|
@@ -4185,6 +4186,50 @@ declare const OPS: {
|
|
|
4185
4186
|
readonly since: "1.23";
|
|
4186
4187
|
readonly errors: readonly ["AUTH_REQUIRED", "AUTH_FORBIDDEN", "NOT_FOUND", "INVALID_PARAMS", "DEVICE_OFFLINE", "INTERNAL"];
|
|
4187
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
|
+
};
|
|
4188
4233
|
};
|
|
4189
4234
|
type OpName = keyof typeof OPS;
|
|
4190
4235
|
type OpParams<N extends OpName> = z.input<(typeof OPS)[N]["params"]>;
|
|
@@ -8644,6 +8689,7 @@ declare const NAMED_SCHEMAS: {
|
|
|
8644
8689
|
weekly_reset_official: z.ZodNullable<z.ZodBoolean>;
|
|
8645
8690
|
plan: z.ZodOptional<z.ZodString>;
|
|
8646
8691
|
credits: z.ZodOptional<z.ZodString>;
|
|
8692
|
+
five_hour_resets_by_ms: z.ZodOptional<z.ZodInt>;
|
|
8647
8693
|
}, z.core.$strict>;
|
|
8648
8694
|
readonly AccountReset: z.ZodObject<{
|
|
8649
8695
|
window: z.ZodString;
|
|
@@ -8696,6 +8742,7 @@ declare const NAMED_SCHEMAS: {
|
|
|
8696
8742
|
weekly_reset_official: z.ZodNullable<z.ZodBoolean>;
|
|
8697
8743
|
plan: z.ZodOptional<z.ZodString>;
|
|
8698
8744
|
credits: z.ZodOptional<z.ZodString>;
|
|
8745
|
+
five_hour_resets_by_ms: z.ZodOptional<z.ZodInt>;
|
|
8699
8746
|
}, z.core.$strict>>;
|
|
8700
8747
|
problem: z.ZodOptional<z.ZodString>;
|
|
8701
8748
|
}, z.core.$strict>;
|
|
@@ -9600,6 +9647,35 @@ declare const NAMED_SCHEMAS: {
|
|
|
9600
9647
|
copied: z.ZodBoolean;
|
|
9601
9648
|
clears_at_ms: z.ZodInt;
|
|
9602
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>;
|
|
9603
9679
|
};
|
|
9604
9680
|
type NamedSchemaId = keyof typeof NAMED_SCHEMAS;
|
|
9605
9681
|
|
package/dist/react.d.cts
CHANGED
|
@@ -1653,6 +1653,7 @@ declare const OPS: {
|
|
|
1653
1653
|
weekly_reset_official: z.ZodNullable<z.ZodBoolean>;
|
|
1654
1654
|
plan: z.ZodOptional<z.ZodString>;
|
|
1655
1655
|
credits: z.ZodOptional<z.ZodString>;
|
|
1656
|
+
five_hour_resets_by_ms: z.ZodOptional<z.ZodInt>;
|
|
1656
1657
|
}, z.core.$strict>>;
|
|
1657
1658
|
problem: z.ZodOptional<z.ZodString>;
|
|
1658
1659
|
}, z.core.$strict>;
|
|
@@ -3645,6 +3646,50 @@ declare const OPS: {
|
|
|
3645
3646
|
readonly since: "1.23";
|
|
3646
3647
|
readonly errors: readonly ["AUTH_REQUIRED", "AUTH_FORBIDDEN", "NOT_FOUND", "INVALID_PARAMS", "DEVICE_OFFLINE", "INTERNAL"];
|
|
3647
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
|
+
};
|
|
3648
3693
|
};
|
|
3649
3694
|
type OpName = keyof typeof OPS;
|
|
3650
3695
|
type OpParams<N extends OpName> = z.input<(typeof OPS)[N]["params"]>;
|
package/dist/react.d.ts
CHANGED
|
@@ -1653,6 +1653,7 @@ declare const OPS: {
|
|
|
1653
1653
|
weekly_reset_official: z.ZodNullable<z.ZodBoolean>;
|
|
1654
1654
|
plan: z.ZodOptional<z.ZodString>;
|
|
1655
1655
|
credits: z.ZodOptional<z.ZodString>;
|
|
1656
|
+
five_hour_resets_by_ms: z.ZodOptional<z.ZodInt>;
|
|
1656
1657
|
}, z.core.$strict>>;
|
|
1657
1658
|
problem: z.ZodOptional<z.ZodString>;
|
|
1658
1659
|
}, z.core.$strict>;
|
|
@@ -3645,6 +3646,50 @@ declare const OPS: {
|
|
|
3645
3646
|
readonly since: "1.23";
|
|
3646
3647
|
readonly errors: readonly ["AUTH_REQUIRED", "AUTH_FORBIDDEN", "NOT_FOUND", "INVALID_PARAMS", "DEVICE_OFFLINE", "INTERNAL"];
|
|
3647
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
|
+
};
|
|
3648
3693
|
};
|
|
3649
3694
|
type OpName = keyof typeof OPS;
|
|
3650
3695
|
type OpParams<N extends OpName> = z.input<(typeof OPS)[N]["params"]>;
|
|
@@ -8990,6 +8990,11 @@
|
|
|
8990
8990
|
"credits": {
|
|
8991
8991
|
"type": "string",
|
|
8992
8992
|
"maxLength": 40
|
|
8993
|
+
},
|
|
8994
|
+
"five_hour_resets_by_ms": {
|
|
8995
|
+
"type": "integer",
|
|
8996
|
+
"minimum": 0,
|
|
8997
|
+
"maximum": 9007199254740991
|
|
8993
8998
|
}
|
|
8994
8999
|
},
|
|
8995
9000
|
"required": [
|
|
@@ -11744,6 +11749,170 @@
|
|
|
11744
11749
|
"clears_at_ms"
|
|
11745
11750
|
],
|
|
11746
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
|
|
11747
11916
|
}
|
|
11748
11917
|
},
|
|
11749
11918
|
"x-ops": {
|
|
@@ -13249,6 +13418,41 @@
|
|
|
13249
13418
|
"DEVICE_OFFLINE",
|
|
13250
13419
|
"INTERNAL"
|
|
13251
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
|
+
]
|
|
13252
13456
|
}
|
|
13253
13457
|
},
|
|
13254
13458
|
"x-events": {
|
|
@@ -13357,7 +13561,8 @@
|
|
|
13357
13561
|
},
|
|
13358
13562
|
"AccountUsage": {
|
|
13359
13563
|
"plan": "1.13",
|
|
13360
|
-
"credits": "1.13"
|
|
13564
|
+
"credits": "1.13",
|
|
13565
|
+
"five_hour_resets_by_ms": "1.25"
|
|
13361
13566
|
},
|
|
13362
13567
|
"ResourcesDisk": {
|
|
13363
13568
|
"name": "1.17"
|
|
@@ -13387,5 +13592,5 @@
|
|
|
13387
13592
|
"olderPeersGet": 0
|
|
13388
13593
|
}
|
|
13389
13594
|
},
|
|
13390
|
-
"x-protocol-version": "1.
|
|
13595
|
+
"x-protocol-version": "1.26"
|
|
13391
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",
|
|
@@ -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
|
}
|