@talonic/mcp 0.1.80 → 0.1.82

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
@@ -9,6 +9,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
 
10
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).
11
11
 
12
+ ### Added
13
+
14
+ - **`talonic_contracts_*` tools (13), registered where the platform serves the Contracts app.** Fill and clean the Contracts register over `/v1/contracts/*`: `register`, `contract`, `issues` (cleaning worklist with the documents concerned), `upcoming`, `import_candidates`, `import` (by ids, or every unread candidate with filters, `limit` and `dry_run`), `import_status`, `update_document` (role, exclude, re-key, remove), `merge`, `reread`, `decide`, `key_date`, `set_term` (value plus verbatim quote, verified by the platform). Probe-gated like the growth tools (`GET /v1/contracts/import/status` → 200), so they never appear where they would 404. `apiJson` gains `PUT`.
15
+
16
+ ## [0.1.81] - 2026-09-24
17
+
18
+ ### Fixed
19
+
20
+ - **`annotations.title` on every public tool.** The six Field Registry / agent-tool registrations (`talonic_list_fields`, `talonic_get_field`, `talonic_field_values`, `talonic_find_data`, `talonic_list_agent_tools`, `talonic_invoke_agent_tool`) set only the top-level `title`; Anthropic's Connectors Directory portal reads `annotations.title` and flagged them ("Missing title annotation"). All 36 tools now carry it, locked by `tests/widgets/tool-annotations.test.ts`.
21
+ - **Decision-task descriptions are session-independent.** The seven `talonic_*_decision_task` tools no longer prepend "NOT INVOCABLE IN THIS SESSION" to their descriptions when the OAuth token lacks `apps:decide`; the marker is `_meta["talonic/can_invoke"]: false` (+ `talonic/required_scope`) only, and each description's AUTH line already explains the 403. Directory scanners and clients that cache `tools/list` had frozen the prefix into the listing text.
22
+
23
+ ## [0.1.80] - 2026-09-24
24
+
12
25
  ### Fixed
13
26
 
14
27
  - **RFC 9728 path-suffixed protected-resource metadata.** The hosted server now also serves `/.well-known/oauth-protected-resource/mcp` with `resource` set to the exact `https://mcp.talonic.com/mcp` URL, and every `401` names the metadata document that matches the endpoint the client used (`/mcp` → the path-suffixed document, `/` → the root one) with `error="invalid_token"`. Claude's connector review requires the advertised `resource` to equal the server URL exactly as entered, path included; previously only the root document existed and the `/mcp` lookup returned 404. No change to the authorization server, scopes, or token handling.
package/dist/content.js CHANGED
@@ -3576,8 +3576,8 @@ Payment terms: Net 30`
3576
3576
  answer: "An Agent task parks one document at a pipeline stage and asks for declared output fields. A decision task parks one App run and asks for the run's decision: the outcome is validated against the app's output contract, must cite evidence from the frozen input package, and is written to the app's ledger with decided_by.type external_agent. The two protocols share the lease, heartbeat and execution-epoch mechanics."
3577
3577
  },
3578
3578
  {
3579
- question: "Why does the tool return 403, or show as NOT INVOCABLE IN THIS SESSION?",
3580
- answer: "The decide tier is an independent grant: operate does not imply it. A tlnc_ key needs a decide grant on that app, granted by a workspace owner. An OAuth connector session needs the apps:decide scope and a senior_member role or above, read live on every call. If the connector was added before the scope existed, its token lacks it: the hosted server then lists the seven tools marked NOT INVOCABLE IN THIS SESSION, and the fix is to remove and re-add the Talonic connector so the consent screen offers 'Claim and decide tasks'."
3579
+ question: "Why does the tool return 403 insufficient_scope, or carry talonic/can_invoke: false in its _meta?",
3580
+ answer: "The decide tier is an independent grant: operate does not imply it. A tlnc_ key needs a decide grant on that app, granted by a workspace owner. An OAuth connector session needs the apps:decide scope and a senior_member role or above, read live on every call. If the connector was added before the scope existed, its token lacks it: the hosted server then lists the seven tools flagged with _meta.talonic/can_invoke: false (descriptions stay unchanged), and the fix is to remove and re-add the Talonic connector so the consent screen offers 'Claim and decide tasks'."
3581
3581
  },
3582
3582
  {
3583
3583
  question: "What do the decision task statuses mean?",