@talonic/mcp 0.1.106 → 0.1.107
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/CHANGELOG.md +20 -0
- package/README.md +10 -0
- package/dist/content.js +9395 -6
- package/dist/content.js.map +1 -1
- package/dist/http-server.js +8307 -2535
- package/dist/http-server.js.map +1 -1
- package/dist/index.d.ts +100 -0
- package/dist/index.js +7284 -1641
- package/dist/index.js.map +1 -1
- package/dist/server.js +8311 -2513
- package/dist/server.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
9
9
|
|
|
10
10
|
> Write each change here. When a push to `main` publishes, the workflow bumps the version and promotes this block to `## [<version>] - <date>` itself (`scripts/promote-changelog.mjs`); the changelog lock requires a heading for the package version.
|
|
11
11
|
|
|
12
|
+
## [0.1.107] - 2026-11-26
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
|
|
16
|
+
- **Author Specs.** Six `talonic_spec_*` tools over the new `/v1/specs` authoring routes: `talonic_spec_create` (from a document, a Spec JSON export or a schema), `talonic_spec_edit` (read, replace under its revision, rename), `talonic_spec_check`, `talonic_spec_test` (a preview run on samples that is never delivered), `talonic_spec_publish` and `talonic_spec_rollback` (with a `preview` diff). Publish and rollback carry `destructiveHint`. Listed only when the platform serves `GET /v1/specs/authoring` to the credential; the platform checks `specs:*` scopes and the person's Spec editor permissions on every call.
|
|
17
|
+
- **Connect and work with sources.** Nine integrations tools over the platform's `/v1/integrations` and `/v1/sources` routes: `talonic_integrations_connectors`, `talonic_integrations_connect` (a browser handoff: returns the `authorize_url` the person opens while signed in to Talonic, with the authorization id and expiry), `talonic_integrations_connect_status`, `talonic_sources_connections`, `talonic_sources_browse`, `talonic_sources_import`, `talonic_sources_imports`, `talonic_sources_sync_now` and `talonic_sources_sync_settings` (read, or change the interval and scope). Listed only where the platform serves `GET /v1/integrations/connectors` to the credential. The hosted connector now requests `sources:read`, `sources:write` and `documents:write`. No tool takes credentials or mints an ingest key: secrets and keys never pass through an agent conversation.
|
|
18
|
+
- **Workspace operations: Spec runs, ingest, document organising, collections, saved filters, document types.** Sixty probe-gated tools in seven families, each family listed only when a read of it answers for the connection. `talonic_pipeline_*` (add documents to a Spec run, start, retry failures, rebuild the review queue, field states, value history, assembled groups and their base document, business-rule holds and a one-run override, reconciliation cases and their export), `talonic_ingest_*` (processing queue, duplicate files, skipped duplicates and processing one anyway, optional ingest steps), `talonic_documents_*` (tags on one or up to 1000 documents, facets, batch ids from rows or CSV text, the readable-name rule: draft, try, save, coverage, apply to all), `talonic_collections_*` (collections, rules, hand-added documents, assignments), `talonic_saved_filters_*` and `talonic_document_types_*` (types and the proposals waiting for a decision). Deletes, removals, tag replacement, the readable-name rule and its backfill, review-queue rebuild and assembly rerun carry `destructiveHint`. The hosted server now also advertises `runs:read`, `runs:write`, `reviews:write`, `documents:write`, `workspace:read` and `workspace:write`.
|
|
19
|
+
- **Workspace administration.** Thirty probe-gated tools in three groups. `talonic_team_*` (12, listed when the caller may manage the team): members, people waiting to join (approve, decline), invitations, a member's current access, custom roles, groups, and access changes in two steps (`talonic_team_propose_access_change` shows the before and after and changes nothing; `talonic_team_confirm_access_change`, marked destructive, makes it), plus recent access activity. `talonic_records_*` (12, listed when the caller holds the data permission): retention policies, documents waiting for a disposition decision, legal holds (place, add documents), the audit log and its verification, erasure requests (open and read; nothing is erased) and storage usage. `talonic_workspace_*` (6, any member): billing snapshot, the buy-credits and payment-portal links for a person to open, a support ticket with its reference, and the scheduled workspace deletion (read, cancel). Releasing holds, approving dispositions, approving or executing erasure, workspace exports, scheduling deletion, direct role edits and member removal stay in the web app.
|
|
20
|
+
- **App workflow tools** (`src/tools/app-workflows.ts`), listed per app only where its probe answers 200: Receivables (`talonic_ar_*`: cockpit, cash-application and bill-ready previews, the apply tools that record them, TMW mapping), Spend Audit (`talonic_spend_audit_*`: the audit, options, assumptions, to-dos, publish / read / revoke the share link), business objects (`talonic_objects_recent`, `talonic_objects_by_type`, `talonic_object_get`, `talonic_object_record_decision`), Payables Desk (`talonic_payables_desk_*`), workbook capture (`talonic_workbook_*`), record-set grid pages and cell provenance, and the missing parts of Accounts Payable, Compliance, Money Found, Price Baseline, Contract Check and Chart Extraction. Previews are read-only tools of their own; recording, saving and publishing are separate write tools.
|
|
21
|
+
- **Build and inspect a process in full.** Sixteen more `talonic_process_*` tools over further `/v1/processes` routes: `talonic_process_details` (rename, folder, tags), `talonic_process_export`, `talonic_process_resources`, `talonic_process_extract_pipeline`, `talonic_process_try`, `talonic_process_form_preview`, `talonic_process_examples` (list, keep, remove), `talonic_process_evaluate`, `talonic_process_scripts`, `talonic_process_script_draft`, `talonic_process_script_test`, `talonic_process_script_approve`, `talonic_process_sign_off`, `talonic_process_retry_item`, `talonic_process_group` (create, change, members, delete), `talonic_process_build_lookup_data`. Script approval and groups carry `destructiveHint`. The hosted connector now also requests `processes:read` and `processes:write`, the scopes the newer process routes take.
|
|
22
|
+
- **Data product tools.** Fourteen probe-gated `talonic_data_product_*` tools: replace a shared data product's definition (409 `revision_conflict` when it changed since you read it), list, add and remove the runs a product reads, list the fields where runs disagree per document, get a suggested value per disagreeing field with confidence and a short reason (writes nothing), decide one field or every field only one run filled, issue and re-issue row IDs, and read or set sequence counters. Adding or removing runs, issuing IDs and setting counters need an Admin of the workspace. Listed only when `GET /v1/data-products` answers for the credential.
|
|
23
|
+
- **Data policy tools.** Four probe-gated `talonic_data_policy_*` tools: check, preview on one record set, publish (409 `revision_conflict`, 400 `POLICY_SCRIPT_SYNTAX_ERROR`) and run a policy on a completed structuring run. All need an Admin of the workspace. Listed only when `GET /v1/data-policies` answers for the credential.
|
|
24
|
+
- **Workspace data catalog and suggestions.** Nine probe-gated tools: `talonic_catalog_list`, `talonic_catalog_get` and `talonic_catalog_rows` (rows with their source documents, filtered by `where`, with a `withheld` count), and `talonic_suggestion_*` to list and answer questions about the workspace's data and to decide suggested field mappings and matches between tables. Listed only when `GET /v1/catalog` answers for the credential.
|
|
25
|
+
- **Schema review and link keys.** Probe-gated `talonic_schema_review_queue`, `talonic_schema_review_approve`, `talonic_schema_review_reject` (the decision records who and when) and `talonic_link_key_set` (needs an Admin of the workspace; turning a key on links existing documents in the background). Listed only when `GET /v1/schema-graph/review-queue` answers for the credential.
|
|
26
|
+
- **OAuth scopes for these tools.** The hosted server also advertises `products:read`, `products:write`, `specs:read`, `specs:write`, `runs:write`, `records:read`, `records:write`, `reviews:read` and `reviews:write`; the platform's OAuth scope list must contain them before a release that advertises them.
|
|
27
|
+
- **Review and cases tools (listed only where the credential reaches them).** Twenty `talonic_review_*` tools: list, claim a batch for the person behind the credential, keep or release claims, claim one item, inspect the evidence and the cited page, compare a document with its reference values, resolve, propose a correction, recommend, the decision log as the receipt, review progress, notes; plus bulk approval, comparing sources and choosing the value to keep, benchmark lists and field accuracy, and deciding flagged values. Eleven `talonic_cases_*` tools: list and read cases with the quoted passage behind every link, rename or resolve, the case story, references to decide and their resolve / reject, referenced documents not uploaded, a document's neighbours, and case templates. Decision writes send a derived `Idempotency-Key`, so retrying the same call never applies it twice; every write accepts `idempotency_key`. Probes: `GET /v1/field-reviews/summary` and `GET /v1/relation-claims/cases?limit=1`. The hosted server's `scopes_supported` is unchanged; requesting the catalog scopes these tools name (`reviews:*`, `cases:*`) is a follow-up coordinated with the platform's scope catalog.
|
|
28
|
+
- **Your own thread, turns and data.** Twelve `talonic_thread_*` tools over `/v1/thread`: read the thread and its events by cursor, send a message (with an optional retry key; waits briefly for the answer), hand in files, decide a held action, list and approve or decline prepared drafts (an email, a process start, a share; each decision names the version shown and never runs twice), read, decide and close screens, and check a stated figure. `talonic_agent_get_turn`, `talonic_agent_confirm_turn` and `talonic_agent_home_page` read and decide the person's own paused agent steps and home page. Five `talonic_my_data_*` tools read what the person brought in and who sees it, share or stop sharing a source or items, and list and decide field requests. Every call acts as the person the key or token belongs to; each group is listed only when its probe passes for that person.
|
|
29
|
+
- **One reference page per tool.** Every customer-facing tool in the groups above has a generated page at `talonic.com/docs/mcp/tools/<name>` and a line on Tools by task, in seven new tasks (connect sources, organise documents, author a Spec, data products and policies, your thread, team and records administration, plus app workflows under Apps). Talonic-internal tools and the app workflow tools that extend Accounts Payable and Price Baseline stay out of the MCP docs.
|
|
30
|
+
|
|
12
31
|
## [0.1.106] - 2026-11-25
|
|
13
32
|
|
|
14
33
|
### Changed
|
|
@@ -67,6 +86,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
67
86
|
- Contract Desk (16) and Transport Folders (13): work lists, evidence, decide / undo, assign / confirm and their withdrawals, the load's document set as an embedded PDF (up to 8 MB).
|
|
68
87
|
- Compliance (39), Money Found (5), Customs declaration (3).
|
|
69
88
|
|
|
89
|
+
|
|
70
90
|
## [0.1.102] - 2026-11-22
|
|
71
91
|
|
|
72
92
|
### Added
|
package/README.md
CHANGED
|
@@ -221,6 +221,16 @@ Cost to the user: one click. It's the same pattern as a Slack/Stripe "open in br
|
|
|
221
221
|
|
|
222
222
|
---
|
|
223
223
|
|
|
224
|
+
## Connecting sources: the integrations tools
|
|
225
|
+
|
|
226
|
+
Nine tools connect and work with sources: `talonic_integrations_connectors`, `talonic_integrations_connect`, `talonic_integrations_connect_status`, `talonic_sources_connections`, `talonic_sources_browse`, `talonic_sources_import`, `talonic_sources_imports`, `talonic_sources_sync_now` and `talonic_sources_sync_settings`. They are listed only when the Talonic platform serves `/v1/integrations` to your credential (an API key or OAuth grant with `sources:read`); importing and syncing also need `documents:write`, connecting and changing sync settings `sources:write`.
|
|
227
|
+
|
|
228
|
+
Connecting works like the upload handoff: `talonic_integrations_connect` returns an `authorize_url`. You open it in a browser while signed in to Talonic, in the same workspace, confirm, and finish the provider's sign-in (Gmail, Google Drive, Outlook, OneDrive, SharePoint, Teams, Notion, HubSpot, Dropbox, Slack, Google Sheets). The agent polls `talonic_integrations_connect_status` until it reports `connected` and then uses the `connection_id`. Personal connections (mailboxes, notes, your own drive) show their content only as the connecting person's access allows.
|
|
229
|
+
|
|
230
|
+
**No tool for credentials or keys.** Sources that connect with credentials (Amazon S3, Azure Blob Storage, SQL databases, Kendox, Granola, a Slack token, an external upload link) and source ingest keys have no MCP tool: secrets and keys never pass through an agent conversation. Enter them in the Talonic web app, or send them from your own system to `POST /v1/sources/connections/<type>` and `POST /v1/sources/:id/keys`.
|
|
231
|
+
|
|
232
|
+
---
|
|
233
|
+
|
|
224
234
|
## Agent decision guide
|
|
225
235
|
|
|
226
236
|
Pick the right tool before calling — the wrong one returns the wrong data, costs credits, and slows the conversation.
|