You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 224086e
Browse filesBrowse the repository at this point in the historyBrowse files
When no nodes are paired, file-transfer tools now fail before node alias resolution with an actionable message instead of generic unknown-node retries. The paired-node schema wording also steers agents away from local/host/gateway/auto guesses.\n\nFixes #91482.
"Existing paired node id, display name, or IP shown by nodes status. Do not use local, host, gateway, or auto; use local file/exec tools for local workspace paths.";
25
+
23
26
exportconstFileFetchToolSchema=Type.Object({
24
27
node: Type.String({
25
-
description: "Node id, name, or IP. Resolves the same way as the nodes tool.",
28
+
description: PAIRED_NODE_DESCRIPTION,
26
29
}),
27
30
path: Type.String({
28
31
description: "Absolute path to the file on the node. Canonicalized server-side.",
"Retrieve a structured directory listing from a paired node. Returns file and subdirectory metadata (name, path, size, mimeType, isDir, mtime) without transferring file content. Use this to discover what files exist before fetching them with file_fetch. Pagination is offset-based; pass nextPageToken from the previous result. Requires operator opt-in: gateway.nodes.allowCommands must include 'dir.list' AND plugins.entries.file-transfer.config.nodes.<node>.allowReadPaths must match the directory path. Without policy configured, every call is denied.",
74
+
"Retrieve a structured directory listing from a paired node, not the local workspace. Returns file and subdirectory metadata (name, path, size, mimeType, isDir, mtime) without transferring file content. Use this to discover what files exist before fetching them with file_fetch. Pagination is offset-based; pass nextPageToken from the previous result. Requires operator opt-in: gateway.nodes.allowCommands must include 'dir.list' AND plugins.entries.file-transfer.config.nodes.<node>.allowReadPaths must match the directory path. Without policy configured, every call is denied.",
72
75
parameters: DirListToolSchema,
73
76
};
74
77
75
78
exportconstDirFetchToolSchema=Type.Object({
76
79
node: Type.String({
77
-
description: "Node id, name, or IP. Resolves the same way as the nodes tool.",
80
+
description: PAIRED_NODE_DESCRIPTION,
78
81
}),
79
82
path: Type.String({
80
83
description: "Absolute path to the directory on the node to fetch. Canonicalized server-side.",
0 commit comments