@talonic/mcp 0.1.52 → 0.1.54

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 CHANGED
@@ -297,7 +297,7 @@ var sections = [
297
297
  },
298
298
  {
299
299
  type: "paragraph",
300
- text: "The eight tools are designed for distinct use cases with minimal overlap. **`talonic_extract`** is for structured field extraction with a schema, **`talonic_to_markdown`** is for full-text conversion, **`talonic_search`** handles fuzzy discovery, **`talonic_filter`** handles precise field-value queries, **`talonic_get_document`** returns metadata, the schema tools (**`talonic_list_schemas`**, **`talonic_save_schema`**) manage reusable extraction templates, and **`talonic_get_balance`** lets the agent check the workspace credit balance before kicking off large batches."
300
+ text: "The nine tools are designed for distinct use cases with minimal overlap. **`talonic_extract`** is for structured field extraction with a schema, **`talonic_request_upload`** hands the user a browser link for files too large to pass through a hosted connector (Claude.ai), **`talonic_to_markdown`** is for full-text conversion, **`talonic_search`** handles fuzzy discovery, **`talonic_filter`** handles precise field-value queries, **`talonic_get_document`** returns metadata, the schema tools (**`talonic_list_schemas`**, **`talonic_save_schema`**) manage reusable extraction templates, and **`talonic_get_balance`** lets the agent check the workspace credit balance before kicking off large batches."
301
301
  },
302
302
  {
303
303
  type: "paragraph",
@@ -574,7 +574,7 @@ var sections2 = [
574
574
  "Click **Connect**. You are redirected to Talonic to sign in.",
575
575
  "Sign in with Google, Microsoft, or your company SSO.",
576
576
  "Approve the consent screen. The requested scopes are `extract:write`, `documents:read`, and `schemas:read`. Pick a workspace if you have multiple.",
577
- "You are returned to Claude.ai with the connector live. All eight tools are available in any new conversation."
577
+ "You are returned to Claude.ai with the connector live. All nine tools are available in any new conversation."
578
578
  ]
579
579
  },
580
580
  {
@@ -626,7 +626,7 @@ var sections2 = [
626
626
  },
627
627
  {
628
628
  type: "paragraph",
629
- text: "All three install paths expose the same eight tools and two resources. The hosted server runs the latest version of `@talonic/mcp` automatically; the local `npx` install picks up the latest version on next client restart when pinned to `@latest`."
629
+ text: "All three install paths expose the same nine tools and two resources. The hosted server runs the latest version of `@talonic/mcp` automatically; the local `npx` install picks up the latest version on next client restart when pinned to `@latest`."
630
630
  },
631
631
  {
632
632
  type: "heading",
@@ -636,7 +636,7 @@ var sections2 = [
636
636
  },
637
637
  {
638
638
  type: "paragraph",
639
- text: "After adding the config and restarting your MCP client, verify the connection by asking the agent to list your schemas. This is a lightweight read-only call that confirms the API key is valid and the server is reachable. If the call succeeds, all eight tools are ready to use."
639
+ text: "After adding the config and restarting your MCP client, verify the connection by asking the agent to list your schemas. This is a lightweight read-only call that confirms the API key is valid and the server is reachable. If the call succeeds, all nine tools are ready to use."
640
640
  },
641
641
  {
642
642
  type: "code",
@@ -721,7 +721,7 @@ var sections2 = [
721
721
  { type: "code", language: "json", code: MCP_CONFIG_SNIPPET },
722
722
  {
723
723
  type: "paragraph",
724
- text: "Fully restart Claude Desktop (Cmd+Q on macOS, not just close the window). Talonic appears in the connected servers list with all eight tools."
724
+ text: "Fully restart Claude Desktop (Cmd+Q on macOS, not just close the window). Talonic appears in the connected servers list with all nine tools."
725
725
  },
726
726
  {
727
727
  type: "paragraph",
@@ -1028,7 +1028,7 @@ var sections2 = [
1028
1028
  },
1029
1029
  {
1030
1030
  type: "paragraph",
1031
- text: "After saving the config, reload your IDE window to pick up the changes. Continue discovers Talonic's eight tools and two resources automatically. You can verify the connection by asking the agent to call `talonic_list_schemas` \u2014 it should return your saved schemas or an empty list."
1031
+ text: "After saving the config, reload your IDE window to pick up the changes. Continue discovers Talonic's nine tools and two resources automatically. You can verify the connection by asking the agent to call `talonic_list_schemas` \u2014 it should return your saved schemas or an empty list."
1032
1032
  },
1033
1033
  {
1034
1034
  type: "paragraph",
@@ -1111,7 +1111,7 @@ var sections2 = [
1111
1111
  { type: "code", language: "json", code: MCP_CONFIG_SNIPPET },
1112
1112
  {
1113
1113
  type: "paragraph",
1114
- text: "Cowork is a chat-style MCP client that supports drag-and-drop file uploads and resource browsing. After adding the Talonic config, the eight tools appear in the tool picker and the `talonic://schemas` and `talonic://webhooks/reference` resources are browseable in the resources panel."
1114
+ text: "Cowork is a chat-style MCP client that supports drag-and-drop file uploads and resource browsing. After adding the Talonic config, the nine tools appear in the tool picker and the `talonic://schemas` and `talonic://webhooks/reference` resources are browseable in the resources panel."
1115
1115
  },
1116
1116
  {
1117
1117
  type: "paragraph",
@@ -2602,7 +2602,7 @@ Payment terms: Net 30`
2602
2602
  title: "Tool response",
2603
2603
  code: `{
2604
2604
  "document_id": "doc_8f3a2b9c-1d4e-5f6a-7b8c-9d0e1f2a3b4c",
2605
- "upload_url": "https://app.talonic.com/upload/u_3f9d2a1c8b7e6f5d4c3b2a1f0e9d8c7b",
2605
+ "upload_url": "https://app.talonic.com/u/069b8d9a-b05d-41df-8047-129af7c7aad5",
2606
2606
  "expires_at": "2026-05-28T20:35:00.000Z"
2607
2607
  }`
2608
2608
  },
@@ -2635,12 +2635,12 @@ Payment terms: Net 30`
2635
2635
  // talonic_request_upload({ filename: "rental-agreement.pdf" })
2636
2636
  {
2637
2637
  "document_id": "doc_1a2b3c4d-...",
2638
- "upload_url": "https://app.talonic.com/upload/u_abc123...",
2638
+ "upload_url": "https://app.talonic.com/u/069b8d9a-...",
2639
2639
  "expires_at": "2026-05-28T20:35:00.000Z"
2640
2640
  }
2641
2641
 
2642
2642
  // 2. Agent: "Open this link in a new tab and drop your file:
2643
- // https://app.talonic.com/upload/u_abc123...
2643
+ // https://app.talonic.com/u/069b8d9a-...
2644
2644
  // I'll let you know once Talonic is done processing."
2645
2645
 
2646
2646
  // 3. After user drops the file, agent polls:
@@ -2783,7 +2783,7 @@ var sections4 = [
2783
2783
  },
2784
2784
  {
2785
2785
  type: "paragraph",
2786
- text: "For large files (over 10 MB), the base64 encoding increases the payload size by approximately 33%. Most MCP clients handle this transparently, but some hosted connectors (notably Claude.ai's web connector) have payload size limits that can truncate the encoded data. If you encounter issues with large files in a hosted connector, use `file_url` with a publicly reachable URL or upload the document through the Talonic dashboard and reference it by `document_id` instead."
2786
+ text: "This `file_data` path works without limit in local-stdio installs (Claude Desktop, Cursor, Cline, Continue, Cowork). It does **not** work in the **Claude.ai hosted connector**, which caps tool-call arguments at ~32 KB decoded (~43 KB base64, measured against production) \u2014 a real PDF is silently truncated. In hosted connectors, use **`talonic_request_upload`**: it returns a browser link (`https://app.talonic.com/u/<token>`) the user opens to drop the file, after which the agent polls `talonic_get_document` until `status` is `completed` and then calls `talonic_extract` by `document_id`. `file_url` (a publicly reachable URL) and a pre-uploaded `document_id` also work."
2787
2787
  },
2788
2788
  {
2789
2789
  type: "callout",
@@ -3273,7 +3273,7 @@ var sections6 = [
3273
3273
  "**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.",
3274
3274
  "**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.",
3275
3275
  "**`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.",
3276
- "**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.",
3276
+ "**Dragging a file directly into a Claude.ai chat does not work through the hosted connector** \u2014 use `talonic_request_upload` instead. A base64-encoded real PDF exceeds Claude.ai's tool-call argument cap (~32 KB decoded / ~43 KB base64, measured against production), so `file_data` is silently truncated and the API returns `null` fields. This is a structural platform limit, not a Talonic bug. The supported path is the browser-handoff flow: `talonic_request_upload` returns an `app.talonic.com/u/<token>` link the user opens to drop the file; poll `talonic_get_document` until `status` is `completed`, then `talonic_extract` by `document_id`. Alternatives: `file_url` or a pre-uploaded `document_id`. Local-stdio installs (Claude Desktop, Cursor, Cline, Continue, Cowork) have no cap and use `file_data` directly.",
3277
3277
  "**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."
3278
3278
  ]
3279
3279
  },