@talonic/mcp 0.1.62 → 0.1.63

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.
@@ -1188,9 +1188,13 @@ var inputSchema4 = {
1188
1188
  };
1189
1189
  var outputSchema4 = {
1190
1190
  id: z.string(),
1191
- filename: z.string().optional(),
1192
- pages: z.number().optional(),
1193
- size_bytes: z.number().optional(),
1191
+ // Freshly-uploaded / pre-extraction documents (browser-handoff polling) return
1192
+ // null for these until OCR/ingest computes them. They MUST accept null, or the
1193
+ // SDK's outputSchema validation rejects the response with -32602 and the agent
1194
+ // cannot poll talonic_get_document after talonic_request_upload.
1195
+ filename: z.string().nullable().optional(),
1196
+ pages: z.number().nullable().optional(),
1197
+ size_bytes: z.number().nullable().optional(),
1194
1198
  mime_type: z.string().nullable().optional(),
1195
1199
  type_detected: z.string().nullable().optional(),
1196
1200
  language_detected: z.string().nullable().optional(),
@@ -1213,7 +1217,7 @@ var outputSchema4 = {
1213
1217
  confidentiality_marking: z.string().nullable().optional()
1214
1218
  }).nullable().optional(),
1215
1219
  original_path: z.string().nullable().optional(),
1216
- extraction_count: z.number().optional(),
1220
+ extraction_count: z.number().nullable().optional(),
1217
1221
  latest_extraction_id: z.string().nullable().optional(),
1218
1222
  processing_log: z.array(
1219
1223
  z.object({
@@ -1759,7 +1763,7 @@ function registerToMarkdown(server, getTalonic) {
1759
1763
 
1760
1764
  // package.json
1761
1765
  var package_default = {
1762
- version: "0.1.62"};
1766
+ version: "0.1.63"};
1763
1767
 
1764
1768
  // src/version.ts
1765
1769
  var VERSION = package_default.version;