trace-mcp 1.20.0 → 1.21.2

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/index.d.ts CHANGED
@@ -1219,19 +1219,19 @@ declare const TraceMcpConfigSchema: z.ZodObject<{
1219
1219
  enabled: z.ZodDefault<z.ZodBoolean>;
1220
1220
  repos: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1221
1221
  auto_detect: z.ZodDefault<z.ZodBoolean>;
1222
- auto_federation: z.ZodDefault<z.ZodBoolean>;
1222
+ auto_discover: z.ZodDefault<z.ZodBoolean>;
1223
1223
  contract_globs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1224
1224
  }, "strip", z.ZodTypeAny, {
1225
1225
  enabled: boolean;
1226
1226
  auto_detect: boolean;
1227
1227
  repos: string[];
1228
- auto_federation: boolean;
1228
+ auto_discover: boolean;
1229
1229
  contract_globs?: string[] | undefined;
1230
1230
  }, {
1231
1231
  enabled?: boolean | undefined;
1232
1232
  auto_detect?: boolean | undefined;
1233
1233
  repos?: string[] | undefined;
1234
- auto_federation?: boolean | undefined;
1234
+ auto_discover?: boolean | undefined;
1235
1235
  contract_globs?: string[] | undefined;
1236
1236
  }>>;
1237
1237
  quality_gates: z.ZodOptional<z.ZodObject<{
@@ -1583,11 +1583,14 @@ declare const TraceMcpConfigSchema: z.ZodObject<{
1583
1583
  instructions_verbosity: z.ZodDefault<z.ZodEnum<["full", "minimal", "none"]>>;
1584
1584
  /** Control which meta fields appear in responses. true = all (default), false = none, or list specific fields to include */
1585
1585
  meta_fields: z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEnum<["_hints", "_budget_warning", "_budget_level", "_duplicate_warning", "_dedup", "_optimization_hint", "_meta", "_duplication_warnings", "_methodology"]>, "many">]>>;
1586
+ /** Strip advanced/optional parameters from tool schemas to reduce token overhead (~40-60% schema size reduction). Only core parameters are exposed; advanced options still work if passed. */
1587
+ compact_schemas: z.ZodDefault<z.ZodBoolean>;
1586
1588
  }, "strip", z.ZodTypeAny, {
1587
1589
  preset: string;
1588
1590
  description_verbosity: "none" | "full" | "minimal";
1589
1591
  instructions_verbosity: "none" | "full" | "minimal";
1590
1592
  meta_fields: boolean | ("_hints" | "_budget_warning" | "_budget_level" | "_duplicate_warning" | "_dedup" | "_optimization_hint" | "_meta" | "_duplication_warnings" | "_methodology")[];
1593
+ compact_schemas: boolean;
1591
1594
  include?: string[] | undefined;
1592
1595
  exclude?: string[] | undefined;
1593
1596
  descriptions?: Record<string, string | Record<string, string>> | undefined;
@@ -1599,6 +1602,7 @@ declare const TraceMcpConfigSchema: z.ZodObject<{
1599
1602
  description_verbosity?: "none" | "full" | "minimal" | undefined;
1600
1603
  instructions_verbosity?: "none" | "full" | "minimal" | undefined;
1601
1604
  meta_fields?: boolean | ("_hints" | "_budget_warning" | "_budget_level" | "_duplicate_warning" | "_dedup" | "_optimization_hint" | "_meta" | "_duplication_warnings" | "_methodology")[] | undefined;
1605
+ compact_schemas?: boolean | undefined;
1602
1606
  }>>;
1603
1607
  watch: z.ZodDefault<z.ZodObject<{
1604
1608
  enabled: z.ZodDefault<z.ZodBoolean>;
@@ -1764,7 +1768,7 @@ declare const TraceMcpConfigSchema: z.ZodObject<{
1764
1768
  enabled: boolean;
1765
1769
  auto_detect: boolean;
1766
1770
  repos: string[];
1767
- auto_federation: boolean;
1771
+ auto_discover: boolean;
1768
1772
  contract_globs?: string[] | undefined;
1769
1773
  } | undefined;
1770
1774
  quality_gates?: {
@@ -1826,6 +1830,7 @@ declare const TraceMcpConfigSchema: z.ZodObject<{
1826
1830
  description_verbosity: "none" | "full" | "minimal";
1827
1831
  instructions_verbosity: "none" | "full" | "minimal";
1828
1832
  meta_fields: boolean | ("_hints" | "_budget_warning" | "_budget_level" | "_duplicate_warning" | "_dedup" | "_optimization_hint" | "_meta" | "_duplication_warnings" | "_methodology")[];
1833
+ compact_schemas: boolean;
1829
1834
  include?: string[] | undefined;
1830
1835
  exclude?: string[] | undefined;
1831
1836
  descriptions?: Record<string, string | Record<string, string>> | undefined;
@@ -1948,7 +1953,7 @@ declare const TraceMcpConfigSchema: z.ZodObject<{
1948
1953
  enabled?: boolean | undefined;
1949
1954
  auto_detect?: boolean | undefined;
1950
1955
  repos?: string[] | undefined;
1951
- auto_federation?: boolean | undefined;
1956
+ auto_discover?: boolean | undefined;
1952
1957
  contract_globs?: string[] | undefined;
1953
1958
  } | undefined;
1954
1959
  quality_gates?: {
@@ -2013,6 +2018,7 @@ declare const TraceMcpConfigSchema: z.ZodObject<{
2013
2018
  description_verbosity?: "none" | "full" | "minimal" | undefined;
2014
2019
  instructions_verbosity?: "none" | "full" | "minimal" | undefined;
2015
2020
  meta_fields?: boolean | ("_hints" | "_budget_warning" | "_budget_level" | "_duplicate_warning" | "_dedup" | "_optimization_hint" | "_meta" | "_duplication_warnings" | "_methodology")[] | undefined;
2021
+ compact_schemas?: boolean | undefined;
2016
2022
  } | undefined;
2017
2023
  watch?: {
2018
2024
  enabled?: boolean | undefined;