@pidgeon-ai/mcp 1.3.0 → 1.4.0
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 +5 -0
- package/dist/tools.d.ts +1 -1
- package/dist/tools.js +7 -2
- package/package.json +2 -2
- package/server.json +2 -2
package/CHANGELOG.md
CHANGED
package/dist/tools.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
9
9
|
import type { CallToolResult } from '@modelcontextprotocol/sdk/types.js';
|
|
10
10
|
import { type Pidgeon } from '@pidgeon-ai/sdk';
|
|
11
|
-
export declare const VERSION = "1.
|
|
11
|
+
export declare const VERSION = "1.4.0";
|
|
12
12
|
export declare const json: (value: unknown) => CallToolResult;
|
|
13
13
|
export declare const failed: (text: string) => CallToolResult;
|
|
14
14
|
/** Run a tool's work and answer its result, or the API's refusal in words the model can act on. */
|
package/dist/tools.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { PidgeonError } from '@pidgeon-ai/sdk';
|
|
3
|
-
export const VERSION = '1.
|
|
3
|
+
export const VERSION = '1.4.0';
|
|
4
4
|
export const json = (value) => ({
|
|
5
5
|
content: [{ type: 'text', text: JSON.stringify(value ?? { ok: true }, null, 2) }],
|
|
6
6
|
});
|
|
@@ -249,9 +249,14 @@ export function registerApiTools(server, pidgeon, signInHint) {
|
|
|
249
249
|
inputSchema: {
|
|
250
250
|
url: z.string().url().describe('A public https:// address.'),
|
|
251
251
|
events: z.array(z.string()).min(1).describe('The event types to deliver.'),
|
|
252
|
+
inbox_ids: z
|
|
253
|
+
.array(z.string())
|
|
254
|
+
.min(1)
|
|
255
|
+
.optional()
|
|
256
|
+
.describe('Hear only these inboxes’ events. Left out, the whole account’s.'),
|
|
252
257
|
},
|
|
253
258
|
annotations: WRITE,
|
|
254
|
-
}, ({ url, events }) => answer(() => pidgeon.webhooks.create({ url, events })));
|
|
259
|
+
}, ({ url, events, inbox_ids }) => answer(() => pidgeon.webhooks.create({ url, events, inboxIds: inbox_ids })));
|
|
255
260
|
server.registerTool('remove_webhook', {
|
|
256
261
|
title: 'Remove a webhook endpoint',
|
|
257
262
|
description: 'Stop delivering to an endpoint. Needs the Everything level, of the whole account.',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pidgeon-ai/mcp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "Pidgeon's MCP server: a coding agent sets an agent up end to end (registered, keyed on your machine, published, its reputation read) and works its inboxes.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
47
47
|
"zod": "^4.6.7",
|
|
48
|
-
"@pidgeon-ai/sdk": "^2.
|
|
48
|
+
"@pidgeon-ai/sdk": "^2.2.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@types/node": "^24.10.1",
|
package/server.json
CHANGED
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
"source": "github",
|
|
10
10
|
"subfolder": "packages/mcp"
|
|
11
11
|
},
|
|
12
|
-
"version": "1.
|
|
12
|
+
"version": "1.4.0",
|
|
13
13
|
"packages": [
|
|
14
14
|
{
|
|
15
15
|
"registryType": "npm",
|
|
16
16
|
"identifier": "@pidgeon-ai/mcp",
|
|
17
|
-
"version": "1.
|
|
17
|
+
"version": "1.4.0",
|
|
18
18
|
"transport": { "type": "stdio" },
|
|
19
19
|
"environmentVariables": [
|
|
20
20
|
{
|