@xpufx/paseo-mcp-tools 0.1.4 → 0.1.5
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/client/mcp-query.tsx +1 -1
- package/client/pill.tsx +2 -2
- package/package.json +1 -1
- package/server/discovery/extract.ts +1 -1
- package/server/health/health.ts +2 -2
- package/server/mcp.ts +1 -1
- package/server/providers/opencode.ts +2 -2
- package/server/settings.ts +1 -1
- package/shared/mcp.ts +1 -1
package/client/mcp-query.tsx
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { REFRESH_INTERVALS, useRpcQuery, type RefreshRate } from "paseo-plugin-helper/
|
|
1
|
+
import { REFRESH_INTERVALS, useRpcQuery, type RefreshRate } from "./vendor/paseo-plugin-helper/index";
|
|
2
2
|
import { checkMcpHealth, listMcp } from "../shared/mcp";
|
|
3
3
|
|
|
4
4
|
export function useMcpQuery(agentId: string) {
|
package/client/pill.tsx
CHANGED
|
@@ -3,7 +3,7 @@ import { Icon, useToast, ScrollView, FlatList, TextInput as HostTextInput, copyT
|
|
|
3
3
|
import {
|
|
4
4
|
initClientHelpers,
|
|
5
5
|
type ComposerPillRegistrar,
|
|
6
|
-
} from "paseo-plugin-helper/
|
|
6
|
+
} from "./vendor/paseo-plugin-helper/index";
|
|
7
7
|
|
|
8
8
|
initClientHelpers({ Icon, Modal, useRpc, useToast, copyText, ScrollView, FlatList, TextInput: HostTextInput });
|
|
9
9
|
import { useMemo, useState } from "react";
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
type RenderModalProps,
|
|
35
35
|
type RenderPillProps,
|
|
36
36
|
type TabItem,
|
|
37
|
-
} from "paseo-plugin-helper/
|
|
37
|
+
} from "./vendor/paseo-plugin-helper/index";
|
|
38
38
|
import { useMcpHealthQuery, useMcpQuery } from "./mcp-query";
|
|
39
39
|
import {
|
|
40
40
|
callMcpTool,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { existsSync } from "node:fs";
|
|
2
2
|
import { readFile } from "node:fs/promises";
|
|
3
|
-
import { redactSecrets, tryParseJsonc } from "paseo-plugin-helper/
|
|
3
|
+
import { redactSecrets, tryParseJsonc } from "../vendor/paseo-plugin-helper/index";
|
|
4
4
|
import type { McpServer, DiagnosticStep } from "./types";
|
|
5
5
|
|
|
6
6
|
export interface CandidatePath {
|
package/server/health/health.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { McpClient } from "paseo-plugin-helper/mcp";
|
|
2
|
-
import { withTimeout } from "paseo-plugin-helper/
|
|
1
|
+
import { McpClient } from "../vendor/paseo-plugin-helper/mcp/index";
|
|
2
|
+
import { withTimeout } from "../../shared/vendor/paseo-plugin-helper/index";
|
|
3
3
|
import type { McpServer } from "../../shared/mcp";
|
|
4
4
|
|
|
5
5
|
// GTD: generic health check that works with *every* MCP.
|
package/server/mcp.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { paseo as paseoProbe } from "./providers/catalog";
|
|
|
11
11
|
import { PLUGIN_VERSION } from "../shared/version";
|
|
12
12
|
// Direct source import. The helper MCP client has zero runtime deps,
|
|
13
13
|
// so no bundling step is needed for the daemon to resolve it.
|
|
14
|
-
import { createPluginLogger, PluginStorage, redactSecrets } from "paseo-plugin-helper/
|
|
14
|
+
import { createPluginLogger, PluginStorage, redactSecrets } from "./vendor/paseo-plugin-helper/index";
|
|
15
15
|
import { checkMany, checkMcpServerHealth, callMcpServerTool } from "./health/health";
|
|
16
16
|
|
|
17
17
|
type McpServer = z.infer<typeof McpServerSchema>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import os from "node:os";
|
|
2
2
|
import path from "node:path";
|
|
3
|
-
import { safeSpawn } from "paseo-plugin-helper/
|
|
4
|
-
import { stripAnsi } from "paseo-plugin-helper/
|
|
3
|
+
import { safeSpawn } from "../vendor/paseo-plugin-helper/index";
|
|
4
|
+
import { stripAnsi } from "../../shared/vendor/paseo-plugin-helper/index";
|
|
5
5
|
import type { McpProbe, ProbeContext, McpServer } from "../discovery/types";
|
|
6
6
|
import { matchesOpencodeFamily } from "./family";
|
|
7
7
|
import { redact } from "../discovery/extract";
|
package/server/settings.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PluginStorage, createSettingsHandlers } from "paseo-plugin-helper/
|
|
1
|
+
import { PluginStorage, createSettingsHandlers } from "./vendor/paseo-plugin-helper/index";
|
|
2
2
|
import { log } from "./mcp";
|
|
3
3
|
import { mcpToolsSettingsContract, type McpToolsSettings } from "../shared/mcp";
|
|
4
4
|
|
package/shared/mcp.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { defineContract, defineSettingsContract } from "paseo-plugin-helper/
|
|
2
|
+
import { defineContract, defineSettingsContract } from "./vendor/paseo-plugin-helper/index";
|
|
3
3
|
|
|
4
4
|
export const McpSourceSchema = z.object({
|
|
5
5
|
kind: z.enum(["project", "repo", "personal", "global", "paseo", "session"]),
|