@life-os/opc-cli 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/opc.mjs CHANGED
@@ -7,6 +7,8 @@ import { createRequire as __WEBPACK_EXTERNAL_createRequire } from "module";
7
7
  /************************************************************************/
8
8
  var __webpack_exports__ = {};
9
9
 
10
+ ;// CONCATENATED MODULE: ./package.json
11
+ const package_namespaceObject = {"rE":"0.1.6"};
10
12
  ;// CONCATENATED MODULE: ./dist/args.js
11
13
  const KV_RE = /^-{0,2}([\w-]+)=(.*)$/s;
12
14
  const FLAG_RE = /^--([\w-]+)$/;
@@ -16,7 +18,9 @@ function parseArgs(argv) {
16
18
  const opts = {};
17
19
  const flags = new Set();
18
20
  const positionals = [];
19
- for (const token of rest) {
21
+ const valueFlags = new Set(['vault', 'dept', 'department', 'format']);
22
+ for (let i = 0; i < rest.length; i += 1) {
23
+ const token = rest[i];
20
24
  const kv = KV_RE.exec(token);
21
25
  if (kv) {
22
26
  opts[kv[1]] = kv[2];
@@ -24,7 +28,14 @@ function parseArgs(argv) {
24
28
  }
25
29
  const flag = FLAG_RE.exec(token);
26
30
  if (flag) {
27
- flags.add(flag[1]);
31
+ const next = rest[i + 1];
32
+ if (valueFlags.has(flag[1]) && next && !next.startsWith('--')) {
33
+ opts[flag[1]] = next;
34
+ i += 1;
35
+ }
36
+ else {
37
+ flags.add(flag[1]);
38
+ }
28
39
  continue;
29
40
  }
30
41
  positionals.push(token);
@@ -320,9 +331,9 @@ const promises_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.ur
320
331
  // Source of truth: packages/skill-assets/lifeos-skills/, packages/skill-assets/opc-skill/,
321
332
  // and packages/skill-assets/aino-curated-skills/.
322
333
  // Re-run `pnpm -C packages/skill-assets generate` (or just `build`).
323
- const generated_LIFEOS_SKILL_VERSION = '0.2.0';
324
- const OPC_SKILL_VERSION = '0.2.0';
325
- const LIFEOS_SKILL_BUNDLE_CONTENT_HASH = 'fnv1a64-a05b9e0f095233a8';
334
+ const generated_LIFEOS_SKILL_VERSION = '0.2.5';
335
+ const OPC_SKILL_VERSION = '0.2.5';
336
+ const LIFEOS_SKILL_BUNDLE_CONTENT_HASH = 'fnv1a64-3bdb05c8616dd6f2';
326
337
  const LIFEOS_SKILL_NAMES = [
327
338
  'aino-web',
328
339
  'lifeos',
@@ -332,12 +343,12 @@ const LIFEOS_SKILL_NAMES = [
332
343
  'lifeos-today',
333
344
  ];
334
345
  const LIFEOS_SKILL_CONTENT_HASHES = {
335
- 'aino-web': 'fnv1a64-cde2e6fdd8b44391',
336
- lifeos: 'fnv1a64-ab91f7405f67e89a',
337
- 'lifeos-board': 'fnv1a64-9546936db959c59f',
338
- 'lifeos-content': 'fnv1a64-d2f1c13f9927767d',
339
- 'lifeos-onboarding': 'fnv1a64-98c889666e0fee77',
340
- 'lifeos-today': 'fnv1a64-586b5b85c40b1261',
346
+ 'aino-web': 'fnv1a64-f7be93ccc8ceae2b',
347
+ lifeos: 'fnv1a64-ce4e6bbef6f2b920',
348
+ 'lifeos-board': 'fnv1a64-a6b0f87d79d1006c',
349
+ 'lifeos-content': 'fnv1a64-7962f1fbc095c7c1',
350
+ 'lifeos-onboarding': 'fnv1a64-011db18448d1cea1',
351
+ 'lifeos-today': 'fnv1a64-5d6cd5eaaa9eee83',
341
352
  };
342
353
  const OPC_SKILL_CONTENT_HASH = 'fnv1a64-91e0be0dbacd3e3c';
343
354
  const generated_AINO_CURATED_SKILL_NAMES = (/* unused pure expression or super */ null && ([
@@ -353,55 +364,56 @@ const generated_AINO_CURATED_SKILL_CONTENT_HASHES = {
353
364
  spreadsheets: 'fnv1a64-f16a01a412c2c2ff',
354
365
  };
355
366
  const LIFEOS_SKILL_BUNDLE_FILES = {
356
- 'aino-web/SKILL.md': "---\nname: aino-web\ndescription: '提到 Aino Web / aino web、LifeOS Web / lifeos web 或 Aino 工作台时使用:启动或复用当前库的本机 LifeOS CLI 服务,返回可点击链接。Aino Web 和 LifeOS Web 指同一个本地工作台,不是 aino.ai 网站。也用于显示编辑器、日历或查看当前库。'\n---\n\n# 打开 Aino Web\n\n这是 LifeOS 共享工作台的启动入口。先读取同一安装包中的\n[启动与客户端打开规则](../lifeos/references/web-workbench.md),按用户当前项目执行,\n不要只解释操作方法。\n\n`aino web` 和 `lifeos web` 是同一个入口的别名,不要求用户显式说“打开”或“使用 Skill”。仅提到 `LifeOS` 时由同包 `lifeos` Skill 按当前宿主提供这个入口,不复制启动实现。\n\n“打开 aino web”不是搜索网站的请求。不要猜测或导航到 `aino.ai`、`aino.com` 等公网域名,也不要向这些站点输入密码。只打开已核对属于当前本机库的服务实际返回的 `http://127.0.0.1:<port>/...` URL。\n\n默认在回复中返回 Markdown 链接 `[打开 Aino Web](服务实际输出的 URL)`,让用户点击。启动时保持 `open=none`,不主动唤起系统浏览器。点击后由客户端决定打开位置,不承诺一定内嵌。宿主提供网页打开工具时可额外自动展开;无需为此反复搜索工具、申请额外权限或修改全局设置。客户端内使用实际 HTTP 页面,不生成替代 HTML 预览。\n\n1. 从客户端当前项目或用户指定路径取得本机绝对目录;没有目录上下文时询问目录。\n2. 核验可用的 LifeOS CLI 包含 `web`,显式传入 `vault=`。优先使用本机已确认的候选入口;不要用旧 npm 包覆盖候选。\n3. 使用客户端持续终端启动服务,保留进程;仅复用已确认属于同一目录的服务。\n4. 服务实际监听且库身份确认后,返回对应视图的可点击链接,简短说明“服务已就绪,点击打开”。自动展开能力按下方客户端规则作为可选增强;失败仍保留链接。\n5. 仅在取得页面证据时报告实际打开位置和视图;仅返回链接时不声称页面已显示。启动失败则报告具体原因,不输出猜测的可用链接。\n\n本入口与 `lifeos` 共用 CLI、服务及 UI,不要求 MCP Apps。\n固定网站收藏只能打开正在运行的服务;它不能代替启动流程。\n当前客户端没有本机命令能力时,明确给出本机启动命令,不假装已启动。\n\n## 服务何时停止\n\n当前知识库名称始终显示在工作台标题栏,点击可切换知识库或“停止工作台”。停止前先保存笔记;其他页面仍连接或任务仍在运行时会拒绝停止。所有页面断开后保留 10 分钟;期间重新打开或刷新可继续使用。到期仍有任务时等待任务结束再退出。未曾打开的服务也会在空闲 10 分钟后退出。停止后需要再次通过 LifeOS Skill 启动,旧链接不会自动启动服务。复用地址前须确认服务仍可用且绑定的是当前库,不能把其他库的旧链接当作当前库。\n",
367
+ 'aino-web/SKILL.md': "---\nname: aino-web\ndescription: 'Open the Aino Web workbench for an explicit Aino Web, LifeOS Web or Aino workspace request through the local LifeOS CLI.'\n---\n\n# 打开 Aino Web\n\n这是 LifeOS 共享工作台的启动入口。先读取同一安装包中的\n[启动与客户端打开规则](../lifeos/references/web-workbench.md),按用户当前项目执行,\n不要只解释操作方法。\n\n`aino web` 和 `lifeos web` 是同一个入口的别名,不要求用户显式说“打开”或“使用 Skill”。For a bare “LifeOS” or a generic vault-opening request, use the LifeOS Skill to choose the editor for that vault.\n\n“打开 aino web”不是搜索网站的请求。不要猜测或导航到 `aino.ai`、`aino.com` 等公网域名,也不要向这些站点输入密码。只打开已核对属于当前本机库的服务实际返回的 `http://127.0.0.1:<port>/...` URL。\n\n默认在回复中返回 Markdown 链接 `[打开 Aino Web](服务实际输出的 URL)`,让用户点击。启动时保持 `open=none`,不主动唤起系统浏览器。点击后由客户端决定打开位置,不承诺一定内嵌。宿主提供网页打开工具时可额外自动展开;无需为此反复搜索工具、申请额外权限或修改全局设置。客户端内使用实际 HTTP 页面,不生成替代 HTML 预览。\n\n1. 从客户端当前项目或用户指定路径取得本机绝对目录;没有目录上下文时询问目录。\n2. 核验可用的 LifeOS CLI 包含 `web`,显式传入 `vault=`。优先使用本机已确认的候选入口;不要用旧 npm 包覆盖候选。\n3. 使用客户端持续终端启动服务,保留进程;仅复用已确认属于同一目录的服务。\n4. 服务实际监听且库身份确认后,返回对应视图的可点击链接,简短说明“服务已就绪,点击打开”。自动展开能力按下方客户端规则作为可选增强;失败仍保留链接。\n5. 仅在取得页面证据时报告实际打开位置和视图;仅返回链接时不声称页面已显示。启动失败则报告具体原因,不输出猜测的可用链接。\n\n本入口与 `lifeos` 共用 CLI、服务及 UI,不要求 MCP Apps。\n固定网站收藏只能打开正在运行的服务;它不能代替启动流程。\n当前客户端没有本机命令能力时,明确给出本机启动命令,不假装已启动。\n\n## 服务何时停止\n\n当前知识库名称始终显示在工作台标题栏,点击可切换知识库或“停止工作台”。停止前先保存笔记;其他页面仍连接或任务仍在运行时会拒绝停止。所有页面断开后保留 10 分钟;期间重新打开或刷新可继续使用。到期仍有任务时等待任务结束再退出。未曾打开的服务也会在空闲 10 分钟后退出。停止后需要再次通过 LifeOS Skill 启动,旧链接不会自动启动服务。复用地址前须确认服务仍可用且绑定的是当前库,不能把其他库的旧链接当作当前库。\n",
357
368
  'aino-web/agents/openai.yaml': 'interface:\n display_name: "打开 Aino Web"\n short_description: "启动或复用当前库的本地工作台,返回可点击的 Aino Web 链接"\n default_prompt: "使用 $aino-web 启动或复用当前本机项目的 Aino Web 服务,确认就绪后返回可点击的「打开 Aino Web」链接。"\n',
358
- 'lifeos-board/SKILL.md': "---\nname: lifeos-board\ndescription: 'Inspect and reason about LifeOS Workflow or PARA boards through the `lifeos` CLI without Aino Desktop. Use for AI board analysis, Input/Projects/Tasks/Output flow, Projects/Areas/Resources/Archives structure, bottlenecks, stalled work, theme notes, topic workspaces, or safe project/theme tag wiring. Do not use for daily planning or vault onboarding.'\n---\n\n# LifeOS Board\n\nRead [`../lifeos/SKILL.md`](../lifeos/SKILL.md) first for host selection, vault\nresolution, association rules and write safety.\n\n## Inspect the visible model\n\nChoose the board from the user's intent or detected profile:\n\n```bash\nnpx -y @life-os/cli board mode=workflow --json\nnpx -y @life-os/cli board mode=para --json\n```\n\n- `workflow` returns Input, Projects, open Tasks and Output.\n- `para` returns Projects, Areas, Resources and Archives.\n\nGround analysis in returned column totals, bounded items and `sources`. Identify\nthe clearest bottleneck, no more than three worthwhile next steps, and any\nblocker or tradeoff that needs confirmation. A board read never authorizes\nmoving, creating, tagging or editing an item.\n\n## Work with themes\n\nRead [`references/theme-notes.md`](references/theme-notes.md) before creating or\nediting a project, area, resource, archive or topic workspace. Use time-oriented\nnotes for a day/week/month/quarter/year and theme notes for a durable subject.\n\nCreate indexes from the resolved template and verify its advanced-list blocks\nafter writing. Repair existing indexes by merging missing blocks, preserving\ncustom queries and content; the reference above defines the checks.\n\nTreat theme tags as optional user-owned associations. Never infer one from the\nactive file, a nearby project, related search results or the only visible theme.\n\n## Boundaries\n\n- Use [`../lifeos-today/SKILL.md`](../lifeos-today/SKILL.md) for daily planning,\n due work, recent activity and weekly review.\n- Use [`../lifeos-content/SKILL.md`](../lifeos-content/SKILL.md) to synthesize a\n `.AI.md` page or HTML dashboard after the board identifies the target theme.\n- Use [`../lifeos-onboarding/SKILL.md`](../lifeos-onboarding/SKILL.md) when the\n Workflow/PARA structure does not exist or must change profiles.\n",
369
+ 'lifeos-board/SKILL.md': '---\nname: lifeos-board\ndescription: \'Inspect and reason about LifeOS Workflow or PARA boards through the `lifeos` CLI without Aino Desktop. Use for AI board analysis, Input/Projects/Tasks/Output flow, Projects/Areas/Resources/Archives structure, bottlenecks, stalled work, theme notes, topic workspaces, or safe project/theme tag wiring. Do not use for daily planning or vault onboarding.\'\n---\n\n# LifeOS Board\n\nRead [`../lifeos/SKILL.md`](../lifeos/SKILL.md) first for host selection, vault\nresolution, association rules and write safety.\n\n## Inspect the visible model\n\nAlways query the board through the read-only CLI view first (with explicit\n`vault=` when a vault path is given) instead of manually scanning directories\nby eye. Choose the board from the user\'s intent or detected profile:\n\n```bash\nnpx -y @life-os/cli board mode=workflow vault="<vault>" --json\nnpx -y @life-os/cli board mode=para vault="<vault>" --json\n```\n\n- `workflow` returns Input, Projects, open Tasks and Output.\n- `para` returns Projects, Areas, Resources and Archives.\n\nGround analysis in returned column totals, bounded items and `sources`. Identify\nthe clearest bottleneck, no more than three worthwhile next steps, and any\nblocker or tradeoff that needs confirmation. A board read never authorizes\nmoving, creating, tagging or editing an item.\n\n## Work with themes\n\nRead [`references/theme-notes.md`](references/theme-notes.md) before creating or\nediting a project, area, resource, archive or topic workspace. Use time-oriented\nnotes for a day/week/month/quarter/year and theme notes for a durable subject.\n\nCreate indexes from the resolved template and verify its advanced-list blocks\nafter writing. Repair existing indexes by merging missing blocks, preserving\ncustom queries and content; the reference above defines the checks.\n\nTreat theme tags as optional user-owned associations. Never infer one from the\nactive file, a nearby project, related search results or the only visible theme.\n\n## Boundaries\n\n- Use [`../lifeos-today/SKILL.md`](../lifeos-today/SKILL.md) for daily planning,\n due work, recent activity and weekly review.\n- Use [`../lifeos-content/SKILL.md`](../lifeos-content/SKILL.md) to synthesize a\n `.AI.md` page or HTML dashboard after the board identifies the target theme.\n- Use [`../lifeos-onboarding/SKILL.md`](../lifeos-onboarding/SKILL.md) when the\n Workflow/PARA structure does not exist or must change profiles.\n',
359
370
  'lifeos-board/agents/openai.yaml': "interface:\n display_name: 'LifeOS Board'\n short_description: 'Analyze Workflow and PARA board bottlenecks'\n default_prompt: 'Use $lifeos-board to analyze the current workflow board.'\n",
360
371
  'lifeos-board/references/theme-notes.md': '# Theme notes and tag wiring\n\nUse this reference when creating or maintaining a project, area, resource,\narchive or another subject-based LifeOS workspace.\n\n## Theme model\n\nA theme note is the durable subject workspace. PARA is the common shape:\n\n- **Project / 项目**: a concrete outcome, normally with a completion condition.\n- **Area / 领域**: an ongoing responsibility or standard to maintain.\n- **Resource / 资源**: reusable knowledge or material about a topic.\n- **Archive / 归档**: inactive work and its reusable conclusions or assets.\n- **Theme / 主题**: a generic subject when PARA does not fit.\n\nThe theme tag is the subject\'s unique association key. Tagged tasks, bullets and\nfiles across periodic notes and the vault can be indexed back into the theme.\nFolders hold durable medium/long-form material; tags connect short distributed\nrecords.\n\n## Select associations safely\n\nReuse a theme tag only when the user explicitly selected the association, the\noriginal content already contains it, or a durable user preference authorizes\nautomatic association. A relevant active note, search hit or unique visible\nproject is only a candidate.\n\nIf a new task or capture could belong to a theme but the association is not\nconfirmed, complete and verify the requested write without the tag, then ask a\nshort follow-up. On confirmation, update the same record rather than creating a\nduplicate.\n\nBefore inventing a new tag, inspect the target theme note and existing tag\nvocabulary:\n\n```bash\nnpx -y @life-os/cli search query="主题名" type=file\nnpx -y @life-os/cli search query="主题名" type=tag\nnpx -y @life-os/cli read path="exact/theme/index.md"\n```\n\n## Create from the configured template\n\nResolve the vault with `config` and read the selected template before writing.\nProject/theme index notes must retain that template\'s structure, including its\nadvanced-list blocks. A title, goal, task list or hand-written README alone is\nnot a template-created index, even when created for an Agent delegation.\n\n- Resolve the directory from the selected type and the filename from\n `paraIndexFilename` or `themeIndexFilename`: `folderName` means `<name>.md`;\n `readme` accepts `README.md` and `<prefix>.README.md`. Reuse the actual\n existing name; when creating, follow the host/vault naming convention. Check\n existing indexes before choosing a path;\n do not rename an existing entry or create a second index as part of a repair.\n- Resolve the template from `projectsTemplateFilePath`, `areasTemplateFilePath`,\n `resourcesTemplateFilePath`, `archivesTemplateFilePath` or\n `themesTemplateFilePath`. If unset, select the type directory\'s `Template.md`.\n The updated CLI rejects missing explicit templates and propagates read errors;\n an intentionally empty template is used as-is. Only an absent conventional\n directory template uses the built-in default. Compare the returned\n `templatePath` with the selected file. Older installed CLI versions can silently\n fall back even for broken explicit paths, so verify the receipt and saved note\n rather than assuming the installed executable includes this fix.\n The actual template is authoritative; do not assume\n all vaults use the same headings, queries or language.\n- Use `theme:create` with an authorized tag to render the template, then append\n the requested goals and working material without replacing the scaffold.\n `type=` accepts `project`, `area`, `resource`, `archive` or `theme`.\n\nFor example, only when config selects `1. 项目`, `folderName`, and the tag is\nalready authorized:\n\n```bash\nnpx -y @life-os/cli theme:create type=project tag="项目/季度OKR" path="1. 项目/季度OKR/季度OKR.md" --json\nnpx -y @life-os/cli read path="1. 项目/季度OKR/季度OKR.md" --json\n```\n\nThe CLI currently requires `tag=`. Do not invent a tag to satisfy this argument.\nIf no tag is authorized, or this host lacks template creation, use an available\ntemplate-rendering path that preserves the scaffold without adding associations.\nIf that cannot be done, prepare the requested content and report the specific\nmissing capability or tag decision; do not silently fall back to a plain index\nor claim template creation succeeded. Mobile confirmation rules still apply.\n\n## Repair and verify index notes\n\nRead the exact existing index and effective template. For a requested repair,\nmerge only missing template sections or blocks; preserve frontmatter, content,\nlinks, task states and customized queries. Recognize existing blocks by their\nquery content, not just heading names. Never append duplicates on a second run,\nreplace the entire note with the template, or copy sample tasks and relative\nsample deadlines into an existing project. Ordinary project edits must preserve\nits existing list blocks. Do not apply this scaffold to every document in a\nproject folder or to tutorial/demo vaults outside the requested scope.\n\nAfter creation, repair or an index rewrite, read the saved file and verify:\n\n- The path and index filename match the selected vault and configuration, or\n the existing entry being repaired.\n- Every advanced-list block in the effective template is present with intact\n fences and query settings. Expected creation variables must be rendered;\n preserve intentional runtime query syntax and unsupported `{{…}}` expressions\n rather than deleting every remaining brace expression.\n Typical LifeOS templates include `TaskListByTag`, `BulletListByTag` and\n `FileListByTag`, with `ArchiveListByTag` in some area templates. These are\n examples, not blocks to force into a custom template that omits them.\n- Compare parsed template frontmatter with the result, including YAML block-list\n tags/aliases and nested or multiline properties. The tag-injection\n helper in older CLI versions can lose structured metadata. The updated helper\n uses YAML document nodes and rejects invalid metadata; still compare template\n fields on readback. If an older host loses fields, use a YAML-aware preserving\n merge rather than repeatedly invoking `theme:create overwrite`.\n- Existing content and authorized tags remain intact. Check the association\n required by the actual query; missing tags must not be guessed. Distinguish\n a restored list block from verified results or working cross-note aggregation.\n\nA successful write receipt alone does not establish these postconditions.\nReport any unverified rendering or association separately from file repair.\n\n## Choose the related surface\n\n- Maintain the Markdown theme note for source knowledge and working material.\n- Generate a sibling `.AI.md` only for a topic/index note; follow\n `../../lifeos-content/references/ai-wiki.md`.\n- Generate a sibling `.html` decision surface only when the user requests a\n theme dashboard; follow\n `../../lifeos-content/references/theme-dashboard.md`.\n- Route multi-record CRUD, forms, filters or repeated operational workflows to\n Aino App Builder; follow\n `../../lifeos-content/references/aino-mini-apps.md`.\n\nDo not silently convert one surface into another. Preserve the source note and\nask when the requested surface is ambiguous.\n',
361
- 'lifeos-content/SKILL.md': '---\nname: lifeos-content\ndescription: \'Find, read, capture, create, and maintain LifeOS knowledge content through the `lifeos` CLI. Use for note or full-text search, precise Markdown reads/appends/creates, importing or pasting material into an existing vault, metadata for image/video/audio/PDF/DOC/PPT attachments, LifeOS AI Wiki `.AI.md` pages, sibling theme HTML dashboards, or deciding whether an interactive workflow belongs in an Aino mini app. Do not use for template/profile migration.\'\n---\n\n# LifeOS Content\n\nRead [`../lifeos/SKILL.md`](../lifeos/SKILL.md) first for host selection, exact\ntargeting, association rules and write safety.\n\n## Locate before writing\n\nUse bounded search and exact reads:\n\n```bash\nnpx -y @life-os/cli search query="keyword" type=content limit=20 --json\nnpx -y @life-os/cli read path="vault/relative/note.md" --json\n```\n\nUse the returned vault-relative path for `append` or `create`. Read and merge\nunknown Frontmatter/body content before `overwrite`. Route time-based capture to\n[`../lifeos-today/SKILL.md`](../lifeos-today/SKILL.md) and durable project/topic\nwork to [`../lifeos-board/SKILL.md`](../lifeos-board/SKILL.md).\n\nWhen the requested file is a project/theme index (including a README used as\nthat index), follow\n[`theme-notes.md`](../lifeos-board/references/theme-notes.md) before writing.\nDo not use generic `create` to bypass its template and advanced-list checks.\nOrdinary documents inside a project folder do not need an index scaffold.\n\n## Choose the content surface\n\n- Non-Markdown attachment tags or properties: read\n [`references/attachment-cards.md`](references/attachment-cards.md). A binary\n file uses a hidden sibling Markdown card; do not invent an `attachment` field.\n- Synthesized topic/index knowledge: read\n [`references/ai-wiki.md`](references/ai-wiki.md) and maintain the sibling\n `.AI.md`, source index and changelog contract.\n- Visual decision surface beside a theme/index note: read\n [`references/theme-dashboard.md`](references/theme-dashboard.md) and reuse\n [`assets/theme-dashboard-skeleton.html`](assets/theme-dashboard-skeleton.html).\n- Persistent interactive multi-record CRUD, forms, filters or repeated\n operations: read [`references/aino-mini-apps.md`](references/aino-mini-apps.md)\n and route development to Aino App Builder.\n\nAn AI Wiki is not a capture or meeting note. A theme dashboard is not a Markdown\nexport. An Aino mini app is not a replacement for Markdown as the business\nsource of truth.\n\n## Boundaries\n\n- Do not read binary content unless another tool actually extracts it.\n- Do not generate or edit Aino App Builder project internals or operate\n `.lifeos/custom-apps` directly.\n- Use [`../lifeos-onboarding/SKILL.md`](../lifeos-onboarding/SKILL.md) when the\n request changes the vault profile or classifies scattered folders.\n',
372
+ 'lifeos-content/SKILL.md': '---\nname: lifeos-content\ndescription: \'Find, read, capture, create, and maintain LifeOS knowledge content through the `lifeos` CLI. Use for note or full-text search, precise Markdown reads/appends/creates, importing or pasting material into an existing vault, metadata for image/video/audio/PDF/DOC/PPT attachments, LifeOS AI Wiki `.AI.md` pages, sibling theme HTML dashboards, or deciding whether an interactive workflow belongs in an Aino mini app. Do not use for template/profile migration.\'\n---\n\n# LifeOS Content\n\nRead [`../lifeos/SKILL.md`](../lifeos/SKILL.md) first for host selection, exact\ntargeting, association rules and write safety.\n\n## Locate before writing\n\nUse bounded search and exact reads:\n\n```bash\nnpx -y @life-os/cli search query="keyword" type=content limit=20 --json\nnpx -y @life-os/cli read path="vault/relative/note.md" --json\n```\n\nUse the returned vault-relative path for `append` or `create`. Read and merge\nunknown Frontmatter/body content before `overwrite`. Route time-based capture to\n[`../lifeos-today/SKILL.md`](../lifeos-today/SKILL.md) and durable project/topic\nwork to [`../lifeos-board/SKILL.md`](../lifeos-board/SKILL.md).\n\nWhen the requested file is a project/theme index (including a README used as\nthat index), follow\n[`theme-notes.md`](../lifeos-board/references/theme-notes.md) before writing.\nDo not use generic `create` to bypass its template and advanced-list checks.\nOrdinary documents inside a project folder do not need an index scaffold.\n\n## Choose the content surface\n\n- Non-Markdown attachment tags or properties: read\n [`references/attachment-cards.md`](references/attachment-cards.md). If the\n user explicitly names an existing card/metadata Markdown file, update that\n exact file directly instead of creating a separate hidden file as a\n substitute; otherwise derive the standard hidden sibling Markdown card\n (`.<complete attachment filename>.md`) without inventing an `attachment` field.\n- Synthesized topic/index knowledge: read\n [`references/ai-wiki.md`](references/ai-wiki.md) and maintain the sibling\n `.AI.md` (with all required frontmatter fields including `topic`, verified on\n readback), source index and changelog contract.\n- Visual decision surface beside a theme/index note: read\n [`references/theme-dashboard.md`](references/theme-dashboard.md) and reuse\n [`assets/theme-dashboard-skeleton.html`](assets/theme-dashboard-skeleton.html).\n- Persistent interactive multi-record CRUD, forms, filters or repeated\n operations: read [`references/aino-mini-apps.md`](references/aino-mini-apps.md)\n and route development to Aino App Builder.\n\nAn AI Wiki is not a capture or meeting note. A theme dashboard is not a Markdown\nexport. An Aino mini app is not a replacement for Markdown as the business\nsource of truth.\n\n## Boundaries\n\n- Do not read binary content unless another tool actually extracts it.\n- Do not generate or edit Aino App Builder project internals or operate\n `.lifeos/custom-apps` directly.\n- Use [`../lifeos-onboarding/SKILL.md`](../lifeos-onboarding/SKILL.md) when the\n request changes the vault profile or classifies scattered folders.\n',
362
373
  'lifeos-content/agents/openai.yaml': "interface:\n display_name: 'LifeOS Content'\n short_description: 'Maintain notes, attachments, AI Wiki, and dashboards'\n default_prompt: 'Use $lifeos-content to find and maintain this LifeOS content.'\n",
363
374
  'lifeos-content/assets/theme-dashboard-skeleton.html': '<!doctype html>\n<html lang="zh-CN">\n <head>\n <meta charset="utf-8" />\n <meta name="viewport" content="width=device-width, initial-scale=1" />\n <title>主题名 Dashboard</title>\n <style>\n :root {\n color-scheme: light dark;\n --bg: #f6f4ef;\n --panel: #fffdf8;\n --panel-soft: #f2eee4;\n --text: #20252d;\n --muted: #667085;\n --line: #d9d1c3;\n --accent: #246a8d;\n --accent-2: #1f8a70;\n --warn: #b58121;\n --bad: #c7513f;\n --good: #247a4d;\n --shadow: 0 16px 40px rgba(32, 37, 45, 0.08);\n }\n @media (prefers-color-scheme: dark) {\n :root {\n --bg: #111418;\n --panel: #1b2027;\n --panel-soft: #242b34;\n --text: #eef2f7;\n --muted: #aab3c1;\n --line: #343c49;\n --accent: #7ab7d8;\n --accent-2: #73d3b5;\n --warn: #f1c56b;\n --bad: #ff8f80;\n --good: #88d7a8;\n --shadow: 0 16px 40px rgba(0, 0, 0, 0.24);\n }\n }\n * {\n box-sizing: border-box;\n }\n body {\n margin: 0;\n background:\n linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px),\n var(--bg);\n background-size: 32px 32px;\n color: var(--text);\n font-family:\n Inter,\n ui-sans-serif,\n system-ui,\n -apple-system,\n BlinkMacSystemFont,\n \'Segoe UI\',\n sans-serif;\n line-height: 1.55;\n }\n .dashboard {\n width: min(1180px, calc(100% - 32px));\n margin: 0 auto;\n padding: 28px 0 42px;\n }\n .topbar,\n .panel,\n .signal {\n background: color-mix(in srgb, var(--panel) 94%, transparent);\n border: 1px solid var(--line);\n border-radius: 8px;\n box-shadow: var(--shadow);\n }\n .topbar {\n padding: 22px;\n }\n .eyebrow,\n .meta,\n .label {\n color: var(--muted);\n font-size: 12px;\n }\n h1,\n h2,\n h3,\n p {\n margin: 0;\n }\n h1 {\n margin: 6px 0 10px;\n font-size: clamp(30px, 4vw, 52px);\n letter-spacing: 0;\n }\n h2 {\n margin-bottom: 12px;\n font-size: 18px;\n }\n h3 {\n margin-bottom: 6px;\n font-size: 14px;\n }\n .pills {\n display: flex;\n flex-wrap: wrap;\n gap: 8px;\n margin-top: 16px;\n }\n .pill {\n display: inline-flex;\n align-items: center;\n max-width: 100%;\n padding: 4px 9px;\n overflow-wrap: anywhere;\n color: var(--muted);\n font-size: 12px;\n border: 1px solid var(--line);\n border-radius: 999px;\n }\n .grid {\n display: grid;\n grid-template-columns: repeat(12, minmax(0, 1fr));\n gap: 14px;\n margin-top: 14px;\n }\n .panel {\n padding: 16px;\n }\n .span-3 {\n grid-column: span 3;\n }\n .span-4 {\n grid-column: span 4;\n }\n .span-6 {\n grid-column: span 6;\n }\n .span-8 {\n grid-column: span 8;\n }\n .span-12 {\n grid-column: span 12;\n }\n .signals {\n display: grid;\n grid-template-columns: repeat(3, minmax(0, 1fr));\n gap: 10px;\n }\n .signal {\n padding: 12px;\n box-shadow: none;\n }\n .metric {\n font-size: 28px;\n font-weight: 750;\n }\n .list {\n display: grid;\n gap: 10px;\n padding: 0;\n margin: 0;\n list-style: none;\n }\n .item {\n padding: 10px 10px 10px 12px;\n background: var(--panel-soft);\n border-left: 3px solid var(--accent);\n border-radius: 6px;\n }\n .item.risk {\n border-left-color: var(--bad);\n }\n table {\n width: 100%;\n font-size: 14px;\n border-collapse: collapse;\n }\n th,\n td {\n padding: 10px 8px;\n text-align: left;\n vertical-align: top;\n border-bottom: 1px solid var(--line);\n }\n th {\n color: var(--muted);\n font-size: 12px;\n font-weight: 650;\n }\n @media (max-width: 760px) {\n .dashboard {\n width: min(100% - 20px, 680px);\n padding-top: 16px;\n }\n .grid,\n .signals {\n grid-template-columns: 1fr;\n }\n .span-3,\n .span-4,\n .span-6,\n .span-8,\n .span-12 {\n grid-column: 1;\n }\n table {\n display: block;\n overflow-x: auto;\n }\n }\n </style>\n </head>\n <body>\n <main class="dashboard">\n <section class="topbar">\n <div class="eyebrow">LifeOS Theme Dashboard</div>\n <h1>主题名</h1>\n <p>一句话说明这个主题当前为什么重要,以及 dashboard 帮用户判断什么。</p>\n <div class="pills" aria-label="Theme metadata">\n <span class="pill">Tag: #主题标签</span>\n <span class="pill">Type: Project / Area / Resource / Archive</span>\n <span class="pill">Source: 主题索引.md</span>\n <span class="pill">Theme: Obsidian system</span>\n <span class="pill">Generated: YYYY-MM-DD</span>\n </div>\n </section>\n\n <section class="grid" aria-label="Dashboard overview">\n <article class="panel span-8">\n <h2>当前状态</h2>\n <p>基于主题索引、AI Wiki、任务/闪念/文件索引和同目录材料,总结当前状态。</p>\n </article>\n\n <article class="panel span-4">\n <h2>关键判断</h2>\n <p>当前最重要的判断或决策框架。没有证据时明确写缺少什么。</p>\n </article>\n\n <article class="panel span-12">\n <h2>索引信号</h2>\n <div class="signals">\n <div class="signal">\n <div class="label">TaskListByTag</div>\n <div class="metric">0</div>\n <p class="meta">No indexed task found</p>\n </div>\n <div class="signal">\n <div class="label">BulletListByTag</div>\n <div class="metric">0</div>\n <p class="meta">No tagged fleeting note found</p>\n </div>\n <div class="signal">\n <div class="label">FileListByTag</div>\n <div class="metric">0</div>\n <p class="meta">No tagged file found</p>\n </div>\n </div>\n </article>\n\n <article class="panel span-6">\n <h2>下一步行动</h2>\n <ul class="list">\n <li class="item">\n <strong>[P1] 具体行动</strong>\n <p class="meta">时间范围 · 负责人或来源 · 相关任务/笔记链接</p>\n </li>\n <li class="item">\n <strong>[P2] 候选行动</strong>\n <p class="meta">理由/证据 · 复查时机 · 缺失信息或验证方式</p>\n </li>\n </ul>\n </article>\n\n <article class="panel span-6">\n <h2>风险与阻塞</h2>\n <ul class="list">\n <li class="item risk">\n <strong>风险</strong>\n <p class="meta">影响 · 触发信号 · 应对方式</p>\n </li>\n </ul>\n </article>\n\n <article class="panel span-6">\n <h2>近期活动</h2>\n <p class="meta">No dated milestone found</p>\n </article>\n\n <article class="panel span-12">\n <h2>材料地图</h2>\n <table>\n <thead>\n <tr>\n <th>材料</th>\n <th>作用</th>\n <th>证据 / 路径</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td>关键笔记</td>\n <td>为什么重要</td>\n <td>主题文件夹/Note.md</td>\n </tr>\n </tbody>\n </table>\n </article>\n </section>\n </main>\n </body>\n</html>\n',
364
- 'lifeos-content/references/ai-wiki.md': '# LifeOS AI Wiki — maintenance rules\n\nA LifeOS vault can host a **distributed AI-maintained wiki**: each topic /\nindex note gets a sibling `{filename}.AI.md` page that synthesises what the\nvault knows about that topic. This file is the authoritative spec for how to\ncreate, update, query and lint those pages.\n\nUse it whenever the user asks you to "整理一下 X 主题"、"更新 AI Wiki"、\n"看看 AI Wiki 怎么说" or anything similar.\n\n## Contents\n\n- [Source scope](#source-scope)\n- [Wiki page schema](#wiki-page-schema)\n- [Ingest flow](#ingest-flow)\n- [Query flow](#query-flow)\n- [Lint flow](#lint-flow)\n- [Out of scope](#out-of-scope)\n\n## Source scope\n\nResolve source directories through `config` and the detected profile. All numbered\nChinese paths below are examples from one vault, not defaults to create in\nanother vault. Discover the existing wiki index and changelog before writing;\nif absent, choose their exact paths within the requested scope, reusing the\nvault\'s language and structure rather than inventing `7 索引/`.\n\n**Do not rewrite source notes** during AI Wiki ingestion unless the user\nexplicitly asks for source-note edits.\n\nOnly **topic or index notes** receive `.AI.md` companions. Do **not** create\n`.AI.md` pages for individual capture notes, articles, imported sources,\nmeeting notes, or other non-index source files. If a source note contains\ndurable knowledge, use an existing authorized topic association or ask before\nadding one; relevance alone does not authorize retagging or moving the source.\n\nCreate companions only for the requested topic/index scope. Derive the sibling\nfrom the actual source basename: `X.md` -> `X.AI.md`, `README.md` ->\n`README.AI.md`, `X.README.md` -> `X.README.AI.md`. Do not use the folder name when\nit differs from the index basename. Section/archive-family overview pages need\nan existing source index and appropriate user scope; do not populate every topic\nor create another companion merely because an example uses a different name.\n\n## Wiki page schema\n\nEvery `.AI.md` page must include this frontmatter:\n\n```yaml\n---\ntype: wiki/主题\nsource: \'[[同目录下的主题/索引笔记]]\'\ncreated: YYYY-MM-DD\nupdated: YYYY-MM-DD\n---\n```\n\nAllowed `type` values:\n\n- `wiki/主题` — cross-source synthesis page\n\nBody convention — **required** sections (in this order):\n\n```markdown\n## 一句话摘要\n\n<one sentence: purpose + current focus>\n\n## 核心判断\n\n- <durable insight 1>\n- <durable insight 2>\n (3–6 bullets; long-lived judgements, not status)\n\n## 材料地图\n\n- N 篇子笔记 (类别 / 类别)\n- 关联主题:[[相关主题.AI]]\n- 关键节点:<recent milestone>\n\n## 复盘\n\n- 做对了:<what worked, why>\n- 做错了:<what didn\'t work, why>\n- 学到:<takeaway worth keeping>\n (short, specific. If a phase just ended, anchor to the period.)\n\n## 下一步行动\n\n- [优先级] <具体动作> — <时间感:本周/本月/下季>\n- [优先级] <具体动作> — <时间感>\n (2–5 bullets. Must be specific, owner-clear, time-anchored.\n The goal of this page is to drive the topic forward,\n not just summarise it.)\n```\n\nThe last two sections — **复盘 / 下一步行动** — are what make this a\nworking wiki instead of an archive. Without them the page just summarises\nthe past; with them it steers the topic.\n\n## Ingest flow\n\nWhen maintaining a topic or index note in the AI Wiki:\n\n1. **Read** the topic/index note and related local context.\n2. **Create or update** the sibling `{filename}.AI.md` page — only when the\n source is a topic or index note.\n3. **Link** to related topic `.AI.md` pages where the relationship is durable.\n4. **Update** the resolved central wiki index with the page link and one-line\n summary.\n5. **Append** an operation entry to the resolved wiki changelog.\n\nRead the page, central index and changelog before updating. Preserve `created`,\nunknown frontmatter and useful manual content; set `updated` to the actual local\nedit date. Use `overwrite` only for a read-and-merged existing page, never for a\nnew page. Replace the existing central-index entry instead of appending a second\nlink; record each completed operation once. On interruption, inspect all three\nfiles and resume only missing steps. Read back the page, index link and log;\nreport partial completion if any step fails. Do not report a full wiki update\nbased on the page write alone.\n\n### Concrete lifeos CLI commands\n\n```bash\n# 1. locate the topic note and confirm vault layout\nnpx -y @life-os/cli config\nnpx -y @life-os/cli search query="学日语" type=file\n\n# 2. read the topic note + any sibling that already exists\nnpx -y @life-os/cli read path="4 资源/学日语/学日语.md"\nnpx -y @life-os/cli read path="4 资源/学日语/学日语.AI.md" # ok if missing — handle the error\n\n# 3. update an existing, read-and-merged sibling; omit overwrite for a new page\nnpx -y @life-os/cli create path="4 资源/学日语/学日语.AI.md" content="---\\ntype: wiki/主题\\nsource: \\"[[学日语]]\\"\\ncreated: 2026-06-07\\nupdated: 2026-06-07\\n---\\n\\n## 一句话摘要\\n..." overwrite\n\n# 4. only if this page has no index entry yet, append under the resolved section\nnpx -y @life-os/cli append path="7 索引/7. AI Wiki 索引.md" section="4 资源" content="- [[4 资源/学日语/学日语.AI|学日语]] — 五十音过关 / 每日 30 分钟 / N4 目标"\n\n# 5. log the operation in the changelog\nnpx -y @life-os/cli append path="7 索引/AI Wiki 变更日志.md" content="- 2026-06-07 update 4 资源/学日语/学日语.AI.md — refreshed core take + materials map"\n```\n\nAlways use `overwrite` on step 3 only after reading the existing page — the\ngoal is incremental synthesis, not blind replacement.\n\n## Query flow\n\nWhen answering from the AI Wiki:\n\n1. **Read the resolved central wiki index first**, when one exists. A missing\n index does not authorize creating one during a read-only query; locate the\n requested topic and its existing companion directly.\n2. **Open** the relevant `.AI.md` pages.\n3. **Read original source files** only when the wiki page is missing, stale,\n or insufficient.\n4. If a query produces durable synthesis, update the relevant topic `.AI.md`\n page **when requested**. Do not create standalone non-topic `.AI.md` pages\n unless the user explicitly overrides this rule.\n\n```bash\nnpx -y @life-os/cli read path="7 索引/7. AI Wiki 索引.md"\nnpx -y @life-os/cli read path="4 资源/学日语/学日语.AI.md"\nnpx -y @life-os/cli search query="五十音" type=content limit=10 # fall back to source scan\n```\n\n## Lint flow\n\nRun these checks during AI Wiki maintenance:\n\n- `.AI.md` pages missing required frontmatter\n- wiki pages not present in the resolved central wiki index\n- `.AI.md` pages attached to non-topic source notes\n- obsolete `updated` dates after content changes\n- orphaned pages with no incoming index link\n- duplicate topic pages that should be merged or cross-linked\n\nUseful one-liners:\n\n```bash\nnpx -y @life-os/cli search query=".AI.md" type=file limit=100 # bounded candidates, not a complete inventory\nnpx -y @life-os/cli search query="type: wiki/" type=content limit=100 # bounded frontmatter candidates\n```\n\nSearch is capped at 100 results and has no pagination flag. Reaching the cap\nmeans coverage is incomplete. For a requested full audit, use a host-supported\ncomplete file inventory or read-only vault-scoped filesystem enumeration,\nexcluding nested demo vaults and system/generated directories outside scope.\nReport the inspected count and any omissions; a sample cannot establish that\nall wiki pages are consistent.\n\n## Out of scope\n\n- Do not generate `.AI.md` for captures, daily / weekly / monthly notes, or\n any individual source note that isn\'t a topic / index.\n- Do not rewrite source notes during ingestion.\n- Do not invent new `type:` values beyond `wiki/主题` without an explicit user\n decision.\n',
375
+ 'lifeos-content/references/ai-wiki.md': '# LifeOS AI Wiki — maintenance rules\n\nA LifeOS vault can host a **distributed AI-maintained wiki**: each topic /\nindex note gets a sibling `{filename}.AI.md` page that synthesises what the\nvault knows about that topic. This file is the authoritative spec for how to\ncreate, update, query and lint those pages.\n\nUse it whenever the user asks you to "整理一下 X 主题"、"更新 AI Wiki"、\n"看看 AI Wiki 怎么说" or anything similar.\n\n## Contents\n\n- [Source scope](#source-scope)\n- [Wiki page schema](#wiki-page-schema)\n- [Ingest flow](#ingest-flow)\n- [Query flow](#query-flow)\n- [Lint flow](#lint-flow)\n- [Out of scope](#out-of-scope)\n\n## Source scope\n\nResolve source directories through `config` and the detected profile. All numbered\nChinese paths below are examples from one vault, not defaults to create in\nanother vault. Discover the existing wiki index and changelog before writing;\nif absent, choose their exact paths within the requested scope, reusing the\nvault\'s language and structure rather than inventing `7 索引/`.\n\n**Do not rewrite source notes** during AI Wiki ingestion unless the user\nexplicitly asks for source-note edits.\n\nOnly **topic or index notes** receive `.AI.md` companions. Do **not** create\n`.AI.md` pages for individual capture notes, articles, imported sources,\nmeeting notes, or other non-index source files. If a source note contains\ndurable knowledge, use an existing authorized topic association or ask before\nadding one; relevance alone does not authorize retagging or moving the source.\n\nCreate companions only for the requested topic/index scope. Derive the sibling\nfrom the actual source basename: `X.md` -> `X.AI.md`, `README.md` ->\n`README.AI.md`, `X.README.md` -> `X.README.AI.md`. Do not use the folder name when\nit differs from the index basename. Section/archive-family overview pages need\nan existing source index and appropriate user scope; do not populate every topic\nor create another companion merely because an example uses a different name.\n\n## Wiki page schema\n\nEvery `.AI.md` page must include all five required frontmatter fields below\n(plus any additional fields explicitly requested by the user):\n\n```yaml\n---\ntype: wiki/主题\ntopic: \'<主题名称>\'\nsource: \'[[同目录下的主题/索引笔记]]\'\ncreated: YYYY-MM-DD\nupdated: YYYY-MM-DD\n---\n```\n\nRequired frontmatter fields:\n\n- `type` — allowed value: `wiki/主题` (cross-source synthesis page)\n- `topic` — standalone topic name matching the subject/theme being synthesized\n- `source` — wikilink to the sibling topic/index source note\n- `created` — creation date (`YYYY-MM-DD`, preserved across updates)\n- `updated` — actual local edit date (`YYYY-MM-DD`)\n\nBody convention — **required** sections (in this order):\n\n```markdown\n## 一句话摘要\n\n<one sentence: purpose + current focus>\n\n## 核心判断\n\n- <durable insight 1>\n- <durable insight 2>\n (3–6 bullets; long-lived judgements, not status)\n\n## 材料地图\n\n- N 篇子笔记 (类别 / 类别)\n- 关联主题:[[相关主题.AI]]\n- 关键节点:<recent milestone>\n\n## 复盘\n\n- 做对了:<what worked, why>\n- 做错了:<what didn\'t work, why>\n- 学到:<takeaway worth keeping>\n (short, specific. If a phase just ended, anchor to the period.)\n\n## 下一步行动\n\n- [优先级] <具体动作> — <时间感:本周/本月/下季>\n- [优先级] <具体动作> — <时间感>\n (2–5 bullets. Must be specific, owner-clear, time-anchored.\n The goal of this page is to drive the topic forward,\n not just summarise it.)\n```\n\nThe last two sections — **复盘 / 下一步行动** — are what make this a\nworking wiki instead of an archive. Without them the page just summarises\nthe past; with them it steers the topic.\n\n## Ingest flow\n\nWhen maintaining a topic or index note in the AI Wiki:\n\n1. **Read** the topic/index note and related local context.\n2. **Create or update** the sibling `{filename}.AI.md` page — only when the\n source is a topic or index note.\n3. **Link** to related topic `.AI.md` pages where the relationship is durable.\n4. **Update** the resolved central wiki index with the page link and one-line\n summary.\n5. **Append** an operation entry to the resolved wiki changelog.\n\nRead the page, central index and changelog before updating. Preserve `created`,\nunknown frontmatter and useful manual content; set `updated` to the actual local\nedit date. Use `overwrite` only for a read-and-merged existing page, never for a\nnew page. Replace the existing central-index entry instead of appending a second\nlink; record each completed operation once. On interruption, inspect all three\nfiles and resume only missing steps.\n\n**Mandatory post-write field and disk verification**: directly read back the\nsaved `.AI.md` page, central wiki index, and changelog from the target vault on\ndisk (never rely on CLI write receipts alone). Explicitly verify every required\nfrontmatter field (`type`, `topic`, `source`, `created`, `updated`, plus any\nuser-requested fields) and all five required body sections (`一句话摘要`,\n`核心判断`, `材料地图`, `复盘`, `下一步行动`) are present and non-empty. Never\nclaim “all fields are complete” without checking each field on the actual saved\nfile; fix any missing field before finishing or report the exact gap. Report\npartial completion if any step fails. Do not report a full wiki update based on\nthe page write alone.\n\n### Concrete lifeos CLI commands\n\n```bash\n# 1. locate the topic note and confirm vault layout\nnpx -y @life-os/cli config vault="<vault>" --json\nnpx -y @life-os/cli search query="学日语" type=file vault="<vault>" --json\n\n# 2. read the topic note + any sibling that already exists\nnpx -y @life-os/cli read path="4 资源/学日语/学日语.md" vault="<vault>" --json\nnpx -y @life-os/cli read path="4 资源/学日语/学日语.AI.md" vault="<vault>" --json # ok if missing — handle the error\n\n# 3. update an existing, read-and-merged sibling; omit overwrite for a new page\nnpx -y @life-os/cli create vault="<vault>" path="4 资源/学日语/学日语.AI.md" content="---\\ntype: wiki/主题\\ntopic: \\"学日语\\"\\nsource: \\"[[学日语]]\\"\\ncreated: 2026-06-07\\nupdated: 2026-06-07\\n---\\n\\n## 一句话摘要\\n..." overwrite --json\n\n# 4. only if this page has no index entry yet, append under the resolved section\nnpx -y @life-os/cli append vault="<vault>" path="7 索引/7. AI Wiki 索引.md" section="4 资源" content="- [[4 资源/学日语/学日语.AI|学日语]] — 五十音过关 / 每日 30 分钟 / N4 目标" --json\n\n# 5. log the operation in the changelog\nnpx -y @life-os/cli append vault="<vault>" path="7 索引/AI Wiki 变更日志.md" content="- 2026-06-07 update 4 资源/学日语/学日语.AI.md — refreshed core take + materials map" --json\n```\n\nAlways use `overwrite` on step 3 only after reading the existing page — the\ngoal is incremental synthesis, not blind replacement.\n\n## Query flow\n\nWhen answering from the AI Wiki:\n\n1. **Read the resolved central wiki index first**, when one exists. A missing\n index does not authorize creating one during a read-only query; locate the\n requested topic and its existing companion directly.\n2. **Open** the relevant `.AI.md` pages.\n3. **Read original source files** only when the wiki page is missing, stale,\n or insufficient.\n4. If a query produces durable synthesis, update the relevant topic `.AI.md`\n page **when requested**. Do not create standalone non-topic `.AI.md` pages\n unless the user explicitly overrides this rule.\n\n```bash\nnpx -y @life-os/cli read path="7 索引/7. AI Wiki 索引.md"\nnpx -y @life-os/cli read path="4 资源/学日语/学日语.AI.md"\nnpx -y @life-os/cli search query="五十音" type=content limit=10 # fall back to source scan\n```\n\n## Lint flow\n\nRun these checks during AI Wiki maintenance:\n\n- `.AI.md` pages missing required frontmatter\n- wiki pages not present in the resolved central wiki index\n- `.AI.md` pages attached to non-topic source notes\n- obsolete `updated` dates after content changes\n- orphaned pages with no incoming index link\n- duplicate topic pages that should be merged or cross-linked\n\nUseful one-liners:\n\n```bash\nnpx -y @life-os/cli search query=".AI.md" type=file limit=100 # bounded candidates, not a complete inventory\nnpx -y @life-os/cli search query="type: wiki/" type=content limit=100 # bounded frontmatter candidates\n```\n\nSearch is capped at 100 results and has no pagination flag. Reaching the cap\nmeans coverage is incomplete. For a requested full audit, use a host-supported\ncomplete file inventory or read-only vault-scoped filesystem enumeration,\nexcluding nested demo vaults and system/generated directories outside scope.\nReport the inspected count and any omissions; a sample cannot establish that\nall wiki pages are consistent.\n\n## Out of scope\n\n- Do not generate `.AI.md` for captures, daily / weekly / monthly notes, or\n any individual source note that isn\'t a topic / index.\n- Do not rewrite source notes during ingestion.\n- Do not invent new `type:` values beyond `wiki/主题` without an explicit user\n decision.\n',
365
376
  'lifeos-content/references/aino-mini-apps.md': "# Aino Desktop AI mini apps\n\nUse this reference when a user asks for an Aino Desktop mini app, custom app,\ninteractive cockpit, tracker, CRM, library or another persistent interface over\nMarkdown data.\n\n## Choose the right surface\n\n- Use a normal note or LifeOS command when the user only needs content, capture,\n tasks, search or a one-off data change.\n- Use a sibling theme HTML dashboard when one theme needs a mostly read-only,\n source-backed decision surface that can live as one standalone `.html` file.\n- Use an Aino mini app when the request needs repeated interaction, multiple\n records or entities, forms, CRUD, filters, imports, subscriptions or an\n app-like workflow.\n\nIf the host is not Aino Desktop, explain that creating or publishing the app\nrequires Aino Desktop. Do not imitate the runtime by manufacturing its internal\nfiles.\n\n## Route to App Builder\n\nPrepare a short brief, then direct the user to Aino Desktop's **New App / 新建应用**\nentry and its App Builder. Include only decisions that are already known:\n\n1. the outcome and main user flows;\n2. whether relevant Markdown already exists;\n3. the selected data directory;\n4. each entity's document or block granularity;\n5. existing tags, Frontmatter keys, sections and Wikilink relations to preserve;\n6. which entities are read-only or writable;\n7. the smallest useful first-screen and core operations.\n\nAsk only about consequential unknowns. Do not invent a tag, directory or schema\nmerely to make the brief look complete.\n\n## LifeOS data guidance\n\n- Keep Markdown as the single business source of truth. Cache may hold only\n disposable, rebuildable derived data.\n- Reuse the vault's existing folder names, tags, Frontmatter keys and section\n headings when evidence exists; avoid equivalent duplicate vocabularies.\n- Model durable, independently editable records as `document` entities. Model\n dated logs or short entries embedded in periodic notes as `block` entities;\n current block entities are read-only.\n- Do not hardcode daily-note paths, date formats or PARA folder names. Resolve\n configured LifeOS/Obsidian conventions before proposing bindings.\n- Give writable document entities a stable ID. Express cross-entity relations\n through Wikilinks and preserve unknown Frontmatter and body content.\n- Keep the app inside its selected data-directory boundary. Do not silently\n scan, migrate or rewrite same-tag notes elsewhere in the vault.\n\n## Ownership and safety boundary\n\nThe Aino host owns the current project schema, permissions, Host SDK, sandbox,\ntheme variables, validation, functional acceptance, publication and rollback.\nThose rules are injected by App Builder and can evolve with Aino.\n\n- Do not output `<aino-app-project>` or `<aino-app-patch>` from this skill.\n- Do not create, edit or delete `.lifeos/custom-apps`, its registry, runtime,\n drafts, versions or logs.\n- Do not turn a mini-app request into a sibling HTML dashboard unless the user\n chooses the static dashboard after seeing the distinction.\n- Once the user is inside App Builder, follow the host-injected Builder rules;\n do not repeat or override them with the full LifeOS skill.\n",
366
- 'lifeos-content/references/attachment-cards.md': '# Non-Markdown Attachment Frontmatter\n\nUse this reference when the user asks to tag or set properties on a PDF, image,\naudio, video, Office document, HTML file, or another non-Markdown attachment.\n\n## Contents\n\n- [Protocol](#protocol)\n- [Safe write workflow](#safe-write-workflow)\n- [Hidden files](#hidden-files)\n- [Moves and renames](#moves-and-renames)\n- [Aino Mobile](#aino-mobile)\n\n## Protocol\n\nDerive the hidden metadata Markdown path from the exact attachment path:\n\n```text\nAssets/合同.pdf -> Assets/.合同.pdf.md\nMedia/访谈.mp3 -> Media/.访谈.mp3.md\n```\n\nAssociate the two files only through the same directory and complete filename.\nDo not write an `attachment` field, wikilink, body embed, UUID, or content hash.\n\nCreate a Frontmatter-only file:\n\n```yaml\n---\naino-type: attachment-card\naino-version: 1\ntags:\n - 客户/acme\nstatus: 已签署\nowner: 法务\n---\n```\n\nReserve `aino-type` and `aino-version` for the system. Permit any other\nFrontmatter property. Treat a missing `tags` property as an empty tag list.\n\n## Safe Write Workflow\n\n1. Resolve one exact vault-relative non-Markdown attachment path. Do not mutate\n a result selected only by a loose or ambiguous filename.\n2. Confirm that the attachment exists and is not a Markdown file.\n3. Derive `.<complete attachment filename>.md` in the same directory.\n4. Read that exact metadata path before writing:\n\n ```bash\n npx -y @life-os/cli read path="Assets/.合同.pdf.md" --json\n ```\n\n5. If the hidden metadata file is missing, create it only after the user\n requested a property change. Include both reserved fields and the requested\n user properties.\n6. If a file already exists at the hidden metadata path, require\n `aino-type: attachment-card`, a supported `aino-version`, valid YAML, and the\n corresponding sibling attachment. Otherwise stop without overwriting.\n7. Merge only the requested changes. Preserve unknown keys, value types, key\n spelling, and any unexpected body text verbatim. Never silently normalize or\n delete data.\n8. For a generic “add this tag” request, add and de-duplicate tags without\n replacing unrelated tags. Remove or replace tags only when explicitly asked.\n9. Write the complete merged document back to the exact card path:\n\n ```bash\n npx -y @life-os/cli create path="Assets/.合同.pdf.md" content="<完整合并后的 Frontmatter>" overwrite\n ```\n\n Use `overwrite` only after step 6 validates an existing card. Omit it when\n creating a missing card so a concurrent file cannot be replaced.\n\n10. Read the frontmatter again and verify the reserved fields and requested properties.\n\n## Hidden Files\n\n- Keep the leading `.` on every platform.\n- On Windows, set the filesystem Hidden attribute after creating, moving, or\n renaming the hidden metadata file:\n\n ```powershell\n attrib +H "C:\\path\\to\\vault\\Assets\\.合同.pdf.md"\n ```\n\n- If setting the Windows attribute fails, keep the hidden metadata file and report that it may\n remain visible until Aino repairs the attribute. Do not claim full success\n without surfacing the warning.\n\n## Moves and Renames\n\nTreat the attachment and its hidden metadata Markdown file as one pair. Rename or move the\nmetadata file to the newly derived sibling path without changing its\nFrontmatter. Preflight both destinations and never overwrite a collision. If the\navailable tool cannot perform a safe paired operation, stop and ask the user to\nuse Aino.\n\n## Aino Mobile\n\nMobile supports syncing, hiding, recognizing, querying, reading, creating, and\nediting non-Markdown attachment frontmatter when `lifeos_get_vault_info` reports\n`lifeos_read_attachment_card` and `lifeos_update_attachment_card`.\n\nUse `lifeos_read_attachment_card` for the exact non-Markdown attachment path,\nmerge only the requested Frontmatter changes, then call\n`lifeos_update_attachment_card` with the complete user-owned YAML. That native\nwrite tool prepares a hidden-frontmatter preview and still requires the user\'s\nexplicit confirmation before commit. Do not emulate the operation with ordinary\nvisible-Markdown tools.\n',
377
+ 'lifeos-content/references/attachment-cards.md': '# Non-Markdown Attachment Frontmatter\n\nUse this reference when the user asks to tag or set properties on a PDF, image,\naudio, video, Office document, HTML file, or another non-Markdown attachment.\n\n## Contents\n\n- [Protocol](#protocol)\n- [Safe write workflow](#safe-write-workflow)\n- [Hidden files](#hidden-files)\n- [Moves and renames](#moves-and-renames)\n- [Aino Mobile](#aino-mobile)\n\n## Protocol\n\nChoose the target card path in this priority order:\n\n1. **User-named existing card file (highest priority)**: if the user explicitly\n names an existing metadata/card Markdown file in the vault (for example, a\n visible sibling like `Assets/合同.pdf.md`, a named note like `Assets/合同-卡片.md`,\n or a file the user states they previously filled in) and that file exists on\n disk, **read, merge, write back, and verify that exact user-named file**.\n Do **not** leave the user-named file untouched and create a separate hidden\n `.<filename>.md` file as a substitute deliverable. After completing and\n verifying the update on the user-named file, you may briefly note Aino\'s\n native hidden sibling convention (`Assets/.合同.pdf.md`) and ask if the user\n also wants to migrate or mirror it.\n2. **Default Aino hidden sibling card** (when the user did not name an existing\n card file): derive the hidden metadata Markdown path from the exact\n attachment path:\n\n```text\nAssets/合同.pdf -> Assets/.合同.pdf.md\nMedia/访谈.mp3 -> Media/.访谈.mp3.md\n```\n\nAssociate the two files only through the same directory and complete filename.\nDo not write an `attachment` field, wikilink, body embed, UUID, or content hash.\n\nCreate a Frontmatter-only file (for a new hidden card):\n\n```yaml\n---\naino-type: attachment-card\naino-version: 1\ntags:\n - 客户/acme\nstatus: 已签署\nowner: 法务\n---\n```\n\nReserve `aino-type` and `aino-version` for the system. Permit any other\nFrontmatter property. Treat a missing `tags` property as an empty tag list.\n\n## Safe Write Workflow\n\n1. Resolve the target:\n - If the user named an existing card Markdown file, verify that exact path\n exists in the target vault and use it as the write target.\n - Otherwise, resolve one exact vault-relative non-Markdown attachment path\n (do not mutate a result selected only by a loose or ambiguous filename),\n confirm the attachment exists and is not Markdown, and derive\n `.<complete attachment filename>.md` in the same directory.\n2. Read the exact target metadata path before writing (pass explicit `vault=`\n whenever a vault path is known):\n\n ```bash\n npx -y @life-os/cli read vault="<vault>" path="<exact-card-path>" --json\n ```\n\n3. If the target card is a new default hidden metadata file and is missing,\n create it only after the user requested a property change. Include both\n reserved fields (`aino-type`, `aino-version`) and the requested user\n properties.\n4. If a file already exists at the target path:\n - For a default hidden card (`.<attachment>.md`), require\n `aino-type: attachment-card`, a supported `aino-version`, valid YAML, and\n the corresponding sibling attachment; otherwise stop without overwriting.\n - For a user-named existing card file, require valid readable content/YAML\n (preserve all existing keys, values, and body text) and add reserved fields\n only if compatible with the user\'s file or explicitly requested.\n5. Merge only the requested changes. Preserve unknown keys, value types, key\n spelling, and any unexpected body text verbatim. Never silently normalize or\n delete data.\n6. For a generic “add this tag” request, add and de-duplicate tags without\n replacing unrelated tags. Remove or replace tags only when explicitly asked.\n7. Write the complete merged document back to the exact resolved card path:\n\n ```bash\n npx -y @life-os/cli create vault="<vault>" path="<exact-card-path>" content="<完整合并后的内容>" --literal-content overwrite --json\n ```\n\n Use `overwrite` only after validating an existing target file. Omit it when\n creating a missing card so a concurrent file cannot be replaced.\n\n8. Directly read back the actual file on disk inside the target vault (never\n rely on the CLI receipt alone) and verify that every requested property,\n tag, and preserved field is actually saved in the intended file.\n\n## Hidden Files\n\n- Keep the leading `.` on every platform.\n- On Windows, set the filesystem Hidden attribute after creating, moving, or\n renaming the hidden metadata file:\n\n ```powershell\n attrib +H "C:\\path\\to\\vault\\Assets\\.合同.pdf.md"\n ```\n\n- If setting the Windows attribute fails, keep the hidden metadata file and report that it may\n remain visible until Aino repairs the attribute. Do not claim full success\n without surfacing the warning.\n\n## Moves and Renames\n\nTreat the attachment and its hidden metadata Markdown file as one pair. Rename or move the\nmetadata file to the newly derived sibling path without changing its\nFrontmatter. Preflight both destinations and never overwrite a collision. If the\navailable tool cannot perform a safe paired operation, stop and ask the user to\nuse Aino.\n\n## Aino Mobile\n\nMobile supports syncing, hiding, recognizing, querying, reading, creating, and\nediting non-Markdown attachment frontmatter when `lifeos_get_vault_info` reports\n`lifeos_read_attachment_card` and `lifeos_update_attachment_card`.\n\nUse `lifeos_read_attachment_card` for the exact non-Markdown attachment path,\nmerge only the requested Frontmatter changes, then call\n`lifeos_update_attachment_card` with the complete user-owned YAML. That native\nwrite tool prepares a hidden-frontmatter preview and still requires the user\'s\nexplicit confirmation before commit. Do not emulate the operation with ordinary\nvisible-Markdown tools.\n',
367
378
  'lifeos-content/references/theme-dashboard.md': '# LifeOS Theme Dashboard — HTML generation rules\n\nUse this reference when the user asks to generate, refresh, rebuild or view a\ntheme dashboard / 主题 dashboard / 主题看板 / 主题仪表盘 / 主题驾驶舱 for a LifeOS\ntopic, project, area, resource or archive.\n\n## Contents\n\n- [Purpose and source model](#purpose-and-source-model)\n- [Output and path contract](#output-and-path-contract)\n- [Theme mode](#theme-mode)\n- [Source workflow](#source-workflow)\n- [Required modules](#required-modules)\n- [PARA-specific focus](#para-specific-focus)\n- [Visual design](#visual-design)\n- [Reusable skeleton](#reusable-skeleton)\n- [Write and verify](#write-and-verify)\n\n## Purpose and source model\n\nA theme dashboard is a sibling standalone HTML cockpit for a LifeOS theme/index\nnote. It is not a Markdown export, `.AI.md` page, landing page or Aino mini app.\nIt must expose the theme\'s identity and help the user decide what to do next.\n\nGround every statement in source notes. Do not invent metrics, deadlines, task\ncounts, health scores or conclusions.\n\n- The theme tag comes from the source note\'s `tags` Frontmatter and acts as the\n identity anchor. Show `Missing theme tag` instead of guessing one.\n- Theme index files may use `folderName` (`<folder>/<folder>.md`) or `readme`\n (`<folder>/README.md` or `<folder>/<prefix>.README.md`) naming. Reuse the\n actual source basename; do not rename it to fit an example.\n- `TaskListByTag`, `BulletListByTag` and `FileListByTag` provide the primary\n indexed task, fleeting-note and file signals. Use related theme/project/area/\n resource/archive lists when present.\n- Tags connect short records distributed through periodic notes. The theme\n folder holds durable research, meetings, drafts, plans and reference notes.\n- Periodic notes provide the time view; the theme note provides the subject\n workspace. A dashboard may show both, but the theme/index note remains its\n source.\n\nDo not generate a theme dashboard from a capture, daily/weekly note, meeting,\npasted article or other one-off source by default. Ask the user to confirm the\nsource theme/index note when the target is ambiguous.\n\n## Output and path contract\n\nGenerate one complete standalone `.html` file with:\n\n- inline CSS and no external CDN, remote font, image, analytics or network\n dependency;\n- semantic sections and readable class names;\n- JavaScript only for a concrete local interaction such as filtering;\n- a dense desktop grid and readable one-column mobile layout;\n- generated date, source note, theme tag, theme type and appearance mode;\n- one dedicated **Next actions / 下一步行动** section.\n\nDo not edit the source `.md`, sibling `.AI.md` or theme folder unless the user\nexplicitly requests those changes. Do not create `.Dashboard.md`.\n\nDerive the output by replacing the source Markdown extension:\n\n```text\n<dir>/<basename>.md -> <dir>/<basename>.html\n<dir>/<basename>.markdown -> <dir>/<basename>.html\n\n4 资源/学日语/学日语.md -> 4 资源/学日语/学日语.html\n1 项目/X/X.README.md -> 1 项目/X/X.README.html\n```\n\nWhen starting from `.AI.md`, use its `source:` note. Only remove `.AI` as a\nfallback when the matching theme/index note exists.\n\n## Theme mode\n\nMatch the current Obsidian or Aino appearance instead of choosing arbitrarily:\n\n1. Read `.obsidian/appearance.json`; use its `theme` field.\n2. If missing, check `.obsidian-mobile/appearance.json`.\n3. In Aino context, prefer an explicit Aino appearance/color-scheme setting.\n4. With no app setting, use `prefers-color-scheme` and say the page follows the\n system.\n\nSet `color-scheme: light dark`, define semantic variables for the default mode\nand provide alternate-mode variables with a media query. Show the resolved mode\nin a metadata pill. Do not make dashboards inconsistently fixed-dark or\nfixed-light unless the source app setting differs.\n\n## Source workflow\n\nBefore writing:\n\n1. Run `npx -y @life-os/cli config` when vault, PARA folders or index naming are\n unclear.\n2. Run `profile` and load the matching template reference for PARA or IPO. For\n GTD, do not force a theme dashboard unless the user selected a theme/index\n note. For OPC, switch to the separate `opc` skill.\n3. Locate the exact theme/index note with `search type=file` when needed.\n4. Confirm it belongs to a configured theme/PARA folder, follows an index naming\n convention, or clearly acts as a tagged topic index.\n5. Read the source note.\n6. Read its sibling `.AI.md` when present. Treat it as synthesis, not a\n replacement for source tags and indexed lists.\n7. Read an existing dashboard before overwriting and preserve useful manual\n structure unless the user requests full regeneration.\n\nUse evidence in this order:\n\n1. source Frontmatter: tag, title, type/category, status, outcome and dates;\n2. source body: goals, decisions, open questions and LifeOS query blocks;\n3. tag-indexed tasks, bullets, files and related-theme lists;\n4. sibling `.AI.md`, verified against source material when possible;\n5. same-folder durable notes;\n6. bounded relevant tag/keyword hits, including periodic-note evidence;\n7. useful user-authored structure from an existing dashboard.\n\nShow missing signals explicitly instead of filling empty sections with generic\nadvice.\n\n## Required modules\n\nInclude these modules unless the user asks for another layout:\n\n1. **Identity strip**: topic, tag, type, source, date and theme mode.\n2. **Current state**: what is reliably true now.\n3. **Key judgment**: the decision framing that matters most.\n4. **Indexed signals**: tasks, fleeting notes and files. Use counts only when\n supported; otherwise show clear empty states.\n5. **Next actions / 下一步行动**: existing commitments and grounded candidate\n moves, each with priority, time horizon, owner when known, evidence/link and\n missing validation.\n6. **Risks and blockers**: risk, impact, trigger signal and response.\n7. **Material map**: important notes, clusters, relations and why they matter.\n8. **Timeline / recent activity**: progress and checkpoints when dated evidence\n exists, otherwise a useful missing-signal state.\n9. **Evidence appendix**: compact source, tag, link and task references.\n\nUse one unified next-actions section. Do not create a separate recommendations\nor advisory panel for agent-synthesized moves. Candidate actions may include\ncontinue, pause, gather evidence, split the theme, change PARA type, archive,\nrefresh AI Wiki or create a task, but label weak evidence and a validation\nmethod.\n\n## PARA-specific focus\n\nInfer type from configured folders, path, Frontmatter and source wording. When\nuncertain, label it `Theme`.\n\n- **Project**: outcome, deadline, open/blocked work, progress, next milestone and\n completion criteria.\n- **Area**: responsibility, standard, cadence, drift, recurring risks and next\n review.\n- **Resource**: knowledge structure, important/unprocessed sources, reusable\n ideas and evidence that it should become an area or project.\n- **Archive**: historical conclusion, reusable assets, inactivity reason,\n recovery conditions and what remains searchable.\n- **Generic theme**: identity, context, high-signal material and relations to\n neighboring inputs, outputs or themes.\n\n## Visual design\n\nUse a quiet operational dashboard style, not a marketing page. Avoid hero copy,\ndecorative orbs, bokeh, stock imagery, large empty sections and fake product\nembellishment.\n\n- Use restrained multi-color semantic CSS variables; avoid a one-note purple,\n beige, dark-blue or brown palette.\n- Keep cards at `border-radius: 8px` or less.\n- Use compact readable typography and information-bearing visuals such as KPI\n cards, status pills, bars, timelines, tables and severity labels.\n- Keep current state, judgment, next actions and risks visible without deep\n scrolling.\n- Prevent overflow in cards, buttons and pills; use whitespace instead of cards\n nested inside cards.\n- Use clear empty states: `No source data found`, `No dated milestone found`,\n `No open task found` and `Missing theme tag`.\n- Do not scale body fonts with viewport width. Use bounded `clamp()` only where\n useful for titles.\n\n## Reusable skeleton\n\nStart from [`../assets/theme-dashboard-skeleton.html`](../assets/theme-dashboard-skeleton.html)\nwhen a baseline is useful. Read or copy the asset without loading its full HTML\ninto the general LifeOS workflow. Rewrite its placeholder content and adapt the\ninformation architecture, colors and modules to the actual source; the skeleton\nis not a fixed visual template.\n\n## Write and verify\n\nWrite the completed page to the derived sibling path. Omit `overwrite` for a\nnew file. For an existing page, read it, merge the requested update and recheck\nfor intervening changes before using `overwrite`. The example below assumes\nthat existing-page check has completed:\n\n```bash\nnpx -y @life-os/cli create path="4 资源/学日语/学日语.html" content="<full html>" overwrite\n```\n\nDirect filesystem writing is acceptable for large dashboards when the runtime\nhas safe vault-scoped access. Preserve the same path rule.\n\nBefore reporting completion, verify:\n\n- the source is a confirmed theme/index note;\n- the theme tag or `Missing theme tag` is visible;\n- the output is `<source basename>.html`, including README-mode basenames;\n- the page opens standalone with no network dependency;\n- appearance follows the app setting or `prefers-color-scheme`;\n- current state, judgment, signals, next actions and risks appear near the top;\n- there is no separate advisory section outside Next actions;\n- no source `.md`, `.AI.md` or folder content changed unless requested;\n- generated date and source note are visible;\n- desktop and mobile layouts have no incoherent overlap or horizontal overflow.\n',
368
- 'lifeos-onboarding/SKILL.md': "---\nname: lifeos-onboarding\ndescription: 'Initialize, take over, classify, or migrate a local Markdown folder into LifeOS through the `lifeos onboard` CLI workflow. Use for empty folders, existing knowledge bases, pasted or scattered material, choosing Memos/IPO/GTD/PARA, Topic-only requests, applying templates, changing profiles, or verifying a migration. These are consequential writes and require inspect, preview, explicit confirmation, bounded apply, and verification.'\n---\n\n# LifeOS Onboarding\n\nRead [`../lifeos/SKILL.md`](../lifeos/SKILL.md) first for host selection and\nshared safety. Onboarding plan/apply is CLI-only; Aino Mobile can inspect a\nprofile but cannot perform this workflow.\n\n## Inspect once, then route\n\nA single note, project/index repair, or paste into an already configured vault is\nnot onboarding. Route ordinary content to `lifeos-content`, periodic capture to\n`lifeos-today`, and project/theme creation or repair to `lifeos-board`. Do not\napply a vault profile merely to obtain a note template.\n\nFor vault initialization, bulk import, takeover or profile migration, start with the single\ninventory command:\n\n```bash\nnpx -y @life-os/cli onboard inspect --json\n```\n\nRead [`references/onboarding.md`](references/onboarding.md). Do not also run\nbroad `ls`, `find`, `config`, `profile` or template discovery unless inspection\nfails or omits a decision-critical fact.\n\nLoad only the matching reference:\n\n- Choose a model: [`references/template-selection.md`](references/template-selection.md)\n- Empty folder: [`references/from-scratch.md`](references/from-scratch.md)\n- Scattered material: [`references/migration.md`](references/migration.md)\n- Existing profile to another profile:\n [`references/template-migration.md`](references/template-migration.md)\n\nTemplate details:\n\n- Memos: [`references/template-memos.md`](references/template-memos.md)\n- IPO / Topic-only: [`references/template-ipo.md`](references/template-ipo.md)\n- GTD: [`references/template-gtd.md`](references/template-gtd.md)\n- PARA: [`references/template-para.md`](references/template-para.md)\n- OPC: use the separate `opc` Skill.\n\nPresent the normal order from easiest to hardest as Memos -> IPO -> GTD -> PARA\n-> OPC, but honor an explicit choice immediately. Normalize Topic-only to IPO.\n\n## Gate every mutation\n\nTreat onboarding as a resumable state machine:\n\n1. Inspect the folder.\n2. Ask one consequential question at a time.\n3. Run `onboard plan ... --json` and show creates, skips and conflicts.\n4. Obtain explicit confirmation for the exact profile, density and target.\n5. Run `onboard apply` or a confirmed `classify-apply` in bounded scope.\n6. Run `onboard verify --json` and report unresolved conflicts.\n\nNever overwrite existing bootstrap Agent Files automatically. Profiles manage\nroot `AGENTS.md`, `SOUL.md` and `STYLE.md`; do not generate singular `AGENT.md`\nor tool-specific `CLAUDE.md`. Create or edit optional `MEMORY.md` only after an\nexplicit remember request. Preserve attachments in place during inventory.\n\nWhen changing profiles, merge settings by field, preserve user context, exclude\ngenerated/system material, validate links and attachment pairs, and update the\nprofile manifest only after final verification.\n",
379
+ 'lifeos-onboarding/SKILL.md': "---\nname: lifeos-onboarding\ndescription: 'Initialize, take over, classify, or migrate a local Markdown folder into LifeOS through the `lifeos onboard` CLI workflow. Use for empty folders, existing knowledge bases, pasted or scattered material, choosing Memos/IPO/GTD/PARA, Topic-only requests, applying templates, changing profiles, or verifying a migration. These are consequential writes and require inspect, preview, explicit confirmation, bounded apply, and verification.'\n---\n\n# LifeOS Onboarding\n\nRead [`../lifeos/SKILL.md`](../lifeos/SKILL.md) first for host selection and\nshared safety. Onboarding plan/apply is CLI-only; Aino Mobile can inspect a\nprofile but cannot perform this workflow.\n\n## Inspect once, then route\n\nA single note, project/index repair, or paste into an already configured vault is\nnot onboarding. Route ordinary content to `lifeos-content`, periodic capture to\n`lifeos-today`, and project/theme creation or repair to `lifeos-board`. Do not\napply a vault profile merely to obtain a note template.\n\nFor vault initialization, bulk import, takeover or profile migration, start with the single\ninventory command:\n\n```bash\nnpx -y @life-os/cli onboard inspect --json\n```\n\nRead [`references/onboarding.md`](references/onboarding.md). Do not also run\nbroad `ls`, `find`, `config`, `profile` or template discovery unless inspection\nfails or omits a decision-critical fact.\n\nLoad only the matching reference:\n\n- Choose a model: [`references/template-selection.md`](references/template-selection.md)\n- Empty folder: [`references/from-scratch.md`](references/from-scratch.md)\n- Scattered material: [`references/migration.md`](references/migration.md)\n- Existing profile to another profile:\n [`references/template-migration.md`](references/template-migration.md)\n\nTemplate details:\n\n- Memos: [`references/template-memos.md`](references/template-memos.md)\n- IPO / Topic-only: [`references/template-ipo.md`](references/template-ipo.md)\n- GTD: [`references/template-gtd.md`](references/template-gtd.md)\n- PARA: [`references/template-para.md`](references/template-para.md)\n- OPC: use the separate `opc` Skill.\n\nPresent the normal order from easiest to hardest as Memos -> IPO -> GTD -> PARA\n-> OPC, but honor an explicit choice immediately. Normalize Topic-only to IPO.\n\n## Gate every mutation\n\nTreat onboarding as a resumable state machine (pass explicit `vault=\"<target>\"`\non every CLI command whenever the target vault or delivery directory is known):\n\n1. Inspect the folder.\n2. Ask one consequential question at a time (skip questions the user already\n answered).\n3. Run `onboard plan ... --json` and show creates, skips and conflicts.\n4. Obtain explicit confirmation for the exact profile, density and target.\n **Non-interactive / sandbox exception**: if the user's current request or\n runtime explicitly states that manual confirmation is waived (e.g., sandbox\n mode or “execute directly without asking”), still run `onboard plan` /\n `classify-plan` first to validate path boundaries and conflicts, then execute\n the safe, non-conflicting subset directly in the same turn instead of pausing.\n5. Run `onboard apply` or a confirmed/authorized `classify-apply` in bounded\n scope, ensuring all changes land in the actual target vault or user-specified\n delivery directory (not merely a standalone text report).\n6. Run `onboard verify --json` **and directly inspect the actual target vault\n filesystem** (directories, root files, moved notes, emptied inbox, and file\n contents). Never rely on CLI receipts alone to claim completion in past\n tense; report only verified on-disk state and any unresolved conflicts or\n discrepancies.\n\nNever overwrite existing bootstrap Agent Files automatically. Profiles manage\nroot `AGENTS.md`, `SOUL.md` and `STYLE.md`; do not generate singular `AGENT.md`\nor tool-specific `CLAUDE.md`. Create or edit optional `MEMORY.md` only after an\nexplicit remember request. Preserve attachments in place during inventory.\n\nWhen changing profiles, merge settings by field, preserve user context, exclude\ngenerated/system material, validate links and attachment pairs, and update the\nprofile manifest only after final verification.\n",
369
380
  'lifeos-onboarding/agents/openai.yaml': "interface:\n display_name: 'LifeOS Onboarding'\n short_description: 'Initialize or migrate a LifeOS knowledge base'\n default_prompt: 'Use $lifeos-onboarding to inspect and plan this knowledge base setup.'\n",
370
381
  'lifeos-onboarding/references/from-scratch.md': "# Starting from an Empty Folder\n\nUse this after the user chooses a template. The goal is a useful first working\nloop, not an empty directory tree.\n\n## Before applying\n\nAsk one question at a time:\n\n1. What real outcome, responsibility, topic, or action system should this\n knowledge base support first?\n2. What existing fact, note, task, or source should seed it?\n\nDo not demand a complete taxonomy. One real example is enough.\n\n## Apply the selected template\n\nPreview, obtain confirmation, apply, and verify through the onboarding workflow.\nUse `minimal` unless the user explicitly wants the full periodic template set.\n\n## Create the first useful content\n\nUse [periodic-notes.md](../../lifeos-today/references/periodic-notes.md)\nfor periodic notes, and\n[`theme-notes.md`](../../lifeos-board/references/theme-notes.md) for every\nproject/area/resource/theme index. Template application creates the structure;\nit does not authorize seeding indexes as plain Markdown. Reuse an existing\nstarter instead of creating a duplicate, render the selected note template, and\nread back its lists and metadata before calling the first entry point complete.\n\n### Memos\n\n- Create or open today's daily note.\n- Add one real bullet or task under the configured Daily Record header.\n- Do not invent theme folders or tags before the user needs retrieval beyond time.\n- If full density is enabled, establish the first weekly review checkpoint.\n\n### PARA\n\n- Create one active Project when the user has a concrete outcome.\n- Create one Area only for an ongoing responsibility.\n- Create one Resource only when reusable source material already exists.\n- Put a new unprocessed item in Capture.\n- Put the user's first draft or synthesis in Express.\n- Add one concrete next action to the Project or current periodic note.\n\n### IPO\n\n- Add one real source to Input.\n- Create one Theme that states the current judgment or question.\n- Create an Output note only when a deliverable is genuinely intended.\n- Record the next transformation step from input to theme or theme to output.\n\n### GTD\n\n- Capture the user's real open loops in Inbox.\n- Clarify at least one item into an Action or Project.\n- Put non-actionable support material in Reference.\n- Establish the first review checkpoint.\n\n## Finish criteria\n\nOnboarding is complete when:\n\n- the template and Skill verify successfully;\n- the user can name the primary entry point;\n- at least one real note or task exists in that entry point;\n- the next capture or review action is clear.\n\nDo not generate fictional projects, responsibilities, sources, or tasks merely\nto make the knowledge base look populated.\n",
371
- 'lifeos-onboarding/references/migration.md': '# Existing Folder and Material Migration\n\nUse this after a template has been previewed or applied and the workspace\ncontains existing notes, pasted text, or scattered attachments.\n\nIf those files already belong to a different LifeOS template, read\n`references/template-migration.md` first. It defines migration scope, settings\nmerging, semantic mappings, system-file exclusions, recovery, and completion.\nThis file supplies the bounded classification mechanics used inside that larger\nworkflow.\n\nMemos has no semantic destination folders, so do not run classification with\n`profile=memos`. Existing daily notes can remain where they are. If the user\nwants to organize historical material, first choose IPO, GTD, or PARA and\npreview that target structure. For Memos -> IPO / GTD / PARA upgrades, preserve\nthe periodic-note directory and add the target taxonomy; do not move old daily\nnotes. For OPC, switch to the separate `opc` skill and normally migrate into an\nOPC Blank Vault.\n\n## Contents\n\n- [Safety contract](#safety-contract)\n- [Build a bounded batch](#build-a-bounded-batch)\n- [Propose destinations](#propose-destinations)\n- [Save and validate the reviewed plan](#save-and-validate-the-reviewed-plan)\n- [Apply the confirmed safe subset](#apply-the-confirmed-safe-subset)\n- [Pasted text](#pasted-text)\n\n## Safety contract\n\n- Inventory and semantic classification are separate steps.\n- The agent proposes meaning; the service validates paths, collisions, and links.\n- Show destination, reason, evidence, and confidence for every item.\n- Require explicit user confirmation before moving any file.\n- Keep uncertain files in place until reviewed. For old material that the user\n wants out of the way, recommend the template\'s Archive directory.\n- Never overwrite a same-named target.\n\n## Build a bounded batch\n\n```bash\nnpx -y @life-os/cli onboard classify-input profile=para locale=en limit=30 --json\n```\n\nAlready managed template directories are excluded. Markdown previews are\nbounded. Attachments expose path, filename, size, and media type; binary contents\nare not extracted.\n\nFor Markdown, use filename, path, frontmatter, preview, and link context. For\nimages, PDF, DOC, PPT, audio, or video, use only filename, path, media type, and\nadjacent Markdown references unless a separate extraction tool supplied content.\n\n## Propose destinations\n\nUse `high`, `medium`, or `low` confidence:\n\n- **High**: explicit frontmatter, folder semantics, or clear content.\n- **Medium**: strong filename and contextual evidence.\n- **Low**: media type or weak naming only.\n\nKeep classifications faithful to the selected profile. In PARA, distinguish:\n\n- active outcome -> Projects;\n- ongoing responsibility -> Areas;\n- reusable reference -> Resources;\n- newly arrived and unprocessed -> Capture;\n- user-created draft or synthesis -> Express;\n- inactive or unclassifiable legacy material -> Archive.\n\n## Save and validate the reviewed plan\n\nAfter the user reviews a batch, save only their decisions under\n`.lifeos/classification-plans/<timestamp>.json`:\n\n```json\n{\n "root": ".",\n "profile": "para",\n "locale": "en",\n "suggestions": [\n {\n "source": "old-material.zip",\n "destinationDirectory": "4. Archive",\n "confidence": "low",\n "reason": "Inactive legacy material with no reliable topic evidence",\n "evidence": ["filename", "media-type"],\n "confirmed": true\n }\n ]\n}\n```\n\nThen validate without moving:\n\n```bash\nnpx -y @life-os/cli onboard classify-plan file=.lifeos/classification-plans/<timestamp>.json --json\n```\n\nResolve or skip every path escape, invalid destination, missing source, target\ncollision, or unsafe-link warning. Do not weaken validation to make a batch pass.\n\n## Apply the confirmed safe subset\n\n```bash\nnpx -y @life-os/cli onboard classify-apply file=.lifeos/classification-plans/<timestamp>.json --json\n```\n\nReport moved, unconfirmed, already-applied, and conflicted items separately.\nRepeat with the next bounded batch. Do not claim migration is complete while\nunclassified items remain.\n\n## Pasted text\n\nAsk whether pasted text is raw source, durable synthesis, or an intended output.\nCreate a Markdown note in the matching directory and preserve source attribution\nwhen provided. Do not place every paste in Capture: old unclassifiable imports\nbelong in Archive, while original writing belongs in Express or Output.\n',
372
- 'lifeos-onboarding/references/onboarding.md': "# Knowledge Base Onboarding\n\nUse this workflow for an empty folder, an existing Markdown folder, a pasted\ncollection of notes, or a folder being taken over from another knowledge tool.\nThe folder does not need `.obsidian/`.\n\n## Contents\n\n- [Operating rules](#operating-rules)\n- [State machine](#state-machine)\n- [Recovery](#recovery)\n\n## Operating rules\n\n- Ask one consequential question at a time.\n- Inspect before recommending a template.\n- Preview before writing; require explicit confirmation before every apply step.\n- Preserve existing paths and attachments until the user confirms a migration batch.\n- Resume from `.lifeos/onboarding.json` when onboarding was started earlier.\n- Do not treat attachment inventory as content extraction.\n- Use `onboard inspect --json` as the single initial inventory. Do not duplicate\n it with `ls`, `find`, `config`, `profile`, or `onboard templates` unless the\n inspection failed or a specific required fact is missing.\n- Before presenting the first preview, the normal command budget is two calls:\n `onboard inspect --json`, then `onboard plan ... --json`.\n\n## State machine\n\n1. **Inspect**\n\n ```bash\n npx -y @life-os/cli onboard inspect --json\n ```\n\n Summarize Markdown count, attachment types, existing LifeOS metadata, Skill\n status, and detected profile. Do not dump a long file list. Run\n `onboard status --json` separately only when inspection reports an existing\n onboarding state or the user is resuming an interrupted setup.\n\n2. **Understand the starting point**\n\n Determine whether the user is starting from scratch, taking over an existing\n folder, or pasting/importing material in batches. If this is not obvious from\n the inventory, ask only that question.\n\n If the inventory detects one LifeOS profile and the user requests another,\n read `references/template-migration.md` before previewing. Do not treat an\n existing profiled vault like a blank onboarding target.\n\n3. **Choose a template**\n\n Read `references/template-selection.md`. Explain one recommendation and the\n closest alternative in plain language. If the user selects OPC, switch to the\n separate `opc` skill. If the user rejects formal frameworks or only wants to\n organize by topic, offer **Topic-only mode** and execute it as IPO. Do not\n create a separate profile or directory structure for this label. If the user\n already selected Topic-only, skip template discovery and go directly from\n inspection to an IPO onboarding plan. If the user has no stable capture habit\n or only wants chronological bullets and tasks, recommend Memos. Memos does not\n accept bulk classification because it has no taxonomy destinations.\n\n4. **Choose density and language**\n\n Use `minimal` by default. For Memos, prefer `full` when the user wants review\n pages immediately; Memos `minimal` still includes its essential empty Daily\n template. Use the user's writing language for generated folders, starter\n notes, and root Agent Files; this does not change the English Skill files\n installed under `.agents/skills/`.\n\n5. **Preview**\n\n ```bash\n npx -y @life-os/cli onboard plan profile=para density=minimal locale=en --json\n ```\n\n Show created, skipped, and conflicting paths. In JSON, `conflictEntries`\n includes the target content for conflicting files so an agent can prepare a\n field-level settings diff; it does not authorize replacement. Explain\n conflicts before asking for confirmation. Never use `apply` merely because\n the plan looks safe to you.\n\n Every profile plan includes exactly these root bootstrap Agent Files:\n - `AGENTS.md` — entry point and working rules;\n - `SOUL.md` — assistant identity;\n - `STYLE.md` — communication style;\n\n `MEMORY.md` is optional and free-form. Do not create it during onboarding;\n the agent creates it on the user's first explicit remember request. Never\n template-upgrade or rewrite an existing `MEMORY.md`. The bootstrap files'\n profile-specific sections must match Memos, IPO, GTD, or PARA. Do not add\n `AGENT.md` or `CLAUDE.md`.\n\n6. **Apply after explicit confirmation**\n\n ```bash\n npx -y @life-os/cli onboard apply profile=para density=minimal locale=en --json\n npx -y @life-os/cli onboard verify --json\n ```\n\n Report partial results honestly. Existing conflicting files are preserved;\n other safe entries may still be created. An existing `MEMORY.md` is not an\n onboarding conflict because it is not managed by the template.\n\n7. **Continue with content**\n - For existing files or pasted material, read `references/migration.md`.\n - For a source-profile to target-profile conversion, follow\n `references/template-migration.md` and keep its migration record current.\n - For an empty folder, read `references/from-scratch.md`.\n\n8. **Finish**\n\n Verify the profile, metadata, Skill, and at least one real entry point. Tell\n the user what was created, what stayed in place, and what remains unclassified.\n\n## Recovery\n\n- Re-run `onboard status` after interruption.\n- Re-run `onboard plan` before retrying; it is idempotent and reports new conflicts.\n- Do not delete a partially created structure to simulate rollback.\n- Do not overwrite a conflict unless the user separately requests and reviews\n that exact replacement.\n",
382
+ 'lifeos-onboarding/references/migration.md': '# Existing Folder and Material Migration\n\nUse this after a template has been previewed or applied and the workspace\ncontains existing notes, pasted text, or scattered attachments.\n\nIf those files already belong to a different LifeOS template, read\n`references/template-migration.md` first. It defines migration scope, settings\nmerging, semantic mappings, system-file exclusions, recovery, and completion.\nThis file supplies the bounded classification mechanics used inside that larger\nworkflow.\n\nMemos has no semantic destination folders, so do not run classification with\n`profile=memos`. Existing daily notes can remain where they are. If the user\nwants to organize historical material, first choose IPO, GTD, or PARA and\npreview that target structure. For Memos -> IPO / GTD / PARA upgrades, preserve\nthe periodic-note directory and add the target taxonomy; do not move old daily\nnotes. For OPC, switch to the separate `opc` skill and normally migrate into an\nOPC Blank Vault.\n\n## Contents\n\n- [Safety contract](#safety-contract)\n- [Build a bounded batch](#build-a-bounded-batch)\n- [Propose destinations](#propose-destinations)\n- [Save and validate the reviewed plan](#save-and-validate-the-reviewed-plan)\n- [Apply the confirmed safe subset](#apply-the-confirmed-safe-subset)\n- [Pasted text](#pasted-text)\n\n## Safety contract\n\n- Inventory and semantic classification are separate steps.\n- The agent proposes meaning; the service validates paths, collisions, and links.\n- Show destination, reason, evidence, and confidence for every item.\n- In interactive use, require explicit user confirmation before moving any file.\n In explicit non-interactive / sandbox mode where the user or prompt waives\n manual confirmation, still validate with `classify-plan`, set `confirmed: true`\n only for safe non-conflicting items, and apply directly in the same turn.\n- Keep uncertain files in place until reviewed. For old material that the user\n wants out of the way, recommend the template\'s Archive directory.\n- Never overwrite a same-named target.\n- After `classify-apply`, directly verify moved files, source removals, and\n preserved content on disk inside the target vault / delivery directory; never\n report completion from the CLI receipt alone.\n\n## Build a bounded batch\n\n```bash\nnpx -y @life-os/cli onboard classify-input profile=para locale=en limit=30 --json\n```\n\nAlready managed template directories are excluded. Markdown previews are\nbounded. Attachments expose path, filename, size, and media type; binary contents\nare not extracted.\n\nFor Markdown, use filename, path, frontmatter, preview, and link context. For\nimages, PDF, DOC, PPT, audio, or video, use only filename, path, media type, and\nadjacent Markdown references unless a separate extraction tool supplied content.\n\n## Propose destinations\n\nUse `high`, `medium`, or `low` confidence:\n\n- **High**: explicit frontmatter, folder semantics, or clear content.\n- **Medium**: strong filename and contextual evidence.\n- **Low**: media type or weak naming only.\n\nKeep classifications faithful to the selected profile. In PARA, distinguish:\n\n- active outcome -> Projects;\n- ongoing responsibility -> Areas;\n- reusable reference -> Resources;\n- newly arrived and unprocessed -> Capture;\n- user-created draft or synthesis -> Express;\n- inactive or unclassifiable legacy material -> Archive.\n\n## Save and validate the reviewed plan\n\nAfter the user reviews a batch, save only their decisions under\n`.lifeos/classification-plans/<timestamp>.json`:\n\n```json\n{\n "root": ".",\n "profile": "para",\n "locale": "en",\n "suggestions": [\n {\n "source": "old-material.zip",\n "destinationDirectory": "4. Archive",\n "confidence": "low",\n "reason": "Inactive legacy material with no reliable topic evidence",\n "evidence": ["filename", "media-type"],\n "confirmed": true\n }\n ]\n}\n```\n\nThen validate without moving:\n\n```bash\nnpx -y @life-os/cli onboard classify-plan file=.lifeos/classification-plans/<timestamp>.json --json\n```\n\nResolve or skip every path escape, invalid destination, missing source, target\ncollision, or unsafe-link warning. Do not weaken validation to make a batch pass.\n\n## Apply the confirmed safe subset\n\n```bash\nnpx -y @life-os/cli onboard classify-apply file=.lifeos/classification-plans/<timestamp>.json --json\n```\n\nReport moved, unconfirmed, already-applied, and conflicted items separately.\nRepeat with the next bounded batch. Do not claim migration is complete while\nunclassified items remain.\n\n## Pasted text\n\nAsk whether pasted text is raw source, durable synthesis, or an intended output.\nCreate a Markdown note in the matching directory and preserve source attribution\nwhen provided. Do not place every paste in Capture: old unclassifiable imports\nbelong in Archive, while original writing belongs in Express or Output.\n',
383
+ 'lifeos-onboarding/references/onboarding.md': '# Knowledge Base Onboarding\n\nUse this workflow for an empty folder, an existing Markdown folder, a pasted\ncollection of notes, or a folder being taken over from another knowledge tool.\nThe folder does not need `.obsidian/`.\n\n## Contents\n\n- [Operating rules](#operating-rules)\n- [State machine](#state-machine)\n- [Recovery](#recovery)\n\n## Operating rules\n\n- Ask one consequential question at a time (do not re-ask decisions already given).\n- Inspect before recommending a template.\n- In interactive use, preview before writing and require explicit confirmation\n before every apply step. **Non-interactive / sandbox exception**: when the\n user or runtime explicitly authorizes direct execution without manual\n confirmation, still run `onboard plan` / `classify-plan` to verify safety and\n conflicts, then execute the safe non-conflicting subset directly in the same\n turn.\n- Always pass explicit `vault="<exact target path>"` on every CLI command and\n ensure all file creations, moves, and cleanup land in the user-specified\n target vault / delivery location (not merely in a text summary report).\n- Preserve existing paths and attachments until confirmed (or explicitly\n authorized in non-interactive/sandbox mode) for a migration batch.\n- Resume from `.lifeos/onboarding.json` when onboarding was started earlier.\n- Do not treat attachment inventory as content extraction.\n- Use `onboard inspect --json` as the single initial inventory. Do not duplicate\n it with `ls`, `find`, `config`, `profile`, or `onboard templates` unless the\n inspection failed or a specific required fact is missing.\n- Before presenting the first preview, the normal command budget is two calls:\n `onboard inspect --json`, then `onboard plan ... --json`.\n\n## State machine\n\n1. **Inspect**\n\n ```bash\n npx -y @life-os/cli onboard inspect --json\n ```\n\n Summarize Markdown count, attachment types, existing LifeOS metadata, Skill\n status, and detected profile. Do not dump a long file list. Run\n `onboard status --json` separately only when inspection reports an existing\n onboarding state or the user is resuming an interrupted setup.\n\n2. **Understand the starting point**\n\n Determine whether the user is starting from scratch, taking over an existing\n folder, or pasting/importing material in batches. If this is not obvious from\n the inventory, ask only that question.\n\n If the inventory detects one LifeOS profile and the user requests another,\n read `references/template-migration.md` before previewing. Do not treat an\n existing profiled vault like a blank onboarding target.\n\n3. **Choose a template**\n\n Read `references/template-selection.md`. Explain one recommendation and the\n closest alternative in plain language. If the user selects OPC, switch to the\n separate `opc` skill. If the user rejects formal frameworks or only wants to\n organize by topic, offer **Topic-only mode** and execute it as IPO. Do not\n create a separate profile or directory structure for this label. If the user\n already selected Topic-only, skip template discovery and go directly from\n inspection to an IPO onboarding plan. If the user has no stable capture habit\n or only wants chronological bullets and tasks, recommend Memos. Memos does not\n accept bulk classification because it has no taxonomy destinations.\n\n4. **Choose density and language**\n\n Use `minimal` by default. For Memos, prefer `full` when the user wants review\n pages immediately; Memos `minimal` still includes its essential empty Daily\n template. Use the user\'s writing language for generated folders, starter\n notes, and root Agent Files; this does not change the English Skill files\n installed under `.agents/skills/`.\n\n5. **Preview**\n\n ```bash\n npx -y @life-os/cli onboard plan profile=para density=minimal locale=en --json\n ```\n\n Show created, skipped, and conflicting paths. In JSON, `conflictEntries`\n includes the target content for conflicting files so an agent can prepare a\n field-level settings diff; it does not authorize replacement. Explain\n conflicts before asking for confirmation. Never use `apply` merely because\n the plan looks safe to you.\n\n Every profile plan includes exactly these root bootstrap Agent Files:\n - `AGENTS.md` — entry point and working rules;\n - `SOUL.md` — assistant identity;\n - `STYLE.md` — communication style;\n\n `MEMORY.md` is optional and free-form. Do not create it during onboarding;\n the agent creates it on the user\'s first explicit remember request. Never\n template-upgrade or rewrite an existing `MEMORY.md`. The bootstrap files\'\n profile-specific sections must match Memos, IPO, GTD, or PARA. Do not add\n `AGENT.md` or `CLAUDE.md`.\n\n6. **Apply after explicit confirmation (or explicit sandbox / non-interactive authorization)**\n\n ```bash\n npx -y @life-os/cli onboard apply vault="<vault>" profile=para density=minimal locale=en --json\n npx -y @life-os/cli onboard verify vault="<vault>" --json\n ```\n\n Report partial results honestly. Existing conflicting files are preserved;\n other safe entries may still be created. An existing `MEMORY.md` is not an\n onboarding conflict because it is not managed by the template.\n\n7. **Continue with content**\n - For existing files or pasted material, read `references/migration.md`.\n - For a source-profile to target-profile conversion, follow\n `references/template-migration.md` and keep its migration record current.\n - For an empty folder, read `references/from-scratch.md`.\n\n8. **Finish and verify on disk**\n\n Never treat `onboard apply`, `classify-apply`, or `onboard verify` receipts\n alone as proof that the deliverable vault changed. Before reporting\n completion, directly inspect the actual filesystem state inside the target\n vault (and any user-specified delivery/output directory): confirm that the\n created folders, root bootstrap files, installed skills, moved notes,\n preserved note contents/frontmatter, and emptied source directories actually\n exist as expected on disk.\n\n Report **only** the verified on-disk state—what was actually created in the\n target location, what stayed in place, what remains unclassified, and any\n discrepancy if a command receipt did not take effect on the target vault. If\n the target vault or delivery copy was not modified on disk, do not use\n completed past-tense claims (“created”, “moved”, “emptied”); report the exact\n observed state and gap.\n\n## Recovery\n\n- Re-run `onboard status` after interruption.\n- Re-run `onboard plan` before retrying; it is idempotent and reports new conflicts.\n- Do not delete a partially created structure to simulate rollback.\n- Do not overwrite a conflict unless the user separately requests and reviews\n that exact replacement.\n',
373
384
  'lifeos-onboarding/references/template-gtd.md': '# GTD Template Profile\n\nUse this reference when `lifeos profile` returns `gtd`, or when the vault is\norganised around inbox, next actions, waiting, someday and review lists.\n\n## Model\n\nGTD is an action-management profile, not primarily a theme-note profile:\n\n- **Inbox / 收件箱**: unclarified input.\n- **Next Actions / 下一步行动**: concrete executable tasks.\n- **Waiting For / 等待事项**: delegated or externally blocked tasks.\n- **Someday Maybe / 将来可能**: deferred ideas and options.\n- **Projects / 项目**: multi-step outcomes.\n- **Review / 复盘**: trusted-system maintenance.\n- **Reference / 参考**: non-actionable support material.\n- **Archive / 归档**: inactive or unclassifiable legacy material.\n\nDefault English structure:\n\n```text\n0. Periodic Notes\n1. Inbox\n2. Actions\n3. Projects\n4. Reference\n5. Reviews\n6. Archive\n```\n\nInbox is intrinsic to GTD: it contains new items waiting for clarification. It\nis not a generic migration fallback.\n\nCommon tags include `#gtd/next`, `#gtd/waiting`, `#gtd/someday` and context tags\nsuch as `#ctx/computer`. Reuse existing tag vocabulary instead of inventing a new\none.\n\n## Source Workflow\n\n1. Run `lifeos profile`.\n2. Read `TASK.md` when present; it is usually the execution entry.\n3. Read the `Actions`, `Projects`, `Reference`, `Reviews`, and `Inbox` folders,\n plus any waiting/someday lists or tags present inside them.\n4. Query tasks by GTD tags and context tags.\n5. Use project notes only when an action clearly belongs to a multi-step outcome.\n\n## Dashboard Focus\n\nFor GTD HTML dashboards, do not force the theme-dashboard model unless the user\nexplicitly selected a theme/index note. Use the selected list note as the source\nand write a sibling `.html` file:\n\n```text\nTASK.md -> TASK.html\nNext Actions.md -> Next Actions.html\nWeekly Review.md -> Weekly Review.html\n```\n\nRequired modules:\n\n- inbox state: unclarified items and oldest/stale signals;\n- next actions by context;\n- waiting-for items with owner and follow-up point when known;\n- someday/maybe candidates that need review or pruning;\n- projects with missing next actions;\n- review checklist;\n- next actions / 下一步行动 for maintaining the system;\n- risks: stale inbox, blocked waiting items, actions without context, projects\n without next actions.\n\n## Do Not\n\n- Do not present GTD list dashboards as PARA theme dashboards.\n- Do not invent owners, deadlines, contexts or project links.\n- Do not create a separate recommendations section outside `Next actions` /\n `下一步行动`.\n',
374
385
  'lifeos-onboarding/references/template-ipo.md': '# IPO Template Profile\n\nUse this reference when `lifeos profile` returns `ipo`, or when the vault is\norganised around Input -> Theme -> Output.\n\n## Model\n\nIPO treats knowledge work as a production line:\n\n- **Input / 输入**: raw material, clips, feedback, meeting notes and references.\n- **Theme / 主题**: processing layer where material is interpreted, clustered and\n turned into judgment.\n- **Output / 输出**: shipped or shippable artifacts such as articles, proposals,\n scripts, course material, documentation or product copy.\n- **Archive / 归档**: inactive or unclassifiable legacy material that should\n remain searchable without polluting the active pipeline.\n\nDefault English structure:\n\n```text\n0. Periodic Notes\n1. Input\n2. Themes\n3. Output\n4. Archive\n```\n\nThe theme note is the operating center. It should explain how input evidence\nsupports judgments and which outputs can be produced next.\n\n## Source Workflow\n\n1. Run `lifeos config` and `lifeos profile`.\n2. Read the theme/index note under the configured theme folder.\n3. Read linked or tagged input material that feeds the theme.\n4. Read output notes that already reference the theme.\n5. Read sibling `.AI.md` and existing HTML dashboard when present.\n\nKeep source gathering bounded: prefer linked files, theme tags and same-folder\nmaterial over broad keyword sweeps.\n\n## Dashboard Focus\n\nUse `../../lifeos-content/references/theme-dashboard.md` for the HTML path and visual contract, then\nshape the modules around the IPO flow:\n\n- input queue: important raw materials and their source;\n- processing state: what has been distilled, what still needs judgment;\n- key judgments: durable interpretations produced by the theme;\n- output candidates: concrete pieces that can be drafted or shipped;\n- next actions / 下一步行动: gather, distill, outline, draft, publish or archive;\n- risks: stale input, weak evidence, unclear audience, blocked output path;\n- material lineage: input -> theme judgment -> output.\n\n## Do Not\n\n- Do not convert raw input directly into finished output without showing the\n theme-level judgment.\n- Do not treat the input folder as a permanent topic workspace.\n- Do not use Input as a generic dump for old imports; use Archive when their\n role in the pipeline cannot be established.\n- Do not invent audience signals, publication dates or output status.\n',
375
386
  'lifeos-onboarding/references/template-memos.md': "# Memos Template\n\nUse this reference when `lifeos profile` returns `memos`, or when the user wants\nLogseq-, flomo-, or usememos-style chronological capture without PARA or themes.\n\n## Structure\n\n```text\n0. Periodic Notes\n└── Templates\n ├── Daily.md\n ├── Weekly.md\n ├── Monthly.md\n ├── Quarterly.md\n └── Yearly.md\n```\n\nThe daily template contains only the configured Daily Record heading. Write\nordinary bullets and Markdown tasks directly below it. Full density keeps four\nreview queries in longer-period templates:\n\n- `TaskDueListByTime`\n- `TaskRecordListByTime`\n- `BulletRecordListByTime`\n- `TaskDoneListByTime`\n\nDo not add project, area, or theme snapshots while the vault remains Memos.\n\n## Operating loop\n\n1. Capture bullets and tasks in today's daily note.\n2. Use task queries for open and completed work.\n3. Review the recorded bullets and tasks weekly.\n4. Add a taxonomy only after retrieval by time is no longer enough.\n\n## Upgrade without losing history\n\nMemos is a foundation, not a temporary format. IPO, GTD, and PARA use the same\nMarkdown tasks and periodic notes, so old daily notes stay in place.\n\nRead `references/template-migration.md` before changing an existing Memos vault.\nIt defines scope, settings-field merging, migration records, and verification.\n\n1. Run `onboard inspect --json`.\n2. Choose one target based on the current bottleneck.\n3. Preview `onboard plan profile=<ipo|gtd|para> ... --json`.\n4. Explain every conflict, especially `.lifeos/settings.json` and README.\n5. Do not apply over existing conflicting settings. Merge only the reviewed\n target paths and flags, preserving the existing periodic-note path and custom\n templates.\n6. Begin classifying new material under the target model. Move old material only\n in confirmed batches when that creates real retrieval value.\n\nFor OPC, use the separate `opc` skill and normally migrate selected material to\nan OPC Blank Vault. Do not approximate OPC by adding folders to Memos.\n\n## Moving back to Memos\n\nStop creating new theme/action material and return capture to daily notes. Keep\nthe old folders in place or archive them; deleting them can break links and\nhistorical queries. A template change is a workflow migration, not a reversible\nUI toggle.\n",
376
- 'lifeos-onboarding/references/template-migration.md': '# Template-to-Template Migration\n\nUse this when the detected source profile differs from the requested target\nprofile, or when the user says switch, upgrade, convert, or migrate templates.\nThis is an agent-led, reviewed migration—not a template toggle.\n\nSupported here: Memos, IPO / Topic-only, GTD, and PARA. For OPC, load the\nseparate `opc` skill and normally migrate selected material into an OPC Blank\nVault.\n\n## Contents\n\n- [Migration contract](#migration-contract)\n- [Create a migration record](#create-a-migration-record)\n- [Inspect and preview](#inspect-and-preview)\n- [Merge settings by field](#merge-settings-by-field)\n- [Migrate Agent Files](#migrate-agent-files-without-losing-user-context)\n- [Apply structure before moving content](#apply-structure-before-moving-content)\n- [Classify by meaning](#classify-by-meaning-not-source-folder)\n- [Exclude system and generated material](#exclude-system-and-generated-material)\n- [Links and attachments](#links-and-attachments)\n- [Execute in bounded batches](#execute-in-bounded-batches)\n- [Verify before changing the profile manifest](#verify-before-changing-the-profile-manifest)\n- [Recovery and reversal](#recovery-and-reversal)\n\n## Migration contract\n\nBefore writing, establish these facts:\n\n1. **Source profile** — use the profile reported by `onboard inspect --json`.\n If it is `custom` or `unknown`, stop calling the operation a profile\n conversion; inventory the actual folders and settings first.\n2. **Target profile** — choose one model only. Topic-only maps to IPO.\n3. **Scope** — ask one consequential question and record one of:\n - `new-content-only`: add the target workflow; leave history where it is;\n - `selected-history` (default): migrate only material that creates immediate\n retrieval or execution value;\n - `full-history`: keep batching until every eligible item is moved,\n explicitly retained, or recorded as blocked.\n4. **Recovery checkpoint** — for `full-history`, require the user to confirm a\n current vault backup, version-control checkpoint, or sync snapshot before any\n move. A classification plan is an audit trail, not a backup.\n\nDo not ask the user to choose scope again when they already stated it.\n\n## Create a migration record\n\nKeep a resumable record at:\n\n```text\n.lifeos/migrations/<timestamp>-<source>-to-<target>.json\n```\n\nUse this schema:\n\n```json\n{\n "schemaVersion": 1,\n "sourceProfile": "memos",\n "targetProfile": "para",\n "scope": "selected-history",\n "status": "planned",\n "settingsChanges": [{ "key": "usePARANotes", "from": false, "to": true }],\n "classificationPlans": [],\n "moves": [],\n "conflicts": [],\n "unclassifiedCount": 0,\n "startedAt": "<ISO timestamp>"\n}\n```\n\nAllowed statuses are `planned`, `structure-applied`, `content-migrating`,\n`verified`, and `blocked`. Do not write the complete settings object into this\nrecord: it may contain activation, calendar, sync, or AI credentials. Record\nonly reviewed template-structure fields and file movements.\n\n## Inspect and preview\n\nRun the normal bounded path:\n\n```bash\nnpx -y @life-os/cli onboard inspect --json\nnpx -y @life-os/cli onboard plan profile=<target> density=<minimal|full> locale=<locale> --json\n```\n\nThe JSON plan includes `conflictEntries`. A conflicting file entry retains the\ntarget content so the agent can compare it with the current file; `onboard\napply` still never overwrites that conflict.\n\nShow the user:\n\n- source profile, target profile, and scope;\n- directories and files that can be added safely;\n- conflicting paths;\n- the settings fields proposed for change;\n- the target sections for `AGENTS.md`, `SOUL.md`, and `STYLE.md`;\n- whether a free-form `MEMORY.md` already exists (it remains unmanaged);\n- whether historical files will move in this phase.\n\nRequire explicit confirmation before applying structure or editing settings.\n\n## Merge settings by field\n\nRead the current `.lifeos/settings.json`. Use the target settings content from\nthe plan\'s `.lifeos/settings.json` `conflictEntries` item as a source of desired\ntemplate values, not as a replacement file.\n\nStart from the current settings and merge only reviewed template fields:\n\n- workflow flags such as `usePARANotes`, `usePARAAdvanced`, `useThemeNotes`, and\n `useThemeAdvanced`;\n- target taxonomy paths such as capture, project, area, resource, archive,\n express, input, theme, and output paths;\n- target taxonomy template paths only when the target workflow needs them.\n\nPreserve by default:\n\n- `periodicNotesPath`, every periodic path format, and every periodic template\n path;\n- daily, project, area, theme, and habit headers;\n- locale, week start, custom task statuses, and user naming conventions;\n- every AI, model, activation, calendar, sync, account, and unrelated UI field;\n- source-profile path fields while old folders still contain active material.\n\nIf the user explicitly wants target periodic defaults, present those fields as\na separate decision. Never leak unchanged sensitive settings in the diff or\nmigration record.\n\nUse the host agent\'s exact file-edit capability after confirmation. If exact\nediting is unavailable, stop and ask the user to make the field changes; do not\nreconstruct and overwrite the complete settings file with `create overwrite`.\n\n## Migrate Agent Files without losing user context\n\nThe target onboarding plan includes exactly three root bootstrap Agent Files:\n`AGENTS.md`, `SOUL.md`, and `STYLE.md`. If any already exist, they appear in\n`conflictEntries`; `onboard apply` preserves them. `MEMORY.md` is optional,\nfree-form, and outside template management.\n\nAfter confirmation, compare each existing file with its target content:\n\n- Keep `AGENTS.md` as the entry point. Preserve user-authored working rules and\n make sure it points to `SOUL.md`, `STYLE.md`, and `MEMORY.md`. Replace only\n the old profile operating-model section with the target profile section.\n- Preserve custom identity constraints in `SOUL.md`; replace only the old\n profile identity section.\n- Preserve custom voice and formatting preferences in `STYLE.md`; replace only\n the old profile expression section.\n- If `MEMORY.md` exists, keep it byte-for-byte unchanged during migration.\n Change it only for a separate, explicit user request to update durable memory;\n never add profile scaffolding or impose headings.\n\nDo not create `AGENT.md` or `CLAUDE.md`. If a file mixes generated and\nuser-authored text so tightly that the boundary is unclear, show a focused diff\nand ask before editing it.\n\n## Apply structure before moving content\n\nAfter confirmation, run target `onboard apply`. It may create safe directories,\ntemplates, entry pages, and missing bootstrap Agent Files while preserving\nconflicts. Then apply the reviewed settings and bootstrap Agent File merges.\n\nKeep the existing `.lifeos/template-profile.json` during structural and content\nmigration. Its old value makes the in-progress state visible. Update it to the\ntarget content from `conflictEntries` only after target settings, directories,\nentry points, bootstrap Agent Files, and queries have been verified.\n\nSet the migration record to `structure-applied` before classifying history.\n\n## Classify by meaning, not source folder\n\nFolder names are evidence, not decisions. A PARA Project does not automatically\nbecome a GTD Project, and an IPO Theme does not automatically become a PARA\nResource. Read enough of each item to identify its current role.\n\n### Target IPO / Topic-only\n\n| Meaning | Default destination |\n| --------------------------------------------------------------- | ------------------- |\n| Raw source, evidence, clipping, or unprocessed import | Input |\n| Durable judgment, topic synthesis, or maintained subject page | Themes |\n| Article, proposal, decision memo, or other intended deliverable | Output |\n| Inactive or unclassifiable legacy material | Archive |\n\nKeep Markdown tasks in their existing notes or periodic notes unless moving the\nowning note is useful; IPO has no generic action folder.\n\n### Target GTD\n\n| Meaning | Default destination |\n| --------------------------------------------------------- | ------------------------------------- |\n| New or unclear open loop | Inbox |\n| Executable next action, waiting-for item, or someday item | Actions, with reviewed GTD tags |\n| Multi-step outcome requiring more than one action | Projects |\n| Non-actionable supporting information | Reference |\n| Review checklist or system review record | Reviews or the matching periodic note |\n| Inactive material | Archive |\n\nDo not split tasks out of a project note merely to fill the Actions folder. The\nproject note remains the source of truth; action indexes may aggregate tasks.\n\n### Target PARA\n\n| Meaning | Default destination |\n| ---------------------------------------------- | ------------------- |\n| Newly arrived and not yet processed | Capture |\n| Active outcome with a finish condition | Projects |\n| Ongoing responsibility or standard to maintain | Areas |\n| Reusable reference or subject knowledge | Resources |\n| User-authored synthesis or deliverable | Express |\n| Inactive or unclassifiable legacy material | Archive |\n\n### Target Memos\n\nDo not use `classify-*`; Memos has no taxonomy destinations. Keep all old\nfolders and links. Disable or stop using the taxonomy only after confirmation,\npreserve periodic notes, and route new capture to daily notes. Old folders may\nbe archived later in separately reviewed batches, but they are not deleted as\npart of switching to Memos.\n\n## Exclude system and generated material\n\nDo not automatically classify:\n\n- `.lifeos/`, `.obsidian/`, `.agents/`, plugin directories, or hidden files;\n- root README / task entry pages belonging to the source workflow;\n- template files and template directories;\n- generated query/index pages, `.AI.md` pages, or HTML dashboards;\n- migration and classification plan files.\n\nPreserve these until the target workflow works. Regenerate target indexes,\nAI Wiki pages, or dashboards from their sources instead of treating generated\noutput as ordinary imported knowledge. Move a system file only after a separate,\npath-specific confirmation.\n\nWhen a migration creates or repairs a target project/theme index, follow\n[`theme-notes.md`](../../lifeos-board/references/theme-notes.md). Preserve the\nselected template\'s queries and metadata, and verify its saved content. A plain\nlink list alone is not a template-complete target index.\n\n## Links and attachments\n\nBefore confirming a move, inspect standard Markdown links, Wikilinks, embeds,\nand attachment references. The classifier rejects known unsafe moves; never\nweaken or bypass that validation.\n\nFor a linked item choose one reviewed strategy:\n\n1. **Keep in place** and create a target index note that links to it. This is the\n safest default.\n2. **Move a self-contained bundle** of a note and its exclusively owned\n attachments, then update every inbound and outbound reference with exact\n edits and verify them.\n3. **Defer as blocked** in the migration record when ownership or links are\n unclear.\n\nShared attachments remain in place. An attachment follows its primary note only\nwhen that ownership is clear; filename and media type alone are insufficient.\nDo not claim to understand binary content without an extraction tool.\n\n## Execute in bounded batches\n\nFor `selected-history` or `full-history`, follow `references/migration.md`:\n\n1. Produce at most 30 candidates with `onboard classify-input`.\n2. Filter system/generated material.\n3. Propose destinations with reason, evidence, and confidence.\n4. Save the reviewed classification plan and add its path to the migration\n record.\n5. Run `classify-plan`; resolve or defer every conflict.\n6. Run `classify-apply` only after explicit confirmation.\n7. Append successful source/destination pairs to `moves`; update conflicts and\n remaining count.\n8. Repeat only while the selected scope requires it.\n\nSet status to `content-migrating` when the first batch begins. If work stops,\nleave the record resumable and report the exact next batch or conflict.\n\n## Verify before changing the profile manifest\n\nDo not treat folder creation as completion. Verify:\n\n- current periodic notes still resolve to the original files;\n- target directories and settings fields match;\n- the target daily entry point opens or can be created;\n- target task and review queries work;\n- moved files exist only at the confirmed targets;\n- links and attachments used by moved files still resolve;\n- every in-scope item is moved, explicitly retained, or recorded as blocked;\n- no secret-bearing setting was copied into a migration or classification file.\n\nAfter those checks and user confirmation, update\n`.lifeos/template-profile.json` to the target content from the onboarding plan,\nthen run:\n\n```bash\nnpx -y @life-os/cli profile --json\nnpx -y @life-os/cli onboard verify --json\n```\n\nSet the migration record to `verified`, add `completedAt`, and report moved,\nretained, blocked, and unclassified counts separately. `verified` means the\nselected scope is complete; it does not imply every historical file moved when\nscope was `new-content-only` or `selected-history`.\n\n## Recovery and reversal\n\n- Resume from the migration record and its referenced classification plans.\n- Never delete a partially created target structure to simulate rollback.\n- To reverse confirmed file moves, build a separate reverse plan from the\n recorded `moves`, validate it against the original profile, and ask for fresh\n confirmation.\n- Revert only the recorded template settings fields. Do not overwrite the full\n settings file with a stale backup.\n- If links were edited after a move, review those edits before reversing paths.\n\nMark the migration `blocked` only when the unresolved condition cannot be\nhandled safely without user input or an external state change. Otherwise leave\nit in progress with a concrete next action.\n',
387
+ 'lifeos-onboarding/references/template-migration.md': '# Template-to-Template Migration\n\nUse this when the detected source profile differs from the requested target\nprofile, or when the user says switch, upgrade, convert, or migrate templates.\nThis is an agent-led, reviewed migration—not a template toggle.\n\nSupported here: Memos, IPO / Topic-only, GTD, and PARA. For OPC, load the\nseparate `opc` skill and normally migrate selected material into an OPC Blank\nVault.\n\n## Contents\n\n- [Migration contract](#migration-contract)\n- [Create a migration record](#create-a-migration-record)\n- [Inspect and preview](#inspect-and-preview)\n- [Merge settings by field](#merge-settings-by-field)\n- [Migrate Agent Files](#migrate-agent-files-without-losing-user-context)\n- [Apply structure before moving content](#apply-structure-before-moving-content)\n- [Classify by meaning](#classify-by-meaning-not-source-folder)\n- [Exclude system and generated material](#exclude-system-and-generated-material)\n- [Links and attachments](#links-and-attachments)\n- [Execute in bounded batches](#execute-in-bounded-batches)\n- [Verify before changing the profile manifest](#verify-before-changing-the-profile-manifest)\n- [Recovery and reversal](#recovery-and-reversal)\n\n## Migration contract\n\nBefore writing, establish these facts:\n\n1. **Source profile** — use the profile reported by `onboard inspect --json`.\n If it is `custom` or `unknown`, stop calling the operation a profile\n conversion; inventory the actual folders and settings first.\n2. **Target profile** — choose one model only. Topic-only maps to IPO.\n3. **Scope** — ask one consequential question and record one of:\n - `new-content-only`: add the target workflow; leave history where it is;\n - `selected-history` (default): migrate only material that creates immediate\n retrieval or execution value;\n - `full-history`: keep batching until every eligible item is moved,\n explicitly retained, or recorded as blocked.\n4. **Recovery checkpoint** — for `full-history`, require the user to confirm a\n current vault backup, version-control checkpoint, or sync snapshot before any\n move. A classification plan is an audit trail, not a backup.\n\nDo not ask the user to choose scope again when they already stated it.\n\n## Create a migration record\n\nKeep a resumable record at:\n\n```text\n.lifeos/migrations/<timestamp>-<source>-to-<target>.json\n```\n\nUse this schema:\n\n```json\n{\n "schemaVersion": 1,\n "sourceProfile": "memos",\n "targetProfile": "para",\n "scope": "selected-history",\n "status": "planned",\n "settingsChanges": [{ "key": "usePARANotes", "from": false, "to": true }],\n "classificationPlans": [],\n "moves": [],\n "conflicts": [],\n "unclassifiedCount": 0,\n "startedAt": "<ISO timestamp>"\n}\n```\n\nAllowed statuses are `planned`, `structure-applied`, `content-migrating`,\n`verified`, and `blocked`. Do not write the complete settings object into this\nrecord: it may contain activation, calendar, sync, or AI credentials. Record\nonly reviewed template-structure fields and file movements.\n\n## Inspect and preview\n\nRun the normal bounded path:\n\n```bash\nnpx -y @life-os/cli onboard inspect --json\nnpx -y @life-os/cli onboard plan profile=<target> density=<minimal|full> locale=<locale> --json\n```\n\nThe JSON plan includes `conflictEntries`. A conflicting file entry retains the\ntarget content so the agent can compare it with the current file; `onboard\napply` still never overwrites that conflict.\n\nShow the user:\n\n- source profile, target profile, and scope;\n- directories and files that can be added safely;\n- conflicting paths;\n- the settings fields proposed for change;\n- the target sections for `AGENTS.md`, `SOUL.md`, and `STYLE.md`;\n- whether a free-form `MEMORY.md` already exists (it remains unmanaged);\n- whether historical files will move in this phase.\n\nIn interactive use, require explicit confirmation before applying structure or\nediting settings. In explicit non-interactive / sandbox mode where confirmation\nis waived by the user or runtime, validate the plan first, keep conflicts\nunoverwritten, and apply the safe subset directly in the same turn; verify all\nresulting files on disk before reporting completion.\n\n## Merge settings by field\n\nRead the current `.lifeos/settings.json`. Use the target settings content from\nthe plan\'s `.lifeos/settings.json` `conflictEntries` item as a source of desired\ntemplate values, not as a replacement file.\n\nStart from the current settings and merge only reviewed template fields:\n\n- workflow flags such as `usePARANotes`, `usePARAAdvanced`, `useThemeNotes`, and\n `useThemeAdvanced`;\n- target taxonomy paths such as capture, project, area, resource, archive,\n express, input, theme, and output paths;\n- target taxonomy template paths only when the target workflow needs them.\n\nPreserve by default:\n\n- `periodicNotesPath`, every periodic path format, and every periodic template\n path;\n- daily, project, area, theme, and habit headers;\n- locale, week start, custom task statuses, and user naming conventions;\n- every AI, model, activation, calendar, sync, account, and unrelated UI field;\n- source-profile path fields while old folders still contain active material.\n\nIf the user explicitly wants target periodic defaults, present those fields as\na separate decision. Never leak unchanged sensitive settings in the diff or\nmigration record.\n\nUse the host agent\'s exact file-edit capability after confirmation. If exact\nediting is unavailable, stop and ask the user to make the field changes; do not\nreconstruct and overwrite the complete settings file with `create overwrite`.\n\n## Migrate Agent Files without losing user context\n\nThe target onboarding plan includes exactly three root bootstrap Agent Files:\n`AGENTS.md`, `SOUL.md`, and `STYLE.md`. If any already exist, they appear in\n`conflictEntries`; `onboard apply` preserves them. `MEMORY.md` is optional,\nfree-form, and outside template management.\n\nAfter confirmation, compare each existing file with its target content:\n\n- Keep `AGENTS.md` as the entry point. Preserve user-authored working rules and\n make sure it points to `SOUL.md`, `STYLE.md`, and `MEMORY.md`. Replace only\n the old profile operating-model section with the target profile section.\n- Preserve custom identity constraints in `SOUL.md`; replace only the old\n profile identity section.\n- Preserve custom voice and formatting preferences in `STYLE.md`; replace only\n the old profile expression section.\n- If `MEMORY.md` exists, keep it byte-for-byte unchanged during migration.\n Change it only for a separate, explicit user request to update durable memory;\n never add profile scaffolding or impose headings.\n\nDo not create `AGENT.md` or `CLAUDE.md`. If a file mixes generated and\nuser-authored text so tightly that the boundary is unclear, show a focused diff\nand ask before editing it.\n\n## Apply structure before moving content\n\nAfter confirmation, run target `onboard apply`. It may create safe directories,\ntemplates, entry pages, and missing bootstrap Agent Files while preserving\nconflicts. Then apply the reviewed settings and bootstrap Agent File merges.\n\nKeep the existing `.lifeos/template-profile.json` during structural and content\nmigration. Its old value makes the in-progress state visible. Update it to the\ntarget content from `conflictEntries` only after target settings, directories,\nentry points, bootstrap Agent Files, and queries have been verified.\n\nSet the migration record to `structure-applied` before classifying history.\n\n## Classify by meaning, not source folder\n\nFolder names are evidence, not decisions. A PARA Project does not automatically\nbecome a GTD Project, and an IPO Theme does not automatically become a PARA\nResource. Read enough of each item to identify its current role.\n\n### Target IPO / Topic-only\n\n| Meaning | Default destination |\n| --------------------------------------------------------------- | ------------------- |\n| Raw source, evidence, clipping, or unprocessed import | Input |\n| Durable judgment, topic synthesis, or maintained subject page | Themes |\n| Article, proposal, decision memo, or other intended deliverable | Output |\n| Inactive or unclassifiable legacy material | Archive |\n\nKeep Markdown tasks in their existing notes or periodic notes unless moving the\nowning note is useful; IPO has no generic action folder.\n\n### Target GTD\n\n| Meaning | Default destination |\n| --------------------------------------------------------- | ------------------------------------- |\n| New or unclear open loop | Inbox |\n| Executable next action, waiting-for item, or someday item | Actions, with reviewed GTD tags |\n| Multi-step outcome requiring more than one action | Projects |\n| Non-actionable supporting information | Reference |\n| Review checklist or system review record | Reviews or the matching periodic note |\n| Inactive material | Archive |\n\nDo not split tasks out of a project note merely to fill the Actions folder. The\nproject note remains the source of truth; action indexes may aggregate tasks.\n\n### Target PARA\n\n| Meaning | Default destination |\n| ---------------------------------------------- | ------------------- |\n| Newly arrived and not yet processed | Capture |\n| Active outcome with a finish condition | Projects |\n| Ongoing responsibility or standard to maintain | Areas |\n| Reusable reference or subject knowledge | Resources |\n| User-authored synthesis or deliverable | Express |\n| Inactive or unclassifiable legacy material | Archive |\n\n### Target Memos\n\nDo not use `classify-*`; Memos has no taxonomy destinations. Keep all old\nfolders and links. Disable or stop using the taxonomy only after confirmation,\npreserve periodic notes, and route new capture to daily notes. Old folders may\nbe archived later in separately reviewed batches, but they are not deleted as\npart of switching to Memos.\n\n## Exclude system and generated material\n\nDo not automatically classify:\n\n- `.lifeos/`, `.obsidian/`, `.agents/`, plugin directories, or hidden files;\n- root README / task entry pages belonging to the source workflow;\n- template files and template directories;\n- generated query/index pages, `.AI.md` pages, or HTML dashboards;\n- migration and classification plan files.\n\nPreserve these until the target workflow works. Regenerate target indexes,\nAI Wiki pages, or dashboards from their sources instead of treating generated\noutput as ordinary imported knowledge. Move a system file only after a separate,\npath-specific confirmation.\n\nWhen a migration creates or repairs a target project/theme index, follow\n[`theme-notes.md`](../../lifeos-board/references/theme-notes.md). Preserve the\nselected template\'s queries and metadata, and verify its saved content. A plain\nlink list alone is not a template-complete target index.\n\n## Links and attachments\n\nBefore confirming a move, inspect standard Markdown links, Wikilinks, embeds,\nand attachment references. The classifier rejects known unsafe moves; never\nweaken or bypass that validation.\n\nFor a linked item choose one reviewed strategy:\n\n1. **Keep in place** and create a target index note that links to it. This is the\n safest default.\n2. **Move a self-contained bundle** of a note and its exclusively owned\n attachments, then update every inbound and outbound reference with exact\n edits and verify them.\n3. **Defer as blocked** in the migration record when ownership or links are\n unclear.\n\nShared attachments remain in place. An attachment follows its primary note only\nwhen that ownership is clear; filename and media type alone are insufficient.\nDo not claim to understand binary content without an extraction tool.\n\n## Execute in bounded batches\n\nFor `selected-history` or `full-history`, follow `references/migration.md`:\n\n1. Produce at most 30 candidates with `onboard classify-input`.\n2. Filter system/generated material.\n3. Propose destinations with reason, evidence, and confidence.\n4. Save the reviewed classification plan and add its path to the migration\n record.\n5. Run `classify-plan`; resolve or defer every conflict.\n6. Run `classify-apply` only after explicit confirmation.\n7. Append successful source/destination pairs to `moves`; update conflicts and\n remaining count.\n8. Repeat only while the selected scope requires it.\n\nSet status to `content-migrating` when the first batch begins. If work stops,\nleave the record resumable and report the exact next batch or conflict.\n\n## Verify before changing the profile manifest\n\nDo not treat folder creation as completion. Verify:\n\n- current periodic notes still resolve to the original files;\n- target directories and settings fields match;\n- the target daily entry point opens or can be created;\n- target task and review queries work;\n- moved files exist only at the confirmed targets;\n- links and attachments used by moved files still resolve;\n- every in-scope item is moved, explicitly retained, or recorded as blocked;\n- no secret-bearing setting was copied into a migration or classification file.\n\nAfter those checks and user confirmation, update\n`.lifeos/template-profile.json` to the target content from the onboarding plan,\nthen run:\n\n```bash\nnpx -y @life-os/cli profile --json\nnpx -y @life-os/cli onboard verify --json\n```\n\nSet the migration record to `verified`, add `completedAt`, and report moved,\nretained, blocked, and unclassified counts separately. `verified` means the\nselected scope is complete; it does not imply every historical file moved when\nscope was `new-content-only` or `selected-history`.\n\n## Recovery and reversal\n\n- Resume from the migration record and its referenced classification plans.\n- Never delete a partially created target structure to simulate rollback.\n- To reverse confirmed file moves, build a separate reverse plan from the\n recorded `moves`, validate it against the original profile, and ask for fresh\n confirmation.\n- Revert only the recorded template settings fields. Do not overwrite the full\n settings file with a stale backup.\n- If links were edited after a move, review those edits before reversing paths.\n\nMark the migration `blocked` only when the unresolved condition cannot be\nhandled safely without user input or an external state change. Otherwise leave\nit in progress with a concrete next action.\n',
377
388
  'lifeos-onboarding/references/template-para.md': "# PARA Template Profile\n\nUse this reference when `lifeos profile` returns `para`, or when the vault is\nclearly organised around projects / areas / resources / archives.\n\n## Model\n\nThe LifeOS PARA profile keeps capture and expression around the core PARA model:\n\n- **Capture / 捕获**: newly arrived material that has not been processed yet.\n- **Projects / 项目**: active outcomes with deadlines or completion criteria.\n- **Areas / 领域**: ongoing responsibilities and standards.\n- **Resources / 资源**: reusable reference material and topics of interest.\n- **Archives / 存档 / 归档**: inactive or completed material.\n- **Express / 表达**: the user's own drafts, synthesis, and output.\n- **Periodic notes / 周期笔记**: time-based capture, planning and review.\n\nDefault English structure:\n\n```text\n-1. Capture\n0. Periodic Notes\n1. Projects\n2. Areas\n3. Resources\n4. Archive\n5. Express\n```\n\nDo not create a generic Inbox for PARA. During migration, recommend Archive for\nold material that cannot be classified reliably. Reserve Capture for new,\nunprocessed material.\n\nTheme tags connect periodic capture back to project / area / resource index\nnotes. Prefer the configured paths from `lifeos config` over hard-coded folder\nnames.\n\n## Source Workflow\n\n1. Run `lifeos config` and `lifeos profile`.\n2. Locate the project / area / resource / archive index note.\n3. Read the source note, sibling `.AI.md` if present, same-folder material and\n relevant recent periodic notes.\n4. Preserve existing useful dashboard / AI Wiki structure when refreshing.\n\n## Dashboard Focus\n\nFor PARA theme dashboards, use\n`../../lifeos-content/references/theme-dashboard.md` and emphasise:\n\n- theme identity and tag;\n- current state and key judgment;\n- indexed tasks, fleeting notes and files;\n- next actions / 下一步行动;\n- risks and blockers;\n- material map and recent activity.\n\nAdjust focus by category:\n\n- Project: outcome, deadline, open work, blocker and next milestone.\n- Area: standard, cadence, drift, recurring risk and next review point.\n- Resource: knowledge structure, unread material and reuse potential.\n- Archive: historical conclusion, reusable assets and recovery condition.\n\n## Do Not\n\n- Do not treat one-off captures or daily notes as theme dashboards unless the\n user explicitly asks.\n- Do not invent theme tags, deadlines, task counts or progress scores.\n- Do not create a separate recommendations section outside `Next actions` /\n `下一步行动`.\n",
378
389
  'lifeos-onboarding/references/template-selection.md': "# Template Selection\n\nRead this before recommending a structure. Prefer the simplest model that\nmatches how the user retrieves and advances work.\n\nStart from the user's current bottleneck, not from the most complete template.\nIf they do not yet have a stable capture habit, recommend Memos instead of PARA.\n\nPresent templates in this default order, from easiest to hardest:\n\n```text\nMemos -> IPO -> GTD -> PARA -> OPC\n```\n\nThis is a complexity ladder, not a mandatory migration route. A user with a\nclear bottleneck may skip directly to the matching template.\n\n## Contents\n\n- [Memos](#memos)\n- [IPO](#ipo)\n- [GTD](#gtd)\n- [PARA](#para)\n- [OPC](#opc)\n- [Decision shortcut](#decision-shortcut)\n- [Complexity and upgrade path](#complexity-and-upgrade-path)\n\n## Memos\n\nChoose Memos when the first need is frictionless chronological capture: daily\nbullets, tasks, and periodic review without a theme taxonomy.\n\n```text\n0. Periodic Notes\n```\n\nMemos is the lowest-maintenance starting point and is especially suitable for\npeople coming from Logseq, flomo, or usememos. It is not a dead end. Existing\ndaily notes stay in place when the user later adds IPO, GTD, or PARA folders.\nUse `density=full` when the user wants weekly, monthly, quarterly, and yearly\nreview queries immediately; `minimal` creates only the empty daily-record\ntemplate.\n\n## IPO\n\nChoose IPO when the user describes a pipeline from source material through\ninterpretation to published or delivered output.\n\nAlso present IPO as **Topic-only mode** when the user does not want to learn or\nchoose a formal organization method and simply wants to organize knowledge by\ntopic. Topic-only is a user-facing name for IPO, not a separate profile or\ndirectory structure. If the user says \"just organize it by topic,\" select IPO.\n\n```text\n0. Periodic Notes\n1. Input\n2. Themes\n3. Output\n4. Archive\n```\n\nPut raw evidence in Input, durable synthesis in Themes, deliverables in Output,\nand inactive or unclassifiable legacy material in Archive.\n\n## GTD\n\nChoose GTD when the main problem is trusted action management: clarifying new\nitems, identifying next actions, tracking projects, and reviewing the system.\n\n```text\n0. Periodic Notes\n1. Inbox\n2. Actions\n3. Projects\n4. Reference\n5. Reviews\n6. Archive\n```\n\nInbox is a GTD method stage, not a universal LifeOS folder. Use it for new,\nunclarified items. Use Archive for inactive or unclassifiable legacy material.\n\n## PARA\n\nChoose PARA when the user thinks in active outcomes, ongoing responsibilities,\nreusable topics, and inactive material.\n\n```text\n-1. Capture\n0. Periodic Notes\n1. Projects\n2. Areas\n3. Resources\n4. Archive\n5. Express\n```\n\n- Capture is for newly arrived, unprocessed material.\n- Express is for the user's own drafts, synthesis, and output.\n- Archive is the fallback for old imported material that cannot be classified\n reliably; do not misuse Capture as a generic migration dump.\n\n## OPC\n\nChoose OPC for a one-person company with explicit input, output, department,\nCEO cockpit, memory, and reusable-asset workflows. Load the separate `opc`\nskill; do not approximate OPC with PARA onboarding.\n\n## Decision shortcut\n\n- “I just need to write things down every day.” -> Memos.\n- “What input becomes which output?” -> IPO.\n- “I only want to organize things by topic.” -> Topic-only mode (IPO).\n- “What is the next physical action?” -> GTD.\n- “What outcome or responsibility does this support?” -> PARA.\n- “How does my one-person company operate?” -> OPC.\n\nWhen two models fit, recommend one and explain the closest alternative. Do not\ncreate a hybrid directory tree during onboarding.\n\n## Complexity and upgrade path\n\nUse this order when the user is unsure:\n\n1. No stable capture habit -> Memos.\n2. Source material must become synthesis or deliverables -> IPO.\n3. Trusted actions and follow-ups are the bottleneck -> GTD.\n4. Projects, ongoing responsibilities, and reusable knowledge all matter -> PARA.\n5. A real one-person business needs departments and a CEO cockpit -> OPC.\n\nTemplates are not switchable skins. They share Markdown and periodic notes, but\ntheir folders and semantics differ:\n\nFor an actual conversion, follow `references/template-migration.md`; the rules\nbelow describe routing, not a complete execution plan.\n\n- Memos -> IPO / GTD / PARA is additive: keep periodic notes, preview the target\n structure, then add folders and settings. Do not move old daily notes.\n- IPO / GTD / PARA conversions require semantic reclassification. Never present\n them as a settings toggle.\n- Any profile -> OPC should normally start from OPC Blank Vault and migrate\n selected material under the separate `opc` skill.\n- Moving back to Memos means stopping use of the taxonomy, not deleting its old\n folders. Preserve links and history.\n\nNever copy a Blank Vault's `.lifeos/settings.json` over an existing vault. It\nwould overwrite custom paths and settings. Inspect, preview, and apply only the\nneeded target structure.\n",
379
- 'lifeos-today/SKILL.md': "---\nname: lifeos-today\ndescription: 'Build and act on LifeOS time-oriented views through the `lifeos` CLI without Aino Desktop. Use when the user asks what to do today, wants AI Today, overdue or due tasks, timed work, completed-today evidence, recent work, daily/weekly/monthly/quarterly/yearly notes, capture into a periodic note, or a weekly review. Do not use for Workflow/PARA board analysis or vault onboarding.'\n---\n\n# LifeOS Today\n\nRead [`../lifeos/SKILL.md`](../lifeos/SKILL.md) first for host selection, vault\nresolution and write safety.\n\n## Start from the grounded view\n\nFor “what should I do today?”, use one bounded command rather than assembling a\nbrief from broad scans:\n\n```bash\nnpx -y @life-os/cli today --json\n```\n\nUse `date=YYYY-MM-DD` only when the user names another date. Verify the returned\n`sources`, distinguish overdue from due-today work, and recommend at most three\nordered next steps. Completed work is based on completion date, not due date.\n\nUse these narrower commands when the user asks for a specific slice:\n\n```bash\nnpx -y @life-os/cli tasks due=today --json\nnpx -y @life-os/cli tasks due=overdue --json\nnpx -y @life-os/cli tasks done completed=this-week --json\nnpx -y @life-os/cli recent range=this-week --json\nnpx -y @life-os/cli review:weekly --json\n```\n\n`due=` filters due dates. It cannot answer what was completed in a period; use\n`completed=` or `review:weekly` for completion evidence.\n\n## Work with periodic notes\n\nRead [`references/periodic-notes.md`](references/periodic-notes.md) before\ncreating, reading, appending to or reviewing daily, weekly, monthly, quarterly\nor yearly notes. Resolve the actual path and section through LifeOS rather than\nguessing either one. Section writes belong to the heading’s direct body, before\nchild headings; read back the note to verify placement, not only the write receipt.\n\nShow a source-backed brief or review before proposing a write. Append a plan,\nreview or synthesized conclusion only after the user approves the concrete\ncontent and target section.\n\n## Boundaries\n\n- Use [`../lifeos-board/SKILL.md`](../lifeos-board/SKILL.md) for Workflow/PARA\n columns, theme workspaces or flow bottlenecks.\n- Use [`../lifeos-onboarding/SKILL.md`](../lifeos-onboarding/SKILL.md) when the\n vault or periodic structure must first be initialized or migrated.\n- Do not require Aino Desktop: `today`, `tasks`, `recent` and `review:weekly`\n reproduce the relevant AI Home evidence headlessly.\n",
390
+ 'lifeos-today/SKILL.md': '---\nname: lifeos-today\ndescription: \'Build and act on LifeOS time-oriented views through the `lifeos` CLI without Aino Desktop. Use when the user asks what to do today, wants AI Today, overdue or due tasks, timed work, completed-today evidence, recent work, daily/weekly/monthly/quarterly/yearly notes, capture into a periodic note, or a weekly review. Do not use for Workflow/PARA board analysis or vault onboarding.\'\n---\n\n# LifeOS Today\n\nRead [`../lifeos/SKILL.md`](../lifeos/SKILL.md) first for host selection, vault\nresolution and write safety.\n\n## Start from the grounded view\n\nAll time-oriented reads (today\'s plan, due/overdue tasks, completed tasks,\nrecent changes, and weekly review) **must** start by calling the matching\nread-only CLI view with explicit `vault=` when a vault path is given. **Do not**\nbypass these read-only views by manually opening or scanning vault notes to\ntally tasks or completion evidence by eye. Only read individual source notes\nafter the view returns `sources` (to inspect needed context), or report the\nexact CLI error if the CLI cannot run in this environment.\n\nFor “what should I do today?”, start with the single bounded command:\n\n```bash\nnpx -y @life-os/cli today vault="<vault>" --json\n```\n\nUse `date=YYYY-MM-DD` only when the user names another date. Verify the returned\n`sources`, distinguish overdue from due-today work, and recommend at most three\nordered next steps. Completed work is based on completion date, not due date.\n\nUse these narrower read-only CLI commands when the user asks for a specific slice:\n\n```bash\nnpx -y @life-os/cli tasks due=today vault="<vault>" --json\nnpx -y @life-os/cli tasks due=overdue vault="<vault>" --json\nnpx -y @life-os/cli tasks done completed=this-week vault="<vault>" --json\nnpx -y @life-os/cli recent range=this-week vault="<vault>" --json\nnpx -y @life-os/cli review:weekly vault="<vault>" --json\n```\n\n`due=` filters due dates. It cannot answer what was completed in a period; use\n`completed=` or `review:weekly` for completion evidence.\n\n## Work with periodic notes\n\nRead [`references/periodic-notes.md`](references/periodic-notes.md) before\ncreating, reading, appending to or reviewing daily, weekly, monthly, quarterly\nor yearly notes. Start by running the period resolver with explicit `vault=`.\nIf the resolver returns a non-existent path that conflicts with a user-named\ndirectory or an already existing note for that period in the vault, follow the\nfallback rule in `references/periodic-notes.md` to target the real existing\nfile instead of silently writing to a stray default path.\n\nPreserve user-supplied wording, punctuation, and item splits verbatim by\ndefault; never polish or merge text when the user provides exact sentences or\nrequests verbatim capture. Section writes belong to the heading’s direct body,\nbefore child headings. After writing, directly verify the actual file on disk\ninside the target vault—never treat a CLI receipt alone as proof of completion.\n\nShow a source-backed brief or review before proposing a write. In interactive\nuse, append a plan, review or synthesized conclusion only after the user\napproves the concrete content and target section; if the user\'s request or\nsandbox environment explicitly authorizes direct execution without confirmation,\nwrite directly and verify the on-disk change.\n\n## Boundaries\n\n- Use [`../lifeos-board/SKILL.md`](../lifeos-board/SKILL.md) for Workflow/PARA\n columns, theme workspaces or flow bottlenecks.\n- Use [`../lifeos-onboarding/SKILL.md`](../lifeos-onboarding/SKILL.md) when the\n vault or periodic structure must first be initialized or migrated.\n- Do not require Aino Desktop: `today`, `tasks`, `recent` and `review:weekly`\n reproduce the relevant AI Home evidence headlessly.\n',
380
391
  'lifeos-today/agents/openai.yaml': "interface:\n display_name: 'LifeOS Today'\n short_description: 'Plan today and review time-based LifeOS work'\n default_prompt: 'Use $lifeos-today to build a grounded plan for today.'\n",
381
- 'lifeos-today/references/periodic-notes.md': '# Periodic notes and reviews\n\nUse this reference for daily capture, weekly/monthly/quarterly/yearly notes,\ntime-based tasks, section-aware appends and reviews.\n\n## Resolve before writing\n\nNever construct a periodic-note path by hand. Start with the period resolver:\n\n```bash\nnpx -y @life-os/cli daily\nnpx -y @life-os/cli weekly date=2026-08-13\n```\n\nFor daily notes, the CLI honors Obsidian Daily Notes `folder`, `format` and\n`template` settings before LifeOS fallbacks. Other periods use the configured\nLifeOS base path, format and template. Locale-sensitive weekday and month tokens\nfollow `locale=` or the system locale.\n\nUse `<period>:create` to render a missing note from its configured template.\n`<period>:append` creates the note from that template when it is missing. The\nshared renderer expands LifeOS date/conditional/snapshot variables and preserves\nunknown LifeOS query blocks for the plugin or Aino to render.\n\nCheck `templatePath` in the creation/append receipt against the selected template.\nThe updated CLI rejects missing explicit templates and propagates read errors;\nempty templates are used as-is. Only an absent conventional template uses a\nbuilt-in fallback. Older executables may silently fall back: readback must verify\nthe expected scaffold and content, not only `created: true`.\nPreserve intentional runtime query expressions left by the renderer.\n\n## Capture into the correct section\n\n1. Resolve the target with `daily`, `weekly`, `monthly`, `quarterly` or\n `yearly`; pass `date=YYYY-MM-DD` for another date.\n2. Read the existing note; when it is missing, inspect its configured template.\n Check heading levels, not only the section name.\n3. Append with `section=<header>` into the heading’s direct body, before the\n next heading of any depth, including child headings. For example, records\n under `# 日常记录` must precede `## 习惯打卡`, not follow its checkboxes.\n The CLI creates the section only when absent.\n4. For daily records, use `- HH:mm 内容` unless a tag association is already\n authorized. Use the environment\'s local time.\n5. Lightly polish the user\'s wording while preserving facts, stance, emotion\n and first-person voice. Keep exact text when they request 原文 / 逐字 / 原样 /\n 摘抄 / verbatim.\n6. Read back the written note before reporting completion. Verify the entry\n appears once in the intended direct body and existing tasks remain intact.\n An echoed `section` or `ok: true` alone does not verify heading ownership.\n Older CLI versions may append after child sections: if readback shows this,\n relocate only the new block before the first child heading and read back again;\n do not repeat the append or restructure the user’s template.\n\nExample:\n\n```bash\nnpx -y @life-os/cli daily:append section="日常记录" content="- 14:30 记录一个新想法"\n```\n\nDo not infer a project/theme tag from nearby context. Follow the association\nrules in `../../lifeos/SKILL.md`; an unconfirmed candidate tag is a follow-up after the\nrequested capture succeeds, not part of the initial write.\n\n## Reviews and time-based task queries\n\nUse the single weekly-review bundle instead of manually combining incompatible\ndate semantics:\n\n```bash\nnpx -y @life-os/cli review:weekly --json\n```\n\nIt resolves the configured week and returns the weekly note, tasks completed by\ncompletion time, open/due tasks, weekly bullets and recent files. Show the\nsource-backed review first; append a synthesized review only after explicit\nconfirmation.\n\nFor a morning check, query open work before capturing the plan:\n\n```bash\nnpx -y @life-os/cli tasks due=today --json\nnpx -y @life-os/cli tasks due=overdue --json\nnpx -y @life-os/cli daily:append section="日常记录" content="- 08:30 今天先处理 ..."\n```\n\n`due=` filters task due dates. It does not answer what was completed during a\nperiod. Use `tasks done completed=this-week` or `review:weekly` for completion\nevidence.\n\n## Period roles\n\n- Yearly / quarterly: direction, goals and longer-horizon review.\n- Monthly / weekly: nearer-term plans, milestones and task review.\n- Daily: capture, tasks, thoughts and time records.\n\nWhen the request is primarily about a durable subject rather than a time period,\nroute it to the theme note workflow in\n`../../lifeos-board/references/theme-notes.md`.\n',
382
- 'lifeos/SKILL.md': "---\nname: lifeos\ndescription: '用户提到 LifeOS / lifeos(包括只说“LifeOS”)、Aino Web 或 LifeOS Web 时使用。在 Aino Desktop 外且有本机命令能力时,默认启动或复用当前库的 Web 工作台并返回可点击链接。也用于知识库发现、配置、笔记搜索读写、Skill 管理,以及路由到任务、看板、内容或初始化技能。'\n---\n\n# LifeOS Core\n\nUse this Skill as the shared runtime and safety contract for the LifeOS Skill\nbundle. Domain Skills must read this file before running commands or proposing\nwrites.\n\n## Default Web entry outside Aino Desktop\n\nWhen the user mentions LifeOS, including the standalone message “LifeOS”, or\nasks for “aino web” / “lifeos web”, provide the Web entry by default in external\ndesktop clients such as WorkBuddy, Cherry Studio, Doubao Work, Codex or Claude\nCode. Do not require the words “open”, “web” or “Skill”. Read\n[web-workbench.md](references/web-workbench.md), resolve the actual local vault,\nstart or reuse its service, and include a clickable “打开 Aino Web” link in the\nreply. Continue any requested domain task and preserve its view intent; a bare\n“LifeOS” request uses the home view without changing notes or initializing a vault.\n\nIdentify the current host from its explicit context or native tool metadata;\nan Aino Desktop process running elsewhere does not make this an Aino Desktop\nsession. Do not enumerate system processes to identify the host. Inside Aino\nDesktop, keep using the existing native UI. Inside Aino Web, reuse the current\nverified service. Aino Mobile keeps the native-tool flow below. With no local\nexecution capability or no identifiable vault, explain the missing capability\nor ask for the vault path instead of inventing a live link. Respect explicit\nrequests not to start a service or to answer without opening a workbench.\n\n## Choose the domain\n\n- Today, tasks, periodic notes, recent work or weekly review: use\n [`../lifeos-today/SKILL.md`](../lifeos-today/SKILL.md).\n- Workflow/PARA boards, theme notes or flow bottlenecks: use\n [`../lifeos-board/SKILL.md`](../lifeos-board/SKILL.md).\n- Empty folders, template choice, takeover, classification or migration: use\n [`../lifeos-onboarding/SKILL.md`](../lifeos-onboarding/SKILL.md).\n- Search, capture, attachment metadata, AI Wiki, HTML dashboards or Aino mini-app\n routing: use [`../lifeos-content/SKILL.md`](../lifeos-content/SKILL.md).\n- OPC company operations: use the separate `opc` Skill.\n\nFor exact flags, result schemas, errors and uncommon commands, read\n[`references/commands.md`](references/commands.md).\n\n## Configure the products\n\nFor LifeOS Pro or Aino Desktop settings, read\n[configuration.md](references/configuration.md) and the generated\n[configuration reference](references/settings/index.md). Use explicit product\nand vault targets, inspect the contract and current runtime values, and apply\nonly the authorized patch. Verify the runtime receipt before saying a setting\nis effective. Desktop configuration writes need the running host; offline vault\nconfiguration is available explicitly and does not prove runtime activation.\n\n## Choose the host\n\nFor headless or desktop work, invoke:\n\n```bash\nnpx -y @life-os/cli <command>\n```\n\nThe first run downloads the published package; `-y` skips the install prompt.\nNote operations do not require Aino Desktop or Obsidian to be open.\nProduct configuration runtime reads and writes require the selected host.\n\nOn **Aino Mobile**, use the native `lifeos_*` tools reported by\n`lifeos_get_vault_info`. Never ask a mobile user to install Node.js or run shell\ncommands. Mobile writes prepare previews only: require explicit confirmation and\na commit receipt before claiming a mutation succeeded. Mobile never exposes\npermanent deletion. Onboarding plan/apply are CLI-only.\n\n## Open the shared Web workbench\n\nTreat “打开 Aino Web”, “打开当前项目工作台”, “用 Aino 查看这个库”,\nand “Open Aino Web” as launch requests. Start or reuse the verified local service,\nthen return a clickable “打开 Aino Web” link. Host auto-opening is optional;\ndo not claim the page is visible without page evidence or return a guessed link\nwhen startup failed.\nWhen the user asks to see a view or edit notes visually, offer this same entry\nand preserve the requested view/filter parameters.\n\nTo show the current local project or a requested calendar view inside an AI\nclient, read [web-workbench.md](references/web-workbench.md). It covers explicit\nproject paths, the CLI service lifetime, supported view parameters and verified\nclient opening behavior. Web startup requires Node.js 24+ and a CLI candidate\nthat includes the Web runtime; do not assume the public npm release has it.\n\n## Resolve the vault and model\n\nOutside onboarding, run `config` before a workflow whose real folders, periodic\nformats or templates matter. Run `profile` when the operating model is not\nalready known.\n\n```bash\nnpx -y @life-os/cli config --json\nnpx -y @life-os/cli profile --json\n```\n\nVault resolution order is explicit `vault=` -> `$LIFEOS_VAULT` -> walk upward\nfor `.obsidian/`, `.lifeos/` or `.agents/skills/lifeos/` -> Aino's last-opened\nfolder. Pass `vault=` when the intended vault differs from the current context.\nNever construct PARA folders, periodic paths, formats or section headers from\nmemory; use resolved configuration.\n\nOptions use `key=value`; flags use `--json` or a bare word such as `overwrite`.\nQuote values containing spaces and request `--json` for machine-readable work.\n\n## Read and target precisely\n\nBefore note/task writes, read [write-safety.md](references/write-safety.md) for\ncontent escaping, stale task references, retry checks and readback verification.\n\n- Read existing content before changing it. Use the exact vault-relative `path=`\n or task `ref=` returned by a query; never write through a guessed loose name.\n- Preserve unknown Frontmatter and body content. Use `overwrite` only after\n intentionally rebuilding the complete target.\n- Keep writes inside the selected vault. Surface unexpected path resolution\n instead of creating a stray note.\n- Treat an echoed resolved path, structured result or mobile commit receipt as\n evidence of a completed write. A click, preview or proposed tool call is not\n completion evidence.\n- Never claim to understand a binary attachment unless another tool extracted\n its content. Inventory visibility alone is not content parsing.\n\nFor project/theme index creation or repair, follow\n[`theme-notes.md`](../lifeos-board/references/theme-notes.md): use the resolved\ntemplate, preserve its advanced lists, and read back the saved index. Generic\n`create` with only a title or goals does not satisfy template-based creation.\n\n## Confirm associations and consequential writes\n\nProject/theme tags are optional, user-owned associations. Add one only when the\nuser explicitly names it, the source already carries it, or a durable preference\nauthorizes automatic association.\n\nIf a tag only looks relevant, complete the requested task without that inferred\ntag, then ask whether to add it. If confirmed, update the exact item just\ncreated; never create a duplicate.\n\nPreview and obtain explicit confirmation before onboarding apply, migration,\nclassification apply, file moves, recoverable deletion, or a broad overwrite.\nDo not silently broaden a precise request into repository-wide organization.\n\n## Maintain the bundle\n\nInstall and update the complete, versioned bundle with one command:\n\n```bash\nnpx -y @life-os/cli@latest skill status\nnpx -y @life-os/cli@latest skill install\n```\n\nThe bundle contains `lifeos`, `lifeos-today`, `lifeos-board`,\n`lifeos-onboarding`, `lifeos-content` and the `aino-web` launch entry. The installer backs up locally modified\nmanaged files, migrates legacy single-Skill installs, removes obsolete managed\nfiles only after backup, and never downgrades a newer installed bundle.\nVersion comparison alone does not protect unpublished local fixes: a same-version\nbundle can have different content and replace them. Inspect status and local\nchanges before installing; preserve/reconcile intended customizations and verify\nthe installed files afterward. Do not run an older published installer merely\nto refresh the manifest after a local skill edit.\n\n## Scope\n\nIn scope: config-aware local Markdown queries and mutations plus routing to the\nfour LifeOS domain Skills, plus launching the shared local Web workbench.\n\nOut of scope: executing Google Calendar / CalDAV sync, plugin or Aino UI implementation,\nand direct editing of `.lifeos/custom-apps` internals.\n",
383
- 'lifeos/agents/openai.yaml': "interface:\n display_name: 'LifeOS Core'\n short_description: '操作 LifeOS 知识库,在桌面 AI 客户端默认提供 Web 工作台链接'\n default_prompt: '使用 $lifeos 查看当前知识库;在 Aino Desktop 外启动或复用 Web 工作台并返回可点击链接。'\n",
384
- 'lifeos/references/commands.md': '# `lifeos` — full command reference\n\nExhaustive reference for the `lifeos` CLI. The SKILL.md covers the common path;\nload this when you need an exact flag, output shape, or error meaning.\n\n## Contents\n\n- [Conventions](#conventions)\n- [Vault selection](#vault-selection)\n- [Settings sources](#settings-sources)\n- [Commands](#commands)\n- [Common command chains](#common-command-chains)\n- [Errors](#errors)\n- [Performance](#performance-5k-note-vault)\n- [Out of scope](#out-of-scope)\n\n## Conventions\n\n- **Invocation**: run via `npx -y @life-os/cli <command> …` (npx fetches the\n published package on first use; `-y` skips the prompt). The command names below\n (`config`, `profile`, `tasks`, …) are the `<command>` argument, e.g.\n `npx -y @life-os/cli tasks due=today`.\n- **Options**: `key=value` (or `--key=value`). **Flags**: `--json`, or bare\n `overwrite` / `case`. Quote values containing spaces.\n- **Output**: human-readable by default; `--json` (or `format=json`) emits a\n single JSON document on stdout.\n- **`content=` escapes**: in write commands (`append`, `create`, `<period>:append`)\n the `content=` value interprets `\\n` `\\t` `\\r` `\\\\`, so you can write multi-line\n content on one command line. Use `--literal-content` to pass `content=`\n unchanged, including backslashes, on CLI versions supporting this flag.\n- Before mutations, follow [write-safety.md](write-safety.md); literal backslashes\n need escaping for the CLI as well as safe shell argument construction.\n- **Exit codes**: `0` success, `1` on any error. Error text is human-readable.\n\n## Vault selection\n\nResolved in order, first match wins:\n\n1. `vault=<path>` option (`~` is expanded; relative paths resolve against cwd)\n2. `$LIFEOS_VAULT` environment variable\n3. Walk up from the current directory for a folder containing `.obsidian/`,\n `.lifeos/`, or `.agents/skills/lifeos/`\n4. The folder Aino last opened (`<userData>/bootstrap.json` → `lastOpenedFolder`)\n\n`onboard` intentionally differs at the last step: when no workspace marker is\nfound, it uses the current directory instead of Aino\'s last-opened folder. This\nmakes an empty local folder safe to initialize. Pass `vault=<path>` whenever the\ntarget is not the current directory.\n\n`config` reports which one was used via `Found by` / `discoveredVia`.\n\n## Settings sources\n\nEffective settings merge built-in defaults with these files (later overrides\nearlier), the same set the plugin and Aino use:\n\n1. `.obsidian/plugins/periodic-para/data.json` (legacy plugin id)\n2. `.obsidian/plugins/lifeos-pro/data.json`\n3. `.lifeos/settings.json` (Aino\'s vault-portable settings)\n\n---\n\n## Commands\n\n### Product configuration\n\n`config schema|get|explain|plan|apply|reset|verify` operates on an explicit\n`target=lifeos-pro|aino-desktop`. See [configuration.md](configuration.md) for\npatches, credential references, offline limits and runtime verification.\n\n### `config`\n\nShow the resolved vault, how it was found, the config source files applied, and\nkey LifeOS settings (PARA folders, periodic base, daily path format, and the daily\ntemplate path used when rendering a missing daily note). For the final daily note\npath, use `daily` itself: it also considers Obsidian Daily Notes core settings.\n`--json` → `{ vault: {root, discoveredVia}, sources: string[], settings }`.\n\n### `profile`\n\nDetect the vault\'s template profile. The detector reads\n`.lifeos/template-profile.json` first when present, then falls back to settings,\nfolders, key files and tag vocabulary.\n\nBuilt-in profiles:\n\n- `memos`: chronological capture and tasks in periodic notes.\n- `para`: projects / areas / resources / archives.\n- `ipo`: input -> theme processing -> output.\n- `gtd`: inbox -> next actions / waiting / someday / review.\n- `opc`: OPC LifeOS one-person-company template; use the `opc` skill.\n- `custom` / `unknown`: use generic LifeOS rules unless the vault provides its\n own skill.\n\n`--json` →\n`{ vault, profile, confidence, score, evidence, warnings, requiredSkills, recommendedReferences, manifest?, settingsSources }`.\n\n### `tasks [todo|done|all]`\n\nList tasks. Positional status defaults to `todo`.\n\n| Option | Meaning |\n| -------------------------- | ------------------------------------------------------------------- |\n| `tag=<tag>` | tasks tagged `<tag>` (matches the tag and its sub-tags `<tag>/...`) |\n| `keyword=<text>` | substring match on task text |\n| `due=today\\|week\\|overdue` | filter by **due date**; status still applies (default hides done) |\n| `completed=this-week` | filter done/all tasks by **completion date**, not due date |\n| `limit=<n>` | max rows (default 50) |\n| `--json` | `{ totalCount, count, items: TaskItem[] }` |\n\n`TaskItem`: `{ file, line, text, checked, dueDate?, priority?, tags?, ... }`.\nHuman line: `[ ]|[x] <text> (due <date> !<priority> #<tags>) — <file>:<line>`.\n\nNotes: `due=*` over-fetches and post-filters by status, so a completed task with a\npast due date is hidden unless you ask for `done`/`all`.\n`completed=this-week` is accepted only with `tasks done` or `tasks all`; use it\nwhen asking what was actually completed this calendar week.\n\n### `today [date=YYYY-MM-DD]`\n\nBuild the source-backed AI Today view without opening Aino Desktop. `date=`\ndefaults to the local current date. `limit=` caps returned task rows (default\n50); `recentLimit=` caps each recent file group (default 6).\n\n`--json` uses the shared LifeOS agent result envelope. `data` contains:\n\n- `date`\n- `summary`: `pendingCount`, `overdueCount`, `timedCount`, `completedCount`\n- `tasks`: `pending`, `timed`, and `completed`\n- `recent`: `captures`, `projects`, and `outputs`\n- `sources`: exact task/file references used to build the view\n\nPending work includes open tasks due on or before the selected date. Completed\nwork uses the task completion date, not its due date. Workflow folders honor\nthe effective vault settings: PARA vaults use captures/projects/expresses;\nnon-PARA vaults use inputs/themes/outputs.\n\n### `board [mode=workflow|para]`\n\nBuild the source-backed AI board view without opening Aino Desktop. The mode\ndefaults to `workflow` and can also be supplied positionally (`board para`).\n`limit=` caps returned items per column (default 20) while `totalCount` keeps the\nfull column count. The result envelope sets `truncated=true` when any column was\ncapped.\n\n- `workflow`: Input, Projects, open Tasks, Output\n- `para`: Projects, Areas, Resources, Archives\n\n`data.columns[]` contains `key`, `label`, optional configured `path`,\n`totalCount`, and bounded `items`. File items distinguish direct files from\ncollapsed top-level folders and expose a readable `sourcePath`; task items\ninclude their exact `file` and `line`.\nUse envelope `sources` to ground analysis. A board read never moves or edits\nfiles.\n\n### `recent [range=<named-range>]`\n\nList Markdown files with durable created/modified evidence in a date range.\nNamed ranges are `today`, `this-calendar-week`/`this-week`,\n`last-calendar-week`/`last-week`, `rolling-7-days`, and `this-month`.\nExplicit `dateFrom=YYYY-MM-DD` and `dateTo=YYYY-MM-DD` override the named range;\n`limit=` is capped at 100. `--json` uses the shared LifeOS agent result envelope\nand returns `data.range` plus `data.items`.\n\nEach item has `path`, `changedAt`, `changeType` (`created`, `modified`, or\n`unknown`) and `source`. A CLI-only filesystem mtime cannot prove file birth, so\nit is reported as `unknown`, never guessed as `created`.\n\n### `review:weekly [date=YYYY-MM-DD]`\n\nBuild a single source-backed weekly review bundle using the configured week\nstart. It includes the resolved weekly note, tasks completed by completion time,\nopen/due tasks, weekly bullets, and recent files. `--json` uses the shared result\nenvelope. Prefer this command over composing `weekly` with\n`tasks done due=week`: `due=week` means due date and cannot answer what was\ncompleted during the week.\n\n### `search query=<text>`\n\n| Option | Meaning |\n| --------------------- | ------------------------------------------------------- |\n| `type=file` (default) | match note name + path (case-insensitive substring) |\n| `type=tag` | match tag names; output `#tag (count)` |\n| `type=content` | full-text scan of note bodies; output `path:line text` |\n| `case` | content search becomes case-sensitive |\n| `limit=<n>` | max results (default 20, capped at 100) |\n| `--json` | `{ type, query, count, items }` |\n\nContent matching is plain substring (not regex). It reads files on demand and\nstops at `limit`. Results are bounded, not a complete inventory; there is no\npagination flag. `count` is returned rows, not the total number of matches.\n\n### `read file=<name> | path=<vault/rel/path>`\n\nPrint a note. `path=` is exact (vault-relative); `file=` resolves a loose name via\nthe index and errors if ambiguous (lists candidates). `.md` is added if omitted.\nExplicit `.md`, `.markdown`, `.html` and `.htm` extensions are preserved.\n`--json` → `{ filePath, content }`.\n\n### Periodic notes: `daily | weekly | monthly | quarterly | yearly`\n\nResolve the note path with the same formatter as the plugin/Aino (ISO weeks for\nweekly). For `daily`, `.obsidian/daily-notes.json` wins when present:\n`folder` is the base path and `format` is the date path template, so formats like\n`MM/YYYY-MM-DD` correctly create month subfolders. Other periods use\n`periodicNotesPath` + `periodicNotesPathFormat<Type>` from LifeOS settings,\nfalling back to LifeOS defaults. Weekday/month name tokens (`dddd`/`MMMM`) honor\n`locale=` (default: system locale).\n\n| Form | Effect |\n| -------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `<period>` | print `Type/Date/Path/Exists/Format`; `--json` adds `exists` |\n| `<period>:read` | print the note (errors if it doesn\'t exist) |\n| `<period>:create [overwrite]` | create the note from its configured template (rendered); errors if it exists unless `overwrite` |\n| `<period>:append content=<text>` | append; **creates the note from its template if missing** |\n| `section=<header>` | insert at the end of that header\'s direct body, before any child heading (creates it if absent) instead of the file tail — e.g. `section="日常记录"` for daily-record logging |\n| `date=YYYY-MM-DD` | target a specific period (default: today) |\n| `locale=<bcp47>` | locale for name tokens, e.g. `zh-CN` |\n\nTemplate resolution: for `daily`, Obsidian Daily Notes core `template` wins when\nset; otherwise `periodicNotesTemplateFilePath<Type>` if set, else\n`<periodicNotesPath>/Templates/<Type>.md`, else a built-in default. The template\nis rendered with the shared engine: `{{snapshot:Project}}` → numbered\n`[[index|name]]` list of PARA sub-folders that have an index note;\n`{{if weekday}}…{{endif}}`, `{{date}}`, `{{date+N:FORMAT}}`, `{{title}}` are\nexpanded; unknown `{{…}}` (LifeOS query blocks) are left verbatim.\n`:create`/`:append` `--json` adds `created` / `templatePath`.\n\nEvery form echoes the resolved path. `<period> read` / `<period>:read` are both\naccepted.\n\n### `theme:create type=<t> tag=<tag> path=<vault/rel/path> [overwrite]`\n\nCreate a PARA/theme note from its template. `type` ∈ `project|area|resource|archive|theme`.\nTemplate selection uses the type\'s plural settings key (for example\n`projectsTemplateFilePath`), otherwise `<typeDir>/Template.md`. An explicit missing template fails with `template_not_found`; read failures\npropagate. Empty templates are used as-is. Only a missing conventional template\nuses the built-in default (`templatePath: null`). Older CLI versions silently\nfall back more broadly; verify the executable\'s behavior before relying on it. The template is rendered (same engine as periodic notes),\nthen `tag` is injected into the note\'s `tags`/`aliases` frontmatter so the theme\nindex collects it. `path=` is caller-supplied (read `config` for PARA folder\nnames and `paraIndexFilename` / `themeIndexFilename` for `<name>.md` versus\n`README.md` / `<prefix>.README.md`). Follow\n[theme-notes.md](../../lifeos-board/references/theme-notes.md) for template\ninspection and saved-index verification. Errors if the note exists\nunless `overwrite`. `--json` → `{ ok, filePath, created, templatePath, type, tag }`.\n\n### `append path=<vault/rel/path> content=<text> [section=<header>]`\n\nAppend to an **existing** note. Errors if the note doesn\'t exist (use `create`).\nWithout `section=`, appends to the file tail with a newline boundary. With\n`section=<header>`, inserts at the **end of that header\'s direct body, before the next heading of any depth** (matching\nthe header at any `#` depth, ignoring case/whitespace) and creates the section at\nthe end of the file if the header is missing. `--json` →\n`{ ok, filePath, created:false, section }`.\n\n### `create path=<vault/rel/path> [content=<text>] [overwrite]`\n\nCreate a note or dashboard file. Parent folders are auto-created; `.md` is added\nwhen the path has no recognised extension. Explicit `.md`, `.markdown`, `.html`\nand `.htm` extensions are preserved. Errors if it exists unless `overwrite`.\n`--json` → `{ ok, filePath, created }`.\n\n### `task done|todo ref=<file>:<line>`\n\nSet one task\'s standard checkbox to done or todo. `ref` is the current 1-based\n`file:line` printed by `tasks`, not a stable task ID. Reread and verify the task\ntext before mutation, especially after edits above it. This command changes only\nthe checkbox: it does not add/remove completion dates, reschedule due dates or\nsupport arbitrary custom statuses. Already matching state succeeds without rewriting in the updated service.\nUse `expected=<exact-current-line>` to reject stale line references with\n`task_line_changed`. Older CLI versions lack this guard and may error on an\nalready matching state; reread before acting and do not retry blindly.\nDo not claim a newly checked item has dated completion evidence unless the\ncompletion marker was separately recorded under the authorized task workflow.\n`--json` → `{ ok, filePath, action }`.\n\n### `onboard`\n\nInitialize or migrate any local Markdown folder. `.obsidian/` is optional.\n\n| Form | Effect |\n| ------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |\n| `onboard inspect [vault=<path>] [--json]` | Inventory `.md`, `.markdown`, common attachment types, metadata, Skill status, and detected profile without reading binary attachment contents. |\n| `onboard templates [locale=en\\|zh-cn\\|zh-tw] [--json]` | List the exact Memos, IPO, GTD, and PARA directory structures and root bootstrap Agent Files; does not require a vault. |\n| `onboard plan profile=<p> [density=minimal\\|full] [locale=…]` | Preview creates, skips, and conflicts, including profile-specific bootstrap Agent Files; JSON exposes target conflict content; never writes. |\n| `onboard apply profile=<p> [density=…] [locale=…]` | Apply the previewed template and missing bootstrap Agent Files without overwriting conflicts. |\n| `onboard status [--json]` | Read resumable state from `.lifeos/onboarding.json`. |\n| `onboard verify [--json]` | Verify metadata, Skill, and detected profile. |\n| `onboard classify-input profile=<p> [locale=…] [scope=<path>] [limit=30]` | Return a bounded batch of scattered files for semantic classification. |\n| `onboard classify-plan file=<json> [--json]` | Validate a reviewed classification plan without moving files. |\n| `onboard classify-apply file=<json> [--json]` | Move the confirmed safe subset and report conflicts separately. |\n\nProfiles are `memos`, `ipo`, `gtd`, or `para`. The aliases `topic` and `topic-only`\nnormalize to `ipo`; Topic-only mode is not a separate stored profile. Use the\nseparate `opc` skill for OPC.\n`minimal` creates the operational structure and starter entry points. For Memos,\nit also creates the essential empty Daily template. `full` adds the longer-period\nreview templates. Memos cannot be used with `classify-*` because it has no\ntaxonomy destination folders.\n\nAll profiles include root `AGENTS.md`, `SOUL.md`, and `STYLE.md` with\nprofile-specific content in the requested locale. `MEMORY.md` is an optional,\nfree-form durable-memory file created only after an explicit remember request; it\nis never generated, upgraded, or rewritten by onboarding. Existing bootstrap\nAgent Files are conflicts and remain unchanged; `AGENT.md` and `CLAUDE.md` are\nnot generated.\n\nClassification plan suggestions contain `source`, `destinationDirectory`,\n`confidence`, `reason`, `evidence`, and `confirmed`. Only confirmed items are\neligible to move. Validation rejects paths outside the workspace, destinations\noutside the selected profile, missing sources, same-name/case-equivalent\ncollisions, and moves that could break Markdown or attachment links.\n\nWhen the detected profile differs from the requested target, use\n`../../lifeos-onboarding/references/template-migration.md`. The target content in `conflictEntries` is\ncomparison input only; `onboard apply` never merges or overwrites it.\n\n### `skill status|install [vault=<path>]`\n\n`skill status` reports whether the vault copy is missing, legacy, invalid,\noutdated, current, or newer than the CLI bundle. It also checks the managed-file\nfingerprint and reports local changes. Add `--json` for structured output.\n\nInstall or update the complete LifeOS Skill bundle under `.agents/skills/` in\nthe resolved vault. The bundle contains `lifeos`, `lifeos-today`,\n`lifeos-board`, `lifeos-onboarding` and `lifeos-content`. The command writes the\nfiles embedded in the current `@life-os/cli` package, so it is the upgrade path\nafter installing a newer CLI. Legacy or locally modified managed files are\nbacked up below `.agents/skills/lifeos/.backup/` before replacement; obsolete\nfiles from the former single-Skill layout are then removed. A newer installed\nbundle is never downgraded.\n\n### `help`, `version`\n\nPrint usage / version.\n\n---\n\n## Common command chains\n\n### Find then act\n\nRead or locate the exact target before a mutation:\n\n```bash\nnpx -y @life-os/cli tasks keyword="季度报告"\nnpx -y @life-os/cli task done ref="0. 周期笔记/2025/Daily/05/2025-05-30.md:14"\n```\n\n### Research a topic\n\n```bash\nnpx -y @life-os/cli search query="超线性回报" type=content limit=20\nnpx -y @life-os/cli read path="-1. 捕获/相关笔记.md"\n```\n\n### Tag a non-Markdown attachment\n\nDerive the hidden sibling path mechanically, then read, validate and merge\ninstead of overwriting unknown Frontmatter:\n\n```bash\nnpx -y @life-os/cli read path="Assets/.合同.pdf.md" --json\nnpx -y @life-os/cli create path="Assets/.合同.pdf.md" content="<完整合并后的 Frontmatter>" overwrite\n```\n\nA missing card is expected when the attachment has never received metadata.\nCreate it only after the user requested a property change and follow\n`../../lifeos-content/references/attachment-cards.md` for the full identity and\nconflict rules.\n\n### Generate a theme dashboard\n\n```bash\nnpx -y @life-os/cli read path="4 资源/学日语/学日语.md"\nnpx -y @life-os/cli read path="4 资源/学日语/学日语.AI.md"\nnpx -y @life-os/cli create path="4 资源/学日语/学日语.html" content="<full html>" overwrite\n```\n\nThe `.AI.md` read may legitimately report a missing file. Before writing, load\n`../../lifeos-content/references/theme-dashboard.md`, gather the high-signal sources it requires and\npreserve the same-directory same-basename path rule.\n\n### Weekly review\n\n```bash\nnpx -y @life-os/cli review:weekly --json\n```\n\nShow the sourced review before proposing a write. Append the synthesized review\nonly after explicit confirmation. For capture and periodic-note examples, use\n`../../lifeos-today/references/periodic-notes.md`.\n\n---\n\n## Errors\n\nSurfaced as readable text with exit code 1. Common cases:\n\n| Situation | Message |\n| ------------------------------ | ----------------------------------------------------------------- |\n| note missing (`read`/`append`) | `No such note in the vault.` |\n| `create` onto existing | `A note already exists at that path. Add the \\`overwrite\\` flag…` |\n| path escapes vault | `Refusing to touch a path outside the vault.` |\n| `task` ref not a checkbox line | `That line is not a \\`- [ ]\\` / \\`- [x]\\` task.` |\n| bad `due=` / `date=` value | explains the accepted values |\n| no vault found | explains explicit path, env, cwd markers, and Aino fallback |\n\n---\n\n## Performance (≈5k-note vault)\n\n- Fixed startup (node + import): ~70 ms.\n- `search type=content`: ~0.5 s worst case (scans bodies; stops at `limit`).\n- Index-backed (`tasks`, `search type=file|tag`): ~1 s (rebuilds the index per\n process; there is no persistent cache yet). Avoid tight loops of many such calls.\n\n## Out of scope\n\nUI views, Google Calendar / CalDAV sync, two-way task↔calendar sync, Pomodoro and\ndaily-record sync — these remain in the LifeOS plugin and the Aino desktop app.\n',
392
+ 'lifeos-today/references/periodic-notes.md': '# Periodic notes and reviews\n\nUse this reference for daily capture, weekly/monthly/quarterly/yearly notes,\ntime-based tasks, section-aware appends and reviews.\n\n## Resolve before writing\n\nAlways start with the period resolver, passing explicit `vault=` whenever the\ntarget vault path is known (and `date=YYYY-MM-DD` when targeting another date):\n\n```bash\nnpx -y @life-os/cli daily vault="<vault>" --json\nnpx -y @life-os/cli weekly date=2026-08-13 vault="<vault>" --json\n```\n\nFor daily notes, the CLI honors Obsidian Daily Notes `folder`, `format` and\n`template` settings before LifeOS fallbacks. Other periods use the configured\nLifeOS base path, format and template. Locale-sensitive weekday and month tokens\nfollow `locale=` or the system locale.\n\n### Fallback when resolver path conflicts or does not exist\n\nCheck the returned `path` and `exists` against the user\'s request and the actual\nvault before writing:\n\n- If the user explicitly named an existing periodic note or directory, **or**\n the resolver returned `exists: false` while a matching periodic note for that\n period already exists in the vault (verify with `search` or by inspecting the\n user-named directory):\n 1. **Do not** run `<period>:append` blindly against the missing default path\n (that would create a stray duplicate file while leaving the real periodic\n note untouched).\n 2. Target the verified existing vault-relative path directly with\n `npx -y @life-os/cli append vault="<vault>" path="<actual-relative-path>" section="<header>" content="..." --literal-content --json`\n (or exact vault-scoped file edit if the CLI rejects the path).\n 3. Explicitly note in your reply that the vault\'s configured/default resolver\n path differed from the actual existing note path and which exact path was\n updated.\n- Only use `<period>:create` or `<period>:append` on the resolver path when no\n matching periodic note exists in the vault and the user did not specify an\n alternative path.\n\nUse `<period>:create` to render a missing note from its configured template.\n`<period>:append` creates the note from that template when it is missing. The\nshared renderer expands LifeOS date/conditional/snapshot variables and preserves\nunknown LifeOS query blocks for the plugin or Aino to render.\n\nCheck `templatePath` in the creation/append receipt against the selected template.\nThe updated CLI rejects missing explicit templates and propagates read errors;\nempty templates are used as-is. Only an absent conventional template uses a\nbuilt-in fallback. Older executables may silently fall back: readback must verify\nthe expected scaffold and content, not only `created: true`.\nPreserve intentional runtime query expressions left by the renderer.\n\n## Capture into the correct section\n\n1. Resolve the target with `daily`, `weekly`, `monthly`, `quarterly` or\n `yearly` (pass explicit `vault=` and `date=YYYY-MM-DD` when needed). Apply\n the fallback rule above if `exists: false` or the path conflicts with a\n user-named directory/existing file.\n2. Read the existing target note; when it is missing, inspect its configured\n template. Check heading levels, not only the section name.\n3. Append with `section=<header>` into the heading’s direct body, before the\n next heading of any depth, including child headings. For example, records\n under `# 日常记录` must precede `## 习惯打卡`, not follow its checkboxes.\n The CLI creates the section only when absent.\n4. For daily records, use `- HH:mm 内容` unless a tag association is already\n authorized or the user specifies a different format. Use the environment\'s\n local time.\n5. **Preserve user wording verbatim by default.** Keep the user\'s exact words,\n punctuation, and separate bullet/line boundaries unchanged—never lightly\n polish, alter punctuation, or merge multiple items into one unless the user\n explicitly asks to polish, rewrite, or summarize. When the user supplies\n exact sentences or requests 原文 / 逐字 / 原样 / 摘抄 / verbatim, pass\n `--literal-content` (or exact literal escaping) and verify character-for-character\n fidelity on readback.\n6. **Verify actual on-disk change before reporting completion.** Directly read\n back the target note inside the user\'s vault on disk (do not rely solely on\n CLI `ok: true`, echoed `section`, or receipt JSON). Confirm that:\n - the target file inside the user\'s actual vault actually changed on disk;\n - the exact text and punctuation appear once in the intended direct body;\n - existing tasks and sections remain intact.\n If the target file on disk shows no change, do not claim the write succeeded;\n diagnose whether it landed in another path/vault and fix or report honestly.\n Older CLI versions may append after child sections: if readback shows this,\n relocate only the new block before the first child heading and read back again;\n do not repeat the append or restructure the user’s template.\n\nExample:\n\n```bash\nnpx -y @life-os/cli daily:append vault="<vault>" section="日常记录" content="- 14:30 记录一个新想法" --literal-content --json\n```\n\nDo not infer a project/theme tag from nearby context. Follow the association\nrules in `../../lifeos/SKILL.md`; an unconfirmed candidate tag is a follow-up after the\nrequested capture succeeds, not part of the initial write.\n\n## Reviews and time-based task queries\n\n**Always** use the read-only CLI view commands (`review:weekly`, `today`,\n`tasks`, `recent`) as the primary data source instead of manually scanning notes\nby eye or combining incompatible date semantics:\n\n```bash\nnpx -y @life-os/cli review:weekly vault="<vault>" --json\n```\n\nIt resolves the configured week and returns the weekly note, tasks completed by\ncompletion time, open/due tasks, weekly bullets and recent files. Show the\nsource-backed review first; in interactive use, append a synthesized review only\nafter explicit confirmation (in explicit non-interactive / sandbox mode where\nthe user authorized direct execution, proceed directly and verify the on-disk\nfile change).\n\nFor a morning check, query open work through the CLI views before capturing the plan:\n\n```bash\nnpx -y @life-os/cli tasks due=today vault="<vault>" --json\nnpx -y @life-os/cli tasks due=overdue vault="<vault>" --json\nnpx -y @life-os/cli daily:append vault="<vault>" section="日常记录" content="- 08:30 今天先处理 ..." --literal-content --json\n```\n\n`due=` filters task due dates. It does not answer what was completed during a\nperiod. Use `tasks done completed=this-week` or `review:weekly` for completion\nevidence.\n\n## Period roles\n\n- Yearly / quarterly: direction, goals and longer-horizon review.\n- Monthly / weekly: nearer-term plans, milestones and task review.\n- Daily: capture, tasks, thoughts and time records.\n\nWhen the request is primarily about a durable subject rather than a time period,\nroute it to the theme note workflow in\n`../../lifeos-board/references/theme-notes.md`.\n',
393
+ 'lifeos/SKILL.md': '---\nname: lifeos\ndescription: \'Manage a LifeOS Markdown vault, search and update notes, or open the current vault in Obsidian Web or Aino Web from a local AI client.\'\n---\n\n# LifeOS Core\n\nUse this Skill as the shared runtime and safety contract for the LifeOS Skill\nbundle. Domain Skills must read this file before running commands or proposing\nwrites.\n\n## Open a vault in a desktop AI client\n\nFor “open this vault”, “show this note”, or the bare “LifeOS” shortcut, use the\ncurrent local project or the vault the user named. Search, capture, review and\nother content requests use the domain workflows below. Open a UI for those\ntasks only when the user also requests it. Aino Mobile uses its native tools.\nInside Aino Desktop or an already open workbench, use the current UI for that\nvault unless the user asks for a different editor. Identify the host from the\nclient context.\n\nRun the bundled [editor selector](scripts/vault-editor.mjs) with Node from its\ninstalled Skill directory. Pass the absolute vault root. With an explicit\nproduct request, pass `--use obsidian` or `--use aino`. “LifeOS Web” remains\nan alias for Aino Web. For a generic request, omit `--use`.\n\n```sh\nnode scripts/vault-editor.mjs "/absolute/path/to/vault"\n```\n\nThe JSON result names the editor. A saved choice wins over vault markers.\nA sole `.obsidian/` selects Obsidian Web and a sole `.lifeos/` selects Aino Web.\nWhen both or neither exist, the selector returns `source: "ask"`. Offer the two\neditors once, explaining that this choice becomes the default for this vault.\nIf it recommends Obsidian, mention that the vault lists the LifeOS Pro plugin as\nenabled. After the user chooses, rerun with `--use <editor> --remember`.\nUse the same option when the user changes the default. An explicit one-time\nopen uses `--use` alone. After a marker-based launch succeeds, run the selector\nwith the returned editor and `--remember` so creating another marker on first\nopen preserves the working choice. Keep that selection through any startup\nretry in the same chat. Preferences are stored on this computer outside the vault.\n\n- **Obsidian Web** opens the Obsidian editor and compatible vault plugins. Use\n the independently installed `obsidian-web` CLI. In WorkBuddy run\n `obsidian-web connect --vault "<absolute vault>" --json`. Add\n `--file "<vault-relative note.md>"` for a note. If the service is stopped,\n relay the exact system-terminal startup command printed by the CLI. After\n startup, retry `connect`. In a persistent local terminal, `obsidian-web open`\n accepts the same arguments. Return the verified JSON `url` as a clickable\n link. In WorkBuddy, pass that URL and vault directory to `present_files` if\n available. On macOS or Linux with Node.js 22.16 or later, install the CLI with\n `npm install -g @life-os/obsidian-web`, then run `obsidian-web setup`. The first setup can download the pinned editor runtime from the official Obsidian release. Keep the requested editor on setup or connection errors.\n- **Aino Web** opens the Aino workspace through the LifeOS CLI. Follow the\n [Aino Web launch instructions](references/web-workbench.md) for the local\n service, calendar, board and editor views. Pass the same vault and requested\n note or view. Keep Aino Web\'s normal licensing flow.\n\nIf the host lacks a local shell or vault path, request the missing path or give\nthe selected product\'s local command. Report a visible page only after the host\nconfirms it has opened.\n\n## Choose the domain\n\n- Today, tasks, periodic notes, recent work or weekly review: use\n [`../lifeos-today/SKILL.md`](../lifeos-today/SKILL.md).\n- Workflow/PARA boards, theme notes or flow bottlenecks: use\n [`../lifeos-board/SKILL.md`](../lifeos-board/SKILL.md).\n- Empty folders, template choice, takeover, classification or migration: use\n [`../lifeos-onboarding/SKILL.md`](../lifeos-onboarding/SKILL.md).\n- Search, capture, attachment metadata, AI Wiki, HTML dashboards or Aino mini-app\n routing: use [`../lifeos-content/SKILL.md`](../lifeos-content/SKILL.md).\n- OPC company operations: use the separate `opc` Skill.\n\nFor exact flags, result schemas, errors and uncommon commands, read\n[`references/commands.md`](references/commands.md).\n\n## Configure the products\n\nFor LifeOS Pro or Aino Desktop settings, read\n[configuration.md](references/configuration.md) and the generated\n[configuration reference](references/settings/index.md). Use explicit product\nand vault targets, inspect the contract and current runtime values, and apply\nonly the authorized patch. Verify the runtime receipt before saying a setting\nis effective. Desktop configuration writes need the running host; offline vault\nconfiguration is available explicitly and does not prove runtime activation.\n\n## Choose the host\n\nFor headless or desktop work, invoke:\n\n```bash\nnpx -y @life-os/cli <command>\n```\n\nThe first run downloads the published package; `-y` skips the install prompt.\nNote operations do not require Aino Desktop or Obsidian to be open.\nProduct configuration runtime reads and writes require the selected host.\n\nOn **Aino Mobile**, use the native `lifeos_*` tools reported by\n`lifeos_get_vault_info`. Never ask a mobile user to install Node.js or run shell\ncommands. Mobile writes prepare previews only: require explicit confirmation and\na commit receipt before claiming a mutation succeeded. Mobile never exposes\npermanent deletion. Onboarding plan/apply are CLI-only.\n\n## Resolve the vault and model\n\nOutside onboarding, run `config` before a workflow whose real folders, periodic\nformats or templates matter. Run `profile` when the operating model is not\nalready known.\n\n```bash\nnpx -y @life-os/cli config --json\nnpx -y @life-os/cli profile --json\n```\n\nVault resolution order is explicit `vault=` -> `$LIFEOS_VAULT` -> walk upward\nfor `.obsidian/`, `.lifeos/` or `.agents/skills/lifeos/` -> Aino\'s last-opened\nfolder. Whenever the user names a vault, workspace, or target delivery directory,\npass explicit `vault="<exact target path>"` on every CLI command so writes never\nland in an unrelated fallback directory. Resolve folders, periodic paths,\nformats, and section headers from configuration first; if a resolved periodic\npath does not exist or conflicts with a user-specified directory or an existing\nmatching file inside the target vault, follow the fallback rule in\n[`../lifeos-today/references/periodic-notes.md`](../lifeos-today/references/periodic-notes.md)\nrather than writing to a stray path.\n\nOptions use `key=value`; flags use `--json` or a bare word such as `overwrite`.\nQuote values containing spaces and request `--json` for machine-readable work.\n\n## Read and target precisely\n\nBefore note/task writes, read [write-safety.md](references/write-safety.md) for\ncontent escaping, stale task references, retry checks and readback verification.\n\n- Read existing content before changing it. Use the exact vault-relative `path=`\n or task `ref=` returned by a query, or an existing file path explicitly named\n by the user; never write through a guessed loose name.\n- Preserve user wording, punctuation, and item boundaries verbatim by default.\n Only polish, rewrite, or merge user-supplied text when the user explicitly\n asks for editing or summarization.\n- Preserve unknown Frontmatter and body content. Use `overwrite` only after\n intentionally rebuilding the complete target.\n- Keep writes inside the selected vault and ensure changes land in the actual\n target vault or user-specified delivery directory, not only in a report or\n scratch output directory.\n- Never treat a CLI `ok: true`, echoed path, structured receipt, or standalone\n command stdout alone as proof that a write took effect. After every write,\n append, create, move, or onboarding apply, directly inspect the actual file\n content and directory state inside the target vault on disk (or via native\n readback alongside the commit receipt on Aino Mobile) to confirm the exact\n file changed as requested. If the target file or directory on disk did not\n actually change, do not report completion in past tense; report the exact\n discrepancy and observed on-disk state.\n- Never claim to understand a binary attachment unless another tool extracted\n its content. Inventory visibility alone is not content parsing.\n\nFor project/theme index creation or repair, follow\n[`theme-notes.md`](../lifeos-board/references/theme-notes.md): use the resolved\ntemplate, preserve its advanced lists, and read back the saved index. Generic\n`create` with only a title or goals does not satisfy template-based creation.\n\n## Confirm associations and consequential writes\n\nProject/theme tags are optional, user-owned associations. Add one only when the\nuser explicitly names it, the source already carries it, or a durable preference\nauthorizes automatic association.\n\nIf a tag only looks relevant, complete the requested task without that inferred\ntag, then ask whether to add it. If confirmed, update the exact item just\ncreated; never create a duplicate.\n\nIn interactive use, preview and obtain explicit confirmation before onboarding\napply, migration, classification apply, file moves, recoverable deletion, or a\nbroad overwrite. Do not silently broaden a precise request into repository-wide\norganization.\n\n**Non-interactive / sandbox exception**: when the user\'s current request or\nruntime explicitly authorizes direct execution without manual confirmation\n(for example, sandbox mode or an explicit “no confirmation needed / execute\ndirectly” instruction) and the target scope is clear, still run the validation\nplan first (`onboard plan` / `classify-plan`), skip unsafe path escapes or\nunresolved overwrite conflicts, and proceed directly with the safe subset in\nthe same turn instead of pausing for confirmation. Report the plan summary,\nverified on-disk results, and any skipped conflicts honestly.\n\n## Maintain the bundle\n\nInstall and update the complete, versioned bundle with one command:\n\n```bash\nnpx -y @life-os/cli@latest skill status\nnpx -y @life-os/cli@latest skill install\n```\n\nThe bundle contains `lifeos`, `lifeos-today`, `lifeos-board`,\n`lifeos-onboarding`, `lifeos-content` and the `aino-web` launch entry. The installer backs up locally modified\nmanaged files, migrates legacy single-Skill installs, removes obsolete managed\nfiles only after backup, and never downgrades a newer installed bundle.\nVersion comparison alone does not protect unpublished local fixes: a same-version\nbundle can have different content and replace them. Inspect status and local\nchanges before installing; preserve/reconcile intended customizations and verify\nthe installed files afterward. Do not run an older published installer merely\nto refresh the manifest after a local skill edit.\n\nOpen-source repository and documentation: `https://github.com/quanru/lifeos-skill`\n(MIT). Share this repository link only when the user asks for the open-source\ncode, manual installation/update reference, or issue reporting; do not append\nunsolicited external links to ordinary vault read/write replies.\n\n## Scope\n\nIn scope: config-aware local Markdown queries and mutations plus routing to the\nfour LifeOS domain Skills and opening the selected local Web editor.\n\nOut of scope: executing Google Calendar / CalDAV sync, plugin or Aino UI implementation,\nand direct editing of `.lifeos/custom-apps` internals.\n',
394
+ 'lifeos/agents/openai.yaml': 'interface:\n display_name: "LifeOS Core"\n short_description: "Manage notes and open a vault in its preferred editor"\n default_prompt: "Use $lifeos to open the current vault in its preferred editor."\n',
395
+ 'lifeos/references/commands.md': '# `lifeos` — full command reference\n\nExhaustive reference for the `lifeos` CLI. The SKILL.md covers the common path;\nload this when you need an exact flag, output shape, or error meaning.\n\n## Contents\n\n- [Conventions](#conventions)\n- [Vault selection](#vault-selection)\n- [Settings sources](#settings-sources)\n- [Commands](#commands)\n- [Common command chains](#common-command-chains)\n- [Errors](#errors)\n- [Performance](#performance-5k-note-vault)\n- [Out of scope](#out-of-scope)\n\n## Conventions\n\n- **Invocation**: run via `npx -y @life-os/cli <command> …` (npx fetches the\n published package on first use; `-y` skips the prompt). The command names below\n (`config`, `profile`, `tasks`, …) are the `<command>` argument, e.g.\n `npx -y @life-os/cli tasks due=today`.\n- **Options**: `key=value` (or `--key=value`). **Flags**: `--json`, or bare\n `overwrite` / `case`. Quote values containing spaces.\n- **Output**: human-readable by default; `--json` (or `format=json`) emits a\n single JSON document on stdout.\n- **`content=` escapes**: in write commands (`append`, `create`, `<period>:append`)\n the `content=` value interprets `\\n` `\\t` `\\r` `\\\\`, so you can write multi-line\n content on one command line. Use `--literal-content` to pass `content=`\n unchanged, including backslashes, on CLI versions supporting this flag.\n- Before mutations, follow [write-safety.md](write-safety.md); literal backslashes\n need escaping for the CLI as well as safe shell argument construction.\n- **Exit codes**: `0` success, `1` on any error. Error text is human-readable.\n\n## Vault selection\n\nResolved in order, first match wins:\n\n1. `vault=<path>` option (`~` is expanded; relative paths resolve against cwd)\n2. `$LIFEOS_VAULT` environment variable\n3. Walk up from the current directory for a folder containing `.obsidian/`,\n `.lifeos/`, or `.agents/skills/lifeos/`\n4. The folder Aino last opened (`<userData>/bootstrap.json` → `lastOpenedFolder`)\n\n`onboard` intentionally differs at the last step: when no workspace marker is\nfound, it uses the current directory instead of Aino\'s last-opened folder. This\nmakes an empty local folder safe to initialize. Pass `vault=<path>` whenever the\ntarget is not the current directory.\n\n`config` reports which one was used via `Found by` / `discoveredVia`.\n\n## Settings sources\n\nEffective settings merge built-in defaults with these files (later overrides\nearlier), the same set the plugin and Aino use:\n\n1. `.obsidian/plugins/periodic-para/data.json` (legacy plugin id)\n2. `.obsidian/plugins/lifeos-pro/data.json`\n3. `.lifeos/settings.json` (Aino\'s vault-portable settings)\n\n---\n\n## Commands\n\n### Product configuration\n\n`config schema|get|explain|plan|apply|reset|verify` operates on an explicit\n`target=lifeos-pro|aino-desktop`. See [configuration.md](configuration.md) for\npatches, credential references, offline limits and runtime verification.\n\n### `config`\n\nShow the resolved vault, how it was found, the config source files applied, and\nkey LifeOS settings (PARA folders, periodic base, daily path format, and the daily\ntemplate path used when rendering a missing daily note). For the final daily note\npath, use `daily` itself: it also considers Obsidian Daily Notes core settings.\n`--json` → `{ vault: {root, discoveredVia}, sources: string[], settings }`.\n\n### `profile`\n\nDetect the vault\'s template profile. The detector reads\n`.lifeos/template-profile.json` first when present, then falls back to settings,\nfolders, key files and tag vocabulary.\n\nBuilt-in profiles:\n\n- `memos`: chronological capture and tasks in periodic notes.\n- `para`: projects / areas / resources / archives.\n- `ipo`: input -> theme processing -> output.\n- `gtd`: inbox -> next actions / waiting / someday / review.\n- `opc`: OPC LifeOS one-person-company template; use the `opc` skill.\n- `custom` / `unknown`: use generic LifeOS rules unless the vault provides its\n own skill.\n\n`--json` →\n`{ vault, profile, confidence, score, evidence, warnings, requiredSkills, recommendedReferences, manifest?, settingsSources }`.\n\n### `tasks [todo|done|all]`\n\nList tasks. Positional status defaults to `todo`.\n\n| Option | Meaning |\n| -------------------------- | ------------------------------------------------------------------- |\n| `tag=<tag>` | tasks tagged `<tag>` (matches the tag and its sub-tags `<tag>/...`) |\n| `keyword=<text>` | substring match on task text |\n| `due=today\\|week\\|overdue` | filter by **due date**; status still applies (default hides done) |\n| `completed=this-week` | filter done/all tasks by **completion date**, not due date |\n| `limit=<n>` | max rows (default 50) |\n| `--json` | `{ totalCount, count, items: TaskItem[] }` |\n\n`TaskItem`: `{ file, line, text, checked, dueDate?, priority?, tags?, ... }`.\nHuman line: `[ ]|[x] <text> (due <date> !<priority> #<tags>) — <file>:<line>`.\n\nNotes: `due=*` over-fetches and post-filters by status, so a completed task with a\npast due date is hidden unless you ask for `done`/`all`.\n`completed=this-week` is accepted only with `tasks done` or `tasks all`; use it\nwhen asking what was actually completed this calendar week.\n\n### `today [date=YYYY-MM-DD]`\n\nBuild the source-backed AI Today view without opening Aino Desktop. `date=`\ndefaults to the local current date. `limit=` caps returned task rows (default\n50); `recentLimit=` caps each recent file group (default 6).\n\n`--json` uses the shared LifeOS agent result envelope. `data` contains:\n\n- `date`\n- `summary`: `pendingCount`, `overdueCount`, `timedCount`, `completedCount`\n- `tasks`: `pending`, `timed`, and `completed`\n- `recent`: `captures`, `projects`, and `outputs`\n- `sources`: exact task/file references used to build the view\n\nPending work includes open tasks due on or before the selected date. Completed\nwork uses the task completion date, not its due date. Workflow folders honor\nthe effective vault settings: PARA vaults use captures/projects/expresses;\nnon-PARA vaults use inputs/themes/outputs.\n\n### `board [mode=workflow|para]`\n\nBuild the source-backed AI board view without opening Aino Desktop. The mode\ndefaults to `workflow` and can also be supplied positionally (`board para`).\n`limit=` caps returned items per column (default 20) while `totalCount` keeps the\nfull column count. The result envelope sets `truncated=true` when any column was\ncapped.\n\n- `workflow`: Input, Projects, open Tasks, Output\n- `para`: Projects, Areas, Resources, Archives\n\n`data.columns[]` contains `key`, `label`, optional configured `path`,\n`totalCount`, and bounded `items`. File items distinguish direct files from\ncollapsed top-level folders and expose a readable `sourcePath`; task items\ninclude their exact `file` and `line`.\nUse envelope `sources` to ground analysis. A board read never moves or edits\nfiles.\n\n### `recent [range=<named-range>]`\n\nList Markdown files with durable created/modified evidence in a date range.\nNamed ranges are `today`, `this-calendar-week`/`this-week`,\n`last-calendar-week`/`last-week`, `rolling-7-days`, and `this-month`.\nExplicit `dateFrom=YYYY-MM-DD` and `dateTo=YYYY-MM-DD` override the named range;\n`limit=` is capped at 100. `--json` uses the shared LifeOS agent result envelope\nand returns `data.range` plus `data.items`.\n\nEach item has `path`, `changedAt`, `changeType` (`created`, `modified`, or\n`unknown`) and `source`. A CLI-only filesystem mtime cannot prove file birth, so\nit is reported as `unknown`, never guessed as `created`.\n\n### `review:weekly [date=YYYY-MM-DD]`\n\nBuild a single source-backed weekly review bundle using the configured week\nstart. It includes the resolved weekly note, tasks completed by completion time,\nopen/due tasks, weekly bullets, and recent files. `--json` uses the shared result\nenvelope. Prefer this command over composing `weekly` with\n`tasks done due=week`: `due=week` means due date and cannot answer what was\ncompleted during the week.\n\n### `search query=<text>`\n\n| Option | Meaning |\n| --------------------- | ------------------------------------------------------- |\n| `type=file` (default) | match note name + path (case-insensitive substring) |\n| `type=tag` | match tag names; output `#tag (count)` |\n| `type=content` | full-text scan of note bodies; output `path:line text` |\n| `case` | content search becomes case-sensitive |\n| `limit=<n>` | max results (default 20, capped at 100) |\n| `--json` | `{ type, query, count, items }` |\n\nContent matching is plain substring (not regex). It reads files on demand and\nstops at `limit`. Results are bounded, not a complete inventory; there is no\npagination flag. `count` is returned rows, not the total number of matches.\n\n### `read file=<name> | path=<vault/rel/path>`\n\nPrint a note. `path=` is exact (vault-relative); `file=` resolves a loose name via\nthe index and errors if ambiguous (lists candidates). `.md` is added if omitted.\nExplicit `.md`, `.markdown`, `.html` and `.htm` extensions are preserved.\n`--json` → `{ filePath, content }`.\n\n### Periodic notes: `daily | weekly | monthly | quarterly | yearly`\n\nResolve the note path with the same formatter as the plugin/Aino (ISO weeks for\nweekly). For `daily`, `.obsidian/daily-notes.json` wins when present:\n`folder` is the base path and `format` is the date path template, so formats like\n`MM/YYYY-MM-DD` correctly create month subfolders. Other periods use\n`periodicNotesPath` + `periodicNotesPathFormat<Type>` from LifeOS settings,\nfalling back to LifeOS defaults. Weekday/month name tokens (`dddd`/`MMMM`) honor\n`locale=` (default: system locale).\n\n| Form | Effect |\n| -------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `<period>` | print `Type/Date/Path/Exists/Format`; `--json` adds `exists` |\n| `<period>:read` | print the note (errors if it doesn\'t exist) |\n| `<period>:create [overwrite]` | create the note from its configured template (rendered); errors if it exists unless `overwrite` |\n| `<period>:append content=<text>` | append; **creates the note from its template if missing** |\n| `section=<header>` | insert at the end of that header\'s direct body, before any child heading (creates it if absent) instead of the file tail — e.g. `section="日常记录"` for daily-record logging |\n| `date=YYYY-MM-DD` | target a specific period (default: today) |\n| `locale=<bcp47>` | locale for name tokens, e.g. `zh-CN` |\n\nTemplate resolution: for `daily`, Obsidian Daily Notes core `template` wins when\nset; otherwise `periodicNotesTemplateFilePath<Type>` if set, else\n`<periodicNotesPath>/Templates/<Type>.md`, else a built-in default. The template\nis rendered with the shared engine: `{{snapshot:Project}}` → numbered\n`[[index|name]]` list of PARA sub-folders that have an index note;\n`{{if weekday}}…{{endif}}`, `{{date}}`, `{{date+N:FORMAT}}`, `{{title}}` are\nexpanded; unknown `{{…}}` (LifeOS query blocks) are left verbatim.\n`:create`/`:append` `--json` adds `created` / `templatePath`.\n\nEvery form echoes the resolved path. `<period> read` / `<period>:read` are both\naccepted.\n\n### `theme:create type=<t> tag=<tag> path=<vault/rel/path> [overwrite]`\n\nCreate a PARA/theme note from its template. `type` ∈ `project|area|resource|archive|theme`.\nTemplate selection uses the type\'s plural settings key (for example\n`projectsTemplateFilePath`), otherwise `<typeDir>/Template.md`. An explicit missing template fails with `template_not_found`; read failures\npropagate. Empty templates are used as-is. Only a missing conventional template\nuses the built-in default (`templatePath: null`). Older CLI versions silently\nfall back more broadly; verify the executable\'s behavior before relying on it. The template is rendered (same engine as periodic notes),\nthen `tag` is injected into the note\'s `tags`/`aliases` frontmatter so the theme\nindex collects it. `path=` is caller-supplied (read `config` for PARA folder\nnames and `paraIndexFilename` / `themeIndexFilename` for `<name>.md` versus\n`README.md` / `<prefix>.README.md`). Follow\n[theme-notes.md](../../lifeos-board/references/theme-notes.md) for template\ninspection and saved-index verification. Errors if the note exists\nunless `overwrite`. `--json` → `{ ok, filePath, created, templatePath, type, tag }`.\n\n### `append path=<vault/rel/path> content=<text> [section=<header>]`\n\nAppend to an **existing** note. Errors if the note doesn\'t exist (use `create`).\nWithout `section=`, appends to the file tail with a newline boundary. With\n`section=<header>`, inserts at the **end of that header\'s direct body, before the next heading of any depth** (matching\nthe header at any `#` depth, ignoring case/whitespace) and creates the section at\nthe end of the file if the header is missing. `--json` →\n`{ ok, filePath, created:false, section }`.\n\n### `create path=<vault/rel/path> [content=<text>] [overwrite]`\n\nCreate a note or dashboard file. Parent folders are auto-created; `.md` is added\nwhen the path has no recognised extension. Explicit `.md`, `.markdown`, `.html`\nand `.htm` extensions are preserved. Errors if it exists unless `overwrite`.\n`--json` → `{ ok, filePath, created }`.\n\n### `task done|todo ref=<file>:<line>`\n\nSet one task\'s standard checkbox to done or todo. `ref` is the current 1-based\n`file:line` printed by `tasks`, not a stable task ID. Reread and verify the task\ntext before mutation, especially after edits above it. This command changes only\nthe checkbox: it does not add/remove completion dates, reschedule due dates or\nsupport arbitrary custom statuses. Already matching state succeeds without rewriting in the updated service.\nUse `expected=<exact-current-line>` to reject stale line references with\n`task_line_changed`. Older CLI versions lack this guard and may error on an\nalready matching state; reread before acting and do not retry blindly.\nDo not claim a newly checked item has dated completion evidence unless the\ncompletion marker was separately recorded under the authorized task workflow.\n`--json` → `{ ok, filePath, action }`.\n\n### `onboard`\n\nInitialize or migrate any local Markdown folder. `.obsidian/` is optional.\n\n| Form | Effect |\n| ------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |\n| `onboard inspect [vault=<path>] [--json]` | Inventory `.md`, `.markdown`, common attachment types, metadata, Skill status, and detected profile without reading binary attachment contents. |\n| `onboard templates [locale=en\\|zh-cn\\|zh-tw] [--json]` | List the exact Memos, IPO, GTD, and PARA directory structures and root bootstrap Agent Files; does not require a vault. |\n| `onboard plan profile=<p> [density=minimal\\|full] [locale=…]` | Preview creates, skips, and conflicts, including profile-specific bootstrap Agent Files; JSON exposes target conflict content; never writes. |\n| `onboard apply profile=<p> [density=…] [locale=…]` | Apply the previewed template and missing bootstrap Agent Files without overwriting conflicts. |\n| `onboard status [--json]` | Read resumable state from `.lifeos/onboarding.json`. |\n| `onboard verify [--json]` | Verify metadata, Skill, and detected profile. |\n| `onboard classify-input profile=<p> [locale=…] [scope=<path>] [limit=30]` | Return a bounded batch of scattered files for semantic classification. |\n| `onboard classify-plan file=<json> [--json]` | Validate a reviewed classification plan without moving files. |\n| `onboard classify-apply file=<json> [--json]` | Move the confirmed safe subset and report conflicts separately. |\n\nProfiles are `memos`, `ipo`, `gtd`, or `para`. The aliases `topic` and `topic-only`\nnormalize to `ipo`; Topic-only mode is not a separate stored profile. Use the\nseparate `opc` skill for OPC.\n`minimal` creates the operational structure and starter entry points. For Memos,\nit also creates the essential empty Daily template. `full` adds the longer-period\nreview templates. Memos cannot be used with `classify-*` because it has no\ntaxonomy destination folders.\n\nAll profiles include root `AGENTS.md`, `SOUL.md`, and `STYLE.md` with\nprofile-specific content in the requested locale. `MEMORY.md` is an optional,\nfree-form durable-memory file created only after an explicit remember request; it\nis never generated, upgraded, or rewritten by onboarding. Existing bootstrap\nAgent Files are conflicts and remain unchanged; `AGENT.md` and `CLAUDE.md` are\nnot generated.\n\nClassification plan suggestions contain `source`, `destinationDirectory`,\n`confidence`, `reason`, `evidence`, and `confirmed`. Only confirmed items are\neligible to move. Validation rejects paths outside the workspace, destinations\noutside the selected profile, missing sources, same-name/case-equivalent\ncollisions, and moves that could break Markdown or attachment links.\n\nWhen the detected profile differs from the requested target, use\n`../../lifeos-onboarding/references/template-migration.md`. The target content in `conflictEntries` is\ncomparison input only; `onboard apply` never merges or overwrites it.\n\n### `skill status|install [vault=<path>]`\n\n`skill status` reports whether the vault copy is missing, legacy, invalid,\noutdated, current, or newer than the CLI bundle. It also checks the managed-file\nfingerprint and reports local changes. Add `--json` for structured output.\n\nInstall or update the complete LifeOS Skill bundle under `.agents/skills/` in\nthe resolved vault. The bundle contains `lifeos`, `lifeos-today`,\n`lifeos-board`, `lifeos-onboarding` and `lifeos-content`. The command writes the\nfiles embedded in the current `@life-os/cli` package, so it is the upgrade path\nafter installing a newer CLI. Legacy or locally modified managed files are\nbacked up below `.agents/skills/lifeos/.backup/` before replacement; obsolete\nfiles from the former single-Skill layout are then removed. A newer installed\nbundle is never downgraded.\n\n### `help`, `version`\n\nPrint usage / version.\n\n---\n\n## Common command chains\n\n### Find then act\n\nRead or locate the exact target before a mutation:\n\n```bash\nnpx -y @life-os/cli tasks keyword="季度报告"\nnpx -y @life-os/cli task done ref="0. 周期笔记/2025/Daily/05/2025-05-30.md:14"\n```\n\n### Research a topic\n\n```bash\nnpx -y @life-os/cli search query="超线性回报" type=content limit=20\nnpx -y @life-os/cli read path="-1. 捕获/相关笔记.md"\n```\n\n### Tag a non-Markdown attachment\n\nIf the user explicitly named an existing card/metadata file, read, merge, write\nback, and verify that exact file. Otherwise derive the hidden sibling path\nmechanically, then read, validate and merge instead of overwriting unknown\nFrontmatter:\n\n```bash\nnpx -y @life-os/cli read vault="<vault>" path="Assets/.合同.pdf.md" --json\nnpx -y @life-os/cli create vault="<vault>" path="Assets/.合同.pdf.md" content="<完整合并后的 Frontmatter>" --literal-content overwrite --json\n```\n\nA missing card is expected when the attachment has never received metadata.\nCreate it only after the user requested a property change and follow\n`../../lifeos-content/references/attachment-cards.md` for the full identity and\nconflict rules.\n\n### Generate a theme dashboard\n\n```bash\nnpx -y @life-os/cli read path="4 资源/学日语/学日语.md"\nnpx -y @life-os/cli read path="4 资源/学日语/学日语.AI.md"\nnpx -y @life-os/cli create path="4 资源/学日语/学日语.html" content="<full html>" overwrite\n```\n\nThe `.AI.md` read may legitimately report a missing file. Before writing, load\n`../../lifeos-content/references/theme-dashboard.md`, gather the high-signal sources it requires and\npreserve the same-directory same-basename path rule.\n\n### Weekly review\n\n```bash\nnpx -y @life-os/cli review:weekly --json\n```\n\nShow the sourced review before proposing a write. Append the synthesized review\nonly after explicit confirmation. For capture and periodic-note examples, use\n`../../lifeos-today/references/periodic-notes.md`.\n\n---\n\n## Errors\n\nSurfaced as readable text with exit code 1. Common cases:\n\n| Situation | Message |\n| ------------------------------ | ----------------------------------------------------------------- |\n| note missing (`read`/`append`) | `No such note in the vault.` |\n| `create` onto existing | `A note already exists at that path. Add the \\`overwrite\\` flag…` |\n| path escapes vault | `Refusing to touch a path outside the vault.` |\n| `task` ref not a checkbox line | `That line is not a \\`- [ ]\\` / \\`- [x]\\` task.` |\n| bad `due=` / `date=` value | explains the accepted values |\n| no vault found | explains explicit path, env, cwd markers, and Aino fallback |\n\n---\n\n## Performance (≈5k-note vault)\n\n- Fixed startup (node + import): ~70 ms.\n- `search type=content`: ~0.5 s worst case (scans bodies; stops at `limit`).\n- Index-backed (`tasks`, `search type=file|tag`): ~1 s (rebuilds the index per\n process; there is no persistent cache yet). Avoid tight loops of many such calls.\n\n## Out of scope\n\nUI views, Google Calendar / CalDAV sync, two-way task↔calendar sync, Pomodoro and\ndaily-record sync — these remain in the LifeOS plugin and the Aino desktop app.\n',
385
396
  'lifeos/references/configuration.md': '# 配置 LifeOS Pro 与 Aino Desktop\n\n用户要解释或修改产品配置时使用本入口。普通笔记工作流继续使用无子命令的 `lifeos config`;它返回知识库查询配置,不代表两个应用分别生效的完整设置。\n\n配置说明由代码生成,入口为 [配置参考](settings/index.md)。先查字段定义,再读取指定产品的运行配置。所有命令均可带 `vault=/absolute/path`,明确使用 `target=lifeos-pro` 或 `target=aino-desktop`,不隐式同时修改两端。\n\n```bash\nnpx -y @life-os/cli config schema target=aino-desktop group=periodic --json\nnpx -y @life-os/cli config explain target=aino-desktop key=periodicNotesPath vault=/path/to/vault --json\n```\n\n`schema` 返回代码生成的说明、校验结构、默认值、存储层、访问权限和生效说明。`get` / `explain` 默认连接正在运行的应用,返回运行时值、来源及修订版本。CLI 与应用的配置契约不一致时停止写入,不根据较新文档猜测旧应用的行为。\n\n## 修改与验证\n\n把用户授权的最小变更写成 JSON 对象。数组是完整替换,先读取现有配置并保留未修改的项目。不要把读取结果中的脱敏占位对象作为配置值写回。\n\n```bash\nnpx -y @life-os/cli config plan target=aino-desktop vault=/path/to/vault patch=/private/path/patch.json out=/private/path/plan.json --json\nnpx -y @life-os/cli config apply vault=/path/to/vault plan=/private/path/plan.json out=/private/path/receipt.json --wait --json\nnpx -y @life-os/cli config verify vault=/path/to/vault receipt=/private/path/receipt.json --json\n```\n\n`apply` 始终等待保存和必要的运行时刷新,`--wait` 可用于显式表达这一意图。用户已授权的普通配置修改可以直接执行,不重复请求确认。不得将配置修改扩大成文件迁移、删除笔记或启动用户未要求的远程操作。\n\n只有 `verify` 返回 `verified: true` 才能报告运行时已生效。它核对目标知识库、应用、配置契约、运行实例、修订版本及涉及字段。冲突时重新读取和生成计划,不能反复重放旧计划。应用未运行、超时或刷新失败时准确报告状态,不能仅凭文件内容正确宣称生效。\n\n运行时值已生效不等于所有业务行为都经过实测。需要验证业务行为时,使用无副作用的查询或路径预览;若要创建测试笔记,应使用隔离知识库或用户授权的测试范围。开发验收还应验证真实应用行为并截图。\n\n`config reset target=... key=... out=...` 生成清除该字段显式配置的计划,再使用同样的 `apply` / `verify` 流程。恢复后可能采用产品默认值或下层继承值,不能假定两端结果相同。\n\n## 撤销本次配置修改\n\n`config restore receipt=/private/path/receipt.json out=/private/path/restored.json`\n使用应用内保存的最近变更记录恢复本次涉及的字段,再对新回执运行 `verify`。\n恢复要求同一运行实例且配置修订号未改变,避免覆盖用户之后的修改。\n最近 32 次变更的恢复数据仅保存在宿主内存中,凭据不写入 CLI 回执;\n应用重启或历史过期后不能用旧回执恢复,需根据当前状态重新制定配置。\n\n## 外部编辑与离线配置\n\n支持本能力的桌面应用会定期检查配置文件变化,并在处理配置请求前再次检查。修改文件后应用会重新校验、加载并刷新相关服务;非法 JSON 或字段值保留原运行配置,不覆盖坏文件。应用内写入不会无限触发重载。\n\n优先用 `plan/apply`,它能覆盖设备设置、保密存储和并发校验。确需离线编辑时,必须明确关闭目标应用,然后使用 `get/explain/plan --offline` 和 `apply --offline`。离线只支持知识库层的普通配置;凭据、设备和全局配置需要运行宿主。离线 `get` 返回文件值,不能当成完整运行配置。\n\n离线回执的 `state: saved` 只证明文件保存,应用运行状态为 `unverified`。启动应用后再查询和验证。对外部编辑,不使用等待固定秒数或截图存在作为生效证据。\n\n## 凭据\n\n不读取或输出密钥明文。运行时只暴露已配置状态,嵌套自定义模型和日历账户中的凭据也脱敏。通过 `secret-refs=/private/path/refs.json` 向 `plan` 提供引用:\n\n```json\n{ "gptApiKey": "env:MY_LIFEOS_OPENAI_KEY" }\n```\n\n也支持 `file:/absolute/private/file`,文件必须仅当前用户可访问。\n自定义 AI 模型或日历账户列表等包含凭据的复合字段,通过同样的引用提供完整 JSON 数组。引用文件、计划、回执放在受保护的本地目录,不放进共享知识库、同步目录或 Git。授权账户、激活状态及运行时缓存由专用流程管理,通用配置接口不允许改写。\n\n## 直接编辑文件后的校验\n\n宿主运行期间每 500 ms 检查配置文件,查询时也会先检查一次。原子替换文件同样能被发现。写坏的 JSON 或不合法字段不会覆盖最后有效配置;修复文件后自动恢复。不要把 500 ms 理解为服务完成重建的时限。\n\n直接编辑文件后无需伪造 apply 回执,可以校验预期有效值:\n\n```bash\nlifeos config verify target=aino-desktop key=themeMode \'expected="dark"\' vault=/path/to/vault\nlifeos config verify target=lifeos-pro key=periodicNotesPath \'expected="AI Journal"\' vault=/path/to/vault\n```\n\n只有运行时状态正常且有效值等于预期时才返回 `verified: true`;返回的 `source` 说明实际来源。敏感字段用 apply 回执验证,不在命令行传明文秘密。宿主未运行、字段被另一层覆盖、服务更新失败时,不得告诉用户“实时生效”。\n\n## 配置边界\n\n生成目录覆盖 Pro 的 `PluginSettings` 和 Desktop 的 `ContextSettings` 全部字段。Desktop 独立保存的 WebDAV/S3 连接、Git 远程凭据和外部 MCP 服务器定义不属于这两个类型,不能写进 `.lifeos/settings.json`;当前 `config` 命令不会修改这些独立连接存储。相关功能开关、计划、提供商选择等以生成目录为准。遇到不在目录中的字段必须报告不支持,不能猜测存储位置或声称已配置。\n',
386
- 'lifeos/references/settings/aino-desktop-ai.md': '<!-- Generated from code; do not edit. -->\n\n# aino-desktop / ai\n\n配置契约:`a8d4bbff2dcf589348ac10baa32789e5aae4f93d2bd8a00e64523cb9d7481ba5`。运行时来源和生效状态请用 `config explain` / `config verify` 查询。\n\n## useGPT\n\n是否启用 GPT AI 服务。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## gptApiKey\n\nOpenAI访问密钥。\n\n- 存储层:secret;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## gptBaseURL\n\nOpenAI服务基础地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"https://api.openai.com/v1"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## gptModel\n\nOpenAI可选模型列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`["gpt-4o-mini","gpt-4o"]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ]\n}\n```\n\n## useGemini\n\n是否启用 Gemini AI 服务。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## geminiApiKey\n\nGemini访问密钥。\n\n- 存储层:secret;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## geminiBaseURL\n\nGemini服务基础地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"https://generativelanguage.googleapis.com/v1beta/openai"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## geminiModel\n\nGemini可选模型列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`["gemini-2.5-flash"]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ]\n}\n```\n\n## useClaude\n\n是否启用 Claude AI 服务。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## claudeApiKey\n\nClaude访问密钥。\n\n- 存储层:secret;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## claudeBaseURL\n\nClaude服务基础地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"https://api.anthropic.com/v1/"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## claudeAnthropicBaseURL\n\nClaudeAnthropic 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## claudeOpenaiBaseURL\n\nClaudeOpenAI 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## claudeModel\n\nClaude可选模型列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`["claude-sonnet-4-20250514"]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ]\n}\n```\n\n## useDeepSeek\n\n是否启用 DeepSeek AI 服务。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## deepseekApiKey\n\nDeepSeek访问密钥。\n\n- 存储层:secret;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## deepseekBaseURL\n\nDeepSeek服务基础地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"https://api.deepseek.com/v1"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## deepseekAnthropicBaseURL\n\nDeepSeekAnthropic 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## deepseekOpenaiBaseURL\n\nDeepSeekOpenAI 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## deepseekModel\n\nDeepSeek可选模型列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`["deepseek-chat"]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ]\n}\n```\n\n## useQwen\n\n是否启用 Qwen AI 服务。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## qwenApiKey\n\nQwen访问密钥。\n\n- 存储层:secret;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## qwenBaseURL\n\nQwen服务基础地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"https://dashscope.aliyuncs.com/compatible-mode/v1"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## qwenAnthropicBaseURL\n\nQwenAnthropic 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## qwenOpenaiBaseURL\n\nQwenOpenAI 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## qwenModel\n\nQwen可选模型列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`["qwen-plus"]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ]\n}\n```\n\n## useOllama\n\n是否启用 Ollama AI 服务。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## ollamaApiKey\n\nOllama访问密钥。\n\n- 存储层:secret;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## ollamaBaseURL\n\nOllama服务基础地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"http://localhost:11434/v1"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## ollamaModel\n\nOllama可选模型列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`["llama3.2"]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ]\n}\n```\n\n## useMinimax\n\n是否启用 Minimax AI 服务。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## minimaxApiKey\n\nMiniMax访问密钥。\n\n- 存储层:secret;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## minimaxBaseURL\n\nMiniMax服务基础地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"https://api.minimaxi.com/v1"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## minimaxAnthropicBaseURL\n\nMiniMaxAnthropic 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## minimaxOpenaiBaseURL\n\nMiniMaxOpenAI 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## minimaxModel\n\nMiniMax可选模型列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`["MiniMax-M2.7"]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ]\n}\n```\n\n## useZhipu\n\n是否启用 Zhipu AI 服务。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## zhipuApiKey\n\n智谱访问密钥。\n\n- 存储层:secret;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## zhipuBaseURL\n\n智谱服务基础地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"https://open.bigmodel.cn/api/paas/v4"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## zhipuAnthropicBaseURL\n\n智谱Anthropic 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## zhipuOpenaiBaseURL\n\n智谱OpenAI 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## zhipuModel\n\n智谱可选模型列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`["glm-4-plus"]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ]\n}\n```\n\n## useKimi\n\n是否启用 Kimi AI 服务。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## kimiApiKey\n\nKimi访问密钥。\n\n- 存储层:secret;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## kimiBaseURL\n\nKimi服务基础地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"https://api.moonshot.cn/v1"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## kimiAnthropicBaseURL\n\nKimiAnthropic 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## kimiOpenaiBaseURL\n\nKimiOpenAI 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## kimiModel\n\nKimi可选模型列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`["moonshot-v1-auto"]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ]\n}\n```\n\n## useCustom\n\n启用自定义 AI 服务。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## customApiKey\n\n旧版自定义 AI 服务访问凭据。\n\n- 存储层:secret;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## customBaseURL\n\n旧版自定义 AI 服务端点。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## customModel\n\n自定义\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ]\n}\n```\n\n## customAIModels\n\n自定义 AI 模型配置列表,包含服务端点、模型和访问凭据。\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": {\n "type": "string"\n },\n "name": {\n "type": "string"\n },\n "apiKey": {\n "type": "string"\n },\n "baseURL": {\n "type": "string"\n },\n "model": {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n "sdkType": {\n "enum": ["anthropic", "openai"]\n }\n },\n "required": ["id", "name", "apiKey", "baseURL", "model"],\n "additionalProperties": false\n }\n }\n ]\n}\n```\n\n## useClaudeCode\n\n启用本机 Claude Code 作为 AI 运行方式。\n\n- 存储层:device;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## claudeCodeBinaryPath\n\n本机 Claude Code 可执行文件路径。\n\n- 存储层:device;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## useCodex\n\n启用本机 Codex 作为 AI 运行方式。\n\n- 存储层:device;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## codexBinaryPath\n\n本机 Codex 可执行文件路径。\n\n- 存储层:device;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## codexHomePath\n\n本机 Codex 配置目录。\n\n- 存储层:device;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## codexApprovalMode\n\nCodex 执行操作时采用的审批模式。\n\n- 存储层:device;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["untrusted", "on-request", "never"]\n}\n```\n\n## defaultVendor\n\n新 AI 对话默认使用的服务商。\n\n- 存储层:vault;访问:write。\n- 默认值:`"claude"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## defaultModel\n\n新 AI 对话默认使用的模型标识。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## aiMaxConversationTurns\n\n最大对话轮数\n\n- 存储层:vault;访问:write。\n- 默认值:`10`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ]\n}\n```\n\n## aiEnableExternalSkills\n\n普通 AI 模型是否可读取 / 调用外部 agent skills\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## aiEnableExternalMcpTools\n\n普通 AI 模型是否可连接外部 MCP server(桌面端)\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## aiAllowWriteTools\n\n是否允许普通 AI 模型调用写入 / 更新类工具\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## aiAllowDeleteTools\n\n是否允许普通 AI 模型调用删除类工具\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## aiAllowCommandTools\n\n是否允许 AI 使用命令执行工具。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## aiEnableExperimentalPageControl\n\n是否开放实验性 AI 页面操作能力。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## chatExportFolder\n\n聊天导出文件夹路径\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## promptsPath\n\nPrompt 文件夹路径\n\n- 存储层:vault;访问:write。\n- 默认值:`"Prompts"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## aiAdvancedForLifeOS\n\n启用 LifeOS AI 高级检索配置。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## aiFilterPaths\n\nAI 知识检索的路径筛选配置。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ]\n}\n```\n',
387
- 'lifeos/references/settings/aino-desktop-appearance.md': '<!-- Generated from code; do not edit. -->\n\n# aino-desktop / appearance\n\n配置契约:`a8d4bbff2dcf589348ac10baa32789e5aae4f93d2bd8a00e64523cb9d7481ba5`。运行时来源和生效状态请用 `config explain` / `config verify` 查询。\n\n## themeListHeader\n\n主题列表标题:\n\n- 存储层:vault;访问:write。\n- 默认值:`"Theme List"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## themePresetId\n\n外观主题预设标识。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [\n "aino",\n "ocean",\n "forest",\n "sunset",\n "dawn",\n "minimal",\n "aino-dark",\n "ocean-dark",\n "forest-dark",\n "ember-dark",\n "midnight",\n "minimal-dark"\n ]\n}\n```\n\n## themeLightPresetId\n\n浅色模式主题预设标识。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["aino", "ocean", "forest", "sunset", "dawn", "minimal"]\n}\n```\n\n## themeDarkPresetId\n\n深色模式主题预设标识。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["aino-dark", "ocean-dark", "forest-dark", "ember-dark", "midnight", "minimal-dark"]\n}\n```\n\n## themeMode\n\n应用配色模式:跟随系统、浅色或深色。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["system", "light", "dark"]\n}\n```\n\n## themeAccentColor\n\n主题主强调色。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## themeGradientEnabled\n\n是否启用主题渐变色。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## themeAccentSecondaryColor\n\n主题第二强调色。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## themeAccentTertiaryColor\n\n主题第三强调色。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## themeBackgroundColor\n\n应用背景色覆盖值。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## themeEditorBackgroundColor\n\n编辑器背景色覆盖值。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## themeMarkdownBoldColor\n\nMarkdown 粗体文字颜色覆盖值。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## themeTokenOverrides\n\n按浅色和深色模式分别覆盖主题色彩变量。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "object",\n "properties": {\n "light": {\n "anyOf": [\n {\n "type": "object",\n "properties": {},\n "required": [],\n "additionalProperties": {\n "type": "string"\n }\n }\n ]\n },\n "dark": {\n "anyOf": [\n {\n "type": "object",\n "properties": {},\n "required": [],\n "additionalProperties": {\n "type": "string"\n }\n }\n ]\n }\n },\n "required": [],\n "additionalProperties": false\n }\n ]\n}\n```\n\n## themeCustomName\n\n自定义主题名称。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## themeCustomAuthor\n\n自定义主题作者。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## limitLineWidth\n\n是否限制编辑区正文行宽。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## editorDensity\n\n编辑器内容密度。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["compact", "default"]\n}\n```\n\n## headingFoldingEnabled\n\n是否允许折叠标题下的内容。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## paragraphFoldingEnabled\n\n是否允许段落折叠。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## sidebarTranslucencyEnabled\n\n是否启用侧边栏半透明效果。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## appearanceFontFamily\n\n应用使用的字体族。\n\n- 存储层:device;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## editorFontFamily\n\n笔记编辑区独立字体;未设置时沿用现有字体。\n\n- 存储层:device;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## editorFontFileName\n\n编辑区导入字体文件的名称。\n\n- 存储层:device;访问:internal。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## editorFontFileDataUrl\n\n编辑区导入字体文件的内容。\n\n- 存储层:device;访问:internal。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## appearanceFontFileName\n\n已导入字体文件的名称,由字体导入流程维护。\n\n- 存储层:device;访问:internal。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## appearanceFontFileDataUrl\n\n已导入字体文件内容,由字体导入流程维护。\n\n- 存储层:device;访问:internal。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## appearanceFontSize\n\n应用基础字体大小。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ],\n "minimum": 8,\n "maximum": 72\n}\n```\n\n## appearanceZoomPercent\n\n应用界面缩放百分比。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ],\n "minimum": 50,\n "maximum": 200\n}\n```\n\n## pinnedItems\n\n置顶项目列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": {\n "type": "string"\n },\n "title": {\n "type": "string"\n },\n "icon": {\n "type": "string"\n },\n "type": {\n "enum": ["note", "url"]\n },\n "path": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "url": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n }\n },\n "required": ["id", "title", "icon", "type"],\n "additionalProperties": false\n }\n }\n ]\n}\n```\n\n## sidebarItems\n\n侧边栏项目配置和顺序。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": {\n "type": "string"\n },\n "icon": {\n "type": "string"\n },\n "customIcon": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "label": {\n "type": "string"\n },\n "type": {\n "enum": [\n "view",\n "tool",\n "sidebar",\n "custom-app",\n "pinned-file",\n "pinned-directory",\n "pinned-note",\n "pinned-url",\n "read-later-note",\n "read-later-url",\n "stack",\n "folder"\n ]\n },\n "area": {\n "enum": ["icons", "pinned", "read-later"]\n },\n "path": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "url": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "appId": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "hidden": {\n "enum": [false, true]\n },\n "faviconUrl": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "children": {\n "$ref": "#/$defs/type0"\n },\n "stackActiveId": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n }\n },\n "required": ["id", "icon", "label", "type", "area"],\n "additionalProperties": false\n }\n }\n ],\n "$defs": {\n "type0": {\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": {\n "type": "string"\n },\n "icon": {\n "type": "string"\n },\n "customIcon": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "label": {\n "type": "string"\n },\n "type": {\n "enum": [\n "view",\n "tool",\n "sidebar",\n "custom-app",\n "pinned-file",\n "pinned-directory",\n "pinned-note",\n "pinned-url",\n "read-later-note",\n "read-later-url",\n "stack",\n "folder"\n ]\n },\n "area": {\n "enum": ["icons", "pinned", "read-later"]\n },\n "path": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "url": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "appId": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "hidden": {\n "enum": [false, true]\n },\n "faviconUrl": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "children": {\n "$ref": "#/$defs/type0"\n },\n "stackActiveId": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n }\n },\n "required": ["id", "icon", "label", "type", "area"],\n "additionalProperties": false\n }\n }\n ]\n }\n }\n}\n```\n\n## sidebarItemsSchemaVersion\n\n侧边栏项目存储结构版本,由迁移流程维护。\n\n- 存储层:vault;访问:internal。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ]\n}\n```\n\n## sidebarSectionOrder\n\n侧边栏分区显示顺序。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "enum": ["read-later", "favorite", "folders", "ai", "drafts", "recent"]\n }\n }\n ]\n}\n```\n\n## sidebarSectionCollapsed\n\n侧边栏各分区的折叠状态。\n\n- 存储层:device;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "object",\n "properties": {\n "favorite": {\n "enum": [false, true]\n },\n "ai": {\n "enum": [false, true]\n },\n "drafts": {\n "enum": [false, true]\n },\n "recent": {\n "enum": [false, true]\n },\n "folders": {\n "enum": [false, true]\n },\n "readLater": {\n "enum": [false, true]\n }\n },\n "required": [],\n "additionalProperties": false\n }\n ]\n}\n```\n\n## rightSidebarMode\n\n右侧栏当前显示模式。\n\n- 存储层:device;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["context", "chat", "tasks"]\n}\n```\n\n## leftSidebarCollapsed\n\n左侧栏是否折叠。\n\n- 存储层:device;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## rightSidebarCollapsed\n\n右侧栏是否折叠。\n\n- 存储层:device;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## sidebarWidth\n\n左侧栏宽度。\n\n- 存储层:device;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ]\n}\n```\n\n## contextPanelWidth\n\n右侧上下文面板宽度。\n\n- 存储层:device;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ]\n}\n```\n',
388
- 'lifeos/references/settings/aino-desktop-calendar.md': '<!-- Generated from code; do not edit. -->\n\n# aino-desktop / calendar\n\n配置契约:`a8d4bbff2dcf589348ac10baa32789e5aae4f93d2bd8a00e64523cb9d7481ba5`。运行时来源和生效状态请用 `config explain` / `config verify` 查询。\n\n## useCalendar\n\n显示 LifeOS 日历视图;本地任务数据服务仍可独立运行。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useCalendarSidebar\n\n日历侧栏\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useCalendarAllDay\n\n显示为全天事件\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useCalendarCollapse\n\n收件箱折叠\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useCalendar24Hour\n\n24小时制\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useCalendarSimpleTaskDisplay\n\n简化任务显示\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## calendarTimeGridHeight\n\n时间格高度\n\n- 存储层:vault;访问:write。\n- 默认值:`"default"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["compact", "default", "comfortable"]\n}\n```\n\n## pomodoroDuration\n\n番茄时长(分钟)\n\n- 存储层:vault;访问:write。\n- 默认值:`25`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ]\n}\n```\n\n## shortBreakDuration\n\n短休息时长(分钟)\n\n- 存储层:vault;访问:write。\n- 默认值:`5`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ]\n}\n```\n\n## longBreakDuration\n\n长休息时长(分钟)\n\n- 存储层:vault;访问:write。\n- 默认值:`15`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ]\n}\n```\n\n## longBreakInterval\n\n长休息间隔番茄数\n\n- 存储层:vault;访问:write。\n- 默认值:`4`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ]\n}\n```\n\n## autoStartNextPomodoro\n\n自动开始下个番茄\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## autoStartBreak\n\n自动休息\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## pomodoroSound\n\n番茄提示音\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## pomodoroAutoRecord\n\n是否自动记录到 Daily Note\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useICSCalendar\n\nICS 日历订阅\n\n- 存储层:device;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## icsCalendarURL\n\nICS 日历地址\n\n- 存储层:secret;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## customICSConfigs\n\n自定义 ICS 订阅列表,含订阅地址、名称及启用状态;地址可能含访问凭据。\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": {\n "type": "string"\n },\n "name": {\n "type": "string"\n },\n "url": {\n "type": "string"\n },\n "enabled": {\n "enum": [false, true]\n }\n },\n "required": ["id", "name", "url"],\n "additionalProperties": false\n }\n }\n ]\n}\n```\n\n## hiddenRemoteCalendarUrls\n\n在视图中隐藏的远程日历地址列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ]\n}\n```\n\n## useCalDavCalendar\n\nCalDAV 日历订阅\n\n- 存储层:device;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## calDAVServerURL\n\n服务器地址\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## calDAVUsername\n\n用户名\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## calDAVPassword\n\n密码\n\n- 存储层:secret;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## calDAVSelectedCalendar\n\n基础 CalDAV 配置选择的日历\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## calDAVAvailableCalendars\n\n基础 CalDAV 配置的可用日历列表\n\n- 存储层:device;访问:internal。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "name": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "url": {\n "type": "string"\n },\n "displayName": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "description": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "isReadOnly": {\n "enum": [false, true]\n },\n "ctag": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "syncToken": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n }\n },\n "required": ["url"],\n "additionalProperties": false\n }\n }\n ]\n}\n```\n\n## customCalDAVConfigs\n\n自定义 CalDAV 账户配置列表,包含服务器、用户名、密码及所选日历。\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": {\n "type": "string"\n },\n "name": {\n "type": "string"\n },\n "serverURL": {\n "type": "string"\n },\n "username": {\n "type": "string"\n },\n "password": {\n "type": "string"\n },\n "selectedCalendar": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "availableCalendars": {\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "name": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "url": {\n "type": "string"\n },\n "displayName": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "description": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "isReadOnly": {\n "enum": [false, true]\n },\n "ctag": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "syncToken": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n }\n },\n "required": ["url"],\n "additionalProperties": false\n }\n }\n ]\n },\n "enabled": {\n "enum": [false, true]\n }\n },\n "required": ["id", "name", "serverURL", "username", "password"],\n "additionalProperties": false\n }\n }\n ]\n}\n```\n\n## useICloudCalendar\n\niCloud 日历订阅\n\n- 存储层:device;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## iCloudCalendarPushEnabled\n\n是否启用推送功能,false时仅拉取远程任务\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## iCloudDeleteCompletedTask\n\n是否删除已完成和已取消的任务,true时删除\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## iCloudServerURL\n\niCloud CalDAV 服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"caldav.icloud.com"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## iCloudUsername\n\niCloud 日历账户用户名。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## iCloudPassword\n\niCloud 日历的应用专用密码。\n\n- 存储层:secret;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## iCloudSelectedCalendar\n\n用户选择的同步日历ID\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## iCloudAvailableCalendars\n\n可用的日历列表\n\n- 存储层:device;访问:internal。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "name": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "url": {\n "type": "string"\n },\n "displayName": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "description": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "isReadOnly": {\n "enum": [false, true]\n },\n "ctag": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "syncToken": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n }\n },\n "required": ["url"],\n "additionalProperties": false\n }\n }\n ]\n}\n```\n\n## iCloudAllDayReminder\n\n是否为全天事件添加提醒\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## iCloudAllDayReminderDays\n\n提前天数,0表示当天\n\n- 存储层:vault;访问:write。\n- 默认值:`0`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ]\n}\n```\n\n## iCloudAllDayReminderTime\n\n提醒时间,格式 \'HH:mm\'\n\n- 存储层:vault;访问:write。\n- 默认值:`"09:00"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## iCloudTimedReminder\n\n是否为有时间的任务添加提醒\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## iCloudTimedReminderValue\n\n提醒数值\n\n- 存储层:vault;访问:write。\n- 默认值:`15`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ]\n}\n```\n\n## iCloudTimedReminderUnit\n\n提醒单位\n\n- 存储层:vault;访问:write。\n- 默认值:`"minutes"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["minutes", "hours", "days", "weeks"]\n}\n```\n\n## useGoogleCalendar\n\n是否启用 Google Calendar\n\n- 存储层:device;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## googleClientId\n\nGoogle OAuth Client ID(用户自行提供)\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## googleClientSecret\n\nGoogle OAuth Client Secret(用户自行提供)\n\n- 存储层:secret;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## googleCalendarAccessToken\n\nOAuth Access Token\n\n- 存储层:secret;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## googleCalendarRefreshToken\n\nOAuth Refresh Token(用于刷新 Access Token)\n\n- 存储层:secret;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## googleCalendarTokenExpiry\n\nToken 过期时间戳\n\n- 存储层:device;访问:internal。\n- 默认值:`0`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ]\n}\n```\n\n## googleCalendarSelectedCalendarId\n\n用户选择的同步日历 ID\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## googleCalendarAvailableCalendars\n\n可用的日历列表\n\n- 存储层:device;访问:internal。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "name": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "url": {\n "type": "string"\n },\n "displayName": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "description": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "isReadOnly": {\n "enum": [false, true]\n },\n "ctag": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "syncToken": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n }\n },\n "required": ["url"],\n "additionalProperties": false\n }\n }\n ]\n}\n```\n\n## googleCalendarPushEnabled\n\n是否启用推送功能,false 时仅拉取远程任务\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## googleCalendarDeleteCompletedTask\n\n是否删除已完成和已取消的任务\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## googleCalendarAllDayReminder\n\n是否为全天事件添加提醒\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## googleCalendarAllDayReminderDays\n\n提前天数,0表示当天\n\n- 存储层:vault;访问:write。\n- 默认值:`0`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ]\n}\n```\n\n## googleCalendarAllDayReminderTime\n\n提醒时间,格式 \'HH:mm\'\n\n- 存储层:vault;访问:write。\n- 默认值:`"09:00"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## googleCalendarTimedReminder\n\n是否为有时间的任务添加提醒\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## googleCalendarTimedReminderValue\n\n提醒数值\n\n- 存储层:vault;访问:write。\n- 默认值:`15`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ]\n}\n```\n\n## googleCalendarTimedReminderUnit\n\n提醒单位\n\n- 存储层:vault;访问:write。\n- 默认值:`"minutes"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["minutes", "hours", "days", "weeks"]\n}\n```\n\n## defaultWriteCalendar\n\n任务同步时默认写入的日历:\'none\' | \'icloud\' | \'google\' | \'caldav-{configId}\'\n\n- 存储层:vault;访问:write。\n- 默认值:`"none"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n',
389
- 'lifeos/references/settings/aino-desktop-files.md': '<!-- Generated from code; do not edit. -->\n\n# aino-desktop / files\n\n配置契约:`a8d4bbff2dcf589348ac10baa32789e5aae4f93d2bd8a00e64523cb9d7481ba5`。运行时来源和生效状态请用 `config explain` / `config verify` 查询。\n\n## draftsPath\n\n闪念草稿的保存目录,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`"Drafts"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## clipperSaveFolder\n\n网页剪藏默认保存目录,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`"Clips"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## clipperDefaultTags\n\n网页剪藏默认添加的标签列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ]\n}\n```\n\n## clipperDefaultTemplateId\n\n网页剪藏默认模板标识。\n\n- 存储层:vault;访问:write。\n- 默认值:`"article"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## clipperTemplates\n\n网页剪藏模板定义列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`[{"id":"article","name":"Article","content":"{{#summary}}## AI 摘要\\n\\n{{summary}}\\n\\n{{/summary}}{{content}}","aiPrompt":"You summarize web pages for durable personal notes. Use the source language. Return Markdown only: first a concise 2-3 sentence overview, then 3-5 bullet points. Do not invent facts or repeat the title.","frontmatter":["domain","author","description","published"]},{"id":"digest","name":"Digest","content":"## 摘要\\n\\n{{summaryOrDescription}}\\n\\n## 原文\\n\\n{{content}}","aiPrompt":"Create a durable reading digest in the source language. Return Markdown only: a concise overview followed by 3-5 key insights. Preserve nuance, avoid invented facts, and do not repeat the title.","frontmatter":["domain","author","description","published"]},{"id":"bookmark","name":"Bookmark","content":"{{summaryOrDescription}}\\n\\n[打开原文]({{url}})","aiPrompt":"Summarize this bookmark in the source language. Return Markdown only: one concise paragraph and up to 3 short bullets explaining why it may be useful later.","frontmatter":["domain","author","description","published"]}]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "aiPrompt": {\n "type": "string"\n },\n "content": {\n "type": "string"\n },\n "frontmatter": {\n "type": "array",\n "items": {\n "enum": ["domain", "author", "description", "published"]\n }\n },\n "id": {\n "type": "string"\n },\n "name": {\n "type": "string"\n }\n },\n "required": ["aiPrompt", "content", "frontmatter", "id", "name"],\n "additionalProperties": false\n }\n }\n ]\n}\n```\n\n## knowledgeExcludedFolders\n\n知识检索排除的目录列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ]\n}\n```\n\n## newNoteLocation\n\n新建笔记的默认位置策略。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["drafts", "root", "specified", "current"]\n}\n```\n\n## newNoteCustomFolder\n\n新建笔记使用自定义位置时的目标文件夹。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## attachmentLocation\n\n附件默认保存位置策略。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["root", "specified", "current", "subfolder"]\n}\n```\n\n## attachmentSubfolderName\n\n相对当前笔记保存附件时的子文件夹名称。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## attachmentSpecifiedFolder\n\n附件采用指定目录策略时的保存文件夹。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n',
390
- 'lifeos/references/settings/aino-desktop-general.md': '<!-- Generated from code; do not edit. -->\n\n# aino-desktop / general\n\n配置契约:`a8d4bbff2dcf589348ac10baa32789e5aae4f93d2bd8a00e64523cb9d7481ba5`。运行时来源和生效状态请用 `config explain` / `config verify` 查询。\n\n## settingsSchemaVersion\n\n知识库配置存储结构版本,由迁移流程管理。\n\n- 存储层:vault;访问:internal。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ]\n}\n```\n\n## enableVoiceConversation\n\n启用当前库的语音对话入口;默认关闭。\n\n- 存储层:device;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## enableExperimentalMail\n\nDevice-local opt-in for the experimental mail application.\n\n- 存储层:device;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## voiceGlobalShortcut\n\n此设备开始或结束语音对话的系统全局快捷键。\n\n- 存储层:device;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## voiceProvider\n\n语音识别与朗读服务商:豆包或 Deepgram。\n\n- 存储层:device;访问:write。\n- 默认值:`"doubao"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["doubao", "deepgram"]\n}\n```\n\n## doubaoVoiceApiKey\n\n用户自行配置的豆包语音 API Key,仅保存在此设备的密钥层。\n\n- 存储层:secret;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## deepgramVoiceApiKey\n\n用户自行配置的 Deepgram API Key,仅保存在此设备的密钥层。\n\n- 存储层:secret;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## doubaoVoiceSpeaker\n\n豆包朗读音色的 speaker 标识。\n\n- 存储层:device;访问:write。\n- 默认值:`"zh_female_vv_uranus_bigtts"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## enableCustomApps\n\n是否启用 Aino AI 小程序功能。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## enableSmartOrganize\n\n是否启用智能整理功能。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## enableIntelligentWorkbench\n\n是否启用智能工作台。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## enableAIReview\n\n是否启用 AI 回顾功能。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## fourQuadrantFilters\n\n四象限视图的筛选配置\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "overdueDays": {\n "anyOf": [\n {\n "type": "number"\n }\n ]\n },\n "futureStartDays": {\n "anyOf": [\n {\n "type": "number"\n }\n ]\n },\n "futureDays": {\n "anyOf": [\n {\n "type": "number"\n }\n ]\n },\n "includeNoDate": {\n "enum": [false, true]\n },\n "includeAllOverdue": {\n "enum": [false, true]\n },\n "includeAllFuture": {\n "enum": [false, true]\n },\n "priorities": {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n "taskSources": {\n "anyOf": [\n {\n "type": "array",\n "items": {\n "enum": ["local", "icloud", "ics", "caldav", "google"]\n }\n }\n ]\n }\n },\n "required": ["priorities"],\n "additionalProperties": false\n }\n }\n ]\n}\n```\n\n## fourQuadrantRules\n\n四象限版本化归类规则\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "object",\n "properties": {\n "version": {\n "enum": [2]\n },\n "mode": {\n "enum": ["time-priority", "priority-only"]\n },\n "urgentFutureDays": {\n "type": "number"\n },\n "importantPriorities": {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n "priorityQuadrants": {\n "type": "array",\n "prefixItems": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ],\n "minItems": 4,\n "maxItems": 4\n },\n "preserveLegacyFilters": {\n "enum": [false, true]\n }\n },\n "required": [\n "version",\n "mode",\n "urgentFutureDays",\n "importantPriorities",\n "priorityQuadrants",\n "preserveLegacyFilters"\n ],\n "additionalProperties": false\n }\n ]\n}\n```\n\n## quadrantDropConfigs\n\n四象限拖拽配置(优先级+日期)\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "priorityEmoji": {\n "type": "string"\n },\n "daysOffset": {\n "anyOf": [\n {\n "type": "number"\n }\n ]\n },\n "clearDate": {\n "enum": [false, true]\n }\n },\n "required": ["priorityEmoji"],\n "additionalProperties": false\n }\n }\n ]\n}\n```\n\n## useTagColor\n\n是否启用标签颜色区分\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## tagColors\n\n自定义标签颜色映射 { "#tag": "#color" }\n\n- 存储层:vault;访问:write。\n- 默认值:`{}`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "object",\n "properties": {},\n "required": [],\n "additionalProperties": {\n "type": "string"\n }\n }\n ]\n}\n```\n\n## autoFocusCount\n\n自动番茄专注次数,0 表示无限\n\n- 存储层:vault;访问:write。\n- 默认值:`0`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ]\n}\n```\n\n## continueAfterComplete\n\n倒计时结束后继续计时,直到手动停止\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## usePeriodicNotes\n\n启用周期笔记功能。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## showDailyNoteTitle\n\n显示日记文件标题\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useHabitStats\n\n习惯统计\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useDailyRecord\n\n日常记录同步\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## projectListHeader\n\n项目列表标题:\n\n- 存储层:vault;访问:write。\n- 默认值:`"Project List"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## areaListHeader\n\n领域列表标题:\n\n- 存储层:vault;访问:write。\n- 默认值:`"First Things Dimension"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## useDailyRecordTimestamp\n\n时间戳前缀:\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## usePeriodicAdvanced\n\n启用周期笔记高级路径格式和模板设置。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## paraIndexFilename\n\nPARA 文件夹的索引笔记命名方式。\n\n- 存储层:vault;访问:write。\n- 默认值:`"readme"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["readme", "folderName"]\n}\n```\n\n## useFilePropertiesTagMatching\n\n是否包含文件properties中包含指定tags的bullets和tasks\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## tableCellMaxLines\n\n表格单元格最大显示行数,0表示不限制\n\n- 存储层:vault;访问:write。\n- 默认值:`4`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ]\n}\n```\n\n## locale\n\n用户选择的语言,空字符串表示跟随 Obsidian 设置\n\n- 存储层:bootstrap;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## recentFiles\n\n最近打开文件列表,由应用运行时维护。\n\n- 存储层:device;访问:internal。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ]\n}\n```\n\n## accountName\n\n产品授权账户邮箱。\n\n- 存储层:bootstrap;访问:internal。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## accountActivationCode\n\n产品激活凭据;由授权流程管理,不通过通用配置接口修改。\n\n- 存储层:bootstrap;访问:internal。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## openLinksInApp\n\n是否在 Aino 内置浏览器中打开网页链接。\n\n- 存储层:bootstrap;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## autoDownloadUpdates\n\n是否自动下载应用更新。\n\n- 存储层:bootstrap;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## updateChannel\n\nAino Desktop 应用更新通道。\n\n- 存储层:bootstrap;访问:write。\n- 默认值:`"stable"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["stable", "beta"]\n}\n```\n\n## dismissedRecommendations\n\n用户点击「不再推荐」后隐藏的产品推荐 id 列表\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ]\n}\n```\n\n## enableHTTPServer\n\n是否开放本机 HTTP 服务中的 MCP 端点;本机基础服务独立运行。\n\n- 存储层:device;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:更新本机 HTTP/MCP 服务并等待重启完成。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## httpServerPort\n\nHTTP Server 端口号(默认 1479)\n\n- 存储层:device;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:更新本机 HTTP/MCP 服务并等待重启完成。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ],\n "minimum": 1024,\n "maximum": 65535\n}\n```\n\n## enableDebugLog\n\n是否启用调试日志(写入 .lifeos-debug.log 文件)\n\n- 存储层:bootstrap;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## startupOpenMode\n\n启动时打开内容的模式。\n\n- 存储层:device;访问:write。\n- 默认值:`"restore"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["daily", "restore"]\n}\n```\n\n## shortcuts\n\n应用快捷键配置。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "object",\n "properties": {},\n "required": [],\n "additionalProperties": false\n }\n ]\n}\n```\n\n## searchEngines\n\n浏览器搜索引擎配置列表。\n\n- 存储层:bootstrap;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": {\n "type": "string"\n },\n "name": {\n "type": "string"\n },\n "keyword": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "type": {\n "enum": ["url", "ai-chat"]\n },\n "urlTemplate": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "enabled": {\n "enum": [false, true]\n }\n },\n "required": ["id", "name", "type", "enabled"],\n "additionalProperties": false\n }\n }\n ]\n}\n```\n\n## browserHomeUrl\n\n内置浏览器首页地址。\n\n- 存储层:bootstrap;访问:write。\n- 默认值:`"https://www.google.com"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## lastOpenedFolder\n\n最近打开的知识库,由知识库切换流程管理。\n\n- 存储层:bootstrap;访问:internal。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n',
391
- 'lifeos/references/settings/aino-desktop-organization.md': '<!-- Generated from code; do not edit. -->\n\n# aino-desktop / organization\n\n配置契约:`a8d4bbff2dcf589348ac10baa32789e5aae4f93d2bd8a00e64523cb9d7481ba5`。运行时来源和生效状态请用 `config explain` / `config verify` 查询。\n\n## useThemeNotes\n\n启用主题笔记组织模式。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useThemeNoteReveal\n\n跳转索引\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useThemeFolderSync\n\n是否启用主题文件与文件夹名称同步\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## usePARANotes\n\n启用 Projects、Areas、Resources、Archives 组织模式。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## capturesPath\n\n捕获笔记目录,相对于当前知识库;修改不会搬迁已有文件。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## projectsPath\n\n项目笔记目录,相对于当前知识库;修改不会搬迁已有文件。\n\n- 存储层:vault;访问:write。\n- 默认值:`"1. Projects"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## areasPath\n\n领域笔记目录,相对于当前知识库;修改不会搬迁已有文件。\n\n- 存储层:vault;访问:write。\n- 默认值:`"2. Areas"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## resourcesPath\n\n资源笔记目录,相对于当前知识库;修改不会搬迁已有文件。\n\n- 存储层:vault;访问:write。\n- 默认值:`"3. Resources"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## archivesPath\n\n归档笔记目录,相对于当前知识库;修改不会搬迁已有文件。\n\n- 存储层:vault;访问:write。\n- 默认值:`"4. Archives"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## expressesPath\n\n表达笔记目录,相对于当前知识库;修改不会搬迁已有文件。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## usePARAAdvanced\n\n启用 PARA 高级配置。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## capturesTemplateFilePath\n\n创建捕获笔记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## projectsTemplateFilePath\n\n创建项目笔记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## areasTemplateFilePath\n\n创建领域笔记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## resourcesTemplateFilePath\n\n创建资源笔记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## archivesTemplateFilePath\n\n创建归档笔记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## expressesTemplateFilePath\n\n创建表达笔记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## inputsPath\n\n输入笔记目录,相对于当前知识库;修改不会搬迁已有文件。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## themesPath\n\n主题笔记目录,相对于当前知识库;修改不会搬迁已有文件。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## outputsPath\n\n输出笔记目录,相对于当前知识库;修改不会搬迁已有文件。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## useThemeAdvanced\n\n启用主题笔记高级配置。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## themeIndexFilename\n\n主题文件夹的索引笔记命名方式。\n\n- 存储层:vault;访问:write。\n- 默认值:`"readme"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["readme", "folderName"]\n}\n```\n\n## themesTemplateFilePath\n\n创建主题笔记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## useThemeSearch\n\n主题搜索\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## aiThemeFileSearchType\n\nAI 检索主题相关文件时的搜索范围模式。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## aiRecursiveSubThemeSearch\n\nAI 检索是否递归包含子主题。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n',
392
- 'lifeos/references/settings/aino-desktop-periodic.md': '<!-- Generated from code; do not edit. -->\n\n# aino-desktop / periodic\n\n配置契约:`a8d4bbff2dcf589348ac10baa32789e5aae4f93d2bd8a00e64523cb9d7481ba5`。运行时来源和生效状态请用 `config explain` / `config verify` 查询。\n\n## weekStart\n\n每周第一天:-1 跟随语言习惯,0 为周日,1 为周一,依次至 6 为周六。\n\n- 存储层:vault;访问:write。\n- 默认值:`-1`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ],\n "minimum": -1,\n "maximum": 6\n}\n```\n\n## periodicNotesPath\n\n周期笔记的根目录,相对于当前知识库;修改只改变后续路径解析,不搬迁已有笔记。\n\n- 存储层:vault;访问:write。\n- 默认值:`"PeriodicNotes"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## dailyRecordHeader\n\n日常记录标题:\n\n- 存储层:vault;访问:write。\n- 默认值:`"Daily Record"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## dailyRecordAPI\n\n每日记录服务的 API 地址。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## dailyRecordToken\n\n每日记录服务访问凭据。\n\n- 存储层:secret;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## dailyRecordTag\n\n记录标签:\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## dailyRecordWarning\n\n每日记录流程的警告状态,由运行时维护。\n\n- 存储层:vault;访问:internal。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## dailyRecordCreating\n\n每日记录创建中状态,由运行时维护。\n\n- 存储层:vault;访问:internal。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## habitHeader\n\n习惯打卡标题:\n\n- 存储层:vault;访问:write。\n- 默认值:`"Habit"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## useChineseCalendar\n\n中国农历:\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## periodicNotesTemplateFilePathDaily\n\n创建日记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## periodicNotesTemplateFilePathWeekly\n\n创建周记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## periodicNotesTemplateFilePathMonthly\n\n创建月记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## periodicNotesTemplateFilePathQuarterly\n\n创建季记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## periodicNotesTemplateFilePathYearly\n\n创建年记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## periodicNotesPathFormatDaily\n\n日记的日期路径格式;空值使用宿主默认格式。修改不重命名已有笔记。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## periodicNotesPathFormatWeekly\n\n周记的日期路径格式;空值使用宿主默认格式。修改不重命名已有笔记。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## periodicNotesPathFormatMonthly\n\n月记的日期路径格式;空值使用宿主默认格式。修改不重命名已有笔记。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## periodicNotesPathFormatQuarterly\n\n季记的日期路径格式;空值使用宿主默认格式。修改不重命名已有笔记。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## periodicNotesPathFormatYearly\n\n年记的日期路径格式;空值使用宿主默认格式。修改不重命名已有笔记。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n',
393
- 'lifeos/references/settings/aino-desktop-sync.md': '<!-- Generated from code; do not edit. -->\n\n# aino-desktop / sync\n\n配置契约:`a8d4bbff2dcf589348ac10baa32789e5aae4f93d2bd8a00e64523cb9d7481ba5`。运行时来源和生效状态请用 `config explain` / `config verify` 查询。\n\n## syncMode\n\n知识库同步模式。\n\n- 存储层:vault;访问:write。\n- 默认值:`"none"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["none", "webdav"]\n}\n```\n\n## syncVaultId\n\n知识库同步身份标识,由同步服务维护。\n\n- 存储层:vault;访问:internal。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## syncProviderPreset\n\n同步存储服务商预设。\n\n- 存储层:vault;访问:write。\n- 默认值:`"nextcloud"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [\n "nextcloud",\n "jianguoyun",\n "koofr",\n "infinicloud",\n "custom",\n "aliyun-oss",\n "cloudflare-r2",\n "tencent-cos",\n "cstcloud",\n "minio",\n "custom-s3"\n ]\n}\n```\n\n## syncConflictPolicy\n\n同步遇到冲突时采用的处理策略。\n\n- 存储层:vault;访问:write。\n- 默认值:`"auto-merge"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["auto-merge", "manual-copy", "latest-timestamp"]\n}\n```\n\n## syncAutoOnLaunch\n\n启动应用时是否自动同步。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## syncAutoOnForeground\n\n应用回到前台时是否自动同步。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## syncAutoWhileActive\n\n使用应用期间是否定时自动同步。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## syncActiveIntervalMinutes\n\n应用活跃期间自动同步间隔,单位为分钟。\n\n- 存储层:vault;访问:write。\n- 默认值:`5`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ],\n "minimum": 1,\n "maximum": 1440\n}\n```\n\n## enableGitBackup\n\n是否启用本机 Git 备份。\n\n- 存储层:device;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## gitBackupScheduleMode\n\nGit 备份调度模式。\n\n- 存储层:device;访问:write。\n- 默认值:`"manual"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["custom", "manual", "hourly", "daily"]\n}\n```\n\n## gitBackupCustomIntervalValue\n\nGit 备份自定义间隔数值,与间隔单位共同使用。\n\n- 存储层:device;访问:write。\n- 默认值:`2`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ]\n}\n```\n\n## gitBackupCustomIntervalUnit\n\nGit 备份自定义间隔单位。\n\n- 存储层:device;访问:write。\n- 默认值:`"hours"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["minutes", "hours"]\n}\n```\n\n## gitBackupDailyTime\n\n每日 Git 备份执行时间,格式为 HH:mm。\n\n- 存储层:device;访问:write。\n- 默认值:`"20:00"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ],\n "pattern": "^([01]\\\\d|2[0-3]):[0-5]\\\\d$"\n}\n```\n\n## gitBackupCatchUpOnLaunch\n\n启动时是否补执行错过的 Git 备份。\n\n- 存储层:device;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## gitBackupSystemNotifications\n\n是否显示 Git 备份系统通知。\n\n- 存储层:device;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n',
394
- 'lifeos/references/settings/aino-desktop-tasks.md': '<!-- Generated from code; do not edit. -->\n\n# aino-desktop / tasks\n\n配置契约:`a8d4bbff2dcf589348ac10baa32789e5aae4f93d2bd8a00e64523cb9d7481ba5`。运行时来源和生效状态请用 `config explain` / `config verify` 查询。\n\n## taskStatuses\n\n任务状态\n\n- 存储层:vault;访问:write。\n- 默认值:`[{"marker":" ","name":"Todo","type":"TODO","next":"x"},{"marker":"x","name":"Done","type":"DONE","next":" "}]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "marker": {\n "type": "string"\n },\n "name": {\n "type": "string"\n },\n "type": {\n "enum": ["TODO", "IN_PROGRESS", "DONE", "CANCELLED"]\n },\n "next": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "color": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "icon": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n }\n },\n "required": ["marker", "name", "type"],\n "additionalProperties": false\n }\n }\n ]\n}\n```\n\n## nextRecurringTaskOnNextLine\n\n生成下一次循环任务时是否插入当前任务下一行。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## hideRemoteTasksInUnfinished\n\n隐藏远程任务\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## taskDelayDays\n\n任务推迟操作默认延后的天数。\n\n- 存储层:vault;访问:write。\n- 默认值:`7`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ],\n "minimum": 0,\n "maximum": 3650\n}\n```\n\n## taskFilterRules\n\n任务筛选规则;用于控制查询和视图中纳入的任务。\n\n- 存储层:vault;访问:write。\n- 默认值:`{"headers":[],"paths":[],"tags":[],"contents":[],"mode":"exclude"}`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "object",\n "properties": {\n "headers": {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n "paths": {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n "tags": {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n "contents": {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n "mode": {\n "enum": ["include", "exclude"]\n }\n },\n "required": ["headers", "paths", "tags", "contents", "mode"],\n "additionalProperties": false\n }\n ]\n}\n```\n\n## taskFilterDateRange\n\n任务筛选的日期范围。\n\n- 存储层:vault;访问:write。\n- 默认值:`{}`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "object",\n "properties": {\n "from": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "to": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n }\n },\n "required": [],\n "additionalProperties": false\n }\n ]\n}\n```\n\n## useTaskDefaults\n\n启用任务默认值\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## taskDefaultTags\n\n默认标签\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ]\n}\n```\n\n## taskDefaultPriority\n\n默认优先级\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## taskDefaultDueDate\n\n可以是 \'none\', \'today\', \'tomorrow\', \'day-after-tomorrow\', \'next-week\' 等\n\n- 存储层:vault;访问:write。\n- 默认值:`"none"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## taskDefaultStartDate\n\n可以是 \'none\', \'today\', \'tomorrow\', \'day-after-tomorrow\', \'next-week\' 等\n\n- 存储层:vault;访问:write。\n- 默认值:`"none"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## taskDefaultStartTime\n\n格式 \'HH:mm\' 或空字符串\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## taskDefaultDuration\n\n小时数\n\n- 存储层:vault;访问:write。\n- 默认值:`0.5`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ]\n}\n```\n',
397
+ 'lifeos/references/settings/aino-desktop-ai.md': '<!-- Generated from code; do not edit. -->\n\n# aino-desktop / ai\n\n配置契约:`2ddc5665f8308454bee4b2eaafeaed6cd3e12198e223efdccaa4f433c12094c5`。运行时来源和生效状态请用 `config explain` / `config verify` 查询。\n\n## useGPT\n\n是否启用 GPT AI 服务。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## gptApiKey\n\nOpenAI访问密钥。\n\n- 存储层:secret;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## gptBaseURL\n\nOpenAI服务基础地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"https://api.openai.com/v1"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## gptModel\n\nOpenAI可选模型列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`["gpt-4o-mini","gpt-4o"]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ]\n}\n```\n\n## useGemini\n\n是否启用 Gemini AI 服务。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## geminiApiKey\n\nGemini访问密钥。\n\n- 存储层:secret;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## geminiBaseURL\n\nGemini服务基础地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"https://generativelanguage.googleapis.com/v1beta/openai"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## geminiModel\n\nGemini可选模型列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`["gemini-2.5-flash"]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ]\n}\n```\n\n## useClaude\n\n是否启用 Claude AI 服务。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## claudeApiKey\n\nClaude访问密钥。\n\n- 存储层:secret;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## claudeBaseURL\n\nClaude服务基础地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"https://api.anthropic.com/v1/"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## claudeAnthropicBaseURL\n\nClaudeAnthropic 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## claudeOpenaiBaseURL\n\nClaudeOpenAI 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## claudeModel\n\nClaude可选模型列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`["claude-sonnet-4-20250514"]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ]\n}\n```\n\n## useDeepSeek\n\n是否启用 DeepSeek AI 服务。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## deepseekApiKey\n\nDeepSeek访问密钥。\n\n- 存储层:secret;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## deepseekBaseURL\n\nDeepSeek服务基础地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"https://api.deepseek.com/v1"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## deepseekAnthropicBaseURL\n\nDeepSeekAnthropic 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## deepseekOpenaiBaseURL\n\nDeepSeekOpenAI 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## deepseekModel\n\nDeepSeek可选模型列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`["deepseek-chat"]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ]\n}\n```\n\n## useQwen\n\n是否启用 Qwen AI 服务。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## qwenApiKey\n\nQwen访问密钥。\n\n- 存储层:secret;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## qwenBaseURL\n\nQwen服务基础地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"https://dashscope.aliyuncs.com/compatible-mode/v1"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## qwenAnthropicBaseURL\n\nQwenAnthropic 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## qwenOpenaiBaseURL\n\nQwenOpenAI 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## qwenModel\n\nQwen可选模型列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`["qwen-plus"]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ]\n}\n```\n\n## useOllama\n\n是否启用 Ollama AI 服务。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## ollamaApiKey\n\nOllama访问密钥。\n\n- 存储层:secret;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## ollamaBaseURL\n\nOllama服务基础地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"http://localhost:11434/v1"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## ollamaModel\n\nOllama可选模型列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`["llama3.2"]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ]\n}\n```\n\n## useMinimax\n\n是否启用 Minimax AI 服务。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## minimaxApiKey\n\nMiniMax访问密钥。\n\n- 存储层:secret;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## minimaxBaseURL\n\nMiniMax服务基础地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"https://api.minimaxi.com/v1"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## minimaxAnthropicBaseURL\n\nMiniMaxAnthropic 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## minimaxOpenaiBaseURL\n\nMiniMaxOpenAI 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## minimaxModel\n\nMiniMax可选模型列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`["MiniMax-M2.7"]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ]\n}\n```\n\n## useZhipu\n\n是否启用 Zhipu AI 服务。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## zhipuApiKey\n\n智谱访问密钥。\n\n- 存储层:secret;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## zhipuBaseURL\n\n智谱服务基础地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"https://open.bigmodel.cn/api/paas/v4"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## zhipuAnthropicBaseURL\n\n智谱Anthropic 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## zhipuOpenaiBaseURL\n\n智谱OpenAI 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## zhipuModel\n\n智谱可选模型列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`["glm-4-plus"]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ]\n}\n```\n\n## useKimi\n\n是否启用 Kimi AI 服务。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## kimiApiKey\n\nKimi访问密钥。\n\n- 存储层:secret;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## kimiBaseURL\n\nKimi服务基础地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"https://api.moonshot.cn/v1"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## kimiAnthropicBaseURL\n\nKimiAnthropic 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## kimiOpenaiBaseURL\n\nKimiOpenAI 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## kimiModel\n\nKimi可选模型列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`["moonshot-v1-auto"]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ]\n}\n```\n\n## useCustom\n\n启用自定义 AI 服务。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## customApiKey\n\n旧版自定义 AI 服务访问凭据。\n\n- 存储层:secret;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## customBaseURL\n\n旧版自定义 AI 服务端点。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## customModel\n\n自定义\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ]\n}\n```\n\n## customAIModels\n\n自定义 AI 模型配置列表,包含服务端点、模型和访问凭据。\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": {\n "type": "string"\n },\n "name": {\n "type": "string"\n },\n "apiKey": {\n "type": "string"\n },\n "baseURL": {\n "type": "string"\n },\n "model": {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n "sdkType": {\n "enum": ["anthropic", "openai"]\n }\n },\n "required": ["id", "name", "apiKey", "baseURL", "model"],\n "additionalProperties": false\n }\n }\n ]\n}\n```\n\n## useClaudeCode\n\n启用本机 Claude Code 作为 AI 运行方式。\n\n- 存储层:device;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## claudeCodeBinaryPath\n\n本机 Claude Code 可执行文件路径。\n\n- 存储层:device;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## useCodex\n\n启用本机 Codex 作为 AI 运行方式。\n\n- 存储层:device;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## codexBinaryPath\n\n本机 Codex 可执行文件路径。\n\n- 存储层:device;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## codexHomePath\n\n本机 Codex 配置目录。\n\n- 存储层:device;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## codexApprovalMode\n\nCodex 执行操作时采用的审批模式。\n\n- 存储层:device;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["untrusted", "on-request", "never"]\n}\n```\n\n## defaultVendor\n\n新 AI 对话默认使用的服务商。\n\n- 存储层:vault;访问:write。\n- 默认值:`"claude"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## defaultModel\n\n新 AI 对话默认使用的模型标识。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## aiMaxConversationTurns\n\n最大对话轮数\n\n- 存储层:vault;访问:write。\n- 默认值:`10`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ]\n}\n```\n\n## aiEnableExternalSkills\n\n普通 AI 模型是否可读取 / 调用外部 agent skills\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## aiEnableExternalMcpTools\n\n普通 AI 模型是否可连接外部 MCP server(桌面端)\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## aiAllowWriteTools\n\n是否允许普通 AI 模型调用写入 / 更新类工具\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## aiAllowDeleteTools\n\n是否允许普通 AI 模型调用删除类工具\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## aiAllowCommandTools\n\n是否允许 AI 使用命令执行工具。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## aiEnableExperimentalPageControl\n\n是否开放实验性 AI 页面操作能力。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## chatExportFolder\n\n聊天导出文件夹路径\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## promptsPath\n\nPrompt 文件夹路径\n\n- 存储层:vault;访问:write。\n- 默认值:`"Prompts"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## aiAdvancedForLifeOS\n\n启用 LifeOS AI 高级检索配置。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## aiFilterPaths\n\nAI 知识检索的路径筛选配置。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ]\n}\n```\n',
398
+ 'lifeos/references/settings/aino-desktop-appearance.md': '<!-- Generated from code; do not edit. -->\n\n# aino-desktop / appearance\n\n配置契约:`2ddc5665f8308454bee4b2eaafeaed6cd3e12198e223efdccaa4f433c12094c5`。运行时来源和生效状态请用 `config explain` / `config verify` 查询。\n\n## themeListHeader\n\n主题列表标题:\n\n- 存储层:vault;访问:write。\n- 默认值:`"Theme List"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## themePresetId\n\n外观主题预设标识。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [\n "aino",\n "ocean",\n "forest",\n "sunset",\n "dawn",\n "minimal",\n "aino-dark",\n "ocean-dark",\n "forest-dark",\n "ember-dark",\n "midnight",\n "minimal-dark"\n ]\n}\n```\n\n## themeLightPresetId\n\n浅色模式主题预设标识。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["aino", "ocean", "forest", "sunset", "dawn", "minimal"]\n}\n```\n\n## themeDarkPresetId\n\n深色模式主题预设标识。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["aino-dark", "ocean-dark", "forest-dark", "ember-dark", "midnight", "minimal-dark"]\n}\n```\n\n## themeMode\n\n应用配色模式:跟随系统、浅色或深色。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["system", "light", "dark"]\n}\n```\n\n## themeAccentColor\n\n主题主强调色。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## themeGradientEnabled\n\n是否启用主题渐变色。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## themeAccentSecondaryColor\n\n主题第二强调色。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## themeAccentTertiaryColor\n\n主题第三强调色。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## themeBackgroundColor\n\n应用背景色覆盖值。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## themeEditorBackgroundColor\n\n编辑器背景色覆盖值。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## themeMarkdownBoldColor\n\nMarkdown 粗体文字颜色覆盖值。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## themeTokenOverrides\n\n按浅色和深色模式分别覆盖主题色彩变量。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "object",\n "properties": {\n "light": {\n "anyOf": [\n {\n "type": "object",\n "properties": {},\n "required": [],\n "additionalProperties": {\n "type": "string"\n }\n }\n ]\n },\n "dark": {\n "anyOf": [\n {\n "type": "object",\n "properties": {},\n "required": [],\n "additionalProperties": {\n "type": "string"\n }\n }\n ]\n }\n },\n "required": [],\n "additionalProperties": false\n }\n ]\n}\n```\n\n## themeCustomName\n\n自定义主题名称。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## themeCustomAuthor\n\n自定义主题作者。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## limitLineWidth\n\n是否限制编辑区正文行宽。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## editorDensity\n\n编辑器内容密度。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["compact", "default"]\n}\n```\n\n## headingFoldingEnabled\n\n是否允许折叠标题下的内容。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## paragraphFoldingEnabled\n\n是否允许段落折叠。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## sidebarTranslucencyEnabled\n\n是否启用侧边栏半透明效果。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## appearanceFontFamily\n\n应用使用的字体族。\n\n- 存储层:device;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## editorFontFamily\n\n笔记编辑区独立字体;未设置时沿用现有字体。\n\n- 存储层:device;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## editorFontFileName\n\n编辑区导入字体文件的名称。\n\n- 存储层:device;访问:internal。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## editorFontFileDataUrl\n\n编辑区导入字体文件的内容。\n\n- 存储层:device;访问:internal。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## appearanceFontFileName\n\n已导入字体文件的名称,由字体导入流程维护。\n\n- 存储层:device;访问:internal。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## appearanceFontFileDataUrl\n\n已导入字体文件内容,由字体导入流程维护。\n\n- 存储层:device;访问:internal。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## appearanceFontSize\n\n应用基础字体大小。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ],\n "minimum": 8,\n "maximum": 72\n}\n```\n\n## appearanceZoomPercent\n\n应用界面缩放百分比。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ],\n "minimum": 50,\n "maximum": 200\n}\n```\n\n## pinnedItems\n\n置顶项目列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": {\n "type": "string"\n },\n "title": {\n "type": "string"\n },\n "icon": {\n "type": "string"\n },\n "type": {\n "enum": ["note", "url"]\n },\n "path": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "url": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n }\n },\n "required": ["id", "title", "icon", "type"],\n "additionalProperties": false\n }\n }\n ]\n}\n```\n\n## sidebarItems\n\n侧边栏项目配置和顺序。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": {\n "type": "string"\n },\n "icon": {\n "type": "string"\n },\n "customIcon": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "label": {\n "type": "string"\n },\n "type": {\n "enum": [\n "view",\n "tool",\n "sidebar",\n "custom-app",\n "pinned-file",\n "pinned-directory",\n "pinned-note",\n "pinned-url",\n "read-later-note",\n "read-later-url",\n "stack",\n "folder"\n ]\n },\n "area": {\n "enum": ["icons", "pinned", "read-later"]\n },\n "path": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "url": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "appId": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "hidden": {\n "enum": [false, true]\n },\n "faviconUrl": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "children": {\n "$ref": "#/$defs/type0"\n },\n "stackActiveId": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n }\n },\n "required": ["id", "icon", "label", "type", "area"],\n "additionalProperties": false\n }\n }\n ],\n "$defs": {\n "type0": {\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": {\n "type": "string"\n },\n "icon": {\n "type": "string"\n },\n "customIcon": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "label": {\n "type": "string"\n },\n "type": {\n "enum": [\n "view",\n "tool",\n "sidebar",\n "custom-app",\n "pinned-file",\n "pinned-directory",\n "pinned-note",\n "pinned-url",\n "read-later-note",\n "read-later-url",\n "stack",\n "folder"\n ]\n },\n "area": {\n "enum": ["icons", "pinned", "read-later"]\n },\n "path": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "url": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "appId": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "hidden": {\n "enum": [false, true]\n },\n "faviconUrl": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "children": {\n "$ref": "#/$defs/type0"\n },\n "stackActiveId": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n }\n },\n "required": ["id", "icon", "label", "type", "area"],\n "additionalProperties": false\n }\n }\n ]\n }\n }\n}\n```\n\n## sidebarItemsSchemaVersion\n\n侧边栏项目存储结构版本,由迁移流程维护。\n\n- 存储层:vault;访问:internal。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ]\n}\n```\n\n## sidebarSectionOrder\n\n侧边栏分区显示顺序。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "enum": ["read-later", "favorite", "folders", "ai", "drafts", "recent"]\n }\n }\n ]\n}\n```\n\n## sidebarSectionCollapsed\n\n侧边栏各分区的折叠状态。\n\n- 存储层:device;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "object",\n "properties": {\n "favorite": {\n "enum": [false, true]\n },\n "ai": {\n "enum": [false, true]\n },\n "drafts": {\n "enum": [false, true]\n },\n "recent": {\n "enum": [false, true]\n },\n "folders": {\n "enum": [false, true]\n },\n "readLater": {\n "enum": [false, true]\n }\n },\n "required": [],\n "additionalProperties": false\n }\n ]\n}\n```\n\n## rightSidebarMode\n\n右侧栏当前显示模式。\n\n- 存储层:device;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["context", "chat", "tasks"]\n}\n```\n\n## leftSidebarCollapsed\n\n左侧栏是否折叠。\n\n- 存储层:device;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## rightSidebarCollapsed\n\n右侧栏是否折叠。\n\n- 存储层:device;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## sidebarWidth\n\n左侧栏宽度。\n\n- 存储层:device;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ]\n}\n```\n\n## contextPanelWidth\n\n右侧上下文面板宽度。\n\n- 存储层:device;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ]\n}\n```\n',
399
+ 'lifeos/references/settings/aino-desktop-calendar.md': '<!-- Generated from code; do not edit. -->\n\n# aino-desktop / calendar\n\n配置契约:`2ddc5665f8308454bee4b2eaafeaed6cd3e12198e223efdccaa4f433c12094c5`。运行时来源和生效状态请用 `config explain` / `config verify` 查询。\n\n## useCalendar\n\n显示 LifeOS 日历视图;本地任务数据服务仍可独立运行。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useCalendarSidebar\n\n日历侧栏\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useCalendarAllDay\n\n显示为全天事件\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useCalendarCollapse\n\n收件箱折叠\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useCalendar24Hour\n\n24小时制\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useCalendarSimpleTaskDisplay\n\n简化任务显示\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## calendarTimeGridHeight\n\n时间格高度\n\n- 存储层:vault;访问:write。\n- 默认值:`"default"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["compact", "default", "comfortable"]\n}\n```\n\n## pomodoroDuration\n\n番茄时长(分钟)\n\n- 存储层:vault;访问:write。\n- 默认值:`25`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ]\n}\n```\n\n## shortBreakDuration\n\n短休息时长(分钟)\n\n- 存储层:vault;访问:write。\n- 默认值:`5`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ]\n}\n```\n\n## longBreakDuration\n\n长休息时长(分钟)\n\n- 存储层:vault;访问:write。\n- 默认值:`15`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ]\n}\n```\n\n## longBreakInterval\n\n长休息间隔番茄数\n\n- 存储层:vault;访问:write。\n- 默认值:`4`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ]\n}\n```\n\n## autoStartNextPomodoro\n\n自动开始下个番茄\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## autoStartBreak\n\n自动休息\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## pomodoroSound\n\n番茄提示音\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## pomodoroAutoRecord\n\n是否自动记录到 Daily Note\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useICSCalendar\n\nICS 日历订阅\n\n- 存储层:device;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## icsCalendarURL\n\nICS 日历地址\n\n- 存储层:secret;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## customICSConfigs\n\n自定义 ICS 订阅列表,含订阅地址、名称及启用状态;地址可能含访问凭据。\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": {\n "type": "string"\n },\n "name": {\n "type": "string"\n },\n "url": {\n "type": "string"\n },\n "enabled": {\n "enum": [false, true]\n }\n },\n "required": ["id", "name", "url"],\n "additionalProperties": false\n }\n }\n ]\n}\n```\n\n## hiddenRemoteCalendarUrls\n\n在视图中隐藏的远程日历地址列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ]\n}\n```\n\n## useCalDavCalendar\n\nCalDAV 日历订阅\n\n- 存储层:device;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## calDAVServerURL\n\n服务器地址\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## calDAVUsername\n\n用户名\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## calDAVPassword\n\n密码\n\n- 存储层:secret;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## calDAVSelectedCalendar\n\n基础 CalDAV 配置选择的日历\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## calDAVAvailableCalendars\n\n基础 CalDAV 配置的可用日历列表\n\n- 存储层:device;访问:internal。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "name": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "url": {\n "type": "string"\n },\n "displayName": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "description": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "isReadOnly": {\n "enum": [false, true]\n },\n "ctag": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "syncToken": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n }\n },\n "required": ["url"],\n "additionalProperties": false\n }\n }\n ]\n}\n```\n\n## customCalDAVConfigs\n\n自定义 CalDAV 账户配置列表,包含服务器、用户名、密码及所选日历。\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": {\n "type": "string"\n },\n "name": {\n "type": "string"\n },\n "serverURL": {\n "type": "string"\n },\n "username": {\n "type": "string"\n },\n "password": {\n "type": "string"\n },\n "selectedCalendar": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "availableCalendars": {\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "name": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "url": {\n "type": "string"\n },\n "displayName": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "description": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "isReadOnly": {\n "enum": [false, true]\n },\n "ctag": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "syncToken": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n }\n },\n "required": ["url"],\n "additionalProperties": false\n }\n }\n ]\n },\n "enabled": {\n "enum": [false, true]\n }\n },\n "required": ["id", "name", "serverURL", "username", "password"],\n "additionalProperties": false\n }\n }\n ]\n}\n```\n\n## useICloudCalendar\n\niCloud 日历订阅\n\n- 存储层:device;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## iCloudCalendarPushEnabled\n\n是否启用推送功能,false时仅拉取远程任务\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## iCloudDeleteCompletedTask\n\n是否删除已完成和已取消的任务,true时删除\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## iCloudServerURL\n\niCloud CalDAV 服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"caldav.icloud.com"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## iCloudUsername\n\niCloud 日历账户用户名。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## iCloudPassword\n\niCloud 日历的应用专用密码。\n\n- 存储层:secret;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## iCloudSelectedCalendar\n\n用户选择的同步日历ID\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## iCloudAvailableCalendars\n\n可用的日历列表\n\n- 存储层:device;访问:internal。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "name": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "url": {\n "type": "string"\n },\n "displayName": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "description": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "isReadOnly": {\n "enum": [false, true]\n },\n "ctag": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "syncToken": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n }\n },\n "required": ["url"],\n "additionalProperties": false\n }\n }\n ]\n}\n```\n\n## iCloudAllDayReminder\n\n是否为全天事件添加提醒\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## iCloudAllDayReminderDays\n\n提前天数,0表示当天\n\n- 存储层:vault;访问:write。\n- 默认值:`0`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ]\n}\n```\n\n## iCloudAllDayReminderTime\n\n提醒时间,格式 \'HH:mm\'\n\n- 存储层:vault;访问:write。\n- 默认值:`"09:00"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## iCloudTimedReminder\n\n是否为有时间的任务添加提醒\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## iCloudTimedReminderValue\n\n提醒数值\n\n- 存储层:vault;访问:write。\n- 默认值:`15`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ]\n}\n```\n\n## iCloudTimedReminderUnit\n\n提醒单位\n\n- 存储层:vault;访问:write。\n- 默认值:`"minutes"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["minutes", "hours", "days", "weeks"]\n}\n```\n\n## useGoogleCalendar\n\n是否启用 Google Calendar\n\n- 存储层:device;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## googleClientId\n\nGoogle OAuth Client ID(用户自行提供)\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## googleClientSecret\n\nGoogle OAuth Client Secret(用户自行提供)\n\n- 存储层:secret;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## googleCalendarAccessToken\n\nOAuth Access Token\n\n- 存储层:secret;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## googleCalendarRefreshToken\n\nOAuth Refresh Token(用于刷新 Access Token)\n\n- 存储层:secret;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## googleCalendarTokenExpiry\n\nToken 过期时间戳\n\n- 存储层:device;访问:internal。\n- 默认值:`0`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ]\n}\n```\n\n## googleCalendarSelectedCalendarId\n\n用户选择的同步日历 ID\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## googleCalendarAvailableCalendars\n\n可用的日历列表\n\n- 存储层:device;访问:internal。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "name": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "url": {\n "type": "string"\n },\n "displayName": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "description": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "isReadOnly": {\n "enum": [false, true]\n },\n "ctag": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "syncToken": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n }\n },\n "required": ["url"],\n "additionalProperties": false\n }\n }\n ]\n}\n```\n\n## googleCalendarPushEnabled\n\n是否启用推送功能,false 时仅拉取远程任务\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## googleCalendarDeleteCompletedTask\n\n是否删除已完成和已取消的任务\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## googleCalendarAllDayReminder\n\n是否为全天事件添加提醒\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## googleCalendarAllDayReminderDays\n\n提前天数,0表示当天\n\n- 存储层:vault;访问:write。\n- 默认值:`0`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ]\n}\n```\n\n## googleCalendarAllDayReminderTime\n\n提醒时间,格式 \'HH:mm\'\n\n- 存储层:vault;访问:write。\n- 默认值:`"09:00"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## googleCalendarTimedReminder\n\n是否为有时间的任务添加提醒\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## googleCalendarTimedReminderValue\n\n提醒数值\n\n- 存储层:vault;访问:write。\n- 默认值:`15`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ]\n}\n```\n\n## googleCalendarTimedReminderUnit\n\n提醒单位\n\n- 存储层:vault;访问:write。\n- 默认值:`"minutes"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["minutes", "hours", "days", "weeks"]\n}\n```\n\n## defaultWriteCalendar\n\n任务同步时默认写入的日历:\'none\' | \'icloud\' | \'google\' | \'caldav-{configId}\'\n\n- 存储层:vault;访问:write。\n- 默认值:`"none"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n',
400
+ 'lifeos/references/settings/aino-desktop-files.md': '<!-- Generated from code; do not edit. -->\n\n# aino-desktop / files\n\n配置契约:`2ddc5665f8308454bee4b2eaafeaed6cd3e12198e223efdccaa4f433c12094c5`。运行时来源和生效状态请用 `config explain` / `config verify` 查询。\n\n## draftsPath\n\n闪念草稿的保存目录,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`"Drafts"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## clipperSaveFolder\n\n网页剪藏默认保存目录,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`"Clips"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## clipperDefaultTags\n\n网页剪藏默认添加的标签列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ]\n}\n```\n\n## clipperDefaultTemplateId\n\n网页剪藏默认模板标识。\n\n- 存储层:vault;访问:write。\n- 默认值:`"article"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## clipperTemplates\n\n网页剪藏模板定义列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`[{"id":"article","name":"Article","content":"{{#summary}}## AI 摘要\\n\\n{{summary}}\\n\\n{{/summary}}{{content}}","aiPrompt":"You summarize web pages for durable personal notes. Use the source language. Return Markdown only: first a concise 2-3 sentence overview, then 3-5 bullet points. Do not invent facts or repeat the title.","frontmatter":["domain","author","description","published"]},{"id":"digest","name":"Digest","content":"## 摘要\\n\\n{{summaryOrDescription}}\\n\\n## 原文\\n\\n{{content}}","aiPrompt":"Create a durable reading digest in the source language. Return Markdown only: a concise overview followed by 3-5 key insights. Preserve nuance, avoid invented facts, and do not repeat the title.","frontmatter":["domain","author","description","published"]},{"id":"bookmark","name":"Bookmark","content":"{{summaryOrDescription}}\\n\\n[打开原文]({{url}})","aiPrompt":"Summarize this bookmark in the source language. Return Markdown only: one concise paragraph and up to 3 short bullets explaining why it may be useful later.","frontmatter":["domain","author","description","published"]}]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "aiPrompt": {\n "type": "string"\n },\n "content": {\n "type": "string"\n },\n "frontmatter": {\n "type": "array",\n "items": {\n "enum": ["domain", "author", "description", "published"]\n }\n },\n "id": {\n "type": "string"\n },\n "name": {\n "type": "string"\n }\n },\n "required": ["aiPrompt", "content", "frontmatter", "id", "name"],\n "additionalProperties": false\n }\n }\n ]\n}\n```\n\n## knowledgeExcludedFolders\n\n知识检索排除的目录列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ]\n}\n```\n\n## newNoteLocation\n\n新建笔记的默认位置策略。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["drafts", "root", "specified", "current"]\n}\n```\n\n## newNoteCustomFolder\n\n新建笔记使用自定义位置时的目标文件夹。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## attachmentLocation\n\n附件默认保存位置策略。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["root", "specified", "current", "subfolder"]\n}\n```\n\n## attachmentSubfolderName\n\n相对当前笔记保存附件时的子文件夹名称。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## attachmentSpecifiedFolder\n\n附件采用指定目录策略时的保存文件夹。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n',
401
+ 'lifeos/references/settings/aino-desktop-general.md': '<!-- Generated from code; do not edit. -->\n\n# aino-desktop / general\n\n配置契约:`2ddc5665f8308454bee4b2eaafeaed6cd3e12198e223efdccaa4f433c12094c5`。运行时来源和生效状态请用 `config explain` / `config verify` 查询。\n\n## settingsSchemaVersion\n\n知识库配置存储结构版本,由迁移流程管理。\n\n- 存储层:vault;访问:internal。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ]\n}\n```\n\n## enableVoiceConversation\n\n启用当前库的语音对话入口;默认关闭。\n\n- 存储层:device;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## enableExperimentalMail\n\nDevice-local opt-in for the experimental mail application.\n\n- 存储层:device;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## voiceGlobalShortcut\n\n此设备开始或结束语音对话的系统全局快捷键。\n\n- 存储层:device;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## voiceProvider\n\n语音识别与朗读服务商:豆包或 Deepgram。\n\n- 存储层:device;访问:write。\n- 默认值:`"doubao"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["doubao", "deepgram"]\n}\n```\n\n## doubaoVoiceApiKey\n\n用户自行配置的豆包语音 API Key,仅保存在此设备的密钥层。\n\n- 存储层:secret;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## deepgramVoiceApiKey\n\n用户自行配置的 Deepgram API Key,仅保存在此设备的密钥层。\n\n- 存储层:secret;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## doubaoVoiceSpeaker\n\n豆包朗读音色的 speaker 标识。\n\n- 存储层:device;访问:write。\n- 默认值:`"zh_female_vv_uranus_bigtts"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## enableCustomApps\n\n是否启用 Aino AI 小程序功能。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## enableSmartOrganize\n\n是否启用智能整理功能。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## enableIntelligentWorkbench\n\n是否启用智能工作台。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## enableAIReview\n\n是否启用 AI 回顾功能。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## fourQuadrantFilters\n\n四象限视图的筛选配置\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "overdueDays": {\n "anyOf": [\n {\n "type": "number"\n }\n ]\n },\n "futureStartDays": {\n "anyOf": [\n {\n "type": "number"\n }\n ]\n },\n "futureDays": {\n "anyOf": [\n {\n "type": "number"\n }\n ]\n },\n "includeNoDate": {\n "enum": [false, true]\n },\n "includeAllOverdue": {\n "enum": [false, true]\n },\n "includeAllFuture": {\n "enum": [false, true]\n },\n "priorities": {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n "taskSources": {\n "anyOf": [\n {\n "type": "array",\n "items": {\n "enum": ["local", "icloud", "ics", "caldav", "google"]\n }\n }\n ]\n }\n },\n "required": ["priorities"],\n "additionalProperties": false\n }\n }\n ]\n}\n```\n\n## fourQuadrantRules\n\n四象限版本化归类规则\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "object",\n "properties": {\n "version": {\n "enum": [2]\n },\n "mode": {\n "enum": ["time-priority", "priority-only"]\n },\n "urgentFutureDays": {\n "type": "number"\n },\n "importantPriorities": {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n "priorityQuadrants": {\n "type": "array",\n "prefixItems": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ],\n "minItems": 4,\n "maxItems": 4\n },\n "preserveLegacyFilters": {\n "enum": [false, true]\n }\n },\n "required": [\n "version",\n "mode",\n "urgentFutureDays",\n "importantPriorities",\n "priorityQuadrants",\n "preserveLegacyFilters"\n ],\n "additionalProperties": false\n }\n ]\n}\n```\n\n## quadrantDropConfigs\n\n四象限拖拽配置(优先级+日期)\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "priorityEmoji": {\n "type": "string"\n },\n "daysOffset": {\n "anyOf": [\n {\n "type": "number"\n }\n ]\n },\n "clearDate": {\n "enum": [false, true]\n }\n },\n "required": ["priorityEmoji"],\n "additionalProperties": false\n }\n }\n ]\n}\n```\n\n## useTagColor\n\n是否启用标签颜色区分\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## tagColors\n\n自定义标签颜色映射 { "#tag": "#color" }\n\n- 存储层:vault;访问:write。\n- 默认值:`{}`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "object",\n "properties": {},\n "required": [],\n "additionalProperties": {\n "type": "string"\n }\n }\n ]\n}\n```\n\n## autoFocusCount\n\n自动番茄专注次数,0 表示无限\n\n- 存储层:vault;访问:write。\n- 默认值:`0`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ]\n}\n```\n\n## continueAfterComplete\n\n倒计时结束后继续计时,直到手动停止\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## usePeriodicNotes\n\n启用周期笔记功能。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## showDailyNoteTitle\n\n显示日记文件标题\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useHabitStats\n\n习惯统计\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useDailyRecord\n\n日常记录同步\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## projectListHeader\n\n项目列表标题:\n\n- 存储层:vault;访问:write。\n- 默认值:`"Project List"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## areaListHeader\n\n领域列表标题:\n\n- 存储层:vault;访问:write。\n- 默认值:`"First Things Dimension"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## useDailyRecordTimestamp\n\n时间戳前缀:\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## usePeriodicAdvanced\n\n启用周期笔记高级路径格式和模板设置。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## paraIndexFilename\n\nPARA 文件夹的索引笔记命名方式。\n\n- 存储层:vault;访问:write。\n- 默认值:`"readme"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["readme", "folderName"]\n}\n```\n\n## useFilePropertiesTagMatching\n\n是否包含文件properties中包含指定tags的bullets和tasks\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## tableCellMaxLines\n\n表格单元格最大显示行数,0表示不限制\n\n- 存储层:vault;访问:write。\n- 默认值:`4`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ]\n}\n```\n\n## locale\n\n用户选择的语言,空字符串表示跟随 Obsidian 设置\n\n- 存储层:bootstrap;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## recentFiles\n\n最近打开文件列表,由应用运行时维护。\n\n- 存储层:device;访问:internal。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ]\n}\n```\n\n## accountName\n\n产品授权账户邮箱。\n\n- 存储层:bootstrap;访问:internal。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## accountActivationCode\n\n产品激活凭据;由授权流程管理,不通过通用配置接口修改。\n\n- 存储层:bootstrap;访问:internal。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## openLinksInApp\n\n是否在 Aino 内置浏览器中打开网页链接。\n\n- 存储层:bootstrap;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## autoDownloadUpdates\n\n是否自动下载应用更新。\n\n- 存储层:bootstrap;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## updateChannel\n\nAino Desktop 应用更新通道。\n\n- 存储层:bootstrap;访问:write。\n- 默认值:`"stable"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["stable", "beta"]\n}\n```\n\n## dismissedRecommendations\n\n用户点击「不再推荐」后隐藏的产品推荐 id 列表\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ]\n}\n```\n\n## enableHTTPServer\n\n是否开放本机 HTTP 服务中的 MCP 端点;本机基础服务独立运行。\n\n- 存储层:device;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:更新本机 HTTP/MCP 服务并等待重启完成。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## httpServerPort\n\nHTTP Server 端口号(默认 1479)\n\n- 存储层:device;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:更新本机 HTTP/MCP 服务并等待重启完成。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ],\n "minimum": 1024,\n "maximum": 65535\n}\n```\n\n## enableDebugLog\n\n是否启用调试日志(写入 .lifeos-debug.log 文件)\n\n- 存储层:bootstrap;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## startupOpenMode\n\n启动时打开内容的模式。\n\n- 存储层:device;访问:write。\n- 默认值:`"restore"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["daily", "restore"]\n}\n```\n\n## shortcuts\n\n应用快捷键配置。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "object",\n "properties": {},\n "required": [],\n "additionalProperties": false\n }\n ]\n}\n```\n\n## searchEngines\n\n浏览器搜索引擎配置列表。\n\n- 存储层:bootstrap;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": {\n "type": "string"\n },\n "name": {\n "type": "string"\n },\n "keyword": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "type": {\n "enum": ["url", "ai-chat"]\n },\n "urlTemplate": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "enabled": {\n "enum": [false, true]\n }\n },\n "required": ["id", "name", "type", "enabled"],\n "additionalProperties": false\n }\n }\n ]\n}\n```\n\n## browserHomeUrl\n\n内置浏览器首页地址。\n\n- 存储层:bootstrap;访问:write。\n- 默认值:`"https://www.google.com"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## lastOpenedFolder\n\n最近打开的知识库,由知识库切换流程管理。\n\n- 存储层:bootstrap;访问:internal。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n',
402
+ 'lifeos/references/settings/aino-desktop-organization.md': '<!-- Generated from code; do not edit. -->\n\n# aino-desktop / organization\n\n配置契约:`2ddc5665f8308454bee4b2eaafeaed6cd3e12198e223efdccaa4f433c12094c5`。运行时来源和生效状态请用 `config explain` / `config verify` 查询。\n\n## useThemeNotes\n\n启用主题笔记组织模式。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useThemeNoteReveal\n\n跳转索引\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useThemeFolderSync\n\n是否启用主题文件与文件夹名称同步\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## usePARANotes\n\n启用 Projects、Areas、Resources、Archives 组织模式。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## capturesPath\n\n捕获笔记目录,相对于当前知识库;修改不会搬迁已有文件。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## projectsPath\n\n项目笔记目录,相对于当前知识库;修改不会搬迁已有文件。\n\n- 存储层:vault;访问:write。\n- 默认值:`"1. Projects"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## areasPath\n\n领域笔记目录,相对于当前知识库;修改不会搬迁已有文件。\n\n- 存储层:vault;访问:write。\n- 默认值:`"2. Areas"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## resourcesPath\n\n资源笔记目录,相对于当前知识库;修改不会搬迁已有文件。\n\n- 存储层:vault;访问:write。\n- 默认值:`"3. Resources"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## archivesPath\n\n归档笔记目录,相对于当前知识库;修改不会搬迁已有文件。\n\n- 存储层:vault;访问:write。\n- 默认值:`"4. Archives"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## expressesPath\n\n表达笔记目录,相对于当前知识库;修改不会搬迁已有文件。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## usePARAAdvanced\n\n启用 PARA 高级配置。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## capturesTemplateFilePath\n\n创建捕获笔记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## projectsTemplateFilePath\n\n创建项目笔记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## areasTemplateFilePath\n\n创建领域笔记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## resourcesTemplateFilePath\n\n创建资源笔记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## archivesTemplateFilePath\n\n创建归档笔记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## expressesTemplateFilePath\n\n创建表达笔记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## inputsPath\n\n输入笔记目录,相对于当前知识库;修改不会搬迁已有文件。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## themesPath\n\n主题笔记目录,相对于当前知识库;修改不会搬迁已有文件。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## outputsPath\n\n输出笔记目录,相对于当前知识库;修改不会搬迁已有文件。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## useThemeAdvanced\n\n启用主题笔记高级配置。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## themeIndexFilename\n\n主题文件夹的索引笔记命名方式。\n\n- 存储层:vault;访问:write。\n- 默认值:`"readme"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["readme", "folderName"]\n}\n```\n\n## themesTemplateFilePath\n\n创建主题笔记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## useThemeSearch\n\n主题搜索\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## aiThemeFileSearchType\n\nAI 检索主题相关文件时的搜索范围模式。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## aiRecursiveSubThemeSearch\n\nAI 检索是否递归包含子主题。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n',
403
+ 'lifeos/references/settings/aino-desktop-periodic.md': '<!-- Generated from code; do not edit. -->\n\n# aino-desktop / periodic\n\n配置契约:`2ddc5665f8308454bee4b2eaafeaed6cd3e12198e223efdccaa4f433c12094c5`。运行时来源和生效状态请用 `config explain` / `config verify` 查询。\n\n## weekStart\n\n每周第一天:-1 跟随语言习惯,0 为周日,1 为周一,依次至 6 为周六。\n\n- 存储层:vault;访问:write。\n- 默认值:`-1`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ],\n "minimum": -1,\n "maximum": 6\n}\n```\n\n## periodicNotesPath\n\n周期笔记的根目录,相对于当前知识库;修改只改变后续路径解析,不搬迁已有笔记。\n\n- 存储层:vault;访问:write。\n- 默认值:`"PeriodicNotes"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## dailyRecordHeader\n\n日常记录标题:\n\n- 存储层:vault;访问:write。\n- 默认值:`"Daily Record"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## dailyRecordAPI\n\n每日记录服务的 API 地址。\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## dailyRecordToken\n\n每日记录服务访问凭据。\n\n- 存储层:secret;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## dailyRecordTag\n\n记录标签:\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## dailyRecordWarning\n\n每日记录流程的警告状态,由运行时维护。\n\n- 存储层:vault;访问:internal。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## dailyRecordCreating\n\n每日记录创建中状态,由运行时维护。\n\n- 存储层:vault;访问:internal。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## habitHeader\n\n习惯打卡标题:\n\n- 存储层:vault;访问:write。\n- 默认值:`"Habit"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## useChineseCalendar\n\n中国农历:\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## periodicNotesTemplateFilePathDaily\n\n创建日记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## periodicNotesTemplateFilePathWeekly\n\n创建周记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## periodicNotesTemplateFilePathMonthly\n\n创建月记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## periodicNotesTemplateFilePathQuarterly\n\n创建季记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## periodicNotesTemplateFilePathYearly\n\n创建年记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## periodicNotesPathFormatDaily\n\n日记的日期路径格式;空值使用宿主默认格式。修改不重命名已有笔记。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## periodicNotesPathFormatWeekly\n\n周记的日期路径格式;空值使用宿主默认格式。修改不重命名已有笔记。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## periodicNotesPathFormatMonthly\n\n月记的日期路径格式;空值使用宿主默认格式。修改不重命名已有笔记。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## periodicNotesPathFormatQuarterly\n\n季记的日期路径格式;空值使用宿主默认格式。修改不重命名已有笔记。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## periodicNotesPathFormatYearly\n\n年记的日期路径格式;空值使用宿主默认格式。修改不重命名已有笔记。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n',
404
+ 'lifeos/references/settings/aino-desktop-sync.md': '<!-- Generated from code; do not edit. -->\n\n# aino-desktop / sync\n\n配置契约:`2ddc5665f8308454bee4b2eaafeaed6cd3e12198e223efdccaa4f433c12094c5`。运行时来源和生效状态请用 `config explain` / `config verify` 查询。\n\n## syncMode\n\n知识库同步模式。\n\n- 存储层:vault;访问:write。\n- 默认值:`"none"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["none", "webdav"]\n}\n```\n\n## syncVaultId\n\n知识库同步身份标识,由同步服务维护。\n\n- 存储层:vault;访问:internal。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## syncProviderPreset\n\n同步存储服务商预设。\n\n- 存储层:vault;访问:write。\n- 默认值:`"nextcloud"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [\n "nextcloud",\n "jianguoyun",\n "koofr",\n "infinicloud",\n "custom",\n "aliyun-oss",\n "cloudflare-r2",\n "tencent-cos",\n "cstcloud",\n "minio",\n "custom-s3"\n ]\n}\n```\n\n## syncConflictPolicy\n\n同步遇到冲突时采用的处理策略。\n\n- 存储层:vault;访问:write。\n- 默认值:`"auto-merge"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["auto-merge", "manual-copy", "latest-timestamp"]\n}\n```\n\n## syncAutoOnLaunch\n\n启动应用时是否自动同步。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## syncAutoOnForeground\n\n应用回到前台时是否自动同步。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## syncAutoWhileActive\n\n使用应用期间是否定时自动同步。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## syncActiveIntervalMinutes\n\n应用活跃期间自动同步间隔,单位为分钟。\n\n- 存储层:vault;访问:write。\n- 默认值:`5`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ],\n "minimum": 1,\n "maximum": 1440\n}\n```\n\n## enableGitBackup\n\n是否启用本机 Git 备份。\n\n- 存储层:device;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## gitBackupScheduleMode\n\nGit 备份调度模式。\n\n- 存储层:device;访问:write。\n- 默认值:`"manual"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["custom", "manual", "hourly", "daily"]\n}\n```\n\n## gitBackupCustomIntervalValue\n\nGit 备份自定义间隔数值,与间隔单位共同使用。\n\n- 存储层:device;访问:write。\n- 默认值:`2`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ]\n}\n```\n\n## gitBackupCustomIntervalUnit\n\nGit 备份自定义间隔单位。\n\n- 存储层:device;访问:write。\n- 默认值:`"hours"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["minutes", "hours"]\n}\n```\n\n## gitBackupDailyTime\n\n每日 Git 备份执行时间,格式为 HH:mm。\n\n- 存储层:device;访问:write。\n- 默认值:`"20:00"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ],\n "pattern": "^([01]\\\\d|2[0-3]):[0-5]\\\\d$"\n}\n```\n\n## gitBackupCatchUpOnLaunch\n\n启动时是否补执行错过的 Git 备份。\n\n- 存储层:device;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## gitBackupSystemNotifications\n\n是否显示 Git 备份系统通知。\n\n- 存储层:device;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n',
405
+ 'lifeos/references/settings/aino-desktop-tasks.md': '<!-- Generated from code; do not edit. -->\n\n# aino-desktop / tasks\n\n配置契约:`2ddc5665f8308454bee4b2eaafeaed6cd3e12198e223efdccaa4f433c12094c5`。运行时来源和生效状态请用 `config explain` / `config verify` 查询。\n\n## taskStatuses\n\n任务状态\n\n- 存储层:vault;访问:write。\n- 默认值:`[{"marker":" ","name":"Todo","type":"TODO","next":"x"},{"marker":"x","name":"Done","type":"DONE","next":" "}]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "marker": {\n "type": "string"\n },\n "name": {\n "type": "string"\n },\n "type": {\n "enum": ["TODO", "IN_PROGRESS", "DONE", "CANCELLED"]\n },\n "next": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "color": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "icon": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n }\n },\n "required": ["marker", "name", "type"],\n "additionalProperties": false\n }\n }\n ]\n}\n```\n\n## nextRecurringTaskOnNextLine\n\n生成下一次循环任务时是否插入当前任务下一行。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## hideRemoteTasksInUnfinished\n\n隐藏远程任务\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## taskDelayDays\n\n任务推迟操作默认延后的天数。\n\n- 存储层:vault;访问:write。\n- 默认值:`7`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ],\n "minimum": 0,\n "maximum": 3650\n}\n```\n\n## taskFilterRules\n\n任务筛选规则;用于控制查询和视图中纳入的任务。\n\n- 存储层:vault;访问:write。\n- 默认值:`{"headers":[],"paths":[],"tags":[],"contents":[],"mode":"exclude"}`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "object",\n "properties": {\n "headers": {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n "paths": {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n "tags": {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n "contents": {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n "mode": {\n "enum": ["include", "exclude"]\n }\n },\n "required": ["headers", "paths", "tags", "contents", "mode"],\n "additionalProperties": false\n }\n ]\n}\n```\n\n## taskFilterDateRange\n\n任务筛选的日期范围。\n\n- 存储层:vault;访问:write。\n- 默认值:`{}`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "object",\n "properties": {\n "from": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "to": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n }\n },\n "required": [],\n "additionalProperties": false\n }\n ]\n}\n```\n\n## useTaskDefaults\n\n启用任务默认值\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## taskDefaultTags\n\n默认标签\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ]\n}\n```\n\n## taskDefaultPriority\n\n默认优先级\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## taskDefaultDueDate\n\n可以是 \'none\', \'today\', \'tomorrow\', \'day-after-tomorrow\', \'next-week\' 等\n\n- 存储层:vault;访问:write。\n- 默认值:`"none"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## taskDefaultStartDate\n\n可以是 \'none\', \'today\', \'tomorrow\', \'day-after-tomorrow\', \'next-week\' 等\n\n- 存储层:vault;访问:write。\n- 默认值:`"none"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## taskDefaultStartTime\n\n格式 \'HH:mm\' 或空字符串\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## taskDefaultDuration\n\n小时数\n\n- 存储层:vault;访问:write。\n- 默认值:`0.5`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`apps/aino-desktop/src/shared/contextSettings.d.ts`;默认值:`apps/aino-desktop/src/main/settingsDefaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "number"\n }\n ]\n}\n```\n',
395
406
  'lifeos/references/settings/index.md': '<!-- Generated from code; do not edit. -->\n\n# 配置参考\n\n本文档由两端配置类型、真实默认值和代码内说明生成。不要根据同名字段推断两端值相同。\n\n- [lifeos-pro / ai](./lifeos-pro-ai.md)\n- [lifeos-pro / appearance](./lifeos-pro-appearance.md)\n- [lifeos-pro / calendar](./lifeos-pro-calendar.md)\n- [lifeos-pro / general](./lifeos-pro-general.md)\n- [lifeos-pro / organization](./lifeos-pro-organization.md)\n- [lifeos-pro / periodic](./lifeos-pro-periodic.md)\n- [lifeos-pro / tasks](./lifeos-pro-tasks.md)\n- [aino-desktop / ai](./aino-desktop-ai.md)\n- [aino-desktop / appearance](./aino-desktop-appearance.md)\n- [aino-desktop / calendar](./aino-desktop-calendar.md)\n- [aino-desktop / files](./aino-desktop-files.md)\n- [aino-desktop / general](./aino-desktop-general.md)\n- [aino-desktop / organization](./aino-desktop-organization.md)\n- [aino-desktop / periodic](./aino-desktop-periodic.md)\n- [aino-desktop / sync](./aino-desktop-sync.md)\n- [aino-desktop / tasks](./aino-desktop-tasks.md)\n',
396
- 'lifeos/references/settings/lifeos-pro-ai.md': '<!-- Generated from code; do not edit. -->\n\n# lifeos-pro / ai\n\n配置契约:`a8d4bbff2dcf589348ac10baa32789e5aae4f93d2bd8a00e64523cb9d7481ba5`。运行时来源和生效状态请用 `config explain` / `config verify` 查询。\n\n## aiApiKey\n\nAPI Key\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## aiBaseURL\n\nAPI Base URL\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## aiModel\n\nAI 模型\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## aiMaxConversationTurns\n\n最大对话轮数\n\n- 存储层:vault;访问:write。\n- 默认值:`10`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "number"\n}\n```\n\n## aiTemperature\n\n温度\n\n- 存储层:vault;访问:write。\n- 默认值:`0.7`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "number"\n}\n```\n\n## aiEnableSkills\n\n兼容旧设置:内置 agent skills 对普通 AI 模型始终启用\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## aiEnableMcpTools\n\n兼容旧设置:内置 MCP 工具对普通 AI 模型始终启用\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## aiEnableExternalSkills\n\n普通 AI 模型是否可读取 / 调用外部 agent skills\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## aiEnableExternalMcpTools\n\n普通 AI 模型是否可连接外部 MCP server(桌面端)\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## aiEnableObsidianInterfaceTools\n\nObsidian 桌面实验性界面工具;默认关闭且每次操作仍需确认\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## aiAllowWriteTools\n\n是否允许普通 AI 模型调用写入 / 更新类工具\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## aiAllowDeleteTools\n\n是否允许普通 AI 模型调用删除类工具\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## aiMaxToolIterations\n\n单次 AI 请求允许的最大工具调用迭代次数。\n\n- 存储层:vault;访问:write。\n- 默认值:`8`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "number",\n "minimum": 1,\n "maximum": 100\n}\n```\n\n## aiFilterPaths\n\nAI 知识检索的路径筛选配置。\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "string"\n }\n}\n```\n\n## aiAdvancedForLifeOS\n\n启用 LifeOS AI 高级检索配置。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## aiUseCurrentFileOnly\n\n仅使用当前正在查看的文件\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useGPT\n\n是否启用 GPT AI 服务。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## gptBaseURL\n\nOpenAI服务基础地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"https://api.openai.com/v1/"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## gptApiKey\n\nOpenAI访问密钥。\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## gptModel\n\nOpenAI可选模型列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "string"\n }\n}\n```\n\n## useDeepSeek\n\n是否启用 DeepSeek AI 服务。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## deepseekBaseURL\n\nDeepSeek服务基础地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"https://api.deepseek.com/v1"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## deepseekAnthropicBaseURL\n\nDeepSeekAnthropic 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## deepseekOpenaiBaseURL\n\nDeepSeekOpenAI 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## deepseekApiKey\n\nDeepSeek访问密钥。\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## deepseekModel\n\nDeepSeek可选模型列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "string"\n }\n}\n```\n\n## useGemini\n\n是否启用 Gemini AI 服务。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## geminiBaseURL\n\nGemini服务基础地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"https://generativelanguage.googleapis.com/v1beta/openai/"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## geminiApiKey\n\nGemini访问密钥。\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## geminiModel\n\nGemini可选模型列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "string"\n }\n}\n```\n\n## useQwen\n\n是否启用 Qwen AI 服务。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## qwenBaseURL\n\nQwen服务基础地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"https://dashscope.aliyuncs.com/compatible-mode/v1"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## qwenAnthropicBaseURL\n\nQwenAnthropic 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## qwenOpenaiBaseURL\n\nQwenOpenAI 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## qwenApiKey\n\nQwen访问密钥。\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## qwenModel\n\nQwen可选模型列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "string"\n }\n}\n```\n\n## useMinimax\n\n是否启用 Minimax AI 服务。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## minimaxBaseURL\n\nMiniMax服务基础地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"https://api.minimaxi.com/v1"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## minimaxAnthropicBaseURL\n\nMiniMaxAnthropic 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## minimaxOpenaiBaseURL\n\nMiniMaxOpenAI 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## minimaxApiKey\n\nMiniMax访问密钥。\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## minimaxModel\n\nMiniMax可选模型列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "string"\n }\n}\n```\n\n## useZhipu\n\n是否启用 Zhipu AI 服务。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## zhipuBaseURL\n\n智谱服务基础地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"https://open.bigmodel.cn/api/paas/v4"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## zhipuAnthropicBaseURL\n\n智谱Anthropic 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## zhipuOpenaiBaseURL\n\n智谱OpenAI 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## zhipuApiKey\n\n智谱访问密钥。\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## zhipuModel\n\n智谱可选模型列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "string"\n }\n}\n```\n\n## useOllama\n\n是否启用 Ollama AI 服务。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## ollamaBaseURL\n\nOllama服务基础地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"http://localhost:11434/v1"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## ollamaApiKey\n\nOllama访问密钥。\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## ollamaModel\n\nOllama可选模型列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "string"\n }\n}\n```\n\n## useKimi\n\n是否启用 Kimi AI 服务。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## kimiBaseURL\n\nKimi服务基础地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"https://api.moonshot.cn/v1"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## kimiAnthropicBaseURL\n\nKimiAnthropic 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## kimiOpenaiBaseURL\n\nKimiOpenAI 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## kimiApiKey\n\nKimi访问密钥。\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## kimiModel\n\nKimi可选模型列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "string"\n }\n}\n```\n\n## useClaude\n\n是否启用 Claude AI 服务。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## claudeBaseURL\n\nClaude服务基础地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"https://api.anthropic.com/v1"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## claudeAnthropicBaseURL\n\nClaudeAnthropic 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## claudeOpenaiBaseURL\n\nClaudeOpenAI 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## claudeApiKey\n\nClaude访问密钥。\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## claudeModel\n\nClaude可选模型列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "string"\n }\n}\n```\n\n## useClaudeCode\n\n启用本机 Claude Code 作为 AI 运行方式。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## claudeCodeBinaryPath\n\n本机 Claude Code 可执行文件路径。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## useCodex\n\n启用本机 Codex 作为 AI 运行方式。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## codexBinaryPath\n\n本机 Codex 可执行文件路径。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## customAIModels\n\n自定义 AI 模型配置列表,包含服务端点、模型和访问凭据。\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": {\n "type": "string"\n },\n "name": {\n "type": "string"\n },\n "apiKey": {\n "type": "string"\n },\n "baseURL": {\n "type": "string"\n },\n "model": {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n "sdkType": {\n "enum": ["anthropic", "openai"]\n }\n },\n "required": ["id", "name", "apiKey", "baseURL", "model"],\n "additionalProperties": false\n }\n}\n```\n\n## chatExportFolder\n\n聊天导出文件夹路径\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## promptsPath\n\nPrompt 文件夹路径\n\n- 存储层:vault;访问:write。\n- 默认值:`"Prompts"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## useCustomSystemPrompt\n\n是否使用自定义系统提示词\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## aiPreserveSelectedText\n\n是否保留选中的文件和标签文本格式\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## aiPreserveThoughts\n\n是否保留 AI 的思考过程\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n',
397
- 'lifeos/references/settings/lifeos-pro-appearance.md': '<!-- Generated from code; do not edit. -->\n\n# lifeos-pro / appearance\n\n配置契约:`a8d4bbff2dcf589348ac10baa32789e5aae4f93d2bd8a00e64523cb9d7481ba5`。运行时来源和生效状态请用 `config explain` / `config verify` 查询。\n\n## themeListHeader\n\n主题列表标题:\n\n- 存储层:vault;访问:write。\n- 默认值:`"Theme List"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n',
398
- 'lifeos/references/settings/lifeos-pro-calendar.md': '<!-- Generated from code; do not edit. -->\n\n# lifeos-pro / calendar\n\n配置契约:`a8d4bbff2dcf589348ac10baa32789e5aae4f93d2bd8a00e64523cb9d7481ba5`。运行时来源和生效状态请用 `config explain` / `config verify` 查询。\n\n## useCalendar\n\n显示 LifeOS 日历视图;本地任务数据服务仍可独立运行。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useCalendarSidebar\n\n日历侧栏\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useCalendarAllDay\n\n显示为全天事件\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useCalendarCollapse\n\n收件箱折叠\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useCalendar24Hour\n\n24小时制\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useCalendarSimpleTaskDisplay\n\n简化任务显示\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## calendarTimeGridHeight\n\n时间格高度\n\n- 存储层:vault;访问:write。\n- 默认值:`"default"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["compact", "default", "comfortable"]\n}\n```\n\n## useICSCalendar\n\nICS 日历订阅\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## icsCalendarURL\n\nICS 日历地址\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## customICSConfigs\n\n自定义 ICS 订阅列表,含订阅地址、名称及启用状态;地址可能含访问凭据。\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": {\n "type": "string"\n },\n "name": {\n "type": "string"\n },\n "url": {\n "type": "string"\n }\n },\n "required": ["id", "name", "url"],\n "additionalProperties": false\n }\n}\n```\n\n## hiddenRemoteCalendarUrls\n\n在视图中隐藏的远程日历地址列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "string"\n }\n}\n```\n\n## useCalDavCalendar\n\nCalDAV 日历订阅\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## calDAVServerURL\n\n服务器地址\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## calDAVUsername\n\n用户名\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## calDAVPassword\n\n密码\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## calDAVSelectedCalendar\n\n基础 CalDAV 配置选择的日历\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## calDAVAvailableCalendars\n\n基础 CalDAV 配置的可用日历列表\n\n- 存储层:vault;访问:internal。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": {\n "type": "string"\n },\n "name": {\n "type": "string"\n },\n "url": {\n "type": "string"\n },\n "description": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "isReadOnly": {\n "enum": [false, true]\n }\n },\n "required": ["id", "name", "url"],\n "additionalProperties": false\n }\n}\n```\n\n## customCalDAVConfigs\n\n自定义 CalDAV 账户配置列表,包含服务器、用户名、密码及所选日历。\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": {\n "type": "string"\n },\n "name": {\n "type": "string"\n },\n "serverURL": {\n "type": "string"\n },\n "username": {\n "type": "string"\n },\n "password": {\n "type": "string"\n },\n "selectedCalendar": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "availableCalendars": {\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": {\n "type": "string"\n },\n "name": {\n "type": "string"\n },\n "url": {\n "type": "string"\n },\n "description": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "isReadOnly": {\n "enum": [false, true]\n }\n },\n "required": ["id", "name", "url"],\n "additionalProperties": false\n }\n }\n ]\n },\n "enabled": {\n "enum": [false, true]\n }\n },\n "required": ["id", "name", "serverURL", "username", "password"],\n "additionalProperties": false\n }\n}\n```\n\n## useICloudCalendar\n\niCloud 日历订阅\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## iCloudCalendarPushEnabled\n\n是否启用推送功能,false时仅拉取远程任务\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## iCloudDeleteCompletedTask\n\n是否删除已完成和已取消的任务,true时删除\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## iCloudServerURL\n\niCloud CalDAV 服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"caldav.icloud.com"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## iCloudUsername\n\niCloud 日历账户用户名。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## iCloudPassword\n\niCloud 日历的应用专用密码。\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## iCloudSelectedCalendar\n\n用户选择的同步日历ID\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## iCloudAvailableCalendars\n\n可用的日历列表\n\n- 存储层:vault;访问:internal。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": {\n "type": "string"\n },\n "name": {\n "type": "string"\n },\n "url": {\n "type": "string"\n },\n "description": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "isReadOnly": {\n "enum": [false, true]\n }\n },\n "required": ["id", "name", "url"],\n "additionalProperties": false\n }\n}\n```\n\n## iCloudAllDayReminder\n\n是否为全天事件添加提醒\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## iCloudAllDayReminderDays\n\n提前天数,0表示当天\n\n- 存储层:vault;访问:write。\n- 默认值:`0`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "number"\n}\n```\n\n## iCloudAllDayReminderTime\n\n提醒时间,格式 \'HH:mm\'\n\n- 存储层:vault;访问:write。\n- 默认值:`"09:00"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## iCloudTimedReminder\n\n是否为有时间的任务添加提醒\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## iCloudTimedReminderValue\n\n提醒数值\n\n- 存储层:vault;访问:write。\n- 默认值:`15`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "number"\n}\n```\n\n## iCloudTimedReminderUnit\n\n提醒单位\n\n- 存储层:vault;访问:write。\n- 默认值:`"minutes"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["minutes", "hours", "days", "weeks"]\n}\n```\n\n## useGoogleCalendar\n\n是否启用 Google Calendar\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## googleClientId\n\nGoogle OAuth Client ID(用户自行提供)\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## googleClientSecret\n\nGoogle OAuth Client Secret(用户自行提供)\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## googleCalendarAccessToken\n\nOAuth Access Token\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## googleCalendarRefreshToken\n\nOAuth Refresh Token(用于刷新 Access Token)\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## googleCalendarTokenExpiry\n\nToken 过期时间戳\n\n- 存储层:vault;访问:internal。\n- 默认值:`0`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "number"\n}\n```\n\n## googleCalendarSelectedCalendarId\n\n用户选择的同步日历 ID\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## googleCalendarAvailableCalendars\n\n可用的日历列表\n\n- 存储层:vault;访问:internal。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": {\n "type": "string"\n },\n "name": {\n "type": "string"\n },\n "url": {\n "type": "string"\n },\n "description": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "isReadOnly": {\n "enum": [false, true]\n }\n },\n "required": ["id", "name", "url"],\n "additionalProperties": false\n }\n}\n```\n\n## googleOAuthState\n\nOAuth state 参数(用于 CSRF 防护)\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## googleCalendarPushEnabled\n\n是否启用推送功能,false 时仅拉取远程任务\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## googleCalendarDeleteCompletedTask\n\n是否删除已完成和已取消的任务\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## googleCalendarAllDayReminder\n\n是否为全天事件添加提醒\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## googleCalendarAllDayReminderDays\n\n提前天数,0表示当天\n\n- 存储层:vault;访问:write。\n- 默认值:`0`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "number"\n}\n```\n\n## googleCalendarAllDayReminderTime\n\n提醒时间,格式 \'HH:mm\'\n\n- 存储层:vault;访问:write。\n- 默认值:`"09:00"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## googleCalendarTimedReminder\n\n是否为有时间的任务添加提醒\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## googleCalendarTimedReminderValue\n\n提醒数值\n\n- 存储层:vault;访问:write。\n- 默认值:`15`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "number"\n}\n```\n\n## googleCalendarTimedReminderUnit\n\n提醒单位\n\n- 存储层:vault;访问:write。\n- 默认值:`"minutes"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["minutes", "hours", "days", "weeks"]\n}\n```\n\n## defaultWriteCalendar\n\n任务同步时默认写入的日历:\'none\' | \'icloud\' | \'google\' | \'caldav-{configId}\'\n\n- 存储层:vault;访问:write。\n- 默认值:`"none"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## calendarNewTaskFile\n\n新建任务所在文件\n\n- 存储层:vault;访问:write。\n- 默认值:`"Task.md"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## pomodoroDuration\n\n番茄时长(分钟)\n\n- 存储层:vault;访问:write。\n- 默认值:`25`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "number"\n}\n```\n\n## shortBreakDuration\n\n短休息时长(分钟)\n\n- 存储层:vault;访问:write。\n- 默认值:`5`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "number"\n}\n```\n\n## longBreakDuration\n\n长休息时长(分钟)\n\n- 存储层:vault;访问:write。\n- 默认值:`15`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "number"\n}\n```\n\n## longBreakInterval\n\n长休息间隔番茄数\n\n- 存储层:vault;访问:write。\n- 默认值:`4`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "number"\n}\n```\n\n## autoStartNextPomodoro\n\n自动开始下个番茄\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## autoStartBreak\n\n自动休息\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## pomodoroSound\n\n番茄提示音\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## pomodoroAutoRecord\n\n是否自动记录到 Daily Note\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n',
399
- 'lifeos/references/settings/lifeos-pro-general.md': '<!-- Generated from code; do not edit. -->\n\n# lifeos-pro / general\n\n配置契约:`a8d4bbff2dcf589348ac10baa32789e5aae4f93d2bd8a00e64523cb9d7481ba5`。运行时来源和生效状态请用 `config explain` / `config verify` 查询。\n\n## voiceConversationEnabled\n\nDeepAsk 桌面语音对答实验开关,默认关闭;关闭会停止当前录音、播放和语音问答。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## voiceProvider\n\nDeepAsk 语音识别与朗读供应商;对应 API Key 仅在本设备单独配置,不随库同步。\n\n- 存储层:vault;访问:write。\n- 默认值:`"doubao"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["doubao", "deepgram"]\n}\n```\n\n## doubaoVoiceSpeaker\n\nDeepAsk 豆包语音合成音色 ID;需在用户自己的火山引擎账户中具有使用权限。\n\n- 存储层:vault;访问:write。\n- 默认值:`"zh_female_vv_uranus_bigtts"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## lifeOSRibbonMode\n\nLifeOS 功能入口:九宫格(精简 Ribbon)、竖栏快捷方式或两者都显示;保留现有默认。\n\n- 存储层:vault;访问:write。\n- 默认值:`"all"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["compact", "ribbon", "all"]\n}\n```\n\n## lifeOSSidebarSingleTab\n\n电脑端将九宫格与内容复用在同一个侧栏标签页。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## lifeOSLauncherItems\n\nLifeOS 九宫格常用入口;其他可用入口通过更多功能展开。\n\n- 存储层:vault;访问:write。\n- 默认值:`["home","calendar","quick-capture","filetree","tags","search","periodic","para"]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "string"\n }\n}\n```\n\n## lifeOSLauncherOrder\n\nLifeOS 九宫格入口顺序;未记录的新入口追加在末尾。\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "string"\n }\n}\n```\n\n## lifeOSLauncherHiddenItems\n\nLifeOS 九宫格完全隐藏的入口,不出现在更多功能中。\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "string"\n }\n}\n```\n\n## accountName\n\n产品授权账户邮箱。\n\n- 存储层:vault;访问:internal。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## accountActivationCode\n\n产品激活凭据;由授权流程管理,不通过通用配置接口修改。\n\n- 存储层:vault;访问:internal。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## pluginUpdateChannel\n\nLifeOS Pro 插件更新通道。\n\n- 存储层:vault;访问:write。\n- 默认值:`"stable"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["stable", "beta"]\n}\n```\n\n## usePeriodicAdvanced\n\n启用周期笔记高级路径格式和模板设置。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## projectListHeader\n\n项目列表标题:\n\n- 存储层:vault;访问:write。\n- 默认值:`"Project List"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## areaListHeader\n\n领域列表标题:\n\n- 存储层:vault;访问:write。\n- 默认值:`"First Things Dimension"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## useDailyRecord\n\n日常记录同步\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## usePeriodicNotes\n\n启用周期笔记功能。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useHabitStats\n\n习惯统计\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## showDailyNoteTitle\n\n显示日记文件标题\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## paraIndexFilename\n\nPARA 文件夹的索引笔记命名方式。\n\n- 存储层:vault;访问:write。\n- 默认值:`"readme"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["readme", "folderName"]\n}\n```\n\n## useDailyRecordTimestamp\n\n时间戳前缀:\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useDailyRecordFocus\n\n日常记录光标聚焦:\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useFileTreeReveal\n\n文件位置自动展开:\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useCompactNoteCreate\n\n紧凑模式\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## hideNoteTypeToggle\n\n隐藏笔记类型切换\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## templateSyntaxMigrationNoticeDismissed\n\n是否已关闭旧模板语法迁移提示。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## dismissedRecommendations\n\n用户点击「不再推荐」后隐藏的产品推荐 id 列表\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ]\n}\n```\n\n## deepAskFontSize\n\nDeepAsk 字体大小覆盖,0 表示跟随 Obsidian\n\n- 存储层:vault;访问:write。\n- 默认值:`0`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "number"\n}\n```\n\n## systemPromptContent\n\n系统提示词内容\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## useFilePropertiesTagMatching\n\n是否包含文件properties中包含指定tags的bullets和tasks\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## fourQuadrantFilters\n\n四象限视图的筛选配置\n\n- 存储层:vault;访问:write。\n- 默认值:`undefined`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "overdueDays": {\n "anyOf": [\n {\n "type": "number"\n }\n ]\n },\n "futureStartDays": {\n "anyOf": [\n {\n "type": "number"\n }\n ]\n },\n "futureDays": {\n "anyOf": [\n {\n "type": "number"\n }\n ]\n },\n "includeNoDate": {\n "enum": [false, true]\n },\n "includeAllOverdue": {\n "enum": [false, true]\n },\n "includeAllFuture": {\n "enum": [false, true]\n },\n "priorities": {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n "taskSources": {\n "anyOf": [\n {\n "type": "array",\n "items": {\n "enum": ["local", "icloud", "ics", "caldav", "google"]\n }\n }\n ]\n }\n },\n "required": ["priorities"],\n "additionalProperties": false\n }\n }\n ]\n}\n```\n\n## fourQuadrantRules\n\n四象限版本化归类规则\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "object",\n "properties": {\n "version": {\n "enum": [2]\n },\n "mode": {\n "enum": ["time-priority", "priority-only"]\n },\n "urgentFutureDays": {\n "type": "number"\n },\n "importantPriorities": {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n "priorityQuadrants": {\n "type": "array",\n "prefixItems": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ],\n "minItems": 4,\n "maxItems": 4\n },\n "preserveLegacyFilters": {\n "enum": [false, true]\n }\n },\n "required": [\n "version",\n "mode",\n "urgentFutureDays",\n "importantPriorities",\n "priorityQuadrants",\n "preserveLegacyFilters"\n ],\n "additionalProperties": false\n }\n ]\n}\n```\n\n## quadrantDropConfigs\n\n四象限拖拽配置(优先级+日期)\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "priorityEmoji": {\n "type": "string"\n },\n "daysOffset": {\n "anyOf": [\n {\n "type": "number"\n }\n ]\n },\n "clearDate": {\n "enum": [false, true]\n }\n },\n "required": ["priorityEmoji"],\n "additionalProperties": false\n }\n }\n ]\n}\n```\n\n## tableCellMaxLines\n\n表格单元格最大显示行数,0表示不限制\n\n- 存储层:vault;访问:write。\n- 默认值:`0`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "number"\n}\n```\n\n## autoFocusCount\n\n自动番茄专注次数,0 表示无限\n\n- 存储层:vault;访问:write。\n- 默认值:`0`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "number"\n}\n```\n\n## continueAfterComplete\n\n倒计时结束后继续计时,直到手动停止\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useTagColor\n\n是否启用标签颜色区分\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## tagColors\n\n自定义标签颜色映射 { "#tag": "#color" }\n\n- 存储层:vault;访问:write。\n- 默认值:`{}`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "object",\n "properties": {},\n "required": [],\n "additionalProperties": {\n "type": "string"\n }\n}\n```\n\n## useHTTPServer\n\n是否启用 HTTP Server(MCP 协议)\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## httpServerPort\n\nHTTP Server 端口号(默认 1479)\n\n- 存储层:vault;访问:write。\n- 默认值:`1478`。\n- 生效:更新本机 HTTP/MCP 服务并等待重启完成。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "number",\n "minimum": 1024,\n "maximum": 65535\n}\n```\n\n## enableDebugLog\n\n是否启用调试日志(写入 .lifeos-debug.log 文件)\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## locale\n\n用户选择的语言,空字符串表示跟随 Obsidian 设置\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n',
400
- 'lifeos/references/settings/lifeos-pro-organization.md': '<!-- Generated from code; do not edit. -->\n\n# lifeos-pro / organization\n\n配置契约:`a8d4bbff2dcf589348ac10baa32789e5aae4f93d2bd8a00e64523cb9d7481ba5`。运行时来源和生效状态请用 `config explain` / `config verify` 查询。\n\n## inputsPath\n\n输入笔记目录,相对于当前知识库;修改不会搬迁已有文件。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## outputsPath\n\n输出笔记目录,相对于当前知识库;修改不会搬迁已有文件。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## themesPath\n\n主题笔记目录,相对于当前知识库;修改不会搬迁已有文件。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## themesTemplateFilePath\n\n创建主题笔记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## capturesPath\n\n捕获笔记目录,相对于当前知识库;修改不会搬迁已有文件。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## capturesTemplateFilePath\n\n创建捕获笔记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## expressesPath\n\n表达笔记目录,相对于当前知识库;修改不会搬迁已有文件。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## expressesTemplateFilePath\n\n创建表达笔记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## projectsPath\n\n项目笔记目录,相对于当前知识库;修改不会搬迁已有文件。\n\n- 存储层:vault;访问:write。\n- 默认值:`"1. Projects"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## projectsTemplateFilePath\n\n创建项目笔记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## areasPath\n\n领域笔记目录,相对于当前知识库;修改不会搬迁已有文件。\n\n- 存储层:vault;访问:write。\n- 默认值:`"2. Areas"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## areasTemplateFilePath\n\n创建领域笔记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## resourcesPath\n\n资源笔记目录,相对于当前知识库;修改不会搬迁已有文件。\n\n- 存储层:vault;访问:write。\n- 默认值:`"3. Resources"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## resourcesTemplateFilePath\n\n创建资源笔记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## archivesPath\n\n归档笔记目录,相对于当前知识库;修改不会搬迁已有文件。\n\n- 存储层:vault;访问:write。\n- 默认值:`"4. Archives"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## archivesTemplateFilePath\n\n创建归档笔记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## useThemeNotes\n\n启用主题笔记组织模式。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## usePARANotes\n\n启用 Projects、Areas、Resources、Archives 组织模式。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## usePARAAdvanced\n\n启用 PARA 高级配置。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useThemeAdvanced\n\n启用主题笔记高级配置。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## themeIndexFilename\n\n主题文件夹的索引笔记命名方式。\n\n- 存储层:vault;访问:write。\n- 默认值:`"readme"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["readme", "folderName"]\n}\n```\n\n## useThemeNoteReveal\n\n跳转索引\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useThemeSearch\n\n主题搜索\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## aiThemeFileSearchType\n\nAI 检索主题相关文件时的搜索范围模式。\n\n- 存储层:vault;访问:write。\n- 默认值:`"entire_folder"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## aiRecursiveSubThemeSearch\n\nAI 检索是否递归包含子主题。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useThemeFolderSync\n\n是否启用主题文件与文件夹名称同步\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n',
401
- 'lifeos/references/settings/lifeos-pro-periodic.md': '<!-- Generated from code; do not edit. -->\n\n# lifeos-pro / periodic\n\n配置契约:`a8d4bbff2dcf589348ac10baa32789e5aae4f93d2bd8a00e64523cb9d7481ba5`。运行时来源和生效状态请用 `config explain` / `config verify` 查询。\n\n## periodicNotesPath\n\n周期笔记的根目录,相对于当前知识库;修改只改变后续路径解析,不搬迁已有笔记。\n\n- 存储层:vault;访问:write。\n- 默认值:`"PeriodicNotes"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## habitHeader\n\n习惯打卡标题:\n\n- 存储层:vault;访问:write。\n- 默认值:`"Habit"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## dailyRecordHeader\n\n日常记录标题:\n\n- 存储层:vault;访问:write。\n- 默认值:`"Daily Record"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## dailyRecordAPI\n\n每日记录服务的 API 地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## dailyRecordToken\n\n每日记录服务访问凭据。\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## dailyRecordWarning\n\n每日记录流程的警告状态,由运行时维护。\n\n- 存储层:vault;访问:internal。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## dailyRecordCreating\n\n每日记录创建中状态,由运行时维护。\n\n- 存储层:vault;访问:internal。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## dailyRecordTag\n\n记录标签:\n\n- 存储层:vault;访问:write。\n- 默认值:`"daily-record"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## weekStart\n\n每周第一天:-1 跟随语言习惯,0 为周日,1 为周一,依次至 6 为周六。\n\n- 存储层:vault;访问:write。\n- 默认值:`-1`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "number",\n "minimum": -1,\n "maximum": 6\n}\n```\n\n## useChineseCalendar\n\n中国农历:\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## showWeekNumbersInDayView\n\n在日历日视图左侧显示周数列。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## periodicNotesTemplateFilePathYearly\n\n创建年记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## periodicNotesTemplateFilePathQuarterly\n\n创建季记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## periodicNotesTemplateFilePathMonthly\n\n创建月记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## periodicNotesTemplateFilePathWeekly\n\n创建周记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## periodicNotesTemplateFilePathDaily\n\n创建日记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## periodicNotesPathFormatYearly\n\n年记的日期路径格式;空值使用宿主默认格式。修改不重命名已有笔记。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## periodicNotesPathFormatQuarterly\n\n季记的日期路径格式;空值使用宿主默认格式。修改不重命名已有笔记。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## periodicNotesPathFormatMonthly\n\n月记的日期路径格式;空值使用宿主默认格式。修改不重命名已有笔记。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## periodicNotesPathFormatWeekly\n\n周记的日期路径格式;空值使用宿主默认格式。修改不重命名已有笔记。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## periodicNotesPathFormatDaily\n\n日记的日期路径格式;空值使用宿主默认格式。修改不重命名已有笔记。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n',
402
- 'lifeos/references/settings/lifeos-pro-tasks.md': '<!-- Generated from code; do not edit. -->\n\n# lifeos-pro / tasks\n\n配置契约:`a8d4bbff2dcf589348ac10baa32789e5aae4f93d2bd8a00e64523cb9d7481ba5`。运行时来源和生效状态请用 `config explain` / `config verify` 查询。\n\n## useLocalRecurringTask\n\n本地循环任务\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## taskStatuses\n\n任务状态\n\n- 存储层:vault;访问:write。\n- 默认值:`[{"marker":" ","name":"Todo","type":"TODO","next":"x"},{"marker":"x","name":"Done","type":"DONE","next":" "}]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "marker": {\n "type": "string"\n },\n "name": {\n "type": "string"\n },\n "type": {\n "enum": ["TODO", "IN_PROGRESS", "DONE", "CANCELLED"]\n },\n "next": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "color": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "icon": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n }\n },\n "required": ["marker", "name", "type"],\n "additionalProperties": false\n }\n }\n ]\n}\n```\n\n## hideRemoteTasksInUnfinished\n\n隐藏远程任务\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## taskDelayDays\n\n任务推迟操作默认延后的天数。\n\n- 存储层:vault;访问:write。\n- 默认值:`7`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "number",\n "minimum": 0,\n "maximum": 3650\n}\n```\n\n## taskFilterRules\n\n任务筛选规则;用于控制查询和视图中纳入的任务。\n\n- 存储层:vault;访问:write。\n- 默认值:`{"headers":[],"paths":[],"tags":[],"contents":[],"mode":"exclude"}`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "object",\n "properties": {\n "headers": {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n "paths": {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n "tags": {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n "contents": {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n "mode": {\n "enum": ["include", "exclude"]\n }\n },\n "required": ["headers", "paths", "tags", "contents", "mode"],\n "additionalProperties": false\n}\n```\n\n## taskFilterDateRange\n\n任务筛选的日期范围。\n\n- 存储层:vault;访问:write。\n- 默认值:`{}`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "object",\n "properties": {\n "from": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "to": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n }\n },\n "required": [],\n "additionalProperties": false\n}\n```\n\n## useTaskDefaults\n\n启用任务默认值\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## taskDefaultTags\n\n默认标签\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "string"\n }\n}\n```\n\n## taskDefaultPriority\n\n默认优先级\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## taskDefaultDueDate\n\n可以是 \'none\', \'today\', \'tomorrow\', \'day-after-tomorrow\', \'next-week\' 等\n\n- 存储层:vault;访问:write。\n- 默认值:`"none"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## taskDefaultStartDate\n\n可以是 \'none\', \'today\', \'tomorrow\', \'day-after-tomorrow\', \'next-week\' 等\n\n- 存储层:vault;访问:write。\n- 默认值:`"none"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## taskDefaultStartTime\n\n格式 \'HH:mm\' 或空字符串\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## taskDefaultDuration\n\n小时数\n\n- 存储层:vault;访问:write。\n- 默认值:`0.5`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "number"\n}\n```\n\n## taskFileTemplateFilePath\n\n任务关联文件模板路径\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n',
403
- 'lifeos/references/web-workbench.md': '# 在 AI 客户端中打开项目工作台\n\n用户希望查看或编辑当前本机项目,或通过对话展示某个日历视图时,使用同一套 Aino Desktop Web 工作台。无需 MCP Apps;不要生成不存在的 MCP 配置或另一套 HTML 界面。\n\n## 先确认运行环境与项目\n\n- 必须有用户电脑上的命令执行能力。核对客户端提供的项目绝对路径及终端工作目录;多项目时使用用户本次指定的项目。始终显式传 `vault="绝对路径"`,避免环境变量或父级库标记把请求导向其他库。\n- 云端聊天项目、仓库 URL、云端沙箱目录不是用户电脑目录。没有本地工具时,给出本机启动命令,不能声称已经启动;客户端是否能打开本地地址也需实际验证。\n- `web` 需要 Node.js 24+ 和包含 Web 资源的 CLI。此能力目前属于开发候选,不能假设公开 npm 版本已包含它。优先使用用户已安装或指定的候选 CLI,先读其 `help`,确认存在 `web`;缺少运行时按真实报错处理,不循环重装同一个旧 npm 版本。\n- 保持同一个 CLI 来源执行后续操作,包括 Skill 安装;不要启动候选后又用旧版 `npx ...@latest` 覆盖候选 Skill。\n\n## 启动与打开\n\n默认流程是:**启动或复用当前库的服务 → 返回可点击的「打开 Aino Web」链接 → 用户点击**。服务实际监听且库身份确认后,在回复中用 `[打开 Aino Web](服务实际输出的 URL)`,简短说明“服务已就绪,点击打开”;保留用户请求的视图、筛选和分组。启动时保持 `open=none`(默认值)。链接点击后的打开位置由宿主决定,不能假定所有客户端都内嵌。已有正确库的服务直接返回链接,不重复启动。\n\n宿主已提供网页打开工具时,可额外自动展开真实 HTTP 页面;这不是必经步骤,缺少工具或调用失败仍返回可点击链接,不反复搜索、要求用户修改全局权限或生成替代 HTML 预览。`open=browser` 会唤起系统默认浏览器,仅在用户明确要求时使用。\n\n统一入口名称为 **打开 Aino Web**。用户使用这个名称时,直接执行下方流程;客户端支持快捷指令时,快捷指令内容使用下方提示词,仍由同一个 LifeOS Skill 处理,不复制一套客户端专属启动逻辑。\n\n`aino web`、`lifeos web` 都触发此入口。在 Aino Desktop 外的桌面 AI 客户端中,用户仅说 `LifeOS` 也默认启动或复用当前库并附上链接,无需先追问是否要打开;仅说产品名时使用 `view=home`。同时有任务、编辑或视图请求时按实际意图选择视图。宿主判断使用明确的客户端上下文或原生工具元信息,不通过 `ps` 判断电脑是否安装或运行了 Desktop。缺少本机执行能力、库路径或用户明确不要启动时,按实际限制处理;不把未知目录自动初始化成知识库。\n\n固定网页入口只负责打开已有服务,不能在服务停止时自行执行本机命令。添加收藏或网站小程序前先验证目标服务属于正确项目;不要把某个测试库的临时地址配置成所有项目通用入口。需要启动或切换项目时使用 Skill 入口;没有本地执行能力时明确说明这一限制。\n\n打开后优先读取客户端当前网页工具提供的页面状态或截图。不要为核对库名额外启动无头浏览器、安装 Playwright 或生成渲染脚本;另一个浏览器的结果不能证明客户端内已打开。无法读取客户端页面时,区分“服务库身份已核对”“已请求客户端打开”和“页面显示已确认”,只报告实际取得的证据。\n\n客户端项目路径的传递链路是:客户端提供本机项目目录 → Skill 核对绝对路径 → CLI 的 `vault=` → Node 绑定该库 → Web 从服务端 bootstrap 读取库路径。不要从网页 URL、聊天标题或客户端项目名称推断磁盘目录。切换客户端项目后应重新执行这条链路;已经打开的页面不会自动切到新项目。\n\n用户可以直接对客户端说:\n\n> 使用 LifeOS Skill 打开当前项目的 Aino Web 工作台。核对本机项目目录,用包含 Web 能力的 CLI 启动或复用这个库的服务,返回可点击的「打开 Aino Web」链接。如果无法启动,请说明原因。\n\n如果客户端只提供云端项目,需用户指定本机目录并在本机启动服务;云端项目地址不能直接转换成磁盘路径。客户端切换项目的自动事件同步需要对应宿主提供接口,当前不宣称已支持。\n\n以下 `lifeos` 表示已核验的 CLI 入口;若候选使用 `node /path/to/lifeos.mjs`,替换命令前缀即可。\n\n```bash\nlifeos web vault="/absolute/path/to/project" port=4318 view=calendar subview=month\n```\n\n命令会持续运行并输出本地 URL。普通产品启动不依赖 `ps` 或本仓库的 `dev-gate`;不要把开发机资源管理工具当作用户安装前提。通过客户端已有的后台任务/持续终端能力保留进程,遵守所在环境的服务资源规则;不要等它自然退出才打开页面。Ctrl+C 停止服务。不要擅自创建开机启动项。\n\n本机开发与验证仍须遵守当前环境的资源闸门规则;这与产品接入要求分开。如果所在环境要求通过资源闸门启动,闸门失败就是本次启动失败。客户端提供正式的单次授权入口时可按其流程申请;仍被禁止时停止,报告具体限制。不要跳过闸门、关闭进程检查、修改锁目录,或改用未受管理的后台进程冒充成功。没有实际监听的服务不能继续宣称已打开工作台。\n\n检查回环地址时,请求须直接到本机,例如 `curl --noproxy \'*\' http://127.0.0.1:<port>/health`;不要把代理返回的错误当作本地服务响应,也不要修改系统代理配置。服务身份优先从已核对的启动命令或客户端当前页面确认。不要为打开页面提取 Cookie、会话令牌或写临时凭据文件;网页由本地服务完成自身会话初始化。\n\n仅复用已有启动记录或当前页面已确认属于当前项目的服务;无需为了返回链接枚举系统进程。`/health` 只证明服务存活,不能证明库身份。已有服务库身份不明时选择另一个空闲端口,不停止其他任务、不直接复用端口上的未知服务。当前 CLI 不提供自动跨进程发现/复用功能。\n\n使用服务实际输出的 URL,不把磁盘路径拼成 `?vault=`。URL 中没有切库授权;不同库由 Node 创建各自的服务实例。标题栏的当前库名称菜单或左侧栏库名按钮可通过本机目录选择器切库;其他打开页面仍连接原库。macOS 目录选择已实现,其他平台暂用显式 CLI 路径启动。\n\n点击库名后,选择器出现在运行 Node 服务的电脑上,不一定嵌在客户端网页中。按钮等待期间显示沙漏;取消选择会恢复按钮并保留当前库。远程或无桌面环境使用显式 `vault=` 启动对应库,不能把网页无响应当作已经切换成功。\n\n- WorkBuddy:默认返回可点击链接。若当前工具列表提供内置 `present_files`,可额外传 `{"files":["服务实际返回的 HTTP URL"],"cwd":"当前库绝对路径","explanation":"打开 Aino Web 工作台"}` 请求自动展开;按实时 schema 调用。HTTP URL 对应内置 Browser,本地 HTML 文件对应文件预览。缺少工具不阻塞链接交付。入口依据:[官方更新日志](https://www.codebuddy.cn/docs/workbuddy/Changelog);HTTP URL 与 cwd 参数已核对 WorkBuddy 5.9.3 的内置工具定义,页面呈现仍需实测。\n- 豆包工作:默认返回可点击链接;宿主提供网页工具时可额外展开。核验实际页面位置和对应库,不把输出链接算作已内嵌。\n- Cherry Studio:默认返回可点击链接。需要额外自动展开时,先读取内置 `cherry-browser` Skill 的实时 API 文档,再在当前会话右侧浏览器导航实际本地 URL。`client=cherry` 默认使用完整浏览器高度,不预留底部输入框空间;不要传旧的 `bottom-inset=144`。当前普通助手没有本地 Shell/Skills 时,明确缺少启动能力;可打开已经核对正确库的现有服务,不能把“打开 aino web”解释为访问 `aino.ai` 等猜测的公网地址。不要重置浏览器绕过工具错误。\n- ChatGPT/Codex:默认返回可点击链接;若当前会话已注册本地 `aino_web_open` 工具,可额外调用它主动打开配置库的面板;参数可指定视图、子视图、筛选及分组。它与普通 Web 启动复用同一个 Node 实现,不是另一套编辑器。工具只请求打开,仍须核对实际呈现。没有工具时不编造调用;有本机执行能力时使用普通 Web 流程,否则给出本机启动命令。普通云端聊天不能自动访问用户电脑的回环地址;具体配置见候选 CLI 的 `presentation=panel` 接入说明。\n- Codex/Claude Code 终端或不支持内嵌的客户端:同样返回链接;用户要求自动打开时才调用系统浏览器,并说明实际位置。\n\n首次打开默认收起左右侧栏,之后保留用户操作。主题/语言默认跟随可获取的系统或浏览器偏好;宿主未向网页提供的设置不能假称已同步。\n\n## 把对话意图映射到原视图\n\n主视图:`view=editor|home|calendar|random-walk`。\n\n日历子视图:`view=calendar subview=day|week|month|tasks|timeline|kanban|agenda|quadrants`。\n\n```bash\nlifeos web vault="/absolute/path/to/project" view=calendar subview=kanban group-by=priority query="tag:#工作"\n```\n\n- `query=` 复用原日历搜索语法,叠加已有筛选,可在原界面清除;不意味着替换用户所有已有筛选。\n- `group-by=dueDate|priority|status|tag` 只支持 `view=calendar subview=kanban`。\n- 子视图、查询、分组作为这次打开的临时意图;用户主动切换仍按原规则保存偏好。\n- 不支持独立日期范围、精确笔记深链或任意集合参数时,不编造选项。使用现有界面完成,并说明实际选择。\n\n启动本地工作台不需要修改、移动或迁移用户笔记。复用原编辑器与侧栏,不因 Web 页面可打开就声称所有 AI、邮件、日历连接器或三客户端验收已完成。\n\n## 对话后的精确结果页与文件保存\n\n- 日期跳转:`lifeos web vault="/absolute/path/to/project" view=calendar subview=month date=2026-11-08`。日期采用本地 `YYYY-MM-DD`,拒绝不存在的日期。\n- 文件跳转:`lifeos web vault="/absolute/path/to/project" view=editor file="Reports/本周复盘.md"`。`file` 必须是库内相对路径,不接受绝对路径或 `..`。\n- 已有正确库的服务时直接复用其地址,附加 `?view=editor&file=<编码后的相对路径>`;不重复启动进程。日历保留 `subview`、`date`、`query`、`group-by`。编码每个参数,不把 `#` 或 `&` 当作 URL 分隔符。\n- AI 按钮复制的是同一业务请求和明确材料,不代表自动读取了全部原文。没有本机工具时只基于已附数据回答,并说明无法读取的部分。\n- 需要落盘时先展示预览并征得同意;用同一候选 CLI 的 `read` 核对目标,再 `create` 新笔记或 `append` 补充已有笔记,显式传 `vault=` 与 `path=`。用参数数组传正文,不直接拼接 shell;不要自动覆盖已有文件。\n- 只在写入命令成功后返回准确、可点击的结果链接;宿主支持时可额外自动展开。Web 通过原 Node 文件事件刷新索引和编辑器,未保存编辑沿用原冲突保护;不宣称报告自动回填到 AI 复盘面板。\n\n## 在 Aino Web 或 Desktop 中继续 AI 对话\n\n新启动的工作台默认支持本机 Codex CLI,AI 模块仅在用户打开对话时按需启动;`ai=none` 显式关闭,保留查看、编辑和复制给宿主 AI。需要本机已安装、已登录 Codex,不会使用宿主当前对话或其模型额度。\n\nAI 按钮主区域直接执行当前去向,小箭头才打开菜单;菜单顺序固定为“在 Aino Web 中继续”“在 Aino Desktop 中继续”“复制给宿主 AI”。Web 去向展开复用的 Aino 右侧对话栏,带入草稿与上下文,由用户检查后发送;Desktop 去向请求本机桌面端接收。复制成功要提示用户手动粘贴并发送,不宣称已填入宿主输入框。默认侧栏仍隐藏,首次使用按提示安装库内 LifeOS Skills。关闭或刷新页面会中断当前页面拥有的 CLI 连接,不能承诺任务继续在后台执行。\n\n右侧 AI 对话栏也提供“在 Aino Desktop 中继续”。它交接可见的文字对话、草稿和文件上下文,不继承宿主会话、模型账户或工具执行状态。桌面端必须包含交接协议的新版候选;已安装旧版不保证可用。出现“已请求打开”只表示发起请求,必须核对 Desktop 是否实际收到,不能当作交接成功。不要为了验证而改系统默认协议注册或替用户自动发送。\n\n已运行的旧服务不自动升级能力。先保存编辑内容,使用同一候选 CLI 重新启动服务后再刷新页面;不把 URL 参数当作服务端授权开关。Web 跟随 LifeOS CLI 授权,不引入 Desktop 激活页面。\n\n## 服务何时停止\n\n当前知识库名称始终显示在工作台标题栏,点击可切换知识库或“停止工作台”。停止前先保存笔记;其他页面仍连接或任务仍在运行时会拒绝停止。所有页面断开后保留 10 分钟;期间重新打开或刷新可继续使用。到期仍有任务时等待任务结束再退出。未曾打开的服务也会在空闲 10 分钟后退出。停止后需要再次通过 LifeOS Skill 启动,旧链接不会自动启动服务。复用地址前须确认服务仍可用且绑定的是当前库,不能把其他库的旧链接当作当前库。\n',
404
- 'lifeos/references/write-safety.md': '# Note and task write checks\n\n## Pass content literally\n\nThe CLI decodes `\\n`, `\\t`, `\\r` and `\\\\` in `content=` after the shell\nhas parsed arguments. Prefer `--literal-content` on a CLI version that supports\nit, so content is passed unchanged. On older versions, preserve literal\nbackslashes by doubling them before passing content; actual newline characters can remain actual newlines. Use an\nargument array with `shell=false`, or proper shell quoting. JSON stringification\nis not shell escaping. Backticks and `$()` inside double quotes can execute.\nFor large HTML/Markdown, a vault-scoped exact file edit is acceptable when the\nhost supports it; do not invent a CLI `content-file` or stdin option.\n\n## Revalidate before mutating\n\n- Read the exact target and merge only requested changes. Before a whole-file\n replacement, reread it; if changed since the initial read, merge against the\n latest content. A CLI `overwrite` is not a compare-and-swap operation and does\n not protect against another app/session editing concurrently.\n- Task `file:line` references are positions, not IDs. Reread the current task\n text/state, refresh its line after preceding edits, and verify the intended\n checkbox afterward. On supported CLI versions, pass `expected=<exact-current-line>`\n so the service rejects a stale reference before writing. Preserve custom statuses, dates, block IDs and other\n metadata unless their change was requested. Skip an already satisfied state.\n- If a write times out or its receipt is lost, inspect the destination before\n retrying. Appends are not idempotent. Resume missing work; do not duplicate a\n capture, task, wiki link or changelog entry.\n\n## Verify the saved result\n\nRead back the destination. Check requested content, literal text, valid\nfrontmatter, intended section ownership and preservation of unrelated content.\nRepeated headings require identifying the exact section, not blindly using a\nname that can match more than once. Check the actual saved path and filename.\nFor template-created notes also compare the selected template and `templatePath`\nreceipt; preserve intentional query syntax and custom properties.\n\nA write receipt proves a mutation, not rendered UI, query completeness, external\nexecution or dated task completion. Report those separately. For multi-file\nworkflows, verify each affected file and keep partial progress explicit.\n',
407
+ 'lifeos/references/settings/lifeos-pro-ai.md': '<!-- Generated from code; do not edit. -->\n\n# lifeos-pro / ai\n\n配置契约:`2ddc5665f8308454bee4b2eaafeaed6cd3e12198e223efdccaa4f433c12094c5`。运行时来源和生效状态请用 `config explain` / `config verify` 查询。\n\n## aiApiKey\n\nAPI Key\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## aiBaseURL\n\nAPI Base URL\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## aiModel\n\nAI 模型\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## aiMaxConversationTurns\n\n最大对话轮数\n\n- 存储层:vault;访问:write。\n- 默认值:`10`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "number"\n}\n```\n\n## aiTemperature\n\n温度\n\n- 存储层:vault;访问:write。\n- 默认值:`0.7`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "number"\n}\n```\n\n## aiEnableSkills\n\n兼容旧设置:内置 agent skills 对普通 AI 模型始终启用\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## aiEnableMcpTools\n\n兼容旧设置:内置 MCP 工具对普通 AI 模型始终启用\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## aiEnableExternalSkills\n\n普通 AI 模型是否可读取 / 调用外部 agent skills\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## aiEnableExternalMcpTools\n\n普通 AI 模型是否可连接外部 MCP server(桌面端)\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## aiEnableObsidianInterfaceTools\n\nObsidian 桌面实验性界面工具;默认关闭且每次操作仍需确认\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## aiAllowWriteTools\n\n是否允许普通 AI 模型调用写入 / 更新类工具\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## aiAllowDeleteTools\n\n是否允许普通 AI 模型调用删除类工具\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## aiMaxToolIterations\n\n单次 AI 请求允许的最大工具调用迭代次数。\n\n- 存储层:vault;访问:write。\n- 默认值:`8`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "number",\n "minimum": 1,\n "maximum": 100\n}\n```\n\n## aiFilterPaths\n\nAI 知识检索的路径筛选配置。\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "string"\n }\n}\n```\n\n## aiAdvancedForLifeOS\n\n启用 LifeOS AI 高级检索配置。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## aiUseCurrentFileOnly\n\n仅使用当前正在查看的文件\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useGPT\n\n是否启用 GPT AI 服务。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## gptBaseURL\n\nOpenAI服务基础地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"https://api.openai.com/v1/"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## gptApiKey\n\nOpenAI访问密钥。\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## gptModel\n\nOpenAI可选模型列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "string"\n }\n}\n```\n\n## useDeepSeek\n\n是否启用 DeepSeek AI 服务。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## deepseekBaseURL\n\nDeepSeek服务基础地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"https://api.deepseek.com/v1"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## deepseekAnthropicBaseURL\n\nDeepSeekAnthropic 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## deepseekOpenaiBaseURL\n\nDeepSeekOpenAI 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## deepseekApiKey\n\nDeepSeek访问密钥。\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## deepseekModel\n\nDeepSeek可选模型列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "string"\n }\n}\n```\n\n## useGemini\n\n是否启用 Gemini AI 服务。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## geminiBaseURL\n\nGemini服务基础地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"https://generativelanguage.googleapis.com/v1beta/openai/"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## geminiApiKey\n\nGemini访问密钥。\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## geminiModel\n\nGemini可选模型列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "string"\n }\n}\n```\n\n## useQwen\n\n是否启用 Qwen AI 服务。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## qwenBaseURL\n\nQwen服务基础地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"https://dashscope.aliyuncs.com/compatible-mode/v1"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## qwenAnthropicBaseURL\n\nQwenAnthropic 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## qwenOpenaiBaseURL\n\nQwenOpenAI 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## qwenApiKey\n\nQwen访问密钥。\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## qwenModel\n\nQwen可选模型列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "string"\n }\n}\n```\n\n## useMinimax\n\n是否启用 Minimax AI 服务。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## minimaxBaseURL\n\nMiniMax服务基础地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"https://api.minimaxi.com/v1"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## minimaxAnthropicBaseURL\n\nMiniMaxAnthropic 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## minimaxOpenaiBaseURL\n\nMiniMaxOpenAI 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## minimaxApiKey\n\nMiniMax访问密钥。\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## minimaxModel\n\nMiniMax可选模型列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "string"\n }\n}\n```\n\n## useZhipu\n\n是否启用 Zhipu AI 服务。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## zhipuBaseURL\n\n智谱服务基础地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"https://open.bigmodel.cn/api/paas/v4"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## zhipuAnthropicBaseURL\n\n智谱Anthropic 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## zhipuOpenaiBaseURL\n\n智谱OpenAI 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## zhipuApiKey\n\n智谱访问密钥。\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## zhipuModel\n\n智谱可选模型列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "string"\n }\n}\n```\n\n## useOllama\n\n是否启用 Ollama AI 服务。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## ollamaBaseURL\n\nOllama服务基础地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"http://localhost:11434/v1"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## ollamaApiKey\n\nOllama访问密钥。\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## ollamaModel\n\nOllama可选模型列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "string"\n }\n}\n```\n\n## useKimi\n\n是否启用 Kimi AI 服务。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## kimiBaseURL\n\nKimi服务基础地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"https://api.moonshot.cn/v1"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## kimiAnthropicBaseURL\n\nKimiAnthropic 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## kimiOpenaiBaseURL\n\nKimiOpenAI 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## kimiApiKey\n\nKimi访问密钥。\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## kimiModel\n\nKimi可选模型列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "string"\n }\n}\n```\n\n## useClaude\n\n是否启用 Claude AI 服务。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## claudeBaseURL\n\nClaude服务基础地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"https://api.anthropic.com/v1"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## claudeAnthropicBaseURL\n\nClaudeAnthropic 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## claudeOpenaiBaseURL\n\nClaudeOpenAI 兼容协议服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## claudeApiKey\n\nClaude访问密钥。\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## claudeModel\n\nClaude可选模型列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "string"\n }\n}\n```\n\n## useClaudeCode\n\n启用本机 Claude Code 作为 AI 运行方式。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## claudeCodeBinaryPath\n\n本机 Claude Code 可执行文件路径。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## useCodex\n\n启用本机 Codex 作为 AI 运行方式。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## codexBinaryPath\n\n本机 Codex 可执行文件路径。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## customAIModels\n\n自定义 AI 模型配置列表,包含服务端点、模型和访问凭据。\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": {\n "type": "string"\n },\n "name": {\n "type": "string"\n },\n "apiKey": {\n "type": "string"\n },\n "baseURL": {\n "type": "string"\n },\n "model": {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n "sdkType": {\n "enum": ["anthropic", "openai"]\n }\n },\n "required": ["id", "name", "apiKey", "baseURL", "model"],\n "additionalProperties": false\n }\n}\n```\n\n## chatExportFolder\n\n聊天导出文件夹路径\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## promptsPath\n\nPrompt 文件夹路径\n\n- 存储层:vault;访问:write。\n- 默认值:`"Prompts"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## useCustomSystemPrompt\n\n是否使用自定义系统提示词\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## aiPreserveSelectedText\n\n是否保留选中的文件和标签文本格式\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## aiPreserveThoughts\n\n是否保留 AI 的思考过程\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n',
408
+ 'lifeos/references/settings/lifeos-pro-appearance.md': '<!-- Generated from code; do not edit. -->\n\n# lifeos-pro / appearance\n\n配置契约:`2ddc5665f8308454bee4b2eaafeaed6cd3e12198e223efdccaa4f433c12094c5`。运行时来源和生效状态请用 `config explain` / `config verify` 查询。\n\n## themeListHeader\n\n主题列表标题:\n\n- 存储层:vault;访问:write。\n- 默认值:`"Theme List"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n',
409
+ 'lifeos/references/settings/lifeos-pro-calendar.md': '<!-- Generated from code; do not edit. -->\n\n# lifeos-pro / calendar\n\n配置契约:`2ddc5665f8308454bee4b2eaafeaed6cd3e12198e223efdccaa4f433c12094c5`。运行时来源和生效状态请用 `config explain` / `config verify` 查询。\n\n## useCalendar\n\n显示 LifeOS 日历视图;本地任务数据服务仍可独立运行。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useCalendarSidebar\n\n日历侧栏\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useCalendarAllDay\n\n显示为全天事件\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useCalendarCollapse\n\n收件箱折叠\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useCalendar24Hour\n\n24小时制\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useCalendarSimpleTaskDisplay\n\n简化任务显示\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## calendarTimeGridHeight\n\n时间格高度\n\n- 存储层:vault;访问:write。\n- 默认值:`"default"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["compact", "default", "comfortable"]\n}\n```\n\n## useICSCalendar\n\nICS 日历订阅\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## icsCalendarURL\n\nICS 日历地址\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## customICSConfigs\n\n自定义 ICS 订阅列表,含订阅地址、名称及启用状态;地址可能含访问凭据。\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": {\n "type": "string"\n },\n "name": {\n "type": "string"\n },\n "url": {\n "type": "string"\n }\n },\n "required": ["id", "name", "url"],\n "additionalProperties": false\n }\n}\n```\n\n## hiddenRemoteCalendarUrls\n\n在视图中隐藏的远程日历地址列表。\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "string"\n }\n}\n```\n\n## useCalDavCalendar\n\nCalDAV 日历订阅\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## calDAVServerURL\n\n服务器地址\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## calDAVUsername\n\n用户名\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## calDAVPassword\n\n密码\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## calDAVSelectedCalendar\n\n基础 CalDAV 配置选择的日历\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## calDAVAvailableCalendars\n\n基础 CalDAV 配置的可用日历列表\n\n- 存储层:vault;访问:internal。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": {\n "type": "string"\n },\n "name": {\n "type": "string"\n },\n "url": {\n "type": "string"\n },\n "description": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "isReadOnly": {\n "enum": [false, true]\n }\n },\n "required": ["id", "name", "url"],\n "additionalProperties": false\n }\n}\n```\n\n## customCalDAVConfigs\n\n自定义 CalDAV 账户配置列表,包含服务器、用户名、密码及所选日历。\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": {\n "type": "string"\n },\n "name": {\n "type": "string"\n },\n "serverURL": {\n "type": "string"\n },\n "username": {\n "type": "string"\n },\n "password": {\n "type": "string"\n },\n "selectedCalendar": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "availableCalendars": {\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": {\n "type": "string"\n },\n "name": {\n "type": "string"\n },\n "url": {\n "type": "string"\n },\n "description": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "isReadOnly": {\n "enum": [false, true]\n }\n },\n "required": ["id", "name", "url"],\n "additionalProperties": false\n }\n }\n ]\n },\n "enabled": {\n "enum": [false, true]\n }\n },\n "required": ["id", "name", "serverURL", "username", "password"],\n "additionalProperties": false\n }\n}\n```\n\n## useICloudCalendar\n\niCloud 日历订阅\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## iCloudCalendarPushEnabled\n\n是否启用推送功能,false时仅拉取远程任务\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## iCloudDeleteCompletedTask\n\n是否删除已完成和已取消的任务,true时删除\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## iCloudServerURL\n\niCloud CalDAV 服务地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`"caldav.icloud.com"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## iCloudUsername\n\niCloud 日历账户用户名。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## iCloudPassword\n\niCloud 日历的应用专用密码。\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## iCloudSelectedCalendar\n\n用户选择的同步日历ID\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## iCloudAvailableCalendars\n\n可用的日历列表\n\n- 存储层:vault;访问:internal。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": {\n "type": "string"\n },\n "name": {\n "type": "string"\n },\n "url": {\n "type": "string"\n },\n "description": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "isReadOnly": {\n "enum": [false, true]\n }\n },\n "required": ["id", "name", "url"],\n "additionalProperties": false\n }\n}\n```\n\n## iCloudAllDayReminder\n\n是否为全天事件添加提醒\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## iCloudAllDayReminderDays\n\n提前天数,0表示当天\n\n- 存储层:vault;访问:write。\n- 默认值:`0`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "number"\n}\n```\n\n## iCloudAllDayReminderTime\n\n提醒时间,格式 \'HH:mm\'\n\n- 存储层:vault;访问:write。\n- 默认值:`"09:00"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## iCloudTimedReminder\n\n是否为有时间的任务添加提醒\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## iCloudTimedReminderValue\n\n提醒数值\n\n- 存储层:vault;访问:write。\n- 默认值:`15`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "number"\n}\n```\n\n## iCloudTimedReminderUnit\n\n提醒单位\n\n- 存储层:vault;访问:write。\n- 默认值:`"minutes"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["minutes", "hours", "days", "weeks"]\n}\n```\n\n## useGoogleCalendar\n\n是否启用 Google Calendar\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## googleClientId\n\nGoogle OAuth Client ID(用户自行提供)\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## googleClientSecret\n\nGoogle OAuth Client Secret(用户自行提供)\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## googleCalendarAccessToken\n\nOAuth Access Token\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## googleCalendarRefreshToken\n\nOAuth Refresh Token(用于刷新 Access Token)\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## googleCalendarTokenExpiry\n\nToken 过期时间戳\n\n- 存储层:vault;访问:internal。\n- 默认值:`0`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "number"\n}\n```\n\n## googleCalendarSelectedCalendarId\n\n用户选择的同步日历 ID\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## googleCalendarAvailableCalendars\n\n可用的日历列表\n\n- 存储层:vault;访问:internal。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "id": {\n "type": "string"\n },\n "name": {\n "type": "string"\n },\n "url": {\n "type": "string"\n },\n "description": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "isReadOnly": {\n "enum": [false, true]\n }\n },\n "required": ["id", "name", "url"],\n "additionalProperties": false\n }\n}\n```\n\n## googleOAuthState\n\nOAuth state 参数(用于 CSRF 防护)\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## googleCalendarPushEnabled\n\n是否启用推送功能,false 时仅拉取远程任务\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## googleCalendarDeleteCompletedTask\n\n是否删除已完成和已取消的任务\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## googleCalendarAllDayReminder\n\n是否为全天事件添加提醒\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## googleCalendarAllDayReminderDays\n\n提前天数,0表示当天\n\n- 存储层:vault;访问:write。\n- 默认值:`0`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "number"\n}\n```\n\n## googleCalendarAllDayReminderTime\n\n提醒时间,格式 \'HH:mm\'\n\n- 存储层:vault;访问:write。\n- 默认值:`"09:00"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## googleCalendarTimedReminder\n\n是否为有时间的任务添加提醒\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## googleCalendarTimedReminderValue\n\n提醒数值\n\n- 存储层:vault;访问:write。\n- 默认值:`15`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "number"\n}\n```\n\n## googleCalendarTimedReminderUnit\n\n提醒单位\n\n- 存储层:vault;访问:write。\n- 默认值:`"minutes"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["minutes", "hours", "days", "weeks"]\n}\n```\n\n## defaultWriteCalendar\n\n任务同步时默认写入的日历:\'none\' | \'icloud\' | \'google\' | \'caldav-{configId}\'\n\n- 存储层:vault;访问:write。\n- 默认值:`"none"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## calendarNewTaskFile\n\n新建任务所在文件\n\n- 存储层:vault;访问:write。\n- 默认值:`"Task.md"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## pomodoroDuration\n\n番茄时长(分钟)\n\n- 存储层:vault;访问:write。\n- 默认值:`25`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "number"\n}\n```\n\n## shortBreakDuration\n\n短休息时长(分钟)\n\n- 存储层:vault;访问:write。\n- 默认值:`5`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "number"\n}\n```\n\n## longBreakDuration\n\n长休息时长(分钟)\n\n- 存储层:vault;访问:write。\n- 默认值:`15`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "number"\n}\n```\n\n## longBreakInterval\n\n长休息间隔番茄数\n\n- 存储层:vault;访问:write。\n- 默认值:`4`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "number"\n}\n```\n\n## autoStartNextPomodoro\n\n自动开始下个番茄\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## autoStartBreak\n\n自动休息\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## pomodoroSound\n\n番茄提示音\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## pomodoroAutoRecord\n\n是否自动记录到 Daily Note\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n',
410
+ 'lifeos/references/settings/lifeos-pro-general.md': '<!-- Generated from code; do not edit. -->\n\n# lifeos-pro / general\n\n配置契约:`2ddc5665f8308454bee4b2eaafeaed6cd3e12198e223efdccaa4f433c12094c5`。运行时来源和生效状态请用 `config explain` / `config verify` 查询。\n\n## voiceConversationEnabled\n\nDeepAsk 桌面语音对答实验开关,默认关闭;关闭会停止当前录音、播放和语音问答。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## voiceProvider\n\nDeepAsk 语音识别与朗读供应商;对应 API Key 仅在本设备单独配置,不随库同步。\n\n- 存储层:vault;访问:write。\n- 默认值:`"doubao"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["doubao", "deepgram"]\n}\n```\n\n## doubaoVoiceSpeaker\n\nDeepAsk 豆包语音合成音色 ID;需在用户自己的火山引擎账户中具有使用权限。\n\n- 存储层:vault;访问:write。\n- 默认值:`"zh_female_vv_uranus_bigtts"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "string"\n }\n ]\n}\n```\n\n## lifeOSRibbonMode\n\nLifeOS 功能入口:九宫格(精简 Ribbon)、竖栏快捷方式或两者都显示;保留现有默认。\n\n- 存储层:vault;访问:write。\n- 默认值:`"compact"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["compact", "ribbon", "all"]\n}\n```\n\n## lifeOSSidebarSingleTab\n\n电脑端将九宫格与内容复用在同一个侧栏标签页。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## lifeOSLauncherItems\n\nLifeOS 九宫格常用入口;其他可用入口通过更多功能展开。\n\n- 存储层:vault;访问:write。\n- 默认值:`["home","calendar","quick-capture","filetree","tags","search","periodic","para"]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "string"\n }\n}\n```\n\n## lifeOSLauncherOrder\n\nLifeOS 九宫格入口顺序;未记录的新入口追加在末尾。\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "string"\n }\n}\n```\n\n## lifeOSLauncherHiddenItems\n\nLifeOS 九宫格完全隐藏的入口,不出现在更多功能中。\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "string"\n }\n}\n```\n\n## accountName\n\n产品授权账户邮箱。\n\n- 存储层:vault;访问:internal。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## accountActivationCode\n\n产品激活凭据;由授权流程管理,不通过通用配置接口修改。\n\n- 存储层:vault;访问:internal。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## pluginUpdateChannel\n\nLifeOS Pro 插件更新通道。\n\n- 存储层:vault;访问:write。\n- 默认值:`"stable"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["stable", "beta"]\n}\n```\n\n## usePeriodicAdvanced\n\n启用周期笔记高级路径格式和模板设置。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## projectListHeader\n\n项目列表标题:\n\n- 存储层:vault;访问:write。\n- 默认值:`"Project List"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## areaListHeader\n\n领域列表标题:\n\n- 存储层:vault;访问:write。\n- 默认值:`"First Things Dimension"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## useDailyRecord\n\n日常记录同步\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## usePeriodicNotes\n\n启用周期笔记功能。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useHabitStats\n\n习惯统计\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## showDailyNoteTitle\n\n显示日记文件标题\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## paraIndexFilename\n\nPARA 文件夹的索引笔记命名方式。\n\n- 存储层:vault;访问:write。\n- 默认值:`"readme"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["readme", "folderName"]\n}\n```\n\n## useDailyRecordTimestamp\n\n时间戳前缀:\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useDailyRecordFocus\n\n日常记录光标聚焦:\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useFileTreeReveal\n\n文件位置自动展开:\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useCompactNoteCreate\n\n紧凑模式\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## hideNoteTypeToggle\n\n隐藏笔记类型切换\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## templateSyntaxMigrationNoticeDismissed\n\n是否已关闭旧模板语法迁移提示。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## dismissedRecommendations\n\n用户点击「不再推荐」后隐藏的产品推荐 id 列表\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ]\n}\n```\n\n## deepAskFontSize\n\nDeepAsk 字体大小覆盖,0 表示跟随 Obsidian\n\n- 存储层:vault;访问:write。\n- 默认值:`0`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "number"\n}\n```\n\n## systemPromptContent\n\n系统提示词内容\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## useFilePropertiesTagMatching\n\n是否包含文件properties中包含指定tags的bullets和tasks\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## fourQuadrantFilters\n\n四象限视图的筛选配置\n\n- 存储层:vault;访问:write。\n- 默认值:`undefined`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "overdueDays": {\n "anyOf": [\n {\n "type": "number"\n }\n ]\n },\n "futureStartDays": {\n "anyOf": [\n {\n "type": "number"\n }\n ]\n },\n "futureDays": {\n "anyOf": [\n {\n "type": "number"\n }\n ]\n },\n "includeNoDate": {\n "enum": [false, true]\n },\n "includeAllOverdue": {\n "enum": [false, true]\n },\n "includeAllFuture": {\n "enum": [false, true]\n },\n "priorities": {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n "taskSources": {\n "anyOf": [\n {\n "type": "array",\n "items": {\n "enum": ["local", "icloud", "ics", "caldav", "google"]\n }\n }\n ]\n }\n },\n "required": ["priorities"],\n "additionalProperties": false\n }\n }\n ]\n}\n```\n\n## fourQuadrantRules\n\n四象限版本化归类规则\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "object",\n "properties": {\n "version": {\n "enum": [2]\n },\n "mode": {\n "enum": ["time-priority", "priority-only"]\n },\n "urgentFutureDays": {\n "type": "number"\n },\n "importantPriorities": {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n "priorityQuadrants": {\n "type": "array",\n "prefixItems": [\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n {\n "type": "array",\n "items": {\n "type": "string"\n }\n }\n ],\n "minItems": 4,\n "maxItems": 4\n },\n "preserveLegacyFilters": {\n "enum": [false, true]\n }\n },\n "required": [\n "version",\n "mode",\n "urgentFutureDays",\n "importantPriorities",\n "priorityQuadrants",\n "preserveLegacyFilters"\n ],\n "additionalProperties": false\n }\n ]\n}\n```\n\n## quadrantDropConfigs\n\n四象限拖拽配置(优先级+日期)\n\n- 存储层:vault;访问:write。\n- 默认值:未显式设置,由宿主或功能按需解析。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "priorityEmoji": {\n "type": "string"\n },\n "daysOffset": {\n "anyOf": [\n {\n "type": "number"\n }\n ]\n },\n "clearDate": {\n "enum": [false, true]\n }\n },\n "required": ["priorityEmoji"],\n "additionalProperties": false\n }\n }\n ]\n}\n```\n\n## tableCellMaxLines\n\n表格单元格最大显示行数,0表示不限制\n\n- 存储层:vault;访问:write。\n- 默认值:`0`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "number"\n}\n```\n\n## autoFocusCount\n\n自动番茄专注次数,0 表示无限\n\n- 存储层:vault;访问:write。\n- 默认值:`0`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "number"\n}\n```\n\n## continueAfterComplete\n\n倒计时结束后继续计时,直到手动停止\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useTagColor\n\n是否启用标签颜色区分\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## tagColors\n\n自定义标签颜色映射 { "#tag": "#color" }\n\n- 存储层:vault;访问:write。\n- 默认值:`{}`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "object",\n "properties": {},\n "required": [],\n "additionalProperties": {\n "type": "string"\n }\n}\n```\n\n## useHTTPServer\n\n是否启用 HTTP Server(MCP 协议)\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## httpServerPort\n\nHTTP Server 端口号(默认 1479)\n\n- 存储层:vault;访问:write。\n- 默认值:`1478`。\n- 生效:更新本机 HTTP/MCP 服务并等待重启完成。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "number",\n "minimum": 1024,\n "maximum": 65535\n}\n```\n\n## enableDebugLog\n\n是否启用调试日志(写入 .lifeos-debug.log 文件)\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## locale\n\n用户选择的语言,空字符串表示跟随 Obsidian 设置\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n',
411
+ 'lifeos/references/settings/lifeos-pro-organization.md': '<!-- Generated from code; do not edit. -->\n\n# lifeos-pro / organization\n\n配置契约:`2ddc5665f8308454bee4b2eaafeaed6cd3e12198e223efdccaa4f433c12094c5`。运行时来源和生效状态请用 `config explain` / `config verify` 查询。\n\n## inputsPath\n\n输入笔记目录,相对于当前知识库;修改不会搬迁已有文件。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## outputsPath\n\n输出笔记目录,相对于当前知识库;修改不会搬迁已有文件。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## themesPath\n\n主题笔记目录,相对于当前知识库;修改不会搬迁已有文件。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## themesTemplateFilePath\n\n创建主题笔记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## capturesPath\n\n捕获笔记目录,相对于当前知识库;修改不会搬迁已有文件。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## capturesTemplateFilePath\n\n创建捕获笔记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## expressesPath\n\n表达笔记目录,相对于当前知识库;修改不会搬迁已有文件。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## expressesTemplateFilePath\n\n创建表达笔记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## projectsPath\n\n项目笔记目录,相对于当前知识库;修改不会搬迁已有文件。\n\n- 存储层:vault;访问:write。\n- 默认值:`"1. Projects"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## projectsTemplateFilePath\n\n创建项目笔记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## areasPath\n\n领域笔记目录,相对于当前知识库;修改不会搬迁已有文件。\n\n- 存储层:vault;访问:write。\n- 默认值:`"2. Areas"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## areasTemplateFilePath\n\n创建领域笔记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## resourcesPath\n\n资源笔记目录,相对于当前知识库;修改不会搬迁已有文件。\n\n- 存储层:vault;访问:write。\n- 默认值:`"3. Resources"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## resourcesTemplateFilePath\n\n创建资源笔记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## archivesPath\n\n归档笔记目录,相对于当前知识库;修改不会搬迁已有文件。\n\n- 存储层:vault;访问:write。\n- 默认值:`"4. Archives"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## archivesTemplateFilePath\n\n创建归档笔记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## useThemeNotes\n\n启用主题笔记组织模式。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## usePARANotes\n\n启用 Projects、Areas、Resources、Archives 组织模式。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## usePARAAdvanced\n\n启用 PARA 高级配置。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useThemeAdvanced\n\n启用主题笔记高级配置。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## themeIndexFilename\n\n主题文件夹的索引笔记命名方式。\n\n- 存储层:vault;访问:write。\n- 默认值:`"readme"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": ["readme", "folderName"]\n}\n```\n\n## useThemeNoteReveal\n\n跳转索引\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useThemeSearch\n\n主题搜索\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## aiThemeFileSearchType\n\nAI 检索主题相关文件时的搜索范围模式。\n\n- 存储层:vault;访问:write。\n- 默认值:`"entire_folder"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## aiRecursiveSubThemeSearch\n\nAI 检索是否递归包含子主题。\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## useThemeFolderSync\n\n是否启用主题文件与文件夹名称同步\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n',
412
+ 'lifeos/references/settings/lifeos-pro-periodic.md': '<!-- Generated from code; do not edit. -->\n\n# lifeos-pro / periodic\n\n配置契约:`2ddc5665f8308454bee4b2eaafeaed6cd3e12198e223efdccaa4f433c12094c5`。运行时来源和生效状态请用 `config explain` / `config verify` 查询。\n\n## periodicNotesPath\n\n周期笔记的根目录,相对于当前知识库;修改只改变后续路径解析,不搬迁已有笔记。\n\n- 存储层:vault;访问:write。\n- 默认值:`"PeriodicNotes"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## habitHeader\n\n习惯打卡标题:\n\n- 存储层:vault;访问:write。\n- 默认值:`"Habit"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## dailyRecordHeader\n\n日常记录标题:\n\n- 存储层:vault;访问:write。\n- 默认值:`"Daily Record"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## dailyRecordAPI\n\n每日记录服务的 API 地址。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## dailyRecordToken\n\n每日记录服务访问凭据。\n\n- 存储层:vault;访问:secret。\n- 默认值:敏感值不展示。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## dailyRecordWarning\n\n每日记录流程的警告状态,由运行时维护。\n\n- 存储层:vault;访问:internal。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## dailyRecordCreating\n\n每日记录创建中状态,由运行时维护。\n\n- 存储层:vault;访问:internal。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## dailyRecordTag\n\n记录标签:\n\n- 存储层:vault;访问:write。\n- 默认值:`"daily-record"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## weekStart\n\n每周第一天:-1 跟随语言习惯,0 为周日,1 为周一,依次至 6 为周六。\n\n- 存储层:vault;访问:write。\n- 默认值:`-1`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "number",\n "minimum": -1,\n "maximum": 6\n}\n```\n\n## useChineseCalendar\n\n中国农历:\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## showWeekNumbersInDayView\n\n在日历日视图左侧显示周数列。\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## periodicNotesTemplateFilePathYearly\n\n创建年记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## periodicNotesTemplateFilePathQuarterly\n\n创建季记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## periodicNotesTemplateFilePathMonthly\n\n创建月记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## periodicNotesTemplateFilePathWeekly\n\n创建周记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## periodicNotesTemplateFilePathDaily\n\n创建日记时使用的模板文件路径,相对于知识库。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## periodicNotesPathFormatYearly\n\n年记的日期路径格式;空值使用宿主默认格式。修改不重命名已有笔记。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## periodicNotesPathFormatQuarterly\n\n季记的日期路径格式;空值使用宿主默认格式。修改不重命名已有笔记。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## periodicNotesPathFormatMonthly\n\n月记的日期路径格式;空值使用宿主默认格式。修改不重命名已有笔记。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## periodicNotesPathFormatWeekly\n\n周记的日期路径格式;空值使用宿主默认格式。修改不重命名已有笔记。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## periodicNotesPathFormatDaily\n\n日记的日期路径格式;空值使用宿主默认格式。修改不重命名已有笔记。\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n- 前置字段:`usePeriodicNotes`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n',
413
+ 'lifeos/references/settings/lifeos-pro-tasks.md': '<!-- Generated from code; do not edit. -->\n\n# lifeos-pro / tasks\n\n配置契约:`2ddc5665f8308454bee4b2eaafeaed6cd3e12198e223efdccaa4f433c12094c5`。运行时来源和生效状态请用 `config explain` / `config verify` 查询。\n\n## useLocalRecurringTask\n\n本地循环任务\n\n- 存储层:vault;访问:write。\n- 默认值:`true`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## taskStatuses\n\n任务状态\n\n- 存储层:vault;访问:write。\n- 默认值:`[{"marker":" ","name":"Todo","type":"TODO","next":"x"},{"marker":"x","name":"Done","type":"DONE","next":" "}]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "anyOf": [\n {\n "type": "array",\n "items": {\n "type": "object",\n "properties": {\n "marker": {\n "type": "string"\n },\n "name": {\n "type": "string"\n },\n "type": {\n "enum": ["TODO", "IN_PROGRESS", "DONE", "CANCELLED"]\n },\n "next": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "color": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "icon": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n }\n },\n "required": ["marker", "name", "type"],\n "additionalProperties": false\n }\n }\n ]\n}\n```\n\n## hideRemoteTasksInUnfinished\n\n隐藏远程任务\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## taskDelayDays\n\n任务推迟操作默认延后的天数。\n\n- 存储层:vault;访问:write。\n- 默认值:`7`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "number",\n "minimum": 0,\n "maximum": 3650\n}\n```\n\n## taskFilterRules\n\n任务筛选规则;用于控制查询和视图中纳入的任务。\n\n- 存储层:vault;访问:write。\n- 默认值:`{"headers":[],"paths":[],"tags":[],"contents":[],"mode":"exclude"}`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "object",\n "properties": {\n "headers": {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n "paths": {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n "tags": {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n "contents": {\n "type": "array",\n "items": {\n "type": "string"\n }\n },\n "mode": {\n "enum": ["include", "exclude"]\n }\n },\n "required": ["headers", "paths", "tags", "contents", "mode"],\n "additionalProperties": false\n}\n```\n\n## taskFilterDateRange\n\n任务筛选的日期范围。\n\n- 存储层:vault;访问:write。\n- 默认值:`{}`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "object",\n "properties": {\n "from": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n },\n "to": {\n "anyOf": [\n {\n "type": "string"\n }\n ]\n }\n },\n "required": [],\n "additionalProperties": false\n}\n```\n\n## useTaskDefaults\n\n启用任务默认值\n\n- 存储层:vault;访问:write。\n- 默认值:`false`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "enum": [false, true]\n}\n```\n\n## taskDefaultTags\n\n默认标签\n\n- 存储层:vault;访问:write。\n- 默认值:`[]`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "array",\n "items": {\n "type": "string"\n }\n}\n```\n\n## taskDefaultPriority\n\n默认优先级\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## taskDefaultDueDate\n\n可以是 \'none\', \'today\', \'tomorrow\', \'day-after-tomorrow\', \'next-week\' 等\n\n- 存储层:vault;访问:write。\n- 默认值:`"none"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## taskDefaultStartDate\n\n可以是 \'none\', \'today\', \'tomorrow\', \'day-after-tomorrow\', \'next-week\' 等\n\n- 存储层:vault;访问:write。\n- 默认值:`"none"`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## taskDefaultStartTime\n\n格式 \'HH:mm\' 或空字符串\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n\n## taskDefaultDuration\n\n小时数\n\n- 存储层:vault;访问:write。\n- 默认值:`0.5`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "number"\n}\n```\n\n## taskFileTemplateFilePath\n\n任务关联文件模板路径\n\n- 存储层:vault;访问:write。\n- 默认值:`""`。\n- 生效:由宿主更新配置并刷新相关界面与服务;未运行时下次启动生效。\n- 代码:`packages/type/src/main.ts`;默认值:`apps/obsidian-plugin/src/settings/defaults.ts`。\n\n校验结构:\n\n```json\n{\n "type": "string"\n}\n```\n',
414
+ 'lifeos/references/web-workbench.md': '# Open Aino Web in an AI client\n\nUse this procedure once Aino Web has been selected. It opens the shared Aino Desktop workspace and supports note and calendar views.\n\n## 先确认运行环境与项目\n\n- 必须有用户电脑上的命令执行能力。核对客户端提供的项目绝对路径及终端工作目录;多项目时使用用户本次指定的项目。始终显式传 `vault="绝对路径"`,避免环境变量或父级库标记把请求导向其他库。\n- 云端聊天项目、仓库 URL、云端沙箱目录不是用户电脑目录。没有本地工具时,给出本机启动命令,不能声称已经启动;客户端是否能打开本地地址也需实际验证。\n- 优先用用户已安装或指定的 CLI,通过 `help` 确认它有 `web`。在执行命令的同一环境中用 `node --version` 检查 Node;显式指定 Node 可执行文件时,用同一路径检查版本和启动。遇到版本不兼容时,报告实际版本与该 CLI 给出的最低要求;若本机已有符合要求的版本,只为这次启动选用它。若服务已成功启动,直接给出链接。缺少 Web 资源或启动失败时,按实际报错处理。\n- 保持同一个 CLI 来源执行后续操作,包括 Skill 安装;不要启动候选后又用旧版 `npx ...@latest` 覆盖候选 Skill。\n\n## 启动与打开\n\n默认流程是:**启动或复用当前库的服务 → 返回可点击的「打开 Aino Web」链接 → 用户点击**。服务实际监听且库身份确认后,在回复中用 `[打开 Aino Web](服务实际输出的 URL)`,简短说明“服务已就绪,点击打开”;保留用户请求的视图、筛选和分组。启动时保持 `open=none`(默认值)。链接点击后的打开位置由宿主决定,不能假定所有客户端都内嵌。已有正确库的服务直接返回链接,不重复启动。\n\n宿主已提供网页打开工具时,可额外自动展开真实 HTTP 页面;这不是必经步骤,缺少工具或调用失败仍返回可点击链接,不反复搜索、要求用户修改全局权限或生成替代 HTML 预览。`open=browser` 会唤起系统默认浏览器,仅在用户明确要求时使用。\n\n统一入口名称为 **打开 Aino Web**。用户使用这个名称时,直接执行下方流程;客户端支持快捷指令时,快捷指令内容使用下方提示词,仍由同一个 LifeOS Skill 处理,不复制一套客户端专属启动逻辑。\n\n“Aino Web” and “LifeOS Web” explicitly request this workbench. Use the requested Aino view, or `view=home` when opening the workspace without a specific view. Resolve the host from the client context.\n\n固定网页入口只负责打开已有服务,不能在服务停止时自行执行本机命令。添加收藏或网站小程序前先验证目标服务属于正确项目;不要把某个测试库的临时地址配置成所有项目通用入口。需要启动或切换项目时使用 Skill 入口;没有本地执行能力时明确说明这一限制。\n\n打开后优先读取客户端当前网页工具提供的页面状态或截图。不要为核对库名额外启动无头浏览器、安装 Playwright 或生成渲染脚本;另一个浏览器的结果不能证明客户端内已打开。无法读取客户端页面时,区分“服务库身份已核对”“已请求客户端打开”和“页面显示已确认”,只报告实际取得的证据。\n\n客户端项目路径的传递链路是:客户端提供本机项目目录 → Skill 核对绝对路径 → CLI 的 `vault=` → Node 绑定该库 → Web 从服务端 bootstrap 读取库路径。不要从网页 URL、聊天标题或客户端项目名称推断磁盘目录。切换客户端项目后应重新执行这条链路;已经打开的页面不会自动切到新项目。\n\n用户可以直接对客户端说:\n\n> 使用 LifeOS Skill 打开当前项目的 Aino Web 工作台。核对本机项目目录,用包含 Web 能力的 CLI 启动或复用这个库的服务,返回可点击的「打开 Aino Web」链接。如果无法启动,请说明原因。\n\n如果客户端只提供云端项目,需用户指定本机目录并在本机启动服务;云端项目地址不能直接转换成磁盘路径。客户端切换项目的自动事件同步需要对应宿主提供接口,当前不宣称已支持。\n\n以下 `lifeos` 表示已核验的 CLI 入口;若候选使用 `node /path/to/lifeos.mjs`,替换命令前缀即可。\n\n```bash\nlifeos web vault="/absolute/path/to/project" port=4318 view=calendar subview=month\n```\n\n命令会持续运行并输出本地 URL。普通产品启动不依赖 `ps` 或本仓库的 `dev-gate`;不要把开发机资源管理工具当作用户安装前提。通过客户端已有的后台任务/持续终端能力保留进程,遵守所在环境的服务资源规则;不要等它自然退出才打开页面。Ctrl+C 停止服务。不要擅自创建开机启动项。\n\n本机开发与验证仍须遵守当前环境的资源闸门规则;这与产品接入要求分开。如果所在环境要求通过资源闸门启动,闸门失败就是本次启动失败。客户端提供正式的单次授权入口时可按其流程申请;仍被禁止时停止,报告具体限制。不要跳过闸门、关闭进程检查、修改锁目录,或改用未受管理的后台进程冒充成功。没有实际监听的服务不能继续宣称已打开工作台。\n\n检查回环地址时,请求须直接到本机,例如 `curl --noproxy \'*\' http://127.0.0.1:<port>/health`;不要把代理返回的错误当作本地服务响应,也不要修改系统代理配置。服务身份优先从已核对的启动命令或客户端当前页面确认。不要为打开页面提取 Cookie、会话令牌或写临时凭据文件;网页由本地服务完成自身会话初始化。\n\n仅复用已有启动记录或当前页面已确认属于当前项目的服务;无需为了返回链接枚举系统进程。`/health` 只证明服务存活,不能证明库身份。已有服务库身份不明时选择另一个空闲端口,不停止其他任务、不直接复用端口上的未知服务。当前 CLI 不提供自动跨进程发现/复用功能。\n\n使用服务实际输出的 URL,不把磁盘路径拼成 `?vault=`。URL 中没有切库授权;不同库由 Node 创建各自的服务实例。标题栏的当前库名称菜单或左侧栏库名按钮可通过本机目录选择器切库;其他打开页面仍连接原库。macOS 目录选择已实现,其他平台暂用显式 CLI 路径启动。\n\n点击库名后,选择器出现在运行 Node 服务的电脑上,不一定嵌在客户端网页中。按钮等待期间显示沙漏;取消选择会恢复按钮并保留当前库。远程或无桌面环境使用显式 `vault=` 启动对应库,不能把网页无响应当作已经切换成功。\n\n- WorkBuddy:默认返回可点击链接。若当前工具列表提供内置 `present_files`,可额外传 `{"files":["服务实际返回的 HTTP URL"],"cwd":"当前库绝对路径","explanation":"打开 Aino Web 工作台"}` 请求自动展开;按实时 schema 调用。HTTP URL 对应内置 Browser,本地 HTML 文件对应文件预览。缺少工具不阻塞链接交付。入口依据:[官方更新日志](https://www.codebuddy.cn/docs/workbuddy/Changelog);HTTP URL 与 cwd 参数已核对 WorkBuddy 5.9.3 的内置工具定义,页面呈现仍需实测。\n- 豆包工作:默认返回可点击链接;宿主提供网页工具时可额外展开。核验实际页面位置和对应库,不把输出链接算作已内嵌。\n- Cherry Studio:默认返回可点击链接。需要额外自动展开时,先读取内置 `cherry-browser` Skill 的实时 API 文档,再在当前会话右侧浏览器导航实际本地 URL。`client=cherry` 默认使用完整浏览器高度,不预留底部输入框空间;不要传旧的 `bottom-inset=144`。当前普通助手没有本地 Shell/Skills 时,明确缺少启动能力;可打开已经核对正确库的现有服务,不能把“打开 aino web”解释为访问 `aino.ai` 等猜测的公网地址。不要重置浏览器绕过工具错误。\n- ChatGPT/Codex:默认返回可点击链接;若当前会话已注册本地 `aino_web_open` 工具,可额外调用它主动打开配置库的面板;参数可指定视图、子视图、筛选及分组。它与普通 Web 启动复用同一个 Node 实现,不是另一套编辑器。工具只请求打开,仍须核对实际呈现。没有工具时不编造调用;有本机执行能力时使用普通 Web 流程,否则给出本机启动命令。普通云端聊天不能自动访问用户电脑的回环地址;具体配置见候选 CLI 的 `presentation=panel` 接入说明。\n- Codex/Claude Code 终端或不支持内嵌的客户端:同样返回链接;用户要求自动打开时才调用系统浏览器,并说明实际位置。\n\n首次打开默认收起左右侧栏,之后保留用户操作。主题/语言默认跟随可获取的系统或浏览器偏好;宿主未向网页提供的设置不能假称已同步。\n\n## 把对话意图映射到原视图\n\n主视图:`view=editor|home|calendar|random-walk`。\n\n日历子视图:`view=calendar subview=day|week|month|tasks|timeline|kanban|agenda|quadrants`。\n\n```bash\nlifeos web vault="/absolute/path/to/project" view=calendar subview=kanban group-by=priority query="tag:#工作"\n```\n\n- `query=` 复用原日历搜索语法,叠加已有筛选,可在原界面清除;不意味着替换用户所有已有筛选。\n- `group-by=dueDate|priority|status|tag` 只支持 `view=calendar subview=kanban`。\n- 子视图、查询、分组作为这次打开的临时意图;用户主动切换仍按原规则保存偏好。\n- 不支持独立日期范围、精确笔记深链或任意集合参数时,不编造选项。使用现有界面完成,并说明实际选择。\n\n启动本地工作台不需要修改、移动或迁移用户笔记。复用原编辑器与侧栏,不因 Web 页面可打开就声称所有 AI、邮件、日历连接器或三客户端验收已完成。\n\n## 对话后的精确结果页与文件保存\n\n- 日期跳转:`lifeos web vault="/absolute/path/to/project" view=calendar subview=month date=2026-11-08`。日期采用本地 `YYYY-MM-DD`,拒绝不存在的日期。\n- 文件跳转:`lifeos web vault="/absolute/path/to/project" view=editor file="Reports/本周复盘.md"`。`file` 必须是库内相对路径,不接受绝对路径或 `..`。\n- 已有正确库的服务时直接复用其地址,附加 `?view=editor&file=<编码后的相对路径>`;不重复启动进程。日历保留 `subview`、`date`、`query`、`group-by`。编码每个参数,不把 `#` 或 `&` 当作 URL 分隔符。\n- AI 按钮复制的是同一业务请求和明确材料,不代表自动读取了全部原文。没有本机工具时只基于已附数据回答,并说明无法读取的部分。\n- 需要落盘时先展示预览并征得同意;用同一候选 CLI 的 `read` 核对目标,再 `create` 新笔记或 `append` 补充已有笔记,显式传 `vault=` 与 `path=`。用参数数组传正文,不直接拼接 shell;不要自动覆盖已有文件。\n- 只在写入命令成功后返回准确、可点击的结果链接;宿主支持时可额外自动展开。Web 通过原 Node 文件事件刷新索引和编辑器,未保存编辑沿用原冲突保护;不宣称报告自动回填到 AI 复盘面板。\n\n## 从 Aino Web 把上下文带给 AI\n\n正式 Aino Web 的右侧栏用于查看任务和笔记上下文。AI 整理、AI 复盘和笔记的 AI 按钮可将材料交给宿主客户端或 Aino Desktop。官网在线 Demo 的侧栏对话使用示例数据和预设回复。\n\nAI 按钮主区域直接执行当前去向,小箭头打开去向菜单。默认复制给宿主 AI,成功后提示用户粘贴并发送。选择「在 Aino Desktop 中继续」会带入草稿和文件上下文,由用户在桌面端检查后发送。右侧栏也可将当前笔记交给 Desktop。看到「已请求打开」后,仍需核对桌面端是否实际收到。\n\n已运行的旧服务不自动升级能力。先保存编辑内容,使用同一候选 CLI 重新启动服务后再刷新页面;不把 URL 参数当作服务端授权开关。Web 跟随 LifeOS CLI 授权,不引入 Desktop 激活页面。\n\n## 服务何时停止\n\n当前知识库名称始终显示在工作台标题栏,点击可切换知识库或“停止工作台”。停止前先保存笔记;其他页面仍连接或任务仍在运行时会拒绝停止。所有页面断开后保留 10 分钟;期间重新打开或刷新可继续使用。到期仍有任务时等待任务结束再退出。未曾打开的服务也会在空闲 10 分钟后退出。停止后需要再次通过 LifeOS Skill 启动,旧链接不会自动启动服务。复用地址前须确认服务仍可用且绑定的是当前库,不能把其他库的旧链接当作当前库。\n',
415
+ 'lifeos/references/write-safety.md': "# Note and task write checks\n\n## Pass content literally\n\nThe CLI decodes `\\n`, `\\t`, `\\r` and `\\\\` in `content=` after the shell\nhas parsed arguments. Prefer `--literal-content` on a CLI version that supports\nit, so content is passed unchanged. On older versions, preserve literal\nbackslashes by doubling them before passing content; actual newline characters can remain actual newlines. Use an\nargument array with `shell=false`, or proper shell quoting. JSON stringification\nis not shell escaping. Backticks and `$()` inside double quotes can execute.\nFor large HTML/Markdown, a vault-scoped exact file edit is acceptable when the\nhost supports it; do not invent a CLI `content-file` or stdin option.\n\n## Revalidate before mutating\n\n- Read the exact target and merge only requested changes. Before a whole-file\n replacement, reread it; if changed since the initial read, merge against the\n latest content. A CLI `overwrite` is not a compare-and-swap operation and does\n not protect against another app/session editing concurrently.\n- Task `file:line` references are positions, not IDs. Reread the current task\n text/state, refresh its line after preceding edits, and verify the intended\n checkbox afterward. On supported CLI versions, pass `expected=<exact-current-line>`\n so the service rejects a stale reference before writing. Preserve custom statuses, dates, block IDs and other\n metadata unless their change was requested. Skip an already satisfied state.\n- If a write times out or its receipt is lost, inspect the destination before\n retrying. Appends are not idempotent. Resume missing work; do not duplicate a\n capture, task, wiki link or changelog entry.\n\n## Verify the saved result\n\nNever treat a CLI `ok: true`, echoed path, or JSON write receipt alone as proof\nthat the target vault changed. After every write, directly read back the actual\nfile inside the user's target vault on disk (comparing before/after content)\nand check:\n\n- the exact file path belongs to the intended target vault or delivery\n directory, not a stray fallback location;\n- the requested content actually appears on disk with verbatim user wording,\n punctuation, and item boundaries intact (do not silently polish, re-punctuate,\n or merge items unless the user explicitly asked for editing);\n- YAML frontmatter is valid and includes every required schema field and\n user-requested field;\n- intended section ownership is correct and unrelated content is preserved.\n\nRepeated headings require identifying the exact section, not blindly using a\nname that can match more than once. For template-created notes also compare the\nselected template and `templatePath` receipt; preserve intentional query syntax\nand custom properties.\n\nIf direct inspection shows the target file on disk did not change (for example,\nthe write landed in another directory or a sandbox isolated the target vault),\ndo not claim completion in past tense. Report the exact observed on-disk state\nand failure/discrepancy. A write receipt never proves rendered UI, query\ncompleteness, external execution, dated task completion, or unverified disk\nchanges. For multi-file workflows, verify each affected file and directory on\ndisk and keep partial progress explicit.\n",
416
+ 'lifeos/scripts/vault-editor.mjs': "import { createHash, randomUUID } from 'node:crypto';\nimport { mkdir, readFile, realpath, rename, rm, stat, writeFile } from 'node:fs/promises';\nimport { homedir } from 'node:os';\nimport { isAbsolute, join, parse } from 'node:path';\nimport { parseArgs } from 'node:util';\n\nasync function optional(read) {\n try {\n return await read();\n } catch (error) {\n if (error.code !== 'ENOENT') throw error;\n }\n}\n\nasync function select() {\n const { positionals, values } = parseArgs({\n allowPositionals: true,\n options: { use: { type: 'string' }, remember: { type: 'boolean' } },\n });\n const editors = ['obsidian', 'aino'];\n if (\n positionals.length !== 1 ||\n !isAbsolute(positionals[0]) ||\n (values.use !== undefined && !editors.includes(values.use)) ||\n (values.remember && !values.use)\n ) {\n throw new Error('Usage: node vault-editor.mjs <absolute-vault-directory> [--use obsidian|aino [--remember]]');\n }\n const vault = await realpath(positionals[0]);\n if (vault === parse(vault).root || !(await stat(vault)).isDirectory()) {\n throw new Error('Choose an existing vault directory.');\n }\n const config =\n process.env.XDG_CONFIG_HOME || (process.platform === 'win32' && process.env.APPDATA) || join(homedir(), '.config');\n const directory = join(config, 'lifeos', 'vault-editors');\n const key = createHash('sha256').update(vault).digest('hex');\n const preference = join(directory, key);\n if (values.use) {\n if (values.remember) {\n await mkdir(directory, { recursive: true, mode: 0o700 });\n const temp = join(directory, key + '.' + randomUUID());\n try {\n await writeFile(temp, values.use, { flag: 'wx', mode: 0o600 });\n await rename(temp, preference);\n } finally {\n await rm(temp, { force: true });\n }\n }\n return { vault, editor: values.use, source: 'explicit' };\n }\n const saved = await optional(() => readFile(preference, 'utf8'));\n if (editors.includes(saved)) return { vault, editor: saved, source: 'preference' };\n\n const marker = async (name) => (await optional(() => stat(join(vault, name))))?.isDirectory() ?? false;\n const [obsidian, aino] = await Promise.all([marker('.obsidian'), marker('.lifeos')]);\n if (obsidian !== aino) return { vault, editor: obsidian ? 'obsidian' : 'aino', source: 'marker' };\n\n let recommended = null;\n if (obsidian) {\n const list = await optional(() => readFile(join(vault, '.obsidian', 'community-plugins.json'), 'utf8'));\n if (list) {\n try {\n const enabled = JSON.parse(list);\n if (Array.isArray(enabled) && enabled.includes('lifeos-pro')) recommended = 'obsidian';\n } catch (error) {\n if (!(error instanceof SyntaxError)) throw error;\n }\n }\n }\n return { vault, editor: null, source: 'ask', recommended };\n}\n\ntry {\n console.log(JSON.stringify(await select()));\n} catch (error) {\n console.error(error.message);\n process.exitCode = 1;\n}\n",
405
417
  };
406
418
  const OPC_SKILL_FILES = {
407
419
  'SKILL.md': '---\nname: opc\ndescription: Operate an OPC LifeOS vault as an AI-agent-led one-person-company operating system. Use when the user asks to update the OPC vault, CEO dashboard, departments, input/output flow, periodic reviews, agent memory, or `.AI.md` AI Wiki pages.\n---\n\n# OPC LifeOS\n\nUse this skill when working inside an `OPC LifeOS` vault. The vault is an\noperating system for a one-person company, not a generic folder taxonomy.\n\n## First Moves\n\n1. Run `opc config` to confirm the vault path and required structure.\n2. Run `opc departments` before department-level work.\n3. Use `opc dashboard` to get the correct source note, sibling `.AI.md` path and\n AI Wiki generation prompt.\n4. Use the `lifeos` skill for low-level note, task, search and periodic-note\n operations.\n5. Read `references/ai-wiki.md` before creating or updating OPC AI Wiki pages.\n6. Read `references/department-map.md` when routing material to departments.\n\n## Operating Model\n\nThe CLI supports two official OPC LifeOS layouts. Run `opc config` first and use\nthe detected layout.\n\n| Operating name | English vault path | Chinese vault path |\n| --------------- | --------------------- | ------------------ |\n| CEO Dashboard | `CEO Dashboard.md` | `CEO 驾驶舱.md` |\n| CEO AI Wiki | `CEO Dashboard.AI.md` | `CEO 驾驶舱.AI.md` |\n| Periodic Notes | `0 Periodic Notes/` | `0 周期笔记/` |\n| Input Pipeline | `1 Input/` | `1 输入/` |\n| Output Pipeline | `2 Output/` | `2 输出/` |\n| Departments | `3 Departments/` | `3 部门/` |\n| Templates | `99 Templates/` | `99 模板/` |\n\nThe seven departments are:\n\n| Operating name | English vault folder | Chinese vault folder |\n| --------------------------------- | -------------------------------------- | -------------------- |\n| Digital Infrastructure Department | `01 Digital Infrastructure Department` | `01 数字基建部` |\n| Finance & Legal Department | `02 Finance & Legal Department` | `02 财务法务部` |\n| Marketing & Growth Department | `03 Marketing & Growth Department` | `03 市场增长部` |\n| Sales & Customer Department | `04 Sales & Customer Department` | `04 销售客户部` |\n| Product R&D Department | `05 Product R&D Department` | `05 产品研发部` |\n| Delivery & Operations Department | `06 Delivery & Operations Department` | `06 交付运营部` |\n| Creative & Brand Department | `07 Creative & Brand Department` | `07 创作品牌部` |\n\nDo not describe these directories as topic folders in user-facing explanations.\nThey are departments. It is acceptable for frontmatter to keep\n`type: wiki/主题` for LifeOS AI Wiki compatibility.\n\n## Agent Files\n\nEvery operating layer and department should have:\n\n- `Agent.md` — responsibility, triggers, workflow and output format.\n- `Soul.md` — principles and judgment style.\n- `Memory.md` — durable facts, decisions, recurring context and rules.\n\nBefore changing a department, read its `Agent.md`, `Soul.md` and `Memory.md`.\nAfter making a durable decision, update `Memory.md` if the decision will matter\nin future sessions.\n\n## Input/Output Collaboration\n\nUse the Input Pipeline (`1 Input/` or `1 输入/`) and Output Pipeline (`2 Output/`\nor `2 输出/`) as lifecycle layers, not departments.\n\nInput pipeline folders:\n\n| Operating state | English vault folder | Chinese vault folder |\n| --------------- | -------------------- | -------------------- |\n| Inbox | `Inbox/` | `收件箱/` |\n| Processing | `Processing/` | `处理中/` |\n| Distilled | `Distilled/` | `已提炼/` |\n| Archived | `Archive/` | `归档/` |\n\nOutput pipeline folders:\n\n| Operating state | English vault folder | Chinese vault folder |\n| ---------------- | -------------------- | -------------------- |\n| Drafts | `Drafts/` | `草稿/` |\n| Ready to Publish | `Ready to Publish/` | `待发布/` |\n| Published | `Published/` | `已发布/` |\n| Delivered | `Delivered/` | `已交付/` |\n| Reusable Assets | `Reusable Assets/` | `可复用资产/` |\n| Archived | `Archive/` | `归档/` |\n\nWhen an input or output affects a department, use the relevant `#OPC/...` tag or\nwikilinks to the relevant department. Do not duplicate the same material into\nevery department folder.\n\n## Privacy Rules\n\nOPC templates are reusable examples and must not expose the user\'s private life,\nreal contacts or sensitive operations.\n\nBefore adding, regenerating or publishing template content, remove or replace:\n\n- real personal names, relationship details and private life events;\n- family, parenting, health, address, travel and household details;\n- real account names, emails, phone numbers, social handles and customer\n identities;\n- absolute local paths, private vault paths and machine-specific locations;\n- API keys, tokens, activation codes, passwords, payment data and calendar\n credentials;\n- production-only deployment rules or internal operational details unless the\n user explicitly asks to keep them.\n\nUse neutral sample identities such as `Alex`, `Client A`, `Client B`, `张三`,\n`A 客户` and `B 客户`. Keep business logic, pricing examples and workflows only\nwhen they are useful to understand the OPC operating system and do not identify\nthe user.\n\n## CLI\n\nUse the local or packaged CLI:\n\n```bash\nopc config\nopc departments\nopc dashboard\nopc dashboard dept=sales\nopc dashboard dept=04\nopc skill install\n```\n\nIf running from the monorepo before publishing:\n\n```bash\npnpm -C apps/opc-cli build\nnode apps/opc-cli/bin/opc.mjs config vault="/path/to/OPC LifeOS"\nnode apps/opc-cli/bin/opc.mjs skill install vault="/path/to/OPC LifeOS"\n```\n\n## Writing Rules\n\n- Prefer concrete LifeOS/Aino operating examples over generic placeholders.\n- For public or shareable templates, prefer realistic but fictional examples;\n do not copy personal daily-life records into the template.\n- Do not write empty placeholder sections unless the user explicitly asks for a\n blank template.\n- Write vault content in the language already used by the target note unless the\n user explicitly asks for another language.\n- Use wikilinks for vault notes and Markdown links for external URLs.\n- Keep daily notes factual. If a note is for a future date, label entries as\n plan or forecast rather than completed fact.\n',
@@ -1610,7 +1622,8 @@ async function runSkillInstall(args) {
1610
1622
 
1611
1623
 
1612
1624
 
1613
- const VERSION = '0.1.5';
1625
+
1626
+ const VERSION = package_namespaceObject.rE;
1614
1627
  function helpText() {
1615
1628
  return [
1616
1629
  `opc v${VERSION} — operate an OPC LifeOS vault from the command line`,