@talonic/mcp 0.1.50 → 0.1.52

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.
@@ -844,9 +844,13 @@ var DESCRIPTION5 = [
844
844
  "STATUS: stable.",
845
845
  "",
846
846
  "List all saved schemas in the user's Talonic workspace.",
847
- "Returns each schema with its id (UUID), short_id (SCH-XXXXXXXX), name, description,",
848
- "version, field count, and full JSON Schema definition. Either id form is accepted by",
849
- "talonic_extract's `schema_id` parameter.",
847
+ "Returns a COMPACT SUMMARY of each schema: id (UUID), short_id (SCH-XXXXXXXX), name,",
848
+ "description, version, and field_count. Either id form is accepted by talonic_extract's",
849
+ "`schema_id` parameter, so you can extract with a saved schema straight from this list.",
850
+ "",
851
+ "The full JSON Schema definition for each field is intentionally NOT included here \u2014 for",
852
+ "many schemas that payload is large and gets truncated by some clients. To inspect a",
853
+ "schema's full field definitions, read the `talonic://schemas` resource.",
850
854
  "",
851
855
  "USE WHEN:",
852
856
  "- The user asks what schemas they have, or asks to see existing schemas.",
@@ -886,10 +890,18 @@ var outputSchema5 = {
886
890
  next_cursor: z.string().nullable().optional()
887
891
  }).optional().describe("Cursor-based pagination metadata.")
888
892
  };
893
+ var LIST_ITEM_OMIT = /* @__PURE__ */ new Set(["definition", "links"]);
889
894
  async function handleListSchemas(talonic) {
890
895
  try {
891
896
  const result = await talonic.schemas.list();
892
- return jsonOk(result);
897
+ const data = Array.isArray(result?.data) ? result.data.map((schema) => {
898
+ const summary = {};
899
+ for (const [key, value] of Object.entries(schema)) {
900
+ if (!LIST_ITEM_OMIT.has(key)) summary[key] = value;
901
+ }
902
+ return summary;
903
+ }) : result?.data;
904
+ return jsonOk({ ...result, data });
893
905
  } catch (err) {
894
906
  return toolError(err);
895
907
  }
@@ -1302,7 +1314,7 @@ function registerToMarkdown(server, getTalonic) {
1302
1314
 
1303
1315
  // package.json
1304
1316
  var package_default = {
1305
- version: "0.1.50"};
1317
+ version: "0.1.52"};
1306
1318
 
1307
1319
  // src/version.ts
1308
1320
  var VERSION = package_default.version;