@ai-matrx/desktop-protocol 0.21.80 → 0.21.82
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 +22 -2
- package/dist/{chunk-server-XQQUJENM.js → chunk-server-3QKXTKK4.js} +46 -8
- package/dist/chunk-server-3QKXTKK4.js.map +1 -0
- package/dist/client.cjs +38 -6
- 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 +1 -1
- package/dist/index.cjs +46 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +62 -6
- package/dist/index.d.ts +62 -6
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/{models-C2VdtixP.d.cts → models-D5O1othS.d.cts} +46 -0
- package/dist/{models-C2VdtixP.d.ts → models-D5O1othS.d.ts} +46 -0
- package/dist/react.d.cts +13 -0
- package/dist/react.d.ts +13 -0
- package/generated/desktop-protocol.schema.json +83 -2
- package/package.json +2 -2
- package/dist/chunk-server-XQQUJENM.js.map +0 -1
package/dist/react.d.cts
CHANGED
|
@@ -2386,6 +2386,14 @@ declare const OPS: {
|
|
|
2386
2386
|
claude_code: "claude_code";
|
|
2387
2387
|
}>>;
|
|
2388
2388
|
session_cost_usd: z.ZodOptional<z.ZodNumber>;
|
|
2389
|
+
readings: z.ZodOptional<z.ZodObject<{
|
|
2390
|
+
kept: z.ZodNumber;
|
|
2391
|
+
since_ms: z.ZodNullable<z.ZodInt>;
|
|
2392
|
+
days: z.ZodArray<z.ZodObject<{
|
|
2393
|
+
day_ms: z.ZodInt;
|
|
2394
|
+
weekly: z.ZodNullable<z.ZodNumber>;
|
|
2395
|
+
}, z.core.$strict>>;
|
|
2396
|
+
}, z.core.$strict>>;
|
|
2389
2397
|
}, z.core.$strict>>;
|
|
2390
2398
|
problem: z.ZodOptional<z.ZodString>;
|
|
2391
2399
|
as_of_ms: z.ZodOptional<z.ZodInt>;
|
|
@@ -2853,6 +2861,7 @@ declare const OPS: {
|
|
|
2853
2861
|
scheduled: z.ZodBoolean;
|
|
2854
2862
|
openable: z.ZodBoolean;
|
|
2855
2863
|
how: z.ZodNullable<z.ZodString>;
|
|
2864
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
2856
2865
|
}, z.core.$strict>>;
|
|
2857
2866
|
recently_cold: z.ZodArray<z.ZodObject<{
|
|
2858
2867
|
id: z.ZodString;
|
|
@@ -2869,6 +2878,7 @@ declare const OPS: {
|
|
|
2869
2878
|
scheduled: z.ZodBoolean;
|
|
2870
2879
|
openable: z.ZodBoolean;
|
|
2871
2880
|
how: z.ZodNullable<z.ZodString>;
|
|
2881
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
2872
2882
|
}, z.core.$strict>>;
|
|
2873
2883
|
working: z.ZodInt;
|
|
2874
2884
|
}, z.core.$strict>;
|
|
@@ -3092,6 +3102,7 @@ declare const OPS: {
|
|
|
3092
3102
|
over_steps: z.ZodBoolean;
|
|
3093
3103
|
description: z.ZodString;
|
|
3094
3104
|
}, z.core.$strict>>;
|
|
3105
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
3095
3106
|
}, z.core.$strict>>;
|
|
3096
3107
|
accounts: z.ZodArray<z.ZodObject<{
|
|
3097
3108
|
account: z.ZodString;
|
|
@@ -3150,6 +3161,7 @@ declare const OPS: {
|
|
|
3150
3161
|
}, z.core.$strict>;
|
|
3151
3162
|
}, z.core.$strict>;
|
|
3152
3163
|
helpers: z.ZodInt;
|
|
3164
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
3153
3165
|
}, z.core.$strict>>;
|
|
3154
3166
|
idle: z.ZodArray<z.ZodObject<{
|
|
3155
3167
|
id: z.ZodString;
|
|
@@ -3168,6 +3180,7 @@ declare const OPS: {
|
|
|
3168
3180
|
avoidable: z.ZodNumber;
|
|
3169
3181
|
}, z.core.$strict>;
|
|
3170
3182
|
last_ms: z.ZodInt;
|
|
3183
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
3171
3184
|
}, z.core.$strict>>;
|
|
3172
3185
|
starts: z.ZodArray<z.ZodObject<{
|
|
3173
3186
|
repo: z.ZodString;
|
package/dist/react.d.ts
CHANGED
|
@@ -2386,6 +2386,14 @@ declare const OPS: {
|
|
|
2386
2386
|
claude_code: "claude_code";
|
|
2387
2387
|
}>>;
|
|
2388
2388
|
session_cost_usd: z.ZodOptional<z.ZodNumber>;
|
|
2389
|
+
readings: z.ZodOptional<z.ZodObject<{
|
|
2390
|
+
kept: z.ZodNumber;
|
|
2391
|
+
since_ms: z.ZodNullable<z.ZodInt>;
|
|
2392
|
+
days: z.ZodArray<z.ZodObject<{
|
|
2393
|
+
day_ms: z.ZodInt;
|
|
2394
|
+
weekly: z.ZodNullable<z.ZodNumber>;
|
|
2395
|
+
}, z.core.$strict>>;
|
|
2396
|
+
}, z.core.$strict>>;
|
|
2389
2397
|
}, z.core.$strict>>;
|
|
2390
2398
|
problem: z.ZodOptional<z.ZodString>;
|
|
2391
2399
|
as_of_ms: z.ZodOptional<z.ZodInt>;
|
|
@@ -2853,6 +2861,7 @@ declare const OPS: {
|
|
|
2853
2861
|
scheduled: z.ZodBoolean;
|
|
2854
2862
|
openable: z.ZodBoolean;
|
|
2855
2863
|
how: z.ZodNullable<z.ZodString>;
|
|
2864
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
2856
2865
|
}, z.core.$strict>>;
|
|
2857
2866
|
recently_cold: z.ZodArray<z.ZodObject<{
|
|
2858
2867
|
id: z.ZodString;
|
|
@@ -2869,6 +2878,7 @@ declare const OPS: {
|
|
|
2869
2878
|
scheduled: z.ZodBoolean;
|
|
2870
2879
|
openable: z.ZodBoolean;
|
|
2871
2880
|
how: z.ZodNullable<z.ZodString>;
|
|
2881
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
2872
2882
|
}, z.core.$strict>>;
|
|
2873
2883
|
working: z.ZodInt;
|
|
2874
2884
|
}, z.core.$strict>;
|
|
@@ -3092,6 +3102,7 @@ declare const OPS: {
|
|
|
3092
3102
|
over_steps: z.ZodBoolean;
|
|
3093
3103
|
description: z.ZodString;
|
|
3094
3104
|
}, z.core.$strict>>;
|
|
3105
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
3095
3106
|
}, z.core.$strict>>;
|
|
3096
3107
|
accounts: z.ZodArray<z.ZodObject<{
|
|
3097
3108
|
account: z.ZodString;
|
|
@@ -3150,6 +3161,7 @@ declare const OPS: {
|
|
|
3150
3161
|
}, z.core.$strict>;
|
|
3151
3162
|
}, z.core.$strict>;
|
|
3152
3163
|
helpers: z.ZodInt;
|
|
3164
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
3153
3165
|
}, z.core.$strict>>;
|
|
3154
3166
|
idle: z.ZodArray<z.ZodObject<{
|
|
3155
3167
|
id: z.ZodString;
|
|
@@ -3168,6 +3180,7 @@ declare const OPS: {
|
|
|
3168
3180
|
avoidable: z.ZodNumber;
|
|
3169
3181
|
}, z.core.$strict>;
|
|
3170
3182
|
last_ms: z.ZodInt;
|
|
3183
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
3171
3184
|
}, z.core.$strict>>;
|
|
3172
3185
|
starts: z.ZodArray<z.ZodObject<{
|
|
3173
3186
|
repo: z.ZodString;
|
|
@@ -751,6 +751,9 @@
|
|
|
751
751
|
"session_cost_usd": {
|
|
752
752
|
"type": "number",
|
|
753
753
|
"minimum": 0
|
|
754
|
+
},
|
|
755
|
+
"readings": {
|
|
756
|
+
"$ref": "#/$defs/AccountReadingsKept"
|
|
754
757
|
}
|
|
755
758
|
},
|
|
756
759
|
"required": [
|
|
@@ -1031,6 +1034,59 @@
|
|
|
1031
1034
|
],
|
|
1032
1035
|
"additionalProperties": false
|
|
1033
1036
|
},
|
|
1037
|
+
"AccountReadingsKept": {
|
|
1038
|
+
"type": "object",
|
|
1039
|
+
"properties": {
|
|
1040
|
+
"kept": {
|
|
1041
|
+
"type": "integer",
|
|
1042
|
+
"minimum": 0,
|
|
1043
|
+
"maximum": 9007199254740991
|
|
1044
|
+
},
|
|
1045
|
+
"since_ms": {
|
|
1046
|
+
"anyOf": [
|
|
1047
|
+
{
|
|
1048
|
+
"type": "integer",
|
|
1049
|
+
"minimum": 0,
|
|
1050
|
+
"maximum": 9007199254740991
|
|
1051
|
+
},
|
|
1052
|
+
{
|
|
1053
|
+
"type": "null"
|
|
1054
|
+
}
|
|
1055
|
+
]
|
|
1056
|
+
},
|
|
1057
|
+
"days": {
|
|
1058
|
+
"maxItems": 31,
|
|
1059
|
+
"type": "array",
|
|
1060
|
+
"items": {
|
|
1061
|
+
"type": "object",
|
|
1062
|
+
"properties": {
|
|
1063
|
+
"day_ms": {
|
|
1064
|
+
"type": "integer",
|
|
1065
|
+
"minimum": 0,
|
|
1066
|
+
"maximum": 9007199254740991
|
|
1067
|
+
},
|
|
1068
|
+
"weekly": {
|
|
1069
|
+
"type": [
|
|
1070
|
+
"number",
|
|
1071
|
+
"null"
|
|
1072
|
+
]
|
|
1073
|
+
}
|
|
1074
|
+
},
|
|
1075
|
+
"required": [
|
|
1076
|
+
"day_ms",
|
|
1077
|
+
"weekly"
|
|
1078
|
+
],
|
|
1079
|
+
"additionalProperties": false
|
|
1080
|
+
}
|
|
1081
|
+
}
|
|
1082
|
+
},
|
|
1083
|
+
"required": [
|
|
1084
|
+
"kept",
|
|
1085
|
+
"since_ms",
|
|
1086
|
+
"days"
|
|
1087
|
+
],
|
|
1088
|
+
"additionalProperties": false
|
|
1089
|
+
},
|
|
1034
1090
|
"McpTransport": {
|
|
1035
1091
|
"type": "string",
|
|
1036
1092
|
"enum": [
|
|
@@ -16223,6 +16279,9 @@
|
|
|
16223
16279
|
"type": "null"
|
|
16224
16280
|
}
|
|
16225
16281
|
]
|
|
16282
|
+
},
|
|
16283
|
+
"hidden": {
|
|
16284
|
+
"type": "boolean"
|
|
16226
16285
|
}
|
|
16227
16286
|
},
|
|
16228
16287
|
"required": [
|
|
@@ -17009,6 +17068,9 @@
|
|
|
17009
17068
|
"type": "integer",
|
|
17010
17069
|
"minimum": 0,
|
|
17011
17070
|
"maximum": 9007199254740991
|
|
17071
|
+
},
|
|
17072
|
+
"hidden": {
|
|
17073
|
+
"type": "boolean"
|
|
17012
17074
|
}
|
|
17013
17075
|
},
|
|
17014
17076
|
"required": [
|
|
@@ -17076,6 +17138,9 @@
|
|
|
17076
17138
|
"items": {
|
|
17077
17139
|
"$ref": "#/$defs/SpendHelper"
|
|
17078
17140
|
}
|
|
17141
|
+
},
|
|
17142
|
+
"hidden": {
|
|
17143
|
+
"type": "boolean"
|
|
17079
17144
|
}
|
|
17080
17145
|
},
|
|
17081
17146
|
"required": [
|
|
@@ -17138,6 +17203,9 @@
|
|
|
17138
17203
|
"type": "integer",
|
|
17139
17204
|
"minimum": 0,
|
|
17140
17205
|
"maximum": 9007199254740991
|
|
17206
|
+
},
|
|
17207
|
+
"hidden": {
|
|
17208
|
+
"type": "boolean"
|
|
17141
17209
|
}
|
|
17142
17210
|
},
|
|
17143
17211
|
"required": [
|
|
@@ -28209,6 +28277,18 @@
|
|
|
28209
28277
|
"AppsAccountsResetsResult": {
|
|
28210
28278
|
"problem": "1.12"
|
|
28211
28279
|
},
|
|
28280
|
+
"ColdChat": {
|
|
28281
|
+
"hidden": "1.78"
|
|
28282
|
+
},
|
|
28283
|
+
"SpendChat": {
|
|
28284
|
+
"hidden": "1.78"
|
|
28285
|
+
},
|
|
28286
|
+
"SpendLive": {
|
|
28287
|
+
"hidden": "1.78"
|
|
28288
|
+
},
|
|
28289
|
+
"SpendIdle": {
|
|
28290
|
+
"hidden": "1.78"
|
|
28291
|
+
},
|
|
28212
28292
|
"ChatRow": {
|
|
28213
28293
|
"app_project": "1.13",
|
|
28214
28294
|
"tokens": "1.13",
|
|
@@ -28235,7 +28315,8 @@
|
|
|
28235
28315
|
"AppAccount": {
|
|
28236
28316
|
"profile": "1.73",
|
|
28237
28317
|
"read_source": "1.73",
|
|
28238
|
-
"session_cost_usd": "1.73"
|
|
28318
|
+
"session_cost_usd": "1.73",
|
|
28319
|
+
"readings": "1.79"
|
|
28239
28320
|
},
|
|
28240
28321
|
"ResourcesDisk": {
|
|
28241
28322
|
"name": "1.17"
|
|
@@ -28409,5 +28490,5 @@
|
|
|
28409
28490
|
"olderPeersGet": 0
|
|
28410
28491
|
}
|
|
28411
28492
|
},
|
|
28412
|
-
"x-protocol-version": "1.
|
|
28493
|
+
"x-protocol-version": "1.79"
|
|
28413
28494
|
}
|
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.82",
|
|
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": "285980545216bea41c11ff6e8af8705328508ddc"
|
|
141
141
|
}
|