@talonic/mcp 0.1.48 → 0.1.49
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/http-server.js +20 -9
- package/dist/http-server.js.map +1 -1
- package/dist/index.js +20 -9
- package/dist/index.js.map +1 -1
- package/dist/server.js +20 -9
- package/dist/server.js.map +1 -1
- package/package.json +1 -1
package/dist/server.js
CHANGED
|
@@ -775,18 +775,22 @@ var outputSchema4 = {
|
|
|
775
775
|
language_detected: z.string().nullable().optional(),
|
|
776
776
|
status: z.string().optional(),
|
|
777
777
|
source: z.object({
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
778
|
+
// Pre-extraction documents (e.g. fresh browser-handoff uploads) return
|
|
779
|
+
// null for these until the source linkage is set during ingest. Accept
|
|
780
|
+
// null so output validation does not block agents polling for status.
|
|
781
|
+
id: z.string().nullable().optional(),
|
|
782
|
+
type: z.string().nullable().optional()
|
|
783
|
+
}).nullable().optional(),
|
|
781
784
|
triage: z.object({
|
|
782
|
-
|
|
783
|
-
|
|
785
|
+
// Triage fields are populated during ingest; null is normal before that.
|
|
786
|
+
sensitivity: z.string().nullable().optional(),
|
|
787
|
+
department: z.string().nullable().optional(),
|
|
784
788
|
jurisdiction: z.string().nullable().optional(),
|
|
785
|
-
pii_detected: z.boolean().optional(),
|
|
789
|
+
pii_detected: z.boolean().nullable().optional(),
|
|
786
790
|
pii_categories: z.array(z.string()).nullable().optional(),
|
|
787
|
-
regulated_data: z.boolean().optional(),
|
|
791
|
+
regulated_data: z.boolean().nullable().optional(),
|
|
788
792
|
confidentiality_marking: z.string().nullable().optional()
|
|
789
|
-
}).optional(),
|
|
793
|
+
}).nullable().optional(),
|
|
790
794
|
original_path: z.string().nullable().optional(),
|
|
791
795
|
extraction_count: z.number().optional(),
|
|
792
796
|
latest_extraction_id: z.string().nullable().optional(),
|
|
@@ -1093,6 +1097,13 @@ var DESCRIPTION8 = [
|
|
|
1093
1097
|
"schema-specific extraction). Then call talonic_extract with the document_id",
|
|
1094
1098
|
"and a schema or schema_id.",
|
|
1095
1099
|
"",
|
|
1100
|
+
"IMPORTANT: a user message like 'uploaded', 'done', or 'I dropped it' only",
|
|
1101
|
+
"confirms the browser-side upload finished. It is NOT a signal that server-side",
|
|
1102
|
+
"processing is complete. The document still needs OCR and exhaustive extraction",
|
|
1103
|
+
"(typically 10-30 s after the browser upload). You MUST poll talonic_get_document",
|
|
1104
|
+
"yourself until status is 'completed' regardless of what the user says. Calling",
|
|
1105
|
+
"talonic_extract before status is 'completed' may return errors.",
|
|
1106
|
+
"",
|
|
1096
1107
|
"USE WHEN:",
|
|
1097
1108
|
"- The user has a file to extract but you cannot send it via tool-call arguments",
|
|
1098
1109
|
" (e.g., file is larger than ~32KB, or the environment blocks outbound data).",
|
|
@@ -1287,7 +1298,7 @@ function registerToMarkdown(server, getTalonic) {
|
|
|
1287
1298
|
|
|
1288
1299
|
// package.json
|
|
1289
1300
|
var package_default = {
|
|
1290
|
-
version: "0.1.
|
|
1301
|
+
version: "0.1.49"};
|
|
1291
1302
|
|
|
1292
1303
|
// src/version.ts
|
|
1293
1304
|
var VERSION = package_default.version;
|