@pipeworx/mcp-emarket-storage 0.1.3 → 0.1.4
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/README.md +2 -2
- package/package.json +3 -3
- package/server.json +1 -1
- package/src/index.ts +10 -2
- package/src/server.ts +1 -1
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ Italian regulated company disclosures direct from eMarket Storage (Teleborsa)
|
|
|
5
5
|
built to fix the months-long lag in the community ESEF index for current-year
|
|
6
6
|
Italian filings.
|
|
7
7
|
|
|
8
|
-
Part of [Pipeworx](https://pipeworx.io) — an MCP gateway connecting AI agents to
|
|
8
|
+
Part of [Pipeworx](https://pipeworx.io) — an MCP gateway connecting AI agents to 1819+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.
|
|
9
9
|
|
|
10
10
|
## Tools
|
|
11
11
|
|
|
@@ -155,7 +155,7 @@ directly, instead of just this one's:
|
|
|
155
155
|
}
|
|
156
156
|
```
|
|
157
157
|
|
|
158
|
-
Both URLs reach the same gateway and the same
|
|
158
|
+
Both URLs reach the same gateway and the same 1819+ data sources. The
|
|
159
159
|
only difference is which pack's tools are listed **directly**; `ask_pipeworx`
|
|
160
160
|
reaches all of them from either one.
|
|
161
161
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pipeworx/mcp-emarket-storage",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Italian regulated disclosures direct from eMarket Storage (Teleborsa) — keyless, same-day-fresh.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.ts",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@cloudflare/workers-types": "^4.20260405.1"
|
|
27
27
|
},
|
|
28
28
|
"pipeworx": {
|
|
29
|
-
"sourceHash": "v1-
|
|
30
|
-
"sourceCommit": "
|
|
29
|
+
"sourceHash": "v1-2960ffa7f8d2253e830ed8e2c253d574f3aacded6fe241b9780a8159767a0737",
|
|
30
|
+
"sourceCommit": "a03f96ed672b8c149593c64ecbf30280cabf084c"
|
|
31
31
|
}
|
|
32
32
|
}
|
package/server.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "io.github.pipeworx-io/emarket-storage",
|
|
4
4
|
"title": "Emarket Storage",
|
|
5
5
|
"description": "Italian regulated disclosures direct from eMarket Storage (Teleborsa) — keyless, same-day-fresh.",
|
|
6
|
-
"version": "0.1.
|
|
6
|
+
"version": "0.1.4",
|
|
7
7
|
"websiteUrl": "https://pipeworx.io/packs/emarket-storage",
|
|
8
8
|
"repository": {
|
|
9
9
|
"url": "https://github.com/pipeworx-io/mcp-emarket-storage",
|
package/src/index.ts
CHANGED
|
@@ -1157,8 +1157,14 @@ async function searchDisclosures(args: Record<string, unknown>): Promise<unknown
|
|
|
1157
1157
|
const issuers = await getAziendaMap();
|
|
1158
1158
|
const ranked = rankMatches(companyQuery, issuers, (e) => e.name);
|
|
1159
1159
|
if (ranked.length === 0) {
|
|
1160
|
+
// A name that matches no issuer is a normal "no match" outcome, not a
|
|
1161
|
+
// tool failure: until 2026-10-16 it was returned as a top-level `error`
|
|
1162
|
+
// and booked as OUR error on every unknown company (6 of 20 calls in one
|
|
1163
|
+
// day). found:false is the shape the gateway classifies as empty.
|
|
1160
1164
|
return {
|
|
1161
|
-
|
|
1165
|
+
found: false,
|
|
1166
|
+
reason: 'no_match',
|
|
1167
|
+
message: `"${companyQuery}" does not match any eMarket Storage issuer.`,
|
|
1162
1168
|
note: "This pack only covers issuers that disclose through eMarket Storage. A separate mechanism, 1INFO, covers a different set of Italian issuers (e.g. IREN, SOMEC) and is not included here — try oneinfo-storage's oneinfo_search_disclosures instead.",
|
|
1163
1169
|
};
|
|
1164
1170
|
}
|
|
@@ -1166,7 +1172,9 @@ async function searchDisclosures(args: Record<string, unknown>): Promise<unknown
|
|
|
1166
1172
|
const tiedAtTop = ranked.filter((r) => r.score === top.score);
|
|
1167
1173
|
if (tiedAtTop.length > 1) {
|
|
1168
1174
|
return {
|
|
1169
|
-
|
|
1175
|
+
found: false,
|
|
1176
|
+
reason: 'ambiguous_match',
|
|
1177
|
+
message: `"${companyQuery}" matches more than one eMarket Storage issuer equally well — pass azienda_id or a more specific company name.`,
|
|
1170
1178
|
candidates: tiedAtTop.slice(0, 10).map((r) => ({ azienda_id: r.item.id, company: r.item.name })),
|
|
1171
1179
|
};
|
|
1172
1180
|
}
|
package/src/server.ts
CHANGED