Wevir
Copyright (c) 2026 Wevir contributors

Wevir 以 MIT 许可证发布，见 LICENSE。

本文件列出 Wevir 仓库里来自第三方的代码与数据：从上游项目移植的文件、由工具生成或从依赖包摘录的
文件、录下来的上游运行输出，以及它们的来源、许可证与版权声明。每个文件的文件头写有来源与修改说明，
逐文件的登记在 docs/upstream/UPSTREAM.md §4。

npm 依赖不在本文件里：它们的许可证随各自的包分发，安装包的第三方声明见
docs/upstream/third-party-notices.md。例外是第 8 节：Wevir 打了补丁的依赖，以及依赖里要求随分发附带的
声明（Apache-2.0 的 NOTICE）。

本文件、UPSTREAM.md §4 与各文件头三处一致，改动其中一处时另外两处一起改。


1. OpenWork
------------------------------------------------------------------------------------------------
仓库：https://github.com/different-ai/openwork
来源提交：ad22cdc2217370f28f24f0f8758016c2921e3c73
许可证：MIT（ee/ 目录之外的部分）
版权：Copyright (c) 2026-present Different AI, Inc.
      （OpenWork 根目录 LICENSE 写作 Copyright (c) 2026 Different AI）

Wevir 不包含 OpenWork ee/ 目录（OpenWork Enterprise Edition License）的任何代码。

移植的文件（左边是 Wevir 文件，右边是 OpenWork 的来源路径），均由 Wevir 修改，修改说明在各文件头：

  packages/client-sdk/src/lifecycle.ts
      <- apps/app/src/react-app/domains/session/sync/sync-stream-lifecycle.ts
  apps/desktop/src/renderer/src/theme/theme.ts
      <- apps/app/src/app/theme.ts
  apps/desktop/src/renderer/public/theme-init.js
      <- apps/app/index.html（第 19–32 行的内联脚本）
  apps/desktop/src/renderer/src/session/markdown/markdown.ts、markdown-document.ts
      <- apps/app/src/components/markdown/markdown-primitive.ts
  apps/desktop/src/renderer/src/session/scroll-controller.ts
      <- apps/app/src/react-app/domains/session/surface/scroll-controller.ts
  apps/desktop/src/renderer/src/session/tool-model.ts
      <- apps/app/src/lib/tool-aggregate.ts
         apps/app/src/lib/current-tool-lifecycle.ts
  apps/desktop/src/renderer/src/session/approval-card.tsx
      <- apps/app/src/react-app/domains/session/chat/permission-approval-modal.tsx
  apps/desktop/src/renderer/src/files/workbook/ooxml-package.ts、xlsx-workbook.ts、office-text.ts、index.ts
      <- packages/workbook/src/ooxml-package.ts、xlsx-workbook.ts、office-text.ts、index.ts（只改格式与类型断言）
  apps/desktop/src/renderer/src/session/markdown/markdown-math.ts
      <- apps/app/src/components/markdown/markdown-math.ts
  apps/desktop/src/renderer/src/session/markdown/mermaid.ts
      <- apps/app/src/components/markdown/mermaid.ts
  apps/desktop/src/renderer/src/layout/panes/file-viewers.tsx（xlsx 的表格）
      <- apps/app/src/react-app/domains/session/artifacts/artifact-spreadsheet-model.ts
         apps/app/src/react-app/domains/session/artifacts/artifact-spreadsheet-editor.tsx
  apps/desktop/src/shared/browser-tabs.ts
      <- packages/browser-tabs/index.mjs
  apps/desktop/src/main/browser/browser-host.ts
      <- apps/desktop/electron/browser-panel.mjs

上面的来源文件里没有第三方作品的署名。OpenWork 里 shadcn 生成的组件没有从 OpenWork 拷贝，Wevir
直接从原始来源获取，见第 2 节；OpenWork 里由 Radix Colors 生成的色值 Wevir 没有拷贝，U1 起也不再使用
Radix Colors。

许可证全文见文末“MIT License”。


2. shadcn/ui
------------------------------------------------------------------------------------------------
仓库：https://github.com/shadcn-ui/ui
许可证：MIT
版权：Copyright (c) 2023 shadcn

由 shadcn CLI 4.21.4 从官方 registry 生成（base-nova 风格），部分文件由 Wevir 修改，修改说明在各文件头：

  apps/desktop/src/renderer/src/components/ui/button.tsx
  apps/desktop/src/renderer/src/components/ui/dialog.tsx
  apps/desktop/src/renderer/src/components/ui/dropdown-menu.tsx
  apps/desktop/src/renderer/src/components/ui/input.tsx
  apps/desktop/src/renderer/src/components/ui/popover.tsx
  apps/desktop/src/renderer/src/components/ui/scroll-area.tsx
  apps/desktop/src/renderer/src/components/ui/sheet.tsx
  apps/desktop/src/renderer/src/components/ui/textarea.tsx
  apps/desktop/src/renderer/src/components/ui/tooltip.tsx

摘自 shadcn 4.21.4 包内的 dist/tailwind.css：

  apps/desktop/src/renderer/src/styles/shadcn-variants.css

许可证全文见文末“MIT License”。


3. （已移除）
------------------------------------------------------------------------------------------------
Wevir 不再含有 DeepSeek Harness（dsh）的任何代码或测试样本，也不再依赖它的 npm 包。此编号保留，
其余各节的编号不变。


4. Paseo
------------------------------------------------------------------------------------------------
仓库：https://github.com/getpaseo/paseo
来源提交：dc7bc8db124e837ba909ffd3b4b20e16adaebe24
许可证：Apache License 2.0
版权：Copyright (c) 2025-present Mohamed Boudra

Wevir 从 Paseo 移植了三处：OpenCode 的应用级工具插件（把 Wevir 的应用级工具挂进 opencode），文件预览里
HTML 的 CSP 指令（协议 0.32.0；不能联网、只认自己的资源，Wevir 改写为 Host 的响应头，另加沙箱与 'self'），
以及内置浏览器的浏览器自动化与浏览器工具（协议 0.33.0）。这些
文件仍按 Apache License 2.0 发布（不因进入 MIT 仓库而改变），由 Wevir 修改，修改说明在各文件头；按第 4 条
保留版权声明、标明修改，许可证全文见文末“Apache License 2.0”。Paseo 在上面的提交下没有 NOTICE 文件；上游
若加了 NOTICE 文件，把其中的署名内容一并收进这里。

移植的文件（左边是 Wevir 文件，右边是 Paseo 的来源路径）：

  packages/adapter-opencode/src/app-tools-plugin.ts（它生成的插件文件同样带着这份声明）
      <- packages/server/src/server/agent/providers/opencode/bridge-plugin.mjs
  packages/host/src/html-preview-csp.ts
      <- packages/app/src/file-pane/html-preview-csp.ts
  packages/protocol/src/browser.ts
      <- packages/protocol/src/browser-automation/rpc-schemas.ts
         packages/protocol/src/browser-automation/capabilities.ts
  packages/host/src/browser-broker.ts
      <- packages/server/src/server/browser-tools/broker.ts
         packages/server/src/server/browser-tools/errors.ts
  packages/host/src/browser-tools.ts
      <- packages/server/src/server/browser-tools/tools.ts
  apps/desktop/src/main/browser/automation/service.ts
      <- packages/desktop/src/features/browser-automation/service.ts
  apps/desktop/src/main/browser/automation/service.test.ts
      <- packages/desktop/src/features/browser-automation/service.test.ts
  apps/desktop/src/main/browser/automation/contents.ts
      <- packages/desktop/src/features/browser-automation/ipc.ts
  apps/desktop/src/main/browser/automation/snapshot-engine.ts（及 .test.ts）
      <- packages/desktop/src/features/browser-automation/snapshot-engine.ts（及 .test.ts）
  apps/desktop/src/main/browser/automation/aria-snapshot-script.ts
      <- packages/desktop/src/features/browser-automation/aria-snapshot-script.ts
  apps/desktop/src/main/browser/automation/actionability.ts
      <- packages/desktop/src/features/browser-automation/actionability.ts
  apps/desktop/src/main/browser/automation/trusted-input.ts（及 .test.ts）
      <- packages/desktop/src/features/browser-automation/trusted-input.ts（及 .test.ts）
  apps/desktop/src/main/browser/automation/cdp-session-queue.ts
      <- packages/desktop/src/features/browser-automation/cdp-session-queue.ts
  apps/desktop/src/main/browser/automation/dialog-handling.ts
      <- packages/desktop/src/features/browser-automation/dialog-handling.ts

aria-snapshot-script.ts 里的 ARIA 快照模型由 Paseo 改编自 Playwright 的注入脚本，上游文件里的署名照原样保留：

  Adapted from Playwright's injected ARIA snapshot model.
  Copyright (c) Microsoft Corporation. Licensed under the Apache License, Version 2.0.

Playwright 仓库：https://github.com/microsoft/playwright（Apache License 2.0）。


5. OpenAI Codex
------------------------------------------------------------------------------------------------
仓库：https://github.com/openai/codex
来源提交：092d3acd6bec3e3a14bdc7e7a2810ab628ab759d（rust-v0.162.1）
许可证：Apache License 2.0
版权：Copyright 2025 OpenAI

Codex 的 NOTICE 文件中与下列文件相关的署名：

  OpenAI Codex
  Copyright 2025 OpenAI

改写自 Codex 提示词模板的文件（左边是 Wevir 文件，右边是 Codex 的来源路径），均由 Wevir 修改，
修改说明在各文件开头的注释里：

  prompts/base.md
      <- codex-rs/protocol/src/prompts/base_instructions/default.md
  prompts/plan-mode.md
      <- codex-rs/collaboration-mode-templates/templates/plan.md
  prompts/auto-review.md
      <- codex-rs/prompts/templates/guardian/policy_template.md
         codex-rs/prompts/templates/guardian/policy.md
         codex-rs/prompts/templates/guardian/node_repl_policy.md
  prompts/thread-title.md
      <- codex-rs/tui/src/app/thread_title.rs（其中的说明文字）
  apps/desktop/src/renderer/src/session/init-prompt.ts
      <- codex-rs/tui/assets/prompt_for_init_command.md（英文照原文，另有中文改写）

插件 P1（0.41.0）另外改写了以下格式、扫描与协议子集；修改说明同样在文件头，完整登记见 docs/upstream/UPSTREAM.md：

  packages/host/src/plugin-skills.ts
      <- codex-rs/skills/src/parser.rs、codex-rs/ext/skills/src/loader/{mod,discovery}.rs
  packages/host/src/plugin-install.ts
      <- codex-rs/core-plugins/src/manifest.rs
  packages/adapter-codex/src/plugins.ts
      <- codex-rs/config/src/{mcp_types,skills_config}.rs
         codex-rs/app-server-protocol/src/protocol/v2/{plugin,mcp,config}.rs
  packages/protocol/src/plugins.ts
      <- codex-rs/config/src/mcp_types.rs
         codex-rs/core-plugins/src/manifest.rs（0.42.0 的 wevir-plugin.json 字段名）
  packages/host/src/plugin-packages.ts
      <- codex-rs/core-plugins/src/manifest.rs、codex-rs/codex-mcp/src/agent_plugin_config.rs（插件 P1a，0.42.0）
  packages/host/src/mcp-oauth/www-authenticate.ts
      <- codex-rs/rmcp-client/src/www_authenticate.rs（远程 MCP 的 OAuth，0.97.0）
  packages/host/src/mcp-oauth/client.ts
      <- codex-rs/rmcp-client/src/oauth_callback.rs（callback_id_from_server_url，同上）

上述文件按 Apache License 2.0 发布，许可证全文见文末“Apache License 2.0”。

下面两处测试样本是 codex-app-server 发给模型服务的请求的录制（及其经 Wevir 模型网关转换后的快照），
其中含 Codex 内置工具的定义与描述文本，以及 Codex 注入的权限、skills 与环境说明文字：

  packages/model-gateway/src/test-fixtures/codex-requests/
  packages/model-gateway/src/__snapshots__/codex-requests/

下面的测试样本是 codex-app-server 发给客户端的消息的录制（通知、审批请求、错误），其中含 Codex 的 item
结构、内置工具名与错误说明文字：

  packages/adapter-codex/src/test-fixtures/app-server/


6. Mona Sans（字标）
------------------------------------------------------------------------------------------------
仓库：https://github.com/github/mona-sans
来源提交：4bc6ba8b354c36b4fb66d32cd67b4c1f2beb0a06
来源路径：fonts/static/ttf/MonaSans-Bold.ttf、OFL.txt
许可证：SIL Open Font License 1.1
版权：Copyright 2022 The Mona Sans Project Authors (https://github.com/github/mona-sans),
      with Reserved Font Name "Mona"

字体与许可证全文位于 assets/icons/source/fonts/。Wevir 的字标、组合标识与社交横幅文案使用该字体的轮廓，
轮廓数据位于 assets/icons/source/wordmark-paths.json 与 social-copy-paths.json；派生 SVG 带来源注释。没有修改或重命名字体。
Wevir 主标及八个功能图标为自有设计。
许可证全文见文末“SIL Open Font License 1.1”。


7. 桌面端随应用打包的字体
------------------------------------------------------------------------------------------------
桌面端渲染进程的字体（U1）由 apps/desktop/scripts/build-fonts.py 从下列固定版本生成，放在
apps/desktop/src/renderer/src/assets/fonts/，来源说明在同目录的 SOURCE.md；各字体的 OFL 原文随附在
apps/desktop/licenses/fonts/。许可证都是 SIL Open Font License 1.1，全文见文末。

  Mona Sans 2.0.27
    仓库：https://github.com/github/mona-sans（发布包 mona-sans-variable-v2.0.27.zip）
    版权：Copyright 2022 The Mona Sans Project Authors (https://github.com/github/mona-sans),
          with Reserved Font Name "Mona"
    文件：mona-sans.woff2、mona-sans-italic.woff2（由 fonts/variable/MonaSansVF[opsz,wght].ttf 与
          MonaSansVF-Italic[opsz,wght].ttf 转为 WOFF2，字形与名称不变，没有修改或重命名字体）

  JetBrains Mono 2.304
    仓库：https://github.com/JetBrains/JetBrainsMono（发布包 JetBrainsMono-2.304.zip）
    版权：Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono)
    文件：jetbrains-mono.woff2、jetbrains-mono-italic.woff2（由 fonts/variable/JetBrainsMono[wght].ttf 与
          JetBrainsMono-Italic[wght].ttf 转为 WOFF2，字形与名称不变）


8. 桌面端的动效库（libraries.dev）
------------------------------------------------------------------------------------------------
桌面端渲染进程（U3）打包了下列 npm 包（apps/desktop 的 devDependencies，由 Vite 打进产物；img-fx 与 three
只在显现图片时动态加载）。许可证都是 MIT，全文见文末“MIT License”，各包的 LICENSE 随包分发：

  border-beam 1.4.1、thinking-orbs 0.3.2、bot-avatars 0.1.2、metal-fx 2.0.11、img-fx 0.5.1
    仓库：https://github.com/Jakubantalik/Libraries.dev（metal-fx：https://github.com/Jakubantalik/metal-fx）
    版权：Copyright (c) 2026 Jakub Antalik
  liquid-gooey 0.2.2
    版权：Copyright (c) 2026 Jakub
  three 0.186.1
    仓库：https://github.com/mrdoob/three.js
    版权：Copyright © 2010-2026 three.js authors

手机端（apps/mobile）不打包 bot-avatars：助理头像的六种形状路径与五官位置从 bot-avatars 0.1.2 的
dist/index.es.js 原样摘出，放在 apps/mobile/src/lib/bot-avatar-shapes.ts，由 react-native-svg 重画；光影与眼睛
的画法按库的静止姿势在 apps/mobile/src/lib/bot-avatar.ts 里重写。

Wevir 修改的部分：patches/metal-fx@2.0.11.patch（pnpm patch，安装时应用到 metal-fx 的 dist/index.es.js）
改了共享 WebGL 状态的两个上下文丢失回调，只认自己那块画布，原因见 pnpm-workspace.yaml 与 ADR-0004 补记 9。

metal-fx 包内的 NOTICE（原文）：

  metal-fx
  Copyright (c) Jakub Antalik

  This product includes software developed by Paper Design, Inc.

    Paper Shaders (https://github.com/paper-design/shaders)
    Copyright (c) Paper Design, Inc.
    Licensed under the Apache License, Version 2.0
    http://www.apache.org/licenses/LICENSE-2.0

  Specifically:

    * The `liquidMetal` fragment shader is consumed unmodified at build time
      from the `@paper-design/shaders` npm package and inlined into the
      distributed bundle. See src/engine/shaders.ts.

    * The sizing vertex shader in src/engine/shaders.ts (`VERT_SHADER_SRC`) is
      copied verbatim from `packages/shaders/src/vertex-shader.ts` @ 0.0.80.
      It is vendored rather than imported because the package exposes it only
      through `ShaderMount`, which owns its own canvas and animation loop.

  No changes were made to either shader's source.

Paper Shaders 的许可证是 Apache License 2.0，全文见文末。Wevir 的补丁不涉及这两段着色器。


9. 模型服务的标志（LobeHub Icons）
------------------------------------------------------------------------------------------------
apps/desktop/src/renderer/src/assets/provider-logos/ 下的服务标志 SVG（首次引导与 Provider 列表，含 azure-color.svg、zai.svg、xiaomimimo.svg、codebuddy-color.svg、minimax-color.svg、tencentcloud-color.svg、stepfun-color.svg、openrouter.svg、vercel.svg、groq.svg、fireworks.svg、volcengine-color.svg、bedrock-color.svg）原样取自
npm 包 @lobehub/icons-static-svg 1.95.1 的 icons/ 目录，文件与 sha256 见同目录的 SOURCE.md。许可证是 MIT，
全文见文末“MIT License”。各标志是对应公司的商标，只用来指认服务。

  仓库：https://github.com/lobehub/lobe-icons
  版权：Copyright (c) 2023 LobeHub

10. T3 Code（“变更”窗格、回合快照、会话的通知、文件窗格、输入框菜单、接力、会话目标、计划卡片与 Claude Agent、Cursor、OpenCode、Grok、Antigravity 引擎）
------------------------------------------------------------------------------------------------
仓库：https://github.com/pingdotgg/t3code
来源提交：ec1313c8f8333292506f05a355bb72d308a455d8
许可证：MIT
版权：Copyright (c) 2026 T3 Tools Inc.

移植的文件（左边是 Wevir 文件，右边是 T3 Code 的来源路径），均由 Wevir 修改，修改说明在各文件头：

  packages/host/src/git-diff.ts
      <- apps/server/src/vcs/GitVcsDriverCore.ts
         apps/server/src/checkpointing/Diffs.ts
         apps/server/src/vcs/GitVcsDriver.ts
  packages/host/src/checkpoints.ts
      <- apps/server/src/vcs/GitVcsDriver.ts
         apps/server/src/orchestration-v2/CheckpointService.ts
         apps/server/src/checkpointing/Diffs.ts
  apps/desktop/src/renderer/src/layout/panes/changes-pane.tsx
      <- apps/web/src/components/DiffPanel.tsx
  apps/desktop/src/renderer/src/changes/styled-code-view.tsx
      <- apps/web/src/components/diffs/StyledDiffCodeView.tsx
  apps/desktop/src/renderer/src/changes/diff-worker-pool.tsx
      <- apps/web/src/components/DiffWorkerPoolProvider.tsx
  apps/desktop/src/renderer/src/changes/diff-rendering.ts
      <- apps/web/src/lib/diffRendering.ts
  apps/desktop/src/renderer/src/changes/diff-file-contents.ts
      <- apps/web/src/lib/diffFileContents.ts
  apps/desktop/src/renderer/src/changes/changes-model.ts（areAllCollapsed、toggleAll）
      <- apps/web/src/lib/diffCollapse.ts
  packages/protocol/src/search-ranking.ts
      <- packages/shared/src/searchRanking.ts
  packages/host/src/workspace-files.ts
      <- apps/server/src/workspace/WorkspaceEntries.ts
         apps/server/src/workspace/WorkspaceFileSystem.ts
         apps/server/src/workspace/WorkspaceSearchIndex.ts
  apps/desktop/src/renderer/src/layout/panes/files-pane.tsx
      <- apps/web/src/components/files/FileBrowserPanel.tsx
         apps/web/src/components/files/useDirectoryEntries.ts
  apps/desktop/src/renderer/src/layout/panes/file-pane.tsx
      <- apps/web/src/components/files/FilePreviewPanel.tsx
         apps/web/src/components/files/ReadOnlySourcePreview.tsx
  apps/desktop/src/main/editors.ts
      <- packages/contracts/src/editor.ts
         apps/server/src/process/externalLauncher.ts
  apps/desktop/src/renderer/src/session/composer-trigger.ts
      <- apps/web/src/composer-logic.ts（detectComposerTrigger、replaceTextRange）
  apps/desktop/src/renderer/src/session/composer-commands.ts、composer-menu.tsx
      <- apps/web/src/components/chat/ComposerCommandMenu.tsx
         apps/web/src/components/chat/composerSlashCommandSearch.ts
  apps/desktop/src/renderer/src/session/context-meter.tsx、layout/context-bar.tsx
      <- apps/web/src/components/chat/ContextWindowMeter.tsx
  apps/desktop/src/renderer/src/session/goal-command.ts
      <- apps/server/src/orchestration-v2/Adapters/CodexAdapterV2.ts（parseCodexGoalCommand）
  apps/desktop/src/renderer/src/session/goal-model.ts、goal-banner.tsx
      <- packages/client-runtime/src/state/threadExecution.ts（presentProviderGoal）
         apps/web/src/components/ChatView.tsx（目标横幅）
  packages/adapter-codex/src/codex-adapter.ts（会话目标的顺序）
      <- apps/server/src/orchestration-v2/Adapters/CodexAdapterV2.ts（runGoalCommand、resolveGoalStopTarget）
  apps/desktop/src/renderer/src/session/composer-images.ts（规则）
      <- packages/contracts/src/chatAttachment.ts
         apps/web/src/components/chat/composerAttachmentFiles.ts
  apps/desktop/src/renderer/src/session/proposed-plan.ts
      <- apps/web/src/proposedPlan.ts
         packages/shared/src/proposedPlanText.ts
  apps/desktop/src/renderer/src/session/plan-card.tsx
      <- apps/web/src/components/chat/ProposedPlanCard.tsx
  apps/desktop/src/renderer/src/notifications/notification-model.ts、notification-coordinator.tsx（规则）
      <- apps/web/src/components/ThreadNotificationCoordinator.tsx
         apps/web/src/threadNotifications.ts
  packages/host/src/handoff.ts
      <- apps/server/src/orchestration-v2/ContextHandoffService.ts
         apps/server/src/orchestration-v2/ContextHandoffDelivery.ts
         packages/provider-core/src/server/handoffBudget.ts
         docs/internals/context-handoffs.md
  packages/host/src/app-tools.ts、app-mcp.ts（做法）
      <- apps/server/src/mcp/toolkits/orchestrator/tools.ts
         apps/server/src/mcp/OrchestratorMcpService.ts
         apps/server/src/mcp/McpSessionRegistry.ts
         packages/provider-core/src/server/orchestrationInstructions.ts
  packages/host/src/file-urls.ts
      <- apps/server/src/http.ts（assetResponseHeaders、assetByteRange、assetFileResponse）
         apps/server/src/assets/AssetAccess.ts
  packages/host/src/html-preview.ts、apps/desktop/src/renderer/src/files/html-preview-link.ts
      <- packages/shared/src/htmlRender.ts
  apps/desktop/src/renderer/src/files/file-preview.ts
      <- packages/shared/src/filePreview.ts
         packages/shared/src/video.ts
  apps/desktop/src/renderer/src/files/delimited-preview.ts
      <- packages/shared/src/delimitedPreview.ts
  apps/desktop/src/renderer/src/files/file-save-coordinator.ts
      <- apps/web/src/components/files/fileSaveCoordinator.ts
  apps/desktop/src/renderer/src/layout/panes/file-editor.tsx
      <- apps/web/src/components/files/FilePreviewPanel.tsx（EditableFileSurface）
         apps/web/src/components/files/useFileSaveCoordinator.ts
  apps/desktop/src/renderer/src/layout/panes/file-viewers.tsx
      <- apps/web/src/components/files/BrowserDocumentFrame.tsx
         apps/web/src/components/files/DelimitedTablePreview.tsx
         apps/web/src/components/files/AudioPreview.tsx
         apps/web/src/components/media/MediaVideoPlayer.tsx
         apps/web/src/components/chat/ZoomableImage.tsx

Claude Agent 引擎（packages/adapter-claude）移植的文件（左边是 Wevir 文件，右边是 T3 Code 的来源路径），均由 Wevir
改写，修改说明在各文件头：

  packages/adapter-claude/src/claude-adapter.ts
      <- apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.ts
  packages/adapter-claude/src/account.ts
      <- apps/server/src/provider/ClaudeProvider.ts
         apps/server/src/provider/claudeUsageLimits.ts
  packages/adapter-claude/src/model-manifest.ts
      <- apps/server/src/provider/model-manifest.json（claudeAgent 一节）
  packages/adapter-claude/src/model-catalog.ts
      <- apps/server/src/provider/ClaudeModelCatalog.ts
         apps/server/src/provider/ClaudeModelManifest.ts
         apps/server/src/claudeModelOptions.ts
  packages/adapter-claude/src/executable.ts
      <- apps/server/src/provider/Drivers/ClaudeExecutable.ts
         apps/server/src/provider/ClaudeProvider.ts
         apps/web/src/onboarding/providerReadiness.logic.ts
  packages/adapter-claude/src/permissions.ts、tool-display.ts、todos.ts、turn-result.ts
      <- apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.ts

packages/adapter-claude/src/test-fixtures/sdk/ 是 Claude Code（Anthropic 的商业条款，© Anthropic PBC）经 Claude Agent
SDK 交出的消息的录制，见 docs/upstream/UPSTREAM.md §4.1。

订阅来源 Cursor 的引擎移植自 packages/provider-cursor/src/server/，改写成不依赖 Effect 的 TypeScript：

  packages/adapter-cursor/src/sdk.ts
  packages/adapter-cursor/src/errors.ts
  packages/adapter-cursor/src/credentials.ts
  packages/adapter-cursor/src/accounts.ts
  packages/adapter-cursor/src/models.ts
  packages/adapter-cursor/src/transport-failure.ts
  packages/adapter-cursor/src/transport-failure.test.ts
  packages/adapter-cursor/src/tool-display.ts
  packages/adapter-cursor/src/mapping.ts
  packages/adapter-cursor/src/cursor-adapter.ts

订阅来源 OpenCode 的引擎移植自 packages/provider-opencode/src/server/（1.x 的 OpenCodeRuntime.ts、OpenCodeServerOwner.ts、
OpenCodeServerLedger.ts、status.ts、versionProbe.ts、toolItems.ts、adapter.ts、textGeneration.ts），改写成不依赖 Effect 的 TypeScript：

  packages/adapter-opencode/src/sdk.ts
  packages/adapter-opencode/src/executable.ts
  packages/adapter-opencode/src/server.ts
  packages/adapter-opencode/src/runtime.ts
  packages/adapter-opencode/src/accounts.ts
  packages/adapter-opencode/src/models.ts
  packages/adapter-opencode/src/permissions.ts
  packages/adapter-opencode/src/message-id.ts
  packages/adapter-opencode/src/tool-display.ts
  packages/adapter-opencode/src/mapping.ts
  packages/adapter-opencode/src/opencode-adapter.ts
  packages/adapter-opencode/src/title.ts

packages/adapter-opencode/src/test-fixtures/events/ 是 opencode 1.18.34（MIT，Copyright (c) 2025 opencode，
https://github.com/anomalyco/opencode）的服务器对着本机假模型交出的事件流的录制，见 docs/upstream/UPSTREAM.md §4.1。

订阅来源 Grok 的引擎移植自 packages/provider-grok/src/server/（另有 packages/provider-acp/src/server/ 的两处），改写成不依赖
Effect 的 TypeScript，建在 @wevir/adapter-acp 上：

  packages/adapter-grok/src/xai.ts
      <- acpSupport.ts、xaiAcpExtension.ts
  packages/adapter-grok/src/tool-display.ts
      <- xaiAcpExtension.ts
  packages/adapter-grok/src/models.ts
      <- status.ts、acpSupport.ts、packages/provider-acp/src/server/runtimeModel.ts
  packages/adapter-grok/src/launch.ts
      <- acpSupport.ts、status.ts、driver.ts
  packages/adapter-grok/src/accounts.ts
      <- status.ts
  packages/adapter-grok/src/grok-adapter.ts
      <- adapter.ts、xaiAcpExtension.ts、acpSupport.ts、packages/provider-acp/src/server/AcpSessionRuntime.ts

packages/adapter-grok/src/test-fixtures/acp/ 是 T3 Code 的 apps/server/src/orchestration-v2/testkit/fixtures/ 里 7 个
grok_transcript.ndjson 的原样副本：T3 录的 xAI Grok Build 1.0.41 / 1.0.44 的 ACP 往返，其中 Grok 的输出受 xAI 的条款约束。

WorkBuddy 适配器复用上述 Grok 启动器与 ACP / 历史工具接法，T3 的署名同样覆盖
packages/adapter-workbuddy/src/launch.ts 与 packages/adapter-workbuddy/src/workbuddy-adapter.ts。
其余 WorkBuddy 实现及合成夹具为 Wevir 新写，不包含腾讯 CLI 源码。

Devin 适配器经 WorkBuddy 的同一套启动器与 ACP / 历史工具接法改写，T3 的署名同样覆盖
packages/adapter-devin/src/launch.ts 与 packages/adapter-devin/src/devin-adapter.ts。
其余 Devin 实现及合成夹具为 Wevir 新写，不包含 Cognition 的 CLI 源码。

GitHub Copilot 适配器经 Devin 的同一套启动器与 ACP / 历史工具接法改写，订阅 assistant.usage 事件的
clientCapabilities 写法参照 T3 Code 的 copilotAcp.ts，T3 的署名同样覆盖
packages/adapter-copilot/src/launch.ts 与 packages/adapter-copilot/src/copilot-adapter.ts。
其余 Copilot 实现及合成夹具为 Wevir 新写，不包含 GitHub 的 CLI 源码。

订阅来源 Antigravity 的引擎（packages/adapter-antigravity）移植的文件（左边是 Wevir 文件，右边是 T3 Code 的来源路径），
改写成不依赖 Effect 的 TypeScript，修改说明在各文件头：

  packages/adapter-antigravity/src/release.ts
      <- apps/server/src/provider/antigravityRelease.ts
  packages/adapter-antigravity/src/installation.ts
      <- apps/server/src/provider/AntigravityInstallation.ts
  packages/adapter-antigravity/src/zip.ts
      <- apps/server/src/zipArchive.ts
  packages/adapter-antigravity/src/profile.ts
      <- apps/server/src/provider/antigravityAuthSupport.ts
         apps/server/src/provider/Drivers/AntigravitySkills.ts
  packages/adapter-antigravity/src/session-files.ts
      <- apps/server/src/provider/acp/AntigravitySessionFiles.ts
  packages/adapter-antigravity/src/protocol.ts
      <- apps/server/src/provider/acp/AntigravityProtocol.ts
  packages/adapter-antigravity/src/models.ts
      <- apps/server/src/provider/AntigravityProvider.ts
  packages/adapter-antigravity/src/accounts.ts
      <- apps/server/src/provider/AntigravityAuth.ts
         apps/server/src/provider/Drivers/AntigravityDriver.ts
         apps/server/src/provider/AntigravityProvider.ts
  packages/adapter-antigravity/src/antigravity-adapter.ts
      <- apps/server/src/orchestration-v2/Adapters/AntigravityAdapterV2.ts
         apps/server/src/provider/acp/AntigravityAcpSupport.ts
  packages/adapter-antigravity/src/test-fixtures/acp-samples.ts
      <- T3 测试里的 Antigravity 样本（AntigravityProtocol.test.ts、AntigravityProvider.test.ts、
         packages/effect-acp/test/fixtures/antigravity-initialize.json、AntigravityTextGeneration.test.ts）

许可证全文见文末“MIT License”。


11. 桌面端的 diff 渲染（@pierre/diffs 与 Shiki）
------------------------------------------------------------------------------------------------
桌面端渲染进程的“变更”窗格（0.20.0）打包了下列 npm 包（apps/desktop 的 devDependencies，由 Vite 打进产物，打开窗格时
才加载）：

  @pierre/diffs 1.5.1、@pierre/theming 1.0.1、@pierre/theme 2.0.0
    仓库：https://github.com/pierrecomputer/pierre（取自 @pierre/theme 的 package.json，@pierre/diffs 没有写）
    许可证：Apache License 2.0，全文见文末
    版权：Copyright 2025 Pierre Computer Company
  shiki 4.4.3、@shikijs/transformers 4.4.3（及其 @shikijs/* 依赖）
    仓库：https://github.com/shikijs/shiki
    许可证：MIT，全文见文末“MIT License”
    版权：Copyright (c) 2021 Pine Wu；Copyright (c) 2023 Anthony Fu <https://github.com/antfu>

Wevir 修改的部分：patches/@pierre__diffs@1.5.1.patch（pnpm patch，安装时应用到 @pierre/diffs 的 dist/）。
dist/components/FileDiff.js 写 diff 的 HTML 之前把 Pierre 自己的 HAST 里的 style 挪到 data-csp-style、写完经 CSSOM 补上
（渲染进程的 CSP 不放行 HTML 里的 style 属性）；新加 dist/utils/diffsText.js（与 .d.ts），dist/renderers/DiffHunksRenderer.js
与 dist/utils/createSeparator.js 分隔条上的英文改由它提供，dist/index.js 与 index.d.ts 导出 setDiffsText。原因见
pnpm-workspace.yaml。

@pierre/theme 包内的 NOTICE（原文）：

  This theme was built on top of
  [GitHub's Visual Studio Code Theme](https://github.com/primer/github-vscode-theme),
  reusing its technique and build tooling, which we have since iterated on for
  more specific language tokens.

  `@pierre/theme` is licensed under Apache-2.0 (see `LICENSE`). The original MIT
  license for `primer/github-vscode-theme` is included below for attribution.

  Original license for `primer/github-vscode-theme`:

    MIT License

    Copyright (c) 2020 Primer

    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    furnished to do so, subject to the following conditions:

    The above copyright notice and this permission notice shall be included in all
    copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
    FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
    COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
    IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
    CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


12. opencode（代码智能：语言服务器）
------------------------------------------------------------------------------------------------
仓库：https://github.com/sst/opencode（现为 https://github.com/anomalyco/opencode）
来源提交：e3c4eb242585dcd77be1a867391b7c25fd47ce52（tag v1.19.3）
许可证：MIT
版权：Copyright (c) 2025 opencode

移植的文件（左边是 Wevir 文件，右边是 opencode 的来源路径），均由 Wevir 修改，修改说明在各文件头：

  packages/host/src/lsp/servers.ts
      <- packages/opencode/src/lsp/server.ts、packages/opencode/src/lsp/language.ts
  packages/host/src/lsp/client.ts
      <- packages/opencode/src/lsp/client.ts
  packages/host/src/lsp/manager.ts
      <- packages/opencode/src/lsp/lsp.ts
  packages/host/src/lsp-tools.ts
      <- packages/opencode/src/tool/lsp.ts、packages/opencode/src/tool/lsp.txt、packages/opencode/src/lsp/diagnostic.ts

许可证全文见文末“MIT License”。


13. 听写的本机识别（sherpa-onnx 与 ONNX Runtime）
------------------------------------------------------------------------------------------------
安装包里的 Host 带着 sherpa-onnx 的 Node 绑定（npm 包 sherpa-onnx-node 与目标平台的 sherpa-onnx-<平台>-<架构>，版本
1.13.8），原样分发、没有修改：

    sherpa-onnx：https://github.com/k2-fsa/sherpa-onnx
    许可证：Apache License 2.0，全文见文末
    版权：Copyright (c) k2-fsa (Next-gen Kaldi) contributors

平台包里的 libonnxruntime 是 ONNX Runtime：

    ONNX Runtime：https://github.com/microsoft/onnxruntime
    许可证：MIT，全文见文末“MIT License”
    版权：Copyright (c) Microsoft Corporation

识别用的模型（SenseVoice Small 与 Silero VAD）不随安装包分发：用户在设置里点下载时，Host 从 sherpa-onnx 的 GitHub
Release（asr-models）下载到数据目录，各自的许可证见那里的说明。


14. Anthropic Agent Skills（内置的 skill-creator）
------------------------------------------------------------------------------------------------
仓库：https://github.com/anthropics/skills
来源提交：dbd4588f1e1033efb41dad4bef2f7947c8993d44（skills/skill-creator/）
许可证：Apache License 2.0（目录里的 LICENSE.txt 随文件分发），全文见文末
版权：Copyright 2026 Anthropic, PBC.

prompts/skills/skill-creator/ 是这个 skill 的移植，随安装包分发。对照过 Claude Code 自带的同名 skill（经
https://github.com/asgeirtj/system_prompts_leaks 提交 e7e53f2bc29199dfada98aa9f5d24621c2f65684 公开的副本，同为
Apache-2.0），scripts/quick_validate.py 的单个 SKILL.md 检查取自那里。由 Wevir 修改的文件，修改说明在各文件头：

  SKILL.md、scripts/quick_validate.py、scripts/package_skill.py、eval-viewer/generate_review.py、
  eval-viewer/viewer.html、assets/eval_review.html、references/schemas.md
  scripts/trigger_eval.py
      <- scripts/run_eval.py、scripts/run_loop.py、scripts/improve_description.py（改写）

Wevir 新增的文件：scripts/review_trigger_evals.py、agents/openai.yaml。另外改过的有 scripts/aggregate_benchmark.py。原样分发的文件：
agents/{grader,comparator,analyzer}.md、scripts/{utils,__init__}.py、LICENSE.txt。



15. Noise 测试向量（cacophony 与 snow）
------------------------------------------------------------------------------------------------
packages/noise/test-vectors/ 下的向量文件只给测试用，不进构建产物与安装包。每个 JSON 的 source 字段写有来源与筛选方式，
向量本身原样复制、没有修改：

  packages/noise/test-vectors/cacophony.json
      <- https://github.com/haskell-cryptography/cacophony vectors/cacophony.txt
         来源提交：8ee9d41e34a1a596cfa3ab12aa4069ff87dc1247
         许可证：Unlicense（放入公有领域，不要求保留声明）
  packages/noise/test-vectors/snow.json
      <- https://github.com/mcginty/snow tests/vectors/snow.txt
         来源提交：8ac60f51cfe3e010c84f0a454cc575ad9204fa12
         许可证：Apache License 2.0 或 MIT，Wevir 选 MIT，全文见文末“MIT License”
         版权：Copyright (c) 2021 Jake McGinty

packages/noise/test-vectors/snow-generated.json 由 Wevir 自己的生成程序（同目录 snowgen/）调用 snow 0.10.0 生成，
是 Wevir 的文件（MIT），不含 snow 的代码。


16. 浏览器脚本的沙箱（QuickJS 与 quickjs-emscripten）
------------------------------------------------------------------------------------------------
Host 的 browser_run 在 QuickJS 的 WebAssembly 版本里运行 agent 写的脚本，用的是 npm 包 quickjs-emscripten-core、
@jitl/quickjs-ffi-types 与 @jitl/quickjs-wasmfile-release-sync（版本 0.32.0），原样分发、没有修改；wasm 文件是
QuickJS 编译成的二进制：

    quickjs-emscripten：https://github.com/justjake/quickjs-emscripten
    许可证：MIT，全文见文末“MIT License”
    版权：quickjs-emscripten copyright (c) 2019-2024 Jake Teton-Landis

    QuickJS：https://bellard.org/quickjs/
    许可证：MIT，全文见文末“MIT License”
    版权：Copyright (c) 2017-2021 Fabrice Bellard
          Copyright (c) 2017-2021 Charlie Gordon


17. idb（iOS 模拟器的 helper）
------------------------------------------------------------------------------------------------
仓库：https://github.com/facebook/idb
来源提交：14baeffc8f681380527c400a8184512b746ee918
许可证：MIT
版权：Copyright (c) Meta Platforms, Inc. and affiliates.

apps/desktop/native/ios-simulator 移植的文件（左边是 Wevir 文件，右边是 idb 的来源路径），修改说明在各文件头；
安装包在 helper 旁边附带 idb 的 LICENSE（LICENSE-facebook-idb.txt）：

  Sources/WevirIOSSimulator/idb/XPC/*.swift
      <- FBSimulatorControl/XPC/ 下的同名文件
  Sources/WevirIOSSimulator/idb/HID/*.swift
      <- FBSimulatorControl/HID/ 下的同名文件、FBSimulatorControl/CoreDevice/SimulatorOrientationProtocol.swift
  Sources/WevirIOSSimulator/idb/Framebuffer/*.swift
      <- FBSimulatorControl/Framebuffer/ 下的同名文件
  Sources/WevirIOSSimulator/idb/Support/*.swift
      <- FBSimulatorControl/Utility/ObjCRuntimeClass.swift、FBControlCore/Utility/、FBControlCore/Async/ 下的同名文件；
         FBControlCoreShims.swift 是照上游同名类型写的替身
  Sources/WevirIOSSimulator/idb/Video/H264Encoder.swift
      <- FBSimulatorVideo/Encoding/VideoToolboxEncoderSettings.swift、VideoToolboxFramePusher.swift、
         PixelBufferConverter.swift
  Sources/WevirIOSSimulator/Accessibility.swift
      <- FBSimulatorAX/Translation/AXTranslationDispatcher.swift、AXTranslationTransport.swift
  Sources/WevirIOSSimulator/Input.swift（键位表）
      <- Tools/SimScope/SimScope/Keymap.swift
  Sources/ObjCExceptionGuard/
      <- FBControlCoreObjC/FBObjCExceptionGuard.m、include/FBObjCExceptionGuard.h
  PrivateHeaders/
      <- PrivateHeaders/ 下的 CoreSimulator、CoreSimDeviceIO、SimulatorApp、AccessibilityPlatformTranslation（原样）

许可证全文见文末“MIT License”。


18. Arc UI（桌面端的复制图标、通知叠放、共享高亮、数字滚动、加载圈与输入框的主按钮）
------------------------------------------------------------------------------------------------
仓库：https://github.com/kuratlielia/arc-library（https://uiarc.dev，只用免费的 MIT 部分）
来源提交：fff39c044c6e3b86006e3a6acc9a32a821a80d99
许可证：MIT
版权：Copyright (c) 2026 Elia Kuratli

apps/desktop/src/renderer/src 改写的文件（左边是 Wevir 文件，右边是 Arc 的来源路径）。Arc 的组件用 motion 与 CSS
modules，Wevir 改用 CSS 过渡与自己的令牌重写，修改说明在各文件头：

  components/copy-glyph.tsx
      <- registry/components/copy-button/copy-button.tsx、use-copy-feedback.ts
  components/toast.tsx（叠放的布局）
      <- registry/components/toast-stack/toast-stack.tsx
  components/glide.tsx
      <- registry/components/floating-button-group/floating-button-group.tsx、registry/components/tabs/tabs.tsx
  components/rolling-number.tsx
      <- registry/components/slot-text/slot-text.tsx
  components/spinner.tsx
      <- registry/components/button/button.tsx、button.module.css（加载圈）
  session/composer-button.tsx
      <- registry/components/button/button.tsx、button.module.css（primary 变体、按压、图标换场与加载）

许可证全文见文末“MIT License”。


MIT License
------------------------------------------------------------------------------------------------
第 1–3 节、第 8–10 节、第 11 节的 Shiki、第 12 节、第 13 节的 ONNX Runtime、第 15 节的 snow、第 16–18 节的许可证都是下面这份 MIT License，只有版权行不同（各节的“版权”一行）：

MIT License
------------------------------------------------------------------------------------------------

MIT License
------------------------------------------------------------------------------------------------
第 1–3 节、第 8 节、第 9 节与第 10 节的许可证都是下面这份 MIT License，只有版权行不同（各节的“版权”一行）：

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


Apache License 2.0
------------------------------------------------------------------------------------------------
第 4、5 节（第 4 节的 Paseo 文件含其中 Playwright 改编的部分）、第 8 节的 Paper Shaders、第 11 节的 @pierre/*、第 13 节的 sherpa-onnx 与第 14 节的许可证是下面这份 Apache License 2.0（取自 Codex 仓库的 LICENSE，来源提交同第 5 节）：

                                 Apache License
                           Version 2.0, January 2004
                        http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1.  Definitions.

    "License" shall mean the terms and conditions for use, reproduction,
    and distribution as defined by Sections 1 through 9 of this document.

    "Licensor" shall mean the copyright owner or entity authorized by
    the copyright owner that is granting the License.

    "Legal Entity" shall mean the union of the acting entity and all
    other entities that control, are controlled by, or are under common
    control with that entity. For the purposes of this definition,
    "control" means (i) the power, direct or indirect, to cause the
    direction or management of such entity, whether by contract or
    otherwise, or (ii) ownership of fifty percent (50%) or more of the
    outstanding shares, or (iii) beneficial ownership of such entity.

    "You" (or "Your") shall mean an individual or Legal Entity
    exercising permissions granted by this License.

    "Source" form shall mean the preferred form for making modifications,
    including but not limited to software source code, documentation
    source, and configuration files.

    "Object" form shall mean any form resulting from mechanical
    transformation or translation of a Source form, including but
    not limited to compiled object code, generated documentation,
    and conversions to other media types.

    "Work" shall mean the work of authorship, whether in Source or
    Object form, made available under the License, as indicated by a
    copyright notice that is included in or attached to the work
    (an example is provided in the Appendix below).

    "Derivative Works" shall mean any work, whether in Source or Object
    form, that is based on (or derived from) the Work and for which the
    editorial revisions, annotations, elaborations, or other modifications
    represent, as a whole, an original work of authorship. For the purposes
    of this License, Derivative Works shall not include works that remain
    separable from, or merely link (or bind by name) to the interfaces of,
    the Work and Derivative Works thereof.

    "Contribution" shall mean any work of authorship, including
    the original version of the Work and any modifications or additions
    to that Work or Derivative Works thereof, that is intentionally
    submitted to Licensor for inclusion in the Work by the copyright owner
    or by an individual or Legal Entity authorized to submit on behalf of
    the copyright owner. For the purposes of this definition, "submitted"
    means any form of electronic, verbal, or written communication sent
    to the Licensor or its representatives, including but not limited to
    communication on electronic mailing lists, source code control systems,
    and issue tracking systems that are managed by, or on behalf of, the
    Licensor for the purpose of discussing and improving the Work, but
    excluding communication that is conspicuously marked or otherwise
    designated in writing by the copyright owner as "Not a Contribution."

    "Contributor" shall mean Licensor and any individual or Legal Entity
    on behalf of whom a Contribution has been received by Licensor and
    subsequently incorporated within the Work.

2.  Grant of Copyright License. Subject to the terms and conditions of
    this License, each Contributor hereby grants to You a perpetual,
    worldwide, non-exclusive, no-charge, royalty-free, irrevocable
    copyright license to reproduce, prepare Derivative Works of,
    publicly display, publicly perform, sublicense, and distribute the
    Work and such Derivative Works in Source or Object form.

3.  Grant of Patent License. Subject to the terms and conditions of
    this License, each Contributor hereby grants to You a perpetual,
    worldwide, non-exclusive, no-charge, royalty-free, irrevocable
    (except as stated in this section) patent license to make, have made,
    use, offer to sell, sell, import, and otherwise transfer the Work,
    where such license applies only to those patent claims licensable
    by such Contributor that are necessarily infringed by their
    Contribution(s) alone or by combination of their Contribution(s)
    with the Work to which such Contribution(s) was submitted. If You
    institute patent litigation against any entity (including a
    cross-claim or counterclaim in a lawsuit) alleging that the Work
    or a Contribution incorporated within the Work constitutes direct
    or contributory patent infringement, then any patent licenses
    granted to You under this License for that Work shall terminate
    as of the date such litigation is filed.

4.  Redistribution. You may reproduce and distribute copies of the
    Work or Derivative Works thereof in any medium, with or without
    modifications, and in Source or Object form, provided that You
    meet the following conditions:

    (a) You must give any other recipients of the Work or
    Derivative Works a copy of this License; and

    (b) You must cause any modified files to carry prominent notices
    stating that You changed the files; and

    (c) You must retain, in the Source form of any Derivative Works
    that You distribute, all copyright, patent, trademark, and
    attribution notices from the Source form of the Work,
    excluding those notices that do not pertain to any part of
    the Derivative Works; and

    (d) If the Work includes a "NOTICE" text file as part of its
    distribution, then any Derivative Works that You distribute must
    include a readable copy of the attribution notices contained
    within such NOTICE file, excluding those notices that do not
    pertain to any part of the Derivative Works, in at least one
    of the following places: within a NOTICE text file distributed
    as part of the Derivative Works; within the Source form or
    documentation, if provided along with the Derivative Works; or,
    within a display generated by the Derivative Works, if and
    wherever such third-party notices normally appear. The contents
    of the NOTICE file are for informational purposes only and
    do not modify the License. You may add Your own attribution
    notices within Derivative Works that You distribute, alongside
    or as an addendum to the NOTICE text from the Work, provided
    that such additional attribution notices cannot be construed
    as modifying the License.

    You may add Your own copyright statement to Your modifications and
    may provide additional or different license terms and conditions
    for use, reproduction, or distribution of Your modifications, or
    for any such Derivative Works as a whole, provided Your use,
    reproduction, and distribution of the Work otherwise complies with
    the conditions stated in this License.

5.  Submission of Contributions. Unless You explicitly state otherwise,
    any Contribution intentionally submitted for inclusion in the Work
    by You to the Licensor shall be under the terms and conditions of
    this License, without any additional terms or conditions.
    Notwithstanding the above, nothing herein shall supersede or modify
    the terms of any separate license agreement you may have executed
    with Licensor regarding such Contributions.

6.  Trademarks. This License does not grant permission to use the trade
    names, trademarks, service marks, or product names of the Licensor,
    except as required for reasonable and customary use in describing the
    origin of the Work and reproducing the content of the NOTICE file.

7.  Disclaimer of Warranty. Unless required by applicable law or
    agreed to in writing, Licensor provides the Work (and each
    Contributor provides its Contributions) on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
    implied, including, without limitation, any warranties or conditions
    of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
    PARTICULAR PURPOSE. You are solely responsible for determining the
    appropriateness of using or redistributing the Work and assume any
    risks associated with Your exercise of permissions under this License.

8.  Limitation of Liability. In no event and under no legal theory,
    whether in tort (including negligence), contract, or otherwise,
    unless required by applicable law (such as deliberate and grossly
    negligent acts) or agreed to in writing, shall any Contributor be
    liable to You for damages, including any direct, indirect, special,
    incidental, or consequential damages of any character arising as a
    result of this License or out of the use or inability to use the
    Work (including but not limited to damages for loss of goodwill,
    work stoppage, computer failure or malfunction, or any and all
    other commercial damages or losses), even if such Contributor
    has been advised of the possibility of such damages.

9.  Accepting Warranty or Additional Liability. While redistributing
    the Work or Derivative Works thereof, You may choose to offer,
    and charge a fee for, acceptance of support, warranty, indemnity,
    or other liability obligations and/or rights consistent with this
    License. However, in accepting such obligations, You may act only
    on Your own behalf and on Your sole responsibility, not on behalf
    of any other Contributor, and only if You agree to indemnify,
    defend, and hold each Contributor harmless for any liability
    incurred by, or claims asserted against, such Contributor by reason
    of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

APPENDIX: How to apply the Apache License to your work.

      To apply the Apache License to your work, attach the following
      boilerplate notice, with the fields enclosed by brackets "[]"
      replaced with your own identifying information. (Don't include
      the brackets!)  The text should be enclosed in the appropriate
      comment syntax for the file format. We also recommend that a
      file or class name and description of purpose be included on the
      same "printed page" as the copyright notice for easier
      identification within third-party archives.

Copyright 2025 OpenAI

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.


SIL Open Font License 1.1
------------------------------------------------------------------------------------------------
第 6、7 节的许可证是下面这份 SIL Open Font License 1.1（取自 Mona Sans 2.0.27 的 OFL.txt，去掉开头的版权行；
各字体的版权行见第 6、7 节，各自的原文在 assets/icons/source/fonts/OFL.txt 与 apps/desktop/licenses/fonts/）：

SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded, 
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
