@talonic/mcp 0.1.94 → 0.1.96
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 +24 -0
- package/dist/content.js +71 -2
- package/dist/content.js.map +1 -1
- package/dist/http-server.js +969 -525
- package/dist/http-server.js.map +1 -1
- package/dist/index.d.ts +18 -0
- package/dist/index.js +869 -303
- package/dist/index.js.map +1 -1
- package/dist/server.js +886 -306
- package/dist/server.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,30 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
11
11
|
|
|
12
12
|
### Added
|
|
13
13
|
|
|
14
|
+
- `talonic_list_apps`: the workspace's apps with id, description, mode and enabled state; supplies the `app_id` the decision-task tools need (no tool returned it before).
|
|
15
|
+
- `talonic_get_schema`: one saved schema's field definition. It was only in the `talonic://schemas` resource, which claude.ai never shows the model.
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
|
|
19
|
+
- **Cards render in Claude.** Every widget declared `_meta.ui.domain: "https://talonic.com"`; Claude validates that value against `{sha256(connector URL)[:32]}.claudemcpcontent.com` and showed "There was a problem displaying content from Talonic" instead of the card. The field is gone (ChatGPT keeps `openai/widgetDomain`). Widgets now also speak the MCP Apps protocol: `ui/initialize` → `ui/notifications/initialized`, render on `ui/notifications/tool-result` (structuredContent, or JSON text as fallback), report height via `ui/notifications/size-changed`, follow the host theme from `hostContext`, show tool errors instead of a blank card, and answer host requests. Locked by `tests/widgets/render/mcp-apps-host.test.ts`.
|
|
20
|
+
- **Actionable tool errors.** A raw-fetch API failure came back as `Unexpected error: Talonic API error: HTTP 402 {json}`. Errors now keep their status and end with a "Next step" line (reconnect, top up credits, missing permission, look the id up again, retry once); timeouts and network failures say so.
|
|
21
|
+
- **App tools no longer vanish mid-session.** One generic per-token probe cache replaces ten copies: a timeout, network error, 5xx or 429 reuses the last known answer and is not cached, instead of dropping a whole app's tools for five minutes.
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
|
|
25
|
+
- **Agent-task (5) and decision-task (7) tools are listed on the hosted server only where the workspace uses them** (an Agent task exists / an External-mode app exists). A normal claude.ai user now sees 28 tools (was 38) and a 71 KB `tools/list` (was 99 KB). Local installs keep them by default (`includeAgentTaskTools`, `includeDecisionTaskTools`).
|
|
26
|
+
- Server instructions open with a which-tool-for-which-question table and only describe flows whose tools are registered.
|
|
27
|
+
- `talonic_list_agent_tools` no longer offers `find_data` (it has its own tool).
|
|
28
|
+
- Tool results are compact JSON, capped at 100,000 characters with a note to page or filter.
|
|
29
|
+
- UUID arguments emit `format: "uuid"` instead of zod's inlined regex.
|
|
30
|
+
- Every argument of every tool has a description (39 were missing). Internal vocabulary (rail, materialize, planes, resolution band, Sources-IAM) and one customer's ERP vocabulary in `talonic_contracts_processes` replaced by plain descriptions.
|
|
31
|
+
|
|
32
|
+
## [0.1.95] - 2026-11-17
|
|
33
|
+
|
|
34
|
+
### Added
|
|
35
|
+
|
|
36
|
+
- `talonic_portfolio_companies`, `talonic_portfolio_company`, `talonic_portfolio_conflicts`, `talonic_portfolio_refresh`: the Portfolio app (KPI table per portfolio company and the conflicts between its documents), listed when the workspace has the app.
|
|
37
|
+
- **Row-level growth tools** (`talonic_growth_attribution`, `talonic_growth_events`, `talonic_growth_signups`, `talonic_growth_accounts`, `talonic_growth_site_events`) over `/v1/growth/*`: conversions per landing page and source, website conversions, signups with their source, usage per organisation, and counts of any anonymous website event. Probe-gated with the existing growth tools; the platform now also admits listed growth readers. Absent from the public docs by design.
|
|
14
38
|
- **Accounts.** `talonic_list_accounts` and `talonic_create_account` (`GET/POST /v1/accounts`): the companies a workspace keeps apart. `talonic_request_upload` takes `account` (name, alias or id) so a file stays with its company, and `add_to_workspace: true` to process it fully into workspace data (values, registry, questions, SQL) instead of text only.
|
|
15
39
|
|
|
16
40
|
## [0.1.94] - 2026-11-14
|
package/dist/content.js
CHANGED
|
@@ -31,6 +31,8 @@ var MCP_NAV_SECTIONS = [
|
|
|
31
31
|
{ id: "talonic-get-document", label: "talonic_get_document" },
|
|
32
32
|
{ id: "talonic-to-markdown", label: "talonic_to_markdown" },
|
|
33
33
|
{ id: "talonic-list-schemas", label: "talonic_list_schemas" },
|
|
34
|
+
{ id: "talonic-get-schema", label: "talonic_get_schema" },
|
|
35
|
+
{ id: "talonic-list-apps", label: "talonic_list_apps" },
|
|
34
36
|
{ id: "talonic-save-schema", label: "talonic_save_schema" },
|
|
35
37
|
{ id: "talonic-get-balance", label: "talonic_get_balance" },
|
|
36
38
|
{ id: "talonic-get-pricing", label: "talonic_get_pricing" },
|
|
@@ -2125,6 +2127,73 @@ Payment terms: Net 30`
|
|
|
2125
2127
|
],
|
|
2126
2128
|
mentions: ["markdown", "OCR", "document_id", "tables"]
|
|
2127
2129
|
},
|
|
2130
|
+
{
|
|
2131
|
+
slug: "talonic-get-schema",
|
|
2132
|
+
parentSlug: "tools",
|
|
2133
|
+
title: "talonic_get_schema",
|
|
2134
|
+
seoTitle: "talonic_get_schema \u2014 Read a Saved Schema's Field List",
|
|
2135
|
+
description: "MCP tool that returns one saved Talonic schema with its full field definition (names, types, descriptions), so an agent knows which fields extraction returns.",
|
|
2136
|
+
content: [
|
|
2137
|
+
{
|
|
2138
|
+
type: "paragraph",
|
|
2139
|
+
text: "Get one saved schema with its full field definition: the JSON Schema `definition` with every field's name, type and description, plus the schema's version and timestamps."
|
|
2140
|
+
},
|
|
2141
|
+
{
|
|
2142
|
+
type: "paragraph",
|
|
2143
|
+
text: "**`talonic_get_schema`** is read-only and free. Call it when the user asks what a saved schema extracts, or before `talonic_extract` with a `schema_id` so the agent knows which fields will come back. Find the id with `talonic_list_schemas`; both the UUID and the `SCH-XXXXXXXX` short id work."
|
|
2144
|
+
},
|
|
2145
|
+
{ type: "heading", level: 3, id: "get-schema-input", text: "Input" },
|
|
2146
|
+
{
|
|
2147
|
+
type: "list",
|
|
2148
|
+
ordered: false,
|
|
2149
|
+
items: [
|
|
2150
|
+
"`schema_id` (required): the schema's UUID or short id from `talonic_list_schemas`."
|
|
2151
|
+
]
|
|
2152
|
+
},
|
|
2153
|
+
{
|
|
2154
|
+
type: "paragraph",
|
|
2155
|
+
text: "Hosted chat clients such as Claude.ai do not let the model read MCP resources, so this tool is the way an agent there sees a schema's fields."
|
|
2156
|
+
}
|
|
2157
|
+
],
|
|
2158
|
+
related: [
|
|
2159
|
+
{ label: "talonic_list_schemas", slug: "talonic-list-schemas" },
|
|
2160
|
+
{ label: "talonic_extract", slug: "talonic-extract" }
|
|
2161
|
+
],
|
|
2162
|
+
faq: [],
|
|
2163
|
+
mentions: ["schema", "schema_id", "fields"]
|
|
2164
|
+
},
|
|
2165
|
+
{
|
|
2166
|
+
slug: "talonic-list-apps",
|
|
2167
|
+
parentSlug: "tools",
|
|
2168
|
+
title: "talonic_list_apps",
|
|
2169
|
+
seoTitle: "talonic_list_apps \u2014 List the Apps in Your Workspace",
|
|
2170
|
+
description: "MCP tool that lists the Talonic Apps in a workspace with their id, name, one-line description, mode and enabled state, and supplies the app ids tools need.",
|
|
2171
|
+
content: [
|
|
2172
|
+
{
|
|
2173
|
+
type: "paragraph",
|
|
2174
|
+
text: "List the Talonic Apps in the user's workspace. Each entry has the app's `id`, `slug`, `display_name`, a one-line `description`, its `mode`, and whether it is `enabled`."
|
|
2175
|
+
},
|
|
2176
|
+
{
|
|
2177
|
+
type: "paragraph",
|
|
2178
|
+
text: "**`talonic_list_apps`** is read-only and free. Call it when the user asks which apps or automations the workspace runs, or when another tool needs an app id: `talonic_list_decision_tasks` takes the id of an app whose `mode` is `external`."
|
|
2179
|
+
},
|
|
2180
|
+
{ type: "heading", level: 3, id: "list-apps-input", text: "Input" },
|
|
2181
|
+
{
|
|
2182
|
+
type: "list",
|
|
2183
|
+
ordered: false,
|
|
2184
|
+
items: [
|
|
2185
|
+
"`enabled_only` (optional, default `true`): pass `false` to include disabled apps."
|
|
2186
|
+
]
|
|
2187
|
+
},
|
|
2188
|
+
{
|
|
2189
|
+
type: "paragraph",
|
|
2190
|
+
text: "Mode `external` means the app hands its decisions to an outside agent through the decision-task tools. Other modes decide inside Talonic."
|
|
2191
|
+
}
|
|
2192
|
+
],
|
|
2193
|
+
related: [{ label: "talonic_list_decision_tasks", slug: "talonic-list-decision-tasks" }],
|
|
2194
|
+
faq: [],
|
|
2195
|
+
mentions: ["apps", "app_id", "External mode"]
|
|
2196
|
+
},
|
|
2128
2197
|
{
|
|
2129
2198
|
slug: "talonic-list-schemas",
|
|
2130
2199
|
parentSlug: "tools",
|
|
@@ -2138,11 +2207,11 @@ Payment terms: Net 30`
|
|
|
2138
2207
|
},
|
|
2139
2208
|
{
|
|
2140
2209
|
type: "paragraph",
|
|
2141
|
-
text: "The full per-field JSON Schema definition is intentionally omitted from the list \u2014 across many schemas that payload is large and can get truncated by some clients. To inspect
|
|
2210
|
+
text: "The full per-field JSON Schema definition is intentionally omitted from the list \u2014 across many schemas that payload is large and can get truncated by some clients. To inspect one schema's full field definitions, call `talonic_get_schema` with its id. Clients that browse MCP resources (Claude Desktop, Cowork) can also read every definition at once from the `talonic://schemas` resource."
|
|
2142
2211
|
},
|
|
2143
2212
|
{
|
|
2144
2213
|
type: "paragraph",
|
|
2145
|
-
text: "**`talonic_list_schemas`** is a read-only tool that returns every saved schema in your workspace as a summary. Agents should call this before creating a new schema to avoid duplicates, and when the user asks about their available extraction templates. To read the full field structure of a specific schema,
|
|
2214
|
+
text: "**`talonic_list_schemas`** is a read-only tool that returns every saved schema in your workspace as a summary. Agents should call this before creating a new schema to avoid duplicates, and when the user asks about their available extraction templates. To read the full field structure of a specific schema, call `talonic_get_schema`."
|
|
2146
2215
|
},
|
|
2147
2216
|
{
|
|
2148
2217
|
type: "paragraph",
|