@talonic/mcp 0.1.29 → 0.1.31
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/content.js +7 -8
- package/dist/content.js.map +1 -1
- package/dist/http-server.js +6 -9
- package/dist/http-server.js.map +1 -1
- package/dist/index.js +6 -9
- package/dist/index.js.map +1 -1
- package/dist/server.js +6 -9
- package/dist/server.js.map +1 -1
- package/package.json +1 -1
package/dist/content.js
CHANGED
|
@@ -329,7 +329,7 @@ var sections = [
|
|
|
329
329
|
type: "list",
|
|
330
330
|
items: [
|
|
331
331
|
"**Conceptual or fuzzy** (e.g. 'do I have any docs about indemnification?', 'find Acme contracts'): use `talonic_search`.",
|
|
332
|
-
"**Value-based on extracted fields** (e.g. 'invoices over 1000 EUR', 'contracts expiring before 2026-12-31'): use `talonic_filter`. `is_not_empty`
|
|
332
|
+
"**Value-based on extracted fields** (e.g. 'invoices over 1000 EUR', 'contracts expiring before 2026-12-31'): use `talonic_filter`. Use `is_not_empty` for presence checks and `is_empty` for absence checks.",
|
|
333
333
|
"**They reference a specific document_id**: use `talonic_get_document` for metadata, `talonic_to_markdown` (with `document_id`) for text, or `talonic_extract` (with `document_id`) to re-extract with a new schema. Re-using a document_id is cheaper than re-uploading."
|
|
334
334
|
]
|
|
335
335
|
},
|
|
@@ -1611,7 +1611,7 @@ var sections3 = [
|
|
|
1611
1611
|
{
|
|
1612
1612
|
type: "callout",
|
|
1613
1613
|
variant: "warning",
|
|
1614
|
-
text: "
|
|
1614
|
+
text: "Only fields where the search response shows `filterable: true` can be used with `talonic_filter`; entries with `filterable: false` have no extracted data yet. The `is_not_empty` operator checks materialized values, which are updated within seconds of extraction completing."
|
|
1615
1615
|
},
|
|
1616
1616
|
{ type: "heading", level: 3, id: "filter-example", text: "Example" },
|
|
1617
1617
|
{
|
|
@@ -3053,7 +3053,7 @@ var sections6 = [
|
|
|
3053
3053
|
"**Schema definition: prefer full JSON Schema.** The flat key-type map is documented as accepted; if you get a 'no fields' error from the API, fall back to JSON Schema.",
|
|
3054
3054
|
"**Filter requires `filterable: true` fields.** Call `talonic_search` first; only entries in the response where `filterable: true` can be used as `field` (or `field_id`) on `talonic_filter`. Entries with `filterable: false` exist in the schema but have no extracted data yet.",
|
|
3055
3055
|
"**Schema field type affects filter operators.** Numeric operators (`gt`, `gte`, `lt`, `lte`, `between`) only work on fields typed as `number` in the schema. Numeric values stored as strings (with currency symbols, locale formatting, etc.) silently return zero results. Type your schema fields appropriately at design time.",
|
|
3056
|
-
"**`is_not_empty` filter
|
|
3056
|
+
"**`is_not_empty` filter checks materialized data.** Results reflect values within seconds of extraction completing. For batch-mode documents, values are materialized after the batch poll cycle completes.",
|
|
3057
3057
|
"**Drag-and-drop file uploads in Claude.ai are capped by Claude.ai's tool-call argument size limit.** A base64-encoded real PDF (typically hundreds of KB) cannot fit through Claude.ai's connector tool-call pipe, which truncates parameters under ~1KB. The Talonic API receives a few hundred bytes, registers an empty document, and returns a response with `null` extracted fields. This is a Claude.ai platform limit on connectors, not a Talonic MCP server bug. Workaround for Claude.ai users: use `file_url` (publicly reachable URL), `document_id` (file uploaded at app.talonic.com), or use a local-stdio install (`npx -y @talonic/mcp@latest` in Claude Desktop, Cursor, Cline, etc.) which has no parameter cap. The architectural fix is pre-signed upload URLs.",
|
|
3058
3058
|
"**Cost, EUR price, and remaining balance are not surfaced.** The API does not return them yet. Credit balance must be checked in the Talonic dashboard."
|
|
3059
3059
|
]
|
|
@@ -3064,7 +3064,7 @@ var sections6 = [
|
|
|
3064
3064
|
},
|
|
3065
3065
|
{
|
|
3066
3066
|
type: "paragraph",
|
|
3067
|
-
text: "
|
|
3067
|
+
text: "The `is_not_empty` operator is now available and checks the materialized values index, which updates within seconds of extraction completing. For batch-mode documents, materialization occurs after the batch poll cycle applies results."
|
|
3068
3068
|
},
|
|
3069
3069
|
{
|
|
3070
3070
|
type: "heading",
|
|
@@ -3079,8 +3079,7 @@ var sections6 = [
|
|
|
3079
3079
|
code: `// Schema required on talonic_extract
|
|
3080
3080
|
// \u2192 Always pass schema (JSON Schema) or schema_id
|
|
3081
3081
|
|
|
3082
|
-
// is_not_empty
|
|
3083
|
-
// \u2192 Use is_empty and invert client-side, or filter with eq/contains
|
|
3082
|
+
// is_not_empty checks materialized values (updated within seconds of extraction)
|
|
3084
3083
|
|
|
3085
3084
|
// Drag-and-drop stalls on Claude.ai (hosted connector)
|
|
3086
3085
|
// \u2192 Use file_url, document_id, or local stdio install
|
|
@@ -3102,7 +3101,7 @@ var sections6 = [
|
|
|
3102
3101
|
{
|
|
3103
3102
|
type: "callout",
|
|
3104
3103
|
variant: "warning",
|
|
3105
|
-
text: "Do not rely on schema-less extraction
|
|
3104
|
+
text: "Do not rely on schema-less extraction in automated workflows \u2014 it is explicitly disabled in v0.1 and will return a validation error. Always provide a `schema` or `schema_id`."
|
|
3106
3105
|
}
|
|
3107
3106
|
],
|
|
3108
3107
|
related: [
|
|
@@ -3113,7 +3112,7 @@ var sections6 = [
|
|
|
3113
3112
|
faq: [
|
|
3114
3113
|
{
|
|
3115
3114
|
question: "What are the known limitations of Talonic MCP?",
|
|
3116
|
-
answer: "Schema is required on talonic_extract. Filter requires filterable: true fields (use talonic_search first to discover them). Numeric filter operators require schema fields typed as number.
|
|
3115
|
+
answer: "Schema is required on talonic_extract. Filter requires filterable: true fields (use talonic_search first to discover them). Numeric filter operators require schema fields typed as number. Drag-and-drop file uploads in Claude.ai currently stall via the hosted MCP; use file_url or document_id instead, or use the local stdio install. Cost and balance are not surfaced in tool responses yet."
|
|
3117
3116
|
},
|
|
3118
3117
|
{
|
|
3119
3118
|
question: "Will schema-less extraction be supported in the future?",
|