@ai-matrx/desktop-protocol 0.21.69 → 0.21.71
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 +30 -2
- package/dist/{chunk-server-TH6RJ5S5.js → chunk-server-TKQNS7QK.js} +43 -8
- package/dist/chunk-server-TKQNS7QK.js.map +1 -0
- package/dist/client.cjs +33 -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 +43 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +43 -6
- package/dist/index.d.ts +43 -6
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/dist/{models-BaCCJM1M.d.cts → models-lURX04tj.d.cts} +86 -2
- package/dist/{models-BaCCJM1M.d.ts → models-lURX04tj.d.ts} +86 -2
- package/dist/react.d.cts +24 -0
- package/dist/react.d.ts +24 -0
- package/generated/desktop-protocol.schema.json +121 -3
- package/package.json +2 -2
- package/dist/chunk-server-TH6RJ5S5.js.map +0 -1
|
@@ -711,7 +711,7 @@ type OpSpec = {
|
|
|
711
711
|
readonly params: z.ZodType;
|
|
712
712
|
readonly result: z.ZodType;
|
|
713
713
|
readonly kind: "unary" | "stream" | "resource";
|
|
714
|
-
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" | "1.28" | "1.29" | "1.30" | "1.31" | "1.37" | "1.38" | "1.39" | "1.40" | "1.43" | "1.44" | "1.45" | "1.47" | "1.50" | "1.55" | "1.56" | "1.64";
|
|
714
|
+
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" | "1.28" | "1.29" | "1.30" | "1.31" | "1.37" | "1.38" | "1.39" | "1.40" | "1.43" | "1.44" | "1.45" | "1.47" | "1.50" | "1.55" | "1.56" | "1.64" | "1.70";
|
|
715
715
|
readonly errors: readonly z.infer<typeof ErrorCode>[];
|
|
716
716
|
};
|
|
717
717
|
declare const OPS: {
|
|
@@ -1568,6 +1568,8 @@ declare const OPS: {
|
|
|
1568
1568
|
id: z.ZodString;
|
|
1569
1569
|
size_bytes: z.ZodInt;
|
|
1570
1570
|
installed: z.ZodBoolean;
|
|
1571
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1572
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
1571
1573
|
}, z.core.$strict>>;
|
|
1572
1574
|
running: z.ZodNullable<z.ZodObject<{
|
|
1573
1575
|
id: z.ZodString;
|
|
@@ -1923,6 +1925,7 @@ declare const OPS: {
|
|
|
1923
1925
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1924
1926
|
}, z.core.$strict>>>;
|
|
1925
1927
|
home: z.ZodOptional<z.ZodString>;
|
|
1928
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1926
1929
|
}, z.core.$strict>>;
|
|
1927
1930
|
new_window_ms: z.ZodInt;
|
|
1928
1931
|
updating: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2048,12 +2051,28 @@ declare const OPS: {
|
|
|
2048
2051
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2049
2052
|
}, z.core.$strict>>>;
|
|
2050
2053
|
home: z.ZodOptional<z.ZodString>;
|
|
2054
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
2051
2055
|
}, z.core.$strict>;
|
|
2052
2056
|
}, z.core.$strict>;
|
|
2053
2057
|
readonly kind: "unary";
|
|
2054
2058
|
readonly since: "1.8";
|
|
2055
2059
|
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2056
2060
|
};
|
|
2061
|
+
readonly "apps.chats.hide": {
|
|
2062
|
+
readonly params: z.ZodObject<{
|
|
2063
|
+
app_key: z.ZodString;
|
|
2064
|
+
chat_ids: z.ZodArray<z.ZodString>;
|
|
2065
|
+
hidden: z.ZodBoolean;
|
|
2066
|
+
}, z.core.$strict>;
|
|
2067
|
+
readonly result: z.ZodObject<{
|
|
2068
|
+
app_key: z.ZodString;
|
|
2069
|
+
hidden: z.ZodBoolean;
|
|
2070
|
+
changed: z.ZodArray<z.ZodString>;
|
|
2071
|
+
}, z.core.$strict>;
|
|
2072
|
+
readonly kind: "unary";
|
|
2073
|
+
readonly since: "1.70";
|
|
2074
|
+
readonly errors: readonly ["INVALID_PARAMS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
2075
|
+
};
|
|
2057
2076
|
readonly "apps.projects.file": {
|
|
2058
2077
|
readonly params: z.ZodObject<{
|
|
2059
2078
|
app_key: z.ZodString;
|
|
@@ -2154,6 +2173,7 @@ declare const OPS: {
|
|
|
2154
2173
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2155
2174
|
}, z.core.$strict>>>;
|
|
2156
2175
|
home: z.ZodOptional<z.ZodString>;
|
|
2176
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
2157
2177
|
}, z.core.$strict>;
|
|
2158
2178
|
project: z.ZodObject<{
|
|
2159
2179
|
id: z.ZodString;
|
|
@@ -2271,6 +2291,7 @@ declare const OPS: {
|
|
|
2271
2291
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2272
2292
|
}, z.core.$strict>>>;
|
|
2273
2293
|
home: z.ZodOptional<z.ZodString>;
|
|
2294
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
2274
2295
|
}, z.core.$strict>;
|
|
2275
2296
|
message: z.ZodString;
|
|
2276
2297
|
}, z.core.$strict>;
|
|
@@ -2378,6 +2399,7 @@ declare const OPS: {
|
|
|
2378
2399
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2379
2400
|
}, z.core.$strict>>>;
|
|
2380
2401
|
home: z.ZodOptional<z.ZodString>;
|
|
2402
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
2381
2403
|
}, z.core.$strict>>;
|
|
2382
2404
|
project: z.ZodObject<{
|
|
2383
2405
|
id: z.ZodString;
|
|
@@ -2526,6 +2548,7 @@ declare const OPS: {
|
|
|
2526
2548
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2527
2549
|
}, z.core.$strict>>>;
|
|
2528
2550
|
home: z.ZodOptional<z.ZodString>;
|
|
2551
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
2529
2552
|
}, z.core.$strict>;
|
|
2530
2553
|
}, z.core.$strict>;
|
|
2531
2554
|
readonly kind: "unary";
|
|
@@ -2944,6 +2967,7 @@ declare const OPS: {
|
|
|
2944
2967
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2945
2968
|
}, z.core.$strict>>>;
|
|
2946
2969
|
home: z.ZodOptional<z.ZodString>;
|
|
2970
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
2947
2971
|
}, z.core.$strict>;
|
|
2948
2972
|
project: z.ZodObject<{
|
|
2949
2973
|
id: z.ZodString;
|
|
@@ -8903,6 +8927,8 @@ declare const SERVICES: {
|
|
|
8903
8927
|
id: z.ZodString;
|
|
8904
8928
|
size_bytes: z.ZodInt;
|
|
8905
8929
|
installed: z.ZodBoolean;
|
|
8930
|
+
title: z.ZodOptional<z.ZodString>;
|
|
8931
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
8906
8932
|
}, z.core.$strict>>;
|
|
8907
8933
|
running: z.ZodNullable<z.ZodObject<{
|
|
8908
8934
|
id: z.ZodString;
|
|
@@ -9030,6 +9056,12 @@ declare const SERVICES: {
|
|
|
9030
9056
|
}, z.core.$strict>>;
|
|
9031
9057
|
default_transcription: z.ZodNullable<z.ZodString>;
|
|
9032
9058
|
catalog_updated_at: z.ZodString;
|
|
9059
|
+
unusable: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9060
|
+
key: z.ZodString;
|
|
9061
|
+
title: z.ZodString;
|
|
9062
|
+
size_bytes: z.ZodInt;
|
|
9063
|
+
problem: z.ZodString;
|
|
9064
|
+
}, z.core.$strict>>>;
|
|
9033
9065
|
}, z.core.$strict>;
|
|
9034
9066
|
readonly result: z.ZodObject<{
|
|
9035
9067
|
text: z.ZodInt;
|
|
@@ -11067,6 +11099,14 @@ declare const NAMED_SCHEMAS: {
|
|
|
11067
11099
|
id: z.ZodString;
|
|
11068
11100
|
size_bytes: z.ZodInt;
|
|
11069
11101
|
installed: z.ZodBoolean;
|
|
11102
|
+
title: z.ZodOptional<z.ZodString>;
|
|
11103
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
11104
|
+
}, z.core.$strict>;
|
|
11105
|
+
readonly UnusableTextModel: z.ZodObject<{
|
|
11106
|
+
key: z.ZodString;
|
|
11107
|
+
title: z.ZodString;
|
|
11108
|
+
size_bytes: z.ZodInt;
|
|
11109
|
+
problem: z.ZodString;
|
|
11070
11110
|
}, z.core.$strict>;
|
|
11071
11111
|
readonly ModelKey: z.ZodString;
|
|
11072
11112
|
readonly Sha256Hex: z.ZodString;
|
|
@@ -11131,6 +11171,12 @@ declare const NAMED_SCHEMAS: {
|
|
|
11131
11171
|
}, z.core.$strict>>;
|
|
11132
11172
|
default_transcription: z.ZodNullable<z.ZodString>;
|
|
11133
11173
|
catalog_updated_at: z.ZodString;
|
|
11174
|
+
unusable: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11175
|
+
key: z.ZodString;
|
|
11176
|
+
title: z.ZodString;
|
|
11177
|
+
size_bytes: z.ZodInt;
|
|
11178
|
+
problem: z.ZodString;
|
|
11179
|
+
}, z.core.$strict>>>;
|
|
11134
11180
|
}, z.core.$strict>;
|
|
11135
11181
|
readonly MlCatalogSetResult: z.ZodObject<{
|
|
11136
11182
|
text: z.ZodInt;
|
|
@@ -11161,6 +11207,8 @@ declare const NAMED_SCHEMAS: {
|
|
|
11161
11207
|
id: z.ZodString;
|
|
11162
11208
|
size_bytes: z.ZodInt;
|
|
11163
11209
|
installed: z.ZodBoolean;
|
|
11210
|
+
title: z.ZodOptional<z.ZodString>;
|
|
11211
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
11164
11212
|
}, z.core.$strict>>;
|
|
11165
11213
|
running: z.ZodNullable<z.ZodObject<{
|
|
11166
11214
|
id: z.ZodString;
|
|
@@ -15610,6 +15658,7 @@ declare const NAMED_SCHEMAS: {
|
|
|
15610
15658
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
15611
15659
|
}, z.core.$strict>>>;
|
|
15612
15660
|
home: z.ZodOptional<z.ZodString>;
|
|
15661
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
15613
15662
|
}, z.core.$strict>;
|
|
15614
15663
|
readonly AppsChatsListParams: z.ZodObject<{
|
|
15615
15664
|
app_key: z.ZodString;
|
|
@@ -15721,6 +15770,7 @@ declare const NAMED_SCHEMAS: {
|
|
|
15721
15770
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
15722
15771
|
}, z.core.$strict>>>;
|
|
15723
15772
|
home: z.ZodOptional<z.ZodString>;
|
|
15773
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
15724
15774
|
}, z.core.$strict>>;
|
|
15725
15775
|
new_window_ms: z.ZodInt;
|
|
15726
15776
|
updating: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -15842,8 +15892,19 @@ declare const NAMED_SCHEMAS: {
|
|
|
15842
15892
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
15843
15893
|
}, z.core.$strict>>>;
|
|
15844
15894
|
home: z.ZodOptional<z.ZodString>;
|
|
15895
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
15845
15896
|
}, z.core.$strict>;
|
|
15846
15897
|
}, z.core.$strict>;
|
|
15898
|
+
readonly AppsChatsHideParams: z.ZodObject<{
|
|
15899
|
+
app_key: z.ZodString;
|
|
15900
|
+
chat_ids: z.ZodArray<z.ZodString>;
|
|
15901
|
+
hidden: z.ZodBoolean;
|
|
15902
|
+
}, z.core.$strict>;
|
|
15903
|
+
readonly AppsChatsHideResult: z.ZodObject<{
|
|
15904
|
+
app_key: z.ZodString;
|
|
15905
|
+
hidden: z.ZodBoolean;
|
|
15906
|
+
changed: z.ZodArray<z.ZodString>;
|
|
15907
|
+
}, z.core.$strict>;
|
|
15847
15908
|
readonly AppsProjectsFileParams: z.ZodObject<{
|
|
15848
15909
|
app_key: z.ZodString;
|
|
15849
15910
|
chat_id: z.ZodString;
|
|
@@ -15943,6 +16004,7 @@ declare const NAMED_SCHEMAS: {
|
|
|
15943
16004
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
15944
16005
|
}, z.core.$strict>>>;
|
|
15945
16006
|
home: z.ZodOptional<z.ZodString>;
|
|
16007
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
15946
16008
|
}, z.core.$strict>;
|
|
15947
16009
|
project: z.ZodObject<{
|
|
15948
16010
|
id: z.ZodString;
|
|
@@ -16049,6 +16111,7 @@ declare const NAMED_SCHEMAS: {
|
|
|
16049
16111
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
16050
16112
|
}, z.core.$strict>>>;
|
|
16051
16113
|
home: z.ZodOptional<z.ZodString>;
|
|
16114
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
16052
16115
|
}, z.core.$strict>;
|
|
16053
16116
|
}, z.core.$strict>;
|
|
16054
16117
|
readonly AppsChatsWatchStateEvent: z.ZodObject<{
|
|
@@ -16161,6 +16224,7 @@ declare const NAMED_SCHEMAS: {
|
|
|
16161
16224
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
16162
16225
|
}, z.core.$strict>>>;
|
|
16163
16226
|
home: z.ZodOptional<z.ZodString>;
|
|
16227
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
16164
16228
|
}, z.core.$strict>;
|
|
16165
16229
|
message: z.ZodString;
|
|
16166
16230
|
}, z.core.$strict>;
|
|
@@ -16263,6 +16327,7 @@ declare const NAMED_SCHEMAS: {
|
|
|
16263
16327
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
16264
16328
|
}, z.core.$strict>>>;
|
|
16265
16329
|
home: z.ZodOptional<z.ZodString>;
|
|
16330
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
16266
16331
|
}, z.core.$strict>>;
|
|
16267
16332
|
project: z.ZodObject<{
|
|
16268
16333
|
id: z.ZodString;
|
|
@@ -16742,6 +16807,7 @@ declare const NAMED_SCHEMAS: {
|
|
|
16742
16807
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
16743
16808
|
}, z.core.$strict>>>;
|
|
16744
16809
|
home: z.ZodOptional<z.ZodString>;
|
|
16810
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
16745
16811
|
}, z.core.$strict>;
|
|
16746
16812
|
project: z.ZodObject<{
|
|
16747
16813
|
id: z.ZodString;
|
|
@@ -20311,6 +20377,12 @@ declare const MlCatalogSetParams: z.ZodObject<{
|
|
|
20311
20377
|
}, z.core.$strict>>;
|
|
20312
20378
|
default_transcription: z.ZodNullable<z.ZodString>;
|
|
20313
20379
|
catalog_updated_at: z.ZodString;
|
|
20380
|
+
unusable: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
20381
|
+
key: z.ZodString;
|
|
20382
|
+
title: z.ZodString;
|
|
20383
|
+
size_bytes: z.ZodInt;
|
|
20384
|
+
problem: z.ZodString;
|
|
20385
|
+
}, z.core.$strict>>>;
|
|
20314
20386
|
}, z.core.$strict>;
|
|
20315
20387
|
type MlCatalogSetParams = z.output<typeof MlCatalogSetParams>;
|
|
20316
20388
|
/**
|
|
@@ -20337,6 +20409,8 @@ declare const ModelsLlmStatusResult: z.ZodObject<{
|
|
|
20337
20409
|
id: z.ZodString;
|
|
20338
20410
|
size_bytes: z.ZodInt;
|
|
20339
20411
|
installed: z.ZodBoolean;
|
|
20412
|
+
title: z.ZodOptional<z.ZodString>;
|
|
20413
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
20340
20414
|
}, z.core.$strict>>;
|
|
20341
20415
|
running: z.ZodNullable<z.ZodObject<{
|
|
20342
20416
|
id: z.ZodString;
|
|
@@ -20460,8 +20534,18 @@ declare const TextModelInfo: z.ZodObject<{
|
|
|
20460
20534
|
id: z.ZodString;
|
|
20461
20535
|
size_bytes: z.ZodInt;
|
|
20462
20536
|
installed: z.ZodBoolean;
|
|
20537
|
+
title: z.ZodOptional<z.ZodString>;
|
|
20538
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
20463
20539
|
}, z.core.$strict>;
|
|
20464
20540
|
type TextModelInfo = z.output<typeof TextModelInfo>;
|
|
20541
|
+
/** (1.69) A language model on this computer that cannot run here (ml.catalog_set `unusable`): listed with why, never started. */
|
|
20542
|
+
declare const UnusableTextModel: z.ZodObject<{
|
|
20543
|
+
key: z.ZodString;
|
|
20544
|
+
title: z.ZodString;
|
|
20545
|
+
size_bytes: z.ZodInt;
|
|
20546
|
+
problem: z.ZodString;
|
|
20547
|
+
}, z.core.$strict>;
|
|
20548
|
+
type UnusableTextModel = z.output<typeof UnusableTextModel>;
|
|
20465
20549
|
/** The model server's process: one model loaded at a time. */
|
|
20466
20550
|
declare const LlmServerState: z.ZodEnum<{
|
|
20467
20551
|
running: "running";
|
|
@@ -20550,4 +20634,4 @@ type MlServiceStatus = z.output<typeof MlServiceStatus>;
|
|
|
20550
20634
|
declare const ModelsStatusParams: z.ZodObject<{}, z.core.$strict>;
|
|
20551
20635
|
type ModelsStatusParams = z.output<typeof ModelsStatusParams>;
|
|
20552
20636
|
|
|
20553
|
-
export { ModelKey as $, type ErrorReasonName as A, BEARER_PREFIX as B, type CloseOutcome as C, DesktopProtocolError as D, EndReason as E, EventMsg as F, type EventName as G, FsPatchEditFailure as H, HelloMsg as I, LlamaServerBuild as J, LlmRunning as K, Limits as L, ModelsTranscribeResult as M, LlmServerState as N, type OpName as O, MlCatalogSetParams as P, MlCatalogSetResult as Q, MlInstallPhase as R, StreamMeta as S, TranscriptionModelId as T, MlInstallProgress as U, MlRuntimeState as V, Welcome as W, MlServiceState as X, MlServiceStatus as Y, MlStatusParams as Z, MlStatusResult as _, type OpParams as a, ModelsDownloadsCancelParams as a0, ModelsDownloadsCancelResult as a1, ModelsDownloadsListParams as a2, ModelsDownloadsListResult as a3, ModelsInstallParams as a4, ModelsInstallResult as a5, ModelsLlmInstallParams as a6, ModelsLlmInstallResult as a7, ModelsLlmStartParams as a8, ModelsLlmStartResult as a9, TextModelId as aA, TextModelInfo as aB, TranscriptSegment as aC, TranscriptionModelInfo as aD,
|
|
20637
|
+
export { ModelKey as $, type ErrorReasonName as A, BEARER_PREFIX as B, type CloseOutcome as C, DesktopProtocolError as D, EndReason as E, EventMsg as F, type EventName as G, FsPatchEditFailure as H, HelloMsg as I, LlamaServerBuild as J, LlmRunning as K, Limits as L, ModelsTranscribeResult as M, LlmServerState as N, type OpName as O, MlCatalogSetParams as P, MlCatalogSetResult as Q, MlInstallPhase as R, StreamMeta as S, TranscriptionModelId as T, MlInstallProgress as U, MlRuntimeState as V, Welcome as W, MlServiceState as X, MlServiceStatus as Y, MlStatusParams as Z, MlStatusResult as _, type OpParams as a, ModelsDownloadsCancelParams as a0, ModelsDownloadsCancelResult as a1, ModelsDownloadsListParams as a2, ModelsDownloadsListResult as a3, ModelsInstallParams as a4, ModelsInstallResult as a5, ModelsLlmInstallParams as a6, ModelsLlmInstallResult as a7, ModelsLlmStartParams as a8, ModelsLlmStartResult as a9, TextModelId as aA, TextModelInfo as aB, TranscriptSegment as aC, TranscriptionModelInfo as aD, UnusableTextModel as aE, closeRule as aF, isTerminalClose as aG, ModelsLlmStatusParams as aa, ModelsLlmStatusResult as ab, ModelsLlmStopParams as ac, ModelsLlmStopResult as ad, ModelsProgressEvent as ae, ModelsStatusParams as af, ModelsStatusResult as ag, ModelsTranscribeParams as ah, NAMED_SCHEMAS as ai, type NamedSchemaId as aj, OpDescriptor as ak, type OpSpec as al, PING_TEXT as am, PONG_TEXT as an, ProtocolErrorBody as ao, RelayMsg as ap, RequestMsg as aq, ResponseMsg as ar, SERVICES as as, SUBPROTOCOL as at, type ServiceId as au, type ServiceOpName as av, type ServiceOpSpec as aw, type ServiceSpec as ax, Sha256Hex as ay, StreamMsg as az, type OpResult as b, OPS as c, EVENTS as d, ClientType as e, MlProgress as f, CLOSE_RULES as g, CancelMsg as h, isDesktopProtocolError as i, CatalogFile as j, CatalogModelEntry as k, ClientToCoreMsg as l, type CloseAction as m, CloseCode as n, CloseCodeValue as o, type CloseRule as p, CoreToClientMsg as q, CreditMsg as r, DownloadKind as s, DownloadRow as t, EndMsg as u, ErrorCode as v, type ErrorCodeName as w, type ErrorData as x, ErrorMsg as y, ErrorReason as z };
|
package/dist/react.d.cts
CHANGED
|
@@ -1004,6 +1004,8 @@ declare const OPS: {
|
|
|
1004
1004
|
id: z.ZodString;
|
|
1005
1005
|
size_bytes: z.ZodInt;
|
|
1006
1006
|
installed: z.ZodBoolean;
|
|
1007
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1008
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
1007
1009
|
}, z.core.$strict>>;
|
|
1008
1010
|
running: z.ZodNullable<z.ZodObject<{
|
|
1009
1011
|
id: z.ZodString;
|
|
@@ -1359,6 +1361,7 @@ declare const OPS: {
|
|
|
1359
1361
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1360
1362
|
}, z.core.$strict>>>;
|
|
1361
1363
|
home: z.ZodOptional<z.ZodString>;
|
|
1364
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1362
1365
|
}, z.core.$strict>>;
|
|
1363
1366
|
new_window_ms: z.ZodInt;
|
|
1364
1367
|
updating: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1484,12 +1487,28 @@ declare const OPS: {
|
|
|
1484
1487
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1485
1488
|
}, z.core.$strict>>>;
|
|
1486
1489
|
home: z.ZodOptional<z.ZodString>;
|
|
1490
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1487
1491
|
}, z.core.$strict>;
|
|
1488
1492
|
}, z.core.$strict>;
|
|
1489
1493
|
readonly kind: "unary";
|
|
1490
1494
|
readonly since: "1.8";
|
|
1491
1495
|
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1492
1496
|
};
|
|
1497
|
+
readonly "apps.chats.hide": {
|
|
1498
|
+
readonly params: z.ZodObject<{
|
|
1499
|
+
app_key: z.ZodString;
|
|
1500
|
+
chat_ids: z.ZodArray<z.ZodString>;
|
|
1501
|
+
hidden: z.ZodBoolean;
|
|
1502
|
+
}, z.core.$strict>;
|
|
1503
|
+
readonly result: z.ZodObject<{
|
|
1504
|
+
app_key: z.ZodString;
|
|
1505
|
+
hidden: z.ZodBoolean;
|
|
1506
|
+
changed: z.ZodArray<z.ZodString>;
|
|
1507
|
+
}, z.core.$strict>;
|
|
1508
|
+
readonly kind: "unary";
|
|
1509
|
+
readonly since: "1.70";
|
|
1510
|
+
readonly errors: readonly ["INVALID_PARAMS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1511
|
+
};
|
|
1493
1512
|
readonly "apps.projects.file": {
|
|
1494
1513
|
readonly params: z.ZodObject<{
|
|
1495
1514
|
app_key: z.ZodString;
|
|
@@ -1590,6 +1609,7 @@ declare const OPS: {
|
|
|
1590
1609
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1591
1610
|
}, z.core.$strict>>>;
|
|
1592
1611
|
home: z.ZodOptional<z.ZodString>;
|
|
1612
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1593
1613
|
}, z.core.$strict>;
|
|
1594
1614
|
project: z.ZodObject<{
|
|
1595
1615
|
id: z.ZodString;
|
|
@@ -1707,6 +1727,7 @@ declare const OPS: {
|
|
|
1707
1727
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1708
1728
|
}, z.core.$strict>>>;
|
|
1709
1729
|
home: z.ZodOptional<z.ZodString>;
|
|
1730
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1710
1731
|
}, z.core.$strict>;
|
|
1711
1732
|
message: z.ZodString;
|
|
1712
1733
|
}, z.core.$strict>;
|
|
@@ -1814,6 +1835,7 @@ declare const OPS: {
|
|
|
1814
1835
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1815
1836
|
}, z.core.$strict>>>;
|
|
1816
1837
|
home: z.ZodOptional<z.ZodString>;
|
|
1838
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1817
1839
|
}, z.core.$strict>>;
|
|
1818
1840
|
project: z.ZodObject<{
|
|
1819
1841
|
id: z.ZodString;
|
|
@@ -1962,6 +1984,7 @@ declare const OPS: {
|
|
|
1962
1984
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1963
1985
|
}, z.core.$strict>>>;
|
|
1964
1986
|
home: z.ZodOptional<z.ZodString>;
|
|
1987
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1965
1988
|
}, z.core.$strict>;
|
|
1966
1989
|
}, z.core.$strict>;
|
|
1967
1990
|
readonly kind: "unary";
|
|
@@ -2380,6 +2403,7 @@ declare const OPS: {
|
|
|
2380
2403
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2381
2404
|
}, z.core.$strict>>>;
|
|
2382
2405
|
home: z.ZodOptional<z.ZodString>;
|
|
2406
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
2383
2407
|
}, z.core.$strict>;
|
|
2384
2408
|
project: z.ZodObject<{
|
|
2385
2409
|
id: z.ZodString;
|
package/dist/react.d.ts
CHANGED
|
@@ -1004,6 +1004,8 @@ declare const OPS: {
|
|
|
1004
1004
|
id: z.ZodString;
|
|
1005
1005
|
size_bytes: z.ZodInt;
|
|
1006
1006
|
installed: z.ZodBoolean;
|
|
1007
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1008
|
+
problem: z.ZodOptional<z.ZodString>;
|
|
1007
1009
|
}, z.core.$strict>>;
|
|
1008
1010
|
running: z.ZodNullable<z.ZodObject<{
|
|
1009
1011
|
id: z.ZodString;
|
|
@@ -1359,6 +1361,7 @@ declare const OPS: {
|
|
|
1359
1361
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1360
1362
|
}, z.core.$strict>>>;
|
|
1361
1363
|
home: z.ZodOptional<z.ZodString>;
|
|
1364
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1362
1365
|
}, z.core.$strict>>;
|
|
1363
1366
|
new_window_ms: z.ZodInt;
|
|
1364
1367
|
updating: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1484,12 +1487,28 @@ declare const OPS: {
|
|
|
1484
1487
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1485
1488
|
}, z.core.$strict>>>;
|
|
1486
1489
|
home: z.ZodOptional<z.ZodString>;
|
|
1490
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1487
1491
|
}, z.core.$strict>;
|
|
1488
1492
|
}, z.core.$strict>;
|
|
1489
1493
|
readonly kind: "unary";
|
|
1490
1494
|
readonly since: "1.8";
|
|
1491
1495
|
readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1492
1496
|
};
|
|
1497
|
+
readonly "apps.chats.hide": {
|
|
1498
|
+
readonly params: z.ZodObject<{
|
|
1499
|
+
app_key: z.ZodString;
|
|
1500
|
+
chat_ids: z.ZodArray<z.ZodString>;
|
|
1501
|
+
hidden: z.ZodBoolean;
|
|
1502
|
+
}, z.core.$strict>;
|
|
1503
|
+
readonly result: z.ZodObject<{
|
|
1504
|
+
app_key: z.ZodString;
|
|
1505
|
+
hidden: z.ZodBoolean;
|
|
1506
|
+
changed: z.ZodArray<z.ZodString>;
|
|
1507
|
+
}, z.core.$strict>;
|
|
1508
|
+
readonly kind: "unary";
|
|
1509
|
+
readonly since: "1.70";
|
|
1510
|
+
readonly errors: readonly ["INVALID_PARAMS", "PLATFORM_UNSUPPORTED", "INTERNAL"];
|
|
1511
|
+
};
|
|
1493
1512
|
readonly "apps.projects.file": {
|
|
1494
1513
|
readonly params: z.ZodObject<{
|
|
1495
1514
|
app_key: z.ZodString;
|
|
@@ -1590,6 +1609,7 @@ declare const OPS: {
|
|
|
1590
1609
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1591
1610
|
}, z.core.$strict>>>;
|
|
1592
1611
|
home: z.ZodOptional<z.ZodString>;
|
|
1612
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1593
1613
|
}, z.core.$strict>;
|
|
1594
1614
|
project: z.ZodObject<{
|
|
1595
1615
|
id: z.ZodString;
|
|
@@ -1707,6 +1727,7 @@ declare const OPS: {
|
|
|
1707
1727
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1708
1728
|
}, z.core.$strict>>>;
|
|
1709
1729
|
home: z.ZodOptional<z.ZodString>;
|
|
1730
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1710
1731
|
}, z.core.$strict>;
|
|
1711
1732
|
message: z.ZodString;
|
|
1712
1733
|
}, z.core.$strict>;
|
|
@@ -1814,6 +1835,7 @@ declare const OPS: {
|
|
|
1814
1835
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1815
1836
|
}, z.core.$strict>>>;
|
|
1816
1837
|
home: z.ZodOptional<z.ZodString>;
|
|
1838
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1817
1839
|
}, z.core.$strict>>;
|
|
1818
1840
|
project: z.ZodObject<{
|
|
1819
1841
|
id: z.ZodString;
|
|
@@ -1962,6 +1984,7 @@ declare const OPS: {
|
|
|
1962
1984
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
1963
1985
|
}, z.core.$strict>>>;
|
|
1964
1986
|
home: z.ZodOptional<z.ZodString>;
|
|
1987
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1965
1988
|
}, z.core.$strict>;
|
|
1966
1989
|
}, z.core.$strict>;
|
|
1967
1990
|
readonly kind: "unary";
|
|
@@ -2380,6 +2403,7 @@ declare const OPS: {
|
|
|
2380
2403
|
back_at_ms: z.ZodNullable<z.ZodInt>;
|
|
2381
2404
|
}, z.core.$strict>>>;
|
|
2382
2405
|
home: z.ZodOptional<z.ZodString>;
|
|
2406
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
2383
2407
|
}, z.core.$strict>;
|
|
2384
2408
|
project: z.ZodObject<{
|
|
2385
2409
|
id: z.ZodString;
|
|
@@ -4248,6 +4248,16 @@
|
|
|
4248
4248
|
},
|
|
4249
4249
|
"installed": {
|
|
4250
4250
|
"type": "boolean"
|
|
4251
|
+
},
|
|
4252
|
+
"title": {
|
|
4253
|
+
"type": "string",
|
|
4254
|
+
"minLength": 1,
|
|
4255
|
+
"maxLength": 200
|
|
4256
|
+
},
|
|
4257
|
+
"problem": {
|
|
4258
|
+
"type": "string",
|
|
4259
|
+
"minLength": 1,
|
|
4260
|
+
"maxLength": 300
|
|
4251
4261
|
}
|
|
4252
4262
|
},
|
|
4253
4263
|
"required": [
|
|
@@ -4257,6 +4267,36 @@
|
|
|
4257
4267
|
],
|
|
4258
4268
|
"additionalProperties": false
|
|
4259
4269
|
},
|
|
4270
|
+
"UnusableTextModel": {
|
|
4271
|
+
"type": "object",
|
|
4272
|
+
"properties": {
|
|
4273
|
+
"key": {
|
|
4274
|
+
"$ref": "#/$defs/ModelKey"
|
|
4275
|
+
},
|
|
4276
|
+
"title": {
|
|
4277
|
+
"type": "string",
|
|
4278
|
+
"minLength": 1,
|
|
4279
|
+
"maxLength": 200
|
|
4280
|
+
},
|
|
4281
|
+
"size_bytes": {
|
|
4282
|
+
"type": "integer",
|
|
4283
|
+
"minimum": 0,
|
|
4284
|
+
"maximum": 9007199254740991
|
|
4285
|
+
},
|
|
4286
|
+
"problem": {
|
|
4287
|
+
"type": "string",
|
|
4288
|
+
"minLength": 1,
|
|
4289
|
+
"maxLength": 300
|
|
4290
|
+
}
|
|
4291
|
+
},
|
|
4292
|
+
"required": [
|
|
4293
|
+
"key",
|
|
4294
|
+
"title",
|
|
4295
|
+
"size_bytes",
|
|
4296
|
+
"problem"
|
|
4297
|
+
],
|
|
4298
|
+
"additionalProperties": false
|
|
4299
|
+
},
|
|
4260
4300
|
"ModelKey": {
|
|
4261
4301
|
"type": "string",
|
|
4262
4302
|
"minLength": 1,
|
|
@@ -4416,6 +4456,13 @@
|
|
|
4416
4456
|
"catalog_updated_at": {
|
|
4417
4457
|
"type": "string",
|
|
4418
4458
|
"maxLength": 40
|
|
4459
|
+
},
|
|
4460
|
+
"unusable": {
|
|
4461
|
+
"maxItems": 512,
|
|
4462
|
+
"type": "array",
|
|
4463
|
+
"items": {
|
|
4464
|
+
"$ref": "#/$defs/UnusableTextModel"
|
|
4465
|
+
}
|
|
4419
4466
|
}
|
|
4420
4467
|
},
|
|
4421
4468
|
"required": [
|
|
@@ -4501,7 +4548,7 @@
|
|
|
4501
4548
|
"$ref": "#/$defs/LlmServerState"
|
|
4502
4549
|
},
|
|
4503
4550
|
"models": {
|
|
4504
|
-
"maxItems":
|
|
4551
|
+
"maxItems": 1024,
|
|
4505
4552
|
"type": "array",
|
|
4506
4553
|
"items": {
|
|
4507
4554
|
"$ref": "#/$defs/TextModelInfo"
|
|
@@ -13327,6 +13374,9 @@
|
|
|
13327
13374
|
},
|
|
13328
13375
|
"home": {
|
|
13329
13376
|
"$ref": "#/$defs/ChatPlace"
|
|
13377
|
+
},
|
|
13378
|
+
"hidden": {
|
|
13379
|
+
"type": "boolean"
|
|
13330
13380
|
}
|
|
13331
13381
|
},
|
|
13332
13382
|
"required": [
|
|
@@ -13524,6 +13574,55 @@
|
|
|
13524
13574
|
],
|
|
13525
13575
|
"additionalProperties": false
|
|
13526
13576
|
},
|
|
13577
|
+
"AppsChatsHideParams": {
|
|
13578
|
+
"type": "object",
|
|
13579
|
+
"properties": {
|
|
13580
|
+
"app_key": {
|
|
13581
|
+
"$ref": "#/$defs/AppKey"
|
|
13582
|
+
},
|
|
13583
|
+
"chat_ids": {
|
|
13584
|
+
"minItems": 1,
|
|
13585
|
+
"maxItems": 500,
|
|
13586
|
+
"type": "array",
|
|
13587
|
+
"items": {
|
|
13588
|
+
"$ref": "#/$defs/ChatId"
|
|
13589
|
+
}
|
|
13590
|
+
},
|
|
13591
|
+
"hidden": {
|
|
13592
|
+
"type": "boolean"
|
|
13593
|
+
}
|
|
13594
|
+
},
|
|
13595
|
+
"required": [
|
|
13596
|
+
"app_key",
|
|
13597
|
+
"chat_ids",
|
|
13598
|
+
"hidden"
|
|
13599
|
+
],
|
|
13600
|
+
"additionalProperties": false
|
|
13601
|
+
},
|
|
13602
|
+
"AppsChatsHideResult": {
|
|
13603
|
+
"type": "object",
|
|
13604
|
+
"properties": {
|
|
13605
|
+
"app_key": {
|
|
13606
|
+
"$ref": "#/$defs/AppKey"
|
|
13607
|
+
},
|
|
13608
|
+
"hidden": {
|
|
13609
|
+
"type": "boolean"
|
|
13610
|
+
},
|
|
13611
|
+
"changed": {
|
|
13612
|
+
"maxItems": 500,
|
|
13613
|
+
"type": "array",
|
|
13614
|
+
"items": {
|
|
13615
|
+
"$ref": "#/$defs/ChatId"
|
|
13616
|
+
}
|
|
13617
|
+
}
|
|
13618
|
+
},
|
|
13619
|
+
"required": [
|
|
13620
|
+
"app_key",
|
|
13621
|
+
"hidden",
|
|
13622
|
+
"changed"
|
|
13623
|
+
],
|
|
13624
|
+
"additionalProperties": false
|
|
13625
|
+
},
|
|
13527
13626
|
"AppsProjectsFileParams": {
|
|
13528
13627
|
"type": "object",
|
|
13529
13628
|
"properties": {
|
|
@@ -24458,6 +24557,17 @@
|
|
|
24458
24557
|
"INTERNAL"
|
|
24459
24558
|
]
|
|
24460
24559
|
},
|
|
24560
|
+
"apps.chats.hide": {
|
|
24561
|
+
"params": "AppsChatsHideParams",
|
|
24562
|
+
"result": "AppsChatsHideResult",
|
|
24563
|
+
"kind": "unary",
|
|
24564
|
+
"since": "1.70",
|
|
24565
|
+
"errors": [
|
|
24566
|
+
"INVALID_PARAMS",
|
|
24567
|
+
"PLATFORM_UNSUPPORTED",
|
|
24568
|
+
"INTERNAL"
|
|
24569
|
+
]
|
|
24570
|
+
},
|
|
24461
24571
|
"apps.projects.file": {
|
|
24462
24572
|
"params": "AppsProjectsFileParams",
|
|
24463
24573
|
"result": "AppsProjectsFileResult",
|
|
@@ -27021,6 +27131,13 @@
|
|
|
27021
27131
|
"gpu_layers": "1.48",
|
|
27022
27132
|
"threads": "1.48"
|
|
27023
27133
|
},
|
|
27134
|
+
"TextModelInfo": {
|
|
27135
|
+
"title": "1.69",
|
|
27136
|
+
"problem": "1.69"
|
|
27137
|
+
},
|
|
27138
|
+
"MlCatalogSetParams": {
|
|
27139
|
+
"unusable": "1.69"
|
|
27140
|
+
},
|
|
27024
27141
|
"ModelsLlmStartParams": {
|
|
27025
27142
|
"gpu_layers": "1.48",
|
|
27026
27143
|
"threads": "1.48",
|
|
@@ -27116,7 +27233,8 @@
|
|
|
27116
27233
|
"prior_sessions": "1.59",
|
|
27117
27234
|
"title_sync": "1.61",
|
|
27118
27235
|
"moved": "1.62",
|
|
27119
|
-
"home": "1.63"
|
|
27236
|
+
"home": "1.63",
|
|
27237
|
+
"hidden": "1.70"
|
|
27120
27238
|
},
|
|
27121
27239
|
"AccountUsage": {
|
|
27122
27240
|
"plan": "1.13",
|
|
@@ -27295,5 +27413,5 @@
|
|
|
27295
27413
|
"olderPeersGet": 0
|
|
27296
27414
|
}
|
|
27297
27415
|
},
|
|
27298
|
-
"x-protocol-version": "1.
|
|
27416
|
+
"x-protocol-version": "1.70"
|
|
27299
27417
|
}
|
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.71",
|
|
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": "bcbe51f9705443fc06fe916b399cc7f53337c90c"
|
|
141
141
|
}
|