@ai-matrx/desktop-protocol 0.21.26 → 0.21.28
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 +10 -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 +10 -2
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +51 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +117 -84
- package/dist/index.d.ts +117 -84
- package/dist/index.js +51 -12
- package/dist/index.js.map +1 -1
- package/dist/{models-BJsUM5sC.d.cts → models-NgxBS190.d.cts} +15 -0
- package/dist/{models-BJsUM5sC.d.ts → models-NgxBS190.d.ts} +15 -0
- package/dist/react.d.cts +5 -0
- package/dist/react.d.ts +5 -0
- package/generated/desktop-protocol.schema.json +35 -1
- package/package.json +2 -2
|
@@ -2727,6 +2727,11 @@ declare const OPS: {
|
|
|
2727
2727
|
}, z.core.$strict>>;
|
|
2728
2728
|
}, z.core.$strict>>;
|
|
2729
2729
|
}, z.core.$strict>>;
|
|
2730
|
+
stale_windows: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2731
|
+
window: z.ZodString;
|
|
2732
|
+
since_ms: z.ZodInt;
|
|
2733
|
+
last_ms: z.ZodInt;
|
|
2734
|
+
}, z.core.$strict>>>;
|
|
2730
2735
|
}, z.core.$strict>;
|
|
2731
2736
|
readonly kind: "unary";
|
|
2732
2737
|
readonly since: "1.29";
|
|
@@ -10001,6 +10006,11 @@ declare const NAMED_SCHEMAS: {
|
|
|
10001
10006
|
}, z.core.$strict>>;
|
|
10002
10007
|
}, z.core.$strict>>;
|
|
10003
10008
|
}, z.core.$strict>;
|
|
10009
|
+
readonly StaleTitleWindow: z.ZodObject<{
|
|
10010
|
+
window: z.ZodString;
|
|
10011
|
+
since_ms: z.ZodInt;
|
|
10012
|
+
last_ms: z.ZodInt;
|
|
10013
|
+
}, z.core.$strict>;
|
|
10004
10014
|
readonly AppsChatsTitlesCheckParams: z.ZodObject<{
|
|
10005
10015
|
app_key: z.ZodString;
|
|
10006
10016
|
}, z.core.$strict>;
|
|
@@ -10034,6 +10044,11 @@ declare const NAMED_SCHEMAS: {
|
|
|
10034
10044
|
}, z.core.$strict>>;
|
|
10035
10045
|
}, z.core.$strict>>;
|
|
10036
10046
|
}, z.core.$strict>>;
|
|
10047
|
+
stale_windows: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10048
|
+
window: z.ZodString;
|
|
10049
|
+
since_ms: z.ZodInt;
|
|
10050
|
+
last_ms: z.ZodInt;
|
|
10051
|
+
}, z.core.$strict>>>;
|
|
10037
10052
|
}, z.core.$strict>;
|
|
10038
10053
|
readonly AppsChatsTitlesPushParams: z.ZodObject<{
|
|
10039
10054
|
app_key: z.ZodString;
|
|
@@ -2727,6 +2727,11 @@ declare const OPS: {
|
|
|
2727
2727
|
}, z.core.$strict>>;
|
|
2728
2728
|
}, z.core.$strict>>;
|
|
2729
2729
|
}, z.core.$strict>>;
|
|
2730
|
+
stale_windows: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2731
|
+
window: z.ZodString;
|
|
2732
|
+
since_ms: z.ZodInt;
|
|
2733
|
+
last_ms: z.ZodInt;
|
|
2734
|
+
}, z.core.$strict>>>;
|
|
2730
2735
|
}, z.core.$strict>;
|
|
2731
2736
|
readonly kind: "unary";
|
|
2732
2737
|
readonly since: "1.29";
|
|
@@ -10001,6 +10006,11 @@ declare const NAMED_SCHEMAS: {
|
|
|
10001
10006
|
}, z.core.$strict>>;
|
|
10002
10007
|
}, z.core.$strict>>;
|
|
10003
10008
|
}, z.core.$strict>;
|
|
10009
|
+
readonly StaleTitleWindow: z.ZodObject<{
|
|
10010
|
+
window: z.ZodString;
|
|
10011
|
+
since_ms: z.ZodInt;
|
|
10012
|
+
last_ms: z.ZodInt;
|
|
10013
|
+
}, z.core.$strict>;
|
|
10004
10014
|
readonly AppsChatsTitlesCheckParams: z.ZodObject<{
|
|
10005
10015
|
app_key: z.ZodString;
|
|
10006
10016
|
}, z.core.$strict>;
|
|
@@ -10034,6 +10044,11 @@ declare const NAMED_SCHEMAS: {
|
|
|
10034
10044
|
}, z.core.$strict>>;
|
|
10035
10045
|
}, z.core.$strict>>;
|
|
10036
10046
|
}, z.core.$strict>>;
|
|
10047
|
+
stale_windows: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10048
|
+
window: z.ZodString;
|
|
10049
|
+
since_ms: z.ZodInt;
|
|
10050
|
+
last_ms: z.ZodInt;
|
|
10051
|
+
}, z.core.$strict>>>;
|
|
10037
10052
|
}, z.core.$strict>;
|
|
10038
10053
|
readonly AppsChatsTitlesPushParams: z.ZodObject<{
|
|
10039
10054
|
app_key: z.ZodString;
|
package/dist/react.d.cts
CHANGED
|
@@ -2167,6 +2167,11 @@ declare const OPS: {
|
|
|
2167
2167
|
}, z.core.$strict>>;
|
|
2168
2168
|
}, z.core.$strict>>;
|
|
2169
2169
|
}, z.core.$strict>>;
|
|
2170
|
+
stale_windows: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2171
|
+
window: z.ZodString;
|
|
2172
|
+
since_ms: z.ZodInt;
|
|
2173
|
+
last_ms: z.ZodInt;
|
|
2174
|
+
}, z.core.$strict>>>;
|
|
2170
2175
|
}, z.core.$strict>;
|
|
2171
2176
|
readonly kind: "unary";
|
|
2172
2177
|
readonly since: "1.29";
|
package/dist/react.d.ts
CHANGED
|
@@ -2167,6 +2167,11 @@ declare const OPS: {
|
|
|
2167
2167
|
}, z.core.$strict>>;
|
|
2168
2168
|
}, z.core.$strict>>;
|
|
2169
2169
|
}, z.core.$strict>>;
|
|
2170
|
+
stale_windows: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2171
|
+
window: z.ZodString;
|
|
2172
|
+
since_ms: z.ZodInt;
|
|
2173
|
+
last_ms: z.ZodInt;
|
|
2174
|
+
}, z.core.$strict>>>;
|
|
2170
2175
|
}, z.core.$strict>;
|
|
2171
2176
|
readonly kind: "unary";
|
|
2172
2177
|
readonly since: "1.29";
|
|
@@ -10403,6 +10403,30 @@
|
|
|
10403
10403
|
],
|
|
10404
10404
|
"additionalProperties": false
|
|
10405
10405
|
},
|
|
10406
|
+
"StaleTitleWindow": {
|
|
10407
|
+
"type": "object",
|
|
10408
|
+
"properties": {
|
|
10409
|
+
"window": {
|
|
10410
|
+
"$ref": "#/$defs/ChatPlace"
|
|
10411
|
+
},
|
|
10412
|
+
"since_ms": {
|
|
10413
|
+
"type": "integer",
|
|
10414
|
+
"minimum": 0,
|
|
10415
|
+
"maximum": 9007199254740991
|
|
10416
|
+
},
|
|
10417
|
+
"last_ms": {
|
|
10418
|
+
"type": "integer",
|
|
10419
|
+
"minimum": 0,
|
|
10420
|
+
"maximum": 9007199254740991
|
|
10421
|
+
}
|
|
10422
|
+
},
|
|
10423
|
+
"required": [
|
|
10424
|
+
"window",
|
|
10425
|
+
"since_ms",
|
|
10426
|
+
"last_ms"
|
|
10427
|
+
],
|
|
10428
|
+
"additionalProperties": false
|
|
10429
|
+
},
|
|
10406
10430
|
"AppsChatsTitlesCheckParams": {
|
|
10407
10431
|
"type": "object",
|
|
10408
10432
|
"properties": {
|
|
@@ -10447,6 +10471,13 @@
|
|
|
10447
10471
|
"items": {
|
|
10448
10472
|
"$ref": "#/$defs/TitleMismatch"
|
|
10449
10473
|
}
|
|
10474
|
+
},
|
|
10475
|
+
"stale_windows": {
|
|
10476
|
+
"maxItems": 200,
|
|
10477
|
+
"type": "array",
|
|
10478
|
+
"items": {
|
|
10479
|
+
"$ref": "#/$defs/StaleTitleWindow"
|
|
10480
|
+
}
|
|
10450
10481
|
}
|
|
10451
10482
|
},
|
|
10452
10483
|
"required": [
|
|
@@ -15103,6 +15134,9 @@
|
|
|
15103
15134
|
},
|
|
15104
15135
|
"AppsProjectsToWindowResult": {
|
|
15105
15136
|
"pin": "1.32"
|
|
15137
|
+
},
|
|
15138
|
+
"AppsChatsTitlesCheckResult": {
|
|
15139
|
+
"stale_windows": "1.33"
|
|
15106
15140
|
}
|
|
15107
15141
|
},
|
|
15108
15142
|
"x-null-since": {
|
|
@@ -15111,5 +15145,5 @@
|
|
|
15111
15145
|
"olderPeersGet": 0
|
|
15112
15146
|
}
|
|
15113
15147
|
},
|
|
15114
|
-
"x-protocol-version": "1.
|
|
15148
|
+
"x-protocol-version": "1.33"
|
|
15115
15149
|
}
|
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.28",
|
|
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": "1e3cc5630743276dc7c14b0412605f560055664c"
|
|
141
141
|
}
|