mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-12-01 12:34:06 +01:00
Move the MCP server into Rust, hosted by the app and yaak mcp (#752)
This commit is contained in:
1 parent
b6c1f700f1
commit
72b43f7110
35 files changed
+2501
-61
No files matched your search
@@ -67,6 +67,7 @@ const ALL_CAPABILITIES: PlatformCapabilities = {
|
||||
clipboardRead: true,
|
||||
systemFonts: true,
|
||||
license: true,
|
||||
agents: true,
|
||||
};
|
||||
|
||||
function createWindow(): PlatformWindow {
|
||||
|
||||
@@ -313,6 +313,8 @@ export interface PlatformCapabilities {
|
||||
systemFonts: boolean;
|
||||
/** Commercial licence activation. */
|
||||
license: boolean;
|
||||
/** Connecting local AI agents: the Yaak CLI on this machine and the app's own MCP server. */
|
||||
agents: boolean;
|
||||
}
|
||||
|
||||
export type CapabilityName = keyof PlatformCapabilities;
|
||||
@@ -72,6 +72,8 @@ function capabilitiesFor(): PlatformCapabilities {
|
||||
clipboardRead: false,
|
||||
systemFonts: false,
|
||||
license: false,
|
||||
// No local CLI to find and no app process to serve MCP from.
|
||||
agents: false,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user