@datadive-tools/mcp 0.14.0 → 0.16.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/README.md +4 -0
- package/dist/index.js +405 -145
- package/dist/index.js.map +1 -1
- package/dist/lib.d.ts +34 -1
- package/dist/lib.js +410 -146
- package/dist/lib.js.map +1 -1
- package/package.json +1 -1
package/dist/lib.d.ts
CHANGED
|
@@ -205,4 +205,37 @@ declare class ApiError extends Error {
|
|
|
205
205
|
*/
|
|
206
206
|
declare const PKG_VERSION: string;
|
|
207
207
|
|
|
208
|
-
|
|
208
|
+
/**
|
|
209
|
+
* "What's new" for connected assistants and users (RS-11631).
|
|
210
|
+
*
|
|
211
|
+
* MCP has no message for "a new version with new features is out": `tools/list_changed` only
|
|
212
|
+
* reaches a live session, and the hosted server is stateless, so no session survives a deploy.
|
|
213
|
+
* Two protocol features carry the news instead, both built from the list below:
|
|
214
|
+
*
|
|
215
|
+
* - `SERVER_INSTRUCTIONS`, sent to the client in the `initialize` result on every connection,
|
|
216
|
+
* so the assistant knows the latest additions without the user asking.
|
|
217
|
+
* - The `whats_new` prompt, which the user picks by hand (e.g. `/mcp__datadive__whats_new` in
|
|
218
|
+
* Claude Code), for the full recent list.
|
|
219
|
+
*
|
|
220
|
+
* Both the stdio server (`buildServer`) and the hosted server register them from these exports,
|
|
221
|
+
* so there is one copy. Add an entry here with every release that changes what a user can do;
|
|
222
|
+
* keep the wording for users, not developers. Newest first.
|
|
223
|
+
*/
|
|
224
|
+
interface WhatsNewEntry {
|
|
225
|
+
/** Package version that shipped the change. */
|
|
226
|
+
version: string;
|
|
227
|
+
/** yyyy-mm-dd the change reached the hosted server. */
|
|
228
|
+
released: string;
|
|
229
|
+
items: string[];
|
|
230
|
+
}
|
|
231
|
+
declare const WHATS_NEW: ReadonlyArray<WhatsNewEntry>;
|
|
232
|
+
declare const SERVER_INSTRUCTIONS: string;
|
|
233
|
+
declare const WHATS_NEW_PROMPT: {
|
|
234
|
+
name: string;
|
|
235
|
+
title: string;
|
|
236
|
+
description: string;
|
|
237
|
+
};
|
|
238
|
+
/** The prompt's single user message: the list plus a request to explain it briefly. */
|
|
239
|
+
declare function whatsNewPromptText(): string;
|
|
240
|
+
|
|
241
|
+
export { type AnyTool, ApiError, type Config, type Credentials, PKG_VERSION, SCOPE_READ, SCOPE_WRITE, SERVER_INSTRUCTIONS, type ToolDefinition, WHATS_NEW, WHATS_NEW_PROMPT, type WhatsNewEntry, allTools, buildServer, loadConfig, requiredScope, whatsNewPromptText };
|