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": "20230808120347-3cob0nb",
"Spec": "2",
"Type": "NodeDocument",
"Properties": {
"id": "20230808120347-3cob0nb",
"title": "数据同步",
"type": "doc",
"updated": "20261026115057"
},
"Children": [
{
"ID": "20230808120347-wx5cr4v",
"Type": "NodeHeading",
"HeadingLevel": 2,
"Properties": {
"id": "20230808120347-wx5cr4v",
"updated": "20261012014930"
},
"Children": [
{
"Type": "NodeText",
"Data": "概述"
}
]
},
{
"ID": "20230808120347-q4v034g",
"Type": "NodeParagraph",
"Properties": {
"id": "20230808120347-q4v034g",
"updated": "20260917202413"
},
"Children": [
{
"Type": "NodeText",
"Data": "数据同步指的是在多个设备上保持 "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "工作空间/data/"
},
{
"Type": "NodeText",
"Data": " 文件夹中的数据在逻辑上保持一致,包括资源文件、自定义图标、第三方主题和图标包、插件、代码片段、模板、挂件和文档数据。按需下载模式允许资源文件的内容暂不保存到本机。"
}
]
},
{
"ID": "20230808120347-qbr56bx",
"Type": "NodeHeading",
"HeadingLevel": 2,
"Properties": {
"id": "20230808120347-qbr56bx",
"updated": "20261024163013"
},
"Children": [
{
"Type": "NodeText",
"Data": "使用方式"
}
]
},
{
"ID": "20230808120347-2p4bc49",
"Type": "NodeParagraph",
"Properties": {
"id": "20230808120347-2p4bc49",
"updated": "20261024161816"
},
"Children": [
{
"Type": "NodeText",
"Data": "先 "
},
{
"Type": "NodeTextMark",
"TextMarkType": "block-ref",
"TextMarkBlockRefID": "20220615113758-i2279ot",
"TextMarkBlockRefSubtype": "s",
"TextMarkTextContent": "初始化数据仓库密钥"
},
{
"Type": "NodeText",
"Data": ",再选择云端存储、配置同步目标并启用同步。不熟悉配置时,可点击同步按钮打开向导,按提示完成设置。"
}
]
},
{
"ID": "20230808120347-n3vxtba",
"Type": "NodeList",
"ListData": {},
"Properties": {
"id": "20230808120347-n3vxtba",
"updated": "20220708101339"
},
"Children": [
{
"ID": "20230808120347-kmv8g3m",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20230808120347-kmv8g3m",
"updated": "20220708101329"
},
"Children": [
{
"ID": "20230808120347-mthf707",
"Type": "NodeParagraph",
"Properties": {
"id": "20230808120347-mthf707",
"updated": "20220708101330"
},
"Children": [
{
"Type": "NodeText",
"Data": "如果需要暂停同步,可关闭选项 "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "设置"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "账号与同步"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "启用云端同步"
}
]
}
]
},
{
"ID": "20230808120347-2m0pkdb",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20230808120347-2m0pkdb",
"updated": "20220708101339"
},
"Children": [
{
"ID": "20230808120347-cslq6vc",
"Type": "NodeParagraph",
"Properties": {
"id": "20230808120347-cslq6vc",
"updated": "20220708101339"
},
"Children": [
{
"Type": "NodeTextMark",
"TextMarkType": "block-ref",
"TextMarkBlockRefID": "20210928094544-vg2c2ts",
"TextMarkBlockRefSubtype": "s",
"TextMarkTextContent": "忽略文件"
}
]
}
]
}
]
},
{
"ID": "20230808120347-qytpdxh",
"Type": "NodeParagraph",
"Properties": {
"id": "20230808120347-qytpdxh",
"updated": "20220831004438"
},
"Children": [
{
"Type": "NodeText",
"Data": ""
},
{
"Type": "NodeTextMark",
"TextMarkType": "tag",
"TextMarkTextContent": "注意"
},
{
"Type": "NodeText",
"Data": ":"
}
]
},
{
"ID": "20230808120347-y41kxh2",
"Type": "NodeList",
"ListData": {},
"Properties": {
"id": "20230808120347-y41kxh2",
"updated": "20261024163013"
},
"Children": [
{
"ID": "20230808120347-xthfmk7",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20230808120347-xthfmk7",
"updated": "20230220103623"
},
"Children": [
{
"ID": "20230808120347-p3dn7n3",
"Type": "NodeParagraph",
"Properties": {
"id": "20230808120347-p3dn7n3",
"updated": "20230220103623"
},
"Children": [
{
"Type": "NodeText",
"Data": "启用同步前,请确保参与同步的所有设备系统时间一致"
}
]
}
]
},
{
"ID": "20230808120347-3l72g5v",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20230808120347-3l72g5v",
"updated": "20261024163013"
},
"Children": [
{
"ID": "20230808120347-4mlag9e",
"Type": "NodeParagraph",
"Properties": {
"id": "20230808120347-4mlag9e",
"updated": "20261024163013"
},
"Children": [
{
"Type": "NodeText",
"Data": "如果数据量较大,建议通过 "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "设置"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "应用"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "数据"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "导出 Data"
},
{
"Type": "NodeText",
"Data": " 导出数据包,传输到新设备后,在该设备的同一设置页面使用 "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "导入 Data"
},
{
"Type": "NodeText",
"Data": ",最后再配置同步"
}
]
}
]
}
]
},
{
"ID": "20261011151543-be59rg9",
"Type": "NodeHeading",
"HeadingLevel": 3,
"Properties": {
"id": "20261011151543-be59rg9",
"updated": "20261016111431"
},
"Children": [
{
"Type": "NodeText",
"Data": "配置第三方同步"
}
]
},
{
"ID": "20261011151543-x2jg56f",
"Type": "NodeParagraph",
"Properties": {
"id": "20261011151543-x2jg56f",
"updated": "20261016111431"
},
"Children": [
{
"Type": "NodeText",
"Data": "在 "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "设置"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "账号与同步"
},
{
"Type": "NodeText",
"Data": " 中选择 S3、WebDAV 或本地文件系统,再点击同步服务配置一行的设置按钮。本地文件系统支持桌面标准内核和 Docker 内核,移动内核不提供此选项;路径属于内核所在机器或容器,不是浏览器所在设备的目录。填写完整后点击 "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "保存"
},
{
"Type": "NodeText",
"Data": "。输入过程中不会保存,关闭有修改的表单时会询问是否放弃草稿。"
}
]
},
{
"ID": "20261020224352-ftr760i",
"Type": "NodeParagraph",
"Properties": {
"id": "20261020224352-ftr760i",
"updated": "20261020224352"
},
"Children": [
{
"Type": "NodeText",
"Data": "保存前可点击 "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "测试连接"
},
{
"Type": "NodeText",
"Data": " 检查当前 S3、WebDAV 或本地文件系统配置草稿,测试不会保存配置。WebDAV 会检查建目录和探针读写权限,本地文件系统会检查目录读写权限,结束后尽力清理探针。测试失败时可根据提示修改后重试,已保存的配置会保留。"
}
]
},
{
"ID": "20261011151543-p38jv4a",
"Type": "NodeParagraph",
"Properties": {
"id": "20261011151543-p38jv4a",
"updated": "20261011151543"
},
"Children": [
{
"Type": "NodeText",
"Data": "停止使用某个服务时,可在其配置弹窗中点击 "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "清除配置"
},
{
"Type": "NodeText",
"Data": " 并确认。这会删除已保存的地址和凭据;如果它是当前同步服务,还会关闭同步。本地笔记和云端数据会保留。"
}
]
},
{
"ID": "20261011151543-986cazk",
"Type": "NodeParagraph",
"Properties": {
"id": "20261011151543-986cazk",
"updated": "20261011151543"
},
"Children": [
{
"Type": "NodeText",
"Data": "如果当前来源的资源或历史快照尚未补齐,修改来源或清除配置会被阻止。请恢复原同步源的访问并完成全部下载后重试。保存或清除失败时,生效配置和草稿都会保留。"
}
]
},
{
"ID": "20261020231029-gzbucu8",
"Type": "NodeParagraph",
"Properties": {
"id": "20261020231029-gzbucu8",
"updated": "20261021104922"
},
"Children": [
{
"Type": "NodeText",
"Data": "自动同步通常在后台进行,不会弹出面板或打断编辑。点击同步图标可查看当前文件、已写入字节数、速度和预计剩余时间。"
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "收起详情"
},
{
"Type": "NodeText",
"Data": " 可收起进度详情,点击 "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "同步"
},
{
"Type": "NodeText",
"Data": " 可重新展开。仅在应用本地改动、恢复索引及刷新相关文档期间暂停编辑;取消后的恢复也需完成后才能继续编辑。点击 "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "取消"
},
{
"Type": "NodeText",
"Data": " 可请求取消准备、网络传输或文件恢复。"
}
]
},
{
"ID": "20261020231029-obrohrp",
"Type": "NodeParagraph",
"Properties": {
"id": "20261020231029-obrohrp",
"updated": "20261020231029"
},
"Children": [
{
"Type": "NodeText",
"Data": "取消后会保留已完成的文件并清理当前临时文件,可以再次同步以完成剩余内容。空间不足时,请释放空间后重试。启动或恢复文件前会清理可确认归属的中断同步临时文件,并提示释放的容量。"
}
]
},
{
"ID": "20260905184908-5o1vhpi",
"Type": "NodeHeading",
"HeadingLevel": 2,
"Properties": {
"id": "20260905184908-5o1vhpi",
"updated": "20260905191024"
},
"Children": [
{
"Type": "NodeText",
"Data": "资源文件下载"
}
]
},
{
"ID": "20260905184908-hlr159c",
"Type": "NodeParagraph",
"Properties": {
"id": "20260905184908-hlr159c",
"updated": "20260905184908"
},
"Children": [
{
"Type": "NodeText",
"Data": "可在 "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "设置"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "账号与同步"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "资源文件下载"
},
{
"Type": "NodeText",
"Data": " 中选择全部下载或按需下载,设置仅作用于当前设备。"
}
]
},
{
"ID": "20260905184908-9m2nksl",
"Type": "NodeParagraph",
"Properties": {
"id": "20260905184908-9m2nksl",
"updated": "20260905184908"
},
"Children": [
{
"Type": "NodeText",
"Data": "全部下载是默认模式。按需下载仍会完整同步文档、数据库定义和资源文件清单,在展示图片、音视频、PDF 等内容或打开资源链接时下载所需资源文件。加密笔记本资源仍需解锁后访问。"
}
]
},
{
"ID": "20260905184908-88bc5es",
"Type": "NodeParagraph",
"Properties": {
"id": "20260905184908-88bc5es",
"updated": "20260905184908"
},
"Children": [
{
"Type": "NodeText",
"Data": "已下载的资源文件会保留在本机,并在后续同步时继续更新。启用按需下载不会清理已有文件,也不会立即释放已有占用。"
}
]
},
{
"ID": "20260905184908-k9wkzqk",
"Type": "NodeParagraph",
"Properties": {
"id": "20260905184908-k9wkzqk",
"updated": "20260905191024"
},
"Children": [
{
"Type": "NodeText",
"Data": "未下载的资源文件离线不可用,无法获取时会报错。切换为全部下载会先补齐当前资源文件及所有保留的本地快照所需内容,因此也可能下载历史版本;下载失败时保留原模式,可以恢复连接后重试。"
}
]
},
{
"ID": "20260905184908-cv88hsn",
"Type": "NodeParagraph",
"Properties": {
"id": "20260905184908-cv88hsn",
"updated": "20260905184908"
},
"Children": [
{
"Type": "NodeText",
"Data": "按需模式的本地快照可能依赖云端,不能视为完整离线备份。完整快照下载,以及需要资源文件内容的导出和恢复操作,会先补齐对应资源文件,无法取得时明确报错。"
}
]
},
{
"ID": "20260905184908-84gaare",
"Type": "NodeParagraph",
"Properties": {
"id": "20260905184908-84gaare",
"updated": "20260905184908"
},
"Children": [
{
"Type": "NodeText",
"Data": "更换同步目标、重置数据仓库或使用旧版本打开此工作空间前,请先切换为全部下载并完成下载,避免失去未下载资源文件的获取途径。"
}
]
},
{
"ID": "20261012014537-e8z1u63",
"Type": "NodeHeading",
"Properties": {
"id": "20261012014537-e8z1u63",
"updated": "20261012014859"
},
"Children": [
{
"Type": "NodeText",
"Data": "主题和图标"
}
],
"HeadingLevel": 2
},
{
"ID": "20260917190844-x6jwutu",
"Type": "NodeParagraph",
"Properties": {
"id": "20260917190844-x6jwutu",
"updated": "20260918195936"
},
"Children": [
{
"Type": "NodeText",
"Data": "主题和图标包的文件、更新和卸载会在设备间同步,各设备独立选择使用的主题和图标。包内图片、字体等资源始终完整下载。同步、删除和冲突与插件、挂件、模板共用文件级规则。恢复的快照中没有某个包时,该包会被删除。"
}
]
},
{
"ID": "20230808120347-buiv5yn",
"Type": "NodeHeading",
"HeadingLevel": 2,
"Properties": {
"id": "20230808120347-buiv5yn",
"updated": "20261024163013"
},
"Children": [
{
"Type": "NodeText",
"Data": "同步模式"
}
]
},
{
"ID": "20230808120347-fwrmpx3",
"Type": "NodeParagraph",
"Properties": {
"id": "20230808120347-fwrmpx3",
"updated": "20261024163013"
},
"Children": [
{
"Type": "NodeText",
"Data": "在 "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "设置"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "账号与同步"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "云端同步模式"
},
{
"Type": "NodeText",
"Data": " 中支持三种同步模式:"
}
]
},
{
"ID": "20230808120347-amosggq",
"Type": "NodeList",
"ListData": {},
"Properties": {
"id": "20230808120347-amosggq",
"updated": "20261016111431"
},
"Children": [
{
"ID": "20230808120347-7xxyobg",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20230808120347-7xxyobg",
"updated": "20261016111431"
},
"Children": [
{
"ID": "20230808120347-nwozegn",
"Type": "NodeParagraph",
"Properties": {
"id": "20230808120347-nwozegn",
"updated": "20230219121007"
},
"Children": [
{
"Type": "NodeText",
"Data": "自动同步"
}
]
},
{
"ID": "20230808120347-l1b7vtd",
"Type": "NodeList",
"ListData": {},
"Properties": {
"id": "20230808120347-l1b7vtd",
"updated": "20261016111431"
},
"Children": [
{
"ID": "20230808120347-7yo5dux",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20230808120347-7yo5dux",
"updated": "20261016111431"
},
"Children": [
{
"ID": "20230808120347-33fgevw",
"Type": "NodeParagraph",
"Properties": {
"id": "20230808120347-33fgevw",
"updated": "20261016111431"
},
"Children": [
{
"Type": "NodeText",
"Data": "启动和正常退出时会进行一次同步,使用中本地数据停止变动后,按配置的间隔进行同步,默认间隔为 30 秒"
}
]
}
]
},
{
"ID": "20230808120347-k9w4s4e",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20230808120347-k9w4s4e",
"updated": "20230219121045"
},
"Children": [
{
"ID": "20230808120347-tixrpss",
"Type": "NodeParagraph",
"Properties": {
"id": "20230808120347-tixrpss",
"updated": "20230219121045"
},
"Children": [
{
"Type": "NodeText",
"Data": "由同步算法决定数据合并和覆盖,请参考下述工作原理介绍"
}
]
}
]
}
]
}
]
},
{
"ID": "20230808120347-vzxk1jz",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20230808120347-vzxk1jz",
"updated": "20230219121049"
},
"Children": [
{
"ID": "20230808120347-1gxchhr",
"Type": "NodeParagraph",
"Properties": {
"id": "20230808120347-1gxchhr",
"updated": "20230219120922"
},
"Children": [
{
"Type": "NodeText",
"Data": "手动同步"
}
]
},
{
"ID": "20230808120347-no67dio",
"Type": "NodeList",
"ListData": {},
"Properties": {
"id": "20230808120347-no67dio",
"updated": "20230219121049"
},
"Children": [
{
"ID": "20230808120347-5cx2eby",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20230808120347-5cx2eby"
},
"Children": [
{
"ID": "20230808120347-1wfzyl4",
"Type": "NodeParagraph",
"Properties": {
"id": "20230808120347-1wfzyl4",
"updated": "20230219120927"
},
"Children": [
{
"Type": "NodeText",
"Data": "仅启动和退出时进行一次同步,使用中需要手动触发同步"
}
]
}
]
},
{
"ID": "20230808120347-gq4mmhp",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20230808120347-gq4mmhp",
"updated": "20230219121049"
},
"Children": [
{
"ID": "20230808120347-zsvwvg9",
"Type": "NodeParagraph",
"Properties": {
"id": "20230808120347-zsvwvg9",
"updated": "20230219121049"
},
"Children": [
{
"Type": "NodeText",
"Data": "由同步算法决定数据合并和覆盖,请参考下述工作原理介绍"
}
]
}
]
}
]
}
]
},
{
"ID": "20230808120347-mzynq44",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20230808120347-mzynq44"
},
"Children": [
{
"ID": "20230808120347-zlxogea",
"Type": "NodeParagraph",
"Properties": {
"id": "20230808120347-zlxogea",
"updated": "20230219120848"
},
"Children": [
{
"Type": "NodeText",
"Data": "完全手动同步:启动和退出时均不同步,完全手动控制同步时机和同步方向"
}
]
}
]
}
]
},
{
"ID": "20261026111206-4b3zwsx",
"Type": "NodeParagraph",
"Properties": {
"id": "20261026111206-4b3zwsx",
"updated": "20261026115057"
},
"Children": [
{
"Type": "NodeText",
"Data": "退出等待超过 12 秒时,可以选择「跳过同步并退出」,确认后取消同步并完成退出。未同步的更改会保留在本机;取消确认则继续等待同步完成。"
}
]
},
{
"ID": "20230808120347-lptnyvq",
"Type": "NodeHeading",
"HeadingLevel": 2,
"Properties": {
"id": "20230808120347-lptnyvq",
"updated": "20261016111431"
},
"Children": [
{
"Type": "NodeText",
"Data": "自动/手动同步模式工作原理"
}
]
},
{
"ID": "20230808120347-o64blc2",
"Type": "NodeParagraph",
"Properties": {
"id": "20230808120347-o64blc2",
"updated": "20220703225614"
},
"Children": [
{
"Type": "NodeText",
"Data": "思源通过对比云端数据快照和本地数据快照进行相应操作:"
}
]
},
{
"ID": "20230808120347-j4bqb3a",
"Type": "NodeList",
"ListData": {},
"Properties": {
"id": "20230808120347-j4bqb3a",
"updated": "20260918195936"
},
"Children": [
{
"ID": "20230808120347-7uvkzsb",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20230808120347-7uvkzsb",
"updated": "20210901163356"
},
"Children": [
{
"ID": "20230808120347-dx8pr4f",
"Type": "NodeParagraph",
"Properties": {
"id": "20230808120347-dx8pr4f",
"updated": "20220703230507"
},
"Children": [
{
"Type": "NodeText",
"Data": "如果快照相同则忽略本次同步"
}
]
}
]
},
{
"ID": "20230808120347-pvyr15g",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20230808120347-pvyr15g",
"updated": "20260918195936"
},
"Children": [
{
"ID": "20230808120347-5e92ogb",
"Type": "NodeParagraph",
"Properties": {
"id": "20230808120347-5e92ogb",
"updated": "20220703230630"
},
"Children": [
{
"Type": "NodeText",
"Data": "如果快照不同,则将本地距离上次同步的变更上传到云端,将云端最新的变更合并到本地"
}
]
},
{
"ID": "20230808120347-vb1ee0l",
"Type": "NodeList",
"ListData": {},
"Properties": {
"id": "20230808120347-vb1ee0l",
"updated": "20260918195936"
},
"Children": [
{
"ID": "20230808120347-fbsghqb",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20230808120347-fbsghqb"
},
"Children": [
{
"ID": "20230808120347-cvefpca",
"Type": "NodeParagraph",
"Properties": {
"id": "20230808120347-cvefpca",
"updated": "20220703230650"
},
"Children": [
{
"Type": "NodeText",
"Data": "如果两端的变更没有冲突则直接合并"
}
]
}
]
},
{
"ID": "20230808120347-7p8pzdq",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20230808120347-7p8pzdq",
"updated": "20260918195936"
},
"Children": [
{
"ID": "20230808120347-t5n8fkj",
"Type": "NodeParagraph",
"Properties": {
"id": "20230808120347-t5n8fkj",
"updated": "20260918195936"
},
"Children": [
{
"Type": "NodeText",
"Data": "文件发生冲突时,以本地为准覆盖云端,同时拉取到的云端冲突文件会归入数据历史;主题和图标文件也遵循此规则"
}
]
}
]
}
]
}
]
}
]
},
{
"ID": "20230808120347-piwm6s0",
"Type": "NodeParagraph",
"Properties": {
"id": "20230808120347-piwm6s0",
"updated": "20230219121719"
},
"Children": [
{
"Type": "NodeText",
"Data": "自动同步时间间隔算法描述如下:"
}
]
},
{
"ID": "20230808120347-3afa1j8",
"Type": "NodeList",
"ListData": {},
"Properties": {
"id": "20230808120347-3afa1j8",
"updated": "20261016111431"
},
"Children": [
{
"ID": "20230808120347-9gjv9e4",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20230808120347-9gjv9e4",
"updated": "20261016111431"
},
"Children": [
{
"ID": "20230808120347-sx4xflq",
"Type": "NodeParagraph",
"Properties": {
"id": "20230808120347-sx4xflq",
"updated": "20261016111431"
},
"Children": [
{
"Type": "NodeText",
"Data": "从最后一次数据变动开始,按 "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "设置"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "账号与同步"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "同步间隔"
},
{
"Type": "NodeText",
"Data": " 安排同步,默认 30 秒,可设为 30 至 43200 秒;继续变动会重新开始等待"
}
]
}
]
},
{
"ID": "20230808120347-uu8mf5z",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20230808120347-uu8mf5z",
"updated": "20261016111431"
},
"Children": [
{
"ID": "20230808120347-tm5aosj",
"Type": "NodeParagraph",
"Properties": {
"id": "20230808120347-tm5aosj",
"updated": "20261016111431"
},
"Children": [
{
"Type": "NodeText",
"Data": "没有检测到数据变化时,会延长自动检查间隔;再次发生数据变化后,按配置的同步间隔重新安排同步"
}
]
}
]
}
]
},
{
"ID": "20261016111431-zi9x0zz",
"Type": "NodeHeading",
"HeadingLevel": 2,
"Properties": {
"id": "20261016111431-zi9x0zz",
"updated": "20261016111710"
},
"Children": [
{
"Type": "NodeText",
"Data": "同步感知与局域网加速"
}
]
},
{
"ID": "20261016111431-2cccmpf",
"Type": "NodeParagraph",
"Properties": {
"id": "20261016111431-2cccmpf",
"updated": "20261016111710"
},
"Children": [
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "设置"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "账号与同步"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "同步感知"
},
{
"Type": "NodeText",
"Data": " 利用思源官方云端的信号,在自动模式下更及时地触发同步。Docker 内核不提供同步感知;它不会绕过手动或完全手动模式,也不能消除编辑冲突。"
}
]
},
{
"ID": "20261016111431-2qiwp8z",
"Type": "NodeParagraph",
"Properties": {
"id": "20261016111431-2qiwp8z",
"updated": "20261016111431"
},
"Children": [
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "设置"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "账号与同步"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "局域网同步加速"
},
{
"Type": "NodeText",
"Data": " 优先从局域网内可达、使用相同仓库密钥和云端同步目标的设备下载加密数据对象。云端存储仍是同步权威来源,局域网传输不可用时会回退到云端,因此不能替代为完全离线的点对点同步。Docker 内核不提供局域网加速;局域网通知仅在自动模式下触发同步。"
}
]
},
{
"ID": "20230808120347-w8dfrmf",
"Type": "NodeHeading",
"HeadingLevel": 2,
"Properties": {
"id": "20230808120347-w8dfrmf",
"updated": "20261016111431"
},
"Children": [
{
"Type": "NodeText",
"Data": "自动同步模式场景例举"
}
]
},
{
"ID": "20230808120347-92sa9pr",
"Type": "NodeParagraph",
"Properties": {
"id": "20230808120347-92sa9pr",
"updated": "20261016111431"
},
"Children": [
{
"Type": "NodeText",
"Data": "为减少冲突,请先在设备 A 上完成同步,再在设备 B 上同步完成后开始编辑。同时编辑同一文件可能产生冲突并使一个版本覆盖另一个版本;同步感知和局域网加速也不能消除这种风险。"
}
]
},
{
"ID": "20230808120347-dec0dhv",
"Type": "NodeHeading",
"HeadingLevel": 3,
"Properties": {
"id": "20230808120347-dec0dhv",
"updated": "20261016111431"
},
"Children": [
{
"Type": "NodeText",
"Data": "正常场景"
}
]
},
{
"ID": "20230808120347-0t8dl3b",
"Type": "NodeList",
"ListData": {
"Typ": 1
},
"Properties": {
"id": "20230808120347-0t8dl3b",
"updated": "20261016111431"
},
"Children": [
{
"ID": "20230808120347-hoyv0c6",
"Type": "NodeListItem",
"ListData": {
"Typ": 1,
"Delimiter": 46,
"Marker": "MS4=",
"Num": 1
},
"Properties": {
"id": "20230808120347-hoyv0c6",
"updated": "20261016111431"
},
"Children": [
{
"ID": "20230808120347-pnaqfwp",
"Type": "NodeParagraph",
"Properties": {
"id": "20230808120347-pnaqfwp",
"updated": "20261016111431"
},
"Children": [
{
"Type": "NodeText",
"Data": "在设备 A 上编辑后执行同步并等待完成,将变更上传到云端"
}
]
}
]
},
{
"ID": "20230808120347-f6n68f0",
"Type": "NodeListItem",
"ListData": {
"Typ": 1,
"Delimiter": 46,
"Marker": "Mi4=",
"Num": 2
},
"Properties": {
"id": "20230808120347-f6n68f0",
"updated": "20261016111431"
},
"Children": [
{
"ID": "20230808120347-r17i3kh",
"Type": "NodeParagraph",
"Properties": {
"id": "20230808120347-r17i3kh",
"updated": "20261016111431"
},
"Children": [
{
"Type": "NodeText",
"Data": "在设备 B 上开始编辑前先同步并等待完成,取得设备 A 的变更"
}
]
}
]
},
{
"ID": "20230808120347-8r0pu6k",
"Type": "NodeListItem",
"ListData": {
"Typ": 1,
"Delimiter": 46,
"Marker": "My4=",
"Num": 3
},
"Properties": {
"id": "20230808120347-8r0pu6k",
"updated": "20261016111431"
},
"Children": [
{
"ID": "20230808120347-cxnduxx",
"Type": "NodeParagraph",
"Properties": {
"id": "20230808120347-cxnduxx",
"updated": "20261016111431"
},
"Children": [
{
"Type": "NodeText",
"Data": "在设备 B 上编辑后再次同步,等待其变更上传到云端"
}
]
}
]
},
{
"ID": "20230808120347-x5cb7aq",
"Type": "NodeListItem",
"ListData": {
"Typ": 1,
"Delimiter": 46,
"Marker": "NC4=",
"Num": 4
},
"Properties": {
"id": "20230808120347-x5cb7aq",
"updated": "20261016111431"
},
"Children": [
{
"ID": "20230808120347-099ii2x",
"Type": "NodeParagraph",
"Properties": {
"id": "20230808120347-099ii2x",
"updated": "20261016111431"
},
"Children": [
{
"Type": "NodeText",
"Data": "回到设备 A 后先同步取得设备 B 的变更,再继续编辑"
}
]
}
]
}
]
},
{
"ID": "20230808120347-5crduzj",
"Type": "NodeParagraph",
"Properties": {
"id": "20230808120347-5crduzj",
"updated": "20261016111431"
},
"Children": [
{
"Type": "NodeText",
"Data": "交替编辑并确认每次同步成功,可以减少冲突并帮助两台设备保持一致。"
}
]
},
{
"ID": "20230808120347-2ir9q3j",
"Type": "NodeHeading",
"HeadingLevel": 3,
"Properties": {
"id": "20230808120347-2ir9q3j",
"updated": "20261016111431"
},
"Children": [
{
"Type": "NodeText",
"Data": "冲突场景"
}
]
},
{
"ID": "20230808120347-7b58yr8",
"Type": "NodeList",
"ListData": {
"Typ": 1
},
"Properties": {
"id": "20230808120347-7b58yr8",
"updated": "20261016111431"
},
"Children": [
{
"ID": "20230808120347-8zop0b9",
"Type": "NodeListItem",
"ListData": {
"Typ": 1,
"Delimiter": 46,
"Marker": "MS4=",
"Num": 1
},
"Properties": {
"id": "20230808120347-8zop0b9",
"updated": "20261016111431"
},
"Children": [
{
"ID": "20230808120347-mhivq6o",
"Type": "NodeParagraph",
"Properties": {
"id": "20230808120347-mhivq6o",
"updated": "20261016111431"
},
"Children": [
{
"Type": "NodeText",
"Data": "设备 A 编辑文件 a 后完成同步"
}
]
}
]
},
{
"ID": "20230808120347-drznd8r",
"Type": "NodeListItem",
"ListData": {
"Typ": 1,
"Delimiter": 46,
"Marker": "Mi4=",
"Num": 2
},
"Properties": {
"id": "20230808120347-drznd8r",
"updated": "20261016111431"
},
"Children": [
{
"ID": "20230808120347-s36sg66",
"Type": "NodeParagraph",
"Properties": {
"id": "20230808120347-s36sg66",
"updated": "20261016111431"
},
"Children": [
{
"Type": "NodeText",
"Data": "设备 B 尚未取得 A 的变更就编辑自己的旧版文件 a,然后执行同步"
}
]
}
]
},
{
"ID": "20230808120347-msh8db8",
"Type": "NodeListItem",
"ListData": {
"Typ": 1,
"Delimiter": 46,
"Marker": "My4=",
"Num": 3
},
"Properties": {
"id": "20230808120347-msh8db8",
"updated": "20221009104351"
},
"Children": [
{
"ID": "20230808120347-vbx3gpm",
"Type": "NodeParagraph",
"Properties": {
"id": "20230808120347-vbx3gpm",
"updated": "20221009104351"
},
"Children": [
{
"Type": "NodeText",
"Data": "此时云端 a 文件会被 B 设备上的 a 覆盖,同时在 B 设备上生成之前 A 设备 a 的历史"
}
]
}
]
}
]
},
{
"ID": "20230808120347-yy5m46r",
"Type": "NodeHeading",
"HeadingLevel": 2,
"Properties": {
"id": "20230808120347-yy5m46r",
"updated": "20261016111431"
},
"Children": [
{
"Type": "NodeTextMark",
"TextMarkType": "tag",
"TextMarkTextContent": "注意"
}
]
},
{
"ID": "20230808120347-um16u4f",
"Type": "NodeList",
"ListData": {},
"Properties": {
"id": "20230808120347-um16u4f",
"updated": "20261016111431"
},
"Children": [
{
"ID": "20230808120347-5j8ihgi",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20230808120347-5j8ihgi",
"updated": "20220420100248"
},
"Children": [
{
"ID": "20230808120347-fr63cm5",
"Type": "NodeParagraph",
"Properties": {
"id": "20230808120347-fr63cm5",
"updated": "20220420100248"
},
"Children": [
{
"Type": "NodeText",
"Data": "睡眠或关机等突然断网的情况下不会触发同步,请手动点击同步按钮进行同步"
}
]
}
]
},
{
"ID": "20230808120347-sampfbn",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20230808120347-sampfbn",
"updated": "20210721160123"
},
"Children": [
{
"ID": "20230808120347-ibgzf8o",
"Type": "NodeParagraph",
"Properties": {
"id": "20230808120347-ibgzf8o",
"updated": "20210721160123"
},
"Children": [
{
"Type": "NodeText",
"Data": "请勿同时使用第三方同步盘和思源同步,可能会导致数据损坏"
}
]
}
]
},
{
"ID": "20260614203346-ezgc1h8",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20260614203346-ezgc1h8",
"updated": "20260614203347"
},
"Children": [
{
"ID": "20260614203346-9lo6xlu",
"Type": "NodeParagraph",
"Properties": {
"id": "20260614203346-9lo6xlu",
"updated": "20260614203347"
},
"Children": [
{
"Type": "NodeText",
"Data": "思源会自动检测工作空间是否位于第三方同步目录下,如果检测到会强制退出以防止数据损坏"
}
]
}
]
},
{
"ID": "20230808120347-g4y6u9o",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20230808120347-g4y6u9o",
"updated": "20220807180028"
},
"Children": [
{
"ID": "20230808120347-rbe32cd",
"Type": "NodeParagraph",
"Properties": {
"id": "20230808120347-rbe32cd",
"updated": "20220807180028"
},
"Children": [
{
"Type": "NodeText",
"Data": "符号链接和隐藏文件不会被同步"
}
]
}
]
},
{
"ID": "20231120211520-p8tb9wg",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20231120211520-p8tb9wg",
"updated": "20231120213300"
},
"Children": [
{
"ID": "20231120211520-1xtrwfh",
"Type": "NodeParagraph",
"Properties": {
"id": "20231120211520-1xtrwfh",
"updated": "20231120213300"
},
"Children": [
{
"Type": "NodeText",
"Data": "自动同步模式下,如需退出,请使用正常的退出应用(比如移动端 APP 不要使用滑动移除,桌面端不要使用结束进程强制关闭)方式以保证数据同步执行"
}
]
}
]
},
{
"ID": "20231120211807-pzxmsee",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20231120211807-pzxmsee",
"updated": "20261016111431"
},
"Children": [
{
"ID": "20231120211807-n24g7wl",
"Type": "NodeParagraph",
"Properties": {
"id": "20231120211807-n24g7wl",
"updated": "20231120211921"
},
"Children": [
{
"Type": "NodeText",
"Data": "数据同步前进行数据快照如果耗时超过 12 秒会提示清理数据仓库,如果需要改动默认耗时,可通过如下两种方式"
}
]
},
{
"ID": "20231120211944-fvla0hc",
"Type": "NodeList",
"ListData": {},
"Properties": {
"id": "20231120211944-fvla0hc",
"updated": "20231120212046"
},
"Children": [
{
"ID": "20231120211944-ol64svy",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20231120211944-ol64svy",
"updated": "20231120211944"
},
"Children": [
{
"ID": "20231120211944-4edb9kx",
"Type": "NodeParagraph",
"Properties": {
"id": "20231120211944-4edb9kx",
"updated": "20231120211944"
},
"Children": [
{
"Type": "NodeText",
"Data": "环境变量 "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "SIYUAN_SYNC_INDEX_TIMING"
},
{
"Type": "NodeText",
"Data": ",例如 "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "SIYUAN_SYNC_INDEX_TIMING=30000"
},
{
"Type": "NodeText",
"Data": ",单位是毫秒"
}
]
}
]
},
{
"ID": "20231120211944-5yhw1vi",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20231120211944-5yhw1vi",
"updated": "20231120212046"
},
"Children": [
{
"ID": "20231120211944-chb1tvm",
"Type": "NodeParagraph",
"Properties": {
"id": "20231120211944-chb1tvm",
"updated": "20231120212046"
},
"Children": [
{
"Type": "NodeText",
"Data": "直接修改 工作空间/conf/conf.json 中的 "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "repo.syncIndexTiming"
},
{
"Type": "NodeText",
"Data": ""
}
]
}
]
}
]
},
{
"ID": "20231120211944-m955a64",
"Type": "NodeParagraph",
"Properties": {
"id": "20231120211944-m955a64",
"updated": "20261016111431"
},
"Children": [
{
"Type": "NodeText",
"Data": "最小值只能配置为 "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "12000"
},
{
"Type": "NodeText",
"Data": "(12 秒),最大值不限制;启动时会优先读取环境变量覆盖 conf 文件中的值"
}
]
}
]
}
]
}
]
}