@faable/faable 4.38.1 → 4.39.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/dist/mcp/tools.js +3 -1
- package/package.json +1 -1
package/dist/mcp/tools.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { version } from '../config.js';
|
|
2
3
|
|
|
3
4
|
const project = z
|
|
4
5
|
.string()
|
|
@@ -186,10 +187,11 @@ const TOOLS = [
|
|
|
186
187
|
{
|
|
187
188
|
name: 'whoami',
|
|
188
189
|
title: 'Who is logged in',
|
|
189
|
-
description: 'The Faable account this server acts as, the active project and its Auth tenant. Use it first when unsure whether the user is logged in or which project is active.',
|
|
190
|
+
description: 'The Faable account this server acts as, the active project and its Auth tenant, and `server_version` — the Faable CLI version this MCP server runs. Use it first when unsure whether the user is logged in or which project is active, or to check which version is serving.',
|
|
190
191
|
input: {},
|
|
191
192
|
command: ['whoami'],
|
|
192
193
|
flags: () => [],
|
|
194
|
+
shape: (d) => ({ ...d, server_version: version }),
|
|
193
195
|
annotations: READ,
|
|
194
196
|
example: {}
|
|
195
197
|
},
|