trace-mcp 1.25.0 → 1.26.0
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/README.md +4 -0
- package/dist/cli.js +2021 -1504
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +35 -0
- package/dist/index.js +1048 -942
- package/dist/index.js.map +1 -1
- package/hooks/trace-mcp-launcher.cmd +7 -0
- package/hooks/trace-mcp-launcher.ps1 +162 -0
- package/hooks/trace-mcp-launcher.sh +169 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -827,6 +827,21 @@ declare const TraceMcpConfigSchema: z.ZodObject<{
|
|
|
827
827
|
ai: z.ZodOptional<z.ZodObject<{
|
|
828
828
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
829
829
|
provider: z.ZodDefault<z.ZodEnum<["onnx", "ollama", "openai", "anthropic", "lmstudio", "gemini", "mistral", "deepseek", "groq", "together", "xai"]>>;
|
|
830
|
+
/** Per-capability enable flags. Lets users disable inference while keeping embeddings (or vice versa)
|
|
831
|
+
* without switching provider. Disabled capabilities return fallback services (empty results). */
|
|
832
|
+
features: z.ZodDefault<z.ZodObject<{
|
|
833
|
+
embedding: z.ZodDefault<z.ZodBoolean>;
|
|
834
|
+
inference: z.ZodDefault<z.ZodBoolean>;
|
|
835
|
+
fast_inference: z.ZodDefault<z.ZodBoolean>;
|
|
836
|
+
}, "strip", z.ZodTypeAny, {
|
|
837
|
+
embedding: boolean;
|
|
838
|
+
inference: boolean;
|
|
839
|
+
fast_inference: boolean;
|
|
840
|
+
}, {
|
|
841
|
+
embedding?: boolean | undefined;
|
|
842
|
+
inference?: boolean | undefined;
|
|
843
|
+
fast_inference?: boolean | undefined;
|
|
844
|
+
}>>;
|
|
830
845
|
base_url: z.ZodOptional<z.ZodString>;
|
|
831
846
|
api_key: z.ZodOptional<z.ZodString>;
|
|
832
847
|
inference_model: z.ZodOptional<z.ZodString>;
|
|
@@ -845,6 +860,11 @@ declare const TraceMcpConfigSchema: z.ZodObject<{
|
|
|
845
860
|
}, "strip", z.ZodTypeAny, {
|
|
846
861
|
provider: "onnx" | "ollama" | "openai" | "anthropic" | "lmstudio" | "gemini" | "mistral" | "deepseek" | "groq" | "together" | "xai";
|
|
847
862
|
enabled: boolean;
|
|
863
|
+
features: {
|
|
864
|
+
embedding: boolean;
|
|
865
|
+
inference: boolean;
|
|
866
|
+
fast_inference: boolean;
|
|
867
|
+
};
|
|
848
868
|
summarize_on_index: boolean;
|
|
849
869
|
summarize_batch_size: number;
|
|
850
870
|
summarize_kinds: string[];
|
|
@@ -859,6 +879,11 @@ declare const TraceMcpConfigSchema: z.ZodObject<{
|
|
|
859
879
|
}, {
|
|
860
880
|
provider?: "onnx" | "ollama" | "openai" | "anthropic" | "lmstudio" | "gemini" | "mistral" | "deepseek" | "groq" | "together" | "xai" | undefined;
|
|
861
881
|
enabled?: boolean | undefined;
|
|
882
|
+
features?: {
|
|
883
|
+
embedding?: boolean | undefined;
|
|
884
|
+
inference?: boolean | undefined;
|
|
885
|
+
fast_inference?: boolean | undefined;
|
|
886
|
+
} | undefined;
|
|
862
887
|
base_url?: string | undefined;
|
|
863
888
|
api_key?: string | undefined;
|
|
864
889
|
inference_model?: string | undefined;
|
|
@@ -1717,6 +1742,11 @@ declare const TraceMcpConfigSchema: z.ZodObject<{
|
|
|
1717
1742
|
ai?: {
|
|
1718
1743
|
provider: "onnx" | "ollama" | "openai" | "anthropic" | "lmstudio" | "gemini" | "mistral" | "deepseek" | "groq" | "together" | "xai";
|
|
1719
1744
|
enabled: boolean;
|
|
1745
|
+
features: {
|
|
1746
|
+
embedding: boolean;
|
|
1747
|
+
inference: boolean;
|
|
1748
|
+
fast_inference: boolean;
|
|
1749
|
+
};
|
|
1720
1750
|
summarize_on_index: boolean;
|
|
1721
1751
|
summarize_batch_size: number;
|
|
1722
1752
|
summarize_kinds: string[];
|
|
@@ -1901,6 +1931,11 @@ declare const TraceMcpConfigSchema: z.ZodObject<{
|
|
|
1901
1931
|
ai?: {
|
|
1902
1932
|
provider?: "onnx" | "ollama" | "openai" | "anthropic" | "lmstudio" | "gemini" | "mistral" | "deepseek" | "groq" | "together" | "xai" | undefined;
|
|
1903
1933
|
enabled?: boolean | undefined;
|
|
1934
|
+
features?: {
|
|
1935
|
+
embedding?: boolean | undefined;
|
|
1936
|
+
inference?: boolean | undefined;
|
|
1937
|
+
fast_inference?: boolean | undefined;
|
|
1938
|
+
} | undefined;
|
|
1904
1939
|
base_url?: string | undefined;
|
|
1905
1940
|
api_key?: string | undefined;
|
|
1906
1941
|
inference_model?: string | undefined;
|