From 32d90ffdfe2e726d35229a3bf14283c6394c7010 Mon Sep 17 00:00:00 2001 From: crschnick Date: Fri, 15 Aug 2025 13:45:54 +0000 Subject: [PATCH] Small fixes [stage] [arm] --- .../io/xpipe/app/beacon/mcp/McpTools.java | 4 ++++ .../io/xpipe/app/comp/base/MarkdownComp.java | 1 + .../io/xpipe/app/core/AppLayoutModel.java | 2 +- .../java/io/xpipe/app/prefs/McpCategory.java | 2 +- .../xpipe/app/resources/mcp/run_script.json | 7 ++---- dist/changelog/18.0.md | 22 ++++++++++++------- version | 2 +- 7 files changed, 24 insertions(+), 16 deletions(-) diff --git a/app/src/main/java/io/xpipe/app/beacon/mcp/McpTools.java b/app/src/main/java/io/xpipe/app/beacon/mcp/McpTools.java index 8f4ec096d..ed35e41ef 100644 --- a/app/src/main/java/io/xpipe/app/beacon/mcp/McpTools.java +++ b/app/src/main/java/io/xpipe/app/beacon/mcp/McpTools.java @@ -66,6 +66,10 @@ public final class McpTools { continue; } + if (!e.getProvider().includeInConnectionCount()) { + continue; + } + var r = ConnectionResource.builder() .name(e.getName()) .path(DataStorage.get().getStorePath(e).toString()) diff --git a/app/src/main/java/io/xpipe/app/comp/base/MarkdownComp.java b/app/src/main/java/io/xpipe/app/comp/base/MarkdownComp.java index d8266bc9a..3a5c1619e 100644 --- a/app/src/main/java/io/xpipe/app/comp/base/MarkdownComp.java +++ b/app/src/main/java/io/xpipe/app/comp/base/MarkdownComp.java @@ -161,6 +161,7 @@ public class MarkdownComp extends Comp> { if (!WEB_VIEW_SUPPORTED) { var text = new TextArea(); text.setEditable(false); + text.setWrapText(true); markdown.subscribe(s -> { PlatformThread.runLaterIfNeeded(() -> { text.setText(s); diff --git a/app/src/main/java/io/xpipe/app/core/AppLayoutModel.java b/app/src/main/java/io/xpipe/app/core/AppLayoutModel.java index 2531f3c4c..f030ceebf 100644 --- a/app/src/main/java/io/xpipe/app/core/AppLayoutModel.java +++ b/app/src/main/java/io/xpipe/app/core/AppLayoutModel.java @@ -164,7 +164,7 @@ public class AppLayoutModel { } l.add(new Entry( AppI18n.observable("mcp"), - new LabelGraphic.IconGraphic("mdi2c-code-json"), + new LabelGraphic.IconGraphic("mdi2r-robot"), null, () -> DocumentationLink.MCP.open(), null)); diff --git a/app/src/main/java/io/xpipe/app/prefs/McpCategory.java b/app/src/main/java/io/xpipe/app/prefs/McpCategory.java index e1132b81b..02636cff7 100644 --- a/app/src/main/java/io/xpipe/app/prefs/McpCategory.java +++ b/app/src/main/java/io/xpipe/app/prefs/McpCategory.java @@ -64,7 +64,7 @@ public class McpCategory extends AppPrefsCategory { .nameAndDescription("mcpClientConfigurationDetails") .addComp(new TextAreaComp(mcpConfigProp).apply(struc -> { struc.getTextArea().setEditable(false); - struc.getTextArea().setPrefRowCount(11); + struc.getTextArea().setPrefRowCount(12); })) .hide(prefs.enableMcpServer.not())) .buildComp(); diff --git a/app/src/main/resources/io/xpipe/app/resources/mcp/run_script.json b/app/src/main/resources/io/xpipe/app/resources/mcp/run_script.json index 9233cba33..1de1c6a55 100644 --- a/app/src/main/resources/io/xpipe/app/resources/mcp/run_script.json +++ b/app/src/main/resources/io/xpipe/app/resources/mcp/run_script.json @@ -17,11 +17,8 @@ "description": "The working directory" }, "arguments": { - "type": "array", - "properties": { - "type": "string", - "description": "A script argument" - } + "type": "string", + "description": "The optional argument list" } }, "required": [ diff --git a/dist/changelog/18.0.md b/dist/changelog/18.0.md index 264e10d82..b090806a2 100644 --- a/dist/changelog/18.0.md +++ b/dist/changelog/18.0.md @@ -1,4 +1,4 @@ -Note: You should not use this build for any kind of normal use yet. It is mostly for internal testing. Once the PTB branch is stable enough for normal usage, this note will be removed. +XPipe 18 starts a venture into many new environments. It comes with the first cloud provider integration for Hetzner cloud to kickstart the process of integrating common cloud providers directly into XPipe. Furthermore, it comes with a new MCP server functionality to seamlessly integrate XPipe into your AI agent workflows. On top of everything, there are also many new convenience features like the network scan, multiple hostnames, many SSH improvements, and much more. ## MCP server @@ -6,6 +6,8 @@ There is now an MCP server available for XPipe which allows you to perform many Please share your feedback on your experience. +[Documentation page](https://docs.xpipe.io/guide/mcp) + ![MCP config](https://xpipe.io/assets/images/BlogPage/cursor-mcp.png) ![MCP screenshot](https://xpipe.io/assets/images/BlogPage/cursor-chat.png) @@ -38,15 +40,22 @@ The fonts on macOS have been updated with the goal of better readability. If you The build pipeline has been reworked. This might result in unexpected issues that were not caught yet. +## SSH + +- Add support to launch VsCode Insiders and Trae as well in the VsCode SSH launch menu +- Disable SSH host key checking for local network devices +- Rework SSH timeout options to hopefully better handle unexpected connection disruptions +- There is now a new option and improved handling of SSH MOTDs to control whether they should be shown or not +- Fix SSH ProxyCommand not being executed for custom connections +- Fix SSH agent public key setting not working on Linux and macOS due to permissions issue +- Fix SSH gateways not working on systems where username contained a dot +- Fix some terminal connections asking for passwords even if it was entered before if the connection was edited + ## Other - XPipe will now clean any temp files more often -- There is now a new option and improved handling of SSH MOTDs to control whether they should be shown or not - Tailscale connections are now a top-level entry and can be synced via git - Add more documentation links to the settings menu -- Improve vscode launch menu to be more compact -- Add support to launch VsCode Insiders and Trae as well in the vscode launch menu -- Disable SSH host key checking for local network devices - Proxmox entries are now ordered by their vmid - Kitty and WezTerm now also support the tabs or windows settings option for terminals - Any small changes such as a change in color other connection are now synced instantly @@ -56,17 +65,14 @@ The build pipeline has been reworked. This might result in unexpected issues tha ## Fixes -- Fix SSH ProxyCommand not being executed for custom connections - Fix bitwarden on Windows sometimes requiring the master password multiple times - Fix restart button not working on Linux -- Fix SSH gateways not working on systems where username contained a dot - Fix file browser execute action on Windows not being limited to certain file types - Fix file browser refresh of single files failing on Windows systems - Fix file browser execute action not showing confirmation dialog if enabled - Fix file browser not supporting dollar signs in directory names - Fix file browser conflict dialog being cut off - Fix license check becoming invalid if xpipe was left running for more than a week -- Fix some terminal connections asking for passwords even if it was entered before if the connection was edited - Fix tunnel restart sometimes resulting in an invalid tunnel state - Fix small parts of the UI moving a bit on hover - Fix performance issue when opening connection chooser dropdown diff --git a/version b/version index 7e5f9ca2a..766528328 100644 --- a/version +++ b/version @@ -1 +1 @@ -18.0-17 +18.0-18