@mushi-mushi/mcp 0.33.1 → 0.35.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 +8 -4
- package/dist/catalog.js +1 -1
- package/dist/chunk-GQETC7D7.js +8814 -0
- package/dist/{chunk-XRH7NB34.js → chunk-SVDFHXHQ.js} +103 -14
- package/dist/{chunk-UPSIGKYM.js → chunk-SXASHTKO.js} +132 -8
- package/dist/clients.d.ts +15 -7
- package/dist/clients.js +34 -6
- package/dist/feature-groups.d.ts +34 -9
- package/dist/feature-groups.js +9 -1
- package/dist/index.js +39 -9315
- package/dist/server.d.ts +12 -2
- package/dist/server.js +10 -7633
- package/package.json +3 -3
package/dist/server.d.ts
CHANGED
|
@@ -43,7 +43,11 @@ declare function resolveTimeoutMsFromEnv(): number;
|
|
|
43
43
|
declare class MushiApiError extends Error {
|
|
44
44
|
readonly status: number;
|
|
45
45
|
readonly code: string;
|
|
46
|
-
|
|
46
|
+
/** The error body's `data` (409 APPROVAL_REQUIRED carries the approval there). */
|
|
47
|
+
readonly details?: unknown | undefined;
|
|
48
|
+
constructor(status: number, code: string, message: string,
|
|
49
|
+
/** The error body's `data` (409 APPROVAL_REQUIRED carries the approval there). */
|
|
50
|
+
details?: unknown | undefined);
|
|
47
51
|
}
|
|
48
52
|
interface MushiServerConfig {
|
|
49
53
|
/** Server version — surfaced in MCP handshake. Read from package.json by boot. */
|
|
@@ -78,10 +82,16 @@ interface MushiServerConfig {
|
|
|
78
82
|
timeoutMs?: number;
|
|
79
83
|
/** Server instructions override — createSetupModeServer uses it. Defaults to MUSHI_SERVER_INSTRUCTIONS. */
|
|
80
84
|
instructions?: string;
|
|
85
|
+
/**
|
|
86
|
+
* The `origin` remote of the folder the server runs in (src/index.ts reads
|
|
87
|
+
* it with git). With no MUSHI_PROJECT_ID, a tool call that names no project
|
|
88
|
+
* uses the project connected to this repo. Null or absent: no remote step.
|
|
89
|
+
*/
|
|
90
|
+
gitRemoteUrl?: () => Promise<string | null>;
|
|
81
91
|
}
|
|
82
92
|
declare function createMushiServer(config: MushiServerConfig): McpServer;
|
|
83
93
|
declare const SETUP_MODE_TOOLS: readonly ["search_mushi_docs", "get_mushi_doc", "diagnose_setup"];
|
|
84
|
-
declare const MUSHI_CONSOLE_URL = "https://kensaur.us
|
|
94
|
+
declare const MUSHI_CONSOLE_URL = "https://mushi.kensaur.us";
|
|
85
95
|
interface SetupModeServerConfig {
|
|
86
96
|
version: string;
|
|
87
97
|
/** Why there is no key, as printed to stderr (sources checked, config path). */
|