@ai-matrx/desktop-protocol 0.21.43 → 0.21.45

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/dist/react.d.cts CHANGED
@@ -940,22 +940,12 @@ declare const OPS: {
940
940
  cuda: "cuda";
941
941
  }>;
942
942
  models: z.ZodArray<z.ZodObject<{
943
- id: z.ZodEnum<{
944
- base: "base";
945
- small: "small";
946
- tiny: "tiny";
947
- "large-v3-turbo": "large-v3-turbo";
948
- }>;
943
+ id: z.ZodString;
949
944
  size_bytes: z.ZodInt;
950
945
  multilingual: z.ZodBoolean;
951
946
  installed: z.ZodBoolean;
952
947
  }, z.core.$strict>>;
953
- default_model: z.ZodEnum<{
954
- base: "base";
955
- small: "small";
956
- tiny: "tiny";
957
- "large-v3-turbo": "large-v3-turbo";
958
- }>;
948
+ default_model: z.ZodString;
959
949
  }, z.core.$strict>>;
960
950
  }, z.core.$strict>;
961
951
  readonly kind: "unary";
@@ -964,20 +954,10 @@ declare const OPS: {
964
954
  };
965
955
  readonly "models.install": {
966
956
  readonly params: z.ZodObject<{
967
- model: z.ZodOptional<z.ZodEnum<{
968
- base: "base";
969
- small: "small";
970
- tiny: "tiny";
971
- "large-v3-turbo": "large-v3-turbo";
972
- }>>;
957
+ model: z.ZodOptional<z.ZodString>;
973
958
  }, z.core.$strict>;
974
959
  readonly result: z.ZodObject<{
975
- model: z.ZodEnum<{
976
- base: "base";
977
- small: "small";
978
- tiny: "tiny";
979
- "large-v3-turbo": "large-v3-turbo";
980
- }>;
960
+ model: z.ZodString;
981
961
  elapsed_ms: z.ZodInt;
982
962
  }, z.core.$strict>;
983
963
  readonly kind: "unary";
@@ -987,12 +967,7 @@ declare const OPS: {
987
967
  readonly "models.transcribe": {
988
968
  readonly params: z.ZodObject<{
989
969
  path: z.ZodString;
990
- model: z.ZodOptional<z.ZodEnum<{
991
- base: "base";
992
- small: "small";
993
- tiny: "tiny";
994
- "large-v3-turbo": "large-v3-turbo";
995
- }>>;
970
+ model: z.ZodOptional<z.ZodString>;
996
971
  language: z.ZodOptional<z.ZodString>;
997
972
  task: z.ZodDefault<z.ZodEnum<{
998
973
  transcribe: "transcribe";
@@ -1004,12 +979,7 @@ declare const OPS: {
1004
979
  language: z.ZodString;
1005
980
  language_probability: z.ZodNumber;
1006
981
  duration_s: z.ZodNumber;
1007
- model: z.ZodEnum<{
1008
- base: "base";
1009
- small: "small";
1010
- tiny: "tiny";
1011
- "large-v3-turbo": "large-v3-turbo";
1012
- }>;
982
+ model: z.ZodString;
1013
983
  segments: z.ZodArray<z.ZodObject<{
1014
984
  start_s: z.ZodNumber;
1015
985
  end_s: z.ZodNumber;
@@ -1031,51 +1001,18 @@ declare const OPS: {
1031
1001
  stopped: "stopped";
1032
1002
  }>;
1033
1003
  models: z.ZodArray<z.ZodObject<{
1034
- id: z.ZodEnum<{
1035
- "smollm2-135m": "smollm2-135m";
1036
- "llama-3.2-3b": "llama-3.2-3b";
1037
- "phi-4-mini": "phi-4-mini";
1038
- "gemma-3-4b": "gemma-3-4b";
1039
- "llama-3.1-8b": "llama-3.1-8b";
1040
- "qwen-2.5-7b": "qwen-2.5-7b";
1041
- "mistral-small-3.1": "mistral-small-3.1";
1042
- "gpt-oss-20b": "gpt-oss-20b";
1043
- "qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
1044
- "qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
1045
- }>;
1004
+ id: z.ZodString;
1046
1005
  size_bytes: z.ZodInt;
1047
1006
  installed: z.ZodBoolean;
1048
1007
  }, z.core.$strict>>;
1049
1008
  running: z.ZodNullable<z.ZodObject<{
1050
- id: z.ZodEnum<{
1051
- "smollm2-135m": "smollm2-135m";
1052
- "llama-3.2-3b": "llama-3.2-3b";
1053
- "phi-4-mini": "phi-4-mini";
1054
- "gemma-3-4b": "gemma-3-4b";
1055
- "llama-3.1-8b": "llama-3.1-8b";
1056
- "qwen-2.5-7b": "qwen-2.5-7b";
1057
- "mistral-small-3.1": "mistral-small-3.1";
1058
- "gpt-oss-20b": "gpt-oss-20b";
1059
- "qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
1060
- "qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
1061
- }>;
1009
+ id: z.ZodString;
1062
1010
  port: z.ZodInt;
1063
1011
  context_length: z.ZodOptional<z.ZodInt>;
1064
1012
  gpu_layers: z.ZodOptional<z.ZodInt>;
1065
1013
  threads: z.ZodOptional<z.ZodInt>;
1066
1014
  }, z.core.$strict>>;
1067
- starting: z.ZodNullable<z.ZodEnum<{
1068
- "smollm2-135m": "smollm2-135m";
1069
- "llama-3.2-3b": "llama-3.2-3b";
1070
- "phi-4-mini": "phi-4-mini";
1071
- "gemma-3-4b": "gemma-3-4b";
1072
- "llama-3.1-8b": "llama-3.1-8b";
1073
- "qwen-2.5-7b": "qwen-2.5-7b";
1074
- "mistral-small-3.1": "mistral-small-3.1";
1075
- "gpt-oss-20b": "gpt-oss-20b";
1076
- "qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
1077
- "qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
1078
- }>>;
1015
+ starting: z.ZodNullable<z.ZodString>;
1079
1016
  install: z.ZodNullable<z.ZodObject<{
1080
1017
  phase: z.ZodEnum<{
1081
1018
  model: "model";
@@ -1094,32 +1031,10 @@ declare const OPS: {
1094
1031
  };
1095
1032
  readonly "models.llm.install": {
1096
1033
  readonly params: z.ZodObject<{
1097
- model: z.ZodEnum<{
1098
- "smollm2-135m": "smollm2-135m";
1099
- "llama-3.2-3b": "llama-3.2-3b";
1100
- "phi-4-mini": "phi-4-mini";
1101
- "gemma-3-4b": "gemma-3-4b";
1102
- "llama-3.1-8b": "llama-3.1-8b";
1103
- "qwen-2.5-7b": "qwen-2.5-7b";
1104
- "mistral-small-3.1": "mistral-small-3.1";
1105
- "gpt-oss-20b": "gpt-oss-20b";
1106
- "qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
1107
- "qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
1108
- }>;
1034
+ model: z.ZodString;
1109
1035
  }, z.core.$strict>;
1110
1036
  readonly result: z.ZodObject<{
1111
- model: z.ZodEnum<{
1112
- "smollm2-135m": "smollm2-135m";
1113
- "llama-3.2-3b": "llama-3.2-3b";
1114
- "phi-4-mini": "phi-4-mini";
1115
- "gemma-3-4b": "gemma-3-4b";
1116
- "llama-3.1-8b": "llama-3.1-8b";
1117
- "qwen-2.5-7b": "qwen-2.5-7b";
1118
- "mistral-small-3.1": "mistral-small-3.1";
1119
- "gpt-oss-20b": "gpt-oss-20b";
1120
- "qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
1121
- "qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
1122
- }>;
1037
+ model: z.ZodString;
1123
1038
  elapsed_ms: z.ZodInt;
1124
1039
  }, z.core.$strict>;
1125
1040
  readonly kind: "unary";
@@ -1128,18 +1043,7 @@ declare const OPS: {
1128
1043
  };
1129
1044
  readonly "models.llm.start": {
1130
1045
  readonly params: z.ZodObject<{
1131
- model: z.ZodEnum<{
1132
- "smollm2-135m": "smollm2-135m";
1133
- "llama-3.2-3b": "llama-3.2-3b";
1134
- "phi-4-mini": "phi-4-mini";
1135
- "gemma-3-4b": "gemma-3-4b";
1136
- "llama-3.1-8b": "llama-3.1-8b";
1137
- "qwen-2.5-7b": "qwen-2.5-7b";
1138
- "mistral-small-3.1": "mistral-small-3.1";
1139
- "gpt-oss-20b": "gpt-oss-20b";
1140
- "qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
1141
- "qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
1142
- }>;
1046
+ model: z.ZodString;
1143
1047
  context_length: z.ZodOptional<z.ZodInt>;
1144
1048
  gpu_layers: z.ZodOptional<z.ZodInt>;
1145
1049
  threads: z.ZodOptional<z.ZodInt>;
@@ -1147,18 +1051,7 @@ declare const OPS: {
1147
1051
  }, z.core.$strict>;
1148
1052
  readonly result: z.ZodObject<{
1149
1053
  running: z.ZodObject<{
1150
- id: z.ZodEnum<{
1151
- "smollm2-135m": "smollm2-135m";
1152
- "llama-3.2-3b": "llama-3.2-3b";
1153
- "phi-4-mini": "phi-4-mini";
1154
- "gemma-3-4b": "gemma-3-4b";
1155
- "llama-3.1-8b": "llama-3.1-8b";
1156
- "qwen-2.5-7b": "qwen-2.5-7b";
1157
- "mistral-small-3.1": "mistral-small-3.1";
1158
- "gpt-oss-20b": "gpt-oss-20b";
1159
- "qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
1160
- "qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
1161
- }>;
1054
+ id: z.ZodString;
1162
1055
  port: z.ZodInt;
1163
1056
  context_length: z.ZodOptional<z.ZodInt>;
1164
1057
  gpu_layers: z.ZodOptional<z.ZodInt>;
package/dist/react.d.ts CHANGED
@@ -940,22 +940,12 @@ declare const OPS: {
940
940
  cuda: "cuda";
941
941
  }>;
942
942
  models: z.ZodArray<z.ZodObject<{
943
- id: z.ZodEnum<{
944
- base: "base";
945
- small: "small";
946
- tiny: "tiny";
947
- "large-v3-turbo": "large-v3-turbo";
948
- }>;
943
+ id: z.ZodString;
949
944
  size_bytes: z.ZodInt;
950
945
  multilingual: z.ZodBoolean;
951
946
  installed: z.ZodBoolean;
952
947
  }, z.core.$strict>>;
953
- default_model: z.ZodEnum<{
954
- base: "base";
955
- small: "small";
956
- tiny: "tiny";
957
- "large-v3-turbo": "large-v3-turbo";
958
- }>;
948
+ default_model: z.ZodString;
959
949
  }, z.core.$strict>>;
960
950
  }, z.core.$strict>;
961
951
  readonly kind: "unary";
@@ -964,20 +954,10 @@ declare const OPS: {
964
954
  };
965
955
  readonly "models.install": {
966
956
  readonly params: z.ZodObject<{
967
- model: z.ZodOptional<z.ZodEnum<{
968
- base: "base";
969
- small: "small";
970
- tiny: "tiny";
971
- "large-v3-turbo": "large-v3-turbo";
972
- }>>;
957
+ model: z.ZodOptional<z.ZodString>;
973
958
  }, z.core.$strict>;
974
959
  readonly result: z.ZodObject<{
975
- model: z.ZodEnum<{
976
- base: "base";
977
- small: "small";
978
- tiny: "tiny";
979
- "large-v3-turbo": "large-v3-turbo";
980
- }>;
960
+ model: z.ZodString;
981
961
  elapsed_ms: z.ZodInt;
982
962
  }, z.core.$strict>;
983
963
  readonly kind: "unary";
@@ -987,12 +967,7 @@ declare const OPS: {
987
967
  readonly "models.transcribe": {
988
968
  readonly params: z.ZodObject<{
989
969
  path: z.ZodString;
990
- model: z.ZodOptional<z.ZodEnum<{
991
- base: "base";
992
- small: "small";
993
- tiny: "tiny";
994
- "large-v3-turbo": "large-v3-turbo";
995
- }>>;
970
+ model: z.ZodOptional<z.ZodString>;
996
971
  language: z.ZodOptional<z.ZodString>;
997
972
  task: z.ZodDefault<z.ZodEnum<{
998
973
  transcribe: "transcribe";
@@ -1004,12 +979,7 @@ declare const OPS: {
1004
979
  language: z.ZodString;
1005
980
  language_probability: z.ZodNumber;
1006
981
  duration_s: z.ZodNumber;
1007
- model: z.ZodEnum<{
1008
- base: "base";
1009
- small: "small";
1010
- tiny: "tiny";
1011
- "large-v3-turbo": "large-v3-turbo";
1012
- }>;
982
+ model: z.ZodString;
1013
983
  segments: z.ZodArray<z.ZodObject<{
1014
984
  start_s: z.ZodNumber;
1015
985
  end_s: z.ZodNumber;
@@ -1031,51 +1001,18 @@ declare const OPS: {
1031
1001
  stopped: "stopped";
1032
1002
  }>;
1033
1003
  models: z.ZodArray<z.ZodObject<{
1034
- id: z.ZodEnum<{
1035
- "smollm2-135m": "smollm2-135m";
1036
- "llama-3.2-3b": "llama-3.2-3b";
1037
- "phi-4-mini": "phi-4-mini";
1038
- "gemma-3-4b": "gemma-3-4b";
1039
- "llama-3.1-8b": "llama-3.1-8b";
1040
- "qwen-2.5-7b": "qwen-2.5-7b";
1041
- "mistral-small-3.1": "mistral-small-3.1";
1042
- "gpt-oss-20b": "gpt-oss-20b";
1043
- "qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
1044
- "qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
1045
- }>;
1004
+ id: z.ZodString;
1046
1005
  size_bytes: z.ZodInt;
1047
1006
  installed: z.ZodBoolean;
1048
1007
  }, z.core.$strict>>;
1049
1008
  running: z.ZodNullable<z.ZodObject<{
1050
- id: z.ZodEnum<{
1051
- "smollm2-135m": "smollm2-135m";
1052
- "llama-3.2-3b": "llama-3.2-3b";
1053
- "phi-4-mini": "phi-4-mini";
1054
- "gemma-3-4b": "gemma-3-4b";
1055
- "llama-3.1-8b": "llama-3.1-8b";
1056
- "qwen-2.5-7b": "qwen-2.5-7b";
1057
- "mistral-small-3.1": "mistral-small-3.1";
1058
- "gpt-oss-20b": "gpt-oss-20b";
1059
- "qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
1060
- "qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
1061
- }>;
1009
+ id: z.ZodString;
1062
1010
  port: z.ZodInt;
1063
1011
  context_length: z.ZodOptional<z.ZodInt>;
1064
1012
  gpu_layers: z.ZodOptional<z.ZodInt>;
1065
1013
  threads: z.ZodOptional<z.ZodInt>;
1066
1014
  }, z.core.$strict>>;
1067
- starting: z.ZodNullable<z.ZodEnum<{
1068
- "smollm2-135m": "smollm2-135m";
1069
- "llama-3.2-3b": "llama-3.2-3b";
1070
- "phi-4-mini": "phi-4-mini";
1071
- "gemma-3-4b": "gemma-3-4b";
1072
- "llama-3.1-8b": "llama-3.1-8b";
1073
- "qwen-2.5-7b": "qwen-2.5-7b";
1074
- "mistral-small-3.1": "mistral-small-3.1";
1075
- "gpt-oss-20b": "gpt-oss-20b";
1076
- "qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
1077
- "qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
1078
- }>>;
1015
+ starting: z.ZodNullable<z.ZodString>;
1079
1016
  install: z.ZodNullable<z.ZodObject<{
1080
1017
  phase: z.ZodEnum<{
1081
1018
  model: "model";
@@ -1094,32 +1031,10 @@ declare const OPS: {
1094
1031
  };
1095
1032
  readonly "models.llm.install": {
1096
1033
  readonly params: z.ZodObject<{
1097
- model: z.ZodEnum<{
1098
- "smollm2-135m": "smollm2-135m";
1099
- "llama-3.2-3b": "llama-3.2-3b";
1100
- "phi-4-mini": "phi-4-mini";
1101
- "gemma-3-4b": "gemma-3-4b";
1102
- "llama-3.1-8b": "llama-3.1-8b";
1103
- "qwen-2.5-7b": "qwen-2.5-7b";
1104
- "mistral-small-3.1": "mistral-small-3.1";
1105
- "gpt-oss-20b": "gpt-oss-20b";
1106
- "qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
1107
- "qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
1108
- }>;
1034
+ model: z.ZodString;
1109
1035
  }, z.core.$strict>;
1110
1036
  readonly result: z.ZodObject<{
1111
- model: z.ZodEnum<{
1112
- "smollm2-135m": "smollm2-135m";
1113
- "llama-3.2-3b": "llama-3.2-3b";
1114
- "phi-4-mini": "phi-4-mini";
1115
- "gemma-3-4b": "gemma-3-4b";
1116
- "llama-3.1-8b": "llama-3.1-8b";
1117
- "qwen-2.5-7b": "qwen-2.5-7b";
1118
- "mistral-small-3.1": "mistral-small-3.1";
1119
- "gpt-oss-20b": "gpt-oss-20b";
1120
- "qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
1121
- "qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
1122
- }>;
1037
+ model: z.ZodString;
1123
1038
  elapsed_ms: z.ZodInt;
1124
1039
  }, z.core.$strict>;
1125
1040
  readonly kind: "unary";
@@ -1128,18 +1043,7 @@ declare const OPS: {
1128
1043
  };
1129
1044
  readonly "models.llm.start": {
1130
1045
  readonly params: z.ZodObject<{
1131
- model: z.ZodEnum<{
1132
- "smollm2-135m": "smollm2-135m";
1133
- "llama-3.2-3b": "llama-3.2-3b";
1134
- "phi-4-mini": "phi-4-mini";
1135
- "gemma-3-4b": "gemma-3-4b";
1136
- "llama-3.1-8b": "llama-3.1-8b";
1137
- "qwen-2.5-7b": "qwen-2.5-7b";
1138
- "mistral-small-3.1": "mistral-small-3.1";
1139
- "gpt-oss-20b": "gpt-oss-20b";
1140
- "qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
1141
- "qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
1142
- }>;
1046
+ model: z.ZodString;
1143
1047
  context_length: z.ZodOptional<z.ZodInt>;
1144
1048
  gpu_layers: z.ZodOptional<z.ZodInt>;
1145
1049
  threads: z.ZodOptional<z.ZodInt>;
@@ -1147,18 +1051,7 @@ declare const OPS: {
1147
1051
  }, z.core.$strict>;
1148
1052
  readonly result: z.ZodObject<{
1149
1053
  running: z.ZodObject<{
1150
- id: z.ZodEnum<{
1151
- "smollm2-135m": "smollm2-135m";
1152
- "llama-3.2-3b": "llama-3.2-3b";
1153
- "phi-4-mini": "phi-4-mini";
1154
- "gemma-3-4b": "gemma-3-4b";
1155
- "llama-3.1-8b": "llama-3.1-8b";
1156
- "qwen-2.5-7b": "qwen-2.5-7b";
1157
- "mistral-small-3.1": "mistral-small-3.1";
1158
- "gpt-oss-20b": "gpt-oss-20b";
1159
- "qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
1160
- "qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
1161
- }>;
1054
+ id: z.ZodString;
1162
1055
  port: z.ZodInt;
1163
1056
  context_length: z.ZodOptional<z.ZodInt>;
1164
1057
  gpu_layers: z.ZodOptional<z.ZodInt>;