An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
{
"ID": "20260903150000-s4hctea",
"Spec": "2",
"Type": "NodeDocument",
"Properties": {
"id": "20260903150000-s4hctea",
"title": "Connect to a Remote Kernel",
"type": "doc",
"updated": "20261024164212"
},
"Children": [
{"ID": "20260903150000-mz3r596", "Type": "NodeHeading", "HeadingLevel": 2, "Properties": {"id": "20260903150000-mz3r596", "updated": "20260903150000"}, "Children": [{"Type": "NodeText", "Data": "Overview"}]},
{"ID": "20260903150000-dood0bb", "Type": "NodeParagraph", "Properties": {"id": "20260903150000-dood0bb", "updated": "20260903150000"}, "Children": [{"Type": "NodeText", "Data": "The desktop app can connect to a SiYuan kernel running on another device and use the local desktop interface for editing. Remote mode only connects to an existing kernel and does not start a kernel on the local device."}]},
{"ID": "20260908100358-97gqv2l", "Type": "NodeHeading", "Properties": {"id": "20260908100358-97gqv2l", "updated": "20260914195107"}, "Children": [{"Type": "NodeText", "Data": "Connection methods"}], "HeadingLevel": 2},
{"ID": "20260908104736-op9vzxg", "Type": "NodeHeading", "HeadingLevel": 3, "Properties": {"id": "20260908104736-op9vzxg", "updated": "20260914195107"}, "Children": [{"Type": "NodeText", "Data": "Desktop interface"}]},
{"ID": "20260908100358-kpwyker", "Type": "NodeParagraph", "Properties": {"id": "20260908100358-kpwyker", "updated": "20260914195107"}, "Children": [{"Type": "NodeText", "Data": "In the desktop workspace menu, select "}, {"Type": "NodeTextMark", "TextMarkType": "kbd", "TextMarkTextContent": "Workspaces"}, {"Type": "NodeText", "Data": " - "}, {"Type": "NodeTextMark", "TextMarkType": "kbd", "TextMarkTextContent": "Connect to remote kernel..."}, {"Type": "NodeText", "Data": ", enter the remote server’s HTTPS address, and connect. The address must not contain a path, query, username, or password. The client checks the kernel version and login state, then displays a lock screen password field when authentication is required. You can choose to remember your login."}]},
{"ID": "20260908100358-nvq3oum", "Type": "NodeParagraph", "Properties": {"id": "20260908100358-nvq3oum", "updated": "20260908110648"}, "Children": [{"Type": "NodeText", "Data": "The connection interface lists remote connection history. Select an address to reconnect, change its trust setting, or remove the entry. Removing an entry deletes its address and trust setting without deleting server data, clearing the login session, or revoking permissions from extensions already loaded in the current connection."}]},
{"ID": "20260908100358-67icxqc", "Type": "NodeParagraph", "Properties": {"id": "20260908100358-67icxqc", "updated": "20260908100358"}, "Children": [{"Type": "NodeText", "Data": "Switching connections saves and safely closes the open workspaces, then automatically restarts the desktop client with the selected connection. It does not stop or restart remote kernels. Wait for saving and shutdown to finish."}]},
{"ID": "20260908100358-h2ypcuv", "Type": "NodeParagraph", "Properties": {"id": "20260908100358-h2ypcuv", "updated": "20260914195107"}, "Children": [{"Type": "NodeText", "Data": "The first launch, remote startup, and authentication pages provide access to remote connections. Connection failures open the connection window, where you can edit the address, retry, or select another remote connection. Checks can be canceled. Remote history is stored on the client, and lock screen passwords are not saved as plaintext configuration. GUI connections do not enable remote extension trust by default."}]},
{"ID": "20260903150000-c2oh8cr", "Type": "NodeHeading", "HeadingLevel": 3, "Properties": {"id": "20260903150000-c2oh8cr", "updated": "20260908104736"}, "Children": [{"Type": "NodeText", "Data": "Command line"}]},
{"ID": "20260903150000-601s61t", "Type": "NodeParagraph", "Properties": {"id": "20260903150000-601s61t", "updated": "20260903150000"}, "Children": [{"Type": "NodeText", "Data": "After completely exiting the SiYuan desktop client, start the desktop app from a command line and append "}, {"Type": "NodeTextMark", "TextMarkType": "code", "TextMarkTextContent": "--remote=https://host[:port]"}, {"Type": "NodeText", "Data": ". If an instance is already running, the single-instance mechanism does not switch its current connection."}]},
{"ID": "20260903150000-rir445a", "Type": "NodeHeading", "HeadingLevel": 2, "Properties": {"id": "20260903150000-rir445a", "updated": "20261024164212"}, "Children": [{"Type": "NodeText", "Data": "Security and Version"}]},
{"ID": "20260903150000-0ekr8rg", "Type": "NodeParagraph", "Properties": {"id": "20260903150000-0ekr8rg", "updated": "20261024164212"}, "Children": [
{"Type": "NodeText", "Data": "Only HTTPS remote addresses are supported, and the client operating system must trust the server's TLS certificate. Connect only to a server you trust. The desktop client and remote kernel versions must match exactly; otherwise, the connection is rejected."}
]},
{
"ID": "20261024164212-mhm51l5",
"Type": "NodeParagraph",
"Properties": {
"id": "20261024164212-mhm51l5",
"updated": "20261024164212"
},
"Children": [
{
"Type": "NodeText",
"Data": "The core frontend and sign-in page always come from the client installation package. Remote extension code is disabled by default, and remote HTML embeds are unavailable."
}
]
},
{"ID": "20260908082237-ng9rmna", "Type": "NodeHeading", "Properties": {"id": "20260908082237-ng9rmna", "updated": "20261024164212"}, "Children": [{"Type": "NodeText", "Data": "Trust Remote Extensions"}], "HeadingLevel": 2},
{"ID": "20260908110648-flull9v", "Type": "NodeParagraph", "Properties": {"id": "20260908110648-flull9v", "updated": "20261024164212"}, "Children": [
{"Type": "NodeText", "Data": "Select "},
{"Type": "NodeTextMark", "TextMarkType": "kbd", "TextMarkTextContent": "Trust and load remote plugins and appearance"},
{"Type": "NodeText", "Data": " in the connection interface to load extensions from that server. New addresses and history from earlier versions are untrusted by default. After a successful connection, the choice is saved locally per HTTPS address, including the port, and restored when you next connect to that address through the GUI."}
]},
{
"ID": "20261024164212-urrl6pq",
"Type": "NodeParagraph",
"Properties": {
"id": "20261024164212-urrl6pq",
"updated": "20261024164212"
},
"Children": [
{
"Type": "NodeText",
"Data": "You can also edit it directly in history. Clear the checkbox and reconnect to restart the client without loading that server’s remote extensions. Changing the setting alone does not immediately change the current connection’s permissions."
}
]
},
{"ID": "20260908082237-vrsfycm", "Type": "NodeParagraph", "Properties": {"id": "20260908082237-vrsfycm", "updated": "20261024164212"}, "Children": [
{"Type": "NodeText", "Data": "For command-line use, completely exit the desktop client and start it with "},
{"Type": "NodeTextMark", "TextMarkType": "code", "TextMarkTextContent": "--remote=https://host[:port] --trust-remote-extensions"},
{"Type": "NodeText", "Data": ". This command-line option trusts only the server specified for this launch."}
]},
{
"ID": "20261024164212-7fj1mfw",
"Type": "NodeParagraph",
"Properties": {
"id": "20261024164212-7fj1mfw",
"updated": "20261024164212"
},
"Children": [
{
"Type": "NodeText",
"Data": "It does not change saved GUI trust settings or get added automatically to launch-at-login arguments. Command-line startup does not read GUI trust settings. Starting another instance does not change the running instance’s trust state. To revoke trust, completely exit and start again without this option."
}
]
},
{"ID": "20260908082237-czd7cy0", "Type": "NodeParagraph", "Properties": {"id": "20260908082237-czd7cy0", "updated": "20260908082237"}, "Children": [{"Type": "NodeText", "Data": "Once enabled, plugins, theme scripts, icon scripts, and JavaScript code snippets from the remote workspace execute in the local desktop environment. They can use Node.js to read and write local files and execute programs. Use this option only if you trust the server and the extension code it supplies, including future updates."}]},
{"ID": "20260908082237-9eymwn3", "Type": "NodeParagraph", "Properties": {"id": "20260908082237-9eymwn3", "updated": "20261024164212"}, "Children": [
{"Type": "NodeText", "Data": "This option enables plugins, Bazaar, custom themes, icons, fonts, and code snippets. The bundled frontend, themes, and icons still come from the client. Widgets and the other remote-mode restrictions remain unchanged."}
]},
{
"ID": "20261024164212-06qt01y",
"Type": "NodeParagraph",
"Properties": {
"id": "20261024164212-06qt01y",
"updated": "20261024164212"
},
"Children": [
{
"Type": "NodeText",
"Data": "Plugin code runs on the client while the workspace is on the server. Plugins that depend on local workspace paths, native modules, or external programs may require adaptation; compatibility with every desktop plugin is not guaranteed."
}
]
},
{"ID": "20260929104853-9rh86m3", "Type": "NodeHeading", "Properties": {"id": "20260929104853-9rh86m3", "updated": "20261024164212"}, "Children": [{"Type": "NodeText", "Data": "Document import and export"}], "HeadingLevel": 2},
{"ID": "20260929104853-69ytgab", "Type": "NodeParagraph", "Properties": {"id": "20260929104853-69ytgab", "updated": "20261024164212"}, "Children": [
{"Type": "NodeText", "Data": "Remote mode supports importing SiYuan .sy.zip and Markdown ZIP archives, and exporting documents as SiYuan .sy.zip, Markdown ZIP, images, and HTML ZIP archives. Select an archive on this device to upload it to the remote kernel."}
]},
{
"ID": "20261024164212-wsvlh5b",
"Type": "NodeParagraph",
"Properties": {
"id": "20261024164212-wsvlh5b",
"updated": "20261024164212"
},
"Children": [
{
"Type": "NodeText",
"Data": "Exported files are downloaded through the current connection and saved to a location you choose on this device. Use the import and export menus in the document tree; the new-notebook dialog and data migration dialog also provide archive import."
}
]
},
{"ID": "20260903150000-knpctlf", "Type": "NodeHeading", "HeadingLevel": 2, "Properties": {"id": "20260903150000-knpctlf", "updated": "20260929104853"}, "Children": [{"Type": "NodeText", "Data": "Limitations"}]},
{"ID": "20260903150000-lazpxpz", "Type": "NodeParagraph", "Properties": {"id": "20260903150000-lazpxpz", "updated": "20260903205342"}, "Children": [{"Type": "NodeText", "Data": "Remote mode does not support the following features. Local mode is not affected:"}]},
{
"ID": "20260903150000-x3th06t",
"Type": "NodeList",
"ListData": {},
"Properties": {"id": "20260903150000-x3th06t", "updated": "20260929104853"},
"Children": [
{"ID": "20260903150000-b45enwi", "Type": "NodeListItem", "ListData": {"BulletChar": 42, "Marker": "Kg=="}, "Properties": {"id": "20260903150000-b45enwi", "updated": "20260929104853"}, "Children": [{"ID": "20260903150000-gbt9mdf", "Type": "NodeParagraph", "Properties": {"id": "20260903150000-gbt9mdf", "updated": "20260929104853"}, "Children": [{"Type": "NodeText", "Data": "Direct import of Markdown files or folders and Obsidian vaults; Word and PDF export; full data, configuration, and backup import and export"}]}]},
{"ID": "20260903150000-mzhpk4r", "Type": "NodeListItem", "ListData": {"BulletChar": 42, "Marker": "Kg=="}, "Properties": {"id": "20260903150000-mzhpk4r", "updated": "20260903150000"}, "Children": [{"ID": "20260903150000-88q1701", "Type": "NodeParagraph", "Properties": {"id": "20260903150000-88q1701", "updated": "20260903150000"}, "Children": [{"Type": "NodeText", "Data": "File clipboard operations"}]}]},
{"ID": "20260903150000-5amb0yu", "Type": "NodeListItem", "ListData": {"BulletChar": 42, "Marker": "Kg=="}, "Properties": {"id": "20260903150000-5amb0yu", "updated": "20260903150000"}, "Children": [{"ID": "20260903150000-j9eobwv", "Type": "NodeParagraph", "Properties": {"id": "20260903150000-j9eobwv", "updated": "20260903150000"}, "Children": [{"Type": "NodeText", "Data": "Operations that depend on a client-local path or a server absolute path, such as showing a file in the file manager or dragging in or opening a file by path; normal asset uploads through a file picker remain available"}]}]},
{"ID": "20260903150000-hxh4cr0", "Type": "NodeListItem", "ListData": {"BulletChar": 42, "Marker": "Kg=="}, "Properties": {"id": "20260903150000-hxh4cr0", "updated": "20260908082237"}, "Children": [{"ID": "20260903150000-1f4zzal", "Type": "NodeParagraph", "Properties": {"id": "20260903150000-1f4zzal", "updated": "20260908082237"}, "Children": [{"Type": "NodeText", "Data": "Desktop plugins, Bazaar, and custom appearance are disabled by default; the trust option described above enables remote plugins, Bazaar, custom themes, icons, fonts, and code snippets, while widgets remain unavailable"}]}]},
{"ID": "20260903150000-88njhnb", "Type": "NodeListItem", "ListData": {"BulletChar": 42, "Marker": "Kg=="}, "Properties": {"id": "20260903150000-88njhnb", "updated": "20260903150000"}, "Children": [{"ID": "20260903150000-p2n9ukv", "Type": "NodeParagraph", "Properties": {"id": "20260903150000-p2n9ukv", "updated": "20260903150000"}, "Children": [{"Type": "NodeText", "Data": "Scripts in HTML and SVG blocks, database templates, and JavaScript query embeds are not executed; iframe blocks are unavailable. Chart, diagram, and math rendering results are sanitized"}]}]},
{"ID": "20260903150000-ckttrsj", "Type": "NodeListItem", "ListData": {"BulletChar": 42, "Marker": "Kg=="}, "Properties": {"id": "20260903150000-ckttrsj", "updated": "20260914195107"}, "Children": [{"ID": "20260903150000-8lxisgw", "Type": "NodeParagraph", "Properties": {"id": "20260903150000-8lxisgw", "updated": "20260914195107"}, "Children": [{"Type": "NodeText", "Data": "Lock screen password sign-in only; OIDC sign-in is not supported"}]}]}
]
},
{"ID": "20260903150000-jx7db7j", "Type": "NodeHeading", "HeadingLevel": 2, "Properties": {"id": "20260903150000-jx7db7j", "updated": "20260903150000"}, "Children": [{"Type": "NodeText", "Data": "Lifecycle"}]},
{"ID": "20260903150000-1uxmuev", "Type": "NodeParagraph", "Properties": {"id": "20260903150000-1uxmuev", "updated": "20260903150000"}, "Children": [{"Type": "NodeText", "Data": "Start, stop, restart, upgrade, and switch the workspace of the remote kernel on the server. Closing the desktop client does not stop the remote kernel."}]}
]
}