@ai-matrx/desktop-protocol 0.21.42 → 0.21.44

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,48 +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;
1011
+ context_length: z.ZodOptional<z.ZodInt>;
1012
+ gpu_layers: z.ZodOptional<z.ZodInt>;
1013
+ threads: z.ZodOptional<z.ZodInt>;
1063
1014
  }, z.core.$strict>>;
1064
- starting: z.ZodNullable<z.ZodEnum<{
1065
- "smollm2-135m": "smollm2-135m";
1066
- "llama-3.2-3b": "llama-3.2-3b";
1067
- "phi-4-mini": "phi-4-mini";
1068
- "gemma-3-4b": "gemma-3-4b";
1069
- "llama-3.1-8b": "llama-3.1-8b";
1070
- "qwen-2.5-7b": "qwen-2.5-7b";
1071
- "mistral-small-3.1": "mistral-small-3.1";
1072
- "gpt-oss-20b": "gpt-oss-20b";
1073
- "qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
1074
- "qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
1075
- }>>;
1015
+ starting: z.ZodNullable<z.ZodString>;
1076
1016
  install: z.ZodNullable<z.ZodObject<{
1077
1017
  phase: z.ZodEnum<{
1078
1018
  model: "model";
@@ -1091,32 +1031,10 @@ declare const OPS: {
1091
1031
  };
1092
1032
  readonly "models.llm.install": {
1093
1033
  readonly params: z.ZodObject<{
1094
- model: z.ZodEnum<{
1095
- "smollm2-135m": "smollm2-135m";
1096
- "llama-3.2-3b": "llama-3.2-3b";
1097
- "phi-4-mini": "phi-4-mini";
1098
- "gemma-3-4b": "gemma-3-4b";
1099
- "llama-3.1-8b": "llama-3.1-8b";
1100
- "qwen-2.5-7b": "qwen-2.5-7b";
1101
- "mistral-small-3.1": "mistral-small-3.1";
1102
- "gpt-oss-20b": "gpt-oss-20b";
1103
- "qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
1104
- "qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
1105
- }>;
1034
+ model: z.ZodString;
1106
1035
  }, z.core.$strict>;
1107
1036
  readonly result: z.ZodObject<{
1108
- model: z.ZodEnum<{
1109
- "smollm2-135m": "smollm2-135m";
1110
- "llama-3.2-3b": "llama-3.2-3b";
1111
- "phi-4-mini": "phi-4-mini";
1112
- "gemma-3-4b": "gemma-3-4b";
1113
- "llama-3.1-8b": "llama-3.1-8b";
1114
- "qwen-2.5-7b": "qwen-2.5-7b";
1115
- "mistral-small-3.1": "mistral-small-3.1";
1116
- "gpt-oss-20b": "gpt-oss-20b";
1117
- "qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
1118
- "qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
1119
- }>;
1037
+ model: z.ZodString;
1120
1038
  elapsed_ms: z.ZodInt;
1121
1039
  }, z.core.$strict>;
1122
1040
  readonly kind: "unary";
@@ -1125,35 +1043,19 @@ declare const OPS: {
1125
1043
  };
1126
1044
  readonly "models.llm.start": {
1127
1045
  readonly params: z.ZodObject<{
1128
- model: z.ZodEnum<{
1129
- "smollm2-135m": "smollm2-135m";
1130
- "llama-3.2-3b": "llama-3.2-3b";
1131
- "phi-4-mini": "phi-4-mini";
1132
- "gemma-3-4b": "gemma-3-4b";
1133
- "llama-3.1-8b": "llama-3.1-8b";
1134
- "qwen-2.5-7b": "qwen-2.5-7b";
1135
- "mistral-small-3.1": "mistral-small-3.1";
1136
- "gpt-oss-20b": "gpt-oss-20b";
1137
- "qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
1138
- "qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
1139
- }>;
1046
+ model: z.ZodString;
1140
1047
  context_length: z.ZodOptional<z.ZodInt>;
1048
+ gpu_layers: z.ZodOptional<z.ZodInt>;
1049
+ threads: z.ZodOptional<z.ZodInt>;
1050
+ load_timeout_s: z.ZodOptional<z.ZodInt>;
1141
1051
  }, z.core.$strict>;
1142
1052
  readonly result: z.ZodObject<{
1143
1053
  running: z.ZodObject<{
1144
- id: z.ZodEnum<{
1145
- "smollm2-135m": "smollm2-135m";
1146
- "llama-3.2-3b": "llama-3.2-3b";
1147
- "phi-4-mini": "phi-4-mini";
1148
- "gemma-3-4b": "gemma-3-4b";
1149
- "llama-3.1-8b": "llama-3.1-8b";
1150
- "qwen-2.5-7b": "qwen-2.5-7b";
1151
- "mistral-small-3.1": "mistral-small-3.1";
1152
- "gpt-oss-20b": "gpt-oss-20b";
1153
- "qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
1154
- "qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
1155
- }>;
1054
+ id: z.ZodString;
1156
1055
  port: z.ZodInt;
1056
+ context_length: z.ZodOptional<z.ZodInt>;
1057
+ gpu_layers: z.ZodOptional<z.ZodInt>;
1058
+ threads: z.ZodOptional<z.ZodInt>;
1157
1059
  }, z.core.$strict>;
1158
1060
  elapsed_ms: z.ZodInt;
1159
1061
  }, z.core.$strict>;
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,48 +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;
1011
+ context_length: z.ZodOptional<z.ZodInt>;
1012
+ gpu_layers: z.ZodOptional<z.ZodInt>;
1013
+ threads: z.ZodOptional<z.ZodInt>;
1063
1014
  }, z.core.$strict>>;
1064
- starting: z.ZodNullable<z.ZodEnum<{
1065
- "smollm2-135m": "smollm2-135m";
1066
- "llama-3.2-3b": "llama-3.2-3b";
1067
- "phi-4-mini": "phi-4-mini";
1068
- "gemma-3-4b": "gemma-3-4b";
1069
- "llama-3.1-8b": "llama-3.1-8b";
1070
- "qwen-2.5-7b": "qwen-2.5-7b";
1071
- "mistral-small-3.1": "mistral-small-3.1";
1072
- "gpt-oss-20b": "gpt-oss-20b";
1073
- "qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
1074
- "qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
1075
- }>>;
1015
+ starting: z.ZodNullable<z.ZodString>;
1076
1016
  install: z.ZodNullable<z.ZodObject<{
1077
1017
  phase: z.ZodEnum<{
1078
1018
  model: "model";
@@ -1091,32 +1031,10 @@ declare const OPS: {
1091
1031
  };
1092
1032
  readonly "models.llm.install": {
1093
1033
  readonly params: z.ZodObject<{
1094
- model: z.ZodEnum<{
1095
- "smollm2-135m": "smollm2-135m";
1096
- "llama-3.2-3b": "llama-3.2-3b";
1097
- "phi-4-mini": "phi-4-mini";
1098
- "gemma-3-4b": "gemma-3-4b";
1099
- "llama-3.1-8b": "llama-3.1-8b";
1100
- "qwen-2.5-7b": "qwen-2.5-7b";
1101
- "mistral-small-3.1": "mistral-small-3.1";
1102
- "gpt-oss-20b": "gpt-oss-20b";
1103
- "qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
1104
- "qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
1105
- }>;
1034
+ model: z.ZodString;
1106
1035
  }, z.core.$strict>;
1107
1036
  readonly result: z.ZodObject<{
1108
- model: z.ZodEnum<{
1109
- "smollm2-135m": "smollm2-135m";
1110
- "llama-3.2-3b": "llama-3.2-3b";
1111
- "phi-4-mini": "phi-4-mini";
1112
- "gemma-3-4b": "gemma-3-4b";
1113
- "llama-3.1-8b": "llama-3.1-8b";
1114
- "qwen-2.5-7b": "qwen-2.5-7b";
1115
- "mistral-small-3.1": "mistral-small-3.1";
1116
- "gpt-oss-20b": "gpt-oss-20b";
1117
- "qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
1118
- "qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
1119
- }>;
1037
+ model: z.ZodString;
1120
1038
  elapsed_ms: z.ZodInt;
1121
1039
  }, z.core.$strict>;
1122
1040
  readonly kind: "unary";
@@ -1125,35 +1043,19 @@ declare const OPS: {
1125
1043
  };
1126
1044
  readonly "models.llm.start": {
1127
1045
  readonly params: z.ZodObject<{
1128
- model: z.ZodEnum<{
1129
- "smollm2-135m": "smollm2-135m";
1130
- "llama-3.2-3b": "llama-3.2-3b";
1131
- "phi-4-mini": "phi-4-mini";
1132
- "gemma-3-4b": "gemma-3-4b";
1133
- "llama-3.1-8b": "llama-3.1-8b";
1134
- "qwen-2.5-7b": "qwen-2.5-7b";
1135
- "mistral-small-3.1": "mistral-small-3.1";
1136
- "gpt-oss-20b": "gpt-oss-20b";
1137
- "qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
1138
- "qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
1139
- }>;
1046
+ model: z.ZodString;
1140
1047
  context_length: z.ZodOptional<z.ZodInt>;
1048
+ gpu_layers: z.ZodOptional<z.ZodInt>;
1049
+ threads: z.ZodOptional<z.ZodInt>;
1050
+ load_timeout_s: z.ZodOptional<z.ZodInt>;
1141
1051
  }, z.core.$strict>;
1142
1052
  readonly result: z.ZodObject<{
1143
1053
  running: z.ZodObject<{
1144
- id: z.ZodEnum<{
1145
- "smollm2-135m": "smollm2-135m";
1146
- "llama-3.2-3b": "llama-3.2-3b";
1147
- "phi-4-mini": "phi-4-mini";
1148
- "gemma-3-4b": "gemma-3-4b";
1149
- "llama-3.1-8b": "llama-3.1-8b";
1150
- "qwen-2.5-7b": "qwen-2.5-7b";
1151
- "mistral-small-3.1": "mistral-small-3.1";
1152
- "gpt-oss-20b": "gpt-oss-20b";
1153
- "qwen-2.5-coder-7b": "qwen-2.5-coder-7b";
1154
- "qwen-2.5-coder-14b": "qwen-2.5-coder-14b";
1155
- }>;
1054
+ id: z.ZodString;
1156
1055
  port: z.ZodInt;
1056
+ context_length: z.ZodOptional<z.ZodInt>;
1057
+ gpu_layers: z.ZodOptional<z.ZodInt>;
1058
+ threads: z.ZodOptional<z.ZodInt>;
1157
1059
  }, z.core.$strict>;
1158
1060
  elapsed_ms: z.ZodInt;
1159
1061
  }, z.core.$strict>;