@talonic/mcp 0.1.29 → 0.1.31
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/dist/content.js +7 -8
- package/dist/content.js.map +1 -1
- package/dist/http-server.js +6 -9
- package/dist/http-server.js.map +1 -1
- package/dist/index.js +6 -9
- package/dist/index.js.map +1 -1
- package/dist/server.js +6 -9
- package/dist/server.js.map +1 -1
- package/package.json +1 -1
package/dist/http-server.js
CHANGED
|
@@ -333,7 +333,7 @@ function registerExtract(server, getTalonic) {
|
|
|
333
333
|
);
|
|
334
334
|
}
|
|
335
335
|
var DESCRIPTION2 = [
|
|
336
|
-
"STATUS: stable. Field-name resolution is server-side.
|
|
336
|
+
"STATUS: stable. Field-name resolution is server-side.",
|
|
337
337
|
"",
|
|
338
338
|
"Filter the user's Talonic documents by extracted field values using composable conditions.",
|
|
339
339
|
"Conditions accept either a canonical field name (e.g. 'vendor.name', 'policy.0_coverage_type')",
|
|
@@ -356,12 +356,10 @@ var DESCRIPTION2 = [
|
|
|
356
356
|
"- between: requires both `value` and `value_to`.",
|
|
357
357
|
"- contains: substring match on string fields.",
|
|
358
358
|
"- is_empty: presence check, no value needed. Returns documents where the field is null or missing.",
|
|
359
|
+
"- is_not_empty: presence check, no value needed. Returns documents where the field has a materialized value. Results reflect data within seconds of extraction completing.",
|
|
359
360
|
"",
|
|
360
361
|
"SCHEMA TYPING:",
|
|
361
|
-
"- Numeric operators (`gt`, `gte`, `lt`, `lte`, `between`) only resolve correctly when the schema field is typed as `number`. A field typed as `string` that holds numeric content (e.g. '\u20AC1,500.00') will silently return zero matches even after extraction. Pick the right type at schema design time.",
|
|
362
|
-
"",
|
|
363
|
-
"NOT SUPPORTED IN v0.1:",
|
|
364
|
-
"- is_not_empty: underreports against fields known to be populated. Removed from the supported operator list to keep filter results trustworthy. Workaround: filter with `eq`/`gt`/`contains` against a known value, or use `is_empty` then invert the result client-side. Tracked for a later release.",
|
|
362
|
+
"- Numeric operators (`gt`, `gte`, `lt`, `lte`, `between`) only resolve correctly when the schema field is typed as `number`. A field typed as `string` that holds numeric content (e.g. '\u20AC1,500.00') will silently return zero matches even after extraction. Pick the right type at schema design time. The API returns a `warnings` array when a numeric operator is applied to a string-typed field.",
|
|
365
363
|
"",
|
|
366
364
|
"TIPS:",
|
|
367
365
|
"- To discover available field names, call talonic_search first with a related query.",
|
|
@@ -380,9 +378,8 @@ var operatorEnum = z.enum([
|
|
|
380
378
|
"lte",
|
|
381
379
|
"between",
|
|
382
380
|
"contains",
|
|
383
|
-
"is_empty"
|
|
384
|
-
|
|
385
|
-
// fields known to be populated. See description for the workaround.
|
|
381
|
+
"is_empty",
|
|
382
|
+
"is_not_empty"
|
|
386
383
|
]);
|
|
387
384
|
var conditionSchema = z.object({
|
|
388
385
|
field: z.string().optional().describe(
|
|
@@ -985,7 +982,7 @@ function registerToMarkdown(server, getTalonic) {
|
|
|
985
982
|
|
|
986
983
|
// package.json
|
|
987
984
|
var package_default = {
|
|
988
|
-
version: "0.1.
|
|
985
|
+
version: "0.1.31"};
|
|
989
986
|
|
|
990
987
|
// src/version.ts
|
|
991
988
|
var VERSION = package_default.version;
|