@talonic/mcp 0.1.103 → 0.1.105

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 CHANGED
@@ -7,11 +7,55 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
- > The publish workflow assigns the version on release; after the push that publishes it, promote this block to `## [<version>] - <date>` (the changelog lock accepts the current package version living here until then).
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
+
12
+ ## [0.1.105] - 2026-11-25
13
+
14
+ ### Changed
15
+
16
+ - No user-facing changes.
17
+
18
+ ## [0.1.104] - 2026-11-25
19
+
20
+ ### Fixed
21
+
22
+ - **Contract parties tools work again.** 0.1.103 sent seven route strings the platform no longer serves; `GET /v1/parties/issues` and `GET /v1/parties/contracts` fell into `GET /v1/parties/:id` and came back as "party not found". The tools now use the current routes, where a contract is a data-product row (`product_id` + `row_id`):
23
+ - `talonic_parties_issues` lists the parties needing attention (`GET /v1/parties?attention=true`). The `code` filter is gone (the API has none); each party's issues come with `talonic_parties_party`.
24
+ - `talonic_parties_contract` takes `product_id` + `row_id` (was `contract_id`) and reads `GET /v1/parties/rows/:productId/:rowId`.
25
+ - `talonic_parties_contracts` now lists one party's contracts (`party_id`, paged; `GET /v1/parties/:id/contracts`). The workspace-wide contract list has no API equivalent: use `talonic_parties_issues` / `talonic_parties_search` and open contracts from a party.
26
+ - `talonic_parties_set_role` adds a role with `product_id` + `row_id` (was `contract_id`; `POST /v1/parties/rows/:productId/:rowId/roles`). The change branch (`role_id`, `PATCH /v1/parties/roles/:roleId`) is unchanged. Role `our_party` is accepted.
27
+ - `talonic_parties_confirm` confirms the role ids it is given (`role_ids[]`, one `PATCH` each, per-id results). The bulk confirm by `min_confidence` has no API equivalent and is gone.
28
+ - `talonic_parties_read` reads one contract's documents (`product_id` + `row_id`; `POST …/read`) and waits on that row until the read is `done` or `failed`; `status: true` without a contract reports the workspace's read queue. The bulk queue (`contract_ids`, `only_unread`, `force`, `dry_run`) has no API equivalent; refilling every contract from the data is the new `talonic_parties_sync`.
29
+
30
+ ### Added
31
+
32
+ - `talonic_parties_documents`, `talonic_parties_history` (a party's documents and history, paged), `talonic_parties_names` (aliases and former names: add, confirm / reject, remove), `talonic_parties_directory_link` (link to or unlink from the CRM directory), `talonic_parties_address_choice` (CRM or contract address for letters), `talonic_parties_sync` (refill from the data products, optional wait). `talonic_parties_party` takes `overview` and `product_id`; `talonic_parties_search` takes `scope`, `product_id` and `offset`. Eighteen parties tools in all, still listed only where the Parties app is on.
33
+ - `talonic_find_data` takes `account` (one portfolio company, by name or alias) and `concepts[]`, matching the platform's `find_data`; a test holds the tool's parameters to the platform's schema.
34
+ - Rendered docs pages for the 21 `talonic_process_*` tools (`src/content/sections/processes.ts`, nav under Tool Reference); before, they existed only in the unrendered `docs/sections.json`.
35
+
36
+ ### Changed
37
+
38
+ - **CI refuses a tool whose route is not in the public API.** `npm run check:routes` checks every `/v1/...` route string in `src/tools/**` against the live spec (`api.talonic.com/v1/docs/openapi.json`, pinned fallback), verb included, and refuses a literal in a uuid path slot; `tests/tools/route-branches.test.ts` calls every tool and every argument-picked branch. Known gaps are listed with a reason in `scripts/route-gaps.json`.
39
+ - `tests/content/tool-sections.test.ts` fails when a tool is documented only in `docs/sections.json`.
40
+ - Tool counts in `AGENTS.md` and `STATUS.md` are generated from `tools/list` (`scripts/tool-inventory.mjs`) and test-locked; public, optional (app-gated) and internal groups are counted apart.
41
+ - The changelog lock requires a `## [x.y.z]` heading for the package version; the publish workflow promotes `[Unreleased]` when it bumps.
42
+ - Tool and docs text for `talonic_find_data`, the parties tools and `talonic_process_create` no longer describes internal mechanics.
43
+
44
+ ## [0.1.103] - 2026-11-24
11
45
 
12
46
  ### Added
13
47
 
14
48
  - **Build, check, publish and set up a process.** Fifteen more `talonic_process_*` tools over the new `/v1/processes` routes: `talonic_process_create` (a draft from a description or an n8n workflow), `talonic_process_change` (an instruction in plain words; a change that reduces governance returns `needs_confirmation` and saves nothing until the user agreed), `talonic_process_get`, `talonic_process_check`, `talonic_process_test_run`, `talonic_process_publish`, `talonic_process_versions`, `talonic_process_rollback`, `talonic_process_delete`, `talonic_process_item`, `talonic_process_retry`, `talonic_process_send_back`, `talonic_process_setup` (people, mailboxes, secret names, look-up data), `talonic_process_mailbox_ownership`, `talonic_process_address`. Publish, rollback, delete and address carry `destructiveHint`. No tool stores or reads a secret's value, and connecting a mailbox stays in the web app.
49
+ - **Apps toolset: build, run and review an app.** Twenty-five tools over `/v1/apps/*`, `/v1/runs/*` and `/v1/reviews/*`, listed when the credential can read the workspace's apps: `talonic_create_app`, `talonic_get_app`, `talonic_get_app_logic`, `talonic_get_app_fields`, `talonic_save_app_draft`, `talonic_interpret_app_rules`, `talonic_propose_app_edit`, `talonic_apply_app_edit`, `talonic_list_app_versions`, `talonic_publish_app`, `talonic_enable_app`, `talonic_disable_app`, `talonic_get_app_acceptance`, `talonic_save_app_acceptance`, `talonic_check_app_acceptance`, `talonic_run_app`, `talonic_list_app_runs`, `talonic_get_app_run`, `talonic_get_run_record`, `talonic_get_run_verdicts`, `talonic_list_app_reviews`, `talonic_raise_app_review`, `talonic_resolve_app_review`, `talonic_interview_app_review`, `talonic_list_app_precedents`. Ported from the 2026-08 `feat/apps-toolset` branch and re-checked against the current routes: app ids are UUIDs, `autonomous` is a mode, lists page by `offset`, review feedback uses `partial`, run options travel in the body.
50
+ - **Drive a rule-finding round from outside.** Six `talonic_mining_*` tools for autonomous apps: list, read and start rounds, list a claimed round's tools, call one (busy rounds retried, long calls polled), and read a call that outlived the wait. The round is claimed, kept and closed with the existing decision-task tools, which a workspace with an autonomous app now also lists. The three driver tools need the `decide` access the decision-task tools need.
51
+
52
+ - **Probe-gated tool groups** (`src/tools/_groups.ts`), each listed only when its probe passes for the connection, each with a docs page under "App and Admin Tools":
53
+ - Documents, extractions, jobs and schemas (14): `talonic_list_documents`, `talonic_reextract_document`, `talonic_delete_document`, `talonic_list_extractions`, `talonic_get_extraction`, `talonic_get_extraction_data`, `talonic_correct_extraction`, `talonic_list_jobs`, `talonic_get_job`, `talonic_get_job_results`, `talonic_create_job` (refuses a whole-workspace job unless `all_documents: true`), `talonic_cancel_job`, `talonic_update_schema`, `talonic_delete_schema`. Deletes and the schema replace carry `destructiveHint`.
54
+ - `talonic_list_events` over `GET /v1/events` (`after` / `since` / `next_cursor`).
55
+ - `talonic_aggregate_catalog` and `talonic_aggregate` over `/v1/aggregate` (supersedes PR #57: probes the catalog GET instead of taking the one-in-flight POST slot; refuses offset-less timestamps, inverted windows and bad or repeated query ids before calling).
56
+ - Workspace administration (11): API keys list / create / revoke, account snapshot, webhooks list / get / create / update / delete, webhook event types, buy-credits link.
57
+ - 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).
58
+ - Compliance (39), Money Found (5), Customs declaration (3).
15
59
 
16
60
  ## [0.1.102] - 2026-11-22
17
61