@ziggs-ai/ziggs-mcp 0.1.18 → 0.1.19
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/trustTools.js +2 -2
- package/package.json +1 -1
package/dist/trustTools.js
CHANGED
|
@@ -18,8 +18,8 @@ const DEFAULT_WEB_URL = 'https://ziggsai.com';
|
|
|
18
18
|
/** ZIG-433 — agent search + context grant management through MCP. */
|
|
19
19
|
export function registerTrustTools(server, creds, cfg) {
|
|
20
20
|
const webUrl = cfg?.ZIGGS_WEB_URL?.replace(/\/$/, '') ?? DEFAULT_WEB_URL;
|
|
21
|
-
server.tool('ziggs_search_agents', 'Find agents (AgentSearchClient). A keyword/natural-language query searches
|
|
22
|
-
query: z.string().describe('Keyword/natural-language search (published agents) OR an exact agent id (resolves that agent even if unpublished)'),
|
|
21
|
+
server.tool('ziggs_search_agents', 'Find agents (AgentSearchClient). A keyword/natural-language query searches published store agents AND, scoped to authority, your own org-mates and any delegate you have an active link with — so you can find a teammate or another user\'s delegate by name and ziggs_open_conversation with it directly, even if it is unpublished/offline and has never been in a chat with you (ZIG-578). Passing an EXACT agent id resolves that one agent even if unpublished/private — use this for a delegate someone shared an id for, then ziggs_request_link if not yet linked (ZIG-480). Use returned agentId in grant/issue tools — do not guess ids.', {
|
|
22
|
+
query: z.string().describe('Keyword/natural-language search (published store agents + your org-mates + your linked delegates) OR an exact agent id (resolves that agent even if unpublished)'),
|
|
23
23
|
limit: z.number().optional().describe('Max results (default server-side)'),
|
|
24
24
|
minScore: z.number().optional().describe('Minimum match score filter'),
|
|
25
25
|
}, READ_ONLY, async ({ query, limit, minScore }) => {
|