estatehelm 1.0.20 → 1.0.21
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/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5000,7 +5000,7 @@ async function executeSearch(params, privateKey, privacyMode) {
|
|
|
5000
5000
|
const searchableEntities = indexAllEntities(data);
|
|
5001
5001
|
const trimmedQuery = (query ?? "").trim();
|
|
5002
5002
|
const isWildcard = !trimmedQuery || /^[\*\.]+$/.test(trimmedQuery);
|
|
5003
|
-
const maxResults =
|
|
5003
|
+
const maxResults = 50;
|
|
5004
5004
|
const searchResults = isWildcard ? searchableEntities.filter((e) => !entityType || e.entityType === entityType).slice(0, maxResults).map((e) => ({ entity: e, score: 1, matchedFields: [] })) : searchEntities(searchableEntities, query, {
|
|
5005
5005
|
maxTotal: maxResults,
|
|
5006
5006
|
includeTypes: entityType ? [entityType] : void 0
|
|
@@ -5398,7 +5398,7 @@ function formatEntityType(type) {
|
|
|
5398
5398
|
|
|
5399
5399
|
// src/index.ts
|
|
5400
5400
|
var program = new import_commander.Command();
|
|
5401
|
-
program.name("estatehelm").description("EstateHelm CLI - MCP server for AI assistants").version("1.0.
|
|
5401
|
+
program.name("estatehelm").description("EstateHelm CLI - MCP server for AI assistants").version("1.0.21").option("--staging", "Use staging environment (previewapi/previewapp.estatehelm.com)").option("--api-url <url>", "API server URL (default: https://api.estatehelm.com)").option("--app-url <url>", "App server URL (default: https://app.estatehelm.com)").hook("preAction", (thisCommand) => {
|
|
5402
5402
|
const opts = thisCommand.opts();
|
|
5403
5403
|
if (opts.staging) {
|
|
5404
5404
|
setServerUrls(
|